1 2014-08-29 Leo Liu <sdl.web@gmail.com>
3 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
4 append to minibuffer-setup-hook. (Bug#18341)
6 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
10 (lookup-syntax-properties): Silence byte-compiler.
11 (c-lang-defconst): Quote the code with `lambda' rather than with
13 (c-lang-const): Avoid unneeded setq.
14 (c-lang-constants-under-evaluation): Add docstring.
15 (c-lang--novalue): New constant.
16 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
17 (c-get-lang-constant): Same here.
18 Get the mode's value using `funcall' now that the code is quoted
21 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
23 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
26 2014-08-28 Martin Rudalics <rudalics@gmx.at>
28 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
29 interpretation of `portion-whole'.
31 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
33 * net/tramp-adb.el: Spell author name correctly.
35 2014-08-28 João Távora <joaotavora@gmail.com>
37 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
38 use url-expand-file-name. (Bug#18310)
40 2014-08-28 Glenn Morris <rgm@gnu.org>
42 * emulation/cua-rect.el (cua--highlight-rectangle):
43 Avoid error at point-min. (Bug#18309)
45 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
47 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
48 executable-find (bug#18244).
50 * simple.el (self-insert-uses-region-functions): Defvar.
52 2014-08-28 Glenn Morris <rgm@gnu.org>
54 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
56 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
58 * startup.el (normal-top-level): Now use internal--top-level-message.
60 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
62 * startup.el (normal-top-level): Use top-level-message.
64 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
66 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
67 URLs containing spaces and the like.
69 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
71 * subr.el (remq): Fix docstring (Bug#18253).
73 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
75 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
77 2014-08-24 Alan Mackenzie <acm@muc.de>
79 Handle C++11's "auto" and "decltype" constructions.
80 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
82 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
83 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
85 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
87 (c-font-lock-c++-new): Handle "decltype" constructions.
88 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
89 New c-lang-defconsts/defvars.
90 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
91 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
92 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
93 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
95 Make ">>" act as double template ender in C++ Mode.
96 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
97 off from c->-op-cont-re.
98 (c->-op-cont-tokens): Change to use the above.
99 (c->-op-without->-cont-regexp): New lang-const.
100 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
101 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
104 2014-08-23 Alan Mackenzie <acm@muc.de>
106 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
107 loop, bug #18306. The bug was introduced on 2014-08-02.
109 2014-08-21 Eli Zaretskii <eliz@gnu.org>
111 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
112 Don't recognize a Top node if there are other sectioning commands
113 earlier in the Texinfo file. This fixes a bug in
114 texinfo-make-menu and avoids inflooping in
115 texinfo-all-menus-update when they are invoked on texinfo.texi.
117 2014-08-21 Martin Rudalics <rudalics@gmx.at>
119 * window.el (window--side-window-p): New function.
120 (split-window, window-splittable-p): Use window--side-window-p to
121 determine whether WINDOW can be split (Bug#18304).
122 * calendar/calendar.el (calendar-basic-setup): Fix one call of
123 `window-splittable-p' and add another (Bug#18304).
125 2014-08-20 Sam Steingold <sds@gnu.org>
127 * progmodes/python.el (python-new-pythonpath): Extract from
128 `python-shell-calculate-process-environment'.
130 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
132 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
133 for &key args (bug#18048).
135 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
137 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
138 (eldoc-function-argstring-format): Remove.
139 (eldoc-function-argstring): Always return upcase args.
140 Use help-make-usage. Don't add parens.
141 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
142 it's too late to do it right (bug#18048).
144 2014-08-18 Eli Zaretskii <eliz@gnu.org>
146 * scroll-bar.el (scroll-bar-horizontal-drag-1)
147 (scroll-bar-toolkit-horizontal-scroll): When determining the
148 paragraph direction, use the buffer of the window designated in
151 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
153 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
154 context of unified diff.
156 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
158 Add dependencies to fix loaddefs race during parallel builds.
159 Without this, for example, 'make -j bootstrap' can fail and report
160 "Opening input file: no such file or directory,
161 .../lisp/calendar/diary-loaddefs.el ... recipe for target
162 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
163 got confused because diary-loaddefs.el was being built in parallel.
164 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
165 Depend on $(CAL_DIR)/cal-loaddefs.el.
166 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
168 2014-08-16 Martin Rudalics <rudalics@gmx.at>
170 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
171 portion-whole for scrolling right-to-left text.
173 2014-08-15 Leo Liu <sdl.web@gmail.com>
175 * speedbar.el (speedbar-generic-list-tag-p): Allow special
178 2014-08-15 Glenn Morris <rgm@gnu.org>
180 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
182 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
187 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
189 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
190 add Guile debugger support for GUD.
192 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
194 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
195 (mouse-sel--ignore): New function.
196 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
197 (mouse-sel-original-interprogram-cut-function)
198 (mouse-sel-original-interprogram-paste-function): Remove.
200 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
202 * vc/vc-git.el (vc-git-resolve-when-done): New function.
203 Call "git add" when there are no longer conflict markers.
205 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
207 * vc/vc-git.el (vc-git-find-file-hook): New function.
208 Adds support for calling smerge (and resolve) on a conflicted file.
209 (vc-git-conflicted-files): New function.
210 Useful in itself and a step towards better smerge support.
212 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
214 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
215 to the first part if they're the same as the selection.
217 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
219 * image-mode.el (image-transform-reset): New command and menu item.
220 (image-mode-map): Rearrange the menu items to put presumably more
221 obscure items at the end.
223 2014-08-12 Juri Linkov <juri@jurta.org>
225 * vc/vc-annotate.el (vc-annotate-background-mode):
226 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
228 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
230 * files.el (out-of-memory-warning-percentage): Turn it off by default.
232 2014-08-11 Sam Steingold <sds@gnu.org>
234 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
235 the presence of known validators (tidy, (o)nsgmls).
237 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
239 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
241 * net/newst-treeview.el (newsticker-treeview-date-format): New.
242 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
244 2014-08-11 Glenn Morris <rgm@gnu.org>
246 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
247 chose coding system for writing before backing up, since it causes
248 a more serious problem than the one it solves. (Closes Bug#18141,
251 2014-08-11 Martin Rudalics <rudalics@gmx.at>
253 * window.el (window-total-size): Make doc-string more self-contained.
255 * window.el (display-buffer-below-selected): Restore original
256 behavior if buffer is already displayed in the window below the
257 selected one (Bug#18181).
259 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
261 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
264 2014-08-11 Eli Zaretskii <eliz@gnu.org>
266 * info.el (info): Doc fix.
268 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
270 * info.el (Info-mode-map): Override a global down-mouse-2 binding
273 2014-08-11 Eli Zaretskii <eliz@gnu.org>
275 * simple.el (default-line-height): A floating-point value of
276 line-spacing means a fraction of the default frame font's height,
277 not of the font currently used by the 'default' face.
278 Truncate the pixel value, like the display engine does.
279 (window-screen-lines): Use window-inside-pixel-edges for
280 determining the window height in pixels. (Bug#18195)
282 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
284 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
286 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
288 Enumerate evaluated sexp diary entries (Bug#7911).
289 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
290 (icalendar-export-sexp-enumeration-days): New.
291 (icalendar-export-region): Now `icalendar--convert-to-ical'
292 returns a cons cell or a list of cons cells.
293 (icalendar--convert-to-ical): Take care of
294 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
295 (icalendar--convert-ordinary-to-ical)
296 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
297 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
298 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
299 (icalendar--convert-anniversary-to-ical): Return cons cell.
300 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
301 entries. Return (list of) cons cells.
303 2014-08-09 Juri Linkov <juri@jurta.org>
305 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
306 to reevaluate `vc-annotate-color-map'. (Bug#18189)
308 2014-08-09 Alan Mackenzie <acm@muc.de>
310 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
311 for top-level that can cause unacceptable slow-down in scrolling.
312 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
313 Antipov from 2013-10-14 in emacs-devel.
315 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
317 * ibuffer.el (ibuffer-mode-map): Use toggle button for
318 `ibuffer-auto-mode' menu entry.
319 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
321 2014-08-08 Matthias Meulien <orontee@gmail.com>
323 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
326 2014-08-07 Martin Rudalics <rudalics@gmx.at>
328 * window.el (window--min-size-1): Explicitly set WINDOW arg in
329 calls of window-min-pixel-height and window-min-pixel-width.
331 2014-08-07 Reuben Thomas <rrt@sc3d.org>
333 * progmodes/ada-mode.el:
334 * net/tramp.el (tramp-handle-file-symlink-p):
335 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
336 about VMS, which we no longer support.
337 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
338 and fix a FIXME, using convert-standard-filename in place of
339 removed ada-convert-file-name.
341 2014-08-07 Eli Zaretskii <eliz@gnu.org>
343 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
345 2014-08-07 Reuben Thomas <rrt@sc3d.org>
347 Refer to MS-DOS using the same name everywhere.
348 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
349 ``msdog'' become ``MS-DOS''.
351 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
353 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
354 Use cached "remote-copy-args" value, if available. (Bug#18199)
356 2014-08-07 Leo Liu <sdl.web@gmail.com>
358 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
359 Revert change on 2014-03-22.
361 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
363 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
364 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
368 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
370 * image-mode.el (image-toggle-display-image): Always rescale images
371 to not be bigger than the current window.
373 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
375 * net/eww.el (eww-bookmarks-directory): New variable.
376 (eww-write-bookmarks): Use it.
377 (eww-read-bookmarks): Ditto.
379 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
381 * net/shr.el (shr-copy-url): Also copy the image URL.
383 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
385 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
386 also for Tramp working buffers.
388 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
390 * progmodes/python.el: Fix completions inside (i)pdb.
391 (python-shell-completion-pdb-string-code): Make obsolete.
392 (python-shell-completion-get-completions):
393 Use python-shell-completion-string-code resending setup code
394 continuously for (i)pdb.
396 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
398 * rect.el (rectangle--default-line-number-format): Rename
399 from misspelled rectange--default-line-number-format (Bug#18045).
402 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
404 Don't mishandle year-9999 dates (Bug#18176).
405 * calendar/parse-time.el (parse-time-rules):
406 Allow years up to most-positive-fixnum.
407 * calendar/time-date.el (date-to-time):
408 Pass "Specified time is not representable" errors through.
410 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
412 * progmodes/python.el: Completion code cleanups.
413 (python-shell-completion-get-completions): Detect and send import
414 statements directly to completion function.
415 (python-shell-completion-at-point): Simplify prompt calculation
416 and import vs input completion logic.
418 2014-08-02 Alan Mackenzie <acm@muc.de>
420 Fix confusion in C++ file caused by comma in "= {1,2},".
422 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
423 for a statement boundary marked by "}", check there's no "="
425 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
426 non-nil `comma-delim' argument.
427 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
428 initializer expression more accurately.
430 Correct loop termination condition in c-syntactic-skip-backward.
431 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
432 the situation where, after moving back out of a literal,
433 skip-chars-backward doesn't move further, yet checks have still to
436 2014-08-01 Eli Zaretskii <eliz@gnu.org>
438 * tutorial.el (tutorial--display-changes): Accept punctuation
439 characters before the key binding. (Bug#18146)
441 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
443 * progmodes/python.el: Shell output capture enhancements.
444 (python-shell-accept-process-output): New function.
445 (inferior-python-mode)
446 (python-shell-send-setup-code): Use it.
448 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
450 * calendar/icalendar.el (icalendar--decode-isodatetime):
451 Use actual current-time-zone when converting to local time. (Bug#15408)
453 2014-07-29 Martin Rudalics <rudalics@gmx.at>
455 * window.el (window--state-put-2): Handle horizontal scroll
458 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
460 * menu-bar.el (menu-bar-update-buffers): Update item list format
461 in `buffers-menu' to confirm with changes to `get_keyelt'
462 (r117463). (Bug#18016)
464 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
466 * progmodes/python.el (inferior-python-mode): Make input prompts
469 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
471 * net/tramp-sh.el (tramp-get-remote-python): Also search for
472 executables named "python2" or "python3".
473 (tramp-get-remote-uid-with-python): Use parentheses around
474 arguments to `print' to make it compatible with Python 3.
475 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
477 2014-07-28 Eli Zaretskii <eliz@gnu.org>
479 * window.el (window--pixel-to-total): Use FRAME's root window, not
480 that of the selected frame. (Bug#18112, Bug#16674)
482 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
484 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
487 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
489 * progmodes/python.el (inferior-python-mode): Doc fix.
491 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
493 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
494 not a character, ignore it instead of raising an error.
496 * calendar/todo-mode.el: Fix handling of marked items and make
497 minor code improvements.
498 (todo-edit-item): If there are marked items, ensure user can only
499 invoke editing commands that work with marked items.
500 (todo-edit-item--text): When there are marked items, make it a
501 noop if invoked with point not on an item; otherwise, ensure it
502 applies only to item at point.
503 (todo-item-undone): If there are marked not-done items, return
504 point to its original position before signaling user error.
505 (todo--user-error-if-marked-done-item): New function.
506 (todo-edit-item--header, todo-edit-item--diary-inclusion)
507 (todo-item-done): Use it.
509 2014-07-28 Glenn Morris <rgm@gnu.org>
511 * files.el (toggle-read-only): Re-add basic doc-string.
512 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
514 * progmodes/prolog.el (prolog-mode-keybindings-edit):
515 Replace missing `switch-to-prolog' with `run-prolog'.
516 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
518 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
520 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
521 of file-wide setting when changing category-wide setting.
523 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
525 * doc-view.el (doc-view-open-text): Don't require that the
526 document is saved in a file (e.g., email attachment).
528 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
530 Parse completion input in a iPython friendly way. (Bug#18084)
531 * progmodes/python.el
532 (python-shell-completion-at-point): Rename from
533 python-shell-completion-complete-at-point.
534 (inferior-python-mode): Use it.
535 (python-completion-at-point): Rename from
536 python-completion-complete-at-point. Parse input up to first
537 backward occurrence of whitespace, open-paren, close-paren or
539 (python-mode): Use it.
541 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
543 Prevent Python process shell buffer to pop twice.
544 * progmodes/python.el (python-shell-switch-to-shell): Do not call
547 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
549 * progmodes/python.el
550 (python-shell-with-shell-buffer): New macro.
551 (python-shell-font-lock-get-or-create-buffer)
552 (python-shell-font-lock-kill-buffer)
553 (python-shell-font-lock-with-font-lock-buffer)
554 (python-shell-font-lock-cleanup-buffer)
555 (python-shell-font-lock-toggle): Use it.
556 (python-shell-font-lock-turn-on)
557 (python-shell-font-lock-turn-off): Use it. Make command.
559 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
561 Grab all Python process output before inferior-python-mode hooks.
562 * progmodes/python.el (inferior-python-mode):
563 Call accept-process-output and sit-for to ensure all output for process
564 has been received before running hooks.
565 (python-shell-internal-get-or-create-process):
566 Cleanup accept-process-output and sit-for calls.
568 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
570 More robust shell startup and code setup.
571 * progmodes/python.el (python-shell-make-comint):
572 Remove accept-process-output call.
573 (python-shell-get-buffer): Return current buffer if major-mode is
574 inferior-python-mode.
575 (python-shell-get-or-create-process): Use it.
576 (python-shell-send-setup-code): Send all setup code in one string,
577 output success message and accept-process-output.
579 2014-07-27 Eli Zaretskii <eliz@gnu.org>
581 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
582 Add rudimentary support for bidirectional text.
584 2014-07-27 Martin Rudalics <rudalics@gmx.at>
586 * frame.el (frame-notice-user-settings): Rewrite using
587 frame-initial-frame-tool-bar-height.
588 * menu-bar.el (menu-bar-horizontal-scroll-bar)
589 (menu-bar-no-horizontal-scroll-bar): New functions.
590 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
592 * scroll-bar.el (scroll-bar-lines)
593 (set-horizontal-scroll-bar-mode)
594 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
595 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
596 (scroll-bar-toolkit-horizontal-scroll): New functions.
597 (horizontal-scroll-bar-mode)
598 (previous-horizontal-scroll-bar-mode)
599 (horizontal-scroll-bar-mode-explicit): New variables.
600 (horizontal-scroll-bar-mode): New option.
601 (toggle-horizontal-scroll-bar): Do something.
602 (top-level): Bind horizontal-scroll-bar mouse-1.
603 * startup.el (tool-bar-originally-present): Remove variable.
604 (command-line): Don't set tool-bar-originally-present.
605 * window.el (window-min-height): Update doc-string.
606 (window--dump-frame): Dump horizontal scroll bar values.
607 (window--min-size-1): Handle minibuffer window separately.
608 Count in margins and horizontal scroll bar. Return safe value
609 iff IGNORE equals 'safe.
610 (frame-windows-min-size): New function (used by frame resizing
612 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
614 (window--sanitize-window-sizes): New function.
615 (window-split-min-size): Remove.
616 (split-window): Count divider-width. Don't use
617 `window-split-min-size' any more. Reword error messages.
618 Sanitize windows sizes after splitting.
620 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
622 Use `defvar-local' more.
623 * progmodes/hideshow.el
624 (hs-c-start-regexp, hs-block-start-regexp)
625 (hs-block-start-mdata-select, hs-block-end-regexp)
626 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
627 remove corresponding `make-variable-buffer-local' top-level calls.
629 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
631 Cleanup error signals. (Bug#18067)
632 * progmodes/python.el
633 (python-indent-shift-left): Use user-error instead.
634 (python-shell-prompt-detect): Use lwarn with python group.
635 (python-completion-complete-at-point)
636 (python-eldoc--get-doc-at-point): Don't signal error.
638 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
640 Support for packages in Python shell. (Bug#13570)
641 * progmodes/python.el (python-shell--package-depth): New var.
642 (python-shell-package-enable): New command.
643 (python-util-list-directories, python-util-list-files)
644 (python-util-list-packages): New functions.
646 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
648 Faster comint output. (Bug#16875)
649 * progmodes/python.el:
650 (python-comint-output-filter-function): Make obsolete.
651 (python-comint-postoutput-scroll-to-bottom): New function.
652 (inferior-python-mode): Set comint-output-filter-functions to a
655 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
657 * progmodes/python.el (python-shell-font-lock-post-command-hook):
658 Safeguard current point and undo history.
660 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
662 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
663 * progmodes/python.el:
664 (python-shell-prompt-input-regexps): Add iPython block prompt.
665 (python-shell-output-syntax-table): Delete var.
666 (python-shell-font-lock-with-font-lock-buffer): New macro.
667 (python-shell-font-lock-get-or-create-buffer)
668 (python-shell-font-lock-kill-buffer)
669 (python-shell-font-lock-cleanup-buffer)
670 (python-shell-font-lock-post-command-hook)
671 (python-shell-font-lock-turn-off): New functions.
672 (python-shell-font-lock-turn-on): New function.
673 (inferior-python-mode): Use it.
674 (python-shell-font-lock-toggle): New command.
675 (python-shell-font-lock-enable): Rename from
676 python-shell-enable-font-lock.
677 (run-python-internal): Use it.
678 (python-shell-font-lock-comint-output-filter-function): New function.
679 (python-shell-comint-end-of-output-p): New function.
680 (python-shell-output-filter): Use it.
681 (python-util-comint-last-prompt): New function.
682 (python-util-text-properties-replace-name): New function.
684 2014-07-25 Glenn Morris <rgm@gnu.org>
686 * vc/ediff-init.el (ediff-toggle-read-only-function):
687 * vc/ediff-util.el (ediff-toggle-read-only):
688 Replace obsolete toggle-read-only with read-only-mode.
690 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
692 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
693 with `save-match-data'. (Bug#18095)
695 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
697 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
698 order to ensure that row and col are lexically bound inside the
701 2014-07-21 Glenn Morris <rgm@gnu.org>
703 * progmodes/hideif.el (hide-ifdef-mode-submap):
704 Also substitute read-only-mode.
705 * bindings.el (mode-line-toggle-read-only):
706 * bs.el (bs-toggle-readonly):
707 * buff-menu.el (Buffer-menu-toggle-read-only):
708 * dired.el (dired-toggle-read-only):
709 * files.el (view-read-only, find-file-read-only)
710 (find-file-read-only-other-window)
711 (find-file-read-only-other-frame):
712 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
713 Doc fixes re toggle-read-only.
715 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
717 * progmodes/python.el: Add comment about pipe buffering and
718 solutions for missing/delayed output in inferior Python shells.
721 * progmodes/python.el (python-mode): Don't set
722 mode-require-final-newline. (Bug#17990)
724 Make python.el work with IPython automatically. (Bug#15510)
725 * progmodes/python.el:
726 (python-shell-completion-setup-code): New value supporting iPython.
727 (python-shell-completion-string-code): New value supporting iPython.
728 (python-shell-completion-get-completions): Use them.
729 (python-shell-completion-module-string-code): Make obsolete.
730 (python-shell-prompt-input-regexps)
731 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
732 (python-shell-output-filter): Fix comment typo.
734 Fix Python shell prompts detection for remote hosts.
735 * progmodes/python.el (python-shell-prompt-detect):
736 Replace call-process with process-file and make it more robust.
738 Autodetect Python shell prompts. (Bug#17370)
739 * progmodes/python.el:
740 (python-shell-interpreter-interactive-arg)
741 (python-shell-prompt-detect-enabled)
742 (python-shell-prompt-detect-failure-warning)
743 (python-shell-prompt-input-regexps)
744 (python-shell-prompt-output-regexps): New vars.
745 (python-shell-prompt-calculated-input-regexp)
746 (python-shell-prompt-calculated-output-regexp): New vars.
747 (python-shell-get-process-name)
748 (python-shell-internal-get-process-name)
749 (python-shell-output-filter)
750 (python-shell-completion-get-completions): Use them.
751 (python-shell-prompt-detect)
752 (python-shell-prompt-validate-regexps): New functions.
753 (python-shell-prompt-set-calculated-regexps): New function.
754 (inferior-python-mode): Use it. Also honor overriden
755 python-shell-interpreter and python-shell-interpreter-args.
756 (python-shell-make-comint): Honor overriden
757 python-shell-interpreter and python-shell-interpreter-args.
758 (python-shell-get-or-create-process): Make it testable by allowing
759 to call run-python non-interactively.
760 (python-util-valid-regexp-p): New function.
761 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
762 (python-shell-prompt-output-regexp)
763 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
765 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
767 * emacs-lisp/smie.el (smie-config--guess-1): Split from
769 (smie-config--guess): Use it.
771 * emacs-lisp/edebug.el: Use nadvice.
772 (edebug-original-read): Remove.
773 (edebug--read): Rename from edebug-read and add `orig' arg.
774 (edebug-uninstall-read-eval-functions)
775 (edebug-install-read-eval-functions): Use nadvice.
776 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
777 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
778 (edebug-read-string, edebug-read-function): Use just `read'.
779 (edebug-original-debug-on-entry): Remove.
780 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
782 (debug-on-entry): Override with nadvice.
784 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
785 it also makes sense to bind it to a non-mouse event.
787 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
789 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
791 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
794 * rect.el (rectangle--string-preview): Don't assume there
795 a non-nil default (bug#17984).
797 2014-07-16 Glenn Morris <rgm@gnu.org>
799 * desktop.el (after-init-hook): Disable startup frame restoration
800 in non-graphical situations. (Bug#17693)
802 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
803 if it was "empty", or used for a different set of files. (Bug#17884)
805 2014-07-16 Eli Zaretskii <eliz@gnu.org>
807 * bindings.el (mode-line-remote): If default-directory is not a
808 string, don't call file-remote-p on it; instead state in the
809 help-echo that it is nil. (Bug#17986)
811 2014-07-14 Daniel Colascione <dancol@dancol.org>
813 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
816 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
817 Use `macroexpand-all' instead of `cl-macroexpand-all'.
819 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
821 Fix bug: C-x v v discarded existing log message (Bug#17884).
822 * vc/vc-dispatcher.el (vc-log-edit):
823 Don't clobber an already-existing log message.
825 2014-07-12 Glenn Morris <rgm@gnu.org>
827 * vc/log-edit.el (log-edit-changelog-entries):
828 Check for a visited-but-never-saved ChangeLog.
830 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
832 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
833 a non-existing file (bug#17970).
835 * faces.el (face-name): Undo last change.
836 (x-resolve-font-name): Don't call face-name (bug#17956).
838 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
840 Fix dedenters and electric colon handling. (Bug#15163)
841 * progmodes/python.el
842 (python-rx-constituents): Add dedenter and block-ender.
843 (python-indent-dedenters, python-indent-block-enders): Delete.
844 (python-indent-context): Return new case for dedenter-statement.
845 (python-indent-calculate-indentation): Handle new case.
846 (python-indent-calculate-levels): Fix levels calculation for
848 (python-indent-post-self-insert-function): Fix colon handling.
849 (python-info-dedenter-opening-block-message): New function.
850 (python-indent-line): Use it.
851 (python-info-closing-block)
852 (python-info-closing-block-message): Remove.
853 (python-info-dedenter-opening-block-position)
854 (python-info-dedenter-opening-block-positions)
855 (python-info-dedenter-statement-p): New functions.
857 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
859 * files.el (out-of-memory-warning-percentage): New defcustom.
860 (warn-maybe-out-of-memory): Use it.
862 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
864 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
865 when calling `read-string'. (Bug#17839)
867 2014-07-10 Eli Zaretskii <eliz@gnu.org>
869 * files.el (warn-maybe-out-of-memory): Fix the wording of the
872 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
874 * files.el (warn-maybe-out-of-memory): New function.
875 (find-file-noselect): Use it.
877 2014-07-09 Sam Steingold <sds@gnu.org>
879 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
880 `constant' like `bless', `return' &c
882 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
884 * rect.el (apply-on-rectangle): Check forward-line really moved to the
887 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
889 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
890 the middle of a line (bug#17896).
892 2014-07-09 Juri Linkov <juri@jurta.org>
894 * startup.el (command-line): Append displaying the warning about
895 the errors in the init file to the end of `after-init-hook'.
898 * faces.el (face-name): Return input arg `face' as-is
899 when it's not a symbol.
900 (x-resolve-font-name): Don't check if the face is a symbol.
903 * facemenu.el (list-colors-print): In help-echo format use %.2f
904 instead of %d because now HSV values are floating-point components
907 2014-07-09 Glenn Morris <rgm@gnu.org>
909 * emulation/cua-rect.el (cua--activate-rectangle):
910 Avoid setting cua--rectangle to nil. (Bug#17877)
912 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
914 * calendar/todo-mode.el: Fix wrong-type-argument error when
915 marking multiple consecutive items.
916 (todo-toggle-mark-item): Don't try to mark the empty lines at the
917 end of the todo and done items sections. Note in doc string that
918 items marked by passing a numeric prefix argument can include the
919 last todo and first done items.
920 (todo-mark-category): Don't try to mark the empty line between the
921 todo and done items sections.
923 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
925 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
926 proper Lisp quoting (bug#17934).
928 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
929 require-final-newline since prog-mode already took care of it (bug#17947).
931 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
933 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
934 refer to the Todo mode Info manual. Update the comment on
936 (todo-find-filtered-items-file): Add todo-prefix overlays.
937 (todo-filter-items): Reorder a let-bound variable to avoid a
938 wrong-type-argument error on canceling the file choice dialog.
940 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
942 * progmodes/octave.el (inferior-octave-mode):
943 Set comint-input-ring-size to a number (bug#17912).
945 2014-07-09 Juri Linkov <juri@jurta.org>
947 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
948 and `isearch-mode' associated with nil. (Bug#17849)
950 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
952 * linum.el (linum--face-height): New function (bug#17813).
953 (linum-update-window): Use it to adjust margin to linum's width.
955 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
956 * eshell/em-smart.el (eshell-smart-scroll-window):
957 Use with-selected-window.
959 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
960 Remove also pointless window&mark manipulation.
962 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
963 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
964 (perl-continuation-line-p): Don't skip over anything else than labels.
965 Return the previous char.
966 (perl-calculate-indent): Use syntax-ppss instead of parse-start
967 and update callers accordingly. For continuation lines, check the
968 the case of array hashes.
969 (perl-backward-to-noncomment): Make it non-interactive.
970 (perl-backward-to-start-of-continued-exp): Rewrite.
972 2014-07-08 Sam Steingold <sds@gnu.org>
974 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
977 2014-07-08 Juri Linkov <juri@jurta.org>
979 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
980 (vc-annotate-color-map): Use less saturated colors (20%) for
982 (vc-annotate-very-old-color): Add default value for background-mode.
983 (vc-annotate-background): Set default value to nil since now text on
984 the default backgrounds should be legible in light and dark modes.
985 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
988 2014-07-08 Juri Linkov <juri@jurta.org>
990 * simple.el (transpose-chars): Don't move point into read-only area.
993 2014-07-08 Juri Linkov <juri@jurta.org>
995 * window.el (with-displayed-buffer-window): New macro.
996 (with-temp-buffer-window, with-current-buffer-window):
997 Use `macroexp-let2' to evaluate and bind variables
998 in the same order as macro arguments.
999 (display-buffer--action-function-custom-type):
1000 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1002 * minibuffer.el (minibuffer-completion-help): Replace
1003 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1004 with actions that display *Completions* at-bottom when called
1005 from the minibuffer, or below-selected in a normal buffer.
1006 Associate `window-height' with `fit-window-to-buffer'.
1007 Let-bind `pop-up-windows' to nil.
1009 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1010 instead of `with-current-buffer-window'. (Bug#17809)
1012 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1014 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1015 (hide-ifdef-env-backup): New variable.
1016 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1017 New customizable variables.
1018 (hif-clear-all-ifdef-defined): New defun.
1019 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1020 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1021 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1022 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1023 Fix bug to hide the correct #elif region(s).
1024 (hif-range-elif): New defun.
1025 (hif-recurse-level): New var.
1026 (hif-evaluate-region, hif-evaluate-macro): New defun.
1027 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1029 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1032 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1034 * net/dbus.el (dbus-peer-handler): New defun.
1035 (dbus-register-service): Register it. (Bug#17858)
1036 (dbus-managed-objects-handler): Fix docstring.
1038 2014-07-04 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1040 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1041 (narrow-to-defun): New arg include-comments, defaulting to it
1044 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1047 different calling convention to rectangle--unhighlight-for-redisplay.
1049 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1051 * net/tramp.el (tramp-call-process): Handle error strings.
1053 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1055 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1056 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1058 * net/trampver.el: Update release number.
1060 2014-07-03 Juri Linkov <juri@jurta.org>
1062 * desktop.el (desktop-save): Rename arg `auto-save' to
1063 `only-if-changed'. Doc fix. (Bug#17873)
1065 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1068 Use insert-for-yank (bug#17271).
1070 2014-07-03 Leo Liu <sdl.web@gmail.com>
1072 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1073 Support lexical-binding.
1075 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * vc/log-edit.el (log-edit-goto-eoh): New function.
1078 (log-edit--match-first-line): Use it (bug#17861).
1080 2014-07-03 Glenn Morris <rgm@gnu.org>
1082 * vc/log-edit.el (log-edit-hook): Add missing :version.
1084 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1086 * progmodes/python.el (python-indent-post-self-insert-function):
1087 Enhancements to electric indentation behavior inside
1090 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1093 buffer-invisibility-spec (bug#17867).
1095 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1097 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1100 2014-07-03 Glenn Morris <rgm@gnu.org>
1102 * cus-edit.el (help):
1103 * finder.el (finder-known-keywords):
1104 * help.el (help-for-help-internal):
1105 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1106 (ediff-redraw-registry-buffer):
1107 * vc/ediff-ptch.el (ediff-patch-file-internal):
1108 Doc fixes re "online" help. (Bug#17803)
1110 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1111 (idlwave-mode): Doc URL update.
1113 2014-07-01 Juri Linkov <juri@jurta.org>
1115 * man.el: Display man pages immediately and use process-filter
1116 to format them asynchronously.
1117 (Man-width): Doc fix.
1119 (Man-start-calling): Use `with-selected-window' to get
1120 `frame-width' and `window-width'.
1121 (Man-getpage-in-background): Call `Man-notify-when-ready'
1122 immediately after creating a new buffer. Call `Man-mode' and set
1123 `mode-line-process' in the created buffer. Set process-filter to
1124 `Man-bgproc-filter' in start-process branch. In call-process branch
1125 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1126 Use `Man-start-calling' inside `with-current-buffer'.
1127 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
1128 (Man-cleanup-manpage): Don't print messages.
1129 (Man-bgproc-filter): New function.
1130 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1131 user moved it during asynchronous formatting. Move calls of
1132 `Man-fontify-manpage' and `Man-cleanup-manpage' to
1133 `Man-bgproc-filter'. Move the call of `Man-mode' to
1134 `Man-getpage-in-background'. Use `quit-restore-window'
1135 instead of `kill-buffer'. Use `message' instead of `error'
1136 because errors are caught by process sentinel.
1137 (Man-mode): Move calls of `Man-build-page-list',
1138 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1139 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
1141 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1142 for the message about the man page cleaned up.
1144 2014-07-01 Mario Lang <mlang@delysid.org>
1146 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1147 cosutomization option `gnutls-verify-error'.
1149 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1151 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1152 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1154 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1155 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1156 is suspended (bug#17857).
1158 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
1160 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1161 Prefer utf-8 coding. (Bug#17859)
1163 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1165 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1168 2014-06-30 Glenn Morris <rgm@gnu.org>
1170 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1171 (autoload-ensure-default-file): Maybe make existing output writable.
1172 * Makefile.in (AUTOGEN_VCS): Remove.
1173 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1175 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1177 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1179 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1181 New if-let, when-let, thread-first and thread-last macros.
1183 * emacs-lisp/subr-x.el
1184 (internal--listify, internal--check-binding)
1185 (internal--build-binding-value-form, internal--build-binding)
1186 (internal--build-bindings): New functions.
1187 (internal--thread-argument, thread-first, thread-last)
1188 (if-let, when-let): New macros.
1190 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
1192 * net/rcirc.el (rcirc-buffer-process): Restore previous
1193 behaviour. (Bug#17772)
1195 2014-06-29 Alan Mackenzie <acm@muc.de>
1197 Don't call c-parse-state when c++-template-syntax-table is active.
1198 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1199 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1200 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1202 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1204 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1205 account for file-wide setting of todo-top-priorities-overrides.
1206 Make code a bit cleaner.
1208 2014-06-28 Glenn Morris <rgm@gnu.org>
1210 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1212 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1214 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1215 category-wide setting of todo-top-priorities-overrides, check for
1216 a file-wide setting and fontify accordingly.
1218 2014-06-28 Glenn Morris <rgm@gnu.org>
1220 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1222 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
1226 2014-06-28 K. Handa <handa@gnu.org>
1230 * composite.el: Setup composition-function-table for dotted circle.
1231 (compose-gstring-for-dotted-circle): New function.
1233 * international/characters.el: Add category "^" to all
1234 non-spacing characters.
1236 2014-06-28 Glenn Morris <rgm@gnu.org>
1238 * Makefile.in (doit): Remove force rule.
1239 (custom-deps, finder-data, autoloads, update-subdirs)
1240 (compile-one-process): PHONY targets do not need force rules.
1242 * Makefile.in (compile-main, compile, compile-always):
1243 No need to explicitly pass variables to ourself in recursive calls.
1245 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1247 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1249 2014-06-26 Glenn Morris <rgm@gnu.org>
1251 * Makefile.in (update-authors): Update for moved authors.el.
1253 2014-06-26 Leo Liu <sdl.web@gmail.com>
1255 * skeleton.el (skeleton-end-hook): Default to nil and move the
1256 work to skeleton-insert. (Bug#17850)
1258 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
1260 * calc/calc-alg.el (math-beforep):
1261 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1262 Simplify because string-lessp can accept symbols as args.
1264 2014-06-26 Daiki Ueno <ueno@gnu.org>
1266 * emacs-lisp/package.el (package--check-signature):
1267 If package-check-signature is allow-unsigned, don't signal error when
1268 we can't verify signature because of missing public key
1271 2014-06-26 Glenn Morris <rgm@gnu.org>
1273 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1274 Remove outdated declaration.
1276 * emacs-lisp/authors.el (authors-valid-file-names)
1277 (authors-renamed-files-alist): Additions.
1279 2014-06-26 Leo Liu <sdl.web@gmail.com>
1281 * textmodes/picture.el (picture-set-tab-stops):
1282 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1283 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1285 * progmodes/asm-mode.el (asm-calculate-indentation):
1286 Use indent-next-tab-stop.
1288 * indent.el (indent-accumulate-tab-stops): New function.
1290 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1292 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1293 (package-desc-status): Obey it.
1295 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1297 * calendar/todo-mode.el: Fix two bugs.
1298 (todo-insert-item--basic): If user cancels item insertion to
1299 another category before setting priority, show original category
1300 whether it is in the same or a different file.
1301 (todo-set-item-priority): After selecting category, instead of
1302 moving point to top, which extends an active region, restore it.
1304 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * help-fns.el (describe-function-1): Check file-name is a string before
1307 calling help-fns--autoloaded-p (bug#17564).
1309 2014-06-26 Juri Linkov <juri@jurta.org>
1311 * desktop.el (desktop-auto-save-enable)
1312 (desktop-auto-save-disable): New functions.
1313 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1314 (desktop-read): Disable the autosave before loading the desktop,
1315 and enable afterwards. (Bug#17351)
1317 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1319 Fix some indentation problem with \; and pipes (bug#17842).
1320 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1321 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1323 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1324 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1325 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1327 2014-06-26 Glenn Morris <rgm@gnu.org>
1329 * emacs-lisp/find-func.el (find-function-C-source-directory):
1330 Use file-accessible-directory-p.
1332 * ps-samp.el: Make it slightly less awful.
1333 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1334 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1335 Only set local values.
1336 (ps-article-subject, ps-article-author): Use standard functions
1337 like mail-fetch-field.
1338 (ps-info-file, ps-info-node): Use match-string.
1339 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1340 (ps-samp-ps-setup): ... new function.
1342 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1343 Optimize away code unneeded on any modern Emacs.
1345 * emacs-lisp/authors.el: Move to ../admin.
1347 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1349 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
1351 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1352 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1353 performance enhancements.
1354 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
1356 (hif-factor, hif-string-concatenation, intern-safe): Support string
1357 concatenation and argumented macro expansion.
1358 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1359 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1360 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1361 (hif-canonicalize-tokens, hif-place-macro-invocation)
1362 (hif-parse-macro-arglist): Mostly new functions for supporting
1363 argumented macro expansion.
1364 (hif-string-concatenation, hif-stringify, hif-token-concat)
1365 (hif-token-stringification, hif-token-concatenation):
1366 Stringification and concatenation.
1367 (hif-find-next-relevant): Fix comments.
1368 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1369 some cases involving #elif.
1370 (hif-find-define, hif-add-new-defines): New functions for automatically
1371 scanning of defined symbols.
1372 (hide-ifdef-guts): Fix for defined symbol auto scanning.
1373 (hide-ifdef-undef): Fix behavior to match CPP.
1375 2014-06-25 Glenn Morris <rgm@gnu.org>
1377 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1378 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1379 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1380 files. They are not relevant to the original issue (bug#1004),
1381 and cause unnecessary recompilation (bug#2151).
1383 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * play/landmark.el: Use lexical-binding and avoid `intangible'.
1386 (landmark--last-pos): New var.
1387 (landmark--intangible-chars): New const.
1388 (landmark--intangible): New function.
1389 (landmark-mode, landmark-move): Use it.
1390 (landmark-mode): Remove properties.
1391 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1392 (landmark-cross-qtuple):
1393 Don't worry about `intangible' any more.
1394 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1395 (landmark-init-display): Don't set `intangible' and `point-entered'.
1396 (square): Remove. Inline it instead.
1397 (landmark--distance): Rename from `distance'.
1398 (landmark-calc-distance-of-robot-from): Rename from
1399 calc-distance-of-robot-from.
1400 (landmark-calc-smell-internal): Rename from calc-smell-internal.
1402 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
1404 * files.el (dir-locals-find-file, file-relative-name):
1405 * info.el (Info-complete-menu-item):
1406 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1407 to compare-strings to avoid out-of-range errors.
1408 * subr.el (string-prefix-p): Adjust to match strict range
1409 checking in compare-strings.
1411 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
1413 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1414 for comment lines non-greedy and stopping at newlines to fix stack
1415 overflows with large files.
1417 2014-06-24 Eli Barzilay <eli@barzilay.org>
1419 * calculator.el (calculator-last-input): Drop 'ascii-character property
1422 2014-06-24 Leo Liu <sdl.web@gmail.com>
1424 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1425 tab-stop-list to nil. (Bug#16381)
1427 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1428 (indent-rigidly-left-to-tab-stop)
1429 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1430 (move-to-tab-stop): Change callers.
1432 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1434 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1435 wrt behavior of \n as the first/last element of a skeleton.
1437 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
1439 * net/tramp-adb.el (tramp-adb-handle-process-file):
1440 * net/tramp-sh.el (tramp-sh-handle-process-file):
1441 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1442 the output buffer when DISPLAY is non-nil. (Bug#17815)
1444 2014-06-24 Glenn Morris <rgm@gnu.org>
1446 * play/landmark.el (landmark-move-down, landmark-move-up):
1447 Fix 2007-10-20 change - preserve horizontal position.
1449 2014-06-23 Sam Steingold <sds@gnu.org>
1451 * simple.el (kill-append): Remove undo boundary depending on ...
1452 (kill-append-merge-undo): New user option.
1454 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * simple.el (handle-shift-selection, exchange-point-and-mark)
1457 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1458 (transient-mark-mode): Use&set the global value.
1459 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1460 * emulation/edt.el (edt-emulation-off): Save&restore the global
1461 transient-mark-mode setting.
1462 * obsolete/pc-select.el (pc-selection-mode): Use the
1463 transient-mark-mode function.
1465 2014-06-23 Eli Zaretskii <eliz@gnu.org>
1467 * international/fontset.el (script-representative-chars):
1468 Add representative characters for scripts added in Unicode 7.0.
1469 (otf-script-alist): Synchronize with the latest registry of OTF
1472 * international/characters.el (char-script-table): Update for
1473 scripts added and codepoint ranges changed in Unicode 7.0.
1475 2014-06-23 Eli Barzilay <eli@barzilay.org>
1477 * calculator.el (calculator-standard-displayer): Fix bug in use of
1478 `calculator-groupize-number'.
1479 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1480 `eval' code, so it works in v24.3.1 too.
1481 (calculator-last-input): Comment to clarify purpose.
1483 2014-06-22 Mario Lang <mlang@delysid.org>
1485 * textmodes/rst.el (rst-comment-region): From from -> from.
1487 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1489 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
1491 * electric.el (electric-layout-post-self-insert-function):
1492 * emacs-lisp/ert.el (ert--insert-infos):
1493 * obsolete/vi.el (vi-set-mark):
1494 * term.el (term-handle-scroll):
1495 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1496 * wid-edit.el (widget-editable-list-value-create):
1497 Prefer point-marker to copy-marker of point.
1499 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1501 Fix completion retrieval parsing (bug#17209).
1502 * progmodes/python.el (python-mode):
1503 (python-util-strip-string): New function.
1504 (python-shell-completion-get-completions): Use it.
1506 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1508 * skeleton.el (skeleton-insert): Fix last change.
1510 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1512 Enhancements for outline integration (bug#17796).
1513 * progmodes/python.el (python-mode): Properly set
1514 outline-heading-end-regexp so that comments after colons for
1515 defuns are supported.
1517 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1519 * skeleton.el (skeleton-insert): Doc fix.
1521 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1524 (smie-config-guess): Use smie-config-local so the rules are obeyed
1527 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1528 since it's already done inside the loop (bug#17819).
1530 2014-06-21 Martin Rudalics <rudalics@gmx.at>
1532 * mouse.el (mouse-drag-line): Re-remove code initially removed
1533 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1536 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1538 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1539 align with the surrounding parent (bug#17721).
1541 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1543 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1545 (texinfo-insert-block, texinfo-insert-@end)
1546 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1547 local setting of skeleton-end-newline by adding an explicit \n to
1548 the skeletons where appropriate. (Bug#17801)
1550 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1553 (smie-indent--hanging-p): Use it.
1554 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1556 2014-06-21 Leo Liu <sdl.web@gmail.com>
1558 * simple.el (read-quoted-char): Don't let help chars pop up help
1561 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1566 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1567 Drop unknown events instead of burping.
1569 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1571 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1572 and later. (Bug#17790)
1574 2014-06-21 Juri Linkov <juri@jurta.org>
1576 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1577 to `soft'. (Bug#17554)
1579 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1584 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
1586 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1587 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1589 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
1591 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1592 `unread-command-events'.
1594 2014-06-19 William Xu <william.xwl@gmail.com>
1596 * progmodes/hideif.el (hif-string-to-number): Don't return float for
1597 hex integer constants (bug#17807).
1599 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1601 * international/mule-util.el (truncate-string-ellipsis): New var.
1602 (truncate-string-to-width): Use it.
1604 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
1606 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1607 (lisp-string-in-doc-position-p): New function, extracted from
1608 lisp-font-lock-syntactic-face-function.
1609 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1611 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
1613 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
1615 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1617 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1618 (bubbles--game-over): Don't add `intangible' properties since they
1621 2014-06-18 Juri Linkov <juri@jurta.org>
1623 * vc/ediff-init.el (ediff-current-diff-Ancestor)
1624 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1625 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1626 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1627 Add `min-colors 88' version with removed black/white foregrounds.
1630 2014-06-18 Juri Linkov <juri@jurta.org>
1632 * vc/diff-mode.el (diff-changed): Empty face definition to use
1633 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
1634 (diff-context): Use darker color on light background and
1635 lighter color on dark background.
1637 2014-06-18 Juri Linkov <juri@jurta.org>
1639 * vc/diff-mode.el (diff-refine-changed): Rename from
1640 `diff-refine-change' for consistency with `diff-changed'.
1641 (diff-refine-change): Add obsolete face alias. (Bug#10181)
1643 * vc/smerge-mode.el (smerge-refined-changed): Rename from
1644 `smerge-refined-change'.
1645 (smerge-refined-change): Add obsolete face alias.
1647 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * rect.el (rectangle-preview): New custom.
1650 (rectangle): New group.
1651 (rectangle--pos-cols): Add `window' argument.
1652 (rectangle--string-preview-state, rectangle--string-preview-window):
1654 (rectangle--string-flush-preview, rectangle--string-erase-preview)
1655 (rectangle--space-to, rectangle--string-preview): New functions.
1656 (string-rectangle): Use them.
1657 (rectangle--inhibit-region-highlight): New var.
1658 (rectangle--highlight-for-redisplay): Obey it. Make sure
1659 `apply-on-region' uses the point-crutches of the right window.
1660 Use :align-to rather than multiple spaces.
1662 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
1664 * ruler-mode.el (ruler-mode-window-col)
1665 (ruler-mode-mouse-set-left-margin)
1666 (ruler-mode-mouse-set-right-margin): Fix calculation of column
1667 from mouse position (Bug#17768).
1669 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
1671 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1672 without varname or rhs causes crash.
1673 (dun-ftp): Fix bug where blank ftp password is allowed, making it
1674 impossible to win endgame.
1675 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1677 (dun-help): Bump version number; update contact info.
1679 2014-06-15 Eli Barzilay <eli@barzilay.org>
1681 * calculator.el (calculator-prompt, calculator-remove-zeros)
1682 (calculator-mode-hook, calculator-operators, calculator-stack)
1683 (calculator-mode): Tweak docstring.
1684 (calculator-user-operators): Tweak docstring, fix a bug in the last
1686 (calculator-displayer): `std' case has an optional boolean.
1687 (calculator-displayers): Use the new boolean to group in decimal mode.
1688 (calculator-mode-map, calculator, calculator-message)
1689 (calculator-op-arity, calculator-add-operators)
1690 (calculator-string-to-number, calculator-displayer-prev)
1691 (calculator-displayer-next, calculator-remove-zeros)
1692 (calculator-eng-display, calculator-number-to-string)
1693 (calculator-update-display, calculator-last-input)
1694 (calculator-clear-fragile, calculator-digit, calculator-decimal)
1695 (calculator-exp, calculator-saved-move, calculator-clear)
1696 (calculator-copy, calculator-put-value, calculator-help)
1697 (calculator-expt, calculator-truncate): Minor code improvements.
1698 (calculator-need-3-lines): New function pulling out code from
1700 (calculator-get-display): Rename from `calculator-get-prompt', and
1702 (calculator-push-curnum): Rename from `calculator-curnum-value', and
1703 extended for all uses of it. All callers changed.
1704 (calculator-groupize-number): New utility for splitting a number into
1706 (calculator-standard-displayer): Improve code, new optional argument to
1707 use comma-split groups, make second argument optional too to use with
1708 'left/'right inputs. All callers changed.
1709 (calculator-reduce-stack-once): New utility, doing the meat of what
1710 `calculator-reduce-stack' used to do, much improved (mostly using
1711 `pcase' for conciseness and clarity).
1712 (calculator-reduce-stack): Now doing just the reduction loop using
1713 `calculator-reduce-stack-once'.
1714 (calculator-funcall): Improve code, make it work in v24.3.1 too.
1715 (calculator-last-input): Improve code, remove some old cruft.
1716 (calculator-quit): Kill `calculator-buffer' in electric mode too.
1717 (calculator-integer-p): Remove.
1718 (calculator-fact): Improve code, make it work on non-integer values
1719 too (using truncated numbers).
1721 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1723 Sync with Tramp 2.2.10.
1725 * net/tramp.el (tramp-methods): Tweak docstring.
1726 (tramp-handle-file-accessible-directory-p): Check for
1727 `file-readable-p' instead of `file-executable-p'.
1728 (tramp-check-cached-permissions):
1729 Use `tramp-compat-file-attributes'.
1730 (tramp-call-process): Add new argument VEC. Adapt callees in all
1733 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1734 (tramp-adb-maybe-open-connection): Don't set
1735 `tramp-current-*' variables.
1737 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1738 file properties of temporary buffers.
1740 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1742 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1743 (tramp-gvfs-handle-delete-file): Flush file
1744 properties, not directory properties.
1745 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1746 reading "unix::mode".
1747 (tramp-gvfs-handle-file-name-all-completions):
1748 Use "-h" option for "gvfs-ls".
1749 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1750 (tramp-gvfs-send-command): Simplify traces.
1752 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1753 (vc-git-program, vc-hg-program): Declare.
1754 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
1755 (tramp-methods) <nc>: Add new method.
1756 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1757 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1759 (tramp-default-user-alist): Add "nc".
1760 (top): Remove completion function for "sftp". Add completion
1761 functions for "nc" and "psftp".
1762 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1763 Implement support for "nc" method.
1764 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1765 (tramp-remote-coding-commands, tramp-call-local-coding-command):
1767 (tramp-sh-handle-write-region): Tweak error message.
1768 (tramp-sh-handle-vc-registered): Remove backends when the remote
1769 binary does not exist.
1770 (tramp-find-inline-encoding): Do not raise an error.
1771 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
1772 the "nc" case. Quote result also locally.
1774 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1775 (tramp-smb-handle-set-file-acl): Use `start-process'.
1776 (tramp-smb-handle-insert-directory): Use progress reporter.
1777 (tramp-smb-handle-rename-file): Flush also file properties of
1780 * net/trampver.el: Update release number.
1782 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1786 (ses-localvars): Remove ses--local-printer-list, unused.
1787 (ses--metaprogramming): New macro. Use it to defvar variables.
1788 (ses-set-localvars): Simplify.
1789 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
1790 property-list into an alist.
1791 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1792 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1793 Remove; use defstruct accessors/setters instead.
1794 (ses-cell-formula-aset, ses-cell-printer-aset)
1795 (ses-cell-references-aset): Remove, use setf instead.
1796 (ses--alist-get): New function.
1797 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1798 Use an alist instead of a plist and don't do move-to-front since the
1799 list is always short.
1800 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1801 (ses-cell-property-set-fun, ses-cell-property-set)
1802 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1803 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1804 (ses--letref): New macro.
1805 (ses-cell-property-pop): Rewrite.
1806 (ses--cell): Rename from ses-cell and make it into a function.
1807 Make `formula' fallback on `value' if nil.
1808 (ses--local-printer): Rename from ses-local-printer and make it into
1810 (ses-set-cell): Turn it into a macro so finding the accessor from the
1811 field name is done at compile time.
1812 (ses-repair-cell-reference-all): Test presence of `sym' rather than
1813 `ref' before adding `sym' to :ses-repair-reference.
1814 (ses-calculate-cell): Use ses--letref rather than
1815 ses-cell-property-get-handle.
1816 (ses-write-cells): Use a single prin1-to-string.
1817 (ses-setter-with-undo): New function.
1818 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1819 (ses-unset-with-undo): Remove.
1820 (ses-load): Prefer apply' over `eval'.
1821 (ses-read-printer, ses-set-column-width): Use standard "(default
1824 2014-06-15 Glenn Morris <rgm@gnu.org>
1826 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1828 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1829 Replace delete-duplicates and mapcan by cl- versions throughout.
1830 And cl-macroexpand-all by macroexpand-all.
1831 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1833 2014-06-15 Eli Zaretskii <eliz@gnu.org>
1835 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1837 2014-06-15 Juri Linkov <juri@jurta.org>
1839 * bindings.el: Put `ascii-character' property on keypad keys
1840 mapped to characters. (Bug#17759)
1842 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1844 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1845 bumping forward into a closing paren (bug#17761).
1847 * term/xterm.el (xterm--version-handler): Work around for OSX
1848 Terminal.app (bug#17607).
1850 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
1852 * play/dunnet.el (dun-describe-room, dun-mode):
1853 If a lamp is in the room, you won't be eaten by a grue.
1855 2014-06-13 Glenn Morris <rgm@gnu.org>
1857 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1858 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1859 (compile-always): GNU make automatically passes
1860 command-line arguments to sub-makes.
1862 * calendar/calendar.el (calendar-generate-window):
1863 Remove pointless call to font-lock-fontify-buffer.
1865 2014-06-13 Matthias Meulien <orontee@gmail.com>
1867 * simple.el (completion-list-mode-map): Navigate with tab and backtab
1870 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * simple.el (set-mark-command): Simplify a bit.
1874 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1876 * help.el (help--key-binding-keymap): New function.
1877 (help--binding-locus): New function.
1878 (describe-key): Mention the keymap in which the binding was
1881 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * hippie-exp.el (he--all-buffers): New function.
1884 (try-expand-line-all-buffers, try-expand-list-all-buffers)
1885 (try-expand-dabbrev-all-buffers): Use it.
1887 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
1889 * hippie-exp.el (try-expand-line-all-buffers)
1890 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1891 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1892 original buffer, in case they're buffer-local.
1894 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
1896 * ses.el (ses-initial-global-parameters-re): New defconst, a
1897 specific regexp is needed now that ses.el can handle both
1898 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1900 (ses-localvars): Add local variables needed for local printer handling.
1901 (ses-set-localvars): Handle hashmap initialisation.
1902 (ses-paramlines-plist): Add param-line for number of local printers.
1903 (ses-paramfmt-plist): New defconst, needed for code factorization
1904 between functions `ses-set-parameter' and
1905 `ses-file-format-extend-paramter-list'
1906 (ses-make-local-printer-info): New defsubst.
1907 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1908 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1909 (ses-cell-printer-aset): New defmacro.
1910 (ses-local-printer-compile): New defun.
1911 (ses-local-printer): New defmacro.
1912 (ses-printer-validate, ses-call-printer): Add support for local
1914 (ses-file-format-extend-paramter-list): New defun.
1915 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1917 (ses-load): Add support for local printer functions.
1918 (ses-read-printer): Update docstring and add support for local printer
1920 (ses-refresh-local-printer, ses-define-local-printer): New defun.
1921 (ses-safe-printer): Add support for local printer functions.
1923 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
1925 * ffap.el (ffap-lax-url): New var (bug#17723).
1926 (ffap-url-at-point): Use it.
1927 (ffap-file-at-point): Avoid returning just "/".
1929 2014-06-12 Matthias Meulien <orontee@gmail.com>
1931 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1932 (python-mode-map): Bind it.
1934 * progmodes/python.el (class skeleton): Don't erase last char of class
1937 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
1939 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1941 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
1943 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1946 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1948 * international/mule-cmds.el: Use lexical-binding.
1949 (ucs-names): Simplify.
1951 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
1953 * progmodes/python.el (run-python): Use read-shell-command.
1955 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * rect.el: Make it possible to move bounds past EOL or into TABs.
1958 (operate-on-rectangle): Use apply-on-rectangle.
1959 (rectangle--mark-crutches): New var.
1960 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1961 (rectangle--crutches, rectangle--reset-crutches): New functions.
1962 (apply-on-rectangle): Obey crutches. Avoid setq.
1963 Fix missing final iteration if end is at EOB&BOL.
1964 (rectangle-mark-mode-map): Add remap bindings for
1965 exchange-point-and-mark and char/line movements.
1966 (rectangle--*-char): New function.
1967 (rectangle-exchange-point-and-mark, rectangle-right-char)
1968 (rectangle-left-char, rectangle-forward-char)
1969 (rectangle-backward-char, rectangle-next-line)
1970 (rectangle-previous-line): New commands.
1971 (rectangle--place-cursor): New function.
1972 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
1974 2014-06-08 Glenn Morris <rgm@gnu.org>
1976 * startup.el (initial-buffer-choice): Doc fix.
1977 Reset :version (adding an option does not merit a :version bump).
1979 * bookmark.el (bookmark-load):
1980 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1982 2014-06-08 Juri Linkov <juri@jurta.org>
1984 * desktop.el: Activate auto-saving on window configuration changes.
1985 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1986 `desktop-auto-save-set-timer' to/from
1987 `window-configuration-change-hook'.
1988 (desktop-auto-save-set-timer): Change REPEAT arg of
1989 `run-with-idle-timer' from t to nil.
1990 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1992 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
1994 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1995 vc-hg-command (bug#17570).
1997 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1999 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2002 2014-06-08 Glenn Morris <rgm@gnu.org>
2004 * startup.el (window-setup-hook): Doc fix.
2006 * emacs-lisp/package.el (package-check-signature)
2007 (package-unsigned-archives): Doc fixes.
2009 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2011 * window.el (display-buffer-use-some-window): Don't make window
2012 used smaller than it was before (Bug#17671).
2014 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2016 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2017 'redisplay' instead of '(sit-for 0)'.
2019 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2021 * net/tramp.el (tramp-ssh-controlmaster-options):
2022 Improve search regexp. (Bug#17653)
2024 2014-06-08 Glenn Morris <rgm@gnu.org>
2026 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2028 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2030 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2032 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2034 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2037 * vc/vc-hg.el (vc-hg-log-graph): New var.
2038 (vc-hg-print-log): Use it.
2039 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2040 graph output (bug#17515).
2042 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2044 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2045 even happened elsewhere.
2047 2014-06-06 Mario Lang <mlang@delysid.org>
2049 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2050 `recenter' if `current-buffer' is equal to `window-buffer'.
2052 2014-06-05 Leo Liu <sdl.web@gmail.com>
2054 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2056 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2058 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2059 New function which calls a callback on portions of the buffer that are
2060 outside of ignored environments.
2061 (tildify-build-regexp): Remove function since it is now
2062 incorporated in `tildify-foreach-region-outside-env' where it is
2063 optimised and simplified by the use of `mapconcat'.
2064 (tildify-tildify): Return number of substitutions made so that…
2065 (tildify-count): …can be removed.
2066 (tildify-find-env): Accept a new PAIRS argument which was
2067 previously looked up in `tildify-ignored-environments-alist' each
2068 time the function was called. With this change, the lookup is
2069 performed only once in `tildify-foreach-region-outside-env'.
2070 (tildify-region): Greatly simplify the function since now most of
2071 the work is done by `tildify-foreach-region-outside-env'.
2072 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2073 and instead using or.
2075 * textmodes/tildify.el (tildify-ignored-environments-alist):
2076 Optimise environments regexes
2078 Each time beginning of an environment to ignore is found,
2079 `tildify-find-env' needs to identify regexp for the ending
2080 of the environment. This is done by trying all the opening
2081 regexes on matched text in a loop, so to speed that up, this
2082 loop should have fewer things to match, which can be done by
2083 using alternatives in the opening regexes.
2085 Coincidentally, this should make matching of the opening
2086 regexp faster as well thanks to the use of `regexp-opt' and
2087 having common prefix pulled from many regexes.
2089 * textmodes/tildify.el (tildify-string-alist)
2090 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2091 of supported modes since `xml-mode' is no longer a thing but just
2092 an alias to the former. Also include comments and insides of tags
2093 in `tildify-ignored-environments-alist' for XML modes. Finally,
2094 since XML does not define “ ”[1], use a numeric reference for
2095 a no-break space (namely “ ”)
2097 [1] XML specification defines only a handful of predefined entities.
2098 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2099 and includes only <, >, &, ' and " (meaning <,
2100 >, &, ' and " respectively). This is in contrast to HTML and even
2101 XHTML which defined a whole bunch of entities including “ ”.
2103 * textmodes/tildify.el (tildify-pattern-alist)
2104 (tildify-string-alist, tildify-ignored-environments-alist):
2105 Improve defcustom's types by adding more tags explaining what each
2106 value means and replace “sexp” used in
2107 `tildify-ignored-environments-alist' with a full type declaration.
2109 * textmodes/tildify.el (tildify-find-env): Fix matched group
2110 indexes in end-regex building
2112 When looking for a start of an ignore-environment, the regex is built
2113 by concatenating regexes of all the environments configured in
2114 `tildify-ignored-environments-alist'. So for example, the following
2115 list could be used to match TeX's \verb and \verb* commands:
2117 (("\\\\verb\\(.\\)" . (1))
2118 ("\\\\verb\\*\\(.\\)" . (1)))
2120 This would result in the following regex being used to find the start
2121 of any of the variants of the \verb command:
2123 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2125 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2126 won't match anything, and thus (match-string 1) will be nil, which
2127 will cause building of the end-matching regex to fail.
2129 Fix this by using capture groups from the time when the opening
2130 regexes are matched individually.
2132 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2133 in `tildify-find-env'
2135 The `tildify-ignored-environments-alist' allows the end-regex to
2136 be provided not as a static string but mix of strings and indexes
2137 of groups matched the begin-regex. For example, the “\verb!…!”
2138 TeX-command (where “!” is an arbitrary character) is handled
2141 ("\\\\verb\\*?\\(.\\)" . (1))
2143 In the same way, the following should be supported as well:
2145 ("open-\\(.\\)" . ("end-" 1))
2147 However the tildify-find-env function fails at
2150 (if (stringp (setq aux (car expression)))
2151 expression ; BUG: expression is a list
2152 (regexp-quote (match-string aux))))
2154 where the string part is handled incorrectly.
2156 The most trivial fix would be to replace `expression' in the
2157 true-part of the if-statement with `aux', but instead, this commit
2158 optimises `tildify-find-env' by changing it to use `mapconcat'
2159 rather than open-coded while-loop.
2161 2014-06-05 Mario Lang <mlang@delysid.org>
2163 * woman.el (woman-mapcan): Remove.
2164 (woman-parse-colon-path): Use cl-mapcan instead.
2166 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2168 * register.el: Add link to Emacs manual in Commentary.
2170 2014-06-02 Sam Steingold <sds@gnu.org>
2172 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2173 (popup-menu): ...here.
2174 (menu-bar-open): Use it to avoid an error when `lookup-key'
2177 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
2179 * net/tramp.el (tramp-call-process): Add traces.
2180 (tramp-handle-unhandled-file-name-directory): Return "/".
2182 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
2184 Sync with upstream verilog-mode revision 3cd8144.
2185 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2186 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2187 (verilog-type-font-keywords): Add nor.
2188 (verilog-batch-execute-func): Force reading of Local Variables.
2189 Fix printing "no changes to be saved" with verilog-batch.
2190 (verilog-auto-arg-ports): Doc fix.
2191 Add verilog-auto-arg-format to support newlines in AUTOARG.
2192 (verilog-auto-arg): Doc fix.
2194 2014-06-02 Glenn Morris <rgm@gnu.org>
2196 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2197 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2198 * emulation/ws-mode.el: Move to obsolete/.
2199 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2201 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2203 * simple.el (keyboard-quit): Force update of mode lines, to remove
2204 the "Def" indicator, if we were defining a macro. (Bug#17615)
2206 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * minibuffer.el (minibuffer-force-complete-and-exit):
2209 Obey minibuffer-default (bug#17545).
2211 * progmodes/js.el (js-indent-line): Don't mix columns and chars
2214 * subr.el (set-transient-map): Don't wait for some "nested"
2215 transient-map to finish if we're only supposed to be active for
2216 the next command (bug#17642).
2218 2014-06-02 Leo Liu <sdl.web@gmail.com>
2220 * emacs-lisp/gv.el (window-buffer, window-display-table)
2221 (window-dedicated-p, window-hscroll, window-point, window-start):
2222 Fix gv-expander. (Bug#17630)
2224 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2229 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2230 for the single comma, since ", " is *very* common in normal French text
2233 2014-06-02 Glenn Morris <rgm@gnu.org>
2235 * emacs-lisp/package.el (package-check-signature)
2236 (package-unsigned-archives): Fix :version.
2238 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2240 * subr.el (sit-for): Don't run input-methods (bug#15614).
2242 2014-06-02 Glenn Morris <rgm@gnu.org>
2244 * cus-start.el: Fix some :version numbers.
2246 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * simple.el (deactivate-mark): Set mark-active to nil even if
2249 deactivation is done via setting transient-mark-mode to nil,
2250 since one is buffer-local and the other is global.
2252 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2253 there can't be more than 2 arguments (bug#17584).
2255 2014-06-02 Glenn Morris <rgm@gnu.org>
2257 * simple.el (filter-buffer-substring-functions)
2258 (filter-buffer-substring-function, buffer-substring-filters)
2259 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2261 * minibuffer.el (completion-in-region-functions, completion-in-region)
2262 (completion--in-region): Doc fixes.
2264 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2265 (expand-abbrev, abbrev--default-expand): Doc fixes.
2267 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
2269 Include sources used to create macuvs.h.
2270 * international/README: Refer to the Unicode Terms of Use rather
2271 than copying it bodily here, as that simplifies maintenance.
2273 2014-06-01 Glenn Morris <rgm@gnu.org>
2275 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
2277 2014-05-31 Glenn Morris <rgm@gnu.org>
2279 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
2281 2014-05-30 Glenn Morris <rgm@gnu.org>
2283 * loadup.el: Treat `command-line-args' more flexibly.
2285 2014-05-30 Alan Mackenzie <acm@muc.de>
2287 Guard (looking-at "\\s!") from XEmacs.
2288 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2290 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
2292 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2293 The argument COUNT is now optional, to be more backward-compatible.
2294 Doc fix. (Bug#17560)
2296 2014-05-29 Reuben Thomas <rrt@sc3d.org>
2298 * whitespace.el (whitespace-report-region):
2299 Simplify documentation.
2300 (whitespace-report-region): Allow report-if-bogus to take the
2301 value `never', for non-interactive use.
2302 (whitespace-report): Refer to whitespace-report-region's
2305 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * whitespace.el: Use font-lock-flush. Minimize refontifications.
2308 Side benefit: it works without jit-lock.
2309 (whitespace-point--used): New buffer-local var.
2310 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
2311 (whitespace-color-off): Use font-lock-flush.
2312 (whitespace-point--used, whitespace-point--flush-used): New functions.
2313 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2314 (whitespace-empty-at-eob-regexp): Use them.
2315 (whitespace-post-command-hook): Rewrite.
2317 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2318 (font-lock-fontify-buffer): Mark interactive-only.
2319 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2321 (font-lock-specified-p): Remove redundant boundp check.
2322 (font-lock-flush-function, font-lock-ensure-function): New vars.
2323 (font-lock-turn-on-thing-lock): Set them.
2324 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2325 (font-lock-after-change-function): Make `old-len' optional.
2326 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2327 Call font-lock-flush, just in case.
2328 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2330 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2331 (vera-mode-map, vera-mode-menu): Remove bindings to it.
2332 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2333 and with-syntax-table.
2334 * textmodes/conf-mode.el (conf-quote-normal):
2335 * progmodes/sh-script.el (sh-set-shell):
2336 * progmodes/prog-mode.el (prettify-symbols-mode):
2337 * progmodes/f90.el (f90-font-lock-n):
2338 * progmodes/cwarn.el (cwarn-mode):
2339 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2340 * progmodes/compile.el (compilation-setup, compilation--unsetup):
2341 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2342 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2343 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2344 font-lock-fontify-buffer-function and
2345 font-lock-unfontify-buffer-function.
2346 (rmail-unfontify-buffer-function, rmail-fontify-message):
2347 Use with-silent-modifications.
2348 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2349 and font-lock-ensure.
2350 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2352 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
2354 * emacs-lisp/package.el (package-generate-autoloads):
2355 Inhibit backup files.
2357 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2362 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
2364 * textmodes/tildify.el (tildify-buffer, tildify-region):
2365 Add dont-ask option.
2367 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
2370 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2372 * subr.el (internal--funcall-interactively): New.
2373 (internal--call-interactively): Remove.
2374 (called-interactively-p): Detect funcall-interactively instead of
2376 * simple.el (repeat-complex-command): Use funcall-interactively.
2377 (repeat-complex-command--called-interactively-skip): Remove.
2379 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * register.el (register-read-with-preview): Don't burp on
2382 frame switches (e.g. due to the frame we just popped).
2384 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2385 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2387 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
2389 * cus-face.el (custom-face-attributes): Add :distant-foreground.
2391 2014-05-26 Martin Rudalics <rudalics@gmx.at>
2393 * window.el (window--dump-frame): Remove interactive specification.
2395 2014-05-26 Glenn Morris <rgm@gnu.org>
2397 * hippie-exp.el (he-line-search-regexp):
2398 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
2400 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2402 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2403 to avoid errors when trying to create or visit a file foo.todo
2404 located outside to todo-directory, and to allow having such files
2405 without them being tied to Todo mode (bug#17482).
2406 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2407 (todo-archive-done-item, todo-find-filtered-items-file)
2408 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2409 (todo-category-completions, todo-read-category): When visiting a
2410 Todo file, make sure we're in the right mode and the buffer local
2412 (todo-make-categories-list, todo-reset-nondiary-marker)
2413 (todo-reset-done-string, todo-reset-comment-string):
2414 After processing all Todo files, kill the buffers of those files that
2415 weren't being visited before the processing.
2416 (todo-display-as-todo-file, todo-add-to-buffer-list)
2417 (todo-visit-files-commands): Comment out.
2418 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2419 (auto-mode-alist): Remove add-to-list calls making Todo file
2420 extensions unrestrictedly tied to Todo modes.
2422 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2425 (advice-function-member-p): Tell it to check both names and functions
2427 (advice--add-function): Adjust call accordingly.
2429 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2431 * calendar/todo-mode.el: Miscellaneous bug fixes.
2432 (todo-delete-file): When deleting an archive but not its todo
2433 file, make sure to update the todo file's category sexp.
2434 (todo-move-category): Keep the moved category's name unless the
2435 file moved to already has a category with that name. If the
2436 numerically last category of the source file was moved, make the
2437 first category current to avoid selecting a nonexisting category.
2438 (todo-merge-category): Fix implementation to make merging to a
2439 category in another file work as documented. Eliminate now
2440 insufficient and unnecessary renaming of archive category, correct
2441 document string accordingly, and clarify it. If the numerically
2442 last category of the source file was merged, make the first
2443 category current to avoid selecting a nonexisting category.
2444 (todo-archive-done-item): When there are marked items and point
2445 happens to be on an unmarked item, ignore the latter. Don't leave
2446 point below last item after archiving marked items.
2447 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2448 from an archive with only one category deletes the archive only
2449 when the category is empty after unarchiving. Make sure the todo
2450 file's category sexp is updated.
2451 (todo-read-file-name): Allow an existing file name even when it is
2452 not required (todo-move-category needs this to work as documented).
2453 (todo-add-file): Call todo-validate-name to reject the name of an
2454 existing todo file (needed due to fix in todo-read-file-name).
2455 (todo-reset-nondiary-marker): Also reset in filtered items files.
2456 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2457 regexp filtered items files.
2458 (todo-reset-highlight-item): Also reset in filtered items files.
2459 Fix incorrect variable reference in document string.
2461 2014-05-26 Glenn Morris <rgm@gnu.org>
2463 * window.el (window--dump-frame): Avoid error in --without-x builds.
2465 2014-05-26 Glenn Morris <rgm@gnu.org>
2467 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2469 2014-05-26 Eli Zaretskii <eliz@gnu.org>
2471 * frame.el (set-frame-font): Doc fix.
2473 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2475 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
2477 * emacs-lisp/package.el (package--download-one-archive):
2478 Use `write-region' instead of `save-buffer' to avoid running various
2480 (describe-package-1): Same. Insert newline at the end of the
2481 buffer if appropriate.
2483 2014-05-26 Juri Linkov <juri@jurta.org>
2485 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2486 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2487 Add more modifiers: meta, control, shift, hyper, super, alt.
2490 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2491 to allow changing its value with `set-variable'.
2493 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2495 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2497 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2499 (scheme-mode-variables): Set syntax-propertize-function instead of
2500 font-lock-syntactic-face-function.
2501 (scheme-font-lock-syntactic-face-function): Delete.
2503 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2505 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2508 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
2510 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2511 for a temporary file name.
2513 2014-05-26 Eli Zaretskii <eliz@gnu.org>
2515 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2517 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
2519 * net/dbus.el (dbus-init-bus, dbus-call-method)
2520 (dbus-call-method-asynchronously, dbus-send-signal)
2521 (dbus-method-return-internal, dbus-method-error-internal):
2522 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2524 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2526 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2527 methods which do not have a doc string. (Bug#17490)
2529 2014-05-25 Tassilo Horn <tsdh@gnu.org>
2531 * textmodes/reftex-ref.el (reftex-format-special): Make it work
2532 also for AMS Math's \eqref macro.
2534 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2536 Arrange to never byte-compile the generated -pkg.el file.
2538 * emacs-lisp/package.el (package-generate-description-file):
2539 Output first-line comment to set buffer-local var `no-byte-compile'.
2540 Suggested by Dmitry Gutov:
2541 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2543 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2545 Fix bug: Properly quote args to generated -pkg.el `define-package'.
2547 * emacs-lisp/package.el (package-generate-description-file):
2548 Inline `package--alist-to-plist'; rewrite to selectively
2549 quote alist values that are not self-quoting.
2550 (package--alist-to-plist): Delete func.
2552 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
2554 * term/xterm.el (xterm-function-map): Add mapping for shifted
2557 2014-05-24 Daniel Colascione <dancol@dancol.org>
2559 * progmodes/subword.el (subword-find-word-boundary): Move point to
2560 correct spot before search. (Bug#17580)
2562 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2565 2014-05-24 Leo Liu <sdl.web@gmail.com>
2567 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
2569 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2571 * minibuffer.el (completion--sreverse): Remove.
2572 (completion--common-suffix): Use `reverse' instead.
2573 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2575 2014-05-22 Glenn Morris <rgm@gnu.org>
2577 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2579 2014-05-21 Daniel Colascione <dancol@dancol.org>
2581 * files.el (interpreter-mode-alist): Add mksh.
2583 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2585 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2586 mksh. Improve custom spec; allow regular expressions.
2587 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2588 (sh-after-hack-local-variables): New function.
2589 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2590 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2592 (sh-canonicalize-shell): Rewrite to support regexes.
2594 2014-05-21 Leo Liu <sdl.web@gmail.com>
2596 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2598 2014-05-19 Leo Liu <sdl.web@gmail.com>
2600 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2602 2014-05-18 Glenn Morris <rgm@gnu.org>
2605 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2607 2014-05-14 Sam Steingold <sds@gnu.org>
2609 * progmodes/python.el (python-shell-get-or-create-process):
2610 Do not bind `current-prefix-arg' so that C-c C-z does not talk
2611 back unless requested.
2613 2014-05-14 Glenn Morris <rgm@gnu.org>
2615 * subr.el (with-file-modes): New macro.
2616 * printing.el (pr-save-file-modes): Make obsolete.
2617 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2618 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2619 Add with-file-modes.
2620 * doc-view.el (doc-view-make-safe-dir):
2621 * epg.el (epg--start):
2622 * files.el (locate-user-emacs-file, make-temp-file)
2623 (backup-buffer-copy, move-file-to-trash):
2624 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2625 * eshell/esh-util.el (eshell-with-private-file-modes)
2626 (eshell-make-private-directory):
2627 * net/browse-url.el (browse-url-mosaic):
2628 * obsolete/mailpost.el (post-mail-send-it):
2629 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2630 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2631 Use with-file-modes.
2633 * vc/emerge.el (emerge-make-temp-file): Simplify.
2635 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2636 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2641 2014-05-14 Glenn Morris <rgm@gnu.org>
2643 * vc/emerge.el (emerge-temp-file-prefix):
2644 Make pointless option obsolete.
2645 (emerge-temp-file-mode): Make non-functional option obsolete.
2647 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
2649 * net/browse-url.el (browse-url):
2650 Use `unhandled-file-name-directory' when setting `default-directory',
2651 in order to circumvent stalled remote connections. (Bug#17425)
2653 2014-05-14 Glenn Morris <rgm@gnu.org>
2655 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2656 Optimize on Emacs, which has the relevant functions for ages.
2658 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * simple.el (undo-make-selective-list): Obey undo-no-redo.
2662 2014-05-12 Sam Steingold <sds@gnu.org>
2664 * calendar/time-date.el (seconds-to-string): New function to
2665 pretty print time delay in seconds.
2667 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2669 * mpc.el (mpc-format): Trim Date to the year.
2670 (mpc-songs-hashcons): Shorten the Date field.
2672 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2673 into autoloading just because of a silly indirection.
2675 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2677 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2679 2014-05-12 Glenn Morris <rgm@gnu.org>
2681 * emacs-lisp/find-gc.el: Move to ../admin.
2683 * printing.el (pr-version):
2684 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2686 * net/browse-url.el (browse-url-mosaic):
2687 Create /tmp/Mosaic.PID as a private file.
2689 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2691 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2692 (advice--member-p): If name is given, only compare the name.
2693 (advice--remove-function): Don't stop at the first match.
2694 (advice--normalize-place): New function.
2695 (add-function, remove-function): Use it.
2696 (advice--add-function): Pass the name, if any, to
2697 advice--remove-function.
2699 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2701 * electric.el (electric-indent-post-self-insert-function): Don't use
2702 `pos' after modifying the buffer (bug#17449).
2704 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
2706 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2707 Correct argument list to conform to todo-insert-item--basic.
2709 2014-05-12 Glenn Morris <rgm@gnu.org>
2711 * files.el (cd-absolute): Test if directory is accessible
2712 rather than executable. (Bug#17330)
2714 * progmodes/compile.el (recompile):
2715 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2717 * net/browse-url.el (browse-url-mosaic):
2718 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2719 This is CVE-2014-3423.
2721 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * mouse.el: Use the normal toplevel loop while dragging.
2724 (mouse-set-point): Handle multi-clicks.
2725 (mouse-set-region): Handle multi-clicks for drags.
2726 (mouse-drag-region): Update call accordingly.
2727 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2728 Use the normal event loop instead of a local while/read-event loop.
2729 (global-map): Remove redundant bindings for double/triple-mouse-1.
2730 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2731 Generate synthetic down events when the protocol only sends up events.
2732 (xterm-mouse-last): Remove.
2733 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2734 terminal parameter instead.
2735 (xterm-mouse--set-click-count): New function.
2736 (xterm-mouse-event): Detect/generate double/triple clicks.
2737 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2739 * info.el (Info-quoted): New face.
2740 (Info-mode-font-lock-keywords): New var.
2741 (Info-mode): Use it.
2743 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2744 are a hindrance for C-x C-e.
2746 2014-05-11 Leo Liu <sdl.web@gmail.com>
2748 * net/rcirc.el (rcirc-sentinel): Fix last change.
2750 2014-05-08 Sam Steingold <sds@gnu.org>
2752 * net/rcirc.el (rcirc-reconnect-delay): New user option.
2753 (rcirc-sentinel): Auto-reconnect to the server if
2754 `rcirc-reconnect-delay' is non-0 (but not more often than its
2755 value in case the host is off-line).
2757 2014-05-09 Eli Zaretskii <eliz@gnu.org>
2759 * progmodes/grep.el (lgrep): Fix a typo in last commit.
2761 2014-05-09 Glenn Morris <rgm@gnu.org>
2763 * files.el (file-expand-wildcards):
2764 * man.el (Man-support-local-filenames):
2765 * printing.el (pr-i-directory, pr-interface-directory):
2766 * progmodes/grep.el (lgrep, rgrep):
2767 * textmodes/ispell.el (ispell-call-process)
2768 (ispell-call-process-region, ispell-start-process)
2769 (ispell-init-process): Use file-accessible-directory-p.
2771 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2773 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2774 (xterm-mouse--read-event-sequence-1000): Return nil if something
2776 (xterm-mouse-event): Propagate it.
2777 (xterm-mouse-translate-1): Handle it.
2779 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
2781 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2782 four slots of the parameter list are filled, make sure to pass it
2783 to the argument list of todo-insert-item--basic.
2785 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2787 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2788 Add optional `seen' argument to detect and break infinite loops.
2790 2014-05-08 Eli Zaretskii <eliz@gnu.org>
2792 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2793 (trace-unsafe, trace-use-tree): Make parentheses style be
2794 according to Emacs style.
2796 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
2798 * net/tramp-sh.el (tramp-remote-process-environment):
2799 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2801 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2802 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2803 extra "PSx=..." commands.
2804 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2807 (tramp-uudecode): Replace the hard-coded temporary file name by a
2809 (tramp-remote-coding-commands): Enhance docstring.
2810 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2812 This is CVE-2014-3424.
2814 2014-05-08 Glenn Morris <rgm@gnu.org>
2816 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2817 (find-gc-source-files): Update some names.
2818 (trace-call-tree): Simplify and update.
2819 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2820 This is CVE-2014-3422.
2822 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2824 * minibuffer.el (completion--try-word-completion): Revert fix for
2825 Bug#15980 (bug#17375).
2827 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2828 Always store button numbers in the same way in xterm-mouse-last;
2829 Don't burp is xterm-mouse-last is not set as expected.
2830 Never return negative indices.
2832 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
2834 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2835 Backtrack one char if the global/char-literal var matcher hits
2836 inside a string. The next char could be the beginning of an
2837 expression expansion.
2839 2014-05-08 Glenn Morris <rgm@gnu.org>
2841 * help-fns.el (describe-function-1): Test for an autoload before a
2842 macro, since `macrop' works on autoloads. (Bug#17410)
2844 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2846 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2848 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2849 Make sure the new point we return is within the new string (bug#17239).
2851 2014-05-05 Daniel Colascione <dancol@dancol.org>
2853 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2854 Port `gnu' pattern to rx.
2856 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
2858 Remove unneeded prompt when closing a buffer with active
2859 emacsclient ("Buffer ... still has clients"), #16548.
2860 * server.el (server-start): Remove the only call to:
2861 (server-kill-buffer-query-function): Remove.
2863 2014-05-04 Leo Liu <sdl.web@gmail.com>
2865 * calendar/diary-lib.el (calendar-chinese-month-name-array):
2866 Defvar to pacify compiler.
2868 2014-05-04 Eli Zaretskii <eliz@gnu.org>
2870 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2872 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2875 Use nil rather than `default' for the "default" appearance (bug#17388).
2876 * vc/ediff-util.el (ediff-inferior-compare-regions)
2877 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2878 a misleading `default' value when it's really a boolean.
2879 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2880 overlay is not visible.
2882 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
2884 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2885 (todo-menu): Uncomment and update.
2887 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
2889 * calendar/todo-mode.el: Reimplement item editing to have the same
2890 basic user interface as item insertion, and make small UI and
2891 larger internal improvements to the latter.
2892 (todo-insert-item): Add reference to the Todo mode user manual to
2893 the documentation string.
2894 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2895 adjust all callers. Change signature to combine diary and
2896 nonmarking arguments. Incorporate functionality of deleted item
2897 copying command and add error checking. Remove detailed
2898 descriptions of the arguments from the documentation string, since
2899 this is treated in the Todo mode user manual.
2900 (todo-copy-item, todo-edit-multiline-item)
2901 (todo-edit-done-item-comment, todo-edit-item-header)
2902 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2903 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2904 (todo-edit-item-date-year, todo-edit-item-date-month)
2905 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2907 (todo-edit-item): Reimplement as wrapper command for
2908 todo-edit-item--next-key and make it distinguish done and not done
2910 (todo-edit-item--text): New function, replacing old command
2911 todo-edit-item and incorporating deleted commands
2912 todo-edit-multiline-item and todo-edit-done-item-comment.
2913 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2914 Use only numeric value of prefix argument. Remove detailed
2915 descriptions of the arguments from the documentation string, since
2916 this is treated in the Todo mode user manual.
2917 (todo-edit-item--diary-inclusion): New function, replacing old
2918 command todo-edit-item-diary-inclusion and incorporating and fixing
2919 functionality of deleted command todo-edit-item-diary-nonmarking,
2920 making sure to remove todo-nondiary-marker when adding
2921 diary-nonmarking-symbol.
2922 (todo-edit-category-diary-inclusion): Make sure to delete
2923 diary-nonmarking-symbol when adding todo-nondiary-marker.
2924 (todo-edit-category-diary-nonmarking): Fix indentation.
2925 (todo-insert-item--parameters): Group diary and nonmarking
2926 parameters together.
2927 (todo-insert-item--apply-args): Adjust to signature of
2928 todo-insert-item--basic and incorporate copy parameter.
2929 Make small code improvements.
2930 (todo-insert-item--next-param): Improve prompt and adjust it to
2931 new parameter grouping. Remove obsolete code.
2932 (todo-edit-item--param-key-alist)
2933 (todo-edit-item--date-param-key-alist)
2934 (todo-edit-done-item--param-key-alist): New defconsts.
2935 (todo-edit-item--prompt): New variable.
2936 (todo-edit-item--next-key): New function.
2937 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2938 Remove bindings of deleted commands.
2940 2014-05-04 Leo Liu <sdl.web@gmail.com>
2942 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2944 2014-05-04 Glenn Morris <rgm@gnu.org>
2946 * allout-widgets.el (allout-widgets-tally)
2947 (allout-decorate-item-guides):
2948 * menu-bar.el (menu-bar-positive-p):
2949 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2950 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2951 * progmodes/js.el (js--inside-param-list-p)
2952 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2953 * progmodes/prolog.el (region-exists-p):
2954 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2955 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2956 Doc fixes (replace `iff').
2958 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2962 2014-05-04 Leo Liu <sdl.web@gmail.com>
2964 Support Chinese diary entries in calendar and diary. (Bug#17393)
2965 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2966 (calendar-chinese-from-absolute-for-diary)
2967 (calendar-chinese-to-absolute-for-diary)
2968 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2969 (diary-chinese-list-entries): New functions to list and mark
2970 Chinese diary entries in the calendar window.
2971 (diary-chinese-anniversary)
2972 (diary-chinese-insert-anniversary-entry)
2973 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2974 (diary-chinese-insert-yearly-entry): New commands to insert
2975 Chinese diary entries.
2977 * calendar/diary-lib.el (diary-font-lock-keywords):
2978 Support font-locking Chinese dates.
2980 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2981 inserting Chinese diary entries.
2983 * calendar/calendar.el (diary-chinese-entry-symbol):
2984 New customizable variable.
2985 (calendar-mode-map): Add bindings for inserting Chinese diary
2988 2014-05-03 Juri Linkov <juri@jurta.org>
2990 * dired.el (dired-check-switches, dired-switches-recursive-p):
2991 New functions. (Bug#17218)
2992 (dired-switches-escape-p, dired-move-to-end-of-filename):
2993 Use `dired-check-switches'.
2994 (dired-insert-old-subdirs, dired-build-subdir-alist)
2995 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2997 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
2999 * simple.el (undo-make-selective-list): New algorithm fixes
3000 incorrectness of position adjustments when undoing in region.
3002 (undo-elt-crosses-region): Make obsolete.
3003 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3004 New functions to adjust positions using undo-deltas.
3006 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3009 the last consecutive closing paren (bug#17345).
3011 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3013 * dired.el (dired-mode): make terminology for eXpunge command
3014 consistent. (Bug#17276)
3016 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3018 * dired.el (dired-initial-position-hook, dired-initial-position):
3021 2014-04-30 Glenn Morris <rgm@gnu.org>
3023 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3025 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3027 * faces.el (face-spec-recalc): Apply X resources only after the
3028 defface spec has been applied. Thus, X resources are no longer
3029 overriden by the defface spec which also fixes issues on win32 where
3030 the toolbar coloring was wrong because it is set through X resources
3031 and was (wrongfully) overriden. (Bug#16694)
3033 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3035 * textmodes/rst.el (electric-pair-pairs): Declare.
3036 (rst-mode): Set it (bug#17131).
3038 2014-04-30 Juri Linkov <juri@jurta.org>
3040 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3041 and `print-level' to nil. (Bug#17351)
3043 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3045 * battery.el (battery-update): Handle the case where battery
3046 status is "N/A" (bug#17319).
3048 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3051 to syntax-propertize.
3052 (ps-mode-auto-indent): Mark as obsolete.
3053 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3054 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3055 word regexp operators.
3056 (ps-mode-map): Move initialization into declaration. Remove binding
3057 for TAB, RET, >, ], and }.
3058 (ps-mode-syntax-table): Move initialization into declaration.
3059 Don't give word syntax to non-word chars.
3060 (ps-run-mode-map): Move initialization into declaration.
3061 (ps-mode-menu-main): Remove auto-indent entry.
3062 (ps-mode-smie-rules): New function.
3063 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3064 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3065 (ps-mode--string-syntax-table): New const.
3066 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3068 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3069 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3071 2014-04-27 Daniel Colascione <dancol@dancol.org>
3073 * term/xterm.el (xterm-paste): Use large finite timeout when
3074 reading event to avoid putting keys in this-command-keys.
3076 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3078 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3079 (perl-syntax-propertize-function): Use it. Extend handling of
3080 here-docs to the unquoted case.
3082 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3084 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3085 Use equal-including-properties to compare help-echo strings (bug#17331).
3087 2014-04-25 Leo Liu <sdl.web@gmail.com>
3089 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3090 Fix syntax for @. (Bug#17325)
3092 2014-04-25 Daniel Colascione <dancol@dancol.org>
3094 * emacs-lisp/cl.el (gv): Require gv early to break eager
3095 macro-expansion cycles.
3097 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * simple.el (region-active-p): Check there's a mark (bug#17324).
3101 * simple.el (completion-list-mode-map): Use choose-completion for the
3102 mouse binding as well (bug#17302).
3103 (completion-list-mode, completion-setup-function): Adjust docstring and
3104 echo area message accordingly.
3105 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3106 calling convention of choose-completion.
3107 * comint.el (comint-dynamic-list-completions):
3108 * term.el (term-dynamic-list-completions): Accept choose-completion.
3110 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3111 &, |, +, - and * can't be a division (bug#17317).
3113 * term/xterm.el (xterm--version-handler): Don't use modern xterm
3114 features on gnome-terminal (bug#16988).
3116 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
3118 Improve Scheme font-locking for (define ((foo ...) ...) ...).
3120 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3121 the declared object, ignore zero or more parens, not zero or one.
3123 2014-04-24 Leo Liu <sdl.web@gmail.com>
3125 * progmodes/xscheme.el (xscheme-expressions-ring)
3126 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3127 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3128 (xscheme-allow-output-p, xscheme-prompt)
3129 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3131 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3132 Comment out unused functions.
3134 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3136 * info.el: Use lexical-binding and cl-lib.
3137 Use defvar-local and setq-local instead of make-local-variable.
3138 (Info-apropos-matches): Avoid add-to-list.
3139 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3141 2014-04-24 Daniel Colascione <dancol@dancol.org>
3143 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3145 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3149 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
3151 * dired.el (dired-insert-set-properties): Do not consider
3152 subdirectory headings and empty lines to be information that
3153 `dired-hide-details-mode' should hide. (Bug#17228)
3155 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3157 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3158 Remove test messages.
3159 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3162 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3164 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3165 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3167 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3169 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3171 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3172 Set "IFS=" when using read builtin, in order to preserve spaces in
3173 the file name. Add test messages for hunting a bug on hydra.
3174 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
3176 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3178 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3179 Don't prettify a word within a symbol.
3181 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3183 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3186 2014-04-22 Daniel Colascione <dancol@dancol.org>
3188 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3189 use defun to define `function-put'.
3191 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3194 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3195 (lisp-mode-variables): Set font-lock-extra-managed-props.
3197 * emacs-lisp/byte-run.el (function-put): New function.
3198 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
3199 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3200 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3203 2014-04-22 Daniel Colascione <dancol@dancol.org>
3205 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3206 Add `full-p' parameter; when nil, call `macroexpand' instead of
3209 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3212 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3213 Use lambda function values, not quoted lambdas.
3214 (byte-compile-recurse-toplevel): Remove extraneous &optional.
3216 * emacs-lisp/cl-macs.el
3217 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3218 (cl-struct-slot-value): Conditionally use aref or nth so that the
3219 compiler produces optimal code.
3221 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3224 (inline): Don't inline cl--set-elt.
3225 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3226 Define as inlinable instead.
3227 (cl-struct-set-slot-value): Remove.
3229 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3230 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3233 2014-04-21 Daniel Colascione <dancol@dancol.org>
3235 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3236 last two parameters after all.
3237 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3238 (cl--compiler-macro-assoc,cl-struct-slot-value)
3239 (cl-struct-set-slot-value): Stop using them.
3241 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3244 entry in image-mode-winprops-alist.
3246 2014-04-21 Daniel Colascione <dancol@dancol.org>
3248 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3249 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3250 (byte-compile-toplevel-file-form): Use it.
3252 * emacs-lisp/cl-macs.el:
3253 (cl--loop-let): Properly destructure `while' clauses.
3255 2014-04-20 Daniel Colascione <dancol@dancol.org>
3257 * vc/vc.el (vc-root-dir): New public autoloaded function for
3258 generically finding the current VC root.
3259 * vc/vc-hooks.el (vc-not-supported): New error.
3260 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3262 2014-04-20 Daniel Colascione <dancol@dancol.org>
3264 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3266 (cl--const-expr-val): cl--const-expr-val should macroexpand its
3267 argument in case we're inside a symbol-macrolet.
3268 (cl--do-arglist, cl--compiler-macro-typep)
3269 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3270 environment to `cl--const-expr-val'.
3271 (cl-struct-sequence-type,cl-struct-slot-info)
3272 (cl-struct-slot-offset, cl-struct-slot-value)
3273 (cl-struct-set-slot-value): New functions.
3275 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3277 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3278 assignments such as "case=hello" (bug#17297).
3280 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
3282 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3284 (tramp-file-name-handler, tramp-completion-file-name-handler):
3285 Revert patch from 2014-04-10, it isn't necessary anymore.
3286 (tramp-autoload-file-name-handler)
3287 (tramp-register-autoload-file-name-handlers): New defuns.
3288 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3289 (tramp-register-file-name-handlers): Remove also
3290 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3291 Do not autoload its invocation, but eval it after loading of 'tramp.
3293 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3295 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3297 2014-04-17 Daniel Colascione <dancol@dancol.org>
3299 Add support for bracketed paste mode; add infrastructure for
3300 managing terminal mode enabling and disabling automatically.
3303 (xterm-mouse-mode): Simplify.
3304 (xterm-mouse-tracking-enable-sequence)
3305 (xterm-mouse-tracking-disable-sequence): New constants.
3306 (turn-on-xterm-mouse-tracking-on-terminal)
3307 (turn-off-xterm-mouse-tracking-on-terminal):
3308 Use tty-mode-set-strings and tty-mode-reset-strings terminal
3309 parameters instead of random hooks.
3310 (turn-on-xterm-mouse-tracking)
3311 (turn-off-xterm-mouse-tracking): Delete.
3313 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3314 (xterm-paste-ending-sequence): New constant.
3315 (xterm-paste): New command used for bracketed paste support.
3317 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3318 (terminal-init-xterm-bracketed-paste-mode): New function.
3319 (terminal-init-xterm): Call it.
3320 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3321 and tty-mode-reset-strings instead of random hooks.
3322 (xterm-turn-on-modify-other-keys)
3323 (xterm-turn-off-modify-other-keys)
3324 (xterm-remove-modify-other-keys): Delete obsolete functions.
3326 * term/screen.el: Rewrite to just use the xterm code.
3327 Add copyright notice. Mention tmux.
3329 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
3331 * image-mode.el (image-mode-window-put): Also update the property of
3332 the "default window".
3333 * doc-view.el (doc-view-new-window-function): If no window
3334 exists, move to the last known page.
3336 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3339 here-documents (bug#17262).
3341 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3343 * term/pc-win.el (x-list-fonts, x-get-selection-value):
3344 Provide doc strings, as required by snarf-documentation.
3346 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3348 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3349 arg of overlays-at. Use `invisible-p'.
3351 * obsolete/lucid.el (extent-at):
3352 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3354 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3356 2014-04-16 João Távora <joaotavora@gmail.com>
3358 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3361 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3363 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3364 Use mapc to loop over a vector. (Bug#17257).
3366 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
3368 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3369 patch, there are new problems with file names containing spaces.
3370 Get rid of backticks. (Bug#17238)
3372 2014-04-16 João Távora <joaotavora@gmail.com>
3374 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3377 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3379 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3380 (blink-cursor-mode): Mention customization variables and the
3381 effect of 'blink-cursor-blinks'.
3383 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
3385 * simple.el (undo): Prevent insertion of identity mapping into
3386 undo-equiv-table so as undo-only does not inf loop in the presence
3387 of consecutive nils in undo list.
3389 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
3391 * faces.el (make-face): Deprecate optional argument as it is no
3392 longer needed/used since the conditional X resources handling
3393 has been pushed down to make-face-x-resource-internal itself.
3394 (make-empty-face): Don't pass optional argument to make-face.
3396 2014-04-16 Karl Fogel <kfogel@red-bean.com>
3398 * savehist.el (savehist-save): Remove workaround for a read-passwd
3399 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
3400 noticing that the shim was still present.
3402 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3404 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3406 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
3408 * faces.el (face-set-after-frame-default): Remove unused local variable.
3410 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3412 * progmodes/grep.el: Use lexical-binding.
3413 (grep-expand-template): Pass explicit lexical env to `eval'.
3414 (zrgrep): Let-bind grep-find-template explicitly.
3416 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3417 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3419 2014-04-12 Eli Zaretskii <eliz@gnu.org>
3421 * international/characters.el <standard-case-table>: Add entries
3422 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
3423 Set category of Coptic characters be 'g' (Greek).
3425 2014-04-12 Leo Liu <sdl.web@gmail.com>
3427 * progmodes/octave.el (completion-table-with-cache):
3428 Define if not available.
3429 (octave-goto-function-definition, octave-sync-function-file-names)
3430 (octave-find-definition-default-filename):
3431 Backquote upattern for compatibility.
3433 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
3435 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3436 name twice due to backticks. (Bug#17238)
3438 2014-04-12 Glenn Morris <rgm@gnu.org>
3440 * term/w32-win.el (x-win-suspend-error):
3441 * term/x-win.el (x-win-suspend-error): Sync docs.
3443 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
3445 * faces.el (make-face): Remove deprecated optional argument.
3446 The conditional application of X resources is handled directly by
3447 make-face-x-resource-internal since Emacs 24.4.
3448 (make-empty-face): Don't pass optional argument to make-face.
3450 2014-04-11 Glenn Morris <rgm@gnu.org>
3452 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
3454 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3456 Ediff's overlay priorities cause more trouble than they solve.
3457 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3458 (ediff-highest-priority): Remove function (bug#17234).
3459 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3460 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3461 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3464 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
3466 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3467 entry; use symbol boundaries to avoid mis-matches.
3469 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
3471 * net/tramp.el (tramp-file-name-handler)
3472 (tramp-completion-file-name-handler): Avoid recursive loading.
3474 * net/tramp-sh.el (tramp-make-copy-program-file-name):
3475 Quote result also locally.
3477 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3479 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3480 Remove left-over code.
3482 * newcomment.el (comment-indent-new-line): Sink code where it's used.
3483 Reuse the previous comment's indentation unconditionally if it's on its
3486 2014-04-09 Daniel Colascione <dancol@dancol.org>
3488 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3489 `no-syntax-crossing' arguments. Forward to `up-list'.
3490 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3491 Implement logic for escaping from strings. Use narrowing to deal
3494 2014-04-09 Leo Liu <sdl.web@gmail.com>
3496 * net/rcirc.el (rcirc-connection-info): New variable.
3497 (rcirc-connect): Use it to store connection info.
3498 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3500 (rcirc-cmd-reconnect): New command. (Bug#17045)
3501 (rcirc-mode, set-rcirc-encode-coding-system)
3502 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3504 2014-04-09 Daniel Colascione <dancol@dancol.org>
3506 * emacs-lisp/cl-indent.el: Add comment claiming
3507 facility is also good for elisp.
3508 (lisp-indent-find-method): New function.
3509 (common-lisp-indent-function): Recognize cl-loop.
3510 (common-lisp-indent-function-1): Recognize cl constructs; use
3511 `lisp-indent-find-method' instead of `get' directly.
3512 (if): Use else-body style for elisp.
3514 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
3516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3517 Module methods. (Bug#17216)
3519 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * help.el (describe-bindings): Fix buffer handling (bug#17210).
3522 (describe-bindings-internal): Mark obsolete.
3524 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3527 buffer-file-name, and buffer-file-truename any more.
3529 2014-04-08 Leo Liu <sdl.web@gmail.com>
3531 Use lexical-binding and require cl-lib.
3532 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3533 (rcirc-handler-generic, rcirc-fill-paragraph)
3534 (rcirc-format-response-string, rcirc-target-buffer)
3535 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3536 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3537 (rcirc-ctcp-sender-PING, rcirc-browse-url)
3538 (rcirc-markup-timestamp, rcirc-markup-attributes)
3539 (rcirc-markup-my-nick, rcirc-markup-urls)
3540 (rcirc-markup-bright-nicks, rcirc-markup-fill)
3541 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3542 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3543 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3544 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3545 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3546 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3547 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3548 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3549 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3550 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3553 2014-04-07 João Távora <joaotavora@gmail.com>
3555 * elec-pair.el (electric-pair--syntax-ppss):
3556 When inside comments parse from comment beginning.
3557 (electric-pair--balance-info): Fix typo in comment.
3558 (electric-pair--in-unterminated-string-p): Delete.
3559 (electric-pair--unbalanced-strings-p): New function.
3560 (electric-pair-string-bound-function): New var.
3561 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3562 according to `electric-pair--in-unterminated-string-p'
3564 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3565 Inhibit quote pairing if point-max is inside an unterminated string.
3566 (electric-pair--looking-at-unterminated-string-p): Delete.
3567 (electric-pair--in-unterminated-string-p): New function.
3569 2014-04-07 Glenn Morris <rgm@gnu.org>
3571 * shell.el (shell-directory-tracker):
3572 Go back to just ignoring failures. (Bug#17159)
3574 2014-04-07 João Távora <joaotavora@gmail.com>
3576 Fix `electric-pair-delete-adjacent-pairs' in modes binding
3577 backspace. (bug#16981)
3578 * elec-pair.el (electric-pair-backward-delete-char): Delete.
3579 (electric-pair-backward-delete-char-untabify): Delete.
3580 (electric-pair-mode-map): Bind backspace to a menu item filtering
3581 a new `electric-pair-delete-pair' command.
3582 (electric-pair-delete-pair): New command.
3584 * progmodes/python.el (python-electric-pair-string-delimiter):
3585 Fix triple-quoting electricity. (Bug#17192)
3587 * elec-pair.el (electric-pair-post-self-insert-function):
3588 Don't skip whitespace when `electric-pair-text-pairs' and
3589 `electric-pair-pairs' were used. syntax to
3590 electric-pair--skip-whitespace. (Bug#17183)
3592 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3594 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3597 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3600 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3602 2014-04-07 Glenn Morris <rgm@gnu.org>
3604 * help.el (view-lossage): Doc tweak.
3606 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
3608 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3609 only when inhibit-x-resources is nil, and do that earlier in the
3610 function. Doc fix. (Bug#16694)
3611 (face-spec-choose): Accept additional optional argument, whose
3612 value is returned if no matching attributes are found.
3613 (face-spec-recalc): Use the new optional argument when calling
3614 face-spec-choose. (Bug#16378)
3615 (make-face-x-resource-internal): Do nothing when
3616 inhibit-x-resources is non-nil. Don't touch the default face if
3617 reversed video is given--as was done in previous versions of Emacs.
3618 (face-set-after-frame-default): Don't call
3619 make-face-x-resource-internal here. (Bug#16434)
3621 2014-04-07 Tassilo Horn <tsdh@gnu.org>
3623 * doc-view.el (doc-view-bookmark-jump):
3624 Use `bookmark-after-jump-hook' to jump to the right page after the
3625 buffer is shown in a window. (bug#16090)
3627 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3629 * international/characters.el (mirroring): Fix last change:
3630 instead of loading uni-mirrored.el explicitly, do that implicitly
3631 by creating the 'mirroring' uniprop table. This avoids announcing
3632 the loading of uni-mirrored.el.
3634 2014-04-07 Glenn Morris <rgm@gnu.org>
3636 * files.el (buffer-stale--default-function)
3637 (buffer-stale-function, revert-buffer--default):
3638 * autorevert.el (auto-revert-buffers): Doc tweaks.
3640 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3642 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
3644 2014-04-07 Glenn Morris <rgm@gnu.org>
3646 * files.el (make-backup-file-name-function)
3647 (make-backup-file-name, make-backup-file-name--default-function)
3648 (make-backup-file-name-1, find-backup-file-name)
3649 (revert-buffer-function, revert-buffer-insert-file-contents-function)
3650 (buffer-stale--default-function, buffer-stale-function)
3651 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3652 (revert-buffer, revert-buffer--default)
3653 (revert-buffer-insert-file-contents--default-function):
3654 Doc fixes related to defaults no longer being nil.
3655 (make-backup-file-name-function): Bump :version.
3656 Restore nil as a valid but deprecated custom type.
3658 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3661 Handle $' used as a variable (bug#17174).
3663 * progmodes/perl-mode.el (perl-indent-new-calculate):
3664 Handle forward-sexp failure (bug#16985).
3665 (perl-syntax-propertize-function): Add "foreach" and "for" statement
3666 modifiers introducing expressions (bug#17116).
3668 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
3670 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3672 2014-04-05 Leo Liu <sdl.web@gmail.com>
3674 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3675 Add define-compilation-mode.
3677 2014-04-04 João Távora <joaotavora@gmail.com>
3679 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3680 parse from comment beginning.
3681 (electric-pair--balance-info): Fix typo in comment.
3682 (electric-pair--in-unterminated-string-p): Delete.
3683 (electric-pair--unbalanced-strings-p): New function.
3684 (electric-pair-string-bound-function): New var.
3685 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3686 according to `electric-pair--in-unterminated-string-p'.
3688 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3691 Move declaration before first use.
3692 (reftex-move-to-next-arg): Silence compiler warning.
3694 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
3696 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3697 Use `window-total-width' instead of `window-width'.
3699 2014-04-03 Daniel Colascione <dancol@dancol.org>
3701 * subr.el (set-transient-map): Remove rms's workaround entirely;
3702 use new `suspicious-object' subr to mark our lambda for closer
3705 2014-04-02 Richard Stallman <rms@gnu.org>
3707 * subr.el (set-transient-map): Comment out previous change.
3709 2014-04-02 Glenn Morris <rgm@gnu.org>
3711 * menu-bar.el (menu-bar-file-menu):
3712 * vc/ediff.el (ediff-current-file):
3713 Update for revert-buffer-function no longer being nil by default.
3715 * simple.el (command-execute): Respect nil disabled-command-function.
3717 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3719 * simple.el (command-execute): Do not execute the command when it
3720 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
3722 2014-04-02 Juri Linkov <juri@jurta.org>
3724 * dired-aux.el (dired-compress-file): Don't use string-match-p
3725 because its match data is used afterwards.
3727 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
3729 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3732 2014-04-02 João Távora <joaotavora@gmail.com>
3734 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3735 Inhibit quote pairing if point-max is inside an unterminated string.
3736 (electric-pair--looking-at-unterminated-string-p):
3738 (electric-pair--in-unterminated-string-p): New function.
3740 2014-04-01 Daniel Colascione <dancol@dancol.org>
3742 * minibuffer.el (minibuffer-complete): Prevent assertion failure
3743 when trying to complete the prompt.
3745 2014-03-31 Leo Liu <sdl.web@gmail.com>
3747 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3748 Refactor out eldoc-documentation-function-default.
3749 (eldoc-documentation-function-default): New function.
3750 (eldoc-documentation-function): Change value.
3752 2014-03-31 Glenn Morris <rgm@gnu.org>
3754 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3756 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3757 (vhdl-compose-components-package, vhdl-compose-configuration):
3758 Abbreviate default-directory (missing from some previous upstream sync).
3760 2014-03-31 Reto Zimmermann <reto@gnu.org>
3762 Sync with upstream vhdl mode v3.35.2.
3763 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3764 (top-level): No longer require assoc.
3765 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3766 New functions. Use throughout to replace aget etc.
3767 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3768 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3769 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3770 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3771 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3772 except `vhdl-compiler'.
3773 (vhdl-error-regexp-add-emacs): Remove all other compilers,
3776 2014-03-31 Glenn Morris <rgm@gnu.org>
3778 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3779 Revert 2014-03-26 merge goof; go back to using defalias.
3781 2014-03-30 Daniel Colascione <dancol@dancol.org>
3783 * comint.el (comint-send-input):
3784 Deactivate completion-in-region-mode before we send comint input.
3787 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3790 2014-03-29 Glenn Morris <rgm@gnu.org>
3792 * textmodes/reftex.el: Manage most autoloads automatically.
3793 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3794 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3795 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3796 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3797 * textmodes/reftex-toc.el: Set generated-autoload-file,
3798 and add autoload cookies for reftex.el.
3799 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3801 2014-03-28 Glenn Morris <rgm@gnu.org>
3803 * cus-start.el (report-emacs-bug-address): Set custom properties.
3804 * mail/emacsbug.el (report-emacs-bug-address):
3805 Variable is now defined in emacs.c.
3807 * mail/emacsbug.el (report-emacs-bug):
3808 Include system-configuration-features.
3810 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
3812 * simple.el (cycle-spacing): Never delete spaces on first run by
3813 default, but do so in a new 'fast mode and if there are already
3814 N spaces (the previous behavior).
3815 Compare N with its value in previous invocation so that changing
3816 prefix argument restarts `cycle-spacing' sequence.
3817 The idea is that with this change, binding M-SPC to
3818 `cycle-spacing' should not introduce any changes in behavior of
3819 the binding so long as users do not type M-SPC twice in a raw with
3820 the same prefix argument or lack thereof.
3822 2014-03-28 Glenn Morris <rgm@gnu.org>
3824 * faces.el (term-file-aliases): New variable.
3825 (tty-run-terminal-initialization): Respect term-file-aliases.
3826 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3827 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3828 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3830 2014-03-27 Glenn Morris <rgm@gnu.org>
3832 * startup.el (inhibit-startup-hooks): Doc tweak.
3833 (normal-top-level): Simplify running of hooks.
3834 For window-setup-hook, respect inhibit-startup-hooks.
3835 (command-line-1): Don't set window-setup-hook to nil.
3837 Allow selective autoloading from obsolete/ directory.
3838 * Makefile.in (obsolete-autoloads): New rule.
3839 (autoloads): Run obsolete-autoloads.
3840 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3841 * simple.el (iswitchb-mode): Remove hand-written autoloads.
3843 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
3845 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3846 Highlight special globals with font-lock-builtin-face. (Bug#17057)
3848 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3849 Don't propertize `?' or `!' as symbol constituent when after
3852 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
3854 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3855 which is no longer needed and causes trouble in GTK builds (bug#17046).
3857 * emacs-lisp/package-x.el (package--archive-contents-from-url):
3858 Use url-insert-file-contents; package-handle-response no longer exists.
3860 2014-03-26 Daniel Colascione <dancol@dancol.org>
3862 * simple.el (process-menu-mode-map): New variable.
3863 (process-menu-delete-process): New command.
3865 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
3867 * emacs-lisp/package.el: Fix bug#16733 (again).
3868 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3869 (url-http-target-url): Remove unused declarations.
3870 (package-handle-response): Remove.
3871 (package--with-work-buffer): Use url-insert-file-contents and simplify.
3872 (package--download-one-archive): Use current-buffer instead of
3873 dynamic binding of `buffer'.
3874 (describe-package-1): Do not decode readme-string.
3876 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
3878 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3880 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3881 from 2014-03-07, it decreases performance unnecessarily. Let-bind
3882 `remote-file-name-inhibit-cache' to nil in the second pass.
3883 (tramp-find-executable): Do not call "which" on SunOS.
3884 (tramp-send-command-and-check): Fix docstring.
3885 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3886 check whether source directory has set the sticky bit.
3888 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
3890 * simple.el (primitive-undo): Only process marker adjustments
3891 validated against their corresponding (TEXT . POS). Issue warning
3892 for lone marker adjustments in undo history. (Bug#16818)
3893 (undo-make-selective-list): Add marker adjustments to selective
3894 undo list based on whether their corresponding (TEXT . POS) is in
3895 the region. Remove variable adjusted-markers, which was unused
3896 and only non nil during undo-make-selective-list.
3897 (undo-elt-in-region): Return nil when passed a marker adjustment
3898 and explain in function doc.
3900 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3902 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3904 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
3906 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3907 Match special global variables without curlies, too.
3908 (ruby-font-lock-keywords): Simplify the matcher for special global
3909 variables. Don't require a non-word character after the variable.
3912 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3914 * simple.el (redisplay-highlight-region-function): Increase priority of
3915 overlay to make sure boundaries are visible (bug#15899).
3917 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
3919 * frameset.el (frameset--initial-params): Fix typo in parameter name.
3920 (frameset-restore): Compare display strings with equal.
3922 * frame.el (make-frame): Don't quote display name in error message,
3923 it is already a string.
3925 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3927 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3930 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
3932 * emacs-lisp/package.el (package--add-to-archive-contents):
3933 Include already installed and built-in packages in
3934 `package-archive-contents'.
3935 (package-install): Don't include already installed packages in the
3936 options during interactive invocation. (Bug#16762)
3937 (package-show-package-list): If the buffer is already displayed in
3938 another window, switch to that window.
3940 2014-03-26 Reto Zimmermann <reto@gnu.org>
3942 Sync with upstream vhdl mode v3.35.1.
3943 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3944 (vhdl-compiler-alist): Doc fix.
3945 (vhdl-goto-line): Remove.
3946 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3947 (vhdl-mode) <paragraph-start>: Fix value.
3948 (vhdl-fix-statement-region): Not `for' in wait-statement.
3949 (vhdl-beautify-region): Also (un)tabify.
3950 (vhdl-get-visible-signals):
3951 Scan declarative part of generate statements.
3952 (vhdl-template-record): Fix indentation for record type declaration.
3953 (vhdl-expand-abbrev, vhdl-expand-paren):
3954 Revert to using fset again rather than defalias.
3955 (vhdl-scan-directory-contents): Tweak.
3956 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3957 (vhdl-compose-components-package):
3958 Replace vhdl-goto-line with forward-line.
3959 (top-level): Tweak speedbar frame selection.
3960 (vhdl-generate-makefile-1): Support for compilers with no
3961 unit-to-file name mapping (create directory with dummy files).
3963 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
3965 Sync with upstream verilog-mode revision 702457d.
3966 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3967 (create-lockfiles): Declare.
3968 (verilog-read-decls): Fix module header imports, bug709.
3969 Reported by Victor Lau.
3970 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
3971 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3972 interface-only modules, bug721. Reported by Dean Hoyt.
3974 2014-03-26 Glenn Morris <rgm@gnu.org>
3976 * obsolete/gulp.el: Move here from emacs-lisp/.
3978 * files.el (lock-buffer, unlock-buffer, file-locked-p):
3979 Remove fallback aliases, since they are always defined now.
3981 2014-03-24 Daniel Colascione <dancol@dancol.org>
3983 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3984 instead of cl-loop search function.
3986 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
3988 * calendar/parse-time.el (parse-time-iso8601-regexp)
3989 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
3992 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
3994 * net/dns.el (network-interface-list): Define for XEmacs.
3996 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
3998 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3999 the network interfaces changed.
4000 (dns-query): Use it to flush the data.
4002 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4004 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4006 2014-03-23 Daniel Colascione <dancol@dancol.org>
4008 Change subword-mode to use `find-word-boundary-function-table' and
4009 replace `capitalized-words-mode'. Also, convert to lexical binding.
4010 * progmodes/cap-words.el: Delete now-obsolete file.
4011 * progmodes/subword.el: Reimplement using
4012 `find-word-boundary-function-table'.
4013 (subword-mode-map): Hollow out.
4014 (capitalized-words-mode): Define as obsolete alias for
4016 (subword-mode, superword-mode): Tweak documentation to reflect new
4017 implementation; call `subword-setup-buffer'.
4018 (subword-forward, subword-capitalize): Add underscore to indicate
4020 (subword-find-word-boundary-function-table): New constant.
4021 (subword-empty-char-table): New constant.
4022 (subword-setup-buffer): New function.
4023 (subword-find-word-boundary): New function.
4025 2014-03-23 Daniel Colascione <dancol@dancol.org>
4027 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4028 list to look for keyword arguments instead of `memq', fixing
4029 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4030 Please make bootstrap.
4032 2014-03-22 Glenn Morris <rgm@gnu.org>
4034 * dired.el (dired-read-regexp): Make obsolete.
4035 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4036 (dired-flag-files-regexp):
4037 * dired-aux.el (dired-mark-read-regexp):
4038 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4040 * startup.el (fancy-startup-text):
4041 * help.el (describe-gnu-project): Visit online info about GNU project.
4043 * help-fns.el (help-fns--interactive-only): New function.
4044 (help-fns-describe-function-functions): Add the above function.
4045 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4046 (next-line, previous-line): Remove hand-written interactive-only
4047 information from doc strings, it is auto-generated now.
4048 * bookmark.el (bookmark-write):
4049 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4050 (epa-mail-import-keys): Mark interactive-only,
4051 and remove hand-written interactive-only information from doc strings.
4052 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4053 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4054 * files.el (not-modified):
4055 * simple.el (mark-whole-buffer): Mark interactive-only.
4057 * emacs-lisp/byte-run.el (defun-declarations-alist):
4058 Add interactive-only. Doc tweak.
4059 (macro-declarations-alist): Doc tweak.
4060 * subr.el (declare): Doc tweak (add xref to manual).
4061 * comint.el (comint-run):
4062 * files.el (insert-file-literally, insert-file):
4063 * replace.el (replace-string, replace-regexp):
4064 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4065 (delete-forward-char, goto-line, insert-buffer, next-line)
4066 (previous-line): Set interactive-only via declare.
4068 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4070 * emacs-lisp/package.el (package-desc): Use the contents of the
4071 quoted form, not its cdr. (Bug#16873)
4073 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4075 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4076 benefit of doc.c; change parameter profile to match the X function.
4078 2014-03-22 Leo Liu <sdl.web@gmail.com>
4080 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4081 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4083 2014-03-21 Richard Stallman <rms@gnu.org>
4085 * battery.el (battery-linux-sysfs): Search for each field
4086 from the beginning of the buffer.
4088 * subr.el (set-transient-map): Clear out function and value
4089 of the temporary symbol when we're done with it.
4091 * mail/rmailsum.el (rmail-summary-delete-forward):
4092 Optimize case of reaching end and handling count.
4093 (rmail-summary-mark-deleted): Optimize when N is current msg.
4094 Don't create new summary line.
4095 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4096 (rmail-summary-undelete-many): Rewrite for speed.
4097 (rmail-summary-msg-number): New function.
4099 * mail/rmail.el (rmail-delete-message): Update summary.
4100 (rmail-undelete-previous-message): Handle repeat count arg.
4101 (rmail-delete-backward, rmail-delete-forward): Likewise.
4103 2014-03-21 Daniel Colascione <dancol@dancol.org>
4105 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4106 information in bug reports.
4108 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
4110 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4111 and `tramp-copy-env'.
4113 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4114 (tramp-maybe-open-connection): Handle `tramp-login-env'.
4116 2014-03-21 Glenn Morris <rgm@gnu.org>
4118 * electric.el (electric-indent-post-self-insert-function): Add doc.
4120 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
4122 * emacs-lisp/package.el (package-compute-transaction):
4123 Use `version-list-<=' to compare the requirement version against
4124 the version of package already to be installed. Update the error
4125 message. (Bug#16826)
4127 * progmodes/ruby-mode.el (ruby-smie-rules):
4128 Add indentation rule for ` @ '. (Bug#17050)
4130 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4132 * align.el (align-regexp): Remove superfluous backslash.
4134 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4135 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4136 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4137 Fix docstring typos.
4138 (ffap-next): Use C-u in docstring.
4139 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4140 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4141 Remove superfluous backslashes.
4142 (ffap-string-at-point): Reflow docstring.
4144 * server.el (server-host): Reflow docstring.
4145 (server-unload-function): Fix docstring typo.
4146 (server-eval-at): Remove superfluous backslash.
4148 * skeleton.el (skeleton-insert): Remove superfluous backslash.
4149 (skeleton-insert): Doc fix.
4150 (skeleton-insert): Reflow docstring.
4152 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4153 (tty-color-approximate, tty-color-by-index, tty-color-values)
4154 (tty-color-desc): Remove superfluous backslashes.
4156 2014-03-21 Glenn Morris <rgm@gnu.org>
4158 * cus-start.el (history-length): Bump :version.
4160 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4161 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4162 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4163 Don't set `make-backup-files'.
4165 * info.el (info--prettify-description): New function,
4166 to give info-finder descriptions consistent case, punctuation.
4167 (Info-finder-find-node): Use it. Sort packages.
4168 Refer to "description" rather than "commentary".
4170 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4172 * frameset.el (frameset--print-register): New function.
4173 (frameset-to-register): Use it.
4175 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
4177 * progmodes/hideif.el (hif-string-to-number): New function.
4178 (hif-tokenize): Use it to understand non-decimal floats.
4180 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4182 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4184 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * electric.el (electric-newline-and-maybe-indent): New command.
4187 Bind it globally to C-j.
4188 (electric-indent-mode): Don't mess with the global map any more.
4189 Don't drop the post-self-insert-hook is some buffer is still using it
4192 * bindings.el (global-map): Remove C-j binding.
4194 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4195 the docstring of functions advised before dumping (bug#16993).
4197 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
4199 * ps-print.el (ps-generate-postscript-with-faces):
4200 Explicitly deactivate the mark (bug#16866).
4201 * simple.el (deactivate-mark): Update region highlight.
4203 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
4205 * emacs-lisp/package.el (describe-package-1):
4206 Decode commentary (bug#16733).
4208 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
4210 * custom.el (defcustom): Doc fix: recommend avoiding destructive
4211 modification of the value argument of :set (bug#16755).
4213 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4215 * simple.el (newline-and-indent): Do autofill (bug#17031).
4217 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
4219 * newcomment.el (comment-normalize-vars): Only add escaping check
4220 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
4221 (comment-beginning): Use `narrow-to-region' instead of moving back
4223 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4224 (comment-start-skip): Update the docstring.
4226 2014-03-18 Richard Stallman <rms@gnu.org>
4228 * dired.el (dired-display-file): Force use of other window.
4230 2014-03-18 Daniel Colascione <dancol@dancol.org>
4232 * startup.el (tty-handle-args): Remove debug message from 2007.
4234 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4237 (advice--make-interactive-form): Use it to avoid (auto)loading function.
4238 (advice--make-1, advice-add, advice-remove):
4239 Remove braindead :advice-pending hack.
4241 2014-03-17 Glenn Morris <rgm@gnu.org>
4243 * calendar/calendar.el (calendar-generate-month): Apply weekend
4244 face to the right days; fixes 2013-08-06 change. (Bug#17028)
4246 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
4248 * net/tramp.el (tramp-action-out-of-band): Read pending output.
4249 (tramp-call-process): Trace also DESTINATION.
4251 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4252 Quote file names when they are local. Remove superfluous trace.
4254 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
4256 * newcomment.el (comment-beginning): If `comment-start-skip'
4257 doesn't match, move back one char and try again. (Bug#16971)
4259 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4260 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4261 Set `comment-start-skip' to a simpler value that doesn't try to
4262 check if the semicolon is escaped (this is handled by
4263 `syntax-ppss' now). (Bug#16971)
4265 * progmodes/scheme.el (scheme-mode-variables): Same.
4267 2014-03-16 Martin Rudalics <rudalics@gmx.at>
4269 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4270 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4271 current (Bug#16816, Bug#17007).
4272 (with-current-buffer-window): New macro doing the same as
4273 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4274 * help.el (help-print-return-message): Warn in doc-string to not
4275 use this in `with-help-window'.
4276 (describe-bindings-internal): Call `describe-buffer-bindings'
4277 from within help buffer. See Juanma's scenario in (Bug#16816).
4278 (with-help-window): Update doc-string.
4279 * dired.el (dired-mark-pop-up):
4280 * files.el (save-buffers-kill-emacs):
4281 * register.el (register-preview): Use `with-current-buffer-window'
4282 instead of `with-temp-buffer-window'.
4284 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
4286 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4287 Implement inserting into current buffer, documented in their docstrings.
4288 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4289 (rst-section-tree-point, rst-forward-section, rst-indent)
4290 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4291 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4292 (rst-font-lock-handle-adornment-pre-match-form)
4293 (rst-repeat-last-character): Reflow docstrings.
4294 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4295 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4296 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4297 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4298 Fix docstring typos.
4299 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4300 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4301 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4303 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
4305 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4306 for compatibility with other ports.
4307 (ns-initialize-window-system): Use it. It is set in term/common-win.el
4308 from the -xrm command line argument, but in the Nextstep port its value
4309 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4311 * progmodes/python.el (defconst, python-syntax-count-quotes)
4312 (python-indent-region, python-indent-shift-right)
4313 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4314 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4315 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4316 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4317 (inferior-python-mode, python-shell-make-comint, run-python-internal)
4318 (python-shell-buffer-substring, python-shell-send-buffer)
4319 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4320 (python-completion-complete-at-point, python-fill-docstring-style)
4321 (python-eldoc-function, python-imenu-format-item-label)
4322 (python-imenu-format-parent-item-label)
4323 (python-imenu-format-parent-item-jump-label)
4324 (python-imenu--build-tree, python-imenu-create-index)
4325 (python-imenu-create-flat-index): Fix docstring typos.
4326 (python-indent-context, python-shell-prompt-regexp, run-python):
4327 Remove superfluous backslashes.
4328 (python-indent-line, python-nav-beginning-of-defun)
4329 (python-shell-get-buffer, python-shell-get-process)
4330 (python-info-current-defun, python-info-current-line-comment-p)
4331 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4332 (python-indent-post-self-insert-function, python-shell-send-file)
4333 (python-shell-completion-get-completions)
4334 (python-shell-completion-complete-or-indent)
4335 (python-eldoc--get-doc-at-point): Reflow docstrings.
4337 2014-03-14 Glenn Morris <rgm@gnu.org>
4339 * emacs-lisp/package.el (package-menu-mode-map):
4340 Replace use of obsolete function alias. Tweak menu item text.
4342 * info.el (Info-finder-find-node):
4343 Ignore the `emacs' metapackage. (Bug#10813)
4345 * finder.el (finder-list-matches): Include unversioned packages
4346 in the result of a keyword search.
4348 * finder.el (finder--builtins-descriptions): New constant.
4349 (finder-compile-keywords): Use finder--builtins-descriptions.
4351 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
4353 * simple.el (blink-matching-paren): Describe the new value,
4354 `jump', enabling the old behavior.
4355 (blink-matching-open): Use that value. (Bug#17008)
4357 2014-03-14 Glenn Morris <rgm@gnu.org>
4359 * finder.el (finder-no-scan-regexp): Add leim-list.
4360 (finder-compile-keywords):
4361 Don't skip files with same basename. (Bug#14010)
4362 * Makefile.in (setwins_finder): New, excluding leim.
4363 (finder-data): Use setwins_finder.
4365 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4366 (help-function-arglist, help-make-usage): Move from here...
4367 * help.el (help-split-fundoc, help-add-fundoc-usage)
4368 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
4369 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4371 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
4373 * net/socks.el (socks, socks-override-functions)
4374 (socks-find-services-entry):
4375 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4376 (hif-find-ifdef-block):
4377 * progmodes/modula2.el (m2-indent): Fix docstring typos.
4379 * net/tls.el (tls-program): Reflow docstring.
4381 * progmodes/pascal.el (pascal-mode-abbrev-table)
4382 (pascal-imenu-generic-expression, pascal-auto-endcomments)
4383 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4384 (pascal-outline-mode): Fix docstring typos.
4385 (pascal-mode): Let define-derived-mode document mode hook.
4386 (pascal-uncomment-area): Reflow.
4387 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4389 * progmodes/opascal.el (opascal-compound-block-indent)
4390 (opascal-case-label-indent): Fix docstring typos.
4391 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4393 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
4395 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4396 Fontify multiple adjacent negation chars. (Bug#17004)
4398 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
4400 * emacs-lisp/package.el (package--prepare-dependencies):
4401 Accept requirements without explicit version (bug#14941).
4403 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4405 * register.el (register-separator, copy-to-register): Doc fixes.
4406 (register-preview-default): Remove unnecessary call to concat.
4408 * frameset.el (frameset-restore): When checking for a visible frame,
4409 use the action map instead of calling visible-frame-list.
4411 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
4413 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4415 2014-03-12 Martin Rudalics <rudalics@gmx.at>
4417 * window.el (fit-frame-to-buffer): Get maximum width from
4418 display's width instead of height.
4420 2014-03-12 Glenn Morris <rgm@gnu.org>
4422 * desktop.el (desktop-restore-frames)
4423 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4424 (desktop-restore-reuses-frames): Doc tweaks.
4426 * electric.el (electric-indent-mode): Doc fix.
4428 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4430 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4431 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4432 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4433 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4434 (cvs-dired-use-hook): Fix docstring typos.
4435 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4438 * vc/pcvs-defs.el (cvs-auto-remove-handled)
4439 (cvs-auto-remove-directories, cvs-default-ignore-marks)
4440 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4441 (cvs-execute-single-dir): Fix docstring typos.
4443 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4444 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4446 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4448 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4449 Fix docstring typos.
4451 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4453 * frameset.el (frameset--jump-to-register): Add autoload; it could be
4454 called from jump-to-register after unloading the frameset package.
4456 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4459 (bug#16975). Deactivate the mark before setting it to nil.
4460 (activate-mark): Do nothing if region is already active.
4462 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
4464 * frameset.el (frameset--target-display): Remove definition; declare.
4465 (frameset-save, frameset-restore): Let-bind frameset--target-display.
4467 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4470 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4471 when the advice is pending.
4472 (advice-remove): Remove this marker when not needed any more.
4474 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
4476 * frameset.el: Separate options for reusing frames and cleaning up.
4477 (frameset--reuse-list): Remove definition; declare.
4478 (frameset--action-map): Declare.
4479 (frameset--find-frame-if): Doc fix.
4480 (frameset--restore-frame): Cache frame action.
4481 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4482 how to clean up the frame list after restoring. Remove cleaning
4483 options from REUSE-FRAMES. Change all keyword values to symbols.
4484 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4486 * desktop.el (desktop-restore-forces-onscreen)
4487 (desktop-restore-reuses-frames): Use non-keyword values.
4488 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4490 2014-03-10 Glenn Morris <rgm@gnu.org>
4492 * files.el (find-file): Doc fix: update info node name.
4494 * emacs-lisp/advice.el (ad-add-advice, defadvice):
4495 Doc fix: remove references to deleted info nodes.
4497 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
4499 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4500 Do not add nil to the environment, when there's no remote `locale'.
4501 (tramp-find-inline-encoding): Check, that the remote host has
4502 installed perl, before sending scripts.
4504 2014-03-10 Leo Liu <sdl.web@gmail.com>
4506 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4507 Clear eldoc-last-message. (Bug#16920)
4509 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
4511 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4514 2014-03-09 Juri Linkov <juri@jurta.org>
4516 * ansi-color.el (ansi-color-names-vector): Copy default colors
4517 from `xterm-standard-colors' that look well on the default white
4518 background (and also on the black background) to avoid illegible
4519 color combinations like yellow-on-white and white-on-white.
4520 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4522 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
4524 * frameset.el (frameset-restore): When no frame is visible, do not
4525 generate a list of frames, just make visible the selected one.
4527 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
4529 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4530 it only contains the repository root. (Bug#16897)
4532 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
4534 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4535 only when `remote-file-name-inhibit-cache' is nil.
4536 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
4538 2014-03-06 Martin Rudalics <rudalics@gmx.at>
4540 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4542 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
4543 fit-frame-to-buffer variable. Fix doc-string.
4544 (fit-window-to-buffer): Set ONLY argument in call of
4545 fit-frame-to-buffer. Fix doc-string.
4547 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
4549 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4550 (tramp-action-password): Clear password cache if needed.
4551 (tramp-read-passwd): Do not clear password cache.
4553 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4554 cache unless it is the first password request.
4556 2014-03-06 Glenn Morris <rgm@gnu.org>
4558 * simple.el (newline): Doc tweak.
4560 * emacs-lisp/shadow.el (load-path-shadows-find):
4561 Ignore dir-locals. (Bug#12357)
4563 2014-03-05 Glenn Morris <rgm@gnu.org>
4565 * files.el (interpreter-mode-alist):
4566 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
4568 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
4570 * frameset.el (frameset--initial-params): Filter out null entries.
4572 2014-03-05 Martin Rudalics <rudalics@gmx.at>
4574 * window.el (window-min-height, window-min-width):
4575 Rewrite doc-strings.
4576 (window-body-size): Add PIXELWISE argument to make it consistent
4579 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
4581 * finder.el (finder-mode-map, finder-mode-syntax-table):
4582 Revert part of 2014-02-28 change.
4584 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
4586 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4587 (eww-setup-buffer): Clear next/prev/etc more reliably.
4588 (eww-textarea-map): [tab] doesn't work on tty.
4589 Reported by Mario Lang.
4591 * net/shr.el (shr-map): Ditto.
4593 2014-03-04 Glenn Morris <rgm@gnu.org>
4595 * minibuffer.el (completion-hilit-commonality):
4596 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4598 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
4600 * hilit-chg.el (hilit-chg-unload-function): New function.
4601 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4602 (hilit-chg-map-changes): Prefer cardinal number to digit.
4603 (hilit-chg-display-changes): Reflow docstring.
4604 (highlight-changes-rotate-faces): Remove superfluous backslash.
4606 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
4608 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4609 `tramp-send-command-and-check'.
4611 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
4613 * hexl.el (hexl-address-region, hexl-ascii-region)
4614 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4615 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4616 (hexl-forward-word, hexl-previous-line, hexl-next-line):
4617 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4618 (hexl-mode): Doc fix.
4619 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4620 (hexl-mode-ruler): Fix typos in docstrings.
4622 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4623 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4624 Remove superfluous backslashes.
4625 (strokes-last-stroke, strokes-global-map, strokes-mode):
4627 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4628 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4629 (strokes-distance-squared, strokes-global-set-stroke)
4630 (strokes-global-set-stroke-string): Doc fixes.
4631 (strokes-help): Fix typos; reflow docstring.
4633 2014-03-04 Martin Rudalics <rudalics@gmx.at>
4635 * window.el (window-in-direction): Fix doc-string.
4637 2014-03-04 Glenn Morris <rgm@gnu.org>
4639 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4640 Explicit error if no grammar.
4641 (smie-config-save): Doc fix. Fix quote typo.
4643 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
4645 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4646 electric-indent-mode-hook if we obey electric-indent-mode.
4647 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4648 decide whether we obey electric-indent-mode.
4649 (c-change-set-fl-decl-start, c-extend-after-change-region):
4651 (c-electric-indent-mode-hook): Assume we do want to obey
4652 electric-indent-mode.
4654 * electric.el (electric-indent-mode-has-been-called): Remove.
4655 (electric-indent-mode): Fix accordingly.
4657 * files.el (hack-local-variables): Mention file name in warning.
4659 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4661 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
4663 * bindings.el: Add comment describing why C-d binds to `delete-char'.
4664 * simple.el (delete-forward-char): Mark as interactive-only.
4666 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
4668 * icomplete.el (icomplete-completions):
4669 Follow-up to 2014-03-01 change.
4671 * icomplete.el: Miscellaneous doc fixes.
4672 Use Icomplete everywhere instead of icomplete for consistency.
4673 (icomplete-max-delay-chars): Fix typo.
4674 (icomplete-mode): Use \[].
4675 (icomplete-tidy, icomplete-exhibit): Reflow.
4676 (icomplete-minibuffer-setup-hook, icomplete-completions):
4677 Remove superfluous backlashes.
4679 * ido.el: Miscellaneous doc fixes.
4680 Use Ido everywhere instead of ido or `ido' for consistency.
4681 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4682 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4683 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4684 (ido-separator): Extract obsolescence info from docstring and declare
4685 with make-obsolete-variable.
4686 (ido-minibuffer-setup-hook): Simplify example.
4687 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4688 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4689 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4690 (ido-everywhere): Reflow docstring.
4691 (ido-toggle-vc): Doc fix.
4692 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4693 of long list of keybindings.
4695 2014-03-03 Glenn Morris <rgm@gnu.org>
4697 * frame.el (display-pixel-height, display-pixel-width)
4698 (display-mm-dimensions-alist, display-mm-height)
4699 (display-mm-width): Doc tweaks.
4701 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
4703 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4704 case of undo in region.
4706 2014-03-02 Martin Rudalics <rudalics@gmx.at>
4708 * window.el (fit-window-to-buffer): Fix argument in window-size
4709 call when window is horizontally combined.
4711 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
4713 * icomplete.el (icomplete-completions): Use string-width.
4714 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4716 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
4718 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4719 Highlight regexp options. (Bug#16914)
4721 2014-03-01 Martin Rudalics <rudalics@gmx.at>
4723 * window.el (window--max-delta-1): Round down when calculating
4724 how many lines/columns we can get from a window.
4726 2014-03-01 Glenn Morris <rgm@gnu.org>
4728 * isearch.el (search-invisible): Doc fix.
4730 * minibuffer.el (completion-hilit-commonality):
4731 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
4732 * comint.el (comint-dynamic-list-completions): Doc fix.
4733 * comint.el (comint-dynamic-list-completions):
4734 * filecache.el (file-cache-minibuffer-complete):
4735 * tempo.el (tempo-display-completions):
4736 * eshell/em-hist.el (eshell-list-history):
4737 Replace use of obsolete argument of display-completion-list.
4739 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
4741 * icomplete.el (icomplete-completions):
4742 Revert back to using "..." when ?… cannot be displayed.
4744 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
4746 * finder.el (finder-unload-function): New function.
4748 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
4750 * dframe.el (dframe-detach):
4751 * find-dired.el (find-dired, find-name-dired):
4752 * finder.el (finder-mode-map, finder-mode-syntax-table)
4753 (finder-headmark, finder-select, finder-mouse-select):
4754 Fix docstring typos.
4756 2014-02-28 Martin Rudalics <rudalics@gmx.at>
4758 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4759 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4760 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4761 Fix doc-string based on a suggestion by Nicolas Richard
4762 <theonewiththeevillook@yahoo.fr>.
4763 * help.el (with-help-window): Fix doc-string.
4765 2014-02-28 Ivan Kanis <ivan@kanis.fr>
4767 * net/shr.el (shr-image-animate): New option.
4768 (shr-put-image): Respect shr-image-animate.
4770 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp-adb.el (tramp-adb-parse-device-names):
4773 Use `accept-process-output'.
4774 (tramp-adb-handle-file-truename): Cache the localname only.
4775 (tramp-adb-handle-make-directory)
4776 (tramp-adb-handle-delete-directory): Flush file properties correctly.
4777 (tramp-adb-handle-set-file-modes): Do not raise an error when file
4778 modes cannot be changed.
4780 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4781 file properties of symlinks.
4783 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
4785 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4786 required/optional fields to match development biblatex. (Bug#16781)
4788 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
4790 * saveplace.el (toggle-save-place):
4791 Fix argument handling. (Bug#16673)
4793 2014-02-28 Glenn Morris <rgm@gnu.org>
4795 * minibuffer.el (completions-first-difference)
4796 (completions-common-part, completion-hilit-commonality): Doc fixes.
4798 2014-02-28 Karl Berry <karl@gnu.org>
4800 * info.el (Info-mode-map): Add H for describe-mode,
4801 to synchronize with standalone Info.
4803 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
4805 * progmodes/sql.el (sql-interactive-mode):
4806 Avoid setting global comint-input-ring-separator. (Bug#16814)
4808 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
4810 * net/dbus.el (dbus--init-bus): Declare function.
4811 (dbus-path-local, dbus-interface-local): New defconst.
4812 (dbus-init-bus): Use them.
4813 (dbus-return-values-table): Extend doc.
4814 (dbus-handle-bus-disconnect): Extend error message.
4816 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
4818 * subr.el (y-or-n-p): Fix double space issue in message.
4820 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
4822 * net/tramp.el (tramp-call-process): Improve trace message.
4823 (tramp-handle-insert-file-contents): Trace error case.
4825 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4826 <insert-directory>: Use `tramp-handle-insert-directory'.
4827 (tramp-adb-handle-insert-directory): Remove function.
4828 (tramp-adb-send-command-and-check): New defun, replacing
4829 `tramp-adb-command-exit-status'. Change all callees.
4830 (tramp-adb-handle-file-attributes)
4831 (tramp-adb-handle-directory-files-and-attributes): Use it.
4832 (tramp-adb-ls-output-name-less-p):
4833 Use `directory-listing-before-filename-regexp'.
4834 (tramp-adb-handle-delete-directory): Flush also file properties of
4835 the truename of directory.
4836 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4837 (tramp-adb-handle-file-local-copy): Make the local copy readable.
4838 (tramp-adb-handle-write-region): Implement APPEND.
4839 (tramp-adb-handle-rename-file): Make it more robust. Flush file
4840 properties correctly.
4841 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4842 variables. Check for connected devices only when needed.
4844 2014-02-27 Glenn Morris <rgm@gnu.org>
4846 * minibuffer.el (completion-table-dynamic)
4847 (completion-table-with-cache): Doc fixes.
4849 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4850 (completing-read-multiple): Doc fixes.
4852 2014-02-27 Daniel Colascione <dancol@dancol.org>
4854 * minibuffer.el (completion--nth-completion): Fix indentation.
4856 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4857 explicit tramp path is empty.
4859 2014-02-27 Glenn Morris <rgm@gnu.org>
4861 * emacs-lisp/crm.el (completing-read-multiple):
4862 Empower help-enable-auto-load.
4864 2014-02-26 Glenn Morris <rgm@gnu.org>
4866 * startup.el (command-line): Don't init the tty in daemon mode.
4868 Avoid calling tty-setup-hook twice, eg if a term file
4869 explicitly calls tty-run-terminal-initialization. (Bug#16859)
4870 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4871 (tty-create-frame-with-faces): Use it.
4872 * startup.el (command-line): Pass run-hook argument
4873 to tty-run-terminal-initialization.
4875 * dired.el (dired-restore-desktop-buffer): Demote errors;
4876 eg in case a glob match fails. (Bug#16884)
4878 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
4880 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4881 error from `read-from-string'. (Bug#16850)
4883 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4884 result of `completing-read' in the interactive form. (Bug#16854)
4886 2014-02-25 Glenn Morris <rgm@gnu.org>
4888 * image.el (image-animate, image-animate-timeout):
4889 Stop animating images in dead buffers. (Bug#16878)
4891 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
4893 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4895 * startup.el (term-setup-hook): Doc fix. Make obsolete.
4896 * term/sun.el (sun-raw-prefix-hooks):
4897 Use tty-setup-hook instead of term-setup-hook.
4898 (terminal-init-sun): Construct message from bytecomp plist.
4899 * term/wyse50.el (enable-arrow-keys): Doc fix.
4901 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
4903 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4904 Fix docstring typos.
4906 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
4908 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4910 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4912 * minibuffer.el (completion--try-word-completion):
4913 Fix error when completing M-x commands (bug#16808).
4915 2014-02-24 Leo Liu <sdl.web@gmail.com>
4917 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4919 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
4921 * apropos.el (apropos-print): Avoid formatting error when
4922 apropos-do-all and apropos-compact-layout are both t.
4924 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
4926 * apropos.el (apropos-property, apropos-all-words-regexp)
4927 (apropos-true-hit, apropos-variable, apropos-print):
4928 Fix docstring typos, and remove obsolete comment.
4930 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
4932 * net/tramp-sh.el (tramp-sh-handle-file-truename):
4933 Preserve trailing "/". (Bug#16851)
4935 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
4937 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4938 after `=>' (bug#16811).
4939 (ruby-smie-rules): Handle the inconsistent second element of the
4940 list returned by `smie-indent--parent'.
4941 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4944 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
4946 * elec-pair.el (electric-pair-text-syntax-table)
4947 (electric-pair-syntax-info, electric-pair--syntax-ppss)
4948 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4949 (electric-pair--looking-at-unterminated-string-p): Doc fix.
4950 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
4952 2014-02-22 Glenn Morris <rgm@gnu.org>
4954 * imenu.el (imenu--generic-function): Doc fix.
4956 * register.el (frame-configuration-to-register): Make obsolete.
4958 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
4960 * desktop.el (desktop-save-buffer-p): Do not fail when
4961 desktop-files-not-to-save is nil. Return t for true result
4964 2014-02-22 Daniel Colascione <dancol@dancol.org>
4966 * net/secrets.el (secrets-create-item, secrets-search-items):
4967 Check that attribute values are strings, avoiding the construction
4968 of invalid dbus messages.
4970 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4972 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4973 defun-declarations-alist.
4975 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
4977 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4980 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4982 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4983 (whitespace-newline, whitespace-trailing, whitespace-line)
4984 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4985 (whitespace-space-after-tab): Fix typo in docstrings.
4987 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
4989 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4991 * electric.el (electric-indent-functions-without-reindent):
4992 Add `yaml-indent-line'.
4994 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4996 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4997 It has done nothing for years; should be removed after the release.
4999 * simple.el (choose-completion): Fix docstring typo.
5000 (read-quoted-char-radix): Remove unneeded * in docstring.
5001 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5002 Don't escape parentheses unnecessarily in docstrings.
5004 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5006 Fix handling of window-min-height/-width (Bug#16738).
5007 * window.el (window--dump-window, window--dump-frame):
5009 (window--min-size-1): Account for window dividers.
5010 When window-resize-pixelwise is nil, delay rounding till after the
5011 sum of the window components has been calculated.
5012 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5013 nil make sure at least one text line and two text columns remain
5015 (window-resize): Signal an error when window-resize-apply fails.
5016 (window--resize-child-windows): Fix calculation of by how many
5017 pixels a window can still be shrunk via window-new-normal.
5018 (adjust-window-trailing-edge): Call window--resizable with
5019 correct TRAIL argument.
5021 (with-temp-buffer-window): Don't evaluate BODY within
5022 with-current-buffer (Bug#16816).
5024 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5026 * net/tramp.el (tramp-check-cached-permissions):
5027 Call `file-attributes' with `suffix' being a symbol but a string.
5029 2014-02-21 Daniel Colascione <dancol@dancol.org>
5031 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5032 (dbus-init-bus): New function: call into dbus-init-bus-1
5033 and installs a handler for the disconnect signal.
5034 (dbus-call-method): Rewrite to look for result in cons.
5035 (dbus-call-method-handler): Store result in cons.
5036 (dbus-check-event): Recognize events with nil sender as valid.
5037 (dbus-handle-bus-disconnect): New function. React to bus
5038 disconnection signal by synthesizing dbus error for each
5039 pending synchronous or asynchronous call.
5040 (dbus-notice-synchronous-call-errors): New function.
5041 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5042 is true, not all the time.
5044 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5046 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5047 Remove obsolescence declarations, these variables do not exist anymore.
5049 * savehist.el (savehist-save-minibuffer-history)
5050 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5051 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5052 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5053 mostly, refer to "Savehist mode" when talking about the mode,
5054 and not the function.
5056 * saveplace.el (save-place): Remove redundant info in docstring.
5057 (save-place-forget-unreadable-files, toggle-save-place)
5058 (save-place-forget-unreadable-files, save-place-dired-hook):
5059 Fix typos and remove unneeded backslashes.
5061 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5063 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5064 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5066 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5067 <insert-directory>: Use `tramp-handle-insert-directory'.
5068 (tramp-gvfs-handle-insert-directory): Remove function.
5070 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5071 Call `tramp-handle-insert-directory'.
5073 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5075 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5076 before the start of buffer/region (bug#16799).
5078 2014-02-20 Glenn Morris <rgm@gnu.org>
5080 * isearch.el (search-invisible): Doc fix.
5082 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5084 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5087 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5089 * frameset.el (frameset-restore): Delay removing an old frame's
5090 duplicate id until the new frame has been correctly created.
5092 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5094 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5095 (tramp-check-cached-permissions): Call `file-attributes' if the
5098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5099 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5102 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5103 (tramp-gvfs-maybe-open-connection): Set always connection
5104 properties, even if target is mounted already.
5106 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5107 Set tramp-autoload cookie.
5108 (tramp-get-remote-touch): New defun.
5109 (tramp-sh-handle-set-file-times): Use it.
5110 (tramp-sh-handle-directory-files-and-attributes):
5111 Use `tramp-handle-directory-files-and-attributes' if neither stat
5112 nor perl are available on the remote host.
5114 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5115 "/". Write long listing only when "l" belongs to the switches.
5117 * net/trampver.el: Update release number.
5119 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5121 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5123 2014-02-19 Martin Rudalics <rudalics@gmx.at>
5125 * window.el (window-state-put): Allow WINDOW to refer to an
5126 internal window (Bug#16793).
5128 2014-02-19 Glenn Morris <rgm@gnu.org>
5130 * textmodes/remember.el: Move provide statement to end.
5131 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5132 (remember-notes): Doc fixes.
5134 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * delsel.el (delete-char): Restore incorrectly erased property
5139 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
5141 * frameset.el (frameset--restore-frame): When a frame is being reused
5142 and its root window is not alive, delete all the frame's windows before
5143 restoring the window state. This works around the issue in bug#16793.
5145 2014-02-18 Glenn Morris <rgm@gnu.org>
5147 * textmodes/remember.el (remember-data-directory)
5148 (remember-directory-file-name-format, remember-store-in-files)
5149 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5150 (remember-notes-save-and-bury-buffer)
5151 (remember-notes--kill-buffer-query): Doc fixes.
5153 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5155 2014-02-17 Alan Mackenzie <acm@muc.de>
5157 Connect electric-indent-mode up with CC Mode. Bug #15478.
5158 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5159 to electric-indent-{,local-}-mode.
5160 (c-basic-common-init): Set electric-indent-inhibit.
5161 Initialise c-electric-flag from electric-indent-mode.
5162 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5163 New hook functions which propagate electric-indent-mode to CC mode.
5165 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5166 hit, toggle electric-indent-local-mode.
5168 * electric.el (electric-indent-mode-has-been-called):
5171 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
5173 * frameset.el (frameset-cfg-id): New function.
5174 (frameset--reuse-frame, frameset-restore): Use it.
5175 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5177 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
5179 * ido.el (ido-file-internal): Remove unused var `d'.
5180 Use \` for to match BoS. Fit within 80n columns.
5182 2014-02-17 Daniel Colascione <dancol@dancol.org>
5184 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5185 dbus-call-method check for completion using a busy-wait loop with
5188 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
5190 Sync with Tramp 2.2.9.
5192 * net/trampver.el: Update release number.
5194 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
5196 * ido.el (ido-file-internal): Don't add the name of an existing
5197 directory twice. (Bug#16747)
5199 2014-02-16 Glenn Morris <rgm@gnu.org>
5201 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5202 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5204 2014-02-15 Michael R. Mauger <michael@mauger.com>
5206 * progmodes/sql.el: Version 3.4
5207 (sql-oracle-options): New default value ("-L").
5208 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5209 (sql-placeholders-filter): Correct placeholder pattern.
5210 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
5211 (sql-login-delay): New variable.
5212 (sql-product-interactive): Use it.
5214 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
5216 * frameset.el (frameset--jump-to-register): Check that buffer is live
5219 2014-02-15 Glenn Morris <rgm@gnu.org>
5221 * info.el (info-initialize): Revert 2014-01-10 change.
5223 2014-02-14 Glenn Morris <rgm@gnu.org>
5225 * replace.el (map-query-replace-regexp)
5226 (read-regexp-defaults-function, read-regexp): Doc fixes.
5228 * dired.el (dired-read-regexp):
5229 * faces.el (list-faces-display):
5230 * misearch.el (multi-isearch-read-matching-buffers)
5231 (multi-isearch-read-matching-files):
5232 * play/cookie1.el (cookie-apropos):
5233 * progmodes/grep.el (grep-read-regexp): Doc fixes.
5235 * textmodes/remember.el (remember): Use frameset-to-register
5236 rather than frame-configuration-to-register.
5238 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
5240 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5241 incorrect keybinding.
5243 2014-02-13 Daniel Colascione <dancol@dancol.org>
5245 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5246 when adding overlays so that line numbers from compiler match line
5249 2014-02-13 Glenn Morris <rgm@gnu.org>
5251 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
5253 * jit-lock.el (jit-lock-mode): Doc fix.
5255 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
5257 * apropos.el (apropos-read-pattern): When the user passes an empty
5258 string, give a more helpful error message than "Wrong type
5259 argument: stringp, nil".
5261 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
5263 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5265 2014-02-13 Glenn Morris <rgm@gnu.org>
5267 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5269 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
5271 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5272 shift-select commands.
5274 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
5276 * progmodes/js.el (js-indent-line): Don't widen.
5277 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5279 2014-02-12 Glenn Morris <rgm@gnu.org>
5281 * icomplete.el (icomplete): Add info-link to defgroup.
5282 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5283 (icomplete-minibuffer-map, icomplete-mode)
5284 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5286 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5287 (package-menu-filter): Rename from package-menu-filter-interactive.
5290 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
5292 * frameset.el (frameset--jump-to-register): Select the required
5293 window and buffer before restoring position (bug#16696).
5295 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
5297 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5299 2014-02-10 Glenn Morris <rgm@gnu.org>
5301 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
5303 2014-02-10 Eli Zaretskii <eliz@gnu.org>
5305 * w32-common-fns.el (x-get-selection): Doc fix.
5306 * select.el (x-get-selection): Doc fix. (Bug#15109)
5308 * face-remap.el (face-remap-add-relative)
5309 (face-remap-remove-relative, face-remap-reset-base)
5310 (face-remap-set-base): Call force-mode-line-update to redisplay
5311 the current buffer due to potential change in faces. (Bug#16709)
5313 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
5315 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5316 script more robustly.
5318 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5320 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5322 * simple.el (choose-completion): Doc fix (bug#14160).
5324 * subr.el (event-start): Say what a nil EVENT value means.
5326 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5329 * progmodes/grep.el (find-program): Doc fix (bug#14289).
5331 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5333 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5335 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5336 predicate function (bug#15455).
5338 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
5340 * ielm.el (inferior-emacs-lisp-mode): Instead of
5341 `comment-use-global-state', set `comment-use-syntax'.
5343 2014-02-10 Glenn Morris <rgm@gnu.org>
5345 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5347 2014-02-09 Alan Mackenzie <acm@muc.de>
5349 Fix c-invalidate-state-cache on narrowed buffers.
5350 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5351 Widen when setting and clearing the CPP delimiter properties.
5353 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
5355 * help.el (describe-bindings): Doc fix (bug#9888).
5357 * files.el (save-buffer): Use ARG as the parameter name for
5358 consistency (bug#10346).
5359 (save-buffer): Clarify the 0 argument (bug#10346).
5361 * cus-edit.el (customize-apropos): Fix error string.
5362 (custom-buffer-create): Doc fix (bug#11122).
5363 (custom-sort-items): Doc fix (bug#11121).
5365 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5367 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5368 (icomplete-simple-completing-p): Mention the previous variable.
5370 * font-lock.el (font-lock-value-in-major-mode): Clarify the
5371 meaning of the parameter (bug#12282).
5373 * files.el (find-file-noselect): Clarify prompt when changing
5374 readedness (bug#13261).
5375 (locate-file): Suffixes aren't returned, so don't say that they
5377 (backup-inhibited): Doc clarification (bug#12525).
5379 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5380 before we actually start to delete things (bug#16331).
5382 * subr.el (event-start): Doc fix (bug#14228).
5385 2014-02-09 Glenn Morris <rgm@gnu.org>
5387 * emacs-lisp/warnings.el (lwarn):
5388 Empower help-enable-auto-load. (Bug#15940)
5390 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5392 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5395 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
5397 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5398 Insert output at end of buffer. (Bug#16120)
5400 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5402 * simple.el (choose-completion-string-functions): Document new
5403 calling convention (bug#14153).
5404 (execute-extended-command): Clarify doc string (bug#13373).
5406 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5408 * find-dired.el (find-name-dired): Doc fix (bug#14290).
5409 (find-grep-dired): Doc fix (bug#14288).
5411 2014-02-08 Juri Linkov <juri@jurta.org>
5413 * isearch.el (isearch-quote-char): Check character validity
5414 like in `quoted-insert' (bug#16677).
5416 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5418 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5420 * isearch.el (isearch-hide-immediately): Doc clarification
5423 * simple.el (line-move): Document utility function used many
5424 places in the Emacs sources (bug#14843).
5426 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5427 (dired-prev-marked-file): Doc fix (bug#14855).
5428 (dired-up-directory): Doc fix (bug#14848).
5430 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5432 * files.el (file-relative-name): Doc fix (bug#15159).
5434 * fringe.el (fringe-styles): Doc fix (bug#15239).
5436 * isearch.el (isearch-filter-predicate): Documentation typo fix
5439 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5441 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5443 * replace.el (replace-match-maybe-edit): Doc clarification
5446 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5448 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5450 2014-02-08 Glenn Morris <rgm@gnu.org>
5452 * help-fns.el (describe-variable):
5453 Check {file,dir}-local-variables-alist, and buffer-file-name,
5454 in the correct buffer.
5456 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
5458 * help-fns.el (describe-variable): Fix the case where
5459 a value is directory-local with no dir-locals file. (Bug#16635)
5461 2014-02-08 Glenn Morris <rgm@gnu.org>
5463 * abbrev.el (edit-abbrevs-mode):
5464 Derive from fundamental-mode. (Bug#16682)
5466 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
5468 * simple.el (quoted-insert): Check character validity (bug#16677).
5470 2014-02-07 Juri Linkov <juri@jurta.org>
5472 * desktop.el (desktop-read): Claim the lock when the owner is not
5473 the current process. (Bug#16157)
5475 2014-02-07 Juri Linkov <juri@jurta.org>
5477 * desktop.el (desktop-buffers-not-to-save): Change default from nil
5478 to "\\` ". (Bug#16651)
5480 2014-02-07 Juri Linkov <juri@jurta.org>
5482 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5483 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5484 (desktop-auto-save-cancel-timer): New function with some code from
5485 `desktop-auto-save-set-timer'.
5486 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5487 Instead of setting `desktop-save-mode' to nil, call
5488 `desktop-save-mode' with arg 0. (Bug#16630)
5490 2014-02-07 Glenn Morris <rgm@gnu.org>
5492 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5493 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5494 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5496 * obsolete/iswitchb.el: Move to obsolete/.
5497 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5498 since obsolete/ is not scanned for autoloads.
5499 * emacs-lisp/authors.el (authors-valid-file-names):
5502 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5503 Disable now non-functional find-file-hook.
5505 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
5507 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5508 instead of ";" in order to avoid additional prompts. Let heredoc
5509 scripts read from tty. (Bug#16582)
5510 (tramp-send-command): No special handling of heredocs, it isn't
5513 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5516 with a space (bug#16664). Limit the symbols considered to the ones
5517 that are bound or fbound (bug#16646).
5519 2014-02-06 Glenn Morris <rgm@gnu.org>
5521 * epa.el (epa-mail-aliases): Doc fix.
5523 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
5525 * emacs-lisp/lisp.el (lisp-completion-at-point):
5526 Use `completion-table-merge' instead of `completion-table-in-turn'
5529 * minibuffer.el (completion-table-merge): New function.
5531 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
5533 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5534 (tramp-sh-handle-set-file-acl)
5535 (tramp-sh-handle-start-file-process)
5536 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5537 (tramp-find-executable, tramp-send-command): Use it.
5539 2014-02-05 Glenn Morris <rgm@gnu.org>
5541 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
5543 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
5545 * progmodes/python.el (python-shell-send-string)
5546 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5548 2014-02-04 Anders Lindgren <andlind@gmail.com>
5550 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5551 the names (bug#16620).
5553 2014-02-03 Martin Rudalics <rudalics@gmx.at>
5555 * faces.el (window-divider): New default value. Rewrite doc-string.
5556 (window-divider-first-pixel, window-divider-last-pixel): New faces.
5558 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
5560 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5561 `protected' and `public' can also be called without arguments.
5563 2014-02-03 Glenn Morris <rgm@gnu.org>
5565 * register.el (window-configuration-to-register)
5566 (frame-configuration-to-register): Unadvertise unused argument.
5567 * frameset.el (frameset-to-register): Remove unused argument.
5569 * frameset.el (frameset-to-register):
5570 * kmacro.el (kmacro-to-register):
5571 * register.el (increment-register):
5572 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5573 (calc-append-to-register, calc-prepend-to-register):
5574 * play/gametree.el (gametree-layout-to-register)
5575 (gametree-apply-register-layout):
5576 * textmodes/picture.el (picture-clear-rectangle-to-register)
5577 (picture-yank-rectangle-from-register):
5578 * vc/emerge.el (emerge-combine-versions-register):
5579 Use register-read-with-preview to read registers.
5581 2014-02-03 João Távora <joaotavora@gmail.com>
5583 * elec-pair.el (electric-pair-backward-delete-char): Don't error
5584 when at beginning of (possibly narrowed) buffer.
5586 2014-02-02 Daniel Colascione <dancol@dancol.org>
5588 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5589 Also try to display local help from just before point.
5591 2014-02-02 Alan Mackenzie <acm@muc.de>
5593 c-parse-state. Don't "append-lower-brace-pair" in certain
5594 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
5595 recognised as a comment.
5597 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5598 as well as normal comment starter.
5599 (c-parse-state-get-strategy): Extra return possibility
5601 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5602 return value list to indicate replacement of a brace-pair cons
5604 (c-parse-state-1): With 'back-and-forward, only call
5605 c-append-lower-brace-pair-to state-cache when cons-separated.
5607 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
5609 * term/ns-win.el (ns-suspend-error): New function.
5610 (ns-initialize-window-system): Add ns-suspend-error to
5611 suspend-hook (Bug#16612).
5613 2014-02-02 Daniel Colascione <dancol@dancol.org>
5615 * progmodes/cc-defs.el (c-find-assignment-for-mode):
5616 Make loading cc-mode silent.
5618 2014-02-02 Daniel Colascione <dancol@dancol.org>
5620 * comint.el (comint-prompt-read-only): Change doc to suggest
5623 2014-02-02 Glenn Morris <rgm@gnu.org>
5625 * register.el (register-read-with-preview, point-to-register)
5626 (window-configuration-to-register, frame-configuration-to-register)
5627 (jump-to-register, number-to-register, view-register, insert-register)
5628 (copy-to-register, append-to-register, prepend-to-register)
5629 (copy-rectangle-to-register): Doc fixes.
5631 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
5633 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5634 * emacs-lisp/find-func.el (find-function-C-source): Idem.
5635 * emacs-lisp/nadvice.el (advice--cd*r): New function.
5636 * help-fns.el (describe-function-1): Use it.
5638 2014-02-02 Glenn Morris <rgm@gnu.org>
5640 * register.el (register-preview-default): New function,
5641 split from register-preview.
5642 (register-preview-function): Rename from register-preview-functions,
5644 (register-preview): Use register-preview-function.
5645 (register-read-with-preview): Error on non-character event. (Bug#16595)
5647 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
5649 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5650 `:' before binary operators (bug#16609). Don't check for `:'
5651 before `[' and `(', or their syntax status. A percent literal
5652 can't end with either.
5653 (ruby-font-lock-keywords): For built-ins that require arguments,
5654 check that they're followed by something that looks like argument
5657 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
5659 * subr.el (butlast): Document what an omitted N means (bug#13437).
5662 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
5664 * net/shr.el (shr-generic): Make into a defsubst to make the stack
5665 depth shallower (bug#16587).
5666 (shr-tag-svg): Respect `shr-inhibit-images'.
5667 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5669 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
5671 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5672 (ruby-smie-grammar): Make "." right-associative. Make its priority
5673 lower than the ternary and all binary operators.
5674 (ruby-smie-rules): Indent "(" relative to the first non-"."
5675 parent, or the first "." parent at indentation.
5676 Use `ruby-align-chained-calls' for indentation of "." tokens.
5679 2014-01-31 Juri Linkov <juri@jurta.org>
5681 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5682 from `make-hash-table'.
5684 * textmodes/ispell.el (ispell-init-process): Change message format
5685 to be consistent with other messages.
5687 2014-01-31 Glenn Morris <rgm@gnu.org>
5689 * delsel.el (delete-selection-mode): Doc fix.
5691 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5692 (trace-function-background): Doc fixes.
5694 * ido.el (ido-use-virtual-buffers): Doc fix.
5695 Reset :version, since the default value has not changed.
5697 * register.el (register-preview-delay, register-read-with-preview):
5700 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5701 do not mess with mail-buffer position (fixes 2009-11-03 change).
5702 * progmodes/cc-mode.el (c-submit-bug-report):
5703 Check auto-fill-mode is bound. (Bug#16592)
5705 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
5707 * startup.el (fancy-splash-image-file): New function,
5708 split from fancy-splash-head.
5709 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5710 so that we are both using the same image. (Bug#16574)
5712 2014-01-30 Glenn Morris <rgm@gnu.org>
5714 * simple.el (eval-expression): Doc fix.
5716 * hexl.el (hexl-mode-hook):
5717 * ielm.el (ielm-mode-hook):
5718 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5719 (lisp-interaction-mode-hook):
5720 * progmodes/cfengine.el (cfengine3-documentation-function):
5721 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5723 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
5725 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5726 is a symbol (bug#16584).
5728 2014-01-30 Glenn Morris <rgm@gnu.org>
5730 * help.el (help-for-help-internal): Add "P" to text.
5732 2014-01-29 Glenn Morris <rgm@gnu.org>
5734 * simple.el (just-one-space, cycle-spacing): Doc fixes.
5736 2014-01-28 Martin Rudalics <rudalics@gmx.at>
5738 * window.el (fit-frame-to-buffer): Fix calculations for margins and
5741 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
5743 * progmodes/hideif.el: Extend to full CPP expression syntax.
5744 (hif-token-alist): Add missing tokens.
5745 (hif-token-regexp): Add support for float/octal/hex immediates.
5746 (hif-string-literal-regexp): New const.
5747 (hif-tokenize): Recognize strings and float/octal/hex immediates.
5748 (hif-exprlist): New function.
5749 (hif-parse-if-exp): Use it.
5750 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5751 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5752 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5753 (hif-logxor, hif-comma): New functions.
5755 2014-01-28 Glenn Morris <rgm@gnu.org>
5757 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5759 * indent.el (tab-stop-list): Doc fix. Add :version.
5761 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5762 (cvs-append-to-ignore): Add compatibility alias.
5764 2014-01-27 Glenn Morris <rgm@gnu.org>
5766 * dired.el (dired-hide-details-mode): Don't autoload it,
5767 since it cannot be used outside Dired buffers anyway.
5769 * emulation/cua-base.el (cua-mode): Doc fix.
5771 * dired.el (dired-hide-details-hide-symlink-targets)
5772 (dired-hide-details-hide-information-lines)
5773 (dired-hide-details-mode): Doc fixes.
5775 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5776 * strokes.el (strokes-file): Doc fix. Bump :version.
5777 (strokes-help): Doc fix.
5778 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5779 * emulation/viper.el (viper): Doc fix for custom group.
5780 (top-level): Remove oh-so-no-longer-relevant text about vip.
5781 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5783 * ido.el (ido-save-directory-list-file):
5784 * saveplace.el (save-place-file):
5785 * calendar/timeclock.el (timeclock-file):
5786 * net/quickurl.el (quickurl-url-file):
5787 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5788 * progmodes/idlwave.el (idlwave-config-directory):
5789 * textmodes/remember.el (remember-data-file):
5792 2014-01-26 Glenn Morris <rgm@gnu.org>
5794 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5795 Doc fix. Make obsolete.
5796 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5798 * sort.el (delete-duplicate-lines): Doc fix.
5800 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5802 * progmodes/ada-mode.el (ada):
5803 * woman.el (woman): Link to info manual and Commentary section.
5805 * progmodes/flymake.el (flymake):
5806 * nxml/nxml-mode.el (nxml):
5808 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5809 * htmlfontify.el (htmlfontify):
5812 * ido.el (ido): Link to info manual.
5814 2014-01-25 Leo Liu <sdl.web@gmail.com>
5816 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5818 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
5820 * net/shr.el (shr-tag-img): Prefer the title over the alt text
5823 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
5825 * net/eww.el (eww-download-callback):
5826 Fix reference to eww-download-directory.
5828 * emacs-lisp/bytecomp.el (byte-compile-file):
5829 Remove unused local variable `file-name'.
5831 2014-01-24 Glenn Morris <rgm@gnu.org>
5833 * woman.el (woman-default-faces, woman-monochrome-faces):
5834 Fix obsolescence specification.
5836 * subr.el (with-demoted-errors): Doc fix.
5838 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
5840 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5841 (cl--macroexp-fboundp): New function.
5842 (cl--make-type-test): Use it.
5844 2014-01-23 Glenn Morris <rgm@gnu.org>
5846 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5847 * simple.el (eval-expression): Doc fixes.
5849 2014-01-22 Glenn Morris <rgm@gnu.org>
5851 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5853 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * emacs-lisp/package.el: Write files silently.
5856 (package-autoload-ensure-default-file, package--write-file-no-coding)
5857 (package-generate-description-file, package--download-one-archive)
5858 (package-install-from-archive): Tell `write-region' to stay quiet.
5859 (package-menu-mode, package-menu--print-info): Omit the Archive column
5860 if there's only one archive.
5861 (package-all-keywords, package--has-keyword-p): Remove dead code.
5863 2014-01-22 Glenn Morris <rgm@gnu.org>
5865 * version.el (emacs-bzr-version-bzr): Fix typo.
5867 * version.el (emacs-repository-get-version):
5868 Check either .bzr or .git, but not both.
5869 Make the git case actually use the DIR argument, and return nil
5870 rather than the empty string.
5871 Avoid error if .git exists but the git executable is not found.
5873 2014-01-22 Martin Rudalics <rudalics@gmx.at>
5875 Fixes in window size functions around Bug#16430 and Bug#16470.
5876 * window.el (window-total-size, window-size): New argument ROUND.
5877 (window--min-delta-1, window-min-delta, window--max-delta-1):
5878 Be more conservative when calculating the numbers of lines or
5879 columns a window can shrink (Bug#16430).
5880 (fit-window-to-buffer): Simplify code.
5881 * term.el (term-window-width): Call window-body-width again.
5883 2014-01-22 Glenn Morris <rgm@gnu.org>
5885 * image.el (image-format-suffixes): Doc fix.
5887 * international/quail.el (quail-define-package): Doc fix.
5889 * emacs-lisp/authors.el (authors-valid-file-names)
5890 (authors-renamed-files-alist): Additions.
5892 * vc/vc-git.el (vc-git-print-log): Remove --follow;
5893 reverts 2014-01-09 change. (Bug#16422)
5895 * calc/calc-embed.el (thing-at-point-looking-at):
5896 * emacs-lisp/map-ynp.el (x-popup-dialog):
5897 * obsolete/lmenu.el (x-popup-dialog):
5898 * emacs-lisp/package.el (url-recreate-url):
5899 * mail/mailclient.el (clipboard-kill-ring-save):
5900 * subr.el (x-popup-dialog): Update declaration.
5901 * mail/rmail.el (rmail-mime-message-p):
5902 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5904 2014-01-21 Daniel Colascione <dancol@dancol.org>
5906 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5907 Correctly detect when we're inside an arithmetic expansion form
5908 containing nested parenthesis.
5909 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5910 to detect cases where we shouldn't expand "<<" to a heredoc
5913 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
5915 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5916 (eldoc--message-command-p): New function.
5917 (eldoc-display-message-p): Use it.
5918 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5919 message is not automatically erased for us.
5920 (eldoc-print-current-symbol-info): Erase previous message, if any.
5922 2014-01-21 Tassilo Horn <tsdh@gnu.org>
5924 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5925 specify it's an interactive function.
5927 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5928 Fix regex used for scanning for citation keys which failed for
5929 citations with optional arguments.
5931 2014-01-21 Leo Liu <sdl.web@gmail.com>
5933 * simple.el (read--expression): Don't enable eldoc-mode.
5935 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * simple.el (move-beginning-of-line): Make sure we don't move forward
5940 2014-01-20 Juri Linkov <juri@jurta.org>
5942 * saveplace.el (toggle-save-place, save-place-to-alist)
5943 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5944 'dired-mode) before checking for dired-directory. (Bug#16477)
5946 2014-01-20 Juri Linkov <juri@jurta.org>
5948 * indent.el (indent-line-to): Use backward-to-indentation
5949 instead of back-to-indentation. (Bug#16461)
5951 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
5953 Revert some of the CANNOT_DUMP fix (Bug#16494).
5954 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5955 but fixing this can wait until after the next release.
5956 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5958 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
5960 * eshell/esh-mode.el (eshell-password-prompt-regexp):
5961 Use `password-word-equivalents'.
5962 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5963 to t. (Bug#5664, Bug#13124)
5965 2014-01-19 Alan Mackenzie <acm@muc.de>
5967 Bind open-paren-in-column-0-is-defun-start to nil at some entry
5969 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5970 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5971 * progmodes/cc-mode.el (c-before-change, c-after-change)
5972 (c-font-lock-fontify-region): Bind it here.
5974 2014-01-19 Martin Rudalics <rudalics@gmx.at>
5976 * term.el (term-window-width): Call window-text-width instead of
5977 window-width (Bug#16470).
5979 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
5981 * simple.el (password-word-equivalents): Remove duplicates.
5982 Sort, to make this easier next time.
5983 Downcase. Omit ": " after "jelszó".
5985 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
5987 * term/common-win.el (saved-region-selection): Defvar it.
5988 (x-select-text): Set saved-region-selection (Bug#16382).
5990 2014-01-18 Glenn Morris <rgm@gnu.org>
5992 * emacs-lisp/authors.el (authors-aliases)
5993 (authors-renamed-files-alist): Add some entries.
5995 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
5997 * net/tramp.el (tramp-password-prompt-regexp):
5998 Use `password-word-equivalents' if available.
5999 (tramp-action-password, tramp-process-one-action)
6000 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6002 2014-01-17 Chong Yidong <cyd@gnu.org>
6004 * simple.el (password-word-equivalents): New defcustom.
6005 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6007 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6010 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6012 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6013 (ruby-align-to-stmt-keywords): Change the default value.
6014 Use `ruby-alignable-keywords' to generate the possible customization
6016 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6017 keywords, check against the value of `ruby-alignable-keywords'
6018 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6020 2014-01-17 Glenn Morris <rgm@gnu.org>
6022 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6024 Make M-x authors return zero *Authors Errors* from current logs.
6025 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6026 (authors-ignored-files): Add some entries, remove others.
6027 (authors-ambiguous-files, authors-valid-file-names):
6029 (authors-renamed-files-alist): Add, remove, and adjust entries.
6030 (authors-renamed-files-regexps): Add some entries.
6031 Remove some very broad ones. Make some entries `lax'.
6032 (authors-lax-changelogs): New constant.
6033 (authors-disambiguate-file-name): Treat top-level specially.
6034 (authors-lax-changelog-p): New function.
6035 (authors-canonical-file-name): Check file as written against
6036 authors-valid-file-names. Do not special-case etc/.
6037 Handle `lax' logs and authors-renamed-files-regexps elements.
6039 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6041 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6042 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6045 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6047 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6048 Assume we're already in the proper buffer.
6049 Inspired by Anders Lindgren <andlind@gmail.com>.
6050 (follow-post-command-hook): Call it from the right buffer.
6051 (follow-comint-scroll-to-bottom): Adjust call.
6052 (follow-all-followers): Use get-buffer-window-list.
6054 2014-01-15 Daniel Colascione <dancol@dancol.org>
6056 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6057 `buffer-file-name' in interactive-form so that we don't leave
6058 pathless file names in `file-name-history'.
6060 2014-01-15 Juri Linkov <juri@jurta.org>
6062 * indent.el (indent-rigidly): Set deactivate-mark to nil
6063 in transient indentation mode. (Bug#16438)
6065 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6067 * emacs-lisp/package.el (package-desc-keywords): New function
6069 (describe-package-1, package-all-keywords)
6070 (package--has-keyword-p): Use it.
6072 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6074 * simple.el (define-alternatives): When creating the
6075 COMMAND-alternatives variable, assign COMMAND as its definition
6076 name so that `describe-variable' can relocate it.
6078 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
6080 * font-lock.el (font-lock-keywords): Fix typo in docstring
6083 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6085 * ispell.el (ispell-region): Reset `in-comment' for new line
6086 instead of wrongly reset `add-coment' (bug#13577).
6088 2014-01-14 Daiki Ueno <ueno@gnu.org>
6090 * epa-file.el (epa-file-write-region): Encode the region according
6091 to `buffer-file-format'. Problem reported at:
6092 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6094 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6097 so it applies in the right buffer (bug#16410).
6099 2014-01-13 Daniel Colascione <dancol@dancol.org>
6101 * textmodes/rst.el (rst-define-key): Provide deprecated
6102 keybindings through named functions instead of anonymous ones so
6103 that "??" doesn't appear in describe-mode output.
6105 2014-01-13 Bastien Guerry <bzg@gnu.org>
6107 * simple.el (define-alternatives): Call the selected command
6108 interactively. When setting `COMMAND--implementation' for the
6109 first time, tell the user how to chose another implementation.
6110 Enhance the docstring.
6112 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6115 (log-edit--match-first-line): New function.
6116 (log-edit-font-lock-keywords): Use it.
6117 (log-edit-mode): Make jit-lock-defer-multiline work.
6119 2014-01-13 Bastien Guerry <bzg@gnu.org>
6121 * rect.el (rectangle-mark-mode): When the region is not active,
6122 display a message saying that the mark as been set and that
6123 rectangle mode is in use.
6124 (rectangle--highlight-for-redisplay): Only put an overlay with a
6125 visible vertical bar when (display-graphic-p) is non-nil.
6126 This partially fixes Bug#16403.
6128 2014-01-13 Juri Linkov <juri@jurta.org>
6130 * info.el (Info-find-file): Go to DIR before displaying the error
6131 about a nonexistent file if no previous Info file is visited.
6132 Use `user-error' instead of `error' for "Info file %s does not exist".
6133 (Info-find-node-2): In case of a nonexistent node in unwind forms
6134 go to the Top node if there is no previous node to revert to.
6137 2014-01-13 Martin Rudalics <rudalics@gmx.at>
6139 fit-frame/window-to-buffer code fixes including one for Bug#14096.
6140 * window.el (fit-frame-to-buffer): Fix doc-string.
6141 Respect window-min-height/-width. Fit pixelwise when
6142 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
6143 when avoiding that frame goes partially off-screen.
6144 (fit-window-to-buffer): Respect window-min-height/-width
6147 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6149 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6150 after an empty line.
6152 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
6154 * net/shr.el (shr-render-region): Autoload.
6156 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
6158 * net/eww.el (eww-download-directory): Rename from
6159 `eww-download-path' (Bug#16419).
6161 2014-01-12 Leo Liu <sdl.web@gmail.com>
6163 * dired-x.el (dired-mode-map): Fix last change.
6165 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6167 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
6170 * emacs-lisp/generic.el (generic--normalize-comments):
6171 Rename from generic--normalise-comments. All uses changed.
6172 * play/bubbles.el (bubbles--neighborhood-score)
6173 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6174 (bubbles--neighborhood-available)
6175 (bubbles--update-neighborhood-score):
6176 Rename from names with 'neighbourhood'. All uses changed.
6178 2014-01-12 Leo Liu <sdl.web@gmail.com>
6180 Re-implement the feature of showing eldoc info after editing.
6181 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6182 (eldoc-edit-message-commands): New function.
6183 (eldoc-print-after-edit): New variable.
6184 (eldoc-pre-command-refresh-echo-area): Emit message only by
6185 eldoc-message-commands.
6186 (eldoc-mode): Restrict eldoc-message-commands to editing commands
6187 if eldoc-print-after-edit is set. (Bug#16346)
6188 * simple.el (read--expression): Enable eldoc-mode.
6189 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6191 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
6192 Eric S. Raymond <esr@thyrsus.com>
6194 * version.el (emacs-repository-get-version): Enhance so the
6195 function works correctly in either a Bazaar or Git repo.
6197 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
6199 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6200 Goes with removal of the joke manpages from /etc.
6202 2014-01-10 Kenichi Handa <handa@gnu.org>
6204 * mail/rmail.el (rmail-get-coding-system):
6205 Check rmail-get-coding-function before "funcall"ing it.
6207 2014-01-10 Glenn Morris <rgm@gnu.org>
6209 * emacs-lisp/authors.el (authors-fixed-entries):
6210 Update for files that no longer exist.
6212 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
6214 * version.el (emacs-bzr-get-version): Restore compatibilty with
6217 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
6219 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6222 2014-01-10 Eli Zaretskii <eliz@gnu.org>
6224 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6226 2014-01-10 Chong Yidong <cyd@gnu.org>
6228 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6230 2014-01-10 Anders Lindgren <andlind@gmail.com>
6232 * follow.el (follow-cache-command-list): Include right-char and
6235 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
6238 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6239 * woman.el (woman-mark-horizontal-position):
6240 Rename from woman-mark-horizonal-position. Use changed.
6242 2014-01-10 Glenn Morris <rgm@gnu.org>
6244 * info.el (info-initialize): If running uninstalled, ensure our
6245 own info files are always found first, even if INFOPATH is set.
6247 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6249 2014-01-09 David Engster <deng@randomsample.de>
6251 * emacs-lisp/eieio-custom.el:
6252 * emacs-lisp/eieio-opt.el: Set generated autoload file to
6253 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6254 * emacs-lisp/eieio.el: Regenerate autoloads.
6256 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
6258 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6259 following renames. (Bug#8756)
6261 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6265 (activate-mark): Add `no-tmm' argument.
6266 (set-mark, push-mark-command): Use it instead of running
6267 activate-mark-hook by hand.
6269 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
6271 In preparation for the move to git, sanitize out some
6272 Bazaar-specific names.
6274 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6276 * version.el (emacs-bzr-version): Name changed to
6277 emacs-repository-version. Obsolete-variable alias made.
6278 * loadup.el: Follow through on this name change.
6279 * mail/emacsbug.el (report-emacs-bug): Factor out any
6280 assumption about the version control system in use.
6282 2014-01-08 David Engster <deng@randomsample.de>
6284 * help-fns.el (help-fns-describe-function-functions):
6285 New variable to call functions for augmenting help buffers.
6286 (describe-function-1): Remove explicit calls to
6287 `help-fns--compiler-macro', `help-fns--parent-mode' and
6288 `help-fns--obsolete'. Put them in above new variable instead, and
6289 call them through `run-hook-with-args'.
6290 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6291 `eieio-describe-class'. Not meant for interactive use anymore,
6292 but to augment existing help buffers. Remove optional second
6293 argument. Create proper button for file location.
6294 Rewrite function to use `insert' instead of `princ' and `prin1' where
6296 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6297 (eieio-method-def, eieio-class-def): Move further up.
6298 (describe-method, describe-generic, eieio-describe-method):
6300 (eieio-help-constructor, eieio-help-generic): Rename from
6301 `eieio-describe-constructor' and `eieio-describe-generic', resp.
6302 Rewrite to use `insert' in the current buffer and use proper help
6304 (eieio-help-find-method-definition)
6305 (eieio-help-find-class-definition): Also accept symbols as
6307 (eieio-help-mode-augmentation-maybee): Remove.
6308 (eieio-describe-class-sb): Use `describe-function'.
6309 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6310 Add `eieio-help-generic' and `eieio-help-constructor'.
6312 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
6315 * language/china-util.el (hz-ascii-designation):
6316 Rename from hz-ascii-designnation.
6317 (hz-ascii-designation): Rename from hz-ascii-designnation.
6320 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6325 2014-01-08 Bastien Guerry <bzg@gnu.org>
6327 * emacs-lisp/package.el (package-delete):
6328 Correctly delete the package from package-alist.
6330 2014-01-08 Daiki Ueno <ueno@gnu.org>
6332 * emacs-lisp/package.el (url-recreate-url): Declare.
6333 (url-http-target-url): Declare.
6334 (package-handle-response): Include requested URL in the error message.
6335 (package--check-signature): Don't re-signal errors from
6336 package--with-work-buffer. Suggested by Stefan Monnier.
6338 2014-01-07 Bastien Guerry <bzg@gnu.org>
6340 * minibuffer.el (completion--try-word-completion): When both a
6341 hyphen and a space are possible candidates for the character
6342 following a word, display both candidates. (Bug#15980)
6344 2014-01-07 Martin Rudalics <rudalics@gmx.at>
6346 * window.el (balance-windows-2): While rounding don't give a
6347 window more than the remainder. Bug#16351, bug#16383.
6349 2014-01-07 Glenn Morris <rgm@gnu.org>
6351 * menu-bar.el (menu-bar-help-extra-packages): Remove.
6352 (menu-bar-help-menu): Use view-external-packages instead.
6354 2014-01-07 Bastien Guerry <bzg@gnu.org>
6356 * emacs-lisp/package.el (package-delete): Also delete the package
6357 name from `package-alist', not its description only.
6359 2014-01-07 Glenn Morris <rgm@gnu.org>
6361 * help.el (view-external-packages):
6362 * menu-bar.el (menu-bar-help-extra-packages):
6363 Visit efaq.info rather than etc/MORE.STUFF.
6365 2014-01-07 Juri Linkov <juri@jurta.org>
6367 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6368 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
6370 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6371 that shadows RET. (Bug#16342)
6373 2014-01-07 Chong Yidong <cyd@gnu.org>
6375 * isearch.el (isearch-yank-char, isearch-yank-word)
6376 (isearch-yank-line): Doc fix.
6378 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6381 * emacs-lisp/elint.el (elint-find-builtins):
6382 * emacs-lisp/eldoc.el (eldoc-symbol-function):
6383 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6384 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6385 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6386 * apropos.el (apropos-safe-documentation):
6387 * subr.el (symbol-file): Remove redundant fboundp.
6388 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6390 2014-01-06 Bastien Guerry <bzg@gnu.org>
6392 * hl-line.el (global-hl-line-overlay): Make a local variable.
6393 (global-hl-line-overlays): New variable to store all overlays.
6394 (global-hl-line-mode): Don't delete overlays from the current
6395 buffer when `global-hl-line-sticky-flag' is non-nil.
6396 (global-hl-line-highlight): Add new overlays to
6397 `global-hl-line-overlays'.
6398 (global-hl-line-unhighlight-all): New function to delete all
6399 overlays when turning off `global-hl-line-mode'.
6400 This fixes Bug#16183.
6402 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * subr.el (set-transient-map): Fix nested case and docstring.
6406 2014-01-06 Tassilo Horn <tsdh@gnu.org>
6408 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6411 2014-01-06 Daniel Colascione <dancol@dancol.org>
6413 Fix defun navigation in vc log view.
6415 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6416 like `beginning-of-defun'.
6417 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6418 log-view-end-of-defun to log-view-end-of-defun-1. Replace
6419 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6420 (log-view-extract-comment): Call `log-view-current-entry' directly
6421 instead of relying on broken `log-view-beginning-of-defun' behavior.
6423 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
6426 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6427 * emacs-lisp/debug.el (cancel-debug-on-entry):
6428 * epg.el (epg-error-to-string):
6429 * files.el (recover-file):
6430 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6431 * mail/emacsbug.el (report-emacs-bug-hook):
6432 * mail/sendmail.el (mail-recover):
6433 * ses.el (ses-yank-resize):
6434 * term/ns-win.el (ns-print-buffer):
6435 Spelling fixes in diagnostics, mostly for "canceled" with one L.
6436 * epg.el (epg-key-capability-alist): Rename from misspelled version.
6438 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6440 2014-01-06 Leo Liu <sdl.web@gmail.com>
6442 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6443 to avoid shadowing global key. (Bug#16354)
6445 2014-01-06 Daniel Colascione <dancol@dancol.org>
6447 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6450 2014-01-05 Martin Rudalics <rudalics@gmx.at>
6452 * window.el (balance-windows): Add mising t to fix Bug#16351.
6454 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6456 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6458 (shr-insert): If we have a word that's longer than `shr-width',
6459 break after it anyway. Otherwise we'll do no breaking once we get
6462 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6464 * net/eww.el (eww): Support single/double quote for search.
6465 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6466 (eww-history-quit): Delete and use quit-window.
6467 (eww-history-kill): Delete, because it doesn't work well and
6469 (eww-history-mode-map): Delete some keys and add easy-menu.
6471 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
6473 Fix misspelling of 'chinese' in rx (Bug#16237).
6474 * emacs-lisp/rx.el (rx-categories): Correct spelling of
6477 Change subword regexps back to vars (Bug#16296).
6478 * progmodes/subword.el (subword-forward-regexp)
6479 (subword-backward-regexp): Change these back to variables.
6481 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
6483 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6484 syntax-begin-function (bug#16247).
6486 2014-01-03 Chong Yidong <cyd@gnu.org>
6488 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6489 (advice--docstring): Delete variable.
6490 (advice--make-1): Leave the docstring empty.
6491 (advice-add): Use function-documentation for advised docstring.
6493 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6494 Ignore function-documentation property when getting documentation.
6495 (ad-activate-advised-definition): Use function-documentation
6496 generate the docstring.
6497 (ad-make-advised-definition): Don't call
6498 ad-make-advised-definition-docstring.
6499 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6502 * progmodes/sql.el (sql-help): Use function-documentation instead
6503 of dynamic-docstring-function property. No need to autoload now.
6504 (sql--help-docstring): New variable.
6505 (sql--make-help-docstring): Use it.
6507 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * ielm.el (ielm-tab): Retarget.
6510 (ielm-map): Use ielm-tab for tab.
6511 (ielm-complete-filename): Use comint-filename-completion.
6512 (ielm-complete-symbol): Remove.
6513 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6514 remove ielm-tab from completion-at-point-functions (bug#16224).
6516 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6517 Beware signals raised by predicates (bug#16201).
6519 2014-01-02 Richard Stallman <rms@gnu.org>
6521 * dired-aux.el (dired-do-print): Handle printer-name.
6523 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6524 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6525 (rmail-epa-decrypt): Turn off mime processing.
6527 * mail/rmail.el (rmail-make-in-reply-to-field):
6528 Add parens in message-id.
6530 * mail/rmail.el (rmail-get-coding-function): Variable.
6531 (rmail-get-coding-system): Use it.
6533 2013-12-31 Eli Zaretskii <eliz@gnu.org>
6535 * international/mule-conf.el: Unify the charset indian-is13194.
6536 (indian-is13194): Specify unify-map.
6538 2013-12-31 Leo Liu <sdl.web@gmail.com>
6540 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
6542 2013-12-30 Daniel Colascione <dancol@dancol.org>
6544 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6545 of printing a useless when we resume from sleep.
6547 * progmodes/sh-script.el
6548 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6549 in indentation code. (Bug#16233)
6551 2013-12-28 João Távora <joaotavora@gmail.com>
6553 * elec-pair.el (electric-pair-post-self-insert-function):
6554 Don't open extra newlines at beginning of buffer. (Bug#16272)
6556 2013-12-28 Eli Zaretskii <eliz@gnu.org>
6558 * frame.el (window-system-for-display): Don't allow to create a
6559 GUI frame from a -nw session on MS-Windows. (Bug#14739)
6561 2013-12-28 Glenn Morris <rgm@gnu.org>
6563 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6566 * apropos.el (apropos-match-face):
6567 * calculator.el (calculator-displayer):
6568 * dabbrev.el (dabbrev-search-these-buffers-only):
6569 * face-remap.el (buffer-face-mode-face):
6570 * simple.el (yank-handled-properties):
6571 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6572 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6573 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6574 (hashcash-double-spend-database):
6575 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6576 (ruby-deep-indent-paren-style):
6577 * textmodes/flyspell.el (flyspell-auto-correct-binding):
6578 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6579 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6580 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6581 Specify custom types.
6583 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6584 * bookmark.el (bookmark-bmenu-use-header-line):
6585 * doc-view.el (doc-view-scale-internally):
6586 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6587 * register.el (register-preview-delay):
6588 * net/shr.el (shr-bullet):
6589 * progmodes/cfengine.el (cfengine-cf-promises)
6590 (cfengine-parameters-indent):
6591 * progmodes/octave.el (inferior-octave-error-regexp-alist):
6592 * textmodes/reftex-vars.el (reftex-label-regexps):
6593 * vc/log-edit.el (log-edit-setup-add-author): Add version.
6595 * net/tls.el (tls-certtool-program): Fix default value.
6597 * desktop.el (desktop-restore-in-current-display):
6598 * newcomment.el (comment-empty-lines):
6599 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6600 (idlwave-pad-keyword):
6601 * progmodes/tcl.el (tcl-tab-always-indent):
6602 * textmodes/reftex-vars.el (reftex-index-default-tag):
6603 * elec-pair.el (electric-pair-skip-whitespace):
6604 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6606 * emacs-lisp/authors.el (authors-ignored-files)
6607 (authors-valid-file-names, authors-renamed-files-alist): Additions.
6609 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
6611 * shell.el (shell-dynamic-complete-command): Doc fix.
6612 (shell--command-completion-data): Shell completion now matches
6613 executable filenames from the current buffer's directory, on
6614 systems in which this behavior is the default (windows-nt, ms-dos).
6616 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
6618 * net/shr.el (shr-insert): Don't infloop if the width is zero.
6620 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
6622 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6625 * electric.el: Move all electric-pair-* to elec-pair.el.
6626 * elec-pair.el: New file, split from electric.el.
6628 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
6630 * net/shr.el (shr-find-fill-point): Don't try to fill if the
6631 indentation level is larger than the width, because that will
6633 (shr-insert): Fill repeatedly long texts, so that Japanese is
6634 formatted correctly (bug#16263).
6635 (shr-find-fill-point): Off by one error in comparison with the
6638 2013-12-26 João Távora <joaotavora@gmail.com>
6640 * electric.el (electric-pair-mode): More flexible engine for skip-
6641 and inhibit predicates, new options for pairing-related functionality.
6642 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6643 if that keeps or improves their balance in buffers.
6644 (electric-pair-delete-adjacent-pairs): Delete the pair when
6645 backspacing over adjacent matched delimiters.
6646 (electric-pair-open-extra-newline): Open extra newline when
6647 inserting newlines between adjacent matched delimiters.
6648 (electric--sort-post-self-insertion-hook):
6649 Sort post-self-insert-hook according to priority values when
6650 minor-modes are activated.
6651 * simple.el (newline-and-indent): Call newline with interactive
6653 (blink-paren-post-self-insert-function): Set priority to 100.
6654 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6655 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6656 comments. Locally set electric-pair-skip-whitespace to 'chomp and
6657 electric-pair-open-newline-between-pairs to nil.
6659 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6661 * progmodes/python.el: Use lexical-binding.
6662 (python-nav-beginning-of-defun): Stop searching ASAP.
6664 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
6666 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6667 Fix interactive spec. Doc fix. (Bug#15754)
6669 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
6671 * emacs-lisp/byte-run.el (eval-when-compile):
6672 * progmodes/cc-defs.el (cc-eval-when-compile):
6673 Fix edebug spec (bug#16184).
6675 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
6677 * net/shr.el (shr-visit-file): Remove debugging function.
6678 (shr-insert): Don't infloop if we can't find a good place to break
6679 the line (bug#16256).
6681 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
6683 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6684 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
6685 python-nav-lisp-forward-sexp-safe.
6686 (python-nav--forward-sexp): New argument SAFE allows switching
6687 forward sexp movement behavior for parens.
6688 (python-nav-forward-sexp): Throw errors on unterminated parens
6690 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6691 (python-nav-backward-sexp-safe): New functions.
6692 (python-shell-buffer-substring):
6693 Use `python-nav-forward-sexp-safe'.
6695 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
6697 * net/shr.el (shr-find-fill-point): Don't break lines before a
6699 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6700 (shr-find-fill-point): Remove the special checks for the quotation
6701 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6703 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6705 * net/eww.el (eww-form-textarea): Use a different face for
6706 textareas than text input since they have different keymaps
6709 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
6711 * progmodes/python.el (python-nav-beginning-of-statement):
6712 Speed up (Bug#15295).
6714 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6716 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6717 the window configuration.
6719 2013-12-24 Eli Zaretskii <eliz@gnu.org>
6721 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6722 we run on MS-Windows or MS-DOS.
6724 2013-12-24 Martin Rudalics <rudalics@gmx.at>
6726 * window.el (balance-windows-area): Call window-size instead of
6727 window-height and window-width. Bug#16241.
6729 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6731 * net/eww.el (eww-bookmark-quit): Remove.
6732 (eww-bookmark-browse): Restore the window configuration when you
6733 choose a bookmark (bug#16144).
6735 2013-12-24 Daniel Colascione <dancol@dancol.org>
6737 * icomplete.el: Remove redundant :group arguments to `defcustom'
6739 (icomplete-show-matches-on-no-input): New customizable variable.
6740 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6741 we have something to show.
6742 (icomplete-exhibit): Compute completions even if we have no user input.
6744 2013-12-23 Daniel Colascione <dancol@dancol.org>
6746 * icomplete.el: Move `provide' to end of file.
6748 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
6750 * net/gnutls.el (gnutls-verify-error): Add version tag.
6752 2013-12-23 Chong Yidong <cyd@gnu.org>
6754 * subr.el (set-transient-map): Rename from
6755 set-temporary-overlay-map. Doc fix.
6757 * face-remap.el (text-scale-adjust):
6758 * indent.el (indent-rigidly):
6759 * kmacro.el (kmacro-call-macro):
6760 * minibuffer.el (minibuffer-force-complete):
6761 * repeat.el (repeat):
6762 * simple.el (universal-argument--mode):
6763 * calendar/todo-mode.el (todo-insert-item--next-param):
6764 * progmodes/f90.el (f90-abbrev-start): Callers changed.
6766 * indent.el (indent-rigidly): Use substitute-command-keys.
6768 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6770 * net/eww.el (eww-tag-select): Add text-property to jump to next
6772 (eww): Add non-supported ftp error.
6774 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6776 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6777 comments. Handle electric indent after typing `?' and `!'.
6779 2013-12-22 Chong Yidong <cyd@gnu.org>
6781 * faces.el (face-spec-recalc): If the theme specs are not
6782 applicable to a frame, fall back on the defface spec.
6783 This prevents themes from obliterating faces on low-color terminals.
6785 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6787 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6788 after `{'. We need it after block openers, and it doesn't seem
6789 to hurt after hash openers.
6791 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6793 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6794 extracted from `ruby-smie-rules'.
6795 (ruby--electric-indent-chars): New variable.
6796 (ruby--electric-indent-p): New function.
6797 (ruby-mode): Use `electric-indent-functions' instead of
6798 `electric-indent-chars'.
6800 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6802 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6804 (ruby-smie-rules): Indent plus one level after `=>'.
6806 2013-12-21 Richard Stallman <rms@gnu.org>
6808 * simple.el (newline): Doc fix.
6810 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6812 * net/eww.el (eww-list-histories, eww-list-histories)
6813 (eww-history-browse, eww-history-quit, eww-history-kill)
6814 (eww-history-mode-map, eww-history-mode): New command and
6815 functions to list browser histories.
6816 (eww-form-text): Support text form with disabled
6817 and readonly attributes.
6818 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6820 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6822 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6823 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6824 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6825 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6827 (eww-bookmark-mode-map): Add menu.
6828 (eww-render, eww-mode): Use `setq-local'.
6829 (eww-tool-bar-map): New variable.
6830 (eww-mode): Set `tool-bar-map'.
6831 (eww-view-source): Check for `html-mode' with `fboundp'.
6833 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6835 * net/shr.el (shr--extract-best-source): Don't bug out on audio
6836 elements with text inside. Also remove debugging.
6838 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
6840 * cus-start.el (all): Add ns-use-srgb-colorspace.
6842 2013-12-21 Chong Yidong <cyd@gnu.org>
6844 * custom.el (custom-theme-recalc-face): Do nothing if the face is
6845 undefined. Thus, theme settings for undefined faces do not take
6846 effect until the faces are defined with defface, the same as with
6849 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6850 (face-spec-reset-face): Don't assign extra properties in temacs.
6851 (face-spec-recalc): Apply X resources too.
6853 2013-12-21 Chong Yidong <cyd@gnu.org>
6855 * faces.el (face-spec-set):
6856 * cus-face.el (custom-theme-set-faces, custom-set-faces):
6857 * custom.el (defface): Doc fixes (Bug#16203).
6859 * indent.el (indent-rigidly-map): Add docstring, and move commands
6860 into named functions.
6861 (indent-rigidly-left, indent-rigidly-right)
6862 (indent-rigidly-left-to-tab-stop)
6863 (indent-rigidly-right-to-tab-stop): New functions. Decide on
6864 indentation direction based on bidi direction, and accumulate
6865 sequential commands in a single undo boundary.
6866 (indent-rigidly--pop-undo): New utility function.
6868 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
6870 * faces.el (read-face-name): Require crm.el when using crm-separator.
6872 2013-12-20 Daniel Colascione <dancol@dancol.org>
6874 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6875 so that we don't reflow comments into the shebang line.
6877 2013-12-20 Juri Linkov <juri@jurta.org>
6879 * saveplace.el (save-place-to-alist): Add `dired-filename' as
6880 a position when `dired-directory' is non-nil. Check integer
6881 positions with `integerp'.
6882 (toggle-save-place, save-places-to-alist): Add check for
6884 (save-place-find-file-hook): Check integer positions with
6886 (save-place-dired-hook): Use `dired-goto-file' when
6887 `dired-filename' is found in the assoc list. Check integer
6888 positions with `integerp'.
6889 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6891 * dired.el (dired-initial-position-hook): Rename back from
6892 `dired-initial-point-hook'.
6893 (dired-initial-position): Rename `dired-initial-point-hook' to
6894 `dired-initial-position-hook'.
6895 (dired-file-name-at-point): Doc fix. (Bug#15329)
6897 2013-12-20 Juri Linkov <juri@jurta.org>
6899 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6900 (read-regexp-suggestions): New function.
6901 (read-regexp): Use `read-regexp-defaults-function' to get default values.
6902 Use `read-regexp-suggestions'. Add non-empty default to history
6904 (occur-read-regexp-defaults-function): Remove function.
6905 (occur-read-primary-args): Use `regexp-history-last' instead of
6906 `occur-read-regexp-defaults-function'.
6908 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6909 (hi-lock-line-face-buffer, hi-lock-face-buffer)
6910 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6911 `hi-lock-read-regexp-defaults-function'. Doc fix.
6912 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6913 with `find-tag-default-as-symbol-regexp'. Doc fix.
6914 (hi-lock-read-regexp-defaults): Remove function.
6915 (hi-lock-regexp-okay): Add check for null.
6917 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6918 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
6920 * subr.el (find-tag-default-as-symbol-regexp): New function.
6921 (find-tag-default-as-regexp): Move symbol regexp formatting to
6922 `find-tag-default-as-symbol-regexp'.
6924 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
6926 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6929 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
6931 * calendar/todo-mode.el: New implementation of item insertion
6932 commands and key bindings.
6933 (todo-key-prompt): New face.
6934 (todo-insert-item): New command.
6935 (todo-insert-item--parameters): New defconst, replacing defvar
6936 todo-insertion-commands-args-genlist.
6937 (todo-insert-item--param-key-alist): New defconst, replacing
6938 defvar todo-insertion-commands-arg-key-list.
6939 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6940 (todo-insert-item--argsleft, todo-insert-item--apply-args)
6941 (todo-insert-item--next-param): New functions.
6942 (todo-insert-item--args, todo-insert-item--argleft)
6943 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6945 (todo-key-bindings-t): Change binding of "i" from
6946 todo-insertion-map to todo-insert-item.
6947 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6948 (todo-insertion-command-name, todo-insertion-commands-names)
6949 (todo-define-insertion-command, todo-insertion-commands)
6950 (todo-insertion-key-bindings, todo-insertion-map): Remove.
6952 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
6954 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6955 (todo-toggle-item-highlighting): Use eval-and-compile instead of
6957 (todo-move-category): Allow choosing a non-existing todo file to
6958 move the category to, and create that file.
6959 (todo-default-priority): New user option.
6960 (todo-set-item-priority): Use it.
6961 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6962 (desktop-restore-file-buffer): Declare.
6963 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6964 (todo-modes-set-2): Locally set desktop-save-buffer to
6965 todo-desktop-save-buffer.
6966 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6967 (auto-mode-alist): Add autoload cookie.
6969 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
6971 * emacs-lisp/subr-x.el: Renamed from helpers.el.
6972 helpers.el was a poor choice of name.
6973 (string-remove-prefix): New function.
6974 (string-remove-suffix): New function.
6976 2013-12-20 Martin Rudalics <rudalics@gmx.at>
6978 Fix assignment for new window total sizes.
6979 * window.el (window--pixel-to-size): Remove function.
6980 (window--pixel-to-total-1, window--pixel-to-total):
6981 Fix calculation of new total sizes.
6983 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
6985 * comint.el (comint-output-filter): Fix rear-nonsticky property
6986 placement (Bug#16010).
6988 2013-12-20 Chong Yidong <cyd@gnu.org>
6990 * faces.el (read-color): Minor fix for completion function.
6992 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
6994 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6995 New option. (Bug#16182)
6996 (ruby-smie--indent-to-stmt-p): Use it.
6997 (ruby-smie-rules): Revert the logic in the handling of `when'.
6998 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6999 (ruby-deep-arglist, ruby-deep-indent-paren)
7000 (ruby-deep-indent-paren-style): Update docstrings to note that the
7001 vars don't have any effect with SMIE.
7003 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7005 * calc/calc.el (calc-enter, calc-pop): Use the variable
7006 `calc-context-sensitive-enter'.
7008 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010 * net/shr.el (shr-insert): Protect against infloops in degenerate
7013 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7015 * progmodes/octave.el (octave): Add link to manual and octave
7017 (octave-mode-menu): Link to octave-mode manual.
7019 2013-12-20 Leo Liu <sdl.web@gmail.com>
7021 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7022 insertion using skeleton-end-newline. (Bug#16138)
7024 2013-12-20 Juri Linkov <juri@jurta.org>
7026 * replace.el (occur-engine): Use `add-face-text-property'
7027 to add the face property to matches and titles. (Bug#14645)
7029 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7030 the palette of other hi-lock colors.
7031 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7033 2013-12-19 Juri Linkov <juri@jurta.org>
7035 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7036 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7037 (minibuffer-history-symbol): Move variable declaration closer to
7040 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7043 2013-12-19 Juri Linkov <juri@jurta.org>
7045 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7047 (log-edit-hook): Add it to :options. (Bug#16170)
7049 2013-12-19 Juri Linkov <juri@jurta.org>
7051 * simple.el (eval-expression-print-format): Don't check for
7052 command names and the last command. Always display additional
7053 formats of the integer result in the echo area, and insert them
7054 to the current buffer only with a zero prefix arg.
7055 Display character when char-displayable-p is non-nil.
7056 (eval-expression): With a zero prefix arg, set `print-length' and
7057 `print-level' to nil, and insert the integer values from
7058 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7060 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7061 `eval-last-sexp-arg-internal'. Doc fix.
7062 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7063 `eval-last-sexp-print-value'. Doc fix.
7064 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7065 Set `print-length' and `print-level' to nil when arg is zero.
7066 (eval-last-sexp): Doc fix.
7067 (eval-defun-2): Print the integer values from
7068 `eval-expression-print-format' at the end.
7070 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7071 values from `eval-expression-print-format' at the end.
7073 * ielm.el (ielm-eval-input): Print the integer
7074 values from `eval-expression-print-format' at the end.
7076 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7078 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7079 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7081 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7084 (hl-line-highlight, global-hl-line-highlight): Use it.
7085 (hl-line-overlay): Use defvar-local.
7087 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7089 * term/ns-win.el: Require dnd.
7090 (global-map): Remove drag items.
7091 (ns-insert-text, ns-set-foreground-at-mouse)
7092 (ns-set-background-at-mouse):
7093 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7094 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7097 2013-12-19 Glenn Morris <rgm@gnu.org>
7099 * emacs-lisp/ert.el (ert-select-tests):
7100 Fix string/symbol mixup. (Bug#16121)
7102 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7104 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7105 keywords to their parent.
7107 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7109 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7110 first arg to be a string (fixed dead code), or an operator symbol.
7111 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7113 (ruby-smie-rules): Remove parent token check in the `.' clause, it
7114 did nothing. Don't respond to `(:after ".")', it will be called
7115 with :before anyway. Remove the ` @ ' rule, it didn't seem to
7116 change anything. Only return indentation for binary operators
7117 when they are hanging. De-dent opening paren when its parent is
7118 `.', otherwise it looks bad when the dot is not at bol or eol
7121 2013-12-19 Juri Linkov <juri@jurta.org>
7123 * replace.el (query-replace-read-args): Split a non-negative arg
7124 and a negative arg into separate elements.
7125 (query-replace, query-replace-regexp, replace-string)
7126 (replace-regexp): Add arg `backward'. Doc fix.
7127 (replace-match-maybe-edit): When new arg `backward' is non-nil,
7128 move point to the beginning of the match.
7129 (replace-search, replace-highlight): Use new arg `backward'
7130 to set the value of `isearch-forward'.
7131 (perform-replace): Add arg `backward' and use it to perform
7132 replacement backward. (Bug#14979)
7134 * isearch.el (isearch-query-replace): Use a negative prefix arg
7135 to call `perform-replace' with a non-nil arg `backward'.
7137 2013-12-18 Juri Linkov <juri@jurta.org>
7139 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7140 to the default list. Move `log-edit-show-files' to the end.
7141 Add more available functions to options.
7142 (log-edit): Move default specific settings to
7143 `log-edit-insert-message-template'. Don't move point.
7144 (log-edit-insert-message-template): New function.
7145 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7148 2013-12-18 Juri Linkov <juri@jurta.org>
7150 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7151 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
7153 2013-12-18 Leo Liu <sdl.web@gmail.com>
7155 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7158 2013-12-18 Eli Zaretskii <eliz@gnu.org>
7160 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7161 formats for displaying file sizes when the -s switch is given.
7162 Instead, compute a separate format for displaying the size in
7163 blocks, which is displayed in addition to the "regular" size.
7164 When -h is given in addition to -s, produce size in blocks in
7165 human-readable form as well. (Bug#16179)
7167 2013-12-18 Tassilo Horn <tsdh@gnu.org>
7169 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7170 Reference tables with ~\ref{...} instead of only \ref{...}.
7172 2013-12-18 Chong Yidong <cyd@gnu.org>
7174 * cus-edit.el (custom-magic-alist): Fix "themed" description
7177 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7178 is non-nil, do not create a new entry in the symbol's theme-value
7179 or theme-face property; update theme-settings only (Bug#14664).
7180 (custom-available-themes): Doc fix.
7182 * cus-theme.el (custom-new-theme-mode-map): Add bindings
7185 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7187 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7189 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7192 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7194 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7196 2013-12-18 Glenn Morris <rgm@gnu.org>
7198 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7199 * cus-start.el (load-prefer-newer): New option.
7201 2013-12-18 Le Wang <l26wang@gmail.com>
7203 * comint.el (comint-previous-matching-input-from-input):
7204 Retain point (Bug#13404).
7206 2013-12-18 Chong Yidong <cyd@gnu.org>
7208 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7210 2013-12-18 Glenn Morris <rgm@gnu.org>
7212 * mail/emacsbug.el (report-emacs-bug):
7213 Only mention enable-multibyte-characters if non-standard.
7215 2013-12-17 Juri Linkov <juri@jurta.org>
7217 * arc-mode.el (archive-extract-by-file): Check if directory exists
7218 before deletion to not show irrelevant errors if it doesn't exist.
7220 2013-12-17 Juri Linkov <juri@jurta.org>
7222 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7225 * net/eww.el (browse-web): Add alias to `eww'.
7226 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7227 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
7229 * net/browse-url.el (browse-url-browser-function): Move `eww'
7230 closer to similar functions.
7232 * startup.el (fancy-startup-screen, fancy-about-screen):
7233 Set browse-url-browser-function to eww-browse-url locally.
7236 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7238 * window.el (window--pixel-to-total): Remove unused `mini' var.
7239 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7240 (split-window): Remove unused `new' var.
7241 (window--display-buffer): Remove unused `frame' and `delta' vars.
7242 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7245 2013-12-17 Martin Rudalics <rudalics@gmx.at>
7247 * dired.el (dired-mark-pop-up):
7248 * register.el (register-preview): Don't bind
7249 split-height-threshold here since it's now done in
7250 display-buffer-below-selected.
7252 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
7254 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7255 xterm-rgb-convert-to-16bit.
7256 (rxvt-register-default-colors): Standardize with
7257 xterm-register-default-colors (Bug#14078).
7259 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
7261 * simple.el (kill-region): Pass mark first, then point, so that
7262 kill-append works right (Bug#12819).
7263 (copy-region-as-kill, kill-ring-save): Likewise.
7265 2013-12-17 Leo Liu <sdl.web@gmail.com>
7267 * net/rcirc.el (rcirc-add-face):
7268 * eshell/em-prompt.el (eshell-emit-prompt):
7269 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7272 2013-12-17 Chong Yidong <cyd@gnu.org>
7274 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7275 Suggested by Xue Fuqiao.
7277 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7279 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7281 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * net/shr.el (shr-insert-document): Remove unused var
7284 `shr-preliminary-table-render'.
7285 (shr-rescale-image): Remove unused arg `force'.
7286 (shr-put-image): Update calls accordingly.
7287 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7289 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7291 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7292 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7293 :close-all, to see which indentation method to use (Bug#16116).
7294 (smie-rules-function): Document the method :close-all.
7296 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7298 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7300 * net/eww.el (eww-display-html): If we can't find the anchor we're
7301 looking for, then go to point-min.
7303 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
7305 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7306 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7307 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7308 Expand dir too, in case it's relative.
7310 2013-12-16 Juri Linkov <juri@jurta.org>
7312 * desktop.el (desktop-auto-save-timeout): Change default to
7313 `auto-save-timeout'. Doc fix.
7314 (desktop-save): Skip the timestamp in desktop-saved-frameset
7315 when checking for auto-save changes.
7316 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7317 `desktop-auto-save' is called repeatedly by the idle timer.
7318 (desktop-auto-save-set-timer): Replace `run-with-timer' with
7319 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
7322 2013-12-16 Juri Linkov <juri@jurta.org>
7324 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7326 (isearch-pre-command-hook): Check `this-command' for symbolp.
7328 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7330 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7332 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
7334 * progmodes/cfengine.el (cfengine3--current-word): Remove.
7335 (cfengine3--current-function): Bring in the current-function
7336 functionality from `cfengine3--current-word'.
7337 (cfengine3-completion-function): Bring in the
7338 bounds-of-current-word functionality from
7339 `cfengine3--current-word'.
7341 2013-12-16 Martin Rudalics <rudalics@gmx.at>
7343 * window.el (display-buffer-below-selected):
7344 Bind split-height-threshold to 0 as suggested by Juri Linkov.
7346 2013-12-16 Leo Liu <sdl.web@gmail.com>
7348 * progmodes/compile.el (compile-goto-error): Do not push-mark.
7349 Remove NOMSG arg and all uses changed.
7351 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7354 (cua--deactivate-rectangle): Don't deactivate the mark.
7355 (cua-set-rectangle-mark): Don't set mark-active since
7356 cua--activate-rectangle already does it for us.
7357 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7358 non-rectangular region.
7360 * emulation/cua-base.el (cua-repeat-replace-region):
7361 Use with-current-buffer.
7363 * net/gnutls.el: Use cl-lib.
7364 (gnutls-negotiate): `mapcan' -> cl-mapcan.
7366 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7368 * emacs-lisp/package.el (package-built-in-p): Support both
7369 built-in and the package.el converted package descriptions.
7370 (package-show-package-list): Allow keywords.
7371 (package-keyword-button-action): Use it instead of
7372 `finder-list-matches'.
7373 (package-menu-filter-interactive): Interactive filtering (by
7375 (package-menu--generate): Support keywords and change keymappings
7376 and headers when they are given.
7377 (package--has-keyword-p): Helper function.
7378 (package-menu--refresh): Use it.
7379 (package--mapc): Helper function.
7380 (package-all-keywords): Use it.
7381 (package-menu-mode-map): Set up menu items and keybindings to
7382 provide a filtering UI.
7384 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7386 * net/gnutls.el (gnutls-verify-error): New defcustom to control
7387 the behavior when a certificate fails validation. Defaults to
7388 old behavior: never abort, just warn.
7389 (gnutls-negotiate): Use it.
7391 2013-12-14 Martin Rudalics <rudalics@gmx.at>
7393 * window.el (display-buffer-below-selected): Never split window
7394 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
7396 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
7398 * emacs-lisp/package.el (package--prepare-dependencies): New function.
7399 (package-buffer-info): Use it (bug#15108).
7401 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * icomplete.el (icomplete-completions): Make sure the prefix is already
7404 displayed elsewhere before hiding it (bug#16219).
7406 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
7408 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7409 open-paren tokens when preceded by a open-paren, too.
7410 (ruby-smie-rules): Handle virtual indentation after open-paren
7411 tokens specially. If there is code between it and eol, return the
7412 column where is starts (Bug#16118).
7414 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7416 * progmodes/cfengine.el: Fix `add-hook' doc.
7417 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7418 (cfengine3--current-word): Fix parameters.
7419 (cfengine3-make-syntax-cache): Simplify further.
7420 (cfengine3-completion-function, cfengine3--current-function):
7421 Use `assq' for symbols.
7422 (cfengine3--current-function): Fix `cfengine3--current-word' call.
7424 2013-12-13 Glenn Morris <rgm@gnu.org>
7426 * loadup.el (load-path): Warn if site-load or site-init changes it.
7427 No more need to reset it when bootstrapping.
7429 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7431 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7432 locations for cf-promises.
7433 (cfengine-mode-syntax-functions-regex): New caching variable.
7434 (cfengine3-fallback-syntax): Fallback syntax for cases where
7435 cf-promises doesn't run.
7436 (cfengine3--current-word): Reimplement using
7437 `cfengine-mode-syntax-functions-regex'.
7438 (cfengine3-completion-function, cfengine3--current-function):
7439 Use `cfengine3-make-syntax-cache' directly.
7440 (cfengine3-clear-syntax-cache): New function.
7441 (cfengine3-make-syntax-cache): Simplify and create
7442 `cfengine-mode-syntax-functions-regex' on demand.
7443 (cfengine3-format-function-docstring): Don't call
7444 `cfengine3-make-syntax-cache' explicitly.
7446 2013-12-13 Martin Rudalics <rudalics@gmx.at>
7448 Fix windmove-find-other-window broken after pixelwise resizing
7450 * windmove.el (windmove-other-window-loc): Revert change from
7452 (windmove-find-other-window): Call window-in-direction.
7453 * window.el (window-in-direction): New arguments SIGN, WRAP and
7454 MINI to emulate original windmove-find-other-window behavior.
7456 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
7458 * simple.el (blink-matching--overlay): New variable.
7459 (blink-matching-open): Instead of moving point, highlight the
7460 matching paren with an overlay
7461 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7463 * faces.el (paren-showing-faces, show-paren-match)
7464 (show-paren-mismatch): Move from paren.el.
7466 2013-12-13 Leo Liu <sdl.web@gmail.com>
7468 * indent.el (indent-region): Disable progress reporter in
7469 minibuffer. (Bug#16108)
7471 * bindings.el (visual-order-cursor-movement): Fix version.
7473 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7475 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7476 Also match after beginning of line.
7477 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7478 files. Thanks to Russell Sim. (Bug#15378)
7480 2013-12-13 Juri Linkov <juri@jurta.org>
7482 * simple.el <Keypad support>: Remove key bindings duplicated
7483 with bindings.el. (Bug#14397)
7485 2013-12-13 Juri Linkov <juri@jurta.org>
7487 * comint.el (comint-mode-map): Replace `delete-char' with
7488 `delete-forward-char'. (Bug#16109)
7490 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7492 * progmodes/python.el (python-indent-calculate-indentation):
7493 Fix de-denters cornercase. (Bug#15731)
7495 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7498 (advice--make): Pay attention to `depth'.
7499 (advice--make-1): Don't autoload commands eagerly.
7500 * emacs-lisp/elp.el (elp-instrument-function):
7501 * emacs-lisp/trace.el (trace-function-internal):
7502 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7504 * iswitchb.el (iswitchb-mode): Don't belittle ido.
7506 2013-12-12 Eli Zaretskii <eliz@gnu.org>
7508 * term/w32-win.el (w32-handle-dropped-file):
7509 * startup.el (normal-top-level):
7510 * net/browse-url.el (browse-url-file-url):
7511 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7512 decode file names using 'utf-8' rather than
7513 file-name-coding-system.
7515 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7517 * progmodes/python.el (python-indent-context)
7518 (python-indent-calculate-indentation): Fix auto-identation
7519 behavior for comment blocks. (Bug#15916)
7521 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7523 * progmodes/python.el (python-indent-calculate-indentation):
7524 When determining indentation, don't treat "return", "pass", etc., as
7525 operators when they are just string constituents. (Bug#15812)
7527 2013-12-12 Juri Linkov <juri@jurta.org>
7529 * uniquify.el (uniquify-buffer-name-style): Change default to
7530 `post-forward-angle-brackets'.
7532 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7533 `uniquify'. Change default to `post-forward-angle-brackets'.
7535 2013-12-11 Glenn Morris <rgm@gnu.org>
7537 * emacs-lisp/package.el (finder-list-matches):
7538 Autoload rather than falsely declaring.
7540 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
7542 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7543 (eww-mode-map): Use them.
7545 2013-12-11 Martin Rudalics <rudalics@gmx.at>
7547 * window.el (display-buffer-in-side-window): Fix doc-string
7550 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
7552 * vc/vc-git.el: Silence byte-compiler warnings.
7553 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7554 (log-edit-set-header): Declare.
7556 2013-12-11 Eli Zaretskii <eliz@gnu.org>
7558 * Makefile.in (custom-deps, finder-data): Run output file names
7559 through unmsys--file-name. (Bug#16099)
7561 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7564 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7566 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7567 instead of deleting the selection "by hand" (bug#16098).
7568 Rely on insert-for-yank to yank rectangles.
7569 (cua-highlight-region-shift-only): Mark obsolete.
7570 (cua-mode): Don't enable/disable transient-mark-mode,
7571 shift-select-mode (cua-mode works both with and without them), and
7572 pc-selection-mode (obsolete).
7573 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7574 (cua--deactivate-rectangle): Deactivate it.
7576 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7577 (delete-selection-helper): Make sure yank starts at the top of the
7579 (minibuffer-keyboard-quit): Use region-active-p.
7581 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7583 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7584 to `delete' (bug#16109).
7586 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7588 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7589 info manual and show keybindings and set `:group' keyword.
7591 2013-12-11 Juri Linkov <juri@jurta.org>
7593 * delsel.el (delete-active-region): Let-bind `this-command'
7594 to prevent `kill-region' from changing its original value.
7595 (delete-selection-helper): Handle `overwrite-mode' for the type
7596 `kill' exactly the same way as for the type `t'.
7597 (insert-char, quoted-insert, reindent-then-newline-and-indent):
7598 Support more commands. (Bug#13312)
7600 2013-12-11 Juri Linkov <juri@jurta.org>
7602 * bindings.el: Map kp keys to non-kp keys systematically
7603 with basic modifiers control, meta and shift. (Bug#14397)
7605 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7607 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7608 "Close browser" menu items. Fix wrong function of "List
7611 2013-12-11 Juri Linkov <juri@jurta.org>
7613 * misearch.el (multi-isearch-buffers): Set the value of
7614 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
7615 arg of isearch-forward to t.
7616 (multi-isearch-buffers-regexp): Set the value of
7617 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
7618 arg of isearch-forward-regexp to t.
7619 (multi-isearch-files): Set the value of
7620 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
7621 arg of isearch-forward to t.
7622 (multi-isearch-files-regexp): Set the value of
7623 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
7624 arg of isearch-forward-regexp to t. (Bug#16035)
7626 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7627 arg of isearch-forward to t.
7628 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7629 arg of isearch-forward-regexp to t.
7630 (dired-isearch-filter-filenames): Remove unnecessary check for
7631 `dired-isearch-filenames'.
7633 * comint.el (comint-history-isearch-backward):
7634 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7635 (comint-history-isearch-backward-regexp):
7636 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7638 2013-12-10 Eli Zaretskii <eliz@gnu.org>
7640 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7641 unmsys--file-name. (Bug#16099)
7643 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
7645 * emacs-lisp/package.el (package-keyword-button-action):
7646 Remove finder.el require dependency.
7648 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
7650 * emacs-lisp/package.el: Require finder.el.
7651 (describe-package-1): Add keyword buttons.
7652 (package-make-button): New convenience function.
7653 (package-keyword-button-action): Keyword button action using
7654 `finder-list-matches'.
7656 2013-12-09 Eli Zaretskii <eliz@gnu.org>
7658 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7661 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
7663 * autorevert.el (auto-revert-notify-add-watch): Do not handle
7666 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
7668 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7669 after the end of a percent literal.
7671 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
7673 * progmodes/ruby-mode.el (ruby-forward-string): Document.
7674 Handle caret-delimited strings (Bug#16079).
7676 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
7678 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7679 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7680 `ruby-parse-partial' (Bug#16078).
7682 2013-12-09 Leo Liu <sdl.web@gmail.com>
7684 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
7686 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
7688 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7689 (js-switch-indent-offset): New option.
7690 (js--proper-indentation): Use it. And handle the case when
7691 "default" is actually a key in an object literal.
7692 (js--same-line): New function.
7693 (js--multi-line-declaration-indentation): Use it.
7694 (js--indent-in-array-comp, js--array-comp-indentation):
7696 (js--proper-indentation): Use them, to handle array comprehension
7699 2013-12-08 Leo Liu <sdl.web@gmail.com>
7701 * progmodes/flymake.el (flymake-highlight-line): Re-write.
7702 (flymake-make-overlay): Remove arg MOUSE-FACE.
7703 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7705 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7709 (redisplay-highlight-region-function): Use it.
7711 * emulation/cua-base.el (cua--explicit-region-start)
7712 (cua--last-region-shifted): Remove.
7713 (cua--deactivate): Use deactivate-mark.
7714 (cua--pre-command-handler-1): Don't handle shift-selection.
7715 (cua--post-command-handler-1): Don't change transient-mark-mode.
7716 (cua--select-keymaps): Use region-active-p rather than
7717 cua--explicit-region-start or cua--last-region-shifted.
7718 (cua-mode): Enable shift-select-mode.
7720 2013-12-08 Leo Liu <sdl.web@gmail.com>
7722 * progmodes/flymake.el (flymake-popup-current-error-menu):
7723 Rename from flymake-display-err-menu-for-current-line. Reimplement.
7724 (flymake-posn-at-point-as-event, flymake-popup-menu)
7725 (flymake-make-emacs-menu): Remove. (Bug#16077)
7727 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7729 * rect.el (rectangle-mark-mode): Activate mark even if
7730 transient-mark-mode is off (bug#16066).
7731 (rectangle--highlight-for-redisplay): Fix boundary condition when point
7732 is > mark and at bolp.
7734 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7735 (region-extract-function): Use it.
7736 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7737 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7739 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7740 kill-ring-save, kill-region, delete-char, delete-forward-char.
7741 Ignore self-insert-iso.
7743 * emulation/cua-gmrk.el (cua--init-global-mark):
7744 Ignore `self-insert-iso'.
7746 * emulation/cua-base.el (cua--prefix-copy-handler)
7747 (cua--prefix-cut-handler): Rely on region-extract-function rather than
7748 checking cua--rectangle.
7749 (cua-delete-region): Use region-extract-function.
7750 (cua-replace-region): Delete function.
7751 (cua-copy-region, cua-cut-region): Obey region-extract-function.
7752 (cua--pre-command-handler-1): Don't do the delete-selection thing.
7753 (cua--self-insert-char-p): Ignore `self-insert-iso'.
7754 (cua--init-keymaps): Don't remap delete-selection commands.
7755 (cua-mode): Use delete-selection-mode instead of rolling our own
7758 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7759 Obey region-extract-function.
7761 Make registers and delete-selection-mode work on rectangles.
7762 * register.el (describe-register-1): Don't modify the register's value.
7763 (copy-to-register): Obey region-extract-function.
7764 * delsel.el (delete-active-region): Obey region-extract-function.
7766 2013-12-08 Leo Liu <sdl.web@gmail.com>
7768 * progmodes/flymake.el (flymake, flymake-error-bitmap)
7769 (flymake-warning-bitmap, flymake-fringe-indicator-position)
7770 (flymake-compilation-prevents-syntax-check)
7771 (flymake-start-syntax-check-on-newline)
7772 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7773 (flymake-start-syntax-check-on-find-file, flymake-log-level)
7774 (flymake-xml-program, flymake-master-file-dirs)
7775 (flymake-master-file-count-limit)
7776 (flymake-allowed-file-name-masks): Relocate.
7777 (flymake-makehash, flymake-float-time)
7778 (flymake-replace-regexp-in-string, flymake-split-string)
7779 (flymake-get-temp-dir): Remove.
7780 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7781 (flymake-current-row, flymake-selected-frame)
7782 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7783 related functions. (Bug#16077)
7785 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
7787 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7789 2013-12-07 Tassilo Horn <tsdh@gnu.org>
7791 * help-fns.el (describe-function-1): Use new advice-* functions
7792 rather than old ad-* functions. Fix function type description and
7793 source links for advised functions and subrs.
7795 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7797 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7799 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
7801 * progmodes/compile.el (compilation-start):
7802 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7804 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7805 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
7807 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7809 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7810 Touch up the last change.
7812 2013-12-06 Leo Liu <sdl.web@gmail.com>
7814 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7815 (inferior-octave-startup): Always use "octave> " for prompt.
7816 (octave-goto-function-definition)
7817 (octave-sync-function-file-names)
7818 (octave-find-definition-default-filename): Remove redundant backquotes.
7820 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7822 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7824 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7825 where appropriate already.
7826 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7827 end of method names (Bug#15874).
7829 2013-12-06 Juri Linkov <juri@jurta.org>
7831 * isearch.el (isearch--saved-overriding-local-map):
7832 New internal variable.
7833 (isearch-mode): Set it to the initial value of
7834 `overriding-terminal-local-map'.
7835 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7836 with `isearch--saved-overriding-local-map'. (Bug#16035)
7838 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7840 * progmodes/octave.el (inferior-octave-completion-table):
7841 Turn back into function, use `completion-table-with-cache'
7842 (Bug#11906). Update all references.
7844 * minibuffer.el (completion-table-with-cache): New function.
7846 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
7848 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7850 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
7852 * net/eww.el (eww-current-source): New variable to store page
7854 (eww-display-html, eww-mode, eww-save-history)
7855 (eww-restore-history): Use it.
7856 (eww-view-source): New command to view page source.
7857 Opportunistically uses `html-mode' to highlight the buffer.
7858 (eww-mode-map): Install it.
7860 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
7862 * net/dbus.el (dbus-unregister-service)
7863 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7865 (dbus-unregister-service): Skip :serial entries in
7866 `dbus-registered-objects-table'.
7867 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7869 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
7871 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7872 around keywords with extra `split-string' argument.
7874 2013-12-04 Martin Rudalics <rudalics@gmx.at>
7876 * windmove.el (windmove-other-window-loc): Handle navigation
7877 between windows (excluding the minibuffer window - Bug#16017).
7879 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
7881 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7882 in D-Bus type syntax.
7883 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7884 preserve unibyte strings. (Bug#16048)
7886 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7889 Call force-mode-line-update is the proper buffer (bug#16042).
7891 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
7893 * vc/log-edit.el (log-edit-add-new-comment): Rename to
7894 `log-edit-remember-comment', make argument optional. Adjust all
7896 (log-edit-mode): Add `log-edit-remember-comment' to
7897 `kill-buffer-hook' locally.
7898 (log-edit-kill-buffer): Don't remember comment explicitly since
7899 the buffer is killed anyway.
7901 2013-12-04 Juri Linkov <juri@jurta.org>
7903 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7904 add-hook and remove-hook for multi-buffer search. (Bug#16035)
7906 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
7908 * notifications.el (notifications-close-notification): Call the
7909 D-Bus method with ID being a `:uint32'. (Bug#16030)
7911 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
7913 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7915 2013-12-03 Juri Linkov <juri@jurta.org>
7917 * progmodes/compile.el (compilation-start): Rename window alist
7918 entry `no-display-ok' to `allow-no-window'.
7920 * simple.el (shell-command): Add window alist entry
7921 `allow-no-window' to `display-buffer'.
7922 (async-shell-command): Doc fix.
7924 * window.el (display-buffer-no-window): New action function.
7925 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
7927 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7929 * vc/log-edit.el (log-edit-set-header): Extract from
7930 `log-edit-toggle-header'.
7931 (log-edit-extract-headers): Separate the summary, when extracted
7932 from header, from the rest of the message with an empty line.
7934 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7935 line, if present, to the Summary header.
7937 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7939 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7940 in current-buffer (bug#16029).
7942 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
7944 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7945 (debugger-mode-map): Bind it.
7946 (debugger--backtrace-base): New function.
7947 (debugger-eval-expression): Use it.
7948 (debugger-frame-number): Skip local vars when present.
7949 (debugger--locals-visible-p, debugger--insert-locals)
7950 (debugger--show-locals, debugger--hide-locals): New functions.
7952 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
7954 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7956 (tramp-get-remote-locale): New defun.
7957 (tramp-open-connection-setup-interactive-shell): Use it.
7959 2013-12-02 Leo Liu <sdl.web@gmail.com>
7961 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
7963 * progmodes/sh-script.el (sh-shell-process):
7964 * progmodes/octave.el (inferior-octave-process-live-p):
7965 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7966 (gdb-inferior-io-sentinel):
7967 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7969 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7971 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7972 `save-selected-window' to `log-edit-hide-buf'. This makes
7973 `log-edit-show-files' idempotent.
7974 (log-edit-show-files): Mark the new window as dedicated.
7976 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7978 * vc/log-edit.el (log-edit-mode-map): Add binding for
7979 `log-edit-kill-biffer'.
7980 (log-edit-hide-buf): Add a FIXME comment.
7981 (log-edit-add-new-comment): New function, extracted from
7983 (log-edit-done, log-edit-add-to-changelog): Use it.
7984 (log-edit-kill-buffer): New command.
7986 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7989 instead of killing the buffer.
7991 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7993 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7995 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7997 * net/eww.el (eww-form-checkbox-selected-symbol)
7998 (eww-form-checkbox-symbol): New customizable variable.
7999 (eww-form-checkbox, eww-toggle-checkbox):
8000 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8002 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8003 (shr--get-media-pref, shr--extract-best-source): New function.
8004 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8005 no :src tag was specified.
8007 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8008 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8009 Use \\` to match beginning of string instead of ^.
8010 (eww-browse-with-external-browser): Provide optional URL parameter.
8011 (eww-render): Set `eww-current-title' back to "".
8013 * net/shr.el (shr-tag-video): Display content for video if no
8014 poster is available.
8015 (shr-tag-audio): Add support for <audio> tag.
8017 * net/eww.el (eww-text-input-types): New const.
8018 (eww-process-text-input): Treat input types in
8019 `eww-text-input-types' as text.
8021 * net/shr.el (shr-tag-table): Fix comment typo.
8023 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8025 * net/eww.el (eww-follow-link): New command to avoid reloading
8026 pages when we follow #target links (bug#15243).
8027 (eww-quit): Special mode buffers shouldn't query before exiting.
8029 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8031 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8034 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8036 * net/eww.el (eww-restore-history): Update the window title after
8037 moving in the history.
8038 (eww-current-dom): New variable used to save the current DOM.
8040 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8042 * vc/log-edit.el (log-edit-mode-map): Add binding for
8043 `log-edit-beginning-of-line'.
8044 (log-edit-setup-add-author): New user option.
8045 (log-edit-beginning-of-line): New command.
8046 (log-edit): Move major mode call above the contents setup so that
8047 the local variable values are already applied.
8048 (log-edit): Only insert "Author: " when
8049 `log-edit-setup-add-author' is non-nil.
8050 (log-edit): When SETUP is non-nil, position point after ": "
8051 instead of point-min.
8053 2013-12-01 Glenn Morris <rgm@gnu.org>
8055 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8057 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8059 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8060 redisplay to make sure the initial frame gets a chance to become
8061 visible. (Bug#16014)
8063 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8065 Support resizing frames and windows pixelwise.
8066 * cus-start.el (frame-resize-pixelwise)
8067 (window-resize-pixelwise): New entries.
8068 * emacs-lisp/debug.el (debug): Use window-total-height instead
8069 of window-total-size.
8070 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8071 * help.el (describe-bindings-internal): Use help-buffer as
8072 argument for with-help-window.
8073 (temp-buffer-max-width): New option.
8074 (resize-temp-buffer-window, help-window-setup)
8075 (with-help-window): Rewrite.
8076 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8078 * window.el (frame-char-size, window-min-pixel-height)
8079 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8080 (window-min-pixel-width, window-safe-min-pixel-size)
8081 (window-combination-p, window-safe-min-size)
8082 (window-resizable-p, window--size-to-pixel)
8083 (window--pixel-to-size, window--resize-apply-p): New functions.
8084 (window-safe-min-height): Fix doc-string.
8085 (window-size, window-min-size, window--min-size-1)
8086 (window-sizable, window-sizable-p, window--min-delta-1)
8087 (window-min-delta, window--max-delta-1, window-max-delta)
8088 (window--resizable, window--resizable-p, window-resizable)
8089 (window-full-height-p, window-full-width-p, window-at-side-p)
8090 (window--in-direction-2, window-in-direction)
8091 (window--resize-reset-1, window--resize-mini-window)
8092 (window-resize, window-resize-no-error)
8093 (window--resize-child-windows-normal)
8094 (window--resize-child-windows, window--resize-siblings)
8095 (window--resize-this-window, window--resize-root-window)
8096 (window--resize-root-window-vertically)
8097 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8098 (maximize-window, minimize-window, delete-window)
8099 (quit-restore-window, window-split-min-size, split-window)
8100 (balance-windows-2, balance-windows)
8101 (balance-windows-area-adjust, balance-windows-area)
8102 (window--state-get-1, window-state-get, window--state-put-1)
8103 (window--state-put-2, window-state-put)
8104 (display-buffer-record-window, window--display-buffer):
8105 Make functions handle pixelwise sizing of windows.
8106 (display-buffer--action-function-custom-type)
8107 (display-buffer-fallback-action):
8108 Add display-buffer-in-previous-window.
8109 (display-buffer-use-some-window): Resize window to height it had
8111 (fit-window-to-buffer-horizontally): New option.
8112 (fit-frame-to-buffer): Describe new values.
8113 (fit-frame-to-buffer-bottom-margin): Replace with
8114 fit-frame-to-buffer-margins.
8115 (window--sanitize-margin): New function.
8116 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8117 using window-text-pixel-size.
8119 2013-11-30 Glenn Morris <rgm@gnu.org>
8121 * emacs-lisp/bytecomp.el (byte-compile-form):
8122 Make the `interactive-only' warning like the `obsolete' one.
8123 * comint.el (comint-run):
8124 * files.el (insert-file-literally, insert-file):
8125 * replace.el (replace-string, replace-regexp):
8126 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8127 (goto-line, insert-buffer, next-line, previous-line):
8128 Tweak `interactive-only' spec.
8130 Stop keeping (most) generated cedet grammar files in the repository.
8131 * Makefile.in (semantic): New.
8132 (compile-main): Depend on semantic.
8134 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8136 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8137 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8139 * uniquify.el (uniquify-buffer-name-style): Change default.
8141 * loadup.el: Preload "uniquify".
8143 * time.el (display-time-update): Update all mode lines (bug#15999).
8145 * electric.el (electric-indent-mode): Enable by default.
8146 * loadup.el: Preload "electric".
8148 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
8150 * emacs-lisp/helpers.el (string-empty-p): New function.
8151 (string-blank-p): New function.
8153 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
8155 * imenu.el (imenu--index-alist): Add missing dot to the docstring
8158 2013-11-29 Andreas Politz <politza@fh-trier.de>
8159 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8160 allow non-lambda lists as functions.
8161 (imenu--in-alist): Don't recurse into non-subalists.
8162 (imenu): Don't pass function itself as an argument (Bug#14029).
8164 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8166 * progmodes/python.el (python-mode-map): Remove binding for ":".
8167 (python-indent-electric-colon): Remove command.
8168 (python-indent-post-self-insert-function): Integrate the previous code
8169 of python-indent-electric-colon. Make it conditional on
8170 electric-indent-mode.
8171 (python-mode): Add ?: to electric-indent-chars.
8172 Move python-indent-post-self-insert-function to the end of
8173 post-self-insert-hook.
8175 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8177 * doc-view.el (doc-view-goto-page): Update mode-line.
8179 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8181 2013-11-27 Glenn Morris <rgm@gnu.org>
8183 * international/charprop.el, international/uni-bidi.el:
8184 * international/uni-category.el, international/uni-combining.el:
8185 * international/uni-comment.el, international/uni-decimal.el:
8186 * international/uni-decomposition.el, international/uni-digit.el:
8187 * international/uni-lowercase.el, international/uni-mirrored.el:
8188 * international/uni-name.el, international/uni-numeric.el:
8189 * international/uni-old-name.el, international/uni-titlecase.el:
8190 * international/uni-uppercase.el:
8191 Remove generated files from VCS repository.
8193 2013-11-27 Eli Zaretskii <eliz@gnu.org>
8195 * filenotify.el (file-notify-add-watch): Don't special-case
8196 w32notify when computing the directory to watch.
8198 2013-11-27 Glenn Morris <rgm@gnu.org>
8200 Make bootstrap without generated uni-*.el files possible again.
8201 * loadup.el: Update command-line-args checking for unidata-gen.
8202 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8203 * composite.el, international/characters.el:
8204 Handle unicode tables being undefined.
8206 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8207 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8208 (compile-main): Depend on leim rule.
8210 * loadup.el: Move leim-list.el to leim/ subdirectory.
8211 * startup.el (normal-top-level): No more leim directory.
8212 * international/ja-dic-cnv.el (skkdic-convert):
8213 Disable version-control and autoloads in output files.
8214 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8215 Disable version-control and autoloads in output files.
8216 * leim/quail: Move here from ../leim.
8217 * leim/quail/hangul.el (hangul-input-method-activate):
8218 Add autoload cookie.
8219 (generated-autoload-load-name): Set file-local value.
8220 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8221 (generated-autoload-load-name): Set file-local value.
8223 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
8225 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8226 (eww-add-bookmark): Ask confirmation when add to bookmarks.
8227 (eww-quit): Ask confirmation before quitting eww.
8229 2013-11-26 Eli Zaretskii <eliz@gnu.org>
8231 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8232 reading output from Diff on MS-Windows and MS-DOS.
8234 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
8236 * emacs-lisp/helpers.el (string-reverse): New function.
8238 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
8240 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8241 names on MS Windows, like "/[::1]:".
8243 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8246 2013-11-26 Glenn Morris <rgm@gnu.org>
8248 * progmodes/python.el (python-indent-guess-indent-offset):
8249 Avoid corner-case error. (Bug#15975)
8251 Preload leim-list.el. (Bug#4789)
8252 * loadup.el: Load leim-list.el when found.
8253 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8255 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
8257 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8259 * emacs-lisp/helpers.el (string-join): New function.
8261 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
8263 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8264 Mark as obsolete and replace it with a symbol property.
8265 (byte-compile-form): Use new 'interactive-only property.
8266 * comint.el, files.el, replace.el, simple.el:
8267 Apply new 'interactive-only properly.
8269 2013-11-25 Martin Rudalics <rudalics@gmx.at>
8271 * window.el (display-buffer-at-bottom): Make sure that
8272 split-window-sensibly creates the new window on bottom
8275 2013-11-23 David Kastrup <dak@gnu.org>
8277 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8278 on the conflict markers when available.
8279 (smerge--get-marker): New function.
8280 (smerge-end-re, smerge-base-re): Add subgroup.
8282 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8284 * frame.el (handle-focus-in, handle-focus-out): Add missing
8287 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
8289 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8290 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8292 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8294 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
8295 (gomoku--last-pos): New var.
8296 (gomoku--intangible-chars): New const.
8297 (gomoku--intangible): New function.
8298 (gomoku-mode): Use it. Derive from special-mode.
8299 (gomoku-move-up): Adjust line count.
8300 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8301 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8302 Simplify accordingly.
8304 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8305 Remove blink-cursor code.
8306 (blink-cursor-timer-function, blink-cursor-suspend):
8307 Don't special-case GUIs.
8308 (blink-cursor-mode): Use focus-in/out-hook.
8310 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
8312 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8313 work when annotation is invisible (Bug#13886).
8315 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
8317 * json.el (json-alist-p): Only return non-nil if the alist has
8318 simple keys (Bug#13518).
8320 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
8322 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8323 when control-statement is the first statement in a buffer (Bug#15956).
8325 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
8327 * imenu.el (imenu-generic-skip-comments-and-strings):
8328 New option (Bug#15560).
8329 (imenu--generic-function): Use it.
8331 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
8333 * minibuffer.el (completion--in-region-1): Scroll the correct window.
8336 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
8338 * emacs-lisp/helpers.el: Add some string helpers.
8339 (string-trim-left): Removes leading whitespace.
8340 (string-trim-right): Removes trailing whitespace.
8341 (string-trim): Removes leading and trailing whitespace.
8343 * subr.el (string-suffix-p): New function.
8345 2013-11-23 Glenn Morris <rgm@gnu.org>
8347 * progmodes/python.el (python-shell-send-file):
8348 Add option to delete file when done. (Bug#15647)
8349 (python-shell-send-string, python-shell-send-region): Use it.
8351 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
8353 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8354 to set buffer-read-only to t, never to nil. (Bug#15938)
8356 * textmodes/tex-mode.el (latex-noindent-environments):
8357 Add safe-local-variable property. (Bug#15936)
8359 2013-11-23 Glenn Morris <rgm@gnu.org>
8361 * textmodes/enriched.el (enriched-mode): Doc fix.
8362 * emacs-lisp/authors.el (authors-renamed-files-alist):
8363 Add enriched.doc -> enriched.txt.
8365 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8367 2013-11-22 Leo Liu <sdl.web@gmail.com>
8369 * progmodes/octave.el (inferior-octave-startup): Spit out error
8372 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
8374 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8377 (ruby-encoding-magic-comment-style): Add :version.
8379 2013-11-22 Leo Liu <sdl.web@gmail.com>
8381 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8383 (octave-help-mode): Adapt to change to help-mode-finish to use
8384 derived-mode-p on 2013-09-17.
8385 (inferior-octave-prompt): Also match octave-gui.
8386 (octave-kill-process): Don't ask twice. (Bug#10564)
8388 2013-11-22 Leo Liu <sdl.web@gmail.com>
8390 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8391 (inferior-octave-startup, inferior-octave-check-process)
8392 (inferior-octave-track-window-width-change)
8393 (octave-completion-at-point, octave-eldoc-function): Use it.
8394 (octave-kill-process): Provide confirmation. (Bug#10564)
8396 2013-11-21 Leo Liu <sdl.web@gmail.com>
8398 * progmodes/octave.el (octave-mode, inferior-octave-mode):
8399 Fix obsolete variable comment-use-global-state.
8401 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8403 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8404 Add `octave-source-file'.
8405 (octave-source-file): New function. (Bug#15935)
8407 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
8409 * net/eww.el (eww-local-regex): New variable.
8410 (eww): Use it to detect localhost and similar.
8412 2013-11-21 Leo Liu <sdl.web@gmail.com>
8414 Add completion for command `ag'.
8415 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8416 (pcomplete/ag): New function.
8417 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
8419 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8423 (make-obsolete): Remove interactive spec.
8425 2013-11-21 Glenn Morris <rgm@gnu.org>
8427 * startup.el (command-line-1): Use path-separator with -L.
8429 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
8431 * emacs-lisp/package.el (describe-package-1): Add package archive
8434 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
8436 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8437 Change default to "# encoding: %s" to differentiate it from the
8438 default Ruby encoding comment template.
8440 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
8442 * ses.el (ses-mode): Doc fix. (Bug#14748)
8444 2013-11-20 Leo Liu <sdl.web@gmail.com>
8446 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
8448 2013-11-19 Dan Nicolaescu <dann@gnu.org>
8450 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8451 when rebase or bisect are in progress.
8453 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
8455 * filenotify.el (file-notify-add-watch): Doc fix.
8457 2013-11-19 Leo Liu <sdl.web@gmail.com>
8459 * obsolete/rcompile.el: Mark obsolete.
8461 * progmodes/compile.el (compilation-start)
8462 (compilation-goto-locus, compilation-find-file):
8463 Pass no-display-ok and handle nil value from display-buffer.
8466 * window.el (display-buffer-alist, display-buffer): Document the
8467 new parameter no-display-ok. Return either a window or nil
8468 but never a non-window value.
8470 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8472 * electric.el (electric-indent-mode-map): Remove.
8473 (electric-indent-mode): Change the global-map instead (bug#15915).
8475 * textmodes/text-mode.el (paragraph-indent-minor-mode):
8478 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * emacs-lisp/nadvice.el (remove-function): Align with
8481 add-function's behavior.
8483 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8484 (gdb--string-regexp): New constant.
8485 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8486 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8487 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8489 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8490 Adjust use accordingly.
8491 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8493 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
8495 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8496 interpolation curlies (Bug#15914).
8498 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
8500 * calc/calc.el (calc-context-sensitive-enter): New variable.
8501 (calc-enter): Use `calc-context-sensitive-enter'.
8503 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
8505 * progmodes/cfengine.el: Version bump.
8506 (cfengine-cf-promises): New defcustom to locate cf-promises.
8507 (cfengine3-vartypes): Add new "data" type.
8508 (cfengine3--current-word): New function to get current name-like
8510 (cfengine3--current-function): New function to look up a CFEngine
8511 function's definition.
8512 (cfengine3-format-function-docstring): New function.
8513 (cfengine3-make-syntax-cache): New function.
8514 (cfengine3-documentation-function): New function: ElDoc glue.
8515 (cfengine3-completion-function): New function: completion glue.
8516 (cfengine3-mode): Set `compile-command',
8517 `eldoc-documentation-function', and add to
8518 `completion-at-point-functions'.
8520 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
8522 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8523 `tramp-current-connection'.
8525 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
8527 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8528 nil/self/true/false with "end of symbol".
8530 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
8532 * subr.el (version-regexp-alist): Fix a typo.
8534 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
8536 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8537 "en_US.utf8" and "LC_CTYPE" to "".
8538 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8539 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8541 2013-11-15 Leo Liu <sdl.web@gmail.com>
8543 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
8545 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8547 * progmodes/gud.el (ctl-x-map):
8548 Remove C-x SPC binding. (Bug#12342)
8549 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8551 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
8553 * subr.el (version-regexp-alist):
8554 Recognize hg, svn and darcs versions as snapshot versions.
8556 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8557 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8558 (ruby--encoding-comment-required-p): Extract from
8559 `ruby-mode-set-encoding'.
8560 (ruby-mode-set-encoding): Add the ability to always insert an
8561 utf-8 encoding comment. Fix and simplify coding comment update
8564 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
8566 * net/tramp-gvfs.el (top): Run init code only when
8567 `tramp-gvfs-enabled' is not nil.
8568 (tramp-gvfs-enabled): Check also :system bus.
8570 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8572 Sync with upstream verilog-mode revision 78e66ba.
8573 * progmodes/verilog-mode.el (verilog-end-of-defun)
8574 (verilog-type-completion, verilog-get-list): Remove unused funcs.
8575 (verilog-get-end-of-defun): Remove unused argument.
8576 (verilog-comment-depth): Remove unused local `e'.
8577 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8578 Don't pass arg to verilog-get-end-of-defun.
8580 2013-11-14 Glenn Morris <rgm@gnu.org>
8582 * obsolete/assoc.el (aget): Prefix dynamic variable.
8584 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8586 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * widget.el, hfy-cmap.el: Remove bogus package version number.
8590 2013-11-13 Glenn Morris <rgm@gnu.org>
8592 * replace.el (replace-eval-replacement):
8593 Try to give more helpful error message. (Bug#15836)
8595 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8596 (archive-7z-update): Avoid custom type mismatches.
8598 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8600 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
8602 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8603 address can be empty.
8605 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8606 Accept nil SWITCHES.
8607 (tramp-gvfs-handle-write-region): Implement APPEND.
8609 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
8611 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8612 binary "|" operator and closing block args delimiter.
8613 Remove FIXME comment referring to Ruby 1.8-only syntax.
8614 (ruby-smie--implicit-semi-p): Not after "|" operator.
8615 (ruby-smie--closing-pipe-p): New function.
8616 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8617 (ruby-smie-rules): Indent after "|".
8619 2013-11-12 Glenn Morris <rgm@gnu.org>
8621 * ps-print.el (ps-face-attribute-list):
8622 Handle anonymous faces. (Bug#15827)
8624 2013-11-12 Martin Rudalics <rudalics@gmx.at>
8626 * window.el (display-buffer-other-frame): Fix doc-string.
8629 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * subr.el (force-mode-line-update): Delete, move to buffer.c.
8633 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
8635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8636 (tramp-sh-handle-file-local-copy): Don't write a message when
8637 saving temporary files.
8639 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8640 both directories are remote.
8641 (tramp-smb-handle-directory-files): Do not return double entries.
8642 Do not expand full file names.
8643 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8644 (tramp-smb-handle-write-region): Implement APPEND.
8645 (tramp-smb-get-stat-capability): Fix a stupid bug.
8647 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8651 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8653 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8654 throwing error over malformed let/let* (bug#15814).
8656 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8658 * iswitchb.el (iswitchb-mode): Mark obsolete.
8660 2013-11-11 Glenn Morris <rgm@gnu.org>
8662 * international/uni-bidi.el, international/uni-category.el:
8663 * international/uni-name.el, international/uni-numeric.el:
8664 Regenerate for Unicode 6.3.0.
8666 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
8668 * net/tramp.el (tramp-methods):
8669 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8670 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8672 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
8674 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8675 Force highlighting text after Summary keyword in doc face for rpm.
8677 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
8679 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8680 available and the word has no wildcards, append one to the grep pattern.
8681 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8682 (ispell-complete-word): Call `ispell-lookup-words' with the value
8683 independent of `ispell-look-p'.
8685 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8687 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8689 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8692 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8694 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
8695 (ruby-font-lock-keywords): Use backquote.
8697 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8699 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8700 (ruby-smie--backward-token): Only consider full-string matches.
8702 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
8704 * faces.el (describe-face): Add distant-foreground.
8706 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
8708 * progmodes/ruby-mode.el: Improve encoding comment handling.
8709 (ruby-encoding-magic-comment-style): New option.
8710 (ruby-custom-encoding-magic-comment-template): New option.
8711 (ruby--insert-coding-comment, ruby--detect-encoding):
8712 New functions extracted from `ruby-mode-set-encoding'.
8713 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8714 to control the style of the auto-inserted encoding comment.
8716 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8718 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8719 Use `smie-backward-sexp' with token argument.
8721 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
8723 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8724 Remove instrumentation code.
8726 2013-11-08 Glenn Morris <rgm@gnu.org>
8728 * progmodes/autoconf.el (autoconf-mode):
8729 Tweak comment-start-skip. (Bug#15822)
8731 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8734 at bobp (bug#15826).
8735 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8737 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
8739 * man.el (Man-start-calling): New macro, extracted from
8740 Man-getpage-in-background.
8741 (Man-getpage-in-background): Use it.
8742 (Man-update-manpage): New command.
8743 (Man-mode-map): Bind it.
8745 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8747 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8748 of "and", "or", "&&" and "||".
8749 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8750 argument. Prohibit opening curly brace because it could only be a
8751 block opener in that position.
8752 (ruby-smie--forward-token, ruby-smie--backward-token):
8753 Separate "|" from "&" or "*" going after it. That can happen in block
8755 (ruby-smie--indent-to-stmt): New function, seeks the end of
8756 previous statement or beginning of buffer.
8757 (ruby-smie-rules): Use it.
8758 (ruby-smie-rules): Check if there's a ":" before a curly block
8759 opener candidate; if there is, it's a hash.
8761 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8763 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8764 (cl--block-wrapper): Fix last accidental change.
8766 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
8768 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8769 Instrument, in order to hunt failure on hydra.
8771 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8773 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8774 malformed bindings form (bug#15814).
8776 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
8778 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8779 "." compared to " @ ". This incidentally fixes some indentation
8781 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8782 (ruby-smie-grammar): New tokens: "and" and "or".
8783 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8784 Exclude "and" and "or". Remove "do" in order to work around token
8786 (ruby-smie-rules): Add all infix tokens. Handle the case of
8787 beginning-of-buffer.
8789 2013-11-06 Glenn Morris <rgm@gnu.org>
8791 * Makefile.in (setwins_almost, setwins_for_subdirs):
8792 Avoid accidental matches.
8794 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
8796 * menu-bar.el (popup-menu): Use key-binding.
8798 2013-11-06 Eli Zaretskii <eliz@gnu.org>
8800 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8801 menus, support also the menus produced by minor modes.
8804 2013-11-06 Leo Liu <sdl.web@gmail.com>
8806 * thingatpt.el (thing-at-point-looking-at): Add optional arg
8807 DISTANCE to bound the search. All uses changed. (Bug#15808)
8809 2013-11-06 Glenn Morris <rgm@gnu.org>
8811 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8812 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8813 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8815 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
8817 * electric.el (electric-indent-just-newline): New command.
8818 (electric-indent-mode-map): New keymap.
8819 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8820 Re-add :group which weren't redundant.
8822 * electric.el (electric-indent-local-mode): New minor mode.
8823 (electric-indent-functions-without-reindent): New var.
8824 (electric-indent-post-self-insert-function): Use it.
8825 * emacs-lisp/gv.el (buffer-local-value): Add setter.
8827 2013-11-05 Eli Zaretskii <eliz@gnu.org>
8829 * international/quail.el (quail-help): Be more explicit about the
8830 meaning of the labels shown on the keys. (Bug#15800)
8832 * startup.el (normal-top-level): Load the subdirs.el files before
8833 setting the locale environment. (Bug#15805)
8835 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8838 via arguments so as to get the right ones (bug#15418).
8840 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8842 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
8844 Fix problems found while writing a test suite.
8846 * net/tramp-compat.el (tramp-compat-load): New defun.
8847 * net/tramp.el (tramp-handle-load): Use it.
8849 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8850 "(numberp ok-if-already-exists)" correctly.
8852 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
8854 * international/characters.el (glyphless-char-display-control):
8857 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
8859 * progmodes/python.el (python-mode):
8860 * progmodes/scheme.el (scheme-mode):
8861 * progmodes/prolog.el (prolog-mode):
8862 * progmodes/ruby-mode.el (ruby-mode):
8863 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8864 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8866 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8868 * rect.el (rectangle--highlight-for-redisplay):
8869 * emacs-lisp/smie.el (smie--next-indent-change):
8870 Use buffer-chars-modified-tick.
8872 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8874 * electric.el (electric-indent-post-self-insert-function):
8875 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8877 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
8879 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8881 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8883 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8886 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
8890 * progmodes/python.el: Fix up last change.
8891 (python-shell--save-temp-file): New function.
8892 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
8893 `string' comes from the current buffer.
8894 (python-shell-send-string-no-output): Remove `msg' arg.
8895 (python--use-fake-loc): New var.
8896 (python-shell-buffer-substring): Obey it. Try to compensate for the
8897 extra coding line added by python-shell--save-temp-file.
8898 (python-shell-send-region): Use python-shell--save-temp-file and
8899 python-shell-send-file directly. Add `nomain' argument.
8900 (python-shell-send-buffer): Use python-shell-send-region.
8901 (python-electric-pair-string-delimiter): New function.
8902 (python-mode): Use it.
8904 2013-11-04 Eli Zaretskii <eliz@gnu.org>
8906 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8907 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8908 environment and decoding all of the default-directory's to here
8910 (command-line): Decode also argv[0].
8912 * loadup.el: Error out if default-directory is a multibyte string
8913 when we are dumping.
8915 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
8917 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
8919 * emacs-lisp/package.el (package-menu-mode)
8920 (package-menu--print-info, package-menu--archive-predicate):
8921 Add Archive column to package list.
8923 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
8925 Fix problems found while writing a test suite.
8927 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8928 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8929 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8930 to nil when running original file name handler. Otherwise,
8931 there are problems with constructs like "$$FOO".
8933 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8936 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
8938 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8940 * subr.el (version<, version<=, version=):
8941 Update docstrings with information for snapshot versions.
8943 * helpers.el: New library for misc helper functions.
8944 (hash-table-keys): New function returning a list of hash keys.
8945 (hash-table-values): New function returning a list of hash values.
8947 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
8949 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8950 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8952 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
8954 * textmodes/fill.el (fill-single-char-nobreak-p): New function
8955 checking whether point is after a 1-letter word.
8957 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8959 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8960 Don't infloop when expanding region over `multiline' syntax-type that
8961 begins a line (bug#15778).
8963 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8966 Make it into a proper minor mode.
8967 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8968 (rectangle-mark-mode-map): New keymap.
8969 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8971 2013-11-04 Glenn Morris <rgm@gnu.org>
8973 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8975 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
8977 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8978 (ruby-smie-rules): Use smie-rule-parent instead.
8980 * emacs-lisp/smie.el (smie-rule-parent): Always call
8981 smie-indent-virtual rather than only for hanging tokens.
8982 (smie--next-indent-change): New helper command.
8984 2013-11-03 Glenn Morris <rgm@gnu.org>
8986 * Makefile.in (abs_srcdir): Remove.
8987 (emacs): Unset EMACSLOADPATH.
8989 2013-11-02 Glenn Morris <rgm@gnu.org>
8991 * Makefile.in (EMACS): Use a relative filename.
8992 (abs_top_builddir): Remove.
8993 (custom-deps, finder-data, autoloads): Use --chdir.
8995 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8997 Use relative filenames in TAGS files.
8998 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8999 (lisptagsfiles4, TAGS): Use relative file names.
9000 (TAGS-LISP): Remove.
9001 (maintainer-clean): No more TAGS-LISP file.
9003 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9004 (lisptagsfiles4): Use absolute filenames again.
9005 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9006 Remove all *loaddefs files, not just the first. Remove esh-groups.
9007 (maintainer-clean): Delete TAGS, TAGS-LISP.
9009 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9011 * emacs-lisp/package.el (package-version-join):
9012 Recognize snapshot versions.
9014 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9016 * subr.el (version-regexp-alist): Add support for snapshot versions.
9018 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9020 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9021 New function, replacement for `smie-rule-parent' for when we want to
9022 skip over our direct parent if it's an assignment token..
9023 (ruby-smie-rules): Use it.
9025 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9027 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9028 unconditionally. Remove now unnecessary forward declarations.
9029 Remove XEmacs-specific setup.
9030 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9031 (ruby-font-lock-syntactic-keywords)
9032 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9033 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9034 (ruby-here-doc-end-syntax): Remove.
9035 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9036 defined as function.
9038 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9040 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9042 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9044 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9045 table and abbrev table, `define-derived-mode' does that for us
9048 2013-11-01 Glenn Morris <rgm@gnu.org>
9050 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9051 files is atomic for some time, so no parallel compilation issues).
9053 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9055 * faces.el (face-x-resources): Add :distant-foreground.
9056 (region): Use :distant-foreground for gtk and ns.
9058 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9060 Allow multiple bibliographies when BibLaTeX is used rather than
9062 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9063 (reftex-locate-bibliography-files): Us it.
9065 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9067 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9068 allow comments in pbm files.
9070 * term/w32-win.el (dynamic-library-alist): Support newer versions
9071 of libjpeg starting with v7: look only for the DLL from the
9072 version against which Emacs was built.
9073 Support versions of libpng beyond 1.4.x.
9074 Support libtiff v4.x.
9076 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9078 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9079 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9081 (ruby-deep-arglist): Add property :type.
9083 2013-10-31 Glenn Morris <rgm@gnu.org>
9085 * Makefile.in (custom-deps, finder-data): No need to setq the target
9086 variables, we are in the right directory and the defaults work fine.
9088 2013-10-30 Glenn Morris <rgm@gnu.org>
9090 * Makefile.in (autoloads): Do not use abs_lisp.
9092 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9093 `newline' does not respect `standard-output', so use `princ'.
9095 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9097 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9098 * buff-menu.el (Buffer-menu--unmark): New function.
9099 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9101 2013-10-30 Glenn Morris <rgm@gnu.org>
9103 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9105 * emacs-lisp/package.el (lm-homepage): Declare.
9107 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9110 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9112 * Makefile.in (finder-data, autoloads, update-subdirs)
9113 (compile-main, compile-clean, compile-always, bootstrap-clean):
9114 Check return value of cd.
9115 (compile-calc): Remove.
9117 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9119 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9121 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9122 (byte-compile-and-folded): New function.
9123 (=, <, >, <=, >=): Use it.
9125 * dos-w32.el (minibuffer-history-case-insensitive-variables)
9126 (path-separator, null-device, buffer-file-coding-system)
9127 (lpr-headers-switches): Check system-type before modifying them.
9128 (find-buffer-file-type-coding-system): Mark obsolete.
9129 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9130 find-file-not-found-set-buffer-file-coding-system.
9131 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9132 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9133 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9134 (w32-direct-print-region-helper, w32-direct-print-region-function)
9135 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9136 * startup.el (normal-top-level-add-subdirs-to-load-path):
9137 * ps-print.el (ps-print-region-function):
9138 * lpr.el (print-region-function): Use new name.
9140 * subr.el (custom-declare-variable-early): Remove function.
9141 (custom-declare-variable-list): Remove var.
9142 (error, user-error): Remove `while' loop.
9143 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9144 (user-emacs-directory-warning, locate-user-emacs-file):
9146 * simple.el (read-quoted-char-radix, read-quoted-char):
9147 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9149 * custom.el (custom-declare-variable-list): Don't process
9150 custom-declare-variable-list.
9152 * progmodes/python.el (python-shell-get-buffer): New function.
9153 (python-shell-get-process): Use it.
9154 (python-shell-send-string): Always use utf-8 and add a cookie to tell
9155 Python which encoding was used. Don't split-string since we only care
9156 about the first line. Return the temp-file, if applicable.
9157 (python-shell-send-region): Tell compile.el how to turn locations in
9158 the temp-file into locations in the source buffer.
9160 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * subr.el (undefined): Add missing behavior from the C code for
9165 * rect.el: Use lexical-binding. Add new rectangular region support.
9166 (rectangle-mark): New command.
9167 (rectangle--region): New var.
9168 (deactivate-mark-hook): Reset rectangle--region.
9169 (rectangle--extract-region, rectangle--insert-for-yank)
9170 (rectangle--highlight-for-redisplay)
9171 (rectangle--unhighlight-for-redisplay): New functions.
9172 (region-extract-function, redisplay-unhighlight-region-function)
9173 (redisplay-highlight-region-function): Use them to handle
9175 * simple.el (region-extract-function): New var.
9176 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9177 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9178 (kill-region): Replace obsolete `yank-handler' arg with `region'.
9179 (copy-region-as-kill, kill-ring-save): Add `region' argument.
9180 (redisplay-unhighlight-region-function)
9181 (redisplay-highlight-region-function): New vars.
9182 (redisplay--update-region-highlight): New function.
9183 (pre-redisplay-function): Use it.
9184 (exchange-point-and-mark): Don't deactivate the mark before
9185 reactivate-it anyway.
9186 * comint.el (comint-kill-region): Remove yank-handler argument.
9187 * delsel.el (delete-backward-char, backward-delete-char-untabify)
9188 (delete-char): Remove property, since it's now part of their
9190 (self-insert-iso): Remove property since this command doesn't exist.
9192 * emacs-lisp/package.el (package--download-one-archive)
9193 (describe-package-1): Don't query the user about final newline.
9195 2013-10-29 Daniel Colascione <dancol@dancol.org>
9197 * net/tramp.el (tramp-methods): Document new functionality.
9198 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9199 tramp-hostname-checker if method provides one instead of scanning
9200 argument list for "%h" to decide hostname acceptability.
9202 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
9204 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9205 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9206 Handle COPY-CONTENTS. (Bug#15737)
9208 2013-10-28 Daiki Ueno <ueno@gnu.org>
9210 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9211 Document that this option has no effect with GnuPG 2.0 (bug#15552).
9213 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
9215 * image.el (defimage, image-load-path): Doc fixes.
9217 2013-10-27 Alan Mackenzie <acm@muc.de>
9219 Indent statements in macros following "##" correctly.
9220 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9221 Modify the "#" arm of a cond form to handle "#" and "##" operators.
9223 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9225 * linum.el (linum-update-window): Fix boundary test (bug#13446).
9227 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
9229 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9230 after `=' is probably a new expression.
9232 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9234 * man.el (man-imenu-title): New option.
9235 (Man-mode-map): Add menu. (Bug#15722)
9236 (Man-mode): Add imenu to menu.
9238 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
9240 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9241 specific in what the first arg can be: a non-keyword word,
9242 string/regexp/percent literal opener, opening paren, or unary
9243 operator followed directly by word.
9245 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9247 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9248 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9249 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9250 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9251 Remove vars, they do not apply any more.
9252 (prolog-mode-abbrev-table): Remove redundant declaration.
9253 (prolog-upper-case-string, prolog-lower-case-string): Remove.
9254 (prolog-use-smie): Remove.
9255 (prolog-smie-rules): Add indentation rule for the if-then-else layout
9256 supported by prolog-electric-if-then-else-flag.
9257 (prolog-mode-variables, prolog-menu): Use setq-local.
9258 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9259 Remove binding to `Backspace' since this key doesn't exist anyway.
9260 Remove bindings for electric self-inserting keys.
9261 (prog-mode): Assume it's defined.
9262 (prolog-post-self-insert): New function.
9263 (prolog-mode): Use it.
9264 (prolog-indent-line, prolog-indent-level)
9265 (prolog-find-indent-of-matching-paren)
9266 (prolog-indentation-level-of-line, prolog-goto-comment-column)
9267 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9268 (prolog-goto-next-paren, prolog-in-string-or-comment)
9269 (prolog-tokenize, prolog-inside-mline-comment)
9270 (prolog-find-start-of-mline-comment): Remove functions.
9271 (prolog-find-unmatched-paren, prolog-clause-end)
9272 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9273 (prolog-electric--if-then-else): Rename from
9274 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9275 (prolog-tokenize-searchkey): Remove const.
9276 (prolog-clause-info): Use forward-sexp.
9277 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9278 (prolog-electric-if-then-else): Remove commands.
9279 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9280 for use in post-self-insert-hook.
9281 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9282 for use in post-self-insert-hook.
9283 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9284 for use in post-self-insert-hook.
9285 (prolog-electric--underscore): Rename from prolog-electric--underscore;
9286 adapt it for use in post-self-insert-hook.
9288 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
9290 * emacs-lisp/ert.el (ert-run-tests-interactively):
9291 Use `completing-read'. (Bug#9756)
9293 2013-10-25 Eli Zaretskii <eliz@gnu.org>
9295 * simple.el (line-move): Call line-move-1 instead of
9296 line-move-visual when the current window hscroll is zero, but
9297 temporary-goal-column indicates we will need to hscroll as result
9298 of the movement. (Bug#15712)
9300 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
9302 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9303 capitalization. Use :visible instead of :active.
9304 Fix `ruby-indent-exp' reference. Add menu items for the generic
9305 commands that are used with SMIE.
9306 (ruby-do-end-to-brace): Insert space after `{'.
9308 2013-10-25 John Anthony <john@jo.hnanthony.com>
9310 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
9312 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
9314 2013-10-25 Glenn Morris <rgm@gnu.org>
9316 * vc/vc.el (vc-print-log): Don't use a working revision unless
9317 one was explicitly specified. (Bug#15322)
9319 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9321 * subr.el (add-to-list): Preserve return value in compiler-macro
9324 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9326 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9327 result. Ask user to retry using '-all' flag. (Bug#15701)
9329 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * emacs-lisp/smie.el: New smie-config system.
9332 (smie-config): New defcustom.
9333 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9334 (smie-config-guess, smie-config-save): New commands.
9335 (smie-config--mode-local, smie-config--buffer-local)
9336 (smie-config--trace, smie-config--modefuns): New vars.
9337 (smie-config--advice, smie-config--mode-hook)
9338 (smie-config--setter, smie-config-local, smie-config--get-trace)
9339 (smie-config--guess-value, smie-config--guess): New functions.
9340 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9341 text properties. Treat "string fence" syntax like string syntax.
9343 * progmodes/sh-script.el (sh-use-smie): Change default.
9344 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9345 (sh-var-value): Simplify by CSE.
9346 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9347 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9349 (sh-guess-basic-offset): Use cl-incf.
9350 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9352 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
9354 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9357 2013-10-24 Glenn Morris <rgm@gnu.org>
9359 * Makefile.in (abs_top_srcdir): Remove.
9360 (update-subdirs): Use relative path to update-subdirs.
9362 2013-10-24 Eli Zaretskii <eliz@gnu.org>
9364 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9365 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9366 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9367 Call unmsys--file-name before expand-file-name, not after it.
9369 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
9371 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9372 (ert-test-skipped): New error.
9373 (ert-skip, ert-stats-skipped): New defuns.
9374 (ert--skip-unless): New macro.
9375 (ert-test-skipped): New struct.
9376 (ert--run-test-debugger, ert-test-result-type-p)
9377 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9378 (ert--stats-set-test-and-result, ert-char-for-test-result)
9379 (ert-string-for-test-result, ert-run-tests-batch)
9380 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9381 Handle skipped tests. (Bug#9803)
9383 2013-10-24 Glenn Morris <rgm@gnu.org>
9385 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9387 * Makefile.in (abs_top_srcdir): New, set by configure.
9388 (update-subdirs): Correct build-aux location.
9390 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
9392 * vc/vc.el (vc-print-root-log): Always set `default-directory'
9393 value, whether we could auto-deduce `backend', or not.
9395 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9396 with parameters" example. Simplify the "is it block or is it
9397 hash" check, but also make it more thorough.
9399 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
9401 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
9403 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
9405 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9408 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9411 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
9413 * progmodes/compile.el (compilation-directory-matcher)
9414 (compilation-page-delimiter):
9415 Support GNU Make-4.0 directory quoting. (Bug#15678)
9417 2013-10-23 Leo Liu <sdl.web@gmail.com>
9419 * ido.el (ido-tidy): Handle read-only text.
9421 2013-10-23 Glenn Morris <rgm@gnu.org>
9423 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9424 (emacs, compile, compile-always):
9425 Quote entities that might contain whitespace.
9426 (custom-deps, finder-data, autoloads): Use abs_lisp.
9427 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9428 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9429 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9431 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
9433 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9434 Use `following-char'.
9436 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9439 * progmodes/ruby-mode.el (ruby-smie-rules):
9440 Remove corresponding workaround. Fix indentation rule of ";" so it
9441 also applies when ";" is the parent.
9443 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
9445 * frame.el (display-screens, display-pixel-height)
9446 (display-pixel-width, display-mm-width, display-backing-store)
9447 (display-save-under, display-planes, display-color-cells)
9448 (display-visual-class, display-monitor-attributes-list):
9449 Mention the optional ‘display’ argument in doc strings.
9451 2013-10-22 Michael Gauland <mikelygee@amuri.net>
9453 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9454 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
9456 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
9458 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9459 TODO. Add "." after " @ ".
9460 (ruby-smie--at-dot-call): New function. Checks if point at method
9461 call with explicit target.
9462 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9463 to the method name tokens when it precedes them.
9464 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9465 (ruby-smie-rules): Add rule for indentation before and after "."
9468 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * textmodes/remember.el (remember-diary-extract-entries):
9473 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9476 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
9478 * progmodes/ruby-mode.el (ruby-smie-grammar):
9479 Add (almost) all infix operators.
9480 (ruby-smie--implicit-semi-p): Add new operator chars.
9482 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9484 (ruby-smie--args-separator-p): Check that there's no newline
9485 between method call and its arguments.
9487 2013-10-20 Alan Mackenzie <acm@muc.de>
9489 Allow comma separated lists after Java "implements".
9491 * progmodes/cc-engine.el (c-backward-over-enum-header):
9493 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9494 from a "disallowed" list in enum fontification.
9496 2013-10-20 Johan Bockgård <bojohan@gnu.org>
9498 * startup.el (default-frame-background-mode): Remove unused defvar.
9500 * progmodes/verilog-mode.el (verilog-mode): Don't set
9501 comment-indent-function globally.
9503 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
9505 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9506 Move Info menu item creation to ns-win.el.
9508 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9511 * menu-bar.el: Move GNUstep specific menus...
9513 * term/ns-win.el (ns-initialize-window-system): ... to here.
9515 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9517 * simple.el (newline): Only run post-self-insert-hook when
9518 called interactively.
9520 2013-10-19 Johan Bockgård <bojohan@gnu.org>
9522 * icomplete.el (icomplete-with-completion-tables): Add :version.
9524 2013-10-19 Alan Mackenzie <acm@muc.de>
9526 Fix fontification bugs with constructors and const.
9528 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9529 CASE 2) Remove the check for the absence of a suffix construct
9530 after a function declaration with only types (no identifiers) in
9531 the parentheses. Also, accept a function declaration with just a
9532 type inside the parentheses, if this type can be positively
9533 recognised as such, or if a prefix keyword like "explicit" nails
9534 down the construct as a declaration.
9536 2013-10-19 Eli Zaretskii <eliz@gnu.org>
9538 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9539 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
9540 the problem whereby selecting a menu item that leads to a
9541 minibuffer prompt moves the cursor out of the minibuffer window,
9542 making it hard to type at the prompt. Suggested by Stefan Monnier
9543 <monnier@iro.umontreal.ca>.
9545 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
9547 * menu-bar.el: Don't make Services menu.
9549 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9551 * ffap.el: Handle "/usr/include/c++/<version>" directories.
9552 (ffap-alist): Use ffap-c++-mode for c++-mode.
9553 (ffap-c++-path): New variable.
9554 (ffap-c++-mode): New function.
9556 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
9558 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
9560 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
9562 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9563 introduced on 2013-09-08, which results in an infinite loop
9564 requesting a password.
9566 2013-10-18 Glenn Morris <rgm@gnu.org>
9568 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9570 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
9572 Sync with upstream verilog-mode revision 1a6ecec7.
9573 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9574 (verilog-mode-release-date): Remove.
9575 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9576 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9577 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9578 (verilog-auto-tieoff-ignore-regexp)
9579 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9580 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9581 (verilog-signals-with, verilog-dir-cache-preserving)
9582 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9584 (verilog-case-fold): New option, to control case folding in
9585 regexp searches, bug597.
9586 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9587 (verilog-string-match-fold, verilog-in-paren-count)
9588 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9589 (verilog-at-close-struct-p): New functions.
9590 (verilog-beg-block-re-ordered, verilog-extended-case-re)
9591 (verilog-forward-sexp, verilog-set-auto-endcomments)
9592 (verilog-leap-to-case-head): Handle "unique0" case.
9593 (verilog-in-constraint-re): New constant.
9594 (verilog-keywords, verilog-type-font-keywords):
9595 Add some SystemVerilog 1800-2012 keywords.
9596 (verilog-label-be): Remove unimplemented argument, bug669.
9597 (verilog-batch-execute-func): When batch expanding clear
9598 create-lockfiles to prevent spurious user locks when a file ends
9600 (verilog-calculate-indent, verilog-calc-1)
9601 (verilog-at-close-constraint-p, verilog-at-constraint-p)
9602 (verilog-do-indent): Fix indentation of nested constraints
9604 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9605 (verilog-auto-inst-param): Use verilog-string-match-fold.
9606 (verilog-read-inst-module-matcher):
9607 Fix AUTOINST on gate primitives with #1.
9608 (verilog-read-decls): Fix double-declaring user-defined typed signals.
9609 Reads all user-defined typed variables.
9610 (verilog-read-defines): Fix reading definitions inside comments, bug647.
9611 (verilog-signals-matching-regexp)
9612 (verilog-signals-not-matching-regexp, verilog-auto):
9613 Respect verilog-case-fold.
9614 (verilog-diff-report): Fix line count.
9615 (verilog-auto-assign-modport): Remove unused local `modi'.
9616 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9617 better handle multidimensional arrays.
9618 Fix packed array ports misadding bit index in AUTOINST, bug637.
9619 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9620 to not double-declare existing outputs and inputs, respectively.
9621 (verilog-template-map): Bind U to verilog-sk-uvm-component.
9622 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9623 (verilog-sk-uvm-component): New skeleton.
9624 (verilog-submit-bug-report): Add verilog-case-fold,
9625 remove verilog-mode-release-date.
9627 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
9629 * subr.el (sit-for): Call (input-pending-p t) so as to behave
9632 2013-10-18 Reuben Thomas <rrt@sc3d.org>
9634 * textmodes/remember.el (remember): Set buffer-offer-save in
9635 remember buffers (bug#13566).
9637 2013-10-18 Daniel Colascione <dancol@dancol.org>
9639 When evaluating forms in ielm, direct standard output to ielm
9640 buffer. Add new ielm-return-for-effect command. Remove trailing
9641 whitespace throughout.
9643 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9644 (ielm-return-for-effect): New command.
9645 (ielm-send-input): Accept optional `for-effect' parameter.
9646 (ielm-eval-input): Accept optional `for-effect' parameter.
9647 Bind `standard-output' to stream we create using
9648 `ielm-standard-output-impl'. Suppress printing result when
9650 (ielm-standard-output-impl): New function.
9651 (inferior-emacs-lisp-mode): Explain new features in documentation.
9653 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
9657 * net/tramp.el (tramp-debug-message): Do not check for connection
9659 (tramp-message): Use "vector" connection property.
9661 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9662 (tramp-equal-remote, tramp-eshell-directory-change)
9663 * net/tramp-adb.el (tramp-adb-handle-copy-file)
9664 (tramp-adb-handle-rename-file)
9665 * net/tramp-cmds.el (tramp-list-remote-buffers)
9666 (tramp-cleanup-connection, tramp-cleanup-this-connection)
9667 * net/tramp-compat.el (tramp-compat-process-running-p)
9668 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9669 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9670 (tramp-gvfs-handle-rename-file)
9671 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9672 (tramp-set-file-uid-gid)
9673 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9674 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9677 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9678 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9679 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9680 (tramp-gw-open-network-stream): Suppress unrelated traces.
9682 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9683 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9684 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9685 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9686 connection property.
9688 * net/tramp-cache.el (top): Suppress traces when reading
9691 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9692 Refactor common code. Improve debug message.
9693 (tramp-maybe-open-connection)
9694 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9695 connection buffer too early.
9697 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9698 from `tramp-smb-actions-with-acl'.
9699 (tramp-smb-actions-set-acl): New defconst.
9700 (tramp-smb-handle-copy-directory)
9701 (tramp-smb-action-get-acl): New defun, renamed from
9702 `tramp-smb-action-with-acl'.
9703 (tramp-smb-action-set-acl): New defun.
9704 (tramp-smb-handle-set-file-acl): Rewrite.
9706 2013-10-17 Glenn Morris <rgm@gnu.org>
9708 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
9710 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * skeleton.el (skeleton-newline): Remove.
9713 (skeleton-internal-1): Use (insert "\n") instead.
9715 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9718 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9719 forward-sexp-function while we redo its job (bug#15613).
9721 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
9723 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9724 represented by lists.
9726 2013-10-16 Glenn Morris <rgm@gnu.org>
9728 * tmm.el (tmm--history): New dynamic variable.
9729 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
9731 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
9733 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9734 (tramp-smb-errors): Add error messages.
9735 (tramp-smb-actions-with-acl): New defconst.
9736 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9737 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9738 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9739 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9740 (tramp-smb-get-stat-capability): Fix tests.
9742 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
9744 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9747 2013-10-16 Glenn Morris <rgm@gnu.org>
9749 * ansi-color.el (ansi-color-drop-regexp):
9750 Add 1J, 1K, 2K. (Bug#15617)
9752 * files.el (hack-local-variables--warned-lexical): New.
9753 (hack-local-variables):
9754 Warn about misplaced lexical-binding. (Bug#15616)
9756 * net/eww.el (eww-render): Always set eww-current-url,
9757 and update header line. (Bug#15622)
9758 (eww-display-html): ... Rather than just doing it here.
9760 2013-10-15 Eli Zaretskii <eliz@gnu.org>
9762 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9763 menu navigations commands.
9765 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
9767 * progmodes/subword.el (subword-capitalize): Be careful when
9768 the search for [[:alpha:]] fails (bug#15580).
9770 2013-10-14 Eli Zaretskii <eliz@gnu.org>
9772 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9773 to commands that scroll the menu.
9775 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
9777 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9778 Handle methods ending with `?' and `!'.
9780 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
9782 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9783 `japanese-cp932' to `cp932' to fix the problem where saving a
9784 source file written in Shift_JIS twice would end up having
9785 `coding: japanese-cp932' which Ruby could not recognize.
9786 (ruby-mode-set-encoding): Add support for encodings mapped to nil
9787 in `ruby-encoding-map'.
9788 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9789 doesn't need to be explicitly declared in magic comment.
9790 (ruby-encoding-map): Add type declaration for better customize UI.
9792 2013-10-13 Glenn Morris <rgm@gnu.org>
9794 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9795 Occur buffers are read-only. http://bugs.debian.org/720775
9797 * emacs-lisp/authors.el (authors-fixed-entries):
9798 Comment out old alpha stuff.
9800 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
9802 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9803 to `after-save-hook' instead of `before-save-hook'.
9804 (ruby-mode-set-encoding): Use the value of coding system used to
9805 write the file. Call `basic-save-buffer-1' after modifying the
9808 2013-10-13 Alan Mackenzie <acm@muc.de>
9810 Fix indentation/fontification of Java enum with
9811 "implements"/generic.
9813 * progmodes/cc-engine.el (c-backward-over-enum-header):
9814 Extracted from the three other places and enhanced to handle generics.
9815 (c-inside-bracelist-p): Uses new function above.
9816 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9818 (c-font-lock-enum-tail): Uses new function above.
9820 2013-10-13 Kenichi Handa <handa@gnu.org>
9822 * international/mule-cmds.el (select-safe-coding-system): Remove a
9823 superfluous condition in chekcing whether a coding system is safe
9826 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
9828 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
9830 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
9832 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
9834 2013-10-13 Glenn Morris <rgm@gnu.org>
9836 * menu-bar.el (menu-bar-update-buffers):
9837 Unify Buffers menu prompt string. (Bug#15576)
9839 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
9841 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9843 (authors-fixed-entries): Use accented form of name.
9845 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9847 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9848 method calls (bug#15594).
9849 (ruby-smie--args-separator-p): New function.
9850 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9851 recognize paren-free method calls.
9853 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9854 internals of universal-argument.
9856 2013-10-11 Eli Zaretskii <eliz@gnu.org>
9858 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9859 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9860 dropped menu on second mouse click on the menu bar.
9862 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9864 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9865 (explicit-shell-file-name): Declare.
9866 (sh--vars-before-point, sh--cmd-completion-table): New functions.
9867 (sh-completion-at-point-function): New function.
9869 (sh-smie--keyword-p): Remove unused argument.
9870 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9872 (sh-set-shell): Always setup SMIE, even if we use the
9873 old indentation code.
9875 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
9877 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9879 (ruby-smie-rules): Simplify the "do" rule. The cases when the
9880 predicate would return nil are almost non-existent.
9881 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9883 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9884 cache also after commands that modify the buffer but don't move
9887 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
9889 * env.el (substitute-env-in-file-name): New function.
9890 (substitute-env-vars): Extend the meaning of the optional arg.
9892 2013-10-10 Eli Zaretskii <eliz@gnu.org>
9894 * term/w32-win.el (dynamic-library-alist): Define separate lists
9895 of GIF DLLs for versions before and after 5.0.0 of giflib.
9898 2013-10-10 João Távora <joaotavora@gmail.com>
9900 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9901 not locked, use last revision and current source as
9902 defaults. (Bug#15569)
9904 2013-10-10 Masatake YAMATO <yamato@redhat.com>
9906 * menu-bar.el (menu-bar-open): Don't use popup-menu if
9909 2013-10-10 Martin Rudalics <rudalics@gmx.at>
9911 * window.el (pop-to-buffer-same-window): Fix doc-string.
9914 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
9916 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9918 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
9920 * calendar/icalendar.el (icalendar-import-file):
9921 Fix interactive spec. (Bug#15482)
9923 2013-10-10 Glenn Morris <rgm@gnu.org>
9925 * desktop.el (desktop-save): Default to saving in .emacs.d,
9926 since PWD is no longer in desktop-path by default. (Bug#15319)
9928 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9929 now that text mode has a menu with the same entry.
9930 (menu-bar-text-mode-auto-fill): Remove now unused func.
9931 * textmodes/text-mode.el (text-mode-map):
9932 Use auto-fill help text from menu-bar.el.
9934 2013-10-10 John Anthony <john@jo.hnanthony.com>
9936 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
9938 2013-10-09 Juri Linkov <juri@jurta.org>
9940 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9941 instead of this-command-keys. Add universal-argument-more and
9942 universal-argument-minus to the list of prefix commands. (Bug#15568)
9944 2013-10-09 Glenn Morris <rgm@gnu.org>
9946 * vc/vc-svn.el (vc-svn-create-repo):
9947 Expand paths in file://... url. (Bug#15446)
9949 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9951 (authors): Remove unused local variables.
9953 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * profiler.el: Create a more coherent calltree from partial backtraces.
9956 (profiler-format): Hide the tail with `invisible' so that C-s can still
9957 find the hidden elements.
9958 (profiler-calltree-depth): Don't recurse so enthusiastically.
9959 (profiler-function-equal): New hash-table-test.
9960 (profiler-calltree-build-unified): New function.
9961 (profiler-calltree-build): Use it.
9962 (profiler-report-make-name-part): Indent the calltree less.
9963 (profiler-report-mode): Add visibility specs for profiler-format.
9964 (profiler-report-expand-entry, profiler-report-toggle-entry):
9965 Expand the whole subtree when provided with a prefix arg.
9967 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
9969 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9971 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9972 hanging iuwu-mod token.
9973 (ruby-smie--forward-token): Do not include a dot after a token in
9975 (ruby-smie--backward-token): Likewise.
9977 2013-10-08 Juri Linkov <juri@jurta.org>
9979 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9980 to isearch-other-control-char.
9981 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9982 and isearch-post-command-hook to post-command-hook.
9983 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9984 and isearch-post-command-hook from post-command-hook.
9985 (isearch-unread-key-sequence)
9986 (isearch-reread-key-sequence-naturally)
9987 (isearch-lookup-scroll-key, isearch-other-control-char)
9988 (isearch-other-meta-char): Remove functions.
9989 (isearch-pre-command-hook, isearch-post-command-hook):
9990 New functions based on isearch-other-meta-char rewritten
9991 relying on the new behavior of overriding-terminal-local-map
9992 that does not replace the local keymaps any more. (Bug#15200)
9994 2013-10-08 Eli Zaretskii <eliz@gnu.org>
9996 Support menus on text-mode terminals.
9997 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10000 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10002 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10003 Move here from mouse.el.
10004 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10006 (tty-menu-navigation-map): New map for TTY menu navigation.
10008 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10010 * frame.el (display-mouse-p): Report text-mode mouse as available
10012 (display-popup-menus-p): Report availability if mouse is
10013 available; don't condition on window-system.
10015 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10016 (tty-menu-selected-face): New faces.
10018 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10021 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10022 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10023 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10025 (lisp-mode-variables): New `elisp' argument.
10026 (emacs-lisp-mode): Use it.
10027 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10028 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10030 * indent.el: Use lexical-binding.
10031 (indent-region): Add progress reporter.
10032 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10034 (indent--next-tab-stop): New function to implement this behavior.
10035 (tab-to-tab-stop, move-to-tab-stop): Use it.
10037 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10039 * indent.el (indent-rigidly--current-indentation): New function.
10040 (indent-rigidly-map): New var.
10041 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10043 2013-10-08 Bastien Guerry <bzg@gnu.org>
10045 * register.el (insert-register): Fix 2013-10-07 change.
10047 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10049 * progmodes/perl-mode.el: Use lexical-binding.
10050 Remove redundant :group args.
10051 (perl-nochange): Change default to be closer to other major modes's
10053 (perl-indent-line): Don't consider text on current line as a
10054 valid beginning of function from which to indent.
10056 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10057 with more than one argument (bug#15538).
10059 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10061 * vc/pcvs.el: Use lexical-binding.
10062 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10063 environment of `eval'.
10064 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10065 than a list of expressions. Adjust callers.
10066 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10068 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10070 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10071 case of the dot in a chained method call being on the following line.
10073 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10075 * electric.el (electric-indent-inhibit): New var.
10076 (electric-indent-post-self-insert-function): Use it.
10077 * progmodes/python.el (python-mode): Set it.
10079 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10082 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10084 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10085 (css-mode): Use electric-indent-chars.
10087 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10088 (font-lock-beg, font-lock-end): Move before first use.
10089 (nxml-mode): Use syntax-propertize-function.
10090 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10091 (nxml-extend-after-change-region): Remove.
10092 * nxml/xmltok.el: Use lexical-binding.
10093 (xmltok-save): Use `declare'.
10094 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10095 * nxml/nxml-util.el: Use lexical-binding.
10096 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10098 * nxml/nxml-ns.el: Use lexical-binding.
10099 (nxml-ns-save): Use `declare'.
10100 (nxml-ns-prefixes-for): Avoid add-to-list.
10101 * nxml/rng-match.el: Use lexical-binding.
10102 (rng--ipattern): Use cl-defstruct.
10103 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10104 (rng-cons-group-after, rng-subst-group-after)
10105 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10106 Use closures instead of `(lambda...).
10108 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
10110 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10113 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10114 Use `tramp-handle-insert-file-contents'.
10115 (tramp-gvfs-handle-insert-file-contents): Remove function.
10117 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10118 Use `save-restriction' in order to keep markers.
10120 * net/trampver.el: Update release number.
10122 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10124 * progmodes/compile.el (compilation-parse-errors):
10125 Use compilation--put-prop.
10126 (compilation--ensure-parse): Check compilation-multiline.
10128 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10130 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10133 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10135 * progmodes/ruby-mode.el: Fix recently added tests.
10136 (ruby-smie-grammar): Add - and +.
10137 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10138 (ruby-smie--backward-id): New functions.
10139 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10140 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
10143 2013-10-07 Leo Liu <sdl.web@gmail.com>
10145 * register.el (register-preview-delay)
10146 (register-preview-functions): New variables.
10147 (register-read-with-preview, register-preview)
10148 (register-describe-oneline): New functions.
10149 (point-to-register, window-configuration-to-register)
10150 (frame-configuration-to-register, jump-to-register)
10151 (number-to-register, view-register, insert-register)
10152 (copy-to-register, append-to-register, prepend-to-register)
10153 (copy-rectangle-to-register): Use register-read-with-preview to
10154 read register. (Bug#15525)
10156 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
10158 * net/network-stream.el (network-stream-open-starttls): Don't add
10159 --insecure if it's already present, because that gnutls-cli
10160 rejects getting that parameter twice.
10162 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
10164 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10167 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
10169 * newcomment.el (comment-use-global-state): Change default value
10170 to t, mark obsolete (Bug#15251).
10171 (comment-beginning): In addition to `comment-to-syntax', check the
10172 value of `comment-use-global-state'.
10174 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10176 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10177 (ruby-comment-column): Follow the global default, by default.
10178 (ruby-smie-grammar): Add assignment syntax.
10179 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10180 open-paren, a comma, or a \.
10181 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10182 and line continuations.
10183 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10184 followed by implicit semi-colons. Add rule for string concatenation
10185 and for indentation at BOB.
10186 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10188 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10189 calling next-sexp, since next-token may have skipped chars which
10190 next-sexp doesn't know should be skipped!
10192 2013-10-05 Leo Liu <sdl.web@gmail.com>
10194 * progmodes/octave.el (octave-send-region):
10195 Call compilation-forget-errors.
10197 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10199 * vc/vc-svn.el (vc-svn-find-admin-dir):
10200 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10201 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10202 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10203 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10205 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10207 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10209 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * subr.el (read-passwd): Hide chars even when called within a context
10212 where after-change-functions is disabled (bug#15501).
10213 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10214 until we removed ourself from overriding-terminal-local-map.
10216 2013-10-04 Leo Liu <sdl.web@gmail.com>
10218 * progmodes/octave.el (inferior-octave-mode):
10219 Call compilation-forget-errors.
10221 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10223 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10225 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
10227 * net/secrets.el (secrets-create-collection): Add optional
10228 argument ALIAS. Use proper Label keyword. Append ALIAS as
10229 dbus-call-method argument. (Bug#15516)
10231 2013-10-04 Leo Liu <sdl.web@gmail.com>
10233 * progmodes/octave.el (inferior-octave-error-regexp-alist)
10234 (inferior-octave-compilation-font-lock-keywords): New variables.
10235 (compilation-error-regexp-alist)
10236 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10237 (inferior-octave-mode): Use compilation-shell-minor-mode.
10239 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
10241 * minibuffer.el (completion--replace): Be careful that `end' might be
10244 2013-10-03 Daiki Ueno <ueno@gnu.org>
10246 Add support for package signature checking.
10247 * emacs-lisp/package.el (url-http-file-exists-p)
10248 (epg-make-context, epg-context-set-home-directory)
10249 (epg-verify-string, epg-context-result-for)
10250 (epg-signature-status, epg-signature-to-string)
10251 (epg-check-configuration, epg-configuration)
10252 (epg-import-keys-from-file): Declare.
10253 (package-check-signature): New user option.
10254 (package-unsigned-archives): New user option.
10255 (package-desc): Add `signed' field.
10256 (package-load-descriptor): Set `signed' field if .signed file exists.
10257 (package--archive-file-exists-p): New function.
10258 (package--check-signature): New function.
10259 (package-install-from-archive): Check package signature.
10260 (package--download-one-archive): Check archive signature.
10261 (package-delete): Remove .signed file.
10262 (package-import-keyring): New command.
10263 (package-refresh-contents): Import default keyring.
10264 (package-desc-status): Add "unsigned" status.
10265 (describe-package-1, package-menu--print-info)
10266 (package-menu-mark-delete, package-menu--find-upgrades)
10267 (package-menu--status-predicate): Support "unsigned" status.
10269 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10272 the new compilation scheme using the new byte-codes.
10274 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10275 (byte-pophandler): New byte codes.
10276 (byte-goto-ops): Adjust accordingly.
10277 (byte-compile--use-old-handlers): New var.
10278 (byte-compile-catch): Use new byte codes depending on
10279 byte-compile--use-old-handlers.
10280 (byte-compile-condition-case--old): Rename from
10281 byte-compile-condition-case.
10282 (byte-compile-condition-case--new): New function.
10283 (byte-compile-condition-case): New function that dispatches depending
10284 on byte-compile--use-old-handlers.
10285 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10288 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10289 Optimize under `condition-case' and `catch' if
10290 byte-compile--use-old-handlers is nil.
10291 (disassemble-offset): Handle new bytecodes.
10293 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * subr.el (error): Use `declare'.
10296 (decode-char, encode-char): Use advertised-calling-convention instead
10297 of the docstring to discourage use of the `restriction' arg.
10299 2013-10-03 Daiki Ueno <ueno@gnu.org>
10301 * epg.el (epg-verify-file): Add a comment saying that it does not
10302 notify verification error as a return value nor a signal.
10303 (epg-verify-string): Ditto.
10305 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10307 * progmodes/compile.el (compilation-start): Try globbing the arg to
10310 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
10312 Sync with Tramp 2.2.8.
10314 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10315 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10316 * net/trampver.el: Update release number.
10318 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
10320 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10321 and default-process-coding-system for darwin only.
10323 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
10325 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10327 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
10329 * vc/vc-git.el (vc-git-grep): Disable pager.
10331 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
10333 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10334 Use :url instead of :homepage, as per
10335 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10337 * newcomment.el (comment-beginning): When `comment-use-syntax' is
10338 non-nil, use `syntax-ppss' (Bug#15251).
10340 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10342 * progmodes/octave.el (inferior-octave-startup-file):
10343 Prefer ~/.emacs.d/init_octave.m.
10345 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
10347 * emacs-lisp/package.el (package-desc-from-define):
10348 Accept additional arguments as plist, convert them to an alist and store
10349 them in the `extras' slot.
10350 (package-generate-description-file): Convert extras alist back to
10351 plist and append to the `define-package' form arguments.
10352 (package--alist-to-plist): New function.
10353 (package--ac-desc): Add `extras' slot.
10354 (package--add-to-archive-contents): Check if the archive-contents
10355 vector is long enough, and if it is, pass its `extras' slot value
10356 to `package-desc-create'.
10357 (package-buffer-info): Call `lm-homepage', pass the returned value
10358 to `package-desc-from-define'.
10359 (describe-package-1): Render the homepage button (Bug#13291).
10361 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10362 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10364 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
10366 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10367 and default-process-coding-system to utf-8-unix (Bug#15402).
10369 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
10371 * subr.el (looking-back): Do not recommend using looking-back.
10373 2013-09-28 Alan Mackenzie <acm@muc.de>
10375 Fix indentation/fontification of Java enum with "implements".
10377 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10378 regexp which matches "implements", etc., in Java.
10379 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10380 specifier clauses coming after "enum".
10381 * progmodes/cc-fonts.el (c-font-lock-declarations)
10382 (c-font-lock-enum-tail): Check for extra specifier clauses coming
10385 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
10387 * faces.el (region): Change ns_selection_color to
10388 ns_selection_fg_color, add ns_selection_bg_color.
10390 2013-09-28 Leo Liu <sdl.web@gmail.com>
10392 * progmodes/octave.el (inferior-octave-completion-table)
10393 (inferior-octave-completion-at-point): Minor tweaks.
10395 * textmodes/ispell.el (ispell-lookup-words): Rename from
10396 lookup-words. (Bug#15460)
10397 (lookup-words): Obsolete.
10398 (ispell-complete-word, ispell-command-loop): All uses changed.
10400 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10402 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10403 (octave-mode-menu): Add octave-send-buffer.
10404 (octave-send-buffer): New function.
10406 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10408 * progmodes/octave.el (octave-mode-map): Add key binding for
10410 (octave-mode-menu): Add octave-lookfor.
10411 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10413 (octave-lookfor): New function.
10415 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10418 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10420 (cl--loop-set-iterator-function): New function.
10421 (cl-loop): Adjust accordingly, so as not to use cl-subst.
10422 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10423 Bind `it' with `let' instead of substituting it with `cl-subst'.
10424 (cl--unused-var-p): New function.
10425 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10426 Eliminate some unused variable warnings (bug#15326).
10428 2013-09-27 Tassilo Horn <tsdh@gnu.org>
10430 * doc-view.el (doc-view-scale-reset): Rename from
10431 `doc-view-reset-zoom-level'.
10432 (doc-view-scale-adjust): New command.
10433 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10434 `doc-view-scale-adjust'.
10436 2013-09-26 Tassilo Horn <tsdh@gnu.org>
10438 * doc-view.el (doc-view-reset-zoom-level): New command.
10439 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10440 zoom commands (bug#15466).
10442 2013-09-26 Kenichi Handa <handa@gnu.org>
10444 * international/quail.el (quail-help): Make it not a command.
10446 2013-09-26 Leo Liu <sdl.web@gmail.com>
10448 * minibuffer.el (completion-all-sorted-completions): Make args
10449 optional as they are.
10451 2013-09-25 Daniel Colascione <dancol@dancol.org>
10453 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10454 specs are and that they're not evaluated.
10456 2013-09-24 Sam Steingold <sds@gnu.org>
10458 * midnight.el (clean-buffer-list-kill-regexps)
10459 (clean-buffer-list-kill-buffer-names): Update for the new Man
10460 buffer naming which includes the object name.
10462 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10464 * eshell/esh-cmd.el (eshell--sep-terms): New var.
10465 (eshell-parse-command, eshell-parse-pipeline): Use it since
10466 eshell-separate-commands requires a dynamic scoped var.
10467 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10469 2013-09-23 Leo Liu <sdl.web@gmail.com>
10471 * autoinsert.el (auto-insert-alist): Make the value of
10472 lexical-binding match its file setting.
10474 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
10476 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10478 * autoarg.el (autoarg-kp-digit-argument):
10479 * electric.el (Electric-command-loop):
10480 * kmacro.el (kmacro-step-edit-insert):
10481 Do not set universal-argument-num-events.
10483 2013-09-22 Leo Liu <sdl.web@gmail.com>
10485 * files.el (interpreter-mode-alist): Add octave.
10487 2013-09-21 Alan Mackenzie <acm@muc.de>
10489 C++: fontify identifier in declaration following "public:" correctly.
10490 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10491 to match "public", etc.
10492 (c-decl-prefix-re): Add ":" into the C++ value.
10493 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10494 bit. Add a check for a ":" preceded by "public", etc.
10496 2013-09-21 Eli Zaretskii <eliz@gnu.org>
10498 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10499 recognized by GDB 7.5 and later.
10501 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
10503 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10505 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10507 * subr.el (internal--call-interactively): New const.
10508 (called-interactively-p): Use it (bug#3984).
10510 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
10512 * vc/pcvs.el (cvs-mode-ignore):
10513 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10514 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10516 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
10519 (eshell-ls-orig-insert-directory): Remove.
10520 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
10521 (eshell-ls-use-in-dired): Use advice-add/remove.
10522 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10523 Add `orig-fun' arg for use in :around advice.
10524 Make it check (redundantly) eshell-ls-use-in-dired.
10526 2013-09-19 Glenn Morris <rgm@gnu.org>
10528 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10530 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10532 * emacs-lisp/eieio.el (class-parent): Undo previous change.
10534 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
10536 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10537 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10538 (tramp-get-remote-python): New defuns.
10539 (tramp-get-remote-uid-with-perl)
10540 (tramp-get-remote-gid-with-perl): New defuns. Perl code
10541 contributed by yary <not.com@gmail.com> (tiny change).
10542 (tramp-get-remote-uid-with-python)
10543 (tramp-get-remote-gid-with-python): New defuns. Python code
10544 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10545 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10547 2013-09-19 Glenn Morris <rgm@gnu.org>
10549 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10551 * eshell/em-unix.el (eshell-remove-entries):
10552 Rename argument to avoid name-clash with global `top-level'.
10554 * eshell/esh-proc.el (eshell-kill-process-function):
10555 Remove eshell-reset-after-proc from eshell-kill-hook if present.
10556 (eshell-reset-after-proc): Remove unused arg `proc'.
10558 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10559 (directory-files-and-attributes): Mark unused arg.
10561 * eshell/em-unix.el (eshell-remove-entries):
10562 Remove unused arg `path'. Update callers.
10564 * eshell/em-hist.el (eshell-hist-parse-arguments):
10565 Remove unused arg `silent'. Update callers.
10567 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10568 Fix (f)boundp mix-up.
10570 * eshell/em-smart.el (eshell-smart-scroll-window)
10571 (eshell-disable-after-change):
10572 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10574 2013-09-18 Alan Mackenzie <acm@muc.de>
10576 Fix fontification of type when followed by "const".
10577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10578 "known" types from fontification.
10580 2013-09-18 Glenn Morris <rgm@gnu.org>
10582 * emacs-lisp/chart.el (x-display-color-cells): Declare.
10583 (chart-face-list): Drop Emacsen without display-color-p.
10585 * net/eww.el (libxml-parse-html-region): Declare.
10586 (eww-display-html): Explicit error if no libxml2 support.
10588 * doc-view.el (doc-view-mode): Silence --without-x compilation.
10590 * image.el (image-type-from-buffer, image-multi-frame-p):
10591 Remove --without-x warning/error.
10593 * mouse.el (mouse-yank-primary):
10594 * term.el (term-mouse-paste):
10595 Reorder to silence --without-x compilation.
10597 * mpc.el (doc-view-mode): Silence --without-x compilation.
10599 * mail/rmailmm.el (rmail-mime-set-bulk-data):
10600 Silence --without-x compilation.
10602 * progmodes/gud.el (gud-find-file, gud-mode):
10603 Silence --without-x compilation.
10604 (tooltip-mode): Declare.
10606 * wdired.el (dired-backup-overwrite): Remove declaration.
10607 (wdired-mode-map): Add doc string.
10609 * custom.el (x-get-resource): Declare.
10611 * eshell/em-glob.el (ange-cache):
10612 * eshell/em-unix.el (ange-cache): Declare.
10614 * faces.el (x-display-list, x-open-connection, x-get-resource):
10617 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10618 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10621 * frame.el (x-display-grayscale-p, x-display-name): Declare.
10623 * net/gnutls.el (gnutls-log-level): Declare.
10625 * net/shr.el (image-size, image-animate): Declare.
10627 * simple.el (font-info): Declare.
10629 * subr.el (x-popup-dialog): Declare.
10631 * term/common-win.el (x-select-enable-primary)
10632 (x-last-selected-text-primary, x-last-selected-text-clipboard):
10635 * term/ns-win.el (x-handle-args): Declare.
10637 * term/x-win.el (x-select-enable-clipboard): Declare.
10639 * term/w32-win.el (create-default-fontset): Declare.
10641 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10644 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10645 (fit-frame-to-buffer): Explicit error if --without-x.
10646 (mouse-autoselect-window-select): Silence compiler.
10648 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10650 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10651 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10652 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10653 * eshell/esh-util.el (eshell-sublist):
10654 Remove unused local variables.
10656 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10658 * textmodes/two-column.el: Make 2C-split work for --without-x.
10659 (scroll-bar-columns): Autoload.
10660 (top-level): Require fringe when compiling.
10662 2013-09-18 Leo Liu <sdl.web@gmail.com>
10664 * subr.el (add-hook): Robustify to handle closure as well.
10666 2013-09-17 Glenn Morris <rgm@gnu.org>
10668 * simple.el (messages-buffer-mode-map): Unbind "g".
10670 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
10672 * help-mode.el (help-mode-finish): Use derived-mode-p.
10673 Remove obsolete highlighting.
10675 * play/life.el (life-mode): Use define-derived-mode. Derive from
10677 (life): Let-bind inhibit-read-only.
10678 (life-setup): Avoid `setq'. Use `life-mode'.
10680 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10681 which should not be needed any more.
10682 (package-menu-refresh, package-menu-describe-package): Use user-error.
10684 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10685 (eshell-post-rewrite-command-hook): Make obsolete.
10686 (eshell-parse-command): Simplify.
10687 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10688 (eshell--cmd): Declare.
10689 (eshell-parse-pipeline): Remove unused var `final-p'.
10690 Pass a dynvar to eshell-post-rewrite-command-hook.
10691 Implement the new eshell-post-rewrite-command-function.
10692 (eshell-invoke-directly): Remove unused arg `input'.
10693 * eshell/esh-io.el (eshell-io-initialize):
10694 Use eshell-post-rewrite-command-function (bug#15399).
10695 (eshell--apply-redirections): Rename from eshell-apply-redirections;
10696 adjust to new calling convention.
10697 (eshell-create-handles): Rename args to avoid clashing with dynvar
10700 2013-09-17 Glenn Morris <rgm@gnu.org>
10702 * simple.el (messages-buffer-mode): New major mode.
10703 (messages-buffer): New function.
10704 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10705 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10706 (ert-run-test): Use `messages-buffer' function.
10707 (ert--force-message-log-buffer-truncation): Ignore read-only.
10708 * help.el (view-echo-area-messages): Use `messages-buffer' function.
10709 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10711 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10715 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10717 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * icomplete.el (icomplete-in-buffer): New var.
10720 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10721 vars and replace them with functions.
10722 (icomplete-minibuffer-setup): Adjust accordingly.
10723 (icomplete--completion-table, icomplete--completion-predicate)
10724 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10726 (icomplete-forward-completions, icomplete-backward-completions)
10727 (icomplete-simple-completing-p, icomplete-exhibit)
10728 (icomplete-completions): Use them.
10729 (icomplete--in-region-buffer): New var.
10730 (icomplete--in-region-setup): New function.
10731 (icomplete-mode): Use it.
10733 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10735 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10736 return args and options.
10737 (eshell-eval-using-options): Use the new return value of
10738 eshell--do-opts to set the options's vars in their scope.
10739 (eshell--set-option): Rename from eshell-set-option.
10740 Add arg `opt-vals'.
10741 (eshell--process-option): Rename from eshell-process-option.
10742 Add arg `opt-vals'.
10743 (eshell--process-args): Use an `opt-vals' alist to store the options's
10744 values during their processing and return them additionally to the
10747 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
10749 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10750 continuation character an operator, as far as indentation is
10751 concerned (Bug#15369).
10753 2013-09-15 Martin Rudalics <rudalics@gmx.at>
10755 * window.el (window--state-put-2): Don't process buffer state
10756 when buffer doesn't exist any more (Bug#15382).
10758 2013-09-15 Glenn Morris <rgm@gnu.org>
10760 * eshell/em-unix.el (eshell/rm):
10761 Make -f ignore missing files. (Bug#15373)
10763 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
10764 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10765 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10767 2013-09-14 Glenn Morris <rgm@gnu.org>
10769 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10771 2013-09-13 Glenn Morris <rgm@gnu.org>
10773 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10774 (dired-guess-default): Make `file' available in the env. (Bug#15363)
10776 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
10778 * frame.el (x-focus-frame): Mark as declared in frame.c.
10780 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10782 * ls-lisp.el: Use advice-add.
10783 (original-insert-directory): Remove.
10784 (ls-lisp--insert-directory): Rename from insert-directory; add
10785 `orig-fun' argument.
10786 (insert-directory): Advise.
10788 2013-09-13 Eli Zaretskii <eliz@gnu.org>
10790 * term.el (term-emulate-terminal): Decode the command string
10791 before passing it to term-command-hook. (Bug#15337)
10793 2013-09-13 Glenn Morris <rgm@gnu.org>
10795 * eshell/esh-util.el (ange-cache): Move declaration earlier.
10797 * eshell/esh-ext.el (eshell-search-path): Declare.
10799 * eshell/em-prompt.el (eshell/pwd): Autoload it.
10800 Otherwise an error occurs if eshell-dirs module not loaded.
10802 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10804 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
10806 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10807 `tramp-check-proper-host'. Check for a valid method name.
10809 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10810 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10811 * net/tramp-sh.el (tramp-maybe-open-connection):
10812 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10814 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10815 also for hash values.
10817 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * term/ns-win.el (parameters): Don't declare as dynamic.
10820 (before-make-frame-hook): Don't add ineffective function.
10822 * eshell/*.el: Use lexical-binding (bug#15231).
10824 2013-09-12 Kenichi Handa <handa@gnu.org>
10826 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10828 2013-09-12 Glenn Morris <rgm@gnu.org>
10830 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10831 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10833 * subr.el (do-after-load-evaluation): Also give compiler warnings
10834 when obsolete files are used (except by obsolete files).
10836 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10837 in the status output, assume `filename' is the first. (Bug#15322)
10839 * vc/vc.el (vc-deduce-fileset): Doc fix.
10841 * calc/calc-help.el (Info-goto-node):
10842 * progmodes/cperl-mode.el (Info-find-node):
10843 * vc/ediff.el (Info-goto-node): Update declarations.
10845 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10847 * vc/vc-bzr.el (vc-compilation-mode): Declare.
10848 (vc-bzr-pull): Require vc-dispatcher.
10849 * vc/vc-git.el (vc-compilation-mode): Declare.
10850 (vc-git-pull): Require vc-dispatcher.
10852 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10854 * progmodes/octave.el (help-button-action): Declare.
10856 * shell.el (shell-directory-tracker): Output error as a message
10857 rather than just returning it as a string.
10858 (shell-process-pushd): Remove useless use of message.
10860 * dframe.el (dframe-timer-fn):
10861 * files.el (dir-locals-read-from-file):
10862 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10864 * reveal.el (reveal-post-command):
10865 * saveplace.el (load-save-place-alist-from-file):
10866 * shell.el (shell-resync-dirs):
10867 * w32-common-fns.el (x-get-selection-value):
10868 * emacs-lisp/copyright.el (copyright-find-copyright):
10869 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10870 * emulation/tpu-edt.el (tpu-copy-keyfile):
10871 * play/bubbles.el (bubbles--mark-neighbourhood):
10872 * progmodes/executable.el
10873 (executable-make-buffer-file-executable-if-script-p):
10874 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10876 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10878 Cleanup Eshell to rely less on dynamic scoping.
10879 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10880 last-value, and ext-command here. Bind `args' closer to `body'.
10881 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10882 (eshell--args): Declare new dynamic var.
10883 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
10884 last-value, and ext-command. Pass `args' to `body'.
10885 (eshell-process-args): Bind eshell--args.
10886 (eshell-set-option): Use eshell--args.
10887 * eshell/eshell.el (eshell): Use derived-mode-p.
10888 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10889 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10890 (eshell-glob-function): Declare.
10891 * eshell/esh-util.el: Require cl-lib.
10892 (eshell-read-hosts-file): Avoid add-to-list.
10893 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10895 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10897 (eshell/diff): Remove unused var `err'.
10898 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10900 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10901 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10903 * eshell/em-glob.el (eshell-glob-matches, message-shown):
10904 Move declaration before first use.
10905 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10906 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10909 2013-09-12 Glenn Morris <rgm@gnu.org>
10911 * term/ns-win.el (global-map): Remove binding for ispell-next,
10912 deleted 1999-05-29. (Bug#15357)
10914 2013-09-11 Glenn Morris <rgm@gnu.org>
10916 * echistory.el (electric-command-history): Remove call to deleted func.
10918 * play/landmark.el (landmark-mode): Fix typos.
10920 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10921 Check cvs-sort-ignore-file is bound.
10923 * savehist.el: No need for cl when compiling on Emacs.
10925 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10927 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10929 (eshell-self-insert-command, eshell-send-invisible):
10930 Remove unused argument.
10931 (eshell-handle-control-codes): Remove unused var `orig'.
10932 Avoid delete-backward-char.
10934 * files.el (set-auto-mode): Simplify a bit further.
10936 2013-09-11 Glenn Morris <rgm@gnu.org>
10938 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10939 (set-auto-mode): Don't regexp-quote elements.
10940 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10941 * progmodes/cc-mode.el (interpreter-mode-alist):
10942 * progmodes/ruby-mode.el (interpreter-mode-alist):
10943 Revert previous change.
10945 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10947 * play/snake.el (snake-mode):
10948 * play/mpuz.el (mpuz-mode):
10949 * play/landmark.el (lm-mode):
10950 * play/blackbox.el (blackbox-mode):
10951 * play/5x5.el (5x5-mode):
10952 * obsolete/options.el (Edit-options-mode):
10953 * net/quickurl.el (quickurl-list-mode):
10954 * net/newst-treeview.el (newsticker-treeview-mode):
10955 * mail/rmailsum.el (rmail-summary-mode):
10956 * mail/mspools.el (mspools-mode):
10957 * locate.el (locate-mode):
10958 * ibuffer.el (ibuffer-mode):
10959 * emulation/ws-mode.el (wordstar-mode):
10960 * emacs-lisp/debug.el (debugger-mode):
10961 * array.el (array-mode):
10962 * net/eudc.el (eudc-mode): Use define-derived-mode.
10963 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10964 Move initialization into declaration.
10965 (mairix-searches-mode): Use define-derived-mode.
10966 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10967 (eudc-edit-hotlist): Use dolist.
10968 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10969 (Man-mode): Use define-derived-mode.
10970 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10971 (Info-edit-mode): Use define-derived-mode.
10972 (Info-cease-edit): Use Info-mode.
10973 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10975 (eshell-mode): Use define-derived-mode.
10976 * chistory.el (command-history-mode-map): Rename from
10977 command-history-map.
10978 (command-history-mode): Use define-derived-mode.
10979 (Command-history-setup): Remove function.
10980 * calc/calc.el (calc-trail-mode-map): New var.
10981 (calc-trail-mode): Use define-derived-mode.
10982 (calc-trail-buffer): Set calc-main-buffer manually.
10983 * bookmark.el (bookmark-insert-annotation): New function.
10984 (bookmark-edit-annotation): Use it.
10985 (bookmark-edit-annotation-mode): Make it a proper major mode.
10986 (bookmark-send-edited-annotation): Use derived-mode-p.
10987 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10988 closer to its ideal place. Use \' to match EOS.
10990 * profiler.el (profiler-calltree-find): Use function-equal.
10992 2013-09-10 Glenn Morris <rgm@gnu.org>
10994 * files.el (interpreter-mode-alist): Convert to regexps.
10995 (set-auto-mode): Adapt for this. (Bug#15306)
10996 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10997 Comment out unused variable.
10998 * progmodes/cc-mode.el (interpreter-mode-alist):
10999 * progmodes/python.el (interpreter-mode-alist):
11000 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11001 * progmodes/sh-script.el (sh-set-shell):
11002 No longer use interpreter-mode-alist to get list of shells.
11004 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11006 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * simple.el: Use set-temporary-overlay-map for universal-argument.
11009 (universal-argument-map): Don't use default-bindings (bug#15317).
11010 Bind switch-frame explicitly. Replace universal-argument-minus with
11011 a conditional binding.
11012 (universal-argument-num-events, saved-overriding-map): Remove.
11013 (restore-overriding-map): Remove.
11014 (universal-argument--mode): Rename from save&set-overriding-map,
11016 (universal-argument, universal-argument-more, negative-argument)
11017 (digit-argument): Adjust accordingly.
11018 (universal-argument-minus): Remove.
11019 (universal-argument-other-key): Remove.
11021 * subr.el (with-demoted-errors): Add `format' argument.
11023 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11025 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11026 `tramp-cleanup-connection'.
11028 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11029 parameters KEEP-DEBUG and KEEP-PASSWORD.
11031 * net/tramp.el (tramp-file-name-handler):
11032 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11033 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11034 (tramp-maybe-open-connection):
11035 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11036 Use `tramp-cleanup-connection'.
11038 * net/tramp-sh.el (tramp-maybe-open-connection):
11039 Catch 'uname-changed inside the progress reporter.
11041 2013-09-10 Glenn Morris <rgm@gnu.org>
11043 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11045 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11046 returns "alternate access method" in mode (eg "-rw-r--r--.").
11048 2013-09-08 Glenn Morris <rgm@gnu.org>
11050 * saveplace.el (load-save-place-alist-from-file):
11051 Demote errors. (Bug#15305)
11053 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11055 Improve compatibility with older Emacsen, and XEmacs.
11057 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11058 only if it is bound. It isn't for XEmacs.
11059 (with-tramp-progress-reporter): Do not let-bind `result'.
11060 This yields to scoping errors in XEmacs.
11061 (tramp-handle-make-auto-save-file-name): New function, moved from
11064 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11065 for `make-auto-save-file-name'.
11066 (tramp-adb--gnu-switches-to-ash):
11067 Use `tramp-compat-replace-regexp-in-string'.
11069 * net/tramp-cache.el (tramp-cache-print): Call
11070 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11072 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11073 bound. It isn't for XEmacs.
11075 * net/tramp-compat.el (tramp-compat-copy-file):
11076 Catch `wrong-number-of-arguments' error.
11077 (tramp-compat-replace-regexp-in-string): New defun.
11079 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11080 for `make-auto-save-file-name'.
11081 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11083 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11084 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11085 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11087 * net/tramp-gw.el (tramp-gw-open-network-stream):
11088 Use `tramp-compat-replace-regexp-in-string'.
11090 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11091 Call `tramp-handle-make-auto-save-file-name'.
11092 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11093 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11094 (tramp-sh-file-inotifywait-process-filter):
11095 Use `tramp-compat-replace-regexp-in-string'.
11096 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11098 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11099 for `make-auto-save-file-name'.
11100 (tramp-smb-handle-copy-directory):
11101 Call `tramp-compat-replace-regexp-in-string'.
11102 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11103 (tramp-smb-handle-copy-file): Improve error message.
11104 (tramp-smb-handle-rename-file): Rename directly only in case
11105 `newname' does not exist yet. This is a restriction of smbclient.
11106 (tramp-smb-maybe-open-connection): Rerun the function only when
11107 `auth-sources' is non-nil.
11109 2013-09-08 Kenichi Handa <handa@gnu.org>
11111 * international/characters.el: Set category "^" (Combining) for
11114 2013-09-07 Alan Mackenzie <acm@muc.de>
11116 Correctly fontify Java class constructors.
11117 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11119 (c-recognize-typeless-decls): Set the Java value to t.
11120 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11121 While handling a "(", add a check for, effectively, Java, and handle a
11122 "typeless" declaration there.
11124 2013-09-07 Roland Winkler <winkler@gnu.org>
11126 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11127 field subtitle for entry type book.
11129 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11131 * minibuffer.el: Make minibuffer-complete call completion-in-region
11132 rather than other way around.
11133 (completion--some, completion-pcm--find-all-completions):
11134 Don't delay signals when debugging.
11135 (minibuffer-completion-contents): Beware fields within the
11136 minibuffer contents.
11137 (completion-all-sorted-completions): Use defvar-local.
11138 (completion--do-completion, completion--cache-all-sorted-completions)
11139 (completion-all-sorted-completions, minibuffer-force-complete):
11140 Add args `beg' and `end'.
11141 (completion--in-region-1): New fun, extracted from minibuffer-complete.
11142 (minibuffer-complete): Use completion-in-region.
11143 (completion-complete-and-exit): New fun, extracted from
11144 minibuffer-complete-and-exit.
11145 (minibuffer-complete-and-exit): Use it.
11146 (completion--complete-and-exit): Rename from
11147 minibuffer--complete-and-exit.
11148 (completion-in-region--single-word): New function, extracted from
11149 minibuffer-complete-word.
11150 (minibuffer-complete-word): Use it.
11151 (display-completion-list): Make `common-substring' argument obsolete.
11152 (completion--in-region): Call completion--in-region-1 instead of
11153 minibuffer-complete.
11154 (completion-help-at-point): Pass boundaries to
11155 minibuffer-completion-help as args rather than via an overlay.
11156 (completion-pcm--string->pattern): Use `any-delim'.
11157 (completion-pcm--optimize-pattern): New function.
11158 (completion-pcm--pattern->regex): Handle `any-delim'.
11159 * icomplete.el (icomplete-forward-completions)
11160 (icomplete-backward-completions, icomplete-completions):
11161 Adjust calls to completion-all-sorted-completions and
11162 completion--cache-all-sorted-completions.
11163 (icomplete-with-completion-tables): Default to t.
11164 * emacs-lisp/crm.el (crm--current-element): Rename from
11165 crm--select-current-element. Don't put an overlay but return the
11166 boundaries instead.
11167 (crm--completion-command): Take two new args to bind to the boundaries.
11168 (crm-completion-help): Adjust accordingly.
11169 (crm-complete): Use completion-in-region.
11170 (crm-complete-word): Use completion-in-region--single-word.
11171 (crm-complete-and-exit): Use completion-complete-and-exit.
11173 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11178 2013-09-06 Juri Linkov <juri@jurta.org>
11180 * info.el (Info-display-images-node): When image file doesn't exist
11181 display text version of the image if it's provided in the Info file.
11182 Otherwise, display the location of missing image from SRC attribute.
11183 Add help-echo text property from ALT attribute. (Bug#15279)
11185 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11187 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11188 (edit-abbrevs-mode): Use define-derived-mode.
11190 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11191 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11193 (epa-key-list-mode, epa-key-mode, epa-info-mode):
11194 Use define-derived-mode.
11196 * epg.el (epg-start-encrypt): Minor CSE simplification.
11198 2013-09-06 William Xu <william.xwl@gmail.com>
11200 * arc-mode.el: Add support for 7za (bug#15264).
11201 (archive-7z-program): New var.
11202 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11203 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11204 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11206 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
11210 * net/tramp.el (tramp-syntax, tramp-prefix-format)
11211 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11212 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11213 (tramp-postfix-host-format, tramp-file-name-regexp)
11214 (tramp-completion-file-name-regexp)
11215 (tramp-completion-dissect-file-name)
11216 (tramp-handle-substitute-in-file-name): Remove 'url case.
11217 (tramp-file-name-regexp-url)
11218 (tramp-completion-file-name-regexp-url): Remove constants.
11220 2013-09-06 Glenn Morris <rgm@gnu.org>
11222 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
11224 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
11226 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11227 keywords" below "here-doc beginnings" (Bug#15270).
11229 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11231 * subr.el (pop): Use `car-safe'.
11232 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11233 to detect unused `pop' return value.
11235 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11236 var `block-regexp'.
11237 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11238 (python-fill-string): Remove unused var `marker'.
11239 (python-skeleton-add-menu-items): Remove unused var `items'.
11241 * international/mule-cmds.el: Require CL.
11242 (find-coding-systems-for-charsets): Avoid add-to-list.
11243 (sanitize-coding-system-list): New function, extracted from
11244 select-safe-coding-system-interactively.
11245 (select-safe-coding-system-interactively): Use it.
11246 (read-input-method-name): Accept symbols for `default'.
11248 * emacs-lisp/advice.el (defadvice): Add indent rule.
11250 2013-09-05 Daniel Hackney <dan@haxney.org>
11254 * net/browse-url.el:
11257 * net/eudcb-ldap.el:
11261 * vc/ediff-diff.el:
11262 * vc/ediff-init.el:
11263 * vc/ediff-merg.el:
11264 * vc/ediff-mult.el:
11265 * vc/ediff-util.el:
11266 * vc/ediff-wind.el:
11270 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11271 byte compiler. Remove some unused let-bound variables.
11273 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11275 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11276 a "ref-cell", since it gets better optimized (bug#14883).
11278 2013-09-05 Glenn Morris <rgm@gnu.org>
11280 * progmodes/cc-awk.el (c-forward-sws): Declare.
11282 2013-09-04 Glenn Morris <rgm@gnu.org>
11284 * generic-x.el [rul-generic-mode]: Require cc-mode.
11285 (c++-mode-syntax-table): Declare.
11286 (rul-generic-mode-syntax-table): Init in the defvar.
11288 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
11290 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11291 (vc-do-command, vc-set-async-update):
11292 * vc/vc-mtn.el (vc-mtn-dir-status):
11293 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11294 (vc-hg-pull, vc-hg-merge-branch):
11295 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11296 (vc-git-merge-branch):
11297 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11298 (vc-cvs-dir-status-files):
11299 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11300 (vc-bzr-dir-status-files):
11301 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11302 * vc/vc-annotate.el: Use lexical-binding.
11303 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11304 (vc-sentinel-movepoint): Declare.
11305 (vc-annotate): Don't use `goto-line'.
11306 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11307 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11308 (vc-sentinel-movepoint): Declare.
11309 * vc/vc-svn.el: Use lexical-binding.
11310 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11312 * vc/vc-rcs.el: Use lexical-binding.
11314 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11315 `deleted'. Don't drop errors silently.
11317 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11319 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
11321 * vc/vc.el (vc-ignore): Rewrite.
11322 (vc-default-ignore): New function.
11323 (vc-default-ignore-completion-table): Use find-ignore-file.
11325 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11326 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11327 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11328 Remove. Most code moved to vc.el.
11330 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
11332 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11333 * net/tramp-smb.el (tramp-smb-get-file-entries):
11334 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11335 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11337 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11339 (eww-change-select): Remove unused var `properties'.
11340 (eww-make-unique-file-name): Remove unused var `base'.
11342 * finder.el (finder-compile-keywords): Don't mess with windows.
11344 * calculator.el (calculator-funcall): Fix typo in last change.
11346 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11348 * emacs-lisp/package.el (package-activate-1): Don't let a missing
11349 <pkg>-autoloads.el file stop us.
11351 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11352 warnings, and factor out common code.
11354 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
11356 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11357 two-character operators and whether the character preceding them
11358 changes their meaning (Bug#15208).
11360 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11362 Format code sent to Python shell for robustness.
11363 * progmodes/python.el (python-shell-buffer-substring):
11365 (python-shell-send-region, python-shell-send-buffer): Use it.
11367 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
11369 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11370 * net/tramp.el (tramp-user-error): ... here.
11371 (tramp-find-method, tramp-check-proper-host)
11372 (tramp-dissect-file-name, tramp-debug-message)
11373 (tramp-handle-shell-command):
11374 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11375 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11377 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11379 2013-09-02 Martin Rudalics <rudalics@gmx.at>
11381 * avoid.el (mouse-avoidance-point-position)
11382 (mouse-avoidance-too-close-p): Handle case where posn-at-point
11385 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11387 * progmodes/python.el (python-shell-completion-get-completions):
11388 Drop use of deleted `comint-last-prompt-overlay'.
11389 (python-nav-if-name-main): New command.
11391 2013-09-01 Glenn Morris <rgm@gnu.org>
11393 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11394 Avoid leading space in $wins. Otherwise the sed command used by
11395 eg compile-main ends up containing "/*.el". (Bug#15170)
11397 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
11399 2013-08-30 Glenn Morris <rgm@gnu.org>
11401 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11402 Fix is-this-a-directory logic. (Bug#15220)
11404 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11406 * textmodes/css-mode.el: Use SMIE.
11407 (css-smie-grammar): New var.
11408 (css-smie--forward-token, css-smie--backward-token)
11409 (css-smie-rules): New functions.
11410 (css-mode): Use them.
11411 (css-navigation-syntax-table): Remove var.
11412 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11413 (css-indent-calculate, css-indent-line): Remove functions.
11415 Misc changes to reduce use of `(lambda...); and other cleanups.
11416 * cus-edit.el: Use lexical-binding.
11417 (customize-push-and-save, customize-apropos)
11418 (custom-buffer-create-internal): Use closures.
11419 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11420 * progmodes/ada-xref.el: Use setq.
11421 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11422 * dframe.el: Use lexical-binding.
11423 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
11424 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11425 * descr-text.el: Use lexical-binding.
11426 (describe-text-widget, describe-text-sexp, describe-property-list):
11428 * comint.el (comint-history-isearch-push-state): Use a closure.
11429 * calculator.el: Use lexical-binding.
11430 (calculator-number-to-string): Make it work with lexical-binding.
11431 (calculator-funcall): Same and use cl-letf.
11433 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11434 (lisp--company-doc-string, lisp--company-location): New functions.
11435 (lisp-completion-at-point): Use them to improve Company support.
11437 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11438 params of lambda expressions.
11439 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11440 (ruby-smie--opening-pipe-p): New function.
11441 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11442 symbols and matched |...| for formal params.
11443 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11444 from being treated as hanging. Handle "rescue".
11446 2013-08-29 Glenn Morris <rgm@gnu.org>
11448 * progmodes/cc-engine.el (c-pull-open-brace):
11449 Move definition before use.
11451 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11453 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11454 are immutable. Don't use `unsafe' any more.
11455 (cl--defsubst-expand): Don't substitute at the same time as keeping
11456 a residual unused let-binding. Don't use `unsafe' any more.
11458 2013-08-29 Glenn Morris <rgm@gnu.org>
11460 * calendar/cal-china.el (calendar-chinese-year-cache):
11463 * nxml/nxml-util.el (nxml-debug-clear-inside):
11464 Use cl-loop rather than loop.
11466 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11468 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11470 2013-08-28 Glenn Morris <rgm@gnu.org>
11472 * progmodes/antlr-mode.el: No need to require cc-mode twice.
11474 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11476 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11478 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11480 * simple.el (repeat-complex-command--called-interactively-skip):
11482 (repeat-complex-command): Use it (bug#14136).
11484 * progmodes/cc-mode.el: Minor cleanup of var declarations.
11485 (c-define-abbrev-table): Add `doc' argument.
11486 (c-mode-abbrev-table, c++-mode-abbrev-table)
11487 (objc-mode-abbrev-table, java-mode-abbrev-table)
11488 (idl-mode-abbrev-table, pike-mode-abbrev-table)
11489 (awk-mode-abbrev-table): Use it.
11490 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11491 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11492 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11493 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11494 Move initialization into the declaration; and remove any
11497 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11498 and dynamic let binding.
11500 * vc/smerge-mode.el: Remove redundant :group args.
11502 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11505 2013-08-28 Juri Linkov <juri@jurta.org>
11507 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11508 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11509 (isearch-other-meta-char): Handle an undefined shifted printing
11510 character by downshifting it. (Bug#15200)
11512 2013-08-28 Juri Linkov <juri@jurta.org>
11514 * isearch.el (isearch-search): Change regexp error message for
11515 non-regexp searches. (Bug#15166)
11517 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
11519 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11520 for portability to hosts where /bin/sh has problems.
11522 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11524 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11526 2013-08-27 Juri Linkov <juri@jurta.org>
11528 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11529 in the keyboard macro. (Bug#15126)
11531 2013-08-27 Juri Linkov <juri@jurta.org>
11533 * isearch.el (isearch-quote-char): Comment out converting unibyte
11534 to multibyte, thus syncing with its `quoted-insert' counterpart.
11537 2013-08-27 Martin Rudalics <rudalics@gmx.at>
11539 * window.el (display-buffer-use-some-window): Add missing
11540 argument in call of get-largest-window (Bug#15185).
11541 Reported by Stephen Leake.
11543 2013-08-27 Glenn Morris <rgm@gnu.org>
11545 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11547 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
11549 * progmodes/python.el (python-font-lock-keywords): Don't return nil
11550 from a matcher-function unless there's no more matches (bug#15161).
11552 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
11554 * minibuffer.el: Revert change from 2013-08-20.
11556 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11557 with text property `tramp-default', if appropriate.
11558 (tramp-check-proper-host): New defun.
11559 (tramp-dissect-file-name): Do not check hostname. Revert change
11561 (tramp-backtrace): Make VEC-OR-PROC optional.
11563 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11564 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11565 * net/tramp-sh.el (tramp-maybe-open-connection):
11566 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11567 Apply `tramp-check-proper-host'.
11569 2013-08-26 Tassilo Horn <tsdh@gnu.org>
11571 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11572 lambda expression in order to have `describe-variable' display it.
11574 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
11576 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11577 BUF can be optional. (Bug#15186)
11579 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
11581 * progmodes/flymake.el (flymake-get-real-file-name-function):
11582 Fix broken customization. (Bug#15184)
11584 2013-08-25 Alan Mackenzie <acm@muc.de>
11586 Improve indentation of bracelists defined by macros (without "=").
11588 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11589 expansion begins with "{", regard it as bracelist when it doesn't
11592 Parse C++ inher-intro when there's a template split over 2 lines.
11594 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11595 rigorously the search for "class" etc. followed by ":".
11597 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11598 random languages a regexp which never matches rather than nil.
11600 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11602 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11603 (c-awk-regexp-one-line-possibly-open-char-list-re)
11604 (c-awk-one-line-possibly-open-regexp-re)
11605 (c-awk-one-line-non-syn-ws*-re): Remove.
11606 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11607 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11608 (c-awk-space*-unclosed-regexp-/-re): New constants.
11609 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11610 aren't regexp delimiters.
11612 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11613 handling for a rare situation in AWK Mode involving unterminated
11616 2013-08-23 Glenn Morris <rgm@gnu.org>
11618 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11620 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11622 * files.el (create-file-buffer): If the result would begin with
11623 spaces, prepend a "|" instead of removing them. (Bug#15162)
11625 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11627 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11628 text-properties (bug#15155).
11630 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11632 (calc-keypad-redraw): Remove unused var `pad'.
11633 (calc-keypad-press): Remove unused var `menu'.
11635 2013-08-23 Martin Rudalics <rudalics@gmx.at>
11637 * window.el (display-buffer-pop-up-frame):
11638 Call pop-up-frame-function with BUFFER current so `make-frame' will
11639 use it as the new frame's buffer (Bug#15133).
11641 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * calendar/timeclock.el: Minor cleanups.
11644 (timeclock-ask-before-exiting, timeclock-use-display-time):
11646 (timeclock-modeline-display): Define as alias before the
11648 (timeclock-mode-line-display): Use define-minor-mode.
11649 (timeclock-day-list-template): Make it a function, add an argument.
11650 (timeclock-day-list-required, timeclock-day-list-length)
11651 (timeclock-day-list-debt, timeclock-day-list-span)
11652 (timeclock-day-list-break): Adjust calls accordingly.
11654 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
11656 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11657 Use read--expression so that completion works again.
11659 2013-08-21 Sam Steingold <sds@gnu.org>
11661 Add rudimentary inferior shell interaction
11662 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11663 (sh-set-shell): Reset it.
11664 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11665 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11667 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
11669 * align.el: Use lexical-binding.
11670 (align-region): Simplify accordingly.
11672 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
11674 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11676 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11677 `non-essential' up.
11679 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
11682 * net/tramp-adb.el:
11683 * net/tramp-cmds.el:
11684 * net/tramp-ftp.el:
11685 * net/tramp-gvfs.el:
11687 * net/tramp-sh.el: Don't wrap external variable declarations by
11688 `eval-when-compile'.
11690 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11692 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11693 now that Emacs supports ImageMagick animations.
11695 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
11697 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11698 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11700 2013-08-16 Martin Rudalics <rudalics@gmx.at>
11702 * window.el (mouse-autoselect-window-select): Do autoselect when
11703 mouse pointer is on margin.
11705 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
11707 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
11709 2013-08-16 Glenn Morris <rgm@gnu.org>
11711 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11712 Handle "Remote Directory" response of some clients. (Bug#15058)
11714 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11715 Tweak warning. (Bug#14926)
11717 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11718 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
11720 * image-mode.el (image-mode-map): Add menu items to reverse,
11721 increase, decrease, reset animation speed.
11722 (image--set-speed, image-increase-speed, image-decrease-speed)
11723 (image-reverse-speed, image-reset-speed): New functions.
11724 (image-mode-map): Add bindings for speed commands.
11726 * image.el (image-animate-get-speed, image-animate-set-speed):
11728 (image-animate-timeout): Respect image :speed property.
11730 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11732 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11733 previous line (bug#15101).
11734 (debugger-eval-expression, debugger-record-expression):
11735 Use read--expression (bug#15102).
11737 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
11739 Remove byte compiler warnings, visible when compiling with
11740 `byte-compile-force-lexical-warnings' set to t.
11742 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11743 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11744 (tramp-handle-unhandled-file-name-directory)
11745 (tramp-handle-file-notify-add-watch, tramp-action-login)
11746 (tramp-action-succeed, tramp-action-permission-denied)
11747 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11748 arguments with "_".
11750 * net/tramp-adb.el (tramp-adb-parse-device-names)
11751 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11752 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11753 (tramp-adb-handle-file-truename): Remove unused arguments.
11755 * net/tramp-cache.el (tramp-flush-directory-property)
11756 (tramp-flush-connection-property, tramp-list-connections)
11757 (tramp-parse-connection-properties): Prefix unused arguments with "_".
11759 * net/tramp-compat.el (tramp-compat-make-temp-file):
11760 Rename FILENAME to F.
11762 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11763 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11764 (tramp-zeroconf-parse-workstation-device-names)
11765 (tramp-zeroconf-parse-webdav-device-names)
11766 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11768 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11769 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11771 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11773 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11774 (tramp-sh-handle-insert-file-contents-literally)
11775 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11777 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11778 Remove unused variables.
11780 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11781 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11782 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11784 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11785 Make them a defconst.
11786 (tramp-uuencode-region): Remove unused variable.
11788 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
11790 * frameset.el (frameset--prop-setter): New function.
11791 (frameset-prop): Add gv-setter declaration.
11792 (frameset-filter-minibuffer): Deal with the case that the minibuffer
11793 parameter was already set in FILTERED. Doc fix.
11794 (frameset--record-minibuffer-relationships): Allow saving a
11795 minibufferless frame without its corresponding minibuffer frame.
11796 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11797 frame, if the frame id matches.
11798 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11799 frames before orphaned ones.
11800 (frameset-restore): Warn about orphaned windows, instead of error out.
11802 2013-08-14 Martin Rudalics <rudalics@gmx.at>
11804 * window.el (window-make-atom): Don't overwrite parameter
11806 (display-buffer-in-atom-window): Handle special case where we
11807 split an already atomic window.
11808 (window--major-non-side-window, display-buffer-in-side-window)
11809 (window--side-check): Ignore minibuffer window when walking
11811 (window-deletable-p): Return 'frame only if no other frame uses
11812 our minibuffer window.
11813 (record-window-buffer): Run buffer-list-update-hook.
11814 (split-window): Make sure window--check-frame won't destroy an
11815 existing atomic window in case the new window gets nested
11817 (display-buffer-at-bottom): Ignore minibuffer window when
11818 walking window tree. Don't split a side window.
11819 (pop-to-buffer): Don't set-buffer here, the select-window call
11821 (mouse-autoselect-window-select): Autoselect only if we are in the
11822 text portion of the window.
11824 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11826 * net/shr.el (shr-parse-image-data): New function to grab both the
11827 data itself and the Content-Type.
11828 (shr-put-image): Use it.
11830 * net/eww.el (eww-display-image): Ditto.
11832 * image.el (image-content-type-suffixes): New variable.
11834 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11836 * progmodes/python.el (python-imenu--build-tree)
11837 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11839 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
11841 * simple.el (backward-word): Mention the optional argument.
11843 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11845 * frameset.el (frameset--make): Rename constructor from make-frameset.
11846 (frameset-p, frameset-valid-p): Don't autoload.
11847 (frameset-valid-p): Use normal accessors.
11849 2013-08-13 Glenn Morris <rgm@gnu.org>
11851 * progmodes/compile.el (compile-command): Tweak example in doc.
11852 * obsolete/scribe.el (scribe-mode):
11853 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
11855 * mail/feedmail.el (feedmail-confirm-outgoing)
11856 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11858 * cus-start.el (truncate-partial-width-windows): Fix type.
11860 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11862 * net/shr.el (shr-table-horizontal-line): Fix custom type.
11864 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * emacs-lisp/timer.el (timer--time-setter): New function.
11867 (timer--time): Use it as gv-setter.
11869 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11870 setter is not a symbol.
11872 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
11874 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11875 if sending fails. This makes debugging easier.
11877 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
11879 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11880 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11881 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11883 2013-08-12 Eli Zaretskii <eliz@gnu.org>
11885 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11887 2013-08-12 Glenn Morris <rgm@gnu.org>
11889 * format.el (format-annotate-function):
11890 Handle read-only text properties in the source. (Bug#14887)
11892 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11894 * net/eww.el (eww-display-html): Ignore coding system errors.
11895 One web site uses "utf-8lias" as the coding system.
11897 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
11899 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11901 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
11903 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11904 (tutorial--detailed-help): Remove unused local variables.
11905 (tutorial--save-tutorial-to): Use ignore-errors.
11906 (help-with-tutorial): Use looking-at-p.
11908 * view.el (view-buffer-other-window, view-buffer-other-frame):
11909 Mark unused arguments.
11911 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11912 (woman-select-symbol-fonts, woman, woman-find-file)
11913 (woman-insert-file-contents, woman-non-underline-faces):
11914 Use string-match-p.
11915 (woman1-unquote): Move declaration.
11917 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11918 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
11919 argument. Remove unused local variable.
11920 (xml-parse-elem-type): Use string-match-p.
11921 (xml-substitute-numeric-entities): Use ignore-errors.
11923 * calculator.el (calculator): Mark unused argument.
11924 (calculator-paste, calculator-quit, calculator-integer-p):
11926 (calculator-string-to-number, calculator-decimal, calculator-exp)
11927 (calculator-op-or-exp): Use string-match-p.
11929 * dired.el (dired-buffer-more-recently-used-p): Declare.
11930 (dired-insert-set-properties, dired-insert-old-subdirs):
11933 * dired-aux.el (dired-compress): Use ignore-errors.
11934 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11935 (dired-do-async-shell-command, dired-do-shell-command)
11936 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11937 (dired-insert-subdir-validate): Use string-match-p.
11938 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11939 (dired-add-entry): Use string-match-p, looking-at-p.
11940 (dired-insert-subdir-newpos): Remove unused local variable.
11942 * filenotify.el (file-notify-callback): Remove unused local variable.
11944 * filesets.el (filesets-error): Mark unused argument.
11945 (filesets-which-command-p, filesets-filter-dir-names)
11946 (filesets-directory-files, filesets-get-external-viewer)
11947 (filesets-ingroup-get-data): Use string-match-p.
11949 * find-file.el (ff-other-file-name, ff-other-file-name)
11950 (ff-find-the-other-file, ff-cc-hh-converter):
11951 Remove unused local variables.
11952 (ff-get-file-name): Use string-match-p.
11953 (ff-all-dirs-under): Use ignore-errors.
11955 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11956 (follow-select-if-visible): Remove unused local variable.
11958 * forms.el (read-file-filter): Move declaration.
11959 (forms--make-format, forms--make-parser, forms-insert-record):
11960 Quote function with #'.
11961 (forms--update): Use string-match-p. Quote function with #'.
11963 * help-mode.el (help-dir-local-var-def): Mark unused argument.
11964 (help-make-xrefs): Use looking-at-p.
11965 (help-xref-on-pp): Use looking-at-p, ignore-errors.
11967 * ibuffer.el (ibuffer-ext-visible-p): Declare.
11968 (ibuffer-confirm-operation-on): Use string-match-p.
11970 * msb.el (msb-item-handler, msb-dired-item-handler):
11971 Mark unused arguments.
11973 * ses.el (ses-decode-cell-symbol)
11974 (ses-kill-override): Remove unused local variable.
11975 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11976 (ses-load): Use ignore-errors, looking-at-p.
11977 (ses-jump-safe): Use ignore-errors.
11978 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11980 * tabify.el (untabify, tabify): Mark unused arguments.
11982 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11983 Mark unused argument.
11984 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11985 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11987 * emacs-lisp/timer.el (timer--time): Define setter with
11988 gv-define-setter to avoid deprecation warning.
11990 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11991 (*record-cmpl-statistics-p*): Remove (was commented out).
11992 (cmpl-statistics-block): Remove (body was commented out).
11993 All callers changed.
11994 (add-completions-from-buffer, load-completions-from-file):
11995 Remove unused variables.
11997 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
11999 * filecache.el (file-cache-delete-file-list):
12000 Print message only when told so.
12001 (file-cache-files-matching): Use #' in mapconcat argument.
12003 * ffap.el (ffap-url-at-point): Fix reference to variable
12004 thing-at-point-default-mail-uri-scheme.
12006 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * subr.el (define-error): New function.
12009 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12010 error-file-not-found and define with define-error.
12011 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12012 and define with define-error.
12013 * userlock.el (file-locked, file-supersession):
12014 * simple.el (mark-inactive):
12015 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12016 * progmodes/ada-mode.el (ada-mode-errors):
12017 * play/life.el (life-extinct):
12018 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12019 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12020 * nxml/rng-util.el (rng-error):
12021 * nxml/rng-uri.el (rng-uri-error):
12022 * nxml/rng-match.el (rng-compile-error):
12023 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12024 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12025 * nxml/nxml-rap.el (nxml-scan-error):
12026 * nxml/nxml-outln.el (nxml-outline-error):
12027 * net/soap-client.el (soap-error):
12028 * net/gnutls.el (gnutls-error):
12029 * net/ange-ftp.el (ftp-error):
12030 * mpc.el (mpc-proc-error):
12031 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12032 (json-number-format, json-string-escape, json-string-format)
12033 (json-key-format, json-object-format):
12034 * jka-compr.el (compression-error):
12035 * international/quail.el (quail-error):
12036 * international/kkc.el (kkc-error):
12037 * emacs-lisp/ert.el (ert-test-failed):
12038 * calc/calc.el (calc-error, inexact-result, math-overflow)
12040 * bookmark.el (bookmark-error-no-filename):
12041 * epg.el (epg-error): Define with define-error.
12043 * time.el (display-time-event-handler)
12044 (display-time-next-load-average): Don't call sit-for since it seems
12045 unnecessary (bug#15045).
12047 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12048 Use #' instead of ' to quote functions.
12049 (checkdoc-output-mode): Use setq-local.
12050 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12051 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12052 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12053 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12054 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12055 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12056 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12057 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12059 * ido.el (ido-completion-help): Fix up compiler warning.
12061 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12063 * frameset.el (frameset-p): Add autoload cookie.
12064 (frameset--jump-to-register): New function, based on code moved from
12066 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12068 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12069 (frameset-restore, frameset-save, frameset-session-filter-alist):
12070 Remove declarations.
12071 (register-alist): Doc fix.
12072 (frameset-to-register): Move to frameset.el.
12073 (jump-to-register, describe-register-1): Remove frameset-specific code.
12075 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12077 * allout-widgets.el (allout-widgets-pre-command-business)
12078 (allout-widgets-post-command-business)
12079 (allout-widgets-after-change-handler)
12080 (allout-decorate-item-and-context, allout-set-boundary-marker)
12081 (allout-body-modification-handler)
12082 (allout-graphics-modification-handler): Mark ignored arguments.
12083 (allout-widgets-post-command-business)
12084 (allout-widgets-exposure-change-processor)
12085 (allout-widgets-exposure-undo-processor)
12086 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12087 (allout-parse-item-at-point, allout-decorate-item-guides)
12088 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12089 * allout.el (epa-passphrase-callback-function): Declare.
12090 (allout-overlay-insert-in-front-handler)
12091 (allout-overlay-interior-modification-handler)
12092 (allout-isearch-end-handler, allout-chart-siblings)
12093 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12094 (allout-yank-processing, allout-process-exposed)
12095 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12096 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12097 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12098 (lisp-indent-defform): Mark ignored arguments.
12099 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
12100 (calculate-lisp-indent): Remove unused variables.
12101 * international/characters.el (indian-2-column, arabic-2-column)
12102 (tibetan): Mark ignored arguments.
12103 (use-cjk-char-width-table): Mark ignored arguments.
12104 Remove unused variables.
12105 * international/fontset.el (build-default-fontset-data)
12106 (x-compose-font-name, create-fontset-from-fontset-spec):
12107 Mark ignored arguments.
12108 (fontset-plain-name): Remove unused variables.
12109 * international/mule.el (charset-id, charset-bytes, generic-char-p)
12110 (keyboard-coding-system): Mark ignored arguments.
12111 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
12112 * help.el (resize-temp-buffer-window):
12113 * window.el (display-buffer-in-major-side-window)
12114 (display-buffer-in-side-window, display-buffer-in-previous-window):
12115 Remove unused variables.
12116 * isearch.el (isearch-forward-symbol):
12117 * version.el (emacs-bzr-version-bzr):
12118 * international/mule-cmds.el (current-language-environment):
12119 * term/common-win.el (x-handle-iconic, x-handle-geometry)
12120 (x-handle-display):
12121 * term/pc-win.el (x-list-fonts, x-display-planes)
12122 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12123 (x-server-version, x-display-screens, x-display-mm-height)
12124 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12125 (x-selection-owner-p, x-own-selection-internal)
12126 (x-disown-selection-internal, x-get-selection-internal)
12127 (msdos-initialize-window-system):
12128 * term/tty-colors.el (tty-color-alist, tty-color-clear):
12129 * term/x-win.el (x-handle-no-bitmap-icon):
12130 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12131 (vc-default-find-file-hook, vc-default-extra-menu):
12132 Mark ignored arguments.
12134 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12136 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12137 break-condition in the context of the debugged code (bug#12685).
12139 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
12142 Do not use an overlay to highlight the last prompt. (Bug#14744)
12143 (comint-mode): Make comint-last-prompt buffer local.
12144 (comint-last-prompt): New variable.
12145 (comint-last-prompt-overlay): Remove. Superseded by
12146 comint-last-prompt.
12147 (comint-snapshot-last-prompt, comint-output-filter):
12148 Use comint-last-prompt.
12150 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12152 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
12153 (frameset-save): Check validity of the resulting frameset.
12155 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
12157 * ido.el (ido-record-command): Add doc string.
12159 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12161 * frameset.el (frameset): Do not disable creation of the default
12162 frameset-p predicate. Doc fix.
12163 (frameset-valid-p): New function, copied from the old predicate-p.
12164 Add additional checks.
12165 (frameset-restore): Check with frameset-valid-p.
12166 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12167 (frameset-name, frameset-description, frameset-properties)
12168 (frameset-states): Add docstring.
12169 (frameset-session-filter-alist, frameset-persistent-filter-alist)
12170 (frameset-filter-alist): Doc fixes.
12172 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12174 * frameset.el (frameset-p, frameset-prop): Doc fixes.
12176 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12178 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12179 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12180 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12181 (byte-compile-normal-call): Remove obsolescence check.
12183 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12185 * frameset.el (frameset-restore): Doc fix.
12187 * register.el (frameset-frame-id, frameset-frame-with-id)
12188 (frameset-p, frameset-restore, frameset-save): Declare.
12189 (register-alist): Document framesets.
12190 (frameset-session-filter-alist): Declare.
12191 (frameset-to-register): New function.
12192 (jump-to-register): Implement jumping to framesets. Doc fix.
12193 (describe-register-1): Describe framesets.
12195 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12197 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
12199 * desktop.el (desktop-save-frameset): Use new frameset-save args.
12200 Use lexical-binding.
12202 * frameset.el (frameset): Use type vector, not list (incompatible
12203 change). Do not declare a new constructor, use the default one.
12204 Upgrade suggested properties `app', `name' and `desc' to slots `app',
12205 `name' and `description', respectively, and add read-only slot
12206 `timestamp'. Doc fixes.
12207 (frameset-copy, frameset-persistent-filter-alist)
12208 (frameset-filter-alist, frameset-switch-to-gui-p)
12209 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12210 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12211 (frameset-filter-iconified, frameset-keep-original-display-p):
12213 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12214 Rename from frameset-filter-(save|restore)-param. All callers changed.
12216 (frameset-p): Adapt to change to vector and be more thorough.
12217 Change arg name to OBJECT. Doc fix.
12218 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
12219 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12220 All callers changed.
12221 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12222 All callers changed.
12223 (frameset--record-minibuffer-relationships): Rename from
12224 frameset--process-minibuffer-frames. All callers changed.
12225 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12226 Use new default constructor (again). Doc fix.
12227 (frameset--find-frame-if): Rename from `frameset--find-frame'.
12228 All callers changed.
12229 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12230 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12232 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12233 PARAMETERS and WINDOW-STATE, respectively.
12234 (frameset-restore): Add new keyword argument PREDICATE.
12235 Reset frameset--target-display to nil. Doc fix.
12237 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12239 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12240 (bat-mode): Use it.
12241 (bat-mode-syntax-table): Mark \n as end-of-comment.
12242 (bat-font-lock-keywords): Remove comment rule.
12244 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
12245 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
12247 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12248 (byte-compile-callargs-warn): Use `push'.
12249 (byte-compile-arglist-warn): Ignore higher-order "calls".
12250 (byte-compile-file-form-autoload): Use `pcase'.
12251 (byte-compile-function-form): If quoting a symbol, check that it exists.
12253 2013-08-07 Eli Zaretskii <eliz@gnu.org>
12255 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12256 and add a few popular commands found in batch files.
12257 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12258 (dos-mode): Doc fixes.
12260 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12262 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12263 (dos-mode): Use setq-local. Add space after "rem".
12264 (dos-mode-syntax-table): Don't use "w" for symbol chars.
12265 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12267 2013-08-07 Arni Magnusson <arnima@hafro.is>
12269 * progmodes/dos.el: New file.
12270 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12273 2013-08-06 Glenn Morris <rgm@gnu.org>
12275 * calendar/calendar.el: Add new faces, and day-header-array.
12276 (calendar-weekday-header, calendar-weekend-header)
12277 (calendar-month-header): New faces.
12278 (calendar-day-header-construct): New function.
12279 (calendar-day-header-width): Also :set calendar-day-header-array.
12280 (calendar-american-month-header, calendar-european-month-header)
12281 (calendar-iso-month-header): Use calendar- faces.
12282 (calendar-generate-month):
12283 Use calendar-day-header-array for day headers; apply faces to them.
12284 (calendar-mode): Check calendar-font-lock-keywords non-nil.
12285 (calendar-abbrev-construct): Add optional maxlen argument.
12286 (calendar-day-name-array): Doc fix.
12287 (calendar-day-name-array, calendar-abbrev-length)
12288 (calendar-day-abbrev-array):
12289 Also :set calendar-day-header-array, and maybe redraw.
12290 (calendar-day-header-array): New option. (Bug#15007)
12291 (calendar-font-lock-keywords): Set to nil and make obsolete.
12292 (calendar-day-name): Add option to use header array.
12294 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12296 * net/shr.el (shr-render-td): Remove debugging.
12297 (shr-render-td): Make width computation consistent by defaulting
12298 all zero-width columns to 10 characters. This may not be optimal,
12299 but it's at least consistent.
12300 (shr-make-table-1): Redo last change to fix the real problem in
12303 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12305 * files.el (cache-long-line-scans):
12306 Make obsolete alias to `cache-long-scans'.
12308 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12310 * frameset.el (frameset, frameset-filter-alist)
12311 (frameset-filter-params, frameset-save, frameset--reuse-frame)
12312 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12313 (frameset-compute-pos): Rename from frameset--compute-pos,
12315 (frameset-move-onscreen): Use frameset-compute-pos.
12316 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12318 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12319 Fix typos in docstrings.
12321 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12323 * frame.el (get-other-frame): Tiny cleanup.
12325 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12327 * vc/vc.el (vc-default-ignore-completion-table):
12328 Silence byte-compiler warning.
12330 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12331 slot, which can indeed be nil.
12332 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12333 Move entry for `left' from persistent to live filter alist.
12334 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12336 (frameset-filter-params): When restoring a frame, copy items added to
12337 `filtered', to avoid unwittingly modifying the original parameters.
12338 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
12339 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12341 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12342 to use looking-at-p instead of looking-at. (Bug#15028)
12344 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12346 Revert introduction of isearch-filter-predicates (bug#14714).
12347 Rely on add-function instead.
12348 * isearch.el (isearch-filter-predicates): Rename it back to
12349 isearch-filter-predicate.
12350 (isearch-message-prefix): Use advice-function-mapc and advice
12351 properties to get the isearch-message-prefix.
12352 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12353 instead of run-hook-with-args-until-failure.
12354 (isearch-filter-visible): Not obsolete any more.
12355 * loadup.el: Preload nadvice.
12356 * replace.el (perform-replace): Revert to funcall
12357 instead of run-hook-with-args-until-failure.
12358 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12359 * dired-aux.el (dired-isearch-filenames-mode): Rename from
12360 dired-isearch-filenames-toggle; make it into a proper minor mode.
12361 Use add/remove-function.
12362 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12363 Call the minor-mode rather than add/remove-hook.
12364 (dired-isearch-filter-filenames):
12365 Remove isearch-message-prefix property.
12366 * info.el (Info--search-loop): New function, extracted from Info-search.
12367 Funcall isearch-filter-predicate instead of
12368 run-hook-with-args-until-failure isearch-filter-predicates.
12369 (Info-search): Use it.
12370 (Info-mode): Use isearch-filter-predicate instead of
12371 isearch-filter-predicates.
12373 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12375 Do not call to `selected-window' where it is assumed by default.
12376 Affected functions are `window-minibuffer-p', `window-dedicated-p',
12377 `window-hscroll', `window-width', `window-height', `window-buffer',
12378 `window-frame', `window-start', `window-point', `next-window'
12379 and `window-display-table'.
12380 * abbrev.el (abbrev--default-expand):
12381 * bs.el (bs--show-with-configuration):
12382 * buff-menu.el (Buffer-menu-mouse-select):
12383 * calc/calc.el (calc):
12384 * calendar/calendar.el (calendar-generate-window):
12385 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12386 (diary-make-entry):
12387 * comint.el (send-invisible, comint-dynamic-complete-filename)
12388 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12389 * completion.el (complete):
12390 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12391 * disp-table.el (describe-current-display-table):
12392 * doc-view.el (doc-view-insert-image):
12393 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12394 * ehelp.el (with-electric-help):
12395 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12396 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12397 * emacs-lisp/helper.el (Helper-help-scroller):
12398 * emulation/cua-base.el (cua--post-command-handler-1):
12399 * eshell/esh-mode.el (eshell-output-filter):
12400 * ffap.el (ffap-gnus-wrapper):
12401 * help-macro.el (make-help-screen):
12402 * hilit-chg.el (highlight-compare-buffers):
12403 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12404 * hl-line.el (global-hl-line-highlight):
12405 * icomplete.el (icomplete-simple-completing-p):
12406 * isearch.el (isearch-done):
12407 * jit-lock.el (jit-lock-stealth-fontify):
12408 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12409 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12410 * mpc.el (mpc-tagbrowser, mpc):
12411 * net/rcirc.el (rcirc-any-buffer):
12412 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12413 * play/landmark.el (landmark-max-width, landmark-max-height):
12414 * play/zone.el (zone):
12415 * progmodes/compile.el (compilation-goto-locus):
12416 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12417 * progmodes/etags.el (find-tag-other-window):
12418 * progmodes/fortran.el (fortran-column-ruler):
12419 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12420 * progmodes/verilog-mode.el (verilog-point-text):
12421 * reposition.el (reposition-window):
12422 * rot13.el (toggle-rot13-mode):
12423 * server.el (server-switch-buffer):
12424 * shell.el (shell-dynamic-complete-command)
12425 (shell-dynamic-complete-environment-variable):
12426 * simple.el (insert-buffer, set-selective-display)
12427 (delete-completion-window):
12428 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12429 (speedbar-recenter):
12430 * startup.el (fancy-splash-head):
12431 * textmodes/ispell.el (ispell-command-loop):
12432 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12433 * tutorial.el (help-with-tutorial):
12434 * vc/add-log.el (add-change-log-entry):
12435 * vc/compare-w.el (compare-windows):
12436 * vc/ediff-help.el (ediff-indent-help-message):
12437 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12438 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12439 (ediff-setup-control-frame):
12440 * vc/emerge.el (emerge-position-region):
12441 * vc/pcvs-util.el (cvs-bury-buffer):
12442 * window.el (walk-windows, mouse-autoselect-window-select):
12443 * winner.el (winner-set-conf, winner-undo): Related users changed.
12445 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
12447 * frameset.el (frameset--set-id): Doc fix.
12448 (frameset-frame-id, frameset-frame-id-equal-p)
12449 (frameset-locate-frame-id): New functions.
12450 (frameset--process-minibuffer-frames, frameset--reuse-frame)
12451 (frameset-restore): Use them.
12453 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12455 Do not call to `selected-frame' where it is assumed by default.
12456 Affected functions are `raise-frame', `redraw-frame',
12457 `frame-first-window', `frame-terminal' and `delete-frame'.
12458 * calendar/appt.el (appt-disp-window):
12459 * epg.el (epg-wait-for-completion):
12460 * follow.el (follow-delete-other-windows-and-split)
12461 (follow-avoid-tail-recenter):
12462 * international/mule.el (set-terminal-coding-system):
12463 * mail/rmail.el (rmail-mail-return):
12464 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12465 * progmodes/f90.el (f90-add-imenu-menu):
12466 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12467 * server.el (server-switch-buffer):
12468 * simple.el (delete-completion-window):
12470 * term/xterm.el (terminal-init-xterm-modify-other-keys)
12471 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12472 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12473 * vc/ediff.el (ediff-documentation): Related users changed.
12474 * frame.el (selected-terminal): Remove the leftover.
12476 2013-08-05 Glenn Morris <rgm@gnu.org>
12478 * calendar/calendar.el (calendar-generate-month):
12479 Fix for calendar-column-width != 1 + calendar-day-digit-width.
12480 (calendar-generate-month, calendar-font-lock-keywords):
12481 Fix for calendar-day-header-width > length of any day name.
12483 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
12485 * desktop.el (desktop-clear): Use new name of sort predicate.
12487 * frameset.el (frameset): Add docstring. Move :version property to its
12488 own `version' slot.
12489 (frameset-copy): Rename from copy-frameset.
12490 (frameset-p): Check more thoroughly.
12491 (frameset-prop): Do not check for :version, which is no longer a prop.
12492 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12493 Use new :never value instead of t.
12494 (frameset-filter-alist): Expand and clarify docstring.
12495 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12496 (frameset-filter-minibuffer, frameset-filter-save-param)
12497 (frameset-filter-restore-param, frameset-filter-iconified):
12498 Add pointer to docstring of frameset-filter-alist.
12499 (frameset-filter-params): Rename filter values to be more meaningful:
12500 :never instead of t, and reverse the meanings of :save and :restore.
12501 (frameset--process-minibuffer-frames): Clarify error message.
12502 (frameset-save): Avoid unnecessary and confusing call to framep.
12503 Use new BOA constructor for framesets.
12504 (frameset--reuse-list): Doc fix.
12505 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
12506 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12507 (frameset-minibufferless-first-p): Doc fix.
12508 Rename from frameset-sort-frames-for-deletion.
12509 (frameset-restore): Doc fixes. Use new function names.
12510 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12512 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
12514 * desktop.el (desktop-restore-forces-onscreen)
12515 (desktop-restore-reuses-frames): Document :keyword constant values.
12516 (desktop-filter-parameters-alist): Remove, now identical to
12517 frameset-filter-alist.
12518 (desktop--filter-tty*): Remove, moved to frameset.el.
12519 (desktop-save-frameset, desktop-restore-frameset):
12520 Do not pass :filters argument.
12522 * frameset.el (frameset-live-filter-alist)
12523 (frameset-persistent-filter-alist): New variables.
12524 (frameset-filter-alist): Use them. Add autoload cookie.
12525 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12526 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12527 `frameset--id' (it's supposed to be internal to frameset.el).
12528 (frameset--process-minibuffer-frames): Ditto. Doc fix.
12529 (frameset--initial-params): New function.
12530 (frameset--get-frame): Use it. Doc fix.
12531 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12532 Accept :all, not 'all.
12533 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12534 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
12535 with fbound symbols. Fix frame id matching, and remove matching ids if
12536 the frame being restored is deleted. Obey :delete.
12538 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
12540 * subr.el (macrop): New function.
12541 (text-clone--maintaining): New var.
12542 (text-clone--maintain): Rename from text-clone-maintain. Use it
12543 instead of inhibit-modification-hooks.
12545 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12546 a proxy, so as handle autoloads and redefinitions of the target.
12547 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12549 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12550 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
12551 (pcase--mutually-exclusive-p): New function.
12552 (pcase--split-consp): Use it.
12553 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
12554 mutually exclusive with the current predicate.
12556 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12557 (edebug-macrop): Remove. Use `macrop' instead.
12558 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
12560 * eshell/esh-cmd.el (eshell-macrop):
12561 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
12563 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
12565 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12566 (advice-mapc): New function, using it.
12567 (advice-function-member-p): New function.
12568 (advice--normalize): Store the cdr in advice--saved-rewrite since
12569 that's the part that will be changed.
12570 (advice--symbol-function): New function.
12571 (advice-remove): Handle removal before the function is defined.
12572 Adjust to new advice--saved-rewrite.
12573 (advice-member-p): Use advice-function-member-p and
12574 advice--symbol-function.
12576 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
12578 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12579 (frameset-filter-minibuffer): Doc fix.
12580 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
12581 (frameset--set-id, frameset--process-minibuffer-frames)
12582 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12583 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12585 * desktop.el (desktop-clear): Only delete frames when called
12586 interactively and desktop-restore-frames is non-nil. Doc fix.
12587 (desktop-read): Set desktop-saved-frameset to nil.
12589 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
12591 * vc/vc.el (vc-ignore): Rewrite.
12592 (vc-default-ignore-completion-table, vc--read-lines)
12593 (vc--add-line, vc--remove-regexp): New functions.
12595 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12596 (vc-svn-ignore-completion-table): New function.
12598 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12599 (vc-hg-ignore-completion-table)
12600 (vc-hg-find-ignore-file): New functions.
12602 * vc/vc-git.el (vc-git-ignore): Rewrite.
12603 (vc-git-ignore-completion-table)
12604 (vc-git-find-ignore-file): New functions.
12606 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12608 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12609 (vc-bzr-ignore-completion-table)
12610 (vc-bzr-find-ignore-file): New functions.
12612 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
12614 * frameset.el (frameset-prop): New function and setter.
12615 (frameset-save): Do not modify frame list passed by the caller.
12617 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12619 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12621 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12624 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12626 * custom.el (custom-initialize-default, custom-initialize-set)
12627 (custom-initialize-reset, custom-initialize-changed): Affect the
12628 toplevel-default-value (bug#6275, bug#14586).
12629 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12632 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
12634 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12635 Add cl-def* expressions.
12637 * frameset.el (frameset-filter-params): Fix order of arguments.
12639 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
12641 Move code related to saving frames to frameset.el.
12642 * desktop.el: Require frameset.
12643 (desktop-restore-frames): Doc fix.
12644 (desktop-restore-reuses-frames): Rename from
12645 desktop-restoring-reuses-frames.
12646 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12647 (desktop-clear): Clear frames too.
12648 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12649 (desktop--filter-tty*, desktop-save, desktop-read):
12650 Use frameset functions.
12651 (desktop-before-saving-frames-functions, desktop--filter-*-color)
12652 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12653 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12654 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12655 (desktop--process-minibuffer-frames, desktop-save-frames)
12656 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12657 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12658 (desktop--sort-states, desktop-restoring-frames-p)
12659 (desktop-restore-frames): Remove. Most code moved to frameset.el.
12660 (desktop-restoring-frameset-p, desktop-restore-frameset)
12661 (desktop--check-dont-save, desktop-save-frameset): New functions.
12662 (desktop--app-id): New constant.
12663 (desktop-first-buffer, desktop-buffer-ok-count)
12664 (desktop-buffer-fail-count): Move before first use.
12665 * frameset.el: New file.
12667 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12669 * files.el: Use lexical-binding.
12670 (dir-locals-read-from-file): Remove unused `err' variable.
12671 (hack-dir-local-variables--warned-coding): New var.
12672 (hack-dir-local-variables): Use it to avoid repeated warnings.
12673 (make-backup-file-name--default-function): New function.
12674 (make-backup-file-name-function): Use it as default.
12675 (buffer-stale--default-function): New function.
12676 (buffer-stale-function): Use it as default.
12677 (revert-buffer-insert-file-contents--default-function): New function.
12678 (revert-buffer-insert-file-contents-function): Use it as default.
12679 (insert-directory): Avoid add-to-list.
12681 * autorevert.el (auto-revert-handler): Simplify.
12682 Use buffer-stale--default-function.
12684 2013-08-01 Tassilo Horn <tsdh@gnu.org>
12686 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12688 * whitespace.el (whitespace-ensure-local-variables): New function.
12689 (whitespace-cleanup-region): Call it.
12690 (whitespace-turn-on): Call it.
12692 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
12694 Complete file name handlers.
12696 * net/tramp.el (tramp-handle-set-visited-file-modtime)
12697 (tramp-handle-verify-visited-file-modtime)
12698 (tramp-handle-file-notify-rm-watch): New functions.
12699 (tramp-call-process): Do not bind `default-directory'.
12701 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12702 Order alphabetically.
12703 <access-file, add-name-to-file, dired-call-process>:
12704 <dired-compress-file, file-acl, file-notify-rm-watch>:
12705 <file-ownership-preserved-p, file-selinux-context>:
12706 <make-directory-internal, make-symbolic-link, set-file-acl>:
12707 <set-file-selinux-context, set-visited-file-modtime>:
12708 <verify-visited-file-modtime>: Add handler.
12709 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12711 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12712 <file-notify-add-watch, file-notify-rm-watch>:
12713 <set-file-times, set-visited-file-modtime>:
12714 <verify-visited-file-modtime>: Add handler.
12715 (with-tramp-gvfs-error-message)
12716 (tramp-gvfs-handle-set-visited-file-modtime)
12717 (tramp-gvfs-fuse-file-name): Remove.
12718 (tramp-gvfs-handle-file-notify-add-watch)
12719 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12720 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12722 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12723 Order alphabetically.
12724 <file-notify-rm-watch>: Use default Tramp handler.
12725 <executable-find>: Remove private handler.
12726 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12727 `default-directory'.
12728 (tramp-sh-handle-executable-find)
12729 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12730 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12731 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12732 Do not use `format' in `tramp-message'.
12734 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12735 <file-notify-rm-watch, set-visited-file-modtime>:
12736 <verify-visited-file-modtime>: Add handler.
12737 (tramp-smb-call-winexe): Do not bind `default-directory'.
12739 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
12741 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12743 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
12745 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12747 (log-view-diff-changeset): Same.
12748 (log-view-diff-common): Call backend command `previous-revision'
12749 to find out the previous revision, in both cases. Swap the
12750 variables `to' and `fr', so that `fr' usually refers to the
12751 earlier revision (Bug#14989).
12753 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
12755 * ibuf-ext.el (ibuffer-filter-by-filename):
12756 Make it work with dired buffers too.
12758 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
12760 * emacs-lisp/re-builder.el (reb-color-display-p):
12761 * files.el (save-buffers-kill-terminal):
12762 * net/browse-url.el (browse-url):
12763 * server.el (server-save-buffers-kill-terminal):
12764 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12765 Prefer nil to selected-frame for the first arg of frame-parameter.
12767 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
12769 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12771 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
12773 * minibuffer.el (completion--twq-all): Try and preserve each
12774 completion's case choice (bug#14907).
12776 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12778 * net/network-stream.el (open-network-stream): Mention the new
12779 :nogreeting parameter.
12780 (network-stream-open-starttls): Use the :nogreeting parameter
12783 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12785 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12786 more natural than popping.
12788 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12789 (shr-urlify): Highlight under mouse.
12791 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
12793 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12795 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12797 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
12800 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
12801 point-min==1. Fix search string. Fix parentheses missing.
12803 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
12804 assume point-min==1. Fix search string. Fix parentheses missing.
12806 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12808 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
12811 2013-07-29 Eli Zaretskii <eliz@gnu.org>
12813 * frame.el (frame-notice-user-settings): Avoid inflooping when the
12814 initial frame is minibuffer-less. (Bug#14841)
12816 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
12818 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12822 (tramp-maybe-open-connection): Use it.
12824 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
12826 * desktop.el (desktop--make-frame): Include `minibuffer' in the
12827 minimal set of parameters passed when creating a frame, because
12828 the minibuffer status of a frame cannot be changed later.
12830 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
12832 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12833 replace-regexp-in-string and inadvertent omissions in previous change.
12834 (todo-filter-items): Ensure only file names are comma-separated in
12835 name of filtered items buffer.
12837 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
12839 * desktop.el: Optionally force offscreen frames back onscreen.
12840 (desktop-restoring-reuses-frames): New option.
12841 (desktop--compute-pos, desktop--move-onscreen): New functions.
12842 (desktop--make-frame): Use desktop--move-onscreen.
12844 2013-07-27 Alan Mackenzie <acm@muc.de>
12846 Fontify a Java generic method as a function.
12847 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12850 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
12852 * calendar/todo-mode.el: Add command to rename todo files.
12853 (todo-rename-file): New command.
12854 (todo-key-bindings-t): Add key binding for it. Change the
12855 bindings of todo-filter-regexp-items(-multifile) to use `x'
12856 instead of `r', since the latter is better suited to the new
12859 2013-07-27 Alan Mackenzie <acm@muc.de>
12861 Make Java try-with-resources statement parse properly.
12862 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12863 (c-block-stmt-1-2-key): New language constants/variables.
12864 * progmodes/cc-engine.el (c-beginning-of-statement-1)
12865 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12866 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12867 with c-block-stmt-1-2-key.
12869 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
12871 * desktop.el (desktop--make-frame): Apply most frame parameters after
12872 creating the frame to force (partially or totally) offscreen frames to
12873 be restored as such.
12875 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
12877 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12880 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12883 `base' arg of backtrace-frame.
12885 2013-07-26 Eli Zaretskii <eliz@gnu.org>
12887 * simple.el (list-processes): Doc fix.
12889 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
12891 * desktop.el (desktop--select-frame):
12892 Try harder to reuse existing frames.
12894 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12896 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12897 (edebug-eval): Use backtrace-eval.
12898 (edebug--display, edebug--recursive-edit): Don't let-bind the
12899 edebug-outer-* vars that keep track of variables we locally let-bind.
12900 (edebug-outside-excursion): Don't restore outside values of locally
12902 (edebug--display): Use user-error.
12903 (cl-lexical-debug, cl-debug-env): Remove.
12905 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
12907 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12908 are restored to be sure that they are visible before deleting any
12911 2013-07-26 Matthias Meulien <orontee@gmail.com>
12913 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12914 vc-print-root-log. (Bug#14948)
12916 2013-07-26 Richard Stallman <rms@gnu.org>
12918 Add aliases for encrypting mail.
12919 * epa.el (epa-mail-aliases): New option.
12920 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12921 Bind inhibit-read-only so read-only text doesn't ruin everything.
12922 (epa-mail-default-recipients): New subroutine broken out.
12923 Handle epa-mail-aliases.
12925 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12927 Add support for lexical variables to the debugger's `e' command.
12928 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12929 vars, except for debugger-outer-match-data.
12930 (debugger-frame-number): Move check for "on a function call" from
12931 callers into it. Add `skip-base' argument.
12932 (debugger-frame, debugger-frame-clear): Simplify accordingly.
12933 (debugger-env-macro): Only reset the state stored in non-variables,
12934 i.e. current-buffer and match-data.
12935 (debugger-eval-expression): Rewrite using backtrace-eval.
12936 * subr.el (internal--called-interactively-p--get-frame): Remove.
12937 (called-interactively-p):
12938 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12939 `base' arg of backtrace-frame instead.
12941 2013-07-26 Glenn Morris <rgm@gnu.org>
12943 * align.el (align-regexp): Doc fix. (Bug#14857)
12944 (align-region): Explicit error if subexpression missing/does not match.
12946 * simple.el (global-visual-line-mode):
12947 Do not duplicate the mode lighter. (Bug#14858)
12949 2013-07-25 Martin Rudalics <rudalics@gmx.at>
12951 * window.el (display-buffer): In display-buffer bind
12952 split-window-keep-point to t, bug#14829.
12954 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
12956 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12957 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12958 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12959 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12960 Change accordingly.
12961 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12962 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12964 2013-07-25 Glenn Morris <rgm@gnu.org>
12966 * dired-x.el (dired-mark-extension): Convert comment to doc string.
12968 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
12970 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12971 parameter to modify-frame-parameters if the value has not changed;
12972 this is a workaround for bug#14949.
12973 (desktop--make-frame): On cl-delete-if call, check parameter name,
12974 not full parameter.
12976 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
12978 * vc/vc.el (vc-ignore): New function.
12980 * vc/vc-svn.el (vc-svn-ignore): New function.
12982 * vc/vc-hg.el (vc-hg-ignore): New function.
12984 * vc/vc-git.el (vc-git-ignore): New function.
12986 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12987 (vc-dir-ignore): New function.
12989 * vc/vc-cvs.el (vc-cvs-ignore): New function.
12990 (cvs-append-to-ignore): Move here from pcvs.el.
12992 * vc/vc-bzr.el (vc-bzr-ignore): New function.
12994 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12996 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
12998 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12999 (desktop-restore-frames): Warn when deleting an existing frame failed.
13001 2013-07-24 Glenn Morris <rgm@gnu.org>
13003 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13005 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13007 * filenotify.el (file-notify-supported-p):
13008 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13011 * autorevert.el (auto-revert-use-notify)
13012 (auto-revert-notify-add-watch):
13013 * net/tramp.el (tramp-file-name-for-operation):
13014 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13015 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13016 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13017 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13018 Remove `file-notify-supported-p' entry.
13020 2013-07-24 Glenn Morris <rgm@gnu.org>
13022 * printing.el: Replace all uses of deleted ps-windows-system,
13023 ps-lp-system, ps-flatten-list with lpr- versions.
13025 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13028 checked with memq (bug#14935).
13030 * files.el (revert-buffer-function): Use a non-nil default.
13031 (revert-buffer-preserve-modes): Declare var to
13032 provide access to the `preserve-modes' argument.
13033 (revert-buffer): Let-bind it.
13034 (revert-buffer--default): New function, extracted from revert-buffer.
13036 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13038 * lpr.el: Signal print errors more prominently.
13039 (print-region-function): Don't default to nil.
13040 (lpr-print-region): New function, extracted from print-region-1.
13041 Check lpr's return value and signal an error in case of problem.
13042 (print-region-1): Use it.
13043 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13045 (ps-printer-name): Default to nil.
13046 (ps-printer-name-option): Default to lpr-printer-switch.
13047 (ps-print-region-function): Don't default to nil.
13048 (ps-postscript-code-directory): Simplify default.
13049 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13050 (ps-string-list, ps-eval-switch, ps-flatten-list)
13051 (ps-flatten-list-1): Remove.
13052 (ps-multibyte-buffer): Avoid setq.
13053 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13054 (print-region-function, ps-print-region-function): Don't set them here.
13056 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13058 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13059 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13060 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13061 (ido-decorations): Doc fix.
13063 * ansi-color.el: Fix old URL.
13065 2013-07-23 Michael R. Mauger <michael@mauger.com>
13067 * progmodes/sql.el: Version 3.3
13068 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13069 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13070 (sql-interactive-remove-continuation-prompt): Rewrite, use
13071 functions above. Fix continuation prompt and complete output line
13073 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13074 redirected output buffer.
13075 (sql-mode): Restore deleted code (Bug#13591).
13077 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13079 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13081 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13083 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13085 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13086 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13087 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13089 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13091 * desktop.el (desktop-clear): Simplify; remove useless checks
13092 against invalid buffer names.
13093 (desktop-list*): Use cl-list*.
13094 (desktop-buffer-info, desktop-create-buffer): Simplify.
13096 2013-07-23 Leo Liu <sdl.web@gmail.com>
13098 * bookmark.el (bookmark-make-record): Restore NAME as a default
13101 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
13103 * emacs-lisp/autoload.el (autoload--setup-output): New function,
13104 extracted from autoload--insert-text.
13105 (autoload--insert-text): Remove.
13106 (autoload--print-cookie-text): New function, extracted from
13107 autoload--insert-cookie-text.
13108 (autoload--insert-cookie-text): Remove.
13109 (autoload-generate-file-autoloads): Adjust calls accordingly.
13111 * winner.el (winner-hook-installed-p): Remove.
13112 (winner-mode): Simplify accordingly.
13114 * subr.el (add-to-list): Fix compiler-macro when `append' is
13115 not constant. Don't use `cl-member' for the base case.
13117 * progmodes/subword.el: Fix boundary case (bug#13758).
13118 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
13120 (subword-backward-regexp): Make it a constant.
13121 (subword-forward-internal): Don't treat a trailing capital as the
13122 beginning of a word.
13124 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
13126 * emacs-lisp/package.el (package-menu-mode): Don't modify the
13127 global value of tabulated-list-revert-hook (bug#14930).
13129 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
13131 * desktop.el: Require 'cl-lib.
13132 (desktop-before-saving-frames-functions): New hook.
13133 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13134 for frames being saved. Rename from desktop--save-minibuffer-frames.
13135 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13136 Do not save frames with non-nil `desktop-dont-save' parameter.
13137 Filter out deleted frames.
13138 (desktop--find-frame): Use cl-find-if.
13139 (desktop--select-frame): Use cl-(first|second|third) to access values
13141 (desktop--make-frame): Use cl-delete-if.
13142 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13143 (desktop-restore-frames): Use cl-(first|second|third) to access values
13144 of desktop-mini. Look for visible frame at the end, not while
13147 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13148 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13149 Use string-match-p, looking-at-p (bug#14927).
13151 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
13153 * desktop.el (desktop-saved-frame-states):
13154 Rename from desktop--saved-states; all users changed.
13155 (desktop-save-frames): Rename from desktop--save-frames.
13156 Do not save state to desktop file.
13157 (desktop-save): Save desktop-saved-frame-states to desktop file
13159 (desktop-restoring-frames-p): New function.
13160 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
13161 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
13162 buffer-lists when restoring frames. Suggested by Martin Rudalics.
13164 * desktop.el: Correctly restore iconified frames.
13165 (desktop--filter-iconified-position): New function.
13166 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13168 2013-07-20 Glenn Morris <rgm@gnu.org>
13170 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13171 Let `message' do the formatting.
13172 (def-gdb-preempt-display-buffer): Add explicit format.
13174 * image-dired.el (image-dired-track-original-file):
13175 Use with-current-buffer.
13176 (image-dired-track-thumbnail): Use with-current-buffer.
13177 Avoid changing point of wrong window.
13179 * image-dired.el (image-dired-track-original-file):
13180 Avoid changing point of wrong window. (Bug#14909)
13182 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
13184 * progmodes/gdb-mi.el (gdb-done-or-error):
13185 Guard against "%" in gdb output. (Bug#14127)
13187 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
13189 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13192 * international/mule.el (coding-system-iso-2022-flags): Fix last
13195 2013-07-20 Kenichi Handa <handa@gnu.org>
13197 * international/mule.el (coding-system-iso-2022-flags):
13198 Add `8-bit-level-4'. (Bug#8522)
13200 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13202 * net/shr.el (shr-mouse-browse-url): New command and keystroke
13205 * net/eww.el (eww-process-text-input): Allow inputting when the
13206 point is at the start of the line, as the properties aren't
13209 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13212 2013-07-19 Richard Stallman <rms@gnu.org>
13214 * epa.el (epa-popup-info-window): Doc fix.
13216 * subr.el (split-string): New arg TRIM.
13218 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
13220 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13221 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13223 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
13225 * filenotify.el (file-notify--library): Rename from
13226 `file-notify-support'. Do not autoload. Adapt all uses.
13227 (file-notify-supported-p): New defun.
13229 * autorevert.el (auto-revert-use-notify):
13230 Use `file-notify-supported-p' instead of `file-notify-support'.
13232 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13234 * net/tramp.el (tramp-file-name-for-operation):
13235 Add `file-notify-supported-p'.
13237 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13239 (tramp-sh-file-name-handler-alist): Add it as handler for
13240 `file-notify-supported-p '.
13242 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13243 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13244 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13245 Add `ignore' as handler for `file-notify-*' functions.
13247 2013-07-17 Eli Zaretskii <eliz@gnu.org>
13249 * simple.el (line-move-partial, line-move): Don't start vscroll or
13250 scroll-up if the current line is not taller than the window.
13253 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
13255 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13256 highlight question marks in the method names as strings.
13257 (ruby-block-beg-keywords): Inline.
13258 (ruby-font-lock-keyword-beg-re): Extract from
13259 `ruby-font-lock-keywords'.
13261 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
13263 * frame.el (blink-cursor-blinks): New defcustom.
13264 (blink-cursor-blinks-done): New defvar.
13265 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13266 (blink-cursor-timer-function): Check if number of blinks has been
13268 (blink-cursor-suspend, blink-cursor-check): New defuns.
13270 2013-07-15 Glenn Morris <rgm@gnu.org>
13272 * edmacro.el (edmacro-format-keys): Fix previous change.
13274 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
13276 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13277 The hack didn't work outside English locales anyway.
13279 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
13281 * simple.el (define-alternatives): Rename from alternatives-define,
13282 per RMS' suggestion.
13284 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
13286 * desktop.el (desktop-restore-frames): Change default to t.
13287 (desktop-restore-in-current-display): Now offer more options.
13288 (desktop-restoring-reuses-frames): New customization option.
13289 (desktop--saved-states): Doc fix.
13290 (desktop-filter-parameters-alist): New variable, renamed and expanded
13291 from desktop--excluded-frame-parameters.
13292 (desktop--target-display): New variable.
13293 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13294 (desktop--filter-tty*, desktop--filter-*-color)
13295 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13296 (desktop--filter-save-desktop-parm)
13297 (desktop-restore-in-original-display-p): New functions.
13298 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13299 (desktop--save-minibuffer-frames): New function, inspired by a similar
13300 function from Martin Rudalics.
13301 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13302 (desktop--restore-in-this-display-p): Remove.
13303 (desktop--find-frame): Rename from desktop--find-frame-in-display
13304 and add predicate argument.
13305 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13306 (desktop--reuse-list): New variable.
13307 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13309 (desktop--restore-frames): Add support for "minibuffer-special" frames.
13311 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
13313 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13315 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
13317 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13318 Highlight conversion methods on Kernel.
13320 2013-07-13 Alan Mackenzie <acm@muc.de>
13322 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13323 and comment it out. This out-commenting enables certain C++
13324 declarations to be parsed correctly.
13326 2013-07-13 Eli Zaretskii <eliz@gnu.org>
13328 * international/mule.el (define-coding-system): Doc fix.
13330 * simple.el (default-font-height): Don't call font-info if the
13331 frame's default font didn't change since the frame was created.
13334 2013-07-13 Leo Liu <sdl.web@gmail.com>
13336 * ido.el (ido-read-file-name): Guard against non-symbol value.
13338 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13340 * progmodes/python.el (python-imenu--build-tree): Fix corner case
13343 2013-07-13 Leo Liu <sdl.web@gmail.com>
13345 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13346 ido-set-matches call. (Bug#6852)
13348 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
13350 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13351 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13353 (ruby-font-lock-keywords): Distinguish calls to functions with
13354 module-like names from module references. Highlight character
13357 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
13359 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13360 (gdb-send): Handle continued commands. (Bug#14847)
13362 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13364 * desktop.el (desktop--v2s): Remove unused local variable.
13365 (desktop-save-buffer): Make defvar-local; adjust docstring.
13366 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13367 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13369 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
13371 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13373 2013-07-12 Eli Zaretskii <eliz@gnu.org>
13375 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13378 2013-07-12 Glenn Morris <rgm@gnu.org>
13380 * doc-view.el: Require cl-lib at runtime too.
13381 (doc-view-remove-if): Remove.
13382 (doc-view-search-next-match, doc-view-search-previous-match):
13385 * edmacro.el: Require cl-lib at runtime too.
13386 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13387 (edmacro-mismatch, edmacro-subseq): Remove.
13389 * shadowfile.el: Require cl-lib.
13390 (shadow-remove-if): Remove.
13391 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13394 * wid-edit.el: Require cl-lib.
13395 (widget-choose): Use cl-remove-if.
13396 (widget-remove-if): Remove.
13398 * progmodes/ebrowse.el: Require cl-lib at runtime too.
13399 (ebrowse-delete-if-not): Remove.
13400 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13401 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13402 Use cl-delete-if-not.
13404 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13406 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13407 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13409 2013-07-12 Leo Liu <sdl.web@gmail.com>
13411 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
13413 2013-07-11 Glenn Morris <rgm@gnu.org>
13415 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13416 (edebug-gensym-index, edebug-gensym):
13417 Remove reimplementation of cl-gensym.
13418 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13420 * thumbs.el: Require cl-lib at run-time too.
13421 (thumbs-gensym-counter, thumbs-gensym):
13422 Remove reimplementation of cl-gensym.
13423 (thumbs-temp-file): Use cl-gensym.
13425 * emacs-lisp/ert.el: Require cl-lib at runtime too.
13426 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13427 (ert--intersection, ert--set-difference, ert--set-difference-eq)
13428 (ert--union, ert--gensym-counter, ert--gensym-counter)
13429 (ert--coerce-to-vector, ert--remove*, ert--string-position)
13430 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13431 (ert-make-test-unbound, ert--expand-should-1)
13432 (ert--expand-should, ert--should-error-handle-error)
13433 (should-error, ert--explain-equal-rec)
13434 (ert--plist-difference-explanation, ert-select-tests)
13435 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13436 Use cl-lib functions rather than reimplementations.
13438 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
13440 * net/tramp.el (tramp-methods): Extend docstring.
13441 (tramp-connection-timeout): New defcustom.
13442 (tramp-error-with-buffer): Reset timestamp only when appropriate.
13443 (with-tramp-progress-reporter): Simplify.
13444 (tramp-process-actions): Improve messages.
13446 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13447 * net/tramp-sh.el (tramp-maybe-open-connection):
13448 Use `tramp-connection-timeout'.
13449 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13452 2013-07-11 Leo Liu <sdl.web@gmail.com>
13454 * ido.el (ido-read-file-name): Conform to the requirements of
13455 read-file-name. (Bug#11861)
13456 (ido-read-directory-name): Conform to the requirements of
13457 read-directory-name.
13459 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
13461 * subr.el (delay-warning): New function.
13463 2013-07-10 Eli Zaretskii <eliz@gnu.org>
13465 * simple.el (default-line-height): New function.
13466 (line-move-partial, line-move): Use it instead of computing the
13467 line height inline.
13468 (line-move-partial): Always compute ROWH. If the last line is
13469 partially-visible, but its text is completely visible, allow
13470 cursor to enter such a partially-visible line.
13472 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
13474 Improve error messages. (Bug#14808)
13476 * net/tramp.el (tramp-current-connection): New defvar, moved from
13478 (tramp-message-show-progress-reporter-message): Remove, not
13480 (tramp-error-with-buffer): Show message in minibuffer.
13481 Discard input before waiting. Reset connection timestamp.
13482 (with-tramp-progress-reporter): Improve messages.
13483 (tramp-process-actions): Use progress reporter. Delete process in
13484 case of error. Improve messages.
13486 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13487 Call `tramp-error-with-buffer' with vector and buffer.
13488 (tramp-current-connection): Remove.
13489 (tramp-maybe-open-connection): The car of
13490 `tramp-current-connection' are the first 3 slots of the vector.
13492 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
13494 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13495 inside continued strings.
13497 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
13499 Timestamp fixes for undo (Bug#14824).
13500 * files.el (clear-visited-file-modtime): Move here from fileio.c.
13502 2013-07-10 Leo Liu <sdl.web@gmail.com>
13504 * files.el (require-final-newline): Allow safe local value.
13507 2013-07-09 Leo Liu <sdl.web@gmail.com>
13509 * ido.el (ido-read-directory-name): Handle fallback.
13510 (ido-read-file-name): Update DIR to ido-current-directory.
13512 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
13514 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
13516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13517 "autoload". Remove "warn lower camel case" section, previously
13518 commented out. Highlight negation char. Do not highlight the
13519 target in singleton method definitions.
13521 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13523 * faces.el (tty-setup-hook): Declare the hook.
13525 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13526 and detect when a guard/pred depends on local vars (bug#14773).
13527 (pcase--u1): Adjust caller.
13529 2013-07-08 Eli Zaretskii <eliz@gnu.org>
13531 * simple.el (line-move-partial, line-move): Account for
13533 (line-move-partial): Avoid setting vscroll when the last
13534 partially-visible line in window is of default height.
13536 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13538 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13541 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
13543 * subr.el (read-quoted-char): Remove unused local variable `char'.
13545 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
13547 * vc/ediff.el (ediff-version): Version update.
13548 (ediff-files-command, ediff3-files-command, ediff-merge-command)
13549 (ediff-merge-with-ancestor-command, ediff-directories-command)
13550 (ediff-directories3-command, ediff-merge-directories-command)
13551 (ediff-merge-directories-with-ancestor-command): New functions.
13552 All are command-line interfaces to ediff: to facilitate calling
13553 Emacs with the appropriate ediff functions invoked.
13555 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13557 (viper-save-kill-buffer): Check if buffer is modified.
13559 * emulation/viper.el (viper-version): Version update.
13560 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13562 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
13564 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13565 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13566 (viper-intercept-ESC-key): Simplify.
13567 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13569 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13570 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13571 (viper-setup-ESC-to-escape): New functions.
13572 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13573 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
13575 2013-07-07 Eli Zaretskii <eliz@gnu.org>
13577 * simple.el (default-font-height, window-screen-lines):
13579 (line-move, line-move-partial): Use them instead of
13580 frame-char-height and window-text-height. This makes scrolling
13581 text smoother when the buffer's default face uses a font that is
13582 different from the frame's default font.
13584 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
13586 * files.el (write-file): Do not display confirm dialog for NS,
13587 it does its own dialog, which can't be canceled (Bug#14578).
13589 2013-07-06 Eli Zaretskii <eliz@gnu.org>
13591 * simple.el (line-move-partial): Adjust the row returned by
13592 posn-at-point for the current window-vscroll. (Bug#14567)
13594 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
13596 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13597 (tramp-sh-file-inotifywait-process-filter): Handle file names with
13600 2013-07-06 Martin Rudalics <rudalics@gmx.at>
13602 * window.el (window-state-put-stale-windows): New variable.
13603 (window--state-put-2): Save list of windows without matching buffer.
13604 (window-state-put): Remove "bufferless" windows if possible.
13606 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
13608 * simple.el (alternatives-define): Remove leftover :group keyword.
13611 2013-07-06 Leo Liu <sdl.web@gmail.com>
13613 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13614 (ido-enable-virtual-buffers): New variable.
13615 (ido-buffer-internal, ido-toggle-virtual-buffers)
13616 (ido-make-buffer-list): Use it.
13617 (ido-exhibit): Support turning on and off virtual buffers
13620 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
13622 * simple.el (alternatives-define): New macro.
13624 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
13626 * subr.el (read-quoted-char): Use read-key.
13627 (sit-for): Let read-event decode tty input (bug#14782).
13629 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
13631 * calendar/todo-mode.el: Add handling of file deletion, both by
13632 mode command and externally. Fix various related bugs.
13633 Clarify Commentary and improve some documentation strings and code.
13634 (todo-delete-file): New command.
13635 (todo-check-file): New function.
13636 (todo-show): Handle external deletion of the file we're trying to
13637 show (bug#14688). Replace called-interactively-p by an optional
13638 prefix argument to avoid problematic interaction with catch form
13639 when byte compiled (bug#14702).
13640 (todo-quit): Handle external deletion of the archive's todo file.
13641 Make sure the buffer that was visiting the archive file is still
13642 live before trying to bury it.
13643 (todo-category-completions): Handle external deletion of any
13644 category completion files.
13645 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13646 of todo files, in case of external deletion.
13647 (todo-add-file): Replace unnecessary setq by let-binding.
13648 (todo-find-archive): Check whether there are any archives.
13649 Replace unnecessary setq by let-binding.
13650 (todo-archive-done-item): Use find-file-noselect to get the
13651 archive buffer whether or not the archive already exists.
13652 Remove superfluous code. Use file size instead of buffer-file-name to
13653 check if the archive is new; if it is, update list of archives.
13654 (todo-default-todo-file): Allow nil to be a valid value for when
13655 there are no todo files.
13656 (todo-reevaluate-default-file-defcustom): Use corrected definition
13657 of todo-default-todo-file.
13658 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13659 (todo-delete-category, todo-show-categories-table)
13660 (todo-category-number): Clarify comment.
13661 (todo-filter-items): Clarify documentation string.
13662 (todo-show-current-file, todo-display-as-todo-file)
13663 (todo-reset-and-enable-done-separator): Tweak documentation string.
13664 (todo-done-separator): Make separator length window-width, since
13665 bug#2749 is now fixed.
13667 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
13669 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13670 Support both "gvfs-monitor-dir" and "inotifywait".
13671 (tramp-sh-file-inotifywait-process-filter): Rename from
13672 `tramp-sh-file-notify-process-filter'.
13673 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13674 (tramp-get-remote-gvfs-monitor-dir): New defuns.
13676 2013-07-05 Leo Liu <sdl.web@gmail.com>
13678 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13680 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13682 * frame.el (display-pixel-height, display-pixel-width)
13683 (display-mm-height, display-mm-width): Mention behavior on
13684 multi-monitor setups in docstrings.
13685 (w32-display-monitor-attributes-list): Declare function.
13686 (display-monitor-attributes-list): Use it.
13688 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
13690 * filenotify.el: New package.
13692 * autorevert.el (top): Require filenotify.el.
13693 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
13695 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13696 (auto-revert-notify-handler): Use `file-notify-*' functions.
13698 * subr.el (file-notify-handle-event): Move function to filenotify.el.
13700 * net/tramp.el (tramp-file-name-for-operation):
13701 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13703 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13704 for `file-notify-add-watch' and `file-notify-rm-watch'.
13705 (tramp-process-sentinel): Improve trace.
13706 (tramp-sh-handle-file-notify-add-watch)
13707 (tramp-sh-file-notify-process-filter)
13708 (tramp-sh-handle-file-notify-rm-watch)
13709 (tramp-get-remote-inotifywait): New defuns.
13711 2013-07-03 Juri Linkov <juri@jurta.org>
13713 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13714 call of `occur-read-primary-args' to interactive spec.
13716 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13717 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
13719 2013-07-03 Matthias Meulien <orontee@gmail.com>
13721 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13722 `Buffer-menu-multi-occur'. Add it to the menu.
13723 (Buffer-menu-mode): Document it in docstring.
13724 (Buffer-menu-multi-occur): New command. (Bug#14673)
13726 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
13728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13729 keywords and built-ins.
13731 2013-07-03 Glenn Morris <rgm@gnu.org>
13733 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
13735 Make info-xref checks case-sensitive by default
13736 * info.el (Info-find-node, Info-find-in-tag-table)
13737 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13738 Add option for exact case matching of nodes.
13739 * info-xref.el (info-xref): New custom group.
13740 (info-xref-case-fold): New option.
13741 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13743 2013-07-03 Leo Liu <sdl.web@gmail.com>
13745 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13747 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
13749 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13750 middle of block statement initially, lower the depth. Remove
13751 FIXME comment, not longer valid. Remove middle of block statement
13752 detection, no need to do that anymore since we've been using
13753 `ruby-parse-region' here.
13755 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
13757 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13759 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
13761 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13763 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
13765 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13766 (desktop-restore-in-current-display): New customization option.
13767 (desktop--excluded-frame-parameters): Add `font'.
13768 (desktop--save-frames): Rename from desktop--save-windows.
13769 (desktop--restore-in-this-display-p): New function.
13770 (desktop--make-full-frame): Remove unwanted width/height from
13771 full(width|height) frames.
13772 (desktop--restore-frames): Rename from desktop--restore-windows.
13773 Obey desktop-restore-current-display. Do not delete old frames or
13774 select a new frame unless we were able to restore at least one frame.
13776 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
13778 * files.el (find-file-noselect): Simplify conditional expression.
13780 * textmodes/remember.el (remember-append-to-file):
13781 Don't mix `find-buffer-visiting' and `get-file-buffer'.
13783 Add `remember-notes' function to store random notes across Emacs
13785 * textmodes/remember.el (remember-data-file): Add :set callback to
13786 affect notes buffer (if any).
13787 (remember-notes): New command.
13788 (remember-notes-buffer-name, bury-remember-notes-on-kill):
13789 New defcustoms for the `remember-notes' function.
13790 (remember-notes-save-and-bury-buffer): New command.
13791 (remember-notes-mode-map): New variable.
13792 (remember-mode): New minor mode.
13793 (remember-notes--kill-buffer-query): New function.
13794 * startup.el (initial-buffer-choice): Add notes to custom type.
13796 2013-06-30 Eli Zaretskii <eliz@gnu.org>
13798 * bindings.el (right-char, left-char): Don't call sit-for, this is
13799 no longer needed. Use arithmetic comparison only for numerical
13802 * international/mule-cmds.el (select-safe-coding-system):
13803 Handle the case of FROM being a string correctly. (Bug#14755)
13805 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13807 * net/shr.el (shr-make-table-1): Add a sanity check that allows
13808 progression on degenerate tables.
13809 (shr-rescale-image): ImageMagick animated images currently don't work.
13811 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
13813 Some fixes and improvements for desktop frame restoration.
13814 It is still experimental and disabled by default.
13815 * desktop.el (desktop--save-windows): Put the selected frame at
13816 the head of the list.
13817 (desktop--make-full-frame): New function.
13818 (desktop--restore-windows): Try to re-select the frame that was
13819 selected upon saving. Do not abort if some frames fail to restore,
13820 just show an error message and continue. Set up maximized frames
13821 so they have default non-maximized dimensions.
13823 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
13825 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13826 Don't start heredoc inside a string or comment.
13828 2013-06-29 Eli Zaretskii <eliz@gnu.org>
13830 * bindings.el (visual-order-cursor-movement): New defcustom.
13831 (right-char, left-char): Provide visual-order cursor motion by
13832 calling move-point-visually. Update the doc strings.
13834 2013-06-28 Kenichi Handa <handa@gnu.org>
13836 * international/mule.el (define-coding-system): New coding system
13837 properties :inhibit-null-byte-detection,
13838 :inhibit-iso-escape-detection, and :prefer-utf-8.
13839 (set-buffer-file-coding-system): If :charset-list property of
13840 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13841 appropriate for setting.
13843 * international/mule-cmds.el (select-safe-coding-system):
13844 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13845 multibyte characters, return utf-8 (or one of its siblings).
13847 * international/mule-conf.el (prefer-utf-8): New coding system.
13848 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13851 2013-06-28 Ivan Kanis <ivan@kanis.fr>
13853 * net/shr.el (shr-render-region): New function.
13855 * net/eww.el: Autoload `eww-browse-url'.
13857 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
13859 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13860 Adapt to `package-desc-version' being a list.
13861 Use `package--ac-desc-version' to retrieve version from a package
13864 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
13866 New experimental feature to save&restore window and frame setup.
13867 * desktop.el (desktop-save-windows): New defcustom.
13868 (desktop--saved-states): New var.
13869 (desktop--excluded-frame-parameters): New defconst.
13870 (desktop--filter-frame-parms, desktop--find-frame-in-display)
13871 (desktop--restore-windows, desktop--save-windows): New functions.
13872 (desktop-save): Call `desktop--save-windows'.
13873 (desktop-read): Call `desktop--restore-windows'.
13875 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13877 * net/shr.el (add-face-text-property): Remove compat definition.
13879 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
13881 * info.el (Info-try-follow-nearest-node): Move search for footnote
13882 above search for node name to prevent missing a footnote (bug#14717).
13884 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
13886 * obsolete/otodo-mode.el: Add obsolescence info to file header.
13888 2013-06-27 Leo Liu <sdl.web@gmail.com>
13890 * net/eww.el (eww-read-bookmarks): Check file size.
13892 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
13894 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13895 advice--pending if newdef is nil or an autoload (bug#13820).
13896 (advice-mapc): New function.
13898 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13900 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13902 (eww-mode-map): Add a menu bar.
13903 (eww-add-bookmark): New command.
13904 (eww-bookmark-mode): New mode and commands.
13905 (eww-add-bookmark): Remove newlines from the title.
13906 (eww-bookmark-browse): Don't bug out if it's the only window.
13908 2013-06-26 Glenn Morris <rgm@gnu.org>
13910 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13911 (hfy-size): Handle ttys. (Bug#14668)
13913 * info-xref.el: Update for Texinfo 5 change in *note format.
13914 (info-xref-node-re, info-xref-note-re): New constants.
13915 (info-xref-check-buffer): Use info-xref-note-re.
13917 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
13919 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13921 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13922 nil terminate the loop (bug#14718).
13924 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13926 * net/eww.el: Rework history traversal. When going forward/back,
13927 put these actions into the history, too, so that they can be
13929 (eww-render): Move the history reset to the correct buffer.
13931 2013-06-25 Juri Linkov <juri@jurta.org>
13933 * files-x.el (modify-dir-local-variable): Change the header comment
13934 in the file with directory local variables. (Bug#14692)
13936 * files-x.el (read-file-local-variable-value): Add `default'.
13939 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13941 * net/eww.el (eww-make-unique-file-name): Create a unique file
13942 name before saving to entering `y' accidentally asynchronously.
13944 2013-06-25 Ivan Kanis <ivan@kanis.fr>
13946 * net/eww.el (eww-download): New command and keystroke.
13948 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13950 * net/eww.el (eww-copy-page-url): Change name of command.
13952 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13953 be more consistent with Info and dired.
13955 * net/eww.el (eww-mode-map): Ditto.
13957 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
13960 packages from archives.
13961 (package-archive-contents): Change format; include obsolete packages.
13962 (package-desc): Use `dir' to mark builtin packages.
13963 (package--from-builtin): Set the `dir' field to `builtin'.
13964 (generated-autoload-file, version-control): Declare.
13965 (package-compute-transaction): Change first arg and return value to be
13966 lists of package-descs. Adjust to new package-archive-contents format.
13967 (package--add-to-archive-contents): Adjust to new
13968 package-archive-contents format.
13969 (package-download-transaction): Arg is now a list of package-descs.
13970 (package-install): If `pkg' is a package name, pass it as
13971 a requirement, so it is subject to the usual (e.g. disabled) checks.
13972 (describe-package): Accept package-desc as well.
13973 (describe-package-1): Describe a specific package-desc. Add links to
13974 other package-descs for the same package name.
13975 (package-menu-describe-package): Pass the actual package-desc.
13976 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13978 (package-desc-status): New function.
13979 (package-menu--refresh): New function, extracted
13980 from package-menu--generate.
13981 (package-menu--generate): Use it.
13982 (package-delete): Update package-alist.
13983 (package-menu-execute): Don't call package-initialize.
13985 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13986 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13987 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13988 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13989 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13990 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13992 2013-06-25 Martin Rudalics <rudalics@gmx.at>
13994 * window.el (window--state-get-1): Workaround for bug#14527.
13995 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13997 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13999 * net/eww.el (eww-back-url): Implement the history by stashing all
14000 the data into a list.
14001 (eww-forward-url): Allow going forward in the history, too.
14003 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14005 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14006 for values and use read--expression for expressions (bug#14710).
14007 (read-file-local-variable): Avoid setq.
14008 (read-file-local-variable-mode): Use minor-mode-list.
14010 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14012 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14015 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14017 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14018 Update imenu-support when dialect changes.
14020 2013-06-25 Leo Liu <sdl.web@gmail.com>
14022 * ido.el (ido-read-internal): Allow forward slash on windows.
14024 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14026 * net/eww.el (eww): Start of strings is \\`, not ^.
14028 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14030 * net/shr.el (shr-browse-url): Fix interactive spec.
14032 * net/eww.el (eww): Add a trailing slash to domain names.
14034 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14036 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14038 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14040 * net/shr.el (shr-browse-url): Use an external browser if given a
14043 * net/eww.el (eww-external-browser): Move to shr.
14045 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14047 * net/eww.el (eww): Work more correctly for file: URLs.
14048 (eww-detect-charset): Allow quoted charsets.
14049 (eww-yank-page-url): New command and keystroke.
14051 2013-06-24 Daiki Ueno <ueno@gnu.org>
14053 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14054 file name of gpg executable.
14055 (epg-context-program): New function.
14056 (epg-context-home-directory): New function.
14057 (epg-context-set-program): New function.
14058 (epg-context-set-home-directory): New function.
14059 (epg--start): Use `epg-context-program' instead of
14061 (epg--list-keys-1): Likewise.
14063 2013-06-24 Leo Liu <sdl.web@gmail.com>
14065 * ido.el (ido-read-internal): Fix bug#14620.
14067 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14069 * faces.el (face-documentation): Simplify.
14070 (read-face-attribute, tty-find-type, x-resolve-font-name):
14071 Use `string-match-p'.
14072 (list-faces-display): Use `string-match-p'. Simplify.
14073 (face-spec-recalc): Check face to avoid face alias loops.
14074 (read-color): Use `string-match-p' and non-capturing parenthesis.
14076 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14078 * net/shr.el (shr-rescale-image): Use the new
14079 :max-width/:max-height functionality.
14081 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14083 * net/eww.el (eww-search-prefix): New variable.
14085 (eww-external-browser): New variable.
14086 (eww-mode-map): New keystroke.
14087 (eww-browse-with-external-browser): New command.
14089 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14091 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14093 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14094 Don't skip aligning the next header field when padding is 0;
14095 otherwise, field width is not respected unless the title is as
14098 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14100 * emacs-lisp/package.el (package-el-version): Remove.
14101 (package-process-define-package): Fix inf-loop.
14102 (package-install): Allow symbols as arguments again.
14104 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14106 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14107 add some more keyword-like methods.
14108 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14110 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
14112 * bs.el (bs-buffer-show-mark): Make defvar-local.
14113 (bs-mode): Use setq-local.
14115 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14116 (emacs-lock--try-unlocking): Make defvar-local.
14118 2013-06-22 Glenn Morris <rgm@gnu.org>
14120 * play/cookie1.el (cookie-apropos): Minor simplification.
14122 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14124 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14126 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14127 `regexp-opt', it breaks the build during dumping.
14129 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
14131 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14132 Highlight keyword-like methods on Kernel and Module with
14133 font-lock-builtin-face.
14134 (auto-mode-alist): Consolidate different entries into one regexp
14135 and add more *file-s.
14137 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
14139 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14141 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14142 (diary-entry): Use it in the action of this button type instead of
14145 * calendar/todo-mode.el: New version.
14146 (todo-add-category): Append new category to end of file and give
14147 it the highest number, instead of putting it at the beginning and
14148 giving it 0. Incorporate noninteractive functionality.
14149 (todo-forward-category): Adapt to 1-based category numbering.
14150 Allow skipping over archived categories.
14151 (todo-backward-category): Derive from todo-forward-category.
14152 (todo-backward-item, todo-forward-item): Make noninteractive and
14153 delegate interactive part to new commands. Make sensitive to done items.
14154 (todo-categories): Make value an alist of category names and
14155 vectors of item counts.
14156 (todo-category-beg): Make a defconst.
14157 (todo-category-number): Use 1 instead of 0 as initial value.
14158 (todo-category-select): Make sensitive to overlays, optional item
14159 highlighting and done items.
14160 (todo-delete-item): Make sensitive to overlays and marked and done items.
14161 (todo-edit-item): Make sensitive to overlays and editing of
14162 date/time header optional. Add format checks.
14163 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
14164 no-op if point is not on an item. Advertise using todo-edit-quit.
14165 (todo-edit-mode): Make sensitive to new format, font-locking, and
14166 multiple todo files.
14167 (todo-insert-item, todo-insert-item-here): Derive from
14168 todo-basic-insert-item and extend functionality.
14169 (todo-item-end, todo-item-start): Make sensitive to done items.
14170 (todo-item-string): Don't return text properties. Restore point.
14171 (todo-jump-to-category): Make sensitive to multiple todo files and
14172 todo archives. Use extended category completion.
14173 (todo-lower-item, todo-raise-item): Rename to *-priority and
14174 derive from todo-set-item-priority.
14175 (todo-mode): Derive from special-mode. Make sensitive to new
14176 format, font-locking and multiple todo files. Make read-only.
14177 (todo-mode-map): Don't suppress digit keys, so they can supply
14178 prefix arguments. Add many new key bindings.
14179 (todo-prefix): Insert as an overlay instead of file text.
14180 Change semantics from diary date expression to purely visual mark.
14181 (todo-print): Rename to todo-print-buffer. Make buffer display
14182 features printable. Remove option to restrict number of items
14183 printed. Add option to print to file.
14184 (todo-print-function): Rename to todo-print-buffer-function.
14185 (todo-quit): Extend to handle exiting new todo modes.
14186 (todo-remove-item): Make sensitive to overlays.
14187 (todo-save): Extend to buffers of filtered items.
14188 (todo-show): Make sensitive to done items, multiple todo files and
14189 new todo modes. Offer to convert legacy todo file before creating
14190 first new todo file.
14191 (todo-show-priorities): Rename to todo-top-priorities.
14192 Change semantics of value 0.
14193 (todo-top-priorities): Rename to todo-filter-top-priorities,
14194 derive from todo-filter-items and extend functionality.
14195 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14196 and extend functionality to other types of filtered items.
14197 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14198 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14199 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14200 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14201 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14202 (todo-edit-mode-hook, todo-entry-prefix-function)
14203 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14204 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14205 (todo-initials, todo-insert-threshold, todo-item-string-start)
14206 (todo-line-string, todo-menu, todo-mode-hook)
14207 (todo-more-important-p, todo-previous-answer, todo-previous-line)
14208 (todo-print-priorities, todo-remove-separator)
14209 (todo-save-top-priorities-too, todo-string-count-lines)
14210 (todo-string-multiline-p, todo-time-string-format)
14211 (todo-tmp-buffer-name): Remove.
14212 (todo-add-file, todo-archive-done-item, todo-choose-archive)
14213 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14214 (todo-edit-category-diary-inclusion)
14215 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14216 (todo-edit-file, todo-edit-item-date-day)
14217 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14218 (todo-edit-item-date-month, todo-edit-item-date-to-today)
14219 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14220 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14221 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14222 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14223 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14224 (todo-filter-top-priorities-multifile, todo-find-archive)
14225 (todo-find-filtered-items-file, todo-go-to-source-item)
14226 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14227 (todo-jump-to-archive-category, todo-lower-category)
14228 (todo-mark-category, todo-marked-item-p, todo-merge-category)
14229 (todo-move-category, todo-move-item, todo-next-button)
14230 (todo-next-item, todo-padded-string, todo-powerset)
14231 (todo-previous-button, todo-previous-item)
14232 (todo-print-buffer-to-file, todo-raise-category)
14233 (todo-rename-category, todo-repair-categories-sexp, todo-search)
14234 (todo-set-category-number, todo-set-item-priority)
14235 (todo-set-top-priorities-in-category)
14236 (todo-set-top-priorities-in-file, todo-show-categories-table)
14237 (todo-sort-categories-alphabetically-or-numerically)
14238 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14239 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14240 (todo-toggle-item-header, todo-toggle-item-highlighting)
14241 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14242 (todo-toggle-view-done-items, todo-toggle-view-done-only)
14243 (todo-unarchive-items, todo-unmark-category): New commands.
14244 (todo-absolute-file-name, todo-add-to-buffer-list)
14245 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14246 (todo-basic-insert-item, todo-category-completions)
14247 (todo-category-number, todo-category-string-matcher-1)
14248 (todo-category-string-matcher-2, todo-check-filtered-items-file)
14249 (todo-check-format, todo-clear-matches)
14250 (todo-comment-string-matcher, todo-convert-legacy-date-time)
14251 (todo-current-category, todo-date-string-matcher)
14252 (todo-define-insertion-command, todo-diary-expired-matcher)
14253 (todo-diary-goto-entry, todo-diary-item-p)
14254 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14255 (todo-display-categories, todo-display-sorted, todo-done-item-p)
14256 (todo-done-item-section-p, todo-done-separator)
14257 (todo-done-string-matcher, todo-files, todo-filter-items)
14258 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14259 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14260 (todo-insert-category-line, todo-insert-item-from-calendar)
14261 (todo-insert-sort-button, todo-insert-with-overlays)
14262 (todo-insertion-command-name, todo-insertion-key-bindings)
14263 (todo-label-to-key, todo-longest-category-name-length)
14264 (todo-make-categories-list, todo-mode-external-set)
14265 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14266 (todo-modes-set-3, todo-multiple-filter-files)
14267 (todo-nondiary-marker-matcher, todo-prefix-overlays)
14268 (todo-read-category, todo-read-date, todo-read-dayname)
14269 (todo-read-file-name, todo-read-time)
14270 (todo-reevaluate-category-completions-files-defcustom)
14271 (todo-reevaluate-default-file-defcustom)
14272 (todo-reevaluate-filelist-defcustoms)
14273 (todo-reevaluate-filter-files-defcustom)
14274 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14275 (todo-reset-done-separator, todo-reset-done-separator-string)
14276 (todo-reset-done-string, todo-reset-global-current-todo-file)
14277 (todo-reset-highlight-item, todo-reset-nondiary-marker)
14278 (todo-reset-prefix, todo-set-categories)
14279 (todo-set-date-from-calendar, todo-set-show-current-file)
14280 (todo-set-top-priorities, todo-short-file-name)
14281 (todo-show-current-file, todo-sort, todo-time-string-matcher)
14282 (todo-total-item-counts, todo-update-buffer-list)
14283 (todo-update-categories-display, todo-update-categories-sexp)
14284 (todo-update-count, todo-validate-name, todo-y-or-n-p):
14286 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14288 (todo-categories, todo-display, todo-edit, todo-faces)
14289 (todo-filtered): New defgroups.
14290 (todo-archived-only, todo-button, todo-category-string, todo-date)
14291 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14292 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14293 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14294 (todo-add-item-if-new-category, todo-always-add-time-string)
14295 (todo-categories-align, todo-categories-archived-label)
14296 (todo-categories-category-label, todo-categories-diary-label)
14297 (todo-categories-done-label, todo-categories-number-separator)
14298 (todo-categories-todo-label, todo-categories-totals-label)
14299 (todo-category-completions-files, todo-completion-ignore-case)
14300 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14301 (todo-done-separator-string, todo-done-string)
14302 (todo-files-function, todo-filter-done-items, todo-filter-files)
14303 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14304 (todo-initial-category, todo-initial-file, todo-item-mark)
14305 (todo-legacy-date-time-regexp, todo-mode-line-function)
14306 (todo-nondiary-marker, todo-number-prefix)
14307 (todo-print-buffer-function, todo-show-current-file)
14308 (todo-show-done-only, todo-show-first, todo-show-with-done)
14309 (todo-skip-archived-categories, todo-top-priorities-overrides)
14310 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14311 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14313 (todo-category-done, todo-date-pattern, todo-date-string-start)
14314 (todo-diary-items-buffer, todo-done-string-start)
14315 (todo-filtered-items-buffer, todo-item-start)
14316 (todo-month-abbrev-array, todo-month-name-array)
14317 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14318 (todo-top-priorities-buffer): New defconsts.
14319 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14320 (todo-categories-with-marks, todo-category-string-face)
14321 (todo-comment-face, todo-comment-string, todo-current-todo-file)
14322 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14323 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14324 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14325 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14326 (todo-font-lock-keywords, todo-global-current-todo-file)
14327 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14328 (todo-insertion-commands-args)
14329 (todo-insertion-commands-args-genlist)
14330 (todo-insertion-commands-names, todo-insertion-map)
14331 (todo-key-bindings-t, todo-key-bindings-t+a)
14332 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14333 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14334 (todo-nondiary-face, todo-print-buffer, todo-time-face)
14335 (todo-visited): New variables.
14337 2013-06-21 Glenn Morris <rgm@gnu.org>
14339 * play/cookie1.el (cookie-apropos): Add optional display argument.
14340 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14341 (psychoanalyze-pinhead): Use cookie-doctor.
14343 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14345 * emacs-lisp/package.el (tar-get-file-descriptor)
14346 (tar--extract): Declare.
14348 2013-06-21 Eduard Wiebe <usenet@pusto.de>
14350 Extend flymake's warning predicate to be a function (bug#14217).
14351 * progmodes/flymake.el (flymake-warning-predicate): New.
14352 (flymake-parse-line): Use it.
14353 (flymake-warning-re): Make obsolete alias to
14354 `flymake-warning-predicate'.
14356 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14358 * emacs-lisp/package.el (package-alist): Include obsolete packages.
14359 (package-obsolete-list): Remove.
14360 (package-activate): Remove min-version argument. Add `force' argument.
14361 Adjust to new package-alist format.
14362 (package-mark-obsolete): Remove.
14363 (package-unpack): Force reload of the package's autoloads.
14364 (package-installed-p): Check builtins if the installed package is not
14366 (package-initialize): Don't reset package-obsolete-list.
14367 Don't specify which package version to activate.
14368 (package-process-define-package, describe-package-1)
14369 (package-menu--generate): Adjust to new package-alist format.
14371 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14373 * allout-widgets.el (allout-widgets-mode-off)
14374 (allout-widgets-mode-on, allout-widgets-pre-command-business)
14375 (allout-widgets-post-command-business)
14376 (allout-widgets-after-copy-or-kill-function)
14377 (allout-widgets-after-undo-function, allout-test-range-overlaps)
14378 (allout-decorate-item-and-context)
14379 (allout-graphics-modification-handler): Fix typos in docstrings.
14380 (allout-get-or-create-parent-widget): Use `looking-at-p'.
14382 * cmuscheme.el (scheme-start-file): Doc fix.
14383 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14384 (scheme-input-filter): Use `string-match-p'.
14386 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14388 * dired-x.el: Use Dired consistently in docstrings.
14390 * dired.el: Use Dired consistently in docstrings.
14391 (dired-readin, dired-mode): Use `setq-local'.
14392 (dired-switches-alist): Make defvar-local.
14393 (dired-buffers-for-dir): Use `zerop'.
14394 (dired-safe-switches-p, dired-switches-escape-p)
14395 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14396 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14397 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14398 (dired-goto-next-nontrivial-file): Use `string-match-p'.
14399 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14400 (dired-toggle-marks, dired-mark-files-containing-regexp)
14401 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14402 (dired-flag-auto-save-files, dired-flag-backup-files):
14403 Use `looking-at-p'.
14404 (dired-mark-files-regexp, dired-build-subdir-alist):
14405 Use `string-match-p', `looking-at-p'.
14407 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14408 (direct-print-region-helper): Use `string-match-p'.
14410 2013-06-21 Leo Liu <sdl.web@gmail.com>
14412 * comint.el (comint-redirect-results-list-from-process):
14415 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14417 * net/eww.el (eww-update-header-line-format): Quote % characters.
14419 2013-06-21 Glenn Morris <rgm@gnu.org>
14421 * play/cookie1.el (cookie): New custom group.
14422 (cookie-file): New option.
14423 (cookie-check-file): New function.
14424 (cookie): Make it interactive. Make start and end messages optional.
14425 Interactively, display the result. Default to cookie-file.
14426 (cookie-insert): Default to cookie-file.
14427 (cookie-snarf): Make start and end messages optional.
14428 Default to cookie-file. Use with-temp-buffer.
14429 (cookie-read): Rename from read-cookie.
14430 Make start and end messages optional. Default to cookie-file.
14431 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
14432 Do not autoload it.
14433 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14434 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14436 2013-06-21 Leo Liu <sdl.web@gmail.com>
14438 * progmodes/octave.el (octave-mode): Backward compatibility fix.
14440 2013-06-21 Glenn Morris <rgm@gnu.org>
14442 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14444 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14445 Daniel Hackney <dan@haxney.org>
14447 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14448 Consolidate the single-file vs tarball code.
14449 (package-desc-suffix): New function.
14450 (package-desc-full-name): Don't bother inlining it.
14451 (package-load-descriptor): Return the new package-desc.
14452 (package-mark-obsolete): Remove unused arg `package'.
14453 (package-unpack): Make it work for single files as well.
14454 Make it update package-alist.
14455 (package--make-autoloads-and-stuff): Rename from
14456 package--make-autoloads-and-compile. Don't compile any more.
14457 (package--compile): New function.
14458 (package-generate-description-file): New function, extracted from
14459 package-unpack-single.
14460 (package-unpack-single): Remove.
14461 (package--with-work-buffer): Add indentation and debugging info.
14462 (package-download-single): Remove.
14463 (package-install-from-archive): Rename from package-download-tar, make
14464 it take a pkg-desc, and make it work for single files as well.
14465 (package-download-transaction): Simplify.
14466 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
14467 external tar program.
14468 (package-install-from-buffer): Remove `pkg-desc' argument.
14469 Use package-tar-file-info for tar-mode buffers.
14470 (package-install-file): Simplify accordingly.
14471 (package-archive-base): Change to take a pkg-desc.
14472 * tar-mode.el (tar--check-descriptor): New function, extracted from
14473 tar-get-descriptor.
14474 (tar-get-descriptor): Use it.
14475 (tar-get-file-descriptor): New function.
14476 (tar--extract): New function, extracted from tar-extract.
14477 (tar--extract): Use it.
14478 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14479 case the summary uses non-ascii. Adjust to new calling convention of
14480 package-tar-file-info.
14482 2013-06-21 Leo Liu <sdl.web@gmail.com>
14484 * comint.el (comint-redirect-results-list-from-process):
14485 Fix random delay. (Bug#14681)
14487 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14489 * profiler.el (profiler-format-number): Use log, not log10.
14491 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14493 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14495 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14497 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14498 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14500 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14501 (AUTOGENEL): ... here.
14502 * emacs-lisp/cl-macs.el (cl--sublis): New function.
14503 (cl--defsubst-expand): Use it.
14505 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
14507 * subr.el (log10): Move here from C code, and declare as obsolete.
14508 All uses of (log10 X) replaced with (log X 10).
14510 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14512 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14513 Declare with `defvar-local'.
14514 (tabulated-list-use-header-line, tabulated-list-entries)
14515 (tabulated-list-padding, tabulated-list-printer)
14516 (tabulated-list-sort-key): Declare with `defvar-local'.
14517 (tabulated-list-init-header, tabulated-list-print-fake-header):
14520 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
14522 * arc-mode.el (archive-mode): Add `archive-write-file' to
14523 `write-contents-functions' also for remote files. (Bug#14652)
14525 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14527 * cus-edit.el (custom-commands): Fix typos.
14528 (custom-display): Fix tooltip text.
14529 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14530 Fix typos in docstrings.
14531 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14532 (custom-unlispify-menu-entry, custom-magic-value-create)
14533 (custom-add-see-also, custom-group-value-create): Use ?\s.
14534 (custom-guess-type, customize-apropos, editable-field)
14535 (custom-face-value-create): Use `string-match-p'.
14536 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14538 * custom.el (custom-load-symbol): Use `string-match-p'.
14540 * ansi-color.el: Convert to lexical binding.
14541 (ansi-colors): Fix URL.
14542 (ansi-color-context, ansi-color-context-region): Use defvar-local.
14543 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14544 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14546 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14548 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14550 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14552 2013-06-19 Tom Tromey <tromey@redhat.com>
14554 * net/eww.el (eww-top-url): Remove.
14555 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14556 (eww-render): Set new variables. Don't set eww-top-url.
14557 (eww-handle-link): Handle "prev", "home", and "contents".
14558 Downcase the rel text.
14559 (eww-top-url): Choose best top URL.
14561 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14563 * net/eww.el: Rewrite to implement form elements "by hand" instead of
14564 relying in widget.el. Using widget.el leads to too many
14565 user interface inconsistencies.
14566 (eww-self-insert): Implement entering commands in text fields.
14567 (eww-process-text-input): New function to make text input field editing
14569 (eww-submit): Rewrite to use the new-style form methods.
14570 (eww-select-display): Display the correct selected item.
14571 (eww-change-select): Implement changing the select value.
14572 (eww-toggle-checkbox): Implement radio/checkboxes.
14573 (eww-update-field): Fix compilation error.
14574 (eww-tag-textarea): Implement <textarea>.
14576 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14577 we don't shadow mode-specific bindings.
14579 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14582 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14584 2013-06-19 Glenn Morris <rgm@gnu.org>
14586 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14588 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
14590 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14593 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14595 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14597 * net/browse-url.el (browse-url-browser-function):
14598 `eww-browse-url' has the right calling signature, `eww' does not.
14600 2013-06-19 Glenn Morris <rgm@gnu.org>
14602 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14603 Only eval autoloaded macros.
14604 (byte-compile-autoload): Only give the macro warning for macros.
14606 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14607 (ps-underlined-faces): Declare.
14609 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14610 (speedbar-add-supported-extension): Declare.
14612 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14613 Don't include a date stamp in the header of the generated file;
14614 it leads to needless differences between output files.
14616 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
14618 * net/secrets.el (secrets-struct-secret-content-type):
14619 Replace check of introspection data by a test call of "CreateItem".
14620 Some servers do not offer introspection.
14622 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
14624 * electric.el (electric-pair-mode): Improve interaction with
14625 electric-layout-mode.
14626 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14627 (electric-pair-syntax): Use text-mode-syntax-table in comments
14629 (electric-pair--insert): New function.
14630 (electric-pair-post-self-insert-function): Use it and
14631 electric--after-char-pos.
14633 2013-06-19 Leo Liu <sdl.web@gmail.com>
14635 * progmodes/octave.el (octave-help): Fix regexp.
14637 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14639 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14640 (shr-table-horizontal-line): Allow nil as a value, and change the
14642 (shr-insert-table-ruler): Respect the nil value.
14644 2013-06-18 Tom Tromey <tromey@barimba>
14646 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14648 (eww-open-file): New defun.
14649 (eww-render): Initialize new variables.
14650 (eww-display-html): Handle "link" and "a".
14651 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14652 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
14653 (eww-back-url): Rename from eww-previous-url.
14654 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14657 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
14659 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14660 Distinguish ternary operator tokens from slash symbol and slash
14663 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
14665 Convert symbol prettification into minor mode and global minor mode.
14667 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14668 `prog-prettify-symbols', and make a local defvar instead of defcustom.
14669 (prettify-symbols--keywords): Rename from
14670 `prog-prettify-symbols-alist' and make a local defvar.
14671 (prettify-symbols--compose-symbol): Rename from
14672 `prog--prettify-font-lock-compose-symbol'.
14673 (prettify-symbols--make-keywords): Rename from
14674 `prog-prettify-font-lock-symbols-keywords' and simplify.
14675 (prog-prettify-install): Remove.
14676 (prettify-symbols-mode): New minor mode, based on
14677 `prog-prettify-install'.
14678 (turn-on-prettify-symbols-mode): New function.
14679 (global-prettify-symbols-mode): New globalized minor mode.
14681 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14682 * progmodes/cfengine.el (cfengine3-mode):
14683 * progmodes/perl-mode.el (perl-mode): Don't call
14684 `prog-prettify-install'; set `prettify-symbols-alist' instead.
14686 2013-06-18 Juri Linkov <juri@jurta.org>
14688 * files-x.el (modify-file-local-variable-message): New function.
14689 (modify-file-local-variable)
14690 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14691 and call `modify-file-local-variable-message' when it's non-nil.
14692 (add-file-local-variable, delete-file-local-variable)
14693 (add-file-local-variable-prop-line)
14694 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14695 and use it. (Bug#9820)
14697 2013-06-18 Juri Linkov <juri@jurta.org>
14699 * emulation/vi.el (vi-shell-op):
14700 * emulation/vip.el (vip-execute-com, ex-command):
14701 * emulation/viper-cmd.el (viper-exec-bang):
14702 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14703 the call of `shell-command-on-region'. (Bug#14637)
14705 * simple.el (shell-command-on-region): Doc fix.
14707 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14709 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14712 2013-06-18 Glenn Morris <rgm@gnu.org>
14714 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14716 * newcomment.el (comment-search-forward, comment-search-backward):
14717 Doc fix. (Bug#14376)
14719 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
14721 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14722 (buffer-face-mode-invoke): Doc fix.
14724 2013-06-18 Matthias Meulien <orontee@gmail.com>
14726 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14727 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14729 2013-06-18 Glenn Morris <rgm@gnu.org>
14731 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14732 Replace obsolete function generic-make-keywords with its expansion.
14734 * progmodes/python.el (ffap-alist): Declare.
14736 * textmodes/reftex.el (bibtex-mode-map): Declare.
14738 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14740 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14741 (package-unpack, package-unpack-single): Return the pkg-dir.
14742 (package-download-transaction): Use it to update package-alist.
14744 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14746 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14749 2013-06-17 Juri Linkov <juri@jurta.org>
14751 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14753 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
14755 * emacs-lisp/package.el (package-load-descriptor):
14756 Remove `with-syntax-table' call, `read' doesn't need it.
14757 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14759 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
14761 * startup.el (command-line): Expand package name returned by
14762 `package--description-file' (bug#14639).
14764 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
14766 * emacs-lisp/package.el (package-load-descriptor): Do not call
14767 `emacs-lisp-mode', just use its syntax table.
14769 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
14771 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14772 `font-lock-extra-managed-props' if any prettifying keyword is added.
14773 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14774 (prog-mode): Use `setq-local'.
14776 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * international/characters.el (standard-case-table): Set syntax of ?»
14779 and ?« to punctuation.
14781 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
14783 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14784 Save relevant match data before calling `syntax-ppss' (bug#14595).
14786 2013-06-15 Juri Linkov <juri@jurta.org>
14788 * files-x.el (modify-file-local-variable-prop-line): Add local
14789 variables to the end of the existing comment on the first line.
14790 Use `file-auto-mode-skip' to skip interpreter magic line,
14791 and also skip XML declaration.
14793 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14795 * startup.el (package--builtin-versions): New var.
14796 (package-subdirectory-regexp): Remove.
14797 (package--description-file): Hard code its value instead.
14799 * emacs-lisp/package.el: Don't activate packages older than builtin.
14800 (package-obsolete-list): Rename from package-obsolete-alist, and make
14801 it into a simple list of package-desc.
14802 (package-strip-version): Remove.
14803 (package-built-in-p): Use package--builtin-versions.
14804 (package-mark-obsolete): Simplify.
14805 (package-process-define-package): Mark it obsolete if older than the
14807 (package-handle-response): Use line-end-position.
14808 (package-read-archive-contents, package--download-one-archive):
14810 (package--add-to-archive-contents): Skip if older than the builtin or
14812 (package-menu-describe-package): Fix last change.
14813 (package-list-unversioned): New var.
14814 (package-menu--generate): Use it.
14816 * emacs-lisp/autoload.el: Manage package--builtin-versions.
14817 (autoload--insert-text, autoload--insert-cookie-text): New functions.
14818 (autoload-builtin-package-versions): New variable.
14819 (autoload-generate-file-autoloads): Use them.
14820 Remove the list of autoloaded functions/macros from the
14821 (autoload...) comments.
14823 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14825 2013-06-15 Eli Zaretskii <eliz@gnu.org>
14827 * simple.el (line-move-partial): Don't jump to the next screen
14828 line as soon as it becomes visible. Instead, continue enlarging
14829 the vscroll until the portion of a tall screen line that's left on
14830 display is about the height of the frame's default font.
14833 2013-06-15 Glenn Morris <rgm@gnu.org>
14835 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14836 compilation-error-regexp-alist void, or local while let-bound.
14838 * progmodes/make-mode.el (makefile-mode-syntax-table):
14839 Treat "=" as punctuation. (Bug#14614)
14841 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
14843 * help-fns.el (describe-variable):
14844 Add extra line for permanent-local variables.
14846 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
14848 * progmodes/scheme.el (scheme-font-lock-keywords-2):
14849 Add export, import, library. (Bug#9164)
14850 (library): Set indent function.
14852 2013-06-14 Glenn Morris <rgm@gnu.org>
14854 * term/xterm.el (xterm--query):
14855 Stop after first matching handler. (Bug#14615)
14857 2013-06-14 Ivan Kanis <ivan@kanis.fr>
14859 Add support for dired in saveplace.
14860 * dired.el (dired-initial-position-hook): New variable.
14861 (dired-initial-position): Call hook to place cursor position.
14862 * saveplace.el (save-place-to-alist): Add dired position.
14863 (save-place-dired-hook): New function.
14865 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
14867 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14868 through a symbol rather than letrec.
14870 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
14871 (package-desc): Add `dir' field.
14872 (package-desc-full-name): New function.
14873 (package-load-descriptor): Combine the two arguments. Don't use `load'.
14874 (package-maybe-load-descriptor): Remove.
14875 (package-load-all-descriptors): Just call package-load-descriptor.
14876 (package--disabled-p): New function.
14877 (package-desc-vers, package-desc-doc): Remove aliases.
14878 (package--dir): Remove function.
14879 (package-activate): Check if a package is disabled.
14880 (package-process-define-package): New function, extracted from
14882 (define-package): Turn into a place holder.
14883 (package-unpack-single, package-tar-file-info):
14884 Use package--description-file.
14885 (package-compute-transaction): Use package--disabled-p.
14886 (package-download-transaction): Don't call
14887 package-maybe-load-descriptor since they're all loaded anyway.
14888 (package-install): Change argument to be a pkg-desc.
14889 (package-delete): Use a single pkg-desc argument.
14890 (describe-package-1): Use package-desc-dir instead of package--dir.
14891 Use package-desc property instead of package-symbol.
14892 (package-install-button-action): Adjust accordingly.
14893 (package--push): Rewrite.
14894 (package-menu--print-info): Adjust accordingly. Change the ID format
14896 (package-menu-describe-package, package-menu-get-status)
14897 (package-menu--find-upgrades, package-menu-mark-upgrades)
14898 (package-menu-execute, package-menu--name-predicate):
14899 Adjust accordingly.
14900 * startup.el (package--description-file): New function.
14901 (command-line): Use it.
14902 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14903 Use package-desc-version.
14905 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14906 (byte-compile-preprocess): Use it.
14907 (byte-compile-file-form-defalias): Try a bit harder to use macros we
14908 can't quite recognize.
14909 (byte-compile-add-to-list): Remove.
14910 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14911 (cconv-closure-convert): Add assertion.
14913 * emacs-lisp/map-ynp.el: Use lexical-binding.
14914 (map-y-or-n-p): Remove unused vars `tail' and `object'.
14915 Factor out some repeated code.
14917 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
14919 * subr.el (with-eval-after-load): New macro.
14920 (eval-after-load): Allow form to be a function.
14921 take advantage of lexical-binding.
14922 (do-after-load-evaluation): Use dolist and adjust to new format.
14923 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14925 2013-06-13 Juri Linkov <juri@jurta.org>
14927 * replace.el (perform-replace): Display "symbol " and other search
14928 modes from `isearch-message-prefix' in the *Help* buffer.
14930 * isearch.el (isearch-query-replace): Add " symbol" and other
14931 possible search modes from `isearch-message-prefix' to the prompt.
14932 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14933 when reading a regexp to collect.
14935 2013-06-13 Juri Linkov <juri@jurta.org>
14937 * isearch.el (word-search-regexp): Match whitespace if the search
14938 string begins or ends in whitespace. The LAX arg is applied to
14939 both ends of the search string. Use `regexp-quote' and explicit
14940 \< and \> instead of \b. Use \` and \' instead of ^ and $.
14941 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14942 boundaries are replaced with symbol boundaries, and characters
14943 between symbols match non-word non-symbol syntax. (Bug#14602)
14945 2013-06-13 Juri Linkov <juri@jurta.org>
14947 * isearch.el (isearch-del-char): Don't exceed the length of
14948 `isearch-string' by the prefix arg. (Bug#14563)
14950 2013-06-13 Juri Linkov <juri@jurta.org>
14952 * isearch.el (isearch-yank-word, isearch-yank-line)
14953 (isearch-char-by-name, isearch-quote-char)
14954 (isearch-printing-char, isearch-process-search-char):
14955 Add optional count prefix arg. (Bug#14563)
14957 * international/isearch-x.el
14958 (isearch-process-search-multibyte-characters):
14959 Add optional count prefix arg.
14961 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
14963 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14964 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14967 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
14969 * subr.el (set-temporary-overlay-map): Add on-exit argument.
14971 2013-06-13 Glenn Morris <rgm@gnu.org>
14973 * startup.el (tty-handle-args):
14974 Don't just discard "--" and anything after. (Bug#14608)
14976 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14978 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
14980 Implement changes in Secret Service API. Make it backward compatible.
14981 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14982 (secrets-create-item): Use it. Prefix properties with interface.
14984 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
14986 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
14987 (term-emulate-terminal): Respect term-suppress-hard-newline.
14989 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
14991 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14992 Only remove a `thumb-file' overlay. (Bug#14548)
14994 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
14996 * mail/reporter.el (reporter-submit-bug-report):
14997 Handle missing package-name. (Bug#14600)
14999 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15001 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15002 (reftex-citation-prompt, reftex-default-bibliography)
15003 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15004 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15005 (reftex-bib-sort-author, reftex-bib-sort-year)
15006 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15007 (reftex-extract-bib-entries-from-thebibliography)
15008 (reftex-get-bibkey-default, reftex-get-bib-names)
15009 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15010 (reftex-format-bib-entry, reftex-parse-bibitem)
15011 (reftex-format-bibitem, reftex-do-citation)
15012 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15013 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15014 (reftex-insert-bib-matches, reftex-format-citation)
15015 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15016 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15017 existing comments into docstrings.
15019 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15021 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15023 2013-06-12 Andreas Schwab <schwab@suse.de>
15025 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15026 for auto-save files.
15028 2013-06-12 Glenn Morris <rgm@gnu.org>
15030 * ido.el (ido-delete-ignored-files): Remove.
15031 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15032 Go back to calling ido-ignore-item-p directly.
15034 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15036 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15038 * ido.el (ido-delete-ignored-files): New function,
15039 split from ido-make-file-list-1.
15040 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15041 (ido-make-file-list-1): Use ido-delete-ignored-files.
15043 2013-06-12 Leo Liu <sdl.web@gmail.com>
15045 * progmodes/octave.el (inferior-octave-startup)
15046 (inferior-octave-completion-table)
15047 (inferior-octave-track-window-width-change)
15048 (octave-eldoc-function-signatures, octave-help)
15049 (octave-find-definition): Use single quoted strings.
15050 (inferior-octave-startup-args): Change default value.
15051 (inferior-octave-startup): Do not hard code "-i" and
15052 "--no-line-editing".
15053 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15054 (inferior-octave-directory-tracker): Use it.
15055 (octave-goto-function-definition): Robustify.
15056 (octave-help): Support highlighting operators in 'See also'.
15057 (octave-find-definition): Find subfunctions only in Octave mode.
15059 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15061 * help-fns.el (help-fns--compiler-macro): If the handler function is
15062 named, then put a link to it.
15063 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15064 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15065 (cl-typep): Use it.
15066 (cl-eval-when): Simplify debug spec.
15067 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15068 compiler-macro function instead of setting `compiler-macro-file'.
15070 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15072 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15073 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15075 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15076 Daniel Hackney <dan@haxney.org>
15078 First part of Daniel Hackney's patch to package.el.
15079 * emacs-lisp/package.el: Use defstruct.
15080 (package-desc): New, main struct.
15081 (package--bi-desc, package--ac-desc): New structs, used to describe the
15082 format in external files.
15083 (package-desc-vers): Replace with package-desc-version accessor.
15084 (package-desc-doc): Replace with package-desc-summary accessor.
15085 (package-activate-1): Remove `package' arg since the pkg-vec now
15087 (define-package): Use package-desc-from-define.
15088 (package-unpack-single): Change file-name arg to be a symbol.
15089 (package--add-to-archive-contents): Use package-desc-create and new
15090 accessor functions to package--ac-desc.
15091 (package-buffer-info, package-tar-file-info): Return a package-desc.
15092 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15093 arg to be a package-desc.
15094 (package-install-file): Adjust accordingly. Use \' to match EOS.
15095 (package--from-builtin): New function.
15096 (describe-package-1, package-menu--generate): Use it.
15097 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15098 (package-generate-autoloads): Idem and return the name of the file.
15099 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15100 Change pkg-info arg to be a package-desc.
15101 Use package-make-ac-desc.
15102 (package-upload-file): Use \' to match EOS.
15103 * finder.el (finder-compile-keywords): Use package-make-builtin.
15105 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15107 * vc/vc.el (vc-deduce-fileset): Change error message.
15108 (vc-read-backend): New function.
15109 (vc-next-action): Use it.
15111 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15113 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15114 (prolog-font-lock-keywords): Use regexp-opt instead.
15115 Don't manually highlight strings.
15116 (prolog-mode-variables): Simplify comment-start-skip.
15117 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
15119 * emacs-lisp/generic.el (generic--normalise-comments)
15120 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15121 (generic-mode-set-comments): Use them.
15122 (generic-bracket-support): Use setq-local.
15123 (generic-make-keywords-list): Declare obsolete.
15125 2013-06-11 Glenn Morris <rgm@gnu.org>
15127 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15128 Prettify after setting font-lock-defaults. (Bug#14574)
15130 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
15132 * replace.el (query-replace, occur-read-regexp-defaults-function)
15134 * subr.el (declare-function, number-sequence, local-set-key)
15135 (substitute-key-definition, locate-user-emacs-file)
15136 (with-silent-modifications, split-string, eval-after-load):
15137 Fix typos, remove unneeded backslashes and reflow some docstrings.
15139 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15141 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15142 default for Elisp files.
15144 2013-06-11 Glenn Morris <rgm@gnu.org>
15146 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15147 although define-derived-mode was doing this anyway. (Bug#14583)
15149 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
15151 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15152 Fix make-variable-buffer-local call to refer to the correct variable.
15154 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
15156 * eshell/em-term.el (eshell-visual-commands)
15157 (eshell-visual-subcommands, eshell-visual-options):
15158 Add summary line to docstrings. Add cross-references.
15160 2013-06-10 Glenn Morris <rgm@gnu.org>
15162 * epa.el (epa-read-file-name): New function. (Bug#14510)
15163 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
15165 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15167 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15168 output redirection to be ignored with visual commands.
15170 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15172 * eshell/em-term.el (eshell-visual-command-p): New function.
15173 (eshell-term-initialize): Move long lambda to separate function
15174 eshell-visual-command-p.
15175 * eshell/em-dirs.el (eshell-dirs-initialize):
15176 * eshell/em-script.el (eshell-script-initialize):
15177 Add missing #' to lambda.
15179 2013-06-08 Leo Liu <sdl.web@gmail.com>
15181 * progmodes/octave.el (octave-add-log-current-defun): New function.
15182 (octave-mode): Set add-log-current-defun-function.
15183 (octave-goto-function-definition): Do not move point if not found.
15184 (octave-find-definition): Enhance to try subfunctions first.
15186 2013-06-08 Glenn Morris <rgm@gnu.org>
15188 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15189 (byte-compile-backward-char, byte-compile-backward-word):
15190 Improve previous change, to handle non-explicit nil.
15192 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
15194 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15195 (smie--opener/closer-at-point): New function.
15196 (smie--matching-block-data): Use it. Don't match from right after an
15197 opener or right before a closer. Obey smie-blink-matching-inners.
15198 Don't signal a mismatch for repeated inners like "switch..case..case".
15200 2013-06-07 Leo Liu <sdl.web@gmail.com>
15202 * progmodes/octave.el (octave-mode): Set comment-use-global-state
15204 (octave-function-header-regexp): Fix. (Bug#14570)
15205 (octave-help-mode-finish-hook, octave-help-mode-finish):
15206 Remove. Just use temp-buffer-show-hook.
15208 * newcomment.el (comment-search-backward): Revert last change.
15211 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15213 2013-06-07 Eli Zaretskii <eliz@gnu.org>
15215 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15216 through xargs, to avoid failure due to MS-Windows limitations on
15217 command-line length.
15219 2013-06-06 Glenn Morris <rgm@gnu.org>
15221 * font-lock.el (lisp-font-lock-keywords-2):
15222 Treat user-error like error.
15224 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15225 (byte-compile-backward-char, byte-compile-backward-word):
15226 Handle explicit nil arguments. (Bug#14565)
15228 2013-06-05 Alan Mackenzie <acm@muc.de>
15230 * isearch.el (isearch-allow-prefix): New user option.
15231 (isearch-other-meta-char): Don't exit isearch when a prefix
15232 argument is typed whilst `isearch-allow-prefix' is non-nil.
15235 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15237 * autorevert.el (auto-revert-notify-handler): Use memq.
15238 Hide assertion failure.
15240 * skeleton.el: Use cl-lib.
15241 (skeleton-further-elements): Use defvar-local.
15242 (skeleton-insert): Use cl-progv.
15244 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15246 * progmodes/prog-mode.el (prog-prettify-symbols)
15247 (prog-prettify-install): Update docstrings.
15249 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15251 * simple.el: Move all the prog-mode code to prog-mode.el.
15252 * progmodes/prog-mode.el: New file.
15253 * loadup.el: Add prog-mode.el.
15255 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15257 * simple.el (prog-prettify-symbols): Add version.
15258 (prog-prettify-install): Add convenience function to prettify symbols.
15260 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15261 (perl--augmented-font-lock-keywords-1)
15262 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15263 variables and use it.
15265 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15266 (cfengine3-mode): Remove unneeded variable and use it.
15268 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15269 (lisp--augmented-font-lock-keywords-1)
15270 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15271 Remove unneeded variables and use it.
15273 2013-06-05 João Távora <joaotavora@gmail.com>
15275 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15276 to point when opening the connection. (Bug#14380)
15278 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * subr.el (load-history-regexp, load-history-filename-element)
15281 (eval-after-load, after-load-functions, do-after-load-evaluation)
15282 (eval-next-after-load, display-delayed-warnings)
15283 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15284 definition of save-match-data.
15285 (overriding-local-map): Remove accidental obsolescence declaration.
15287 * emacs-lisp/edebug.el (edebug-result): Move before first use.
15289 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15291 Generalize symbol prettify support to prog-mode and implement it
15292 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15293 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15294 (prog--prettify-font-lock-compose-symbol)
15295 (prog-prettify-font-lock-symbols-keywords): New variables and
15296 functions to support symbol prettification.
15297 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15298 (lisp--augmented-font-lock-keywords-1)
15299 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15300 (lisp--prettify-symbols-alist): Implement prettify of lambda.
15301 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15302 (cfengine3--prettify-symbols-alist, cfengine3-mode):
15303 Implement prettify of -> => :: strings.
15304 * progmodes/perl-mode.el (perl-prettify-symbols)
15305 (perl--font-lock-compose-symbol)
15306 (perl--font-lock-symbols-keywords): Move to prog-mode.
15307 (perl--prettify-symbols-alist): Prettify -> => :: strings.
15308 (perl-font-lock-keywords-1)
15309 (perl-font-lock-keywords-2): Remove explicit prettify support.
15310 (perl--augmented-font-lock-keywords)
15311 (perl--augmented-font-lock-keywords-1)
15312 (perl--augmented-font-lock-keywords-2, perl-mode):
15313 Implement prettify support.
15315 2013-06-05 Leo Liu <sdl.web@gmail.com>
15317 Re-implement SMIE matching block highlight using
15318 show-paren-data-function. (Bug#14395)
15319 * emacs-lisp/smie.el (smie-matching-block-highlight)
15320 (smie--highlight-matching-block-overlay)
15321 (smie--highlight-matching-block-lastpos)
15322 (smie-highlight-matching-block)
15323 (smie-highlight-matching-block-mode): Remove.
15324 (smie--matching-block-data-cache): New variable.
15325 (smie--matching-block-data): New function.
15326 (smie-setup): Use smie--matching-block-data for
15327 show-paren-data-function.
15329 * progmodes/octave.el (octave-mode-menu): Fix.
15330 (octave-find-definition): Skip garbage lines.
15332 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15334 Fix compilation error with simultaneous dynamic+lexical scoping.
15335 Add warning when a defvar appears after the first let-binding.
15336 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15337 (byte-compile-close-variables): Initialize it.
15338 (byte-compile--declare-var): New function.
15339 (byte-compile-file-form-defvar)
15340 (byte-compile-file-form-define-abbrev-table)
15341 (byte-compile-file-form-custom-declare-variable): Use it.
15342 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
15343 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15344 (byte-compile-bind): Handle dynamic bindings that shadow
15346 (byte-compile-unbind): Make arg non-optional.
15347 (byte-compile-let): Simplify.
15348 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15349 (cconv--analyse-function, cconv-analyse-form): Populate it.
15350 Protect byte-compile-bound-variables to limit the scope of defvars.
15351 (cconv-analyse-form): Add missing rule for (defvar <foo>).
15352 Remove unneeded rule for `declare'.
15354 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15355 so as to avoid depending on cl-adjoin at run-time.
15356 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15358 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15359 (macroexp--warn-and-return): Use it.
15361 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15363 * subr.el: Convert to lexical binding.
15364 (overriding-local-map): Make obsolete.
15365 (add-to-list): Doc fix. Add compiler macro.
15366 (read-key): Swap values of local maps.
15368 2013-06-05 Leo Liu <sdl.web@gmail.com>
15370 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15372 2013-06-04 Leo Liu <sdl.web@gmail.com>
15374 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15375 (compilation-auto-jump): Suppress the "Mark set" message to give
15376 way to exit message.
15378 2013-06-04 Alan Mackenzie <acm@muc.de>
15380 Remove faulty optimisation from indentation calculation.
15381 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15382 search limit based on 2000 characters back from indent-point.
15384 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15386 * eshell/em-term.el (cl-lib): Require `cl-lib'.
15388 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
15390 * emacs-lisp/lisp.el: Use lexical-binding.
15391 (lisp--local-variables-1, lisp--local-variables): New functions.
15392 (lisp--local-variables-completion-table): New var.
15393 (lisp-completion-at-point): Use it complete let-bound vars.
15395 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15396 eagerly (bug#14422).
15398 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
15400 * autorevert.el (auto-revert-notify-enabled)
15401 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15402 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15403 (auto-revert-notify-handler): Handle also gfilenotify.
15405 * subr.el (file-notify-handle-event): New defun. Replacing ...
15406 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15409 2013-06-03 Juri Linkov <juri@jurta.org>
15411 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15412 `M-s h .'. (Bug#14427)
15414 * hi-lock.el (highlight-symbol-at-point): New alias for the new
15415 command `hi-lock-face-symbol-at-point'.
15416 (hi-lock-face-symbol-at-point): New command.
15417 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15418 (hi-lock-menu): Add `highlight-symbol-at-point'.
15419 (hi-lock-mode): Doc fix.
15421 * isearch.el (isearch-forward-symbol-at-point): New command.
15422 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15423 (isearch-highlight-regexp): Add a regexp which matches
15424 words/symbols for word/symbol mode.
15426 * subr.el (find-tag-default-bounds): New function with the body
15427 mostly moved from `find-tag-default'.
15428 (find-tag-default): Move most code to `find-tag-default-bounds',
15429 call it and apply `buffer-substring-no-properties' afterwards.
15431 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15433 * eshell/em-term.el (eshell-term-initialize):
15434 Use `cl-intersection' rather than `intersection'.
15436 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
15438 * vc/log-view.el: Doc fix.
15439 (log-view-mode-map): Copy keymap from `special-mode-map'.
15441 2013-06-02 Eric Ludlam <zappo@gnu.org>
15443 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15444 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15445 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15446 (eieio-unbound, eieio-default-superclass)
15447 (eieio--define-field-accessors, method-static, method-before)
15448 (method-primary, method-after, method-num-lists)
15449 (method-generic-before, method-generic-primary)
15450 (method-generic-after, method-num-slots)
15451 (eieio-specialized-key-to-generic-key)
15452 (eieio--check-type, class-v, class-p)
15453 (eieio-class-name, define-obsolete-function-alias)
15454 (eieio-class-parents-fast, eieio-class-children-fast)
15455 (same-class-fast-p, class-constructor, generic-p)
15456 (generic-primary-only-p, generic-primary-only-one-p)
15457 (class-option-assoc, class-option, eieio-object-p)
15458 (class-abstract-p, class-method-invocation-order)
15459 (eieio-defclass-autoload-map, eieio-defclass-autoload)
15460 (eieio-class-un-autoload, eieio-defclass)
15461 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15462 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15463 (eieio--defgeneric-init-form, eieio-defgeneric-form)
15464 (eieio-defgeneric-reset-generic-form)
15465 (eieio-defgeneric-form-primary-only)
15466 (eieio-defgeneric-reset-generic-form-primary-only)
15467 (eieio-defgeneric-form-primary-only-one)
15468 (eieio-defgeneric-reset-generic-form-primary-only-one)
15469 (eieio-unbind-method-implementations)
15470 (eieio--defmethod, eieio--typep)
15471 (eieio-perform-slot-validation, eieio-validate-slot-value)
15472 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15473 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15474 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15475 (eieio-slot-name-index, eieio-class-slot-name-index)
15476 (eieio-set-defaults, eieio-initarg-to-attribute)
15477 (eieio-attribute-to-initarg, eieio-c3-candidate)
15478 (eieio-c3-merge-lists, eieio-class-precedence-c3)
15479 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15480 (eieio-class-precedence-list, eieio-generic-call-methodname)
15481 (eieio-generic-call-arglst, eieio-generic-call-key)
15482 (eieio-generic-call-next-method-list)
15483 (eieio-pre-method-execution-functions, eieio-generic-call)
15484 (eieio-generic-call-primary-only, eieiomt-method-list)
15485 (eieiomt-optimizing-obarray, eieiomt-install)
15486 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15487 (eieio-generic-form, eieio-defmethod, make-obsolete)
15488 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15489 (defclass): Remove `eval-and-compile' from macro.
15490 (call-next-method, shared-initialize): Instead of using
15491 `scoped-class' variable, use new eieio--scoped-class, and
15492 eieio--with-scoped-class.
15493 (initialize-instance): Rename local variable 'scoped-class' to
15494 'this-class' to remove ambiguitity from old global.
15496 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
15498 (eieio--scoped-class-stack): New variable.
15499 (eieio--scoped-class): New fcn.
15500 (eieio--with-scoped-class): New scoping macro.
15501 (eieio-defclass): Use pushnew instead of add-to-list.
15502 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15503 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15504 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15505 `scoped-class' variable, use new eieio--scoped-class, and
15506 eieio--with-scoped-class.
15508 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15510 2013-06-02 Tassilo Horn <tsdh@gnu.org>
15512 * eshell/esh-ext.el (eshell-external-command): Pass args to
15513 `eshell-find-interpreter'.
15514 (eshell-find-interpreter): Add new second parameter ARGS.
15516 * eshell/em-script.el (eshell-script-initialize): Add second arg
15517 to the function added as MATCH to `eshell-interpreter-alist'.
15519 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15520 the function added as MATCH to `eshell-interpreter-alist'.
15522 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15523 (eshell-visual-options): New defcustom.
15524 (eshell-escape-control-x): Adapt docstring.
15525 (eshell-term-initialize): Test `eshell-visual-subcommands' and
15526 `eshell-visual-options' in addition to `eshell-visual-commands'.
15527 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15529 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
15531 * progmodes/python.el (python-indent-block-enders): Add break,
15532 continue and raise keywords.
15534 2013-06-01 Glenn Morris <rgm@gnu.org>
15536 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15538 Plain (f)boundp silences compilation warnings since Emacs 22.1.
15539 * progmodes/cc-cmds.el (delete-forward-p):
15540 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15541 * progmodes/cc-engine.el (buffer-syntactic-context):
15542 * progmodes/cc-fonts.el (face-property-instance):
15543 * progmodes/cc-mode.el (set-keymap-parents):
15544 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15545 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15546 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15547 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15548 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15550 * progmodes/cc-vars.el (other): Emacs has this widget since
15551 at least 21.1, so don't (re)define it.
15553 * eshell/em-cmpl.el (eshell-cmpl-initialize):
15554 Replace the obsolete alias pcomplete-arg-quote-list.
15556 2013-06-01 Leo Liu <sdl.web@gmail.com>
15558 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15559 punctuation syntax.
15560 (inferior-octave-minimal-columns)
15561 (inferior-octave-last-column-width): New variables.
15562 (inferior-octave-track-window-width-change): New function.
15563 (inferior-octave-mode): Adjust column width so that Octave output,
15564 for example from 'ls', can fit into the window nicely.
15566 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
15568 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15569 Highlight expansions inside regexp literals.
15571 2013-05-31 Glenn Morris <rgm@gnu.org>
15573 * obsolete/sym-comp.el (symbol-complete):
15574 Replace obsolete completion-annotate-function.
15576 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15578 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
15580 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15581 New function, checks if point is inside a literal that allows
15582 expression expansion.
15583 (ruby-syntax-propertize-expansion): Use it.
15584 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15587 2013-05-30 Juri Linkov <juri@jurta.org>
15589 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15591 (isearch-invisible): New variable.
15592 (isearch-forward): Doc fix.
15593 (isearch-mode): Set `isearch-invisible'
15594 to the value of `search-invisible'.
15595 (isearch-toggle-case-fold): Doc fix.
15596 (isearch-toggle-invisible): New command.
15597 (isearch-query-replace): Let-bind `search-invisible'
15598 to the value of `isearch-invisible'.
15599 (isearch-search): Use `isearch-invisible' instead of
15600 `search-invisible'. Let-bind `search-invisible'
15601 to the value of `isearch-invisible'. (Bug#11378)
15603 2013-05-30 Juri Linkov <juri@jurta.org>
15605 * replace.el (perform-replace): Avoid `isearch-range-invisible'
15606 call when `query-flag' is nil and `search-invisible' is non-nil.
15609 2013-05-30 Glenn Morris <rgm@gnu.org>
15611 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15613 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15614 (cc-require): Suppress spurious "noruntime" warnings.
15615 (cc-require-when-compile): Use fboundp, for sake of compiler.
15617 * progmodes/cc-mode.el: Move load of cc-vars before that of
15618 cc-langs (which in turn loads cc-vars), to quieten compiler.
15620 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15622 * paren.el: Simplify the code.
15623 (show-paren-mode): Always start the timer.
15624 (show-paren--idle-timer): Rename from show-paren-idle-timer.
15625 (show-paren--overlay, show-paren--overlay-1): Rename from
15626 show-paren-overlay and show-paren-overlay-1, and initialize to an
15627 overlay rather than to nil.
15628 (show-paren-function): Misc cleanup and simplifications.
15630 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15632 * paren.el (show-paren-data-function): New hook.
15633 (show-paren--default): New function, extracted from show-paren-function.
15634 (show-paren-function): Use show-paren-data-function.
15636 2013-05-30 Glenn Morris <rgm@gnu.org>
15638 * ielm.el (ielm-map, ielm-complete-symbol):
15639 Use completion-at-point rather than obsolete functions.
15640 (inferior-emacs-lisp-mode): Doc fix.
15641 Set completion-at-point-functions, rather than
15642 comint-dynamic-complete-functions.
15644 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15645 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15646 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15648 * image.el (image-animated-p): Tweak definition.
15650 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15651 (rlogin-process-connection-type): Tweak default. Add set-after.
15652 (rlogin-host): Doc fix.
15653 (rlogin): Tweak prompt.
15654 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15656 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15657 * progmodes/tcl.el (inferior-tcl-mode-map):
15658 Use completion-at-point rather than obsolete alias.
15660 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15662 * minibuffer.el (read-file-name-completion-ignore-case):
15663 Move before completion--in-region, for eager macro expansion.
15665 2013-05-29 Juri Linkov <juri@jurta.org>
15667 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15668 for total count of matching lines. Add `global-matches' for total
15669 count of matches. Rename `matches' to `lines' for count of
15670 matching lines. Add `matches' for count of matches.
15671 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
15672 to `prev-line' for line number of prev match endpt.
15673 Increment `matches' for every match. Print the number of
15674 matching lines in the header.
15675 (occur-context-lines): Rename `lines' to `curr-line'.
15676 Rename `prev-lines' to `prev-line'. (Bug#14017)
15678 2013-05-29 Juri Linkov <juri@jurta.org>
15680 * replace.el (perform-replace): Add `skip-read-only-count',
15681 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15682 Increment them for corresponding conditions and report the number
15683 of skipped occurrences in the final message. (Bug#11746)
15684 (query-replace, query-replace-regexp, query-replace-regexp-eval)
15685 (replace-string, replace-regexp): Doc fix.
15687 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
15689 * emacs-lisp/trace.el (trace--read-args): Provide a default.
15691 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15692 prog-mode-map (bug#14504).
15694 2013-05-29 Leo Liu <sdl.web@gmail.com>
15696 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15697 (octave-help): Small simplification.
15699 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15700 off the highlight first.
15702 2013-05-29 Glenn Morris <rgm@gnu.org>
15704 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15705 Handle idlwave-last-system-routine-info-cons-cell being nil.
15707 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15708 (idlwave-write-paths): Simplify via with-temp-buffer.
15710 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15711 * emulation/cua-rect.el: Also load cua-base at run time.
15713 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15714 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15715 (cperl-imenu-on-info): Require imenu.
15717 2013-05-28 Alan Mackenzie <acm@muc.de>
15719 Handle "capitalised keywords" correctly.
15720 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15722 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
15724 * eshell/em-unix.el: Add -r option to cp.
15726 2013-05-28 Glenn Morris <rgm@gnu.org>
15728 * vc/vc-arch.el (vc-exec-after): Declare.
15729 (vc-switches): Autoload.
15730 * vc/vc-bzr.el: No need to require vc when compiling.
15731 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15732 (vc-resynch-buffer, vc-dir-refresh): Declare.
15733 (vc-setup-buffer, vc-switches): Autoload.
15734 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15735 (vc-resynch-buffer): Declare.
15736 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15737 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15738 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15739 (grep-read-regexp, grep-read-files, grep-expand-template)
15740 (vc-dir-refresh): Declare.
15741 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15742 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15743 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15744 * vc/vc-mtn.el (vc-exec-after): Declare.
15745 (vc-switches): Autoload.
15746 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15747 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15748 (vc-file-tree-walk): Declare.
15749 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15750 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15751 (vc-tag-precondition, vc-rename-master): Autoload.
15752 * vc/vc-svn.el (vc-exec-after): Declare.
15753 (vc-switches, vc-setup-buffer): Autoload.
15754 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15756 (vc-resynch-buffer): Declare.
15758 * obsolete/fast-lock.el (byte-compile-warnings):
15759 Don't warn about obsolete features in this obsolete file.
15761 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15762 Move definition before use.
15764 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15765 (dun-unix-verbs): Remove dun-zippy.
15766 (dun-zippy): Remove function.
15768 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15770 2013-05-27 Juri Linkov <juri@jurta.org>
15772 * replace.el (replace-search): New function with code moved out
15773 from `perform-replace'.
15774 (replace-highlight, replace-dehighlight): Move function definitions
15775 up closer to `replace-search'. (Bug#11746)
15777 2013-05-27 Juri Linkov <juri@jurta.org>
15779 * replace.el (perform-replace): Ignore invisible matches.
15780 In addition to checking `query-replace-skip-read-only', also
15781 filter out matches by calling `run-hook-with-args-until-failure'
15782 on `isearch-filter-predicates', and also check `search-invisible'
15783 for t or call `isearch-range-invisible'.
15784 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
15786 2013-05-27 Juri Linkov <juri@jurta.org>
15788 * isearch.el (isearch-filter-predicates): Rename from
15789 `isearch-filter-predicate'. Doc fix. (Bug#11378)
15790 (isearch-message-prefix): Display text from the property
15791 `isearch-message-prefix' of the currently active filters.
15792 (isearch-search): Don't compare `isearch-filter-predicate' with
15793 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
15794 on `isearch-filter-predicates'. Also check `search-invisible' for t
15795 or call `isearch-range-invisible'.
15796 (isearch-filter-visible): Make obsolete.
15797 (isearch-lazy-highlight-search):
15798 Call `run-hook-with-args-until-failure' on
15799 `isearch-filter-predicates' and use `isearch-range-invisible'.
15801 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15802 `isearch-filter-predicates' instead of `funcall'ing
15803 `isearch-filter-predicate'.
15804 (Info-mode): Set `Info-isearch-filter' to
15805 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15807 * dired-aux.el (dired-isearch-filter-predicate-orig):
15809 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15810 (dired-isearch-filenames-end): Add and remove
15811 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15812 instead of changing the value of `isearch-filter-predicate'.
15813 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15814 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15815 Put property `isearch-message-prefix' to "filename " on
15816 `dired-isearch-filter-filenames'.
15818 * wdired.el (wdired-change-to-wdired-mode):
15819 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15820 locally instead of changing `isearch-filter-predicate'.
15821 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15823 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
15825 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15826 return the commit hash (Bug#14459). Also set the
15827 `vc-git-detached' property.
15828 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15829 (vc-git-mode-line-string): Use the same help-echo format whether
15830 in detached mode or not, because we know the actual revision now.
15831 When in detached mode, shorten the revision to 7 chars.
15833 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15835 * emacs-lisp/easy-mmode.el (define-minor-mode):
15836 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15837 mode hook and provide a docstring.
15839 2013-05-27 Alan Mackenzie <acm@muc.de>
15841 Remove spurious syntax-table text properties inserted by C-y.
15842 * progmodes/cc-mode.el (c-after-change): Also clear hard
15843 syntax-table property with value nil.
15845 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
15847 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15848 when reading the events; the buffer layout shall not be changed.
15850 2013-05-27 Leo Liu <sdl.web@gmail.com>
15852 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15854 (inferior-octave-directory-tracker): Automatically re-sync
15856 (octave-help): Improve handling of 'See also'.
15858 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15860 * doc-view.el: Minor naming convention tweaks.
15861 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15863 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15864 even if there's no `display' property yet (bug#14435).
15866 2013-05-25 Eli Zaretskii <eliz@gnu.org>
15868 * subr.el (unmsys--file-name): Rename from reveal-filename.
15870 * Makefile.in (custom-deps, finder-data, autoloads)
15871 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15872 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15873 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15875 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15877 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15878 error-completion on the first 2 args of condition-case (bug#14446).
15881 2013-05-25 Leo Liu <sdl.web@gmail.com>
15883 * comint.el (comint-previous-matching-input): Do not flood the
15884 *Messages* buffer with trivial messages.
15886 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15888 * progmodes/flymake.el (flymake-nop): Don't return a string.
15889 (flymake-set-at): Fix typo.
15891 * simple.el (read--expression): New function, extracted from
15892 eval-expression. Set completion-at-point-functions (bug#14465).
15893 (eval-expression, eval-minibuffer): Use it.
15895 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
15897 * progmodes/flymake.el (flymake-save-buffer-in-file)
15898 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15899 (flymake-selected-frame, flymake-log, flymake-ins-after)
15900 (flymake-set-at, flymake-get-buildfile-from-cache)
15901 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15902 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15903 Refine the doc string.
15904 (flymake-get-file-name-mode-and-masks): Reformat.
15905 (flymake-get-real-file-name-function): Fix a minor bug.
15907 2013-05-24 Juri Linkov <juri@jurta.org>
15909 * progmodes/grep.el (grep-mode-font-lock-keywords):
15910 Support =linenumber= format used by git-grep for lines with
15911 function names. (Bug#13549)
15913 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15915 * progmodes/octave.el (octave-smie-rules): Return nil rather than
15916 0 after a semi-colon; it works better for smie-auto-fill.
15917 (octave--indent-new-comment-line): New function.
15918 (octave-indent-new-comment-line): Use it (indirectly).
15919 (octave-mode): Don't disable smie-auto-fill. Use add-function to
15920 modify comment-line-break-function.
15922 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15923 (smie-setup): Use add-function to set it.
15925 2013-05-24 Sam Steingold <sds@gnu.org>
15927 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15928 argument (before the `interactive' argument).
15930 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * image-mode.el (image-mode-winprops): Add winprops to
15933 image-mode-winprops-alist before running
15934 image-mode-new-window-functions.
15935 * doc-view.el (doc-view-new-window-function): Don't delay
15936 doc-view-goto-page via timers (bug#14435).
15938 2013-05-24 Tassilo Horn <tsdh@gnu.org>
15940 * doc-view.el: Integrate with desktop.el. (Bug#14435)
15941 (doc-view-desktop-save-buffer): New function.
15942 (doc-view-restore-desktop-buffer): New function.
15943 (desktop-buffer-mode-handlers):
15944 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15946 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15947 `desktop-save-buffer' function.
15949 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
15951 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15952 (tramp-gvfs-file-name-handler): Raise a user error when
15953 `tramp-gvfs-enabled' is nil.
15954 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15955 Do not raise a user error when loading package. (Bug#14447)
15957 * net/xesam.el: Move to obsolete/.
15959 2013-05-24 Glenn Morris <rgm@gnu.org>
15961 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15963 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15965 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15966 (Info-find-node, Man-getpage-in-background): Declare.
15968 * mail/unrmail.el (unrmail):
15969 Replace obsolete detect-coding-with-priority.
15971 * net/socks.el (socks-split-string): Use this rather than split-string.
15972 (socks-nslookup-host): Update for above change.
15973 (dynamic-choice, s5-dynamic-choice-match)
15974 (s5-dynamic-choice-match-inline, s5-widget-value-create):
15975 Comment out unused code.
15977 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15978 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15979 (gud-tooltip-echo-area): Make obsolete.
15980 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15982 * progmodes/js.el (js--optimize-arglist): Declare.
15984 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15986 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15987 (ediff-window-C): Declare.
15989 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15990 Tweak requires to silence compiler.
15992 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15993 (he-search-string, he-tried-table, he-expand-list)
15994 (he-init-string, he-string-member, he-substitute-string)
15995 (he-reset-string): Declare.
15997 * obsolete/options.el (list-options): Use custom-variable-p,
15998 rather than obsolete alias.
16000 2013-05-23 Sam Steingold <sds@gnu.org>
16002 * simple.el (shell-command-on-region): Pass the `replace' argument
16003 down to `call-process-region' to comply with the doc as reported on
16004 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16006 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * emacs-lisp/smie.el (smie-indent-forward-token)
16009 (smie-indent-backward-token): Handle string tokens (bug#14381).
16011 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16013 * ielm.el (ielm-menu): New menu.
16014 (inferior-emacs-lisp-mode): Set comment-start.
16016 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16018 * textmodes/reftex.el (reftex-ref-style-toggle):
16019 Fix deactivate action.
16021 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16022 Add cleveref macros.
16024 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16025 Accept options for bibliography commands.
16026 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16027 Add addbibresource. Basic Biblatex support.
16029 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16031 * net/tramp-gvfs.el (top):
16032 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16033 when loading package. (Bug#14447)
16035 2013-05-23 Glenn Morris <rgm@gnu.org>
16037 * progmodes/js.el: No need to load comint when compiling.
16038 (ring-insert, comint-send-string, comint-send-input)
16039 (comint-last-input-end, ido-chop): Declare.
16041 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16042 * vc/ediff-mult.el: Adjust requires.
16043 (ediff-directories-internal, ediff-directory-revisions-internal)
16044 (ediff-patch-file-internal): Declare.
16045 * vc/ediff-ptch.el: Adjust requires.
16046 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16047 (ediff-find-file): Autoload.
16048 * vc/ediff-util.el: No need to load ediff when compiling.
16049 (ediff-regions-internal): Declare.
16050 * vc/ediff-wind.el: Adjust requires.
16051 (ediff-compute-toolbar-width): Define when compiling.
16052 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16053 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16054 (dired-get-filename, dired-get-marked-files)
16055 (ediff-last-dir-patch, ediff-patch-default-directory)
16056 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16057 (ediff-patch-buffer-internal): Declare.
16059 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16060 (ispell-process, ispell-buffer-local-words, lm-summary)
16061 (lm-section-start, lm-section-end): Declare.
16062 (checkdoc-ispell-init): Simplify.
16064 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16065 (he-string-member, he-reset-string, he-substitute-string): Declare.
16067 * eshell/em-ls.el: Adjust requires.
16068 (eshell-glob-regexp): Declare.
16069 * eshell/em-tramp.el: Adjust requires.
16070 (eshell-parse-command): Autoload.
16071 * eshell/em-xtra.el: Adjust requires.
16072 (eshell-parse-command): Autoload.
16073 * eshell/esh-ext.el: Adjust requires.
16074 (eshell-parse-command, eshell-close-handles): Autoload.
16075 * eshell/esh-io.el: Adjust requires.
16076 (eshell-output-filter): Autoload.
16077 * eshell/esh-util.el: No need to load tramp when compiling.
16078 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16080 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16081 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16082 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16083 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16084 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16085 * eshell/esh-opt.el, eshell/esh-proc.el:
16086 * eshell/esh-var.el: Adjust requires.
16087 * eshell/eshell.el: Do not require esh-util twice.
16088 (eshell-add-input-to-history): Declare.
16089 (eshell-command): Check history module is active before using it.
16091 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16093 2013-05-22 Leo Liu <sdl.web@gmail.com>
16095 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16097 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16099 * autorevert.el (auto-revert-notify-add-watch)
16100 (auto-revert-notify-handler): Add `attrib' for the inotify case,
16101 it indicates changes in file modification time.
16103 2013-05-22 Glenn Morris <rgm@gnu.org>
16105 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16106 Always delete the autoloaded function from the noruntime and
16107 unresolved functions lists.
16109 * allout.el: No need to load epa, epg, overlay when compiling.
16110 (epg-context-set-passphrase-callback, epg-list-keys)
16111 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16112 (epg-key-user-id-list): Declare.
16114 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16115 (viper-set-parsing-style-toggling-macro)
16116 (viper-set-emacs-state-searchstyle-macros):
16117 Use called-interactively-p on Emacs.
16118 (viper-looking-back): Make it an obsolete alias. Update callers.
16119 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16120 Use looking-back rather than viper-looking-back.
16121 (viper-tmp-insert-at-eob, viper-enlarge-region)
16122 (viper-read-string-with-history, viper-register-to-point)
16123 (viper-append-to-register, viper-change-state-to-vi)
16124 (viper-backward-char-carefully, viper-forward-char-carefully)
16125 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16126 (viper-change-state-to-emacs): Declare.
16127 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16128 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16129 * emulation/viper-mous.el: Do not load viper-cmd.
16130 (viper-backward-char-carefully, viper-forward-char-carefully)
16131 (viper-forward-word, viper-adjust-window): Declare.
16133 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16135 * progmodes/idlw-help.el (idlwave-help-fontify):
16136 Use called-interactively-p.
16138 * term/w32console.el (w32-get-console-codepage)
16139 (w32-get-console-output-codepage): Declare.
16141 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16142 Remove unnecessary declarations.
16143 (dframe-message): Doc fix.
16145 * info.el (dframe-select-attached-frame, dframe-current-frame):
16148 * speedbar.el (speedbar-message): Make it an obsolete alias.
16149 Update all callers.
16150 (speedbar-with-attached-buffer)
16151 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16152 (speedbar-with-writable): Use backquote.
16153 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16154 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16155 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16156 rather than speedbar- aliases.
16157 * mail/rmail.el: Load dframe rather than speedbar when compiling.
16158 (speedbar-make-specialized-keymap, speedbar-insert-button)
16159 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16160 (speedbar-do-function-pointer): Declare.
16161 (rmail-speedbar-button, rmail-speedbar-find-file)
16162 (rmail-speedbar-move-message):
16163 Use dframe-with-attached-buffer rather than speedbar- alias.
16164 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16165 (dframe-message, speedbar-make-specialized-keymap)
16166 (speedbar-add-expansion-list, speedbar-mode-functions-list)
16167 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16168 (speedbar-insert-button, dframe-select-attached-frame)
16169 (dframe-maybee-jump-to-attached-frame)
16170 (speedbar-change-initial-expansion-list)
16171 (speedbar-previously-used-expansion-list-name): Declare.
16172 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16173 Use dframe-message, dframe-with-attached-buffer rather than
16175 (gud-sentinel): Silence compiler.
16176 * progmodes/vhdl-mode.el (speedbar-refresh)
16177 (speedbar-do-function-pointer, speedbar-add-supported-extension)
16178 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16179 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16180 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16181 (speedbar-file-lists, speedbar-make-tag-line)
16182 (speedbar-line-directory, speedbar-goto-this-file)
16183 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16184 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16185 (speedbar-make-button, speedbar-reset-scanners)
16186 (speedbar-files-item-info, speedbar-line-text)
16187 (speedbar-find-file-in-frame, speedbar-set-timer)
16188 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16189 (speedbar-with-writable): Do not (re)define it.
16190 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16191 rather than speedbar- alias.
16193 2013-05-21 Leo Liu <sdl.web@gmail.com>
16195 * progmodes/octave.el (octave-mode-menu): Update and re-organize
16197 (octave-mode): Tweak fill-nobreak-predicate.
16198 (inferior-octave-startup): Check process to avoid infinite loop.
16199 (inferior-octave): Pop to buffer first to show abornmal process
16202 2013-05-21 Glenn Morris <rgm@gnu.org>
16204 * printing.el (pr-menu-bar): Define when compiling.
16206 2013-05-21 Leo Liu <sdl.web@gmail.com>
16208 * progmodes/octave.el (octave-auto-fill): Remove.
16209 (octave-indent-new-comment-line): Improve.
16210 (octave-mode): Use auto fill mode through
16211 comment-line-break-function and fill-nobreak-predicate.
16212 (octave-goto-function-definition): Support DEFUN_DLD.
16213 (octave-beginning-of-defun): Small tweak.
16214 (octave-help): Show parent directory.
16216 2013-05-21 Glenn Morris <rgm@gnu.org>
16218 * files.el (dired-unmark):
16219 * progmodes/gud.el (gdb-input): Update declarations.
16221 * calculator.el (electric, ehelp): No need to load when compiling.
16222 (Electric-command-loop, electric-describe-mode): Declare.
16224 * doc-view.el (doc-view-current-converter-processes): Move before use.
16226 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16227 Move MODE-set-explicitly definition before use.
16229 * international/mule-diag.el (mule-diag):
16230 Don't use obsolete window-system-version.
16232 * mail/feedmail.el (smtpmail): No need to load when compiling.
16233 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16235 * mail/mail-utils.el (rfc822): No need to load when compiling.
16236 (rfc822-addresses): Autoload it.
16237 (mail-strip-quoted-names): Trivial simplification.
16239 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16240 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16242 * net/snmp-mode.el (tempo): Don't duplicate requires.
16244 * progmodes/prolog.el (info): No need to load when compiling.
16245 (comint): Require before shell requires it.
16246 (Info-goto-node): Autoload it.
16247 (Info-follow-nearest-node): Declare.
16248 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16250 * textmodes/artist.el (picture-mode-exit): Declare.
16252 * textmodes/reftex-parse.el (reftex-parse-from-file):
16253 Trivial rewrite so the compiler can parse it better.
16255 2013-05-20 Leo Liu <sdl.web@gmail.com>
16257 * progmodes/octave.el (octave-help-mode-map)
16258 (octave-help-mode-finish-hook): New variables.
16259 (octave-help-mode, octave-help-mode-finish): New functions.
16260 (octave-help): Use octave-help-mode.
16262 2013-05-20 Glenn Morris <rgm@gnu.org>
16264 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
16266 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
16268 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16269 start at point, so that expansion starting right after opening
16270 slash in a regexp is recognized.
16271 (ruby-syntax-before-regexp-re): New defvar, extracted from
16272 ruby-syntax-propertize-function. Since the value of this regexp
16273 is looked up at runtime now, we should be able to turn
16274 `ruby-syntax-methods-before-regexp' into a defcustom later.
16275 (ruby-syntax-propertize-function): Split regexp matching into two
16276 parts, for opening and closing slashes. That allows us to skip
16277 over string interpolations and support multiline regexps.
16278 Don't call `ruby-syntax-propertize-expansions', instead use another rule
16279 for them, which calls `ruby-syntax-propertize-expansion'.
16280 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16281 call to `ruby-syntax-propertize-function'.
16282 (ruby-syntax-propertize-expansion): Extracted from
16283 `ruby-syntax-propertize-expansions'. Handles one expansion.
16284 (ruby-syntax-propertize-percent-literal): Leave point right after
16285 the percent symbol, so that the expression expansion rule can
16286 propertize the contents.
16287 (ruby-syntax-propertize-heredoc): Leave point at bol following the
16289 (ruby-syntax-propertize-expansions): Remove.
16291 2013-05-18 Juri Linkov <juri@jurta.org>
16293 * man.el (Man-default-man-entry): Remove `-' from the end
16294 of the default value. (Bug#14400)
16296 2013-05-18 Glenn Morris <rgm@gnu.org>
16298 * comint.el (comint-password-prompt-regexp):
16299 Allow "password for XXX" where XXX contains colons (eg https://...).
16301 2013-05-18 Leo Liu <sdl.web@gmail.com>
16303 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16304 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
16305 (octave-source-directories): Don't check process.
16306 (octave-source-directories, octave-find-definition): Doc fix.
16308 2013-05-18 Glenn Morris <rgm@gnu.org>
16310 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16311 Remove backspace/delete bindings. (Bug#14392)
16313 * cus-dep.el (custom-make-dependencies): Sort the output.
16314 (custom-versions-load-alist): Convert comment to doc.
16316 2013-05-17 Leo Liu <sdl.web@gmail.com>
16318 * newcomment.el (comment-search-backward): Stricter in finding
16319 comment start. (Bug#14303)
16321 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16322 (octave-comment-start-skip): Properly anchored.
16324 2013-05-17 Leo Liu <sdl.web@gmail.com>
16326 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16327 Clean up when turned off. (Bug#14395)
16328 (smie--highlight-matching-block-overlay): No longer buffer-local.
16329 (smie-highlight-matching-block): Adjust.
16331 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
16333 Doc string fix for "nanoseconds" (Bug#14406).
16334 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16335 Fix doc string typo that had "nanoseconds" instead of "microseconds".
16337 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
16339 * calc/calc-units.el (math-extract-units): Preserve powers
16342 2013-05-17 Leo Liu <sdl.web@gmail.com>
16344 * subr.el (delete-consecutive-dups): New function.
16345 * ido.el (ido-set-matches-1): Use it.
16346 * progmodes/octave.el (inferior-octave-completion-table): Use it.
16347 * ido.el (ido-remove-consecutive-dups): Remove.
16349 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16351 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16352 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16353 regexp-opt's `words'.
16355 2013-05-16 Leo Liu <sdl.web@gmail.com>
16357 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16358 (smie--highlight-matching-block-overlay)
16359 (smie--highlight-matching-block-lastpos)
16360 (smie--highlight-matching-block-timer): New variables.
16361 (smie-highlight-matching-block): New function.
16362 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
16363 (smie-setup): Conditionally enable smie-blink-matching-open.
16365 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
16367 Sync with upstream verilog-mode r840.
16368 * progmodes/verilog-mode.el (verilog-mode-version)
16369 (verilog-mode-release-date): Update.
16370 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16371 (verilog-sig-tieoff): Fix string error on
16372 AUTORESET with colon define, bug594. Reported by Andrew Hou.
16373 (verilog-read-decls): Fix parameters confusing
16374 AUTOINST interfaces, bug565. Reported by Leith Johnson.
16376 2013-05-16 Eli Zaretskii <eliz@gnu.org>
16378 * subr.el (reveal-filename): New function.
16380 * loadup.el: Compute Emacs executable versions on MS-Windows,
16381 where executables have the .exe extension. Add a hard link
16382 emacs-XX.YY.ZZ.exe on MS-Windows.
16384 * Makefile.in (XARGS_LIMIT): New variable.
16385 (custom-deps, finder-data, autoloads)
16386 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16387 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16388 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16389 (compile-main): Limit xargs according to $(XARGS_LIMIT).
16391 2013-05-16 Leo Liu <sdl.web@gmail.com>
16393 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16394 (octave-mode-menu, octave-mode-map): Remove its uses.
16396 2013-05-16 Reto Zimmermann <reto@gnu.org>
16398 Sync with upstream vhdl mode v3.34.2.
16399 * progmodes/vhdl-mode.el: Use `push' throughout.
16400 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16401 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16402 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
16403 (vhdl-actual-generic-name): New option to derive actual generic name.
16404 (vhdl-port-paste-signals): Replace formal by actual generics.
16405 (vhdl-beautify): New name for old group vhdl-align. Update users.
16406 (vhdl-beautify-options): New option.
16407 (vhdl-last-input-event): New compat alias. Use throughout.
16408 (vhdl-goto-line): Replace user level function `goto-line'.
16409 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16410 vhdl-fix-statement-buffer.
16411 (vhdl-create-mode-menu): Add some entries.
16412 (vhdl-align-region-groups): Respect vhdl-beautify-options.
16413 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16414 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16415 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16416 to force statements on one line.
16417 (vhdl-remove-trailing-spaces-region):
16418 New, split from vhdl-remove-trailing-spaces.
16419 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16420 Respect vhdl-beautify-options.
16421 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16422 (vhdl-update-sensitivity-list): Not add with index if exists without.
16423 Not include array index with signal. Ignore keywords in comments.
16424 (vhdl-get-visible-signals): Regexp tweaks.
16425 (vhdl-template-component-inst): Handle empty library.
16426 (vhdl-template-type): Add template for 'enum' type.
16427 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16428 Use vhdl-replace-string.
16429 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16430 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16431 (vhdl-speedbar-initialize): Update for above name change.
16432 (vhdl-compose-wire-components): Fix in handling of constants.
16433 (vhdl-error-regexp-emacs-alist): New variable.
16434 (vhdl-error-regexp-add-emacs): New function;
16435 adds support for new compile.el (Emacs 22+)
16436 (vhdl-generate-makefile-1): Change target order for single lib. units.
16437 Allow use of absolute file names.
16439 2013-05-16 Leo Liu <sdl.web@gmail.com>
16441 * simple.el (prog-indent-sexp): Indent enclosing defun.
16443 2013-05-15 Glenn Morris <rgm@gnu.org>
16445 * cus-start.el (show-trailing-whitespace): Move to editing basics.
16446 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16447 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16448 (whitespace-highlight): Move to whitespace group.
16450 * comint.el (comint-source):
16451 * pcmpl-linux.el (pcmpl-linux):
16452 * shell.el (shell-faces):
16453 * eshell/esh-opt.el (eshell-opt):
16454 * international/ccl.el (ccl): Remove empty custom groups.
16456 * completion.el (dynamic-completion-mode):
16457 * jit-lock.el (jit-lock-debug-mode):
16458 * minibuffer.el (completion-in-region-mode):
16459 * type-break.el (type-break-mode-line-message-mode)
16460 (type-break-query-mode):
16461 * emulation/tpu-edt.el (tpu-edt-mode):
16462 * progmodes/subword.el (global-subword-mode, global-superword-mode):
16463 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16464 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16466 * term/xterm.el (xterm): Change parent group to terminals.
16468 * master.el (master): Remove empty custom group.
16469 (master-mode): Remove unused :group argument.
16470 * textmodes/refill.el (refill): Remove empty custom group.
16471 (refill-mode): Remove unused :group argument.
16473 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16475 * cus-dep.el: Provide a feature.
16476 (custom-make-dependencies): Ignore dotfiles (dir-locals).
16477 Don't mistakenly ignore files whose basenames match a basename
16478 from preloaded-file-list (eg cedet/ede/simple.el).
16479 Add a fallback method for getting :group.
16481 2013-05-15 Juri Linkov <juri@jurta.org>
16483 * isearch.el (isearch-char-by-name): Rename from
16484 `isearch-insert-char-by-name'. Doc fix.
16485 (isearch-forward): Mention `isearch-char-by-name' in
16486 the docstring. (Bug#13348)
16488 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16489 `exit-minibuffer' instead of
16490 `isearch-nonincremental-exit-minibuffer'.
16491 (isearch-edit-string): Remove mention of
16492 `isearch-nonincremental-exit-minibuffer' from docstring.
16493 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16494 (isearch-forward-exit-minibuffer)
16495 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
16497 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
16499 * loadup.el: Just use unversioned DOC.
16501 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16502 literals as extending to EOB.
16503 (nxml-last-fontify-end): Remove unused variable.
16504 (nxml-after-change1): Use with-silent-modifications.
16505 (nxml-extend-after-change-region): Simplify.
16506 (nxml-extend-after-change-region1): Remove function.
16507 (nxml-after-change1): Don't adjust for dependent regions.
16508 (nxml-fontify-matcher): Simplify.
16509 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16510 (xmltok-add-dependent): Remove function.
16511 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16512 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16513 (xmltok-scan-prolog-after-processing-instruction-open): Treat
16514 unclosed <[[, <?, comment, and other literals as extending to EOB.
16515 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16516 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16518 (rng-do-some-validation-1): Don't mark dependent regions.
16519 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16520 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16521 (nxml-clear-dependent-regions): Remove functions.
16522 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16523 (nxml-ensure-scan-up-to-date):
16524 Don't clear&mark dependent regions.
16526 2013-05-15 Leo Liu <sdl.web@gmail.com>
16528 * progmodes/octave.el (octave-goto-function-definition):
16529 Improve and fix callers.
16531 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
16533 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16534 the setter (bug#14387).
16536 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16537 surrounding group (bug#14402).
16539 2013-05-14 Juri Linkov <juri@jurta.org>
16541 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16544 2013-05-14 Glenn Morris <rgm@gnu.org>
16546 * progmodes/f90.el (f90-imenu-generic-expression):
16547 Fix typo in 2013-05-08 change. (Bug#14402)
16549 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16551 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16552 Remove signals for which replies are never received.
16554 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16556 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16557 (gdb-handler-alist, gdb-handler-number): Remove variables.
16558 (gdb-handler-list): New variable.
16559 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16560 (gdb-pending-handler-p, gdb-handle-reply)
16561 (gdb-remove-all-pending-triggers): New functions.
16562 (gdb-discard-unordered-replies): New defcustom.
16563 (gdb-handler): New defstruct.
16564 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
16565 instead of gdb-pending-triggers. Update docstring.
16566 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
16567 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16568 (gdb-var-update-handler, def-gdb-auto-update-trigger)
16569 (def-gdb-auto-update-handler, gdb-get-changed-registers)
16570 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16571 (gdb-frame-handler): Pending triggers are now automatically managed.
16572 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16574 (gdb-input): Automatically handles pending triggers. Update docstring.
16575 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16576 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16578 (gdb-done-or-error): Now use gdb-handle-reply.
16580 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16582 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16585 2013-05-14 Glenn Morris <rgm@gnu.org>
16587 * subr.el (user-emacs-directory-warning): New option.
16588 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
16590 2013-05-14 Leo Liu <sdl.web@gmail.com>
16592 * progmodes/octave.el (octave-font-lock-keywords): Fix error
16594 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16595 (octave-font-lock-texinfo-comment): Fix invalid search bound
16596 error: wrong side of point.
16598 2013-05-14 Glenn Morris <rgm@gnu.org>
16600 * progmodes/flymake.el (flymake-xml-program): New option.
16601 (flymake-xml-init): Use it.
16603 * term/xterm.el: Provide a feature.
16605 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
16607 2013-05-13 Glenn Morris <rgm@gnu.org>
16609 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16610 Add compat aliases as a hack workaround. (Bug#14384)
16612 2013-05-13 Leo Liu <sdl.web@gmail.com>
16614 * progmodes/octave.el (octave-indent-comment): Fix indentation for
16616 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16618 (octave-comment-start-skip): Include %!.
16619 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16621 2013-05-12 Leo Liu <sdl.web@gmail.com>
16623 * progmodes/octave.el (inferior-octave-startup): Store the value
16624 of __octave_srcdir__ for octave-source-directories.
16625 (inferior-octave-check-process): New function refactored out of
16626 inferior-octave-send-list-and-digest.
16627 (octave-source-directories)
16628 (octave-find-definition-filename-function): New variables.
16629 (octave-source-directories)
16630 (octave-find-definition-default-filename): New functions.
16631 (octave-find-definition): Improve to find functions implemented in C++.
16633 2013-05-12 Glenn Morris <rgm@gnu.org>
16635 * calendar/diary-lib.el (diary-outlook-format-1):
16636 Don't include dayname in the output. (Bug#14349)
16638 2013-05-11 Glenn Morris <rgm@gnu.org>
16640 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16642 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16643 Treat cc-provide like provide.
16645 2013-05-11 Kevin Ryde <user42@zip.com.au>
16647 * cus-dep.el (custom-make-dependencies):
16648 Use generated-autoload-load-name for the sake of files such
16649 such cedet/semantic/bovine/c.el, where the base file name
16650 is not in load-path. (Bug#5277)
16652 2013-05-11 Glenn Morris <rgm@gnu.org>
16654 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16657 2013-05-11 Leo Liu <sdl.web@gmail.com>
16659 * progmodes/octave.el (octave-indent-comment): Improve.
16660 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16661 (octave-eldoc-function-signatures, octave-eldoc-function):
16663 (octave-mode, inferior-octave-mode): Add eldoc support.
16665 2013-05-11 Richard Stallman <rms@gnu.org>
16667 * epa.el (epa-decrypt-file): Take output file name as argument
16668 and read it using `interactive'.
16670 2013-05-11 Leo Liu <sdl.web@gmail.com>
16672 * progmodes/octave.el (octave-beginning-of-line)
16673 (octave-end-of-line): Check before using up-list because it jumps
16674 out of more syntactic contructs since moving to smie.
16675 (octave-indent-comment): New function.
16676 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
16677 (octave-begin-keywords, octave-end-keywords)
16678 (octave-reserved-words, octave-smie-bnf-table)
16679 (octave-smie-rules): Add new keywords from Octave 3.6.4.
16681 2013-05-11 Glenn Morris <rgm@gnu.org>
16683 * faces.el (internal-face-x-get-resource):
16684 * frame.el (ns-display-monitor-attributes-list):
16685 * calc/calc-aent.el (math-to-radians-2):
16686 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16689 * calc/calc-menu.el: Make it loadable in isolation.
16691 * net/eudcb-bbdb.el: Make it loadable without bbdb.
16692 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16693 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16694 (eudc-bbdb-query-internal): Require 'bbdb.
16696 * lpr.el (lpr-headers-switches):
16697 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16699 * progmodes/sql.el (sql-login-params): Fix and improve :type.
16701 * emulation/edt-mapper.el: In batch mode, error rather than hang.
16703 * term.el (term-set-escape-char): Make it idempotent.
16705 2013-05-10 Leo Liu <sdl.web@gmail.com>
16707 * progmodes/octave.el (inferior-octave-completion-table):
16708 No longer a function and all uses changed. Use cache to speed up
16709 completion due to bug#11906.
16710 (octave-beginning-of-defun): Re-write to be more general.
16712 2013-05-10 Glenn Morris <rgm@gnu.org>
16714 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16716 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
16718 * comint.el (comint-redirect-send-command-to-process): Use :around
16719 rather than :override for comint-redirect-filter.
16720 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16721 Call it instead of comint-redirect-original-filter-function (which
16722 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
16724 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
16726 * frame.el (display-monitor-attributes-list): Add NS case.
16727 (ns-display-monitor-attributes-list): Declare.
16729 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
16731 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
16733 2013-05-09 Glenn Morris <rgm@gnu.org>
16735 * international/fontset.el (vertical-centering-font-regexp):
16736 Set standard-value.
16738 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16740 * bookmark.el (bookmark-search-delay):
16741 * cus-start.el (vertical-centering-font-regexp):
16742 * ps-mule.el (ps-mule-font-info-database-default):
16743 * ps-print.el (ps-default-fg, ps-default-bg):
16744 * type-break.el (type-break-good-break-interval):
16745 * whitespace.el (whitespace-indentation-regexp)
16746 (whitespace-space-after-tab-regexp):
16747 * emacs-lisp/testcover.el (testcover-1value-functions)
16748 (testcover-noreturn-functions, testcover-progn-functions)
16749 (testcover-prog1-functions):
16750 * emulation/viper-init.el (viper-emacs-state-cursor-color):
16751 * eshell/em-glob.el (eshell-glob-translate-alist):
16752 * play/tetris.el (tetris-tty-colors):
16753 * progmodes/cpp.el (cpp-face-default-list):
16754 * progmodes/flymake.el (flymake-allowed-file-name-masks):
16755 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16756 (idlwave-help-browser-generic-args):
16757 * progmodes/make-mode.el (makefile-special-targets-list):
16758 * progmodes/python.el (python-shell-virtualenv-path):
16759 * progmodes/verilog-mode.el (verilog-active-low-regexp)
16760 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16761 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16762 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16763 * textmodes/reftex-vars.el (reftex-format-label-function):
16764 * textmodes/remember.el (remember-diary-file): Fix custom types.
16766 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16769 2013-05-09 Leo Liu <sdl.web@gmail.com>
16771 * progmodes/octave.el (inferior-octave-completion-at-point):
16772 Restore file completion. (Bug#14300)
16773 (inferior-octave-startup): Fix incorrect highlighting for the
16776 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16778 * progmodes/ruby-mode.el: First cut at SMIE support.
16779 (ruby-use-smie): New var.
16780 (ruby-smie-grammar): New constant.
16781 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16782 (ruby-smie--forward-token, ruby-smie--backward-token)
16783 (ruby-smie-rules): New functions.
16784 (ruby-mode-variables): Setup SMIE if applicable.
16786 2013-05-08 Eli Zaretskii <eliz@gnu.org>
16788 * simple.el (line-move-visual): Signal beginning/end of buffer
16789 only if vertical-motion moved less than it was requested. Avoids
16790 silly incorrect error messages when there are display strings with
16791 multiple newlines at EOL.
16793 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16795 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16796 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16797 (prolog-char-quote-workaround):
16798 * progmodes/cperl-mode.el (cperl-under-as-char):
16799 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16801 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16803 (vhdl-mode-syntax-table-init): Remove.
16805 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16808 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16810 (ld-script-font-lock-keywords):
16811 Change regexps to use things like \_< and \_>.
16813 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16814 Change all regexps to use things like \_< and \_>.
16816 * progmodes/autoconf.el (autoconf-definition-regexp)
16817 (autoconf-font-lock-keywords, autoconf-current-defun-function):
16818 Handle a _ with symbol syntax.
16819 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16821 * progmodes/ada-mode.el (ada-mode-abbrev-table):
16822 Consolidate declaration.
16823 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16825 (ada-create-syntax-table): Remove.
16826 (ada-capitalize-word): Don't mess with the syntax of "_" since it
16827 already has the right syntax nowadays.
16828 (ada-goto-next-word): Don't change the syntax of "_".
16830 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16833 2013-05-08 Sam Steingold <sds@gnu.org>
16835 * thingatpt.el (thing-at-point): Accept optional second argument
16836 NO-PROPERTIES to strip the text properties from the return value.
16837 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16838 to `thing-at-point' instead of stripping the properties ourselves.
16839 Also, when `thing-at-point' fails to find a url, prepend "http://"
16840 to the filename at point on the assumption that the user is
16841 pointing at something like gnu.org/gnu.
16843 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
16845 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16846 * faces.el (crm-separator):
16847 Silence byte-compiler.
16849 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16850 (tool-bar-map): Remove unneeded defvars.
16852 2013-05-08 Leo Liu <sdl.web@gmail.com>
16854 Re-work a fix for bug#10994 based on Le Wang's patch.
16855 * ido.el (ido-remove-consecutive-dups): New helper.
16856 (ido-completing-read): Use it.
16857 (ido-chop): Revert fix for bug#10994.
16859 2013-05-08 Adam Spiers <emacs@adamspiers.org>
16861 * cus-edit.el (custom-save-variables):
16862 Pretty-print long values. (Bug#14187)
16864 2013-05-08 Glenn Morris <rgm@gnu.org>
16866 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16867 (m4-mode-syntax-table): Init in the defvar.
16868 (m4-mode-abbrev-table): Let define-derived-mode define it.
16870 2013-05-08 Tom Tromey <tromey@redhat.com>
16872 * progmodes/m4-mode.el (m4-mode-syntax-table):
16873 Do not treat "_" as word constituent. (Bug#14167)
16875 2013-05-07 Glenn Morris <rgm@gnu.org>
16877 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16878 Remove explicit eshell-isearch-cancel-map.
16880 * progmodes/f90.el (f90-smart-end-names): New option.
16881 (f90-smart-end): Doc fix.
16882 (f90-end-block-optional-name): New constant.
16883 (f90-block-match): Respect f90-smart-end-names.
16885 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16887 * progmodes/octave.el (octave-smie-forward-token): Be more careful
16888 about implicit semi-colons (bug#14218).
16890 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16892 * frame.el (display-monitor-attributes-list)
16893 (frame-monitor-attributes): New functions.
16895 2013-05-06 Leo Liu <sdl.web@gmail.com>
16897 * progmodes/octave.el (octave-syntax-propertize-function): Change
16898 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
16899 (octave-font-lock-keywords): Use octave-operator-regexp.
16900 (octave-completion-at-point): Rename from
16901 octave-completion-at-point-function.
16902 (inferior-octave-directory-tracker): Robustify.
16903 (octave-text-functions): Remove and fix its uses. No such things
16906 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16908 * emacs-lisp/trace.el (trace--display-buffer): New function.
16909 (trace-make-advice): Use it.
16911 2013-05-06 Juri Linkov <juri@jurta.org>
16913 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
16914 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16916 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16917 in the help string. (Bug#12985)
16919 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
16921 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
16923 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16925 * progmodes/perl-mode.el: Add support for here documents.
16926 (perl-syntax-propertize-function): Match here-doc markers.
16927 (perl-syntax-propertize-special-constructs): Find their end.
16928 (perl-imenu-generic-expression): Use [:alnum:].
16930 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16931 (advice--add-function): Refresh the advice if already present
16934 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
16936 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
16938 2013-05-06 Glenn Morris <rgm@gnu.org>
16940 * w32-fns.el (w32-charset-info-alist): Declare.
16942 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16943 of its defcustom properties.
16944 (eshell-cmpl-initialize): No need to load pcomplete.
16946 * generic-x.el: No need to require comint when compiling.
16948 * net/eudc-export.el: Make it loadable without bbdb.
16949 (top-level): Use require rather than load-library.
16950 (eudc-create-bbdb-record, eudc-bbdbify-phone)
16951 (eudc-batch-export-records-to-bbdb)
16952 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16955 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16957 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16958 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16959 some tweaks, instead.
16961 2013-05-05 Leo Liu <sdl.web@gmail.com>
16963 * progmodes/octave.el (octave-font-lock-keywords)
16964 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16965 (inferior-octave-send-list-and-digest): Improve error message.
16966 (octave-mode, inferior-octave-mode): Use setq-local.
16967 (octave-help): Set info-lookup-mode.
16969 2013-05-05 Richard Stallman <rms@gnu.org>
16971 * vc/compare-w.el (compare-windows-whitespace):
16972 Treat no-break space as whitespace.
16974 * mail/rmailsum.el (rmail-summary-rmail-update):
16975 Detect empty summary and don't change selected message.
16976 (rmail-summary-goto-msg): Likewise.
16978 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16979 Doc fixes, rename args.
16981 2013-05-05 Alan Mackenzie <acm@muc.de>
16983 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16985 2013-05-05 Juri Linkov <juri@jurta.org>
16987 * info.el (Info-read-subfile): Use (point-min) instead of (point)
16988 to not add the length of the summary segment to the return value.
16991 2013-05-05 Leo Liu <sdl.web@gmail.com>
16993 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16994 (inferior-octave-output-filter): Remove.
16995 (octave-send-region, inferior-octave-startup): Fix callers.
16996 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16997 (octave-binary-file-extensions): New user variable.
16998 (octave-find-definition): Confirm if opening binary files.
16999 (octave-help-file): Use octave-find-definition to get the binary
17001 (octave-help): Adjust for octave-help-file change.
17003 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17005 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17006 Merge the two entries that handle function definitions.
17007 (pascal--syntax-propertize): New const.
17008 (pascal-mode): Use it. Use setq-local.
17010 2013-05-04 Glenn Morris <rgm@gnu.org>
17012 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17013 (diary-from-outlook): Respect diary-from-outlook-function.
17015 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17017 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17018 Move the declaration from C.
17019 (read-minibuffer, eval-minibuffer): Move from C.
17020 (completion-setup-function): Avoid minibuffer-completion-contents.
17022 2013-05-03 Leo Liu <sdl.web@gmail.com>
17024 * progmodes/octave.el (octave-font-lock-keywords): Do not
17025 dehighlight 'end' in comments or strings.
17026 (octave-completing-read, octave-goto-function-definition):
17028 (octave-help-buffer): New user variable.
17029 (octave-help-file, octave-help-function): New button types.
17030 (octave-help): New command and bind it to C-h ;.
17031 (octave-find-definition): New command and bind it to M-.
17032 (user-error): Alias to error if not defined.
17034 2013-05-02 Leo Liu <sdl.web@gmail.com>
17036 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17038 (octave-font-lock-keywords): Include [ and {.
17040 2013-05-02 Leo Liu <sdl.web@gmail.com>
17042 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17043 (inferior-octave): Remove calling comint-mode and return the buffer.
17044 (inferior-octave-startup): Cosmetic changes.
17046 2013-05-02 Leo Liu <sdl.web@gmail.com>
17048 * progmodes/octave.el (octave-syntax-propertize-function):
17049 Include the case when ' is at line beginning. (Bug#14336)
17051 2013-05-02 Glenn Morris <rgm@gnu.org>
17053 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17054 * desktop.el (vc-dir-mode): Just autoload it here.
17056 2013-05-02 Alan Mackenzie <acm@muc.de>
17058 Eliminate variable c-standard-font-lock-fontify-region-function.
17059 * progmodes/cc-mode.el
17060 (c-standard-font-lock-fontify-region-function): Remove.
17061 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17063 2013-05-01 Leo Liu <sdl.web@gmail.com>
17065 * progmodes/octave.el: Compatible with older emacs-24 releases.
17066 (inferior-octave-has-built-in-variables): Remove. Built-in
17067 variables were removed from Octave in 2007.
17068 (inferior-octave-startup): Fix uses.
17069 (comint-line-beginning-position): Remove compatibility code for
17072 2013-05-01 Juri Linkov <juri@jurta.org>
17074 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17076 2013-05-01 Juri Linkov <juri@jurta.org>
17078 * comint.el (comint-previous-matching-input): Don't print message
17079 "History item: %d" when `isearch-mode' is active.
17080 (comint-history-isearch-message): Print message "History item: %d"
17081 when `comint-input-ring-index' is not empty and this function is
17082 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17084 2013-05-01 Leo Liu <sdl.web@gmail.com>
17086 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17087 definitions. Use completion-at-point to insert keywords.
17088 (octave-abbrev-start): Remove.
17089 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17091 2013-04-30 Leo Liu <sdl.web@gmail.com>
17093 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17096 2013-04-30 Alan Mackenzie <acm@muc.de>
17098 Handle arbitrarily long C++ member initialisation lists.
17099 * progmodes/cc-engine.el (c-back-over-member-initializers):
17101 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17102 (most) member init lists.
17104 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17106 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17109 2013-04-30 Leo Liu <sdl.web@gmail.com>
17111 * progmodes/octave.el (octave-variables): Remove. No builtin
17112 variables any more. All converted to functions.
17113 (octave-font-lock-keywords, octave-completion-at-point-function):
17115 (octave-font-lock-texinfo-comment): New user variable.
17116 (octave-texinfo-font-lock-keywords): New variable for texinfo
17118 (octave-function-comment-block): New face.
17119 (octave-font-lock-texinfo-comment): New function.
17120 (octave-mode): Font lock texinfo comment block.
17122 2013-04-29 Leo Liu <sdl.web@gmail.com>
17124 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17125 indexing expression.
17126 (octave-continuation-string): Do not use \.
17127 (inferior-octave-complete-impossible): Remove.
17128 (inferior-octave-completion-table)
17129 (inferior-octave-completion-at-point): Remove its uses.
17130 (inferior-octave-startup): completion_matches was introduced to
17131 Octave in 1996 so safe to assume it.
17132 (octave-function-file-comment): Improve to follow how Octave does it.
17133 (octave-update-function-file-comment): Tweak.
17135 2013-04-29 Leo Liu <sdl.web@gmail.com>
17137 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17138 (inferior-octave-startup): Remove inferior-octave-startup-hook.
17139 (octave-function-file-comment): Fix typo.
17140 (octave-sync-function-file-names): Use read-char-choice.
17142 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
17144 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17145 to t for the less important warnings.
17147 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
17149 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
17151 2013-04-27 Glenn Morris <rgm@gnu.org>
17153 * vc/log-view.el (log-view-current-entry):
17154 Treat "---" separator lines as part of the following rev. (Bug#14169)
17156 2013-04-27 Juri Linkov <juri@jurta.org>
17158 * subr.el (read-number): Doc fix about using it by interactive
17159 code letter `n'. (Bug#14254)
17161 2013-04-27 Juri Linkov <juri@jurta.org>
17163 * desktop.el (desktop-auto-save-timeout): New option.
17164 (desktop-file-checksum): New variable.
17165 (desktop-save): Add optional arg `auto-save' and don't auto-save
17166 if nothing changed.
17167 (desktop-auto-save-timer): New variable.
17168 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17169 (after-init-hook): Call `desktop-auto-save-set-timer'.
17170 Suggested by Reuben Thomas <rrt@sc3d.org> in
17171 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17173 2013-04-27 Leo Liu <sdl.web@gmail.com>
17175 * progmodes/octave.el (octave-function-file-p)
17176 (octave-skip-comment-forward, octave-function-file-comment)
17177 (octave-update-function-file-comment): New functions.
17178 (octave-mode-map): Bind C-c ; to
17179 octave-update-function-file-comment.
17180 (octave-mode-menu): Add octave-update-function-file-comment.
17181 (octave-mode, inferior-octave-mode): Fix doc-string.
17182 (octave-insert-defun): Conform to Octave's coding convention.
17185 * files.el (basic-save-buffer): Don't let errors in
17186 before-save-hook prevent saving buffer.
17188 2013-04-20 Roland Winkler <winkler@gnu.org>
17190 * faces.el (read-face-name): Use completing-read if arg multiple
17193 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
17195 * ls-lisp.el (ls-lisp-insert-directory): If no files are
17196 displayed, move point to after the totals line.
17197 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17200 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
17202 * emacs-lisp/package.el (package-autoload-ensure-default-file):
17203 Add current dir to the load-path.
17204 (package-generate-autoloads): Don't rely on
17205 autoload-ensure-default-file.
17207 2013-04-26 Reuben Thomas <rrt@sc3d.org>
17209 * textmodes/remember.el (remember-store-in-files): Document that
17210 the file name format is passed to `format-time-string'.
17212 2013-04-26 Leo Liu <sdl.web@gmail.com>
17214 * progmodes/octave.el (octave-sync-function-file-names): New function.
17215 (octave-mode): Use it in before-save-hook.
17217 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
17219 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17222 * progmodes/octave.el (octave-smie-forward-token): Properly skip
17223 \n and comment, even if it's not an implicit ; (bug#14218).
17225 2013-04-26 Glenn Morris <rgm@gnu.org>
17227 * subr.el (read-number): Once more use `read' rather than
17228 `string-to-number', to trap non-numeric input. (Bug#14254)
17230 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
17232 * emacs-lisp/syntax.el (syntax-propertize-multiline):
17233 Use `syntax-multiline' text property consistently instead of
17234 `font-lock-multiline'. (Bug#14237)
17236 2013-04-26 Glenn Morris <rgm@gnu.org>
17238 * emacs-lisp/shadow.el (list-load-path-shadows):
17239 No longer necessary to check for duplicate simple.el, since
17240 2012-07-07 change to init_lread to not include installation lisp
17241 directories in load-path when running uninstalled. (Bug#14270)
17243 2013-04-26 Leo Liu <sdl.web@gmail.com>
17245 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17246 (octave-mode, inferior-octave-mode): Use setq-local.
17247 (octave-not-in-string-or-comment-p): Rename to
17248 octave-in-string-or-comment-p.
17249 (octave-in-comment-p, octave-in-string-p)
17250 (octave-in-string-or-comment-p): Replace defsubst with defun.
17252 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
17254 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17256 2013-04-25 Bastien Guerry <bzg@gnu.org>
17258 * textmodes/remember.el (remember-data-directory)
17259 (remember-directory-file-name-format): Fix custom types.
17261 2013-04-25 Leo Liu <sdl.web@gmail.com>
17263 * progmodes/octave.el (octave-completion-at-point-function):
17264 Make use of inferior octave process.
17265 (octave-initialize-completions): Remove.
17266 (inferior-octave-completion-table): New function.
17267 (inferior-octave-completion-at-point): Use it.
17268 (octave-completion-alist): Remove.
17270 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17272 * progmodes/opascal.el: Use font-lock and syntax-propertize.
17273 (opascal-mode-syntax-table): New var.
17274 (opascal-literal-kind, opascal-is-literal-end)
17275 (opascal-literal-token-at): Rewrite.
17276 (opascal--literal-start-re, opascal-font-lock-keywords)
17277 (opascal--syntax-propertize): New constants.
17278 (opascal-font-lock-defaults): Adjust.
17279 (opascal-mode): Use them. Set comment-<foo> variables as well.
17280 (delphi-comment-face, opascal-comment-face, delphi-string-face)
17281 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17282 (delphi-other-face, opascal-other-face): Remove face variables.
17283 (opascal-save-state): Remove macro.
17284 (opascal-fontifying-progress-step): Remove constant.
17285 (opascal--ignore-changes): Remove var.
17286 (opascal-set-token-property, opascal-parse-next-literal)
17287 (opascal-is-stable-literal, opascal-complete-literal)
17288 (opascal-is-literal-start, opascal-face-of)
17289 (opascal-parse-region, opascal-parse-region-until-stable)
17290 (opascal-fontify-region, opascal-after-change)
17291 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17292 (opascal-debug-parse-region, opascal-debug-parse-window)
17293 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17294 (opascal-debug-fontify-buffer): Remove.
17295 (opascal-debug-mode-map): Adjust accordingly.
17297 2013-04-25 Leo Liu <sdl.web@gmail.com>
17299 Merge octave-mod.el and octave-inf.el into octave.el with some
17301 * progmodes/octave.el: New file renamed from octave-mod.el.
17302 * progmodes/octave-inf.el: Merged into octave.el.
17303 * progmodes/octave-mod.el: Renamed to octave.el.
17305 2013-04-25 Tassilo Horn <tsdh@gnu.org>
17307 * textmodes/reftex-vars.el
17308 (reftex-label-ignored-macros-and-environments): New defcustom.
17310 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17312 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17314 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17315 (smie-indent-keyword): Improve the check to ensure that the next
17316 comment is really on the same line.
17317 (smie-indent-comment): Don't align with a subsequent closer (or eob).
17319 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17320 semi-colons if the line is not otherwise empty (bug#14218).
17322 2013-04-25 Glenn Morris <rgm@gnu.org>
17324 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17326 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * progmodes/opascal.el (opascal-set-token-property): Rename from
17329 opascal-set-text-properties and only set `token' (bug#14134).
17330 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17331 (opascal-literal-text-properties): Remove.
17332 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17335 2013-04-24 Reuben Thomas <rrt@sc3d.org>
17337 * textmodes/remember.el (remember-handler-functions): Add an
17338 option for a new handler `remember-store-in-files'.
17339 (remember-data-directory, remember-directory-file-name-format):
17341 (remember-store-in-files): New function to store remember notes
17342 as separate files within a directory.
17344 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
17346 * progmodes/compile.el (compilation-next-error-function):
17347 Pass "formats" to compilation-find-file (bug#11777).
17349 2013-04-24 Glenn Morris <rgm@gnu.org>
17351 * vc/vc-bzr.el (vc-bzr-print-log):
17352 * vc/vc-hg.el (vc-hg-print-log):
17353 * vc/vc-svn.el (vc-svn-print-log):
17354 Fix START-REVISION with LIMIT != 1. (Bug#14168)
17356 * vc/vc-bzr.el (vc-bzr-print-log):
17357 * vc/vc-cvs.el (vc-cvs-print-log):
17358 * vc/vc-git.el (vc-git-print-log):
17359 * vc/vc-hg.el (vc-hg-print-log):
17360 * vc/vc-mtn.el (vc-mtn-print-log):
17361 * vc/vc-rcs.el (vc-rcs-print-log):
17362 * vc/vc-sccs.el (vc-sccs-print-log):
17363 * vc/vc-svn.el (vc-svn-print-log):
17364 * vc/vc.el (vc-print-log-internal): Doc fixes.
17366 2013-04-23 Glenn Morris <rgm@gnu.org>
17368 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17369 Remove venerable code attempting to avoid substitute-command-keys.
17371 2013-04-23 Tassilo Horn <tsdh@gnu.org>
17373 * textmodes/reftex-vars.el (reftex-label-regexps):
17374 Call `reftex-compile-variables' after changes to this variable.
17376 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
17378 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17379 Use lexical-binding.
17380 (jit-lock-force-redisplay): Use markers, check buffer's continued
17381 existence and beware narrowed buffers.
17382 (jit-lock-fontify-now): Adjust call accordingly.
17384 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
17386 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17387 to avoid misleading the user.
17389 2013-04-22 Leo Liu <sdl.web@gmail.com>
17391 * info-look.el: Prefer latex2e.info. (Bug#14240)
17393 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
17395 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
17397 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17398 * net/tramp.el (tramp-call-process): ... here.
17399 (tramp-set-completion-function, tramp-parse-putty):
17400 * net/tramp-adb.el (tramp-adb-execute-adb-command):
17401 * net/tramp-gvfs.el (tramp-gvfs-send-command):
17402 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17403 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17404 (tramp-call-local-coding-command): Use `tramp-call-process'
17405 instead of `tramp-compat-call-process'.
17407 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17408 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17409 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17410 (tramp-find-inline-compress): Improve traces.
17411 (tramp-maybe-send-script): Check for Perl binary.
17412 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17414 2013-04-22 Daiki Ueno <ueno@gnu.org>
17416 * epg.el (epg-context-pinentry-mode): New function.
17417 (epg-context-set-pinentry-mode): New function.
17418 (epg--start): Pass --pinentry-mode option to gpg command.
17420 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
17422 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17423 `comint-dynamic-complete' is obsolete since 24.1, replaced by
17424 `completion-at-point'. (Bug#13774)
17426 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17427 default key binding for `describe-distribution' has been moved to
17428 `C-h C-o'. (Bug#13970)
17430 2013-04-21 Glenn Morris <rgm@gnu.org>
17432 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17434 (vc-print-log): Clarify interactive prompt.
17436 2013-04-20 Glenn Morris <rgm@gnu.org>
17438 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17439 No longer include timestamp etc information.
17441 2013-04-20 Roland Winkler <winkler@gnu.org>
17443 * faces.el (read-face-name): Bug fix, return just one face if arg
17444 multiple is nil. (Bug#14209)
17446 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17448 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17449 (remove-function): Autoload.
17451 * comint.el (comint-redirect-original-filter-function): Remove.
17452 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17453 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17454 (vc-cvs-annotate-command):
17455 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17456 * progmodes/prolog.el (prolog-consult-compile):
17457 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17458 Use add/remove-function instead.
17459 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17460 (gud-tooltip-process-output, gud-tooltip-tips):
17461 Use add/remove-function instead.
17462 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17463 (scheme-interaction-mode, exit-scheme-interaction-mode):
17464 Use add/remove-function instead.
17466 * vc/vc-dispatcher.el: Use lexical-binding.
17467 (vc--process-sentinel): Rename from vc-process-sentinel.
17468 Change last arg to be the code to run. Don't use vc-previous-sentinel
17469 and vc-sentinel-commands any more.
17470 (vc-exec-after): Allow code to be a function. Use add/remove-function.
17471 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17473 2013-04-19 Masatake YAMATO <yamato@redhat.com>
17475 * progmodes/sh-script.el (sh-imenu-generic-expression):
17476 Handle function names with a single character. (Bug#14111)
17478 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
17480 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17481 for subroutines defined in an eval (bug#14182).
17483 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17485 * bookmark.el (bookmark-completing-read): Improve handling of empty
17486 string (bug#14176).
17488 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17490 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17492 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
17494 New faster Imenu implementation (bug#14058).
17495 * progmodes/python.el (python-imenu-prev-index-position)
17496 (python-imenu-format-item-label-function)
17497 (python-imenu-format-parent-item-label-function)
17498 (python-imenu-format-parent-item-jump-label-function):
17500 (python-imenu-format-item-label)
17501 (python-imenu-format-parent-item-label)
17502 (python-imenu-format-parent-item-jump-label)
17503 (python-imenu--put-parent, python-imenu--build-tree)
17504 (python-imenu-create-index, python-imenu-create-flat-index)
17505 (python-util-popn): New functions.
17506 (python-mode): Set imenu-create-index-function to
17507 python-imenu-create-index.
17509 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
17511 * winner.el (winner-active-region): Use region-active-p, activate-mark
17512 and deactivate-mark (bug#14225).
17514 * simple.el (deactivate-mark): Don't inline it.
17516 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
17518 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17520 2013-04-18 Tassilo Horn <tsdh@gnu.org>
17522 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17523 file extensions from the archive-mode entry in order to prefer
17524 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17526 2013-04-18 Leo Liu <sdl.web@gmail.com>
17528 * bindings.el (help-event-list): Add ?\?.
17530 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
17532 * subr.el (with-wrapper-hook): Declare obsolete.
17533 * simple.el (filter-buffer-substring-function): New hook.
17534 (filter-buffer-substring): Use it.
17535 (filter-buffer-substring-functions): Mark obsolete.
17536 * minibuffer.el (completion-in-region-function): New hook.
17537 (completion-in-region): Use it.
17538 (completion-in-region-functions): Mark obsolete.
17539 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17540 * abbrev.el (abbrev-expand-function): New hook.
17541 (expand-abbrev): Use it.
17542 (abbrev-expand-functions): Mark obsolete.
17543 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17544 and :filter-return.
17546 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17548 * progmodes/python.el (python-nav--syntactically): Fix cornercases
17549 and do not care about match data.
17551 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
17553 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17554 completion tables when completing error conditions and
17555 `declare' arguments.
17556 (lisp-complete-symbol, field-complete): Mark as obsolete.
17557 (check-parens): Unmatched parens are user errors.
17558 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17560 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
17562 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17563 command changed buffer (ie. `flyspell-pre-buffer' is not current
17564 buffer), which prevents making decisions based on invalid value of
17565 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
17566 cause an error when `flyspell-pre-point' was nil after switching
17568 (flyspell-post-command-hook): No longer needs to change buffers when
17569 checking pre-word. While at it remove unnecessary progn.
17571 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
17573 * textmodes/ispell.el (ispell-add-per-file-word-list):
17574 Fix `flyspell-correct-word-before-point' error when accepting
17575 words and `coment-padding' is an integer by using
17576 `comment-normalize-vars' (Bug #14214).
17578 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17580 New defun movement commands.
17581 * progmodes/python.el (python-nav--syntactically)
17582 (python-nav--forward-defun, python-nav-backward-defun)
17583 (python-nav-forward-defun): New functions.
17585 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17587 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17588 (python-syntax-context): Use named compiler-macro for backwards
17589 compatibility with Emacs 24.x.
17591 2013-04-17 Leo Liu <sdl.web@gmail.com>
17593 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17594 octave-hide-process-buffer.
17596 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
17598 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17601 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
17603 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17604 Fix adjustment of offset when receiving incomplete responses from GDB
17607 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
17609 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17610 python-mode-abbrev-table.
17611 (python-skeleton-define): Adjust accordingly.
17612 (python-mode-abbrev-table): New table that inherits from it so that
17613 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17615 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17616 (abbrev-symbol): Use it.
17617 (abbrev--before-point): Use it since we already handle inheritance.
17619 2013-04-16 Leo Liu <sdl.web@gmail.com>
17621 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17622 binding to info-lookup-symbol.
17624 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
17626 * minibuffer.el (completion--twq-all):
17627 * term/ns-win.el (ns-initialize-window-system):
17628 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17630 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
17632 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17635 * doc-view.el (doc-view-start-process): Handle url-handler directories.
17637 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
17639 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17640 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17642 (ruby-end-of-defun): Remove the unused arg, change the docstring
17643 to reflect that this function is only used as the value of
17644 `end-of-defun-function'.
17645 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17646 to reflect an earlier change that beginning/end-of-defun functions
17647 jump between methods in a class definition, as well as top-level
17650 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17652 * minibuffer.el (minibuffer-complete): Don't just scroll
17653 a *Completions* that's been iconified.
17654 (minibuffer-force-complete): Make sure repetitions do cycle when going
17655 through completion-in-region -> minibuffer-complete.
17657 2013-04-15 Alan Mackenzie <acm@muc.de>
17659 Correct the placement of c-cpp-delimiters when there're #s not at
17662 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17663 place a submatch around the #.
17664 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17665 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
17668 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17670 * emacs-lisp/nadvice.el: Properly test names when adding advice.
17671 (advice--member-p): New arg `name'.
17672 (advice--add-function, advice-member-p): Use it (bug#14202).
17674 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
17676 Reformulate java imenu-generic-expression.
17677 The old expression contained ill formed regexps.
17679 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17680 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17681 (cc-imenu-java-method-arg-regexp): New defconsts.
17682 (cc-imenu-java-build-type-args-regex): New defun.
17683 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17684 handling of spaces in the regexp.
17686 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17688 * textmodes/ispell.el (ispell-command-loop): Remove
17689 flyspell highlight of a word when ispell accepts it (bug #14178).
17691 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
17693 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17694 uses code from the previous `ange-ftp-run-real-handler'.
17695 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17696 only in case that function exist. This is needed for proper
17697 unloading of Tramp.
17699 2013-04-15 Tassilo Horn <tsdh@gnu.org>
17701 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17703 * textmodes/reftex.el (reftex-compile-variables): Use it.
17705 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17707 * files.el (normal-mode): Only use default major-mode if no other mode
17710 * emacs-lisp/trace.el (trace-values): New function.
17712 * files.el: Allow : in local variables (bug#14089).
17713 (hack-local-variable-regexp): New var.
17714 (hack-local-variables-prop-line, hack-local-variables): Use it.
17716 2013-04-13 Roland Winkler <winkler@gnu.org>
17718 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
17719 data before it gets modified by bibtex-beginning-of-entry.
17721 2013-04-13 Roland Winkler <winkler@gnu.org>
17723 * textmodes/bibtex.el (bibtex-url): Doc fix.
17725 2013-04-13 Roland Winkler <winkler@gnu.org>
17727 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17728 does not visit a BibTeX file, exclude it from the list of buffers
17729 returned by bibtex-initialize.
17731 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
17733 * window.el (split-window): Remove interactive form, since as a
17734 command this function is a special case of split-window-below.
17735 Correct doc string.
17737 2013-04-12 Roland Winkler <winkler@gnu.org>
17739 * faces.el (read-face-name): Do not override value of arg default.
17740 Allow single faces and strings as default values. Remove those
17741 elements from return value that are not faces.
17742 (describe-face): Simplify.
17743 (face-at-point): New optional args thing and multiple so that this
17744 function can provide the same functionality previously provided by
17746 (make-face-bold, make-face-unbold, make-face-italic)
17747 (make-face-unitalic, make-face-bold-italic, invert-face)
17748 (modify-face, read-face-and-attribute): Use face-at-point.
17750 * cus-edit.el (customize-face, customize-face-other-window)
17751 * cus-theme.el (custom-theme-add-face)
17752 * face-remap.el (buffer-face-set)
17753 * facemenu.el (facemenu-set-face): Use face-at-point.
17755 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
17757 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17759 2013-04-10 Tassilo Horn <tsdh@gnu.org>
17761 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17762 off leading { and trailing } from field values.
17764 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
17766 * emacs-lisp/timer.el (timer--check): New function.
17767 (timer--time, timer-set-function, timer-event-handler): Use it.
17768 (timer-set-idle-time): Simplify.
17769 (timer--activate): CSE.
17770 (timer-event-handler): Give more info in error message.
17771 (internal-timer-start-idle): New function, moved from C.
17773 * mpc.el (mpc-proc): Add `restart' argument.
17774 (mpc-proc-cmd): Use it.
17775 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17776 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17779 2013-04-10 Masatake YAMATO <yamato@redhat.com>
17781 * progmodes/sh-script.el: Implement `sh-mode' own
17782 `add-log-current-defun-function' (bug#14112).
17783 (sh-current-defun-name): New function.
17784 (sh-mode): Use the function.
17786 2013-04-09 Bastien Guerry <bzg@gnu.org>
17788 * simple.el (choose-completion-string): Fix docstring (bug#14163).
17790 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
17792 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17794 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17797 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
17799 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17802 2013-04-07 Leo Liu <sdl.web@gmail.com>
17804 * pcmpl-x.el: New file.
17806 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
17808 Do not set x-display-name until X connection is established.
17809 This is needed to prevent from weird situation described at
17810 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17811 * frame.el (make-frame): Set x-display-name after call to
17812 window system initialization function, not before.
17813 * term/x-win.el (x-initialize-window-system): Add optional
17814 display argument and use it.
17815 * term/w32-win.el (w32-initialize-window-system):
17816 * term/ns-win.el (ns-initialize-window-system):
17817 * term/pc-win.el (msdos-initialize-window-system):
17818 Add compatible optional display argument.
17820 2013-04-06 Eli Zaretskii <eliz@gnu.org>
17822 * files.el (normal-backup-enable-predicate): On MS-Windows and
17823 MS-DOS compare truenames of temporary-file-directory and of the
17824 file, so that 8+3 aliases (usually found in $TEMP on Windows)
17825 don't fail comparison by compare-strings. Also, compare file
17826 names case-insensitively on MS-Windows and MS-DOS.
17828 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
17830 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17831 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17833 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
17835 * whitespace.el (whitespace-color-on, whitespace-color-off):
17836 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17838 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
17840 * ispell.el (ispell-set-spellchecker-params):
17841 Really set `ispell-args' for all equivs.
17843 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
17845 * ido.el (ido-completions): Use extra elements of ido-decorations
17847 (ido-decorations): Update docstring.
17849 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
17851 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17852 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17853 nil during initialization, in order not to miss changes since the
17854 file was opened. (Bug#14140)
17856 2013-04-05 Leo Liu <sdl.web@gmail.com>
17858 * kmacro.el (kmacro-call-macro): Fix bug#14135.
17860 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
17862 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17864 2013-04-04 Glenn Morris <rgm@gnu.org>
17866 * electric.el (electric-pair-inhibit-predicate): Add :version.
17868 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
17870 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17871 when a package is required several times (bug#14082).
17873 2013-04-04 Roland Winkler <winkler@gnu.org>
17875 * faces.el (read-face-name): Behave as promised by the docstring.
17876 Assume that arg default is a list of faces.
17877 (describe-face): Call read-face-name with list of default faces.
17879 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17881 * bookmark.el: Fix deletion of bookmarks (bug#13972).
17882 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17883 (bookmark-bmenu-execute-deletions): Only skip first line if it's
17885 (bookmark-exit-hook-internal): Save even if list is empty.
17887 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
17889 * emacs-lisp/package.el (package-pinned-packages): New var.
17890 (package--add-to-archive-contents): Obey it (bug#14118).
17892 2013-04-03 Alan Mackenzie <acm@muc.de>
17894 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17895 Also adapt to the new values of element 7 of a parse state.
17897 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17898 parameter `not-in-delimiter'. Handle being inside comment opener.
17899 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17900 character in case we're typing a '*' after a '/'.
17901 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17902 instead by passing the parameter to c-state-pp-to-literal.
17904 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17905 for elt. 7 of a parse state.
17907 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
17909 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17910 * international/latin1-disp.el, international/mule-util.el:
17911 * language/cyril-util.el, language/european.el, language/ind-util.el:
17912 * language/lao-util.el, language/thai.el, language/tibet-util.el:
17913 * language/tibetan.el, language/viet-util.el:
17914 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17916 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17918 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17919 (electric-pair-post-self-insert-function): Use it.
17920 (electric-pair-default-inhibit): New function, extracted from
17921 electric-pair-post-self-insert-function.
17923 2013-03-31 Roland Winkler <winkler@gnu.org>
17925 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17927 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17929 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17931 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
17933 Un-indent after "pass" and "return" statements (Bug#13888)
17934 * progmodes/python.el (python-indent-block-enders): New var.
17935 (python-indent-calculate-indentation): Use it.
17937 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
17939 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17940 defun. Defining it as defalias could introduce too eager
17941 byte-compiler optimization. (Bug#14030)
17943 2013-03-30 Chong Yidong <cyd@gnu.org>
17945 * iswitchb.el (iswitchb-read-buffer): Fix typo.
17947 2013-03-30 Leo Liu <sdl.web@gmail.com>
17949 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17950 (kmacro-execute-from-register): Pass the keyboard macro to
17951 kmacro-call-macro or repeating won't work correctly.
17953 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
17955 * progmodes/subword.el: Back to using `forward-symbol'.
17957 * subr.el (forward-whitespace, forward-symbol)
17958 (forward-same-syntax): Move from thingatpt.el.
17960 2013-03-29 Leo Liu <sdl.web@gmail.com>
17962 * kmacro.el (kmacro-to-register): New command.
17963 (kmacro-execute-from-register): New function.
17964 (kmacro-keymap): Bind to 'x'. (Bug#14071)
17966 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
17968 * mpc.el: Use defvar-local and setq-local.
17969 (mpc--proc-connect): Connection failures are not bugs.
17970 (mpc-mode-map): `follow-link' only applies to the buffer's content.
17971 (mpc-volume-map): Bind to the up-events.
17973 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
17975 * progmodes/subword.el (superword-mode): Use `forward-sexp'
17976 instead of `forward-symbol'.
17978 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
17980 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17981 (edebug--recursive-edit): Use it.
17982 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17983 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17985 2013-03-28 Leo Liu <sdl.web@gmail.com>
17987 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
17989 2013-03-27 Eli Zaretskii <eliz@gnu.org>
17991 * facemenu.el (list-colors-callback): New defvar.
17992 (list-colors-redisplay): New function.
17993 (list-colors-display): Install list-colors-redisplay as the
17994 revert-buffer-function. (Bug#14063)
17996 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
17998 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17999 and suffixes don't overlap (bug#14061).
18001 * case-table.el: Use lexical-binding.
18002 (case-table-get-table): New function.
18003 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18005 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18007 * progmodes/subword.el: Add `superword-mode' to do word motion
18008 over symbol_words (parallels and leverages `subword-mode' which
18009 does word motion inside MixedCaseWords).
18011 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18013 * eshell/em-unix.el: Move su and sudo to...
18014 * eshell/em-tramp.el: ...Eshell tramp module.
18016 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18018 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18019 Change return value to be a sexp. Delay `get-buffer' to after
18020 restoring the desktop (bug#13951).
18022 2013-03-26 Leo Liu <sdl.web@gmail.com>
18024 * register.el: Move semantic tag handling back to
18025 cedet/semantic/senator.el. (Bug#14052)
18027 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18029 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18030 into the prompt either (bug#13963).
18032 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18034 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18035 part of "(error-foo)".
18037 2013-03-24 Juri Linkov <juri@jurta.org>
18039 * replace.el (list-matching-lines-prefix-face): New defcustom.
18040 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18041 `occur-engine' if `face-differs-from-default-p' returns t.
18042 (occur-engine): Add `,' inside backquote construct to evaluate
18043 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18044 Pass `prefix-face' to the functions `occur-context-lines' and
18045 `occur-engine-add-prefix'.
18046 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18047 `prefix-face' and propertize the prefix with `prefix-face'.
18050 2013-03-24 Leo Liu <sdl.web@gmail.com>
18052 * nxml/rng-valid.el (rng-validate-while-idle)
18053 (rng-validate-quick-while-idle): Guard against deleted buffer.
18056 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18057 is the last entry in kill-buffer-hook.
18059 * files.el (kill-buffer-hook): Doc fix.
18061 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18063 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18064 Make it safe-local.
18066 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18068 2013-03-23 Leo Liu <sdl.web@gmail.com>
18070 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18073 * nxml/rng-valid.el (rng-validate-mode)
18074 (rng-after-change-function, rng-do-some-validation):
18075 * nxml/rng-maint.el (rng-validate-buffer):
18076 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18077 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18078 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18079 (nxml-extend-after-change-region): Use with-silent-modifications.
18081 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18084 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18085 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18086 timer-idle-list. (Bug#13999)
18088 2013-03-23 Juri Linkov <juri@jurta.org>
18090 * info.el (info-index-match): New face.
18091 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18092 main pattern and add text properties with the new face to matches
18093 in index entries relative to the beginning of the index entry.
18096 2013-03-21 Eric Ludlam <zappo@gnu.org>
18098 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18099 Inhibit read only while inserting objects.
18101 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
18103 * progmodes/cfengine.el: Update docs to mention
18104 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
18105 symbol motion. Remove "_" from the word syntax.
18107 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
18109 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18110 syntax for both `cfengine2-mode' and `cfengine3-mode'.
18112 2013-03-20 Juri Linkov <juri@jurta.org>
18114 * info.el (Info-next-reference-or-link)
18115 (Info-prev-reference-or-link): New functions.
18116 (Info-next-reference, Info-prev-reference): Use them.
18117 (Info-try-follow-nearest-node): Handle footnote navigation.
18118 (Info-fontify-node): Fontify footnotes. (Bug#13989)
18120 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
18122 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18123 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18125 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
18127 Suppress unnecessary non-ASCII chatter during build process.
18128 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18129 (batch-skkdic-convert): Suppress most of the chatter.
18130 It's not needed so much now that machines are faster,
18131 and its non-ASCII component was confusing; see Dmitry Gutov in
18132 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18134 2013-03-20 Leo Liu <sdl.web@gmail.com>
18136 * ido.el (ido-chop): Fix bug#10994.
18138 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18140 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18142 (whitespace-color-on, whitespace-color-off):
18143 Use `font-lock-fontify-buffer' (Bug#13817).
18145 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
18147 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18148 remapping in mode-line.
18149 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18151 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18153 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18154 value for `whitespace-line' face (Bug#13875).
18155 (whitespace-font-lock-keywords): Change description.
18156 (whitespace-color-on): Don't save `font-lock-keywords' value, save
18157 the constructed keywords instead.
18158 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18160 2013-03-19 Leo Liu <sdl.web@gmail.com>
18162 * progmodes/compile.el (compilation-display-error): New command.
18163 (compilation-mode-map, compilation-minor-mode-map): Bind it to
18166 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18168 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18170 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
18172 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18174 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
18176 * net/tramp-compat.el (tramp-compat-user-error): New defun.
18178 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18179 * net/tramp-gvfs.el (top):
18180 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18181 (tramp-handle-shell-command): Use it.
18182 (tramp-dissect-file-name): Raise an error when hostname is a
18183 method name, and neither method nor user is specified.
18185 * net/trampver.el: Update release number.
18187 2013-03-18 Leo Liu <sdl.web@gmail.com>
18189 Make sure eldoc can be turned off properly.
18190 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18192 (eldoc-display-message-p): Revert last change.
18193 (eldoc-display-message-no-interference-p)
18194 (eldoc-print-current-symbol-info): Tweak.
18196 2013-03-18 Tassilo Horn <tsdh@gnu.org>
18198 * doc-view.el (doc-view-new-window-function): Check the new window
18199 overlay's display property instead the char property of the
18200 buffer's first char. Use `with-selected-window' instead of
18201 `save-window-excursion' with `select-window'.
18202 (doc-view-document->bitmap): Check the current doc-view overlay's
18203 display property instead the char property of the buffer's first char.
18205 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18207 Automate the build of ja-dic.el (Bug#13984).
18208 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18209 from the input, rather than assume that it's been done for us by the
18210 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
18211 the current date into a ja-dic.el comment, as that complicates
18212 regression testing.
18214 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18216 * whitespace.el: Fix double evaluation.
18217 (whitespace-space, whitespace-hspace, whitespace-tab)
18218 (whitespace-newline, whitespace-trailing, whitespace-line)
18219 (whitespace-space-before-tab, whitespace-indentation)
18220 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18222 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18223 (whitespace-color-on): Use a single font-lock-add-keywords call.
18224 Fix double-evaluation of face variables.
18226 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
18228 * net/tramp-adb.el (tramp-adb-parse-device-names):
18229 Use `start-process' instead of `call-process'. Otherwise, the
18230 function might be blocked under MS Windows. (Bug#13299)
18232 2013-03-17 Leo Liu <sdl.web@gmail.com>
18234 Extend eldoc to display info in the mode-line. (Bug#13978)
18235 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18236 (eldoc-mode-line-string): New variable.
18237 (eldoc-minibuffer-message): New function.
18238 (eldoc-message-function): New variable.
18239 (eldoc-message): Use it.
18240 (eldoc-display-message-p)
18241 (eldoc-display-message-no-interference-p):
18242 Support eldoc-post-insert-mode.
18244 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18245 (eval-expression): Run it.
18247 2013-03-17 Roland Winkler <winkler@gnu.org>
18249 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18250 strings in the list of return values.
18252 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18254 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18255 radix before checking for HMS forms.
18257 2013-03-16 Leo Liu <sdl.web@gmail.com>
18259 * progmodes/scheme.el: Add indentation and font-locking for λ.
18262 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
18264 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18265 token before point (bug#13942).
18267 2013-03-16 Leo Liu <sdl.web@gmail.com>
18269 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
18271 2013-03-16 Eli Zaretskii <eliz@gnu.org>
18273 * startup.el (command-line-normalize-file-name): Fix handling of
18274 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
18275 <xfq.free@gmail.com> in
18276 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18278 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
18280 Sync with Tramp 2.2.7.
18282 * net/trampver.el: Update release number.
18284 2013-03-14 Tassilo Horn <tsdh@gnu.org>
18286 * doc-view.el: Fix bug#13887.
18287 (doc-view-insert-image): Don't modify overlay associated to
18288 non-live windows, and implement horizontal centering of image in
18289 case it's smaller than the window.
18290 (doc-view-new-window-function): Force redisplay of new windows on
18293 2013-03-13 Karl Fogel <kfogel@red-bean.com>
18295 * saveplace.el (save-place-alist-to-file): Don't sort
18296 `save-place-alist', just pretty-print it (bug#13882).
18298 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
18300 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18301 Check whether `default-file-name-coding-system' is bound.
18302 It isn't in XEmacs.
18304 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
18306 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18307 backquotes for `obsolete' (bug#13929).
18309 * international/mule.el (find-auto-coding): Include file name in
18310 obsolescence warning (bug#13922).
18312 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
18314 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18315 for CFEngine 3-specific indentation.
18316 (cfengine3-indent-line): Use it. Fix up category regex.
18317 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18319 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18321 * type-break.el (type-break-file-name):
18322 * textmodes/remember.el (remember-data-file):
18323 * strokes.el (strokes-file):
18324 * shadowfile.el (shadow-initialize):
18325 * saveplace.el (save-place-file):
18326 * ps-bdf.el (bdf-cache-file):
18327 * progmodes/idlwave.el (idlwave-config-directory):
18328 * net/quickurl.el (quickurl-url-file):
18329 * international/kkc.el (kkc-init-file-name):
18330 * ido.el (ido-save-directory-list-file):
18331 * emulation/viper.el (viper-custom-file-name):
18332 * emulation/vip.el (vip-startup-file):
18333 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18334 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18336 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
18338 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18339 * language/thai-word.el: Switch to UTF-8.
18341 See ChangeLog.16 for earlier changes.
18343 ;; Local Variables:
18347 Copyright (C) 2011-2014 Free Software Foundation, Inc.
18349 This file is part of GNU Emacs.
18351 GNU Emacs is free software: you can redistribute it and/or modify
18352 it under the terms of the GNU General Public License as published by
18353 the Free Software Foundation, either version 3 of the License, or
18354 (at your option) any later version.
18356 GNU Emacs is distributed in the hope that it will be useful,
18357 but WITHOUT ANY WARRANTY; without even the implied warranty of
18358 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18359 GNU General Public License for more details.
18361 You should have received a copy of the GNU General Public License
18362 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.