1 2014-08-24 Alan Mackenzie <acm@muc.de>
3 Handle C++11's "auto" and "decltype" constructions.
4 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
6 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
9 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
11 (c-font-lock-c++-new): Handle "decltype" constructions.
12 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re): New
13 c-lang-defconsts/defvars.
14 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
15 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
16 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
17 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
19 Make ">>" act as double template ender in C++ Mode.
20 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
21 off from c->-op-cont-re.
22 (c->-op-cont-tokens): Change to use the above.
23 (c->-op-without->-cont-regexp): New lang-const.
24 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Use
25 c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
28 2014-08-23 Alan Mackenzie <acm@muc.de>
30 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
31 loop, bug #18306. The bug was introduced on 2014-08-02.
33 2014-08-21 Eli Zaretskii <eliz@gnu.org>
35 * textmodes/texnfo-upd.el (texinfo-specific-section-type): Don't
36 recognize a Top node if there are other sectioning commands
37 earlier in the Texinfo file. This fixes a bug in
38 texinfo-make-menu and avoids inflooping in
39 texinfo-all-menus-update when they are invoked on texinfo.texi.
41 2014-08-21 Martin Rudalics <rudalics@gmx.at>
43 * window.el (window--side-window-p): New function.
44 (split-window, window-splittable-p): Use window--side-window-p to
45 determine whether WINDOW can be split (Bug#18304).
46 * calendar/calendar.el (calendar-basic-setup): Fix one call of
47 `window-splittable-p' and add another (Bug#18304).
49 2014-08-20 Sam Steingold <sds@gnu.org>
51 * progmodes/python.el (python-new-pythonpath): Extract from
52 `python-shell-calculate-process-environment'.
54 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
56 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
57 for &key args (bug#18048).
59 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
61 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
62 (eldoc-function-argstring-format): Remove.
63 (eldoc-function-argstring): Always return upcase args.
64 Use help-make-usage. Don't add parens.
65 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
66 it's too late to do it right (bug#18048).
68 2014-08-18 Eli Zaretskii <eliz@gnu.org>
70 * scroll-bar.el (scroll-bar-horizontal-drag-1)
71 (scroll-bar-toolkit-horizontal-scroll): When determining the
72 paragraph direction, use the buffer of the window designated in
75 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
77 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
78 context of unified diff.
80 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
82 Add dependencies to fix loaddefs race during parallel builds.
83 Without this, for example, 'make -j bootstrap' can fail and report
84 "Opening input file: no such file or directory,
85 .../lisp/calendar/diary-loaddefs.el ... recipe for target
86 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
87 got confused because diary-loaddefs.el was being built in parallel.
88 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
89 Depend on $(CAL_DIR)/cal-loaddefs.el.
90 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
92 2014-08-16 Martin Rudalics <rudalics@gmx.at>
94 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
95 portion-whole for scrolling right-to-left text.
97 2014-08-15 Leo Liu <sdl.web@gmail.com>
99 * speedbar.el (speedbar-generic-list-tag-p): Allow special
102 2014-08-15 Glenn Morris <rgm@gnu.org>
104 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
106 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
111 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
113 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
114 add Guile debugger support for GUD.
116 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
118 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
119 (mouse-sel--ignore): New function.
120 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
121 (mouse-sel-original-interprogram-cut-function)
122 (mouse-sel-original-interprogram-paste-function): Remove.
124 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
126 * vc/vc.git.el (vc-git-resolve-when-done): New function.
127 Call "git add" when there are no longer conflict markers.
129 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
131 * vc/vc.git.el (vc-git-find-file-hook): New function.
132 Adds support for calling smerge (and resolve) on a conflicted file.
133 (vc-git-conflicted-files): New function.
134 Useful in itself and a step towards better smerge support.
136 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
138 * mpc.el (mpc-reorder): Don't bother splitting the "active"s elements
139 to the first part if they're the same as the selection.
141 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
143 * image-mode.el (image-transform-reset): New command and menu item.
144 (image-mode-map): Rearrange the menu items to put presumably more
145 obscure items at the end.
147 2014-08-12 Juri Linkov <juri@jurta.org>
149 * vc/vc-annotate.el (vc-annotate-background-mode):
150 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
152 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
154 * files.el (out-of-memory-warning-percentage): Turn it off by default.
156 2014-08-11 Sam Steingold <sds@gnu.org>
158 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
159 the presence of known validators (tidy, (o)nsgmls).
161 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
163 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
165 * net/newst-treeview.el (newsticker-treeview-date-format): New.
166 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
168 2014-08-11 Glenn Morris <rgm@gnu.org>
170 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
171 chose coding system for writing before backing up, since it causes
172 a more serious problem than the one it solves. (Closes Bug#18141,
175 2014-08-11 Martin Rudalics <rudalics@gmx.at>
177 * window.el (window-total-size): Make doc-string more self-contained.
179 * window.el (display-buffer-below-selected): Restore original
180 behavior if buffer is already displayed in the window below the
181 selected one (Bug#18181).
183 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
185 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
188 2014-08-11 Eli Zaretskii <eliz@gnu.org>
190 * info.el (info): Doc fix.
192 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
194 * info.el (Info-mode-map): Override a global down-mouse-2 binding
197 2014-08-11 Eli Zaretskii <eliz@gnu.org>
199 * simple.el (default-line-height): A floating-point value of
200 line-spacing means a fraction of the default frame font's height,
201 not of the font currently used by the 'default' face.
202 Truncate the pixel value, like the display engine does.
203 (window-screen-lines): Use window-inside-pixel-edges for
204 determining the window height in pixels. (Bug#18195)
206 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
208 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
210 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
212 Enumerate evaluated sexp diary entries (Bug#7911).
213 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
214 (icalendar-export-sexp-enumeration-days): New.
215 (icalendar-export-region): Now `icalendar--convert-to-ical'
216 returns a cons cell or a list of cons cells.
217 (icalendar--convert-to-ical): Take care of
218 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
219 (icalendar--convert-ordinary-to-ical)
220 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
221 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
222 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
223 (icalendar--convert-anniversary-to-ical): Return cons cell.
224 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
225 entries. Return (list of) cons cells.
227 2014-08-09 Juri Linkov <juri@jurta.org>
229 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
230 to reevaluate `vc-annotate-color-map'. (Bug#18189)
232 2014-08-09 Alan Mackenzie <acm@muc.de>
234 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
235 for top-level that can cause unacceptable slow-down in scrolling.
236 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
237 Antipov from 2013-10-14 in emacs-devel.
239 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
241 * ibuffer.el (ibuffer-mode-map): Use toggle button for
242 `ibuffer-auto-mode' menu entry.
243 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
245 2014-08-08 Matthias Meulien <orontee@gmail.com>
247 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
250 2014-08-07 Martin Rudalics <rudalics@gmx.at>
252 * window.el (window--min-size-1): Explicitly set WINDOW arg in
253 calls of window-min-pixel-height and window-min-pixel-width.
255 2014-08-07 Reuben Thomas <rrt@sc3d.org>
257 * progmodes/ada-mode.el:
258 * net/tramp.el (tramp-handle-file-symlink-p):
259 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
260 about VMS, which we no longer support.
261 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
262 and fix a FIXME, using convert-standard-filename in place of
263 removed ada-convert-file-name.
265 2014-08-07 Eli Zaretskii <eliz@gnu.org>
267 * files.el (auto-mode-alist): Remove support for VMS from a
270 2014-08-07 Reuben Thomas <rrt@sc3d.org>
272 Refer to MS-DOS using the same name everywhere.
274 * arc-mode.el: Fix a couple of ``MS-DOG''s missed in the previous
276 * file-mode.el: ditto.
278 2014-08-07 Reuben Thomas <rrt@sc3d.org>
280 Refer to MS-DOS using the same name everywhere.
282 * arc-mode.el: ``MS-DOG'', ``MSDOG'' and ``msdog'' become
286 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
288 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
289 Use cached "remote-copy-args" value, if available. (Bug#18199)
291 2014-08-07 Leo Liu <sdl.web@gmail.com>
293 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
294 change on 2014-03-22.
296 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
298 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
299 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
303 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
305 * image-mode.el (image-toggle-display-image): Always rescale images
306 to not be bigger than the current window.
308 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
310 * net/eww.el (eww-bookmarks-directory): New variable.
311 (eww-write-bookmarks): Use it.
312 (eww-read-bookmarks): Ditto.
314 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
316 * net/shr.el (shr-copy-url): Also copy the image URL.
318 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
321 also for Tramp working buffers.
323 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
325 * progmodes/python.el: Fix completions inside (i)pdb.
326 (python-shell-completion-pdb-string-code): Make obsolete.
327 (python-shell-completion-get-completions): Use
328 python-shell-completion-string-code resending setup code
329 continuously for (i)pdb.
331 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
333 * rect.el (rectangle--default-line-number-format): Rename
334 from misspelled rectange--default-line-number-format (Bug#18045).
337 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
339 Don't mishandle year-9999 dates (Bug#18176).
340 * calendar/parse-time.el (parse-time-rules):
341 Allow years up to most-positive-fixnum.
342 * calendar/time-date.el (date-to-time):
343 Pass "Specified time is not representable" errors through.
345 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
347 * progmodes/python.el: Completion code cleanups.
348 (python-shell-completion-get-completions): Detect and send import
349 statements directly to completion function.
350 (python-shell-completion-at-point): Simplify prompt calculation
351 and import vs input completion logic.
353 2014-08-02 Alan Mackenzie <acm@muc.de>
355 Fix confusion in C++ file caused by comma in "= {1,2},". Bug
357 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
358 for a statement boundary marked by "}", check there's no "="
360 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
361 non-nil `comma-delim' argument.
362 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
363 initializer expression more accurately.
365 Correct loop termination condition in c-syntactic-skip-backward.
366 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
367 the situation where, after moving back out of a literal,
368 skip-chars-backward doesn't move further, yet checks have still to
371 2014-08-01 Eli Zaretskii <eliz@gnu.org>
373 * tutorial.el (tutorial--display-changes): Accept punctuation
374 characters before the key binding. (Bug#18146)
376 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
378 * progmodes/python.el: Shell output capture enhancements.
379 (python-shell-accept-process-output): New function.
380 (inferior-python-mode)
381 (python-shell-send-setup-code): Use it.
383 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
385 * calendar/icalendar.el (icalendar--decode-isodatetime): Use
386 actual current-time-zone when converting to local time. (Bug#15408)
388 2014-07-29 Martin Rudalics <rudalics@gmx.at>
390 * window.el (window--state-put-2): Handle horizontal scroll
393 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
395 * menu-bar.el (menu-bar-update-buffers): Update item list format
396 in `buffers-menu' to confirm with changes to `get_keyelt'
397 (r117463). (Bug#18016)
399 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
401 * progmodes/python.el (inferior-python-mode): Make input prompts
404 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
406 * net/tramp-sh.el (tramp-get-remote-python): Also search for
407 executables named "python2" or "python3".
408 (tramp-get-remote-uid-with-python): Use parentheses around
409 arguments to `print' to make it compatible with Python 3.
410 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
412 2014-07-28 Eli Zaretskii <eliz@gnu.org>
414 * window.el (window--pixel-to-total): Use FRAME's root window, not
415 that of the selected frame. (Bug#18112, Bug#16674)
417 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
419 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
422 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
424 * progmodes/python.el (inferior-python-mode): Doc fix.
426 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
428 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
429 not a character, ignore it instead of raising an error.
431 * calendar/todo-mode.el: Fix handling of marked items and make
432 minor code improvements.
433 (todo-edit-item): If there are marked items, ensure user can only
434 invoke editing commands that work with marked items.
435 (todo-edit-item--text): When there are marked items, make it a
436 noop if invoked with point not on an item; otherwise, ensure it
437 applies only to item at point.
438 (todo-item-undone): If there are marked not-done items, return
439 point to its original position before signaling user error.
440 (todo--user-error-if-marked-done-item): New function.
441 (todo-edit-item--header, todo-edit-item--diary-inclusion)
442 (todo-item-done): Use it.
444 2014-07-28 Glenn Morris <rgm@gnu.org>
446 * files.el (toggle-read-only): Re-add basic doc-string.
447 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
449 * progmodes/prolog.el (prolog-mode-keybindings-edit):
450 Replace missing `switch-to-prolog' with `run-prolog'.
451 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
453 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
455 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
456 of file-wide setting when changing category-wide setting.
458 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
460 * doc-view.el (doc-view-open-text): Don't require that the
461 document is saved in a file (e.g., email attachment).
463 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
465 Parse completion input in a iPython friendly way. (Bug#18084)
466 * progmodes/python.el
467 (python-shell-completion-at-point): Rename from
468 python-shell-completion-complete-at-point.
469 (inferior-python-mode): Use it.
470 (python-completion-at-point): Rename from
471 python-completion-complete-at-point. Parse input up to first
472 backward occurrence of whitespace, open-paren, close-paren or
474 (python-mode): Use it.
476 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
478 Prevent Python process shell buffer to pop twice.
479 * progmodes/python.el (python-shell-switch-to-shell): Do not call
482 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
484 * progmodes/python.el
485 (python-shell-with-shell-buffer): New macro.
486 (python-shell-font-lock-get-or-create-buffer)
487 (python-shell-font-lock-kill-buffer)
488 (python-shell-font-lock-with-font-lock-buffer)
489 (python-shell-font-lock-cleanup-buffer)
490 (python-shell-font-lock-toggle): Use it.
491 (python-shell-font-lock-turn-on)
492 (python-shell-font-lock-turn-off): Use it. Make command.
494 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
496 Grab all Python process output before inferior-python-mode hooks.
497 * progmodes/python.el (inferior-python-mode): Call
498 accept-process-output and sit-for to ensure all output for process
499 has been received before running hooks.
500 (python-shell-internal-get-or-create-process): Cleanup
501 accept-process-output and sit-for calls.
503 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
505 More robust shell startup and code setup.
506 * progmodes/python.el (python-shell-make-comint): Remove
507 accept-process-output call.
508 (python-shell-get-buffer): Return current buffer if major-mode is
509 inferior-python-mode.
510 (python-shell-get-or-create-process): Use it.
511 (python-shell-send-setup-code): Send all setup code in one string,
512 output success message and accept-process-output.
514 2014-07-27 Eli Zaretskii <eliz@gnu.org>
516 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll): Add
517 rudimentary support for bidirectional text.
519 2014-07-27 Martin Rudalics <rudalics@gmx.at>
521 * frame.el (frame-notice-user-settings): Rewrite using
522 frame-initial-frame-tool-bar-height.
523 * menu-bar.el (menu-bar-horizontal-scroll-bar)
524 (menu-bar-no-horizontal-scroll-bar): New functions.
525 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
527 * scroll-bar.el (scroll-bar-lines)
528 (set-horizontal-scroll-bar-mode)
529 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
530 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
531 (scroll-bar-toolkit-horizontal-scroll): New functions.
532 (horizontal-scroll-bar-mode)
533 (previous-horizontal-scroll-bar-mode)
534 (horizontal-scroll-bar-mode-explicit): New variables.
535 (horizontal-scroll-bar-mode): New option.
536 (toggle-horizontal-scroll-bar): Do something.
537 (top-level): Bind horizontal-scroll-bar mouse-1.
538 * startup.el (tool-bar-originally-present): Remove variable.
539 (command-line): Don't set tool-bar-originally-present.
540 * window.el (window-min-height): Update doc-string.
541 (window--dump-frame): Dump horizontal scroll bar values.
542 (window--min-size-1): Handle minibuffer window separately.
543 Count in margins and horizontal scroll bar. Return safe value
544 iff IGNORE equals 'safe.
545 (frame-windows-min-size): New function (used by frame resizing
547 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
549 (window--sanitize-window-sizes): New function.
550 (window-split-min-size): Remove.
551 (split-window): Count divider-width. Don't use
552 `window-split-min-size' any more. Reword error messages.
553 Sanitize windows sizes after splitting.
555 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
557 Use `defvar-local' more.
558 * progmodes/hideshow.el
559 (hs-c-start-regexp, hs-block-start-regexp)
560 (hs-block-start-mdata-select, hs-block-end-regexp)
561 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
562 remove corresponding `make-variable-buffer-local' top-level calls.
564 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
566 Cleanup error signals. (Bug#18067)
567 * progmodes/python.el
568 (python-indent-shift-left): Use user-error instead.
569 (python-shell-prompt-detect): Use lwarn with python group.
570 (python-completion-complete-at-point)
571 (python-eldoc--get-doc-at-point): Don't signal error.
573 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
575 Support for packages in Python shell. (Bug#13570)
576 * progmodes/python.el (python-shell--package-depth): New var.
577 (python-shell-package-enable): New command.
578 (python-util-list-directories, python-util-list-files)
579 (python-util-list-packages): New functions.
581 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
583 Faster comint output. (Bug#16875)
584 * progmodes/python.el:
585 (python-comint-output-filter-function): Make obsolete.
586 (python-comint-postoutput-scroll-to-bottom): New function.
587 (inferior-python-mode): Set comint-output-filter-functions to a
590 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
592 * progmodes/python.el (python-shell-font-lock-post-command-hook):
593 Safeguard current point and undo history.
595 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
597 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
598 * progmodes/python.el:
599 (python-shell-prompt-input-regexps): Add iPython block prompt.
600 (python-shell-output-syntax-table): Delete var.
601 (python-shell-font-lock-with-font-lock-buffer): New macro.
602 (python-shell-font-lock-get-or-create-buffer)
603 (python-shell-font-lock-kill-buffer)
604 (python-shell-font-lock-cleanup-buffer)
605 (python-shell-font-lock-post-command-hook)
606 (python-shell-font-lock-turn-off): New functions.
607 (python-shell-font-lock-turn-on): New function.
608 (inferior-python-mode): Use it.
609 (python-shell-font-lock-toggle): New command.
610 (python-shell-font-lock-enable): Rename from
611 python-shell-enable-font-lock.
612 (run-python-internal): Use it.
613 (python-shell-font-lock-comint-output-filter-function): New function.
614 (python-shell-comint-end-of-output-p): New function.
615 (python-shell-output-filter): Use it.
616 (python-util-comint-last-prompt): New function.
617 (python-util-text-properties-replace-name): New function.
619 2014-07-25 Glenn Morris <rgm@gnu.org>
621 * vc/ediff-init.el (ediff-toggle-read-only-function):
622 * vc/ediff-util.el (ediff-toggle-read-only):
623 Replace obsolete toggle-read-only with read-only-mode.
625 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
627 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
628 with `save-match-data'. (Bug#18095)
630 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
632 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
633 order to ensure that row and col are lexically bound inside the
636 2014-07-21 Glenn Morris <rgm@gnu.org>
638 * progmodes/hideif.el (hide-ifdef-mode-submap):
639 Also substitute read-only-mode.
640 * bindings.el (mode-line-toggle-read-only):
641 * bs.el (bs-toggle-readonly):
642 * buff-menu.el (Buffer-menu-toggle-read-only):
643 * dired.el (dired-toggle-read-only):
644 * files.el (view-read-only, find-file-read-only)
645 (find-file-read-only-other-window)
646 (find-file-read-only-other-frame):
647 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
648 Doc fixes re toggle-read-only.
650 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
652 * progmodes/python.el: Add comment about pipe buffering and
653 solutions for missing/delayed output in inferior Python shells.
656 * progmodes/python.el (python-mode): Don't set
657 mode-require-final-newline. (Bug#17990)
659 Make python.el work with IPython automatically. (Bug#15510)
660 * progmodes/python.el:
661 (python-shell-completion-setup-code): New value supporting iPython.
662 (python-shell-completion-string-code): New value supporting iPython.
663 (python-shell-completion-get-completions): Use them.
664 (python-shell-completion-module-string-code): Make obsolete.
665 (python-shell-prompt-input-regexps)
666 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
667 (python-shell-output-filter): Fix comment typo.
669 Fix Python shell prompts detection for remote hosts.
670 * progmodes/python.el (python-shell-prompt-detect):
671 Replace call-process with process-file and make it more robust.
673 Autodetect Python shell prompts. (Bug#17370)
674 * progmodes/python.el:
675 (python-shell-interpreter-interactive-arg)
676 (python-shell-prompt-detect-enabled)
677 (python-shell-prompt-detect-failure-warning)
678 (python-shell-prompt-input-regexps)
679 (python-shell-prompt-output-regexps): New vars.
680 (python-shell-prompt-calculated-input-regexp)
681 (python-shell-prompt-calculated-output-regexp): New vars.
682 (python-shell-get-process-name)
683 (python-shell-internal-get-process-name)
684 (python-shell-output-filter)
685 (python-shell-completion-get-completions): Use them.
686 (python-shell-prompt-detect)
687 (python-shell-prompt-validate-regexps): New functions.
688 (python-shell-prompt-set-calculated-regexps): New function.
689 (inferior-python-mode): Use it. Also honor overriden
690 python-shell-interpreter and python-shell-interpreter-args.
691 (python-shell-make-comint): Honor overriden
692 python-shell-interpreter and python-shell-interpreter-args.
693 (python-shell-get-or-create-process): Make it testable by allowing
694 to call run-python non-interactively.
695 (python-util-valid-regexp-p): New function.
696 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
697 (python-shell-prompt-output-regexp)
698 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
700 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
702 * emacs-lisp/smie.el (smie-config--guess-1): Split from
704 (smie-config--guess): Use it.
706 * emacs-lisp/edebug.el: Use nadvice.
707 (edebug-original-read): Remove.
708 (edebug--read): Rename from edebug-read and add `orig' arg.
709 (edebug-uninstall-read-eval-functions)
710 (edebug-install-read-eval-functions): Use nadvice.
711 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
712 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
713 (edebug-read-string, edebug-read-function): Use just `read'.
714 (edebug-original-debug-on-entry): Remove.
715 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
717 (debug-on-entry): Override with nadvice.
719 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
720 it also makes sense to bind it to a non-mouse event.
722 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
724 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
726 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
729 * rect.el (rectangle--string-preview): Don't assume there
730 a non-nil default (bug#17984).
732 2014-07-16 Glenn Morris <rgm@gnu.org>
734 * desktop.el (after-init-hook): Disable startup frame restoration
735 in non-graphical situations. (Bug#17693)
737 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
738 if it was "empty", or used for a different set of files. (Bug#17884)
740 2014-07-16 Eli Zaretskii <eliz@gnu.org>
742 * bindings.el (mode-line-remote): If default-directory is not a
743 string, don't call file-remote-p on it; instead state in the
744 help-echo that it is nil. (Bug#17986)
746 2014-07-14 Daniel Colascione <dancol@dancol.org>
748 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
751 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
752 Use `macroexpand-all' instead of `cl-macroexpand-all'.
754 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
756 Fix bug: C-x v v discarded existing log message (Bug#17884).
757 * vc/vc-dispatcher.el (vc-log-edit):
758 Don't clobber an already-existing log message.
760 2014-07-12 Glenn Morris <rgm@gnu.org>
762 * vc/log-edit.el (log-edit-changelog-entries):
763 Check for a visited-but-never-saved ChangeLog.
765 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
767 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
768 a non-existing file (bug#17970).
770 * faces.el (face-name): Undo last change.
771 (x-resolve-font-name): Don't call face-name (bug#17956).
773 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
775 Fix dedenters and electric colon handling. (Bug#15163)
776 * progmodes/python.el
777 (python-rx-constituents): Add dedenter and block-ender.
778 (python-indent-dedenters, python-indent-block-enders): Delete.
779 (python-indent-context): Return new case for dedenter-statement.
780 (python-indent-calculate-indentation): Handle new case.
781 (python-indent-calculate-levels): Fix levels calculation for
783 (python-indent-post-self-insert-function): Fix colon handling.
784 (python-info-dedenter-opening-block-message): New function.
785 (python-indent-line): Use it.
786 (python-info-closing-block)
787 (python-info-closing-block-message): Remove.
788 (python-info-dedenter-opening-block-position)
789 (python-info-dedenter-opening-block-positions)
790 (python-info-dedenter-statement-p): New functions.
792 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
794 * files.el (out-of-memory-warning-percentage): New defcustom.
795 (warn-maybe-out-of-memory): Use it.
797 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
799 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
800 when calling `read-string'. (Bug#17839)
802 2014-07-10 Eli Zaretskii <eliz@gnu.org>
804 * files.el (warn-maybe-out-of-memory): Fix the wording of the
807 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
809 * files.el (warn-maybe-out-of-memory): New function.
810 (find-file-noselect): Use it.
812 2014-07-09 Sam Steingold <sds@gnu.org>
814 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
815 `constant' like `bless', `return' &c
817 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
819 * rect.el (apply-on-rectangle): Check forward-line really moved to the
822 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
824 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
825 the middle of a line (bug#17896).
827 2014-07-09 Juri Linkov <juri@jurta.org>
829 * startup.el (command-line): Append displaying the warning about
830 the errors in the init file to the end of `after-init-hook'.
833 * faces.el (face-name): Return input arg `face' as-is
834 when it's not a symbol.
835 (x-resolve-font-name): Don't check if the face is a symbol.
838 * facemenu.el (list-colors-print): In help-echo format use %.2f
839 instead of %d because now HSV values are floating-point components
842 2014-07-09 Glenn Morris <rgm@gnu.org>
844 * emulation/cua-rect.el (cua--activate-rectangle):
845 Avoid setting cua--rectangle to nil. (Bug#17877)
847 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
849 * calendar/todo-mode.el: Fix wrong-type-argument error when
850 marking multiple consecutive items.
851 (todo-toggle-mark-item): Don't try to mark the empty lines at the
852 end of the todo and done items sections. Note in doc string that
853 items marked by passing a numeric prefix argument can include the
854 last todo and first done items.
855 (todo-mark-category): Don't try to mark the empty line between the
856 todo and done items sections.
858 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
860 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
861 proper Lisp quoting (bug#17934).
863 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
864 require-final-newline since prog-mode already took care of it (bug#17947).
866 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
868 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
869 refer to the Todo mode Info manual. Update the comment on
871 (todo-find-filtered-items-file): Add todo-prefix overlays.
872 (todo-filter-items): Reorder a let-bound variable to avoid a
873 wrong-type-argument error on canceling the file choice dialog.
875 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
877 * progmodes/octave.el (inferior-octave-mode):
878 Set comint-input-ring-size to a number (bug#17912).
880 2014-07-09 Juri Linkov <juri@jurta.org>
882 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
883 and `isearch-mode' associated with nil. (Bug#17849)
885 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
887 * linum.el (linum--face-height): New function (bug#17813).
888 (linum-update-window): Use it to adjust margin to linum's width.
890 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
891 * eshell/em-smart.el (eshell-smart-scroll-window): Use
892 with-selected-window.
894 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
895 Remove also pointless window&mark manipulation.
897 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
898 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
899 (perl-continuation-line-p): Don't skip over anything else than labels.
900 Return the previous char.
901 (perl-calculate-indent): Use syntax-ppss instead of parse-start
902 and update callers accordingly. For continuation lines, check the
903 the case of array hashes.
904 (perl-backward-to-noncomment): Make it non-interactive.
905 (perl-backward-to-start-of-continued-exp): Rewrite.
907 2014-07-08 Sam Steingold <sds@gnu.org>
909 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
912 2014-07-08 Juri Linkov <juri@jurta.org>
914 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
915 (vc-annotate-color-map): Use less saturated colors (20%) for
917 (vc-annotate-very-old-color): Add default value for background-mode.
918 (vc-annotate-background): Set default value to nil since now text on
919 the default backgrounds should be legible in light and dark modes.
920 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
923 2014-07-08 Juri Linkov <juri@jurta.org>
925 * simple.el (transpose-chars): Don't move point into read-only area.
928 2014-07-08 Juri Linkov <juri@jurta.org>
930 * window.el (with-displayed-buffer-window): New macro.
931 (with-temp-buffer-window, with-current-buffer-window):
932 Use `macroexp-let2' to evaluate and bind variables
933 in the same order as macro arguments.
934 (display-buffer--action-function-custom-type):
935 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
937 * minibuffer.el (minibuffer-completion-help): Replace
938 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
939 with actions that display *Completions* at-bottom when called
940 from the minibuffer, or below-selected in a normal buffer.
941 Associate `window-height' with `fit-window-to-buffer'.
942 Let-bind `pop-up-windows' to nil.
944 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
945 instead of `with-current-buffer-window'. (Bug#17809)
947 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
949 * progmodes/hideif.el (hide-ifdef-env): Change to global.
950 (hide-ifdef-env-backup): New variable.
951 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
952 New customizable variables.
953 (hif-clear-all-ifdef-defined): New defun.
954 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
955 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
956 (hif-tokenize): Fix for MS-DOS/Win EOL style.
957 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
958 Fix bug to hide the correct #elif region(s).
959 (hif-range-elif): New defun.
960 (hif-recurse-level): New var.
961 (hif-evaluate-region, hif-evaluate-macro): New defun.
962 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
964 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
967 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
969 * net/dbus.el (dbus-peer-handler): New defun.
970 (dbus-register-service): Register it. (Bug#17858)
971 (dbus-managed-objects-handler): Fix docstring.
973 2014-07-04 Phil Sainty <psainty@orcon.net.nz> (tiny change)
975 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
976 (narrow-to-defun): New arg include-comments, defaulting to it
979 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
981 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
982 different calling convention to rectangle--unhighlight-for-redisplay.
984 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
986 * net/tramp.el (tramp-call-process): Handle error strings.
988 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
990 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
991 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
993 * net/trampver.el: Update release number.
995 2014-07-03 Juri Linkov <juri@jurta.org>
997 * desktop.el (desktop-save): Rename arg `auto-save' to
998 `only-if-changed'. Doc fix. (Bug#17873)
1000 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1003 Use insert-for-yank (bug#17271).
1005 2014-07-03 Leo Liu <sdl.web@gmail.com>
1007 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1008 Support lexical-binding.
1010 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * vc/log-edit.el (log-edit-goto-eoh): New function.
1013 (log-edit--match-first-line): Use it (bug#17861).
1015 2014-07-03 Glenn Morris <rgm@gnu.org>
1017 * vc/log-edit.el (log-edit-hook): Add missing :version.
1019 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1021 * progmodes/python.el (python-indent-post-self-insert-function):
1022 Enhancements to electric indentation behavior inside
1025 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1027 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1028 buffer-invisibility-spec (bug#17867).
1030 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1032 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1035 2014-07-03 Glenn Morris <rgm@gnu.org>
1037 * cus-edit.el (help):
1038 * finder.el (finder-known-keywords):
1039 * help.el (help-for-help-internal):
1040 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1041 (ediff-redraw-registry-buffer):
1042 * vc/ediff-ptch.el (ediff-patch-file-internal):
1043 Doc fixes re "online" help. (Bug#17803)
1045 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1046 (idlwave-mode): Doc URL update.
1048 2014-07-01 Juri Linkov <juri@jurta.org>
1050 * man.el: Display man pages immediately and use process-filter
1051 to format them asynchronously.
1052 (Man-width): Doc fix.
1054 (Man-start-calling): Use `with-selected-window' to get
1055 `frame-width' and `window-width'.
1056 (Man-getpage-in-background): Call `Man-notify-when-ready'
1057 immediately after creating a new buffer. Call `Man-mode' and set
1058 `mode-line-process' in the created buffer. Set process-filter to
1059 `Man-bgproc-filter' in start-process branch. In call-process branch
1060 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1061 Use `Man-start-calling' inside `with-current-buffer'.
1062 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
1063 (Man-cleanup-manpage): Don't print messages.
1064 (Man-bgproc-filter): New function.
1065 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1066 user moved it during asynchronous formatting. Move calls of
1067 `Man-fontify-manpage' and `Man-cleanup-manpage' to
1068 `Man-bgproc-filter'. Move the call of `Man-mode' to
1069 `Man-getpage-in-background'. Use `quit-restore-window'
1070 instead of `kill-buffer'. Use `message' instead of `error'
1071 because errors are caught by process sentinel.
1072 (Man-mode): Move calls of `Man-build-page-list',
1073 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1074 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
1076 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1077 for the message about the man page cleaned up.
1079 2014-07-01 Mario Lang <mlang@delysid.org>
1081 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1082 cosutomization option `gnutls-verify-error'.
1084 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1087 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1089 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1090 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1091 is suspended (bug#17857).
1093 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
1095 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1096 Prefer utf-8 coding. (Bug#17859)
1098 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1100 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1103 2014-06-30 Glenn Morris <rgm@gnu.org>
1105 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1106 (autoload-ensure-default-file): Maybe make existing output writable.
1107 * Makefile.in (AUTOGEN_VCS): Remove.
1108 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1110 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1112 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1114 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1116 New if-let, when-let, thread-first and thread-last macros.
1118 * emacs-lisp/subr-x.el
1119 (internal--listify, internal--check-binding)
1120 (internal--build-binding-value-form, internal--build-binding)
1121 (internal--build-bindings): New functions.
1122 (internal--thread-argument, thread-first, thread-last)
1123 (if-let, when-let): New macros.
1125 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
1127 * net/rcirc.el (rcirc-buffer-process): Restore previous
1128 behaviour. (Bug#17772)
1130 2014-06-29 Alan Mackenzie <acm@muc.de>
1132 Don't call c-parse-state when c++-template-syntax-table is active.
1133 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1134 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1135 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1137 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1139 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1140 account for file-wide setting of todo-top-priorities-overrides.
1141 Make code a bit cleaner.
1143 2014-06-28 Glenn Morris <rgm@gnu.org>
1145 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1147 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1149 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1150 category-wide setting of todo-top-priorities-overrides, check for
1151 a file-wide setting and fontify accordingly.
1153 2014-06-28 Glenn Morris <rgm@gnu.org>
1155 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1157 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
1161 2014-06-28 K. Handa <handa@gnu.org>
1165 * composite.el: Setup composition-function-table for dotted circle.
1166 (compose-gstring-for-dotted-circle): New function.
1168 * international/characters.el: Add category "^" to all
1169 non-spacing characters.
1171 2014-06-28 Glenn Morris <rgm@gnu.org>
1173 * Makefile.in (doit): Remove force rule.
1174 (custom-deps, finder-data, autoloads, update-subdirs)
1175 (compile-one-process): PHONY targets do not need force rules.
1177 * Makefile.in (compile-main, compile, compile-always):
1178 No need to explicitly pass variables to ourself in recursive calls.
1180 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1184 2014-06-26 Glenn Morris <rgm@gnu.org>
1186 * Makefile.in (update-authors): Update for moved authors.el.
1188 2014-06-26 Leo Liu <sdl.web@gmail.com>
1190 * skeleton.el (skeleton-end-hook): Default to nil and move the
1191 work to skeleton-insert. (Bug#17850)
1193 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
1195 * calc/calc-alg.el (math-beforep):
1196 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1197 Simplify because string-lessp can accept symbols as args.
1199 2014-06-26 Daiki Ueno <ueno@gnu.org>
1201 * emacs-lisp/package.el (package--check-signature):
1202 If package-check-signature is allow-unsigned, don't signal error when
1203 we can't verify signature because of missing public key
1206 2014-06-26 Glenn Morris <rgm@gnu.org>
1208 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1209 Remove outdated declaration.
1211 * emacs-lisp/authors.el (authors-valid-file-names)
1212 (authors-renamed-files-alist): Additions.
1214 2014-06-26 Leo Liu <sdl.web@gmail.com>
1216 * textmodes/picture.el (picture-set-tab-stops):
1217 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1218 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1220 * progmodes/asm-mode.el (asm-calculate-indentation):
1221 Use indent-next-tab-stop.
1223 * indent.el (indent-accumulate-tab-stops): New function.
1225 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1228 (package-desc-status): Obey it.
1230 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1232 * calendar/todo-mode.el: Fix two bugs.
1233 (todo-insert-item--basic): If user cancels item insertion to
1234 another category before setting priority, show original category
1235 whether it is in the same or a different file.
1236 (todo-set-item-priority): After selecting category, instead of
1237 moving point to top, which extends an active region, restore it.
1239 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1241 * help-fns.el (describe-function-1): Check file-name is a string before
1242 calling help-fns--autoloaded-p (bug#17564).
1244 2014-06-26 Juri Linkov <juri@jurta.org>
1246 * desktop.el (desktop-auto-save-enable)
1247 (desktop-auto-save-disable): New functions.
1248 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1249 (desktop-read): Disable the autosave before loading the desktop,
1250 and enable afterwards. (Bug#17351)
1252 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1254 Fix some indentation problem with \; and pipes (bug#17842).
1255 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1256 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1258 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1259 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1260 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1262 2014-06-26 Glenn Morris <rgm@gnu.org>
1264 * emacs-lisp/find-func.el (find-function-C-source-directory):
1265 Use file-accessible-directory-p.
1267 * ps-samp.el: Make it slightly less awful.
1268 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1269 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1270 Only set local values.
1271 (ps-article-subject, ps-article-author): Use standard functions
1272 like mail-fetch-field.
1273 (ps-info-file, ps-info-node): Use match-string.
1274 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1275 (ps-samp-ps-setup): ... new function.
1277 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1278 Optimize away code unneeded on any modern Emacs.
1280 * emacs-lisp/authors.el: Move to ../admin.
1282 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1284 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
1286 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1287 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1288 performance enhancements.
1289 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
1291 (hif-factor, hif-string-concatenation, intern-safe): Support string
1292 concatenation and argumented macro expansion.
1293 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1294 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1295 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1296 (hif-canonicalize-tokens, hif-place-macro-invocation)
1297 (hif-parse-macro-arglist): Mostly new functions for supporting
1298 argumented macro expansion.
1299 (hif-string-concatenation, hif-stringify, hif-token-concat)
1300 (hif-token-stringification, hif-token-concatenation):
1301 Stringification and concatenation.
1302 (hif-find-next-relevant): Fix comments.
1303 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1304 some cases involving #elif.
1305 (hif-find-define, hif-add-new-defines): New functions for automatically
1306 scanning of defined symbols.
1307 (hide-ifdef-guts): Fix for defined symbol auto scanning.
1308 (hide-ifdef-undef): Fix behavior to match CPP.
1310 2014-06-25 Glenn Morris <rgm@gnu.org>
1312 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1313 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1314 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1315 files. They are not relevant to the original issue (bug#1004),
1316 and cause unnecessary recompilation (bug#2151).
1318 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * play/landmark.el: Use lexical-binding and avoid `intangible'.
1321 (landmark--last-pos): New var.
1322 (landmark--intangible-chars): New const.
1323 (landmark--intangible): New function.
1324 (landmark-mode, landmark-move): Use it.
1325 (landmark-mode): Remove properties.
1326 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1327 (landmark-cross-qtuple):
1328 Don't worry about `intangible' any more.
1329 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1330 (landmark-init-display): Don't set `intangible' and `point-entered'.
1331 (square): Remove. Inline it instead.
1332 (landmark--distance): Rename from `distance'.
1333 (landmark-calc-distance-of-robot-from): Rename from
1334 calc-distance-of-robot-from.
1335 (landmark-calc-smell-internal): Rename from calc-smell-internal.
1337 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
1339 * files.el (dir-locals-find-file, file-relative-name):
1340 * info.el (Info-complete-menu-item):
1341 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1342 to compare-strings to avoid out-of-range errors.
1343 * subr.el (string-prefix-p): Adjust to match strict range
1344 checking in compare-strings.
1346 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
1348 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1349 for comment lines non-greedy and stopping at newlines to fix stack
1350 overflows with large files.
1352 2014-06-24 Eli Barzilay <eli@barzilay.org>
1354 * calculator.el (calculator-last-input): Drop 'ascii-character property
1357 2014-06-24 Leo Liu <sdl.web@gmail.com>
1359 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1360 tab-stop-list to nil. (Bug#16381)
1362 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1363 (indent-rigidly-left-to-tab-stop)
1364 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1365 (move-to-tab-stop): Change callers.
1367 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1369 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1370 wrt behavior of \n as the first/last element of a skeleton.
1372 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
1374 * net/tramp-adb.el (tramp-adb-handle-process-file):
1375 * net/tramp-sh.el (tramp-sh-handle-process-file):
1376 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1377 the output buffer when DISPLAY is non-nil. (Bug#17815)
1379 2014-06-24 Glenn Morris <rgm@gnu.org>
1381 * play/landmark.el (landmark-move-down, landmark-move-up):
1382 Fix 2007-10-20 change - preserve horizontal position.
1384 2014-06-23 Sam Steingold <sds@gnu.org>
1386 * simple.el (kill-append): Remove undo boundary depending on ...
1387 (kill-append-merge-undo): New user option.
1389 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * simple.el (handle-shift-selection, exchange-point-and-mark)
1392 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1393 (transient-mark-mode): Use&set the global value.
1394 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1395 * emulation/edt.el (edt-emulation-off): Save&restore the global
1396 transient-mark-mode setting.
1397 * obsolete/pc-select.el (pc-selection-mode): Use the
1398 transient-mark-mode function.
1400 2014-06-23 Eli Zaretskii <eliz@gnu.org>
1402 * international/fontset.el (script-representative-chars):
1403 Add representative characters for scripts added in Unicode 7.0.
1404 (otf-script-alist): Synchronize with the latest registry of OTF
1407 * international/characters.el (char-script-table): Update for
1408 scripts added and codepoint ranges changed in Unicode 7.0.
1410 2014-06-23 Eli Barzilay <eli@barzilay.org>
1412 * calculator.el (calculator-standard-displayer): Fix bug in use of
1413 `calculator-groupize-number'.
1414 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1415 `eval' code, so it works in v24.3.1 too.
1416 (calculator-last-input): Comment to clarify purpose.
1418 2014-06-22 Mario Lang <mlang@delysid.org>
1420 * textmodes/rst.el (rst-comment-region): From from -> from.
1422 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1424 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
1426 * electric.el (electric-layout-post-self-insert-function):
1427 * emacs-lisp/ert.el (ert--insert-infos):
1428 * obsolete/vi.el (vi-set-mark):
1429 * term.el (term-handle-scroll):
1430 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1431 * wid-edit.el (widget-editable-list-value-create):
1432 Prefer point-marker to copy-marker of point.
1434 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1436 Fix completion retrieval parsing (bug#17209).
1437 * progmodes/python.el (python-mode):
1438 (python-util-strip-string): New function.
1439 (python-shell-completion-get-completions): Use it.
1441 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1443 * skeleton.el (skeleton-insert): Fix last change.
1445 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1447 Enhancements for outline integration (bug#17796).
1448 * progmodes/python.el (python-mode): Properly set
1449 outline-heading-end-regexp so that comments after colons for
1450 defuns are supported.
1452 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1454 * skeleton.el (skeleton-insert): Doc fix.
1456 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1459 (smie-config-guess): Use smie-config-local so the rules are obeyed
1462 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1463 since it's already done inside the loop (bug#17819).
1465 2014-06-21 Martin Rudalics <rudalics@gmx.at>
1467 * mouse.el (mouse-drag-line): Re-remove code initially removed
1468 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1471 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1474 align with the surrounding parent (bug#17721).
1476 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1478 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1480 (texinfo-insert-block, texinfo-insert-@end)
1481 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1482 local setting of skeleton-end-newline by adding an explicit \n to
1483 the skeletons where appropriate. (Bug#17801)
1485 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1488 (smie-indent--hanging-p): Use it.
1489 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1491 2014-06-21 Leo Liu <sdl.web@gmail.com>
1493 * simple.el (read-quoted-char): Don't let help chars pop up help
1496 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1498 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1501 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1502 Drop unknown events instead of burping.
1504 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1506 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1507 and later. (Bug#17790)
1509 2014-06-21 Juri Linkov <juri@jurta.org>
1511 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1512 to `soft'. (Bug#17554)
1514 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1516 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1519 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
1521 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1522 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1524 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
1526 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1527 `unread-command-events'.
1529 2014-06-19 William Xu <william.xwl@gmail.com>
1531 * progmodes/hideif.el (hif-string-to-number): Don't return float for
1532 hex integer constants (bug#17807).
1534 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * international/mule-util.el (truncate-string-ellipsis): New var.
1537 (truncate-string-to-width): Use it.
1539 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
1541 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1542 (lisp-string-in-doc-position-p): New function, extracted from
1543 lisp-font-lock-syntactic-face-function.
1544 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1546 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
1548 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
1550 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1553 (bubbles--game-over): Don't add `intangible' properties since they
1556 2014-06-18 Juri Linkov <juri@jurta.org>
1558 * vc/ediff-init.el (ediff-current-diff-Ancestor)
1559 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1560 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1561 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1562 Add `min-colors 88' version with removed black/white foregrounds.
1565 2014-06-18 Juri Linkov <juri@jurta.org>
1567 * vc/diff-mode.el (diff-changed): Empty face definition to use
1568 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
1569 (diff-context): Use darker color on light background and
1570 lighter color on dark background.
1572 2014-06-18 Juri Linkov <juri@jurta.org>
1574 * vc/diff-mode.el (diff-refine-changed): Rename from
1575 `diff-refine-change' for consistency with `diff-changed'.
1576 (diff-refine-change): Add obsolete face alias. (Bug#10181)
1578 * vc/smerge-mode.el (smerge-refined-changed): Rename from
1579 `smerge-refined-change'.
1580 (smerge-refined-change): Add obsolete face alias.
1582 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * rect.el (rectangle-preview): New custom.
1585 (rectangle): New group.
1586 (rectangle--pos-cols): Add `window' argument.
1587 (rectangle--string-preview-state, rectangle--string-preview-window):
1589 (rectangle--string-flush-preview, rectangle--string-erase-preview)
1590 (rectangle--space-to, rectangle--string-preview): New functions.
1591 (string-rectangle): Use them.
1592 (rectangle--inhibit-region-highlight): New var.
1593 (rectangle--highlight-for-redisplay): Obey it. Make sure
1594 `apply-on-region' uses the point-crutches of the right window.
1595 Use :align-to rather than multiple spaces.
1597 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
1599 * ruler-mode.el (ruler-mode-window-col)
1600 (ruler-mode-mouse-set-left-margin)
1601 (ruler-mode-mouse-set-right-margin): Fix calculation of column
1602 from mouse position (Bug#17768).
1604 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
1606 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1607 without varname or rhs causes crash.
1608 (dun-ftp): Fix bug where blank ftp password is allowed, making it
1609 impossible to win endgame.
1610 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1612 (dun-help): Bump version number; update contact info.
1614 2014-06-15 Eli Barzilay <eli@barzilay.org>
1616 * calculator.el (calculator-prompt, calculator-remove-zeros)
1617 (calculator-mode-hook, calculator-operators, calculator-stack)
1618 (calculator-mode): Tweak docstring.
1619 (calculator-user-operators): Tweak docstring, fix a bug in the last
1621 (calculator-displayer): `std' case has an optional boolean.
1622 (calculator-displayers): Use the new boolean to group in decimal mode.
1623 (calculator-mode-map, calculator, calculator-message)
1624 (calculator-op-arity, calculator-add-operators)
1625 (calculator-string-to-number, calculator-displayer-prev)
1626 (calculator-displayer-next, calculator-remove-zeros)
1627 (calculator-eng-display, calculator-number-to-string)
1628 (calculator-update-display, calculator-last-input)
1629 (calculator-clear-fragile, calculator-digit, calculator-decimal)
1630 (calculator-exp, calculator-saved-move, calculator-clear)
1631 (calculator-copy, calculator-put-value, calculator-help)
1632 (calculator-expt, calculator-truncate): Minor code improvements.
1633 (calculator-need-3-lines): New function pulling out code from
1635 (calculator-get-display): Rename from `calculator-get-prompt', and
1637 (calculator-push-curnum): Rename from `calculator-curnum-value', and
1638 extended for all uses of it. All callers changed.
1639 (calculator-groupize-number): New utility for splitting a number into
1641 (calculator-standard-displayer): Improve code, new optional argument to
1642 use comma-split groups, make second argument optional too to use with
1643 'left/'right inputs. All callers changed.
1644 (calculator-reduce-stack-once): New utility, doing the meat of what
1645 `calculator-reduce-stack' used to do, much improved (mostly using
1646 `pcase' for conciseness and clarity).
1647 (calculator-reduce-stack): Now doing just the reduction loop using
1648 `calculator-reduce-stack-once'.
1649 (calculator-funcall): Improve code, make it work in v24.3.1 too.
1650 (calculator-last-input): Improve code, remove some old cruft.
1651 (calculator-quit): Kill `calculator-buffer' in electric mode too.
1652 (calculator-integer-p): Remove.
1653 (calculator-fact): Improve code, make it work on non-integer values
1654 too (using truncated numbers).
1656 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1658 Sync with Tramp 2.2.10.
1660 * net/tramp.el (tramp-methods): Tweak docstring.
1661 (tramp-handle-file-accessible-directory-p): Check for
1662 `file-readable-p' instead of `file-executable-p'.
1663 (tramp-check-cached-permissions):
1664 Use `tramp-compat-file-attributes'.
1665 (tramp-call-process): Add new argument VEC. Adapt callees in all
1668 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1669 (tramp-adb-maybe-open-connection): Don't set
1670 `tramp-current-*' variables.
1672 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1673 file properties of temporary buffers.
1675 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1677 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1678 (tramp-gvfs-handle-delete-file): Flush file
1679 properties, not directory properties.
1680 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1681 reading "unix::mode".
1682 (tramp-gvfs-handle-file-name-all-completions):
1683 Use "-h" option for "gvfs-ls".
1684 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1685 (tramp-gvfs-send-command): Simplify traces.
1687 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1688 (vc-git-program, vc-hg-program): Declare.
1689 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
1690 (tramp-methods) <nc>: Add new method.
1691 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1692 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1694 (tramp-default-user-alist): Add "nc".
1695 (top): Remove completion function for "sftp". Add completion
1696 functions for "nc" and "psftp".
1697 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1698 Implement support for "nc" method.
1699 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1700 (tramp-remote-coding-commands, tramp-call-local-coding-command):
1702 (tramp-sh-handle-write-region): Tweak error message.
1703 (tramp-sh-handle-vc-registered): Remove backends when the remote
1704 binary does not exist.
1705 (tramp-find-inline-encoding): Do not raise an error.
1706 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
1707 the "nc" case. Quote result also locally.
1709 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1710 (tramp-smb-handle-set-file-acl): Use `start-process'.
1711 (tramp-smb-handle-insert-directory): Use progress reporter.
1712 (tramp-smb-handle-rename-file): Flush also file properties of
1715 * net/trampver.el: Update release number.
1717 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1721 (ses-localvars): Remove ses--local-printer-list, unused.
1722 (ses--metaprogramming): New macro. Use it to defvar variables.
1723 (ses-set-localvars): Simplify.
1724 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
1725 property-list into an alist.
1726 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1727 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1728 Remove; use defstruct accessors/setters instead.
1729 (ses-cell-formula-aset, ses-cell-printer-aset)
1730 (ses-cell-references-aset): Remove, use setf instead.
1731 (ses--alist-get): New function.
1732 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1733 Use an alist instead of a plist and don't do move-to-front since the
1734 list is always short.
1735 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1736 (ses-cell-property-set-fun, ses-cell-property-set)
1737 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1738 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1739 (ses--letref): New macro.
1740 (ses-cell-property-pop): Rewrite.
1741 (ses--cell): Rename from ses-cell and make it into a function.
1742 Make `formula' fallback on `value' if nil.
1743 (ses--local-printer): Rename from ses-local-printer and make it into
1745 (ses-set-cell): Turn it into a macro so finding the accessor from the
1746 field name is done at compile time.
1747 (ses-repair-cell-reference-all): Test presence of `sym' rather than
1748 `ref' before adding `sym' to :ses-repair-reference.
1749 (ses-calculate-cell): Use ses--letref rather than
1750 ses-cell-property-get-handle.
1751 (ses-write-cells): Use a single prin1-to-string.
1752 (ses-setter-with-undo): New function.
1753 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1754 (ses-unset-with-undo): Remove.
1755 (ses-load): Prefer apply' over `eval'.
1756 (ses-read-printer, ses-set-column-width): Use standard "(default
1759 2014-06-15 Glenn Morris <rgm@gnu.org>
1761 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1763 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1764 Replace delete-duplicates and mapcan by cl- versions throughout.
1765 And cl-macroexpand-all by macroexpand-all.
1766 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1768 2014-06-15 Eli Zaretskii <eliz@gnu.org>
1770 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1772 2014-06-15 Juri Linkov <juri@jurta.org>
1774 * bindings.el: Put `ascii-character' property on keypad keys
1775 mapped to characters. (Bug#17759)
1777 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1780 bumping forward into a closing paren (bug#17761).
1782 * term/xterm.el (xterm--version-handler): Work around for OSX
1783 Terminal.app (bug#17607).
1785 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
1787 * play/dunnet.el (dun-describe-room, dun-mode):
1788 If a lamp is in the room, you won't be eaten by a grue.
1790 2014-06-13 Glenn Morris <rgm@gnu.org>
1792 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1793 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1794 (compile-always): GNU make automatically passes
1795 command-line arguments to sub-makes.
1797 * calendar/calendar.el (calendar-generate-window):
1798 Remove pointless call to font-lock-fontify-buffer.
1800 2014-06-13 Matthias Meulien <orontee@gmail.com>
1802 * simple.el (completion-list-mode-map): Navigate with tab and backtab
1805 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * simple.el (set-mark-command): Simplify a bit.
1809 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1811 * help.el (help--key-binding-keymap): New function.
1812 (help--binding-locus): New function.
1813 (describe-key): Mention the keymap in which the binding was
1816 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1818 * hippie-exp.el (he--all-buffers): New function.
1819 (try-expand-line-all-buffers, try-expand-list-all-buffers)
1820 (try-expand-dabbrev-all-buffers): Use it.
1822 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
1824 * hippie-exp.el (try-expand-line-all-buffers)
1825 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1826 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1827 original buffer, in case they're buffer-local.
1829 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
1831 * ses.el (ses-initial-global-parameters-re): New defconst, a
1832 specific regexp is needed now that ses.el can handle both
1833 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1835 (ses-localvars): Add local variables needed for local printer handling.
1836 (ses-set-localvars): Handle hashmap initialisation.
1837 (ses-paramlines-plist): Add param-line for number of local printers.
1838 (ses-paramfmt-plist): New defconst, needed for code factorization
1839 between functions `ses-set-parameter' and
1840 `ses-file-format-extend-paramter-list'
1841 (ses-make-local-printer-info): New defsubst.
1842 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1843 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1844 (ses-cell-printer-aset): New defmacro.
1845 (ses-local-printer-compile): New defun.
1846 (ses-local-printer): New defmacro.
1847 (ses-printer-validate, ses-call-printer): Add support for local
1849 (ses-file-format-extend-paramter-list): New defun.
1850 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1852 (ses-load): Add support for local printer functions.
1853 (ses-read-printer): Update docstring and add support for local printer
1855 (ses-refresh-local-printer, ses-define-local-printer): New defun.
1856 (ses-safe-printer): Add support for local printer functions.
1858 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
1860 * ffap.el (ffap-lax-url): New var (bug#17723).
1861 (ffap-url-at-point): Use it.
1862 (ffap-file-at-point): Avoid returning just "/".
1864 2014-06-12 Matthias Meulien <orontee@gmail.com>
1866 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1867 (python-mode-map): Bind it.
1869 * progmodes/python.el (class skeleton): Don't erase last char of class
1872 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
1874 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1876 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
1878 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1881 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * international/mule-cmds.el: Use lexical-binding.
1884 (ucs-names): Simplify.
1886 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
1888 * progmodes/python.el (run-python): Use read-shell-command.
1890 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * rect.el: Make it possible to move bounds past EOL or into TABs.
1893 (operate-on-rectangle): Use apply-on-rectangle.
1894 (rectangle--mark-crutches): New var.
1895 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1896 (rectangle--crutches, rectangle--reset-crutches): New functions.
1897 (apply-on-rectangle): Obey crutches. Avoid setq.
1898 Fix missing final iteration if end is at EOB&BOL.
1899 (rectangle-mark-mode-map): Add remap bindings for
1900 exchange-point-and-mark and char/line movements.
1901 (rectangle--*-char): New function.
1902 (rectangle-exchange-point-and-mark, rectangle-right-char)
1903 (rectangle-left-char, rectangle-forward-char)
1904 (rectangle-backward-char, rectangle-next-line)
1905 (rectangle-previous-line): New commands.
1906 (rectangle--place-cursor): New function.
1907 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
1909 2014-06-08 Glenn Morris <rgm@gnu.org>
1911 * startup.el (initial-buffer-choice): Doc fix.
1912 Reset :version (adding an option does not merit a :version bump).
1914 * bookmark.el (bookmark-load):
1915 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1917 2014-06-08 Juri Linkov <juri@jurta.org>
1919 * desktop.el: Activate auto-saving on window configuration changes.
1920 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1921 `desktop-auto-save-set-timer' to/from
1922 `window-configuration-change-hook'.
1923 (desktop-auto-save-set-timer): Change REPEAT arg of
1924 `run-with-idle-timer' from t to nil.
1925 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1927 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
1929 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1930 vc-hg-command (bug#17570).
1932 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1937 2014-06-08 Glenn Morris <rgm@gnu.org>
1939 * startup.el (window-setup-hook): Doc fix.
1941 * emacs-lisp/package.el (package-check-signature)
1942 (package-unsigned-archives): Doc fixes.
1944 2014-06-08 Martin Rudalics <rudalics@gmx.at>
1946 * window.el (display-buffer-use-some-window): Don't make window
1947 used smaller than it was before (Bug#17671).
1949 2014-06-08 Eli Zaretskii <eliz@gnu.org>
1951 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1952 'redisplay' instead of '(sit-for 0)'.
1954 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
1956 * net/tramp.el (tramp-ssh-controlmaster-options):
1957 Improve search regexp. (Bug#17653)
1959 2014-06-08 Glenn Morris <rgm@gnu.org>
1961 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1963 2014-06-08 Eli Zaretskii <eliz@gnu.org>
1965 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1967 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1969 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
1972 * vc/vc-hg.el (vc-hg-log-graph): New var.
1973 (vc-hg-print-log): Use it.
1974 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
1975 graph output (bug#17515).
1977 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1979 * mouse.el (mouse-posn-property): Ignore buffer position info when the
1980 even happened elsewhere.
1982 2014-06-06 Mario Lang <mlang@delysid.org>
1984 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
1985 `recenter' if `current-buffer' is equal to `window-buffer'.
1987 2014-06-05 Leo Liu <sdl.web@gmail.com>
1989 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
1991 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
1993 * textmodes/tildify.el (tildify-foreach-region-outside-env):
1994 New function which calls a callback on portions of the buffer that are
1995 outside of ignored environments.
1996 (tildify-build-regexp): Remove function since it is now
1997 incorporated in `tildify-foreach-region-outside-env' where it is
1998 optimised and simplified by the use of `mapconcat'.
1999 (tildify-tildify): Return number of substitutions made so that…
2000 (tildify-count): …can be removed.
2001 (tildify-find-env): Accept a new PAIRS argument which was
2002 previously looked up in `tildify-ignored-environments-alist' each
2003 time the function was called. With this change, the lookup is
2004 performed only once in `tildify-foreach-region-outside-env'.
2005 (tildify-region): Greatly simplify the function since now most of
2006 the work is done by `tildify-foreach-region-outside-env'.
2007 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2008 and instead using or.
2010 * textmodes/tildify.el (tildify-ignored-environments-alist):
2011 Optimise environments regexes
2013 Each time beginning of an environment to ignore is found,
2014 `tildify-find-env' needs to identify regexp for the ending
2015 of the environment. This is done by trying all the opening
2016 regexes on matched text in a loop, so to speed that up, this
2017 loop should have fewer things to match, which can be done by
2018 using alternatives in the opening regexes.
2020 Coincidentally, this should make matching of the opening
2021 regexp faster as well thanks to the use of `regexp-opt' and
2022 having common prefix pulled from many regexes.
2024 * textmodes/tildify.el (tildify-string-alist)
2025 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2026 of supported modes since `xml-mode' is no longer a thing but just
2027 an alias to the former. Also include comments and insides of tags
2028 in `tildify-ignored-environments-alist' for XML modes. Finally,
2029 since XML does not define “ ”[1], use a numeric reference for
2030 a no-break space (namely “ ”)
2032 [1] XML specification defines only a handful of predefined entities.
2033 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2034 and includes only <, >, &, ' and " (meaning <,
2035 >, &, ' and " respectively). This is in contrast to HTML and even
2036 XHTML which defined a whole bunch of entities including “ ”.
2038 * textmodes/tildify.el (tildify-pattern-alist)
2039 (tildify-string-alist, tildify-ignored-environments-alist):
2040 Improve defcustom's types by adding more tags explaining what each
2041 value means and replace “sexp” used in
2042 `tildify-ignored-environments-alist' with a full type declaration.
2044 * textmodes/tildify.el (tildify-find-env): Fix matched group
2045 indexes in end-regex building
2047 When looking for a start of an ignore-environment, the regex is built
2048 by concatenating regexes of all the environments configured in
2049 `tildify-ignored-environments-alist'. So for example, the following
2050 list could be used to match TeX's \verb and \verb* commands:
2052 (("\\\\verb\\(.\\)" . (1))
2053 ("\\\\verb\\*\\(.\\)" . (1)))
2055 This would result in the following regex being used to find the start
2056 of any of the variants of the \verb command:
2058 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2060 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2061 won't match anything, and thus (match-string 1) will be nil, which
2062 will cause building of the end-matching regex to fail.
2064 Fix this by using capture groups from the time when the opening
2065 regexes are matched individually.
2067 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2068 in `tildify-find-env'
2070 The `tildify-ignored-environments-alist' allows the end-regex to
2071 be provided not as a static string but mix of strings and indexes
2072 of groups matched the begin-regex. For example, the “\verb!…!”
2073 TeX-command (where “!” is an arbitrary character) is handled
2076 ("\\\\verb\\*?\\(.\\)" . (1))
2078 In the same way, the following should be supported as well:
2080 ("open-\\(.\\)" . ("end-" 1))
2082 However the tildify-find-env function fails at
2085 (if (stringp (setq aux (car expression)))
2086 expression ; BUG: expression is a list
2087 (regexp-quote (match-string aux))))
2089 where the string part is handled incorrectly.
2091 The most trivial fix would be to replace `expression' in the
2092 true-part of the if-statement with `aux', but instead, this commit
2093 optimises `tildify-find-env' by changing it to use `mapconcat'
2094 rather than open-coded while-loop.
2096 2014-06-05 Mario Lang <mlang@delysid.org>
2098 * woman.el (woman-mapcan): Remove.
2099 (woman-parse-colon-path): Use cl-mapcan instead.
2101 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2103 * register.el: Add link to Emacs manual in Commentary.
2105 2014-06-02 Sam Steingold <sds@gnu.org>
2107 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2108 (popup-menu): ...here.
2109 (menu-bar-open): Use it to avoid an error when `lookup-key'
2112 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
2114 * net/tramp.el (tramp-call-process): Add traces.
2115 (tramp-handle-unhandled-file-name-directory): Return "/".
2117 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
2119 Sync with upstream verilog-mode revision 3cd8144.
2120 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2121 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2122 (verilog-type-font-keywords): Add nor.
2123 (verilog-batch-execute-func): Force reading of Local Variables.
2124 Fix printing "no changes to be saved" with verilog-batch.
2125 (verilog-auto-arg-ports): Doc fix.
2126 Add verilog-auto-arg-format to support newlines in AUTOARG.
2127 (verilog-auto-arg): Doc fix.
2129 2014-06-02 Glenn Morris <rgm@gnu.org>
2131 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2132 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2133 * emulation/ws-mode.el: Move to obsolete/.
2134 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2136 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2138 * simple.el (keyboard-quit): Force update of mode lines, to remove
2139 the "Def" indicator, if we were defining a macro. (Bug#17615)
2141 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * minibuffer.el (minibuffer-force-complete-and-exit):
2144 Obey minibuffer-default (bug#17545).
2146 * progmodes/js.el (js-indent-line): Don't mix columns and chars
2149 * subr.el (set-transient-map): Don't wait for some "nested"
2150 transient-map to finish if we're only supposed to be active for
2151 the next command (bug#17642).
2153 2014-06-02 Leo Liu <sdl.web@gmail.com>
2155 * emacs-lisp/gv.el (window-buffer, window-display-table)
2156 (window-dedicated-p, window-hscroll, window-point, window-start):
2157 Fix gv-expander. (Bug#17630)
2159 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2164 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2165 for the single comma, since ", " is *very* common in normal French text
2168 2014-06-02 Glenn Morris <rgm@gnu.org>
2170 * emacs-lisp/package.el (package-check-signature)
2171 (package-unsigned-archives): Fix :version.
2173 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * subr.el (sit-for): Don't run input-methods (bug#15614).
2177 2014-06-02 Glenn Morris <rgm@gnu.org>
2179 * cus-start.el: Fix some :version numbers.
2181 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * simple.el (deactivate-mark): Set mark-active to nil even if
2184 deactivation is done via setting transient-mark-mode to nil,
2185 since one is buffer-local and the other is global.
2187 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2188 there can't be more than 2 arguments (bug#17584).
2190 2014-06-02 Glenn Morris <rgm@gnu.org>
2192 * simple.el (filter-buffer-substring-functions)
2193 (filter-buffer-substring-function, buffer-substring-filters)
2194 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2196 * minibuffer.el (completion-in-region-functions, completion-in-region)
2197 (completion--in-region): Doc fixes.
2199 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2200 (expand-abbrev, abbrev--default-expand): Doc fixes.
2202 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
2204 Include sources used to create macuvs.h.
2205 * international/README: Refer to the Unicode Terms of Use rather
2206 than copying it bodily here, as that simplifies maintenance.
2208 2014-06-01 Glenn Morris <rgm@gnu.org>
2210 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
2212 2014-05-31 Glenn Morris <rgm@gnu.org>
2214 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
2216 2014-05-30 Glenn Morris <rgm@gnu.org>
2218 * loadup.el: Treat `command-line-args' more flexibly.
2220 2014-05-30 Alan Mackenzie <acm@muc.de>
2222 Guard (looking-at "\\s!") from XEmacs.
2223 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2225 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
2227 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2228 The argument COUNT is now optional, to be more backward-compatible.
2229 Doc fix. (Bug#17560)
2231 2014-05-29 Reuben Thomas <rrt@sc3d.org>
2233 * whitespace.el (whitespace-report-region):
2234 Simplify documentation.
2235 (whitespace-report-region): Allow report-if-bogus to take the
2236 value `never', for non-interactive use.
2237 (whitespace-report): Refer to whitespace-report-region's
2240 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2242 * whitespace.el: Use font-lock-flush. Minimize refontifications.
2243 Side benefit: it works without jit-lock.
2244 (whitespace-point--used): New buffer-local var.
2245 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
2246 (whitespace-color-off): Use font-lock-flush.
2247 (whitespace-point--used, whitespace-point--flush-used): New functions.
2248 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2249 (whitespace-empty-at-eob-regexp): Use them.
2250 (whitespace-post-command-hook): Rewrite.
2252 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2253 (font-lock-fontify-buffer): Mark interactive-only.
2254 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2256 (font-lock-specified-p): Remove redundant boundp check.
2257 (font-lock-flush-function, font-lock-ensure-function): New vars.
2258 (font-lock-turn-on-thing-lock): Set them.
2259 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2260 (font-lock-after-change-function): Make `old-len' optional.
2261 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2262 Call font-lock-flush, just in case.
2263 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2265 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2266 (vera-mode-map, vera-mode-menu): Remove bindings to it.
2267 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2268 and with-syntax-table.
2269 * textmodes/conf-mode.el (conf-quote-normal):
2270 * progmodes/sh-script.el (sh-set-shell):
2271 * progmodes/prog-mode.el (prettify-symbols-mode):
2272 * progmodes/f90.el (f90-font-lock-n):
2273 * progmodes/cwarn.el (cwarn-mode):
2274 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2275 * progmodes/compile.el (compilation-setup, compilation--unsetup):
2276 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2277 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2278 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2279 font-lock-fontify-buffer-function and
2280 font-lock-unfontify-buffer-function.
2281 (rmail-unfontify-buffer-function, rmail-fontify-message):
2282 Use with-silent-modifications.
2283 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2284 and font-lock-ensure.
2285 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2287 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
2289 * emacs-lisp/package.el (package-generate-autoloads):
2290 Inhibit backup files.
2292 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2297 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
2299 * textmodes/tildify.el (tildify-buffer, tildify-region):
2300 Add dont-ask option.
2302 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2304 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
2305 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2307 * subr.el (internal--funcall-interactively): New.
2308 (internal--call-interactively): Remove.
2309 (called-interactively-p): Detect funcall-interactively instead of
2311 * simple.el (repeat-complex-command): Use funcall-interactively.
2312 (repeat-complex-command--called-interactively-skip): Remove.
2314 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * register.el (register-read-with-preview): Don't burp on
2317 frame switches (e.g. due to the frame we just popped).
2319 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2320 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2322 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
2324 * cus-face.el (custom-face-attributes): Add :distant-foreground.
2326 2014-05-26 Martin Rudalics <rudalics@gmx.at>
2328 * window.el (window--dump-frame): Remove interactive specification.
2330 2014-05-26 Glenn Morris <rgm@gnu.org>
2332 * hippie-exp.el (he-line-search-regexp):
2333 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
2335 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2337 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2338 to avoid errors when trying to create or visit a file foo.todo
2339 located outside to todo-directory, and to allow having such files
2340 without them being tied to Todo mode (bug#17482).
2341 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2342 (todo-archive-done-item, todo-find-filtered-items-file)
2343 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2344 (todo-category-completions, todo-read-category): When visiting a
2345 Todo file, make sure we're in the right mode and the buffer local
2347 (todo-make-categories-list, todo-reset-nondiary-marker)
2348 (todo-reset-done-string, todo-reset-comment-string):
2349 After processing all Todo files, kill the buffers of those files that
2350 weren't being visited before the processing.
2351 (todo-display-as-todo-file, todo-add-to-buffer-list)
2352 (todo-visit-files-commands): Comment out.
2353 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2354 (auto-mode-alist): Remove add-to-list calls making Todo file
2355 extensions unrestrictedly tied to Todo modes.
2357 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2360 (advice-function-member-p): Tell it to check both names and functions
2362 (advice--add-function): Adjust call accordingly.
2364 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2366 * calendar/todo-mode.el: Miscellaneous bug fixes.
2367 (todo-delete-file): When deleting an archive but not its todo
2368 file, make sure to update the todo file's category sexp.
2369 (todo-move-category): Keep the moved category's name unless the
2370 file moved to already has a category with that name. If the
2371 numerically last category of the source file was moved, make the
2372 first category current to avoid selecting a nonexisting category.
2373 (todo-merge-category): Fix implementation to make merging to a
2374 category in another file work as documented. Eliminate now
2375 insufficient and unnecessary renaming of archive category, correct
2376 document string accordingly, and clarify it. If the numerically
2377 last category of the source file was merged, make the first
2378 category current to avoid selecting a nonexisting category.
2379 (todo-archive-done-item): When there are marked items and point
2380 happens to be on an unmarked item, ignore the latter. Don't leave
2381 point below last item after archiving marked items.
2382 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2383 from an archive with only one category deletes the archive only
2384 when the category is empty after unarchiving. Make sure the todo
2385 file's category sexp is updated.
2386 (todo-read-file-name): Allow an existing file name even when it is
2387 not required (todo-move-category needs this to work as documented).
2388 (todo-add-file): Call todo-validate-name to reject the name of an
2389 existing todo file (needed due to fix in todo-read-file-name).
2390 (todo-reset-nondiary-marker): Also reset in filtered items files.
2391 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2392 regexp filtered items files.
2393 (todo-reset-highlight-item): Also reset in filtered items files.
2394 Fix incorrect variable reference in document string.
2396 2014-05-26 Glenn Morris <rgm@gnu.org>
2398 * window.el (window--dump-frame): Avoid error in --without-x builds.
2400 2014-05-26 Glenn Morris <rgm@gnu.org>
2402 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2404 2014-05-26 Eli Zaretskii <eliz@gnu.org>
2406 * frame.el (set-frame-font): Doc fix.
2408 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2410 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
2412 * emacs-lisp/package.el (package--download-one-archive):
2413 Use `write-region' instead of `save-buffer' to avoid running various
2415 (describe-package-1): Same. Insert newline at the end of the
2416 buffer if appropriate.
2418 2014-05-26 Juri Linkov <juri@jurta.org>
2420 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2421 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2422 Add more modifiers: meta, control, shift, hyper, super, alt.
2425 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2426 to allow changing its value with `set-variable'.
2428 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2432 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2434 (scheme-mode-variables): Set syntax-propertize-function instead of
2435 font-lock-syntactic-face-function.
2436 (scheme-font-lock-syntactic-face-function): Delete.
2438 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2440 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2443 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
2445 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2446 for a temporary file name.
2448 2014-05-26 Eli Zaretskii <eliz@gnu.org>
2450 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2452 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
2454 * net/dbus.el (dbus-init-bus, dbus-call-method)
2455 (dbus-call-method-asynchronously, dbus-send-signal)
2456 (dbus-method-return-internal, dbus-method-error-internal):
2457 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2459 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2461 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2462 methods which do not have a doc string. (Bug#17490)
2464 2014-05-25 Tassilo Horn <tsdh@gnu.org>
2466 * textmodes/reftex-ref.el (reftex-format-special): Make it work
2467 also for AMS Math's \eqref macro.
2469 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2471 Arrange to never byte-compile the generated -pkg.el file.
2473 * emacs-lisp/package.el (package-generate-description-file):
2474 Output first-line comment to set buffer-local var `no-byte-compile'.
2475 Suggested by Dmitry Gutov:
2476 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2478 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2480 Fix bug: Properly quote args to generated -pkg.el `define-package'.
2482 * emacs-lisp/package.el (package-generate-description-file):
2483 Inline `package--alist-to-plist'; rewrite to selectively
2484 quote alist values that are not self-quoting.
2485 (package--alist-to-plist): Delete func.
2487 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
2489 * term/xterm.el (xterm-function-map): Add mapping for shifted
2492 2014-05-24 Daniel Colascione <dancol@dancol.org>
2494 * progmodes/subword.el (subword-find-word-boundary): Move point to
2495 correct spot before search. (Bug#17580)
2497 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2500 2014-05-24 Leo Liu <sdl.web@gmail.com>
2502 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
2504 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * minibuffer.el (completion--sreverse): Remove.
2507 (completion--common-suffix): Use `reverse' instead.
2508 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2510 2014-05-22 Glenn Morris <rgm@gnu.org>
2512 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2514 2014-05-21 Daniel Colascione <dancol@dancol.org>
2516 * files.el (interpreter-mode-alist): Add mksh.
2518 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2520 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2521 mksh. Improve custom spec; allow regular expressions.
2522 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2523 (sh-after-hack-local-variables): New function.
2524 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2525 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2527 (sh-canonicalize-shell): Rewrite to support regexes.
2529 2014-05-21 Leo Liu <sdl.web@gmail.com>
2531 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2533 2014-05-19 Leo Liu <sdl.web@gmail.com>
2535 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2537 2014-05-18 Glenn Morris <rgm@gnu.org>
2540 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2542 2014-05-14 Sam Steingold <sds@gnu.org>
2544 * progmodes/python.el (python-shell-get-or-create-process):
2545 Do not bind `current-prefix-arg' so that C-c C-z does not talk
2546 back unless requested.
2548 2014-05-14 Glenn Morris <rgm@gnu.org>
2550 * subr.el (with-file-modes): New macro.
2551 * printing.el (pr-save-file-modes): Make obsolete.
2552 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2553 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2554 Add with-file-modes.
2555 * doc-view.el (doc-view-make-safe-dir):
2556 * epg.el (epg--start):
2557 * files.el (locate-user-emacs-file, make-temp-file)
2558 (backup-buffer-copy, move-file-to-trash):
2559 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2560 * eshell/esh-util.el (eshell-with-private-file-modes)
2561 (eshell-make-private-directory):
2562 * net/browse-url.el (browse-url-mosaic):
2563 * obsolete/mailpost.el (post-mail-send-it):
2564 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2565 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2566 Use with-file-modes.
2568 * vc/emerge.el (emerge-make-temp-file): Simplify.
2570 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2571 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2576 2014-05-14 Glenn Morris <rgm@gnu.org>
2578 * vc/emerge.el (emerge-temp-file-prefix):
2579 Make pointless option obsolete.
2580 (emerge-temp-file-mode): Make non-functional option obsolete.
2582 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
2584 * net/browse-url.el (browse-url):
2585 Use `unhandled-file-name-directory' when setting `default-directory',
2586 in order to circumvent stalled remote connections. (Bug#17425)
2588 2014-05-14 Glenn Morris <rgm@gnu.org>
2590 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2591 Optimize on Emacs, which has the relevant functions for ages.
2593 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * simple.el (undo-make-selective-list): Obey undo-no-redo.
2597 2014-05-12 Sam Steingold <sds@gnu.org>
2599 * calendar/time-date.el (seconds-to-string): New function to
2600 pretty print time delay in seconds.
2602 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * mpc.el (mpc-format): Trim Date to the year.
2605 (mpc-songs-hashcons): Shorten the Date field.
2607 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2608 into autoloading just because of a silly indirection.
2610 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2612 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2614 2014-05-12 Glenn Morris <rgm@gnu.org>
2616 * emacs-lisp/find-gc.el: Move to ../admin.
2618 * printing.el (pr-version):
2619 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2621 * net/browse-url.el (browse-url-mosaic):
2622 Create /tmp/Mosaic.PID as a private file.
2624 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2627 (advice--member-p): If name is given, only compare the name.
2628 (advice--remove-function): Don't stop at the first match.
2629 (advice--normalize-place): New function.
2630 (add-function, remove-function): Use it.
2631 (advice--add-function): Pass the name, if any, to
2632 advice--remove-function.
2634 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2636 * electric.el (electric-indent-post-self-insert-function): Don't use
2637 `pos' after modifying the buffer (bug#17449).
2639 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
2641 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2642 Correct argument list to conform to todo-insert-item--basic.
2644 2014-05-12 Glenn Morris <rgm@gnu.org>
2646 * files.el (cd-absolute): Test if directory is accessible
2647 rather than executable. (Bug#17330)
2649 * progmodes/compile.el (recompile):
2650 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2652 * net/browse-url.el (browse-url-mosaic):
2653 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2654 This is CVE-2014-3423.
2656 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * mouse.el: Use the normal toplevel loop while dragging.
2659 (mouse-set-point): Handle multi-clicks.
2660 (mouse-set-region): Handle multi-clicks for drags.
2661 (mouse-drag-region): Update call accordingly.
2662 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2663 Use the normal event loop instead of a local while/read-event loop.
2664 (global-map): Remove redundant bindings for double/triple-mouse-1.
2665 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2666 Generate synthetic down events when the protocol only sends up events.
2667 (xterm-mouse-last): Remove.
2668 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2669 terminal parameter instead.
2670 (xterm-mouse--set-click-count): New function.
2671 (xterm-mouse-event): Detect/generate double/triple clicks.
2672 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2674 * info.el (Info-quoted): New face.
2675 (Info-mode-font-lock-keywords): New var.
2676 (Info-mode): Use it.
2678 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2679 are a hindrance for C-x C-e.
2681 2014-05-11 Leo Liu <sdl.web@gmail.com>
2683 * net/rcirc.el (rcirc-sentinel): Fix last change.
2685 2014-05-08 Sam Steingold <sds@gnu.org>
2687 * net/rcirc.el (rcirc-reconnect-delay): New user option.
2688 (rcirc-sentinel): Auto-reconnect to the server if
2689 `rcirc-reconnect-delay' is non-0 (but not more often than its
2690 value in case the host is off-line).
2692 2014-05-09 Eli Zaretskii <eliz@gnu.org>
2694 * progmodes/grep.el (lgrep): Fix a typo in last commit.
2696 2014-05-09 Glenn Morris <rgm@gnu.org>
2698 * files.el (file-expand-wildcards):
2699 * man.el (Man-support-local-filenames):
2700 * printing.el (pr-i-directory, pr-interface-directory):
2701 * progmodes/grep.el (lgrep, rgrep):
2702 * textmodes/ispell.el (ispell-call-process)
2703 (ispell-call-process-region, ispell-start-process)
2704 (ispell-init-process): Use file-accessible-directory-p.
2706 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2708 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2709 (xterm-mouse--read-event-sequence-1000): Return nil if something
2711 (xterm-mouse-event): Propagate it.
2712 (xterm-mouse-translate-1): Handle it.
2714 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
2716 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2717 four slots of the parameter list are filled, make sure to pass it
2718 to the argument list of todo-insert-item--basic.
2720 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2723 Add optional `seen' argument to detect and break infinite loops.
2725 2014-05-08 Eli Zaretskii <eliz@gnu.org>
2727 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2728 (trace-unsafe, trace-use-tree): Make parentheses style be
2729 according to Emacs style.
2731 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
2733 * net/tramp-sh.el (tramp-remote-process-environment):
2734 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2736 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2737 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2738 extra "PSx=..." commands.
2739 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2742 (tramp-uudecode): Replace the hard-coded temporary file name by a
2744 (tramp-remote-coding-commands): Enhance docstring.
2745 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2747 This is CVE-2014-3424.
2749 2014-05-08 Glenn Morris <rgm@gnu.org>
2751 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2752 (find-gc-source-files): Update some names.
2753 (trace-call-tree): Simplify and update.
2754 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2755 This is CVE-2014-3422.
2757 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * minibuffer.el (completion--try-word-completion): Revert fix for
2760 Bug#15980 (bug#17375).
2762 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2763 Always store button numbers in the same way in xterm-mouse-last;
2764 Don't burp is xterm-mouse-last is not set as expected.
2765 Never return negative indices.
2767 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
2769 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2770 Backtrack one char if the global/char-literal var matcher hits
2771 inside a string. The next char could be the beginning of an
2772 expression expansion.
2774 2014-05-08 Glenn Morris <rgm@gnu.org>
2776 * help-fns.el (describe-function-1): Test for an autoload before a
2777 macro, since `macrop' works on autoloads. (Bug#17410)
2779 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2783 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2784 Make sure the new point we return is within the new string (bug#17239).
2786 2014-05-05 Daniel Colascione <dancol@dancol.org>
2788 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2789 Port `gnu' pattern to rx.
2791 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
2793 Remove unneeded prompt when closing a buffer with active
2794 emacsclient ("Buffer ... still has clients"), #16548.
2795 * server.el (server-start): Remove the only call to:
2796 (server-kill-buffer-query-function): Remove.
2798 2014-05-04 Leo Liu <sdl.web@gmail.com>
2800 * calendar/diary-lib.el (calendar-chinese-month-name-array):
2801 Defvar to pacify compiler.
2803 2014-05-04 Eli Zaretskii <eliz@gnu.org>
2805 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2807 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2810 Use nil rather than `default' for the "default" appearance (bug#17388).
2811 * vc/ediff-util.el (ediff-inferior-compare-regions)
2812 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2813 a misleading `default' value when it's really a boolean.
2814 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2815 overlay is not visible.
2817 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
2819 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2820 (todo-menu): Uncomment and update.
2822 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
2824 * calendar/todo-mode.el: Reimplement item editing to have the same
2825 basic user interface as item insertion, and make small UI and
2826 larger internal improvements to the latter.
2827 (todo-insert-item): Add reference to the Todo mode user manual to
2828 the documentation string.
2829 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2830 adjust all callers. Change signature to combine diary and
2831 nonmarking arguments. Incorporate functionality of deleted item
2832 copying command and add error checking. Remove detailed
2833 descriptions of the arguments from the documentation string, since
2834 this is treated in the Todo mode user manual.
2835 (todo-copy-item, todo-edit-multiline-item)
2836 (todo-edit-done-item-comment, todo-edit-item-header)
2837 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2838 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2839 (todo-edit-item-date-year, todo-edit-item-date-month)
2840 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2842 (todo-edit-item): Reimplement as wrapper command for
2843 todo-edit-item--next-key and make it distinguish done and not done
2845 (todo-edit-item--text): New function, replacing old command
2846 todo-edit-item and incorporating deleted commands
2847 todo-edit-multiline-item and todo-edit-done-item-comment.
2848 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2849 Use only numeric value of prefix argument. Remove detailed
2850 descriptions of the arguments from the documentation string, since
2851 this is treated in the Todo mode user manual.
2852 (todo-edit-item--diary-inclusion): New function, replacing old
2853 command todo-edit-item-diary-inclusion and incorporating and fixing
2854 functionality of deleted command todo-edit-item-diary-nonmarking,
2855 making sure to remove todo-nondiary-marker when adding
2856 diary-nonmarking-symbol.
2857 (todo-edit-category-diary-inclusion): Make sure to delete
2858 diary-nonmarking-symbol when adding todo-nondiary-marker.
2859 (todo-edit-category-diary-nonmarking): Fix indentation.
2860 (todo-insert-item--parameters): Group diary and nonmarking
2861 parameters together.
2862 (todo-insert-item--apply-args): Adjust to signature of
2863 todo-insert-item--basic and incorporate copy parameter.
2864 Make small code improvements.
2865 (todo-insert-item--next-param): Improve prompt and adjust it to
2866 new parameter grouping. Remove obsolete code.
2867 (todo-edit-item--param-key-alist)
2868 (todo-edit-item--date-param-key-alist)
2869 (todo-edit-done-item--param-key-alist): New defconsts.
2870 (todo-edit-item--prompt): New variable.
2871 (todo-edit-item--next-key): New function.
2872 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2873 Remove bindings of deleted commands.
2875 2014-05-04 Leo Liu <sdl.web@gmail.com>
2877 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2879 2014-05-04 Glenn Morris <rgm@gnu.org>
2881 * allout-widgets.el (allout-widgets-tally)
2882 (allout-decorate-item-guides):
2883 * menu-bar.el (menu-bar-positive-p):
2884 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2885 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2886 * progmodes/js.el (js--inside-param-list-p)
2887 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2888 * progmodes/prolog.el (region-exists-p):
2889 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2890 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2891 Doc fixes (replace `iff').
2893 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2895 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2897 2014-05-04 Leo Liu <sdl.web@gmail.com>
2899 Support Chinese diary entries in calendar and diary. (Bug#17393)
2900 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2901 (calendar-chinese-from-absolute-for-diary)
2902 (calendar-chinese-to-absolute-for-diary)
2903 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2904 (diary-chinese-list-entries): New functions to list and mark
2905 Chinese diary entries in the calendar window.
2906 (diary-chinese-anniversary)
2907 (diary-chinese-insert-anniversary-entry)
2908 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2909 (diary-chinese-insert-yearly-entry): New commands to insert
2910 Chinese diary entries.
2912 * calendar/diary-lib.el (diary-font-lock-keywords):
2913 Support font-locking Chinese dates.
2915 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2916 inserting Chinese diary entries.
2918 * calendar/calendar.el (diary-chinese-entry-symbol):
2919 New customizable variable.
2920 (calendar-mode-map): Add bindings for inserting Chinese diary
2923 2014-05-03 Juri Linkov <juri@jurta.org>
2925 * dired.el (dired-check-switches, dired-switches-recursive-p):
2926 New functions. (Bug#17218)
2927 (dired-switches-escape-p, dired-move-to-end-of-filename):
2928 Use `dired-check-switches'.
2929 (dired-insert-old-subdirs, dired-build-subdir-alist)
2930 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2932 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
2934 * simple.el (undo-make-selective-list): New algorithm fixes
2935 incorrectness of position adjustments when undoing in region.
2937 (undo-elt-crosses-region): Make obsolete.
2938 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
2939 New functions to adjust positions using undo-deltas.
2941 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
2944 the last consecutive closing paren (bug#17345).
2946 2014-04-30 Reuben Thomas <rrt@sc3d.org>
2948 * dired.el (dired-mode): make terminology for eXpunge command
2949 consistent. (Bug#17276)
2951 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2953 * dired.el (dired-initial-position-hook, dired-initial-position):
2956 2014-04-30 Glenn Morris <rgm@gnu.org>
2958 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2960 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
2962 * faces.el (face-spec-recalc): Apply X resources only after the
2963 defface spec has been applied. Thus, X resources are no longer
2964 overriden by the defface spec which also fixes issues on win32 where
2965 the toolbar coloring was wrong because it is set through X resources
2966 and was (wrongfully) overriden. (Bug#16694)
2968 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * textmodes/rst.el (electric-pair-pairs): Declare.
2971 (rst-mode): Set it (bug#17131).
2973 2014-04-30 Juri Linkov <juri@jurta.org>
2975 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2976 and `print-level' to nil. (Bug#17351)
2978 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2980 * battery.el (battery-update): Handle the case where battery
2981 status is "N/A" (bug#17319).
2983 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
2986 to syntax-propertize.
2987 (ps-mode-auto-indent): Mark as obsolete.
2988 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
2989 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
2990 word regexp operators.
2991 (ps-mode-map): Move initialization into declaration. Remove binding
2992 for TAB, RET, >, ], and }.
2993 (ps-mode-syntax-table): Move initialization into declaration.
2994 Don't give word syntax to non-word chars.
2995 (ps-run-mode-map): Move initialization into declaration.
2996 (ps-mode-menu-main): Remove auto-indent entry.
2997 (ps-mode-smie-rules): New function.
2998 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
2999 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3000 (ps-mode--string-syntax-table): New const.
3001 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3003 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3004 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3006 2014-04-27 Daniel Colascione <dancol@dancol.org>
3008 * term/xterm.el (xterm-paste): Use large finite timeout when
3009 reading event to avoid putting keys in this-command-keys.
3011 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3014 (perl-syntax-propertize-function): Use it. Extend handling of
3015 here-docs to the unquoted case.
3017 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3019 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3020 Use equal-including-properties to compare help-echo strings (bug#17331).
3022 2014-04-25 Leo Liu <sdl.web@gmail.com>
3024 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3025 Fix syntax for @. (Bug#17325)
3027 2014-04-25 Daniel Colascione <dancol@dancol.org>
3029 * emacs-lisp/cl.el (gv): Require gv early to break eager
3030 macro-expansion cycles.
3032 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * simple.el (region-active-p): Check there's a mark (bug#17324).
3036 * simple.el (completion-list-mode-map): Use choose-completion for the
3037 mouse binding as well (bug#17302).
3038 (completion-list-mode, completion-setup-function): Adjust docstring and
3039 echo area message accordingly.
3040 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3041 calling convention of choose-completion.
3042 * comint.el (comint-dynamic-list-completions):
3043 * term.el (term-dynamic-list-completions): Accept choose-completion.
3045 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3046 &, |, +, - and * can't be a division (bug#17317).
3048 * term/xterm.el (xterm--version-handler): Don't use modern xterm
3049 features on gnome-terminal (bug#16988).
3051 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
3053 Improve Scheme font-locking for (define ((foo ...) ...) ...).
3055 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3056 the declared object, ignore zero or more parens, not zero or one.
3058 2014-04-24 Leo Liu <sdl.web@gmail.com>
3060 * progmodes/xscheme.el (xscheme-expressions-ring)
3061 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3062 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3063 (xscheme-allow-output-p, xscheme-prompt)
3064 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3066 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3067 Comment out unused functions.
3069 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3071 * info.el: Use lexical-binding and cl-lib.
3072 Use defvar-local and setq-local instead of make-local-variable.
3073 (Info-apropos-matches): Avoid add-to-list.
3074 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3076 2014-04-24 Daniel Colascione <dancol@dancol.org>
3078 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3080 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3084 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
3086 * dired.el (dired-insert-set-properties): Do not consider
3087 subdirectory headings and empty lines to be information that
3088 `dired-hide-details-mode' should hide. (Bug#17228)
3090 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3092 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3093 Remove test messages.
3094 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3097 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3100 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3102 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3104 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3106 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3107 Set "IFS=" when using read builtin, in order to preserve spaces in
3108 the file name. Add test messages for hunting a bug on hydra.
3109 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
3111 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3114 Don't prettify a word within a symbol.
3116 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3118 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3121 2014-04-22 Daniel Colascione <dancol@dancol.org>
3123 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3124 use defun to define `function-put'.
3126 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3128 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3129 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3130 (lisp-mode-variables): Set font-lock-extra-managed-props.
3132 * emacs-lisp/byte-run.el (function-put): New function.
3133 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
3134 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3135 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3138 2014-04-22 Daniel Colascione <dancol@dancol.org>
3140 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3141 Add `full-p' parameter; when nil, call `macroexpand' instead of
3144 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3147 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3148 Use lambda function values, not quoted lambdas.
3149 (byte-compile-recurse-toplevel): Remove extraneous &optional.
3151 * emacs-lisp/cl-macs.el
3152 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3153 (cl-struct-slot-value): Conditionally use aref or nth so that the
3154 compiler produces optimal code.
3156 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3159 (inline): Don't inline cl--set-elt.
3160 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3161 Define as inlinable instead.
3162 (cl-struct-set-slot-value): Remove.
3164 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3165 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3168 2014-04-21 Daniel Colascione <dancol@dancol.org>
3170 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3171 last two parameters after all.
3172 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3173 (cl--compiler-macro-assoc,cl-struct-slot-value)
3174 (cl-struct-set-slot-value): Stop using them.
3176 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
3178 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3179 entry in image-mode-winprops-alist.
3181 2014-04-21 Daniel Colascione <dancol@dancol.org>
3183 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3184 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3185 (byte-compile-toplevel-file-form): Use it.
3187 * emacs-lisp/cl-macs.el:
3188 (cl--loop-let): Properly destructure `while' clauses.
3190 2014-04-20 Daniel Colascione <dancol@dancol.org>
3192 * vc/vc.el (vc-root-dir): New public autoloaded function for
3193 generically finding the current VC root.
3194 * vc/vc-hooks.el (vc-not-supported): New error.
3195 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3197 2014-04-20 Daniel Colascione <dancol@dancol.org>
3199 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3201 (cl--const-expr-val): cl--const-expr-val should macroexpand its
3202 argument in case we're inside a symbol-macrolet.
3203 (cl--do-arglist, cl--compiler-macro-typep)
3204 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3205 environment to `cl--const-expr-val'.
3206 (cl-struct-sequence-type,cl-struct-slot-info)
3207 (cl-struct-slot-offset, cl-struct-slot-value)
3208 (cl-struct-set-slot-value): New functions.
3210 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3212 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3213 assignments such as "case=hello" (bug#17297).
3215 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
3217 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3219 (tramp-file-name-handler, tramp-completion-file-name-handler):
3220 Revert patch from 2014-04-10, it isn't necessary anymore.
3221 (tramp-autoload-file-name-handler)
3222 (tramp-register-autoload-file-name-handlers): New defuns.
3223 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3224 (tramp-register-file-name-handlers): Remove also
3225 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3226 Do not autoload its invocation, but eval it after loading of 'tramp.
3228 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3230 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3232 2014-04-17 Daniel Colascione <dancol@dancol.org>
3234 Add support for bracketed paste mode; add infrastructure for
3235 managing terminal mode enabling and disabling automatically.
3238 (xterm-mouse-mode): Simplify.
3239 (xterm-mouse-tracking-enable-sequence)
3240 (xterm-mouse-tracking-disable-sequence): New constants.
3241 (turn-on-xterm-mouse-tracking-on-terminal)
3242 (turn-off-xterm-mouse-tracking-on-terminal):
3243 Use tty-mode-set-strings and tty-mode-reset-strings terminal
3244 parameters instead of random hooks.
3245 (turn-on-xterm-mouse-tracking)
3246 (turn-off-xterm-mouse-tracking): Delete.
3248 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3249 (xterm-paste-ending-sequence): New constant.
3250 (xterm-paste): New command used for bracketed paste support.
3252 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3253 (terminal-init-xterm-bracketed-paste-mode): New function.
3254 (terminal-init-xterm): Call it.
3255 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3256 and tty-mode-reset-strings instead of random hooks.
3257 (xterm-turn-on-modify-other-keys)
3258 (xterm-turn-off-modify-other-keys)
3259 (xterm-remove-modify-other-keys): Delete obsolete functions.
3261 * term/screen.el: Rewrite to just use the xterm code.
3262 Add copyright notice. Mention tmux.
3264 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
3266 * image-mode.el (image-mode-window-put): Also update the property of
3267 the "default window".
3268 * doc-view.el (doc-view-new-window-function): If no window
3269 exists, move to the last known page.
3271 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3274 here-documents (bug#17262).
3276 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3278 * term/pc-win.el (x-list-fonts, x-get-selection-value):
3279 Provide doc strings, as required by snarf-documentation.
3281 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3283 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3284 arg of overlays-at. Use `invisible-p'.
3286 * obsolete/lucid.el (extent-at):
3287 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3289 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3291 2014-04-16 João Távora <joaotavora@gmail.com>
3293 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3296 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3298 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3299 Use mapc to loop over a vector. (Bug#17257).
3301 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
3303 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3304 patch, there are new problems with file names containing spaces.
3305 Get rid of backticks. (Bug#17238)
3307 2014-04-16 João Távora <joaotavora@gmail.com>
3309 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3312 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3314 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3315 (blink-cursor-mode): Mention customization variables and the
3316 effect of 'blink-cursor-blinks'.
3318 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
3320 * simple.el (undo): Prevent insertion of identity mapping into
3321 undo-equiv-table so as undo-only does not inf loop in the presence
3322 of consecutive nils in undo list.
3324 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
3326 * faces.el (make-face): Deprecate optional argument as it is no
3327 longer needed/used since the conditional X resources handling
3328 has been pushed down to make-face-x-resource-internal itself.
3329 (make-empty-face): Don't pass optional argument to make-face.
3331 2014-04-16 Karl Fogel <kfogel@red-bean.com>
3333 * savehist.el (savehist-save): Remove workaround for a read-passwd
3334 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
3335 noticing that the shim was still present.
3337 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3341 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
3343 * faces.el (face-set-after-frame-default): Remove unused local variable.
3345 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * progmodes/grep.el: Use lexical-binding.
3348 (grep-expand-template): Pass explicit lexical env to `eval'.
3349 (zrgrep): Let-bind grep-find-template explicitly.
3351 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3352 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3354 2014-04-12 Eli Zaretskii <eliz@gnu.org>
3356 * international/characters.el <standard-case-table>: Add entries
3357 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
3358 Set category of Coptic characters be 'g' (Greek).
3360 2014-04-12 Leo Liu <sdl.web@gmail.com>
3362 * progmodes/octave.el (completion-table-with-cache):
3363 Define if not available.
3364 (octave-goto-function-definition, octave-sync-function-file-names)
3365 (octave-find-definition-default-filename):
3366 Backquote upattern for compatibility.
3368 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
3370 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3371 name twice due to backticks. (Bug#17238)
3373 2014-04-12 Glenn Morris <rgm@gnu.org>
3375 * term/w32-win.el (x-win-suspend-error):
3376 * term/x-win.el (x-win-suspend-error): Sync docs.
3378 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
3380 * faces.el (make-face): Remove deprecated optional argument.
3381 The conditional application of X resources is handled directly by
3382 make-face-x-resource-internal since Emacs 24.4.
3383 (make-empty-face): Don't pass optional argument to make-face.
3385 2014-04-11 Glenn Morris <rgm@gnu.org>
3387 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
3389 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3391 Ediff's overlay priorities cause more trouble than they solve.
3392 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3393 (ediff-highest-priority): Remove function (bug#17234).
3394 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3395 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3396 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3399 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
3401 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3402 entry; use symbol boundaries to avoid mis-matches.
3404 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
3406 * net/tramp.el (tramp-file-name-handler)
3407 (tramp-completion-file-name-handler): Avoid recursive loading.
3409 * net/tramp-sh.el (tramp-make-copy-program-file-name):
3410 Quote result also locally.
3412 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3414 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3415 Remove left-over code.
3417 * newcomment.el (comment-indent-new-line): Sink code where it's used.
3418 Reuse the previous comment's indentation unconditionally if it's on its
3421 2014-04-09 Daniel Colascione <dancol@dancol.org>
3423 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3424 `no-syntax-crossing' arguments. Forward to `up-list'.
3425 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3426 Implement logic for escaping from strings. Use narrowing to deal
3429 2014-04-09 Leo Liu <sdl.web@gmail.com>
3431 * net/rcirc.el (rcirc-connection-info): New variable.
3432 (rcirc-connect): Use it to store connection info.
3433 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3435 (rcirc-cmd-reconnect): New command. (Bug#17045)
3436 (rcirc-mode, set-rcirc-encode-coding-system)
3437 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3439 2014-04-09 Daniel Colascione <dancol@dancol.org>
3441 * emacs-lisp/cl-indent.el: Add comment claiming
3442 facility is also good for elisp.
3443 (lisp-indent-find-method): New function.
3444 (common-lisp-indent-function): Recognize cl-loop.
3445 (common-lisp-indent-function-1): Recognize cl constructs; use
3446 `lisp-indent-find-method' instead of `get' directly.
3447 (if): Use else-body style for elisp.
3449 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
3451 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3452 Module methods. (Bug#17216)
3454 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3456 * help.el (describe-bindings): Fix buffer handling (bug#17210).
3457 (describe-bindings-internal): Mark obsolete.
3459 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3461 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3462 buffer-file-name, and buffer-file-truename any more.
3464 2014-04-08 Leo Liu <sdl.web@gmail.com>
3466 Use lexical-binding and require cl-lib.
3467 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3468 (rcirc-handler-generic, rcirc-fill-paragraph)
3469 (rcirc-format-response-string, rcirc-target-buffer)
3470 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3471 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3472 (rcirc-ctcp-sender-PING, rcirc-browse-url)
3473 (rcirc-markup-timestamp, rcirc-markup-attributes)
3474 (rcirc-markup-my-nick, rcirc-markup-urls)
3475 (rcirc-markup-bright-nicks, rcirc-markup-fill)
3476 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3477 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3478 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3479 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3480 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3481 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3482 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3483 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3484 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3485 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3488 2014-04-07 João Távora <joaotavora@gmail.com>
3490 * elec-pair.el (electric-pair--syntax-ppss):
3491 When inside comments parse from comment beginning.
3492 (electric-pair--balance-info): Fix typo in comment.
3493 (electric-pair--in-unterminated-string-p): Delete.
3494 (electric-pair--unbalanced-strings-p): New function.
3495 (electric-pair-string-bound-function): New var.
3496 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3497 according to `electric-pair--in-unterminated-string-p'
3499 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3500 Inhibit quote pairing if point-max is inside an unterminated string.
3501 (electric-pair--looking-at-unterminated-string-p): Delete.
3502 (electric-pair--in-unterminated-string-p): New function.
3504 2014-04-07 Glenn Morris <rgm@gnu.org>
3506 * shell.el (shell-directory-tracker):
3507 Go back to just ignoring failures. (Bug#17159)
3509 2014-04-07 João Távora <joaotavora@gmail.com>
3511 Fix `electric-pair-delete-adjacent-pairs' in modes binding
3512 backspace. (bug#16981)
3513 * elec-pair.el (electric-pair-backward-delete-char): Delete.
3514 (electric-pair-backward-delete-char-untabify): Delete.
3515 (electric-pair-mode-map): Bind backspace to a menu item filtering
3516 a new `electric-pair-delete-pair' command.
3517 (electric-pair-delete-pair): New command.
3519 * progmodes/python.el (python-electric-pair-string-delimiter):
3520 Fix triple-quoting electricity. (Bug#17192)
3522 * elec-pair.el (electric-pair-post-self-insert-function):
3523 Don't skip whitespace when `electric-pair-text-pairs' and
3524 `electric-pair-pairs' were used. syntax to
3525 electric-pair--skip-whitespace. (Bug#17183)
3527 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3529 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3532 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3535 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3537 2014-04-07 Glenn Morris <rgm@gnu.org>
3539 * help.el (view-lossage): Doc tweak.
3541 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
3543 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3544 only when inhibit-x-resources is nil, and do that earlier in the
3545 function. Doc fix. (Bug#16694)
3546 (face-spec-choose): Accept additional optional argument, whose
3547 value is returned if no matching attributes are found.
3548 (face-spec-recalc): Use the new optional argument when calling
3549 face-spec-choose. (Bug#16378)
3550 (make-face-x-resource-internal): Do nothing when
3551 inhibit-x-resources is non-nil. Don't touch the default face if
3552 reversed video is given--as was done in previous versions of Emacs.
3553 (face-set-after-frame-default): Don't call
3554 make-face-x-resource-internal here. (Bug#16434)
3556 2014-04-07 Tassilo Horn <tsdh@gnu.org>
3558 * doc-view.el (doc-view-bookmark-jump):
3559 Use `bookmark-after-jump-hook' to jump to the right page after the
3560 buffer is shown in a window. (bug#16090)
3562 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3564 * international/characters.el (mirroring): Fix last change:
3565 instead of loading uni-mirrored.el explicitly, do that implicitly
3566 by creating the 'mirroring' uniprop table. This avoids announcing
3567 the loading of uni-mirrored.el.
3569 2014-04-07 Glenn Morris <rgm@gnu.org>
3571 * files.el (buffer-stale--default-function)
3572 (buffer-stale-function, revert-buffer--default):
3573 * autorevert.el (auto-revert-buffers): Doc tweaks.
3575 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3577 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
3579 2014-04-07 Glenn Morris <rgm@gnu.org>
3581 * files.el (make-backup-file-name-function)
3582 (make-backup-file-name, make-backup-file-name--default-function)
3583 (make-backup-file-name-1, find-backup-file-name)
3584 (revert-buffer-function, revert-buffer-insert-file-contents-function)
3585 (buffer-stale--default-function, buffer-stale-function)
3586 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3587 (revert-buffer, revert-buffer--default)
3588 (revert-buffer-insert-file-contents--default-function):
3589 Doc fixes related to defaults no longer being nil.
3590 (make-backup-file-name-function): Bump :version.
3591 Restore nil as a valid but deprecated custom type.
3593 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3596 Handle $' used as a variable (bug#17174).
3598 * progmodes/perl-mode.el (perl-indent-new-calculate):
3599 Handle forward-sexp failure (bug#16985).
3600 (perl-syntax-propertize-function): Add "foreach" and "for" statement
3601 modifiers introducing expressions (bug#17116).
3603 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3607 2014-04-05 Leo Liu <sdl.web@gmail.com>
3609 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3610 Add define-compilation-mode.
3612 2014-04-04 João Távora <joaotavora@gmail.com>
3614 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3615 parse from comment beginning.
3616 (electric-pair--balance-info): Fix typo in comment.
3617 (electric-pair--in-unterminated-string-p): Delete.
3618 (electric-pair--unbalanced-strings-p): New function.
3619 (electric-pair-string-bound-function): New var.
3620 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3621 according to `electric-pair--in-unterminated-string-p'.
3623 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3625 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3626 Move declaration before first use.
3627 (reftex-move-to-next-arg): Silence compiler warning.
3629 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
3631 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3632 Use `window-total-width' instead of `window-width'.
3634 2014-04-03 Daniel Colascione <dancol@dancol.org>
3636 * subr.el (set-transient-map): Remove rms's workaround entirely;
3637 use new `suspicious-object' subr to mark our lambda for closer
3640 2014-04-02 Richard Stallman <rms@gnu.org>
3642 * subr.el (set-transient-map): Comment out previous change.
3644 2014-04-02 Glenn Morris <rgm@gnu.org>
3646 * menu-bar.el (menu-bar-file-menu):
3647 * vc/ediff.el (ediff-current-file):
3648 Update for revert-buffer-function no longer being nil by default.
3650 * simple.el (command-execute): Respect nil disabled-command-function.
3652 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3654 * simple.el (command-execute): Do not execute the command when it
3655 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
3657 2014-04-02 Juri Linkov <juri@jurta.org>
3659 * dired-aux.el (dired-compress-file): Don't use string-match-p
3660 because its match data is used afterwards.
3662 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
3664 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3667 2014-04-02 João Távora <joaotavora@gmail.com>
3669 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3670 Inhibit quote pairing if point-max is inside an unterminated string.
3671 (electric-pair--looking-at-unterminated-string-p):
3673 (electric-pair--in-unterminated-string-p): New function.
3675 2014-04-01 Daniel Colascione <dancol@dancol.org>
3677 * minibuffer.el (minibuffer-complete): Prevent assertion failure
3678 when trying to complete the prompt.
3680 2014-03-31 Leo Liu <sdl.web@gmail.com>
3682 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3683 Refactor out eldoc-documentation-function-default.
3684 (eldoc-documentation-function-default): New function.
3685 (eldoc-documentation-function): Change value.
3687 2014-03-31 Glenn Morris <rgm@gnu.org>
3689 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3691 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3692 (vhdl-compose-components-package, vhdl-compose-configuration):
3693 Abbreviate default-directory (missing from some previous upstream sync).
3695 2014-03-31 Reto Zimmermann <reto@gnu.org>
3697 Sync with upstream vhdl mode v3.35.2.
3698 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3699 (top-level): No longer require assoc.
3700 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3701 New functions. Use throughout to replace aget etc.
3702 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3703 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3704 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3705 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3706 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3707 except `vhdl-compiler'.
3708 (vhdl-error-regexp-add-emacs): Remove all other compilers,
3711 2014-03-31 Glenn Morris <rgm@gnu.org>
3713 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3714 Revert 2014-03-26 merge goof; go back to using defalias.
3716 2014-03-30 Daniel Colascione <dancol@dancol.org>
3718 * comint.el (comint-send-input):
3719 Deactivate completion-in-region-mode before we send comint input.
3722 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3725 2014-03-29 Glenn Morris <rgm@gnu.org>
3727 * textmodes/reftex.el: Manage most autoloads automatically.
3728 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3729 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3730 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3731 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3732 * textmodes/reftex-toc.el: Set generated-autoload-file,
3733 and add autoload cookies for reftex.el.
3734 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3736 2014-03-28 Glenn Morris <rgm@gnu.org>
3738 * cus-start.el (report-emacs-bug-address): Set custom properties.
3739 * mail/emacsbug.el (report-emacs-bug-address):
3740 Variable is now defined in emacs.c.
3742 * mail/emacsbug.el (report-emacs-bug):
3743 Include system-configuration-features.
3745 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
3747 * simple.el (cycle-spacing): Never delete spaces on first run by
3748 default, but do so in a new 'fast mode and if there are already
3749 N spaces (the previous behavior).
3750 Compare N with its value in previous invocation so that changing
3751 prefix argument restarts `cycle-spacing' sequence.
3752 The idea is that with this change, binding M-SPC to
3753 `cycle-spacing' should not introduce any changes in behavior of
3754 the binding so long as users do not type M-SPC twice in a raw with
3755 the same prefix argument or lack thereof.
3757 2014-03-28 Glenn Morris <rgm@gnu.org>
3759 * faces.el (term-file-aliases): New variable.
3760 (tty-run-terminal-initialization): Respect term-file-aliases.
3761 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3762 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3763 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3765 2014-03-27 Glenn Morris <rgm@gnu.org>
3767 * startup.el (inhibit-startup-hooks): Doc tweak.
3768 (normal-top-level): Simplify running of hooks.
3769 For window-setup-hook, respect inhibit-startup-hooks.
3770 (command-line-1): Don't set window-setup-hook to nil.
3772 Allow selective autoloading from obsolete/ directory.
3773 * Makefile.in (obsolete-autoloads): New rule.
3774 (autoloads): Run obsolete-autoloads.
3775 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3776 * simple.el (iswitchb-mode): Remove hand-written autoloads.
3778 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
3780 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3781 Highlight special globals with font-lock-builtin-face. (Bug#17057)
3783 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3784 Don't propertize `?' or `!' as symbol constituent when after
3787 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
3789 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3790 which is no longer needed and causes trouble in GTK builds (bug#17046).
3792 * emacs-lisp/package-x.el (package--archive-contents-from-url):
3793 Use url-insert-file-contents; package-handle-response no longer exists.
3795 2014-03-26 Daniel Colascione <dancol@dancol.org>
3797 * simple.el (process-menu-mode-map): New variable.
3798 (process-menu-delete-process): New command.
3800 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
3802 * emacs-lisp/package.el: Fix bug#16733 (again).
3803 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3804 (url-http-target-url): Remove unused declarations.
3805 (package-handle-response): Remove.
3806 (package--with-work-buffer): Use url-insert-file-contents and simplify.
3807 (package--download-one-archive): Use current-buffer instead of
3808 dynamic binding of `buffer'.
3809 (describe-package-1): Do not decode readme-string.
3811 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
3813 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3815 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3816 from 2014-03-07, it decreases performance unnecessarily. Let-bind
3817 `remote-file-name-inhibit-cache' to nil in the second pass.
3818 (tramp-find-executable): Do not call "which" on SunOS.
3819 (tramp-send-command-and-check): Fix docstring.
3820 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3821 check whether source directory has set the sticky bit.
3823 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
3825 * simple.el (primitive-undo): Only process marker adjustments
3826 validated against their corresponding (TEXT . POS). Issue warning
3827 for lone marker adjustments in undo history. (Bug#16818)
3828 (undo-make-selective-list): Add marker adjustments to selective
3829 undo list based on whether their corresponding (TEXT . POS) is in
3830 the region. Remove variable adjusted-markers, which was unused
3831 and only non nil during undo-make-selective-list.
3832 (undo-elt-in-region): Return nil when passed a marker adjustment
3833 and explain in function doc.
3835 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3837 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3839 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
3841 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3842 Match special global variables without curlies, too.
3843 (ruby-font-lock-keywords): Simplify the matcher for special global
3844 variables. Don't require a non-word character after the variable.
3847 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * simple.el (redisplay-highlight-region-function): Increase priority of
3850 overlay to make sure boundaries are visible (bug#15899).
3852 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
3854 * frameset.el (frameset--initial-params): Fix typo in parameter name.
3855 (frameset-restore): Compare display strings with equal.
3857 * frame.el (make-frame): Don't quote display name in error message,
3858 it is already a string.
3860 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3862 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3865 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
3867 * emacs-lisp/package.el (package--add-to-archive-contents):
3868 Include already installed and built-in packages in
3869 `package-archive-contents'.
3870 (package-install): Don't include already installed packages in the
3871 options during interactive invocation. (Bug#16762)
3872 (package-show-package-list): If the buffer is already displayed in
3873 another window, switch to that window.
3875 2014-03-26 Reto Zimmermann <reto@gnu.org>
3877 Sync with upstream vhdl mode v3.35.1.
3878 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3879 (vhdl-compiler-alist): Doc fix.
3880 (vhdl-goto-line): Remove.
3881 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3882 (vhdl-mode) <paragraph-start>: Fix value.
3883 (vhdl-fix-statement-region): Not `for' in wait-statement.
3884 (vhdl-beautify-region): Also (un)tabify.
3885 (vhdl-get-visible-signals):
3886 Scan declarative part of generate statements.
3887 (vhdl-template-record): Fix indentation for record type declaration.
3888 (vhdl-expand-abbrev, vhdl-expand-paren):
3889 Revert to using fset again rather than defalias.
3890 (vhdl-scan-directory-contents): Tweak.
3891 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3892 (vhdl-compose-components-package):
3893 Replace vhdl-goto-line with forward-line.
3894 (top-level): Tweak speedbar frame selection.
3895 (vhdl-generate-makefile-1): Support for compilers with no
3896 unit-to-file name mapping (create directory with dummy files).
3898 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
3900 Sync with upstream verilog-mode revision 702457d.
3901 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3902 (create-lockfiles): Declare.
3903 (verilog-read-decls): Fix module header imports, bug709.
3904 Reported by Victor Lau.
3905 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
3906 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3907 interface-only modules, bug721. Reported by Dean Hoyt.
3909 2014-03-26 Glenn Morris <rgm@gnu.org>
3911 * obsolete/gulp.el: Move here from emacs-lisp/.
3913 * files.el (lock-buffer, unlock-buffer, file-locked-p):
3914 Remove fallback aliases, since they are always defined now.
3916 2014-03-24 Daniel Colascione <dancol@dancol.org>
3918 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3919 instead of cl-loop search function.
3921 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
3923 * calendar/parse-time.el (parse-time-iso8601-regexp)
3924 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
3927 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
3929 * net/dns.el (network-interface-list): Define for XEmacs.
3931 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
3933 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3934 the network interfaces changed.
3935 (dns-query): Use it to flush the data.
3937 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
3939 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
3941 2014-03-23 Daniel Colascione <dancol@dancol.org>
3943 Change subword-mode to use `find-word-boundary-function-table' and
3944 replace `capitalized-words-mode'. Also, convert to lexical
3947 * progmodes/cap-words.el: Delete now-obsolete file.
3948 * progmodes/subword.el: Reimplement using
3949 `find-word-boundary-function-table'.
3950 (subword-mode-map): Hollow out.
3951 (capitalized-words-mode): Define as obsolete alias for
3953 (subword-mode, superword-mode): Tweak documentation to reflect new
3954 implementation; call `subword-setup-buffer'.
3955 (subword-forward, subword-capitalize): Add underscore to indicate
3957 (subword-find-word-boundary-function-table): New constant.
3958 (subword-empty-char-table): New constant.
3959 (subword-setup-buffer): New function.
3960 (subword-find-word-boundary): New function.
3962 2014-03-23 Daniel Colascione <dancol@dancol.org>
3964 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
3965 list to look for keyword arguments instead of `memq', fixing
3966 (Bug#3647) --- unfortunately, only for freshly-compiled code.
3967 Please make bootstrap.
3969 2014-03-22 Glenn Morris <rgm@gnu.org>
3971 * dired.el (dired-read-regexp): Make obsolete.
3972 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
3973 (dired-flag-files-regexp):
3974 * dired-aux.el (dired-mark-read-regexp):
3975 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
3977 * startup.el (fancy-startup-text):
3978 * help.el (describe-gnu-project): Visit online info about GNU project.
3980 * help-fns.el (help-fns--interactive-only): New function.
3981 (help-fns-describe-function-functions): Add the above function.
3982 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
3983 (next-line, previous-line): Remove hand-written interactive-only
3984 information from doc strings, it is auto-generated now.
3985 * bookmark.el (bookmark-write):
3986 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
3987 (epa-mail-import-keys): Mark interactive-only,
3988 and remove hand-written interactive-only information from doc strings.
3989 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
3990 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
3991 * files.el (not-modified):
3992 * simple.el (mark-whole-buffer): Mark interactive-only.
3994 * emacs-lisp/byte-run.el (defun-declarations-alist):
3995 Add interactive-only. Doc tweak.
3996 (macro-declarations-alist): Doc tweak.
3997 * subr.el (declare): Doc tweak (add xref to manual).
3998 * comint.el (comint-run):
3999 * files.el (insert-file-literally, insert-file):
4000 * replace.el (replace-string, replace-regexp):
4001 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4002 (delete-forward-char, goto-line, insert-buffer, next-line)
4003 (previous-line): Set interactive-only via declare.
4005 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4007 * emacs-lisp/package.el (package-desc): Use the contents of the
4008 quoted form, not its cdr. (Bug#16873)
4010 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4012 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4013 benefit of doc.c; change parameter profile to match the X function.
4015 2014-03-22 Leo Liu <sdl.web@gmail.com>
4017 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4018 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4020 2014-03-21 Richard Stallman <rms@gnu.org>
4022 * battery.el (battery-linux-sysfs): Search for each field
4023 from the beginning of the buffer.
4025 * subr.el (set-transient-map): Clear out function and value
4026 of the temporary symbol when we're done with it.
4028 * mail/rmailsum.el (rmail-summary-delete-forward):
4029 Optimize case of reaching end and handling count.
4030 (rmail-summary-mark-deleted): Optimize when N is current msg.
4031 Don't create new summary line.
4032 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4033 (rmail-summary-undelete-many): Rewrite for speed.
4034 (rmail-summary-msg-number): New function.
4036 * mail/rmail.el (rmail-delete-message): Update summary.
4037 (rmail-undelete-previous-message): Handle repeat count arg.
4038 (rmail-delete-backward, rmail-delete-forward): Likewise.
4040 2014-03-21 Daniel Colascione <dancol@dancol.org>
4042 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4043 information in bug reports.
4045 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
4047 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4048 and `tramp-copy-env'.
4050 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4051 (tramp-maybe-open-connection): Handle `tramp-login-env'.
4053 2014-03-21 Glenn Morris <rgm@gnu.org>
4055 * electric.el (electric-indent-post-self-insert-function): Add doc.
4057 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
4059 * emacs-lisp/package.el (package-compute-transaction):
4060 Use `version-list-<=' to compare the requirement version against
4061 the version of package already to be installed. Update the error
4062 message. (Bug#16826)
4064 * progmodes/ruby-mode.el (ruby-smie-rules):
4065 Add indentation rule for ` @ '. (Bug#17050)
4067 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4069 * align.el (align-regexp): Remove superfluous backslash.
4071 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4072 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4073 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4074 Fix docstring typos.
4075 (ffap-next): Use C-u in docstring.
4076 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4077 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4078 Remove superfluous backslashes.
4079 (ffap-string-at-point): Reflow docstring.
4081 * server.el (server-host): Reflow docstring.
4082 (server-unload-function): Fix docstring typo.
4083 (server-eval-at): Remove superfluous backslash.
4085 * skeleton.el (skeleton-insert): Remove superfluous backslash.
4086 (skeleton-insert): Doc fix.
4087 (skeleton-insert): Reflow docstring.
4089 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4090 (tty-color-approximate, tty-color-by-index, tty-color-values)
4091 (tty-color-desc): Remove superfluous backslashes.
4093 2014-03-21 Glenn Morris <rgm@gnu.org>
4095 * cus-start.el (history-length): Bump :version.
4097 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4098 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4099 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4100 Don't set `make-backup-files'.
4102 * info.el (info--prettify-description): New function,
4103 to give info-finder descriptions consistent case, punctuation.
4104 (Info-finder-find-node): Use it. Sort packages.
4105 Refer to "description" rather than "commentary".
4107 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4109 * frameset.el (frameset--print-register): New function.
4110 (frameset-to-register): Use it.
4112 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
4114 * progmodes/hideif.el (hif-string-to-number): New function.
4115 (hif-tokenize): Use it to understand non-decimal floats.
4117 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4119 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4121 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4123 * electric.el (electric-newline-and-maybe-indent): New command.
4124 Bind it globally to C-j.
4125 (electric-indent-mode): Don't mess with the global map any more.
4126 Don't drop the post-self-insert-hook is some buffer is still using it
4129 * bindings.el (global-map): Remove C-j binding.
4131 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4132 the docstring of functions advised before dumping (bug#16993).
4134 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
4136 * ps-print.el (ps-generate-postscript-with-faces):
4137 Explicitly deactivate the mark (bug#16866).
4138 * simple.el (deactivate-mark): Update region highlight.
4140 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
4142 * emacs-lisp/package.el (describe-package-1):
4143 Decode commentary (bug#16733).
4145 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
4147 * custom.el (defcustom): Doc fix: recommend avoiding destructive
4148 modification of the value argument of :set (bug#16755).
4150 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * simple.el (newline-and-indent): Do autofill (bug#17031).
4154 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
4156 * newcomment.el (comment-normalize-vars): Only add escaping check
4157 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
4158 (comment-beginning): Use `narrow-to-region' instead of moving back
4160 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4161 (comment-start-skip): Update the docstring.
4163 2014-03-18 Richard Stallman <rms@gnu.org>
4165 * dired.el (dired-display-file): Force use of other window.
4167 2014-03-18 Daniel Colascione <dancol@dancol.org>
4169 * startup.el (tty-handle-args): Remove debug message from 2007.
4171 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4174 (advice--make-interactive-form): Use it to avoid (auto)loading function.
4175 (advice--make-1, advice-add, advice-remove):
4176 Remove braindead :advice-pending hack.
4178 2014-03-17 Glenn Morris <rgm@gnu.org>
4180 * calendar/calendar.el (calendar-generate-month): Apply weekend
4181 face to the right days; fixes 2013-08-06 change. (Bug#17028)
4183 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
4185 * net/tramp.el (tramp-action-out-of-band): Read pending output.
4186 (tramp-call-process): Trace also DESTINATION.
4188 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4189 Quote file names when they are local. Remove superfluous trace.
4191 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
4193 * newcomment.el (comment-beginning): If `comment-start-skip'
4194 doesn't match, move back one char and try again. (Bug#16971)
4196 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4197 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4198 Set `comment-start-skip' to a simpler value that doesn't try to
4199 check if the semicolon is escaped (this is handled by
4200 `syntax-ppss' now). (Bug#16971)
4202 * progmodes/scheme.el (scheme-mode-variables): Same.
4204 2014-03-16 Martin Rudalics <rudalics@gmx.at>
4206 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4207 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4208 current (Bug#16816, Bug#17007).
4209 (with-current-buffer-window): New macro doing the same as
4210 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4211 * help.el (help-print-return-message): Warn in doc-string to not
4212 use this in `with-help-window'.
4213 (describe-bindings-internal): Call `describe-buffer-bindings'
4214 from within help buffer. See Juanma's scenario in (Bug#16816).
4215 (with-help-window): Update doc-string.
4216 * dired.el (dired-mark-pop-up):
4217 * files.el (save-buffers-kill-emacs):
4218 * register.el (register-preview): Use `with-current-buffer-window'
4219 instead of `with-temp-buffer-window'.
4221 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
4223 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4224 Implement inserting into current buffer, documented in their docstrings.
4225 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4226 (rst-section-tree-point, rst-forward-section, rst-indent)
4227 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4228 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4229 (rst-font-lock-handle-adornment-pre-match-form)
4230 (rst-repeat-last-character): Reflow docstrings.
4231 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4232 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4233 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4234 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4235 Fix docstring typos.
4236 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4237 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4238 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4240 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
4242 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4243 for compatibility with other ports.
4244 (ns-initialize-window-system): Use it. It is set in term/common-win.el
4245 from the -xrm command line argument, but in the Nextstep port its value
4246 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4248 * progmodes/python.el (defconst, python-syntax-count-quotes)
4249 (python-indent-region, python-indent-shift-right)
4250 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4251 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4252 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4253 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4254 (inferior-python-mode, python-shell-make-comint, run-python-internal)
4255 (python-shell-buffer-substring, python-shell-send-buffer)
4256 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4257 (python-completion-complete-at-point, python-fill-docstring-style)
4258 (python-eldoc-function, python-imenu-format-item-label)
4259 (python-imenu-format-parent-item-label)
4260 (python-imenu-format-parent-item-jump-label)
4261 (python-imenu--build-tree, python-imenu-create-index)
4262 (python-imenu-create-flat-index): Fix docstring typos.
4263 (python-indent-context, python-shell-prompt-regexp, run-python):
4264 Remove superfluous backslashes.
4265 (python-indent-line, python-nav-beginning-of-defun)
4266 (python-shell-get-buffer, python-shell-get-process)
4267 (python-info-current-defun, python-info-current-line-comment-p)
4268 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4269 (python-indent-post-self-insert-function, python-shell-send-file)
4270 (python-shell-completion-get-completions)
4271 (python-shell-completion-complete-or-indent)
4272 (python-eldoc--get-doc-at-point): Reflow docstrings.
4274 2014-03-14 Glenn Morris <rgm@gnu.org>
4276 * emacs-lisp/package.el (package-menu-mode-map):
4277 Replace use of obsolete function alias. Tweak menu item text.
4279 * info.el (Info-finder-find-node):
4280 Ignore the `emacs' metapackage. (Bug#10813)
4282 * finder.el (finder-list-matches): Include unversioned packages
4283 in the result of a keyword search.
4285 * finder.el (finder--builtins-descriptions): New constant.
4286 (finder-compile-keywords): Use finder--builtins-descriptions.
4288 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
4290 * simple.el (blink-matching-paren): Describe the new value,
4291 `jump', enabling the old behavior.
4292 (blink-matching-open): Use that value. (Bug#17008)
4294 2014-03-14 Glenn Morris <rgm@gnu.org>
4296 * finder.el (finder-no-scan-regexp): Add leim-list.
4297 (finder-compile-keywords):
4298 Don't skip files with same basename. (Bug#14010)
4299 * Makefile.in (setwins_finder): New, excluding leim.
4300 (finder-data): Use setwins_finder.
4302 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4303 (help-function-arglist, help-make-usage): Move from here...
4304 * help.el (help-split-fundoc, help-add-fundoc-usage)
4305 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
4306 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4308 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
4310 * net/socks.el (socks, socks-override-functions)
4311 (socks-find-services-entry):
4312 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4313 (hif-find-ifdef-block):
4314 * progmodes/modula2.el (m2-indent): Fix docstring typos.
4316 * net/tls.el (tls-program): Reflow docstring.
4318 * progmodes/pascal.el (pascal-mode-abbrev-table)
4319 (pascal-imenu-generic-expression, pascal-auto-endcomments)
4320 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4321 (pascal-outline-mode): Fix docstring typos.
4322 (pascal-mode): Let define-derived-mode document mode hook.
4323 (pascal-uncomment-area): Reflow.
4324 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4326 * progmodes/opascal.el (opascal-compound-block-indent)
4327 (opascal-case-label-indent): Fix docstring typos.
4328 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4330 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
4332 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4333 Fontify multiple adjacent negation chars. (Bug#17004)
4335 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
4337 * emacs-lisp/package.el (package--prepare-dependencies):
4338 Accept requirements without explicit version (bug#14941).
4340 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4342 * register.el (register-separator, copy-to-register): Doc fixes.
4343 (register-preview-default): Remove unnecessary call to concat.
4345 * frameset.el (frameset-restore): When checking for a visible frame,
4346 use the action map instead of calling visible-frame-list.
4348 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
4350 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4352 2014-03-12 Martin Rudalics <rudalics@gmx.at>
4354 * window.el (fit-frame-to-buffer): Get maximum width from
4355 display's width instead of height.
4357 2014-03-12 Glenn Morris <rgm@gnu.org>
4359 * desktop.el (desktop-restore-frames)
4360 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4361 (desktop-restore-reuses-frames): Doc tweaks.
4363 * electric.el (electric-indent-mode): Doc fix.
4365 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4367 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4368 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4369 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4370 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4371 (cvs-dired-use-hook): Fix docstring typos.
4372 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4375 * vc/pcvs-defs.el (cvs-auto-remove-handled)
4376 (cvs-auto-remove-directories, cvs-default-ignore-marks)
4377 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4378 (cvs-execute-single-dir): Fix docstring typos.
4380 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4381 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4383 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4385 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4386 Fix docstring typos.
4388 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4390 * frameset.el (frameset--jump-to-register): Add autoload; it could be
4391 called from jump-to-register after unloading the frameset package.
4393 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
4395 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4396 (bug#16975). Deactivate the mark before setting it to nil.
4397 (activate-mark): Do nothing if region is already active.
4399 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
4401 * frameset.el (frameset--target-display): Remove definition; declare.
4402 (frameset-save, frameset-restore): Let-bind frameset--target-display.
4404 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
4406 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4407 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4408 when the advice is pending.
4409 (advice-remove): Remove this marker when not needed any more.
4411 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
4413 * frameset.el: Separate options for reusing frames and cleaning up.
4414 (frameset--reuse-list): Remove definition; declare.
4415 (frameset--action-map): Declare.
4416 (frameset--find-frame-if): Doc fix.
4417 (frameset--restore-frame): Cache frame action.
4418 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4419 how to clean up the frame list after restoring. Remove cleaning
4420 options from REUSE-FRAMES. Change all keyword values to symbols.
4421 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4423 * desktop.el (desktop-restore-forces-onscreen)
4424 (desktop-restore-reuses-frames): Use non-keyword values.
4425 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4427 2014-03-10 Glenn Morris <rgm@gnu.org>
4429 * files.el (find-file): Doc fix: update info node name.
4431 * emacs-lisp/advice.el (ad-add-advice, defadvice):
4432 Doc fix: remove references to deleted info nodes.
4434 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
4436 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4437 Do not add nil to the environment, when there's no remote `locale'.
4438 (tramp-find-inline-encoding): Check, that the remote host has
4439 installed perl, before sending scripts.
4441 2014-03-10 Leo Liu <sdl.web@gmail.com>
4443 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4444 Clear eldoc-last-message. (Bug#16920)
4446 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4451 2014-03-09 Juri Linkov <juri@jurta.org>
4453 * ansi-color.el (ansi-color-names-vector): Copy default colors
4454 from `xterm-standard-colors' that look well on the default white
4455 background (and also on the black background) to avoid illegible
4456 color combinations like yellow-on-white and white-on-white.
4457 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4459 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
4461 * frameset.el (frameset-restore): When no frame is visible, do not
4462 generate a list of frames, just make visible the selected one.
4464 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
4466 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4467 it only contains the repository root. (Bug#16897)
4469 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
4471 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4472 only when `remote-file-name-inhibit-cache' is nil.
4473 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
4475 2014-03-06 Martin Rudalics <rudalics@gmx.at>
4477 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4479 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
4480 fit-frame-to-buffer variable. Fix doc-string.
4481 (fit-window-to-buffer): Set ONLY argument in call of
4482 fit-frame-to-buffer. Fix doc-string.
4484 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
4486 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4487 (tramp-action-password): Clear password cache if needed.
4488 (tramp-read-passwd): Do not clear password cache.
4490 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4491 cache unless it is the first password request.
4493 2014-03-06 Glenn Morris <rgm@gnu.org>
4495 * simple.el (newline): Doc tweak.
4497 * emacs-lisp/shadow.el (load-path-shadows-find):
4498 Ignore dir-locals. (Bug#12357)
4500 2014-03-05 Glenn Morris <rgm@gnu.org>
4502 * files.el (interpreter-mode-alist):
4503 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
4505 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
4507 * frameset.el (frameset--initial-params): Filter out null entries.
4509 2014-03-05 Martin Rudalics <rudalics@gmx.at>
4511 * window.el (window-min-height, window-min-width):
4512 Rewrite doc-strings.
4513 (window-body-size): Add PIXELWISE argument to make it consistent
4516 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
4518 * finder.el (finder-mode-map, finder-mode-syntax-table):
4519 Revert part of 2014-02-28 change.
4521 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
4523 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4524 (eww-setup-buffer): Clear next/prev/etc more reliably.
4525 (eww-textarea-map): [tab] doesn't work on tty.
4526 Reported by Mario Lang.
4528 * net/shr.el (shr-map): Ditto.
4530 2014-03-04 Glenn Morris <rgm@gnu.org>
4532 * minibuffer.el (completion-hilit-commonality):
4533 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4535 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
4537 * hilit-chg.el (hilit-chg-unload-function): New function.
4538 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4539 (hilit-chg-map-changes): Prefer cardinal number to digit.
4540 (hilit-chg-display-changes): Reflow docstring.
4541 (highlight-changes-rotate-faces): Remove superfluous backslash.
4543 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
4545 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4546 `tramp-send-command-and-check'.
4548 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
4550 * hexl.el (hexl-address-region, hexl-ascii-region)
4551 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4552 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4553 (hexl-forward-word, hexl-previous-line, hexl-next-line):
4554 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4555 (hexl-mode): Doc fix.
4556 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4557 (hexl-mode-ruler): Fix typos in docstrings.
4559 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4560 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4561 Remove superfluous backslashes.
4562 (strokes-last-stroke, strokes-global-map, strokes-mode):
4564 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4565 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4566 (strokes-distance-squared, strokes-global-set-stroke)
4567 (strokes-global-set-stroke-string): Doc fixes.
4568 (strokes-help): Fix typos; reflow docstring.
4570 2014-03-04 Martin Rudalics <rudalics@gmx.at>
4572 * window.el (window-in-direction): Fix doc-string.
4574 2014-03-04 Glenn Morris <rgm@gnu.org>
4576 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4577 Explicit error if no grammar.
4578 (smie-config-save): Doc fix. Fix quote typo.
4580 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4583 electric-indent-mode-hook if we obey electric-indent-mode.
4584 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4585 decide whether we obey electric-indent-mode.
4586 (c-change-set-fl-decl-start, c-extend-after-change-region):
4588 (c-electric-indent-mode-hook): Assume we do want to obey
4589 electric-indent-mode.
4591 * electric.el (electric-indent-mode-has-been-called): Remove.
4592 (electric-indent-mode): Fix accordingly.
4594 * files.el (hack-local-variables): Mention file name in warning.
4596 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4598 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
4600 * bindings.el: Add comment describing why C-d binds to `delete-char'.
4601 * simple.el (delete-forward-char): Mark as interactive-only.
4603 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
4605 * icomplete.el (icomplete-completions):
4606 Follow-up to 2014-03-01 change.
4608 * icomplete.el: Miscellaneous doc fixes.
4609 Use Icomplete everywhere instead of icomplete for consistency.
4610 (icomplete-max-delay-chars): Fix typo.
4611 (icomplete-mode): Use \[].
4612 (icomplete-tidy, icomplete-exhibit): Reflow.
4613 (icomplete-minibuffer-setup-hook, icomplete-completions):
4614 Remove superfluous backlashes.
4616 * ido.el: Miscellaneous doc fixes.
4617 Use Ido everywhere instead of ido or `ido' for consistency.
4618 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4619 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4620 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4621 (ido-separator): Extract obsolescence info from docstring and declare
4622 with make-obsolete-variable.
4623 (ido-minibuffer-setup-hook): Simplify example.
4624 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4625 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4626 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4627 (ido-everywhere): Reflow docstring.
4628 (ido-toggle-vc): Doc fix.
4629 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4630 of long list of keybindings.
4632 2014-03-03 Glenn Morris <rgm@gnu.org>
4634 * frame.el (display-pixel-height, display-pixel-width)
4635 (display-mm-dimensions-alist, display-mm-height)
4636 (display-mm-width): Doc tweaks.
4638 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
4640 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4641 case of undo in region.
4643 2014-03-02 Martin Rudalics <rudalics@gmx.at>
4645 * window.el (fit-window-to-buffer): Fix argument in window-size
4646 call when window is horizontally combined.
4648 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
4650 * icomplete.el (icomplete-completions): Use string-width.
4651 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4653 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
4655 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4656 Highlight regexp options. (Bug#16914)
4658 2014-03-01 Martin Rudalics <rudalics@gmx.at>
4660 * window.el (window--max-delta-1): Round down when calculating
4661 how many lines/columns we can get from a window.
4663 2014-03-01 Glenn Morris <rgm@gnu.org>
4665 * isearch.el (search-invisible): Doc fix.
4667 * minibuffer.el (completion-hilit-commonality):
4668 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
4669 * comint.el (comint-dynamic-list-completions): Doc fix.
4670 * comint.el (comint-dynamic-list-completions):
4671 * filecache.el (file-cache-minibuffer-complete):
4672 * tempo.el (tempo-display-completions):
4673 * eshell/em-hist.el (eshell-list-history):
4674 Replace use of obsolete argument of display-completion-list.
4676 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
4678 * icomplete.el (icomplete-completions):
4679 Revert back to using "..." when ?… cannot be displayed.
4681 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
4683 * finder.el (finder-unload-function): New function.
4685 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
4687 * dframe.el (dframe-detach):
4688 * find-dired.el (find-dired, find-name-dired):
4689 * finder.el (finder-mode-map, finder-mode-syntax-table)
4690 (finder-headmark, finder-select, finder-mouse-select):
4691 Fix docstring typos.
4693 2014-02-28 Martin Rudalics <rudalics@gmx.at>
4695 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4696 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4697 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4698 Fix doc-string based on a suggestion by Nicolas Richard
4699 <theonewiththeevillook@yahoo.fr>.
4700 * help.el (with-help-window): Fix doc-string.
4702 2014-02-28 Ivan Kanis <ivan@kanis.fr>
4704 * net/shr.el (shr-image-animate): New option.
4705 (shr-put-image): Respect shr-image-animate.
4707 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
4709 * net/tramp-adb.el (tramp-adb-parse-device-names):
4710 Use `accept-process-output'.
4711 (tramp-adb-handle-file-truename): Cache the localname only.
4712 (tramp-adb-handle-make-directory)
4713 (tramp-adb-handle-delete-directory): Flush file properties correctly.
4714 (tramp-adb-handle-set-file-modes): Do not raise an error when file
4715 modes cannot be changed.
4717 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4718 file properties of symlinks.
4720 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
4722 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4723 required/optional fields to match development biblatex. (Bug#16781)
4725 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
4727 * saveplace.el (toggle-save-place):
4728 Fix argument handling. (Bug#16673)
4730 2014-02-28 Glenn Morris <rgm@gnu.org>
4732 * minibuffer.el (completions-first-difference)
4733 (completions-common-part, completion-hilit-commonality): Doc fixes.
4735 2014-02-28 Karl Berry <karl@gnu.org>
4737 * info.el (Info-mode-map): Add H for describe-mode,
4738 to synchronize with standalone Info.
4740 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
4742 * progmodes/sql.el (sql-interactive-mode):
4743 Avoid setting global comint-input-ring-separator. (Bug#16814)
4745 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
4747 * net/dbus.el (dbus--init-bus): Declare function.
4748 (dbus-path-local, dbus-interface-local): New defconst.
4749 (dbus-init-bus): Use them.
4750 (dbus-return-values-table): Extend doc.
4751 (dbus-handle-bus-disconnect): Extend error message.
4753 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
4755 * subr.el (y-or-n-p): Fix double space issue in message.
4757 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
4759 * net/tramp.el (tramp-call-process): Improve trace message.
4760 (tramp-handle-insert-file-contents): Trace error case.
4762 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4763 <insert-directory>: Use `tramp-handle-insert-directory'.
4764 (tramp-adb-handle-insert-directory): Remove function.
4765 (tramp-adb-send-command-and-check): New defun, replacing
4766 `tramp-adb-command-exit-status'. Change all callees.
4767 (tramp-adb-handle-file-attributes)
4768 (tramp-adb-handle-directory-files-and-attributes): Use it.
4769 (tramp-adb-ls-output-name-less-p):
4770 Use `directory-listing-before-filename-regexp'.
4771 (tramp-adb-handle-delete-directory): Flush also file properties of
4772 the truename of directory.
4773 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4774 (tramp-adb-handle-file-local-copy): Make the local copy readable.
4775 (tramp-adb-handle-write-region): Implement APPEND.
4776 (tramp-adb-handle-rename-file): Make it more robust. Flush file
4777 properties correctly.
4778 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4779 variables. Check for connected devices only when needed.
4781 2014-02-27 Glenn Morris <rgm@gnu.org>
4783 * minibuffer.el (completion-table-dynamic)
4784 (completion-table-with-cache): Doc fixes.
4786 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4787 (completing-read-multiple): Doc fixes.
4789 2014-02-27 Daniel Colascione <dancol@dancol.org>
4791 * minibuffer.el (completion--nth-completion): Fix indentation.
4793 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4794 explicit tramp path is empty.
4796 2014-02-27 Glenn Morris <rgm@gnu.org>
4798 * emacs-lisp/crm.el (completing-read-multiple):
4799 Empower help-enable-auto-load.
4801 2014-02-26 Glenn Morris <rgm@gnu.org>
4803 * startup.el (command-line): Don't init the tty in daemon mode.
4805 Avoid calling tty-setup-hook twice, eg if a term file
4806 explicitly calls tty-run-terminal-initialization. (Bug#16859)
4807 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4808 (tty-create-frame-with-faces): Use it.
4809 * startup.el (command-line): Pass run-hook argument
4810 to tty-run-terminal-initialization.
4812 * dired.el (dired-restore-desktop-buffer): Demote errors;
4813 eg in case a glob match fails. (Bug#16884)
4815 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
4817 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4818 error from `read-from-string'. (Bug#16850)
4820 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4821 result of `completing-read' in the interactive form. (Bug#16854)
4823 2014-02-25 Glenn Morris <rgm@gnu.org>
4825 * image.el (image-animate, image-animate-timeout):
4826 Stop animating images in dead buffers. (Bug#16878)
4828 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
4830 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4832 * startup.el (term-setup-hook): Doc fix. Make obsolete.
4833 * term/sun.el (sun-raw-prefix-hooks):
4834 Use tty-setup-hook instead of term-setup-hook.
4835 (terminal-init-sun): Construct message from bytecomp plist.
4836 * term/wyse50.el (enable-arrow-keys): Doc fix.
4838 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
4840 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4841 Fix docstring typos.
4843 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
4845 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4847 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4849 * minibuffer.el (completion--try-word-completion):
4850 Fix error when completing M-x commands (bug#16808).
4852 2014-02-24 Leo Liu <sdl.web@gmail.com>
4854 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4856 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
4858 * apropos.el (apropos-print): Avoid formatting error when
4859 apropos-do-all and apropos-compact-layout are both t.
4861 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
4863 * apropos.el (apropos-property, apropos-all-words-regexp)
4864 (apropos-true-hit, apropos-variable, apropos-print):
4865 Fix docstring typos, and remove obsolete comment.
4867 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
4869 * net/tramp-sh.el (tramp-sh-handle-file-truename):
4870 Preserve trailing "/". (Bug#16851)
4872 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
4874 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4875 after `=>' (bug#16811).
4876 (ruby-smie-rules): Handle the inconsistent second element of the
4877 list returned by `smie-indent--parent'.
4878 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4881 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
4883 * elec-pair.el (electric-pair-text-syntax-table)
4884 (electric-pair-syntax-info, electric-pair--syntax-ppss)
4885 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4886 (electric-pair--looking-at-unterminated-string-p): Doc fix.
4887 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
4889 2014-02-22 Glenn Morris <rgm@gnu.org>
4891 * imenu.el (imenu--generic-function): Doc fix.
4893 * register.el (frame-configuration-to-register): Make obsolete.
4895 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
4897 * desktop.el (desktop-save-buffer-p): Do not fail when
4898 desktop-files-not-to-save is nil. Return t for true result
4901 2014-02-22 Daniel Colascione <dancol@dancol.org>
4903 * net/secrets.el (secrets-create-item, secrets-search-items):
4904 Check that attribute values are strings, avoiding the construction
4905 of invalid dbus messages.
4907 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4909 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4910 defun-declarations-alist.
4912 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
4914 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4917 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4919 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4920 (whitespace-newline, whitespace-trailing, whitespace-line)
4921 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4922 (whitespace-space-after-tab): Fix typo in docstrings.
4924 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
4926 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4928 * electric.el (electric-indent-functions-without-reindent):
4929 Add `yaml-indent-line'.
4931 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4933 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4934 It has done nothing for years; should be removed after the release.
4936 * simple.el (choose-completion): Fix docstring typo.
4937 (read-quoted-char-radix): Remove unneeded * in docstring.
4938 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4939 Don't escape parentheses unnecessarily in docstrings.
4941 2014-02-21 Martin Rudalics <rudalics@gmx.at>
4943 Fix handling of window-min-height/-width (Bug#16738).
4944 * window.el (window--dump-window, window--dump-frame):
4946 (window--min-size-1): Account for window dividers.
4947 When window-resize-pixelwise is nil, delay rounding till after the
4948 sum of the window components has been calculated.
4949 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
4950 nil make sure at least one text line and two text columns remain
4952 (window-resize): Signal an error when window-resize-apply fails.
4953 (window--resize-child-windows): Fix calculation of by how many
4954 pixels a window can still be shrunk via window-new-normal.
4955 (adjust-window-trailing-edge): Call window--resizable with
4956 correct TRAIL argument.
4958 (with-temp-buffer-window): Don't evaluate BODY within
4959 with-current-buffer (Bug#16816).
4961 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
4963 * net/tramp.el (tramp-check-cached-permissions):
4964 Call `file-attributes' with `suffix' being a symbol but a string.
4966 2014-02-21 Daniel Colascione <dancol@dancol.org>
4968 * net/dbus.el (dbus-init-bus-1): Declare new subr.
4969 (dbus-init-bus): New function: call into dbus-init-bus-1
4970 and installs a handler for the disconnect signal.
4971 (dbus-call-method): Rewrite to look for result in cons.
4972 (dbus-call-method-handler): Store result in cons.
4973 (dbus-check-event): Recognize events with nil sender as valid.
4974 (dbus-handle-bus-disconnect): New function. React to bus
4975 disconnection signal by synthesizing dbus error for each
4976 pending synchronous or asynchronous call.
4977 (dbus-notice-synchronous-call-errors): New function.
4978 (dbus-handle-event): Raise errors directly only when `dbus-debug'
4979 is true, not all the time.
4981 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4983 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4984 Remove obsolescence declarations, these variables do not exist anymore.
4986 * savehist.el (savehist-save-minibuffer-history)
4987 (savehist-additional-variables, savehist-file, savehist-mode-hook)
4988 (savehist-save-hook, savehist-coding-system, savehist-loaded)
4989 (savehist-load, savehist-install, savehist-autosave): Fix typos;
4990 mostly, refer to "Savehist mode" when talking about the mode,
4991 and not the function.
4993 * saveplace.el (save-place): Remove redundant info in docstring.
4994 (save-place-forget-unreadable-files, toggle-save-place)
4995 (save-place-forget-unreadable-files, save-place-dired-hook):
4996 Fix typos and remove unneeded backslashes.
4998 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5000 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5001 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5004 <insert-directory>: Use `tramp-handle-insert-directory'.
5005 (tramp-gvfs-handle-insert-directory): Remove function.
5007 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5008 Call `tramp-handle-insert-directory'.
5010 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5012 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5013 before the start of buffer/region (bug#16799).
5015 2014-02-20 Glenn Morris <rgm@gnu.org>
5017 * isearch.el (search-invisible): Doc fix.
5019 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5021 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5024 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5026 * frameset.el (frameset-restore): Delay removing an old frame's
5027 duplicate id until the new frame has been correctly created.
5029 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5031 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5032 (tramp-check-cached-permissions): Call `file-attributes' if the
5035 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5036 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5039 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5040 (tramp-gvfs-maybe-open-connection): Set always connection
5041 properties, even if target is mounted already.
5043 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5044 Set tramp-autoload cookie.
5045 (tramp-get-remote-touch): New defun.
5046 (tramp-sh-handle-set-file-times): Use it.
5047 (tramp-sh-handle-directory-files-and-attributes):
5048 Use `tramp-handle-directory-files-and-attributes' if neither stat
5049 nor perl are available on the remote host.
5051 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5052 "/". Write long listing only when "l" belongs to the switches.
5054 * net/trampver.el: Update release number.
5056 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5058 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5060 2014-02-19 Martin Rudalics <rudalics@gmx.at>
5062 * window.el (window-state-put): Allow WINDOW to refer to an
5063 internal window (Bug#16793).
5065 2014-02-19 Glenn Morris <rgm@gnu.org>
5067 * textmodes/remember.el: Move provide statement to end.
5068 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5069 (remember-notes): Doc fixes.
5071 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * delsel.el (delete-char): Restore incorrectly erased property
5076 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
5078 * frameset.el (frameset--restore-frame): When a frame is being reused
5079 and its root window is not alive, delete all the frame's windows before
5080 restoring the window state. This works around the issue in bug#16793.
5082 2014-02-18 Glenn Morris <rgm@gnu.org>
5084 * textmodes/remember.el (remember-data-directory)
5085 (remember-directory-file-name-format, remember-store-in-files)
5086 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5087 (remember-notes-save-and-bury-buffer)
5088 (remember-notes--kill-buffer-query): Doc fixes.
5090 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5092 2014-02-17 Alan Mackenzie <acm@muc.de>
5094 Connect electric-indent-mode up with CC Mode. Bug #15478.
5095 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5096 to electric-indent-{,local-}-mode.
5097 (c-basic-common-init): Set electric-indent-inhibit.
5098 Initialise c-electric-flag from electric-indent-mode.
5099 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5100 New hook functions which propagate electric-indent-mode to CC mode.
5102 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5103 hit, toggle electric-indent-local-mode.
5105 * electric.el (electric-indent-mode-has-been-called):
5108 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
5110 * frameset.el (frameset-cfg-id): New function.
5111 (frameset--reuse-frame, frameset-restore): Use it.
5112 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5114 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * ido.el (ido-file-internal): Remove unused var `d'.
5117 Use \` for to match BoS. Fit within 80n columns.
5119 2014-02-17 Daniel Colascione <dancol@dancol.org>
5121 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5122 dbus-call-method check for completion using a busy-wait loop with
5125 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
5127 Sync with Tramp 2.2.9.
5129 * net/trampver.el: Update release number.
5131 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
5133 * ido.el (ido-file-internal): Don't add the name of an existing
5134 directory twice. (Bug#16747)
5136 2014-02-16 Glenn Morris <rgm@gnu.org>
5138 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5139 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5141 2014-02-15 Michael R. Mauger <michael@mauger.com>
5143 * progmodes/sql.el: Version 3.4
5144 (sql-oracle-options): New default value ("-L").
5145 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5146 (sql-placeholders-filter): Correct placeholder pattern.
5147 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
5148 (sql-login-delay): New variable.
5149 (sql-product-interactive): Use it.
5151 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
5153 * frameset.el (frameset--jump-to-register): Check that buffer is live
5156 2014-02-15 Glenn Morris <rgm@gnu.org>
5158 * info.el (info-initialize): Revert 2014-01-10 change.
5160 2014-02-14 Glenn Morris <rgm@gnu.org>
5162 * replace.el (map-query-replace-regexp)
5163 (read-regexp-defaults-function, read-regexp): Doc fixes.
5165 * dired.el (dired-read-regexp):
5166 * faces.el (list-faces-display):
5167 * misearch.el (multi-isearch-read-matching-buffers)
5168 (multi-isearch-read-matching-files):
5169 * play/cookie1.el (cookie-apropos):
5170 * progmodes/grep.el (grep-read-regexp): Doc fixes.
5172 * textmodes/remember.el (remember): Use frameset-to-register
5173 rather than frame-configuration-to-register.
5175 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
5177 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5178 incorrect keybinding.
5180 2014-02-13 Daniel Colascione <dancol@dancol.org>
5182 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5183 when adding overlays so that line numbers from compiler match line
5186 2014-02-13 Glenn Morris <rgm@gnu.org>
5188 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
5190 * jit-lock.el (jit-lock-mode): Doc fix.
5192 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
5194 * apropos.el (apropos-read-pattern): When the user passes an empty
5195 string, give a more helpful error message than "Wrong type
5196 argument: stringp, nil".
5198 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
5200 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5202 2014-02-13 Glenn Morris <rgm@gnu.org>
5204 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5206 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5209 shift-select commands.
5211 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
5213 * progmodes/js.el (js-indent-line): Don't widen.
5214 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5216 2014-02-12 Glenn Morris <rgm@gnu.org>
5218 * icomplete.el (icomplete): Add info-link to defgroup.
5219 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5220 (icomplete-minibuffer-map, icomplete-mode)
5221 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5223 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5224 (package-menu-filter): Rename from package-menu-filter-interactive.
5227 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
5229 * frameset.el (frameset--jump-to-register): Select the required
5230 window and buffer before restoring position (bug#16696).
5232 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
5234 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5236 2014-02-10 Glenn Morris <rgm@gnu.org>
5238 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
5240 2014-02-10 Eli Zaretskii <eliz@gnu.org>
5242 * w32-common-fns.el (x-get-selection): Doc fix.
5243 * select.el (x-get-selection): Doc fix. (Bug#15109)
5245 * face-remap.el (face-remap-add-relative)
5246 (face-remap-remove-relative, face-remap-reset-base)
5247 (face-remap-set-base): Call force-mode-line-update to redisplay
5248 the current buffer due to potential change in faces. (Bug#16709)
5250 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
5252 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5253 script more robustly.
5255 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5257 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5259 * simple.el (choose-completion): Doc fix (bug#14160).
5261 * subr.el (event-start): Say what a nil EVENT value means.
5263 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5266 * progmodes/grep.el (find-program): Doc fix (bug#14289).
5268 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5270 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5272 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5273 predicate function (bug#15455).
5275 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
5277 * ielm.el (inferior-emacs-lisp-mode): Instead of
5278 `comment-use-global-state', set `comment-use-syntax'.
5280 2014-02-10 Glenn Morris <rgm@gnu.org>
5282 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5284 2014-02-09 Alan Mackenzie <acm@muc.de>
5286 Fix c-invalidate-state-cache on narrowed buffers.
5287 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5288 Widen when setting and clearing the CPP delimiter properties.
5290 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
5292 * help.el (describe-bindings): Doc fix (bug#9888).
5294 * files.el (save-buffer): Use ARG as the parameter name for
5295 consistency (bug#10346).
5296 (save-buffer): Clarify the 0 argument (bug#10346).
5298 * cus-edit.el (customize-apropos): Fix error string.
5299 (custom-buffer-create): Doc fix (bug#11122).
5300 (custom-sort-items): Doc fix (bug#11121).
5302 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5304 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5305 (icomplete-simple-completing-p): Mention the previous variable.
5307 * font-lock.el (font-lock-value-in-major-mode): Clarify the
5308 meaning of the parameter (bug#12282).
5310 * files.el (find-file-noselect): Clarify prompt when changing
5311 readedness (bug#13261).
5312 (locate-file): Suffixes aren't returned, so don't say that they
5314 (backup-inhibited): Doc clarification (bug#12525).
5316 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5317 before we actually start to delete things (bug#16331).
5319 * subr.el (event-start): Doc fix (bug#14228).
5322 2014-02-09 Glenn Morris <rgm@gnu.org>
5324 * emacs-lisp/warnings.el (lwarn):
5325 Empower help-enable-auto-load. (Bug#15940)
5327 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5329 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5332 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
5334 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5335 Insert output at end of buffer. (Bug#16120)
5337 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5339 * simple.el (choose-completion-string-functions): Document new
5340 calling convention (bug#14153).
5341 (execute-extended-command): Clarify doc string (bug#13373).
5343 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5345 * find-dired.el (find-name-dired): Doc fix (bug#14290).
5346 (find-grep-dired): Doc fix (bug#14288).
5348 2014-02-08 Juri Linkov <juri@jurta.org>
5350 * isearch.el (isearch-quote-char): Check character validity
5351 like in `quoted-insert' (bug#16677).
5353 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5355 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5357 * isearch.el (isearch-hide-immediately): Doc clarification
5360 * simple.el (line-move): Document utility function used many
5361 places in the Emacs sources (bug#14843).
5363 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5364 (dired-prev-marked-file): Doc fix (bug#14855).
5365 (dired-up-directory): Doc fix (bug#14848).
5367 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5369 * files.el (file-relative-name): Doc fix (bug#15159).
5371 * fringe.el (fringe-styles): Doc fix (bug#15239).
5373 * isearch.el (isearch-filter-predicate): Documentation typo fix
5376 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5378 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5380 * replace.el (replace-match-maybe-edit): Doc clarification
5383 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5385 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5387 2014-02-08 Glenn Morris <rgm@gnu.org>
5389 * help-fns.el (describe-variable):
5390 Check {file,dir}-local-variables-alist, and buffer-file-name,
5391 in the correct buffer.
5393 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
5395 * help-fns.el (describe-variable): Fix the case where
5396 a value is directory-local with no dir-locals file. (Bug#16635)
5398 2014-02-08 Glenn Morris <rgm@gnu.org>
5400 * abbrev.el (edit-abbrevs-mode):
5401 Derive from fundamental-mode. (Bug#16682)
5403 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
5405 * simple.el (quoted-insert): Check character validity (bug#16677).
5407 2014-02-07 Juri Linkov <juri@jurta.org>
5409 * desktop.el (desktop-read): Claim the lock when the owner is not
5410 the current process. (Bug#16157)
5412 2014-02-07 Juri Linkov <juri@jurta.org>
5414 * desktop.el (desktop-buffers-not-to-save): Change default from nil
5415 to "\\` ". (Bug#16651)
5417 2014-02-07 Juri Linkov <juri@jurta.org>
5419 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5420 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5421 (desktop-auto-save-cancel-timer): New function with some code from
5422 `desktop-auto-save-set-timer'.
5423 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5424 Instead of setting `desktop-save-mode' to nil, call
5425 `desktop-save-mode' with arg 0. (Bug#16630)
5427 2014-02-07 Glenn Morris <rgm@gnu.org>
5429 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5430 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5431 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5433 * obsolete/iswitchb.el: Move to obsolete/.
5434 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5435 since obsolete/ is not scanned for autoloads.
5436 * emacs-lisp/authors.el (authors-valid-file-names):
5439 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5440 Disable now non-functional find-file-hook.
5442 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
5444 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5445 instead of ";" in order to avoid additional prompts. Let heredoc
5446 scripts read from tty. (Bug#16582)
5447 (tramp-send-command): No special handling of heredocs, it isn't
5450 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
5452 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5453 with a space (bug#16664). Limit the symbols considered to the ones
5454 that are bound or fbound (bug#16646).
5456 2014-02-06 Glenn Morris <rgm@gnu.org>
5458 * epa.el (epa-mail-aliases): Doc fix.
5460 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
5462 * emacs-lisp/lisp.el (lisp-completion-at-point):
5463 Use `completion-table-merge' instead of `completion-table-in-turn'
5466 * minibuffer.el (completion-table-merge): New function.
5468 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
5470 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5471 (tramp-sh-handle-set-file-acl)
5472 (tramp-sh-handle-start-file-process)
5473 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5474 (tramp-find-executable, tramp-send-command): Use it.
5476 2014-02-05 Glenn Morris <rgm@gnu.org>
5478 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
5480 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
5482 * progmodes/python.el (python-shell-send-string)
5483 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5485 2014-02-04 Anders Lindgren <andlind@gmail.com>
5487 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5488 the names (bug#16620).
5490 2014-02-03 Martin Rudalics <rudalics@gmx.at>
5492 * faces.el (window-divider): New default value. Rewrite doc-string.
5493 (window-divider-first-pixel, window-divider-last-pixel): New faces.
5495 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
5497 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5498 `protected' and `public' can also be called without arguments.
5500 2014-02-03 Glenn Morris <rgm@gnu.org>
5502 * register.el (window-configuration-to-register)
5503 (frame-configuration-to-register): Unadvertise unused argument.
5504 * frameset.el (frameset-to-register): Remove unused argument.
5506 * frameset.el (frameset-to-register):
5507 * kmacro.el (kmacro-to-register):
5508 * register.el (increment-register):
5509 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5510 (calc-append-to-register, calc-prepend-to-register):
5511 * play/gametree.el (gametree-layout-to-register)
5512 (gametree-apply-register-layout):
5513 * textmodes/picture.el (picture-clear-rectangle-to-register)
5514 (picture-yank-rectangle-from-register):
5515 * vc/emerge.el (emerge-combine-versions-register):
5516 Use register-read-with-preview to read registers.
5518 2014-02-03 João Távora <joaotavora@gmail.com>
5520 * elec-pair.el (electric-pair-backward-delete-char): Don't error
5521 when at beginning of (possibly narrowed) buffer.
5523 2014-02-02 Daniel Colascione <dancol@dancol.org>
5525 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5526 Also try to display local help from just before point.
5528 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
5530 c-parse-state. Don't "append-lower-brace-pair" in certain
5531 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
5532 recognised as a comment.
5534 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5535 as well as normal comment starter.
5536 (c-parse-state-get-strategy): Extra return possibility
5538 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5539 return value list to indicate replacement of a brace-pair cons
5541 (c-parse-state-1): With 'back-and-forward, only call
5542 c-append-lower-brace-pair-to state-cache when cons-separated.
5544 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
5546 * term/ns-win.el (ns-suspend-error): New function.
5547 (ns-initialize-window-system): Add ns-suspend-error to
5548 suspend-hook (Bug#16612).
5550 2014-02-02 Daniel Colascione <dancol@dancol.org>
5552 * progmodes/cc-defs.el (c-find-assignment-for-mode):
5553 Make loading cc-mode silent.
5555 2014-02-02 Daniel Colascione <dancol@dancol.org>
5557 * comint.el (comint-prompt-read-only): Change doc to suggest
5560 2014-02-02 Glenn Morris <rgm@gnu.org>
5562 * register.el (register-read-with-preview, point-to-register)
5563 (window-configuration-to-register, frame-configuration-to-register)
5564 (jump-to-register, number-to-register, view-register, insert-register)
5565 (copy-to-register, append-to-register, prepend-to-register)
5566 (copy-rectangle-to-register): Doc fixes.
5568 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5571 * emacs-lisp/find-func.el (find-function-C-source): Idem.
5572 * emacs-lisp/nadvice.el (advice--cd*r): New function.
5573 * help-fns.el (describe-function-1): Use it.
5575 2014-02-02 Glenn Morris <rgm@gnu.org>
5577 * register.el (register-preview-default): New function,
5578 split from register-preview.
5579 (register-preview-function): Rename from register-preview-functions,
5581 (register-preview): Use register-preview-function.
5582 (register-read-with-preview): Error on non-character event. (Bug#16595)
5584 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
5586 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5587 `:' before binary operators (bug#16609). Don't check for `:'
5588 before `[' and `(', or their syntax status. A percent literal
5589 can't end with either.
5590 (ruby-font-lock-keywords): For built-ins that require arguments,
5591 check that they're followed by something that looks like argument
5594 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
5596 * subr.el (butlast): Document what an omitted N means (bug#13437).
5599 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
5601 * net/shr.el (shr-generic): Make into a defsubst to make the stack
5602 depth shallower (bug#16587).
5603 (shr-tag-svg): Respect `shr-inhibit-images'.
5604 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5606 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
5608 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5609 (ruby-smie-grammar): Make "." right-associative. Make its priority
5610 lower than the ternary and all binary operators.
5611 (ruby-smie-rules): Indent "(" relative to the first non-"."
5612 parent, or the first "." parent at indentation.
5613 Use `ruby-align-chained-calls' for indentation of "." tokens.
5616 2014-01-31 Juri Linkov <juri@jurta.org>
5618 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5619 from `make-hash-table'.
5621 * textmodes/ispell.el (ispell-init-process): Change message format
5622 to be consistent with other messages.
5624 2014-01-31 Glenn Morris <rgm@gnu.org>
5626 * delsel.el (delete-selection-mode): Doc fix.
5628 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5629 (trace-function-background): Doc fixes.
5631 * ido.el (ido-use-virtual-buffers): Doc fix.
5632 Reset :version, since the default value has not changed.
5634 * register.el (register-preview-delay, register-read-with-preview):
5637 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5638 do not mess with mail-buffer position (fixes 2009-11-03 change).
5639 * progmodes/cc-mode.el (c-submit-bug-report):
5640 Check auto-fill-mode is bound. (Bug#16592)
5642 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
5644 * startup.el (fancy-splash-image-file): New function,
5645 split from fancy-splash-head.
5646 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5647 so that we are both using the same image. (Bug#16574)
5649 2014-01-30 Glenn Morris <rgm@gnu.org>
5651 * simple.el (eval-expression): Doc fix.
5653 * hexl.el (hexl-mode-hook):
5654 * ielm.el (ielm-mode-hook):
5655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5656 (lisp-interaction-mode-hook):
5657 * progmodes/cfengine.el (cfengine3-documentation-function):
5658 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5660 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
5662 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5663 is a symbol (bug#16584).
5665 2014-01-30 Glenn Morris <rgm@gnu.org>
5667 * help.el (help-for-help-internal): Add "P" to text.
5669 2014-01-29 Glenn Morris <rgm@gnu.org>
5671 * simple.el (just-one-space, cycle-spacing): Doc fixes.
5673 2014-01-28 Martin Rudalics <rudalics@gmx.at>
5675 * window.el (fit-frame-to-buffer): Fix calculations for margins and
5678 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
5680 * progmodes/hideif.el: Extend to full CPP expression syntax.
5681 (hif-token-alist): Add missing tokens.
5682 (hif-token-regexp): Add support for float/octal/hex immediates.
5683 (hif-string-literal-regexp): New const.
5684 (hif-tokenize): Recognize strings and float/octal/hex immediates.
5685 (hif-exprlist): New function.
5686 (hif-parse-if-exp): Use it.
5687 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5688 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5689 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5690 (hif-logxor, hif-comma): New functions.
5692 2014-01-28 Glenn Morris <rgm@gnu.org>
5694 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5696 * indent.el (tab-stop-list): Doc fix. Add :version.
5698 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5699 (cvs-append-to-ignore): Add compatibility alias.
5701 2014-01-27 Glenn Morris <rgm@gnu.org>
5703 * dired.el (dired-hide-details-mode): Don't autoload it,
5704 since it cannot be used outside Dired buffers anyway.
5706 * emulation/cua-base.el (cua-mode): Doc fix.
5708 * dired.el (dired-hide-details-hide-symlink-targets)
5709 (dired-hide-details-hide-information-lines)
5710 (dired-hide-details-mode): Doc fixes.
5712 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5713 * strokes.el (strokes-file): Doc fix. Bump :version.
5714 (strokes-help): Doc fix.
5715 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5716 * emulation/viper.el (viper): Doc fix for custom group.
5717 (top-level): Remove oh-so-no-longer-relevant text about vip.
5718 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5720 * ido.el (ido-save-directory-list-file):
5721 * saveplace.el (save-place-file):
5722 * calendar/timeclock.el (timeclock-file):
5723 * net/quickurl.el (quickurl-url-file):
5724 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5725 * progmodes/idlwave.el (idlwave-config-directory):
5726 * textmodes/remember.el (remember-data-file):
5729 2014-01-26 Glenn Morris <rgm@gnu.org>
5731 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5732 Doc fix. Make obsolete.
5733 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5735 * sort.el (delete-duplicate-lines): Doc fix.
5737 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5739 * progmodes/ada-mode.el (ada):
5740 * woman.el (woman): Link to info manual and Commentary section.
5742 * progmodes/flymake.el (flymake):
5743 * nxml/nxml-mode.el (nxml):
5745 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5746 * htmlfontify.el (htmlfontify):
5749 * ido.el (ido): Link to info manual.
5751 2014-01-25 Leo Liu <sdl.web@gmail.com>
5753 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5755 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
5757 * net/shr.el (shr-tag-img): Prefer the title over the alt text
5760 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
5762 * net/eww.el (eww-download-callback):
5763 Fix reference to eww-download-directory.
5765 * emacs-lisp/bytecomp.el (byte-compile-file):
5766 Remove unused local variable `file-name'.
5768 2014-01-24 Glenn Morris <rgm@gnu.org>
5770 * woman.el (woman-default-faces, woman-monochrome-faces):
5771 Fix obsolescence specification.
5773 * subr.el (with-demoted-errors): Doc fix.
5775 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5778 (cl--macroexp-fboundp): New function.
5779 (cl--make-type-test): Use it.
5781 2014-01-23 Glenn Morris <rgm@gnu.org>
5783 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5784 * simple.el (eval-expression): Doc fixes.
5786 2014-01-22 Glenn Morris <rgm@gnu.org>
5788 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5790 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * emacs-lisp/package.el: Write files silently.
5793 (package-autoload-ensure-default-file, package--write-file-no-coding)
5794 (package-generate-description-file, package--download-one-archive)
5795 (package-install-from-archive): Tell `write-region' to stay quiet.
5796 (package-menu-mode, package-menu--print-info): Omit the Archive column
5797 if there's only one archive.
5798 (package-all-keywords, package--has-keyword-p): Remove dead code.
5800 2014-01-22 Glenn Morris <rgm@gnu.org>
5802 * version.el (emacs-bzr-version-bzr): Fix typo.
5804 * version.el (emacs-repository-get-version):
5805 Check either .bzr or .git, but not both.
5806 Make the git case actually use the DIR argument, and return nil
5807 rather than the empty string.
5808 Avoid error if .git exists but the git executable is not found.
5810 2014-01-22 Martin Rudalics <rudalics@gmx.at>
5812 Fixes in window size functions around Bug#16430 and Bug#16470.
5813 * window.el (window-total-size, window-size): New argument ROUND.
5814 (window--min-delta-1, window-min-delta, window--max-delta-1):
5815 Be more conservative when calculating the numbers of lines or
5816 columns a window can shrink (Bug#16430).
5817 (fit-window-to-buffer): Simplify code.
5818 * term.el (term-window-width): Call window-body-width again.
5820 2014-01-22 Glenn Morris <rgm@gnu.org>
5822 * image.el (image-format-suffixes): Doc fix.
5824 * international/quail.el (quail-define-package): Doc fix.
5826 * emacs-lisp/authors.el (authors-valid-file-names)
5827 (authors-renamed-files-alist): Additions.
5829 * vc/vc-git.el (vc-git-print-log): Remove --follow;
5830 reverts 2014-01-09 change. (Bug#16422)
5832 * calc/calc-embed.el (thing-at-point-looking-at):
5833 * emacs-lisp/map-ynp.el (x-popup-dialog):
5834 * obsolete/lmenu.el (x-popup-dialog):
5835 * emacs-lisp/package.el (url-recreate-url):
5836 * mail/mailclient.el (clipboard-kill-ring-save):
5837 * subr.el (x-popup-dialog): Update declaration.
5838 * mail/rmail.el (rmail-mime-message-p):
5839 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5841 2014-01-21 Daniel Colascione <dancol@dancol.org>
5843 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5844 Correctly detect when we're inside an arithmetic expansion form
5845 containing nested parenthesis.
5846 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5847 to detect cases where we shouldn't expand "<<" to a heredoc
5850 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
5852 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5853 (eldoc--message-command-p): New function.
5854 (eldoc-display-message-p): Use it.
5855 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5856 message is not automatically erased for us.
5857 (eldoc-print-current-symbol-info): Erase previous message, if any.
5859 2014-01-21 Tassilo Horn <tsdh@gnu.org>
5861 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5862 specify it's an interactive function.
5864 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5865 Fix regex used for scanning for citation keys which failed for
5866 citations with optional arguments.
5868 2014-01-21 Leo Liu <sdl.web@gmail.com>
5870 * simple.el (read--expression): Don't enable eldoc-mode.
5872 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * simple.el (move-beginning-of-line): Make sure we don't move forward
5877 2014-01-20 Juri Linkov <juri@jurta.org>
5879 * saveplace.el (toggle-save-place, save-place-to-alist)
5880 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5881 'dired-mode) before checking for dired-directory. (Bug#16477)
5883 2014-01-20 Juri Linkov <juri@jurta.org>
5885 * indent.el (indent-line-to): Use backward-to-indentation
5886 instead of back-to-indentation. (Bug#16461)
5888 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
5890 Revert some of the CANNOT_DUMP fix (Bug#16494).
5891 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5892 but fixing this can wait until after the next release.
5893 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5895 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
5897 * eshell/esh-mode.el (eshell-password-prompt-regexp):
5898 Use `password-word-equivalents'.
5899 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5900 to t. (Bug#5664, Bug#13124)
5902 2014-01-19 Alan Mackenzie <acm@muc.de>
5904 Bind open-paren-in-column-0-is-defun-start to nil at some entry
5906 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5907 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5908 * progmodes/cc-mode.el (c-before-change, c-after-change)
5909 (c-font-lock-fontify-region): Bind it here.
5911 2014-01-19 Martin Rudalics <rudalics@gmx.at>
5913 * term.el (term-window-width): Call window-text-width instead of
5914 window-width (Bug#16470).
5916 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
5918 * simple.el (password-word-equivalents): Remove duplicates.
5919 Sort, to make this easier next time.
5920 Downcase. Omit ": " after "jelszó".
5922 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
5924 * term/common-win.el (saved-region-selection): Defvar it.
5925 (x-select-text): Set saved-region-selection (Bug#16382).
5927 2014-01-18 Glenn Morris <rgm@gnu.org>
5929 * emacs-lisp/authors.el (authors-aliases)
5930 (authors-renamed-files-alist): Add some entries.
5932 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
5934 * net/tramp.el (tramp-password-prompt-regexp):
5935 Use `password-word-equivalents' if available.
5936 (tramp-action-password, tramp-process-one-action)
5937 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
5939 2014-01-17 Chong Yidong <cyd@gnu.org>
5941 * simple.el (password-word-equivalents): New defcustom.
5942 * comint.el (comint-password-prompt-regexp): Use it. Bump version
5944 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
5947 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
5949 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
5950 (ruby-align-to-stmt-keywords): Change the default value.
5951 Use `ruby-alignable-keywords' to generate the possible customization
5953 (ruby-smie-rules): Instead of using a hardcoded list of alignable
5954 keywords, check against the value of `ruby-alignable-keywords'
5955 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
5957 2014-01-17 Glenn Morris <rgm@gnu.org>
5959 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
5961 Make M-x authors return zero *Authors Errors* from current logs.
5962 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
5963 (authors-ignored-files): Add some entries, remove others.
5964 (authors-ambiguous-files, authors-valid-file-names):
5966 (authors-renamed-files-alist): Add, remove, and adjust entries.
5967 (authors-renamed-files-regexps): Add some entries.
5968 Remove some very broad ones. Make some entries `lax'.
5969 (authors-lax-changelogs): New constant.
5970 (authors-disambiguate-file-name): Treat top-level specially.
5971 (authors-lax-changelog-p): New function.
5972 (authors-canonical-file-name): Check file as written against
5973 authors-valid-file-names. Do not special-case etc/.
5974 Handle `lax' logs and authors-renamed-files-regexps elements.
5976 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
5978 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
5979 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
5982 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
5985 Assume we're already in the proper buffer.
5986 Inspired by Anders Lindgren <andlind@gmail.com>.
5987 (follow-post-command-hook): Call it from the right buffer.
5988 (follow-comint-scroll-to-bottom): Adjust call.
5989 (follow-all-followers): Use get-buffer-window-list.
5991 2014-01-15 Daniel Colascione <dancol@dancol.org>
5993 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
5994 `buffer-file-name' in interactive-form so that we don't leave
5995 pathless file names in `file-name-history'.
5997 2014-01-15 Juri Linkov <juri@jurta.org>
5999 * indent.el (indent-rigidly): Set deactivate-mark to nil
6000 in transient indentation mode. (Bug#16438)
6002 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6004 * emacs-lisp/package.el (package-desc-keywords): New function
6006 (describe-package-1, package-all-keywords)
6007 (package--has-keyword-p): Use it.
6009 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6011 * simple.el (define-alternatives): When creating the
6012 COMMAND-alternatives variable, assign COMMAND as its definition
6013 name so that `describe-variable' can relocate it.
6015 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
6017 * font-lock.el (font-lock-keywords): Fix typo in docstring
6020 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6022 * ispell.el (ispell-region): Reset `in-comment' for new line
6023 instead of wrongly reset `add-coment' (bug#13577).
6025 2014-01-14 Daiki Ueno <ueno@gnu.org>
6027 * epa-file.el (epa-file-write-region): Encode the region according
6028 to `buffer-file-format'. Problem reported at:
6029 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6031 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6033 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6034 so it applies in the right buffer (bug#16410).
6036 2014-01-13 Daniel Colascione <dancol@dancol.org>
6038 * textmodes/rst.el (rst-define-key): Provide deprecated
6039 keybindings through named functions instead of anonymous ones so
6040 that "??" doesn't appear in describe-mode output.
6042 2014-01-13 Bastien Guerry <bzg@gnu.org>
6044 * simple.el (define-alternatives): Call the selected command
6045 interactively. When setting `COMMAND--implementation' for the
6046 first time, tell the user how to chose another implementation.
6047 Enhance the docstring.
6049 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6052 (log-edit--match-first-line): New function.
6053 (log-edit-font-lock-keywords): Use it.
6054 (log-edit-mode): Make jit-lock-defer-multiline work.
6056 2014-01-13 Bastien Guerry <bzg@gnu.org>
6058 * rect.el (rectangle-mark-mode): When the region is not active,
6059 display a message saying that the mark as been set and that
6060 rectangle mode is in use.
6061 (rectangle--highlight-for-redisplay): Only put an overlay with a
6062 visible vertical bar when (display-graphic-p) is non-nil.
6063 This partially fixes Bug#16403.
6065 2014-01-13 Juri Linkov <juri@jurta.org>
6067 * info.el (Info-find-file): Go to DIR before displaying the error
6068 about a nonexistent file if no previous Info file is visited.
6069 Use `user-error' instead of `error' for "Info file %s does not exist".
6070 (Info-find-node-2): In case of a nonexistent node in unwind forms
6071 go to the Top node if there is no previous node to revert to.
6074 2014-01-13 Martin Rudalics <rudalics@gmx.at>
6076 fit-frame/window-to-buffer code fixes including one for Bug#14096.
6077 * window.el (fit-frame-to-buffer): Fix doc-string.
6078 Respect window-min-height/-width. Fit pixelwise when
6079 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
6080 when avoiding that frame goes partially off-screen.
6081 (fit-window-to-buffer): Respect window-min-height/-width
6084 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6087 after an empty line.
6089 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * net/shr.el (shr-render-region): Autoload.
6093 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
6095 * net/eww.el (eww-download-directory): Rename from
6096 `eww-download-path' (Bug#16419).
6098 2014-01-12 Leo Liu <sdl.web@gmail.com>
6100 * dired-x.el (dired-mode-map): Fix last change.
6102 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6104 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
6107 * emacs-lisp/generic.el (generic--normalize-comments):
6108 Rename from generic--normalise-comments. All uses changed.
6109 * play/bubbles.el (bubbles--neighborhood-score)
6110 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6111 (bubbles--neighborhood-available)
6112 (bubbles--update-neighborhood-score):
6113 Rename from names with 'neighbourhood'. All uses changed.
6115 2014-01-12 Leo Liu <sdl.web@gmail.com>
6117 Re-implement the feature of showing eldoc info after editing.
6118 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6119 (eldoc-edit-message-commands): New function.
6120 (eldoc-print-after-edit): New variable.
6121 (eldoc-pre-command-refresh-echo-area): Emit message only by
6122 eldoc-message-commands.
6123 (eldoc-mode): Restrict eldoc-message-commands to editing commands
6124 if eldoc-print-after-edit is set. (Bug#16346)
6125 * simple.el (read--expression): Enable eldoc-mode.
6126 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6128 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
6129 Eric S. Raymond <esr@thyrsus.com>
6131 * version.el (emacs-repository-get-version): Enhance so the
6132 function works correctly in either a Bazaar or Git repo.
6134 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
6136 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6137 Goes with removal of the joke manpages from /etc.
6139 2014-01-10 Kenichi Handa <handa@gnu.org>
6141 * mail/rmail.el (rmail-get-coding-system):
6142 Check rmail-get-coding-function before "funcall"ing it.
6144 2014-01-10 Glenn Morris <rgm@gnu.org>
6146 * emacs-lisp/authors.el (authors-fixed-entries):
6147 Update for files that no longer exist.
6149 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
6151 * version.el (emacs-bzr-get-version): Restore compatibilty with
6154 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
6156 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6159 2014-01-10 Eli Zaretskii <eliz@gnu.org>
6161 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6163 2014-01-10 Chong Yidong <cyd@gnu.org>
6165 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6167 2014-01-10 Anders Lindgren <andlind@gmail.com>
6169 * follow.el (follow-cache-command-list): Include right-char and
6172 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
6175 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6176 * woman.el (woman-mark-horizontal-position):
6177 Rename from woman-mark-horizonal-position. Use changed.
6179 2014-01-10 Glenn Morris <rgm@gnu.org>
6181 * info.el (info-initialize): If running uninstalled, ensure our
6182 own info files are always found first, even if INFOPATH is set.
6184 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6186 2014-01-09 David Engster <deng@randomsample.de>
6188 * emacs-lisp/eieio-custom.el:
6189 * emacs-lisp/eieio-opt.el: Set generated autoload file to
6190 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6191 * emacs-lisp/eieio.el: Regenerate autoloads.
6193 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
6195 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6196 following renames. (Bug#8756)
6198 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6202 (activate-mark): Add `no-tmm' argument.
6203 (set-mark, push-mark-command): Use it instead of running
6204 activate-mark-hook by hand.
6206 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
6208 In preparation for the move to git, sanitize out some
6209 Bazaar-specific names.
6211 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6213 * version.el (emacs-bzr-version): Name changed to
6214 emacs-repository-version. Obsolete-variable alias made.
6215 * loadup.el: Follow through on this name change.
6216 * mail/emacsbug.el (report-emacs-bug): Factor out any
6217 assumption about the version control system in use.
6219 2014-01-08 David Engster <deng@randomsample.de>
6221 * help-fns.el (help-fns-describe-function-functions):
6222 New variable to call functions for augmenting help buffers.
6223 (describe-function-1): Remove explicit calls to
6224 `help-fns--compiler-macro', `help-fns--parent-mode' and
6225 `help-fns--obsolete'. Put them in above new variable instead, and
6226 call them through `run-hook-with-args'.
6227 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6228 `eieio-describe-class'. Not meant for interactive use anymore,
6229 but to augment existing help buffers. Remove optional second
6230 argument. Create proper button for file location.
6231 Rewrite function to use `insert' instead of `princ' and `prin1' where
6233 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6234 (eieio-method-def, eieio-class-def): Move further up.
6235 (describe-method, describe-generic, eieio-describe-method):
6237 (eieio-help-constructor, eieio-help-generic): Rename from
6238 `eieio-describe-constructor' and `eieio-describe-generic', resp.
6239 Rewrite to use `insert' in the current buffer and use proper help
6241 (eieio-help-find-method-definition)
6242 (eieio-help-find-class-definition): Also accept symbols as
6244 (eieio-help-mode-augmentation-maybee): Remove.
6245 (eieio-describe-class-sb): Use `describe-function'.
6246 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6247 Add `eieio-help-generic' and `eieio-help-constructor'.
6249 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
6252 * language/china-util.el (hz-ascii-designation):
6253 Rename from hz-ascii-designnation.
6254 (hz-ascii-designation): Rename from hz-ascii-designnation.
6257 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6262 2014-01-08 Bastien Guerry <bzg@gnu.org>
6264 * emacs-lisp/package.el (package-delete):
6265 Correctly delete the package from package-alist.
6267 2014-01-08 Daiki Ueno <ueno@gnu.org>
6269 * emacs-lisp/package.el (url-recreate-url): Declare.
6270 (url-http-target-url): Declare.
6271 (package-handle-response): Include requested URL in the error message.
6272 (package--check-signature): Don't re-signal errors from
6273 package--with-work-buffer. Suggested by Stefan Monnier.
6275 2014-01-07 Bastien Guerry <bzg@gnu.org>
6277 * minibuffer.el (completion--try-word-completion): When both a
6278 hyphen and a space are possible candidates for the character
6279 following a word, display both candidates. (Bug#15980)
6281 2014-01-07 Martin Rudalics <rudalics@gmx.at>
6283 * window.el (balance-windows-2): While rounding don't give a
6284 window more than the remainder. Bug#16351, bug#16383.
6286 2014-01-07 Glenn Morris <rgm@gnu.org>
6288 * menu-bar.el (menu-bar-help-extra-packages): Remove.
6289 (menu-bar-help-menu): Use view-external-packages instead.
6291 2014-01-07 Bastien Guerry <bzg@gnu.org>
6293 * emacs-lisp/package.el (package-delete): Also delete the package
6294 name from `package-alist', not its description only.
6296 2014-01-07 Glenn Morris <rgm@gnu.org>
6298 * help.el (view-external-packages):
6299 * menu-bar.el (menu-bar-help-extra-packages):
6300 Visit efaq.info rather than etc/MORE.STUFF.
6302 2014-01-07 Juri Linkov <juri@jurta.org>
6304 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6305 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
6307 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6308 that shadows RET. (Bug#16342)
6310 2014-01-07 Chong Yidong <cyd@gnu.org>
6312 * isearch.el (isearch-yank-char, isearch-yank-word)
6313 (isearch-yank-line): Doc fix.
6315 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6317 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6318 * emacs-lisp/elint.el (elint-find-builtins):
6319 * emacs-lisp/eldoc.el (eldoc-symbol-function):
6320 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6321 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6322 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6323 * apropos.el (apropos-safe-documentation):
6324 * subr.el (symbol-file): Remove redundant fboundp.
6325 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6327 2014-01-06 Bastien Guerry <bzg@gnu.org>
6329 * hl-line.el (global-hl-line-overlay): Make a local variable.
6330 (global-hl-line-overlays): New variable to store all overlays.
6331 (global-hl-line-mode): Don't delete overlays from the current
6332 buffer when `global-hl-line-sticky-flag' is non-nil.
6333 (global-hl-line-highlight): Add new overlays to
6334 `global-hl-line-overlays'.
6335 (global-hl-line-unhighlight-all): New function to delete all
6336 overlays when turning off `global-hl-line-mode'.
6337 This fixes Bug#16183.
6339 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * subr.el (set-transient-map): Fix nested case and docstring.
6343 2014-01-06 Tassilo Horn <tsdh@gnu.org>
6345 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6348 2014-01-06 Daniel Colascione <dancol@dancol.org>
6350 Fix defun navigation in vc log view.
6352 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6353 like `beginning-of-defun'.
6354 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6355 log-view-end-of-defun to log-view-end-of-defun-1. Replace
6356 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6357 (log-view-extract-comment): Call `log-view-current-entry' directly
6358 instead of relying on broken `log-view-beginning-of-defun' behavior.
6360 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
6363 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6364 * emacs-lisp/debug.el (cancel-debug-on-entry):
6365 * epg.el (epg-error-to-string):
6366 * files.el (recover-file):
6367 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6368 * mail/emacsbug.el (report-emacs-bug-hook):
6369 * mail/sendmail.el (mail-recover):
6370 * ses.el (ses-yank-resize):
6371 * term/ns-win.el (ns-print-buffer):
6372 Spelling fixes in diagnostics, mostly for "canceled" with one L.
6373 * epg.el (epg-key-capability-alist): Rename from misspelled version.
6375 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6377 2014-01-06 Leo Liu <sdl.web@gmail.com>
6379 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6380 to avoid shadowing global key. (Bug#16354)
6382 2014-01-06 Daniel Colascione <dancol@dancol.org>
6384 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6387 2014-01-05 Martin Rudalics <rudalics@gmx.at>
6389 * window.el (balance-windows): Add mising t to fix Bug#16351.
6391 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6393 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6395 (shr-insert): If we have a word that's longer than `shr-width',
6396 break after it anyway. Otherwise we'll do no breaking once we get
6399 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6401 * net/eww.el (eww): Support single/double quote for search.
6402 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6403 (eww-history-quit): Delete and use quit-window.
6404 (eww-history-kill): Delete, because it doesn't work well and
6406 (eww-history-mode-map): Delete some keys and add easy-menu.
6408 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
6410 Fix misspelling of 'chinese' in rx (Bug#16237).
6411 * emacs-lisp/rx.el (rx-categories): Correct spelling of
6414 Change subword regexps back to vars (Bug#16296).
6415 * progmodes/subword.el (subword-forward-regexp)
6416 (subword-backward-regexp): Change these back to variables.
6418 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
6420 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6421 syntax-begin-function (bug#16247).
6423 2014-01-03 Chong Yidong <cyd@gnu.org>
6425 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6426 (advice--docstring): Delete variable.
6427 (advice--make-1): Leave the docstring empty.
6428 (advice-add): Use function-documentation for advised docstring.
6430 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6431 Ignore function-documentation property when getting documentation.
6432 (ad-activate-advised-definition): Use function-documentation
6433 generate the docstring.
6434 (ad-make-advised-definition): Don't call
6435 ad-make-advised-definition-docstring.
6436 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6439 * progmodes/sql.el (sql-help): Use function-documentation instead
6440 of dynamic-docstring-function property. No need to autoload now.
6441 (sql--help-docstring): New variable.
6442 (sql--make-help-docstring): Use it.
6444 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
6446 * ielm.el (ielm-tab): Retarget.
6447 (ielm-map): Use ielm-tab for tab.
6448 (ielm-complete-filename): Use comint-filename-completion.
6449 (ielm-complete-symbol): Remove.
6450 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6451 remove ielm-tab from completion-at-point-functions (bug#16224).
6453 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6454 Beware signals raised by predicates (bug#16201).
6456 2014-01-02 Richard Stallman <rms@gnu.org>
6458 * dired-aux.el (dired-do-print): Handle printer-name.
6460 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6461 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6462 (rmail-epa-decrypt): Turn off mime processing.
6464 * mail/rmail.el (rmail-make-in-reply-to-field):
6465 Add parens in message-id.
6467 * mail/rmail.el (rmail-get-coding-function): Variable.
6468 (rmail-get-coding-system): Use it.
6470 2013-12-31 Eli Zaretskii <eliz@gnu.org>
6472 * international/mule-conf.el: Unify the charset indian-is13194.
6473 (indian-is13194): Specify unify-map.
6475 2013-12-31 Leo Liu <sdl.web@gmail.com>
6477 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
6479 2013-12-30 Daniel Colascione <dancol@dancol.org>
6481 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6482 of printing a useless when we resume from sleep.
6484 * progmodes/sh-script.el
6485 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6486 in indentation code. (Bug#16233)
6488 2013-12-28 João Távora <joaotavora@gmail.com>
6490 * elec-pair.el (electric-pair-post-self-insert-function):
6491 Don't open extra newlines at beginning of buffer. (Bug#16272)
6493 2013-12-28 Eli Zaretskii <eliz@gnu.org>
6495 * frame.el (window-system-for-display): Don't allow to create a
6496 GUI frame from a -nw session on MS-Windows. (Bug#14739)
6498 2013-12-28 Glenn Morris <rgm@gnu.org>
6500 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6503 * apropos.el (apropos-match-face):
6504 * calculator.el (calculator-displayer):
6505 * dabbrev.el (dabbrev-search-these-buffers-only):
6506 * face-remap.el (buffer-face-mode-face):
6507 * simple.el (yank-handled-properties):
6508 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6509 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6510 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6511 (hashcash-double-spend-database):
6512 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6513 (ruby-deep-indent-paren-style):
6514 * textmodes/flyspell.el (flyspell-auto-correct-binding):
6515 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6516 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6517 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6518 Specify custom types.
6520 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6521 * bookmark.el (bookmark-bmenu-use-header-line):
6522 * doc-view.el (doc-view-scale-internally):
6523 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6524 * register.el (register-preview-delay):
6525 * net/shr.el (shr-bullet):
6526 * progmodes/cfengine.el (cfengine-cf-promises)
6527 (cfengine-parameters-indent):
6528 * progmodes/octave.el (inferior-octave-error-regexp-alist):
6529 * textmodes/reftex-vars.el (reftex-label-regexps):
6530 * vc/log-edit.el (log-edit-setup-add-author): Add version.
6532 * net/tls.el (tls-certtool-program): Fix default value.
6534 * desktop.el (desktop-restore-in-current-display):
6535 * newcomment.el (comment-empty-lines):
6536 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6537 (idlwave-pad-keyword):
6538 * progmodes/tcl.el (tcl-tab-always-indent):
6539 * textmodes/reftex-vars.el (reftex-index-default-tag):
6540 * elec-pair.el (electric-pair-skip-whitespace):
6541 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6543 * emacs-lisp/authors.el (authors-ignored-files)
6544 (authors-valid-file-names, authors-renamed-files-alist): Additions.
6546 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
6548 * shell.el (shell-dynamic-complete-command): Doc fix.
6549 (shell--command-completion-data): Shell completion now matches
6550 executable filenames from the current buffer's directory, on
6551 systems in which this behavior is the default (windows-nt, ms-dos).
6553 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
6555 * net/shr.el (shr-insert): Don't infloop if the width is zero.
6557 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6562 * electric.el: Move all electric-pair-* to elec-pair.el.
6563 * elec-pair.el: New file, split from electric.el.
6565 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
6567 * net/shr.el (shr-find-fill-point): Don't try to fill if the
6568 indentation level is larger than the width, because that will
6570 (shr-insert): Fill repeatedly long texts, so that Japanese is
6571 formatted correctly (bug#16263).
6572 (shr-find-fill-point): Off by one error in comparison with the
6575 2013-12-26 João Távora <joaotavora@gmail.com>
6577 * electric.el (electric-pair-mode): More flexible engine for skip-
6578 and inhibit predicates, new options for pairing-related functionality.
6579 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6580 if that keeps or improves their balance in buffers.
6581 (electric-pair-delete-adjacent-pairs): Delete the pair when
6582 backspacing over adjacent matched delimiters.
6583 (electric-pair-open-extra-newline): Open extra newline when
6584 inserting newlines between adjacent matched delimiters.
6585 (electric--sort-post-self-insertion-hook):
6586 Sort post-self-insert-hook according to priority values when
6587 minor-modes are activated.
6588 * simple.el (newline-and-indent): Call newline with interactive
6590 (blink-paren-post-self-insert-function): Set priority to 100.
6591 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6592 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6593 comments. Locally set electric-pair-skip-whitespace to 'chomp and
6594 electric-pair-open-newline-between-pairs to nil.
6596 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6598 * progmodes/python.el: Use lexical-binding.
6599 (python-nav-beginning-of-defun): Stop searching ASAP.
6601 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
6603 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6604 Fix interactive spec. Doc fix. (Bug#15754)
6606 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
6608 * emacs-lisp/byte-run.el (eval-when-compile):
6609 * progmodes/cc-defs.el (cc-eval-when-compile):
6610 Fix edebug spec (bug#16184).
6612 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
6614 * net/shr.el (shr-visit-file): Remove debugging function.
6615 (shr-insert): Don't infloop if we can't find a good place to break
6616 the line (bug#16256).
6618 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
6620 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6621 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
6622 python-nav-lisp-forward-sexp-safe.
6623 (python-nav--forward-sexp): New argument SAFE allows switching
6624 forward sexp movement behavior for parens.
6625 (python-nav-forward-sexp): Throw errors on unterminated parens
6627 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6628 (python-nav-backward-sexp-safe): New functions.
6629 (python-shell-buffer-substring):
6630 Use `python-nav-forward-sexp-safe'.
6632 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
6634 * net/shr.el (shr-find-fill-point): Don't break lines before a
6636 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6637 (shr-find-fill-point): Remove the special checks for the quotation
6638 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6640 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6642 * net/eww.el (eww-form-textarea): Use a different face for
6643 textareas than text input since they have different keymaps
6646 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
6648 * progmodes/python.el (python-nav-beginning-of-statement):
6649 Speed up (Bug#15295).
6651 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6653 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6654 the window configuration.
6656 2013-12-24 Eli Zaretskii <eliz@gnu.org>
6658 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6659 we run on MS-Windows or MS-DOS.
6661 2013-12-24 Martin Rudalics <rudalics@gmx.at>
6663 * window.el (balance-windows-area): Call window-size instead of
6664 window-height and window-width. Bug#16241.
6666 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6668 * net/eww.el (eww-bookmark-quit): Remove.
6669 (eww-bookmark-browse): Restore the window configuration when you
6670 choose a bookmark (bug#16144).
6672 2013-12-24 Daniel Colascione <dancol@dancol.org>
6674 * icomplete.el: Remove redundant :group arguments to `defcustom'
6676 (icomplete-show-matches-on-no-input): New customizable variable.
6677 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6678 we have something to show.
6679 (icomplete-exhibit): Compute completions even if we have no user input.
6681 2013-12-23 Daniel Colascione <dancol@dancol.org>
6683 * icomplete.el: Move `provide' to end of file.
6685 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
6687 * net/gnutls.el (gnutls-verify-error): Add version tag.
6689 2013-12-23 Chong Yidong <cyd@gnu.org>
6691 * subr.el (set-transient-map): Rename from
6692 set-temporary-overlay-map. Doc fix.
6694 * face-remap.el (text-scale-adjust):
6695 * indent.el (indent-rigidly):
6696 * kmacro.el (kmacro-call-macro):
6697 * minibuffer.el (minibuffer-force-complete):
6698 * repeat.el (repeat):
6699 * simple.el (universal-argument--mode):
6700 * calendar/todo-mode.el (todo-insert-item--next-param):
6701 * progmodes/f90.el (f90-abbrev-start): Callers changed.
6703 * indent.el (indent-rigidly): Use substitute-command-keys.
6705 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6707 * net/eww.el (eww-tag-select): Add text-property to jump to next
6709 (eww): Add non-supported ftp error.
6711 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6713 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6714 comments. Handle electric indent after typing `?' and `!'.
6716 2013-12-22 Chong Yidong <cyd@gnu.org>
6718 * faces.el (face-spec-recalc): If the theme specs are not
6719 applicable to a frame, fall back on the defface spec.
6720 This prevents themes from obliterating faces on low-color terminals.
6722 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6724 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6725 after `{'. We need it after block openers, and it doesn't seem
6726 to hurt after hash openers.
6728 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6730 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6731 extracted from `ruby-smie-rules'.
6732 (ruby--electric-indent-chars): New variable.
6733 (ruby--electric-indent-p): New function.
6734 (ruby-mode): Use `electric-indent-functions' instead of
6735 `electric-indent-chars'.
6737 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6739 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6741 (ruby-smie-rules): Indent plus one level after `=>'.
6743 2013-12-21 Richard Stallman <rms@gnu.org>
6745 * simple.el (newline): Doc fix.
6747 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6749 * net/eww.el (eww-list-histories, eww-list-histories)
6750 (eww-history-browse, eww-history-quit, eww-history-kill)
6751 (eww-history-mode-map, eww-history-mode): New command and
6752 functions to list browser histories.
6753 (eww-form-text): Support text form with disabled
6754 and readonly attributes.
6755 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6757 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6759 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6760 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6761 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6762 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6764 (eww-bookmark-mode-map): Add menu.
6765 (eww-render, eww-mode): Use `setq-local'.
6766 (eww-tool-bar-map): New variable.
6767 (eww-mode): Set `tool-bar-map'.
6768 (eww-view-source): Check for `html-mode' with `fboundp'.
6770 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6772 * net/shr.el (shr--extract-best-source): Don't bug out on audio
6773 elements with text inside. Also remove debugging.
6775 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
6777 * cus-start.el (all): Add ns-use-srgb-colorspace.
6779 2013-12-21 Chong Yidong <cyd@gnu.org>
6781 * custom.el (custom-theme-recalc-face): Do nothing if the face is
6782 undefined. Thus, theme settings for undefined faces do not take
6783 effect until the faces are defined with defface, the same as with
6786 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6787 (face-spec-reset-face): Don't assign extra properties in temacs.
6788 (face-spec-recalc): Apply X resources too.
6790 2013-12-21 Chong Yidong <cyd@gnu.org>
6792 * faces.el (face-spec-set):
6793 * cus-face.el (custom-theme-set-faces, custom-set-faces):
6794 * custom.el (defface): Doc fixes (Bug#16203).
6796 * indent.el (indent-rigidly-map): Add docstring, and move commands
6797 into named functions.
6798 (indent-rigidly-left, indent-rigidly-right)
6799 (indent-rigidly-left-to-tab-stop)
6800 (indent-rigidly-right-to-tab-stop): New functions. Decide on
6801 indentation direction based on bidi direction, and accumulate
6802 sequential commands in a single undo boundary.
6803 (indent-rigidly--pop-undo): New utility function.
6805 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
6807 * faces.el (read-face-name): Require crm.el when using crm-separator.
6809 2013-12-20 Daniel Colascione <dancol@dancol.org>
6811 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6812 so that we don't reflow comments into the shebang line.
6814 2013-12-20 Juri Linkov <juri@jurta.org>
6816 * saveplace.el (save-place-to-alist): Add `dired-filename' as
6817 a position when `dired-directory' is non-nil. Check integer
6818 positions with `integerp'.
6819 (toggle-save-place, save-places-to-alist): Add check for
6821 (save-place-find-file-hook): Check integer positions with
6823 (save-place-dired-hook): Use `dired-goto-file' when
6824 `dired-filename' is found in the assoc list. Check integer
6825 positions with `integerp'.
6826 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6828 * dired.el (dired-initial-position-hook): Rename back from
6829 `dired-initial-point-hook'.
6830 (dired-initial-position): Rename `dired-initial-point-hook' to
6831 `dired-initial-position-hook'.
6832 (dired-file-name-at-point): Doc fix. (Bug#15329)
6834 2013-12-20 Juri Linkov <juri@jurta.org>
6836 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6837 (read-regexp-suggestions): New function.
6838 (read-regexp): Use `read-regexp-defaults-function' to get default values.
6839 Use `read-regexp-suggestions'. Add non-empty default to history
6841 (occur-read-regexp-defaults-function): Remove function.
6842 (occur-read-primary-args): Use `regexp-history-last' instead of
6843 `occur-read-regexp-defaults-function'.
6845 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6846 (hi-lock-line-face-buffer, hi-lock-face-buffer)
6847 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6848 `hi-lock-read-regexp-defaults-function'. Doc fix.
6849 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6850 with `find-tag-default-as-symbol-regexp'. Doc fix.
6851 (hi-lock-read-regexp-defaults): Remove function.
6852 (hi-lock-regexp-okay): Add check for null.
6854 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6855 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
6857 * subr.el (find-tag-default-as-symbol-regexp): New function.
6858 (find-tag-default-as-regexp): Move symbol regexp formatting to
6859 `find-tag-default-as-symbol-regexp'.
6861 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
6863 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6866 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
6868 * calendar/todo-mode.el: New implementation of item insertion
6869 commands and key bindings.
6870 (todo-key-prompt): New face.
6871 (todo-insert-item): New command.
6872 (todo-insert-item--parameters): New defconst, replacing defvar
6873 todo-insertion-commands-args-genlist.
6874 (todo-insert-item--param-key-alist): New defconst, replacing
6875 defvar todo-insertion-commands-arg-key-list.
6876 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6877 (todo-insert-item--argsleft, todo-insert-item--apply-args)
6878 (todo-insert-item--next-param): New functions.
6879 (todo-insert-item--args, todo-insert-item--argleft)
6880 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6882 (todo-key-bindings-t): Change binding of "i" from
6883 todo-insertion-map to todo-insert-item.
6884 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6885 (todo-insertion-command-name, todo-insertion-commands-names)
6886 (todo-define-insertion-command, todo-insertion-commands)
6887 (todo-insertion-key-bindings, todo-insertion-map): Remove.
6889 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
6891 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6892 (todo-toggle-item-highlighting): Use eval-and-compile instead of
6894 (todo-move-category): Allow choosing a non-existing todo file to
6895 move the category to, and create that file.
6896 (todo-default-priority): New user option.
6897 (todo-set-item-priority): Use it.
6898 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6899 (desktop-restore-file-buffer): Declare.
6900 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6901 (todo-modes-set-2): Locally set desktop-save-buffer to
6902 todo-desktop-save-buffer.
6903 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6904 (auto-mode-alist): Add autoload cookie.
6906 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
6908 * emacs-lisp/subr-x.el: Renamed from helpers.el.
6909 helpers.el was a poor choice of name.
6910 (string-remove-prefix): New function.
6911 (string-remove-suffix): New function.
6913 2013-12-20 Martin Rudalics <rudalics@gmx.at>
6915 Fix assignment for new window total sizes.
6916 * window.el (window--pixel-to-size): Remove function.
6917 (window--pixel-to-total-1, window--pixel-to-total):
6918 Fix calculation of new total sizes.
6920 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
6922 * comint.el (comint-output-filter): Fix rear-nonsticky property
6923 placement (Bug#16010).
6925 2013-12-20 Chong Yidong <cyd@gnu.org>
6927 * faces.el (read-color): Minor fix for completion function.
6929 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
6931 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6932 New option. (Bug#16182)
6933 (ruby-smie--indent-to-stmt-p): Use it.
6934 (ruby-smie-rules): Revert the logic in the handling of `when'.
6935 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6936 (ruby-deep-arglist, ruby-deep-indent-paren)
6937 (ruby-deep-indent-paren-style): Update docstrings to note that the
6938 vars don't have any effect with SMIE.
6940 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
6942 * calc/calc.el (calc-enter, calc-pop): Use the variable
6943 `calc-context-sensitive-enter'.
6945 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6947 * net/shr.el (shr-insert): Protect against infloops in degenerate
6950 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6952 * progmodes/octave.el (octave): Add link to manual and octave
6954 (octave-mode-menu): Link to octave-mode manual.
6956 2013-12-20 Leo Liu <sdl.web@gmail.com>
6958 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
6959 insertion using skeleton-end-newline. (Bug#16138)
6961 2013-12-20 Juri Linkov <juri@jurta.org>
6963 * replace.el (occur-engine): Use `add-face-text-property'
6964 to add the face property to matches and titles. (Bug#14645)
6966 * hi-lock.el (hi-green): Use lighter color "light green" closer to
6967 the palette of other hi-lock colors.
6968 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
6970 2013-12-19 Juri Linkov <juri@jurta.org>
6972 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
6973 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
6974 (minibuffer-history-symbol): Move variable declaration closer to
6977 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
6980 2013-12-19 Juri Linkov <juri@jurta.org>
6982 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
6984 (log-edit-hook): Add it to :options. (Bug#16170)
6986 2013-12-19 Juri Linkov <juri@jurta.org>
6988 * simple.el (eval-expression-print-format): Don't check for
6989 command names and the last command. Always display additional
6990 formats of the integer result in the echo area, and insert them
6991 to the current buffer only with a zero prefix arg.
6992 Display character when char-displayable-p is non-nil.
6993 (eval-expression): With a zero prefix arg, set `print-length' and
6994 `print-level' to nil, and insert the integer values from
6995 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
6997 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
6998 `eval-last-sexp-arg-internal'. Doc fix.
6999 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7000 `eval-last-sexp-print-value'. Doc fix.
7001 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7002 Set `print-length' and `print-level' to nil when arg is zero.
7003 (eval-last-sexp): Doc fix.
7004 (eval-defun-2): Print the integer values from
7005 `eval-expression-print-format' at the end.
7007 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7008 values from `eval-expression-print-format' at the end.
7010 * ielm.el (ielm-eval-input): Print the integer
7011 values from `eval-expression-print-format' at the end.
7013 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7015 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7016 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7018 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7020 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7021 (hl-line-highlight, global-hl-line-highlight): Use it.
7022 (hl-line-overlay): Use defvar-local.
7024 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7026 * term/ns-win.el: Require dnd.
7027 (global-map): Remove drag items.
7028 (ns-insert-text, ns-set-foreground-at-mouse)
7029 (ns-set-background-at-mouse):
7030 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7031 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7034 2013-12-19 Glenn Morris <rgm@gnu.org>
7036 * emacs-lisp/ert.el (ert-select-tests):
7037 Fix string/symbol mixup. (Bug#16121)
7039 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7041 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7042 keywords to their parent.
7044 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7046 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7047 first arg to be a string (fixed dead code), or an operator symbol.
7048 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7050 (ruby-smie-rules): Remove parent token check in the `.' clause, it
7051 did nothing. Don't respond to `(:after ".")', it will be called
7052 with :before anyway. Remove the ` @ ' rule, it didn't seem to
7053 change anything. Only return indentation for binary operators
7054 when they are hanging. De-dent opening paren when its parent is
7055 `.', otherwise it looks bad when the dot is not at bol or eol
7058 2013-12-19 Juri Linkov <juri@jurta.org>
7060 * replace.el (query-replace-read-args): Split a non-negative arg
7061 and a negative arg into separate elements.
7062 (query-replace, query-replace-regexp, replace-string)
7063 (replace-regexp): Add arg `backward'. Doc fix.
7064 (replace-match-maybe-edit): When new arg `backward' is non-nil,
7065 move point to the beginning of the match.
7066 (replace-search, replace-highlight): Use new arg `backward'
7067 to set the value of `isearch-forward'.
7068 (perform-replace): Add arg `backward' and use it to perform
7069 replacement backward. (Bug#14979)
7071 * isearch.el (isearch-query-replace): Use a negative prefix arg
7072 to call `perform-replace' with a non-nil arg `backward'.
7074 2013-12-18 Juri Linkov <juri@jurta.org>
7076 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7077 to the default list. Move `log-edit-show-files' to the end.
7078 Add more available functions to options.
7079 (log-edit): Move default specific settings to
7080 `log-edit-insert-message-template'. Don't move point.
7081 (log-edit-insert-message-template): New function.
7082 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7085 2013-12-18 Juri Linkov <juri@jurta.org>
7087 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7088 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
7090 2013-12-18 Leo Liu <sdl.web@gmail.com>
7092 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7095 2013-12-18 Eli Zaretskii <eliz@gnu.org>
7097 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7098 formats for displaying file sizes when the -s switch is given.
7099 Instead, compute a separate format for displaying the size in
7100 blocks, which is displayed in addition to the "regular" size.
7101 When -h is given in addition to -s, produce size in blocks in
7102 human-readable form as well. (Bug#16179)
7104 2013-12-18 Tassilo Horn <tsdh@gnu.org>
7106 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7107 Reference tables with ~\ref{...} instead of only \ref{...}.
7109 2013-12-18 Chong Yidong <cyd@gnu.org>
7111 * cus-edit.el (custom-magic-alist): Fix "themed" description
7114 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7115 is non-nil, do not create a new entry in the symbol's theme-value
7116 or theme-face property; update theme-settings only (Bug#14664).
7117 (custom-available-themes): Doc fix.
7119 * cus-theme.el (custom-new-theme-mode-map): Add bindings
7122 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7124 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7126 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7129 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7131 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7133 2013-12-18 Glenn Morris <rgm@gnu.org>
7135 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7136 * cus-start.el (load-prefer-newer): New option.
7138 2013-12-18 Le Wang <l26wang@gmail.com>
7140 * comint.el (comint-previous-matching-input-from-input):
7141 Retain point (Bug#13404).
7143 2013-12-18 Chong Yidong <cyd@gnu.org>
7145 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7147 2013-12-18 Glenn Morris <rgm@gnu.org>
7149 * mail/emacsbug.el (report-emacs-bug):
7150 Only mention enable-multibyte-characters if non-standard.
7152 2013-12-17 Juri Linkov <juri@jurta.org>
7154 * arc-mode.el (archive-extract-by-file): Check if directory exists
7155 before deletion to not show irrelevant errors if it doesn't exist.
7157 2013-12-17 Juri Linkov <juri@jurta.org>
7159 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7162 * net/eww.el (browse-web): Add alias to `eww'.
7163 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7164 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
7166 * net/browse-url.el (browse-url-browser-function): Move `eww'
7167 closer to similar functions.
7169 * startup.el (fancy-startup-screen, fancy-about-screen):
7170 Set browse-url-browser-function to eww-browse-url locally.
7173 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * window.el (window--pixel-to-total): Remove unused `mini' var.
7176 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7177 (split-window): Remove unused `new' var.
7178 (window--display-buffer): Remove unused `frame' and `delta' vars.
7179 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7182 2013-12-17 Martin Rudalics <rudalics@gmx.at>
7184 * dired.el (dired-mark-pop-up):
7185 * register.el (register-preview): Don't bind
7186 split-height-threshold here since it's now done in
7187 display-buffer-below-selected.
7189 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
7191 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7192 xterm-rgb-convert-to-16bit.
7193 (rxvt-register-default-colors): Standardize with
7194 xterm-register-default-colors (Bug#14078).
7196 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
7198 * simple.el (kill-region): Pass mark first, then point, so that
7199 kill-append works right (Bug#12819).
7200 (copy-region-as-kill, kill-ring-save): Likewise.
7202 2013-12-17 Leo Liu <sdl.web@gmail.com>
7204 * net/rcirc.el (rcirc-add-face):
7205 * eshell/em-prompt.el (eshell-emit-prompt):
7206 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7209 2013-12-17 Chong Yidong <cyd@gnu.org>
7211 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7212 Suggested by Xue Fuqiao.
7214 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7216 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7218 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7220 * net/shr.el (shr-insert-document): Remove unused var
7221 `shr-preliminary-table-render'.
7222 (shr-rescale-image): Remove unused arg `force'.
7223 (shr-put-image): Update calls accordingly.
7224 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7226 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7228 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7229 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7230 :close-all, to see which indentation method to use (Bug#16116).
7231 (smie-rules-function): Document the method :close-all.
7233 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7237 * net/eww.el (eww-display-html): If we can't find the anchor we're
7238 looking for, then go to point-min.
7240 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
7242 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7243 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7244 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7245 Expand dir too, in case it's relative.
7247 2013-12-16 Juri Linkov <juri@jurta.org>
7249 * desktop.el (desktop-auto-save-timeout): Change default to
7250 `auto-save-timeout'. Doc fix.
7251 (desktop-save): Skip the timestamp in desktop-saved-frameset
7252 when checking for auto-save changes.
7253 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7254 `desktop-auto-save' is called repeatedly by the idle timer.
7255 (desktop-auto-save-set-timer): Replace `run-with-timer' with
7256 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
7259 2013-12-16 Juri Linkov <juri@jurta.org>
7261 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7263 (isearch-pre-command-hook): Check `this-command' for symbolp.
7265 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7269 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
7271 * progmodes/cfengine.el (cfengine3--current-word): Remove.
7272 (cfengine3--current-function): Bring in the current-function
7273 functionality from `cfengine3--current-word'.
7274 (cfengine3-completion-function): Bring in the
7275 bounds-of-current-word functionality from
7276 `cfengine3--current-word'.
7278 2013-12-16 Martin Rudalics <rudalics@gmx.at>
7280 * window.el (display-buffer-below-selected):
7281 Bind split-height-threshold to 0 as suggested by Juri Linkov.
7283 2013-12-16 Leo Liu <sdl.web@gmail.com>
7285 * progmodes/compile.el (compile-goto-error): Do not push-mark.
7286 Remove NOMSG arg and all uses changed.
7288 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7290 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7291 (cua--deactivate-rectangle): Don't deactivate the mark.
7292 (cua-set-rectangle-mark): Don't set mark-active since
7293 cua--activate-rectangle already does it for us.
7294 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7295 non-rectangular region.
7297 * emulation/cua-base.el (cua-repeat-replace-region):
7298 Use with-current-buffer.
7300 * net/gnutls.el: Use cl-lib.
7301 (gnutls-negotiate): `mapcan' -> cl-mapcan.
7303 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7305 * emacs-lisp/package.el (package-built-in-p): Support both
7306 built-in and the package.el converted package descriptions.
7307 (package-show-package-list): Allow keywords.
7308 (package-keyword-button-action): Use it instead of
7309 `finder-list-matches'.
7310 (package-menu-filter-interactive): Interactive filtering (by
7312 (package-menu--generate): Support keywords and change keymappings
7313 and headers when they are given.
7314 (package--has-keyword-p): Helper function.
7315 (package-menu--refresh): Use it.
7316 (package--mapc): Helper function.
7317 (package-all-keywords): Use it.
7318 (package-menu-mode-map): Set up menu items and keybindings to
7319 provide a filtering UI.
7321 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7323 * net/gnutls.el (gnutls-verify-error): New defcustom to control
7324 the behavior when a certificate fails validation. Defaults to
7325 old behavior: never abort, just warn.
7326 (gnutls-negotiate): Use it.
7328 2013-12-14 Martin Rudalics <rudalics@gmx.at>
7330 * window.el (display-buffer-below-selected): Never split window
7331 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
7333 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
7335 * emacs-lisp/package.el (package--prepare-dependencies): New function.
7336 (package-buffer-info): Use it (bug#15108).
7338 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
7340 * icomplete.el (icomplete-completions): Make sure the prefix is already
7341 displayed elsewhere before hiding it (bug#16219).
7343 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
7345 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7346 open-paren tokens when preceded by a open-paren, too.
7347 (ruby-smie-rules): Handle virtual indentation after open-paren
7348 tokens specially. If there is code between it and eol, return the
7349 column where is starts (Bug#16118).
7351 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7353 * progmodes/cfengine.el: Fix `add-hook' doc.
7354 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7355 (cfengine3--current-word): Fix parameters.
7356 (cfengine3-make-syntax-cache): Simplify further.
7357 (cfengine3-completion-function, cfengine3--current-function):
7358 Use `assq' for symbols.
7359 (cfengine3--current-function): Fix `cfengine3--current-word' call.
7361 2013-12-13 Glenn Morris <rgm@gnu.org>
7363 * loadup.el (load-path): Warn if site-load or site-init changes it.
7364 No more need to reset it when bootstrapping.
7366 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7368 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7369 locations for cf-promises.
7370 (cfengine-mode-syntax-functions-regex): New caching variable.
7371 (cfengine3-fallback-syntax): Fallback syntax for cases where
7372 cf-promises doesn't run.
7373 (cfengine3--current-word): Reimplement using
7374 `cfengine-mode-syntax-functions-regex'.
7375 (cfengine3-completion-function, cfengine3--current-function):
7376 Use `cfengine3-make-syntax-cache' directly.
7377 (cfengine3-clear-syntax-cache): New function.
7378 (cfengine3-make-syntax-cache): Simplify and create
7379 `cfengine-mode-syntax-functions-regex' on demand.
7380 (cfengine3-format-function-docstring): Don't call
7381 `cfengine3-make-syntax-cache' explicitly.
7383 2013-12-13 Martin Rudalics <rudalics@gmx.at>
7385 Fix windmove-find-other-window broken after pixelwise resizing
7387 * windmove.el (windmove-other-window-loc): Revert change from
7389 (windmove-find-other-window): Call window-in-direction.
7390 * window.el (window-in-direction): New arguments SIGN, WRAP and
7391 MINI to emulate original windmove-find-other-window behavior.
7393 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
7395 * simple.el (blink-matching--overlay): New variable.
7396 (blink-matching-open): Instead of moving point, highlight the
7397 matching paren with an overlay
7398 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7400 * faces.el (paren-showing-faces, show-paren-match)
7401 (show-paren-mismatch): Move from paren.el.
7403 2013-12-13 Leo Liu <sdl.web@gmail.com>
7405 * indent.el (indent-region): Disable progress reporter in
7406 minibuffer. (Bug#16108)
7408 * bindings.el (visual-order-cursor-movement): Fix version.
7410 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7412 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7413 Also match after beginning of line.
7414 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7415 files. Thanks to Russell Sim. (Bug#15378)
7417 2013-12-13 Juri Linkov <juri@jurta.org>
7419 * simple.el <Keypad support>: Remove key bindings duplicated
7420 with bindings.el. (Bug#14397)
7422 2013-12-13 Juri Linkov <juri@jurta.org>
7424 * comint.el (comint-mode-map): Replace `delete-char' with
7425 `delete-forward-char'. (Bug#16109)
7427 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7429 * progmodes/python.el (python-indent-calculate-indentation):
7430 Fix de-denters cornercase. (Bug#15731)
7432 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7435 (advice--make): Pay attention to `depth'.
7436 (advice--make-1): Don't autoload commands eagerly.
7437 * emacs-lisp/elp.el (elp-instrument-function):
7438 * emacs-lisp/trace.el (trace-function-internal):
7439 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7441 * iswitchb.el (iswitchb-mode): Don't belittle ido.
7443 2013-12-12 Eli Zaretskii <eliz@gnu.org>
7445 * term/w32-win.el (w32-handle-dropped-file):
7446 * startup.el (normal-top-level):
7447 * net/browse-url.el (browse-url-file-url):
7448 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7449 decode file names using 'utf-8' rather than
7450 file-name-coding-system.
7452 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7454 * progmodes/python.el (python-indent-context)
7455 (python-indent-calculate-indentation): Fix auto-identation
7456 behavior for comment blocks. (Bug#15916)
7458 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7460 * progmodes/python.el (python-indent-calculate-indentation):
7461 When determining indentation, don't treat "return", "pass", etc., as
7462 operators when they are just string constituents. (Bug#15812)
7464 2013-12-12 Juri Linkov <juri@jurta.org>
7466 * uniquify.el (uniquify-buffer-name-style): Change default to
7467 `post-forward-angle-brackets'.
7469 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7470 `uniquify'. Change default to `post-forward-angle-brackets'.
7472 2013-12-11 Glenn Morris <rgm@gnu.org>
7474 * emacs-lisp/package.el (finder-list-matches):
7475 Autoload rather than falsely declaring.
7477 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
7479 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7480 (eww-mode-map): Use them.
7482 2013-12-11 Martin Rudalics <rudalics@gmx.at>
7484 * window.el (display-buffer-in-side-window): Fix doc-string
7487 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
7489 * vc/vc-git.el: Silence byte-compiler warnings.
7490 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7491 (log-edit-set-header): Declare.
7493 2013-12-11 Eli Zaretskii <eliz@gnu.org>
7495 * Makefile.in (custom-deps, finder-data): Run output file names
7496 through unmsys--file-name. (Bug#16099)
7498 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
7500 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7501 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7503 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7504 instead of deleting the selection "by hand" (bug#16098).
7505 Rely on insert-for-yank to yank rectangles.
7506 (cua-highlight-region-shift-only): Mark obsolete.
7507 (cua-mode): Don't enable/disable transient-mark-mode,
7508 shift-select-mode (cua-mode works both with and without them), and
7509 pc-selection-mode (obsolete).
7510 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7511 (cua--deactivate-rectangle): Deactivate it.
7513 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7514 (delete-selection-helper): Make sure yank starts at the top of the
7516 (minibuffer-keyboard-quit): Use region-active-p.
7518 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7520 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7521 to `delete' (bug#16109).
7523 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7525 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7526 info manual and show keybindings and set `:group' keyword.
7528 2013-12-11 Juri Linkov <juri@jurta.org>
7530 * delsel.el (delete-active-region): Let-bind `this-command'
7531 to prevent `kill-region' from changing its original value.
7532 (delete-selection-helper): Handle `overwrite-mode' for the type
7533 `kill' exactly the same way as for the type `t'.
7534 (insert-char, quoted-insert, reindent-then-newline-and-indent):
7535 Support more commands. (Bug#13312)
7537 2013-12-11 Juri Linkov <juri@jurta.org>
7539 * bindings.el: Map kp keys to non-kp keys systematically
7540 with basic modifiers control, meta and shift. (Bug#14397)
7542 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7544 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7545 "Close browser" menu items. Fix wrong function of "List
7548 2013-12-11 Juri Linkov <juri@jurta.org>
7550 * misearch.el (multi-isearch-buffers): Set the value of
7551 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
7552 arg of isearch-forward to t.
7553 (multi-isearch-buffers-regexp): Set the value of
7554 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
7555 arg of isearch-forward-regexp to t.
7556 (multi-isearch-files): Set the value of
7557 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
7558 arg of isearch-forward to t.
7559 (multi-isearch-files-regexp): Set the value of
7560 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
7561 arg of isearch-forward-regexp to t. (Bug#16035)
7563 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7564 arg of isearch-forward to t.
7565 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7566 arg of isearch-forward-regexp to t.
7567 (dired-isearch-filter-filenames): Remove unnecessary check for
7568 `dired-isearch-filenames'.
7570 * comint.el (comint-history-isearch-backward):
7571 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7572 (comint-history-isearch-backward-regexp):
7573 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7575 2013-12-10 Eli Zaretskii <eliz@gnu.org>
7577 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7578 unmsys--file-name. (Bug#16099)
7580 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
7582 * emacs-lisp/package.el (package-keyword-button-action):
7583 Remove finder.el require dependency.
7585 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
7587 * emacs-lisp/package.el: Require finder.el.
7588 (describe-package-1): Add keyword buttons.
7589 (package-make-button): New convenience function.
7590 (package-keyword-button-action): Keyword button action using
7591 `finder-list-matches'.
7593 2013-12-09 Eli Zaretskii <eliz@gnu.org>
7595 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7598 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
7600 * autorevert.el (auto-revert-notify-add-watch): Do not handle
7603 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
7605 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7606 after the end of a percent literal.
7608 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
7610 * progmodes/ruby-mode.el (ruby-forward-string): Document.
7611 Handle caret-delimited strings (Bug#16079).
7613 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
7615 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7616 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7617 `ruby-parse-partial' (Bug#16078).
7619 2013-12-09 Leo Liu <sdl.web@gmail.com>
7621 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
7623 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
7625 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7626 (js-switch-indent-offset): New option.
7627 (js--proper-indentation): Use it. And handle the case when
7628 "default" is actually a key in an object literal.
7629 (js--same-line): New function.
7630 (js--multi-line-declaration-indentation): Use it.
7631 (js--indent-in-array-comp, js--array-comp-indentation):
7633 (js--proper-indentation): Use them, to handle array comprehension
7636 2013-12-08 Leo Liu <sdl.web@gmail.com>
7638 * progmodes/flymake.el (flymake-highlight-line): Re-write.
7639 (flymake-make-overlay): Remove arg MOUSE-FACE.
7640 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7642 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7646 (redisplay-highlight-region-function): Use it.
7648 * emulation/cua-base.el (cua--explicit-region-start)
7649 (cua--last-region-shifted): Remove.
7650 (cua--deactivate): Use deactivate-mark.
7651 (cua--pre-command-handler-1): Don't handle shift-selection.
7652 (cua--post-command-handler-1): Don't change transient-mark-mode.
7653 (cua--select-keymaps): Use region-active-p rather than
7654 cua--explicit-region-start or cua--last-region-shifted.
7655 (cua-mode): Enable shift-select-mode.
7657 2013-12-08 Leo Liu <sdl.web@gmail.com>
7659 * progmodes/flymake.el (flymake-popup-current-error-menu):
7660 Rename from flymake-display-err-menu-for-current-line. Reimplement.
7661 (flymake-posn-at-point-as-event, flymake-popup-menu)
7662 (flymake-make-emacs-menu): Remove. (Bug#16077)
7664 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * rect.el (rectangle-mark-mode): Activate mark even if
7667 transient-mark-mode is off (bug#16066).
7668 (rectangle--highlight-for-redisplay): Fix boundary condition when point
7669 is > mark and at bolp.
7671 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7672 (region-extract-function): Use it.
7673 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7674 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7676 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7677 kill-ring-save, kill-region, delete-char, delete-forward-char.
7678 Ignore self-insert-iso.
7680 * emulation/cua-gmrk.el (cua--init-global-mark):
7681 Ignore `self-insert-iso'.
7683 * emulation/cua-base.el (cua--prefix-copy-handler)
7684 (cua--prefix-cut-handler): Rely on region-extract-function rather than
7685 checking cua--rectangle.
7686 (cua-delete-region): Use region-extract-function.
7687 (cua-replace-region): Delete function.
7688 (cua-copy-region, cua-cut-region): Obey region-extract-function.
7689 (cua--pre-command-handler-1): Don't do the delete-selection thing.
7690 (cua--self-insert-char-p): Ignore `self-insert-iso'.
7691 (cua--init-keymaps): Don't remap delete-selection commands.
7692 (cua-mode): Use delete-selection-mode instead of rolling our own
7695 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7696 Obey region-extract-function.
7698 Make registers and delete-selection-mode work on rectangles.
7699 * register.el (describe-register-1): Don't modify the register's value.
7700 (copy-to-register): Obey region-extract-function.
7701 * delsel.el (delete-active-region): Obey region-extract-function.
7703 2013-12-08 Leo Liu <sdl.web@gmail.com>
7705 * progmodes/flymake.el (flymake, flymake-error-bitmap)
7706 (flymake-warning-bitmap, flymake-fringe-indicator-position)
7707 (flymake-compilation-prevents-syntax-check)
7708 (flymake-start-syntax-check-on-newline)
7709 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7710 (flymake-start-syntax-check-on-find-file, flymake-log-level)
7711 (flymake-xml-program, flymake-master-file-dirs)
7712 (flymake-master-file-count-limit)
7713 (flymake-allowed-file-name-masks): Relocate.
7714 (flymake-makehash, flymake-float-time)
7715 (flymake-replace-regexp-in-string, flymake-split-string)
7716 (flymake-get-temp-dir): Remove.
7717 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7718 (flymake-current-row, flymake-selected-frame)
7719 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7720 related functions. (Bug#16077)
7722 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
7724 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7726 2013-12-07 Tassilo Horn <tsdh@gnu.org>
7728 * help-fns.el (describe-function-1): Use new advice-* functions
7729 rather than old ad-* functions. Fix function type description and
7730 source links for advised functions and subrs.
7732 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7734 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7736 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
7738 * progmodes/compile.el (compilation-start):
7739 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7741 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7742 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
7744 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7746 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7747 Touch up the last change.
7749 2013-12-06 Leo Liu <sdl.web@gmail.com>
7751 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7752 (inferior-octave-startup): Always use "octave> " for prompt.
7753 (octave-goto-function-definition)
7754 (octave-sync-function-file-names)
7755 (octave-find-definition-default-filename): Remove redundant backquotes.
7757 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7759 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7761 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7762 where appropriate already.
7763 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7764 end of method names (Bug#15874).
7766 2013-12-06 Juri Linkov <juri@jurta.org>
7768 * isearch.el (isearch--saved-overriding-local-map):
7769 New internal variable.
7770 (isearch-mode): Set it to the initial value of
7771 `overriding-terminal-local-map'.
7772 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7773 with `isearch--saved-overriding-local-map'. (Bug#16035)
7775 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7777 * progmodes/octave.el (inferior-octave-completion-table):
7778 Turn back into function, use `completion-table-with-cache'
7779 (Bug#11906). Update all references.
7781 * minibuffer.el (completion-table-with-cache): New function.
7783 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
7785 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7787 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
7789 * net/eww.el (eww-current-source): New variable to store page
7791 (eww-display-html, eww-mode, eww-save-history)
7792 (eww-restore-history): Use it.
7793 (eww-view-source): New command to view page source.
7794 Opportunistically uses `html-mode' to highlight the buffer.
7795 (eww-mode-map): Install it.
7797 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
7799 * net/dbus.el (dbus-unregister-service)
7800 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7802 (dbus-unregister-service): Skip :serial entries in
7803 `dbus-registered-objects-table'.
7804 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7806 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
7808 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7809 around keywords with extra `split-string' argument.
7811 2013-12-04 Martin Rudalics <rudalics@gmx.at>
7813 * windmove.el (windmove-other-window-loc): Handle navigation
7814 between windows (excluding the minibuffer window - Bug#16017).
7816 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
7818 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7819 in D-Bus type syntax.
7820 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7821 preserve unibyte strings. (Bug#16048)
7823 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7826 Call force-mode-line-update is the proper buffer (bug#16042).
7828 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
7830 * vc/log-edit.el (log-edit-add-new-comment): Rename to
7831 `log-edit-remember-comment', make argument optional. Adjust all
7833 (log-edit-mode): Add `log-edit-remember-comment' to
7834 `kill-buffer-hook' locally.
7835 (log-edit-kill-buffer): Don't remember comment explicitly since
7836 the buffer is killed anyway.
7838 2013-12-04 Juri Linkov <juri@jurta.org>
7840 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7841 add-hook and remove-hook for multi-buffer search. (Bug#16035)
7843 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
7845 * notifications.el (notifications-close-notification): Call the
7846 D-Bus method with ID being a `:uint32'. (Bug#16030)
7848 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
7850 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7852 2013-12-03 Juri Linkov <juri@jurta.org>
7854 * progmodes/compile.el (compilation-start): Rename window alist
7855 entry `no-display-ok' to `allow-no-window'.
7857 * simple.el (shell-command): Add window alist entry
7858 `allow-no-window' to `display-buffer'.
7859 (async-shell-command): Doc fix.
7861 * window.el (display-buffer-no-window): New action function.
7862 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
7864 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7866 * vc/log-edit.el (log-edit-set-header): Extract from
7867 `log-edit-toggle-header'.
7868 (log-edit-extract-headers): Separate the summary, when extracted
7869 from header, from the rest of the message with an empty line.
7871 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7872 line, if present, to the Summary header.
7874 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7877 in current-buffer (bug#16029).
7879 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
7881 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7882 (debugger-mode-map): Bind it.
7883 (debugger--backtrace-base): New function.
7884 (debugger-eval-expression): Use it.
7885 (debugger-frame-number): Skip local vars when present.
7886 (debugger--locals-visible-p, debugger--insert-locals)
7887 (debugger--show-locals, debugger--hide-locals): New functions.
7889 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
7891 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7893 (tramp-get-remote-locale): New defun.
7894 (tramp-open-connection-setup-interactive-shell): Use it.
7896 2013-12-02 Leo Liu <sdl.web@gmail.com>
7898 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
7900 * progmodes/sh-script.el (sh-shell-process):
7901 * progmodes/octave.el (inferior-octave-process-live-p):
7902 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7903 (gdb-inferior-io-sentinel):
7904 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7906 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7908 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7909 `save-selected-window' to `log-edit-hide-buf'. This makes
7910 `log-edit-show-files' idempotent.
7911 (log-edit-show-files): Mark the new window as dedicated.
7913 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7915 * vc/log-edit.el (log-edit-mode-map): Add binding for
7916 `log-edit-kill-biffer'.
7917 (log-edit-hide-buf): Add a FIXME comment.
7918 (log-edit-add-new-comment): New function, extracted from
7920 (log-edit-done, log-edit-add-to-changelog): Use it.
7921 (log-edit-kill-buffer): New command.
7923 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7925 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7926 instead of killing the buffer.
7928 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7930 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7932 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7934 * net/eww.el (eww-form-checkbox-selected-symbol)
7935 (eww-form-checkbox-symbol): New customizable variable.
7936 (eww-form-checkbox, eww-toggle-checkbox):
7937 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7939 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
7940 (shr--get-media-pref, shr--extract-best-source): New function.
7941 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
7942 no :src tag was specified.
7944 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
7945 (eww-render): Handle `eww-use-external-browser-for-content-type'.
7946 Use \\` to match beginning of string instead of ^.
7947 (eww-browse-with-external-browser): Provide optional URL parameter.
7948 (eww-render): Set `eww-current-title' back to "".
7950 * net/shr.el (shr-tag-video): Display content for video if no
7951 poster is available.
7952 (shr-tag-audio): Add support for <audio> tag.
7954 * net/eww.el (eww-text-input-types): New const.
7955 (eww-process-text-input): Treat input types in
7956 `eww-text-input-types' as text.
7958 * net/shr.el (shr-tag-table): Fix comment typo.
7960 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7962 * net/eww.el (eww-follow-link): New command to avoid reloading
7963 pages when we follow #target links (bug#15243).
7964 (eww-quit): Special mode buffers shouldn't query before exiting.
7966 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7968 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
7971 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7973 * net/eww.el (eww-restore-history): Update the window title after
7974 moving in the history.
7975 (eww-current-dom): New variable used to save the current DOM.
7977 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
7979 * vc/log-edit.el (log-edit-mode-map): Add binding for
7980 `log-edit-beginning-of-line'.
7981 (log-edit-setup-add-author): New user option.
7982 (log-edit-beginning-of-line): New command.
7983 (log-edit): Move major mode call above the contents setup so that
7984 the local variable values are already applied.
7985 (log-edit): Only insert "Author: " when
7986 `log-edit-setup-add-author' is non-nil.
7987 (log-edit): When SETUP is non-nil, position point after ": "
7988 instead of point-min.
7990 2013-12-01 Glenn Morris <rgm@gnu.org>
7992 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
7994 2013-11-30 Eli Zaretskii <eliz@gnu.org>
7996 * startup.el (fancy-splash-frame): On MS-Windows, trigger
7997 redisplay to make sure the initial frame gets a chance to become
7998 visible. (Bug#16014)
8000 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8002 Support resizing frames and windows pixelwise.
8003 * cus-start.el (frame-resize-pixelwise)
8004 (window-resize-pixelwise): New entries.
8005 * emacs-lisp/debug.el (debug): Use window-total-height instead
8006 of window-total-size.
8007 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8008 * help.el (describe-bindings-internal): Use help-buffer as
8009 argument for with-help-window.
8010 (temp-buffer-max-width): New option.
8011 (resize-temp-buffer-window, help-window-setup)
8012 (with-help-window): Rewrite.
8013 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8015 * window.el (frame-char-size, window-min-pixel-height)
8016 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8017 (window-min-pixel-width, window-safe-min-pixel-size)
8018 (window-combination-p, window-safe-min-size)
8019 (window-resizable-p, window--size-to-pixel)
8020 (window--pixel-to-size, window--resize-apply-p): New functions.
8021 (window-safe-min-height): Fix doc-string.
8022 (window-size, window-min-size, window--min-size-1)
8023 (window-sizable, window-sizable-p, window--min-delta-1)
8024 (window-min-delta, window--max-delta-1, window-max-delta)
8025 (window--resizable, window--resizable-p, window-resizable)
8026 (window-full-height-p, window-full-width-p, window-at-side-p)
8027 (window--in-direction-2, window-in-direction)
8028 (window--resize-reset-1, window--resize-mini-window)
8029 (window-resize, window-resize-no-error)
8030 (window--resize-child-windows-normal)
8031 (window--resize-child-windows, window--resize-siblings)
8032 (window--resize-this-window, window--resize-root-window)
8033 (window--resize-root-window-vertically)
8034 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8035 (maximize-window, minimize-window, delete-window)
8036 (quit-restore-window, window-split-min-size, split-window)
8037 (balance-windows-2, balance-windows)
8038 (balance-windows-area-adjust, balance-windows-area)
8039 (window--state-get-1, window-state-get, window--state-put-1)
8040 (window--state-put-2, window-state-put)
8041 (display-buffer-record-window, window--display-buffer):
8042 Make functions handle pixelwise sizing of windows.
8043 (display-buffer--action-function-custom-type)
8044 (display-buffer-fallback-action):
8045 Add display-buffer-in-previous-window.
8046 (display-buffer-use-some-window): Resize window to height it had
8048 (fit-window-to-buffer-horizontally): New option.
8049 (fit-frame-to-buffer): Describe new values.
8050 (fit-frame-to-buffer-bottom-margin): Replace with
8051 fit-frame-to-buffer-margins.
8052 (window--sanitize-margin): New function.
8053 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8054 using window-text-pixel-size.
8056 2013-11-30 Glenn Morris <rgm@gnu.org>
8058 * emacs-lisp/bytecomp.el (byte-compile-form):
8059 Make the `interactive-only' warning like the `obsolete' one.
8060 * comint.el (comint-run):
8061 * files.el (insert-file-literally, insert-file):
8062 * replace.el (replace-string, replace-regexp):
8063 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8064 (goto-line, insert-buffer, next-line, previous-line):
8065 Tweak `interactive-only' spec.
8067 Stop keeping (most) generated cedet grammar files in the repository.
8068 * Makefile.in (semantic): New.
8069 (compile-main): Depend on semantic.
8071 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8073 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8074 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8076 * uniquify.el (uniquify-buffer-name-style): Change default.
8078 * loadup.el: Preload "uniquify".
8080 * time.el (display-time-update): Update all mode lines (bug#15999).
8082 * electric.el (electric-indent-mode): Enable by default.
8083 * loadup.el: Preload "electric".
8085 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
8087 * emacs-lisp/helpers.el (string-empty-p): New function.
8088 (string-blank-p): New function.
8090 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
8092 * imenu.el (imenu--index-alist): Add missing dot to the docstring
8095 2013-11-29 Andreas Politz <politza@fh-trier.de>
8096 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8097 allow non-lambda lists as functions.
8098 (imenu--in-alist): Don't recurse into non-subalists.
8099 (imenu): Don't pass function itself as an argument (Bug#14029).
8101 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8103 * progmodes/python.el (python-mode-map): Remove binding for ":".
8104 (python-indent-electric-colon): Remove command.
8105 (python-indent-post-self-insert-function): Integrate the previous code
8106 of python-indent-electric-colon. Make it conditional on
8107 electric-indent-mode.
8108 (python-mode): Add ?: to electric-indent-chars.
8109 Move python-indent-post-self-insert-function to the end of
8110 post-self-insert-hook.
8112 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * doc-view.el (doc-view-goto-page): Update mode-line.
8116 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8118 2013-11-27 Glenn Morris <rgm@gnu.org>
8120 * international/charprop.el, international/uni-bidi.el:
8121 * international/uni-category.el, international/uni-combining.el:
8122 * international/uni-comment.el, international/uni-decimal.el:
8123 * international/uni-decomposition.el, international/uni-digit.el:
8124 * international/uni-lowercase.el, international/uni-mirrored.el:
8125 * international/uni-name.el, international/uni-numeric.el:
8126 * international/uni-old-name.el, international/uni-titlecase.el:
8127 * international/uni-uppercase.el:
8128 Remove generated files from VCS repository.
8130 2013-11-27 Eli Zaretskii <eliz@gnu.org>
8132 * filenotify.el (file-notify-add-watch): Don't special-case
8133 w32notify when computing the directory to watch.
8135 2013-11-27 Glenn Morris <rgm@gnu.org>
8137 Make bootstrap without generated uni-*.el files possible again.
8138 * loadup.el: Update command-line-args checking for unidata-gen.
8139 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8140 * composite.el, international/characters.el:
8141 Handle unicode tables being undefined.
8143 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8144 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8145 (compile-main): Depend on leim rule.
8147 * loadup.el: Move leim-list.el to leim/ subdirectory.
8148 * startup.el (normal-top-level): No more leim directory.
8149 * international/ja-dic-cnv.el (skkdic-convert):
8150 Disable version-control and autoloads in output files.
8151 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8152 Disable version-control and autoloads in output files.
8153 * leim/quail: Move here from ../leim.
8154 * leim/quail/hangul.el (hangul-input-method-activate):
8155 Add autoload cookie.
8156 (generated-autoload-load-name): Set file-local value.
8157 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8158 (generated-autoload-load-name): Set file-local value.
8160 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
8162 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8163 (eww-add-bookmark): Ask confirmation when add to bookmarks.
8164 (eww-quit): Ask confirmation before quitting eww.
8166 2013-11-26 Eli Zaretskii <eliz@gnu.org>
8168 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8169 reading output from Diff on MS-Windows and MS-DOS.
8171 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
8173 * emacs-lisp/helpers.el (string-reverse): New function.
8175 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
8177 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8178 names on MS Windows, like "/[::1]:".
8180 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8183 2013-11-26 Glenn Morris <rgm@gnu.org>
8185 * progmodes/python.el (python-indent-guess-indent-offset):
8186 Avoid corner-case error. (Bug#15975)
8188 Preload leim-list.el. (Bug#4789)
8189 * loadup.el: Load leim-list.el when found.
8190 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8192 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
8194 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8196 * emacs-lisp/helpers.el (string-join): New function.
8198 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
8200 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8201 Mark as obsolete and replace it with a symbol property.
8202 (byte-compile-form): Use new 'interactive-only property.
8203 * comint.el, files.el, replace.el, simple.el:
8204 Apply new 'interactive-only properly.
8206 2013-11-25 Martin Rudalics <rudalics@gmx.at>
8208 * window.el (display-buffer-at-bottom): Make sure that
8209 split-window-sensibly creates the new window on bottom
8212 2013-11-23 David Kastrup <dak@gnu.org>
8214 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8215 on the conflict markers when available.
8216 (smerge--get-marker): New function.
8217 (smerge-end-re, smerge-base-re): Add subgroup.
8219 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * frame.el (handle-focus-in, handle-focus-out): Add missing
8224 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
8226 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8227 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8229 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
8232 (gomoku--last-pos): New var.
8233 (gomoku--intangible-chars): New const.
8234 (gomoku--intangible): New function.
8235 (gomoku-mode): Use it. Derive from special-mode.
8236 (gomoku-move-up): Adjust line count.
8237 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8238 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8239 Simplify accordingly.
8241 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8242 Remove blink-cursor code.
8243 (blink-cursor-timer-function, blink-cursor-suspend):
8244 Don't special-case GUIs.
8245 (blink-cursor-mode): Use focus-in/out-hook.
8247 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
8249 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8250 work when annotation is invisible (Bug#13886).
8252 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
8254 * json.el (json-alist-p): Only return non-nil if the alist has
8255 simple keys (Bug#13518).
8257 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
8259 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8260 when control-statement is the first statement in a buffer (Bug#15956).
8262 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
8264 * imenu.el (imenu-generic-skip-comments-and-strings):
8265 New option (Bug#15560).
8266 (imenu--generic-function): Use it.
8268 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
8270 * minibuffer.el (completion--in-region-1): Scroll the correct window.
8273 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
8275 * emacs-lisp/helpers.el: Add some string helpers.
8276 (string-trim-left): Removes leading whitespace.
8277 (string-trim-right): Removes trailing whitespace.
8278 (string-trim): Removes leading and trailing whitespace.
8280 * subr.el (string-suffix-p): New function.
8282 2013-11-23 Glenn Morris <rgm@gnu.org>
8284 * progmodes/python.el (python-shell-send-file):
8285 Add option to delete file when done. (Bug#15647)
8286 (python-shell-send-string, python-shell-send-region): Use it.
8288 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
8290 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8291 to set buffer-read-only to t, never to nil. (Bug#15938)
8293 * textmodes/tex-mode.el (latex-noindent-environments):
8294 Add safe-local-variable property. (Bug#15936)
8296 2013-11-23 Glenn Morris <rgm@gnu.org>
8298 * textmodes/enriched.el (enriched-mode): Doc fix.
8299 * emacs-lisp/authors.el (authors-renamed-files-alist):
8300 Add enriched.doc -> enriched.txt.
8302 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8304 2013-11-22 Leo Liu <sdl.web@gmail.com>
8306 * progmodes/octave.el (inferior-octave-startup): Spit out error
8309 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
8311 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8314 (ruby-encoding-magic-comment-style): Add :version.
8316 2013-11-22 Leo Liu <sdl.web@gmail.com>
8318 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8320 (octave-help-mode): Adapt to change to help-mode-finish to use
8321 derived-mode-p on 2013-09-17.
8322 (inferior-octave-prompt): Also match octave-gui.
8323 (octave-kill-process): Don't ask twice. (Bug#10564)
8325 2013-11-22 Leo Liu <sdl.web@gmail.com>
8327 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8328 (inferior-octave-startup, inferior-octave-check-process)
8329 (inferior-octave-track-window-width-change)
8330 (octave-completion-at-point, octave-eldoc-function): Use it.
8331 (octave-kill-process): Provide confirmation. (Bug#10564)
8333 2013-11-21 Leo Liu <sdl.web@gmail.com>
8335 * progmodes/octave.el (octave-mode, inferior-octave-mode):
8336 Fix obsolete variable comment-use-global-state.
8338 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8340 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8341 Add `octave-source-file'.
8342 (octave-source-file): New function. (Bug#15935)
8344 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
8346 * net/eww.el (eww-local-regex): New variable.
8347 (eww): Use it to detect localhost and similar.
8349 2013-11-21 Leo Liu <sdl.web@gmail.com>
8351 Add completion for command `ag'.
8352 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8353 (pcomplete/ag): New function.
8354 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
8356 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8358 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8360 (make-obsolete): Remove interactive spec.
8362 2013-11-21 Glenn Morris <rgm@gnu.org>
8364 * startup.el (command-line-1): Use path-separator with -L.
8366 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
8368 * emacs-lisp/package.el (describe-package-1): Add package archive
8371 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
8373 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8374 Change default to "# encoding: %s" to differentiate it from the
8375 default Ruby encoding comment template.
8377 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
8379 * ses.el (ses-mode): Doc fix. (Bug#14748)
8381 2013-11-20 Leo Liu <sdl.web@gmail.com>
8383 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
8385 2013-11-19 Dan Nicolaescu <dann@gnu.org>
8387 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8388 when rebase or bisect are in progress.
8390 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
8392 * filenotify.el (file-notify-add-watch): Doc fix.
8394 2013-11-19 Leo Liu <sdl.web@gmail.com>
8396 * obsolete/rcompile.el: Mark obsolete.
8398 * progmodes/compile.el (compilation-start)
8399 (compilation-goto-locus, compilation-find-file):
8400 Pass no-display-ok and handle nil value from display-buffer.
8403 * window.el (display-buffer-alist, display-buffer): Document the
8404 new parameter no-display-ok. Return either a window or nil
8405 but never a non-window value.
8407 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8409 * electric.el (electric-indent-mode-map): Remove.
8410 (electric-indent-mode): Change the global-map instead (bug#15915).
8412 * textmodes/text-mode.el (paragraph-indent-minor-mode):
8415 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
8417 * emacs-lisp/nadvice.el (remove-function): Align with
8418 add-function's behavior.
8420 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8421 (gdb--string-regexp): New constant.
8422 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8423 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8424 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8426 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8427 Adjust use accordingly.
8428 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8430 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
8432 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8433 interpolation curlies (Bug#15914).
8435 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
8437 * calc/calc.el (calc-context-sensitive-enter): New variable.
8438 (calc-enter): Use `calc-context-sensitive-enter'.
8440 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
8442 * progmodes/cfengine.el: Version bump.
8443 (cfengine-cf-promises): New defcustom to locate cf-promises.
8444 (cfengine3-vartypes): Add new "data" type.
8445 (cfengine3--current-word): New function to get current name-like
8447 (cfengine3--current-function): New function to look up a CFEngine
8448 function's definition.
8449 (cfengine3-format-function-docstring): New function.
8450 (cfengine3-make-syntax-cache): New function.
8451 (cfengine3-documentation-function): New function: ElDoc glue.
8452 (cfengine3-completion-function): New function: completion glue.
8453 (cfengine3-mode): Set `compile-command',
8454 `eldoc-documentation-function', and add to
8455 `completion-at-point-functions'.
8457 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
8459 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8460 `tramp-current-connection'.
8462 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
8464 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8465 nil/self/true/false with "end of symbol".
8467 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
8469 * subr.el (version-regexp-alist): Fix a typo.
8471 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
8473 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8474 "en_US.utf8" and "LC_CTYPE" to "".
8475 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8476 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8478 2013-11-15 Leo Liu <sdl.web@gmail.com>
8480 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
8482 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * progmodes/gud.el (ctl-x-map):
8485 Remove C-x SPC binding. (Bug#12342)
8486 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8488 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
8490 * subr.el (version-regexp-alist):
8491 Recognize hg, svn and darcs versions as snapshot versions.
8493 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8494 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8495 (ruby--encoding-comment-required-p): Extract from
8496 `ruby-mode-set-encoding'.
8497 (ruby-mode-set-encoding): Add the ability to always insert an
8498 utf-8 encoding comment. Fix and simplify coding comment update
8501 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
8503 * net/tramp-gvfs.el (top): Run init code only when
8504 `tramp-gvfs-enabled' is not nil.
8505 (tramp-gvfs-enabled): Check also :system bus.
8507 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8509 Sync with upstream verilog-mode revision 78e66ba.
8510 * progmodes/verilog-mode.el (verilog-end-of-defun)
8511 (verilog-type-completion, verilog-get-list): Remove unused funcs.
8512 (verilog-get-end-of-defun): Remove unused argument.
8513 (verilog-comment-depth): Remove unused local `e'.
8514 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8515 Don't pass arg to verilog-get-end-of-defun.
8517 2013-11-14 Glenn Morris <rgm@gnu.org>
8519 * obsolete/assoc.el (aget): Prefix dynamic variable.
8521 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8523 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8525 * widget.el, hfy-cmap.el: Remove bogus package version number.
8527 2013-11-13 Glenn Morris <rgm@gnu.org>
8529 * replace.el (replace-eval-replacement):
8530 Try to give more helpful error message. (Bug#15836)
8532 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8533 (archive-7z-update): Avoid custom type mismatches.
8535 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8537 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
8539 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8540 address can be empty.
8542 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8543 Accept nil SWITCHES.
8544 (tramp-gvfs-handle-write-region): Implement APPEND.
8546 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
8548 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8549 binary "|" operator and closing block args delimiter.
8550 Remove FIXME comment referring to Ruby 1.8-only syntax.
8551 (ruby-smie--implicit-semi-p): Not after "|" operator.
8552 (ruby-smie--closing-pipe-p): New function.
8553 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8554 (ruby-smie-rules): Indent after "|".
8556 2013-11-12 Glenn Morris <rgm@gnu.org>
8558 * ps-print.el (ps-face-attribute-list):
8559 Handle anonymous faces. (Bug#15827)
8561 2013-11-12 Martin Rudalics <rudalics@gmx.at>
8563 * window.el (display-buffer-other-frame): Fix doc-string.
8566 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * subr.el (force-mode-line-update): Delete, move to buffer.c.
8570 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
8572 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8573 (tramp-sh-handle-file-local-copy): Don't write a message when
8574 saving temporary files.
8576 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8577 both directories are remote.
8578 (tramp-smb-handle-directory-files): Do not return double entries.
8579 Do not expand full file names.
8580 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8581 (tramp-smb-handle-write-region): Implement APPEND.
8582 (tramp-smb-get-stat-capability): Fix a stupid bug.
8584 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8586 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8588 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8590 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8591 throwing error over malformed let/let* (bug#15814).
8593 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8595 * iswitchb.el (iswitchb-mode): Mark obsolete.
8597 2013-11-11 Glenn Morris <rgm@gnu.org>
8599 * international/uni-bidi.el, international/uni-category.el:
8600 * international/uni-name.el, international/uni-numeric.el:
8601 Regenerate for Unicode 6.3.0.
8603 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
8605 * net/tramp.el (tramp-methods):
8606 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8607 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8609 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
8611 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8612 Force highlighting text after Summary keyword in doc face for rpm.
8614 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
8616 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8617 available and the word has no wildcards, append one to the grep pattern.
8618 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8619 (ispell-complete-word): Call `ispell-lookup-words' with the value
8620 independent of `ispell-look-p'.
8622 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8624 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8626 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8629 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
8632 (ruby-font-lock-keywords): Use backquote.
8634 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8636 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8637 (ruby-smie--backward-token): Only consider full-string matches.
8639 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
8641 * faces.el (describe-face): Add distant-foreground.
8643 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
8645 * progmodes/ruby-mode.el: Improve encoding comment handling.
8646 (ruby-encoding-magic-comment-style): New option.
8647 (ruby-custom-encoding-magic-comment-template): New option.
8648 (ruby--insert-coding-comment, ruby--detect-encoding):
8649 New functions extracted from `ruby-mode-set-encoding'.
8650 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8651 to control the style of the auto-inserted encoding comment.
8653 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8655 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8656 Use `smie-backward-sexp' with token argument.
8658 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
8660 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8661 Remove instrumentation code.
8663 2013-11-08 Glenn Morris <rgm@gnu.org>
8665 * progmodes/autoconf.el (autoconf-mode):
8666 Tweak comment-start-skip. (Bug#15822)
8668 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8670 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8671 at bobp (bug#15826).
8672 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8674 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
8676 * man.el (Man-start-calling): New macro, extracted from
8677 Man-getpage-in-background.
8678 (Man-getpage-in-background): Use it.
8679 (Man-update-manpage): New command.
8680 (Man-mode-map): Bind it.
8682 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8684 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8685 of "and", "or", "&&" and "||".
8686 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8687 argument. Prohibit opening curly brace because it could only be a
8688 block opener in that position.
8689 (ruby-smie--forward-token, ruby-smie--backward-token):
8690 Separate "|" from "&" or "*" going after it. That can happen in block
8692 (ruby-smie--indent-to-stmt): New function, seeks the end of
8693 previous statement or beginning of buffer.
8694 (ruby-smie-rules): Use it.
8695 (ruby-smie-rules): Check if there's a ":" before a curly block
8696 opener candidate; if there is, it's a hash.
8698 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8700 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8701 (cl--block-wrapper): Fix last accidental change.
8703 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
8705 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8706 Instrument, in order to hunt failure on hydra.
8708 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8710 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8711 malformed bindings form (bug#15814).
8713 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
8715 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8716 "." compared to " @ ". This incidentally fixes some indentation
8718 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8719 (ruby-smie-grammar): New tokens: "and" and "or".
8720 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8721 Exclude "and" and "or". Remove "do" in order to work around token
8723 (ruby-smie-rules): Add all infix tokens. Handle the case of
8724 beginning-of-buffer.
8726 2013-11-06 Glenn Morris <rgm@gnu.org>
8728 * Makefile.in (setwins_almost, setwins_for_subdirs):
8729 Avoid accidental matches.
8731 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * menu-bar.el (popup-menu): Use key-binding.
8735 2013-11-06 Eli Zaretskii <eliz@gnu.org>
8737 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8738 menus, support also the menus produced by minor modes.
8741 2013-11-06 Leo Liu <sdl.web@gmail.com>
8743 * thingatpt.el (thing-at-point-looking-at): Add optional arg
8744 DISTANCE to bound the search. All uses changed. (Bug#15808)
8746 2013-11-06 Glenn Morris <rgm@gnu.org>
8748 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8749 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8750 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8752 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
8754 * electric.el (electric-indent-just-newline): New command.
8755 (electric-indent-mode-map): New keymap.
8756 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8757 Re-add :group which weren't redundant.
8759 * electric.el (electric-indent-local-mode): New minor mode.
8760 (electric-indent-functions-without-reindent): New var.
8761 (electric-indent-post-self-insert-function): Use it.
8762 * emacs-lisp/gv.el (buffer-local-value): Add setter.
8764 2013-11-05 Eli Zaretskii <eliz@gnu.org>
8766 * international/quail.el (quail-help): Be more explicit about the
8767 meaning of the labels shown on the keys. (Bug#15800)
8769 * startup.el (normal-top-level): Load the subdirs.el files before
8770 setting the locale environment. (Bug#15805)
8772 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
8774 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8775 via arguments so as to get the right ones (bug#15418).
8777 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8779 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
8781 Fix problems found while writing a test suite.
8783 * net/tramp-compat.el (tramp-compat-load): New defun.
8784 * net/tramp.el (tramp-handle-load): Use it.
8786 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8787 "(numberp ok-if-already-exists)" correctly.
8789 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
8791 * international/characters.el (glyphless-char-display-control):
8794 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
8796 * progmodes/python.el (python-mode):
8797 * progmodes/scheme.el (scheme-mode):
8798 * progmodes/prolog.el (prolog-mode):
8799 * progmodes/ruby-mode.el (ruby-mode):
8800 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8801 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8803 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8805 * rect.el (rectangle--highlight-for-redisplay):
8806 * emacs-lisp/smie.el (smie--next-indent-change):
8807 Use buffer-chars-modified-tick.
8809 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8811 * electric.el (electric-indent-post-self-insert-function):
8812 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8814 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
8816 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8818 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8820 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8823 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8825 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
8827 * progmodes/python.el: Fix up last change.
8828 (python-shell--save-temp-file): New function.
8829 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
8830 `string' comes from the current buffer.
8831 (python-shell-send-string-no-output): Remove `msg' arg.
8832 (python--use-fake-loc): New var.
8833 (python-shell-buffer-substring): Obey it. Try to compensate for the
8834 extra coding line added by python-shell--save-temp-file.
8835 (python-shell-send-region): Use python-shell--save-temp-file and
8836 python-shell-send-file directly. Add `nomain' argument.
8837 (python-shell-send-buffer): Use python-shell-send-region.
8838 (python-electric-pair-string-delimiter): New function.
8839 (python-mode): Use it.
8841 2013-11-04 Eli Zaretskii <eliz@gnu.org>
8843 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8844 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8845 environment and decoding all of the default-directory's to here
8847 (command-line): Decode also argv[0].
8849 * loadup.el: Error out if default-directory is a multibyte string
8850 when we are dumping.
8852 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
8854 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
8856 * emacs-lisp/package.el (package-menu-mode)
8857 (package-menu--print-info, package-menu--archive-predicate):
8858 Add Archive column to package list.
8860 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
8862 Fix problems found while writing a test suite.
8864 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8865 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8866 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8867 to nil when running original file name handler. Otherwise,
8868 there are problems with constructs like "$$FOO".
8870 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8873 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
8875 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8877 * subr.el (version<, version<=, version=):
8878 Update docstrings with information for snapshot versions.
8880 * helpers.el: New library for misc helper functions.
8881 (hash-table-keys): New function returning a list of hash keys.
8882 (hash-table-values): New function returning a list of hash values.
8884 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
8886 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8887 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8889 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
8891 * textmodes/fill.el (fill-single-char-nobreak-p): New function
8892 checking whether point is after a 1-letter word.
8894 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8896 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8897 Don't infloop when expanding region over `multiline' syntax-type that
8898 begins a line (bug#15778).
8900 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8902 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8903 Make it into a proper minor mode.
8904 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8905 (rectangle-mark-mode-map): New keymap.
8906 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8908 2013-11-04 Glenn Morris <rgm@gnu.org>
8910 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8912 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8915 (ruby-smie-rules): Use smie-rule-parent instead.
8917 * emacs-lisp/smie.el (smie-rule-parent): Always call
8918 smie-indent-virtual rather than only for hanging tokens.
8919 (smie--next-indent-change): New helper command.
8921 2013-11-03 Glenn Morris <rgm@gnu.org>
8923 * Makefile.in (abs_srcdir): Remove.
8924 (emacs): Unset EMACSLOADPATH.
8926 2013-11-02 Glenn Morris <rgm@gnu.org>
8928 * Makefile.in (EMACS): Use a relative filename.
8929 (abs_top_builddir): Remove.
8930 (custom-deps, finder-data, autoloads): Use --chdir.
8932 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8934 Use relative filenames in TAGS files.
8935 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8936 (lisptagsfiles4, TAGS): Use relative file names.
8937 (TAGS-LISP): Remove.
8938 (maintainer-clean): No more TAGS-LISP file.
8940 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8941 (lisptagsfiles4): Use absolute filenames again.
8942 (TAGS, TAGS-LISP): Not everything needs to run in one line.
8943 Remove all *loaddefs files, not just the first. Remove esh-groups.
8944 (maintainer-clean): Delete TAGS, TAGS-LISP.
8946 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
8948 * emacs-lisp/package.el (package-version-join):
8949 Recognize snapshot versions.
8951 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
8953 * subr.el (version-regexp-alist): Add support for snapshot versions.
8955 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
8957 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
8958 New function, replacement for `smie-rule-parent' for when we want to
8959 skip over our direct parent if it's an assignment token..
8960 (ruby-smie-rules): Use it.
8962 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
8964 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
8965 unconditionally. Remove now unnecessary forward declarations.
8966 Remove XEmacs-specific setup.
8967 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8968 (ruby-font-lock-syntactic-keywords)
8969 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
8970 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8971 (ruby-here-doc-end-syntax): Remove.
8972 (ruby-mode): Don't check whether `syntax-propertize-rules' is
8973 defined as function.
8975 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
8977 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
8979 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
8981 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
8982 table and abbrev table, `define-derived-mode' does that for us
8985 2013-11-01 Glenn Morris <rgm@gnu.org>
8987 * Makefile.in: Remove manual mh-e dependencies (writing .elc
8988 files is atomic for some time, so no parallel compilation issues).
8990 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
8992 * faces.el (face-x-resources): Add :distant-foreground.
8993 (region): Use :distant-foreground for gtk and ns.
8995 2013-11-01 Tassilo Horn <tsdh@gnu.org>
8997 Allow multiple bibliographies when BibLaTeX is used rather than
8999 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9000 (reftex-locate-bibliography-files): Us it.
9002 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9004 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9005 allow comments in pbm files.
9007 * term/w32-win.el (dynamic-library-alist): Support newer versions
9008 of libjpeg starting with v7: look only for the DLL from the
9009 version against which Emacs was built.
9010 Support versions of libpng beyond 1.4.x.
9011 Support libtiff v4.x.
9013 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9015 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9016 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9018 (ruby-deep-arglist): Add property :type.
9020 2013-10-31 Glenn Morris <rgm@gnu.org>
9022 * Makefile.in (custom-deps, finder-data): No need to setq the target
9023 variables, we are in the right directory and the defaults work fine.
9025 2013-10-30 Glenn Morris <rgm@gnu.org>
9027 * Makefile.in (autoloads): Do not use abs_lisp.
9029 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9030 `newline' does not respect `standard-output', so use `princ'.
9032 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9034 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9035 * buff-menu.el (Buffer-menu--unmark): New function.
9036 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9038 2013-10-30 Glenn Morris <rgm@gnu.org>
9040 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9042 * emacs-lisp/package.el (lm-homepage): Declare.
9044 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9047 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9049 * Makefile.in (finder-data, autoloads, update-subdirs)
9050 (compile-main, compile-clean, compile-always, bootstrap-clean):
9051 Check return value of cd.
9052 (compile-calc): Remove.
9054 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9058 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9059 (byte-compile-and-folded): New function.
9060 (=, <, >, <=, >=): Use it.
9062 * dos-w32.el (minibuffer-history-case-insensitive-variables)
9063 (path-separator, null-device, buffer-file-coding-system)
9064 (lpr-headers-switches): Check system-type before modifying them.
9065 (find-buffer-file-type-coding-system): Mark obsolete.
9066 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9067 find-file-not-found-set-buffer-file-coding-system.
9068 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9069 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9070 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9071 (w32-direct-print-region-helper, w32-direct-print-region-function)
9072 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9073 * startup.el (normal-top-level-add-subdirs-to-load-path):
9074 * ps-print.el (ps-print-region-function):
9075 * lpr.el (print-region-function): Use new name.
9077 * subr.el (custom-declare-variable-early): Remove function.
9078 (custom-declare-variable-list): Remove var.
9079 (error, user-error): Remove `while' loop.
9080 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9081 (user-emacs-directory-warning, locate-user-emacs-file):
9083 * simple.el (read-quoted-char-radix, read-quoted-char):
9084 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9086 * custom.el (custom-declare-variable-list): Don't process
9087 custom-declare-variable-list.
9089 * progmodes/python.el (python-shell-get-buffer): New function.
9090 (python-shell-get-process): Use it.
9091 (python-shell-send-string): Always use utf-8 and add a cookie to tell
9092 Python which encoding was used. Don't split-string since we only care
9093 about the first line. Return the temp-file, if applicable.
9094 (python-shell-send-region): Tell compile.el how to turn locations in
9095 the temp-file into locations in the source buffer.
9097 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * subr.el (undefined): Add missing behavior from the C code for
9102 * rect.el: Use lexical-binding. Add new rectangular region support.
9103 (rectangle-mark): New command.
9104 (rectangle--region): New var.
9105 (deactivate-mark-hook): Reset rectangle--region.
9106 (rectangle--extract-region, rectangle--insert-for-yank)
9107 (rectangle--highlight-for-redisplay)
9108 (rectangle--unhighlight-for-redisplay): New functions.
9109 (region-extract-function, redisplay-unhighlight-region-function)
9110 (redisplay-highlight-region-function): Use them to handle
9112 * simple.el (region-extract-function): New var.
9113 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9114 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9115 (kill-region): Replace obsolete `yank-handler' arg with `region'.
9116 (copy-region-as-kill, kill-ring-save): Add `region' argument.
9117 (redisplay-unhighlight-region-function)
9118 (redisplay-highlight-region-function): New vars.
9119 (redisplay--update-region-highlight): New function.
9120 (pre-redisplay-function): Use it.
9121 (exchange-point-and-mark): Don't deactivate the mark before
9122 reactivate-it anyway.
9123 * comint.el (comint-kill-region): Remove yank-handler argument.
9124 * delsel.el (delete-backward-char, backward-delete-char-untabify)
9125 (delete-char): Remove property, since it's now part of their
9127 (self-insert-iso): Remove property since this command doesn't exist.
9129 * emacs-lisp/package.el (package--download-one-archive)
9130 (describe-package-1): Don't query the user about final newline.
9132 2013-10-29 Daniel Colascione <dancol@dancol.org>
9134 * net/tramp.el (tramp-methods): Document new functionality.
9135 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9136 tramp-hostname-checker if method provides one instead of scanning
9137 argument list for "%h" to decide hostname acceptability.
9139 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
9141 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9142 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9143 Handle COPY-CONTENTS. (Bug#15737)
9145 2013-10-28 Daiki Ueno <ueno@gnu.org>
9147 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9148 Document that this option has no effect with GnuPG 2.0 (bug#15552).
9150 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
9152 * image.el (defimage, image-load-path): Doc fixes.
9154 2013-10-27 Alan Mackenzie <acm@muc.de>
9156 Indent statements in macros following "##" correctly.
9157 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9158 Modify the "#" arm of a cond form to handle "#" and "##" operators.
9160 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9162 * linum.el (linum-update-window): Fix boundary test (bug#13446).
9164 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
9166 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9167 after `=' is probably a new expression.
9169 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9171 * man.el (man-imenu-title): New option.
9172 (Man-mode-map): Add menu. (Bug#15722)
9173 (Man-mode): Add imenu to menu.
9175 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
9177 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9178 specific in what the first arg can be: a non-keyword word,
9179 string/regexp/percent literal opener, opening paren, or unary
9180 operator followed directly by word.
9182 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9185 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9186 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9187 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9188 Remove vars, they do not apply any more.
9189 (prolog-mode-abbrev-table): Remove redundant declaration.
9190 (prolog-upper-case-string, prolog-lower-case-string): Remove.
9191 (prolog-use-smie): Remove.
9192 (prolog-smie-rules): Add indentation rule for the if-then-else layout
9193 supported by prolog-electric-if-then-else-flag.
9194 (prolog-mode-variables, prolog-menu): Use setq-local.
9195 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9196 Remove binding to `Backspace' since this key doesn't exist anyway.
9197 Remove bindings for electric self-inserting keys.
9198 (prog-mode): Assume it's defined.
9199 (prolog-post-self-insert): New function.
9200 (prolog-mode): Use it.
9201 (prolog-indent-line, prolog-indent-level)
9202 (prolog-find-indent-of-matching-paren)
9203 (prolog-indentation-level-of-line, prolog-goto-comment-column)
9204 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9205 (prolog-goto-next-paren, prolog-in-string-or-comment)
9206 (prolog-tokenize, prolog-inside-mline-comment)
9207 (prolog-find-start-of-mline-comment): Remove functions.
9208 (prolog-find-unmatched-paren, prolog-clause-end)
9209 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9210 (prolog-electric--if-then-else): Rename from
9211 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9212 (prolog-tokenize-searchkey): Remove const.
9213 (prolog-clause-info): Use forward-sexp.
9214 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9215 (prolog-electric-if-then-else): Remove commands.
9216 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9217 for use in post-self-insert-hook.
9218 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9219 for use in post-self-insert-hook.
9220 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9221 for use in post-self-insert-hook.
9222 (prolog-electric--underscore): Rename from prolog-electric--underscore;
9223 adapt it for use in post-self-insert-hook.
9225 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
9227 * emacs-lisp/ert.el (ert-run-tests-interactively):
9228 Use `completing-read'. (Bug#9756)
9230 2013-10-25 Eli Zaretskii <eliz@gnu.org>
9232 * simple.el (line-move): Call line-move-1 instead of
9233 line-move-visual when the current window hscroll is zero, but
9234 temporary-goal-column indicates we will need to hscroll as result
9235 of the movement. (Bug#15712)
9237 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
9239 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9240 capitalization. Use :visible instead of :active.
9241 Fix `ruby-indent-exp' reference. Add menu items for the generic
9242 commands that are used with SMIE.
9243 (ruby-do-end-to-brace): Insert space after `{'.
9245 2013-10-25 John Anthony <john@jo.hnanthony.com>
9247 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
9249 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
9251 2013-10-25 Glenn Morris <rgm@gnu.org>
9253 * vc/vc.el (vc-print-log): Don't use a working revision unless
9254 one was explicitly specified. (Bug#15322)
9256 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * subr.el (add-to-list): Preserve return value in compiler-macro
9261 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9263 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9264 result. Ask user to retry using '-all' flag. (Bug#15701)
9266 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * emacs-lisp/smie.el: New smie-config system.
9269 (smie-config): New defcustom.
9270 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9271 (smie-config-guess, smie-config-save): New commands.
9272 (smie-config--mode-local, smie-config--buffer-local)
9273 (smie-config--trace, smie-config--modefuns): New vars.
9274 (smie-config--advice, smie-config--mode-hook)
9275 (smie-config--setter, smie-config-local, smie-config--get-trace)
9276 (smie-config--guess-value, smie-config--guess): New functions.
9277 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9278 text properties. Treat "string fence" syntax like string syntax.
9280 * progmodes/sh-script.el (sh-use-smie): Change default.
9281 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9282 (sh-var-value): Simplify by CSE.
9283 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9284 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9286 (sh-guess-basic-offset): Use cl-incf.
9287 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9289 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
9291 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9294 2013-10-24 Glenn Morris <rgm@gnu.org>
9296 * Makefile.in (abs_top_srcdir): Remove.
9297 (update-subdirs): Use relative path to update-subdirs.
9299 2013-10-24 Eli Zaretskii <eliz@gnu.org>
9301 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9302 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9303 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9304 Call unmsys--file-name before expand-file-name, not after it.
9306 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
9308 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9309 (ert-test-skipped): New error.
9310 (ert-skip, ert-stats-skipped): New defuns.
9311 (ert--skip-unless): New macro.
9312 (ert-test-skipped): New struct.
9313 (ert--run-test-debugger, ert-test-result-type-p)
9314 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9315 (ert--stats-set-test-and-result, ert-char-for-test-result)
9316 (ert-string-for-test-result, ert-run-tests-batch)
9317 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9318 Handle skipped tests. (Bug#9803)
9320 2013-10-24 Glenn Morris <rgm@gnu.org>
9322 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9324 * Makefile.in (abs_top_srcdir): New, set by configure.
9325 (update-subdirs): Correct build-aux location.
9327 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
9329 * vc/vc.el (vc-print-root-log): Always set `default-directory'
9330 value, whether we could auto-deduce `backend', or not.
9332 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9333 with parameters" example. Simplify the "is it block or is it
9334 hash" check, but also make it more thorough.
9336 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
9338 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
9340 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
9342 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9345 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9348 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
9350 * progmodes/compile.el (compilation-directory-matcher)
9351 (compilation-page-delimiter):
9352 Support GNU Make-4.0 directory quoting. (Bug#15678)
9354 2013-10-23 Leo Liu <sdl.web@gmail.com>
9356 * ido.el (ido-tidy): Handle read-only text.
9358 2013-10-23 Glenn Morris <rgm@gnu.org>
9360 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9361 (emacs, compile, compile-always):
9362 Quote entities that might contain whitespace.
9363 (custom-deps, finder-data, autoloads): Use abs_lisp.
9364 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9365 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9366 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9368 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
9370 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9371 Use `following-char'.
9373 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
9375 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9376 * progmodes/ruby-mode.el (ruby-smie-rules):
9377 Remove corresponding workaround. Fix indentation rule of ";" so it
9378 also applies when ";" is the parent.
9380 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
9382 * frame.el (display-screens, display-pixel-height)
9383 (display-pixel-width, display-mm-width, display-backing-store)
9384 (display-save-under, display-planes, display-color-cells)
9385 (display-visual-class, display-monitor-attributes-list):
9386 Mention the optional ‘display’ argument in doc strings.
9388 2013-10-22 Michael Gauland <mikelygee@amuri.net>
9390 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9391 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
9393 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
9395 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9396 TODO. Add "." after " @ ".
9397 (ruby-smie--at-dot-call): New function. Checks if point at method
9398 call with explicit target.
9399 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9400 to the method name tokens when it precedes them.
9401 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9402 (ruby-smie-rules): Add rule for indentation before and after "."
9405 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
9407 * textmodes/remember.el (remember-diary-extract-entries):
9410 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9413 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
9415 * progmodes/ruby-mode.el (ruby-smie-grammar):
9416 Add (almost) all infix operators.
9417 (ruby-smie--implicit-semi-p): Add new operator chars.
9419 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9421 (ruby-smie--args-separator-p): Check that there's no newline
9422 between method call and its arguments.
9424 2013-10-20 Alan Mackenzie <acm@muc.de>
9426 Allow comma separated lists after Java "implements".
9428 * progmodes/cc-engine.el (c-backward-over-enum-header):
9430 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9431 from a "disallowed" list in enum fontification.
9433 2013-10-20 Johan Bockgård <bojohan@gnu.org>
9435 * startup.el (default-frame-background-mode): Remove unused defvar.
9437 * progmodes/verilog-mode.el (verilog-mode): Don't set
9438 comment-indent-function globally.
9440 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
9442 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9443 Move Info menu item creation to ns-win.el.
9445 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9448 * menu-bar.el: Move GNUstep specific menus...
9450 * term/ns-win.el (ns-initialize-window-system): ... to here.
9452 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9454 * simple.el (newline): Only run post-self-insert-hook when
9455 called interactively.
9457 2013-10-19 Johan Bockgård <bojohan@gnu.org>
9459 * icomplete.el (icomplete-with-completion-tables): Add :version.
9461 2013-10-19 Alan Mackenzie <acm@muc.de>
9463 Fix fontification bugs with constructors and const.
9465 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9466 CASE 2) Remove the check for the absence of a suffix construct
9467 after a function declaration with only types (no identifiers) in
9468 the parentheses. Also, accept a function declaration with just a
9469 type inside the parentheses, if this type can be positively
9470 recognised as such, or if a prefix keyword like "explicit" nails
9471 down the construct as a declaration.
9473 2013-10-19 Eli Zaretskii <eliz@gnu.org>
9475 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9476 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
9477 the problem whereby selecting a menu item that leads to a
9478 minibuffer prompt moves the cursor out of the minibuffer window,
9479 making it hard to type at the prompt. Suggested by Stefan Monnier
9480 <monnier@iro.umontreal.ca>.
9482 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
9484 * menu-bar.el: Don't make Services menu.
9486 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9488 * ffap.el: Handle "/usr/include/c++/<version>" directories.
9489 (ffap-alist): Use ffap-c++-mode for c++-mode.
9490 (ffap-c++-path): New variable.
9491 (ffap-c++-mode): New function.
9493 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
9495 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
9497 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
9499 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9500 introduced on 2013-09-08, which results in an infinite loop
9501 requesting a password.
9503 2013-10-18 Glenn Morris <rgm@gnu.org>
9505 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9507 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
9509 Sync with upstream verilog-mode revision 1a6ecec7.
9510 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9511 (verilog-mode-release-date): Remove.
9512 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9513 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9514 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9515 (verilog-auto-tieoff-ignore-regexp)
9516 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9517 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9518 (verilog-signals-with, verilog-dir-cache-preserving)
9519 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9521 (verilog-case-fold): New option, to control case folding in
9522 regexp searches, bug597.
9523 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9524 (verilog-string-match-fold, verilog-in-paren-count)
9525 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9526 (verilog-at-close-struct-p): New functions.
9527 (verilog-beg-block-re-ordered, verilog-extended-case-re)
9528 (verilog-forward-sexp, verilog-set-auto-endcomments)
9529 (verilog-leap-to-case-head): Handle "unique0" case.
9530 (verilog-in-constraint-re): New constant.
9531 (verilog-keywords, verilog-type-font-keywords):
9532 Add some SystemVerilog 1800-2012 keywords.
9533 (verilog-label-be): Remove unimplemented argument, bug669.
9534 (verilog-batch-execute-func): When batch expanding clear
9535 create-lockfiles to prevent spurious user locks when a file ends
9537 (verilog-calculate-indent, verilog-calc-1)
9538 (verilog-at-close-constraint-p, verilog-at-constraint-p)
9539 (verilog-do-indent): Fix indentation of nested constraints
9541 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9542 (verilog-auto-inst-param): Use verilog-string-match-fold.
9543 (verilog-read-inst-module-matcher):
9544 Fix AUTOINST on gate primitives with #1.
9545 (verilog-read-decls): Fix double-declaring user-defined typed signals.
9546 Reads all user-defined typed variables.
9547 (verilog-read-defines): Fix reading definitions inside comments, bug647.
9548 (verilog-signals-matching-regexp)
9549 (verilog-signals-not-matching-regexp, verilog-auto):
9550 Respect verilog-case-fold.
9551 (verilog-diff-report): Fix line count.
9552 (verilog-auto-assign-modport): Remove unused local `modi'.
9553 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9554 better handle multidimensional arrays.
9555 Fix packed array ports misadding bit index in AUTOINST, bug637.
9556 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9557 to not double-declare existing outputs and inputs, respectively.
9558 (verilog-template-map): Bind U to verilog-sk-uvm-component.
9559 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9560 (verilog-sk-uvm-component): New skeleton.
9561 (verilog-submit-bug-report): Add verilog-case-fold,
9562 remove verilog-mode-release-date.
9564 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
9566 * subr.el (sit-for): Call (input-pending-p t) so as to behave
9569 2013-10-18 Reuben Thomas <rrt@sc3d.org>
9571 * textmodes/remember.el (remember): Set buffer-offer-save in
9572 remember buffers (bug#13566).
9574 2013-10-18 Daniel Colascione <dancol@dancol.org>
9576 When evaluating forms in ielm, direct standard output to ielm
9577 buffer. Add new ielm-return-for-effect command. Remove trailing
9578 whitespace throughout.
9580 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9581 (ielm-return-for-effect): New command.
9582 (ielm-send-input): Accept optional `for-effect' parameter.
9583 (ielm-eval-input): Accept optional `for-effect' parameter.
9584 Bind `standard-output' to stream we create using
9585 `ielm-standard-output-impl'. Suppress printing result when
9587 (ielm-standard-output-impl): New function.
9588 (inferior-emacs-lisp-mode): Explain new features in documentation.
9590 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
9594 * net/tramp.el (tramp-debug-message): Do not check for connection
9596 (tramp-message): Use "vector" connection property.
9598 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9599 (tramp-equal-remote, tramp-eshell-directory-change)
9600 * net/tramp-adb.el (tramp-adb-handle-copy-file)
9601 (tramp-adb-handle-rename-file)
9602 * net/tramp-cmds.el (tramp-list-remote-buffers)
9603 (tramp-cleanup-connection, tramp-cleanup-this-connection)
9604 * net/tramp-compat.el (tramp-compat-process-running-p)
9605 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9606 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9607 (tramp-gvfs-handle-rename-file)
9608 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9609 (tramp-set-file-uid-gid)
9610 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9611 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9614 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9615 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9616 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9617 (tramp-gw-open-network-stream): Suppress unrelated traces.
9619 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9620 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9621 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9622 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9623 connection property.
9625 * net/tramp-cache.el (top): Suppress traces when reading
9628 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9629 Refactor common code. Improve debug message.
9630 (tramp-maybe-open-connection)
9631 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9632 connection buffer too early.
9634 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9635 from `tramp-smb-actions-with-acl'.
9636 (tramp-smb-actions-set-acl): New defconst.
9637 (tramp-smb-handle-copy-directory)
9638 (tramp-smb-action-get-acl): New defun, renamed from
9639 `tramp-smb-action-with-acl'.
9640 (tramp-smb-action-set-acl): New defun.
9641 (tramp-smb-handle-set-file-acl): Rewrite.
9643 2013-10-17 Glenn Morris <rgm@gnu.org>
9645 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
9647 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * skeleton.el (skeleton-newline): Remove.
9650 (skeleton-internal-1): Use (insert "\n") instead.
9652 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9655 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9656 forward-sexp-function while we redo its job (bug#15613).
9658 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
9660 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9661 represented by lists.
9663 2013-10-16 Glenn Morris <rgm@gnu.org>
9665 * tmm.el (tmm--history): New dynamic variable.
9666 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
9668 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
9670 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9671 (tramp-smb-errors): Add error messages.
9672 (tramp-smb-actions-with-acl): New defconst.
9673 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9674 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9675 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9676 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9677 (tramp-smb-get-stat-capability): Fix tests.
9679 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
9681 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9684 2013-10-16 Glenn Morris <rgm@gnu.org>
9686 * ansi-color.el (ansi-color-drop-regexp):
9687 Add 1J, 1K, 2K. (Bug#15617)
9689 * files.el (hack-local-variables--warned-lexical): New.
9690 (hack-local-variables):
9691 Warn about misplaced lexical-binding. (Bug#15616)
9693 * net/eww.el (eww-render): Always set eww-current-url,
9694 and update header line. (Bug#15622)
9695 (eww-display-html): ... Rather than just doing it here.
9697 2013-10-15 Eli Zaretskii <eliz@gnu.org>
9699 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9700 menu navigations commands.
9702 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
9704 * progmodes/subword.el (subword-capitalize): Be careful when
9705 the search for [[:alpha:]] fails (bug#15580).
9707 2013-10-14 Eli Zaretskii <eliz@gnu.org>
9709 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9710 to commands that scroll the menu.
9712 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
9714 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9715 Handle methods ending with `?' and `!'.
9717 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
9719 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9720 `japanese-cp932' to `cp932' to fix the problem where saving a
9721 source file written in Shift_JIS twice would end up having
9722 `coding: japanese-cp932' which Ruby could not recognize.
9723 (ruby-mode-set-encoding): Add support for encodings mapped to nil
9724 in `ruby-encoding-map'.
9725 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9726 doesn't need to be explicitly declared in magic comment.
9727 (ruby-encoding-map): Add type declaration for better customize UI.
9729 2013-10-13 Glenn Morris <rgm@gnu.org>
9731 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9732 Occur buffers are read-only. http://bugs.debian.org/720775
9734 * emacs-lisp/authors.el (authors-fixed-entries):
9735 Comment out old alpha stuff.
9737 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
9739 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9740 to `after-save-hook' instead of `before-save-hook'.
9741 (ruby-mode-set-encoding): Use the value of coding system used to
9742 write the file. Call `basic-save-buffer-1' after modifying the
9745 2013-10-13 Alan Mackenzie <acm@muc.de>
9747 Fix indentation/fontification of Java enum with
9748 "implements"/generic.
9750 * progmodes/cc-engine.el (c-backward-over-enum-header):
9751 Extracted from the three other places and enhanced to handle generics.
9752 (c-inside-bracelist-p): Uses new function above.
9753 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9755 (c-font-lock-enum-tail): Uses new function above.
9757 2013-10-13 Kenichi Handa <handa@gnu.org>
9759 * international/mule-cmds.el (select-safe-coding-system): Remove a
9760 superfluous condition in chekcing whether a coding system is safe
9763 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
9765 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
9767 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
9769 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
9771 2013-10-13 Glenn Morris <rgm@gnu.org>
9773 * menu-bar.el (menu-bar-update-buffers):
9774 Unify Buffers menu prompt string. (Bug#15576)
9776 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
9778 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9780 (authors-fixed-entries): Use accented form of name.
9782 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9784 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9785 method calls (bug#15594).
9786 (ruby-smie--args-separator-p): New function.
9787 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9788 recognize paren-free method calls.
9790 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9791 internals of universal-argument.
9793 2013-10-11 Eli Zaretskii <eliz@gnu.org>
9795 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9796 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9797 dropped menu on second mouse click on the menu bar.
9799 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9801 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9802 (explicit-shell-file-name): Declare.
9803 (sh--vars-before-point, sh--cmd-completion-table): New functions.
9804 (sh-completion-at-point-function): New function.
9806 (sh-smie--keyword-p): Remove unused argument.
9807 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9809 (sh-set-shell): Always setup SMIE, even if we use the
9810 old indentation code.
9812 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
9814 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9816 (ruby-smie-rules): Simplify the "do" rule. The cases when the
9817 predicate would return nil are almost non-existent.
9818 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9820 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9821 cache also after commands that modify the buffer but don't move
9824 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * env.el (substitute-env-in-file-name): New function.
9827 (substitute-env-vars): Extend the meaning of the optional arg.
9829 2013-10-10 Eli Zaretskii <eliz@gnu.org>
9831 * term/w32-win.el (dynamic-library-alist): Define separate lists
9832 of GIF DLLs for versions before and after 5.0.0 of giflib.
9835 2013-10-10 João Távora <joaotavora@gmail.com>
9837 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9838 not locked, use last revision and current source as
9839 defaults. (Bug#15569)
9841 2013-10-10 Masatake YAMATO <yamato@redhat.com>
9843 * menu-bar.el (menu-bar-open): Don't use popup-menu if
9846 2013-10-10 Martin Rudalics <rudalics@gmx.at>
9848 * window.el (pop-to-buffer-same-window): Fix doc-string.
9851 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
9853 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9855 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
9857 * calendar/icalendar.el (icalendar-import-file):
9858 Fix interactive spec. (Bug#15482)
9860 2013-10-10 Glenn Morris <rgm@gnu.org>
9862 * desktop.el (desktop-save): Default to saving in .emacs.d,
9863 since PWD is no longer in desktop-path by default. (Bug#15319)
9865 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9866 now that text mode has a menu with the same entry.
9867 (menu-bar-text-mode-auto-fill): Remove now unused func.
9868 * textmodes/text-mode.el (text-mode-map):
9869 Use auto-fill help text from menu-bar.el.
9871 2013-10-10 John Anthony <john@jo.hnanthony.com>
9873 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
9875 2013-10-09 Juri Linkov <juri@jurta.org>
9877 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9878 instead of this-command-keys. Add universal-argument-more and
9879 universal-argument-minus to the list of prefix commands. (Bug#15568)
9881 2013-10-09 Glenn Morris <rgm@gnu.org>
9883 * vc/vc-svn.el (vc-svn-create-repo):
9884 Expand paths in file://... url. (Bug#15446)
9886 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9888 (authors): Remove unused local variables.
9890 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
9892 * profiler.el: Create a more coherent calltree from partial backtraces.
9893 (profiler-format): Hide the tail with `invisible' so that C-s can still
9894 find the hidden elements.
9895 (profiler-calltree-depth): Don't recurse so enthusiastically.
9896 (profiler-function-equal): New hash-table-test.
9897 (profiler-calltree-build-unified): New function.
9898 (profiler-calltree-build): Use it.
9899 (profiler-report-make-name-part): Indent the calltree less.
9900 (profiler-report-mode): Add visibility specs for profiler-format.
9901 (profiler-report-expand-entry, profiler-report-toggle-entry):
9902 Expand the whole subtree when provided with a prefix arg.
9904 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
9906 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9908 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9909 hanging iuwu-mod token.
9910 (ruby-smie--forward-token): Do not include a dot after a token in
9912 (ruby-smie--backward-token): Likewise.
9914 2013-10-08 Juri Linkov <juri@jurta.org>
9916 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9917 to isearch-other-control-char.
9918 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9919 and isearch-post-command-hook to post-command-hook.
9920 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9921 and isearch-post-command-hook from post-command-hook.
9922 (isearch-unread-key-sequence)
9923 (isearch-reread-key-sequence-naturally)
9924 (isearch-lookup-scroll-key, isearch-other-control-char)
9925 (isearch-other-meta-char): Remove functions.
9926 (isearch-pre-command-hook, isearch-post-command-hook):
9927 New functions based on isearch-other-meta-char rewritten
9928 relying on the new behavior of overriding-terminal-local-map
9929 that does not replace the local keymaps any more. (Bug#15200)
9931 2013-10-08 Eli Zaretskii <eliz@gnu.org>
9933 Support menus on text-mode terminals.
9934 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9937 * tooltip.el (tooltip-mode): Don't error out on TTYs.
9939 * menu-bar.el (popup-menu, popup-menu-normalize-position):
9940 Move here from mouse.el.
9941 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
9943 (tty-menu-navigation-map): New map for TTY menu navigation.
9945 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
9947 * frame.el (display-mouse-p): Report text-mode mouse as available
9949 (display-popup-menus-p): Report availability if mouse is
9950 available; don't condition on window-system.
9952 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
9953 (tty-menu-selected-face): New faces.
9955 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
9958 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
9959 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
9960 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
9962 (lisp-mode-variables): New `elisp' argument.
9963 (emacs-lisp-mode): Use it.
9964 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
9965 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
9967 * indent.el: Use lexical-binding.
9968 (indent-region): Add progress reporter.
9969 (tab-stop-list): Make it implicitly extend to infinity by repeating the
9971 (indent--next-tab-stop): New function to implement this behavior.
9972 (tab-to-tab-stop, move-to-tab-stop): Use it.
9974 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
9976 * indent.el (indent-rigidly--current-indentation): New function.
9977 (indent-rigidly-map): New var.
9978 (indent-rigidly): Use it to provide interactive mode (bug#8196).
9980 2013-10-08 Bastien Guerry <bzg@gnu.org>
9982 * register.el (insert-register): Fix 2013-10-07 change.
9984 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * progmodes/perl-mode.el: Use lexical-binding.
9987 Remove redundant :group args.
9988 (perl-nochange): Change default to be closer to other major modes's
9990 (perl-indent-line): Don't consider text on current line as a
9991 valid beginning of function from which to indent.
9993 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
9994 with more than one argument (bug#15538).
9996 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
9998 * vc/pcvs.el: Use lexical-binding.
9999 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10000 environment of `eval'.
10001 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10002 than a list of expressions. Adjust callers.
10003 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10005 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10007 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10008 case of the dot in a chained method call being on the following line.
10010 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * electric.el (electric-indent-inhibit): New var.
10013 (electric-indent-post-self-insert-function): Use it.
10014 * progmodes/python.el (python-mode): Set it.
10016 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10019 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10021 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10022 (css-mode): Use electric-indent-chars.
10024 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10025 (font-lock-beg, font-lock-end): Move before first use.
10026 (nxml-mode): Use syntax-propertize-function.
10027 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10028 (nxml-extend-after-change-region): Remove.
10029 * nxml/xmltok.el: Use lexical-binding.
10030 (xmltok-save): Use `declare'.
10031 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10032 * nxml/nxml-util.el: Use lexical-binding.
10033 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10035 * nxml/nxml-ns.el: Use lexical-binding.
10036 (nxml-ns-save): Use `declare'.
10037 (nxml-ns-prefixes-for): Avoid add-to-list.
10038 * nxml/rng-match.el: Use lexical-binding.
10039 (rng--ipattern): Use cl-defstruct.
10040 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10041 (rng-cons-group-after, rng-subst-group-after)
10042 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10043 Use closures instead of `(lambda...).
10045 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
10047 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10050 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10051 Use `tramp-handle-insert-file-contents'.
10052 (tramp-gvfs-handle-insert-file-contents): Remove function.
10054 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10055 Use `save-restriction' in order to keep markers.
10057 * net/trampver.el: Update release number.
10059 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10061 * progmodes/compile.el (compilation-parse-errors):
10062 Use compilation--put-prop.
10063 (compilation--ensure-parse): Check compilation-multiline.
10065 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10067 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10070 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10072 * progmodes/ruby-mode.el: Fix recently added tests.
10073 (ruby-smie-grammar): Add - and +.
10074 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10075 (ruby-smie--backward-id): New functions.
10076 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10077 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
10080 2013-10-07 Leo Liu <sdl.web@gmail.com>
10082 * register.el (register-preview-delay)
10083 (register-preview-functions): New variables.
10084 (register-read-with-preview, register-preview)
10085 (register-describe-oneline): New functions.
10086 (point-to-register, window-configuration-to-register)
10087 (frame-configuration-to-register, jump-to-register)
10088 (number-to-register, view-register, insert-register)
10089 (copy-to-register, append-to-register, prepend-to-register)
10090 (copy-rectangle-to-register): Use register-read-with-preview to
10091 read register. (Bug#15525)
10093 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
10095 * net/network-stream.el (network-stream-open-starttls): Don't add
10096 --insecure if it's already present, because that gnutls-cli
10097 rejects getting that parameter twice.
10099 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
10101 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10104 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
10106 * newcomment.el (comment-use-global-state): Change default value
10107 to t, mark obsolete (Bug#15251).
10108 (comment-beginning): In addition to `comment-to-syntax', check the
10109 value of `comment-use-global-state'.
10111 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10113 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10114 (ruby-comment-column): Follow the global default, by default.
10115 (ruby-smie-grammar): Add assignment syntax.
10116 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10117 open-paren, a comma, or a \.
10118 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10119 and line continuations.
10120 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10121 followed by implicit semi-colons. Add rule for string concatenation
10122 and for indentation at BOB.
10123 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10125 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10126 calling next-sexp, since next-token may have skipped chars which
10127 next-sexp doesn't know should be skipped!
10129 2013-10-05 Leo Liu <sdl.web@gmail.com>
10131 * progmodes/octave.el (octave-send-region):
10132 Call compilation-forget-errors.
10134 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10136 * vc/vc-svn.el (vc-svn-find-admin-dir):
10137 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10138 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10139 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10140 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10142 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10146 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10148 * subr.el (read-passwd): Hide chars even when called within a context
10149 where after-change-functions is disabled (bug#15501).
10150 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10151 until we removed ourself from overriding-terminal-local-map.
10153 2013-10-04 Leo Liu <sdl.web@gmail.com>
10155 * progmodes/octave.el (inferior-octave-mode):
10156 Call compilation-forget-errors.
10158 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10160 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10162 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
10164 * net/secrets.el (secrets-create-collection): Add optional
10165 argument ALIAS. Use proper Label keyword. Append ALIAS as
10166 dbus-call-method argument. (Bug#15516)
10168 2013-10-04 Leo Liu <sdl.web@gmail.com>
10170 * progmodes/octave.el (inferior-octave-error-regexp-alist)
10171 (inferior-octave-compilation-font-lock-keywords): New variables.
10172 (compilation-error-regexp-alist)
10173 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10174 (inferior-octave-mode): Use compilation-shell-minor-mode.
10176 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
10178 * minibuffer.el (completion--replace): Be careful that `end' might be
10181 2013-10-03 Daiki Ueno <ueno@gnu.org>
10183 Add support for package signature checking.
10184 * emacs-lisp/package.el (url-http-file-exists-p)
10185 (epg-make-context, epg-context-set-home-directory)
10186 (epg-verify-string, epg-context-result-for)
10187 (epg-signature-status, epg-signature-to-string)
10188 (epg-check-configuration, epg-configuration)
10189 (epg-import-keys-from-file): Declare.
10190 (package-check-signature): New user option.
10191 (package-unsigned-archives): New user option.
10192 (package-desc): Add `signed' field.
10193 (package-load-descriptor): Set `signed' field if .signed file exists.
10194 (package--archive-file-exists-p): New function.
10195 (package--check-signature): New function.
10196 (package-install-from-archive): Check package signature.
10197 (package--download-one-archive): Check archive signature.
10198 (package-delete): Remove .signed file.
10199 (package-import-keyring): New command.
10200 (package-refresh-contents): Import default keyring.
10201 (package-desc-status): Add "unsigned" status.
10202 (describe-package-1, package-menu--print-info)
10203 (package-menu-mark-delete, package-menu--find-upgrades)
10204 (package-menu--status-predicate): Support "unsigned" status.
10206 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10209 the new compilation scheme using the new byte-codes.
10211 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10212 (byte-pophandler): New byte codes.
10213 (byte-goto-ops): Adjust accordingly.
10214 (byte-compile--use-old-handlers): New var.
10215 (byte-compile-catch): Use new byte codes depending on
10216 byte-compile--use-old-handlers.
10217 (byte-compile-condition-case--old): Rename from
10218 byte-compile-condition-case.
10219 (byte-compile-condition-case--new): New function.
10220 (byte-compile-condition-case): New function that dispatches depending
10221 on byte-compile--use-old-handlers.
10222 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10225 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10226 Optimize under `condition-case' and `catch' if
10227 byte-compile--use-old-handlers is nil.
10228 (disassemble-offset): Handle new bytecodes.
10230 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10232 * subr.el (error): Use `declare'.
10233 (decode-char, encode-char): Use advertised-calling-convention instead
10234 of the docstring to discourage use of the `restriction' arg.
10236 2013-10-03 Daiki Ueno <ueno@gnu.org>
10238 * epg.el (epg-verify-file): Add a comment saying that it does not
10239 notify verification error as a return value nor a signal.
10240 (epg-verify-string): Ditto.
10242 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10244 * progmodes/compile.el (compilation-start): Try globbing the arg to
10247 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
10249 Sync with Tramp 2.2.8.
10251 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10252 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10253 * net/trampver.el: Update release number.
10255 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
10257 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10258 and default-process-coding-system for darwin only.
10260 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
10262 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10264 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
10266 * vc/vc-git.el (vc-git-grep): Disable pager.
10268 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
10270 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10271 Use :url instead of :homepage, as per
10272 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10274 * newcomment.el (comment-beginning): When `comment-use-syntax' is
10275 non-nil, use `syntax-ppss' (Bug#15251).
10277 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10279 * progmodes/octave.el (inferior-octave-startup-file):
10280 Prefer ~/.emacs.d/init_octave.m.
10282 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
10284 * emacs-lisp/package.el (package-desc-from-define):
10285 Accept additional arguments as plist, convert them to an alist and store
10286 them in the `extras' slot.
10287 (package-generate-description-file): Convert extras alist back to
10288 plist and append to the `define-package' form arguments.
10289 (package--alist-to-plist): New function.
10290 (package--ac-desc): Add `extras' slot.
10291 (package--add-to-archive-contents): Check if the archive-contents
10292 vector is long enough, and if it is, pass its `extras' slot value
10293 to `package-desc-create'.
10294 (package-buffer-info): Call `lm-homepage', pass the returned value
10295 to `package-desc-from-define'.
10296 (describe-package-1): Render the homepage button (Bug#13291).
10298 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10299 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10301 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
10303 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10304 and default-process-coding-system to utf-8-unix (Bug#15402).
10306 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
10308 * subr.el (looking-back): Do not recommend using looking-back.
10310 2013-09-28 Alan Mackenzie <acm@muc.de>
10312 Fix indentation/fontification of Java enum with "implements".
10314 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10315 regexp which matches "implements", etc., in Java.
10316 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10317 specifier clauses coming after "enum".
10318 * progmodes/cc-fonts.el (c-font-lock-declarations)
10319 (c-font-lock-enum-tail): Check for extra specifier clauses coming
10322 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
10324 * faces.el (region): Change ns_selection_color to
10325 ns_selection_fg_color, add ns_selection_bg_color.
10327 2013-09-28 Leo Liu <sdl.web@gmail.com>
10329 * progmodes/octave.el (inferior-octave-completion-table)
10330 (inferior-octave-completion-at-point): Minor tweaks.
10332 * textmodes/ispell.el (ispell-lookup-words): Rename from
10333 lookup-words. (Bug#15460)
10334 (lookup-words): Obsolete.
10335 (ispell-complete-word, ispell-command-loop): All uses changed.
10337 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10339 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10340 (octave-mode-menu): Add octave-send-buffer.
10341 (octave-send-buffer): New function.
10343 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10345 * progmodes/octave.el (octave-mode-map): Add key binding for
10347 (octave-mode-menu): Add octave-lookfor.
10348 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10350 (octave-lookfor): New function.
10352 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10354 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10355 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10357 (cl--loop-set-iterator-function): New function.
10358 (cl-loop): Adjust accordingly, so as not to use cl-subst.
10359 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10360 Bind `it' with `let' instead of substituting it with `cl-subst'.
10361 (cl--unused-var-p): New function.
10362 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10363 Eliminate some unused variable warnings (bug#15326).
10365 2013-09-27 Tassilo Horn <tsdh@gnu.org>
10367 * doc-view.el (doc-view-scale-reset): Rename from
10368 `doc-view-reset-zoom-level'.
10369 (doc-view-scale-adjust): New command.
10370 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10371 `doc-view-scale-adjust'.
10373 2013-09-26 Tassilo Horn <tsdh@gnu.org>
10375 * doc-view.el (doc-view-reset-zoom-level): New command.
10376 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10377 zoom commands (bug#15466).
10379 2013-09-26 Kenichi Handa <handa@gnu.org>
10381 * international/quail.el (quail-help): Make it not a command.
10383 2013-09-26 Leo Liu <sdl.web@gmail.com>
10385 * minibuffer.el (completion-all-sorted-completions): Make args
10386 optional as they are.
10388 2013-09-25 Daniel Colascione <dancol@dancol.org>
10390 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10391 specs are and that they're not evaluated.
10393 2013-09-24 Sam Steingold <sds@gnu.org>
10395 * midnight.el (clean-buffer-list-kill-regexps)
10396 (clean-buffer-list-kill-buffer-names): Update for the new Man
10397 buffer naming which includes the object name.
10399 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10401 * eshell/esh-cmd.el (eshell--sep-terms): New var.
10402 (eshell-parse-command, eshell-parse-pipeline): Use it since
10403 eshell-separate-commands requires a dynamic scoped var.
10404 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10406 2013-09-23 Leo Liu <sdl.web@gmail.com>
10408 * autoinsert.el (auto-insert-alist): Make the value of
10409 lexical-binding match its file setting.
10411 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
10413 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10415 * autoarg.el (autoarg-kp-digit-argument):
10416 * electric.el (Electric-command-loop):
10417 * kmacro.el (kmacro-step-edit-insert):
10418 Do not set universal-argument-num-events.
10420 2013-09-22 Leo Liu <sdl.web@gmail.com>
10422 * files.el (interpreter-mode-alist): Add octave.
10424 2013-09-21 Alan Mackenzie <acm@muc.de>
10426 C++: fontify identifier in declaration following "public:" correctly.
10427 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10428 to match "public", etc.
10429 (c-decl-prefix-re): Add ":" into the C++ value.
10430 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10431 bit. Add a check for a ":" preceded by "public", etc.
10433 2013-09-21 Eli Zaretskii <eliz@gnu.org>
10435 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10436 recognized by GDB 7.5 and later.
10438 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
10440 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10442 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10444 * subr.el (internal--call-interactively): New const.
10445 (called-interactively-p): Use it (bug#3984).
10447 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
10449 * vc/pcvs.el (cvs-mode-ignore):
10450 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10451 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10453 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
10456 (eshell-ls-orig-insert-directory): Remove.
10457 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
10458 (eshell-ls-use-in-dired): Use advice-add/remove.
10459 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10460 Add `orig-fun' arg for use in :around advice.
10461 Make it check (redundantly) eshell-ls-use-in-dired.
10463 2013-09-19 Glenn Morris <rgm@gnu.org>
10465 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10467 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10469 * emacs-lisp/eieio.el (class-parent): Undo previous change.
10471 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
10473 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10474 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10475 (tramp-get-remote-python): New defuns.
10476 (tramp-get-remote-uid-with-perl)
10477 (tramp-get-remote-gid-with-perl): New defuns. Perl code
10478 contributed by yary <not.com@gmail.com> (tiny change).
10479 (tramp-get-remote-uid-with-python)
10480 (tramp-get-remote-gid-with-python): New defuns. Python code
10481 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10482 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10484 2013-09-19 Glenn Morris <rgm@gnu.org>
10486 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10488 * eshell/em-unix.el (eshell-remove-entries):
10489 Rename argument to avoid name-clash with global `top-level'.
10491 * eshell/esh-proc.el (eshell-kill-process-function):
10492 Remove eshell-reset-after-proc from eshell-kill-hook if present.
10493 (eshell-reset-after-proc): Remove unused arg `proc'.
10495 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10496 (directory-files-and-attributes): Mark unused arg.
10498 * eshell/em-unix.el (eshell-remove-entries):
10499 Remove unused arg `path'. Update callers.
10501 * eshell/em-hist.el (eshell-hist-parse-arguments):
10502 Remove unused arg `silent'. Update callers.
10504 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10505 Fix (f)boundp mix-up.
10507 * eshell/em-smart.el (eshell-smart-scroll-window)
10508 (eshell-disable-after-change):
10509 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10511 2013-09-18 Alan Mackenzie <acm@muc.de>
10513 Fix fontification of type when followed by "const".
10514 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10515 "known" types from fontification.
10517 2013-09-18 Glenn Morris <rgm@gnu.org>
10519 * emacs-lisp/chart.el (x-display-color-cells): Declare.
10520 (chart-face-list): Drop Emacsen without display-color-p.
10522 * net/eww.el (libxml-parse-html-region): Declare.
10523 (eww-display-html): Explicit error if no libxml2 support.
10525 * doc-view.el (doc-view-mode): Silence --without-x compilation.
10527 * image.el (image-type-from-buffer, image-multi-frame-p):
10528 Remove --without-x warning/error.
10530 * mouse.el (mouse-yank-primary):
10531 * term.el (term-mouse-paste):
10532 Reorder to silence --without-x compilation.
10534 * mpc.el (doc-view-mode): Silence --without-x compilation.
10536 * mail/rmailmm.el (rmail-mime-set-bulk-data):
10537 Silence --without-x compilation.
10539 * progmodes/gud.el (gud-find-file, gud-mode):
10540 Silence --without-x compilation.
10541 (tooltip-mode): Declare.
10543 * wdired.el (dired-backup-overwrite): Remove declaration.
10544 (wdired-mode-map): Add doc string.
10546 * custom.el (x-get-resource): Declare.
10548 * eshell/em-glob.el (ange-cache):
10549 * eshell/em-unix.el (ange-cache): Declare.
10551 * faces.el (x-display-list, x-open-connection, x-get-resource):
10554 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10555 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10558 * frame.el (x-display-grayscale-p, x-display-name): Declare.
10560 * net/gnutls.el (gnutls-log-level): Declare.
10562 * net/shr.el (image-size, image-animate): Declare.
10564 * simple.el (font-info): Declare.
10566 * subr.el (x-popup-dialog): Declare.
10568 * term/common-win.el (x-select-enable-primary)
10569 (x-last-selected-text-primary, x-last-selected-text-clipboard):
10572 * term/ns-win.el (x-handle-args): Declare.
10574 * term/x-win.el (x-select-enable-clipboard): Declare.
10576 * term/w32-win.el (create-default-fontset): Declare.
10578 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10581 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10582 (fit-frame-to-buffer): Explicit error if --without-x.
10583 (mouse-autoselect-window-select): Silence compiler.
10585 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10587 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10588 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10589 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10590 * eshell/esh-util.el (eshell-sublist):
10591 Remove unused local variables.
10593 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10595 * textmodes/two-column.el: Make 2C-split work for --without-x.
10596 (scroll-bar-columns): Autoload.
10597 (top-level): Require fringe when compiling.
10599 2013-09-18 Leo Liu <sdl.web@gmail.com>
10601 * subr.el (add-hook): Robustify to handle closure as well.
10603 2013-09-17 Glenn Morris <rgm@gnu.org>
10605 * simple.el (messages-buffer-mode-map): Unbind "g".
10607 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * help-mode.el (help-mode-finish): Use derived-mode-p.
10610 Remove obsolete highlighting.
10612 * play/life.el (life-mode): Use define-derived-mode. Derive from
10614 (life): Let-bind inhibit-read-only.
10615 (life-setup): Avoid `setq'. Use `life-mode'.
10617 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10618 which should not be needed any more.
10619 (package-menu-refresh, package-menu-describe-package): Use user-error.
10621 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10622 (eshell-post-rewrite-command-hook): Make obsolete.
10623 (eshell-parse-command): Simplify.
10624 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10625 (eshell--cmd): Declare.
10626 (eshell-parse-pipeline): Remove unused var `final-p'.
10627 Pass a dynvar to eshell-post-rewrite-command-hook.
10628 Implement the new eshell-post-rewrite-command-function.
10629 (eshell-invoke-directly): Remove unused arg `input'.
10630 * eshell/esh-io.el (eshell-io-initialize):
10631 Use eshell-post-rewrite-command-function (bug#15399).
10632 (eshell--apply-redirections): Rename from eshell-apply-redirections;
10633 adjust to new calling convention.
10634 (eshell-create-handles): Rename args to avoid clashing with dynvar
10637 2013-09-17 Glenn Morris <rgm@gnu.org>
10639 * simple.el (messages-buffer-mode): New major mode.
10640 (messages-buffer): New function.
10641 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10642 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10643 (ert-run-test): Use `messages-buffer' function.
10644 (ert--force-message-log-buffer-truncation): Ignore read-only.
10645 * help.el (view-echo-area-messages): Use `messages-buffer' function.
10646 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10648 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10652 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10654 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10656 * icomplete.el (icomplete-in-buffer): New var.
10657 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10658 vars and replace them with functions.
10659 (icomplete-minibuffer-setup): Adjust accordingly.
10660 (icomplete--completion-table, icomplete--completion-predicate)
10661 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10663 (icomplete-forward-completions, icomplete-backward-completions)
10664 (icomplete-simple-completing-p, icomplete-exhibit)
10665 (icomplete-completions): Use them.
10666 (icomplete--in-region-buffer): New var.
10667 (icomplete--in-region-setup): New function.
10668 (icomplete-mode): Use it.
10670 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10672 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10673 return args and options.
10674 (eshell-eval-using-options): Use the new return value of
10675 eshell--do-opts to set the options's vars in their scope.
10676 (eshell--set-option): Rename from eshell-set-option.
10677 Add arg `opt-vals'.
10678 (eshell--process-option): Rename from eshell-process-option.
10679 Add arg `opt-vals'.
10680 (eshell--process-args): Use an `opt-vals' alist to store the options's
10681 values during their processing and return them additionally to the
10684 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
10686 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10687 continuation character an operator, as far as indentation is
10688 concerned (Bug#15369).
10690 2013-09-15 Martin Rudalics <rudalics@gmx.at>
10692 * window.el (window--state-put-2): Don't process buffer state
10693 when buffer doesn't exist any more (Bug#15382).
10695 2013-09-15 Glenn Morris <rgm@gnu.org>
10697 * eshell/em-unix.el (eshell/rm):
10698 Make -f ignore missing files. (Bug#15373)
10700 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
10701 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10702 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10704 2013-09-14 Glenn Morris <rgm@gnu.org>
10706 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10708 2013-09-13 Glenn Morris <rgm@gnu.org>
10710 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10711 (dired-guess-default): Make `file' available in the env. (Bug#15363)
10713 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
10715 * frame.el (x-focus-frame): Mark as declared in frame.c.
10717 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * ls-lisp.el: Use advice-add.
10720 (original-insert-directory): Remove.
10721 (ls-lisp--insert-directory): Rename from insert-directory; add
10722 `orig-fun' argument.
10723 (insert-directory): Advise.
10725 2013-09-13 Eli Zaretskii <eliz@gnu.org>
10727 * term.el (term-emulate-terminal): Decode the command string
10728 before passing it to term-command-hook. (Bug#15337)
10730 2013-09-13 Glenn Morris <rgm@gnu.org>
10732 * eshell/esh-util.el (ange-cache): Move declaration earlier.
10734 * eshell/esh-ext.el (eshell-search-path): Declare.
10736 * eshell/em-prompt.el (eshell/pwd): Autoload it.
10737 Otherwise an error occurs if eshell-dirs module not loaded.
10739 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10741 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
10743 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10744 `tramp-check-proper-host'. Check for a valid method name.
10746 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10747 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10748 * net/tramp-sh.el (tramp-maybe-open-connection):
10749 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10751 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10752 also for hash values.
10754 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * term/ns-win.el (parameters): Don't declare as dynamic.
10757 (before-make-frame-hook): Don't add ineffective function.
10759 * eshell/*.el: Use lexical-binding (bug#15231).
10761 2013-09-12 Kenichi Handa <handa@gnu.org>
10763 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10765 2013-09-12 Glenn Morris <rgm@gnu.org>
10767 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10768 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10770 * subr.el (do-after-load-evaluation): Also give compiler warnings
10771 when obsolete files are used (except by obsolete files).
10773 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10774 in the status output, assume `filename' is the first. (Bug#15322)
10776 * vc/vc.el (vc-deduce-fileset): Doc fix.
10778 * calc/calc-help.el (Info-goto-node):
10779 * progmodes/cperl-mode.el (Info-find-node):
10780 * vc/ediff.el (Info-goto-node): Update declarations.
10782 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10784 * vc/vc-bzr.el (vc-compilation-mode): Declare.
10785 (vc-bzr-pull): Require vc-dispatcher.
10786 * vc/vc-git.el (vc-compilation-mode): Declare.
10787 (vc-git-pull): Require vc-dispatcher.
10789 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10791 * progmodes/octave.el (help-button-action): Declare.
10793 * shell.el (shell-directory-tracker): Output error as a message
10794 rather than just returning it as a string.
10795 (shell-process-pushd): Remove useless use of message.
10797 * dframe.el (dframe-timer-fn):
10798 * files.el (dir-locals-read-from-file):
10799 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10801 * reveal.el (reveal-post-command):
10802 * saveplace.el (load-save-place-alist-from-file):
10803 * shell.el (shell-resync-dirs):
10804 * w32-common-fns.el (x-get-selection-value):
10805 * emacs-lisp/copyright.el (copyright-find-copyright):
10806 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10807 * emulation/tpu-edt.el (tpu-copy-keyfile):
10808 * play/bubbles.el (bubbles--mark-neighbourhood):
10809 * progmodes/executable.el
10810 (executable-make-buffer-file-executable-if-script-p):
10811 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10813 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10815 Cleanup Eshell to rely less on dynamic scoping.
10816 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10817 last-value, and ext-command here. Bind `args' closer to `body'.
10818 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10819 (eshell--args): Declare new dynamic var.
10820 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
10821 last-value, and ext-command. Pass `args' to `body'.
10822 (eshell-process-args): Bind eshell--args.
10823 (eshell-set-option): Use eshell--args.
10824 * eshell/eshell.el (eshell): Use derived-mode-p.
10825 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10826 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10827 (eshell-glob-function): Declare.
10828 * eshell/esh-util.el: Require cl-lib.
10829 (eshell-read-hosts-file): Avoid add-to-list.
10830 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10832 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10834 (eshell/diff): Remove unused var `err'.
10835 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10837 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10838 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10840 * eshell/em-glob.el (eshell-glob-matches, message-shown):
10841 Move declaration before first use.
10842 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10843 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10846 2013-09-12 Glenn Morris <rgm@gnu.org>
10848 * term/ns-win.el (global-map): Remove binding for ispell-next,
10849 deleted 1999-05-29. (Bug#15357)
10851 2013-09-11 Glenn Morris <rgm@gnu.org>
10853 * echistory.el (electric-command-history): Remove call to deleted func.
10855 * play/landmark.el (landmark-mode): Fix typos.
10857 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10858 Check cvs-sort-ignore-file is bound.
10860 * savehist.el: No need for cl when compiling on Emacs.
10862 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10864 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10866 (eshell-self-insert-command, eshell-send-invisible):
10867 Remove unused argument.
10868 (eshell-handle-control-codes): Remove unused var `orig'.
10869 Avoid delete-backward-char.
10871 * files.el (set-auto-mode): Simplify a bit further.
10873 2013-09-11 Glenn Morris <rgm@gnu.org>
10875 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10876 (set-auto-mode): Don't regexp-quote elements.
10877 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10878 * progmodes/cc-mode.el (interpreter-mode-alist):
10879 * progmodes/ruby-mode.el (interpreter-mode-alist):
10880 Revert previous change.
10882 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * play/snake.el (snake-mode):
10885 * play/mpuz.el (mpuz-mode):
10886 * play/landmark.el (lm-mode):
10887 * play/blackbox.el (blackbox-mode):
10888 * play/5x5.el (5x5-mode):
10889 * obsolete/options.el (Edit-options-mode):
10890 * net/quickurl.el (quickurl-list-mode):
10891 * net/newst-treeview.el (newsticker-treeview-mode):
10892 * mail/rmailsum.el (rmail-summary-mode):
10893 * mail/mspools.el (mspools-mode):
10894 * locate.el (locate-mode):
10895 * ibuffer.el (ibuffer-mode):
10896 * emulation/ws-mode.el (wordstar-mode):
10897 * emacs-lisp/debug.el (debugger-mode):
10898 * array.el (array-mode):
10899 * net/eudc.el (eudc-mode): Use define-derived-mode.
10900 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10901 Move initialization into declaration.
10902 (mairix-searches-mode): Use define-derived-mode.
10903 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10904 (eudc-edit-hotlist): Use dolist.
10905 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10906 (Man-mode): Use define-derived-mode.
10907 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10908 (Info-edit-mode): Use define-derived-mode.
10909 (Info-cease-edit): Use Info-mode.
10910 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10912 (eshell-mode): Use define-derived-mode.
10913 * chistory.el (command-history-mode-map): Rename from
10914 command-history-map.
10915 (command-history-mode): Use define-derived-mode.
10916 (Command-history-setup): Remove function.
10917 * calc/calc.el (calc-trail-mode-map): New var.
10918 (calc-trail-mode): Use define-derived-mode.
10919 (calc-trail-buffer): Set calc-main-buffer manually.
10920 * bookmark.el (bookmark-insert-annotation): New function.
10921 (bookmark-edit-annotation): Use it.
10922 (bookmark-edit-annotation-mode): Make it a proper major mode.
10923 (bookmark-send-edited-annotation): Use derived-mode-p.
10924 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10925 closer to its ideal place. Use \' to match EOS.
10927 * profiler.el (profiler-calltree-find): Use function-equal.
10929 2013-09-10 Glenn Morris <rgm@gnu.org>
10931 * files.el (interpreter-mode-alist): Convert to regexps.
10932 (set-auto-mode): Adapt for this. (Bug#15306)
10933 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10934 Comment out unused variable.
10935 * progmodes/cc-mode.el (interpreter-mode-alist):
10936 * progmodes/python.el (interpreter-mode-alist):
10937 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10938 * progmodes/sh-script.el (sh-set-shell):
10939 No longer use interpreter-mode-alist to get list of shells.
10941 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
10943 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10945 * simple.el: Use set-temporary-overlay-map for universal-argument.
10946 (universal-argument-map): Don't use default-bindings (bug#15317).
10947 Bind switch-frame explicitly. Replace universal-argument-minus with
10948 a conditional binding.
10949 (universal-argument-num-events, saved-overriding-map): Remove.
10950 (restore-overriding-map): Remove.
10951 (universal-argument--mode): Rename from save&set-overriding-map,
10953 (universal-argument, universal-argument-more, negative-argument)
10954 (digit-argument): Adjust accordingly.
10955 (universal-argument-minus): Remove.
10956 (universal-argument-other-key): Remove.
10958 * subr.el (with-demoted-errors): Add `format' argument.
10960 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
10962 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
10963 `tramp-cleanup-connection'.
10965 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
10966 parameters KEEP-DEBUG and KEEP-PASSWORD.
10968 * net/tramp.el (tramp-file-name-handler):
10969 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10970 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10971 (tramp-maybe-open-connection):
10972 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10973 Use `tramp-cleanup-connection'.
10975 * net/tramp-sh.el (tramp-maybe-open-connection):
10976 Catch 'uname-changed inside the progress reporter.
10978 2013-09-10 Glenn Morris <rgm@gnu.org>
10980 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
10982 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
10983 returns "alternate access method" in mode (eg "-rw-r--r--.").
10985 2013-09-08 Glenn Morris <rgm@gnu.org>
10987 * saveplace.el (load-save-place-alist-from-file):
10988 Demote errors. (Bug#15305)
10990 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
10992 Improve compatibility with older Emacsen, and XEmacs.
10994 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
10995 only if it is bound. It isn't for XEmacs.
10996 (with-tramp-progress-reporter): Do not let-bind `result'.
10997 This yields to scoping errors in XEmacs.
10998 (tramp-handle-make-auto-save-file-name): New function, moved from
11001 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11002 for `make-auto-save-file-name'.
11003 (tramp-adb--gnu-switches-to-ash):
11004 Use `tramp-compat-replace-regexp-in-string'.
11006 * net/tramp-cache.el (tramp-cache-print): Call
11007 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11009 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11010 bound. It isn't for XEmacs.
11012 * net/tramp-compat.el (tramp-compat-copy-file):
11013 Catch `wrong-number-of-arguments' error.
11014 (tramp-compat-replace-regexp-in-string): New defun.
11016 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11017 for `make-auto-save-file-name'.
11018 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11020 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11021 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11022 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11024 * net/tramp-gw.el (tramp-gw-open-network-stream):
11025 Use `tramp-compat-replace-regexp-in-string'.
11027 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11028 Call `tramp-handle-make-auto-save-file-name'.
11029 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11030 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11031 (tramp-sh-file-inotifywait-process-filter):
11032 Use `tramp-compat-replace-regexp-in-string'.
11033 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11035 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11036 for `make-auto-save-file-name'.
11037 (tramp-smb-handle-copy-directory):
11038 Call `tramp-compat-replace-regexp-in-string'.
11039 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11040 (tramp-smb-handle-copy-file): Improve error message.
11041 (tramp-smb-handle-rename-file): Rename directly only in case
11042 `newname' does not exist yet. This is a restriction of smbclient.
11043 (tramp-smb-maybe-open-connection): Rerun the function only when
11044 `auth-sources' is non-nil.
11046 2013-09-08 Kenichi Handa <handa@gnu.org>
11048 * international/characters.el: Set category "^" (Combining) for
11051 2013-09-07 Alan Mackenzie <acm@muc.de>
11053 Correctly fontify Java class constructors.
11054 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11056 (c-recognize-typeless-decls): Set the Java value to t.
11057 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11058 While handling a "(", add a check for, effectively, Java, and handle a
11059 "typeless" declaration there.
11061 2013-09-07 Roland Winkler <winkler@gnu.org>
11063 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11064 field subtitle for entry type book.
11066 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11068 * minibuffer.el: Make minibuffer-complete call completion-in-region
11069 rather than other way around.
11070 (completion--some, completion-pcm--find-all-completions):
11071 Don't delay signals when debugging.
11072 (minibuffer-completion-contents): Beware fields within the
11073 minibuffer contents.
11074 (completion-all-sorted-completions): Use defvar-local.
11075 (completion--do-completion, completion--cache-all-sorted-completions)
11076 (completion-all-sorted-completions, minibuffer-force-complete):
11077 Add args `beg' and `end'.
11078 (completion--in-region-1): New fun, extracted from minibuffer-complete.
11079 (minibuffer-complete): Use completion-in-region.
11080 (completion-complete-and-exit): New fun, extracted from
11081 minibuffer-complete-and-exit.
11082 (minibuffer-complete-and-exit): Use it.
11083 (completion--complete-and-exit): Rename from
11084 minibuffer--complete-and-exit.
11085 (completion-in-region--single-word): New function, extracted from
11086 minibuffer-complete-word.
11087 (minibuffer-complete-word): Use it.
11088 (display-completion-list): Make `common-substring' argument obsolete.
11089 (completion--in-region): Call completion--in-region-1 instead of
11090 minibuffer-complete.
11091 (completion-help-at-point): Pass boundaries to
11092 minibuffer-completion-help as args rather than via an overlay.
11093 (completion-pcm--string->pattern): Use `any-delim'.
11094 (completion-pcm--optimize-pattern): New function.
11095 (completion-pcm--pattern->regex): Handle `any-delim'.
11096 * icomplete.el (icomplete-forward-completions)
11097 (icomplete-backward-completions, icomplete-completions):
11098 Adjust calls to completion-all-sorted-completions and
11099 completion--cache-all-sorted-completions.
11100 (icomplete-with-completion-tables): Default to t.
11101 * emacs-lisp/crm.el (crm--current-element): Rename from
11102 crm--select-current-element. Don't put an overlay but return the
11103 boundaries instead.
11104 (crm--completion-command): Take two new args to bind to the boundaries.
11105 (crm-completion-help): Adjust accordingly.
11106 (crm-complete): Use completion-in-region.
11107 (crm-complete-word): Use completion-in-region--single-word.
11108 (crm-complete-and-exit): Use completion-complete-and-exit.
11110 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11112 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11115 2013-09-06 Juri Linkov <juri@jurta.org>
11117 * info.el (Info-display-images-node): When image file doesn't exist
11118 display text version of the image if it's provided in the Info file.
11119 Otherwise, display the location of missing image from SRC attribute.
11120 Add help-echo text property from ALT attribute. (Bug#15279)
11122 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11124 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11125 (edit-abbrevs-mode): Use define-derived-mode.
11127 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11128 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11130 (epa-key-list-mode, epa-key-mode, epa-info-mode):
11131 Use define-derived-mode.
11133 * epg.el (epg-start-encrypt): Minor CSE simplification.
11135 2013-09-06 William Xu <william.xwl@gmail.com>
11137 * arc-mode.el: Add support for 7za (bug#15264).
11138 (archive-7z-program): New var.
11139 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11140 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11141 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11143 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
11147 * net/tramp.el (tramp-syntax, tramp-prefix-format)
11148 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11149 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11150 (tramp-postfix-host-format, tramp-file-name-regexp)
11151 (tramp-completion-file-name-regexp)
11152 (tramp-completion-dissect-file-name)
11153 (tramp-handle-substitute-in-file-name): Remove 'url case.
11154 (tramp-file-name-regexp-url)
11155 (tramp-completion-file-name-regexp-url): Remove constants.
11157 2013-09-06 Glenn Morris <rgm@gnu.org>
11159 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
11161 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
11163 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11164 keywords" below "here-doc beginnings" (Bug#15270).
11166 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * subr.el (pop): Use `car-safe'.
11169 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11170 to detect unused `pop' return value.
11172 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11173 var `block-regexp'.
11174 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11175 (python-fill-string): Remove unused var `marker'.
11176 (python-skeleton-add-menu-items): Remove unused var `items'.
11178 * international/mule-cmds.el: Require CL.
11179 (find-coding-systems-for-charsets): Avoid add-to-list.
11180 (sanitize-coding-system-list): New function, extracted from
11181 select-safe-coding-system-interactively.
11182 (select-safe-coding-system-interactively): Use it.
11183 (read-input-method-name): Accept symbols for `default'.
11185 * emacs-lisp/advice.el (defadvice): Add indent rule.
11187 2013-09-05 Daniel Hackney <dan@haxney.org>
11191 * net/browse-url.el:
11194 * net/eudcb-ldap.el:
11198 * vc/ediff-diff.el:
11199 * vc/ediff-init.el:
11200 * vc/ediff-merg.el:
11201 * vc/ediff-mult.el:
11202 * vc/ediff-util.el:
11203 * vc/ediff-wind.el:
11207 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11208 byte compiler. Remove some unused let-bound variables.
11210 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11212 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11213 a "ref-cell", since it gets better optimized (bug#14883).
11215 2013-09-05 Glenn Morris <rgm@gnu.org>
11217 * progmodes/cc-awk.el (c-forward-sws): Declare.
11219 2013-09-04 Glenn Morris <rgm@gnu.org>
11221 * generic-x.el [rul-generic-mode]: Require cc-mode.
11222 (c++-mode-syntax-table): Declare.
11223 (rul-generic-mode-syntax-table): Init in the defvar.
11225 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
11227 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11228 (vc-do-command, vc-set-async-update):
11229 * vc/vc-mtn.el (vc-mtn-dir-status):
11230 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11231 (vc-hg-pull, vc-hg-merge-branch):
11232 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11233 (vc-git-merge-branch):
11234 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11235 (vc-cvs-dir-status-files):
11236 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11237 (vc-bzr-dir-status-files):
11238 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11239 * vc/vc-annotate.el: Use lexical-binding.
11240 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11241 (vc-sentinel-movepoint): Declare.
11242 (vc-annotate): Don't use `goto-line'.
11243 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11244 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11245 (vc-sentinel-movepoint): Declare.
11246 * vc/vc-svn.el: Use lexical-binding.
11247 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11249 * vc/vc-rcs.el: Use lexical-binding.
11251 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11252 `deleted'. Don't drop errors silently.
11254 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11256 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
11258 * vc/vc.el (vc-ignore): Rewrite.
11259 (vc-default-ignore): New function.
11260 (vc-default-ignore-completion-table): Use find-ignore-file.
11262 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11263 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11264 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11265 Remove. Most code moved to vc.el.
11267 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11270 * net/tramp-smb.el (tramp-smb-get-file-entries):
11271 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11272 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11274 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11276 (eww-change-select): Remove unused var `properties'.
11277 (eww-make-unique-file-name): Remove unused var `base'.
11279 * finder.el (finder-compile-keywords): Don't mess with windows.
11281 * calculator.el (calculator-funcall): Fix typo in last change.
11283 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11285 * emacs-lisp/package.el (package-activate-1): Don't let a missing
11286 <pkg>-autoloads.el file stop us.
11288 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11289 warnings, and factor out common code.
11291 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
11293 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11294 two-character operators and whether the character preceding them
11295 changes their meaning (Bug#15208).
11297 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11299 Format code sent to Python shell for robustness.
11300 * progmodes/python.el (python-shell-buffer-substring):
11302 (python-shell-send-region, python-shell-send-buffer): Use it.
11304 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
11306 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11307 * net/tramp.el (tramp-user-error): ... here.
11308 (tramp-find-method, tramp-check-proper-host)
11309 (tramp-dissect-file-name, tramp-debug-message)
11310 (tramp-handle-shell-command):
11311 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11312 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11314 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11316 2013-09-02 Martin Rudalics <rudalics@gmx.at>
11318 * avoid.el (mouse-avoidance-point-position)
11319 (mouse-avoidance-too-close-p): Handle case where posn-at-point
11322 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11324 * progmodes/python.el (python-shell-completion-get-completions):
11325 Drop use of deleted `comint-last-prompt-overlay'.
11326 (python-nav-if-name-main): New command.
11328 2013-09-01 Glenn Morris <rgm@gnu.org>
11330 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11331 Avoid leading space in $wins. Otherwise the sed command used by
11332 eg compile-main ends up containing "/*.el". (Bug#15170)
11334 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
11336 2013-08-30 Glenn Morris <rgm@gnu.org>
11338 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11339 Fix is-this-a-directory logic. (Bug#15220)
11341 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * textmodes/css-mode.el: Use SMIE.
11344 (css-smie-grammar): New var.
11345 (css-smie--forward-token, css-smie--backward-token)
11346 (css-smie-rules): New functions.
11347 (css-mode): Use them.
11348 (css-navigation-syntax-table): Remove var.
11349 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11350 (css-indent-calculate, css-indent-line): Remove functions.
11352 Misc changes to reduce use of `(lambda...); and other cleanups.
11353 * cus-edit.el: Use lexical-binding.
11354 (customize-push-and-save, customize-apropos)
11355 (custom-buffer-create-internal): Use closures.
11356 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11357 * progmodes/ada-xref.el: Use setq.
11358 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11359 * dframe.el: Use lexical-binding.
11360 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
11361 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11362 * descr-text.el: Use lexical-binding.
11363 (describe-text-widget, describe-text-sexp, describe-property-list):
11365 * comint.el (comint-history-isearch-push-state): Use a closure.
11366 * calculator.el: Use lexical-binding.
11367 (calculator-number-to-string): Make it work with lexical-binding.
11368 (calculator-funcall): Same and use cl-letf.
11370 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11371 (lisp--company-doc-string, lisp--company-location): New functions.
11372 (lisp-completion-at-point): Use them to improve Company support.
11374 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11375 params of lambda expressions.
11376 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11377 (ruby-smie--opening-pipe-p): New function.
11378 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11379 symbols and matched |...| for formal params.
11380 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11381 from being treated as hanging. Handle "rescue".
11383 2013-08-29 Glenn Morris <rgm@gnu.org>
11385 * progmodes/cc-engine.el (c-pull-open-brace):
11386 Move definition before use.
11388 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11390 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11391 are immutable. Don't use `unsafe' any more.
11392 (cl--defsubst-expand): Don't substitute at the same time as keeping
11393 a residual unused let-binding. Don't use `unsafe' any more.
11395 2013-08-29 Glenn Morris <rgm@gnu.org>
11397 * calendar/cal-china.el (calendar-chinese-year-cache):
11400 * nxml/nxml-util.el (nxml-debug-clear-inside):
11401 Use cl-loop rather than loop.
11403 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11405 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11407 2013-08-28 Glenn Morris <rgm@gnu.org>
11409 * progmodes/antlr-mode.el: No need to require cc-mode twice.
11411 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11413 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11415 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * simple.el (repeat-complex-command--called-interactively-skip):
11419 (repeat-complex-command): Use it (bug#14136).
11421 * progmodes/cc-mode.el: Minor cleanup of var declarations.
11422 (c-define-abbrev-table): Add `doc' argument.
11423 (c-mode-abbrev-table, c++-mode-abbrev-table)
11424 (objc-mode-abbrev-table, java-mode-abbrev-table)
11425 (idl-mode-abbrev-table, pike-mode-abbrev-table)
11426 (awk-mode-abbrev-table): Use it.
11427 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11428 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11429 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11430 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11431 Move initialization into the declaration; and remove any
11434 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11435 and dynamic let binding.
11437 * vc/smerge-mode.el: Remove redundant :group args.
11439 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11442 2013-08-28 Juri Linkov <juri@jurta.org>
11444 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11445 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11446 (isearch-other-meta-char): Handle an undefined shifted printing
11447 character by downshifting it. (Bug#15200)
11449 2013-08-28 Juri Linkov <juri@jurta.org>
11451 * isearch.el (isearch-search): Change regexp error message for
11452 non-regexp searches. (Bug#15166)
11454 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
11456 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11457 for portability to hosts where /bin/sh has problems.
11459 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11461 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11463 2013-08-27 Juri Linkov <juri@jurta.org>
11465 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11466 in the keyboard macro. (Bug#15126)
11468 2013-08-27 Juri Linkov <juri@jurta.org>
11470 * isearch.el (isearch-quote-char): Comment out converting unibyte
11471 to multibyte, thus syncing with its `quoted-insert' counterpart.
11474 2013-08-27 Martin Rudalics <rudalics@gmx.at>
11476 * window.el (display-buffer-use-some-window): Add missing
11477 argument in call of get-largest-window (Bug#15185).
11478 Reported by Stephen Leake.
11480 2013-08-27 Glenn Morris <rgm@gnu.org>
11482 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11484 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * progmodes/python.el (python-font-lock-keywords): Don't return nil
11487 from a matcher-function unless there's no more matches (bug#15161).
11489 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
11491 * minibuffer.el: Revert change from 2013-08-20.
11493 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11494 with text property `tramp-default', if appropriate.
11495 (tramp-check-proper-host): New defun.
11496 (tramp-dissect-file-name): Do not check hostname. Revert change
11498 (tramp-backtrace): Make VEC-OR-PROC optional.
11500 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11501 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11502 * net/tramp-sh.el (tramp-maybe-open-connection):
11503 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11504 Apply `tramp-check-proper-host'.
11506 2013-08-26 Tassilo Horn <tsdh@gnu.org>
11508 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11509 lambda expression in order to have `describe-variable' display it.
11511 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
11513 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11514 BUF can be optional. (Bug#15186)
11516 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
11518 * progmodes/flymake.el (flymake-get-real-file-name-function):
11519 Fix broken customization. (Bug#15184)
11521 2013-08-25 Alan Mackenzie <acm@muc.de>
11523 Improve indentation of bracelists defined by macros (without "=").
11525 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11526 expansion begins with "{", regard it as bracelist when it doesn't
11529 Parse C++ inher-intro when there's a template split over 2 lines.
11531 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11532 rigorously the search for "class" etc. followed by ":".
11534 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11535 random languages a regexp which never matches rather than nil.
11537 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11539 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11540 (c-awk-regexp-one-line-possibly-open-char-list-re)
11541 (c-awk-one-line-possibly-open-regexp-re)
11542 (c-awk-one-line-non-syn-ws*-re): Remove.
11543 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11544 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11545 (c-awk-space*-unclosed-regexp-/-re): New constants.
11546 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11547 aren't regexp delimiters.
11549 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11550 handling for a rare situation in AWK Mode involving unterminated
11553 2013-08-23 Glenn Morris <rgm@gnu.org>
11555 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11557 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11559 * files.el (create-file-buffer): If the result would begin with
11560 spaces, prepend a "|" instead of removing them. (Bug#15162)
11562 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11564 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11565 text-properties (bug#15155).
11567 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11569 (calc-keypad-redraw): Remove unused var `pad'.
11570 (calc-keypad-press): Remove unused var `menu'.
11572 2013-08-23 Martin Rudalics <rudalics@gmx.at>
11574 * window.el (display-buffer-pop-up-frame):
11575 Call pop-up-frame-function with BUFFER current so `make-frame' will
11576 use it as the new frame's buffer (Bug#15133).
11578 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * calendar/timeclock.el: Minor cleanups.
11581 (timeclock-ask-before-exiting, timeclock-use-display-time):
11583 (timeclock-modeline-display): Define as alias before the
11585 (timeclock-mode-line-display): Use define-minor-mode.
11586 (timeclock-day-list-template): Make it a function, add an argument.
11587 (timeclock-day-list-required, timeclock-day-list-length)
11588 (timeclock-day-list-debt, timeclock-day-list-span)
11589 (timeclock-day-list-break): Adjust calls accordingly.
11591 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
11593 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11594 Use read--expression so that completion works again.
11596 2013-08-21 Sam Steingold <sds@gnu.org>
11598 Add rudimentary inferior shell interaction
11599 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11600 (sh-set-shell): Reset it.
11601 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11602 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11604 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
11606 * align.el: Use lexical-binding.
11607 (align-region): Simplify accordingly.
11609 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
11611 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11613 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11614 `non-essential' up.
11616 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
11619 * net/tramp-adb.el:
11620 * net/tramp-cmds.el:
11621 * net/tramp-ftp.el:
11622 * net/tramp-gvfs.el:
11624 * net/tramp-sh.el: Don't wrap external variable declarations by
11625 `eval-when-compile'.
11627 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11629 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11630 now that Emacs supports ImageMagick animations.
11632 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
11634 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11635 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11637 2013-08-16 Martin Rudalics <rudalics@gmx.at>
11639 * window.el (mouse-autoselect-window-select): Do autoselect when
11640 mouse pointer is on margin.
11642 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
11644 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
11646 2013-08-16 Glenn Morris <rgm@gnu.org>
11648 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11649 Handle "Remote Directory" response of some clients. (Bug#15058)
11651 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11652 Tweak warning. (Bug#14926)
11654 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11655 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
11657 * image-mode.el (image-mode-map): Add menu items to reverse,
11658 increase, decrease, reset animation speed.
11659 (image--set-speed, image-increase-speed, image-decrease-speed)
11660 (image-reverse-speed, image-reset-speed): New functions.
11661 (image-mode-map): Add bindings for speed commands.
11663 * image.el (image-animate-get-speed, image-animate-set-speed):
11665 (image-animate-timeout): Respect image :speed property.
11667 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11669 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11670 previous line (bug#15101).
11671 (debugger-eval-expression, debugger-record-expression):
11672 Use read--expression (bug#15102).
11674 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
11676 Remove byte compiler warnings, visible when compiling with
11677 `byte-compile-force-lexical-warnings' set to t.
11679 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11680 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11681 (tramp-handle-unhandled-file-name-directory)
11682 (tramp-handle-file-notify-add-watch, tramp-action-login)
11683 (tramp-action-succeed, tramp-action-permission-denied)
11684 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11685 arguments with "_".
11687 * net/tramp-adb.el (tramp-adb-parse-device-names)
11688 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11689 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11690 (tramp-adb-handle-file-truename): Remove unused arguments.
11692 * net/tramp-cache.el (tramp-flush-directory-property)
11693 (tramp-flush-connection-property, tramp-list-connections)
11694 (tramp-parse-connection-properties): Prefix unused arguments with "_".
11696 * net/tramp-compat.el (tramp-compat-make-temp-file):
11697 Rename FILENAME to F.
11699 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11700 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11701 (tramp-zeroconf-parse-workstation-device-names)
11702 (tramp-zeroconf-parse-webdav-device-names)
11703 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11705 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11706 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11708 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11710 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11711 (tramp-sh-handle-insert-file-contents-literally)
11712 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11714 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11715 Remove unused variables.
11717 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11718 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11719 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11721 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11722 Make them a defconst.
11723 (tramp-uuencode-region): Remove unused variable.
11725 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
11727 * frameset.el (frameset--prop-setter): New function.
11728 (frameset-prop): Add gv-setter declaration.
11729 (frameset-filter-minibuffer): Deal with the case that the minibuffer
11730 parameter was already set in FILTERED. Doc fix.
11731 (frameset--record-minibuffer-relationships): Allow saving a
11732 minibufferless frame without its corresponding minibuffer frame.
11733 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11734 frame, if the frame id matches.
11735 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11736 frames before orphaned ones.
11737 (frameset-restore): Warn about orphaned windows, instead of error out.
11739 2013-08-14 Martin Rudalics <rudalics@gmx.at>
11741 * window.el (window-make-atom): Don't overwrite parameter
11743 (display-buffer-in-atom-window): Handle special case where we
11744 split an already atomic window.
11745 (window--major-non-side-window, display-buffer-in-side-window)
11746 (window--side-check): Ignore minibuffer window when walking
11748 (window-deletable-p): Return 'frame only if no other frame uses
11749 our minibuffer window.
11750 (record-window-buffer): Run buffer-list-update-hook.
11751 (split-window): Make sure window--check-frame won't destroy an
11752 existing atomic window in case the new window gets nested
11754 (display-buffer-at-bottom): Ignore minibuffer window when
11755 walking window tree. Don't split a side window.
11756 (pop-to-buffer): Don't set-buffer here, the select-window call
11758 (mouse-autoselect-window-select): Autoselect only if we are in the
11759 text portion of the window.
11761 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11763 * net/shr.el (shr-parse-image-data): New function to grab both the
11764 data itself and the Content-Type.
11765 (shr-put-image): Use it.
11767 * net/eww.el (eww-display-image): Ditto.
11769 * image.el (image-content-type-suffixes): New variable.
11771 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11773 * progmodes/python.el (python-imenu--build-tree)
11774 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11776 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
11778 * simple.el (backward-word): Mention the optional argument.
11780 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * frameset.el (frameset--make): Rename constructor from make-frameset.
11783 (frameset-p, frameset-valid-p): Don't autoload.
11784 (frameset-valid-p): Use normal accessors.
11786 2013-08-13 Glenn Morris <rgm@gnu.org>
11788 * progmodes/compile.el (compile-command): Tweak example in doc.
11789 * obsolete/scribe.el (scribe-mode):
11790 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
11792 * mail/feedmail.el (feedmail-confirm-outgoing)
11793 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11795 * cus-start.el (truncate-partial-width-windows): Fix type.
11797 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11799 * net/shr.el (shr-table-horizontal-line): Fix custom type.
11801 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11803 * emacs-lisp/timer.el (timer--time-setter): New function.
11804 (timer--time): Use it as gv-setter.
11806 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11807 setter is not a symbol.
11809 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
11811 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11812 if sending fails. This makes debugging easier.
11814 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
11816 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11817 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11818 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11820 2013-08-12 Eli Zaretskii <eliz@gnu.org>
11822 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11824 2013-08-12 Glenn Morris <rgm@gnu.org>
11826 * format.el (format-annotate-function):
11827 Handle read-only text properties in the source. (Bug#14887)
11829 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831 * net/eww.el (eww-display-html): Ignore coding system errors.
11832 One web site uses "utf-8lias" as the coding system.
11834 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
11836 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11838 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
11840 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11841 (tutorial--detailed-help): Remove unused local variables.
11842 (tutorial--save-tutorial-to): Use ignore-errors.
11843 (help-with-tutorial): Use looking-at-p.
11845 * view.el (view-buffer-other-window, view-buffer-other-frame):
11846 Mark unused arguments.
11848 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11849 (woman-select-symbol-fonts, woman, woman-find-file)
11850 (woman-insert-file-contents, woman-non-underline-faces):
11851 Use string-match-p.
11852 (woman1-unquote): Move declaration.
11854 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11855 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
11856 argument. Remove unused local variable.
11857 (xml-parse-elem-type): Use string-match-p.
11858 (xml-substitute-numeric-entities): Use ignore-errors.
11860 * calculator.el (calculator): Mark unused argument.
11861 (calculator-paste, calculator-quit, calculator-integer-p):
11863 (calculator-string-to-number, calculator-decimal, calculator-exp)
11864 (calculator-op-or-exp): Use string-match-p.
11866 * dired.el (dired-buffer-more-recently-used-p): Declare.
11867 (dired-insert-set-properties, dired-insert-old-subdirs):
11870 * dired-aux.el (dired-compress): Use ignore-errors.
11871 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11872 (dired-do-async-shell-command, dired-do-shell-command)
11873 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11874 (dired-insert-subdir-validate): Use string-match-p.
11875 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11876 (dired-add-entry): Use string-match-p, looking-at-p.
11877 (dired-insert-subdir-newpos): Remove unused local variable.
11879 * filenotify.el (file-notify-callback): Remove unused local variable.
11881 * filesets.el (filesets-error): Mark unused argument.
11882 (filesets-which-command-p, filesets-filter-dir-names)
11883 (filesets-directory-files, filesets-get-external-viewer)
11884 (filesets-ingroup-get-data): Use string-match-p.
11886 * find-file.el (ff-other-file-name, ff-other-file-name)
11887 (ff-find-the-other-file, ff-cc-hh-converter):
11888 Remove unused local variables.
11889 (ff-get-file-name): Use string-match-p.
11890 (ff-all-dirs-under): Use ignore-errors.
11892 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11893 (follow-select-if-visible): Remove unused local variable.
11895 * forms.el (read-file-filter): Move declaration.
11896 (forms--make-format, forms--make-parser, forms-insert-record):
11897 Quote function with #'.
11898 (forms--update): Use string-match-p. Quote function with #'.
11900 * help-mode.el (help-dir-local-var-def): Mark unused argument.
11901 (help-make-xrefs): Use looking-at-p.
11902 (help-xref-on-pp): Use looking-at-p, ignore-errors.
11904 * ibuffer.el (ibuffer-ext-visible-p): Declare.
11905 (ibuffer-confirm-operation-on): Use string-match-p.
11907 * msb.el (msb-item-handler, msb-dired-item-handler):
11908 Mark unused arguments.
11910 * ses.el (ses-decode-cell-symbol)
11911 (ses-kill-override): Remove unused local variable.
11912 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11913 (ses-load): Use ignore-errors, looking-at-p.
11914 (ses-jump-safe): Use ignore-errors.
11915 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11917 * tabify.el (untabify, tabify): Mark unused arguments.
11919 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11920 Mark unused argument.
11921 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11922 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11924 * emacs-lisp/timer.el (timer--time): Define setter with
11925 gv-define-setter to avoid deprecation warning.
11927 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11928 (*record-cmpl-statistics-p*): Remove (was commented out).
11929 (cmpl-statistics-block): Remove (body was commented out).
11930 All callers changed.
11931 (add-completions-from-buffer, load-completions-from-file):
11932 Remove unused variables.
11934 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
11936 * filecache.el (file-cache-delete-file-list):
11937 Print message only when told so.
11938 (file-cache-files-matching): Use #' in mapconcat argument.
11940 * ffap.el (ffap-url-at-point): Fix reference to variable
11941 thing-at-point-default-mail-uri-scheme.
11943 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11945 * subr.el (define-error): New function.
11946 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
11947 error-file-not-found and define with define-error.
11948 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
11949 and define with define-error.
11950 * userlock.el (file-locked, file-supersession):
11951 * simple.el (mark-inactive):
11952 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11953 * progmodes/ada-mode.el (ada-mode-errors):
11954 * play/life.el (life-extinct):
11955 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
11956 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
11957 * nxml/rng-util.el (rng-error):
11958 * nxml/rng-uri.el (rng-uri-error):
11959 * nxml/rng-match.el (rng-compile-error):
11960 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
11961 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
11962 * nxml/nxml-rap.el (nxml-scan-error):
11963 * nxml/nxml-outln.el (nxml-outline-error):
11964 * net/soap-client.el (soap-error):
11965 * net/gnutls.el (gnutls-error):
11966 * net/ange-ftp.el (ftp-error):
11967 * mpc.el (mpc-proc-error):
11968 * json.el (json-error, json-readtable-error, json-unknown-keyword)
11969 (json-number-format, json-string-escape, json-string-format)
11970 (json-key-format, json-object-format):
11971 * jka-compr.el (compression-error):
11972 * international/quail.el (quail-error):
11973 * international/kkc.el (kkc-error):
11974 * emacs-lisp/ert.el (ert-test-failed):
11975 * calc/calc.el (calc-error, inexact-result, math-overflow)
11977 * bookmark.el (bookmark-error-no-filename):
11978 * epg.el (epg-error): Define with define-error.
11980 * time.el (display-time-event-handler)
11981 (display-time-next-load-average): Don't call sit-for since it seems
11982 unnecessary (bug#15045).
11984 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
11985 Use #' instead of ' to quote functions.
11986 (checkdoc-output-mode): Use setq-local.
11987 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
11988 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
11989 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
11990 (checkdoc-ispell, checkdoc-ispell-current-buffer)
11991 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
11992 (checkdoc-ispell-message-text, checkdoc-ispell-start)
11993 (checkdoc-ispell-continue, checkdoc-ispell-comments)
11994 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
11996 * ido.el (ido-completion-help): Fix up compiler warning.
11998 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12000 * frameset.el (frameset-p): Add autoload cookie.
12001 (frameset--jump-to-register): New function, based on code moved from
12003 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12005 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12006 (frameset-restore, frameset-save, frameset-session-filter-alist):
12007 Remove declarations.
12008 (register-alist): Doc fix.
12009 (frameset-to-register): Move to frameset.el.
12010 (jump-to-register, describe-register-1): Remove frameset-specific code.
12012 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12014 * allout-widgets.el (allout-widgets-pre-command-business)
12015 (allout-widgets-post-command-business)
12016 (allout-widgets-after-change-handler)
12017 (allout-decorate-item-and-context, allout-set-boundary-marker)
12018 (allout-body-modification-handler)
12019 (allout-graphics-modification-handler): Mark ignored arguments.
12020 (allout-widgets-post-command-business)
12021 (allout-widgets-exposure-change-processor)
12022 (allout-widgets-exposure-undo-processor)
12023 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12024 (allout-parse-item-at-point, allout-decorate-item-guides)
12025 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12026 * allout.el (epa-passphrase-callback-function): Declare.
12027 (allout-overlay-insert-in-front-handler)
12028 (allout-overlay-interior-modification-handler)
12029 (allout-isearch-end-handler, allout-chart-siblings)
12030 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12031 (allout-yank-processing, allout-process-exposed)
12032 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12033 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12034 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12035 (lisp-indent-defform): Mark ignored arguments.
12036 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
12037 (calculate-lisp-indent): Remove unused variables.
12038 * international/characters.el (indian-2-column, arabic-2-column)
12039 (tibetan): Mark ignored arguments.
12040 (use-cjk-char-width-table): Mark ignored arguments.
12041 Remove unused variables.
12042 * international/fontset.el (build-default-fontset-data)
12043 (x-compose-font-name, create-fontset-from-fontset-spec):
12044 Mark ignored arguments.
12045 (fontset-plain-name): Remove unused variables.
12046 * international/mule.el (charset-id, charset-bytes, generic-char-p)
12047 (keyboard-coding-system): Mark ignored arguments.
12048 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
12049 * help.el (resize-temp-buffer-window):
12050 * window.el (display-buffer-in-major-side-window)
12051 (display-buffer-in-side-window, display-buffer-in-previous-window):
12052 Remove unused variables.
12053 * isearch.el (isearch-forward-symbol):
12054 * version.el (emacs-bzr-version-bzr):
12055 * international/mule-cmds.el (current-language-environment):
12056 * term/common-win.el (x-handle-iconic, x-handle-geometry)
12057 (x-handle-display):
12058 * term/pc-win.el (x-list-fonts, x-display-planes)
12059 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12060 (x-server-version, x-display-screens, x-display-mm-height)
12061 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12062 (x-selection-owner-p, x-own-selection-internal)
12063 (x-disown-selection-internal, x-get-selection-internal)
12064 (msdos-initialize-window-system):
12065 * term/tty-colors.el (tty-color-alist, tty-color-clear):
12066 * term/x-win.el (x-handle-no-bitmap-icon):
12067 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12068 (vc-default-find-file-hook, vc-default-extra-menu):
12069 Mark ignored arguments.
12071 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12073 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12074 break-condition in the context of the debugged code (bug#12685).
12076 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
12079 Do not use an overlay to highlight the last prompt. (Bug#14744)
12080 (comint-mode): Make comint-last-prompt buffer local.
12081 (comint-last-prompt): New variable.
12082 (comint-last-prompt-overlay): Remove. Superseded by
12083 comint-last-prompt.
12084 (comint-snapshot-last-prompt, comint-output-filter):
12085 Use comint-last-prompt.
12087 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12089 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
12090 (frameset-save): Check validity of the resulting frameset.
12092 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
12094 * ido.el (ido-record-command): Add doc string.
12096 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12098 * frameset.el (frameset): Do not disable creation of the default
12099 frameset-p predicate. Doc fix.
12100 (frameset-valid-p): New function, copied from the old predicate-p.
12101 Add additional checks.
12102 (frameset-restore): Check with frameset-valid-p.
12103 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12104 (frameset-name, frameset-description, frameset-properties)
12105 (frameset-states): Add docstring.
12106 (frameset-session-filter-alist, frameset-persistent-filter-alist)
12107 (frameset-filter-alist): Doc fixes.
12109 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12111 * frameset.el (frameset-p, frameset-prop): Doc fixes.
12113 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12115 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12116 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12117 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12118 (byte-compile-normal-call): Remove obsolescence check.
12120 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12122 * frameset.el (frameset-restore): Doc fix.
12124 * register.el (frameset-frame-id, frameset-frame-with-id)
12125 (frameset-p, frameset-restore, frameset-save): Declare.
12126 (register-alist): Document framesets.
12127 (frameset-session-filter-alist): Declare.
12128 (frameset-to-register): New function.
12129 (jump-to-register): Implement jumping to framesets. Doc fix.
12130 (describe-register-1): Describe framesets.
12132 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12134 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
12136 * desktop.el (desktop-save-frameset): Use new frameset-save args.
12137 Use lexical-binding.
12139 * frameset.el (frameset): Use type vector, not list (incompatible
12140 change). Do not declare a new constructor, use the default one.
12141 Upgrade suggested properties `app', `name' and `desc' to slots `app',
12142 `name' and `description', respectively, and add read-only slot
12143 `timestamp'. Doc fixes.
12144 (frameset-copy, frameset-persistent-filter-alist)
12145 (frameset-filter-alist, frameset-switch-to-gui-p)
12146 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12147 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12148 (frameset-filter-iconified, frameset-keep-original-display-p):
12150 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12151 Rename from frameset-filter-(save|restore)-param. All callers changed.
12153 (frameset-p): Adapt to change to vector and be more thorough.
12154 Change arg name to OBJECT. Doc fix.
12155 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
12156 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12157 All callers changed.
12158 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12159 All callers changed.
12160 (frameset--record-minibuffer-relationships): Rename from
12161 frameset--process-minibuffer-frames. All callers changed.
12162 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12163 Use new default constructor (again). Doc fix.
12164 (frameset--find-frame-if): Rename from `frameset--find-frame'.
12165 All callers changed.
12166 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12167 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12169 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12170 PARAMETERS and WINDOW-STATE, respectively.
12171 (frameset-restore): Add new keyword argument PREDICATE.
12172 Reset frameset--target-display to nil. Doc fix.
12174 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12176 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12177 (bat-mode): Use it.
12178 (bat-mode-syntax-table): Mark \n as end-of-comment.
12179 (bat-font-lock-keywords): Remove comment rule.
12181 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
12182 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
12184 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12185 (byte-compile-callargs-warn): Use `push'.
12186 (byte-compile-arglist-warn): Ignore higher-order "calls".
12187 (byte-compile-file-form-autoload): Use `pcase'.
12188 (byte-compile-function-form): If quoting a symbol, check that it exists.
12190 2013-08-07 Eli Zaretskii <eliz@gnu.org>
12192 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12193 and add a few popular commands found in batch files.
12194 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12195 (dos-mode): Doc fixes.
12197 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12199 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12200 (dos-mode): Use setq-local. Add space after "rem".
12201 (dos-mode-syntax-table): Don't use "w" for symbol chars.
12202 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12204 2013-08-07 Arni Magnusson <arnima@hafro.is>
12206 * progmodes/dos.el: New file.
12207 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12210 2013-08-06 Glenn Morris <rgm@gnu.org>
12212 * calendar/calendar.el: Add new faces, and day-header-array.
12213 (calendar-weekday-header, calendar-weekend-header)
12214 (calendar-month-header): New faces.
12215 (calendar-day-header-construct): New function.
12216 (calendar-day-header-width): Also :set calendar-day-header-array.
12217 (calendar-american-month-header, calendar-european-month-header)
12218 (calendar-iso-month-header): Use calendar- faces.
12219 (calendar-generate-month):
12220 Use calendar-day-header-array for day headers; apply faces to them.
12221 (calendar-mode): Check calendar-font-lock-keywords non-nil.
12222 (calendar-abbrev-construct): Add optional maxlen argument.
12223 (calendar-day-name-array): Doc fix.
12224 (calendar-day-name-array, calendar-abbrev-length)
12225 (calendar-day-abbrev-array):
12226 Also :set calendar-day-header-array, and maybe redraw.
12227 (calendar-day-header-array): New option. (Bug#15007)
12228 (calendar-font-lock-keywords): Set to nil and make obsolete.
12229 (calendar-day-name): Add option to use header array.
12231 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12233 * net/shr.el (shr-render-td): Remove debugging.
12234 (shr-render-td): Make width computation consistent by defaulting
12235 all zero-width columns to 10 characters. This may not be optimal,
12236 but it's at least consistent.
12237 (shr-make-table-1): Redo last change to fix the real problem in
12240 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12242 * files.el (cache-long-line-scans):
12243 Make obsolete alias to `cache-long-scans'.
12245 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12247 * frameset.el (frameset, frameset-filter-alist)
12248 (frameset-filter-params, frameset-save, frameset--reuse-frame)
12249 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12250 (frameset-compute-pos): Rename from frameset--compute-pos,
12252 (frameset-move-onscreen): Use frameset-compute-pos.
12253 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12255 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12256 Fix typos in docstrings.
12258 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12260 * frame.el (get-other-frame): Tiny cleanup.
12262 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12264 * vc/vc.el (vc-default-ignore-completion-table):
12265 Silence byte-compiler warning.
12267 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12268 slot, which can indeed be nil.
12269 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12270 Move entry for `left' from persistent to live filter alist.
12271 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12273 (frameset-filter-params): When restoring a frame, copy items added to
12274 `filtered', to avoid unwittingly modifying the original parameters.
12275 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
12276 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12278 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12279 to use looking-at-p instead of looking-at. (Bug#15028)
12281 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12283 Revert introduction of isearch-filter-predicates (bug#14714).
12284 Rely on add-function instead.
12285 * isearch.el (isearch-filter-predicates): Rename it back to
12286 isearch-filter-predicate.
12287 (isearch-message-prefix): Use advice-function-mapc and advice
12288 properties to get the isearch-message-prefix.
12289 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12290 instead of run-hook-with-args-until-failure.
12291 (isearch-filter-visible): Not obsolete any more.
12292 * loadup.el: Preload nadvice.
12293 * replace.el (perform-replace): Revert to funcall
12294 instead of run-hook-with-args-until-failure.
12295 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12296 * dired-aux.el (dired-isearch-filenames-mode): Rename from
12297 dired-isearch-filenames-toggle; make it into a proper minor mode.
12298 Use add/remove-function.
12299 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12300 Call the minor-mode rather than add/remove-hook.
12301 (dired-isearch-filter-filenames):
12302 Remove isearch-message-prefix property.
12303 * info.el (Info--search-loop): New function, extracted from Info-search.
12304 Funcall isearch-filter-predicate instead of
12305 run-hook-with-args-until-failure isearch-filter-predicates.
12306 (Info-search): Use it.
12307 (Info-mode): Use isearch-filter-predicate instead of
12308 isearch-filter-predicates.
12310 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12312 Do not call to `selected-window' where it is assumed by default.
12313 Affected functions are `window-minibuffer-p', `window-dedicated-p',
12314 `window-hscroll', `window-width', `window-height', `window-buffer',
12315 `window-frame', `window-start', `window-point', `next-window'
12316 and `window-display-table'.
12317 * abbrev.el (abbrev--default-expand):
12318 * bs.el (bs--show-with-configuration):
12319 * buff-menu.el (Buffer-menu-mouse-select):
12320 * calc/calc.el (calc):
12321 * calendar/calendar.el (calendar-generate-window):
12322 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12323 (diary-make-entry):
12324 * comint.el (send-invisible, comint-dynamic-complete-filename)
12325 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12326 * completion.el (complete):
12327 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12328 * disp-table.el (describe-current-display-table):
12329 * doc-view.el (doc-view-insert-image):
12330 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12331 * ehelp.el (with-electric-help):
12332 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12333 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12334 * emacs-lisp/helper.el (Helper-help-scroller):
12335 * emulation/cua-base.el (cua--post-command-handler-1):
12336 * eshell/esh-mode.el (eshell-output-filter):
12337 * ffap.el (ffap-gnus-wrapper):
12338 * help-macro.el (make-help-screen):
12339 * hilit-chg.el (highlight-compare-buffers):
12340 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12341 * hl-line.el (global-hl-line-highlight):
12342 * icomplete.el (icomplete-simple-completing-p):
12343 * isearch.el (isearch-done):
12344 * jit-lock.el (jit-lock-stealth-fontify):
12345 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12346 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12347 * mpc.el (mpc-tagbrowser, mpc):
12348 * net/rcirc.el (rcirc-any-buffer):
12349 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12350 * play/landmark.el (landmark-max-width, landmark-max-height):
12351 * play/zone.el (zone):
12352 * progmodes/compile.el (compilation-goto-locus):
12353 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12354 * progmodes/etags.el (find-tag-other-window):
12355 * progmodes/fortran.el (fortran-column-ruler):
12356 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12357 * progmodes/verilog-mode.el (verilog-point-text):
12358 * reposition.el (reposition-window):
12359 * rot13.el (toggle-rot13-mode):
12360 * server.el (server-switch-buffer):
12361 * shell.el (shell-dynamic-complete-command)
12362 (shell-dynamic-complete-environment-variable):
12363 * simple.el (insert-buffer, set-selective-display)
12364 (delete-completion-window):
12365 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12366 (speedbar-recenter):
12367 * startup.el (fancy-splash-head):
12368 * textmodes/ispell.el (ispell-command-loop):
12369 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12370 * tutorial.el (help-with-tutorial):
12371 * vc/add-log.el (add-change-log-entry):
12372 * vc/compare-w.el (compare-windows):
12373 * vc/ediff-help.el (ediff-indent-help-message):
12374 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12375 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12376 (ediff-setup-control-frame):
12377 * vc/emerge.el (emerge-position-region):
12378 * vc/pcvs-util.el (cvs-bury-buffer):
12379 * window.el (walk-windows, mouse-autoselect-window-select):
12380 * winner.el (winner-set-conf, winner-undo): Related users changed.
12382 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
12384 * frameset.el (frameset--set-id): Doc fix.
12385 (frameset-frame-id, frameset-frame-id-equal-p)
12386 (frameset-locate-frame-id): New functions.
12387 (frameset--process-minibuffer-frames, frameset--reuse-frame)
12388 (frameset-restore): Use them.
12390 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12392 Do not call to `selected-frame' where it is assumed by default.
12393 Affected functions are `raise-frame', `redraw-frame',
12394 `frame-first-window', `frame-terminal' and `delete-frame'.
12395 * calendar/appt.el (appt-disp-window):
12396 * epg.el (epg-wait-for-completion):
12397 * follow.el (follow-delete-other-windows-and-split)
12398 (follow-avoid-tail-recenter):
12399 * international/mule.el (set-terminal-coding-system):
12400 * mail/rmail.el (rmail-mail-return):
12401 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12402 * progmodes/f90.el (f90-add-imenu-menu):
12403 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12404 * server.el (server-switch-buffer):
12405 * simple.el (delete-completion-window):
12407 * term/xterm.el (terminal-init-xterm-modify-other-keys)
12408 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12409 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12410 * vc/ediff.el (ediff-documentation): Related users changed.
12411 * frame.el (selected-terminal): Remove the leftover.
12413 2013-08-05 Glenn Morris <rgm@gnu.org>
12415 * calendar/calendar.el (calendar-generate-month):
12416 Fix for calendar-column-width != 1 + calendar-day-digit-width.
12417 (calendar-generate-month, calendar-font-lock-keywords):
12418 Fix for calendar-day-header-width > length of any day name.
12420 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
12422 * desktop.el (desktop-clear): Use new name of sort predicate.
12424 * frameset.el (frameset): Add docstring. Move :version property to its
12425 own `version' slot.
12426 (frameset-copy): Rename from copy-frameset.
12427 (frameset-p): Check more thoroughly.
12428 (frameset-prop): Do not check for :version, which is no longer a prop.
12429 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12430 Use new :never value instead of t.
12431 (frameset-filter-alist): Expand and clarify docstring.
12432 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12433 (frameset-filter-minibuffer, frameset-filter-save-param)
12434 (frameset-filter-restore-param, frameset-filter-iconified):
12435 Add pointer to docstring of frameset-filter-alist.
12436 (frameset-filter-params): Rename filter values to be more meaningful:
12437 :never instead of t, and reverse the meanings of :save and :restore.
12438 (frameset--process-minibuffer-frames): Clarify error message.
12439 (frameset-save): Avoid unnecessary and confusing call to framep.
12440 Use new BOA constructor for framesets.
12441 (frameset--reuse-list): Doc fix.
12442 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
12443 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12444 (frameset-minibufferless-first-p): Doc fix.
12445 Rename from frameset-sort-frames-for-deletion.
12446 (frameset-restore): Doc fixes. Use new function names.
12447 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12449 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
12451 * desktop.el (desktop-restore-forces-onscreen)
12452 (desktop-restore-reuses-frames): Document :keyword constant values.
12453 (desktop-filter-parameters-alist): Remove, now identical to
12454 frameset-filter-alist.
12455 (desktop--filter-tty*): Remove, moved to frameset.el.
12456 (desktop-save-frameset, desktop-restore-frameset):
12457 Do not pass :filters argument.
12459 * frameset.el (frameset-live-filter-alist)
12460 (frameset-persistent-filter-alist): New variables.
12461 (frameset-filter-alist): Use them. Add autoload cookie.
12462 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12463 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12464 `frameset--id' (it's supposed to be internal to frameset.el).
12465 (frameset--process-minibuffer-frames): Ditto. Doc fix.
12466 (frameset--initial-params): New function.
12467 (frameset--get-frame): Use it. Doc fix.
12468 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12469 Accept :all, not 'all.
12470 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12471 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
12472 with fbound symbols. Fix frame id matching, and remove matching ids if
12473 the frame being restored is deleted. Obey :delete.
12475 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * subr.el (macrop): New function.
12478 (text-clone--maintaining): New var.
12479 (text-clone--maintain): Rename from text-clone-maintain. Use it
12480 instead of inhibit-modification-hooks.
12482 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12483 a proxy, so as handle autoloads and redefinitions of the target.
12484 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12486 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12487 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
12488 (pcase--mutually-exclusive-p): New function.
12489 (pcase--split-consp): Use it.
12490 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
12491 mutually exclusive with the current predicate.
12493 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12494 (edebug-macrop): Remove. Use `macrop' instead.
12495 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
12497 * eshell/esh-cmd.el (eshell-macrop):
12498 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
12500 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
12502 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12503 (advice-mapc): New function, using it.
12504 (advice-function-member-p): New function.
12505 (advice--normalize): Store the cdr in advice--saved-rewrite since
12506 that's the part that will be changed.
12507 (advice--symbol-function): New function.
12508 (advice-remove): Handle removal before the function is defined.
12509 Adjust to new advice--saved-rewrite.
12510 (advice-member-p): Use advice-function-member-p and
12511 advice--symbol-function.
12513 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
12515 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12516 (frameset-filter-minibuffer): Doc fix.
12517 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
12518 (frameset--set-id, frameset--process-minibuffer-frames)
12519 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12520 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12522 * desktop.el (desktop-clear): Only delete frames when called
12523 interactively and desktop-restore-frames is non-nil. Doc fix.
12524 (desktop-read): Set desktop-saved-frameset to nil.
12526 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
12528 * vc/vc.el (vc-ignore): Rewrite.
12529 (vc-default-ignore-completion-table, vc--read-lines)
12530 (vc--add-line, vc--remove-regexp): New functions.
12532 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12533 (vc-svn-ignore-completion-table): New function.
12535 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12536 (vc-hg-ignore-completion-table)
12537 (vc-hg-find-ignore-file): New functions.
12539 * vc/vc-git.el (vc-git-ignore): Rewrite.
12540 (vc-git-ignore-completion-table)
12541 (vc-git-find-ignore-file): New functions.
12543 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12545 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12546 (vc-bzr-ignore-completion-table)
12547 (vc-bzr-find-ignore-file): New functions.
12549 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
12551 * frameset.el (frameset-prop): New function and setter.
12552 (frameset-save): Do not modify frame list passed by the caller.
12554 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12558 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
12560 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12561 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12563 * custom.el (custom-initialize-default, custom-initialize-set)
12564 (custom-initialize-reset, custom-initialize-changed): Affect the
12565 toplevel-default-value (bug#6275, bug#14586).
12566 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12569 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
12571 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12572 Add cl-def* expressions.
12574 * frameset.el (frameset-filter-params): Fix order of arguments.
12576 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
12578 Move code related to saving frames to frameset.el.
12579 * desktop.el: Require frameset.
12580 (desktop-restore-frames): Doc fix.
12581 (desktop-restore-reuses-frames): Rename from
12582 desktop-restoring-reuses-frames.
12583 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12584 (desktop-clear): Clear frames too.
12585 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12586 (desktop--filter-tty*, desktop-save, desktop-read):
12587 Use frameset functions.
12588 (desktop-before-saving-frames-functions, desktop--filter-*-color)
12589 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12590 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12591 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12592 (desktop--process-minibuffer-frames, desktop-save-frames)
12593 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12594 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12595 (desktop--sort-states, desktop-restoring-frames-p)
12596 (desktop-restore-frames): Remove. Most code moved to frameset.el.
12597 (desktop-restoring-frameset-p, desktop-restore-frameset)
12598 (desktop--check-dont-save, desktop-save-frameset): New functions.
12599 (desktop--app-id): New constant.
12600 (desktop-first-buffer, desktop-buffer-ok-count)
12601 (desktop-buffer-fail-count): Move before first use.
12602 * frameset.el: New file.
12604 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12606 * files.el: Use lexical-binding.
12607 (dir-locals-read-from-file): Remove unused `err' variable.
12608 (hack-dir-local-variables--warned-coding): New var.
12609 (hack-dir-local-variables): Use it to avoid repeated warnings.
12610 (make-backup-file-name--default-function): New function.
12611 (make-backup-file-name-function): Use it as default.
12612 (buffer-stale--default-function): New function.
12613 (buffer-stale-function): Use it as default.
12614 (revert-buffer-insert-file-contents--default-function): New function.
12615 (revert-buffer-insert-file-contents-function): Use it as default.
12616 (insert-directory): Avoid add-to-list.
12618 * autorevert.el (auto-revert-handler): Simplify.
12619 Use buffer-stale--default-function.
12621 2013-08-01 Tassilo Horn <tsdh@gnu.org>
12623 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12625 * whitespace.el (whitespace-ensure-local-variables): New function.
12626 (whitespace-cleanup-region): Call it.
12627 (whitespace-turn-on): Call it.
12629 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
12631 Complete file name handlers.
12633 * net/tramp.el (tramp-handle-set-visited-file-modtime)
12634 (tramp-handle-verify-visited-file-modtime)
12635 (tramp-handle-file-notify-rm-watch): New functions.
12636 (tramp-call-process): Do not bind `default-directory'.
12638 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12639 Order alphabetically.
12640 <access-file, add-name-to-file, dired-call-process>:
12641 <dired-compress-file, file-acl, file-notify-rm-watch>:
12642 <file-ownership-preserved-p, file-selinux-context>:
12643 <make-directory-internal, make-symbolic-link, set-file-acl>:
12644 <set-file-selinux-context, set-visited-file-modtime>:
12645 <verify-visited-file-modtime>: Add handler.
12646 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12648 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12649 <file-notify-add-watch, file-notify-rm-watch>:
12650 <set-file-times, set-visited-file-modtime>:
12651 <verify-visited-file-modtime>: Add handler.
12652 (with-tramp-gvfs-error-message)
12653 (tramp-gvfs-handle-set-visited-file-modtime)
12654 (tramp-gvfs-fuse-file-name): Remove.
12655 (tramp-gvfs-handle-file-notify-add-watch)
12656 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12657 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12659 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12660 Order alphabetically.
12661 <file-notify-rm-watch>: Use default Tramp handler.
12662 <executable-find>: Remove private handler.
12663 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12664 `default-directory'.
12665 (tramp-sh-handle-executable-find)
12666 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12667 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12668 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12669 Do not use `format' in `tramp-message'.
12671 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12672 <file-notify-rm-watch, set-visited-file-modtime>:
12673 <verify-visited-file-modtime>: Add handler.
12674 (tramp-smb-call-winexe): Do not bind `default-directory'.
12676 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
12678 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12680 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
12682 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12684 (log-view-diff-changeset): Same.
12685 (log-view-diff-common): Call backend command `previous-revision'
12686 to find out the previous revision, in both cases. Swap the
12687 variables `to' and `fr', so that `fr' usually refers to the
12688 earlier revision (Bug#14989).
12690 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
12692 * ibuf-ext.el (ibuffer-filter-by-filename):
12693 Make it work with dired buffers too.
12695 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
12697 * emacs-lisp/re-builder.el (reb-color-display-p):
12698 * files.el (save-buffers-kill-terminal):
12699 * net/browse-url.el (browse-url):
12700 * server.el (server-save-buffers-kill-terminal):
12701 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12702 Prefer nil to selected-frame for the first arg of frame-parameter.
12704 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
12706 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12708 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
12710 * minibuffer.el (completion--twq-all): Try and preserve each
12711 completion's case choice (bug#14907).
12713 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12715 * net/network-stream.el (open-network-stream): Mention the new
12716 :nogreeting parameter.
12717 (network-stream-open-starttls): Use the :nogreeting parameter
12720 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12722 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12723 more natural than popping.
12725 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12726 (shr-urlify): Highlight under mouse.
12728 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
12730 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12732 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12734 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
12737 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
12738 point-min==1. Fix search string. Fix parentheses missing.
12740 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
12741 assume point-min==1. Fix search string. Fix parentheses missing.
12743 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12745 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
12748 2013-07-29 Eli Zaretskii <eliz@gnu.org>
12750 * frame.el (frame-notice-user-settings): Avoid inflooping when the
12751 initial frame is minibuffer-less. (Bug#14841)
12753 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
12755 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12758 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12759 (tramp-maybe-open-connection): Use it.
12761 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
12763 * desktop.el (desktop--make-frame): Include `minibuffer' in the
12764 minimal set of parameters passed when creating a frame, because
12765 the minibuffer status of a frame cannot be changed later.
12767 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
12769 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12770 replace-regexp-in-string and inadvertent omissions in previous change.
12771 (todo-filter-items): Ensure only file names are comma-separated in
12772 name of filtered items buffer.
12774 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
12776 * desktop.el: Optionally force offscreen frames back onscreen.
12777 (desktop-restoring-reuses-frames): New option.
12778 (desktop--compute-pos, desktop--move-onscreen): New functions.
12779 (desktop--make-frame): Use desktop--move-onscreen.
12781 2013-07-27 Alan Mackenzie <acm@muc.de>
12783 Fontify a Java generic method as a function.
12784 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12787 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
12789 * calendar/todo-mode.el: Add command to rename todo files.
12790 (todo-rename-file): New command.
12791 (todo-key-bindings-t): Add key binding for it. Change the
12792 bindings of todo-filter-regexp-items(-multifile) to use `x'
12793 instead of `r', since the latter is better suited to the new
12796 2013-07-27 Alan Mackenzie <acm@muc.de>
12798 Make Java try-with-resources statement parse properly.
12799 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12800 (c-block-stmt-1-2-key): New language constants/variables.
12801 * progmodes/cc-engine.el (c-beginning-of-statement-1)
12802 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12803 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12804 with c-block-stmt-1-2-key.
12806 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
12808 * desktop.el (desktop--make-frame): Apply most frame parameters after
12809 creating the frame to force (partially or totally) offscreen frames to
12810 be restored as such.
12812 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
12814 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12817 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12820 `base' arg of backtrace-frame.
12822 2013-07-26 Eli Zaretskii <eliz@gnu.org>
12824 * simple.el (list-processes): Doc fix.
12826 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
12828 * desktop.el (desktop--select-frame):
12829 Try harder to reuse existing frames.
12831 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12833 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12834 (edebug-eval): Use backtrace-eval.
12835 (edebug--display, edebug--recursive-edit): Don't let-bind the
12836 edebug-outer-* vars that keep track of variables we locally let-bind.
12837 (edebug-outside-excursion): Don't restore outside values of locally
12839 (edebug--display): Use user-error.
12840 (cl-lexical-debug, cl-debug-env): Remove.
12842 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
12844 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12845 are restored to be sure that they are visible before deleting any
12848 2013-07-26 Matthias Meulien <orontee@gmail.com>
12850 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12851 vc-print-root-log. (Bug#14948)
12853 2013-07-26 Richard Stallman <rms@gnu.org>
12855 Add aliases for encrypting mail.
12856 * epa.el (epa-mail-aliases): New option.
12857 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12858 Bind inhibit-read-only so read-only text doesn't ruin everything.
12859 (epa-mail-default-recipients): New subroutine broken out.
12860 Handle epa-mail-aliases.
12862 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12864 Add support for lexical variables to the debugger's `e' command.
12865 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12866 vars, except for debugger-outer-match-data.
12867 (debugger-frame-number): Move check for "on a function call" from
12868 callers into it. Add `skip-base' argument.
12869 (debugger-frame, debugger-frame-clear): Simplify accordingly.
12870 (debugger-env-macro): Only reset the state stored in non-variables,
12871 i.e. current-buffer and match-data.
12872 (debugger-eval-expression): Rewrite using backtrace-eval.
12873 * subr.el (internal--called-interactively-p--get-frame): Remove.
12874 (called-interactively-p):
12875 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12876 `base' arg of backtrace-frame instead.
12878 2013-07-26 Glenn Morris <rgm@gnu.org>
12880 * align.el (align-regexp): Doc fix. (Bug#14857)
12881 (align-region): Explicit error if subexpression missing/does not match.
12883 * simple.el (global-visual-line-mode):
12884 Do not duplicate the mode lighter. (Bug#14858)
12886 2013-07-25 Martin Rudalics <rudalics@gmx.at>
12888 * window.el (display-buffer): In display-buffer bind
12889 split-window-keep-point to t, bug#14829.
12891 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
12893 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12894 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12895 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12896 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12897 Change accordingly.
12898 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12899 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12901 2013-07-25 Glenn Morris <rgm@gnu.org>
12903 * dired-x.el (dired-mark-extension): Convert comment to doc string.
12905 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
12907 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12908 parameter to modify-frame-parameters if the value has not changed;
12909 this is a workaround for bug#14949.
12910 (desktop--make-frame): On cl-delete-if call, check parameter name,
12911 not full parameter.
12913 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
12915 * vc/vc.el (vc-ignore): New function.
12917 * vc/vc-svn.el (vc-svn-ignore): New function.
12919 * vc/vc-hg.el (vc-hg-ignore): New function.
12921 * vc/vc-git.el (vc-git-ignore): New function.
12923 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12924 (vc-dir-ignore): New function.
12926 * vc/vc-cvs.el (vc-cvs-ignore): New function.
12927 (cvs-append-to-ignore): Move here from pcvs.el.
12929 * vc/vc-bzr.el (vc-bzr-ignore): New function.
12931 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12933 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
12935 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12936 (desktop-restore-frames): Warn when deleting an existing frame failed.
12938 2013-07-24 Glenn Morris <rgm@gnu.org>
12940 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
12942 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
12944 * filenotify.el (file-notify-supported-p):
12945 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12948 * autorevert.el (auto-revert-use-notify)
12949 (auto-revert-notify-add-watch):
12950 * net/tramp.el (tramp-file-name-for-operation):
12951 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12952 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12953 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12955 Remove `file-notify-supported-p' entry.
12957 2013-07-24 Glenn Morris <rgm@gnu.org>
12959 * printing.el: Replace all uses of deleted ps-windows-system,
12960 ps-lp-system, ps-flatten-list with lpr- versions.
12962 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
12964 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
12965 checked with memq (bug#14935).
12967 * files.el (revert-buffer-function): Use a non-nil default.
12968 (revert-buffer-preserve-modes): Declare var to
12969 provide access to the `preserve-modes' argument.
12970 (revert-buffer): Let-bind it.
12971 (revert-buffer--default): New function, extracted from revert-buffer.
12973 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
12975 * lpr.el: Signal print errors more prominently.
12976 (print-region-function): Don't default to nil.
12977 (lpr-print-region): New function, extracted from print-region-1.
12978 Check lpr's return value and signal an error in case of problem.
12979 (print-region-1): Use it.
12980 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
12982 (ps-printer-name): Default to nil.
12983 (ps-printer-name-option): Default to lpr-printer-switch.
12984 (ps-print-region-function): Don't default to nil.
12985 (ps-postscript-code-directory): Simplify default.
12986 (ps-do-despool): Use lpr-print-region to properly check the outcome.
12987 (ps-string-list, ps-eval-switch, ps-flatten-list)
12988 (ps-flatten-list-1): Remove.
12989 (ps-multibyte-buffer): Avoid setq.
12990 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
12991 (print-region-function, ps-print-region-function): Don't set them here.
12993 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
12995 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
12996 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
12997 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
12998 (ido-decorations): Doc fix.
13000 * ansi-color.el: Fix old URL.
13002 2013-07-23 Michael R. Mauger <michael@mauger.com>
13004 * progmodes/sql.el: Version 3.3
13005 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13006 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13007 (sql-interactive-remove-continuation-prompt): Rewrite, use
13008 functions above. Fix continuation prompt and complete output line
13010 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13011 redirected output buffer.
13012 (sql-mode): Restore deleted code (Bug#13591).
13014 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13016 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13018 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13020 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13022 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13023 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13024 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13026 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13028 * desktop.el (desktop-clear): Simplify; remove useless checks
13029 against invalid buffer names.
13030 (desktop-list*): Use cl-list*.
13031 (desktop-buffer-info, desktop-create-buffer): Simplify.
13033 2013-07-23 Leo Liu <sdl.web@gmail.com>
13035 * bookmark.el (bookmark-make-record): Restore NAME as a default
13038 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
13040 * emacs-lisp/autoload.el (autoload--setup-output): New function,
13041 extracted from autoload--insert-text.
13042 (autoload--insert-text): Remove.
13043 (autoload--print-cookie-text): New function, extracted from
13044 autoload--insert-cookie-text.
13045 (autoload--insert-cookie-text): Remove.
13046 (autoload-generate-file-autoloads): Adjust calls accordingly.
13048 * winner.el (winner-hook-installed-p): Remove.
13049 (winner-mode): Simplify accordingly.
13051 * subr.el (add-to-list): Fix compiler-macro when `append' is
13052 not constant. Don't use `cl-member' for the base case.
13054 * progmodes/subword.el: Fix boundary case (bug#13758).
13055 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
13057 (subword-backward-regexp): Make it a constant.
13058 (subword-forward-internal): Don't treat a trailing capital as the
13059 beginning of a word.
13061 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
13063 * emacs-lisp/package.el (package-menu-mode): Don't modify the
13064 global value of tabulated-list-revert-hook (bug#14930).
13066 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
13068 * desktop.el: Require 'cl-lib.
13069 (desktop-before-saving-frames-functions): New hook.
13070 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13071 for frames being saved. Rename from desktop--save-minibuffer-frames.
13072 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13073 Do not save frames with non-nil `desktop-dont-save' parameter.
13074 Filter out deleted frames.
13075 (desktop--find-frame): Use cl-find-if.
13076 (desktop--select-frame): Use cl-(first|second|third) to access values
13078 (desktop--make-frame): Use cl-delete-if.
13079 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13080 (desktop-restore-frames): Use cl-(first|second|third) to access values
13081 of desktop-mini. Look for visible frame at the end, not while
13084 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13085 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13086 Use string-match-p, looking-at-p (bug#14927).
13088 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
13090 * desktop.el (desktop-saved-frame-states):
13091 Rename from desktop--saved-states; all users changed.
13092 (desktop-save-frames): Rename from desktop--save-frames.
13093 Do not save state to desktop file.
13094 (desktop-save): Save desktop-saved-frame-states to desktop file
13096 (desktop-restoring-frames-p): New function.
13097 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
13098 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
13099 buffer-lists when restoring frames. Suggested by Martin Rudalics.
13101 * desktop.el: Correctly restore iconified frames.
13102 (desktop--filter-iconified-position): New function.
13103 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13105 2013-07-20 Glenn Morris <rgm@gnu.org>
13107 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13108 Let `message' do the formatting.
13109 (def-gdb-preempt-display-buffer): Add explicit format.
13111 * image-dired.el (image-dired-track-original-file):
13112 Use with-current-buffer.
13113 (image-dired-track-thumbnail): Use with-current-buffer.
13114 Avoid changing point of wrong window.
13116 * image-dired.el (image-dired-track-original-file):
13117 Avoid changing point of wrong window. (Bug#14909)
13119 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
13121 * progmodes/gdb-mi.el (gdb-done-or-error):
13122 Guard against "%" in gdb output. (Bug#14127)
13124 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
13126 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13129 * international/mule.el (coding-system-iso-2022-flags): Fix last
13132 2013-07-20 Kenichi Handa <handa@gnu.org>
13134 * international/mule.el (coding-system-iso-2022-flags):
13135 Add `8-bit-level-4'. (Bug#8522)
13137 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13139 * net/shr.el (shr-mouse-browse-url): New command and keystroke
13142 * net/eww.el (eww-process-text-input): Allow inputting when the
13143 point is at the start of the line, as the properties aren't
13146 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13149 2013-07-19 Richard Stallman <rms@gnu.org>
13151 * epa.el (epa-popup-info-window): Doc fix.
13153 * subr.el (split-string): New arg TRIM.
13155 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
13157 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13158 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13160 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
13162 * filenotify.el (file-notify--library): Rename from
13163 `file-notify-support'. Do not autoload. Adapt all uses.
13164 (file-notify-supported-p): New defun.
13166 * autorevert.el (auto-revert-use-notify):
13167 Use `file-notify-supported-p' instead of `file-notify-support'.
13169 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13171 * net/tramp.el (tramp-file-name-for-operation):
13172 Add `file-notify-supported-p'.
13174 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13176 (tramp-sh-file-name-handler-alist): Add it as handler for
13177 `file-notify-supported-p '.
13179 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13182 Add `ignore' as handler for `file-notify-*' functions.
13184 2013-07-17 Eli Zaretskii <eliz@gnu.org>
13186 * simple.el (line-move-partial, line-move): Don't start vscroll or
13187 scroll-up if the current line is not taller than the window.
13190 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
13192 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13193 highlight question marks in the method names as strings.
13194 (ruby-block-beg-keywords): Inline.
13195 (ruby-font-lock-keyword-beg-re): Extract from
13196 `ruby-font-lock-keywords'.
13198 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
13200 * frame.el (blink-cursor-blinks): New defcustom.
13201 (blink-cursor-blinks-done): New defvar.
13202 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13203 (blink-cursor-timer-function): Check if number of blinks has been
13205 (blink-cursor-suspend, blink-cursor-check): New defuns.
13207 2013-07-15 Glenn Morris <rgm@gnu.org>
13209 * edmacro.el (edmacro-format-keys): Fix previous change.
13211 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
13213 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13214 The hack didn't work outside English locales anyway.
13216 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
13218 * simple.el (define-alternatives): Rename from alternatives-define,
13219 per RMS' suggestion.
13221 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
13223 * desktop.el (desktop-restore-frames): Change default to t.
13224 (desktop-restore-in-current-display): Now offer more options.
13225 (desktop-restoring-reuses-frames): New customization option.
13226 (desktop--saved-states): Doc fix.
13227 (desktop-filter-parameters-alist): New variable, renamed and expanded
13228 from desktop--excluded-frame-parameters.
13229 (desktop--target-display): New variable.
13230 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13231 (desktop--filter-tty*, desktop--filter-*-color)
13232 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13233 (desktop--filter-save-desktop-parm)
13234 (desktop-restore-in-original-display-p): New functions.
13235 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13236 (desktop--save-minibuffer-frames): New function, inspired by a similar
13237 function from Martin Rudalics.
13238 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13239 (desktop--restore-in-this-display-p): Remove.
13240 (desktop--find-frame): Rename from desktop--find-frame-in-display
13241 and add predicate argument.
13242 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13243 (desktop--reuse-list): New variable.
13244 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13246 (desktop--restore-frames): Add support for "minibuffer-special" frames.
13248 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
13250 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13252 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
13254 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13255 Highlight conversion methods on Kernel.
13257 2013-07-13 Alan Mackenzie <acm@muc.de>
13259 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13260 and comment it out. This out-commenting enables certain C++
13261 declarations to be parsed correctly.
13263 2013-07-13 Eli Zaretskii <eliz@gnu.org>
13265 * international/mule.el (define-coding-system): Doc fix.
13267 * simple.el (default-font-height): Don't call font-info if the
13268 frame's default font didn't change since the frame was created.
13271 2013-07-13 Leo Liu <sdl.web@gmail.com>
13273 * ido.el (ido-read-file-name): Guard against non-symbol value.
13275 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13277 * progmodes/python.el (python-imenu--build-tree): Fix corner case
13280 2013-07-13 Leo Liu <sdl.web@gmail.com>
13282 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13283 ido-set-matches call. (Bug#6852)
13285 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
13287 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13288 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13290 (ruby-font-lock-keywords): Distinguish calls to functions with
13291 module-like names from module references. Highlight character
13294 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
13296 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13297 (gdb-send): Handle continued commands. (Bug#14847)
13299 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13301 * desktop.el (desktop--v2s): Remove unused local variable.
13302 (desktop-save-buffer): Make defvar-local; adjust docstring.
13303 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13304 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13306 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
13308 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13310 2013-07-12 Eli Zaretskii <eliz@gnu.org>
13312 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13315 2013-07-12 Glenn Morris <rgm@gnu.org>
13317 * doc-view.el: Require cl-lib at runtime too.
13318 (doc-view-remove-if): Remove.
13319 (doc-view-search-next-match, doc-view-search-previous-match):
13322 * edmacro.el: Require cl-lib at runtime too.
13323 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13324 (edmacro-mismatch, edmacro-subseq): Remove.
13326 * shadowfile.el: Require cl-lib.
13327 (shadow-remove-if): Remove.
13328 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13331 * wid-edit.el: Require cl-lib.
13332 (widget-choose): Use cl-remove-if.
13333 (widget-remove-if): Remove.
13335 * progmodes/ebrowse.el: Require cl-lib at runtime too.
13336 (ebrowse-delete-if-not): Remove.
13337 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13338 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13339 Use cl-delete-if-not.
13341 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13343 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13344 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13346 2013-07-12 Leo Liu <sdl.web@gmail.com>
13348 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
13350 2013-07-11 Glenn Morris <rgm@gnu.org>
13352 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13353 (edebug-gensym-index, edebug-gensym):
13354 Remove reimplementation of cl-gensym.
13355 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13357 * thumbs.el: Require cl-lib at run-time too.
13358 (thumbs-gensym-counter, thumbs-gensym):
13359 Remove reimplementation of cl-gensym.
13360 (thumbs-temp-file): Use cl-gensym.
13362 * emacs-lisp/ert.el: Require cl-lib at runtime too.
13363 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13364 (ert--intersection, ert--set-difference, ert--set-difference-eq)
13365 (ert--union, ert--gensym-counter, ert--gensym-counter)
13366 (ert--coerce-to-vector, ert--remove*, ert--string-position)
13367 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13368 (ert-make-test-unbound, ert--expand-should-1)
13369 (ert--expand-should, ert--should-error-handle-error)
13370 (should-error, ert--explain-equal-rec)
13371 (ert--plist-difference-explanation, ert-select-tests)
13372 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13373 Use cl-lib functions rather than reimplementations.
13375 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
13377 * net/tramp.el (tramp-methods): Extend docstring.
13378 (tramp-connection-timeout): New defcustom.
13379 (tramp-error-with-buffer): Reset timestamp only when appropriate.
13380 (with-tramp-progress-reporter): Simplify.
13381 (tramp-process-actions): Improve messages.
13383 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13384 * net/tramp-sh.el (tramp-maybe-open-connection):
13385 Use `tramp-connection-timeout'.
13386 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13389 2013-07-11 Leo Liu <sdl.web@gmail.com>
13391 * ido.el (ido-read-file-name): Conform to the requirements of
13392 read-file-name. (Bug#11861)
13393 (ido-read-directory-name): Conform to the requirements of
13394 read-directory-name.
13396 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
13398 * subr.el (delay-warning): New function.
13400 2013-07-10 Eli Zaretskii <eliz@gnu.org>
13402 * simple.el (default-line-height): New function.
13403 (line-move-partial, line-move): Use it instead of computing the
13404 line height inline.
13405 (line-move-partial): Always compute ROWH. If the last line is
13406 partially-visible, but its text is completely visible, allow
13407 cursor to enter such a partially-visible line.
13409 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
13411 Improve error messages. (Bug#14808)
13413 * net/tramp.el (tramp-current-connection): New defvar, moved from
13415 (tramp-message-show-progress-reporter-message): Remove, not
13417 (tramp-error-with-buffer): Show message in minibuffer.
13418 Discard input before waiting. Reset connection timestamp.
13419 (with-tramp-progress-reporter): Improve messages.
13420 (tramp-process-actions): Use progress reporter. Delete process in
13421 case of error. Improve messages.
13423 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13424 Call `tramp-error-with-buffer' with vector and buffer.
13425 (tramp-current-connection): Remove.
13426 (tramp-maybe-open-connection): The car of
13427 `tramp-current-connection' are the first 3 slots of the vector.
13429 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
13431 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13432 inside continued strings.
13434 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
13436 Timestamp fixes for undo (Bug#14824).
13437 * files.el (clear-visited-file-modtime): Move here from fileio.c.
13439 2013-07-10 Leo Liu <sdl.web@gmail.com>
13441 * files.el (require-final-newline): Allow safe local value.
13444 2013-07-09 Leo Liu <sdl.web@gmail.com>
13446 * ido.el (ido-read-directory-name): Handle fallback.
13447 (ido-read-file-name): Update DIR to ido-current-directory.
13449 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
13451 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
13453 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13454 "autoload". Remove "warn lower camel case" section, previously
13455 commented out. Highlight negation char. Do not highlight the
13456 target in singleton method definitions.
13458 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13460 * faces.el (tty-setup-hook): Declare the hook.
13462 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13463 and detect when a guard/pred depends on local vars (bug#14773).
13464 (pcase--u1): Adjust caller.
13466 2013-07-08 Eli Zaretskii <eliz@gnu.org>
13468 * simple.el (line-move-partial, line-move): Account for
13470 (line-move-partial): Avoid setting vscroll when the last
13471 partially-visible line in window is of default height.
13473 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13475 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13478 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
13480 * subr.el (read-quoted-char): Remove unused local variable `char'.
13482 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
13484 * vc/ediff.el (ediff-version): Version update.
13485 (ediff-files-command, ediff3-files-command, ediff-merge-command)
13486 (ediff-merge-with-ancestor-command, ediff-directories-command)
13487 (ediff-directories3-command, ediff-merge-directories-command)
13488 (ediff-merge-directories-with-ancestor-command): New functions.
13489 All are command-line interfaces to ediff: to facilitate calling
13490 Emacs with the appropriate ediff functions invoked.
13492 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13494 (viper-save-kill-buffer): Check if buffer is modified.
13496 * emulation/viper.el (viper-version): Version update.
13497 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13499 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
13501 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13502 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13503 (viper-intercept-ESC-key): Simplify.
13504 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13506 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13507 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13508 (viper-setup-ESC-to-escape): New functions.
13509 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13510 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
13512 2013-07-07 Eli Zaretskii <eliz@gnu.org>
13514 * simple.el (default-font-height, window-screen-lines):
13516 (line-move, line-move-partial): Use them instead of
13517 frame-char-height and window-text-height. This makes scrolling
13518 text smoother when the buffer's default face uses a font that is
13519 different from the frame's default font.
13521 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
13523 * files.el (write-file): Do not display confirm dialog for NS,
13524 it does its own dialog, which can't be canceled (Bug#14578).
13526 2013-07-06 Eli Zaretskii <eliz@gnu.org>
13528 * simple.el (line-move-partial): Adjust the row returned by
13529 posn-at-point for the current window-vscroll. (Bug#14567)
13531 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
13533 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13534 (tramp-sh-file-inotifywait-process-filter): Handle file names with
13537 2013-07-06 Martin Rudalics <rudalics@gmx.at>
13539 * window.el (window-state-put-stale-windows): New variable.
13540 (window--state-put-2): Save list of windows without matching buffer.
13541 (window-state-put): Remove "bufferless" windows if possible.
13543 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
13545 * simple.el (alternatives-define): Remove leftover :group keyword.
13548 2013-07-06 Leo Liu <sdl.web@gmail.com>
13550 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13551 (ido-enable-virtual-buffers): New variable.
13552 (ido-buffer-internal, ido-toggle-virtual-buffers)
13553 (ido-make-buffer-list): Use it.
13554 (ido-exhibit): Support turning on and off virtual buffers
13557 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
13559 * simple.el (alternatives-define): New macro.
13561 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
13563 * subr.el (read-quoted-char): Use read-key.
13564 (sit-for): Let read-event decode tty input (bug#14782).
13566 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
13568 * calendar/todo-mode.el: Add handling of file deletion, both by
13569 mode command and externally. Fix various related bugs.
13570 Clarify Commentary and improve some documentation strings and code.
13571 (todo-delete-file): New command.
13572 (todo-check-file): New function.
13573 (todo-show): Handle external deletion of the file we're trying to
13574 show (bug#14688). Replace called-interactively-p by an optional
13575 prefix argument to avoid problematic interaction with catch form
13576 when byte compiled (bug#14702).
13577 (todo-quit): Handle external deletion of the archive's todo file.
13578 Make sure the buffer that was visiting the archive file is still
13579 live before trying to bury it.
13580 (todo-category-completions): Handle external deletion of any
13581 category completion files.
13582 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13583 of todo files, in case of external deletion.
13584 (todo-add-file): Replace unnecessary setq by let-binding.
13585 (todo-find-archive): Check whether there are any archives.
13586 Replace unnecessary setq by let-binding.
13587 (todo-archive-done-item): Use find-file-noselect to get the
13588 archive buffer whether or not the archive already exists.
13589 Remove superfluous code. Use file size instead of buffer-file-name to
13590 check if the archive is new; if it is, update list of archives.
13591 (todo-default-todo-file): Allow nil to be a valid value for when
13592 there are no todo files.
13593 (todo-reevaluate-default-file-defcustom): Use corrected definition
13594 of todo-default-todo-file.
13595 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13596 (todo-delete-category, todo-show-categories-table)
13597 (todo-category-number): Clarify comment.
13598 (todo-filter-items): Clarify documentation string.
13599 (todo-show-current-file, todo-display-as-todo-file)
13600 (todo-reset-and-enable-done-separator): Tweak documentation string.
13601 (todo-done-separator): Make separator length window-width, since
13602 bug#2749 is now fixed.
13604 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
13606 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13607 Support both "gvfs-monitor-dir" and "inotifywait".
13608 (tramp-sh-file-inotifywait-process-filter): Rename from
13609 `tramp-sh-file-notify-process-filter'.
13610 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13611 (tramp-get-remote-gvfs-monitor-dir): New defuns.
13613 2013-07-05 Leo Liu <sdl.web@gmail.com>
13615 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13617 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13619 * frame.el (display-pixel-height, display-pixel-width)
13620 (display-mm-height, display-mm-width): Mention behavior on
13621 multi-monitor setups in docstrings.
13622 (w32-display-monitor-attributes-list): Declare function.
13623 (display-monitor-attributes-list): Use it.
13625 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
13627 * filenotify.el: New package.
13629 * autorevert.el (top): Require filenotify.el.
13630 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
13632 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13633 (auto-revert-notify-handler): Use `file-notify-*' functions.
13635 * subr.el (file-notify-handle-event): Move function to filenotify.el.
13637 * net/tramp.el (tramp-file-name-for-operation):
13638 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13640 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13641 for `file-notify-add-watch' and `file-notify-rm-watch'.
13642 (tramp-process-sentinel): Improve trace.
13643 (tramp-sh-handle-file-notify-add-watch)
13644 (tramp-sh-file-notify-process-filter)
13645 (tramp-sh-handle-file-notify-rm-watch)
13646 (tramp-get-remote-inotifywait): New defuns.
13648 2013-07-03 Juri Linkov <juri@jurta.org>
13650 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13651 call of `occur-read-primary-args' to interactive spec.
13653 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13654 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
13656 2013-07-03 Matthias Meulien <orontee@gmail.com>
13658 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13659 `Buffer-menu-multi-occur'. Add it to the menu.
13660 (Buffer-menu-mode): Document it in docstring.
13661 (Buffer-menu-multi-occur): New command. (Bug#14673)
13663 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
13665 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13666 keywords and built-ins.
13668 2013-07-03 Glenn Morris <rgm@gnu.org>
13670 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
13672 Make info-xref checks case-sensitive by default
13673 * info.el (Info-find-node, Info-find-in-tag-table)
13674 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13675 Add option for exact case matching of nodes.
13676 * info-xref.el (info-xref): New custom group.
13677 (info-xref-case-fold): New option.
13678 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13680 2013-07-03 Leo Liu <sdl.web@gmail.com>
13682 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13684 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
13686 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13687 middle of block statement initially, lower the depth. Remove
13688 FIXME comment, not longer valid. Remove middle of block statement
13689 detection, no need to do that anymore since we've been using
13690 `ruby-parse-region' here.
13692 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
13694 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13696 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
13698 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13700 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
13702 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13703 (desktop-restore-in-current-display): New customization option.
13704 (desktop--excluded-frame-parameters): Add `font'.
13705 (desktop--save-frames): Rename from desktop--save-windows.
13706 (desktop--restore-in-this-display-p): New function.
13707 (desktop--make-full-frame): Remove unwanted width/height from
13708 full(width|height) frames.
13709 (desktop--restore-frames): Rename from desktop--restore-windows.
13710 Obey desktop-restore-current-display. Do not delete old frames or
13711 select a new frame unless we were able to restore at least one frame.
13713 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
13715 * files.el (find-file-noselect): Simplify conditional expression.
13717 * textmodes/remember.el (remember-append-to-file):
13718 Don't mix `find-buffer-visiting' and `get-file-buffer'.
13720 Add `remember-notes' function to store random notes across Emacs
13722 * textmodes/remember.el (remember-data-file): Add :set callback to
13723 affect notes buffer (if any).
13724 (remember-notes): New command.
13725 (remember-notes-buffer-name, bury-remember-notes-on-kill):
13726 New defcustoms for the `remember-notes' function.
13727 (remember-notes-save-and-bury-buffer): New command.
13728 (remember-notes-mode-map): New variable.
13729 (remember-mode): New minor mode.
13730 (remember-notes--kill-buffer-query): New function.
13731 * startup.el (initial-buffer-choice): Add notes to custom type.
13733 2013-06-30 Eli Zaretskii <eliz@gnu.org>
13735 * bindings.el (right-char, left-char): Don't call sit-for, this is
13736 no longer needed. Use arithmetic comparison only for numerical
13739 * international/mule-cmds.el (select-safe-coding-system):
13740 Handle the case of FROM being a string correctly. (Bug#14755)
13742 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13744 * net/shr.el (shr-make-table-1): Add a sanity check that allows
13745 progression on degenerate tables.
13746 (shr-rescale-image): ImageMagick animated images currently don't work.
13748 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
13750 Some fixes and improvements for desktop frame restoration.
13751 It is still experimental and disabled by default.
13752 * desktop.el (desktop--save-windows): Put the selected frame at
13753 the head of the list.
13754 (desktop--make-full-frame): New function.
13755 (desktop--restore-windows): Try to re-select the frame that was
13756 selected upon saving. Do not abort if some frames fail to restore,
13757 just show an error message and continue. Set up maximized frames
13758 so they have default non-maximized dimensions.
13760 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
13762 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13763 Don't start heredoc inside a string or comment.
13765 2013-06-29 Eli Zaretskii <eliz@gnu.org>
13767 * bindings.el (visual-order-cursor-movement): New defcustom.
13768 (right-char, left-char): Provide visual-order cursor motion by
13769 calling move-point-visually. Update the doc strings.
13771 2013-06-28 Kenichi Handa <handa@gnu.org>
13773 * international/mule.el (define-coding-system): New coding system
13774 properties :inhibit-null-byte-detection,
13775 :inhibit-iso-escape-detection, and :prefer-utf-8.
13776 (set-buffer-file-coding-system): If :charset-list property of
13777 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13778 appropriate for setting.
13780 * international/mule-cmds.el (select-safe-coding-system):
13781 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13782 multibyte characters, return utf-8 (or one of its siblings).
13784 * international/mule-conf.el (prefer-utf-8): New coding system.
13785 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13788 2013-06-28 Ivan Kanis <ivan@kanis.fr>
13790 * net/shr.el (shr-render-region): New function.
13792 * net/eww.el: Autoload `eww-browse-url'.
13794 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
13796 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13797 Adapt to `package-desc-version' being a list.
13798 Use `package--ac-desc-version' to retrieve version from a package
13801 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
13803 New experimental feature to save&restore window and frame setup.
13804 * desktop.el (desktop-save-windows): New defcustom.
13805 (desktop--saved-states): New var.
13806 (desktop--excluded-frame-parameters): New defconst.
13807 (desktop--filter-frame-parms, desktop--find-frame-in-display)
13808 (desktop--restore-windows, desktop--save-windows): New functions.
13809 (desktop-save): Call `desktop--save-windows'.
13810 (desktop-read): Call `desktop--restore-windows'.
13812 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13814 * net/shr.el (add-face-text-property): Remove compat definition.
13816 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
13818 * info.el (Info-try-follow-nearest-node): Move search for footnote
13819 above search for node name to prevent missing a footnote (bug#14717).
13821 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
13823 * obsolete/otodo-mode.el: Add obsolescence info to file header.
13825 2013-06-27 Leo Liu <sdl.web@gmail.com>
13827 * net/eww.el (eww-read-bookmarks): Check file size.
13829 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
13831 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13832 advice--pending if newdef is nil or an autoload (bug#13820).
13833 (advice-mapc): New function.
13835 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13837 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13839 (eww-mode-map): Add a menu bar.
13840 (eww-add-bookmark): New command.
13841 (eww-bookmark-mode): New mode and commands.
13842 (eww-add-bookmark): Remove newlines from the title.
13843 (eww-bookmark-browse): Don't bug out if it's the only window.
13845 2013-06-26 Glenn Morris <rgm@gnu.org>
13847 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13848 (hfy-size): Handle ttys. (Bug#14668)
13850 * info-xref.el: Update for Texinfo 5 change in *note format.
13851 (info-xref-node-re, info-xref-note-re): New constants.
13852 (info-xref-check-buffer): Use info-xref-note-re.
13854 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13858 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13859 nil terminate the loop (bug#14718).
13861 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13863 * net/eww.el: Rework history traversal. When going forward/back,
13864 put these actions into the history, too, so that they can be
13866 (eww-render): Move the history reset to the correct buffer.
13868 2013-06-25 Juri Linkov <juri@jurta.org>
13870 * files-x.el (modify-dir-local-variable): Change the header comment
13871 in the file with directory local variables. (Bug#14692)
13873 * files-x.el (read-file-local-variable-value): Add `default'.
13876 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13878 * net/eww.el (eww-make-unique-file-name): Create a unique file
13879 name before saving to entering `y' accidentally asynchronously.
13881 2013-06-25 Ivan Kanis <ivan@kanis.fr>
13883 * net/eww.el (eww-download): New command and keystroke.
13885 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13887 * net/eww.el (eww-copy-page-url): Change name of command.
13889 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13890 be more consistent with Info and dired.
13892 * net/eww.el (eww-mode-map): Ditto.
13894 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13896 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
13897 packages from archives.
13898 (package-archive-contents): Change format; include obsolete packages.
13899 (package-desc): Use `dir' to mark builtin packages.
13900 (package--from-builtin): Set the `dir' field to `builtin'.
13901 (generated-autoload-file, version-control): Declare.
13902 (package-compute-transaction): Change first arg and return value to be
13903 lists of package-descs. Adjust to new package-archive-contents format.
13904 (package--add-to-archive-contents): Adjust to new
13905 package-archive-contents format.
13906 (package-download-transaction): Arg is now a list of package-descs.
13907 (package-install): If `pkg' is a package name, pass it as
13908 a requirement, so it is subject to the usual (e.g. disabled) checks.
13909 (describe-package): Accept package-desc as well.
13910 (describe-package-1): Describe a specific package-desc. Add links to
13911 other package-descs for the same package name.
13912 (package-menu-describe-package): Pass the actual package-desc.
13913 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13915 (package-desc-status): New function.
13916 (package-menu--refresh): New function, extracted
13917 from package-menu--generate.
13918 (package-menu--generate): Use it.
13919 (package-delete): Update package-alist.
13920 (package-menu-execute): Don't call package-initialize.
13922 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13923 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13924 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13925 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13926 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13927 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13929 2013-06-25 Martin Rudalics <rudalics@gmx.at>
13931 * window.el (window--state-get-1): Workaround for bug#14527.
13932 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13934 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13936 * net/eww.el (eww-back-url): Implement the history by stashing all
13937 the data into a list.
13938 (eww-forward-url): Allow going forward in the history, too.
13940 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13942 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
13943 for values and use read--expression for expressions (bug#14710).
13944 (read-file-local-variable): Avoid setq.
13945 (read-file-local-variable-mode): Use minor-mode-list.
13947 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13949 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
13952 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13954 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
13955 Update imenu-support when dialect changes.
13957 2013-06-25 Leo Liu <sdl.web@gmail.com>
13959 * ido.el (ido-read-internal): Allow forward slash on windows.
13961 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
13963 * net/eww.el (eww): Start of strings is \\`, not ^.
13965 2013-06-24 Ivan Kanis <ivan@kanis.fr>
13967 * net/shr.el (shr-browse-url): Fix interactive spec.
13969 * net/eww.el (eww): Add a trailing slash to domain names.
13971 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
13973 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
13975 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
13977 * net/shr.el (shr-browse-url): Use an external browser if given a
13980 * net/eww.el (eww-external-browser): Move to shr.
13982 2013-06-24 Ivan Kanis <ivan@kanis.fr>
13984 * net/eww.el (eww): Work more correctly for file: URLs.
13985 (eww-detect-charset): Allow quoted charsets.
13986 (eww-yank-page-url): New command and keystroke.
13988 2013-06-24 Daiki Ueno <ueno@gnu.org>
13990 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
13991 file name of gpg executable.
13992 (epg-context-program): New function.
13993 (epg-context-home-directory): New function.
13994 (epg-context-set-program): New function.
13995 (epg-context-set-home-directory): New function.
13996 (epg--start): Use `epg-context-program' instead of
13998 (epg--list-keys-1): Likewise.
14000 2013-06-24 Leo Liu <sdl.web@gmail.com>
14002 * ido.el (ido-read-internal): Fix bug#14620.
14004 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14006 * faces.el (face-documentation): Simplify.
14007 (read-face-attribute, tty-find-type, x-resolve-font-name):
14008 Use `string-match-p'.
14009 (list-faces-display): Use `string-match-p'. Simplify.
14010 (face-spec-recalc): Check face to avoid face alias loops.
14011 (read-color): Use `string-match-p' and non-capturing parenthesis.
14013 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14015 * net/shr.el (shr-rescale-image): Use the new
14016 :max-width/:max-height functionality.
14018 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14020 * net/eww.el (eww-search-prefix): New variable.
14022 (eww-external-browser): New variable.
14023 (eww-mode-map): New keystroke.
14024 (eww-browse-with-external-browser): New command.
14026 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14028 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14030 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14031 Don't skip aligning the next header field when padding is 0;
14032 otherwise, field width is not respected unless the title is as
14035 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14037 * emacs-lisp/package.el (package-el-version): Remove.
14038 (package-process-define-package): Fix inf-loop.
14039 (package-install): Allow symbols as arguments again.
14041 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14043 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14044 add some more keyword-like methods.
14045 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14047 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
14049 * bs.el (bs-buffer-show-mark): Make defvar-local.
14050 (bs-mode): Use setq-local.
14052 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14053 (emacs-lock--try-unlocking): Make defvar-local.
14055 2013-06-22 Glenn Morris <rgm@gnu.org>
14057 * play/cookie1.el (cookie-apropos): Minor simplification.
14059 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14061 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14063 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14064 `regexp-opt', it breaks the build during dumping.
14066 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
14068 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14069 Highlight keyword-like methods on Kernel and Module with
14070 font-lock-builtin-face.
14071 (auto-mode-alist): Consolidate different entries into one regexp
14072 and add more *file-s.
14074 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
14076 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14078 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14079 (diary-entry): Use it in the action of this button type instead of
14082 * calendar/todo-mode.el: New version.
14083 (todo-add-category): Append new category to end of file and give
14084 it the highest number, instead of putting it at the beginning and
14085 giving it 0. Incorporate noninteractive functionality.
14086 (todo-forward-category): Adapt to 1-based category numbering.
14087 Allow skipping over archived categories.
14088 (todo-backward-category): Derive from todo-forward-category.
14089 (todo-backward-item, todo-forward-item): Make noninteractive and
14090 delegate interactive part to new commands. Make sensitive to done items.
14091 (todo-categories): Make value an alist of category names and
14092 vectors of item counts.
14093 (todo-category-beg): Make a defconst.
14094 (todo-category-number): Use 1 instead of 0 as initial value.
14095 (todo-category-select): Make sensitive to overlays, optional item
14096 highlighting and done items.
14097 (todo-delete-item): Make sensitive to overlays and marked and done items.
14098 (todo-edit-item): Make sensitive to overlays and editing of
14099 date/time header optional. Add format checks.
14100 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
14101 no-op if point is not on an item. Advertise using todo-edit-quit.
14102 (todo-edit-mode): Make sensitive to new format, font-locking, and
14103 multiple todo files.
14104 (todo-insert-item, todo-insert-item-here): Derive from
14105 todo-basic-insert-item and extend functionality.
14106 (todo-item-end, todo-item-start): Make sensitive to done items.
14107 (todo-item-string): Don't return text properties. Restore point.
14108 (todo-jump-to-category): Make sensitive to multiple todo files and
14109 todo archives. Use extended category completion.
14110 (todo-lower-item, todo-raise-item): Rename to *-priority and
14111 derive from todo-set-item-priority.
14112 (todo-mode): Derive from special-mode. Make sensitive to new
14113 format, font-locking and multiple todo files. Make read-only.
14114 (todo-mode-map): Don't suppress digit keys, so they can supply
14115 prefix arguments. Add many new key bindings.
14116 (todo-prefix): Insert as an overlay instead of file text.
14117 Change semantics from diary date expression to purely visual mark.
14118 (todo-print): Rename to todo-print-buffer. Make buffer display
14119 features printable. Remove option to restrict number of items
14120 printed. Add option to print to file.
14121 (todo-print-function): Rename to todo-print-buffer-function.
14122 (todo-quit): Extend to handle exiting new todo modes.
14123 (todo-remove-item): Make sensitive to overlays.
14124 (todo-save): Extend to buffers of filtered items.
14125 (todo-show): Make sensitive to done items, multiple todo files and
14126 new todo modes. Offer to convert legacy todo file before creating
14127 first new todo file.
14128 (todo-show-priorities): Rename to todo-top-priorities.
14129 Change semantics of value 0.
14130 (todo-top-priorities): Rename to todo-filter-top-priorities,
14131 derive from todo-filter-items and extend functionality.
14132 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14133 and extend functionality to other types of filtered items.
14134 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14135 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14136 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14137 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14138 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14139 (todo-edit-mode-hook, todo-entry-prefix-function)
14140 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14141 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14142 (todo-initials, todo-insert-threshold, todo-item-string-start)
14143 (todo-line-string, todo-menu, todo-mode-hook)
14144 (todo-more-important-p, todo-previous-answer, todo-previous-line)
14145 (todo-print-priorities, todo-remove-separator)
14146 (todo-save-top-priorities-too, todo-string-count-lines)
14147 (todo-string-multiline-p, todo-time-string-format)
14148 (todo-tmp-buffer-name): Remove.
14149 (todo-add-file, todo-archive-done-item, todo-choose-archive)
14150 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14151 (todo-edit-category-diary-inclusion)
14152 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14153 (todo-edit-file, todo-edit-item-date-day)
14154 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14155 (todo-edit-item-date-month, todo-edit-item-date-to-today)
14156 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14157 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14158 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14159 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14160 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14161 (todo-filter-top-priorities-multifile, todo-find-archive)
14162 (todo-find-filtered-items-file, todo-go-to-source-item)
14163 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14164 (todo-jump-to-archive-category, todo-lower-category)
14165 (todo-mark-category, todo-marked-item-p, todo-merge-category)
14166 (todo-move-category, todo-move-item, todo-next-button)
14167 (todo-next-item, todo-padded-string, todo-powerset)
14168 (todo-previous-button, todo-previous-item)
14169 (todo-print-buffer-to-file, todo-raise-category)
14170 (todo-rename-category, todo-repair-categories-sexp, todo-search)
14171 (todo-set-category-number, todo-set-item-priority)
14172 (todo-set-top-priorities-in-category)
14173 (todo-set-top-priorities-in-file, todo-show-categories-table)
14174 (todo-sort-categories-alphabetically-or-numerically)
14175 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14176 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14177 (todo-toggle-item-header, todo-toggle-item-highlighting)
14178 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14179 (todo-toggle-view-done-items, todo-toggle-view-done-only)
14180 (todo-unarchive-items, todo-unmark-category): New commands.
14181 (todo-absolute-file-name, todo-add-to-buffer-list)
14182 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14183 (todo-basic-insert-item, todo-category-completions)
14184 (todo-category-number, todo-category-string-matcher-1)
14185 (todo-category-string-matcher-2, todo-check-filtered-items-file)
14186 (todo-check-format, todo-clear-matches)
14187 (todo-comment-string-matcher, todo-convert-legacy-date-time)
14188 (todo-current-category, todo-date-string-matcher)
14189 (todo-define-insertion-command, todo-diary-expired-matcher)
14190 (todo-diary-goto-entry, todo-diary-item-p)
14191 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14192 (todo-display-categories, todo-display-sorted, todo-done-item-p)
14193 (todo-done-item-section-p, todo-done-separator)
14194 (todo-done-string-matcher, todo-files, todo-filter-items)
14195 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14196 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14197 (todo-insert-category-line, todo-insert-item-from-calendar)
14198 (todo-insert-sort-button, todo-insert-with-overlays)
14199 (todo-insertion-command-name, todo-insertion-key-bindings)
14200 (todo-label-to-key, todo-longest-category-name-length)
14201 (todo-make-categories-list, todo-mode-external-set)
14202 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14203 (todo-modes-set-3, todo-multiple-filter-files)
14204 (todo-nondiary-marker-matcher, todo-prefix-overlays)
14205 (todo-read-category, todo-read-date, todo-read-dayname)
14206 (todo-read-file-name, todo-read-time)
14207 (todo-reevaluate-category-completions-files-defcustom)
14208 (todo-reevaluate-default-file-defcustom)
14209 (todo-reevaluate-filelist-defcustoms)
14210 (todo-reevaluate-filter-files-defcustom)
14211 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14212 (todo-reset-done-separator, todo-reset-done-separator-string)
14213 (todo-reset-done-string, todo-reset-global-current-todo-file)
14214 (todo-reset-highlight-item, todo-reset-nondiary-marker)
14215 (todo-reset-prefix, todo-set-categories)
14216 (todo-set-date-from-calendar, todo-set-show-current-file)
14217 (todo-set-top-priorities, todo-short-file-name)
14218 (todo-show-current-file, todo-sort, todo-time-string-matcher)
14219 (todo-total-item-counts, todo-update-buffer-list)
14220 (todo-update-categories-display, todo-update-categories-sexp)
14221 (todo-update-count, todo-validate-name, todo-y-or-n-p):
14223 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14225 (todo-categories, todo-display, todo-edit, todo-faces)
14226 (todo-filtered): New defgroups.
14227 (todo-archived-only, todo-button, todo-category-string, todo-date)
14228 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14229 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14230 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14231 (todo-add-item-if-new-category, todo-always-add-time-string)
14232 (todo-categories-align, todo-categories-archived-label)
14233 (todo-categories-category-label, todo-categories-diary-label)
14234 (todo-categories-done-label, todo-categories-number-separator)
14235 (todo-categories-todo-label, todo-categories-totals-label)
14236 (todo-category-completions-files, todo-completion-ignore-case)
14237 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14238 (todo-done-separator-string, todo-done-string)
14239 (todo-files-function, todo-filter-done-items, todo-filter-files)
14240 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14241 (todo-initial-category, todo-initial-file, todo-item-mark)
14242 (todo-legacy-date-time-regexp, todo-mode-line-function)
14243 (todo-nondiary-marker, todo-number-prefix)
14244 (todo-print-buffer-function, todo-show-current-file)
14245 (todo-show-done-only, todo-show-first, todo-show-with-done)
14246 (todo-skip-archived-categories, todo-top-priorities-overrides)
14247 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14248 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14250 (todo-category-done, todo-date-pattern, todo-date-string-start)
14251 (todo-diary-items-buffer, todo-done-string-start)
14252 (todo-filtered-items-buffer, todo-item-start)
14253 (todo-month-abbrev-array, todo-month-name-array)
14254 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14255 (todo-top-priorities-buffer): New defconsts.
14256 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14257 (todo-categories-with-marks, todo-category-string-face)
14258 (todo-comment-face, todo-comment-string, todo-current-todo-file)
14259 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14260 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14261 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14262 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14263 (todo-font-lock-keywords, todo-global-current-todo-file)
14264 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14265 (todo-insertion-commands-args)
14266 (todo-insertion-commands-args-genlist)
14267 (todo-insertion-commands-names, todo-insertion-map)
14268 (todo-key-bindings-t, todo-key-bindings-t+a)
14269 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14270 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14271 (todo-nondiary-face, todo-print-buffer, todo-time-face)
14272 (todo-visited): New variables.
14274 2013-06-21 Glenn Morris <rgm@gnu.org>
14276 * play/cookie1.el (cookie-apropos): Add optional display argument.
14277 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14278 (psychoanalyze-pinhead): Use cookie-doctor.
14280 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14282 * emacs-lisp/package.el (tar-get-file-descriptor)
14283 (tar--extract): Declare.
14285 2013-06-21 Eduard Wiebe <usenet@pusto.de>
14287 Extend flymake's warning predicate to be a function (bug#14217).
14288 * progmodes/flymake.el (flymake-warning-predicate): New.
14289 (flymake-parse-line): Use it.
14290 (flymake-warning-re): Make obsolete alias to
14291 `flymake-warning-predicate'.
14293 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14295 * emacs-lisp/package.el (package-alist): Include obsolete packages.
14296 (package-obsolete-list): Remove.
14297 (package-activate): Remove min-version argument. Add `force' argument.
14298 Adjust to new package-alist format.
14299 (package-mark-obsolete): Remove.
14300 (package-unpack): Force reload of the package's autoloads.
14301 (package-installed-p): Check builtins if the installed package is not
14303 (package-initialize): Don't reset package-obsolete-list.
14304 Don't specify which package version to activate.
14305 (package-process-define-package, describe-package-1)
14306 (package-menu--generate): Adjust to new package-alist format.
14308 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14310 * allout-widgets.el (allout-widgets-mode-off)
14311 (allout-widgets-mode-on, allout-widgets-pre-command-business)
14312 (allout-widgets-post-command-business)
14313 (allout-widgets-after-copy-or-kill-function)
14314 (allout-widgets-after-undo-function, allout-test-range-overlaps)
14315 (allout-decorate-item-and-context)
14316 (allout-graphics-modification-handler): Fix typos in docstrings.
14317 (allout-get-or-create-parent-widget): Use `looking-at-p'.
14319 * cmuscheme.el (scheme-start-file): Doc fix.
14320 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14321 (scheme-input-filter): Use `string-match-p'.
14323 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14325 * dired-x.el: Use Dired consistently in docstrings.
14327 * dired.el: Use Dired consistently in docstrings.
14328 (dired-readin, dired-mode): Use `setq-local'.
14329 (dired-switches-alist): Make defvar-local.
14330 (dired-buffers-for-dir): Use `zerop'.
14331 (dired-safe-switches-p, dired-switches-escape-p)
14332 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14333 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14334 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14335 (dired-goto-next-nontrivial-file): Use `string-match-p'.
14336 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14337 (dired-toggle-marks, dired-mark-files-containing-regexp)
14338 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14339 (dired-flag-auto-save-files, dired-flag-backup-files):
14340 Use `looking-at-p'.
14341 (dired-mark-files-regexp, dired-build-subdir-alist):
14342 Use `string-match-p', `looking-at-p'.
14344 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14345 (direct-print-region-helper): Use `string-match-p'.
14347 2013-06-21 Leo Liu <sdl.web@gmail.com>
14349 * comint.el (comint-redirect-results-list-from-process):
14352 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14354 * net/eww.el (eww-update-header-line-format): Quote % characters.
14356 2013-06-21 Glenn Morris <rgm@gnu.org>
14358 * play/cookie1.el (cookie): New custom group.
14359 (cookie-file): New option.
14360 (cookie-check-file): New function.
14361 (cookie): Make it interactive. Make start and end messages optional.
14362 Interactively, display the result. Default to cookie-file.
14363 (cookie-insert): Default to cookie-file.
14364 (cookie-snarf): Make start and end messages optional.
14365 Default to cookie-file. Use with-temp-buffer.
14366 (cookie-read): Rename from read-cookie.
14367 Make start and end messages optional. Default to cookie-file.
14368 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
14369 Do not autoload it.
14370 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14371 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14373 2013-06-21 Leo Liu <sdl.web@gmail.com>
14375 * progmodes/octave.el (octave-mode): Backward compatibility fix.
14377 2013-06-21 Glenn Morris <rgm@gnu.org>
14379 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14381 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14382 Daniel Hackney <dan@haxney.org>
14384 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14385 Consolidate the single-file vs tarball code.
14386 (package-desc-suffix): New function.
14387 (package-desc-full-name): Don't bother inlining it.
14388 (package-load-descriptor): Return the new package-desc.
14389 (package-mark-obsolete): Remove unused arg `package'.
14390 (package-unpack): Make it work for single files as well.
14391 Make it update package-alist.
14392 (package--make-autoloads-and-stuff): Rename from
14393 package--make-autoloads-and-compile. Don't compile any more.
14394 (package--compile): New function.
14395 (package-generate-description-file): New function, extracted from
14396 package-unpack-single.
14397 (package-unpack-single): Remove.
14398 (package--with-work-buffer): Add indentation and debugging info.
14399 (package-download-single): Remove.
14400 (package-install-from-archive): Rename from package-download-tar, make
14401 it take a pkg-desc, and make it work for single files as well.
14402 (package-download-transaction): Simplify.
14403 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
14404 external tar program.
14405 (package-install-from-buffer): Remove `pkg-desc' argument.
14406 Use package-tar-file-info for tar-mode buffers.
14407 (package-install-file): Simplify accordingly.
14408 (package-archive-base): Change to take a pkg-desc.
14409 * tar-mode.el (tar--check-descriptor): New function, extracted from
14410 tar-get-descriptor.
14411 (tar-get-descriptor): Use it.
14412 (tar-get-file-descriptor): New function.
14413 (tar--extract): New function, extracted from tar-extract.
14414 (tar--extract): Use it.
14415 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14416 case the summary uses non-ascii. Adjust to new calling convention of
14417 package-tar-file-info.
14419 2013-06-21 Leo Liu <sdl.web@gmail.com>
14421 * comint.el (comint-redirect-results-list-from-process):
14422 Fix random delay. (Bug#14681)
14424 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14426 * profiler.el (profiler-format-number): Use log, not log10.
14428 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14430 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14432 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14434 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14435 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14437 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14438 (AUTOGENEL): ... here.
14439 * emacs-lisp/cl-macs.el (cl--sublis): New function.
14440 (cl--defsubst-expand): Use it.
14442 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
14444 * subr.el (log10): Move here from C code, and declare as obsolete.
14445 All uses of (log10 X) replaced with (log X 10).
14447 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14449 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14450 Declare with `defvar-local'.
14451 (tabulated-list-use-header-line, tabulated-list-entries)
14452 (tabulated-list-padding, tabulated-list-printer)
14453 (tabulated-list-sort-key): Declare with `defvar-local'.
14454 (tabulated-list-init-header, tabulated-list-print-fake-header):
14457 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
14459 * arc-mode.el (archive-mode): Add `archive-write-file' to
14460 `write-contents-functions' also for remote files. (Bug#14652)
14462 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14464 * cus-edit.el (custom-commands): Fix typos.
14465 (custom-display): Fix tooltip text.
14466 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14467 Fix typos in docstrings.
14468 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14469 (custom-unlispify-menu-entry, custom-magic-value-create)
14470 (custom-add-see-also, custom-group-value-create): Use ?\s.
14471 (custom-guess-type, customize-apropos, editable-field)
14472 (custom-face-value-create): Use `string-match-p'.
14473 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14475 * custom.el (custom-load-symbol): Use `string-match-p'.
14477 * ansi-color.el: Convert to lexical binding.
14478 (ansi-colors): Fix URL.
14479 (ansi-color-context, ansi-color-context-region): Use defvar-local.
14480 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14481 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14483 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14485 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14487 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14489 2013-06-19 Tom Tromey <tromey@redhat.com>
14491 * net/eww.el (eww-top-url): Remove.
14492 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14493 (eww-render): Set new variables. Don't set eww-top-url.
14494 (eww-handle-link): Handle "prev", "home", and "contents".
14495 Downcase the rel text.
14496 (eww-top-url): Choose best top URL.
14498 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14500 * net/eww.el: Rewrite to implement form elements "by hand" instead of
14501 relying in widget.el. Using widget.el leads to too many
14502 user interface inconsistencies.
14503 (eww-self-insert): Implement entering commands in text fields.
14504 (eww-process-text-input): New function to make text input field editing
14506 (eww-submit): Rewrite to use the new-style form methods.
14507 (eww-select-display): Display the correct selected item.
14508 (eww-change-select): Implement changing the select value.
14509 (eww-toggle-checkbox): Implement radio/checkboxes.
14510 (eww-update-field): Fix compilation error.
14511 (eww-tag-textarea): Implement <textarea>.
14513 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14514 we don't shadow mode-specific bindings.
14516 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14519 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14521 2013-06-19 Glenn Morris <rgm@gnu.org>
14523 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14525 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
14527 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14530 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14532 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534 * net/browse-url.el (browse-url-browser-function):
14535 `eww-browse-url' has the right calling signature, `eww' does not.
14537 2013-06-19 Glenn Morris <rgm@gnu.org>
14539 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14540 Only eval autoloaded macros.
14541 (byte-compile-autoload): Only give the macro warning for macros.
14543 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14544 (ps-underlined-faces): Declare.
14546 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14547 (speedbar-add-supported-extension): Declare.
14549 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14550 Don't include a date stamp in the header of the generated file;
14551 it leads to needless differences between output files.
14553 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
14555 * net/secrets.el (secrets-struct-secret-content-type):
14556 Replace check of introspection data by a test call of "CreateItem".
14557 Some servers do not offer introspection.
14559 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
14561 * electric.el (electric-pair-mode): Improve interaction with
14562 electric-layout-mode.
14563 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14564 (electric-pair-syntax): Use text-mode-syntax-table in comments
14566 (electric-pair--insert): New function.
14567 (electric-pair-post-self-insert-function): Use it and
14568 electric--after-char-pos.
14570 2013-06-19 Leo Liu <sdl.web@gmail.com>
14572 * progmodes/octave.el (octave-help): Fix regexp.
14574 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14576 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14577 (shr-table-horizontal-line): Allow nil as a value, and change the
14579 (shr-insert-table-ruler): Respect the nil value.
14581 2013-06-18 Tom Tromey <tromey@barimba>
14583 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14585 (eww-open-file): New defun.
14586 (eww-render): Initialize new variables.
14587 (eww-display-html): Handle "link" and "a".
14588 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14589 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
14590 (eww-back-url): Rename from eww-previous-url.
14591 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14594 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
14596 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14597 Distinguish ternary operator tokens from slash symbol and slash
14600 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
14602 Convert symbol prettification into minor mode and global minor mode.
14604 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14605 `prog-prettify-symbols', and make a local defvar instead of defcustom.
14606 (prettify-symbols--keywords): Rename from
14607 `prog-prettify-symbols-alist' and make a local defvar.
14608 (prettify-symbols--compose-symbol): Rename from
14609 `prog--prettify-font-lock-compose-symbol'.
14610 (prettify-symbols--make-keywords): Rename from
14611 `prog-prettify-font-lock-symbols-keywords' and simplify.
14612 (prog-prettify-install): Remove.
14613 (prettify-symbols-mode): New minor mode, based on
14614 `prog-prettify-install'.
14615 (turn-on-prettify-symbols-mode): New function.
14616 (global-prettify-symbols-mode): New globalized minor mode.
14618 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14619 * progmodes/cfengine.el (cfengine3-mode):
14620 * progmodes/perl-mode.el (perl-mode): Don't call
14621 `prog-prettify-install'; set `prettify-symbols-alist' instead.
14623 2013-06-18 Juri Linkov <juri@jurta.org>
14625 * files-x.el (modify-file-local-variable-message): New function.
14626 (modify-file-local-variable)
14627 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14628 and call `modify-file-local-variable-message' when it's non-nil.
14629 (add-file-local-variable, delete-file-local-variable)
14630 (add-file-local-variable-prop-line)
14631 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14632 and use it. (Bug#9820)
14634 2013-06-18 Juri Linkov <juri@jurta.org>
14636 * emulation/vi.el (vi-shell-op):
14637 * emulation/vip.el (vip-execute-com, ex-command):
14638 * emulation/viper-cmd.el (viper-exec-bang):
14639 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14640 the call of `shell-command-on-region'. (Bug#14637)
14642 * simple.el (shell-command-on-region): Doc fix.
14644 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14646 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14649 2013-06-18 Glenn Morris <rgm@gnu.org>
14651 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14653 * newcomment.el (comment-search-forward, comment-search-backward):
14654 Doc fix. (Bug#14376)
14656 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
14658 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14659 (buffer-face-mode-invoke): Doc fix.
14661 2013-06-18 Matthias Meulien <orontee@gmail.com>
14663 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14664 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14666 2013-06-18 Glenn Morris <rgm@gnu.org>
14668 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14669 Replace obsolete function generic-make-keywords with its expansion.
14671 * progmodes/python.el (ffap-alist): Declare.
14673 * textmodes/reftex.el (bibtex-mode-map): Declare.
14675 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14677 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14678 (package-unpack, package-unpack-single): Return the pkg-dir.
14679 (package-download-transaction): Use it to update package-alist.
14681 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14683 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14686 2013-06-17 Juri Linkov <juri@jurta.org>
14688 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14690 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
14692 * emacs-lisp/package.el (package-load-descriptor):
14693 Remove `with-syntax-table' call, `read' doesn't need it.
14694 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14696 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
14698 * startup.el (command-line): Expand package name returned by
14699 `package--description-file' (bug#14639).
14701 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
14703 * emacs-lisp/package.el (package-load-descriptor): Do not call
14704 `emacs-lisp-mode', just use its syntax table.
14706 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
14708 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14709 `font-lock-extra-managed-props' if any prettifying keyword is added.
14710 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14711 (prog-mode): Use `setq-local'.
14713 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * international/characters.el (standard-case-table): Set syntax of ?»
14716 and ?« to punctuation.
14718 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
14720 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14721 Save relevant match data before calling `syntax-ppss' (bug#14595).
14723 2013-06-15 Juri Linkov <juri@jurta.org>
14725 * files-x.el (modify-file-local-variable-prop-line): Add local
14726 variables to the end of the existing comment on the first line.
14727 Use `file-auto-mode-skip' to skip interpreter magic line,
14728 and also skip XML declaration.
14730 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14732 * startup.el (package--builtin-versions): New var.
14733 (package-subdirectory-regexp): Remove.
14734 (package--description-file): Hard code its value instead.
14736 * emacs-lisp/package.el: Don't activate packages older than builtin.
14737 (package-obsolete-list): Rename from package-obsolete-alist, and make
14738 it into a simple list of package-desc.
14739 (package-strip-version): Remove.
14740 (package-built-in-p): Use package--builtin-versions.
14741 (package-mark-obsolete): Simplify.
14742 (package-process-define-package): Mark it obsolete if older than the
14744 (package-handle-response): Use line-end-position.
14745 (package-read-archive-contents, package--download-one-archive):
14747 (package--add-to-archive-contents): Skip if older than the builtin or
14749 (package-menu-describe-package): Fix last change.
14750 (package-list-unversioned): New var.
14751 (package-menu--generate): Use it.
14753 * emacs-lisp/autoload.el: Manage package--builtin-versions.
14754 (autoload--insert-text, autoload--insert-cookie-text): New functions.
14755 (autoload-builtin-package-versions): New variable.
14756 (autoload-generate-file-autoloads): Use them.
14757 Remove the list of autoloaded functions/macros from the
14758 (autoload...) comments.
14760 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14762 2013-06-15 Eli Zaretskii <eliz@gnu.org>
14764 * simple.el (line-move-partial): Don't jump to the next screen
14765 line as soon as it becomes visible. Instead, continue enlarging
14766 the vscroll until the portion of a tall screen line that's left on
14767 display is about the height of the frame's default font.
14770 2013-06-15 Glenn Morris <rgm@gnu.org>
14772 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14773 compilation-error-regexp-alist void, or local while let-bound.
14775 * progmodes/make-mode.el (makefile-mode-syntax-table):
14776 Treat "=" as punctuation. (Bug#14614)
14778 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
14780 * help-fns.el (describe-variable):
14781 Add extra line for permanent-local variables.
14783 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
14785 * progmodes/scheme.el (scheme-font-lock-keywords-2):
14786 Add export, import, library. (Bug#9164)
14787 (library): Set indent function.
14789 2013-06-14 Glenn Morris <rgm@gnu.org>
14791 * term/xterm.el (xterm--query):
14792 Stop after first matching handler. (Bug#14615)
14794 2013-06-14 Ivan Kanis <ivan@kanis.fr>
14796 Add support for dired in saveplace.
14797 * dired.el (dired-initial-position-hook): New variable.
14798 (dired-initial-position): Call hook to place cursor position.
14799 * saveplace.el (save-place-to-alist): Add dired position.
14800 (save-place-dired-hook): New function.
14802 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
14804 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14805 through a symbol rather than letrec.
14807 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
14808 (package-desc): Add `dir' field.
14809 (package-desc-full-name): New function.
14810 (package-load-descriptor): Combine the two arguments. Don't use `load'.
14811 (package-maybe-load-descriptor): Remove.
14812 (package-load-all-descriptors): Just call package-load-descriptor.
14813 (package--disabled-p): New function.
14814 (package-desc-vers, package-desc-doc): Remove aliases.
14815 (package--dir): Remove function.
14816 (package-activate): Check if a package is disabled.
14817 (package-process-define-package): New function, extracted from
14819 (define-package): Turn into a place holder.
14820 (package-unpack-single, package-tar-file-info):
14821 Use package--description-file.
14822 (package-compute-transaction): Use package--disabled-p.
14823 (package-download-transaction): Don't call
14824 package-maybe-load-descriptor since they're all loaded anyway.
14825 (package-install): Change argument to be a pkg-desc.
14826 (package-delete): Use a single pkg-desc argument.
14827 (describe-package-1): Use package-desc-dir instead of package--dir.
14828 Use package-desc property instead of package-symbol.
14829 (package-install-button-action): Adjust accordingly.
14830 (package--push): Rewrite.
14831 (package-menu--print-info): Adjust accordingly. Change the ID format
14833 (package-menu-describe-package, package-menu-get-status)
14834 (package-menu--find-upgrades, package-menu-mark-upgrades)
14835 (package-menu-execute, package-menu--name-predicate):
14836 Adjust accordingly.
14837 * startup.el (package--description-file): New function.
14838 (command-line): Use it.
14839 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14840 Use package-desc-version.
14842 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14843 (byte-compile-preprocess): Use it.
14844 (byte-compile-file-form-defalias): Try a bit harder to use macros we
14845 can't quite recognize.
14846 (byte-compile-add-to-list): Remove.
14847 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14848 (cconv-closure-convert): Add assertion.
14850 * emacs-lisp/map-ynp.el: Use lexical-binding.
14851 (map-y-or-n-p): Remove unused vars `tail' and `object'.
14852 Factor out some repeated code.
14854 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
14856 * subr.el (with-eval-after-load): New macro.
14857 (eval-after-load): Allow form to be a function.
14858 take advantage of lexical-binding.
14859 (do-after-load-evaluation): Use dolist and adjust to new format.
14860 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14862 2013-06-13 Juri Linkov <juri@jurta.org>
14864 * replace.el (perform-replace): Display "symbol " and other search
14865 modes from `isearch-message-prefix' in the *Help* buffer.
14867 * isearch.el (isearch-query-replace): Add " symbol" and other
14868 possible search modes from `isearch-message-prefix' to the prompt.
14869 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14870 when reading a regexp to collect.
14872 2013-06-13 Juri Linkov <juri@jurta.org>
14874 * isearch.el (word-search-regexp): Match whitespace if the search
14875 string begins or ends in whitespace. The LAX arg is applied to
14876 both ends of the search string. Use `regexp-quote' and explicit
14877 \< and \> instead of \b. Use \` and \' instead of ^ and $.
14878 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14879 boundaries are replaced with symbol boundaries, and characters
14880 between symbols match non-word non-symbol syntax. (Bug#14602)
14882 2013-06-13 Juri Linkov <juri@jurta.org>
14884 * isearch.el (isearch-del-char): Don't exceed the length of
14885 `isearch-string' by the prefix arg. (Bug#14563)
14887 2013-06-13 Juri Linkov <juri@jurta.org>
14889 * isearch.el (isearch-yank-word, isearch-yank-line)
14890 (isearch-char-by-name, isearch-quote-char)
14891 (isearch-printing-char, isearch-process-search-char):
14892 Add optional count prefix arg. (Bug#14563)
14894 * international/isearch-x.el
14895 (isearch-process-search-multibyte-characters):
14896 Add optional count prefix arg.
14898 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
14900 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14901 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14904 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
14906 * subr.el (set-temporary-overlay-map): Add on-exit argument.
14908 2013-06-13 Glenn Morris <rgm@gnu.org>
14910 * startup.el (tty-handle-args):
14911 Don't just discard "--" and anything after. (Bug#14608)
14913 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14915 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
14917 Implement changes in Secret Service API. Make it backward compatible.
14918 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14919 (secrets-create-item): Use it. Prefix properties with interface.
14921 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
14923 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
14924 (term-emulate-terminal): Respect term-suppress-hard-newline.
14926 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
14928 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14929 Only remove a `thumb-file' overlay. (Bug#14548)
14931 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
14933 * mail/reporter.el (reporter-submit-bug-report):
14934 Handle missing package-name. (Bug#14600)
14936 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14938 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14939 (reftex-citation-prompt, reftex-default-bibliography)
14940 (reftex-bib-or-thebib, reftex-get-bibfile-list)
14941 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
14942 (reftex-bib-sort-author, reftex-bib-sort-year)
14943 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
14944 (reftex-extract-bib-entries-from-thebibliography)
14945 (reftex-get-bibkey-default, reftex-get-bib-names)
14946 (reftex-parse-bibtex-entry, reftex-get-bib-field)
14947 (reftex-format-bib-entry, reftex-parse-bibitem)
14948 (reftex-format-bibitem, reftex-do-citation)
14949 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
14950 (reftex-restrict-bib-matches, reftex-extract-bib-file)
14951 (reftex-insert-bib-matches, reftex-format-citation)
14952 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
14953 (reftex-create-bibtex-file): Add docstrings, mostly by converting
14954 existing comments into docstrings.
14956 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
14958 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
14960 2013-06-12 Andreas Schwab <schwab@suse.de>
14962 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
14963 for auto-save files.
14965 2013-06-12 Glenn Morris <rgm@gnu.org>
14967 * ido.el (ido-delete-ignored-files): Remove.
14968 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
14969 Go back to calling ido-ignore-item-p directly.
14971 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
14973 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
14975 * ido.el (ido-delete-ignored-files): New function,
14976 split from ido-make-file-list-1.
14977 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
14978 (ido-make-file-list-1): Use ido-delete-ignored-files.
14980 2013-06-12 Leo Liu <sdl.web@gmail.com>
14982 * progmodes/octave.el (inferior-octave-startup)
14983 (inferior-octave-completion-table)
14984 (inferior-octave-track-window-width-change)
14985 (octave-eldoc-function-signatures, octave-help)
14986 (octave-find-definition): Use single quoted strings.
14987 (inferior-octave-startup-args): Change default value.
14988 (inferior-octave-startup): Do not hard code "-i" and
14989 "--no-line-editing".
14990 (inferior-octave-resync-dirs): Add optional arg NOERROR.
14991 (inferior-octave-directory-tracker): Use it.
14992 (octave-goto-function-definition): Robustify.
14993 (octave-help): Support highlighting operators in 'See also'.
14994 (octave-find-definition): Find subfunctions only in Octave mode.
14996 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
14998 * help-fns.el (help-fns--compiler-macro): If the handler function is
14999 named, then put a link to it.
15000 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15001 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15002 (cl-typep): Use it.
15003 (cl-eval-when): Simplify debug spec.
15004 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15005 compiler-macro function instead of setting `compiler-macro-file'.
15007 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15009 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15010 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15012 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15013 Daniel Hackney <dan@haxney.org>
15015 First part of Daniel Hackney's patch to package.el.
15016 * emacs-lisp/package.el: Use defstruct.
15017 (package-desc): New, main struct.
15018 (package--bi-desc, package--ac-desc): New structs, used to describe the
15019 format in external files.
15020 (package-desc-vers): Replace with package-desc-version accessor.
15021 (package-desc-doc): Replace with package-desc-summary accessor.
15022 (package-activate-1): Remove `package' arg since the pkg-vec now
15024 (define-package): Use package-desc-from-define.
15025 (package-unpack-single): Change file-name arg to be a symbol.
15026 (package--add-to-archive-contents): Use package-desc-create and new
15027 accessor functions to package--ac-desc.
15028 (package-buffer-info, package-tar-file-info): Return a package-desc.
15029 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15030 arg to be a package-desc.
15031 (package-install-file): Adjust accordingly. Use \' to match EOS.
15032 (package--from-builtin): New function.
15033 (describe-package-1, package-menu--generate): Use it.
15034 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15035 (package-generate-autoloads): Idem and return the name of the file.
15036 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15037 Change pkg-info arg to be a package-desc.
15038 Use package-make-ac-desc.
15039 (package-upload-file): Use \' to match EOS.
15040 * finder.el (finder-compile-keywords): Use package-make-builtin.
15042 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15044 * vc/vc.el (vc-deduce-fileset): Change error message.
15045 (vc-read-backend): New function.
15046 (vc-next-action): Use it.
15048 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15050 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15051 (prolog-font-lock-keywords): Use regexp-opt instead.
15052 Don't manually highlight strings.
15053 (prolog-mode-variables): Simplify comment-start-skip.
15054 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
15056 * emacs-lisp/generic.el (generic--normalise-comments)
15057 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15058 (generic-mode-set-comments): Use them.
15059 (generic-bracket-support): Use setq-local.
15060 (generic-make-keywords-list): Declare obsolete.
15062 2013-06-11 Glenn Morris <rgm@gnu.org>
15064 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15065 Prettify after setting font-lock-defaults. (Bug#14574)
15067 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
15069 * replace.el (query-replace, occur-read-regexp-defaults-function)
15071 * subr.el (declare-function, number-sequence, local-set-key)
15072 (substitute-key-definition, locate-user-emacs-file)
15073 (with-silent-modifications, split-string, eval-after-load):
15074 Fix typos, remove unneeded backslashes and reflow some docstrings.
15076 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15078 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15079 default for Elisp files.
15081 2013-06-11 Glenn Morris <rgm@gnu.org>
15083 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15084 although define-derived-mode was doing this anyway. (Bug#14583)
15086 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
15088 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15089 Fix make-variable-buffer-local call to refer to the correct variable.
15091 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
15093 * eshell/em-term.el (eshell-visual-commands)
15094 (eshell-visual-subcommands, eshell-visual-options):
15095 Add summary line to docstrings. Add cross-references.
15097 2013-06-10 Glenn Morris <rgm@gnu.org>
15099 * epa.el (epa-read-file-name): New function. (Bug#14510)
15100 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
15102 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15104 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15105 output redirection to be ignored with visual commands.
15107 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15109 * eshell/em-term.el (eshell-visual-command-p): New function.
15110 (eshell-term-initialize): Move long lambda to separate function
15111 eshell-visual-command-p.
15112 * eshell/em-dirs.el (eshell-dirs-initialize):
15113 * eshell/em-script.el (eshell-script-initialize):
15114 Add missing #' to lambda.
15116 2013-06-08 Leo Liu <sdl.web@gmail.com>
15118 * progmodes/octave.el (octave-add-log-current-defun): New function.
15119 (octave-mode): Set add-log-current-defun-function.
15120 (octave-goto-function-definition): Do not move point if not found.
15121 (octave-find-definition): Enhance to try subfunctions first.
15123 2013-06-08 Glenn Morris <rgm@gnu.org>
15125 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15126 (byte-compile-backward-char, byte-compile-backward-word):
15127 Improve previous change, to handle non-explicit nil.
15129 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
15131 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15132 (smie--opener/closer-at-point): New function.
15133 (smie--matching-block-data): Use it. Don't match from right after an
15134 opener or right before a closer. Obey smie-blink-matching-inners.
15135 Don't signal a mismatch for repeated inners like "switch..case..case".
15137 2013-06-07 Leo Liu <sdl.web@gmail.com>
15139 * progmodes/octave.el (octave-mode): Set comment-use-global-state
15141 (octave-function-header-regexp): Fix. (Bug#14570)
15142 (octave-help-mode-finish-hook, octave-help-mode-finish):
15143 Remove. Just use temp-buffer-show-hook.
15145 * newcomment.el (comment-search-backward): Revert last change.
15148 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15150 2013-06-07 Eli Zaretskii <eliz@gnu.org>
15152 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15153 through xargs, to avoid failure due to MS-Windows limitations on
15154 command-line length.
15156 2013-06-06 Glenn Morris <rgm@gnu.org>
15158 * font-lock.el (lisp-font-lock-keywords-2):
15159 Treat user-error like error.
15161 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15162 (byte-compile-backward-char, byte-compile-backward-word):
15163 Handle explicit nil arguments. (Bug#14565)
15165 2013-06-05 Alan Mackenzie <acm@muc.de>
15167 * isearch.el (isearch-allow-prefix): New user option.
15168 (isearch-other-meta-char): Don't exit isearch when a prefix
15169 argument is typed whilst `isearch-allow-prefix' is non-nil.
15172 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15174 * autorevert.el (auto-revert-notify-handler): Use memq.
15175 Hide assertion failure.
15177 * skeleton.el: Use cl-lib.
15178 (skeleton-further-elements): Use defvar-local.
15179 (skeleton-insert): Use cl-progv.
15181 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15183 * progmodes/prog-mode.el (prog-prettify-symbols)
15184 (prog-prettify-install): Update docstrings.
15186 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15188 * simple.el: Move all the prog-mode code to prog-mode.el.
15189 * progmodes/prog-mode.el: New file.
15190 * loadup.el: Add prog-mode.el.
15192 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15194 * simple.el (prog-prettify-symbols): Add version.
15195 (prog-prettify-install): Add convenience function to prettify symbols.
15197 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15198 (perl--augmented-font-lock-keywords-1)
15199 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15200 variables and use it.
15202 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15203 (cfengine3-mode): Remove unneeded variable and use it.
15205 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15206 (lisp--augmented-font-lock-keywords-1)
15207 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15208 Remove unneeded variables and use it.
15210 2013-06-05 João Távora <joaotavora@gmail.com>
15212 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15213 to point when opening the connection. (Bug#14380)
15215 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15217 * subr.el (load-history-regexp, load-history-filename-element)
15218 (eval-after-load, after-load-functions, do-after-load-evaluation)
15219 (eval-next-after-load, display-delayed-warnings)
15220 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15221 definition of save-match-data.
15222 (overriding-local-map): Remove accidental obsolescence declaration.
15224 * emacs-lisp/edebug.el (edebug-result): Move before first use.
15226 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15228 Generalize symbol prettify support to prog-mode and implement it
15229 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15230 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15231 (prog--prettify-font-lock-compose-symbol)
15232 (prog-prettify-font-lock-symbols-keywords): New variables and
15233 functions to support symbol prettification.
15234 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15235 (lisp--augmented-font-lock-keywords-1)
15236 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15237 (lisp--prettify-symbols-alist): Implement prettify of lambda.
15238 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15239 (cfengine3--prettify-symbols-alist, cfengine3-mode):
15240 Implement prettify of -> => :: strings.
15241 * progmodes/perl-mode.el (perl-prettify-symbols)
15242 (perl--font-lock-compose-symbol)
15243 (perl--font-lock-symbols-keywords): Move to prog-mode.
15244 (perl--prettify-symbols-alist): Prettify -> => :: strings.
15245 (perl-font-lock-keywords-1)
15246 (perl-font-lock-keywords-2): Remove explicit prettify support.
15247 (perl--augmented-font-lock-keywords)
15248 (perl--augmented-font-lock-keywords-1)
15249 (perl--augmented-font-lock-keywords-2, perl-mode):
15250 Implement prettify support.
15252 2013-06-05 Leo Liu <sdl.web@gmail.com>
15254 Re-implement SMIE matching block highlight using
15255 show-paren-data-function. (Bug#14395)
15256 * emacs-lisp/smie.el (smie-matching-block-highlight)
15257 (smie--highlight-matching-block-overlay)
15258 (smie--highlight-matching-block-lastpos)
15259 (smie-highlight-matching-block)
15260 (smie-highlight-matching-block-mode): Remove.
15261 (smie--matching-block-data-cache): New variable.
15262 (smie--matching-block-data): New function.
15263 (smie-setup): Use smie--matching-block-data for
15264 show-paren-data-function.
15266 * progmodes/octave.el (octave-mode-menu): Fix.
15267 (octave-find-definition): Skip garbage lines.
15269 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15271 Fix compilation error with simultaneous dynamic+lexical scoping.
15272 Add warning when a defvar appears after the first let-binding.
15273 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15274 (byte-compile-close-variables): Initialize it.
15275 (byte-compile--declare-var): New function.
15276 (byte-compile-file-form-defvar)
15277 (byte-compile-file-form-define-abbrev-table)
15278 (byte-compile-file-form-custom-declare-variable): Use it.
15279 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
15280 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15281 (byte-compile-bind): Handle dynamic bindings that shadow
15283 (byte-compile-unbind): Make arg non-optional.
15284 (byte-compile-let): Simplify.
15285 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15286 (cconv--analyse-function, cconv-analyse-form): Populate it.
15287 Protect byte-compile-bound-variables to limit the scope of defvars.
15288 (cconv-analyse-form): Add missing rule for (defvar <foo>).
15289 Remove unneeded rule for `declare'.
15291 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15292 so as to avoid depending on cl-adjoin at run-time.
15293 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15295 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15296 (macroexp--warn-and-return): Use it.
15298 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15300 * subr.el: Convert to lexical binding.
15301 (overriding-local-map): Make obsolete.
15302 (add-to-list): Doc fix. Add compiler macro.
15303 (read-key): Swap values of local maps.
15305 2013-06-05 Leo Liu <sdl.web@gmail.com>
15307 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15309 2013-06-04 Leo Liu <sdl.web@gmail.com>
15311 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15312 (compilation-auto-jump): Suppress the "Mark set" message to give
15313 way to exit message.
15315 2013-06-04 Alan Mackenzie <acm@muc.de>
15317 Remove faulty optimisation from indentation calculation.
15318 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15319 search limit based on 2000 characters back from indent-point.
15321 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15323 * eshell/em-term.el (cl-lib): Require `cl-lib'.
15325 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
15327 * emacs-lisp/lisp.el: Use lexical-binding.
15328 (lisp--local-variables-1, lisp--local-variables): New functions.
15329 (lisp--local-variables-completion-table): New var.
15330 (lisp-completion-at-point): Use it complete let-bound vars.
15332 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15333 eagerly (bug#14422).
15335 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
15337 * autorevert.el (auto-revert-notify-enabled)
15338 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15339 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15340 (auto-revert-notify-handler): Handle also gfilenotify.
15342 * subr.el (file-notify-handle-event): New defun. Replacing ...
15343 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15346 2013-06-03 Juri Linkov <juri@jurta.org>
15348 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15349 `M-s h .'. (Bug#14427)
15351 * hi-lock.el (highlight-symbol-at-point): New alias for the new
15352 command `hi-lock-face-symbol-at-point'.
15353 (hi-lock-face-symbol-at-point): New command.
15354 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15355 (hi-lock-menu): Add `highlight-symbol-at-point'.
15356 (hi-lock-mode): Doc fix.
15358 * isearch.el (isearch-forward-symbol-at-point): New command.
15359 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15360 (isearch-highlight-regexp): Add a regexp which matches
15361 words/symbols for word/symbol mode.
15363 * subr.el (find-tag-default-bounds): New function with the body
15364 mostly moved from `find-tag-default'.
15365 (find-tag-default): Move most code to `find-tag-default-bounds',
15366 call it and apply `buffer-substring-no-properties' afterwards.
15368 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15370 * eshell/em-term.el (eshell-term-initialize):
15371 Use `cl-intersection' rather than `intersection'.
15373 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
15375 * vc/log-view.el: Doc fix.
15376 (log-view-mode-map): Copy keymap from `special-mode-map'.
15378 2013-06-02 Eric Ludlam <zappo@gnu.org>
15380 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15381 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15382 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15383 (eieio-unbound, eieio-default-superclass)
15384 (eieio--define-field-accessors, method-static, method-before)
15385 (method-primary, method-after, method-num-lists)
15386 (method-generic-before, method-generic-primary)
15387 (method-generic-after, method-num-slots)
15388 (eieio-specialized-key-to-generic-key)
15389 (eieio--check-type, class-v, class-p)
15390 (eieio-class-name, define-obsolete-function-alias)
15391 (eieio-class-parents-fast, eieio-class-children-fast)
15392 (same-class-fast-p, class-constructor, generic-p)
15393 (generic-primary-only-p, generic-primary-only-one-p)
15394 (class-option-assoc, class-option, eieio-object-p)
15395 (class-abstract-p, class-method-invocation-order)
15396 (eieio-defclass-autoload-map, eieio-defclass-autoload)
15397 (eieio-class-un-autoload, eieio-defclass)
15398 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15399 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15400 (eieio--defgeneric-init-form, eieio-defgeneric-form)
15401 (eieio-defgeneric-reset-generic-form)
15402 (eieio-defgeneric-form-primary-only)
15403 (eieio-defgeneric-reset-generic-form-primary-only)
15404 (eieio-defgeneric-form-primary-only-one)
15405 (eieio-defgeneric-reset-generic-form-primary-only-one)
15406 (eieio-unbind-method-implementations)
15407 (eieio--defmethod, eieio--typep)
15408 (eieio-perform-slot-validation, eieio-validate-slot-value)
15409 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15410 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15411 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15412 (eieio-slot-name-index, eieio-class-slot-name-index)
15413 (eieio-set-defaults, eieio-initarg-to-attribute)
15414 (eieio-attribute-to-initarg, eieio-c3-candidate)
15415 (eieio-c3-merge-lists, eieio-class-precedence-c3)
15416 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15417 (eieio-class-precedence-list, eieio-generic-call-methodname)
15418 (eieio-generic-call-arglst, eieio-generic-call-key)
15419 (eieio-generic-call-next-method-list)
15420 (eieio-pre-method-execution-functions, eieio-generic-call)
15421 (eieio-generic-call-primary-only, eieiomt-method-list)
15422 (eieiomt-optimizing-obarray, eieiomt-install)
15423 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15424 (eieio-generic-form, eieio-defmethod, make-obsolete)
15425 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15426 (defclass): Remove `eval-and-compile' from macro.
15427 (call-next-method, shared-initialize): Instead of using
15428 `scoped-class' variable, use new eieio--scoped-class, and
15429 eieio--with-scoped-class.
15430 (initialize-instance): Rename local variable 'scoped-class' to
15431 'this-class' to remove ambiguitity from old global.
15433 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
15435 (eieio--scoped-class-stack): New variable.
15436 (eieio--scoped-class): New fcn.
15437 (eieio--with-scoped-class): New scoping macro.
15438 (eieio-defclass): Use pushnew instead of add-to-list.
15439 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15440 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15441 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15442 `scoped-class' variable, use new eieio--scoped-class, and
15443 eieio--with-scoped-class.
15445 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15447 2013-06-02 Tassilo Horn <tsdh@gnu.org>
15449 * eshell/esh-ext.el (eshell-external-command): Pass args to
15450 `eshell-find-interpreter'.
15451 (eshell-find-interpreter): Add new second parameter ARGS.
15453 * eshell/em-script.el (eshell-script-initialize): Add second arg
15454 to the function added as MATCH to `eshell-interpreter-alist'.
15456 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15457 the function added as MATCH to `eshell-interpreter-alist'.
15459 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15460 (eshell-visual-options): New defcustom.
15461 (eshell-escape-control-x): Adapt docstring.
15462 (eshell-term-initialize): Test `eshell-visual-subcommands' and
15463 `eshell-visual-options' in addition to `eshell-visual-commands'.
15464 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15466 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
15468 * progmodes/python.el (python-indent-block-enders): Add break,
15469 continue and raise keywords.
15471 2013-06-01 Glenn Morris <rgm@gnu.org>
15473 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15475 Plain (f)boundp silences compilation warnings since Emacs 22.1.
15476 * progmodes/cc-cmds.el (delete-forward-p):
15477 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15478 * progmodes/cc-engine.el (buffer-syntactic-context):
15479 * progmodes/cc-fonts.el (face-property-instance):
15480 * progmodes/cc-mode.el (set-keymap-parents):
15481 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15482 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15483 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15484 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15485 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15487 * progmodes/cc-vars.el (other): Emacs has this widget since
15488 at least 21.1, so don't (re)define it.
15490 * eshell/em-cmpl.el (eshell-cmpl-initialize):
15491 Replace the obsolete alias pcomplete-arg-quote-list.
15493 2013-06-01 Leo Liu <sdl.web@gmail.com>
15495 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15496 punctuation syntax.
15497 (inferior-octave-minimal-columns)
15498 (inferior-octave-last-column-width): New variables.
15499 (inferior-octave-track-window-width-change): New function.
15500 (inferior-octave-mode): Adjust column width so that Octave output,
15501 for example from 'ls', can fit into the window nicely.
15503 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
15505 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15506 Highlight expansions inside regexp literals.
15508 2013-05-31 Glenn Morris <rgm@gnu.org>
15510 * obsolete/sym-comp.el (symbol-complete):
15511 Replace obsolete completion-annotate-function.
15513 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15515 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
15517 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15518 New function, checks if point is inside a literal that allows
15519 expression expansion.
15520 (ruby-syntax-propertize-expansion): Use it.
15521 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15524 2013-05-30 Juri Linkov <juri@jurta.org>
15526 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15528 (isearch-invisible): New variable.
15529 (isearch-forward): Doc fix.
15530 (isearch-mode): Set `isearch-invisible'
15531 to the value of `search-invisible'.
15532 (isearch-toggle-case-fold): Doc fix.
15533 (isearch-toggle-invisible): New command.
15534 (isearch-query-replace): Let-bind `search-invisible'
15535 to the value of `isearch-invisible'.
15536 (isearch-search): Use `isearch-invisible' instead of
15537 `search-invisible'. Let-bind `search-invisible'
15538 to the value of `isearch-invisible'. (Bug#11378)
15540 2013-05-30 Juri Linkov <juri@jurta.org>
15542 * replace.el (perform-replace): Avoid `isearch-range-invisible'
15543 call when `query-flag' is nil and `search-invisible' is non-nil.
15546 2013-05-30 Glenn Morris <rgm@gnu.org>
15548 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15550 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15551 (cc-require): Suppress spurious "noruntime" warnings.
15552 (cc-require-when-compile): Use fboundp, for sake of compiler.
15554 * progmodes/cc-mode.el: Move load of cc-vars before that of
15555 cc-langs (which in turn loads cc-vars), to quieten compiler.
15557 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15559 * paren.el: Simplify the code.
15560 (show-paren-mode): Always start the timer.
15561 (show-paren--idle-timer): Rename from show-paren-idle-timer.
15562 (show-paren--overlay, show-paren--overlay-1): Rename from
15563 show-paren-overlay and show-paren-overlay-1, and initialize to an
15564 overlay rather than to nil.
15565 (show-paren-function): Misc cleanup and simplifications.
15567 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15569 * paren.el (show-paren-data-function): New hook.
15570 (show-paren--default): New function, extracted from show-paren-function.
15571 (show-paren-function): Use show-paren-data-function.
15573 2013-05-30 Glenn Morris <rgm@gnu.org>
15575 * ielm.el (ielm-map, ielm-complete-symbol):
15576 Use completion-at-point rather than obsolete functions.
15577 (inferior-emacs-lisp-mode): Doc fix.
15578 Set completion-at-point-functions, rather than
15579 comint-dynamic-complete-functions.
15581 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15582 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15583 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15585 * image.el (image-animated-p): Tweak definition.
15587 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15588 (rlogin-process-connection-type): Tweak default. Add set-after.
15589 (rlogin-host): Doc fix.
15590 (rlogin): Tweak prompt.
15591 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15593 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15594 * progmodes/tcl.el (inferior-tcl-mode-map):
15595 Use completion-at-point rather than obsolete alias.
15597 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15599 * minibuffer.el (read-file-name-completion-ignore-case):
15600 Move before completion--in-region, for eager macro expansion.
15602 2013-05-29 Juri Linkov <juri@jurta.org>
15604 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15605 for total count of matching lines. Add `global-matches' for total
15606 count of matches. Rename `matches' to `lines' for count of
15607 matching lines. Add `matches' for count of matches.
15608 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
15609 to `prev-line' for line number of prev match endpt.
15610 Increment `matches' for every match. Print the number of
15611 matching lines in the header.
15612 (occur-context-lines): Rename `lines' to `curr-line'.
15613 Rename `prev-lines' to `prev-line'. (Bug#14017)
15615 2013-05-29 Juri Linkov <juri@jurta.org>
15617 * replace.el (perform-replace): Add `skip-read-only-count',
15618 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15619 Increment them for corresponding conditions and report the number
15620 of skipped occurrences in the final message. (Bug#11746)
15621 (query-replace, query-replace-regexp, query-replace-regexp-eval)
15622 (replace-string, replace-regexp): Doc fix.
15624 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * emacs-lisp/trace.el (trace--read-args): Provide a default.
15628 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15629 prog-mode-map (bug#14504).
15631 2013-05-29 Leo Liu <sdl.web@gmail.com>
15633 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15634 (octave-help): Small simplification.
15636 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15637 off the highlight first.
15639 2013-05-29 Glenn Morris <rgm@gnu.org>
15641 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15642 Handle idlwave-last-system-routine-info-cons-cell being nil.
15644 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15645 (idlwave-write-paths): Simplify via with-temp-buffer.
15647 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15648 * emulation/cua-rect.el: Also load cua-base at run time.
15650 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15651 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15652 (cperl-imenu-on-info): Require imenu.
15654 2013-05-28 Alan Mackenzie <acm@muc.de>
15656 Handle "capitalised keywords" correctly.
15657 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15659 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
15661 * eshell/em-unix.el: Add -r option to cp.
15663 2013-05-28 Glenn Morris <rgm@gnu.org>
15665 * vc/vc-arch.el (vc-exec-after): Declare.
15666 (vc-switches): Autoload.
15667 * vc/vc-bzr.el: No need to require vc when compiling.
15668 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15669 (vc-resynch-buffer, vc-dir-refresh): Declare.
15670 (vc-setup-buffer, vc-switches): Autoload.
15671 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15672 (vc-resynch-buffer): Declare.
15673 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15674 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15675 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15676 (grep-read-regexp, grep-read-files, grep-expand-template)
15677 (vc-dir-refresh): Declare.
15678 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15679 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15680 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15681 * vc/vc-mtn.el (vc-exec-after): Declare.
15682 (vc-switches): Autoload.
15683 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15684 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15685 (vc-file-tree-walk): Declare.
15686 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15687 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15688 (vc-tag-precondition, vc-rename-master): Autoload.
15689 * vc/vc-svn.el (vc-exec-after): Declare.
15690 (vc-switches, vc-setup-buffer): Autoload.
15691 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15693 (vc-resynch-buffer): Declare.
15695 * obsolete/fast-lock.el (byte-compile-warnings):
15696 Don't warn about obsolete features in this obsolete file.
15698 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15699 Move definition before use.
15701 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15702 (dun-unix-verbs): Remove dun-zippy.
15703 (dun-zippy): Remove function.
15705 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15707 2013-05-27 Juri Linkov <juri@jurta.org>
15709 * replace.el (replace-search): New function with code moved out
15710 from `perform-replace'.
15711 (replace-highlight, replace-dehighlight): Move function definitions
15712 up closer to `replace-search'. (Bug#11746)
15714 2013-05-27 Juri Linkov <juri@jurta.org>
15716 * replace.el (perform-replace): Ignore invisible matches.
15717 In addition to checking `query-replace-skip-read-only', also
15718 filter out matches by calling `run-hook-with-args-until-failure'
15719 on `isearch-filter-predicates', and also check `search-invisible'
15720 for t or call `isearch-range-invisible'.
15721 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
15723 2013-05-27 Juri Linkov <juri@jurta.org>
15725 * isearch.el (isearch-filter-predicates): Rename from
15726 `isearch-filter-predicate'. Doc fix. (Bug#11378)
15727 (isearch-message-prefix): Display text from the property
15728 `isearch-message-prefix' of the currently active filters.
15729 (isearch-search): Don't compare `isearch-filter-predicate' with
15730 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
15731 on `isearch-filter-predicates'. Also check `search-invisible' for t
15732 or call `isearch-range-invisible'.
15733 (isearch-filter-visible): Make obsolete.
15734 (isearch-lazy-highlight-search):
15735 Call `run-hook-with-args-until-failure' on
15736 `isearch-filter-predicates' and use `isearch-range-invisible'.
15738 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15739 `isearch-filter-predicates' instead of `funcall'ing
15740 `isearch-filter-predicate'.
15741 (Info-mode): Set `Info-isearch-filter' to
15742 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15744 * dired-aux.el (dired-isearch-filter-predicate-orig):
15746 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15747 (dired-isearch-filenames-end): Add and remove
15748 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15749 instead of changing the value of `isearch-filter-predicate'.
15750 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15751 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15752 Put property `isearch-message-prefix' to "filename " on
15753 `dired-isearch-filter-filenames'.
15755 * wdired.el (wdired-change-to-wdired-mode):
15756 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15757 locally instead of changing `isearch-filter-predicate'.
15758 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15760 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
15762 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15763 return the commit hash (Bug#14459). Also set the
15764 `vc-git-detached' property.
15765 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15766 (vc-git-mode-line-string): Use the same help-echo format whether
15767 in detached mode or not, because we know the actual revision now.
15768 When in detached mode, shorten the revision to 7 chars.
15770 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15772 * emacs-lisp/easy-mmode.el (define-minor-mode):
15773 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15774 mode hook and provide a docstring.
15776 2013-05-27 Alan Mackenzie <acm@muc.de>
15778 Remove spurious syntax-table text properties inserted by C-y.
15779 * progmodes/cc-mode.el (c-after-change): Also clear hard
15780 syntax-table property with value nil.
15782 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
15784 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15785 when reading the events; the buffer layout shall not be changed.
15787 2013-05-27 Leo Liu <sdl.web@gmail.com>
15789 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15791 (inferior-octave-directory-tracker): Automatically re-sync
15793 (octave-help): Improve handling of 'See also'.
15795 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * doc-view.el: Minor naming convention tweaks.
15798 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15800 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15801 even if there's no `display' property yet (bug#14435).
15803 2013-05-25 Eli Zaretskii <eliz@gnu.org>
15805 * subr.el (unmsys--file-name): Rename from reveal-filename.
15807 * Makefile.in (custom-deps, finder-data, autoloads)
15808 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15809 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15810 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15812 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15814 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15815 error-completion on the first 2 args of condition-case (bug#14446).
15818 2013-05-25 Leo Liu <sdl.web@gmail.com>
15820 * comint.el (comint-previous-matching-input): Do not flood the
15821 *Messages* buffer with trivial messages.
15823 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15825 * progmodes/flymake.el (flymake-nop): Don't return a string.
15826 (flymake-set-at): Fix typo.
15828 * simple.el (read--expression): New function, extracted from
15829 eval-expression. Set completion-at-point-functions (bug#14465).
15830 (eval-expression, eval-minibuffer): Use it.
15832 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
15834 * progmodes/flymake.el (flymake-save-buffer-in-file)
15835 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15836 (flymake-selected-frame, flymake-log, flymake-ins-after)
15837 (flymake-set-at, flymake-get-buildfile-from-cache)
15838 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15839 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15840 Refine the doc string.
15841 (flymake-get-file-name-mode-and-masks): Reformat.
15842 (flymake-get-real-file-name-function): Fix a minor bug.
15844 2013-05-24 Juri Linkov <juri@jurta.org>
15846 * progmodes/grep.el (grep-mode-font-lock-keywords):
15847 Support =linenumber= format used by git-grep for lines with
15848 function names. (Bug#13549)
15850 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15852 * progmodes/octave.el (octave-smie-rules): Return nil rather than
15853 0 after a semi-colon; it works better for smie-auto-fill.
15854 (octave--indent-new-comment-line): New function.
15855 (octave-indent-new-comment-line): Use it (indirectly).
15856 (octave-mode): Don't disable smie-auto-fill. Use add-function to
15857 modify comment-line-break-function.
15859 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15860 (smie-setup): Use add-function to set it.
15862 2013-05-24 Sam Steingold <sds@gnu.org>
15864 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15865 argument (before the `interactive' argument).
15867 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15869 * image-mode.el (image-mode-winprops): Add winprops to
15870 image-mode-winprops-alist before running
15871 image-mode-new-window-functions.
15872 * doc-view.el (doc-view-new-window-function): Don't delay
15873 doc-view-goto-page via timers (bug#14435).
15875 2013-05-24 Tassilo Horn <tsdh@gnu.org>
15877 * doc-view.el: Integrate with desktop.el. (Bug#14435)
15878 (doc-view-desktop-save-buffer): New function.
15879 (doc-view-restore-desktop-buffer): New function.
15880 (desktop-buffer-mode-handlers):
15881 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15883 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15884 `desktop-save-buffer' function.
15886 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
15888 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15889 (tramp-gvfs-file-name-handler): Raise a user error when
15890 `tramp-gvfs-enabled' is nil.
15891 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15892 Do not raise a user error when loading package. (Bug#14447)
15894 * net/xesam.el: Move to obsolete/.
15896 2013-05-24 Glenn Morris <rgm@gnu.org>
15898 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15900 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15902 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15903 (Info-find-node, Man-getpage-in-background): Declare.
15905 * mail/unrmail.el (unrmail):
15906 Replace obsolete detect-coding-with-priority.
15908 * net/socks.el (socks-split-string): Use this rather than split-string.
15909 (socks-nslookup-host): Update for above change.
15910 (dynamic-choice, s5-dynamic-choice-match)
15911 (s5-dynamic-choice-match-inline, s5-widget-value-create):
15912 Comment out unused code.
15914 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15915 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15916 (gud-tooltip-echo-area): Make obsolete.
15917 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15919 * progmodes/js.el (js--optimize-arglist): Declare.
15921 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15923 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15924 (ediff-window-C): Declare.
15926 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15927 Tweak requires to silence compiler.
15929 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15930 (he-search-string, he-tried-table, he-expand-list)
15931 (he-init-string, he-string-member, he-substitute-string)
15932 (he-reset-string): Declare.
15934 * obsolete/options.el (list-options): Use custom-variable-p,
15935 rather than obsolete alias.
15937 2013-05-23 Sam Steingold <sds@gnu.org>
15939 * simple.el (shell-command-on-region): Pass the `replace' argument
15940 down to `call-process-region' to comply with the doc as reported on
15941 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
15943 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * emacs-lisp/smie.el (smie-indent-forward-token)
15946 (smie-indent-backward-token): Handle string tokens (bug#14381).
15948 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15950 * ielm.el (ielm-menu): New menu.
15951 (inferior-emacs-lisp-mode): Set comment-start.
15953 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15955 * textmodes/reftex.el (reftex-ref-style-toggle):
15956 Fix deactivate action.
15958 * textmodes/reftex-vars.el (reftex-ref-style-alist):
15959 Add cleveref macros.
15961 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
15962 Accept options for bibliography commands.
15963 * textmodes/reftex-vars.el (reftex-bibliography-commands):
15964 Add addbibresource. Basic Biblatex support.
15966 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
15968 * net/tramp-gvfs.el (top):
15969 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
15970 when loading package. (Bug#14447)
15972 2013-05-23 Glenn Morris <rgm@gnu.org>
15974 * progmodes/js.el: No need to load comint when compiling.
15975 (ring-insert, comint-send-string, comint-send-input)
15976 (comint-last-input-end, ido-chop): Declare.
15978 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
15979 * vc/ediff-mult.el: Adjust requires.
15980 (ediff-directories-internal, ediff-directory-revisions-internal)
15981 (ediff-patch-file-internal): Declare.
15982 * vc/ediff-ptch.el: Adjust requires.
15983 (ediff-use-last-dir, ediff-buffers-internal): Declare.
15984 (ediff-find-file): Autoload.
15985 * vc/ediff-util.el: No need to load ediff when compiling.
15986 (ediff-regions-internal): Declare.
15987 * vc/ediff-wind.el: Adjust requires.
15988 (ediff-compute-toolbar-width): Define when compiling.
15989 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
15990 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
15991 (dired-get-filename, dired-get-marked-files)
15992 (ediff-last-dir-patch, ediff-patch-default-directory)
15993 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
15994 (ediff-patch-buffer-internal): Declare.
15996 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
15997 (ispell-process, ispell-buffer-local-words, lm-summary)
15998 (lm-section-start, lm-section-end): Declare.
15999 (checkdoc-ispell-init): Simplify.
16001 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16002 (he-string-member, he-reset-string, he-substitute-string): Declare.
16004 * eshell/em-ls.el: Adjust requires.
16005 (eshell-glob-regexp): Declare.
16006 * eshell/em-tramp.el: Adjust requires.
16007 (eshell-parse-command): Autoload.
16008 * eshell/em-xtra.el: Adjust requires.
16009 (eshell-parse-command): Autoload.
16010 * eshell/esh-ext.el: Adjust requires.
16011 (eshell-parse-command, eshell-close-handles): Autoload.
16012 * eshell/esh-io.el: Adjust requires.
16013 (eshell-output-filter): Autoload.
16014 * eshell/esh-util.el: No need to load tramp when compiling.
16015 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16017 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16018 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16019 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16020 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16021 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16022 * eshell/esh-opt.el, eshell/esh-proc.el:
16023 * eshell/esh-var.el: Adjust requires.
16024 * eshell/eshell.el: Do not require esh-util twice.
16025 (eshell-add-input-to-history): Declare.
16026 (eshell-command): Check history module is active before using it.
16028 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16030 2013-05-22 Leo Liu <sdl.web@gmail.com>
16032 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16034 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16036 * autorevert.el (auto-revert-notify-add-watch)
16037 (auto-revert-notify-handler): Add `attrib' for the inotify case,
16038 it indicates changes in file modification time.
16040 2013-05-22 Glenn Morris <rgm@gnu.org>
16042 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16043 Always delete the autoloaded function from the noruntime and
16044 unresolved functions lists.
16046 * allout.el: No need to load epa, epg, overlay when compiling.
16047 (epg-context-set-passphrase-callback, epg-list-keys)
16048 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16049 (epg-key-user-id-list): Declare.
16051 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16052 (viper-set-parsing-style-toggling-macro)
16053 (viper-set-emacs-state-searchstyle-macros):
16054 Use called-interactively-p on Emacs.
16055 (viper-looking-back): Make it an obsolete alias. Update callers.
16056 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16057 Use looking-back rather than viper-looking-back.
16058 (viper-tmp-insert-at-eob, viper-enlarge-region)
16059 (viper-read-string-with-history, viper-register-to-point)
16060 (viper-append-to-register, viper-change-state-to-vi)
16061 (viper-backward-char-carefully, viper-forward-char-carefully)
16062 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16063 (viper-change-state-to-emacs): Declare.
16064 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16065 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16066 * emulation/viper-mous.el: Do not load viper-cmd.
16067 (viper-backward-char-carefully, viper-forward-char-carefully)
16068 (viper-forward-word, viper-adjust-window): Declare.
16070 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16072 * progmodes/idlw-help.el (idlwave-help-fontify):
16073 Use called-interactively-p.
16075 * term/w32console.el (w32-get-console-codepage)
16076 (w32-get-console-output-codepage): Declare.
16078 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16079 Remove unnecessary declarations.
16080 (dframe-message): Doc fix.
16082 * info.el (dframe-select-attached-frame, dframe-current-frame):
16085 * speedbar.el (speedbar-message): Make it an obsolete alias.
16086 Update all callers.
16087 (speedbar-with-attached-buffer)
16088 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16089 (speedbar-with-writable): Use backquote.
16090 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16091 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16092 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16093 rather than speedbar- aliases.
16094 * mail/rmail.el: Load dframe rather than speedbar when compiling.
16095 (speedbar-make-specialized-keymap, speedbar-insert-button)
16096 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16097 (speedbar-do-function-pointer): Declare.
16098 (rmail-speedbar-button, rmail-speedbar-find-file)
16099 (rmail-speedbar-move-message):
16100 Use dframe-with-attached-buffer rather than speedbar- alias.
16101 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16102 (dframe-message, speedbar-make-specialized-keymap)
16103 (speedbar-add-expansion-list, speedbar-mode-functions-list)
16104 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16105 (speedbar-insert-button, dframe-select-attached-frame)
16106 (dframe-maybee-jump-to-attached-frame)
16107 (speedbar-change-initial-expansion-list)
16108 (speedbar-previously-used-expansion-list-name): Declare.
16109 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16110 Use dframe-message, dframe-with-attached-buffer rather than
16112 (gud-sentinel): Silence compiler.
16113 * progmodes/vhdl-mode.el (speedbar-refresh)
16114 (speedbar-do-function-pointer, speedbar-add-supported-extension)
16115 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16116 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16117 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16118 (speedbar-file-lists, speedbar-make-tag-line)
16119 (speedbar-line-directory, speedbar-goto-this-file)
16120 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16121 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16122 (speedbar-make-button, speedbar-reset-scanners)
16123 (speedbar-files-item-info, speedbar-line-text)
16124 (speedbar-find-file-in-frame, speedbar-set-timer)
16125 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16126 (speedbar-with-writable): Do not (re)define it.
16127 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16128 rather than speedbar- alias.
16130 2013-05-21 Leo Liu <sdl.web@gmail.com>
16132 * progmodes/octave.el (octave-mode-menu): Update and re-organize
16134 (octave-mode): Tweak fill-nobreak-predicate.
16135 (inferior-octave-startup): Check process to avoid infinite loop.
16136 (inferior-octave): Pop to buffer first to show abornmal process
16139 2013-05-21 Glenn Morris <rgm@gnu.org>
16141 * printing.el (pr-menu-bar): Define when compiling.
16143 2013-05-21 Leo Liu <sdl.web@gmail.com>
16145 * progmodes/octave.el (octave-auto-fill): Remove.
16146 (octave-indent-new-comment-line): Improve.
16147 (octave-mode): Use auto fill mode through
16148 comment-line-break-function and fill-nobreak-predicate.
16149 (octave-goto-function-definition): Support DEFUN_DLD.
16150 (octave-beginning-of-defun): Small tweak.
16151 (octave-help): Show parent directory.
16153 2013-05-21 Glenn Morris <rgm@gnu.org>
16155 * files.el (dired-unmark):
16156 * progmodes/gud.el (gdb-input): Update declarations.
16158 * calculator.el (electric, ehelp): No need to load when compiling.
16159 (Electric-command-loop, electric-describe-mode): Declare.
16161 * doc-view.el (doc-view-current-converter-processes): Move before use.
16163 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16164 Move MODE-set-explicitly definition before use.
16166 * international/mule-diag.el (mule-diag):
16167 Don't use obsolete window-system-version.
16169 * mail/feedmail.el (smtpmail): No need to load when compiling.
16170 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16172 * mail/mail-utils.el (rfc822): No need to load when compiling.
16173 (rfc822-addresses): Autoload it.
16174 (mail-strip-quoted-names): Trivial simplification.
16176 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16177 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16179 * net/snmp-mode.el (tempo): Don't duplicate requires.
16181 * progmodes/prolog.el (info): No need to load when compiling.
16182 (comint): Require before shell requires it.
16183 (Info-goto-node): Autoload it.
16184 (Info-follow-nearest-node): Declare.
16185 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16187 * textmodes/artist.el (picture-mode-exit): Declare.
16189 * textmodes/reftex-parse.el (reftex-parse-from-file):
16190 Trivial rewrite so the compiler can parse it better.
16192 2013-05-20 Leo Liu <sdl.web@gmail.com>
16194 * progmodes/octave.el (octave-help-mode-map)
16195 (octave-help-mode-finish-hook): New variables.
16196 (octave-help-mode, octave-help-mode-finish): New functions.
16197 (octave-help): Use octave-help-mode.
16199 2013-05-20 Glenn Morris <rgm@gnu.org>
16201 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
16203 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
16205 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16206 start at point, so that expansion starting right after opening
16207 slash in a regexp is recognized.
16208 (ruby-syntax-before-regexp-re): New defvar, extracted from
16209 ruby-syntax-propertize-function. Since the value of this regexp
16210 is looked up at runtime now, we should be able to turn
16211 `ruby-syntax-methods-before-regexp' into a defcustom later.
16212 (ruby-syntax-propertize-function): Split regexp matching into two
16213 parts, for opening and closing slashes. That allows us to skip
16214 over string interpolations and support multiline regexps.
16215 Don't call `ruby-syntax-propertize-expansions', instead use another rule
16216 for them, which calls `ruby-syntax-propertize-expansion'.
16217 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16218 call to `ruby-syntax-propertize-function'.
16219 (ruby-syntax-propertize-expansion): Extracted from
16220 `ruby-syntax-propertize-expansions'. Handles one expansion.
16221 (ruby-syntax-propertize-percent-literal): Leave point right after
16222 the percent symbol, so that the expression expansion rule can
16223 propertize the contents.
16224 (ruby-syntax-propertize-heredoc): Leave point at bol following the
16226 (ruby-syntax-propertize-expansions): Remove.
16228 2013-05-18 Juri Linkov <juri@jurta.org>
16230 * man.el (Man-default-man-entry): Remove `-' from the end
16231 of the default value. (Bug#14400)
16233 2013-05-18 Glenn Morris <rgm@gnu.org>
16235 * comint.el (comint-password-prompt-regexp):
16236 Allow "password for XXX" where XXX contains colons (eg https://...).
16238 2013-05-18 Leo Liu <sdl.web@gmail.com>
16240 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16241 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
16242 (octave-source-directories): Don't check process.
16243 (octave-source-directories, octave-find-definition): Doc fix.
16245 2013-05-18 Glenn Morris <rgm@gnu.org>
16247 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16248 Remove backspace/delete bindings. (Bug#14392)
16250 * cus-dep.el (custom-make-dependencies): Sort the output.
16251 (custom-versions-load-alist): Convert comment to doc.
16253 2013-05-17 Leo Liu <sdl.web@gmail.com>
16255 * newcomment.el (comment-search-backward): Stricter in finding
16256 comment start. (Bug#14303)
16258 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16259 (octave-comment-start-skip): Properly anchored.
16261 2013-05-17 Leo Liu <sdl.web@gmail.com>
16263 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16264 Clean up when turned off. (Bug#14395)
16265 (smie--highlight-matching-block-overlay): No longer buffer-local.
16266 (smie-highlight-matching-block): Adjust.
16268 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
16270 Doc string fix for "nanoseconds" (Bug#14406).
16271 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16272 Fix doc string typo that had "nanoseconds" instead of "microseconds".
16274 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
16276 * calc/calc-units.el (math-extract-units): Preserve powers
16279 2013-05-17 Leo Liu <sdl.web@gmail.com>
16281 * subr.el (delete-consecutive-dups): New function.
16282 * ido.el (ido-set-matches-1): Use it.
16283 * progmodes/octave.el (inferior-octave-completion-table): Use it.
16284 * ido.el (ido-remove-consecutive-dups): Remove.
16286 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16288 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16289 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16290 regexp-opt's `words'.
16292 2013-05-16 Leo Liu <sdl.web@gmail.com>
16294 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16295 (smie--highlight-matching-block-overlay)
16296 (smie--highlight-matching-block-lastpos)
16297 (smie--highlight-matching-block-timer): New variables.
16298 (smie-highlight-matching-block): New function.
16299 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
16300 (smie-setup): Conditionally enable smie-blink-matching-open.
16302 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
16304 Sync with upstream verilog-mode r840.
16305 * progmodes/verilog-mode.el (verilog-mode-version)
16306 (verilog-mode-release-date): Update.
16307 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16308 (verilog-sig-tieoff): Fix string error on
16309 AUTORESET with colon define, bug594. Reported by Andrew Hou.
16310 (verilog-read-decls): Fix parameters confusing
16311 AUTOINST interfaces, bug565. Reported by Leith Johnson.
16313 2013-05-16 Eli Zaretskii <eliz@gnu.org>
16315 * subr.el (reveal-filename): New function.
16317 * loadup.el: Compute Emacs executable versions on MS-Windows,
16318 where executables have the .exe extension. Add a hard link
16319 emacs-XX.YY.ZZ.exe on MS-Windows.
16321 * Makefile.in (XARGS_LIMIT): New variable.
16322 (custom-deps, finder-data, autoloads)
16323 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16324 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16325 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16326 (compile-main): Limit xargs according to $(XARGS_LIMIT).
16328 2013-05-16 Leo Liu <sdl.web@gmail.com>
16330 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16331 (octave-mode-menu, octave-mode-map): Remove its uses.
16333 2013-05-16 Reto Zimmermann <reto@gnu.org>
16335 Sync with upstream vhdl mode v3.34.2.
16336 * progmodes/vhdl-mode.el: Use `push' throughout.
16337 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16338 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16339 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
16340 (vhdl-actual-generic-name): New option to derive actual generic name.
16341 (vhdl-port-paste-signals): Replace formal by actual generics.
16342 (vhdl-beautify): New name for old group vhdl-align. Update users.
16343 (vhdl-beautify-options): New option.
16344 (vhdl-last-input-event): New compat alias. Use throughout.
16345 (vhdl-goto-line): Replace user level function `goto-line'.
16346 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16347 vhdl-fix-statement-buffer.
16348 (vhdl-create-mode-menu): Add some entries.
16349 (vhdl-align-region-groups): Respect vhdl-beautify-options.
16350 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16351 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16352 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16353 to force statements on one line.
16354 (vhdl-remove-trailing-spaces-region):
16355 New, split from vhdl-remove-trailing-spaces.
16356 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16357 Respect vhdl-beautify-options.
16358 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16359 (vhdl-update-sensitivity-list): Not add with index if exists without.
16360 Not include array index with signal. Ignore keywords in comments.
16361 (vhdl-get-visible-signals): Regexp tweaks.
16362 (vhdl-template-component-inst): Handle empty library.
16363 (vhdl-template-type): Add template for 'enum' type.
16364 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16365 Use vhdl-replace-string.
16366 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16367 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16368 (vhdl-speedbar-initialize): Update for above name change.
16369 (vhdl-compose-wire-components): Fix in handling of constants.
16370 (vhdl-error-regexp-emacs-alist): New variable.
16371 (vhdl-error-regexp-add-emacs): New function;
16372 adds support for new compile.el (Emacs 22+)
16373 (vhdl-generate-makefile-1): Change target order for single lib. units.
16374 Allow use of absolute file names.
16376 2013-05-16 Leo Liu <sdl.web@gmail.com>
16378 * simple.el (prog-indent-sexp): Indent enclosing defun.
16380 2013-05-15 Glenn Morris <rgm@gnu.org>
16382 * cus-start.el (show-trailing-whitespace): Move to editing basics.
16383 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16384 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16385 (whitespace-highlight): Move to whitespace group.
16387 * comint.el (comint-source):
16388 * pcmpl-linux.el (pcmpl-linux):
16389 * shell.el (shell-faces):
16390 * eshell/esh-opt.el (eshell-opt):
16391 * international/ccl.el (ccl): Remove empty custom groups.
16393 * completion.el (dynamic-completion-mode):
16394 * jit-lock.el (jit-lock-debug-mode):
16395 * minibuffer.el (completion-in-region-mode):
16396 * type-break.el (type-break-mode-line-message-mode)
16397 (type-break-query-mode):
16398 * emulation/tpu-edt.el (tpu-edt-mode):
16399 * progmodes/subword.el (global-subword-mode, global-superword-mode):
16400 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16401 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16403 * term/xterm.el (xterm): Change parent group to terminals.
16405 * master.el (master): Remove empty custom group.
16406 (master-mode): Remove unused :group argument.
16407 * textmodes/refill.el (refill): Remove empty custom group.
16408 (refill-mode): Remove unused :group argument.
16410 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16412 * cus-dep.el: Provide a feature.
16413 (custom-make-dependencies): Ignore dotfiles (dir-locals).
16414 Don't mistakenly ignore files whose basenames match a basename
16415 from preloaded-file-list (eg cedet/ede/simple.el).
16416 Add a fallback method for getting :group.
16418 2013-05-15 Juri Linkov <juri@jurta.org>
16420 * isearch.el (isearch-char-by-name): Rename from
16421 `isearch-insert-char-by-name'. Doc fix.
16422 (isearch-forward): Mention `isearch-char-by-name' in
16423 the docstring. (Bug#13348)
16425 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16426 `exit-minibuffer' instead of
16427 `isearch-nonincremental-exit-minibuffer'.
16428 (isearch-edit-string): Remove mention of
16429 `isearch-nonincremental-exit-minibuffer' from docstring.
16430 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16431 (isearch-forward-exit-minibuffer)
16432 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
16434 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
16436 * loadup.el: Just use unversioned DOC.
16438 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16439 literals as extending to EOB.
16440 (nxml-last-fontify-end): Remove unused variable.
16441 (nxml-after-change1): Use with-silent-modifications.
16442 (nxml-extend-after-change-region): Simplify.
16443 (nxml-extend-after-change-region1): Remove function.
16444 (nxml-after-change1): Don't adjust for dependent regions.
16445 (nxml-fontify-matcher): Simplify.
16446 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16447 (xmltok-add-dependent): Remove function.
16448 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16449 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16450 (xmltok-scan-prolog-after-processing-instruction-open): Treat
16451 unclosed <[[, <?, comment, and other literals as extending to EOB.
16452 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16453 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16455 (rng-do-some-validation-1): Don't mark dependent regions.
16456 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16457 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16458 (nxml-clear-dependent-regions): Remove functions.
16459 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16460 (nxml-ensure-scan-up-to-date):
16461 Don't clear&mark dependent regions.
16463 2013-05-15 Leo Liu <sdl.web@gmail.com>
16465 * progmodes/octave.el (octave-goto-function-definition):
16466 Improve and fix callers.
16468 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
16470 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16471 the setter (bug#14387).
16473 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16474 surrounding group (bug#14402).
16476 2013-05-14 Juri Linkov <juri@jurta.org>
16478 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16481 2013-05-14 Glenn Morris <rgm@gnu.org>
16483 * progmodes/f90.el (f90-imenu-generic-expression):
16484 Fix typo in 2013-05-08 change. (Bug#14402)
16486 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16488 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16489 Remove signals for which replies are never received.
16491 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16493 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16494 (gdb-handler-alist, gdb-handler-number): Remove variables.
16495 (gdb-handler-list): New variable.
16496 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16497 (gdb-pending-handler-p, gdb-handle-reply)
16498 (gdb-remove-all-pending-triggers): New functions.
16499 (gdb-discard-unordered-replies): New defcustom.
16500 (gdb-handler): New defstruct.
16501 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
16502 instead of gdb-pending-triggers. Update docstring.
16503 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
16504 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16505 (gdb-var-update-handler, def-gdb-auto-update-trigger)
16506 (def-gdb-auto-update-handler, gdb-get-changed-registers)
16507 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16508 (gdb-frame-handler): Pending triggers are now automatically managed.
16509 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16511 (gdb-input): Automatically handles pending triggers. Update docstring.
16512 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16513 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16515 (gdb-done-or-error): Now use gdb-handle-reply.
16517 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16519 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16522 2013-05-14 Glenn Morris <rgm@gnu.org>
16524 * subr.el (user-emacs-directory-warning): New option.
16525 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
16527 2013-05-14 Leo Liu <sdl.web@gmail.com>
16529 * progmodes/octave.el (octave-font-lock-keywords): Fix error
16531 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16532 (octave-font-lock-texinfo-comment): Fix invalid search bound
16533 error: wrong side of point.
16535 2013-05-14 Glenn Morris <rgm@gnu.org>
16537 * progmodes/flymake.el (flymake-xml-program): New option.
16538 (flymake-xml-init): Use it.
16540 * term/xterm.el: Provide a feature.
16542 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
16544 2013-05-13 Glenn Morris <rgm@gnu.org>
16546 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16547 Add compat aliases as a hack workaround. (Bug#14384)
16549 2013-05-13 Leo Liu <sdl.web@gmail.com>
16551 * progmodes/octave.el (octave-indent-comment): Fix indentation for
16553 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16555 (octave-comment-start-skip): Include %!.
16556 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16558 2013-05-12 Leo Liu <sdl.web@gmail.com>
16560 * progmodes/octave.el (inferior-octave-startup): Store the value
16561 of __octave_srcdir__ for octave-source-directories.
16562 (inferior-octave-check-process): New function refactored out of
16563 inferior-octave-send-list-and-digest.
16564 (octave-source-directories)
16565 (octave-find-definition-filename-function): New variables.
16566 (octave-source-directories)
16567 (octave-find-definition-default-filename): New functions.
16568 (octave-find-definition): Improve to find functions implemented in C++.
16570 2013-05-12 Glenn Morris <rgm@gnu.org>
16572 * calendar/diary-lib.el (diary-outlook-format-1):
16573 Don't include dayname in the output. (Bug#14349)
16575 2013-05-11 Glenn Morris <rgm@gnu.org>
16577 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16579 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16580 Treat cc-provide like provide.
16582 2013-05-11 Kevin Ryde <user42@zip.com.au>
16584 * cus-dep.el (custom-make-dependencies):
16585 Use generated-autoload-load-name for the sake of files such
16586 such cedet/semantic/bovine/c.el, where the base file name
16587 is not in load-path. (Bug#5277)
16589 2013-05-11 Glenn Morris <rgm@gnu.org>
16591 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16594 2013-05-11 Leo Liu <sdl.web@gmail.com>
16596 * progmodes/octave.el (octave-indent-comment): Improve.
16597 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16598 (octave-eldoc-function-signatures, octave-eldoc-function):
16600 (octave-mode, inferior-octave-mode): Add eldoc support.
16602 2013-05-11 Richard Stallman <rms@gnu.org>
16604 * epa.el (epa-decrypt-file): Take output file name as argument
16605 and read it using `interactive'.
16607 2013-05-11 Leo Liu <sdl.web@gmail.com>
16609 * progmodes/octave.el (octave-beginning-of-line)
16610 (octave-end-of-line): Check before using up-list because it jumps
16611 out of more syntactic contructs since moving to smie.
16612 (octave-indent-comment): New function.
16613 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
16614 (octave-begin-keywords, octave-end-keywords)
16615 (octave-reserved-words, octave-smie-bnf-table)
16616 (octave-smie-rules): Add new keywords from Octave 3.6.4.
16618 2013-05-11 Glenn Morris <rgm@gnu.org>
16620 * faces.el (internal-face-x-get-resource):
16621 * frame.el (ns-display-monitor-attributes-list):
16622 * calc/calc-aent.el (math-to-radians-2):
16623 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16626 * calc/calc-menu.el: Make it loadable in isolation.
16628 * net/eudcb-bbdb.el: Make it loadable without bbdb.
16629 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16630 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16631 (eudc-bbdb-query-internal): Require 'bbdb.
16633 * lpr.el (lpr-headers-switches):
16634 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16636 * progmodes/sql.el (sql-login-params): Fix and improve :type.
16638 * emulation/edt-mapper.el: In batch mode, error rather than hang.
16640 * term.el (term-set-escape-char): Make it idempotent.
16642 2013-05-10 Leo Liu <sdl.web@gmail.com>
16644 * progmodes/octave.el (inferior-octave-completion-table):
16645 No longer a function and all uses changed. Use cache to speed up
16646 completion due to bug#11906.
16647 (octave-beginning-of-defun): Re-write to be more general.
16649 2013-05-10 Glenn Morris <rgm@gnu.org>
16651 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16653 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
16655 * comint.el (comint-redirect-send-command-to-process): Use :around
16656 rather than :override for comint-redirect-filter.
16657 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16658 Call it instead of comint-redirect-original-filter-function (which
16659 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
16661 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
16663 * frame.el (display-monitor-attributes-list): Add NS case.
16664 (ns-display-monitor-attributes-list): Declare.
16666 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
16668 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
16670 2013-05-09 Glenn Morris <rgm@gnu.org>
16672 * international/fontset.el (vertical-centering-font-regexp):
16673 Set standard-value.
16675 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16677 * bookmark.el (bookmark-search-delay):
16678 * cus-start.el (vertical-centering-font-regexp):
16679 * ps-mule.el (ps-mule-font-info-database-default):
16680 * ps-print.el (ps-default-fg, ps-default-bg):
16681 * type-break.el (type-break-good-break-interval):
16682 * whitespace.el (whitespace-indentation-regexp)
16683 (whitespace-space-after-tab-regexp):
16684 * emacs-lisp/testcover.el (testcover-1value-functions)
16685 (testcover-noreturn-functions, testcover-progn-functions)
16686 (testcover-prog1-functions):
16687 * emulation/viper-init.el (viper-emacs-state-cursor-color):
16688 * eshell/em-glob.el (eshell-glob-translate-alist):
16689 * play/tetris.el (tetris-tty-colors):
16690 * progmodes/cpp.el (cpp-face-default-list):
16691 * progmodes/flymake.el (flymake-allowed-file-name-masks):
16692 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16693 (idlwave-help-browser-generic-args):
16694 * progmodes/make-mode.el (makefile-special-targets-list):
16695 * progmodes/python.el (python-shell-virtualenv-path):
16696 * progmodes/verilog-mode.el (verilog-active-low-regexp)
16697 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16698 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16699 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16700 * textmodes/reftex-vars.el (reftex-format-label-function):
16701 * textmodes/remember.el (remember-diary-file): Fix custom types.
16703 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16706 2013-05-09 Leo Liu <sdl.web@gmail.com>
16708 * progmodes/octave.el (inferior-octave-completion-at-point):
16709 Restore file completion. (Bug#14300)
16710 (inferior-octave-startup): Fix incorrect highlighting for the
16713 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16715 * progmodes/ruby-mode.el: First cut at SMIE support.
16716 (ruby-use-smie): New var.
16717 (ruby-smie-grammar): New constant.
16718 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16719 (ruby-smie--forward-token, ruby-smie--backward-token)
16720 (ruby-smie-rules): New functions.
16721 (ruby-mode-variables): Setup SMIE if applicable.
16723 2013-05-08 Eli Zaretskii <eliz@gnu.org>
16725 * simple.el (line-move-visual): Signal beginning/end of buffer
16726 only if vertical-motion moved less than it was requested. Avoids
16727 silly incorrect error messages when there are display strings with
16728 multiple newlines at EOL.
16730 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16732 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16733 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16734 (prolog-char-quote-workaround):
16735 * progmodes/cperl-mode.el (cperl-under-as-char):
16736 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16738 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16740 (vhdl-mode-syntax-table-init): Remove.
16742 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16745 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16747 (ld-script-font-lock-keywords):
16748 Change regexps to use things like \_< and \_>.
16750 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16751 Change all regexps to use things like \_< and \_>.
16753 * progmodes/autoconf.el (autoconf-definition-regexp)
16754 (autoconf-font-lock-keywords, autoconf-current-defun-function):
16755 Handle a _ with symbol syntax.
16756 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16758 * progmodes/ada-mode.el (ada-mode-abbrev-table):
16759 Consolidate declaration.
16760 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16762 (ada-create-syntax-table): Remove.
16763 (ada-capitalize-word): Don't mess with the syntax of "_" since it
16764 already has the right syntax nowadays.
16765 (ada-goto-next-word): Don't change the syntax of "_".
16767 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16770 2013-05-08 Sam Steingold <sds@gnu.org>
16772 * thingatpt.el (thing-at-point): Accept optional second argument
16773 NO-PROPERTIES to strip the text properties from the return value.
16774 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16775 to `thing-at-point' instead of stripping the properties ourselves.
16776 Also, when `thing-at-point' fails to find a url, prepend "http://"
16777 to the filename at point on the assumption that the user is
16778 pointing at something like gnu.org/gnu.
16780 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
16782 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16783 * faces.el (crm-separator):
16784 Silence byte-compiler.
16786 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16787 (tool-bar-map): Remove unneeded defvars.
16789 2013-05-08 Leo Liu <sdl.web@gmail.com>
16791 Re-work a fix for bug#10994 based on Le Wang's patch.
16792 * ido.el (ido-remove-consecutive-dups): New helper.
16793 (ido-completing-read): Use it.
16794 (ido-chop): Revert fix for bug#10994.
16796 2013-05-08 Adam Spiers <emacs@adamspiers.org>
16798 * cus-edit.el (custom-save-variables):
16799 Pretty-print long values. (Bug#14187)
16801 2013-05-08 Glenn Morris <rgm@gnu.org>
16803 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16804 (m4-mode-syntax-table): Init in the defvar.
16805 (m4-mode-abbrev-table): Let define-derived-mode define it.
16807 2013-05-08 Tom Tromey <tromey@redhat.com>
16809 * progmodes/m4-mode.el (m4-mode-syntax-table):
16810 Do not treat "_" as word constituent. (Bug#14167)
16812 2013-05-07 Glenn Morris <rgm@gnu.org>
16814 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16815 Remove explicit eshell-isearch-cancel-map.
16817 * progmodes/f90.el (f90-smart-end-names): New option.
16818 (f90-smart-end): Doc fix.
16819 (f90-end-block-optional-name): New constant.
16820 (f90-block-match): Respect f90-smart-end-names.
16822 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16824 * progmodes/octave.el (octave-smie-forward-token): Be more careful
16825 about implicit semi-colons (bug#14218).
16827 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16829 * frame.el (display-monitor-attributes-list)
16830 (frame-monitor-attributes): New functions.
16832 2013-05-06 Leo Liu <sdl.web@gmail.com>
16834 * progmodes/octave.el (octave-syntax-propertize-function): Change
16835 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
16836 (octave-font-lock-keywords): Use octave-operator-regexp.
16837 (octave-completion-at-point): Rename from
16838 octave-completion-at-point-function.
16839 (inferior-octave-directory-tracker): Robustify.
16840 (octave-text-functions): Remove and fix its uses. No such things
16843 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16845 * emacs-lisp/trace.el (trace--display-buffer): New function.
16846 (trace-make-advice): Use it.
16848 2013-05-06 Juri Linkov <juri@jurta.org>
16850 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
16851 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16853 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16854 in the help string. (Bug#12985)
16856 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
16858 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
16860 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16862 * progmodes/perl-mode.el: Add support for here documents.
16863 (perl-syntax-propertize-function): Match here-doc markers.
16864 (perl-syntax-propertize-special-constructs): Find their end.
16865 (perl-imenu-generic-expression): Use [:alnum:].
16867 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16868 (advice--add-function): Refresh the advice if already present
16871 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
16873 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
16875 2013-05-06 Glenn Morris <rgm@gnu.org>
16877 * w32-fns.el (w32-charset-info-alist): Declare.
16879 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16880 of its defcustom properties.
16881 (eshell-cmpl-initialize): No need to load pcomplete.
16883 * generic-x.el: No need to require comint when compiling.
16885 * net/eudc-export.el: Make it loadable without bbdb.
16886 (top-level): Use require rather than load-library.
16887 (eudc-create-bbdb-record, eudc-bbdbify-phone)
16888 (eudc-batch-export-records-to-bbdb)
16889 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16892 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16894 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16895 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16896 some tweaks, instead.
16898 2013-05-05 Leo Liu <sdl.web@gmail.com>
16900 * progmodes/octave.el (octave-font-lock-keywords)
16901 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16902 (inferior-octave-send-list-and-digest): Improve error message.
16903 (octave-mode, inferior-octave-mode): Use setq-local.
16904 (octave-help): Set info-lookup-mode.
16906 2013-05-05 Richard Stallman <rms@gnu.org>
16908 * vc/compare-w.el (compare-windows-whitespace):
16909 Treat no-break space as whitespace.
16911 * mail/rmailsum.el (rmail-summary-rmail-update):
16912 Detect empty summary and don't change selected message.
16913 (rmail-summary-goto-msg): Likewise.
16915 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16916 Doc fixes, rename args.
16918 2013-05-05 Alan Mackenzie <acm@muc.de>
16920 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16922 2013-05-05 Juri Linkov <juri@jurta.org>
16924 * info.el (Info-read-subfile): Use (point-min) instead of (point)
16925 to not add the length of the summary segment to the return value.
16928 2013-05-05 Leo Liu <sdl.web@gmail.com>
16930 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16931 (inferior-octave-output-filter): Remove.
16932 (octave-send-region, inferior-octave-startup): Fix callers.
16933 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16934 (octave-binary-file-extensions): New user variable.
16935 (octave-find-definition): Confirm if opening binary files.
16936 (octave-help-file): Use octave-find-definition to get the binary
16938 (octave-help): Adjust for octave-help-file change.
16940 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16942 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
16943 Merge the two entries that handle function definitions.
16944 (pascal--syntax-propertize): New const.
16945 (pascal-mode): Use it. Use setq-local.
16947 2013-05-04 Glenn Morris <rgm@gnu.org>
16949 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
16950 (diary-from-outlook): Respect diary-from-outlook-function.
16952 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16954 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
16955 Move the declaration from C.
16956 (read-minibuffer, eval-minibuffer): Move from C.
16957 (completion-setup-function): Avoid minibuffer-completion-contents.
16959 2013-05-03 Leo Liu <sdl.web@gmail.com>
16961 * progmodes/octave.el (octave-font-lock-keywords): Do not
16962 dehighlight 'end' in comments or strings.
16963 (octave-completing-read, octave-goto-function-definition):
16965 (octave-help-buffer): New user variable.
16966 (octave-help-file, octave-help-function): New button types.
16967 (octave-help): New command and bind it to C-h ;.
16968 (octave-find-definition): New command and bind it to M-.
16969 (user-error): Alias to error if not defined.
16971 2013-05-02 Leo Liu <sdl.web@gmail.com>
16973 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
16975 (octave-font-lock-keywords): Include [ and {.
16977 2013-05-02 Leo Liu <sdl.web@gmail.com>
16979 * progmodes/octave.el (inferior-octave-startup-file): Change default.
16980 (inferior-octave): Remove calling comint-mode and return the buffer.
16981 (inferior-octave-startup): Cosmetic changes.
16983 2013-05-02 Leo Liu <sdl.web@gmail.com>
16985 * progmodes/octave.el (octave-syntax-propertize-function):
16986 Include the case when ' is at line beginning. (Bug#14336)
16988 2013-05-02 Glenn Morris <rgm@gnu.org>
16990 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
16991 * desktop.el (vc-dir-mode): Just autoload it here.
16993 2013-05-02 Alan Mackenzie <acm@muc.de>
16995 Eliminate variable c-standard-font-lock-fontify-region-function.
16996 * progmodes/cc-mode.el
16997 (c-standard-font-lock-fontify-region-function): Remove.
16998 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17000 2013-05-01 Leo Liu <sdl.web@gmail.com>
17002 * progmodes/octave.el: Compatible with older emacs-24 releases.
17003 (inferior-octave-has-built-in-variables): Remove. Built-in
17004 variables were removed from Octave in 2007.
17005 (inferior-octave-startup): Fix uses.
17006 (comint-line-beginning-position): Remove compatibility code for
17009 2013-05-01 Juri Linkov <juri@jurta.org>
17011 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17013 2013-05-01 Juri Linkov <juri@jurta.org>
17015 * comint.el (comint-previous-matching-input): Don't print message
17016 "History item: %d" when `isearch-mode' is active.
17017 (comint-history-isearch-message): Print message "History item: %d"
17018 when `comint-input-ring-index' is not empty and this function is
17019 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17021 2013-05-01 Leo Liu <sdl.web@gmail.com>
17023 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17024 definitions. Use completion-at-point to insert keywords.
17025 (octave-abbrev-start): Remove.
17026 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17028 2013-04-30 Leo Liu <sdl.web@gmail.com>
17030 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17033 2013-04-30 Alan Mackenzie <acm@muc.de>
17035 Handle arbitrarily long C++ member initialisation lists.
17036 * progmodes/cc-engine.el (c-back-over-member-initializers):
17038 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17039 (most) member init lists.
17041 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17043 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17046 2013-04-30 Leo Liu <sdl.web@gmail.com>
17048 * progmodes/octave.el (octave-variables): Remove. No builtin
17049 variables any more. All converted to functions.
17050 (octave-font-lock-keywords, octave-completion-at-point-function):
17052 (octave-font-lock-texinfo-comment): New user variable.
17053 (octave-texinfo-font-lock-keywords): New variable for texinfo
17055 (octave-function-comment-block): New face.
17056 (octave-font-lock-texinfo-comment): New function.
17057 (octave-mode): Font lock texinfo comment block.
17059 2013-04-29 Leo Liu <sdl.web@gmail.com>
17061 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17062 indexing expression.
17063 (octave-continuation-string): Do not use \.
17064 (inferior-octave-complete-impossible): Remove.
17065 (inferior-octave-completion-table)
17066 (inferior-octave-completion-at-point): Remove its uses.
17067 (inferior-octave-startup): completion_matches was introduced to
17068 Octave in 1996 so safe to assume it.
17069 (octave-function-file-comment): Improve to follow how Octave does it.
17070 (octave-update-function-file-comment): Tweak.
17072 2013-04-29 Leo Liu <sdl.web@gmail.com>
17074 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17075 (inferior-octave-startup): Remove inferior-octave-startup-hook.
17076 (octave-function-file-comment): Fix typo.
17077 (octave-sync-function-file-names): Use read-char-choice.
17079 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
17081 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17082 to t for the less important warnings.
17084 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
17086 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
17088 2013-04-27 Glenn Morris <rgm@gnu.org>
17090 * vc/log-view.el (log-view-current-entry):
17091 Treat "---" separator lines as part of the following rev. (Bug#14169)
17093 2013-04-27 Juri Linkov <juri@jurta.org>
17095 * subr.el (read-number): Doc fix about using it by interactive
17096 code letter `n'. (Bug#14254)
17098 2013-04-27 Juri Linkov <juri@jurta.org>
17100 * desktop.el (desktop-auto-save-timeout): New option.
17101 (desktop-file-checksum): New variable.
17102 (desktop-save): Add optional arg `auto-save' and don't auto-save
17103 if nothing changed.
17104 (desktop-auto-save-timer): New variable.
17105 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17106 (after-init-hook): Call `desktop-auto-save-set-timer'.
17107 Suggested by Reuben Thomas <rrt@sc3d.org> in
17108 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17110 2013-04-27 Leo Liu <sdl.web@gmail.com>
17112 * progmodes/octave.el (octave-function-file-p)
17113 (octave-skip-comment-forward, octave-function-file-comment)
17114 (octave-update-function-file-comment): New functions.
17115 (octave-mode-map): Bind C-c ; to
17116 octave-update-function-file-comment.
17117 (octave-mode-menu): Add octave-update-function-file-comment.
17118 (octave-mode, inferior-octave-mode): Fix doc-string.
17119 (octave-insert-defun): Conform to Octave's coding convention.
17122 * files.el (basic-save-buffer): Don't let errors in
17123 before-save-hook prevent saving buffer.
17125 2013-04-20 Roland Winkler <winkler@gnu.org>
17127 * faces.el (read-face-name): Use completing-read if arg multiple
17130 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
17132 * ls-lisp.el (ls-lisp-insert-directory): If no files are
17133 displayed, move point to after the totals line.
17134 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17137 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
17139 * emacs-lisp/package.el (package-autoload-ensure-default-file):
17140 Add current dir to the load-path.
17141 (package-generate-autoloads): Don't rely on
17142 autoload-ensure-default-file.
17144 2013-04-26 Reuben Thomas <rrt@sc3d.org>
17146 * textmodes/remember.el (remember-store-in-files): Document that
17147 the file name format is passed to `format-time-string'.
17149 2013-04-26 Leo Liu <sdl.web@gmail.com>
17151 * progmodes/octave.el (octave-sync-function-file-names): New function.
17152 (octave-mode): Use it in before-save-hook.
17154 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
17156 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17159 * progmodes/octave.el (octave-smie-forward-token): Properly skip
17160 \n and comment, even if it's not an implicit ; (bug#14218).
17162 2013-04-26 Glenn Morris <rgm@gnu.org>
17164 * subr.el (read-number): Once more use `read' rather than
17165 `string-to-number', to trap non-numeric input. (Bug#14254)
17167 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
17169 * emacs-lisp/syntax.el (syntax-propertize-multiline):
17170 Use `syntax-multiline' text property consistently instead of
17171 `font-lock-multiline'. (Bug#14237)
17173 2013-04-26 Glenn Morris <rgm@gnu.org>
17175 * emacs-lisp/shadow.el (list-load-path-shadows):
17176 No longer necessary to check for duplicate simple.el, since
17177 2012-07-07 change to init_lread to not include installation lisp
17178 directories in load-path when running uninstalled. (Bug#14270)
17180 2013-04-26 Leo Liu <sdl.web@gmail.com>
17182 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17183 (octave-mode, inferior-octave-mode): Use setq-local.
17184 (octave-not-in-string-or-comment-p): Rename to
17185 octave-in-string-or-comment-p.
17186 (octave-in-comment-p, octave-in-string-p)
17187 (octave-in-string-or-comment-p): Replace defsubst with defun.
17189 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
17191 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17193 2013-04-25 Bastien Guerry <bzg@gnu.org>
17195 * textmodes/remember.el (remember-data-directory)
17196 (remember-directory-file-name-format): Fix custom types.
17198 2013-04-25 Leo Liu <sdl.web@gmail.com>
17200 * progmodes/octave.el (octave-completion-at-point-function):
17201 Make use of inferior octave process.
17202 (octave-initialize-completions): Remove.
17203 (inferior-octave-completion-table): New function.
17204 (inferior-octave-completion-at-point): Use it.
17205 (octave-completion-alist): Remove.
17207 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17209 * progmodes/opascal.el: Use font-lock and syntax-propertize.
17210 (opascal-mode-syntax-table): New var.
17211 (opascal-literal-kind, opascal-is-literal-end)
17212 (opascal-literal-token-at): Rewrite.
17213 (opascal--literal-start-re, opascal-font-lock-keywords)
17214 (opascal--syntax-propertize): New constants.
17215 (opascal-font-lock-defaults): Adjust.
17216 (opascal-mode): Use them. Set comment-<foo> variables as well.
17217 (delphi-comment-face, opascal-comment-face, delphi-string-face)
17218 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17219 (delphi-other-face, opascal-other-face): Remove face variables.
17220 (opascal-save-state): Remove macro.
17221 (opascal-fontifying-progress-step): Remove constant.
17222 (opascal--ignore-changes): Remove var.
17223 (opascal-set-token-property, opascal-parse-next-literal)
17224 (opascal-is-stable-literal, opascal-complete-literal)
17225 (opascal-is-literal-start, opascal-face-of)
17226 (opascal-parse-region, opascal-parse-region-until-stable)
17227 (opascal-fontify-region, opascal-after-change)
17228 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17229 (opascal-debug-parse-region, opascal-debug-parse-window)
17230 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17231 (opascal-debug-fontify-buffer): Remove.
17232 (opascal-debug-mode-map): Adjust accordingly.
17234 2013-04-25 Leo Liu <sdl.web@gmail.com>
17236 Merge octave-mod.el and octave-inf.el into octave.el with some
17238 * progmodes/octave.el: New file renamed from octave-mod.el.
17239 * progmodes/octave-inf.el: Merged into octave.el.
17240 * progmodes/octave-mod.el: Renamed to octave.el.
17242 2013-04-25 Tassilo Horn <tsdh@gnu.org>
17244 * textmodes/reftex-vars.el
17245 (reftex-label-ignored-macros-and-environments): New defcustom.
17247 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17249 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17251 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17252 (smie-indent-keyword): Improve the check to ensure that the next
17253 comment is really on the same line.
17254 (smie-indent-comment): Don't align with a subsequent closer (or eob).
17256 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17257 semi-colons if the line is not otherwise empty (bug#14218).
17259 2013-04-25 Glenn Morris <rgm@gnu.org>
17261 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17263 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
17265 * progmodes/opascal.el (opascal-set-token-property): Rename from
17266 opascal-set-text-properties and only set `token' (bug#14134).
17267 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17268 (opascal-literal-text-properties): Remove.
17269 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17272 2013-04-24 Reuben Thomas <rrt@sc3d.org>
17274 * textmodes/remember.el (remember-handler-functions): Add an
17275 option for a new handler `remember-store-in-files'.
17276 (remember-data-directory, remember-directory-file-name-format):
17278 (remember-store-in-files): New function to store remember notes
17279 as separate files within a directory.
17281 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
17283 * progmodes/compile.el (compilation-next-error-function):
17284 Pass "formats" to compilation-find-file (bug#11777).
17286 2013-04-24 Glenn Morris <rgm@gnu.org>
17288 * vc/vc-bzr.el (vc-bzr-print-log):
17289 * vc/vc-hg.el (vc-hg-print-log):
17290 * vc/vc-svn.el (vc-svn-print-log):
17291 Fix START-REVISION with LIMIT != 1. (Bug#14168)
17293 * vc/vc-bzr.el (vc-bzr-print-log):
17294 * vc/vc-cvs.el (vc-cvs-print-log):
17295 * vc/vc-git.el (vc-git-print-log):
17296 * vc/vc-hg.el (vc-hg-print-log):
17297 * vc/vc-mtn.el (vc-mtn-print-log):
17298 * vc/vc-rcs.el (vc-rcs-print-log):
17299 * vc/vc-sccs.el (vc-sccs-print-log):
17300 * vc/vc-svn.el (vc-svn-print-log):
17301 * vc/vc.el (vc-print-log-internal): Doc fixes.
17303 2013-04-23 Glenn Morris <rgm@gnu.org>
17305 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17306 Remove venerable code attempting to avoid substitute-command-keys.
17308 2013-04-23 Tassilo Horn <tsdh@gnu.org>
17310 * textmodes/reftex-vars.el (reftex-label-regexps):
17311 Call `reftex-compile-variables' after changes to this variable.
17313 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
17315 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17316 Use lexical-binding.
17317 (jit-lock-force-redisplay): Use markers, check buffer's continued
17318 existence and beware narrowed buffers.
17319 (jit-lock-fontify-now): Adjust call accordingly.
17321 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
17323 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17324 to avoid misleading the user.
17326 2013-04-22 Leo Liu <sdl.web@gmail.com>
17328 * info-look.el: Prefer latex2e.info. (Bug#14240)
17330 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
17332 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
17334 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17335 * net/tramp.el (tramp-call-process): ... here.
17336 (tramp-set-completion-function, tramp-parse-putty):
17337 * net/tramp-adb.el (tramp-adb-execute-adb-command):
17338 * net/tramp-gvfs.el (tramp-gvfs-send-command):
17339 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17340 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17341 (tramp-call-local-coding-command): Use `tramp-call-process'
17342 instead of `tramp-compat-call-process'.
17344 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17345 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17346 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17347 (tramp-find-inline-compress): Improve traces.
17348 (tramp-maybe-send-script): Check for Perl binary.
17349 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17351 2013-04-22 Daiki Ueno <ueno@gnu.org>
17353 * epg.el (epg-context-pinentry-mode): New function.
17354 (epg-context-set-pinentry-mode): New function.
17355 (epg--start): Pass --pinentry-mode option to gpg command.
17357 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
17359 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17360 `comint-dynamic-complete' is obsolete since 24.1, replaced by
17361 `completion-at-point'. (Bug#13774)
17363 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17364 default key binding for `describe-distribution' has been moved to
17365 `C-h C-o'. (Bug#13970)
17367 2013-04-21 Glenn Morris <rgm@gnu.org>
17369 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17371 (vc-print-log): Clarify interactive prompt.
17373 2013-04-20 Glenn Morris <rgm@gnu.org>
17375 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17376 No longer include timestamp etc information.
17378 2013-04-20 Roland Winkler <winkler@gnu.org>
17380 * faces.el (read-face-name): Bug fix, return just one face if arg
17381 multiple is nil. (Bug#14209)
17383 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17385 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17386 (remove-function): Autoload.
17388 * comint.el (comint-redirect-original-filter-function): Remove.
17389 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17390 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17391 (vc-cvs-annotate-command):
17392 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17393 * progmodes/prolog.el (prolog-consult-compile):
17394 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17395 Use add/remove-function instead.
17396 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17397 (gud-tooltip-process-output, gud-tooltip-tips):
17398 Use add/remove-function instead.
17399 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17400 (scheme-interaction-mode, exit-scheme-interaction-mode):
17401 Use add/remove-function instead.
17403 * vc/vc-dispatcher.el: Use lexical-binding.
17404 (vc--process-sentinel): Rename from vc-process-sentinel.
17405 Change last arg to be the code to run. Don't use vc-previous-sentinel
17406 and vc-sentinel-commands any more.
17407 (vc-exec-after): Allow code to be a function. Use add/remove-function.
17408 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17410 2013-04-19 Masatake YAMATO <yamato@redhat.com>
17412 * progmodes/sh-script.el (sh-imenu-generic-expression):
17413 Handle function names with a single character. (Bug#14111)
17415 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
17417 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17418 for subroutines defined in an eval (bug#14182).
17420 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17422 * bookmark.el (bookmark-completing-read): Improve handling of empty
17423 string (bug#14176).
17425 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17427 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17429 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
17431 New faster Imenu implementation (bug#14058).
17432 * progmodes/python.el (python-imenu-prev-index-position)
17433 (python-imenu-format-item-label-function)
17434 (python-imenu-format-parent-item-label-function)
17435 (python-imenu-format-parent-item-jump-label-function):
17437 (python-imenu-format-item-label)
17438 (python-imenu-format-parent-item-label)
17439 (python-imenu-format-parent-item-jump-label)
17440 (python-imenu--put-parent, python-imenu--build-tree)
17441 (python-imenu-create-index, python-imenu-create-flat-index)
17442 (python-util-popn): New functions.
17443 (python-mode): Set imenu-create-index-function to
17444 python-imenu-create-index.
17446 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
17448 * winner.el (winner-active-region): Use region-active-p, activate-mark
17449 and deactivate-mark (bug#14225).
17451 * simple.el (deactivate-mark): Don't inline it.
17453 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
17455 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17457 2013-04-18 Tassilo Horn <tsdh@gnu.org>
17459 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17460 file extensions from the archive-mode entry in order to prefer
17461 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17463 2013-04-18 Leo Liu <sdl.web@gmail.com>
17465 * bindings.el (help-event-list): Add ?\?.
17467 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
17469 * subr.el (with-wrapper-hook): Declare obsolete.
17470 * simple.el (filter-buffer-substring-function): New hook.
17471 (filter-buffer-substring): Use it.
17472 (filter-buffer-substring-functions): Mark obsolete.
17473 * minibuffer.el (completion-in-region-function): New hook.
17474 (completion-in-region): Use it.
17475 (completion-in-region-functions): Mark obsolete.
17476 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17477 * abbrev.el (abbrev-expand-function): New hook.
17478 (expand-abbrev): Use it.
17479 (abbrev-expand-functions): Mark obsolete.
17480 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17481 and :filter-return.
17483 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17485 * progmodes/python.el (python-nav--syntactically): Fix cornercases
17486 and do not care about match data.
17488 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
17490 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17491 completion tables when completing error conditions and
17492 `declare' arguments.
17493 (lisp-complete-symbol, field-complete): Mark as obsolete.
17494 (check-parens): Unmatched parens are user errors.
17495 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17497 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
17499 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17500 command changed buffer (ie. `flyspell-pre-buffer' is not current
17501 buffer), which prevents making decisions based on invalid value of
17502 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
17503 cause an error when `flyspell-pre-point' was nil after switching
17505 (flyspell-post-command-hook): No longer needs to change buffers when
17506 checking pre-word. While at it remove unnecessary progn.
17508 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
17510 * textmodes/ispell.el (ispell-add-per-file-word-list):
17511 Fix `flyspell-correct-word-before-point' error when accepting
17512 words and `coment-padding' is an integer by using
17513 `comment-normalize-vars' (Bug #14214).
17515 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17517 New defun movement commands.
17518 * progmodes/python.el (python-nav--syntactically)
17519 (python-nav--forward-defun, python-nav-backward-defun)
17520 (python-nav-forward-defun): New functions.
17522 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17524 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17525 (python-syntax-context): Use named compiler-macro for backwards
17526 compatibility with Emacs 24.x.
17528 2013-04-17 Leo Liu <sdl.web@gmail.com>
17530 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17531 octave-hide-process-buffer.
17533 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
17535 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17538 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
17540 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17541 Fix adjustment of offset when receiving incomplete responses from GDB
17544 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
17546 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17547 python-mode-abbrev-table.
17548 (python-skeleton-define): Adjust accordingly.
17549 (python-mode-abbrev-table): New table that inherits from it so that
17550 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17552 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17553 (abbrev-symbol): Use it.
17554 (abbrev--before-point): Use it since we already handle inheritance.
17556 2013-04-16 Leo Liu <sdl.web@gmail.com>
17558 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17559 binding to info-lookup-symbol.
17561 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
17563 * minibuffer.el (completion--twq-all):
17564 * term/ns-win.el (ns-initialize-window-system):
17565 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17567 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
17569 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17572 * doc-view.el (doc-view-start-process): Handle url-handler directories.
17574 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
17576 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17577 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17579 (ruby-end-of-defun): Remove the unused arg, change the docstring
17580 to reflect that this function is only used as the value of
17581 `end-of-defun-function'.
17582 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17583 to reflect an earlier change that beginning/end-of-defun functions
17584 jump between methods in a class definition, as well as top-level
17587 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17589 * minibuffer.el (minibuffer-complete): Don't just scroll
17590 a *Completions* that's been iconified.
17591 (minibuffer-force-complete): Make sure repetitions do cycle when going
17592 through completion-in-region -> minibuffer-complete.
17594 2013-04-15 Alan Mackenzie <acm@muc.de>
17596 Correct the placement of c-cpp-delimiters when there're #s not at
17599 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17600 place a submatch around the #.
17601 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17602 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
17605 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17607 * emacs-lisp/nadvice.el: Properly test names when adding advice.
17608 (advice--member-p): New arg `name'.
17609 (advice--add-function, advice-member-p): Use it (bug#14202).
17611 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
17613 Reformulate java imenu-generic-expression.
17614 The old expression contained ill formed regexps.
17616 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17617 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17618 (cc-imenu-java-method-arg-regexp): New defconsts.
17619 (cc-imenu-java-build-type-args-regex): New defun.
17620 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17621 handling of spaces in the regexp.
17623 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17625 * textmodes/ispell.el (ispell-command-loop): Remove
17626 flyspell highlight of a word when ispell accepts it (bug #14178).
17628 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
17630 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17631 uses code from the previous `ange-ftp-run-real-handler'.
17632 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17633 only in case that function exist. This is needed for proper
17634 unloading of Tramp.
17636 2013-04-15 Tassilo Horn <tsdh@gnu.org>
17638 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17640 * textmodes/reftex.el (reftex-compile-variables): Use it.
17642 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17644 * files.el (normal-mode): Only use default major-mode if no other mode
17647 * emacs-lisp/trace.el (trace-values): New function.
17649 * files.el: Allow : in local variables (bug#14089).
17650 (hack-local-variable-regexp): New var.
17651 (hack-local-variables-prop-line, hack-local-variables): Use it.
17653 2013-04-13 Roland Winkler <winkler@gnu.org>
17655 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
17656 data before it gets modified by bibtex-beginning-of-entry.
17658 2013-04-13 Roland Winkler <winkler@gnu.org>
17660 * textmodes/bibtex.el (bibtex-url): Doc fix.
17662 2013-04-13 Roland Winkler <winkler@gnu.org>
17664 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17665 does not visit a BibTeX file, exclude it from the list of buffers
17666 returned by bibtex-initialize.
17668 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
17670 * window.el (split-window): Remove interactive form, since as a
17671 command this function is a special case of split-window-below.
17672 Correct doc string.
17674 2013-04-12 Roland Winkler <winkler@gnu.org>
17676 * faces.el (read-face-name): Do not override value of arg default.
17677 Allow single faces and strings as default values. Remove those
17678 elements from return value that are not faces.
17679 (describe-face): Simplify.
17680 (face-at-point): New optional args thing and multiple so that this
17681 function can provide the same functionality previously provided by
17683 (make-face-bold, make-face-unbold, make-face-italic)
17684 (make-face-unitalic, make-face-bold-italic, invert-face)
17685 (modify-face, read-face-and-attribute): Use face-at-point.
17687 * cus-edit.el (customize-face, customize-face-other-window)
17688 * cus-theme.el (custom-theme-add-face)
17689 * face-remap.el (buffer-face-set)
17690 * facemenu.el (facemenu-set-face): Use face-at-point.
17692 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
17694 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17696 2013-04-10 Tassilo Horn <tsdh@gnu.org>
17698 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17699 off leading { and trailing } from field values.
17701 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
17703 * emacs-lisp/timer.el (timer--check): New function.
17704 (timer--time, timer-set-function, timer-event-handler): Use it.
17705 (timer-set-idle-time): Simplify.
17706 (timer--activate): CSE.
17707 (timer-event-handler): Give more info in error message.
17708 (internal-timer-start-idle): New function, moved from C.
17710 * mpc.el (mpc-proc): Add `restart' argument.
17711 (mpc-proc-cmd): Use it.
17712 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17713 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17716 2013-04-10 Masatake YAMATO <yamato@redhat.com>
17718 * progmodes/sh-script.el: Implement `sh-mode' own
17719 `add-log-current-defun-function' (bug#14112).
17720 (sh-current-defun-name): New function.
17721 (sh-mode): Use the function.
17723 2013-04-09 Bastien Guerry <bzg@gnu.org>
17725 * simple.el (choose-completion-string): Fix docstring (bug#14163).
17727 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
17729 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17731 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17734 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
17736 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17739 2013-04-07 Leo Liu <sdl.web@gmail.com>
17741 * pcmpl-x.el: New file.
17743 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
17745 Do not set x-display-name until X connection is established.
17746 This is needed to prevent from weird situation described at
17747 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17748 * frame.el (make-frame): Set x-display-name after call to
17749 window system initialization function, not before.
17750 * term/x-win.el (x-initialize-window-system): Add optional
17751 display argument and use it.
17752 * term/w32-win.el (w32-initialize-window-system):
17753 * term/ns-win.el (ns-initialize-window-system):
17754 * term/pc-win.el (msdos-initialize-window-system):
17755 Add compatible optional display argument.
17757 2013-04-06 Eli Zaretskii <eliz@gnu.org>
17759 * files.el (normal-backup-enable-predicate): On MS-Windows and
17760 MS-DOS compare truenames of temporary-file-directory and of the
17761 file, so that 8+3 aliases (usually found in $TEMP on Windows)
17762 don't fail comparison by compare-strings. Also, compare file
17763 names case-insensitively on MS-Windows and MS-DOS.
17765 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
17767 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17768 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17770 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
17772 * whitespace.el (whitespace-color-on, whitespace-color-off):
17773 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17775 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
17777 * ispell.el (ispell-set-spellchecker-params):
17778 Really set `ispell-args' for all equivs.
17780 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
17782 * ido.el (ido-completions): Use extra elements of ido-decorations
17784 (ido-decorations): Update docstring.
17786 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
17788 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17789 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17790 nil during initialization, in order not to miss changes since the
17791 file was opened. (Bug#14140)
17793 2013-04-05 Leo Liu <sdl.web@gmail.com>
17795 * kmacro.el (kmacro-call-macro): Fix bug#14135.
17797 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
17799 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17801 2013-04-04 Glenn Morris <rgm@gnu.org>
17803 * electric.el (electric-pair-inhibit-predicate): Add :version.
17805 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
17807 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17808 when a package is required several times (bug#14082).
17810 2013-04-04 Roland Winkler <winkler@gnu.org>
17812 * faces.el (read-face-name): Behave as promised by the docstring.
17813 Assume that arg default is a list of faces.
17814 (describe-face): Call read-face-name with list of default faces.
17816 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17818 * bookmark.el: Fix deletion of bookmarks (bug#13972).
17819 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17820 (bookmark-bmenu-execute-deletions): Only skip first line if it's
17822 (bookmark-exit-hook-internal): Save even if list is empty.
17824 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
17826 * emacs-lisp/package.el (package-pinned-packages): New var.
17827 (package--add-to-archive-contents): Obey it (bug#14118).
17829 2013-04-03 Alan Mackenzie <acm@muc.de>
17831 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17832 Also adapt to the new values of element 7 of a parse state.
17834 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17835 parameter `not-in-delimiter'. Handle being inside comment opener.
17836 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17837 character in case we're typing a '*' after a '/'.
17838 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17839 instead by passing the parameter to c-state-pp-to-literal.
17841 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17842 for elt. 7 of a parse state.
17844 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
17846 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17847 * international/latin1-disp.el, international/mule-util.el:
17848 * language/cyril-util.el, language/european.el, language/ind-util.el:
17849 * language/lao-util.el, language/thai.el, language/tibet-util.el:
17850 * language/tibetan.el, language/viet-util.el:
17851 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17853 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17855 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17856 (electric-pair-post-self-insert-function): Use it.
17857 (electric-pair-default-inhibit): New function, extracted from
17858 electric-pair-post-self-insert-function.
17860 2013-03-31 Roland Winkler <winkler@gnu.org>
17862 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17864 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17866 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17868 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
17870 Un-indent after "pass" and "return" statements (Bug#13888)
17871 * progmodes/python.el (python-indent-block-enders): New var.
17872 (python-indent-calculate-indentation): Use it.
17874 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
17876 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17877 defun. Defining it as defalias could introduce too eager
17878 byte-compiler optimization. (Bug#14030)
17880 2013-03-30 Chong Yidong <cyd@gnu.org>
17882 * iswitchb.el (iswitchb-read-buffer): Fix typo.
17884 2013-03-30 Leo Liu <sdl.web@gmail.com>
17886 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17887 (kmacro-execute-from-register): Pass the keyboard macro to
17888 kmacro-call-macro or repeating won't work correctly.
17890 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
17892 * progmodes/subword.el: Back to using `forward-symbol'.
17894 * subr.el (forward-whitespace, forward-symbol)
17895 (forward-same-syntax): Move from thingatpt.el.
17897 2013-03-29 Leo Liu <sdl.web@gmail.com>
17899 * kmacro.el (kmacro-to-register): New command.
17900 (kmacro-execute-from-register): New function.
17901 (kmacro-keymap): Bind to 'x'. (Bug#14071)
17903 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
17905 * mpc.el: Use defvar-local and setq-local.
17906 (mpc--proc-connect): Connection failures are not bugs.
17907 (mpc-mode-map): `follow-link' only applies to the buffer's content.
17908 (mpc-volume-map): Bind to the up-events.
17910 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
17912 * progmodes/subword.el (superword-mode): Use `forward-sexp'
17913 instead of `forward-symbol'.
17915 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
17917 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17918 (edebug--recursive-edit): Use it.
17919 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17920 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17922 2013-03-28 Leo Liu <sdl.web@gmail.com>
17924 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
17926 2013-03-27 Eli Zaretskii <eliz@gnu.org>
17928 * facemenu.el (list-colors-callback): New defvar.
17929 (list-colors-redisplay): New function.
17930 (list-colors-display): Install list-colors-redisplay as the
17931 revert-buffer-function. (Bug#14063)
17933 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
17935 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17936 and suffixes don't overlap (bug#14061).
17938 * case-table.el: Use lexical-binding.
17939 (case-table-get-table): New function.
17940 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
17942 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
17944 * progmodes/subword.el: Add `superword-mode' to do word motion
17945 over symbol_words (parallels and leverages `subword-mode' which
17946 does word motion inside MixedCaseWords).
17948 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
17950 * eshell/em-unix.el: Move su and sudo to...
17951 * eshell/em-tramp.el: ...Eshell tramp module.
17953 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
17955 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
17956 Change return value to be a sexp. Delay `get-buffer' to after
17957 restoring the desktop (bug#13951).
17959 2013-03-26 Leo Liu <sdl.web@gmail.com>
17961 * register.el: Move semantic tag handling back to
17962 cedet/semantic/senator.el. (Bug#14052)
17964 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
17966 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
17967 into the prompt either (bug#13963).
17969 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
17971 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
17972 part of "(error-foo)".
17974 2013-03-24 Juri Linkov <juri@jurta.org>
17976 * replace.el (list-matching-lines-prefix-face): New defcustom.
17977 (occur-1): Pass `list-matching-lines-prefix-face' to the function
17978 `occur-engine' if `face-differs-from-default-p' returns t.
17979 (occur-engine): Add `,' inside backquote construct to evaluate
17980 `prefix-face'. Propertize the prefix with the `prefix-face' face.
17981 Pass `prefix-face' to the functions `occur-context-lines' and
17982 `occur-engine-add-prefix'.
17983 (occur-engine-add-prefix, occur-context-lines): Add optional arg
17984 `prefix-face' and propertize the prefix with `prefix-face'.
17987 2013-03-24 Leo Liu <sdl.web@gmail.com>
17989 * nxml/rng-valid.el (rng-validate-while-idle)
17990 (rng-validate-quick-while-idle): Guard against deleted buffer.
17993 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
17994 is the last entry in kill-buffer-hook.
17996 * files.el (kill-buffer-hook): Doc fix.
17998 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18000 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18001 Make it safe-local.
18003 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18005 2013-03-23 Leo Liu <sdl.web@gmail.com>
18007 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18010 * nxml/rng-valid.el (rng-validate-mode)
18011 (rng-after-change-function, rng-do-some-validation):
18012 * nxml/rng-maint.el (rng-validate-buffer):
18013 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18014 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18015 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18016 (nxml-extend-after-change-region): Use with-silent-modifications.
18018 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18021 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18022 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18023 timer-idle-list. (Bug#13999)
18025 2013-03-23 Juri Linkov <juri@jurta.org>
18027 * info.el (info-index-match): New face.
18028 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18029 main pattern and add text properties with the new face to matches
18030 in index entries relative to the beginning of the index entry.
18033 2013-03-21 Eric Ludlam <zappo@gnu.org>
18035 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18036 Inhibit read only while inserting objects.
18038 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
18040 * progmodes/cfengine.el: Update docs to mention
18041 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
18042 symbol motion. Remove "_" from the word syntax.
18044 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
18046 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18047 syntax for both `cfengine2-mode' and `cfengine3-mode'.
18049 2013-03-20 Juri Linkov <juri@jurta.org>
18051 * info.el (Info-next-reference-or-link)
18052 (Info-prev-reference-or-link): New functions.
18053 (Info-next-reference, Info-prev-reference): Use them.
18054 (Info-try-follow-nearest-node): Handle footnote navigation.
18055 (Info-fontify-node): Fontify footnotes. (Bug#13989)
18057 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
18059 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18060 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18062 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
18064 Suppress unnecessary non-ASCII chatter during build process.
18065 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18066 (batch-skkdic-convert): Suppress most of the chatter.
18067 It's not needed so much now that machines are faster,
18068 and its non-ASCII component was confusing; see Dmitry Gutov in
18069 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18071 2013-03-20 Leo Liu <sdl.web@gmail.com>
18073 * ido.el (ido-chop): Fix bug#10994.
18075 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18077 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18079 (whitespace-color-on, whitespace-color-off):
18080 Use `font-lock-fontify-buffer' (Bug#13817).
18082 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
18084 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18085 remapping in mode-line.
18086 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18088 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18090 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18091 value for `whitespace-line' face (Bug#13875).
18092 (whitespace-font-lock-keywords): Change description.
18093 (whitespace-color-on): Don't save `font-lock-keywords' value, save
18094 the constructed keywords instead.
18095 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18097 2013-03-19 Leo Liu <sdl.web@gmail.com>
18099 * progmodes/compile.el (compilation-display-error): New command.
18100 (compilation-mode-map, compilation-minor-mode-map): Bind it to
18103 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18105 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18107 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
18109 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18111 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
18113 * net/tramp-compat.el (tramp-compat-user-error): New defun.
18115 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18116 * net/tramp-gvfs.el (top):
18117 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18118 (tramp-handle-shell-command): Use it.
18119 (tramp-dissect-file-name): Raise an error when hostname is a
18120 method name, and neither method nor user is specified.
18122 * net/trampver.el: Update release number.
18124 2013-03-18 Leo Liu <sdl.web@gmail.com>
18126 Make sure eldoc can be turned off properly.
18127 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18129 (eldoc-display-message-p): Revert last change.
18130 (eldoc-display-message-no-interference-p)
18131 (eldoc-print-current-symbol-info): Tweak.
18133 2013-03-18 Tassilo Horn <tsdh@gnu.org>
18135 * doc-view.el (doc-view-new-window-function): Check the new window
18136 overlay's display property instead the char property of the
18137 buffer's first char. Use `with-selected-window' instead of
18138 `save-window-excursion' with `select-window'.
18139 (doc-view-document->bitmap): Check the current doc-view overlay's
18140 display property instead the char property of the buffer's first char.
18142 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18144 Automate the build of ja-dic.el (Bug#13984).
18145 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18146 from the input, rather than assume that it's been done for us by the
18147 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
18148 the current date into a ja-dic.el comment, as that complicates
18149 regression testing.
18151 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18153 * whitespace.el: Fix double evaluation.
18154 (whitespace-space, whitespace-hspace, whitespace-tab)
18155 (whitespace-newline, whitespace-trailing, whitespace-line)
18156 (whitespace-space-before-tab, whitespace-indentation)
18157 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18159 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18160 (whitespace-color-on): Use a single font-lock-add-keywords call.
18161 Fix double-evaluation of face variables.
18163 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
18165 * net/tramp-adb.el (tramp-adb-parse-device-names):
18166 Use `start-process' instead of `call-process'. Otherwise, the
18167 function might be blocked under MS Windows. (Bug#13299)
18169 2013-03-17 Leo Liu <sdl.web@gmail.com>
18171 Extend eldoc to display info in the mode-line. (Bug#13978)
18172 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18173 (eldoc-mode-line-string): New variable.
18174 (eldoc-minibuffer-message): New function.
18175 (eldoc-message-function): New variable.
18176 (eldoc-message): Use it.
18177 (eldoc-display-message-p)
18178 (eldoc-display-message-no-interference-p):
18179 Support eldoc-post-insert-mode.
18181 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18182 (eval-expression): Run it.
18184 2013-03-17 Roland Winkler <winkler@gnu.org>
18186 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18187 strings in the list of return values.
18189 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18191 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18192 radix before checking for HMS forms.
18194 2013-03-16 Leo Liu <sdl.web@gmail.com>
18196 * progmodes/scheme.el: Add indentation and font-locking for λ.
18199 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
18201 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18202 token before point (bug#13942).
18204 2013-03-16 Leo Liu <sdl.web@gmail.com>
18206 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
18208 2013-03-16 Eli Zaretskii <eliz@gnu.org>
18210 * startup.el (command-line-normalize-file-name): Fix handling of
18211 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
18212 <xfq.free@gmail.com> in
18213 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18215 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
18217 Sync with Tramp 2.2.7.
18219 * net/trampver.el: Update release number.
18221 2013-03-14 Tassilo Horn <tsdh@gnu.org>
18223 * doc-view.el: Fix bug#13887.
18224 (doc-view-insert-image): Don't modify overlay associated to
18225 non-live windows, and implement horizontal centering of image in
18226 case it's smaller than the window.
18227 (doc-view-new-window-function): Force redisplay of new windows on
18230 2013-03-13 Karl Fogel <kfogel@red-bean.com>
18232 * saveplace.el (save-place-alist-to-file): Don't sort
18233 `save-place-alist', just pretty-print it (bug#13882).
18235 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
18237 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18238 Check whether `default-file-name-coding-system' is bound.
18239 It isn't in XEmacs.
18241 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
18243 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18244 backquotes for `obsolete' (bug#13929).
18246 * international/mule.el (find-auto-coding): Include file name in
18247 obsolescence warning (bug#13922).
18249 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
18251 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18252 for CFEngine 3-specific indentation.
18253 (cfengine3-indent-line): Use it. Fix up category regex.
18254 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18256 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18258 * type-break.el (type-break-file-name):
18259 * textmodes/remember.el (remember-data-file):
18260 * strokes.el (strokes-file):
18261 * shadowfile.el (shadow-initialize):
18262 * saveplace.el (save-place-file):
18263 * ps-bdf.el (bdf-cache-file):
18264 * progmodes/idlwave.el (idlwave-config-directory):
18265 * net/quickurl.el (quickurl-url-file):
18266 * international/kkc.el (kkc-init-file-name):
18267 * ido.el (ido-save-directory-list-file):
18268 * emulation/viper.el (viper-custom-file-name):
18269 * emulation/vip.el (vip-startup-file):
18270 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18271 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18273 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
18275 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18276 * language/thai-word.el: Switch to UTF-8.
18278 See ChangeLog.16 for earlier changes.
18280 ;; Local Variables:
18284 Copyright (C) 2011-2014 Free Software Foundation, Inc.
18286 This file is part of GNU Emacs.
18288 GNU Emacs is free software: you can redistribute it and/or modify
18289 it under the terms of the GNU General Public License as published by
18290 the Free Software Foundation, either version 3 of the License, or
18291 (at your option) any later version.
18293 GNU Emacs is distributed in the hope that it will be useful,
18294 but WITHOUT ANY WARRANTY; without even the implied warranty of
18295 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18296 GNU General Public License for more details.
18298 You should have received a copy of the GNU General Public License
18299 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.