1 2014-06-08 Glenn Morris <rgm@gnu.org>
3 * startup.el (initial-buffer-choice): Doc fix.
4 Reset :version (adding an option does not merit a :version bump).
6 * bookmark.el (bookmark-load):
7 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9 2014-06-08 Juri Linkov <juri@jurta.org>
11 * desktop.el: Activate auto-saving on window configuration changes.
12 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
13 `desktop-auto-save-set-timer' to/from
14 `window-configuration-change-hook'.
15 (desktop-auto-save-set-timer): Change REPEAT arg of
16 `run-with-idle-timer' from t to nil.
17 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
19 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
21 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
22 vc-hg-command (bug#17570).
24 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
26 * international/mule-cmds.el (ucs-names): Add special entry for BEL
29 2014-06-08 Glenn Morris <rgm@gnu.org>
31 * startup.el (window-setup-hook): Doc fix.
33 * emacs-lisp/package.el (package-check-signature)
34 (package-unsigned-archives): Doc fixes.
36 2014-06-08 Martin Rudalics <rudalics@gmx.at>
38 * window.el (display-buffer-use-some-window): Don't make window
39 used smaller than it was before (Bug#17671).
41 2014-06-08 Eli Zaretskii <eliz@gnu.org>
43 * menu-bar.el (menu-bar-open): Fix last change: use the PC
44 'redisplay' instead of '(sit-for 0)'.
46 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
48 * net/tramp.el (tramp-ssh-controlmaster-options):
49 Improve search regexp. (Bug#17653)
51 2014-06-08 Glenn Morris <rgm@gnu.org>
53 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
55 2014-06-08 Eli Zaretskii <eliz@gnu.org>
57 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
59 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
61 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
64 * vc/vc-hg.el (vc-hg-log-graph): New var.
65 (vc-hg-print-log): Use it.
66 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
67 graph output (bug#17515).
69 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
71 * mouse.el (mouse-posn-property): Ignore buffer position info when the
72 even happened elsewhere.
74 2014-06-06 Mario Lang <mlang@delysid.org>
76 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
77 `recenter' if `current-buffer' is equal to `window-buffer'.
79 2014-06-05 Leo Liu <sdl.web@gmail.com>
81 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
83 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
85 * textmodes/tildify.el (tildify-foreach-region-outside-env):
86 New function which calls a callback on portions of the buffer that are
87 outside of ignored environments.
88 (tildify-build-regexp): Remove function since it is now
89 incorporated in `tildify-foreach-region-outside-env' where it is
90 optimised and simplified by the use of `mapconcat'.
91 (tildify-tildify): Return number of substitutions made so that…
92 (tildify-count): …can be removed.
93 (tildify-find-env): Accept a new PAIRS argument which was
94 previously looked up in `tildify-ignored-environments-alist' each
95 time the function was called. With this change, the lookup is
96 performed only once in `tildify-foreach-region-outside-env'.
97 (tildify-region): Greatly simplify the function since now most of
98 the work is done by `tildify-foreach-region-outside-env'.
99 (tildify-mode-alist): Simplify slightly by avoiding if and setq
100 and instead using or.
102 * textmodes/tildify.el (tildify-ignored-environments-alist):
103 Optimise environments regexes
105 Each time beginning of an environment to ignore is found,
106 `tildify-find-env' needs to identify regexp for the ending
107 of the environment. This is done by trying all the opening
108 regexes on matched text in a loop, so to speed that up, this
109 loop should have fewer things to match, which can be done by
110 using alternatives in the opening regexes.
112 Coincidentally, this should make matching of the opening
113 regexp faster as well thanks to the use of `regexp-opt' and
114 having common prefix pulled from many regexes.
116 * textmodes/tildify.el (tildify-string-alist)
117 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
118 of supported modes since `xml-mode' is no longer a thing but just
119 an alias to the former. Also include comments and insides of tags
120 in `tildify-ignored-environments-alist' for XML modes. Finally,
121 since XML does not define “ ”[1], use a numeric reference for
122 a no-break space (namely “ ”)
124 [1] XML specification defines only a handful of predefined entities.
125 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
126 and includes only <, >, &, ' and " (meaning <,
127 >, &, ' and " respectively). This is in contrast to HTML and even
128 XHTML which defined a whole bunch of entities including “ ”.
130 * textmodes/tildify.el (tildify-pattern-alist)
131 (tildify-string-alist, tildify-ignored-environments-alist):
132 Improve defcustom's types by adding more tags explaining what each
133 value means and replace “sexp” used in
134 `tildify-ignored-environments-alist' with a full type declaration.
136 * textmodes/tildify.el (tildify-find-env): Fix matched group
137 indexes in end-regex building
139 When looking for a start of an ignore-environment, the regex is built
140 by concatenating regexes of all the environments configured in
141 `tildify-ignored-environments-alist'. So for example, the following
142 list could be used to match TeX's \verb and \verb* commands:
144 (("\\\\verb\\(.\\)" . (1))
145 ("\\\\verb\\*\\(.\\)" . (1)))
147 This would result in the following regex being used to find the start
148 of any of the variants of the \verb command:
150 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
152 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
153 won't match anything, and thus (match-string 1) will be nil, which
154 will cause building of the end-matching regex to fail.
156 Fix this by using capture groups from the time when the opening
157 regexes are matched individually.
159 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
160 in `tildify-find-env'
162 The `tildify-ignored-environments-alist' allows the end-regex to
163 be provided not as a static string but mix of strings and indexes
164 of groups matched the begin-regex. For example, the “\verb!…!”
165 TeX-command (where “!” is an arbitrary character) is handled
168 ("\\\\verb\\*?\\(.\\)" . (1))
170 In the same way, the following should be supported as well:
172 ("open-\\(.\\)" . ("end-" 1))
174 However the tildify-find-env function fails at
177 (if (stringp (setq aux (car expression)))
178 expression ; BUG: expression is a list
179 (regexp-quote (match-string aux))))
181 where the string part is handled incorrectly.
183 The most trivial fix would be to replace `expression' in the
184 true-part of the if-statement with `aux', but instead, this commit
185 optimises `tildify-find-env' by changing it to use `mapconcat'
186 rather than open-coded while-loop.
188 2014-06-05 Mario Lang <mlang@delysid.org>
190 * woman.el (woman-mapcan): Remove.
191 (woman-parse-colon-path): Use cl-mapcan instead.
193 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
195 * register.el: Add link to Emacs manual in Commentary.
197 2014-06-02 Sam Steingold <sds@gnu.org>
199 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
200 (popup-menu): ...here.
201 (menu-bar-open): Use it to avoid an error when `lookup-key'
204 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
206 * net/tramp.el (tramp-call-process): Add traces.
207 (tramp-handle-unhandled-file-name-directory): Return "/".
209 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
211 Sync with upstream verilog-mode revision 3cd8144.
212 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
213 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
214 (verilog-type-font-keywords): Add nor.
215 (verilog-batch-execute-func): Force reading of Local Variables.
216 Fix printing "no changes to be saved" with verilog-batch.
217 (verilog-auto-arg-ports): Doc fix.
218 Add verilog-auto-arg-format to support newlines in AUTOARG.
219 (verilog-auto-arg): Doc fix.
221 2014-06-02 Glenn Morris <rgm@gnu.org>
223 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
224 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
225 * emulation/ws-mode.el: Move to obsolete/.
226 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
228 2014-06-02 Eli Zaretskii <eliz@gnu.org>
230 * simple.el (keyboard-quit): Force update of mode lines, to remove
231 the "Def" indicator, if we were defining a macro. (Bug#17615)
233 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
235 * minibuffer.el (minibuffer-force-complete-and-exit):
236 Obey minibuffer-default (bug#17545).
238 * progmodes/js.el (js-indent-line): Don't mix columns and chars
241 * subr.el (set-transient-map): Don't wait for some "nested"
242 transient-map to finish if we're only supposed to be active for
243 the next command (bug#17642).
245 2014-06-02 Leo Liu <sdl.web@gmail.com>
247 * emacs-lisp/gv.el (window-buffer, window-display-table)
248 (window-dedicated-p, window-hscroll, window-point, window-start):
249 Fix gv-expander. (Bug#17630)
251 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
253 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
256 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
257 for the single comma, since ", " is *very* common in normal French text
260 2014-06-02 Glenn Morris <rgm@gnu.org>
262 * emacs-lisp/package.el (package-check-signature)
263 (package-unsigned-archives): Fix :version.
265 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
267 * subr.el (sit-for): Don't run input-methods (bug#15614).
269 2014-06-02 Glenn Morris <rgm@gnu.org>
271 * cus-start.el: Fix some :version numbers.
273 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
275 * simple.el (deactivate-mark): Set mark-active to nil even if
276 deactivation is done via setting transient-mark-mode to nil,
277 since one is buffer-local and the other is global.
279 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
280 there can't be more than 2 arguments (bug#17584).
282 2014-06-02 Glenn Morris <rgm@gnu.org>
284 * simple.el (filter-buffer-substring-functions)
285 (filter-buffer-substring-function, buffer-substring-filters)
286 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
288 * minibuffer.el (completion-in-region-functions, completion-in-region)
289 (completion--in-region): Doc fixes.
291 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
292 (expand-abbrev, abbrev--default-expand): Doc fixes.
294 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
296 Include sources used to create macuvs.h.
297 * international/README: Refer to the Unicode Terms of Use rather
298 than copying it bodily here, as that simplifies maintenance.
300 2014-06-01 Glenn Morris <rgm@gnu.org>
302 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
304 2014-05-31 Glenn Morris <rgm@gnu.org>
306 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
308 2014-05-30 Glenn Morris <rgm@gnu.org>
310 * loadup.el: Treat `command-line-args' more flexibly.
312 2014-05-30 Alan Mackenzie <acm@muc.de>
314 Guard (looking-at "\\s!") from XEmacs.
315 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
317 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
319 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
320 The argument COUNT is now optional, to be more backward-compatible.
323 2014-05-29 Reuben Thomas <rrt@sc3d.org>
325 * whitespace.el (whitespace-report-region):
326 Simplify documentation.
327 (whitespace-report-region): Allow report-if-bogus to take the
328 value `never', for non-interactive use.
329 (whitespace-report): Refer to whitespace-report-region's
332 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
334 * whitespace.el: Use font-lock-flush. Minimize refontifications.
335 Side benefit: it works without jit-lock.
336 (whitespace-point--used): New buffer-local var.
337 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
338 (whitespace-color-off): Use font-lock-flush.
339 (whitespace-point--used, whitespace-point--flush-used): New functions.
340 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
341 (whitespace-empty-at-eob-regexp): Use them.
342 (whitespace-post-command-hook): Rewrite.
344 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
345 (font-lock-fontify-buffer): Mark interactive-only.
346 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
348 (font-lock-specified-p): Remove redundant boundp check.
349 (font-lock-flush-function, font-lock-ensure-function): New vars.
350 (font-lock-turn-on-thing-lock): Set them.
351 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
352 (font-lock-after-change-function): Make `old-len' optional.
353 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
354 Call font-lock-flush, just in case.
355 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
357 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
358 (vera-mode-map, vera-mode-menu): Remove bindings to it.
359 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
360 and with-syntax-table.
361 * textmodes/conf-mode.el (conf-quote-normal):
362 * progmodes/sh-script.el (sh-set-shell):
363 * progmodes/prog-mode.el (prettify-symbols-mode):
364 * progmodes/f90.el (f90-font-lock-n):
365 * progmodes/cwarn.el (cwarn-mode):
366 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
367 * progmodes/compile.el (compilation-setup, compilation--unsetup):
368 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
369 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
370 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
371 font-lock-fontify-buffer-function and
372 font-lock-unfontify-buffer-function.
373 (rmail-unfontify-buffer-function, rmail-fontify-message):
374 Use with-silent-modifications.
375 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
376 and font-lock-ensure.
377 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
379 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
381 * emacs-lisp/package.el (package-generate-autoloads):
382 Inhibit backup files.
384 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
386 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
389 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
391 * textmodes/tildify.el (tildify-buffer, tildify-region):
394 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
396 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
397 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
399 * subr.el (internal--funcall-interactively): New.
400 (internal--call-interactively): Remove.
401 (called-interactively-p): Detect funcall-interactively instead of
403 * simple.el (repeat-complex-command): Use funcall-interactively.
404 (repeat-complex-command--called-interactively-skip): Remove.
406 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
408 * register.el (register-read-with-preview): Don't burp on
409 frame switches (e.g. due to the frame we just popped).
411 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
412 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
414 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
416 * cus-face.el (custom-face-attributes): Add :distant-foreground.
418 2014-05-26 Martin Rudalics <rudalics@gmx.at>
420 * window.el (window--dump-frame): Remove interactive specification.
422 2014-05-26 Glenn Morris <rgm@gnu.org>
424 * hippie-exp.el (he-line-search-regexp):
425 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
427 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
429 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
430 to avoid errors when trying to create or visit a file foo.todo
431 located outside to todo-directory, and to allow having such files
432 without them being tied to Todo mode (bug#17482).
433 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
434 (todo-archive-done-item, todo-find-filtered-items-file)
435 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
436 (todo-category-completions, todo-read-category): When visiting a
437 Todo file, make sure we're in the right mode and the buffer local
439 (todo-make-categories-list, todo-reset-nondiary-marker)
440 (todo-reset-done-string, todo-reset-comment-string):
441 After processing all Todo files, kill the buffers of those files that
442 weren't being visited before the processing.
443 (todo-display-as-todo-file, todo-add-to-buffer-list)
444 (todo-visit-files-commands): Comment out.
445 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
446 (auto-mode-alist): Remove add-to-list calls making Todo file
447 extensions unrestrictedly tied to Todo modes.
449 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
451 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
452 (advice-function-member-p): Tell it to check both names and functions
454 (advice--add-function): Adjust call accordingly.
456 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
458 * calendar/todo-mode.el: Miscellaneous bug fixes.
459 (todo-delete-file): When deleting an archive but not its todo
460 file, make sure to update the todo file's category sexp.
461 (todo-move-category): Keep the moved category's name unless the
462 file moved to already has a category with that name. If the
463 numerically last category of the source file was moved, make the
464 first category current to avoid selecting a nonexisting category.
465 (todo-merge-category): Fix implementation to make merging to a
466 category in another file work as documented. Eliminate now
467 insufficient and unnecessary renaming of archive category, correct
468 document string accordingly, and clarify it. If the numerically
469 last category of the source file was merged, make the first
470 category current to avoid selecting a nonexisting category.
471 (todo-archive-done-item): When there are marked items and point
472 happens to be on an unmarked item, ignore the latter. Don't leave
473 point below last item after archiving marked items.
474 (todo-unarchive-items): Fix logic to ensure unarchiving an item
475 from an archive with only one category deletes the archive only
476 when the category is empty after unarchiving. Make sure the todo
477 file's category sexp is updated.
478 (todo-read-file-name): Allow an existing file name even when it is
479 not required (todo-move-category needs this to work as documented).
480 (todo-add-file): Call todo-validate-name to reject the name of an
481 existing todo file (needed due to fix in todo-read-file-name).
482 (todo-reset-nondiary-marker): Also reset in filtered items files.
483 (todo-reset-done-string, todo-reset-comment-string): Also reset in
484 regexp filtered items files.
485 (todo-reset-highlight-item): Also reset in filtered items files.
486 Fix incorrect variable reference in document string.
488 2014-05-26 Glenn Morris <rgm@gnu.org>
490 * window.el (window--dump-frame): Avoid error in --without-x builds.
492 2014-05-26 Glenn Morris <rgm@gnu.org>
494 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
496 2014-05-26 Eli Zaretskii <eliz@gnu.org>
498 * frame.el (set-frame-font): Doc fix.
500 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
502 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
504 * emacs-lisp/package.el (package--download-one-archive):
505 Use `write-region' instead of `save-buffer' to avoid running various
507 (describe-package-1): Same. Insert newline at the end of the
508 buffer if appropriate.
510 2014-05-26 Juri Linkov <juri@jurta.org>
512 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
513 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
514 Add more modifiers: meta, control, shift, hyper, super, alt.
517 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
518 to allow changing its value with `set-variable'.
520 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
522 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
524 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
526 (scheme-mode-variables): Set syntax-propertize-function instead of
527 font-lock-syntactic-face-function.
528 (scheme-font-lock-syntactic-face-function): Delete.
530 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
532 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
535 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
537 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
538 for a temporary file name.
540 2014-05-26 Eli Zaretskii <eliz@gnu.org>
542 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
544 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
546 * net/dbus.el (dbus-init-bus, dbus-call-method)
547 (dbus-call-method-asynchronously, dbus-send-signal)
548 (dbus-method-return-internal, dbus-method-error-internal):
549 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
551 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
553 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
554 methods which do not have a doc string. (Bug#17490)
556 2014-05-25 Tassilo Horn <tsdh@gnu.org>
558 * textmodes/reftex-ref.el (reftex-format-special): Make it work
559 also for AMS Math's \eqref macro.
561 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
563 Arrange to never byte-compile the generated -pkg.el file.
565 * emacs-lisp/package.el (package-generate-description-file):
566 Output first-line comment to set buffer-local var `no-byte-compile'.
567 Suggested by Dmitry Gutov:
568 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
570 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
572 Fix bug: Properly quote args to generated -pkg.el `define-package'.
574 * emacs-lisp/package.el (package-generate-description-file):
575 Inline `package--alist-to-plist'; rewrite to selectively
576 quote alist values that are not self-quoting.
577 (package--alist-to-plist): Delete func.
579 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
581 * term/xterm.el (xterm-function-map): Add mapping for shifted
584 2014-05-24 Daniel Colascione <dancol@dancol.org>
586 * progmodes/subword.el (subword-find-word-boundary): Move point to
587 correct spot before search. (Bug#17580)
589 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
592 2014-05-24 Leo Liu <sdl.web@gmail.com>
594 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
596 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
598 * minibuffer.el (completion--sreverse): Remove.
599 (completion--common-suffix): Use `reverse' instead.
600 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
602 2014-05-22 Glenn Morris <rgm@gnu.org>
604 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
606 2014-05-21 Daniel Colascione <dancol@dancol.org>
608 * files.el (interpreter-mode-alist): Add mksh.
610 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
612 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
613 mksh. Improve custom spec; allow regular expressions.
614 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
615 (sh-after-hack-local-variables): New function.
616 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
617 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
619 (sh-canonicalize-shell): Rewrite to support regexes.
621 2014-05-21 Leo Liu <sdl.web@gmail.com>
623 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
625 2014-05-19 Leo Liu <sdl.web@gmail.com>
627 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
629 2014-05-18 Glenn Morris <rgm@gnu.org>
632 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
634 2014-05-14 Sam Steingold <sds@gnu.org>
636 * progmodes/python.el (python-shell-get-or-create-process):
637 Do not bind `current-prefix-arg' so that C-c C-z does not talk
638 back unless requested.
640 2014-05-14 Glenn Morris <rgm@gnu.org>
642 * subr.el (with-file-modes): New macro.
643 * printing.el (pr-save-file-modes): Make obsolete.
644 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
645 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
647 * doc-view.el (doc-view-make-safe-dir):
648 * epg.el (epg--start):
649 * files.el (locate-user-emacs-file, make-temp-file)
650 (backup-buffer-copy, move-file-to-trash):
651 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
652 * eshell/esh-util.el (eshell-with-private-file-modes)
653 (eshell-make-private-directory):
654 * net/browse-url.el (browse-url-mosaic):
655 * obsolete/mailpost.el (post-mail-send-it):
656 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
657 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
660 * vc/emerge.el (emerge-make-temp-file): Simplify.
662 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
663 Stefan Monnier <monnier@iro.umontreal.ca>
665 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
668 2014-05-14 Glenn Morris <rgm@gnu.org>
670 * vc/emerge.el (emerge-temp-file-prefix):
671 Make pointless option obsolete.
672 (emerge-temp-file-mode): Make non-functional option obsolete.
674 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
676 * net/browse-url.el (browse-url):
677 Use `unhandled-file-name-directory' when setting `default-directory',
678 in order to circumvent stalled remote connections. (Bug#17425)
680 2014-05-14 Glenn Morris <rgm@gnu.org>
682 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
683 Optimize on Emacs, which has the relevant functions for ages.
685 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
687 * simple.el (undo-make-selective-list): Obey undo-no-redo.
689 2014-05-12 Sam Steingold <sds@gnu.org>
691 * calendar/time-date.el (seconds-to-string): New function to
692 pretty print time delay in seconds.
694 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
696 * mpc.el (mpc-format): Trim Date to the year.
697 (mpc-songs-hashcons): Shorten the Date field.
699 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
700 into autoloading just because of a silly indirection.
702 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
704 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
706 2014-05-12 Glenn Morris <rgm@gnu.org>
708 * emacs-lisp/find-gc.el: Move to ../admin.
710 * printing.el (pr-version):
711 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
713 * net/browse-url.el (browse-url-mosaic):
714 Create /tmp/Mosaic.PID as a private file.
716 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
718 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
719 (advice--member-p): If name is given, only compare the name.
720 (advice--remove-function): Don't stop at the first match.
721 (advice--normalize-place): New function.
722 (add-function, remove-function): Use it.
723 (advice--add-function): Pass the name, if any, to
724 advice--remove-function.
726 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
728 * electric.el (electric-indent-post-self-insert-function): Don't use
729 `pos' after modifying the buffer (bug#17449).
731 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
733 * calendar/todo-mode.el (todo-insert-item-from-calendar):
734 Correct argument list to conform to todo-insert-item--basic.
736 2014-05-12 Glenn Morris <rgm@gnu.org>
738 * files.el (cd-absolute): Test if directory is accessible
739 rather than executable. (Bug#17330)
741 * progmodes/compile.el (recompile):
742 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
744 * net/browse-url.el (browse-url-mosaic):
745 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
746 This is CVE-2014-3423.
748 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
750 * mouse.el: Use the normal toplevel loop while dragging.
751 (mouse-set-point): Handle multi-clicks.
752 (mouse-set-region): Handle multi-clicks for drags.
753 (mouse-drag-region): Update call accordingly.
754 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
755 Use the normal event loop instead of a local while/read-event loop.
756 (global-map): Remove redundant bindings for double/triple-mouse-1.
757 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
758 Generate synthetic down events when the protocol only sends up events.
759 (xterm-mouse-last): Remove.
760 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
761 terminal parameter instead.
762 (xterm-mouse--set-click-count): New function.
763 (xterm-mouse-event): Detect/generate double/triple clicks.
764 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
766 * info.el (Info-quoted): New face.
767 (Info-mode-font-lock-keywords): New var.
770 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
771 are a hindrance for C-x C-e.
773 2014-05-11 Leo Liu <sdl.web@gmail.com>
775 * net/rcirc.el (rcirc-sentinel): Fix last change.
777 2014-05-08 Sam Steingold <sds@gnu.org>
779 * net/rcirc.el (rcirc-reconnect-delay): New user option.
780 (rcirc-sentinel): Auto-reconnect to the server if
781 `rcirc-reconnect-delay' is non-0 (but not more often than its
782 value in case the host is off-line).
784 2014-05-09 Eli Zaretskii <eliz@gnu.org>
786 * progmodes/grep.el (lgrep): Fix a typo in last commit.
788 2014-05-09 Glenn Morris <rgm@gnu.org>
790 * files.el (file-expand-wildcards):
791 * man.el (Man-support-local-filenames):
792 * printing.el (pr-i-directory, pr-interface-directory):
793 * progmodes/grep.el (lgrep, rgrep):
794 * textmodes/ispell.el (ispell-call-process)
795 (ispell-call-process-region, ispell-start-process)
796 (ispell-init-process): Use file-accessible-directory-p.
798 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
800 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
801 (xterm-mouse--read-event-sequence-1000): Return nil if something
803 (xterm-mouse-event): Propagate it.
804 (xterm-mouse-translate-1): Handle it.
806 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
808 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
809 four slots of the parameter list are filled, make sure to pass it
810 to the argument list of todo-insert-item--basic.
812 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
815 Add optional `seen' argument to detect and break infinite loops.
817 2014-05-08 Eli Zaretskii <eliz@gnu.org>
819 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
820 (trace-unsafe, trace-use-tree): Make parentheses style be
821 according to Emacs style.
823 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
825 * net/tramp-sh.el (tramp-remote-process-environment):
826 Remove HISTFILE and HISTSIZE; it's too late to set them here.
828 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
829 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
830 extra "PSx=..." commands.
831 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
834 (tramp-uudecode): Replace the hard-coded temporary file name by a
836 (tramp-remote-coding-commands): Enhance docstring.
837 (tramp-find-inline-encoding): Replace "%t" by a temporary file
839 This is CVE-2014-3424.
841 2014-05-08 Glenn Morris <rgm@gnu.org>
843 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
844 (find-gc-source-files): Update some names.
845 (trace-call-tree): Simplify and update.
846 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
847 This is CVE-2014-3422.
849 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
851 * minibuffer.el (completion--try-word-completion): Revert fix for
852 Bug#15980 (bug#17375).
854 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
855 Always store button numbers in the same way in xterm-mouse-last;
856 Don't burp is xterm-mouse-last is not set as expected.
857 Never return negative indices.
859 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
861 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
862 Backtrack one char if the global/char-literal var matcher hits
863 inside a string. The next char could be the beginning of an
864 expression expansion.
866 2014-05-08 Glenn Morris <rgm@gnu.org>
868 * help-fns.el (describe-function-1): Test for an autoload before a
869 macro, since `macrop' works on autoloads. (Bug#17410)
871 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
873 * electric.el (electric-indent-functions-without-reindent): Add yaml.
875 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
876 Make sure the new point we return is within the new string (bug#17239).
878 2014-05-05 Daniel Colascione <dancol@dancol.org>
880 * progmodes/compile.el (compilation-error-regexp-alist-alist):
881 Port `gnu' pattern to rx.
883 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
885 Remove unneeded prompt when closing a buffer with active
886 emacsclient ("Buffer ... still has clients"), #16548.
887 * server.el (server-start): Remove the only call to:
888 (server-kill-buffer-query-function): Remove.
890 2014-05-04 Leo Liu <sdl.web@gmail.com>
892 * calendar/diary-lib.el (calendar-chinese-month-name-array):
893 Defvar to pacify compiler.
895 2014-05-04 Eli Zaretskii <eliz@gnu.org>
897 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
899 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
901 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
902 Use nil rather than `default' for the "default" appearance (bug#17388).
903 * vc/ediff-util.el (ediff-inferior-compare-regions)
904 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
905 a misleading `default' value when it's really a boolean.
906 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
907 overlay is not visible.
909 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
911 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
912 (todo-menu): Uncomment and update.
914 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
916 * calendar/todo-mode.el: Reimplement item editing to have the same
917 basic user interface as item insertion, and make small UI and
918 larger internal improvements to the latter.
919 (todo-insert-item): Add reference to the Todo mode user manual to
920 the documentation string.
921 (todo-insert-item--basic): Rename from todo-basic-insert-item and
922 adjust all callers. Change signature to combine diary and
923 nonmarking arguments. Incorporate functionality of deleted item
924 copying command and add error checking. Remove detailed
925 descriptions of the arguments from the documentation string, since
926 this is treated in the Todo mode user manual.
927 (todo-copy-item, todo-edit-multiline-item)
928 (todo-edit-done-item-comment, todo-edit-item-header)
929 (todo-edit-item-time, todo-edit-item-date-from-calendar)
930 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
931 (todo-edit-item-date-year, todo-edit-item-date-month)
932 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
934 (todo-edit-item): Reimplement as wrapper command for
935 todo-edit-item--next-key and make it distinguish done and not done
937 (todo-edit-item--text): New function, replacing old command
938 todo-edit-item and incorporating deleted commands
939 todo-edit-multiline-item and todo-edit-done-item-comment.
940 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
941 Use only numeric value of prefix argument. Remove detailed
942 descriptions of the arguments from the documentation string, since
943 this is treated in the Todo mode user manual.
944 (todo-edit-item--diary-inclusion): New function, replacing old
945 command todo-edit-item-diary-inclusion and incorporating and fixing
946 functionality of deleted command todo-edit-item-diary-nonmarking,
947 making sure to remove todo-nondiary-marker when adding
948 diary-nonmarking-symbol.
949 (todo-edit-category-diary-inclusion): Make sure to delete
950 diary-nonmarking-symbol when adding todo-nondiary-marker.
951 (todo-edit-category-diary-nonmarking): Fix indentation.
952 (todo-insert-item--parameters): Group diary and nonmarking
954 (todo-insert-item--apply-args): Adjust to signature of
955 todo-insert-item--basic and incorporate copy parameter.
956 Make small code improvements.
957 (todo-insert-item--next-param): Improve prompt and adjust it to
958 new parameter grouping. Remove obsolete code.
959 (todo-edit-item--param-key-alist)
960 (todo-edit-item--date-param-key-alist)
961 (todo-edit-done-item--param-key-alist): New defconsts.
962 (todo-edit-item--prompt): New variable.
963 (todo-edit-item--next-key): New function.
964 (todo-key-bindings-t): Bind "e" to todo-edit-item.
965 Remove bindings of deleted commands.
967 2014-05-04 Leo Liu <sdl.web@gmail.com>
969 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
971 2014-05-04 Glenn Morris <rgm@gnu.org>
973 * allout-widgets.el (allout-widgets-tally)
974 (allout-decorate-item-guides):
975 * menu-bar.el (menu-bar-positive-p):
976 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
977 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
978 * progmodes/js.el (js--inside-param-list-p)
979 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
980 * progmodes/prolog.el (region-exists-p):
981 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
982 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
983 Doc fixes (replace `iff').
985 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
987 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
989 2014-05-04 Leo Liu <sdl.web@gmail.com>
991 Support Chinese diary entries in calendar and diary. (Bug#17393)
992 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
993 (calendar-chinese-from-absolute-for-diary)
994 (calendar-chinese-to-absolute-for-diary)
995 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
996 (diary-chinese-list-entries): New functions to list and mark
997 Chinese diary entries in the calendar window.
998 (diary-chinese-anniversary)
999 (diary-chinese-insert-anniversary-entry)
1000 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1001 (diary-chinese-insert-yearly-entry): New commands to insert
1002 Chinese diary entries.
1004 * calendar/diary-lib.el (diary-font-lock-keywords):
1005 Support font-locking Chinese dates.
1007 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1008 inserting Chinese diary entries.
1010 * calendar/calendar.el (diary-chinese-entry-symbol):
1011 New customizable variable.
1012 (calendar-mode-map): Add bindings for inserting Chinese diary
1015 2014-05-03 Juri Linkov <juri@jurta.org>
1017 * dired.el (dired-check-switches, dired-switches-recursive-p):
1018 New functions. (Bug#17218)
1019 (dired-switches-escape-p, dired-move-to-end-of-filename):
1020 Use `dired-check-switches'.
1021 (dired-insert-old-subdirs, dired-build-subdir-alist)
1022 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1024 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1026 * simple.el (undo-make-selective-list): New algorithm fixes
1027 incorrectness of position adjustments when undoing in region.
1029 (undo-elt-crosses-region): Make obsolete.
1030 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1031 New functions to adjust positions using undo-deltas.
1033 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1036 the last consecutive closing paren (bug#17345).
1038 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1040 * dired.el (dired-mode): make terminology for eXpunge command
1041 consistent. (Bug#17276)
1043 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1045 * dired.el (dired-initial-position-hook, dired-initial-position):
1048 2014-04-30 Glenn Morris <rgm@gnu.org>
1050 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1052 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1054 * faces.el (face-spec-recalc): Apply X resources only after the
1055 defface spec has been applied. Thus, X resources are no longer
1056 overriden by the defface spec which also fixes issues on win32 where
1057 the toolbar coloring was wrong because it is set through X resources
1058 and was (wrongfully) overriden. (Bug#16694)
1060 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * textmodes/rst.el (electric-pair-pairs): Declare.
1063 (rst-mode): Set it (bug#17131).
1065 2014-04-30 Juri Linkov <juri@jurta.org>
1067 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1068 and `print-level' to nil. (Bug#17351)
1070 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1072 * battery.el (battery-update): Handle the case where battery
1073 status is "N/A" (bug#17319).
1075 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1078 to syntax-propertize.
1079 (ps-mode-auto-indent): Mark as obsolete.
1080 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1081 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1082 word regexp operators.
1083 (ps-mode-map): Move initialization into declaration. Remove binding
1084 for TAB, RET, >, ], and }.
1085 (ps-mode-syntax-table): Move initialization into declaration.
1086 Don't give word syntax to non-word chars.
1087 (ps-run-mode-map): Move initialization into declaration.
1088 (ps-mode-menu-main): Remove auto-indent entry.
1089 (ps-mode-smie-rules): New function.
1090 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1091 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1092 (ps-mode--string-syntax-table): New const.
1093 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1095 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1096 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1098 2014-04-27 Daniel Colascione <dancol@dancol.org>
1100 * term/xterm.el (xterm-paste): Use large finite timeout when
1101 reading event to avoid putting keys in this-command-keys.
1103 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1106 (perl-syntax-propertize-function): Use it. Extend handling of
1107 here-docs to the unquoted case.
1109 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1111 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1112 Use equal-including-properties to compare help-echo strings (bug#17331).
1114 2014-04-25 Leo Liu <sdl.web@gmail.com>
1116 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1117 Fix syntax for @. (Bug#17325)
1119 2014-04-25 Daniel Colascione <dancol@dancol.org>
1121 * emacs-lisp/cl.el (gv): Require gv early to break eager
1122 macro-expansion cycles.
1124 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * simple.el (region-active-p): Check there's a mark (bug#17324).
1128 * simple.el (completion-list-mode-map): Use choose-completion for the
1129 mouse binding as well (bug#17302).
1130 (completion-list-mode, completion-setup-function): Adjust docstring and
1131 echo area message accordingly.
1132 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1133 calling convention of choose-completion.
1134 * comint.el (comint-dynamic-list-completions):
1135 * term.el (term-dynamic-list-completions): Accept choose-completion.
1137 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1138 &, |, +, - and * can't be a division (bug#17317).
1140 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1141 features on gnome-terminal (bug#16988).
1143 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1145 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1147 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1148 the declared object, ignore zero or more parens, not zero or one.
1150 2014-04-24 Leo Liu <sdl.web@gmail.com>
1152 * progmodes/xscheme.el (xscheme-expressions-ring)
1153 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1154 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1155 (xscheme-allow-output-p, xscheme-prompt)
1156 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1158 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1159 Comment out unused functions.
1161 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * info.el: Use lexical-binding and cl-lib.
1164 Use defvar-local and setq-local instead of make-local-variable.
1165 (Info-apropos-matches): Avoid add-to-list.
1166 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1168 2014-04-24 Daniel Colascione <dancol@dancol.org>
1170 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1172 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1176 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1178 * dired.el (dired-insert-set-properties): Do not consider
1179 subdirectory headings and empty lines to be information that
1180 `dired-hide-details-mode' should hide. (Bug#17228)
1182 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1184 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1185 Remove test messages.
1186 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1189 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1192 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1194 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1196 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1198 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1199 Set "IFS=" when using read builtin, in order to preserve spaces in
1200 the file name. Add test messages for hunting a bug on hydra.
1201 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1203 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1205 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1206 Don't prettify a word within a symbol.
1208 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1210 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1213 2014-04-22 Daniel Colascione <dancol@dancol.org>
1215 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1216 use defun to define `function-put'.
1218 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1221 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1222 (lisp-mode-variables): Set font-lock-extra-managed-props.
1224 * emacs-lisp/byte-run.el (function-put): New function.
1225 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1226 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1227 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1230 2014-04-22 Daniel Colascione <dancol@dancol.org>
1232 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1233 Add `full-p' parameter; when nil, call `macroexpand' instead of
1236 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1239 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1240 Use lambda function values, not quoted lambdas.
1241 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1243 * emacs-lisp/cl-macs.el
1244 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1245 (cl-struct-slot-value): Conditionally use aref or nth so that the
1246 compiler produces optimal code.
1248 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1250 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1251 (inline): Don't inline cl--set-elt.
1252 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1253 Define as inlinable instead.
1254 (cl-struct-set-slot-value): Remove.
1256 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1257 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1260 2014-04-21 Daniel Colascione <dancol@dancol.org>
1262 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1263 last two parameters after all.
1264 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1265 (cl--compiler-macro-assoc,cl-struct-slot-value)
1266 (cl-struct-set-slot-value): Stop using them.
1268 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1271 entry in image-mode-winprops-alist.
1273 2014-04-21 Daniel Colascione <dancol@dancol.org>
1275 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1276 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1277 (byte-compile-toplevel-file-form): Use it.
1279 * emacs-lisp/cl-macs.el:
1280 (cl--loop-let): Properly destructure `while' clauses.
1282 2014-04-20 Daniel Colascione <dancol@dancol.org>
1284 * vc/vc.el (vc-root-dir): New public autoloaded function for
1285 generically finding the current VC root.
1286 * vc/vc-hooks.el (vc-not-supported): New error.
1287 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1289 2014-04-20 Daniel Colascione <dancol@dancol.org>
1291 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1293 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1294 argument in case we're inside a symbol-macrolet.
1295 (cl--do-arglist, cl--compiler-macro-typep)
1296 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1297 environment to `cl--const-expr-val'.
1298 (cl-struct-sequence-type,cl-struct-slot-info)
1299 (cl-struct-slot-offset, cl-struct-slot-value)
1300 (cl-struct-set-slot-value): New functions.
1302 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1305 assignments such as "case=hello" (bug#17297).
1307 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1309 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1311 (tramp-file-name-handler, tramp-completion-file-name-handler):
1312 Revert patch from 2014-04-10, it isn't necessary anymore.
1313 (tramp-autoload-file-name-handler)
1314 (tramp-register-autoload-file-name-handlers): New defuns.
1315 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1316 (tramp-register-file-name-handlers): Remove also
1317 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1318 Do not autoload its invocation, but eval it after loading of 'tramp.
1320 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1322 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1324 2014-04-17 Daniel Colascione <dancol@dancol.org>
1326 Add support for bracketed paste mode; add infrastructure for
1327 managing terminal mode enabling and disabling automatically.
1330 (xterm-mouse-mode): Simplify.
1331 (xterm-mouse-tracking-enable-sequence)
1332 (xterm-mouse-tracking-disable-sequence): New constants.
1333 (turn-on-xterm-mouse-tracking-on-terminal)
1334 (turn-off-xterm-mouse-tracking-on-terminal):
1335 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1336 parameters instead of random hooks.
1337 (turn-on-xterm-mouse-tracking)
1338 (turn-off-xterm-mouse-tracking): Delete.
1340 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1341 (xterm-paste-ending-sequence): New constant.
1342 (xterm-paste): New command used for bracketed paste support.
1344 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1345 (terminal-init-xterm-bracketed-paste-mode): New function.
1346 (terminal-init-xterm): Call it.
1347 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1348 and tty-mode-reset-strings instead of random hooks.
1349 (xterm-turn-on-modify-other-keys)
1350 (xterm-turn-off-modify-other-keys)
1351 (xterm-remove-modify-other-keys): Delete obsolete functions.
1353 * term/screen.el: Rewrite to just use the xterm code.
1354 Add copyright notice. Mention tmux.
1356 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1358 * image-mode.el (image-mode-window-put): Also update the property of
1359 the "default window".
1360 * doc-view.el (doc-view-new-window-function): If no window
1361 exists, move to the last known page.
1363 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1366 here-documents (bug#17262).
1368 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1370 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1371 Provide doc strings, as required by snarf-documentation.
1373 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1375 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1376 arg of overlays-at. Use `invisible-p'.
1378 * obsolete/lucid.el (extent-at):
1379 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1381 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1383 2014-04-16 João Távora <joaotavora@gmail.com>
1385 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1388 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1390 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1391 Use mapc to loop over a vector. (Bug#17257).
1393 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1395 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1396 patch, there are new problems with file names containing spaces.
1397 Get rid of backticks. (Bug#17238)
1399 2014-04-16 João Távora <joaotavora@gmail.com>
1401 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1404 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1406 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1407 (blink-cursor-mode): Mention customization variables and the
1408 effect of 'blink-cursor-blinks'.
1410 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1412 * simple.el (undo): Prevent insertion of identity mapping into
1413 undo-equiv-table so as undo-only does not inf loop in the presence
1414 of consecutive nils in undo list.
1416 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1418 * faces.el (make-face): Deprecate optional argument as it is no
1419 longer needed/used since the conditional X resources handling
1420 has been pushed down to make-face-x-resource-internal itself.
1421 (make-empty-face): Don't pass optional argument to make-face.
1423 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1425 * savehist.el (savehist-save): Remove workaround for a read-passwd
1426 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1427 noticing that the shim was still present.
1429 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1433 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1435 * faces.el (face-set-after-frame-default): Remove unused local variable.
1437 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * progmodes/grep.el: Use lexical-binding.
1440 (grep-expand-template): Pass explicit lexical env to `eval'.
1441 (zrgrep): Let-bind grep-find-template explicitly.
1443 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1444 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1446 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1448 * international/characters.el <standard-case-table>: Add entries
1449 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1450 Set category of Coptic characters be 'g' (Greek).
1452 2014-04-12 Leo Liu <sdl.web@gmail.com>
1454 * progmodes/octave.el (completion-table-with-cache):
1455 Define if not available.
1456 (octave-goto-function-definition, octave-sync-function-file-names)
1457 (octave-find-definition-default-filename):
1458 Backquote upattern for compatibility.
1460 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1462 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1463 name twice due to backticks. (Bug#17238)
1465 2014-04-12 Glenn Morris <rgm@gnu.org>
1467 * term/w32-win.el (x-win-suspend-error):
1468 * term/x-win.el (x-win-suspend-error): Sync docs.
1470 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1472 * faces.el (make-face): Remove deprecated optional argument.
1473 The conditional application of X resources is handled directly by
1474 make-face-x-resource-internal since Emacs 24.4.
1475 (make-empty-face): Don't pass optional argument to make-face.
1477 2014-04-11 Glenn Morris <rgm@gnu.org>
1479 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1481 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1483 Ediff's overlay priorities cause more trouble than they solve.
1484 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1485 (ediff-highest-priority): Remove function (bug#17234).
1486 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1487 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1488 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1491 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1493 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1494 entry; use symbol boundaries to avoid mis-matches.
1496 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1498 * net/tramp.el (tramp-file-name-handler)
1499 (tramp-completion-file-name-handler): Avoid recursive loading.
1501 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1502 Quote result also locally.
1504 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1507 Remove left-over code.
1509 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1510 Reuse the previous comment's indentation unconditionally if it's on its
1513 2014-04-09 Daniel Colascione <dancol@dancol.org>
1515 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1516 `no-syntax-crossing' arguments. Forward to `up-list'.
1517 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1518 Implement logic for escaping from strings. Use narrowing to deal
1521 2014-04-09 Leo Liu <sdl.web@gmail.com>
1523 * net/rcirc.el (rcirc-connection-info): New variable.
1524 (rcirc-connect): Use it to store connection info.
1525 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1527 (rcirc-cmd-reconnect): New command. (Bug#17045)
1528 (rcirc-mode, set-rcirc-encode-coding-system)
1529 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1531 2014-04-09 Daniel Colascione <dancol@dancol.org>
1533 * emacs-lisp/cl-indent.el: Add comment claiming
1534 facility is also good for elisp.
1535 (lisp-indent-find-method): New function.
1536 (common-lisp-indent-function): Recognize cl-loop.
1537 (common-lisp-indent-function-1): Recognize cl constructs; use
1538 `lisp-indent-find-method' instead of `get' directly.
1539 (if): Use else-body style for elisp.
1541 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1543 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1544 Module methods. (Bug#17216)
1546 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1549 (describe-bindings-internal): Mark obsolete.
1551 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1553 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1554 buffer-file-name, and buffer-file-truename any more.
1556 2014-04-08 Leo Liu <sdl.web@gmail.com>
1558 Use lexical-binding and require cl-lib.
1559 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1560 (rcirc-handler-generic, rcirc-fill-paragraph)
1561 (rcirc-format-response-string, rcirc-target-buffer)
1562 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1563 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1564 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1565 (rcirc-markup-timestamp, rcirc-markup-attributes)
1566 (rcirc-markup-my-nick, rcirc-markup-urls)
1567 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1568 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1569 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1570 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1571 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1572 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1573 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1574 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1575 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1576 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1577 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1580 2014-04-07 João Távora <joaotavora@gmail.com>
1582 * elec-pair.el (electric-pair--syntax-ppss):
1583 When inside comments parse from comment beginning.
1584 (electric-pair--balance-info): Fix typo in comment.
1585 (electric-pair--in-unterminated-string-p): Delete.
1586 (electric-pair--unbalanced-strings-p): New function.
1587 (electric-pair-string-bound-function): New var.
1588 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1589 according to `electric-pair--in-unterminated-string-p'
1591 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1592 Inhibit quote pairing if point-max is inside an unterminated string.
1593 (electric-pair--looking-at-unterminated-string-p): Delete.
1594 (electric-pair--in-unterminated-string-p): New function.
1596 2014-04-07 Glenn Morris <rgm@gnu.org>
1598 * shell.el (shell-directory-tracker):
1599 Go back to just ignoring failures. (Bug#17159)
1601 2014-04-07 João Távora <joaotavora@gmail.com>
1603 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1604 backspace. (bug#16981)
1605 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1606 (electric-pair-backward-delete-char-untabify): Delete.
1607 (electric-pair-mode-map): Bind backspace to a menu item filtering
1608 a new `electric-pair-delete-pair' command.
1609 (electric-pair-delete-pair): New command.
1611 * progmodes/python.el (python-electric-pair-string-delimiter):
1612 Fix triple-quoting electricity. (Bug#17192)
1614 * elec-pair.el (electric-pair-post-self-insert-function):
1615 Don't skip whitespace when `electric-pair-text-pairs' and
1616 `electric-pair-pairs' were used. syntax to
1617 electric-pair--skip-whitespace. (Bug#17183)
1619 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1621 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1624 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1627 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1629 2014-04-07 Glenn Morris <rgm@gnu.org>
1631 * help.el (view-lossage): Doc tweak.
1633 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1635 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1636 only when inhibit-x-resources is nil, and do that earlier in the
1637 function. Doc fix. (Bug#16694)
1638 (face-spec-choose): Accept additional optional argument, whose
1639 value is returned if no matching attributes are found.
1640 (face-spec-recalc): Use the new optional argument when calling
1641 face-spec-choose. (Bug#16378)
1642 (make-face-x-resource-internal): Do nothing when
1643 inhibit-x-resources is non-nil. Don't touch the default face if
1644 reversed video is given--as was done in previous versions of Emacs.
1645 (face-set-after-frame-default): Don't call
1646 make-face-x-resource-internal here. (Bug#16434)
1648 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1650 * doc-view.el (doc-view-bookmark-jump):
1651 Use `bookmark-after-jump-hook' to jump to the right page after the
1652 buffer is shown in a window. (bug#16090)
1654 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1656 * international/characters.el (mirroring): Fix last change:
1657 instead of loading uni-mirrored.el explicitly, do that implicitly
1658 by creating the 'mirroring' uniprop table. This avoids announcing
1659 the loading of uni-mirrored.el.
1661 2014-04-07 Glenn Morris <rgm@gnu.org>
1663 * files.el (buffer-stale--default-function)
1664 (buffer-stale-function, revert-buffer--default):
1665 * autorevert.el (auto-revert-buffers): Doc tweaks.
1667 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1669 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1671 2014-04-07 Glenn Morris <rgm@gnu.org>
1673 * files.el (make-backup-file-name-function)
1674 (make-backup-file-name, make-backup-file-name--default-function)
1675 (make-backup-file-name-1, find-backup-file-name)
1676 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1677 (buffer-stale--default-function, buffer-stale-function)
1678 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1679 (revert-buffer, revert-buffer--default)
1680 (revert-buffer-insert-file-contents--default-function):
1681 Doc fixes related to defaults no longer being nil.
1682 (make-backup-file-name-function): Bump :version.
1683 Restore nil as a valid but deprecated custom type.
1685 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1688 Handle $' used as a variable (bug#17174).
1690 * progmodes/perl-mode.el (perl-indent-new-calculate):
1691 Handle forward-sexp failure (bug#16985).
1692 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1693 modifiers introducing expressions (bug#17116).
1695 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1697 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1699 2014-04-05 Leo Liu <sdl.web@gmail.com>
1701 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1702 Add define-compilation-mode.
1704 2014-04-04 João Távora <joaotavora@gmail.com>
1706 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1707 parse from comment beginning.
1708 (electric-pair--balance-info): Fix typo in comment.
1709 (electric-pair--in-unterminated-string-p): Delete.
1710 (electric-pair--unbalanced-strings-p): New function.
1711 (electric-pair-string-bound-function): New var.
1712 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1713 according to `electric-pair--in-unterminated-string-p'.
1715 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1718 Move declaration before first use.
1719 (reftex-move-to-next-arg): Silence compiler warning.
1721 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1723 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1724 Use `window-total-width' instead of `window-width'.
1726 2014-04-03 Daniel Colascione <dancol@dancol.org>
1728 * subr.el (set-transient-map): Remove rms's workaround entirely;
1729 use new `suspicious-object' subr to mark our lambda for closer
1732 2014-04-02 Richard Stallman <rms@gnu.org>
1734 * subr.el (set-transient-map): Comment out previous change.
1736 2014-04-02 Glenn Morris <rgm@gnu.org>
1738 * menu-bar.el (menu-bar-file-menu):
1739 * vc/ediff.el (ediff-current-file):
1740 Update for revert-buffer-function no longer being nil by default.
1742 * simple.el (command-execute): Respect nil disabled-command-function.
1744 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1746 * simple.el (command-execute): Do not execute the command when it
1747 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1749 2014-04-02 Juri Linkov <juri@jurta.org>
1751 * dired-aux.el (dired-compress-file): Don't use string-match-p
1752 because its match data is used afterwards.
1754 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1759 2014-04-02 João Távora <joaotavora@gmail.com>
1761 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1762 Inhibit quote pairing if point-max is inside an unterminated string.
1763 (electric-pair--looking-at-unterminated-string-p):
1765 (electric-pair--in-unterminated-string-p): New function.
1767 2014-04-01 Daniel Colascione <dancol@dancol.org>
1769 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1770 when trying to complete the prompt.
1772 2014-03-31 Leo Liu <sdl.web@gmail.com>
1774 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1775 Refactor out eldoc-documentation-function-default.
1776 (eldoc-documentation-function-default): New function.
1777 (eldoc-documentation-function): Change value.
1779 2014-03-31 Glenn Morris <rgm@gnu.org>
1781 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1783 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1784 (vhdl-compose-components-package, vhdl-compose-configuration):
1785 Abbreviate default-directory (missing from some previous upstream sync).
1787 2014-03-31 Reto Zimmermann <reto@gnu.org>
1789 Sync with upstream vhdl mode v3.35.2.
1790 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1791 (top-level): No longer require assoc.
1792 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1793 New functions. Use throughout to replace aget etc.
1794 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1795 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1796 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1797 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1798 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1799 except `vhdl-compiler'.
1800 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1803 2014-03-31 Glenn Morris <rgm@gnu.org>
1805 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1806 Revert 2014-03-26 merge goof; go back to using defalias.
1808 2014-03-30 Daniel Colascione <dancol@dancol.org>
1810 * comint.el (comint-send-input):
1811 Deactivate completion-in-region-mode before we send comint input.
1814 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1817 2014-03-29 Glenn Morris <rgm@gnu.org>
1819 * textmodes/reftex.el: Manage most autoloads automatically.
1820 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1821 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1822 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1823 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1824 * textmodes/reftex-toc.el: Set generated-autoload-file,
1825 and add autoload cookies for reftex.el.
1826 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1828 2014-03-28 Glenn Morris <rgm@gnu.org>
1830 * cus-start.el (report-emacs-bug-address): Set custom properties.
1831 * mail/emacsbug.el (report-emacs-bug-address):
1832 Variable is now defined in emacs.c.
1834 * mail/emacsbug.el (report-emacs-bug):
1835 Include system-configuration-features.
1837 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1839 * simple.el (cycle-spacing): Never delete spaces on first run by
1840 default, but do so in a new 'fast mode and if there are already
1841 N spaces (the previous behavior).
1842 Compare N with its value in previous invocation so that changing
1843 prefix argument restarts `cycle-spacing' sequence.
1844 The idea is that with this change, binding M-SPC to
1845 `cycle-spacing' should not introduce any changes in behavior of
1846 the binding so long as users do not type M-SPC twice in a raw with
1847 the same prefix argument or lack thereof.
1849 2014-03-28 Glenn Morris <rgm@gnu.org>
1851 * faces.el (term-file-aliases): New variable.
1852 (tty-run-terminal-initialization): Respect term-file-aliases.
1853 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1854 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1855 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1857 2014-03-27 Glenn Morris <rgm@gnu.org>
1859 * startup.el (inhibit-startup-hooks): Doc tweak.
1860 (normal-top-level): Simplify running of hooks.
1861 For window-setup-hook, respect inhibit-startup-hooks.
1862 (command-line-1): Don't set window-setup-hook to nil.
1864 Allow selective autoloading from obsolete/ directory.
1865 * Makefile.in (obsolete-autoloads): New rule.
1866 (autoloads): Run obsolete-autoloads.
1867 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1868 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1870 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1872 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1873 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1875 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1876 Don't propertize `?' or `!' as symbol constituent when after
1879 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1881 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1882 which is no longer needed and causes trouble in GTK builds (bug#17046).
1884 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1885 Use url-insert-file-contents; package-handle-response no longer exists.
1887 2014-03-26 Daniel Colascione <dancol@dancol.org>
1889 * simple.el (process-menu-mode-map): New variable.
1890 (process-menu-delete-process): New command.
1892 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1894 * emacs-lisp/package.el: Fix bug#16733 (again).
1895 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1896 (url-http-target-url): Remove unused declarations.
1897 (package-handle-response): Remove.
1898 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1899 (package--download-one-archive): Use current-buffer instead of
1900 dynamic binding of `buffer'.
1901 (describe-package-1): Do not decode readme-string.
1903 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1905 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1907 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1908 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1909 `remote-file-name-inhibit-cache' to nil in the second pass.
1910 (tramp-find-executable): Do not call "which" on SunOS.
1911 (tramp-send-command-and-check): Fix docstring.
1912 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1913 check whether source directory has set the sticky bit.
1915 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1917 * simple.el (primitive-undo): Only process marker adjustments
1918 validated against their corresponding (TEXT . POS). Issue warning
1919 for lone marker adjustments in undo history. (Bug#16818)
1920 (undo-make-selective-list): Add marker adjustments to selective
1921 undo list based on whether their corresponding (TEXT . POS) is in
1922 the region. Remove variable adjusted-markers, which was unused
1923 and only non nil during undo-make-selective-list.
1924 (undo-elt-in-region): Return nil when passed a marker adjustment
1925 and explain in function doc.
1927 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1929 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1931 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1933 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1934 Match special global variables without curlies, too.
1935 (ruby-font-lock-keywords): Simplify the matcher for special global
1936 variables. Don't require a non-word character after the variable.
1939 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1941 * simple.el (redisplay-highlight-region-function): Increase priority of
1942 overlay to make sure boundaries are visible (bug#15899).
1944 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1946 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1947 (frameset-restore): Compare display strings with equal.
1949 * frame.el (make-frame): Don't quote display name in error message,
1950 it is already a string.
1952 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1954 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1957 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1959 * emacs-lisp/package.el (package--add-to-archive-contents):
1960 Include already installed and built-in packages in
1961 `package-archive-contents'.
1962 (package-install): Don't include already installed packages in the
1963 options during interactive invocation. (Bug#16762)
1964 (package-show-package-list): If the buffer is already displayed in
1965 another window, switch to that window.
1967 2014-03-26 Reto Zimmermann <reto@gnu.org>
1969 Sync with upstream vhdl mode v3.35.1.
1970 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1971 (vhdl-compiler-alist): Doc fix.
1972 (vhdl-goto-line): Remove.
1973 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1974 (vhdl-mode) <paragraph-start>: Fix value.
1975 (vhdl-fix-statement-region): Not `for' in wait-statement.
1976 (vhdl-beautify-region): Also (un)tabify.
1977 (vhdl-get-visible-signals):
1978 Scan declarative part of generate statements.
1979 (vhdl-template-record): Fix indentation for record type declaration.
1980 (vhdl-expand-abbrev, vhdl-expand-paren):
1981 Revert to using fset again rather than defalias.
1982 (vhdl-scan-directory-contents): Tweak.
1983 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1984 (vhdl-compose-components-package):
1985 Replace vhdl-goto-line with forward-line.
1986 (top-level): Tweak speedbar frame selection.
1987 (vhdl-generate-makefile-1): Support for compilers with no
1988 unit-to-file name mapping (create directory with dummy files).
1990 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1992 Sync with upstream verilog-mode revision 702457d.
1993 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1994 (create-lockfiles): Declare.
1995 (verilog-read-decls): Fix module header imports, bug709.
1996 Reported by Victor Lau.
1997 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1998 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1999 interface-only modules, bug721. Reported by Dean Hoyt.
2001 2014-03-26 Glenn Morris <rgm@gnu.org>
2003 * obsolete/gulp.el: Move here from emacs-lisp/.
2005 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2006 Remove fallback aliases, since they are always defined now.
2008 2014-03-24 Daniel Colascione <dancol@dancol.org>
2010 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2011 instead of cl-loop search function.
2013 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2015 * calendar/parse-time.el (parse-time-iso8601-regexp)
2016 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2019 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2021 * net/dns.el (network-interface-list): Define for XEmacs.
2023 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2025 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2026 the network interfaces changed.
2027 (dns-query): Use it to flush the data.
2029 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2031 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2033 2014-03-23 Daniel Colascione <dancol@dancol.org>
2035 Change subword-mode to use `find-word-boundary-function-table' and
2036 replace `capitalized-words-mode'. Also, convert to lexical
2039 * progmodes/cap-words.el: Delete now-obsolete file.
2040 * progmodes/subword.el: Reimplement using
2041 `find-word-boundary-function-table'.
2042 (subword-mode-map): Hollow out.
2043 (capitalized-words-mode): Define as obsolete alias for
2045 (subword-mode, superword-mode): Tweak documentation to reflect new
2046 implementation; call `subword-setup-buffer'.
2047 (subword-forward, subword-capitalize): Add underscore to indicate
2049 (subword-find-word-boundary-function-table): New constant.
2050 (subword-empty-char-table): New constant.
2051 (subword-setup-buffer): New function.
2052 (subword-find-word-boundary): New function.
2054 2014-03-23 Daniel Colascione <dancol@dancol.org>
2056 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2057 list to look for keyword arguments instead of `memq', fixing
2058 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2059 Please make bootstrap.
2061 2014-03-22 Glenn Morris <rgm@gnu.org>
2063 * dired.el (dired-read-regexp): Make obsolete.
2064 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2065 (dired-flag-files-regexp):
2066 * dired-aux.el (dired-mark-read-regexp):
2067 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2069 * startup.el (fancy-startup-text):
2070 * help.el (describe-gnu-project): Visit online info about GNU project.
2072 * help-fns.el (help-fns--interactive-only): New function.
2073 (help-fns-describe-function-functions): Add the above function.
2074 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2075 (next-line, previous-line): Remove hand-written interactive-only
2076 information from doc strings, it is auto-generated now.
2077 * bookmark.el (bookmark-write):
2078 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2079 (epa-mail-import-keys): Mark interactive-only,
2080 and remove hand-written interactive-only information from doc strings.
2081 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2082 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2083 * files.el (not-modified):
2084 * simple.el (mark-whole-buffer): Mark interactive-only.
2086 * emacs-lisp/byte-run.el (defun-declarations-alist):
2087 Add interactive-only. Doc tweak.
2088 (macro-declarations-alist): Doc tweak.
2089 * subr.el (declare): Doc tweak (add xref to manual).
2090 * comint.el (comint-run):
2091 * files.el (insert-file-literally, insert-file):
2092 * replace.el (replace-string, replace-regexp):
2093 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2094 (delete-forward-char, goto-line, insert-buffer, next-line)
2095 (previous-line): Set interactive-only via declare.
2097 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2099 * emacs-lisp/package.el (package-desc): Use the contents of the
2100 quoted form, not its cdr. (Bug#16873)
2102 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2104 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2105 benefit of doc.c; change parameter profile to match the X function.
2107 2014-03-22 Leo Liu <sdl.web@gmail.com>
2109 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2110 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2112 2014-03-21 Richard Stallman <rms@gnu.org>
2114 * battery.el (battery-linux-sysfs): Search for each field
2115 from the beginning of the buffer.
2117 * subr.el (set-transient-map): Clear out function and value
2118 of the temporary symbol when we're done with it.
2120 * mail/rmailsum.el (rmail-summary-delete-forward):
2121 Optimize case of reaching end and handling count.
2122 (rmail-summary-mark-deleted): Optimize when N is current msg.
2123 Don't create new summary line.
2124 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2125 (rmail-summary-undelete-many): Rewrite for speed.
2126 (rmail-summary-msg-number): New function.
2128 * mail/rmail.el (rmail-delete-message): Update summary.
2129 (rmail-undelete-previous-message): Handle repeat count arg.
2130 (rmail-delete-backward, rmail-delete-forward): Likewise.
2132 2014-03-21 Daniel Colascione <dancol@dancol.org>
2134 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2135 information in bug reports.
2137 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2139 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2140 and `tramp-copy-env'.
2142 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2143 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2145 2014-03-21 Glenn Morris <rgm@gnu.org>
2147 * electric.el (electric-indent-post-self-insert-function): Add doc.
2149 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2151 * emacs-lisp/package.el (package-compute-transaction):
2152 Use `version-list-<=' to compare the requirement version against
2153 the version of package already to be installed. Update the error
2154 message. (Bug#16826)
2156 * progmodes/ruby-mode.el (ruby-smie-rules):
2157 Add indentation rule for ` @ '. (Bug#17050)
2159 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2161 * align.el (align-regexp): Remove superfluous backslash.
2163 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2164 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2165 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2166 Fix docstring typos.
2167 (ffap-next): Use C-u in docstring.
2168 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2169 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2170 Remove superfluous backslashes.
2171 (ffap-string-at-point): Reflow docstring.
2173 * server.el (server-host): Reflow docstring.
2174 (server-unload-function): Fix docstring typo.
2175 (server-eval-at): Remove superfluous backslash.
2177 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2178 (skeleton-insert): Doc fix.
2179 (skeleton-insert): Reflow docstring.
2181 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2182 (tty-color-approximate, tty-color-by-index, tty-color-values)
2183 (tty-color-desc): Remove superfluous backslashes.
2185 2014-03-21 Glenn Morris <rgm@gnu.org>
2187 * cus-start.el (history-length): Bump :version.
2189 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2190 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2191 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2192 Don't set `make-backup-files'.
2194 * info.el (info--prettify-description): New function,
2195 to give info-finder descriptions consistent case, punctuation.
2196 (Info-finder-find-node): Use it. Sort packages.
2197 Refer to "description" rather than "commentary".
2199 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2201 * frameset.el (frameset--print-register): New function.
2202 (frameset-to-register): Use it.
2204 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2206 * progmodes/hideif.el (hif-string-to-number): New function.
2207 (hif-tokenize): Use it to understand non-decimal floats.
2209 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2211 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2213 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2215 * electric.el (electric-newline-and-maybe-indent): New command.
2216 Bind it globally to C-j.
2217 (electric-indent-mode): Don't mess with the global map any more.
2218 Don't drop the post-self-insert-hook is some buffer is still using it
2221 * bindings.el (global-map): Remove C-j binding.
2223 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2224 the docstring of functions advised before dumping (bug#16993).
2226 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2228 * ps-print.el (ps-generate-postscript-with-faces):
2229 Explicitly deactivate the mark (bug#16866).
2230 * simple.el (deactivate-mark): Update region highlight.
2232 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2234 * emacs-lisp/package.el (describe-package-1):
2235 Decode commentary (bug#16733).
2237 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2239 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2240 modification of the value argument of :set (bug#16755).
2242 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2244 * simple.el (newline-and-indent): Do autofill (bug#17031).
2246 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2248 * newcomment.el (comment-normalize-vars): Only add escaping check
2249 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2250 (comment-beginning): Use `narrow-to-region' instead of moving back
2252 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2253 (comment-start-skip): Update the docstring.
2255 2014-03-18 Richard Stallman <rms@gnu.org>
2257 * dired.el (dired-display-file): Force use of other window.
2259 2014-03-18 Daniel Colascione <dancol@dancol.org>
2261 * startup.el (tty-handle-args): Remove debug message from 2007.
2263 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2265 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2266 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2267 (advice--make-1, advice-add, advice-remove):
2268 Remove braindead :advice-pending hack.
2270 2014-03-17 Glenn Morris <rgm@gnu.org>
2272 * calendar/calendar.el (calendar-generate-month): Apply weekend
2273 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2275 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2277 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2278 (tramp-call-process): Trace also DESTINATION.
2280 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2281 Quote file names when they are local. Remove superfluous trace.
2283 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2285 * newcomment.el (comment-beginning): If `comment-start-skip'
2286 doesn't match, move back one char and try again. (Bug#16971)
2288 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2289 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2290 Set `comment-start-skip' to a simpler value that doesn't try to
2291 check if the semicolon is escaped (this is handled by
2292 `syntax-ppss' now). (Bug#16971)
2294 * progmodes/scheme.el (scheme-mode-variables): Same.
2296 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2298 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2299 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2300 current (Bug#16816, Bug#17007).
2301 (with-current-buffer-window): New macro doing the same as
2302 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2303 * help.el (help-print-return-message): Warn in doc-string to not
2304 use this in `with-help-window'.
2305 (describe-bindings-internal): Call `describe-buffer-bindings'
2306 from within help buffer. See Juanma's scenario in (Bug#16816).
2307 (with-help-window): Update doc-string.
2308 * dired.el (dired-mark-pop-up):
2309 * files.el (save-buffers-kill-emacs):
2310 * register.el (register-preview): Use `with-current-buffer-window'
2311 instead of `with-temp-buffer-window'.
2313 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2315 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2316 Implement inserting into current buffer, documented in their docstrings.
2317 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2318 (rst-section-tree-point, rst-forward-section, rst-indent)
2319 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2320 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2321 (rst-font-lock-handle-adornment-pre-match-form)
2322 (rst-repeat-last-character): Reflow docstrings.
2323 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2324 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2325 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2326 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2327 Fix docstring typos.
2328 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2329 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2330 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2332 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2334 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2335 for compatibility with other ports.
2336 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2337 from the -xrm command line argument, but in the Nextstep port its value
2338 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2340 * progmodes/python.el (defconst, python-syntax-count-quotes)
2341 (python-indent-region, python-indent-shift-right)
2342 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2343 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2344 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2345 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2346 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2347 (python-shell-buffer-substring, python-shell-send-buffer)
2348 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2349 (python-completion-complete-at-point, python-fill-docstring-style)
2350 (python-eldoc-function, python-imenu-format-item-label)
2351 (python-imenu-format-parent-item-label)
2352 (python-imenu-format-parent-item-jump-label)
2353 (python-imenu--build-tree, python-imenu-create-index)
2354 (python-imenu-create-flat-index): Fix docstring typos.
2355 (python-indent-context, python-shell-prompt-regexp, run-python):
2356 Remove superfluous backslashes.
2357 (python-indent-line, python-nav-beginning-of-defun)
2358 (python-shell-get-buffer, python-shell-get-process)
2359 (python-info-current-defun, python-info-current-line-comment-p)
2360 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2361 (python-indent-post-self-insert-function, python-shell-send-file)
2362 (python-shell-completion-get-completions)
2363 (python-shell-completion-complete-or-indent)
2364 (python-eldoc--get-doc-at-point): Reflow docstrings.
2366 2014-03-14 Glenn Morris <rgm@gnu.org>
2368 * emacs-lisp/package.el (package-menu-mode-map):
2369 Replace use of obsolete function alias. Tweak menu item text.
2371 * info.el (Info-finder-find-node):
2372 Ignore the `emacs' metapackage. (Bug#10813)
2374 * finder.el (finder-list-matches): Include unversioned packages
2375 in the result of a keyword search.
2377 * finder.el (finder--builtins-descriptions): New constant.
2378 (finder-compile-keywords): Use finder--builtins-descriptions.
2380 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2382 * simple.el (blink-matching-paren): Describe the new value,
2383 `jump', enabling the old behavior.
2384 (blink-matching-open): Use that value. (Bug#17008)
2386 2014-03-14 Glenn Morris <rgm@gnu.org>
2388 * finder.el (finder-no-scan-regexp): Add leim-list.
2389 (finder-compile-keywords):
2390 Don't skip files with same basename. (Bug#14010)
2391 * Makefile.in (setwins_finder): New, excluding leim.
2392 (finder-data): Use setwins_finder.
2394 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2395 (help-function-arglist, help-make-usage): Move from here...
2396 * help.el (help-split-fundoc, help-add-fundoc-usage)
2397 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2398 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2400 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2402 * net/socks.el (socks, socks-override-functions)
2403 (socks-find-services-entry):
2404 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2405 (hif-find-ifdef-block):
2406 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2408 * net/tls.el (tls-program): Reflow docstring.
2410 * progmodes/pascal.el (pascal-mode-abbrev-table)
2411 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2412 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2413 (pascal-outline-mode): Fix docstring typos.
2414 (pascal-mode): Let define-derived-mode document mode hook.
2415 (pascal-uncomment-area): Reflow.
2416 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2418 * progmodes/opascal.el (opascal-compound-block-indent)
2419 (opascal-case-label-indent): Fix docstring typos.
2420 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2422 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2424 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2425 Fontify multiple adjacent negation chars. (Bug#17004)
2427 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2429 * emacs-lisp/package.el (package--prepare-dependencies):
2430 Accept requirements without explicit version (bug#14941).
2432 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2434 * register.el (register-separator, copy-to-register): Doc fixes.
2435 (register-preview-default): Remove unnecessary call to concat.
2437 * frameset.el (frameset-restore): When checking for a visible frame,
2438 use the action map instead of calling visible-frame-list.
2440 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2442 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2444 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2446 * window.el (fit-frame-to-buffer): Get maximum width from
2447 display's width instead of height.
2449 2014-03-12 Glenn Morris <rgm@gnu.org>
2451 * desktop.el (desktop-restore-frames)
2452 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2453 (desktop-restore-reuses-frames): Doc tweaks.
2455 * electric.el (electric-indent-mode): Doc fix.
2457 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2459 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2460 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2461 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2462 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2463 (cvs-dired-use-hook): Fix docstring typos.
2464 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2467 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2468 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2469 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2470 (cvs-execute-single-dir): Fix docstring typos.
2472 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2473 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2475 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2477 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2478 Fix docstring typos.
2480 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2482 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2483 called from jump-to-register after unloading the frameset package.
2485 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2487 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2488 (bug#16975). Deactivate the mark before setting it to nil.
2489 (activate-mark): Do nothing if region is already active.
2491 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2493 * frameset.el (frameset--target-display): Remove definition; declare.
2494 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2496 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2499 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2500 when the advice is pending.
2501 (advice-remove): Remove this marker when not needed any more.
2503 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2505 * frameset.el: Separate options for reusing frames and cleaning up.
2506 (frameset--reuse-list): Remove definition; declare.
2507 (frameset--action-map): Declare.
2508 (frameset--find-frame-if): Doc fix.
2509 (frameset--restore-frame): Cache frame action.
2510 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2511 how to clean up the frame list after restoring. Remove cleaning
2512 options from REUSE-FRAMES. Change all keyword values to symbols.
2513 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2515 * desktop.el (desktop-restore-forces-onscreen)
2516 (desktop-restore-reuses-frames): Use non-keyword values.
2517 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2519 2014-03-10 Glenn Morris <rgm@gnu.org>
2521 * files.el (find-file): Doc fix: update info node name.
2523 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2524 Doc fix: remove references to deleted info nodes.
2526 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2528 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2529 Do not add `nil' to the environment, when there's no remote `locale'.
2530 (tramp-find-inline-encoding): Check, that the remote host has
2531 installed perl, before sending scripts.
2533 2014-03-10 Leo Liu <sdl.web@gmail.com>
2535 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2536 Clear eldoc-last-message. (Bug#16920)
2538 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2540 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2543 2014-03-09 Juri Linkov <juri@jurta.org>
2545 * ansi-color.el (ansi-color-names-vector): Copy default colors
2546 from `xterm-standard-colors' that look well on the default white
2547 background (and also on the black background) to avoid illegible
2548 color combinations like yellow-on-white and white-on-white.
2549 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2551 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2553 * frameset.el (frameset-restore): When no frame is visible, do not
2554 generate a list of frames, just make visible the selected one.
2556 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2558 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2559 it only contains the repository root. (Bug#16897)
2561 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2563 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2564 only when `remote-file-name-inhibit-cache' is nil.
2565 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2567 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2569 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2571 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2572 fit-frame-to-buffer variable. Fix doc-string.
2573 (fit-window-to-buffer): Set ONLY argument in call of
2574 fit-frame-to-buffer. Fix doc-string.
2576 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2578 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2579 (tramp-action-password): Clear password cache if needed.
2580 (tramp-read-passwd): Do not clear password cache.
2582 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2583 cache unless it is the first password request.
2585 2014-03-06 Glenn Morris <rgm@gnu.org>
2587 * simple.el (newline): Doc tweak.
2589 * emacs-lisp/shadow.el (load-path-shadows-find):
2590 Ignore dir-locals. (Bug#12357)
2592 2014-03-05 Glenn Morris <rgm@gnu.org>
2594 * files.el (interpreter-mode-alist):
2595 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2597 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2599 * frameset.el (frameset--initial-params): Filter out null entries.
2601 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2603 * window.el (window-min-height, window-min-width):
2604 Rewrite doc-strings.
2605 (window-body-size): Add PIXELWISE argument to make it consistent
2608 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2610 * finder.el (finder-mode-map, finder-mode-syntax-table):
2611 Revert part of 2014-02-28 change.
2613 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2615 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2616 (eww-setup-buffer): Clear next/prev/etc more reliably.
2617 (eww-textarea-map): [tab] doesn't work on tty.
2618 Reported by Mario Lang.
2620 * net/shr.el (shr-map): Ditto.
2622 2014-03-04 Glenn Morris <rgm@gnu.org>
2624 * minibuffer.el (completion-hilit-commonality):
2625 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2627 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2629 * hilit-chg.el (hilit-chg-unload-function): New function.
2630 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2631 (hilit-chg-map-changes): Prefer cardinal number to digit.
2632 (hilit-chg-display-changes): Reflow docstring.
2633 (highlight-changes-rotate-faces): Remove superfluous backslash.
2635 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2637 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2638 `tramp-send-command-and-check'.
2640 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2642 * hexl.el (hexl-address-region, hexl-ascii-region)
2643 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2644 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2645 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2646 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2647 (hexl-mode): Doc fix.
2648 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2649 (hexl-mode-ruler): Fix typos in docstrings.
2651 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2652 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2653 Remove superfluous backslashes.
2654 (strokes-last-stroke, strokes-global-map, strokes-mode):
2656 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2657 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2658 (strokes-distance-squared, strokes-global-set-stroke)
2659 (strokes-global-set-stroke-string): Doc fixes.
2660 (strokes-help): Fix typos; reflow docstring.
2662 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2664 * window.el (window-in-direction): Fix doc-string.
2666 2014-03-04 Glenn Morris <rgm@gnu.org>
2668 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2669 Explicit error if no grammar.
2670 (smie-config-save): Doc fix. Fix quote typo.
2672 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2675 electric-indent-mode-hook if we obey electric-indent-mode.
2676 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2677 decide whether we obey electric-indent-mode.
2678 (c-change-set-fl-decl-start, c-extend-after-change-region):
2680 (c-electric-indent-mode-hook): Assume we do want to obey
2681 electric-indent-mode.
2683 * electric.el (electric-indent-mode-has-been-called): Remove.
2684 (electric-indent-mode): Fix accordingly.
2686 * files.el (hack-local-variables): Mention file name in warning.
2688 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2690 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2692 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2693 * simple.el (delete-forward-char): Mark as interactive-only.
2695 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2697 * icomplete.el (icomplete-completions):
2698 Follow-up to 2014-03-01 change.
2700 * icomplete.el: Miscellaneous doc fixes.
2701 Use Icomplete everywhere instead of icomplete for consistency.
2702 (icomplete-max-delay-chars): Fix typo.
2703 (icomplete-mode): Use \[].
2704 (icomplete-tidy, icomplete-exhibit): Reflow.
2705 (icomplete-minibuffer-setup-hook, icomplete-completions):
2706 Remove superfluous backlashes.
2708 * ido.el: Miscellaneous doc fixes.
2709 Use Ido everywhere instead of ido or `ido' for consistency.
2710 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2711 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2712 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2713 (ido-separator): Extract obsolescence info from docstring and declare
2714 with make-obsolete-variable.
2715 (ido-minibuffer-setup-hook): Simplify example.
2716 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2717 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2718 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2719 (ido-everywhere): Reflow docstring.
2720 (ido-toggle-vc): Doc fix.
2721 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2722 of long list of keybindings.
2724 2014-03-03 Glenn Morris <rgm@gnu.org>
2726 * frame.el (display-pixel-height, display-pixel-width)
2727 (display-mm-dimensions-alist, display-mm-height)
2728 (display-mm-width): Doc tweaks.
2730 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2732 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2733 case of undo in region.
2735 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2737 * window.el (fit-window-to-buffer): Fix argument in window-size
2738 call when window is horizontally combined.
2740 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2742 * icomplete.el (icomplete-completions): Use string-width.
2743 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2745 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2747 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2748 Highlight regexp options. (Bug#16914)
2750 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2752 * window.el (window--max-delta-1): Round down when calculating
2753 how many lines/columns we can get from a window.
2755 2014-03-01 Glenn Morris <rgm@gnu.org>
2757 * isearch.el (search-invisible): Doc fix.
2759 * minibuffer.el (completion-hilit-commonality):
2760 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2761 * comint.el (comint-dynamic-list-completions): Doc fix.
2762 * comint.el (comint-dynamic-list-completions):
2763 * filecache.el (file-cache-minibuffer-complete):
2764 * tempo.el (tempo-display-completions):
2765 * eshell/em-hist.el (eshell-list-history):
2766 Replace use of obsolete argument of display-completion-list.
2768 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2770 * icomplete.el (icomplete-completions):
2771 Revert back to using "..." when ?… cannot be displayed.
2773 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2775 * finder.el (finder-unload-function): New function.
2777 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2779 * dframe.el (dframe-detach):
2780 * find-dired.el (find-dired, find-name-dired):
2781 * finder.el (finder-mode-map, finder-mode-syntax-table)
2782 (finder-headmark, finder-select, finder-mouse-select):
2783 Fix docstring typos.
2785 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2787 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2788 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2789 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2790 Fix doc-string based on a suggestion by Nicolas Richard
2791 <theonewiththeevillook@yahoo.fr>.
2792 * help.el (with-help-window): Fix doc-string.
2794 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2796 * net/shr.el (shr-image-animate): New option.
2797 (shr-put-image): Respect shr-image-animate.
2799 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2801 * net/tramp-adb.el (tramp-adb-parse-device-names):
2802 Use `accept-process-output'.
2803 (tramp-adb-handle-file-truename): Cache the localname only.
2804 (tramp-adb-handle-make-directory)
2805 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2806 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2807 modes cannot be changed.
2809 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2810 file properties of symlinks.
2812 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2814 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2815 required/optional fields to match development biblatex. (Bug#16781)
2817 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2819 * saveplace.el (toggle-save-place):
2820 Fix argument handling. (Bug#16673)
2822 2014-02-28 Glenn Morris <rgm@gnu.org>
2824 * minibuffer.el (completions-first-difference)
2825 (completions-common-part, completion-hilit-commonality): Doc fixes.
2827 2014-02-28 Karl Berry <karl@gnu.org>
2829 * info.el (Info-mode-map): Add H for describe-mode,
2830 to synchronize with standalone Info.
2832 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2834 * progmodes/sql.el (sql-interactive-mode):
2835 Avoid setting global comint-input-ring-separator. (Bug#16814)
2837 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2839 * net/dbus.el (dbus--init-bus): Declare function.
2840 (dbus-path-local, dbus-interface-local): New defconst.
2841 (dbus-init-bus): Use them.
2842 (dbus-return-values-table): Extend doc.
2843 (dbus-handle-bus-disconnect): Extend error message.
2845 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2847 * subr.el (y-or-n-p): Fix double space issue in message.
2849 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2851 * net/tramp.el (tramp-call-process): Improve trace message.
2852 (tramp-handle-insert-file-contents): Trace error case.
2854 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2855 <insert-directory>: Use `tramp-handle-insert-directory'.
2856 (tramp-adb-handle-insert-directory): Remove function.
2857 (tramp-adb-send-command-and-check): New defun, replacing
2858 `tramp-adb-command-exit-status'. Change all callees.
2859 (tramp-adb-handle-file-attributes)
2860 (tramp-adb-handle-directory-files-and-attributes): Use it.
2861 (tramp-adb-ls-output-name-less-p):
2862 Use `directory-listing-before-filename-regexp'.
2863 (tramp-adb-handle-delete-directory): Flush also file properties of
2864 the truename of directory.
2865 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2866 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2867 (tramp-adb-handle-write-region): Implement APPEND.
2868 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2869 properties correctly.
2870 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2871 variables. Check for connected devices only when needed.
2873 2014-02-27 Glenn Morris <rgm@gnu.org>
2875 * minibuffer.el (completion-table-dynamic)
2876 (completion-table-with-cache): Doc fixes.
2878 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2879 (completing-read-multiple): Doc fixes.
2881 2014-02-27 Daniel Colascione <dancol@dancol.org>
2883 * minibuffer.el (completion--nth-completion): Fix indentation.
2885 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2886 explicit tramp path is empty.
2888 2014-02-27 Glenn Morris <rgm@gnu.org>
2890 * emacs-lisp/crm.el (completing-read-multiple):
2891 Empower help-enable-auto-load.
2893 2014-02-26 Glenn Morris <rgm@gnu.org>
2895 * startup.el (command-line): Don't init the tty in daemon mode.
2897 Avoid calling tty-setup-hook twice, eg if a term file
2898 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2899 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2900 (tty-create-frame-with-faces): Use it.
2901 * startup.el (command-line): Pass run-hook argument
2902 to tty-run-terminal-initialization.
2904 * dired.el (dired-restore-desktop-buffer): Demote errors;
2905 eg in case a glob match fails. (Bug#16884)
2907 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2909 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2910 error from `read-from-string'. (Bug#16850)
2912 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2913 result of `completing-read' in the interactive form. (Bug#16854)
2915 2014-02-25 Glenn Morris <rgm@gnu.org>
2917 * image.el (image-animate, image-animate-timeout):
2918 Stop animating images in dead buffers. (Bug#16878)
2920 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2922 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2924 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2925 * term/sun.el (sun-raw-prefix-hooks):
2926 Use tty-setup-hook instead of term-setup-hook.
2927 (terminal-init-sun): Construct message from bytecomp plist.
2928 * term/wyse50.el (enable-arrow-keys): Doc fix.
2930 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2932 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2933 Fix docstring typos.
2935 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2937 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2939 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2941 * minibuffer.el (completion--try-word-completion):
2942 Fix error when completing M-x commands (bug#16808).
2944 2014-02-24 Leo Liu <sdl.web@gmail.com>
2946 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2948 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2950 * apropos.el (apropos-print): Avoid formatting error when
2951 apropos-do-all and apropos-compact-layout are both t.
2953 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2955 * apropos.el (apropos-property, apropos-all-words-regexp)
2956 (apropos-true-hit, apropos-variable, apropos-print):
2957 Fix docstring typos, and remove obsolete comment.
2959 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2961 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2962 Preserve trailing "/". (Bug#16851)
2964 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2966 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2967 after `=>' (bug#16811).
2968 (ruby-smie-rules): Handle the inconsistent second element of the
2969 list returned by `smie-indent--parent'.
2970 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2973 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2975 * elec-pair.el (electric-pair-text-syntax-table)
2976 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2977 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2978 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2979 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2981 2014-02-22 Glenn Morris <rgm@gnu.org>
2983 * imenu.el (imenu--generic-function): Doc fix.
2985 * register.el (frame-configuration-to-register): Make obsolete.
2987 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2989 * desktop.el (desktop-save-buffer-p): Do not fail when
2990 desktop-files-not-to-save is nil. Return t for true result
2993 2014-02-22 Daniel Colascione <dancol@dancol.org>
2995 * net/secrets.el (secrets-create-item, secrets-search-items):
2996 Check that attribute values are strings, avoiding the construction
2997 of invalid dbus messages.
2999 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3001 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3002 defun-declarations-alist.
3004 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3006 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3009 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3011 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3012 (whitespace-newline, whitespace-trailing, whitespace-line)
3013 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3014 (whitespace-space-after-tab): Fix typo in docstrings.
3016 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3018 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3020 * electric.el (electric-indent-functions-without-reindent):
3021 Add `yaml-indent-line'.
3023 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3025 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3026 It has done nothing for years; should be removed after the release.
3028 * simple.el (choose-completion): Fix docstring typo.
3029 (read-quoted-char-radix): Remove unneeded * in docstring.
3030 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3031 Don't escape parentheses unnecessarily in docstrings.
3033 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3035 Fix handling of window-min-height/-width (Bug#16738).
3036 * window.el (window--dump-window, window--dump-frame):
3038 (window--min-size-1): Account for window dividers.
3039 When window-resize-pixelwise is nil, delay rounding till after the
3040 sum of the window components has been calculated.
3041 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3042 nil make sure at least one text line and two text columns remain
3044 (window-resize): Signal an error when window-resize-apply fails.
3045 (window--resize-child-windows): Fix calculation of by how many
3046 pixels a window can still be shrunk via window-new-normal.
3047 (adjust-window-trailing-edge): Call window--resizable with
3048 correct TRAIL argument.
3050 (with-temp-buffer-window): Don't evaluate BODY within
3051 with-current-buffer (Bug#16816).
3053 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3055 * net/tramp.el (tramp-check-cached-permissions):
3056 Call `file-attributes' with `suffix' being a symbol but a string.
3058 2014-02-21 Daniel Colascione <dancol@dancol.org>
3060 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3061 (dbus-init-bus): New function: call into dbus-init-bus-1
3062 and installs a handler for the disconnect signal.
3063 (dbus-call-method): Rewrite to look for result in cons.
3064 (dbus-call-method-handler): Store result in cons.
3065 (dbus-check-event): Recognize events with nil sender as valid.
3066 (dbus-handle-bus-disconnect): New function. React to bus
3067 disconnection signal by synthesizing dbus error for each
3068 pending synchronous or asynchronous call.
3069 (dbus-notice-synchronous-call-errors): New function.
3070 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3071 is true, not all the time.
3073 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3075 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3076 Remove obsolescence declarations, these variables do not exist anymore.
3078 * savehist.el (savehist-save-minibuffer-history)
3079 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3080 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3081 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3082 mostly, refer to "Savehist mode" when talking about the mode,
3083 and not the function.
3085 * saveplace.el (save-place): Remove redundant info in docstring.
3086 (save-place-forget-unreadable-files, toggle-save-place)
3087 (save-place-forget-unreadable-files, save-place-dired-hook):
3088 Fix typos and remove unneeded backslashes.
3090 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3092 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3093 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3095 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3096 <insert-directory>: Use `tramp-handle-insert-directory'.
3097 (tramp-gvfs-handle-insert-directory): Remove function.
3099 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3100 Call `tramp-handle-insert-directory'.
3102 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3104 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3105 before the start of buffer/region (bug#16799).
3107 2014-02-20 Glenn Morris <rgm@gnu.org>
3109 * isearch.el (search-invisible): Doc fix.
3111 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3113 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3116 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3118 * frameset.el (frameset-restore): Delay removing an old frame's
3119 duplicate id until the new frame has been correctly created.
3121 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3123 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3124 (tramp-check-cached-permissions): Call `file-attributes' if the
3127 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3128 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3130 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3131 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3132 (tramp-gvfs-maybe-open-connection): Set always connection
3133 properties, even if target is mounted already.
3135 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3136 Set tramp-autoload cookie.
3137 (tramp-get-remote-touch): New defun.
3138 (tramp-sh-handle-set-file-times): Use it.
3139 (tramp-sh-handle-directory-files-and-attributes):
3140 Use `tramp-handle-directory-files-and-attributes' if neither stat
3141 nor perl are available on the remote host.
3143 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3144 "/". Write long listing only when "l" belongs to the switches.
3146 * net/trampver.el: Update release number.
3148 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3150 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3152 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3154 * window.el (window-state-put): Allow WINDOW to refer to an
3155 internal window (Bug#16793).
3157 2014-02-19 Glenn Morris <rgm@gnu.org>
3159 * textmodes/remember.el: Move provide statement to end.
3160 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3161 (remember-notes): Doc fixes.
3163 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * delsel.el (delete-char): Restore incorrectly erased property
3168 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3170 * frameset.el (frameset--restore-frame): When a frame is being reused
3171 and its root window is not alive, delete all the frame's windows before
3172 restoring the window state. This works around the issue in bug#16793.
3174 2014-02-18 Glenn Morris <rgm@gnu.org>
3176 * textmodes/remember.el (remember-data-directory)
3177 (remember-directory-file-name-format, remember-store-in-files)
3178 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3179 (remember-notes-save-and-bury-buffer)
3180 (remember-notes--kill-buffer-query): Doc fixes.
3182 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3184 2014-02-17 Alan Mackenzie <acm@muc.de>
3186 Connect electric-indent-mode up with CC Mode. Bug #15478.
3187 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3188 to electric-indent-{,local-}-mode.
3189 (c-basic-common-init): Set electric-indent-inhibit.
3190 Initialise c-electric-flag from electric-indent-mode.
3191 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3192 New hook functions which propagate electric-indent-mode to CC mode.
3194 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3195 hit, toggle electric-indent-local-mode.
3197 * electric.el (electric-indent-mode-has-been-called):
3200 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3202 * frameset.el (frameset-cfg-id): New function.
3203 (frameset--reuse-frame, frameset-restore): Use it.
3204 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3206 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * ido.el (ido-file-internal): Remove unused var `d'.
3209 Use \` for to match BoS. Fit within 80n columns.
3211 2014-02-17 Daniel Colascione <dancol@dancol.org>
3213 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3214 dbus-call-method check for completion using a busy-wait loop with
3217 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3219 Sync with Tramp 2.2.9.
3221 * net/trampver.el: Update release number.
3223 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3225 * ido.el (ido-file-internal): Don't add the name of an existing
3226 directory twice. (Bug#16747)
3228 2014-02-16 Glenn Morris <rgm@gnu.org>
3230 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3231 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3233 2014-02-15 Michael R. Mauger <michael@mauger.com>
3235 * progmodes/sql.el: Version 3.4
3236 (sql-oracle-options): New default value ("-L").
3237 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3238 (sql-placeholders-filter): Correct placeholder pattern.
3239 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3240 (sql-login-delay): New variable.
3241 (sql-product-interactive): Use it.
3243 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3245 * frameset.el (frameset--jump-to-register): Check that buffer is live
3248 2014-02-15 Glenn Morris <rgm@gnu.org>
3250 * info.el (info-initialize): Revert 2014-01-10 change.
3252 2014-02-14 Glenn Morris <rgm@gnu.org>
3254 * replace.el (map-query-replace-regexp)
3255 (read-regexp-defaults-function, read-regexp): Doc fixes.
3257 * dired.el (dired-read-regexp):
3258 * faces.el (list-faces-display):
3259 * misearch.el (multi-isearch-read-matching-buffers)
3260 (multi-isearch-read-matching-files):
3261 * play/cookie1.el (cookie-apropos):
3262 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3264 * textmodes/remember.el (remember): Use frameset-to-register
3265 rather than frame-configuration-to-register.
3267 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3269 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3270 incorrect keybinding.
3272 2014-02-13 Daniel Colascione <dancol@dancol.org>
3274 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3275 when adding overlays so that line numbers from compiler match line
3278 2014-02-13 Glenn Morris <rgm@gnu.org>
3280 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3282 * jit-lock.el (jit-lock-mode): Doc fix.
3284 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3286 * apropos.el (apropos-read-pattern): When the user passes an empty
3287 string, give a more helpful error message than "Wrong type
3288 argument: stringp, nil".
3290 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3294 2014-02-13 Glenn Morris <rgm@gnu.org>
3296 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3298 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3300 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3301 shift-select commands.
3303 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3305 * progmodes/js.el (js-indent-line): Don't widen.
3306 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3308 2014-02-12 Glenn Morris <rgm@gnu.org>
3310 * icomplete.el (icomplete): Add info-link to defgroup.
3311 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3312 (icomplete-minibuffer-map, icomplete-mode)
3313 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3315 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3316 (package-menu-filter): Rename from package-menu-filter-interactive.
3319 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3321 * frameset.el (frameset--jump-to-register): Select the required
3322 window and buffer before restoring position (bug#16696).
3324 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3326 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3328 2014-02-10 Glenn Morris <rgm@gnu.org>
3330 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3332 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3334 * w32-common-fns.el (x-get-selection): Doc fix.
3335 * select.el (x-get-selection): Doc fix. (Bug#15109)
3337 * face-remap.el (face-remap-add-relative)
3338 (face-remap-remove-relative, face-remap-reset-base)
3339 (face-remap-set-base): Call force-mode-line-update to redisplay
3340 the current buffer due to potential change in faces. (Bug#16709)
3342 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3344 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3345 script more robustly.
3347 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3349 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3351 * simple.el (choose-completion): Doc fix (bug#14160).
3353 * subr.el (event-start): Say what a nil EVENT value means.
3355 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3358 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3360 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3362 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3364 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3365 predicate function (bug#15455).
3367 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3369 * ielm.el (inferior-emacs-lisp-mode): Instead of
3370 `comment-use-global-state', set `comment-use-syntax'.
3372 2014-02-10 Glenn Morris <rgm@gnu.org>
3374 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3376 2014-02-09 Alan Mackenzie <acm@muc.de>
3378 Fix c-invalidate-state-cache on narrowed buffers.
3379 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3380 Widen when setting and clearing the CPP delimiter properties.
3382 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3384 * help.el (describe-bindings): Doc fix (bug#9888).
3386 * files.el (save-buffer): Use ARG as the parameter name for
3387 consistency (bug#10346).
3388 (save-buffer): Clarify the 0 argument (bug#10346).
3390 * cus-edit.el (customize-apropos): Fix error string.
3391 (custom-buffer-create): Doc fix (bug#11122).
3392 (custom-sort-items): Doc fix (bug#11121).
3394 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3396 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3397 (icomplete-simple-completing-p): Mention the previous variable.
3399 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3400 meaning of the parameter (bug#12282).
3402 * files.el (find-file-noselect): Clarify prompt when changing
3403 readedness (bug#13261).
3404 (locate-file): Suffixes aren't returned, so don't say that they
3406 (backup-inhibited): Doc clarification (bug#12525).
3408 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3409 before we actually start to delete things (bug#16331).
3411 * subr.el (event-start): Doc fix (bug#14228).
3414 2014-02-09 Glenn Morris <rgm@gnu.org>
3416 * emacs-lisp/warnings.el (lwarn):
3417 Empower help-enable-auto-load. (Bug#15940)
3419 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3421 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3424 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3426 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3427 Insert output at end of buffer. (Bug#16120)
3429 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3431 * simple.el (choose-completion-string-functions): Document new
3432 calling convention (bug#14153).
3433 (execute-extended-command): Clarify doc string (bug#13373).
3435 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3437 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3438 (find-grep-dired): Doc fix (bug#14288).
3440 2014-02-08 Juri Linkov <juri@jurta.org>
3442 * isearch.el (isearch-quote-char): Check character validity
3443 like in `quoted-insert' (bug#16677).
3445 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3447 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3449 * isearch.el (isearch-hide-immediately): Doc clarification
3452 * simple.el (line-move): Document utility function used many
3453 places in the Emacs sources (bug#14843).
3455 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3456 (dired-prev-marked-file): Doc fix (bug#14855).
3457 (dired-up-directory): Doc fix (bug#14848).
3459 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3461 * files.el (file-relative-name): Doc fix (bug#15159).
3463 * fringe.el (fringe-styles): Doc fix (bug#15239).
3465 * isearch.el (isearch-filter-predicate): Documentation typo fix
3468 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3470 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3472 * replace.el (replace-match-maybe-edit): Doc clarification
3475 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3477 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3479 2014-02-08 Glenn Morris <rgm@gnu.org>
3481 * help-fns.el (describe-variable):
3482 Check {file,dir}-local-variables-alist, and buffer-file-name,
3483 in the correct buffer.
3485 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3487 * help-fns.el (describe-variable): Fix the case where
3488 a value is directory-local with no dir-locals file. (Bug#16635)
3490 2014-02-08 Glenn Morris <rgm@gnu.org>
3492 * abbrev.el (edit-abbrevs-mode):
3493 Derive from fundamental-mode. (Bug#16682)
3495 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3497 * simple.el (quoted-insert): Check character validity (bug#16677).
3499 2014-02-07 Juri Linkov <juri@jurta.org>
3501 * desktop.el (desktop-read): Claim the lock when the owner is not
3502 the current process. (Bug#16157)
3504 2014-02-07 Juri Linkov <juri@jurta.org>
3506 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3507 to "\\` ". (Bug#16651)
3509 2014-02-07 Juri Linkov <juri@jurta.org>
3511 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3512 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3513 (desktop-auto-save-cancel-timer): New function with some code from
3514 `desktop-auto-save-set-timer'.
3515 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3516 Instead of setting `desktop-save-mode' to nil, call
3517 `desktop-save-mode' with arg 0. (Bug#16630)
3519 2014-02-07 Glenn Morris <rgm@gnu.org>
3521 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3522 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3523 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3525 * obsolete/iswitchb.el: Move to obsolete/.
3526 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3527 since obsolete/ is not scanned for autoloads.
3528 * emacs-lisp/authors.el (authors-valid-file-names):
3531 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3532 Disable now non-functional find-file-hook.
3534 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3536 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3537 instead of ";" in order to avoid additional prompts. Let heredoc
3538 scripts read from tty. (Bug#16582)
3539 (tramp-send-command): No special handling of heredocs, it isn't
3542 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3545 with a space (bug#16664). Limit the symbols considered to the ones
3546 that are bound or fbound (bug#16646).
3548 2014-02-06 Glenn Morris <rgm@gnu.org>
3550 * epa.el (epa-mail-aliases): Doc fix.
3552 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3554 * emacs-lisp/lisp.el (lisp-completion-at-point):
3555 Use `completion-table-merge' instead of `completion-table-in-turn'
3558 * minibuffer.el (completion-table-merge): New function.
3560 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3562 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3563 (tramp-sh-handle-set-file-acl)
3564 (tramp-sh-handle-start-file-process)
3565 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3566 (tramp-find-executable, tramp-send-command): Use it.
3568 2014-02-05 Glenn Morris <rgm@gnu.org>
3570 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3572 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3574 * progmodes/python.el (python-shell-send-string)
3575 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3577 2014-02-04 Anders Lindgren <andlind@gmail.com>
3579 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3580 the names (bug#16620).
3582 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3584 * faces.el (window-divider): New default value. Rewrite doc-string.
3585 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3587 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3589 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3590 `protected' and `public' can also be called without arguments.
3592 2014-02-03 Glenn Morris <rgm@gnu.org>
3594 * register.el (window-configuration-to-register)
3595 (frame-configuration-to-register): Unadvertise unused argument.
3596 * frameset.el (frameset-to-register): Remove unused argument.
3598 * frameset.el (frameset-to-register):
3599 * kmacro.el (kmacro-to-register):
3600 * register.el (increment-register):
3601 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3602 (calc-append-to-register, calc-prepend-to-register):
3603 * play/gametree.el (gametree-layout-to-register)
3604 (gametree-apply-register-layout):
3605 * textmodes/picture.el (picture-clear-rectangle-to-register)
3606 (picture-yank-rectangle-from-register):
3607 * vc/emerge.el (emerge-combine-versions-register):
3608 Use register-read-with-preview to read registers.
3610 2014-02-03 João Távora <joaotavora@gmail.com>
3612 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3613 when at beginning of (possibly narrowed) buffer.
3615 2014-02-02 Daniel Colascione <dancol@dancol.org>
3617 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3618 Also try to display local help from just before point.
3620 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3622 c-parse-state. Don't "append-lower-brace-pair" in certain
3623 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3624 recognised as a comment.
3626 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3627 as well as normal comment starter.
3628 (c-parse-state-get-strategy): Extra return possibility
3630 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3631 return value list to indicate replacement of a brace-pair cons
3633 (c-parse-state-1): With 'back-and-forward, only call
3634 c-append-lower-brace-pair-to state-cache when cons-separated.
3636 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3638 * term/ns-win.el (ns-suspend-error): New function.
3639 (ns-initialize-window-system): Add ns-suspend-error to
3640 suspend-hook (Bug#16612).
3642 2014-02-02 Daniel Colascione <dancol@dancol.org>
3644 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3645 Make loading cc-mode silent.
3647 2014-02-02 Daniel Colascione <dancol@dancol.org>
3649 * comint.el (comint-prompt-read-only): Change doc to suggest
3652 2014-02-02 Glenn Morris <rgm@gnu.org>
3654 * register.el (register-read-with-preview, point-to-register)
3655 (window-configuration-to-register, frame-configuration-to-register)
3656 (jump-to-register, number-to-register, view-register, insert-register)
3657 (copy-to-register, append-to-register, prepend-to-register)
3658 (copy-rectangle-to-register): Doc fixes.
3660 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3662 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3663 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3664 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3665 * help-fns.el (describe-function-1): Use it.
3667 2014-02-02 Glenn Morris <rgm@gnu.org>
3669 * register.el (register-preview-default): New function,
3670 split from register-preview.
3671 (register-preview-function): Rename from register-preview-functions,
3673 (register-preview): Use register-preview-function.
3674 (register-read-with-preview): Error on non-character event. (Bug#16595)
3676 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3678 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3679 `:' before binary operators (bug#16609). Don't check for `:'
3680 before `[' and `(', or their syntax status. A percent literal
3681 can't end with either.
3682 (ruby-font-lock-keywords): For built-ins that require arguments,
3683 check that they're followed by something that looks like argument
3686 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3688 * subr.el (butlast): Document what an omitted N means (bug#13437).
3691 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3693 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3694 depth shallower (bug#16587).
3695 (shr-tag-svg): Respect `shr-inhibit-images'.
3696 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3698 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3700 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3701 (ruby-smie-grammar): Make "." right-associative. Make its priority
3702 lower than the ternary and all binary operators.
3703 (ruby-smie-rules): Indent "(" relative to the first non-"."
3704 parent, or the first "." parent at indentation.
3705 Use `ruby-align-chained-calls' for indentation of "." tokens.
3708 2014-01-31 Juri Linkov <juri@jurta.org>
3710 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3711 from `make-hash-table'.
3713 * textmodes/ispell.el (ispell-init-process): Change message format
3714 to be consistent with other messages.
3716 2014-01-31 Glenn Morris <rgm@gnu.org>
3718 * delsel.el (delete-selection-mode): Doc fix.
3720 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3721 (trace-function-background): Doc fixes.
3723 * ido.el (ido-use-virtual-buffers): Doc fix.
3724 Reset :version, since the default value has not changed.
3726 * register.el (register-preview-delay, register-read-with-preview):
3729 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3730 do not mess with mail-buffer position (fixes 2009-11-03 change).
3731 * progmodes/cc-mode.el (c-submit-bug-report):
3732 Check auto-fill-mode is bound. (Bug#16592)
3734 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3736 * startup.el (fancy-splash-image-file): New function,
3737 split from fancy-splash-head.
3738 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3739 so that we are both using the same image. (Bug#16574)
3741 2014-01-30 Glenn Morris <rgm@gnu.org>
3743 * simple.el (eval-expression): Doc fix.
3745 * hexl.el (hexl-mode-hook):
3746 * ielm.el (ielm-mode-hook):
3747 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3748 (lisp-interaction-mode-hook):
3749 * progmodes/cfengine.el (cfengine3-documentation-function):
3750 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3752 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3755 is a symbol (bug#16584).
3757 2014-01-30 Glenn Morris <rgm@gnu.org>
3759 * help.el (help-for-help-internal): Add "P" to text.
3761 2014-01-29 Glenn Morris <rgm@gnu.org>
3763 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3765 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3767 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3770 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3772 * progmodes/hideif.el: Extend to full CPP expression syntax.
3773 (hif-token-alist): Add missing tokens.
3774 (hif-token-regexp): Add support for float/octal/hex immediates.
3775 (hif-string-literal-regexp): New const.
3776 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3777 (hif-exprlist): New function.
3778 (hif-parse-if-exp): Use it.
3779 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3780 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3781 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3782 (hif-logxor, hif-comma): New functions.
3784 2014-01-28 Glenn Morris <rgm@gnu.org>
3786 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3788 * indent.el (tab-stop-list): Doc fix. Add :version.
3790 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3791 (cvs-append-to-ignore): Add compatibility alias.
3793 2014-01-27 Glenn Morris <rgm@gnu.org>
3795 * dired.el (dired-hide-details-mode): Don't autoload it,
3796 since it cannot be used outside Dired buffers anyway.
3798 * emulation/cua-base.el (cua-mode): Doc fix.
3800 * dired.el (dired-hide-details-hide-symlink-targets)
3801 (dired-hide-details-hide-information-lines)
3802 (dired-hide-details-mode): Doc fixes.
3804 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3805 * strokes.el (strokes-file): Doc fix. Bump :version.
3806 (strokes-help): Doc fix.
3807 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3808 * emulation/viper.el (viper): Doc fix for custom group.
3809 (top-level): Remove oh-so-no-longer-relevant text about vip.
3810 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3812 * ido.el (ido-save-directory-list-file):
3813 * saveplace.el (save-place-file):
3814 * calendar/timeclock.el (timeclock-file):
3815 * net/quickurl.el (quickurl-url-file):
3816 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3817 * progmodes/idlwave.el (idlwave-config-directory):
3818 * textmodes/remember.el (remember-data-file):
3821 2014-01-26 Glenn Morris <rgm@gnu.org>
3823 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3824 Doc fix. Make obsolete.
3825 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3827 * sort.el (delete-duplicate-lines): Doc fix.
3829 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3831 * progmodes/ada-mode.el (ada):
3832 * woman.el (woman): Link to info manual and Commentary section.
3834 * progmodes/flymake.el (flymake):
3835 * nxml/nxml-mode.el (nxml):
3837 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3838 * htmlfontify.el (htmlfontify):
3841 * ido.el (ido): Link to info manual.
3843 2014-01-25 Leo Liu <sdl.web@gmail.com>
3845 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3847 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3849 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3852 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3854 * net/eww.el (eww-download-callback):
3855 Fix reference to eww-download-directory.
3857 * emacs-lisp/bytecomp.el (byte-compile-file):
3858 Remove unused local variable `file-name'.
3860 2014-01-24 Glenn Morris <rgm@gnu.org>
3862 * woman.el (woman-default-faces, woman-monochrome-faces):
3863 Fix obsolescence specification.
3865 * subr.el (with-demoted-errors): Doc fix.
3867 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3869 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3870 (cl--macroexp-fboundp): New function.
3871 (cl--make-type-test): Use it.
3873 2014-01-23 Glenn Morris <rgm@gnu.org>
3875 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3876 * simple.el (eval-expression): Doc fixes.
3878 2014-01-22 Glenn Morris <rgm@gnu.org>
3880 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3882 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * emacs-lisp/package.el: Write files silently.
3885 (package-autoload-ensure-default-file, package--write-file-no-coding)
3886 (package-generate-description-file, package--download-one-archive)
3887 (package-install-from-archive): Tell `write-region' to stay quiet.
3888 (package-menu-mode, package-menu--print-info): Omit the Archive column
3889 if there's only one archive.
3890 (package-all-keywords, package--has-keyword-p): Remove dead code.
3892 2014-01-22 Glenn Morris <rgm@gnu.org>
3894 * version.el (emacs-bzr-version-bzr): Fix typo.
3896 * version.el (emacs-repository-get-version):
3897 Check either .bzr or .git, but not both.
3898 Make the git case actually use the DIR argument, and return nil
3899 rather than the empty string.
3900 Avoid error if .git exists but the git executable is not found.
3902 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3904 Fixes in window size functions around Bug#16430 and Bug#16470.
3905 * window.el (window-total-size, window-size): New argument ROUND.
3906 (window--min-delta-1, window-min-delta, window--max-delta-1):
3907 Be more conservative when calculating the numbers of lines or
3908 columns a window can shrink (Bug#16430).
3909 (fit-window-to-buffer): Simplify code.
3910 * term.el (term-window-width): Call window-body-width again.
3912 2014-01-22 Glenn Morris <rgm@gnu.org>
3914 * image.el (image-format-suffixes): Doc fix.
3916 * international/quail.el (quail-define-package): Doc fix.
3918 * emacs-lisp/authors.el (authors-valid-file-names)
3919 (authors-renamed-files-alist): Additions.
3921 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3922 reverts 2014-01-09 change. (Bug#16422)
3924 * calc/calc-embed.el (thing-at-point-looking-at):
3925 * emacs-lisp/map-ynp.el (x-popup-dialog):
3926 * obsolete/lmenu.el (x-popup-dialog):
3927 * emacs-lisp/package.el (url-recreate-url):
3928 * mail/mailclient.el (clipboard-kill-ring-save):
3929 * subr.el (x-popup-dialog): Update declaration.
3930 * mail/rmail.el (rmail-mime-message-p):
3931 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3933 2014-01-21 Daniel Colascione <dancol@dancol.org>
3935 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3936 Correctly detect when we're inside an arithmetic expansion form
3937 containing nested parenthesis.
3938 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3939 to detect cases where we shouldn't expand "<<" to a heredoc
3942 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3944 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3945 (eldoc--message-command-p): New function.
3946 (eldoc-display-message-p): Use it.
3947 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3948 message is not automatically erased for us.
3949 (eldoc-print-current-symbol-info): Erase previous message, if any.
3951 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3953 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3954 specify it's an interactive function.
3956 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3957 Fix regex used for scanning for citation keys which failed for
3958 citations with optional arguments.
3960 2014-01-21 Leo Liu <sdl.web@gmail.com>
3962 * simple.el (read--expression): Don't enable eldoc-mode.
3964 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3966 * simple.el (move-beginning-of-line): Make sure we don't move forward
3969 2014-01-20 Juri Linkov <juri@jurta.org>
3971 * saveplace.el (toggle-save-place, save-place-to-alist)
3972 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3973 'dired-mode) before checking for dired-directory. (Bug#16477)
3975 2014-01-20 Juri Linkov <juri@jurta.org>
3977 * indent.el (indent-line-to): Use backward-to-indentation
3978 instead of back-to-indentation. (Bug#16461)
3980 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3982 Revert some of the CANNOT_DUMP fix (Bug#16494).
3983 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3984 but fixing this can wait until after the next release.
3985 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3987 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3989 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3990 Use `password-word-equivalents'.
3991 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3992 to t. (Bug#5664, Bug#13124)
3994 2014-01-19 Alan Mackenzie <acm@muc.de>
3996 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3998 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3999 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4000 * progmodes/cc-mode.el (c-before-change, c-after-change)
4001 (c-font-lock-fontify-region): Bind it here.
4003 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4005 * term.el (term-window-width): Call window-text-width instead of
4006 window-width (Bug#16470).
4008 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4010 * simple.el (password-word-equivalents): Remove duplicates.
4011 Sort, to make this easier next time.
4012 Downcase. Omit ": " after "jelszó".
4014 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4016 * term/common-win.el (saved-region-selection): Defvar it.
4017 (x-select-text): Set saved-region-selection (Bug#16382).
4019 2014-01-18 Glenn Morris <rgm@gnu.org>
4021 * emacs-lisp/authors.el (authors-aliases)
4022 (authors-renamed-files-alist): Add some entries.
4024 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4026 * net/tramp.el (tramp-password-prompt-regexp):
4027 Use `password-word-equivalents' if available.
4028 (tramp-action-password, tramp-process-one-action)
4029 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4031 2014-01-17 Chong Yidong <cyd@gnu.org>
4033 * simple.el (password-word-equivalents): New defcustom.
4034 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4036 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4039 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4041 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4042 (ruby-align-to-stmt-keywords): Change the default value.
4043 Use `ruby-alignable-keywords' to generate the possible customization
4045 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4046 keywords, check against the value of `ruby-alignable-keywords'
4047 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4049 2014-01-17 Glenn Morris <rgm@gnu.org>
4051 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4053 Make M-x authors return zero *Authors Errors* from current logs.
4054 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4055 (authors-ignored-files): Add some entries, remove others.
4056 (authors-ambiguous-files, authors-valid-file-names):
4058 (authors-renamed-files-alist): Add, remove, and adjust entries.
4059 (authors-renamed-files-regexps): Add some entries.
4060 Remove some very broad ones. Make some entries `lax'.
4061 (authors-lax-changelogs): New constant.
4062 (authors-disambiguate-file-name): Treat top-level specially.
4063 (authors-lax-changelog-p): New function.
4064 (authors-canonical-file-name): Check file as written against
4065 authors-valid-file-names. Do not special-case etc/.
4066 Handle `lax' logs and authors-renamed-files-regexps elements.
4068 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4070 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4071 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4074 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4076 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4077 Assume we're already in the proper buffer.
4078 Inspired by Anders Lindgren <andlind@gmail.com>.
4079 (follow-post-command-hook): Call it from the right buffer.
4080 (follow-comint-scroll-to-bottom): Adjust call.
4081 (follow-all-followers): Use get-buffer-window-list.
4083 2014-01-15 Daniel Colascione <dancol@dancol.org>
4085 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4086 `buffer-file-name' in interactive-form so that we don't leave
4087 pathless file names in `file-name-history'.
4089 2014-01-15 Juri Linkov <juri@jurta.org>
4091 * indent.el (indent-rigidly): Set deactivate-mark to nil
4092 in transient indentation mode. (Bug#16438)
4094 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4096 * emacs-lisp/package.el (package-desc-keywords): New function
4098 (describe-package-1, package-all-keywords)
4099 (package--has-keyword-p): Use it.
4101 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4103 * simple.el (define-alternatives): When creating the
4104 COMMAND-alternatives variable, assign COMMAND as its definition
4105 name so that `describe-variable' can relocate it.
4107 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4109 * font-lock.el (font-lock-keywords): Fix typo in docstring
4112 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4114 * ispell.el (ispell-region): Reset `in-comment' for new line
4115 instead of wrongly reset `add-coment' (bug#13577).
4117 2014-01-14 Daiki Ueno <ueno@gnu.org>
4119 * epa-file.el (epa-file-write-region): Encode the region according
4120 to `buffer-file-format'. Problem reported at:
4121 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4123 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4126 so it applies in the right buffer (bug#16410).
4128 2014-01-13 Daniel Colascione <dancol@dancol.org>
4130 * textmodes/rst.el (rst-define-key): Provide deprecated
4131 keybindings through named functions instead of anonymous ones so
4132 that "??" doesn't appear in describe-mode output.
4134 2014-01-13 Bastien Guerry <bzg@gnu.org>
4136 * simple.el (define-alternatives): Call the selected command
4137 interactively. When setting `COMMAND--implementation' for the
4138 first time, tell the user how to chose another implementation.
4139 Enhance the docstring.
4141 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4144 (log-edit--match-first-line): New function.
4145 (log-edit-font-lock-keywords): Use it.
4146 (log-edit-mode): Make jit-lock-defer-multiline work.
4148 2014-01-13 Bastien Guerry <bzg@gnu.org>
4150 * rect.el (rectangle-mark-mode): When the region is not active,
4151 display a message saying that the mark as been set and that
4152 rectangle mode is in use.
4153 (rectangle--highlight-for-redisplay): Only put an overlay with a
4154 visible vertical bar when (display-graphic-p) is non-nil.
4155 This partially fixes Bug#16403.
4157 2014-01-13 Juri Linkov <juri@jurta.org>
4159 * info.el (Info-find-file): Go to DIR before displaying the error
4160 about a nonexistent file if no previous Info file is visited.
4161 Use `user-error' instead of `error' for "Info file %s does not exist".
4162 (Info-find-node-2): In case of a nonexistent node in unwind forms
4163 go to the Top node if there is no previous node to revert to.
4166 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4168 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4169 * window.el (fit-frame-to-buffer): Fix doc-string.
4170 Respect window-min-height/-width. Fit pixelwise when
4171 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4172 when avoiding that frame goes partially off-screen.
4173 (fit-window-to-buffer): Respect window-min-height/-width
4176 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4179 after an empty line.
4181 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4183 * net/shr.el (shr-render-region): Autoload.
4185 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4187 * net/eww.el (eww-download-directory): Rename from
4188 `eww-download-path' (Bug#16419).
4190 2014-01-12 Leo Liu <sdl.web@gmail.com>
4192 * dired-x.el (dired-mode-map): Fix last change.
4194 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4196 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4199 * emacs-lisp/generic.el (generic--normalize-comments):
4200 Rename from generic--normalise-comments. All uses changed.
4201 * play/bubbles.el (bubbles--neighborhood-score)
4202 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4203 (bubbles--neighborhood-available)
4204 (bubbles--update-neighborhood-score):
4205 Rename from names with 'neighbourhood'. All uses changed.
4207 2014-01-12 Leo Liu <sdl.web@gmail.com>
4209 Re-implement the feature of showing eldoc info after editing.
4210 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4211 (eldoc-edit-message-commands): New function.
4212 (eldoc-print-after-edit): New variable.
4213 (eldoc-pre-command-refresh-echo-area): Emit message only by
4214 eldoc-message-commands.
4215 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4216 if eldoc-print-after-edit is set. (Bug#16346)
4217 * simple.el (read--expression): Enable eldoc-mode.
4218 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4220 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4221 Eric S. Raymond <esr@thyrsus.com>
4223 * version.el (emacs-repository-get-version): Enhance so the
4224 function works correctly in either a Bazaar or Git repo.
4226 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4228 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4229 Goes with removal of the joke manpages from /etc.
4231 2014-01-10 Kenichi Handa <handa@gnu.org>
4233 * mail/rmail.el (rmail-get-coding-system):
4234 Check rmail-get-coding-function before "funcall"ing it.
4236 2014-01-10 Glenn Morris <rgm@gnu.org>
4238 * emacs-lisp/authors.el (authors-fixed-entries):
4239 Update for files that no longer exist.
4241 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4243 * version.el (emacs-bzr-get-version): Restore compatibilty with
4246 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4248 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4251 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4253 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4255 2014-01-10 Chong Yidong <cyd@gnu.org>
4257 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4259 2014-01-10 Anders Lindgren <andlind@gmail.com>
4261 * follow.el (follow-cache-command-list): Include right-char and
4264 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4267 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4268 * woman.el (woman-mark-horizontal-position):
4269 Rename from woman-mark-horizonal-position. Use changed.
4271 2014-01-10 Glenn Morris <rgm@gnu.org>
4273 * info.el (info-initialize): If running uninstalled, ensure our
4274 own info files are always found first, even if INFOPATH is set.
4276 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4278 2014-01-09 David Engster <deng@randomsample.de>
4280 * emacs-lisp/eieio-custom.el:
4281 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4282 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4283 * emacs-lisp/eieio.el: Regenerate autoloads.
4285 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4287 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4288 following renames. (Bug#8756)
4290 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4294 (activate-mark): Add `no-tmm' argument.
4295 (set-mark, push-mark-command): Use it instead of running
4296 activate-mark-hook by hand.
4298 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4300 In preparation for the move to git, sanitize out some
4301 Bazaar-specific names.
4303 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4305 * version.el (emacs-bzr-version): Name changed to
4306 emacs-repository-version. Obsolete-variable alias made.
4307 * loadup.el: Follow through on this name change.
4308 * mail/emacsbug.el (report-emacs-bug): Factor out any
4309 assumption about the version control system in use.
4311 2014-01-08 David Engster <deng@randomsample.de>
4313 * help-fns.el (help-fns-describe-function-functions):
4314 New variable to call functions for augmenting help buffers.
4315 (describe-function-1): Remove explicit calls to
4316 `help-fns--compiler-macro', `help-fns--parent-mode' and
4317 `help-fns--obsolete'. Put them in above new variable instead, and
4318 call them through `run-hook-with-args'.
4319 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4320 `eieio-describe-class'. Not meant for interactive use anymore,
4321 but to augment existing help buffers. Remove optional second
4322 argument. Create proper button for file location.
4323 Rewrite function to use `insert' instead of `princ' and `prin1' where
4325 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4326 (eieio-method-def, eieio-class-def): Move further up.
4327 (describe-method, describe-generic, eieio-describe-method):
4329 (eieio-help-constructor, eieio-help-generic): Rename from
4330 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4331 Rewrite to use `insert' in the current buffer and use proper help
4333 (eieio-help-find-method-definition)
4334 (eieio-help-find-class-definition): Also accept symbols as
4336 (eieio-help-mode-augmentation-maybee): Remove.
4337 (eieio-describe-class-sb): Use `describe-function'.
4338 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4339 Add `eieio-help-generic' and `eieio-help-constructor'.
4341 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4344 * language/china-util.el (hz-ascii-designation):
4345 Rename from hz-ascii-designnation.
4346 (hz-ascii-designation): Rename from hz-ascii-designnation.
4349 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4354 2014-01-08 Bastien Guerry <bzg@gnu.org>
4356 * emacs-lisp/package.el (package-delete):
4357 Correctly delete the package from package-alist.
4359 2014-01-08 Daiki Ueno <ueno@gnu.org>
4361 * emacs-lisp/package.el (url-recreate-url): Declare.
4362 (url-http-target-url): Declare.
4363 (package-handle-response): Include requested URL in the error message.
4364 (package--check-signature): Don't re-signal errors from
4365 package--with-work-buffer. Suggested by Stefan Monnier.
4367 2014-01-07 Bastien Guerry <bzg@gnu.org>
4369 * minibuffer.el (completion--try-word-completion): When both a
4370 hyphen and a space are possible candidates for the character
4371 following a word, display both candidates. (Bug#15980)
4373 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4375 * window.el (balance-windows-2): While rounding don't give a
4376 window more than the remainder. Bug#16351, bug#16383.
4378 2014-01-07 Glenn Morris <rgm@gnu.org>
4380 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4381 (menu-bar-help-menu): Use view-external-packages instead.
4383 2014-01-07 Bastien Guerry <bzg@gnu.org>
4385 * emacs-lisp/package.el (package-delete): Also delete the package
4386 name from `package-alist', not its description only.
4388 2014-01-07 Glenn Morris <rgm@gnu.org>
4390 * help.el (view-external-packages):
4391 * menu-bar.el (menu-bar-help-extra-packages):
4392 Visit efaq.info rather than etc/MORE.STUFF.
4394 2014-01-07 Juri Linkov <juri@jurta.org>
4396 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4397 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4399 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4400 that shadows RET. (Bug#16342)
4402 2014-01-07 Chong Yidong <cyd@gnu.org>
4404 * isearch.el (isearch-yank-char, isearch-yank-word)
4405 (isearch-yank-line): Doc fix.
4407 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4410 * emacs-lisp/elint.el (elint-find-builtins):
4411 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4412 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4413 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4414 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4415 * apropos.el (apropos-safe-documentation):
4416 * subr.el (symbol-file): Remove redundant fboundp.
4417 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4419 2014-01-06 Bastien Guerry <bzg@gnu.org>
4421 * hl-line.el (global-hl-line-overlay): Make a local variable.
4422 (global-hl-line-overlays): New variable to store all overlays.
4423 (global-hl-line-mode): Don't delete overlays from the current
4424 buffer when `global-hl-line-sticky-flag' is non-nil.
4425 (global-hl-line-highlight): Add new overlays to
4426 `global-hl-line-overlays'.
4427 (global-hl-line-unhighlight-all): New function to delete all
4428 overlays when turning off `global-hl-line-mode'.
4429 This fixes Bug#16183.
4431 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4433 * subr.el (set-transient-map): Fix nested case and docstring.
4435 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4437 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4440 2014-01-06 Daniel Colascione <dancol@dancol.org>
4442 Fix defun navigation in vc log view.
4444 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4445 like `beginning-of-defun'.
4446 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4447 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4448 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4449 (log-view-extract-comment): Call `log-view-current-entry' directly
4450 instead of relying on broken `log-view-beginning-of-defun' behavior.
4452 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4455 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4456 * emacs-lisp/debug.el (cancel-debug-on-entry):
4457 * epg.el (epg-error-to-string):
4458 * files.el (recover-file):
4459 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4460 * mail/emacsbug.el (report-emacs-bug-hook):
4461 * mail/sendmail.el (mail-recover):
4462 * ses.el (ses-yank-resize):
4463 * term/ns-win.el (ns-print-buffer):
4464 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4465 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4467 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4469 2014-01-06 Leo Liu <sdl.web@gmail.com>
4471 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4472 to avoid shadowing global key. (Bug#16354)
4474 2014-01-06 Daniel Colascione <dancol@dancol.org>
4476 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4479 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4481 * window.el (balance-windows): Add mising t to fix Bug#16351.
4483 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4485 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4487 (shr-insert): If we have a word that's longer than `shr-width',
4488 break after it anyway. Otherwise we'll do no breaking once we get
4491 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4493 * net/eww.el (eww): Support single/double quote for search.
4494 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4495 (eww-history-quit): Delete and use quit-window.
4496 (eww-history-kill): Delete, because it doesn't work well and
4498 (eww-history-mode-map): Delete some keys and add easy-menu.
4500 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4502 Fix misspelling of 'chinese' in rx (Bug#16237).
4503 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4506 Change subword regexps back to vars (Bug#16296).
4507 * progmodes/subword.el (subword-forward-regexp)
4508 (subword-backward-regexp): Change these back to variables.
4510 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4513 syntax-begin-function (bug#16247).
4515 2014-01-03 Chong Yidong <cyd@gnu.org>
4517 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4518 (advice--docstring): Delete variable.
4519 (advice--make-1): Leave the docstring empty.
4520 (advice-add): Use function-documentation for advised docstring.
4522 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4523 Ignore function-documentation property when getting documentation.
4524 (ad-activate-advised-definition): Use function-documentation
4525 generate the docstring.
4526 (ad-make-advised-definition): Don't call
4527 ad-make-advised-definition-docstring.
4528 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4531 * progmodes/sql.el (sql-help): Use function-documentation instead
4532 of dynamic-docstring-function property. No need to autoload now.
4533 (sql--help-docstring): New variable.
4534 (sql--make-help-docstring): Use it.
4536 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4538 * ielm.el (ielm-tab): Retarget.
4539 (ielm-map): Use ielm-tab for tab.
4540 (ielm-complete-filename): Use comint-filename-completion.
4541 (ielm-complete-symbol): Remove.
4542 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4543 remove ielm-tab from completion-at-point-functions (bug#16224).
4545 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4546 Beware signals raised by predicates (bug#16201).
4548 2014-01-02 Richard Stallman <rms@gnu.org>
4550 * dired-aux.el (dired-do-print): Handle printer-name.
4552 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4553 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4554 (rmail-epa-decrypt): Turn off mime processing.
4556 * mail/rmail.el (rmail-make-in-reply-to-field):
4557 Add parens in message-id.
4559 * mail/rmail.el (rmail-get-coding-function): Variable.
4560 (rmail-get-coding-system): Use it.
4562 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4564 * international/mule-conf.el: Unify the charset indian-is13194.
4565 (indian-is13194): Specify unify-map.
4567 2013-12-31 Leo Liu <sdl.web@gmail.com>
4569 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4571 2013-12-30 Daniel Colascione <dancol@dancol.org>
4573 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4574 of printing a useless when we resume from sleep.
4576 * progmodes/sh-script.el
4577 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4578 in indentation code. (Bug#16233)
4580 2013-12-28 João Távora <joaotavora@gmail.com>
4582 * elec-pair.el (electric-pair-post-self-insert-function):
4583 Don't open extra newlines at beginning of buffer. (Bug#16272)
4585 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4587 * frame.el (window-system-for-display): Don't allow to create a
4588 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4590 2013-12-28 Glenn Morris <rgm@gnu.org>
4592 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4595 * apropos.el (apropos-match-face):
4596 * calculator.el (calculator-displayer):
4597 * dabbrev.el (dabbrev-search-these-buffers-only):
4598 * face-remap.el (buffer-face-mode-face):
4599 * simple.el (yank-handled-properties):
4600 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4601 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4602 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4603 (hashcash-double-spend-database):
4604 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4605 (ruby-deep-indent-paren-style):
4606 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4607 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4608 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4609 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4610 Specify custom types.
4612 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4613 * bookmark.el (bookmark-bmenu-use-header-line):
4614 * doc-view.el (doc-view-scale-internally):
4615 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4616 * register.el (register-preview-delay):
4617 * net/shr.el (shr-bullet):
4618 * progmodes/cfengine.el (cfengine-cf-promises)
4619 (cfengine-parameters-indent):
4620 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4621 * textmodes/reftex-vars.el (reftex-label-regexps):
4622 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4624 * net/tls.el (tls-certtool-program): Fix default value.
4626 * desktop.el (desktop-restore-in-current-display):
4627 * newcomment.el (comment-empty-lines):
4628 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4629 (idlwave-pad-keyword):
4630 * progmodes/tcl.el (tcl-tab-always-indent):
4631 * textmodes/reftex-vars.el (reftex-index-default-tag):
4632 * elec-pair.el (electric-pair-skip-whitespace):
4633 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4635 * emacs-lisp/authors.el (authors-ignored-files)
4636 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4638 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4640 * shell.el (shell-dynamic-complete-command): Doc fix.
4641 (shell--command-completion-data): Shell completion now matches
4642 executable filenames from the current buffer's directory, on
4643 systems in which this behavior is the default (windows-nt, ms-dos).
4645 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4647 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4649 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4654 * electric.el: Move all electric-pair-* to elec-pair.el.
4655 * elec-pair.el: New file, split from electric.el.
4657 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4659 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4660 indentation level is larger than the width, because that will
4662 (shr-insert): Fill repeatedly long texts, so that Japanese is
4663 formatted correctly (bug#16263).
4664 (shr-find-fill-point): Off by one error in comparison with the
4667 2013-12-26 João Távora <joaotavora@gmail.com>
4669 * electric.el (electric-pair-mode): More flexible engine for skip-
4670 and inhibit predicates, new options for pairing-related functionality.
4671 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4672 if that keeps or improves their balance in buffers.
4673 (electric-pair-delete-adjacent-pairs): Delete the pair when
4674 backspacing over adjacent matched delimiters.
4675 (electric-pair-open-extra-newline): Open extra newline when
4676 inserting newlines between adjacent matched delimiters.
4677 (electric--sort-post-self-insertion-hook):
4678 Sort post-self-insert-hook according to priority values when
4679 minor-modes are activated.
4680 * simple.el (newline-and-indent): Call newline with interactive
4682 (blink-paren-post-self-insert-function): Set priority to 100.
4683 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4684 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4685 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4686 electric-pair-open-newline-between-pairs to nil.
4688 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4690 * progmodes/python.el: Use lexical-binding.
4691 (python-nav-beginning-of-defun): Stop searching ASAP.
4693 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4695 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4696 Fix interactive spec. Doc fix. (Bug#15754)
4698 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4700 * emacs-lisp/byte-run.el (eval-when-compile):
4701 * progmodes/cc-defs.el (cc-eval-when-compile):
4702 Fix edebug spec (bug#16184).
4704 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4706 * net/shr.el (shr-visit-file): Remove debugging function.
4707 (shr-insert): Don't infloop if we can't find a good place to break
4708 the line (bug#16256).
4710 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4712 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4713 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4714 python-nav-lisp-forward-sexp-safe.
4715 (python-nav--forward-sexp): New argument SAFE allows switching
4716 forward sexp movement behavior for parens.
4717 (python-nav-forward-sexp): Throw errors on unterminated parens
4719 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4720 (python-nav-backward-sexp-safe): New functions.
4721 (python-shell-buffer-substring):
4722 Use `python-nav-forward-sexp-safe'.
4724 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4726 * net/shr.el (shr-find-fill-point): Don't break lines before a
4728 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4729 (shr-find-fill-point): Remove the special checks for the quotation
4730 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4732 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4734 * net/eww.el (eww-form-textarea): Use a different face for
4735 textareas than text input since they have different keymaps
4738 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4740 * progmodes/python.el (python-nav-beginning-of-statement):
4741 Speed up (Bug#15295).
4743 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4745 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4746 the window configuration.
4748 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4750 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4751 we run on MS-Windows or MS-DOS.
4753 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4755 * window.el (balance-windows-area): Call window-size instead of
4756 window-height and window-width. Bug#16241.
4758 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4760 * net/eww.el (eww-bookmark-quit): Remove.
4761 (eww-bookmark-browse): Restore the window configuration when you
4762 choose a bookmark (bug#16144).
4764 2013-12-24 Daniel Colascione <dancol@dancol.org>
4766 * icomplete.el: Remove redundant :group arguments to `defcustom'
4768 (icomplete-show-matches-on-no-input): New customizable variable.
4769 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4770 we have something to show.
4771 (icomplete-exhibit): Compute completions even if we have no user input.
4773 2013-12-23 Daniel Colascione <dancol@dancol.org>
4775 * icomplete.el: Move `provide' to end of file.
4777 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4779 * net/gnutls.el (gnutls-verify-error): Add version tag.
4781 2013-12-23 Chong Yidong <cyd@gnu.org>
4783 * subr.el (set-transient-map): Rename from
4784 set-temporary-overlay-map. Doc fix.
4786 * face-remap.el (text-scale-adjust):
4787 * indent.el (indent-rigidly):
4788 * kmacro.el (kmacro-call-macro):
4789 * minibuffer.el (minibuffer-force-complete):
4790 * repeat.el (repeat):
4791 * simple.el (universal-argument--mode):
4792 * calendar/todo-mode.el (todo-insert-item--next-param):
4793 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4795 * indent.el (indent-rigidly): Use substitute-command-keys.
4797 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4799 * net/eww.el (eww-tag-select): Add text-property to jump to next
4801 (eww): Add non-supported ftp error.
4803 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4805 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4806 comments. Handle electric indent after typing `?' and `!'.
4808 2013-12-22 Chong Yidong <cyd@gnu.org>
4810 * faces.el (face-spec-recalc): If the theme specs are not
4811 applicable to a frame, fall back on the defface spec.
4812 This prevents themes from obliterating faces on low-color terminals.
4814 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4816 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4817 after `{'. We need it after block openers, and it doesn't seem
4818 to hurt after hash openers.
4820 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4822 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4823 extracted from `ruby-smie-rules'.
4824 (ruby--electric-indent-chars): New variable.
4825 (ruby--electric-indent-p): New function.
4826 (ruby-mode): Use `electric-indent-functions' instead of
4827 `electric-indent-chars'.
4829 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4831 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4833 (ruby-smie-rules): Indent plus one level after `=>'.
4835 2013-12-21 Richard Stallman <rms@gnu.org>
4837 * simple.el (newline): Doc fix.
4839 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4841 * net/eww.el (eww-list-histories, eww-list-histories)
4842 (eww-history-browse, eww-history-quit, eww-history-kill)
4843 (eww-history-mode-map, eww-history-mode): New command and
4844 functions to list browser histories.
4845 (eww-form-text): Support text form with disabled
4846 and readonly attributes.
4847 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4849 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4851 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4852 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4853 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4854 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4856 (eww-bookmark-mode-map): Add menu.
4857 (eww-render, eww-mode): Use `setq-local'.
4858 (eww-tool-bar-map): New variable.
4859 (eww-mode): Set `tool-bar-map'.
4860 (eww-view-source): Check for `html-mode' with `fboundp'.
4862 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4864 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4865 elements with text inside. Also remove debugging.
4867 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4869 * cus-start.el (all): Add ns-use-srgb-colorspace.
4871 2013-12-21 Chong Yidong <cyd@gnu.org>
4873 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4874 undefined. Thus, theme settings for undefined faces do not take
4875 effect until the faces are defined with defface, the same as with
4878 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4879 (face-spec-reset-face): Don't assign extra properties in temacs.
4880 (face-spec-recalc): Apply X resources too.
4882 2013-12-21 Chong Yidong <cyd@gnu.org>
4884 * faces.el (face-spec-set):
4885 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4886 * custom.el (defface): Doc fixes (Bug#16203).
4888 * indent.el (indent-rigidly-map): Add docstring, and move commands
4889 into named functions.
4890 (indent-rigidly-left, indent-rigidly-right)
4891 (indent-rigidly-left-to-tab-stop)
4892 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4893 indentation direction based on bidi direction, and accumulate
4894 sequential commands in a single undo boundary.
4895 (indent-rigidly--pop-undo): New utility function.
4897 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4899 * faces.el (read-face-name): Require crm.el when using crm-separator.
4901 2013-12-20 Daniel Colascione <dancol@dancol.org>
4903 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4904 so that we don't reflow comments into the shebang line.
4906 2013-12-20 Juri Linkov <juri@jurta.org>
4908 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4909 a position when `dired-directory' is non-nil. Check integer
4910 positions with `integerp'.
4911 (toggle-save-place, save-places-to-alist): Add check for
4913 (save-place-find-file-hook): Check integer positions with
4915 (save-place-dired-hook): Use `dired-goto-file' when
4916 `dired-filename' is found in the assoc list. Check integer
4917 positions with `integerp'.
4918 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4920 * dired.el (dired-initial-position-hook): Rename back from
4921 `dired-initial-point-hook'.
4922 (dired-initial-position): Rename `dired-initial-point-hook' to
4923 `dired-initial-position-hook'.
4924 (dired-file-name-at-point): Doc fix. (Bug#15329)
4926 2013-12-20 Juri Linkov <juri@jurta.org>
4928 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4929 (read-regexp-suggestions): New function.
4930 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4931 Use `read-regexp-suggestions'. Add non-empty default to history
4933 (occur-read-regexp-defaults-function): Remove function.
4934 (occur-read-primary-args): Use `regexp-history-last' instead of
4935 `occur-read-regexp-defaults-function'.
4937 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4938 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4939 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4940 `hi-lock-read-regexp-defaults-function'. Doc fix.
4941 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4942 with `find-tag-default-as-symbol-regexp'. Doc fix.
4943 (hi-lock-read-regexp-defaults): Remove function.
4944 (hi-lock-regexp-okay): Add check for null.
4946 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4947 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4949 * subr.el (find-tag-default-as-symbol-regexp): New function.
4950 (find-tag-default-as-regexp): Move symbol regexp formatting to
4951 `find-tag-default-as-symbol-regexp'.
4953 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4955 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4958 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4960 * calendar/todo-mode.el: New implementation of item insertion
4961 commands and key bindings.
4962 (todo-key-prompt): New face.
4963 (todo-insert-item): New command.
4964 (todo-insert-item--parameters): New defconst, replacing defvar
4965 todo-insertion-commands-args-genlist.
4966 (todo-insert-item--param-key-alist): New defconst, replacing
4967 defvar todo-insertion-commands-arg-key-list.
4968 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4969 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4970 (todo-insert-item--next-param): New functions.
4971 (todo-insert-item--args, todo-insert-item--argleft)
4972 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4974 (todo-key-bindings-t): Change binding of "i" from
4975 todo-insertion-map to todo-insert-item.
4976 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4977 (todo-insertion-command-name, todo-insertion-commands-names)
4978 (todo-define-insertion-command, todo-insertion-commands)
4979 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4981 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4983 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4984 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4986 (todo-move-category): Allow choosing a non-existing todo file to
4987 move the category to, and create that file.
4988 (todo-default-priority): New user option.
4989 (todo-set-item-priority): Use it.
4990 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4991 (desktop-restore-file-buffer): Declare.
4992 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4993 (todo-modes-set-2): Locally set desktop-save-buffer to
4994 todo-desktop-save-buffer.
4995 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4996 (auto-mode-alist): Add autoload cookie.
4998 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5000 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5001 helpers.el was a poor choice of name.
5002 (string-remove-prefix): New function.
5003 (string-remove-suffix): New function.
5005 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5007 Fix assignment for new window total sizes.
5008 * window.el (window--pixel-to-size): Remove function.
5009 (window--pixel-to-total-1, window--pixel-to-total):
5010 Fix calculation of new total sizes.
5012 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5014 * comint.el (comint-output-filter): Fix rear-nonsticky property
5015 placement (Bug#16010).
5017 2013-12-20 Chong Yidong <cyd@gnu.org>
5019 * faces.el (read-color): Minor fix for completion function.
5021 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5023 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5024 New option. (Bug#16182)
5025 (ruby-smie--indent-to-stmt-p): Use it.
5026 (ruby-smie-rules): Revert the logic in the handling of `when'.
5027 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5028 (ruby-deep-arglist, ruby-deep-indent-paren)
5029 (ruby-deep-indent-paren-style): Update docstrings to note that the
5030 vars don't have any effect with SMIE.
5032 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5034 * calc/calc.el (calc-enter, calc-pop): Use the variable
5035 `calc-context-sensitive-enter'.
5037 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5039 * net/shr.el (shr-insert): Protect against infloops in degenerate
5042 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5044 * progmodes/octave.el (octave): Add link to manual and octave
5046 (octave-mode-menu): Link to octave-mode manual.
5048 2013-12-20 Leo Liu <sdl.web@gmail.com>
5050 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5051 insertion using skeleton-end-newline. (Bug#16138)
5053 2013-12-20 Juri Linkov <juri@jurta.org>
5055 * replace.el (occur-engine): Use `add-face-text-property'
5056 to add the face property to matches and titles. (Bug#14645)
5058 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5059 the palette of other hi-lock colors.
5060 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5062 2013-12-19 Juri Linkov <juri@jurta.org>
5064 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5065 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5066 (minibuffer-history-symbol): Move variable declaration closer to
5069 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5072 2013-12-19 Juri Linkov <juri@jurta.org>
5074 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5076 (log-edit-hook): Add it to :options. (Bug#16170)
5078 2013-12-19 Juri Linkov <juri@jurta.org>
5080 * simple.el (eval-expression-print-format): Don't check for
5081 command names and the last command. Always display additional
5082 formats of the integer result in the echo area, and insert them
5083 to the current buffer only with a zero prefix arg.
5084 Display character when char-displayable-p is non-nil.
5085 (eval-expression): With a zero prefix arg, set `print-length' and
5086 `print-level' to nil, and insert the integer values from
5087 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5089 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5090 `eval-last-sexp-arg-internal'. Doc fix.
5091 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5092 `eval-last-sexp-print-value'. Doc fix.
5093 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5094 Set `print-length' and `print-level' to nil when arg is zero.
5095 (eval-last-sexp): Doc fix.
5096 (eval-defun-2): Print the integer values from
5097 `eval-expression-print-format' at the end.
5099 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5100 values from `eval-expression-print-format' at the end.
5102 * ielm.el (ielm-eval-input): Print the integer
5103 values from `eval-expression-print-format' at the end.
5105 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5107 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5108 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5110 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5112 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5113 (hl-line-highlight, global-hl-line-highlight): Use it.
5114 (hl-line-overlay): Use defvar-local.
5116 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5118 * term/ns-win.el: Require dnd.
5119 (global-map): Remove drag items.
5120 (ns-insert-text, ns-set-foreground-at-mouse)
5121 (ns-set-background-at-mouse):
5122 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5123 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5126 2013-12-19 Glenn Morris <rgm@gnu.org>
5128 * emacs-lisp/ert.el (ert-select-tests):
5129 Fix string/symbol mixup. (Bug#16121)
5131 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5133 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5134 keywords to their parent.
5136 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5138 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5139 first arg to be a string (fixed dead code), or an operator symbol.
5140 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5142 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5143 did nothing. Don't respond to `(:after ".")', it will be called
5144 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5145 change anything. Only return indentation for binary operators
5146 when they are hanging. De-dent opening paren when its parent is
5147 `.', otherwise it looks bad when the dot is not at bol or eol
5150 2013-12-19 Juri Linkov <juri@jurta.org>
5152 * replace.el (query-replace-read-args): Split a non-negative arg
5153 and a negative arg into separate elements.
5154 (query-replace, query-replace-regexp, replace-string)
5155 (replace-regexp): Add arg `backward'. Doc fix.
5156 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5157 move point to the beginning of the match.
5158 (replace-search, replace-highlight): Use new arg `backward'
5159 to set the value of `isearch-forward'.
5160 (perform-replace): Add arg `backward' and use it to perform
5161 replacement backward. (Bug#14979)
5163 * isearch.el (isearch-query-replace): Use a negative prefix arg
5164 to call `perform-replace' with a non-nil arg `backward'.
5166 2013-12-18 Juri Linkov <juri@jurta.org>
5168 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5169 to the default list. Move `log-edit-show-files' to the end.
5170 Add more available functions to options.
5171 (log-edit): Move default specific settings to
5172 `log-edit-insert-message-template'. Don't move point.
5173 (log-edit-insert-message-template): New function.
5174 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5177 2013-12-18 Juri Linkov <juri@jurta.org>
5179 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5180 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5182 2013-12-18 Leo Liu <sdl.web@gmail.com>
5184 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5187 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5189 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5190 formats for displaying file sizes when the -s switch is given.
5191 Instead, compute a separate format for displaying the size in
5192 blocks, which is displayed in addition to the "regular" size.
5193 When -h is given in addition to -s, produce size in blocks in
5194 human-readable form as well. (Bug#16179)
5196 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5198 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5199 Reference tables with ~\ref{...} instead of only \ref{...}.
5201 2013-12-18 Chong Yidong <cyd@gnu.org>
5203 * cus-edit.el (custom-magic-alist): Fix "themed" description
5206 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5207 is non-nil, do not create a new entry in the symbol's theme-value
5208 or theme-face property; update theme-settings only (Bug#14664).
5209 (custom-available-themes): Doc fix.
5211 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5214 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5216 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5218 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5221 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5223 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5225 2013-12-18 Glenn Morris <rgm@gnu.org>
5227 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5228 * cus-start.el (load-prefer-newer): New option.
5230 2013-12-18 Le Wang <l26wang@gmail.com>
5232 * comint.el (comint-previous-matching-input-from-input):
5233 Retain point (Bug#13404).
5235 2013-12-18 Chong Yidong <cyd@gnu.org>
5237 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5239 2013-12-18 Glenn Morris <rgm@gnu.org>
5241 * mail/emacsbug.el (report-emacs-bug):
5242 Only mention enable-multibyte-characters if non-standard.
5244 2013-12-17 Juri Linkov <juri@jurta.org>
5246 * arc-mode.el (archive-extract-by-file): Check if directory exists
5247 before deletion to not show irrelevant errors if it doesn't exist.
5249 2013-12-17 Juri Linkov <juri@jurta.org>
5251 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5254 * net/eww.el (browse-web): Add alias to `eww'.
5255 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5256 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5258 * net/browse-url.el (browse-url-browser-function): Move `eww'
5259 closer to similar functions.
5261 * startup.el (fancy-startup-screen, fancy-about-screen):
5262 Set browse-url-browser-function to eww-browse-url locally.
5265 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * window.el (window--pixel-to-total): Remove unused `mini' var.
5268 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5269 (split-window): Remove unused `new' var.
5270 (window--display-buffer): Remove unused `frame' and `delta' vars.
5271 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5274 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5276 * dired.el (dired-mark-pop-up):
5277 * register.el (register-preview): Don't bind
5278 split-height-threshold here since it's now done in
5279 display-buffer-below-selected.
5281 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5283 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5284 xterm-rgb-convert-to-16bit.
5285 (rxvt-register-default-colors): Standardize with
5286 xterm-register-default-colors (Bug#14078).
5288 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5290 * simple.el (kill-region): Pass mark first, then point, so that
5291 kill-append works right (Bug#12819).
5292 (copy-region-as-kill, kill-ring-save): Likewise.
5294 2013-12-17 Leo Liu <sdl.web@gmail.com>
5296 * net/rcirc.el (rcirc-add-face):
5297 * eshell/em-prompt.el (eshell-emit-prompt):
5298 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5301 2013-12-17 Chong Yidong <cyd@gnu.org>
5303 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5304 Suggested by Xue Fuqiao.
5306 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5308 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5310 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5312 * net/shr.el (shr-insert-document): Remove unused var
5313 `shr-preliminary-table-render'.
5314 (shr-rescale-image): Remove unused arg `force'.
5315 (shr-put-image): Update calls accordingly.
5316 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5318 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5320 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5321 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5322 :close-all, to see which indentation method to use (Bug#16116).
5323 (smie-rules-function): Document the method :close-all.
5325 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5327 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5329 * net/eww.el (eww-display-html): If we can't find the anchor we're
5330 looking for, then go to point-min.
5332 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5334 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5335 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5336 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5337 Expand dir too, in case it's relative.
5339 2013-12-16 Juri Linkov <juri@jurta.org>
5341 * desktop.el (desktop-auto-save-timeout): Change default to
5342 `auto-save-timeout'. Doc fix.
5343 (desktop-save): Skip the timestamp in desktop-saved-frameset
5344 when checking for auto-save changes.
5345 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5346 `desktop-auto-save' is called repeatedly by the idle timer.
5347 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5348 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5351 2013-12-16 Juri Linkov <juri@jurta.org>
5353 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5355 (isearch-pre-command-hook): Check `this-command' for symbolp.
5357 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5361 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5363 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5364 (cfengine3--current-function): Bring in the current-function
5365 functionality from `cfengine3--current-word'.
5366 (cfengine3-completion-function): Bring in the
5367 bounds-of-current-word functionality from
5368 `cfengine3--current-word'.
5370 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5372 * window.el (display-buffer-below-selected):
5373 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5375 2013-12-16 Leo Liu <sdl.web@gmail.com>
5377 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5378 Remove NOMSG arg and all uses changed.
5380 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5383 (cua--deactivate-rectangle): Don't deactivate the mark.
5384 (cua-set-rectangle-mark): Don't set mark-active since
5385 cua--activate-rectangle already does it for us.
5386 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5387 non-rectangular region.
5389 * emulation/cua-base.el (cua-repeat-replace-region):
5390 Use with-current-buffer.
5392 * net/gnutls.el: Use cl-lib.
5393 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5395 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5397 * emacs-lisp/package.el (package-built-in-p): Support both
5398 built-in and the package.el converted package descriptions.
5399 (package-show-package-list): Allow keywords.
5400 (package-keyword-button-action): Use it instead of
5401 `finder-list-matches'.
5402 (package-menu-filter-interactive): Interactive filtering (by
5404 (package-menu--generate): Support keywords and change keymappings
5405 and headers when they are given.
5406 (package--has-keyword-p): Helper function.
5407 (package-menu--refresh): Use it.
5408 (package--mapc): Helper function.
5409 (package-all-keywords): Use it.
5410 (package-menu-mode-map): Set up menu items and keybindings to
5411 provide a filtering UI.
5413 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5415 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5416 the behavior when a certificate fails validation. Defaults to
5417 old behavior: never abort, just warn.
5418 (gnutls-negotiate): Use it.
5420 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5422 * window.el (display-buffer-below-selected): Never split window
5423 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5425 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5427 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5428 (package-buffer-info): Use it (bug#15108).
5430 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5432 * icomplete.el (icomplete-completions): Make sure the prefix is already
5433 displayed elsewhere before hiding it (bug#16219).
5435 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5437 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5438 open-paren tokens when preceded by a open-paren, too.
5439 (ruby-smie-rules): Handle virtual indentation after open-paren
5440 tokens specially. If there is code between it and eol, return the
5441 column where is starts (Bug#16118).
5443 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5445 * progmodes/cfengine.el: Fix `add-hook' doc.
5446 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5447 (cfengine3--current-word): Fix parameters.
5448 (cfengine3-make-syntax-cache): Simplify further.
5449 (cfengine3-completion-function, cfengine3--current-function):
5450 Use `assq' for symbols.
5451 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5453 2013-12-13 Glenn Morris <rgm@gnu.org>
5455 * loadup.el (load-path): Warn if site-load or site-init changes it.
5456 No more need to reset it when bootstrapping.
5458 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5460 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5461 locations for cf-promises.
5462 (cfengine-mode-syntax-functions-regex): New caching variable.
5463 (cfengine3-fallback-syntax): Fallback syntax for cases where
5464 cf-promises doesn't run.
5465 (cfengine3--current-word): Reimplement using
5466 `cfengine-mode-syntax-functions-regex'.
5467 (cfengine3-completion-function, cfengine3--current-function):
5468 Use `cfengine3-make-syntax-cache' directly.
5469 (cfengine3-clear-syntax-cache): New function.
5470 (cfengine3-make-syntax-cache): Simplify and create
5471 `cfengine-mode-syntax-functions-regex' on demand.
5472 (cfengine3-format-function-docstring): Don't call
5473 `cfengine3-make-syntax-cache' explicitly.
5475 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5477 Fix windmove-find-other-window broken after pixelwise resizing
5479 * windmove.el (windmove-other-window-loc): Revert change from
5481 (windmove-find-other-window): Call window-in-direction.
5482 * window.el (window-in-direction): New arguments SIGN, WRAP and
5483 MINI to emulate original windmove-find-other-window behavior.
5485 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5487 * simple.el (blink-matching--overlay): New variable.
5488 (blink-matching-open): Instead of moving point, highlight the
5489 matching paren with an overlay
5490 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5492 * faces.el (paren-showing-faces, show-paren-match)
5493 (show-paren-mismatch): Move from paren.el.
5495 2013-12-13 Leo Liu <sdl.web@gmail.com>
5497 * indent.el (indent-region): Disable progress reporter in
5498 minibuffer. (Bug#16108)
5500 * bindings.el (visual-order-cursor-movement): Fix version.
5502 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5504 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5505 Also match after beginning of line.
5506 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5507 files. Thanks to Russell Sim. (Bug#15378)
5509 2013-12-13 Juri Linkov <juri@jurta.org>
5511 * simple.el <Keypad support>: Remove key bindings duplicated
5512 with bindings.el. (Bug#14397)
5514 2013-12-13 Juri Linkov <juri@jurta.org>
5516 * comint.el (comint-mode-map): Replace `delete-char' with
5517 `delete-forward-char'. (Bug#16109)
5519 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5521 * progmodes/python.el (python-indent-calculate-indentation):
5522 Fix de-denters cornercase. (Bug#15731)
5524 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5527 (advice--make): Pay attention to `depth'.
5528 (advice--make-1): Don't autoload commands eagerly.
5529 * emacs-lisp/elp.el (elp-instrument-function):
5530 * emacs-lisp/trace.el (trace-function-internal):
5531 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5533 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5535 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5537 * term/w32-win.el (w32-handle-dropped-file):
5538 * startup.el (normal-top-level):
5539 * net/browse-url.el (browse-url-file-url):
5540 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5541 decode file names using 'utf-8' rather than
5542 file-name-coding-system.
5544 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5546 * progmodes/python.el (python-indent-context)
5547 (python-indent-calculate-indentation): Fix auto-identation
5548 behavior for comment blocks. (Bug#15916)
5550 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5552 * progmodes/python.el (python-indent-calculate-indentation):
5553 When determining indentation, don't treat "return", "pass", etc., as
5554 operators when they are just string constituents. (Bug#15812)
5556 2013-12-12 Juri Linkov <juri@jurta.org>
5558 * uniquify.el (uniquify-buffer-name-style): Change default to
5559 `post-forward-angle-brackets'.
5561 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5562 `uniquify'. Change default to `post-forward-angle-brackets'.
5564 2013-12-11 Glenn Morris <rgm@gnu.org>
5566 * emacs-lisp/package.el (finder-list-matches):
5567 Autoload rather than falsely declaring.
5569 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5571 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5572 (eww-mode-map): Use them.
5574 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5576 * window.el (display-buffer-in-side-window): Fix doc-string
5579 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5581 * vc/vc-git.el: Silence byte-compiler warnings.
5582 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5583 (log-edit-set-header): Declare.
5585 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5587 * Makefile.in (custom-deps, finder-data): Run output file names
5588 through unmsys--file-name. (Bug#16099)
5590 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5593 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5595 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5596 instead of deleting the selection "by hand" (bug#16098).
5597 Rely on insert-for-yank to yank rectangles.
5598 (cua-highlight-region-shift-only): Mark obsolete.
5599 (cua-mode): Don't enable/disable transient-mark-mode,
5600 shift-select-mode (cua-mode works both with and without them), and
5601 pc-selection-mode (obsolete).
5602 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5603 (cua--deactivate-rectangle): Deactivate it.
5605 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5606 (delete-selection-helper): Make sure yank starts at the top of the
5608 (minibuffer-keyboard-quit): Use region-active-p.
5610 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5612 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5613 to `delete' (bug#16109).
5615 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5617 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5618 info manual and show keybindings and set `:group' keyword.
5620 2013-12-11 Juri Linkov <juri@jurta.org>
5622 * delsel.el (delete-active-region): Let-bind `this-command'
5623 to prevent `kill-region' from changing its original value.
5624 (delete-selection-helper): Handle `overwrite-mode' for the type
5625 `kill' exactly the same way as for the type `t'.
5626 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5627 Support more commands. (Bug#13312)
5629 2013-12-11 Juri Linkov <juri@jurta.org>
5631 * bindings.el: Map kp keys to non-kp keys systematically
5632 with basic modifiers control, meta and shift. (Bug#14397)
5634 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5636 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5637 "Close browser" menu items. Fix wrong function of "List
5640 2013-12-11 Juri Linkov <juri@jurta.org>
5642 * misearch.el (multi-isearch-buffers): Set the value of
5643 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5644 arg of isearch-forward to t.
5645 (multi-isearch-buffers-regexp): Set the value of
5646 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5647 arg of isearch-forward-regexp to t.
5648 (multi-isearch-files): Set the value of
5649 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5650 arg of isearch-forward to t.
5651 (multi-isearch-files-regexp): Set the value of
5652 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5653 arg of isearch-forward-regexp to t. (Bug#16035)
5655 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5656 arg of isearch-forward to t.
5657 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5658 arg of isearch-forward-regexp to t.
5659 (dired-isearch-filter-filenames): Remove unnecessary check for
5660 `dired-isearch-filenames'.
5662 * comint.el (comint-history-isearch-backward):
5663 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5664 (comint-history-isearch-backward-regexp):
5665 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5667 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5669 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5670 unmsys--file-name. (Bug#16099)
5672 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5674 * emacs-lisp/package.el (package-keyword-button-action):
5675 Remove finder.el require dependency.
5677 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5679 * emacs-lisp/package.el: Require finder.el.
5680 (describe-package-1): Add keyword buttons.
5681 (package-make-button): New convenience function.
5682 (package-keyword-button-action): Keyword button action using
5683 `finder-list-matches'.
5685 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5687 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5690 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5692 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5695 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5697 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5698 after the end of a percent literal.
5700 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5702 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5703 Handle caret-delimited strings (Bug#16079).
5705 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5707 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5708 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5709 `ruby-parse-partial' (Bug#16078).
5711 2013-12-09 Leo Liu <sdl.web@gmail.com>
5713 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5715 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5717 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5718 (js-switch-indent-offset): New option.
5719 (js--proper-indentation): Use it. And handle the case when
5720 "default" is actually a key in an object literal.
5721 (js--same-line): New function.
5722 (js--multi-line-declaration-indentation): Use it.
5723 (js--indent-in-array-comp, js--array-comp-indentation):
5725 (js--proper-indentation): Use them, to handle array comprehension
5728 2013-12-08 Leo Liu <sdl.web@gmail.com>
5730 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5731 (flymake-make-overlay): Remove arg MOUSE-FACE.
5732 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5734 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5736 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5738 (redisplay-highlight-region-function): Use it.
5740 * emulation/cua-base.el (cua--explicit-region-start)
5741 (cua--last-region-shifted): Remove.
5742 (cua--deactivate): Use deactivate-mark.
5743 (cua--pre-command-handler-1): Don't handle shift-selection.
5744 (cua--post-command-handler-1): Don't change transient-mark-mode.
5745 (cua--select-keymaps): Use region-active-p rather than
5746 cua--explicit-region-start or cua--last-region-shifted.
5747 (cua-mode): Enable shift-select-mode.
5749 2013-12-08 Leo Liu <sdl.web@gmail.com>
5751 * progmodes/flymake.el (flymake-popup-current-error-menu):
5752 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5753 (flymake-posn-at-point-as-event, flymake-popup-menu)
5754 (flymake-make-emacs-menu): Remove. (Bug#16077)
5756 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * rect.el (rectangle-mark-mode): Activate mark even if
5759 transient-mark-mode is off (bug#16066).
5760 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5761 is > mark and at bolp.
5763 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5764 (region-extract-function): Use it.
5765 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5766 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5768 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5769 kill-ring-save, kill-region, delete-char, delete-forward-char.
5770 Ignore self-insert-iso.
5772 * emulation/cua-gmrk.el (cua--init-global-mark):
5773 Ignore `self-insert-iso'.
5775 * emulation/cua-base.el (cua--prefix-copy-handler)
5776 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5777 checking cua--rectangle.
5778 (cua-delete-region): Use region-extract-function.
5779 (cua-replace-region): Delete function.
5780 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5781 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5782 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5783 (cua--init-keymaps): Don't remap delete-selection commands.
5784 (cua-mode): Use delete-selection-mode instead of rolling our own
5787 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5788 Obey region-extract-function.
5790 Make registers and delete-selection-mode work on rectangles.
5791 * register.el (describe-register-1): Don't modify the register's value.
5792 (copy-to-register): Obey region-extract-function.
5793 * delsel.el (delete-active-region): Obey region-extract-function.
5795 2013-12-08 Leo Liu <sdl.web@gmail.com>
5797 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5798 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5799 (flymake-compilation-prevents-syntax-check)
5800 (flymake-start-syntax-check-on-newline)
5801 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5802 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5803 (flymake-xml-program, flymake-master-file-dirs)
5804 (flymake-master-file-count-limit)
5805 (flymake-allowed-file-name-masks): Relocate.
5806 (flymake-makehash, flymake-float-time)
5807 (flymake-replace-regexp-in-string, flymake-split-string)
5808 (flymake-get-temp-dir): Remove.
5809 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5810 (flymake-current-row, flymake-selected-frame)
5811 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5812 related functions. (Bug#16077)
5814 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5816 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5818 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5820 * help-fns.el (describe-function-1): Use new advice-* functions
5821 rather than old ad-* functions. Fix function type description and
5822 source links for advised functions and subrs.
5824 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5826 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5828 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5830 * progmodes/compile.el (compilation-start):
5831 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5833 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5834 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5836 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5838 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5839 Touch up the last change.
5841 2013-12-06 Leo Liu <sdl.web@gmail.com>
5843 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5844 (inferior-octave-startup): Always use "octave> " for prompt.
5845 (octave-goto-function-definition)
5846 (octave-sync-function-file-names)
5847 (octave-find-definition-default-filename): Remove redundant backquotes.
5849 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5851 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5853 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5854 where appropriate already.
5855 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5856 end of method names (Bug#15874).
5858 2013-12-06 Juri Linkov <juri@jurta.org>
5860 * isearch.el (isearch--saved-overriding-local-map):
5861 New internal variable.
5862 (isearch-mode): Set it to the initial value of
5863 `overriding-terminal-local-map'.
5864 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5865 with `isearch--saved-overriding-local-map'. (Bug#16035)
5867 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5869 * progmodes/octave.el (inferior-octave-completion-table):
5870 Turn back into function, use `completion-table-with-cache'
5871 (Bug#11906). Update all references.
5873 * minibuffer.el (completion-table-with-cache): New function.
5875 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5877 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5879 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5881 * net/eww.el (eww-current-source): New variable to store page
5883 (eww-display-html, eww-mode, eww-save-history)
5884 (eww-restore-history): Use it.
5885 (eww-view-source): New command to view page source.
5886 Opportunistically uses `html-mode' to highlight the buffer.
5887 (eww-mode-map): Install it.
5889 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5891 * net/dbus.el (dbus-unregister-service)
5892 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5894 (dbus-unregister-service): Skip :serial entries in
5895 `dbus-registered-objects-table'.
5896 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5898 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5900 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5901 around keywords with extra `split-string' argument.
5903 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5905 * windmove.el (windmove-other-window-loc): Handle navigation
5906 between windows (excluding the minibuffer window - Bug#16017).
5908 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5910 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5911 in D-Bus type syntax.
5912 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5913 preserve unibyte strings. (Bug#16048)
5915 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5917 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5918 Call force-mode-line-update is the proper buffer (bug#16042).
5920 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5922 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5923 `log-edit-remember-comment', make argument optional. Adjust all
5925 (log-edit-mode): Add `log-edit-remember-comment' to
5926 `kill-buffer-hook' locally.
5927 (log-edit-kill-buffer): Don't remember comment explicitly since
5928 the buffer is killed anyway.
5930 2013-12-04 Juri Linkov <juri@jurta.org>
5932 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5933 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5935 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5937 * notifications.el (notifications-close-notification): Call the
5938 D-Bus method with ID being a `:uint32'. (Bug#16030)
5940 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5942 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5944 2013-12-03 Juri Linkov <juri@jurta.org>
5946 * progmodes/compile.el (compilation-start): Rename window alist
5947 entry `no-display-ok' to `allow-no-window'.
5949 * simple.el (shell-command): Add window alist entry
5950 `allow-no-window' to `display-buffer'.
5951 (async-shell-command): Doc fix.
5953 * window.el (display-buffer-no-window): New action function.
5954 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5956 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5958 * vc/log-edit.el (log-edit-set-header): Extract from
5959 `log-edit-toggle-header'.
5960 (log-edit-extract-headers): Separate the summary, when extracted
5961 from header, from the rest of the message with an empty line.
5963 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5964 line, if present, to the Summary header.
5966 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5968 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5969 in current-buffer (bug#16029).
5971 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5973 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5974 (debugger-mode-map): Bind it.
5975 (debugger--backtrace-base): New function.
5976 (debugger-eval-expression): Use it.
5977 (debugger-frame-number): Skip local vars when present.
5978 (debugger--locals-visible-p, debugger--insert-locals)
5979 (debugger--show-locals, debugger--hide-locals): New functions.
5981 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5983 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5985 (tramp-get-remote-locale): New defun.
5986 (tramp-open-connection-setup-interactive-shell): Use it.
5988 2013-12-02 Leo Liu <sdl.web@gmail.com>
5990 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5992 * progmodes/sh-script.el (sh-shell-process):
5993 * progmodes/octave.el (inferior-octave-process-live-p):
5994 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5995 (gdb-inferior-io-sentinel):
5996 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5998 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6000 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6001 `save-selected-window' to `log-edit-hide-buf'. This makes
6002 `log-edit-show-files' idempotent.
6003 (log-edit-show-files): Mark the new window as dedicated.
6005 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6007 * vc/log-edit.el (log-edit-mode-map): Add binding for
6008 `log-edit-kill-biffer'.
6009 (log-edit-hide-buf): Add a FIXME comment.
6010 (log-edit-add-new-comment): New function, extracted from
6012 (log-edit-done, log-edit-add-to-changelog): Use it.
6013 (log-edit-kill-buffer): New command.
6015 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6017 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6018 instead of killing the buffer.
6020 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6024 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6026 * net/eww.el (eww-form-checkbox-selected-symbol)
6027 (eww-form-checkbox-symbol): New customizable variable.
6028 (eww-form-checkbox, eww-toggle-checkbox):
6029 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6031 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6032 (shr--get-media-pref, shr--extract-best-source): New function.
6033 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6034 no :src tag was specified.
6036 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6037 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6038 Use \\` to match beginning of string instead of ^.
6039 (eww-browse-with-external-browser): Provide optional URL parameter.
6040 (eww-render): Set `eww-current-title' back to "".
6042 * net/shr.el (shr-tag-video): Display content for video if no
6043 poster is available.
6044 (shr-tag-audio): Add support for <audio> tag.
6046 * net/eww.el (eww-text-input-types): New const.
6047 (eww-process-text-input): Treat input types in
6048 `eww-text-input-types' as text.
6050 * net/shr.el (shr-tag-table): Fix comment typo.
6052 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054 * net/eww.el (eww-follow-link): New command to avoid reloading
6055 pages when we follow #target links (bug#15243).
6056 (eww-quit): Special mode buffers shouldn't query before exiting.
6058 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6060 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6063 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6065 * net/eww.el (eww-restore-history): Update the window title after
6066 moving in the history.
6067 (eww-current-dom): New variable used to save the current DOM.
6069 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6071 * vc/log-edit.el (log-edit-mode-map): Add binding for
6072 `log-edit-beginning-of-line'.
6073 (log-edit-setup-add-author): New user option.
6074 (log-edit-beginning-of-line): New command.
6075 (log-edit): Move major mode call above the contents setup so that
6076 the local variable values are already applied.
6077 (log-edit): Only insert "Author: " when
6078 `log-edit-setup-add-author' is non-nil.
6079 (log-edit): When SETUP is non-nil, position point after ": "
6080 instead of point-min.
6082 2013-12-01 Glenn Morris <rgm@gnu.org>
6084 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6086 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6088 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6089 redisplay to make sure the initial frame gets a chance to become
6090 visible. (Bug#16014)
6092 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6094 Support resizing frames and windows pixelwise.
6095 * cus-start.el (frame-resize-pixelwise)
6096 (window-resize-pixelwise): New entries.
6097 * emacs-lisp/debug.el (debug): Use window-total-height instead
6098 of window-total-size.
6099 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6100 * help.el (describe-bindings-internal): Use help-buffer as
6101 argument for with-help-window.
6102 (temp-buffer-max-width): New option.
6103 (resize-temp-buffer-window, help-window-setup)
6104 (with-help-window): Rewrite.
6105 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6107 * window.el (frame-char-size, window-min-pixel-height)
6108 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6109 (window-min-pixel-width, window-safe-min-pixel-size)
6110 (window-combination-p, window-safe-min-size)
6111 (window-resizable-p, window--size-to-pixel)
6112 (window--pixel-to-size, window--resize-apply-p): New functions.
6113 (window-safe-min-height): Fix doc-string.
6114 (window-size, window-min-size, window--min-size-1)
6115 (window-sizable, window-sizable-p, window--min-delta-1)
6116 (window-min-delta, window--max-delta-1, window-max-delta)
6117 (window--resizable, window--resizable-p, window-resizable)
6118 (window-full-height-p, window-full-width-p, window-at-side-p)
6119 (window--in-direction-2, window-in-direction)
6120 (window--resize-reset-1, window--resize-mini-window)
6121 (window-resize, window-resize-no-error)
6122 (window--resize-child-windows-normal)
6123 (window--resize-child-windows, window--resize-siblings)
6124 (window--resize-this-window, window--resize-root-window)
6125 (window--resize-root-window-vertically)
6126 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6127 (maximize-window, minimize-window, delete-window)
6128 (quit-restore-window, window-split-min-size, split-window)
6129 (balance-windows-2, balance-windows)
6130 (balance-windows-area-adjust, balance-windows-area)
6131 (window--state-get-1, window-state-get, window--state-put-1)
6132 (window--state-put-2, window-state-put)
6133 (display-buffer-record-window, window--display-buffer):
6134 Make functions handle pixelwise sizing of windows.
6135 (display-buffer--action-function-custom-type)
6136 (display-buffer-fallback-action):
6137 Add display-buffer-in-previous-window.
6138 (display-buffer-use-some-window): Resize window to height it had
6140 (fit-window-to-buffer-horizontally): New option.
6141 (fit-frame-to-buffer): Describe new values.
6142 (fit-frame-to-buffer-bottom-margin): Replace with
6143 fit-frame-to-buffer-margins.
6144 (window--sanitize-margin): New function.
6145 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6146 using window-text-pixel-size.
6148 2013-11-30 Glenn Morris <rgm@gnu.org>
6150 * emacs-lisp/bytecomp.el (byte-compile-form):
6151 Make the `interactive-only' warning like the `obsolete' one.
6152 * comint.el (comint-run):
6153 * files.el (insert-file-literally, insert-file):
6154 * replace.el (replace-string, replace-regexp):
6155 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6156 (goto-line, insert-buffer, next-line, previous-line):
6157 Tweak `interactive-only' spec.
6159 Stop keeping (most) generated cedet grammar files in the repository.
6160 * Makefile.in (semantic): New.
6161 (compile-main): Depend on semantic.
6163 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6165 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6166 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6168 * uniquify.el (uniquify-buffer-name-style): Change default.
6170 * loadup.el: Preload "uniquify".
6172 * time.el (display-time-update): Update all mode lines (bug#15999).
6174 * electric.el (electric-indent-mode): Enable by default.
6175 * loadup.el: Preload "electric".
6177 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6179 * emacs-lisp/helpers.el (string-empty-p): New function.
6180 (string-blank-p): New function.
6182 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6184 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6187 2013-11-29 Andreas Politz <politza@fh-trier.de>
6188 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6189 allow non-lambda lists as functions.
6190 (imenu--in-alist): Don't recurse into non-subalists.
6191 (imenu): Don't pass function itself as an argument (Bug#14029).
6193 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6195 * progmodes/python.el (python-mode-map): Remove binding for ":".
6196 (python-indent-electric-colon): Remove command.
6197 (python-indent-post-self-insert-function): Integrate the previous code
6198 of python-indent-electric-colon. Make it conditional on
6199 electric-indent-mode.
6200 (python-mode): Add ?: to electric-indent-chars.
6201 Move python-indent-post-self-insert-function to the end of
6202 post-self-insert-hook.
6204 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6206 * doc-view.el (doc-view-goto-page): Update mode-line.
6208 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6210 2013-11-27 Glenn Morris <rgm@gnu.org>
6212 * international/charprop.el, international/uni-bidi.el:
6213 * international/uni-category.el, international/uni-combining.el:
6214 * international/uni-comment.el, international/uni-decimal.el:
6215 * international/uni-decomposition.el, international/uni-digit.el:
6216 * international/uni-lowercase.el, international/uni-mirrored.el:
6217 * international/uni-name.el, international/uni-numeric.el:
6218 * international/uni-old-name.el, international/uni-titlecase.el:
6219 * international/uni-uppercase.el:
6220 Remove generated files from VCS repository.
6222 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6224 * filenotify.el (file-notify-add-watch): Don't special-case
6225 w32notify when computing the directory to watch.
6227 2013-11-27 Glenn Morris <rgm@gnu.org>
6229 Make bootstrap without generated uni-*.el files possible again.
6230 * loadup.el: Update command-line-args checking for unidata-gen.
6231 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6232 * composite.el, international/characters.el:
6233 Handle unicode tables being undefined.
6235 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6236 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6237 (compile-main): Depend on leim rule.
6239 * loadup.el: Move leim-list.el to leim/ subdirectory.
6240 * startup.el (normal-top-level): No more leim directory.
6241 * international/ja-dic-cnv.el (skkdic-convert):
6242 Disable version-control and autoloads in output files.
6243 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6244 Disable version-control and autoloads in output files.
6245 * leim/quail: Move here from ../leim.
6246 * leim/quail/hangul.el (hangul-input-method-activate):
6247 Add autoload cookie.
6248 (generated-autoload-load-name): Set file-local value.
6249 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6250 (generated-autoload-load-name): Set file-local value.
6252 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6254 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6255 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6256 (eww-quit): Ask confirmation before quitting eww.
6258 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6260 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6261 reading output from Diff on MS-Windows and MS-DOS.
6263 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6265 * emacs-lisp/helpers.el (string-reverse): New function.
6267 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6269 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6270 names on MS Windows, like "/[::1]:".
6272 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6275 2013-11-26 Glenn Morris <rgm@gnu.org>
6277 * progmodes/python.el (python-indent-guess-indent-offset):
6278 Avoid corner-case error. (Bug#15975)
6280 Preload leim-list.el. (Bug#4789)
6281 * loadup.el: Load leim-list.el when found.
6282 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6284 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6286 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6288 * emacs-lisp/helpers.el (string-join): New function.
6290 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6292 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6293 Mark as obsolete and replace it with a symbol property.
6294 (byte-compile-form): Use new 'interactive-only property.
6295 * comint.el, files.el, replace.el, simple.el:
6296 Apply new 'interactive-only properly.
6298 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6300 * window.el (display-buffer-at-bottom): Make sure that
6301 split-window-sensibly creates the new window on bottom
6304 2013-11-23 David Kastrup <dak@gnu.org>
6306 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6307 on the conflict markers when available.
6308 (smerge--get-marker): New function.
6309 (smerge-end-re, smerge-base-re): Add subgroup.
6311 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6313 * frame.el (handle-focus-in, handle-focus-out): Add missing
6316 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6318 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6319 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6321 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6323 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6324 (gomoku--last-pos): New var.
6325 (gomoku--intangible-chars): New const.
6326 (gomoku--intangible): New function.
6327 (gomoku-mode): Use it. Derive from special-mode.
6328 (gomoku-move-up): Adjust line count.
6329 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6330 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6331 Simplify accordingly.
6333 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6334 Remove blink-cursor code.
6335 (blink-cursor-timer-function, blink-cursor-suspend):
6336 Don't special-case GUIs.
6337 (blink-cursor-mode): Use focus-in/out-hook.
6339 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6341 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6342 work when annotation is invisible (Bug#13886).
6344 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6346 * json.el (json-alist-p): Only return non-nil if the alist has
6347 simple keys (Bug#13518).
6349 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6351 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6352 when control-statement is the first statement in a buffer (Bug#15956).
6354 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6356 * imenu.el (imenu-generic-skip-comments-and-strings):
6357 New option (Bug#15560).
6358 (imenu--generic-function): Use it.
6360 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6362 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6365 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6367 * emacs-lisp/helpers.el: Add some string helpers.
6368 (string-trim-left): Removes leading whitespace.
6369 (string-trim-right): Removes trailing whitespace.
6370 (string-trim): Removes leading and trailing whitespace.
6372 * subr.el (string-suffix-p): New function.
6374 2013-11-23 Glenn Morris <rgm@gnu.org>
6376 * progmodes/python.el (python-shell-send-file):
6377 Add option to delete file when done. (Bug#15647)
6378 (python-shell-send-string, python-shell-send-region): Use it.
6380 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6382 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6383 to set buffer-read-only to t, never to nil. (Bug#15938)
6385 * textmodes/tex-mode.el (latex-noindent-environments):
6386 Add safe-local-variable property. (Bug#15936)
6388 2013-11-23 Glenn Morris <rgm@gnu.org>
6390 * textmodes/enriched.el (enriched-mode): Doc fix.
6391 * emacs-lisp/authors.el (authors-renamed-files-alist):
6392 Add enriched.doc -> enriched.txt.
6394 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6396 2013-11-22 Leo Liu <sdl.web@gmail.com>
6398 * progmodes/octave.el (inferior-octave-startup): Spit out error
6401 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6403 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6406 (ruby-encoding-magic-comment-style): Add :version.
6408 2013-11-22 Leo Liu <sdl.web@gmail.com>
6410 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6412 (octave-help-mode): Adapt to change to help-mode-finish to use
6413 derived-mode-p on 2013-09-17.
6414 (inferior-octave-prompt): Also match octave-gui.
6415 (octave-kill-process): Don't ask twice. (Bug#10564)
6417 2013-11-22 Leo Liu <sdl.web@gmail.com>
6419 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6420 (inferior-octave-startup, inferior-octave-check-process)
6421 (inferior-octave-track-window-width-change)
6422 (octave-completion-at-point, octave-eldoc-function): Use it.
6423 (octave-kill-process): Provide confirmation. (Bug#10564)
6425 2013-11-21 Leo Liu <sdl.web@gmail.com>
6427 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6428 Fix obsolete variable comment-use-global-state.
6430 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6432 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6433 Add `octave-source-file'.
6434 (octave-source-file): New function. (Bug#15935)
6436 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6438 * net/eww.el (eww-local-regex): New variable.
6439 (eww): Use it to detect localhost and similar.
6441 2013-11-21 Leo Liu <sdl.web@gmail.com>
6443 Add completion for command `ag'.
6444 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6445 (pcomplete/ag): New function.
6446 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6448 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6452 (make-obsolete): Remove interactive spec.
6454 2013-11-21 Glenn Morris <rgm@gnu.org>
6456 * startup.el (command-line-1): Use path-separator with -L.
6458 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6460 * emacs-lisp/package.el (describe-package-1): Add package archive
6463 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6465 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6466 Change default to "# encoding: %s" to differentiate it from the
6467 default Ruby encoding comment template.
6469 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6471 * ses.el (ses-mode): Doc fix. (Bug#14748)
6473 2013-11-20 Leo Liu <sdl.web@gmail.com>
6475 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6477 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6479 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6480 when rebase or bisect are in progress.
6482 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6484 * filenotify.el (file-notify-add-watch): Doc fix.
6486 2013-11-19 Leo Liu <sdl.web@gmail.com>
6488 * obsolete/rcompile.el: Mark obsolete.
6490 * progmodes/compile.el (compilation-start)
6491 (compilation-goto-locus, compilation-find-file):
6492 Pass no-display-ok and handle nil value from display-buffer.
6495 * window.el (display-buffer-alist, display-buffer): Document the
6496 new parameter no-display-ok. Return either a window or nil
6497 but never a non-window value.
6499 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6501 * electric.el (electric-indent-mode-map): Remove.
6502 (electric-indent-mode): Change the global-map instead (bug#15915).
6504 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6507 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * emacs-lisp/nadvice.el (remove-function): Align with
6510 add-function's behavior.
6512 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6513 (gdb--string-regexp): New constant.
6514 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6515 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6516 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6518 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6519 Adjust use accordingly.
6520 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6522 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6524 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6525 interpolation curlies (Bug#15914).
6527 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6529 * calc/calc.el (calc-context-sensitive-enter): New variable.
6530 (calc-enter): Use `calc-context-sensitive-enter'.
6532 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6534 * progmodes/cfengine.el: Version bump.
6535 (cfengine-cf-promises): New defcustom to locate cf-promises.
6536 (cfengine3-vartypes): Add new "data" type.
6537 (cfengine3--current-word): New function to get current name-like
6539 (cfengine3--current-function): New function to look up a CFEngine
6540 function's definition.
6541 (cfengine3-format-function-docstring): New function.
6542 (cfengine3-make-syntax-cache): New function.
6543 (cfengine3-documentation-function): New function: ElDoc glue.
6544 (cfengine3-completion-function): New function: completion glue.
6545 (cfengine3-mode): Set `compile-command',
6546 `eldoc-documentation-function', and add to
6547 `completion-at-point-functions'.
6549 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6551 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6552 `tramp-current-connection'.
6554 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6556 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6557 nil/self/true/false with "end of symbol".
6559 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6561 * subr.el (version-regexp-alist): Fix a typo.
6563 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6565 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6566 "en_US.utf8" and "LC_CTYPE" to "".
6567 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6568 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6570 2013-11-15 Leo Liu <sdl.web@gmail.com>
6572 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6574 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6576 * progmodes/gud.el (ctl-x-map):
6577 Remove C-x SPC binding. (Bug#12342)
6578 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6580 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6582 * subr.el (version-regexp-alist):
6583 Recognize hg, svn and darcs versions as snapshot versions.
6585 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6586 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6587 (ruby--encoding-comment-required-p): Extract from
6588 `ruby-mode-set-encoding'.
6589 (ruby-mode-set-encoding): Add the ability to always insert an
6590 utf-8 encoding comment. Fix and simplify coding comment update
6593 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6595 * net/tramp-gvfs.el (top): Run init code only when
6596 `tramp-gvfs-enabled' is not nil.
6597 (tramp-gvfs-enabled): Check also :system bus.
6599 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6601 Sync with upstream verilog-mode revision 78e66ba.
6602 * progmodes/verilog-mode.el (verilog-end-of-defun)
6603 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6604 (verilog-get-end-of-defun): Remove unused argument.
6605 (verilog-comment-depth): Remove unused local `e'.
6606 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6607 Don't pass arg to verilog-get-end-of-defun.
6609 2013-11-14 Glenn Morris <rgm@gnu.org>
6611 * obsolete/assoc.el (aget): Prefix dynamic variable.
6613 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6615 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * widget.el, hfy-cmap.el: Remove bogus package version number.
6619 2013-11-13 Glenn Morris <rgm@gnu.org>
6621 * replace.el (replace-eval-replacement):
6622 Try to give more helpful error message. (Bug#15836)
6624 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6625 (archive-7z-update): Avoid custom type mismatches.
6627 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6629 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6631 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6632 address can be empty.
6634 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6635 Accept nil SWITCHES.
6636 (tramp-gvfs-handle-write-region): Implement APPEND.
6638 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6640 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6641 binary "|" operator and closing block args delimiter.
6642 Remove FIXME comment referring to Ruby 1.8-only syntax.
6643 (ruby-smie--implicit-semi-p): Not after "|" operator.
6644 (ruby-smie--closing-pipe-p): New function.
6645 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6646 (ruby-smie-rules): Indent after "|".
6648 2013-11-12 Glenn Morris <rgm@gnu.org>
6650 * ps-print.el (ps-face-attribute-list):
6651 Handle anonymous faces. (Bug#15827)
6653 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6655 * window.el (display-buffer-other-frame): Fix doc-string.
6658 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6662 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6664 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6665 (tramp-sh-handle-file-local-copy): Don't write a message when
6666 saving temporary files.
6668 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6669 both directories are remote.
6670 (tramp-smb-handle-directory-files): Do not return double entries.
6671 Do not expand full file names.
6672 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6673 (tramp-smb-handle-write-region): Implement APPEND.
6674 (tramp-smb-get-stat-capability): Fix a stupid bug.
6676 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6678 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6680 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6682 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6683 throwing error over malformed let/let* (bug#15814).
6685 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6687 * iswitchb.el (iswitchb-mode): Mark obsolete.
6689 2013-11-11 Glenn Morris <rgm@gnu.org>
6691 * international/uni-bidi.el, international/uni-category.el:
6692 * international/uni-name.el, international/uni-numeric.el:
6693 Regenerate for Unicode 6.3.0.
6695 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6697 * net/tramp.el (tramp-methods):
6698 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6699 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6701 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6703 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6704 Force highlighting text after Summary keyword in doc face for rpm.
6706 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6708 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6709 available and the word has no wildcards, append one to the grep pattern.
6710 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6711 (ispell-complete-word): Call `ispell-lookup-words' with the value
6712 independent of `ispell-look-p'.
6714 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6716 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6718 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6721 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6724 (ruby-font-lock-keywords): Use backquote.
6726 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6728 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6729 (ruby-smie--backward-token): Only consider full-string matches.
6731 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6733 * faces.el (describe-face): Add distant-foreground.
6735 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6737 * progmodes/ruby-mode.el: Improve encoding comment handling.
6738 (ruby-encoding-magic-comment-style): New option.
6739 (ruby-custom-encoding-magic-comment-template): New option.
6740 (ruby--insert-coding-comment, ruby--detect-encoding):
6741 New functions extracted from `ruby-mode-set-encoding'.
6742 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6743 to control the style of the auto-inserted encoding comment.
6745 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6747 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6748 Use `smie-backward-sexp' with token argument.
6750 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6752 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6753 Remove instrumentation code.
6755 2013-11-08 Glenn Morris <rgm@gnu.org>
6757 * progmodes/autoconf.el (autoconf-mode):
6758 Tweak comment-start-skip. (Bug#15822)
6760 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6763 at bobp (bug#15826).
6764 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6766 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6768 * man.el (Man-start-calling): New macro, extracted from
6769 Man-getpage-in-background.
6770 (Man-getpage-in-background): Use it.
6771 (Man-update-manpage): New command.
6772 (Man-mode-map): Bind it.
6774 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6776 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6777 of "and", "or", "&&" and "||".
6778 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6779 argument. Prohibit opening curly brace because it could only be a
6780 block opener in that position.
6781 (ruby-smie--forward-token, ruby-smie--backward-token):
6782 Separate "|" from "&" or "*" going after it. That can happen in block
6784 (ruby-smie--indent-to-stmt): New function, seeks the end of
6785 previous statement or beginning of buffer.
6786 (ruby-smie-rules): Use it.
6787 (ruby-smie-rules): Check if there's a ":" before a curly block
6788 opener candidate; if there is, it's a hash.
6790 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6792 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6793 (cl--block-wrapper): Fix last accidental change.
6795 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6797 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6798 Instrument, in order to hunt failure on hydra.
6800 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6802 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6803 malformed bindings form (bug#15814).
6805 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6807 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6808 "." compared to " @ ". This incidentally fixes some indentation
6810 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6811 (ruby-smie-grammar): New tokens: "and" and "or".
6812 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6813 Exclude "and" and "or". Remove "do" in order to work around token
6815 (ruby-smie-rules): Add all infix tokens. Handle the case of
6816 beginning-of-buffer.
6818 2013-11-06 Glenn Morris <rgm@gnu.org>
6820 * Makefile.in (setwins_almost, setwins_for_subdirs):
6821 Avoid accidental matches.
6823 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * menu-bar.el (popup-menu): Use key-binding.
6827 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6829 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6830 menus, support also the menus produced by minor modes.
6833 2013-11-06 Leo Liu <sdl.web@gmail.com>
6835 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6836 DISTANCE to bound the search. All uses changed. (Bug#15808)
6838 2013-11-06 Glenn Morris <rgm@gnu.org>
6840 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6841 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6842 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6844 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6846 * electric.el (electric-indent-just-newline): New command.
6847 (electric-indent-mode-map): New keymap.
6848 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6849 Re-add :group which weren't redundant.
6851 * electric.el (electric-indent-local-mode): New minor mode.
6852 (electric-indent-functions-without-reindent): New var.
6853 (electric-indent-post-self-insert-function): Use it.
6854 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6856 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6858 * international/quail.el (quail-help): Be more explicit about the
6859 meaning of the labels shown on the keys. (Bug#15800)
6861 * startup.el (normal-top-level): Load the subdirs.el files before
6862 setting the locale environment. (Bug#15805)
6864 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6866 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6867 via arguments so as to get the right ones (bug#15418).
6869 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6871 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6873 Fix problems found while writing a test suite.
6875 * net/tramp-compat.el (tramp-compat-load): New defun.
6876 * net/tramp.el (tramp-handle-load): Use it.
6878 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6879 "(numberp ok-if-already-exists)" correctly.
6881 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6883 * international/characters.el (glyphless-char-display-control):
6886 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6888 * progmodes/python.el (python-mode):
6889 * progmodes/scheme.el (scheme-mode):
6890 * progmodes/prolog.el (prolog-mode):
6891 * progmodes/ruby-mode.el (ruby-mode):
6892 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6893 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6895 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6897 * rect.el (rectangle--highlight-for-redisplay):
6898 * emacs-lisp/smie.el (smie--next-indent-change):
6899 Use buffer-chars-modified-tick.
6901 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6903 * electric.el (electric-indent-post-self-insert-function):
6904 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6906 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6908 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6910 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6912 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6915 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6919 * progmodes/python.el: Fix up last change.
6920 (python-shell--save-temp-file): New function.
6921 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6922 `string' comes from the current buffer.
6923 (python-shell-send-string-no-output): Remove `msg' arg.
6924 (python--use-fake-loc): New var.
6925 (python-shell-buffer-substring): Obey it. Try to compensate for the
6926 extra coding line added by python-shell--save-temp-file.
6927 (python-shell-send-region): Use python-shell--save-temp-file and
6928 python-shell-send-file directly. Add `nomain' argument.
6929 (python-shell-send-buffer): Use python-shell-send-region.
6930 (python-electric-pair-string-delimiter): New function.
6931 (python-mode): Use it.
6933 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6935 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6936 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6937 environment and decoding all of the default-directory's to here
6939 (command-line): Decode also argv[0].
6941 * loadup.el: Error out if default-directory is a multibyte string
6942 when we are dumping.
6944 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6946 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6948 * emacs-lisp/package.el (package-menu-mode)
6949 (package-menu--print-info, package-menu--archive-predicate):
6950 Add Archive column to package list.
6952 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6954 Fix problems found while writing a test suite.
6956 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6957 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6958 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6959 to nil when running original file name handler. Otherwise,
6960 there are problems with constructs like "$$FOO".
6962 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6965 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6967 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6969 * subr.el (version<, version<=, version=):
6970 Update docstrings with information for snapshot versions.
6972 * helpers.el: New library for misc helper functions.
6973 (hash-table-keys): New function returning a list of hash keys.
6974 (hash-table-values): New function returning a list of hash values.
6976 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6978 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6979 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6981 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6983 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6984 checking whether point is after a 1-letter word.
6986 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6988 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6989 Don't infloop when expanding region over `multiline' syntax-type that
6990 begins a line (bug#15778).
6992 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6994 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6995 Make it into a proper minor mode.
6996 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6997 (rectangle-mark-mode-map): New keymap.
6998 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7000 2013-11-04 Glenn Morris <rgm@gnu.org>
7002 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7004 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7007 (ruby-smie-rules): Use smie-rule-parent instead.
7009 * emacs-lisp/smie.el (smie-rule-parent): Always call
7010 smie-indent-virtual rather than only for hanging tokens.
7011 (smie--next-indent-change): New helper command.
7013 2013-11-03 Glenn Morris <rgm@gnu.org>
7015 * Makefile.in (abs_srcdir): Remove.
7016 (emacs): Unset EMACSLOADPATH.
7018 2013-11-02 Glenn Morris <rgm@gnu.org>
7020 * Makefile.in (EMACS): Use a relative filename.
7021 (abs_top_builddir): Remove.
7022 (custom-deps, finder-data, autoloads): Use --chdir.
7024 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7026 Use relative filenames in TAGS files.
7027 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7028 (lisptagsfiles4, TAGS): Use relative file names.
7029 (TAGS-LISP): Remove.
7030 (maintainer-clean): No more TAGS-LISP file.
7032 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7033 (lisptagsfiles4): Use absolute filenames again.
7034 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7035 Remove all *loaddefs files, not just the first. Remove esh-groups.
7036 (maintainer-clean): Delete TAGS, TAGS-LISP.
7038 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7040 * emacs-lisp/package.el (package-version-join):
7041 Recognize snapshot versions.
7043 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7045 * subr.el (version-regexp-alist): Add support for snapshot versions.
7047 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7049 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7050 New function, replacement for `smie-rule-parent' for when we want to
7051 skip over our direct parent if it's an assignment token..
7052 (ruby-smie-rules): Use it.
7054 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7056 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7057 unconditionally. Remove now unnecessary forward declarations.
7058 Remove XEmacs-specific setup.
7059 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7060 (ruby-font-lock-syntactic-keywords)
7061 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7062 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7063 (ruby-here-doc-end-syntax): Remove.
7064 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7065 defined as function.
7067 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7069 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7071 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7073 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7074 table and abbrev table, `define-derived-mode' does that for us
7077 2013-11-01 Glenn Morris <rgm@gnu.org>
7079 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7080 files is atomic for some time, so no parallel compilation issues).
7082 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7084 * faces.el (face-x-resources): Add :distant-foreground.
7085 (region): Use :distant-foreground for gtk and ns.
7087 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7089 Allow multiple bibliographies when BibLaTeX is used rather than
7091 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7092 (reftex-locate-bibliography-files): Us it.
7094 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7096 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7097 allow comments in pbm files.
7099 * term/w32-win.el (dynamic-library-alist): Support newer versions
7100 of libjpeg starting with v7: look only for the DLL from the
7101 version against which Emacs was built.
7102 Support versions of libpng beyond 1.4.x.
7103 Support libtiff v4.x.
7105 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7107 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7108 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7110 (ruby-deep-arglist): Add property :type.
7112 2013-10-31 Glenn Morris <rgm@gnu.org>
7114 * Makefile.in (custom-deps, finder-data): No need to setq the target
7115 variables, we are in the right directory and the defaults work fine.
7117 2013-10-30 Glenn Morris <rgm@gnu.org>
7119 * Makefile.in (autoloads): Do not use abs_lisp.
7121 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7122 `newline' does not respect `standard-output', so use `princ'.
7124 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7126 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7127 * buff-menu.el (Buffer-menu--unmark): New function.
7128 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7130 2013-10-30 Glenn Morris <rgm@gnu.org>
7132 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7134 * emacs-lisp/package.el (lm-homepage): Declare.
7136 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7139 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7141 * Makefile.in (finder-data, autoloads, update-subdirs)
7142 (compile-main, compile-clean, compile-always, bootstrap-clean):
7143 Check return value of cd.
7144 (compile-calc): Remove.
7146 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7150 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7151 (byte-compile-and-folded): New function.
7152 (=, <, >, <=, >=): Use it.
7154 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7155 (path-separator, null-device, buffer-file-coding-system)
7156 (lpr-headers-switches): Check system-type before modifying them.
7157 (find-buffer-file-type-coding-system): Mark obsolete.
7158 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7159 find-file-not-found-set-buffer-file-coding-system.
7160 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7161 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7162 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7163 (w32-direct-print-region-helper, w32-direct-print-region-function)
7164 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7165 * startup.el (normal-top-level-add-subdirs-to-load-path):
7166 * ps-print.el (ps-print-region-function):
7167 * lpr.el (print-region-function): Use new name.
7169 * subr.el (custom-declare-variable-early): Remove function.
7170 (custom-declare-variable-list): Remove var.
7171 (error, user-error): Remove `while' loop.
7172 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7173 (user-emacs-directory-warning, locate-user-emacs-file):
7175 * simple.el (read-quoted-char-radix, read-quoted-char):
7176 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7178 * custom.el (custom-declare-variable-list): Don't process
7179 custom-declare-variable-list.
7181 * progmodes/python.el (python-shell-get-buffer): New function.
7182 (python-shell-get-process): Use it.
7183 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7184 Python which encoding was used. Don't split-string since we only care
7185 about the first line. Return the temp-file, if applicable.
7186 (python-shell-send-region): Tell compile.el how to turn locations in
7187 the temp-file into locations in the source buffer.
7189 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * subr.el (undefined): Add missing behavior from the C code for
7194 * rect.el: Use lexical-binding. Add new rectangular region support.
7195 (rectangle-mark): New command.
7196 (rectangle--region): New var.
7197 (deactivate-mark-hook): Reset rectangle--region.
7198 (rectangle--extract-region, rectangle--insert-for-yank)
7199 (rectangle--highlight-for-redisplay)
7200 (rectangle--unhighlight-for-redisplay): New functions.
7201 (region-extract-function, redisplay-unhighlight-region-function)
7202 (redisplay-highlight-region-function): Use them to handle
7204 * simple.el (region-extract-function): New var.
7205 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7206 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7207 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7208 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7209 (redisplay-unhighlight-region-function)
7210 (redisplay-highlight-region-function): New vars.
7211 (redisplay--update-region-highlight): New function.
7212 (pre-redisplay-function): Use it.
7213 (exchange-point-and-mark): Don't deactivate the mark before
7214 reactivate-it anyway.
7215 * comint.el (comint-kill-region): Remove yank-handler argument.
7216 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7217 (delete-char): Remove property, since it's now part of their
7219 (self-insert-iso): Remove property since this command doesn't exist.
7221 * emacs-lisp/package.el (package--download-one-archive)
7222 (describe-package-1): Don't query the user about final newline.
7224 2013-10-29 Daniel Colascione <dancol@dancol.org>
7226 * net/tramp.el (tramp-methods): Document new functionality.
7227 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7228 tramp-hostname-checker if method provides one instead of scanning
7229 argument list for "%h" to decide hostname acceptability.
7231 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7233 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7234 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7235 Handle COPY-CONTENTS. (Bug#15737)
7237 2013-10-28 Daiki Ueno <ueno@gnu.org>
7239 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7240 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7242 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7244 * image.el (defimage, image-load-path): Doc fixes.
7246 2013-10-27 Alan Mackenzie <acm@muc.de>
7248 Indent statements in macros following "##" correctly.
7249 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7250 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7252 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7254 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7256 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7258 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7259 after `=' is probably a new expression.
7261 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7263 * man.el (man-imenu-title): New option.
7264 (Man-mode-map): Add menu. (Bug#15722)
7265 (Man-mode): Add imenu to menu.
7267 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7269 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7270 specific in what the first arg can be: a non-keyword word,
7271 string/regexp/percent literal opener, opening paren, or unary
7272 operator followed directly by word.
7274 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7277 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7278 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7279 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7280 Remove vars, they do not apply any more.
7281 (prolog-mode-abbrev-table): Remove redundant declaration.
7282 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7283 (prolog-use-smie): Remove.
7284 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7285 supported by prolog-electric-if-then-else-flag.
7286 (prolog-mode-variables, prolog-menu): Use setq-local.
7287 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7288 Remove binding to `Backspace' since this key doesn't exist anyway.
7289 Remove bindings for electric self-inserting keys.
7290 (prog-mode): Assume it's defined.
7291 (prolog-post-self-insert): New function.
7292 (prolog-mode): Use it.
7293 (prolog-indent-line, prolog-indent-level)
7294 (prolog-find-indent-of-matching-paren)
7295 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7296 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7297 (prolog-goto-next-paren, prolog-in-string-or-comment)
7298 (prolog-tokenize, prolog-inside-mline-comment)
7299 (prolog-find-start-of-mline-comment): Remove functions.
7300 (prolog-find-unmatched-paren, prolog-clause-end)
7301 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7302 (prolog-electric--if-then-else): Rename from
7303 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7304 (prolog-tokenize-searchkey): Remove const.
7305 (prolog-clause-info): Use forward-sexp.
7306 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7307 (prolog-electric-if-then-else): Remove commands.
7308 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7309 for use in post-self-insert-hook.
7310 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7311 for use in post-self-insert-hook.
7312 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7313 for use in post-self-insert-hook.
7314 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7315 adapt it for use in post-self-insert-hook.
7317 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7319 * emacs-lisp/ert.el (ert-run-tests-interactively):
7320 Use `completing-read'. (Bug#9756)
7322 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7324 * simple.el (line-move): Call line-move-1 instead of
7325 line-move-visual when the current window hscroll is zero, but
7326 temporary-goal-column indicates we will need to hscroll as result
7327 of the movement. (Bug#15712)
7329 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7331 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7332 capitalization. Use :visible instead of :active.
7333 Fix `ruby-indent-exp' reference. Add menu items for the generic
7334 commands that are used with SMIE.
7335 (ruby-do-end-to-brace): Insert space after `{'.
7337 2013-10-25 John Anthony <john@jo.hnanthony.com>
7339 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7341 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7343 2013-10-25 Glenn Morris <rgm@gnu.org>
7345 * vc/vc.el (vc-print-log): Don't use a working revision unless
7346 one was explicitly specified. (Bug#15322)
7348 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7350 * subr.el (add-to-list): Preserve return value in compiler-macro
7353 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7355 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7356 result. Ask user to retry using '-all' flag. (Bug#15701)
7358 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * emacs-lisp/smie.el: New smie-config system.
7361 (smie-config): New defcustom.
7362 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7363 (smie-config-guess, smie-config-save): New commands.
7364 (smie-config--mode-local, smie-config--buffer-local)
7365 (smie-config--trace, smie-config--modefuns): New vars.
7366 (smie-config--advice, smie-config--mode-hook)
7367 (smie-config--setter, smie-config-local, smie-config--get-trace)
7368 (smie-config--guess-value, smie-config--guess): New functions.
7369 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7370 text properties. Treat "string fence" syntax like string syntax.
7372 * progmodes/sh-script.el (sh-use-smie): Change default.
7373 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7374 (sh-var-value): Simplify by CSE.
7375 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7376 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7378 (sh-guess-basic-offset): Use cl-incf.
7379 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7381 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7383 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7386 2013-10-24 Glenn Morris <rgm@gnu.org>
7388 * Makefile.in (abs_top_srcdir): Remove.
7389 (update-subdirs): Use relative path to update-subdirs.
7391 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7393 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7394 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7395 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7396 Call unmsys--file-name before expand-file-name, not after it.
7398 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7400 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7401 (ert-test-skipped): New error.
7402 (ert-skip, ert-stats-skipped): New defuns.
7403 (ert--skip-unless): New macro.
7404 (ert-test-skipped): New struct.
7405 (ert--run-test-debugger, ert-test-result-type-p)
7406 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7407 (ert--stats-set-test-and-result, ert-char-for-test-result)
7408 (ert-string-for-test-result, ert-run-tests-batch)
7409 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7410 Handle skipped tests. (Bug#9803)
7412 2013-10-24 Glenn Morris <rgm@gnu.org>
7414 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7416 * Makefile.in (abs_top_srcdir): New, set by configure.
7417 (update-subdirs): Correct build-aux location.
7419 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7421 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7422 value, whether we could auto-deduce `backend', or not.
7424 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7425 with parameters" example. Simplify the "is it block or is it
7426 hash" check, but also make it more thorough.
7428 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7430 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7432 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7437 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7440 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7442 * progmodes/compile.el (compilation-directory-matcher)
7443 (compilation-page-delimiter):
7444 Support GNU Make-4.0 directory quoting. (Bug#15678)
7446 2013-10-23 Leo Liu <sdl.web@gmail.com>
7448 * ido.el (ido-tidy): Handle read-only text.
7450 2013-10-23 Glenn Morris <rgm@gnu.org>
7452 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7453 (emacs, compile, compile-always):
7454 Quote entities that might contain whitespace.
7455 (custom-deps, finder-data, autoloads): Use abs_lisp.
7456 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7457 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7458 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7460 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7462 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7463 Use `following-char'.
7465 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7467 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7468 * progmodes/ruby-mode.el (ruby-smie-rules):
7469 Remove corresponding workaround. Fix indentation rule of ";" so it
7470 also applies when ";" is the parent.
7472 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7474 * frame.el (display-screens, display-pixel-height)
7475 (display-pixel-width, display-mm-width, display-backing-store)
7476 (display-save-under, display-planes, display-color-cells)
7477 (display-visual-class, display-monitor-attributes-list):
7478 Mention the optional ‘display’ argument in doc strings.
7480 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7482 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7483 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7485 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7487 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7488 TODO. Add "." after " @ ".
7489 (ruby-smie--at-dot-call): New function. Checks if point at method
7490 call with explicit target.
7491 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7492 to the method name tokens when it precedes them.
7493 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7494 (ruby-smie-rules): Add rule for indentation before and after "."
7497 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * textmodes/remember.el (remember-diary-extract-entries):
7502 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7505 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7507 * progmodes/ruby-mode.el (ruby-smie-grammar):
7508 Add (almost) all infix operators.
7509 (ruby-smie--implicit-semi-p): Add new operator chars.
7511 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7513 (ruby-smie--args-separator-p): Check that there's no newline
7514 between method call and its arguments.
7516 2013-10-20 Alan Mackenzie <acm@muc.de>
7518 Allow comma separated lists after Java "implements".
7520 * progmodes/cc-engine.el (c-backward-over-enum-header):
7522 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7523 from a "disallowed" list in enum fontification.
7525 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7527 * startup.el (default-frame-background-mode): Remove unused defvar.
7529 * progmodes/verilog-mode.el (verilog-mode): Don't set
7530 comment-indent-function globally.
7532 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7534 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7535 Move Info menu item creation to ns-win.el.
7537 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7540 * menu-bar.el: Move GNUstep specific menus...
7542 * term/ns-win.el (ns-initialize-window-system): ... to here.
7544 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * simple.el (newline): Only run post-self-insert-hook when
7547 called interactively.
7549 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7551 * icomplete.el (icomplete-with-completion-tables): Add :version.
7553 2013-10-19 Alan Mackenzie <acm@muc.de>
7555 Fix fontification bugs with constructors and const.
7557 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7558 CASE 2) Remove the check for the absence of a suffix construct
7559 after a function declaration with only types (no identifiers) in
7560 the parentheses. Also, accept a function declaration with just a
7561 type inside the parentheses, if this type can be positively
7562 recognised as such, or if a prefix keyword like "explicit" nails
7563 down the construct as a declaration.
7565 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7567 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7568 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7569 the problem whereby selecting a menu item that leads to a
7570 minibuffer prompt moves the cursor out of the minibuffer window,
7571 making it hard to type at the prompt. Suggested by Stefan Monnier
7572 <monnier@iro.umontreal.ca>.
7574 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7576 * menu-bar.el: Don't make Services menu.
7578 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7580 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7581 (ffap-alist): Use ffap-c++-mode for c++-mode.
7582 (ffap-c++-path): New variable.
7583 (ffap-c++-mode): New function.
7585 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7587 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7589 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7591 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7592 introduced on 2013-09-08, which results in an infinite loop
7593 requesting a password.
7595 2013-10-18 Glenn Morris <rgm@gnu.org>
7597 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7599 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7601 Sync with upstream verilog-mode revision 1a6ecec7.
7602 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7603 (verilog-mode-release-date): Remove.
7604 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7605 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7606 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7607 (verilog-auto-tieoff-ignore-regexp)
7608 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7609 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7610 (verilog-signals-with, verilog-dir-cache-preserving)
7611 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7613 (verilog-case-fold): New option, to control case folding in
7614 regexp searches, bug597.
7615 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7616 (verilog-string-match-fold, verilog-in-paren-count)
7617 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7618 (verilog-at-close-struct-p): New functions.
7619 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7620 (verilog-forward-sexp, verilog-set-auto-endcomments)
7621 (verilog-leap-to-case-head): Handle "unique0" case.
7622 (verilog-in-constraint-re): New constant.
7623 (verilog-keywords, verilog-type-font-keywords):
7624 Add some SystemVerilog 1800-2012 keywords.
7625 (verilog-label-be): Remove unimplemented argument, bug669.
7626 (verilog-batch-execute-func): When batch expanding clear
7627 create-lockfiles to prevent spurious user locks when a file ends
7629 (verilog-calculate-indent, verilog-calc-1)
7630 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7631 (verilog-do-indent): Fix indentation of nested constraints
7633 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7634 (verilog-auto-inst-param): Use verilog-string-match-fold.
7635 (verilog-read-inst-module-matcher):
7636 Fix AUTOINST on gate primitives with #1.
7637 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7638 Reads all user-defined typed variables.
7639 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7640 (verilog-signals-matching-regexp)
7641 (verilog-signals-not-matching-regexp, verilog-auto):
7642 Respect verilog-case-fold.
7643 (verilog-diff-report): Fix line count.
7644 (verilog-auto-assign-modport): Remove unused local `modi'.
7645 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7646 better handle multidimensional arrays.
7647 Fix packed array ports misadding bit index in AUTOINST, bug637.
7648 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7649 to not double-declare existing outputs and inputs, respectively.
7650 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7651 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7652 (verilog-sk-uvm-component): New skeleton.
7653 (verilog-submit-bug-report): Add verilog-case-fold,
7654 remove verilog-mode-release-date.
7656 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7658 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7661 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7663 * textmodes/remember.el (remember): Set buffer-offer-save in
7664 remember buffers (bug#13566).
7666 2013-10-18 Daniel Colascione <dancol@dancol.org>
7668 When evaluating forms in ielm, direct standard output to ielm
7669 buffer. Add new ielm-return-for-effect command. Remove trailing
7670 whitespace throughout.
7672 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7673 (ielm-return-for-effect): New command.
7674 (ielm-send-input): Accept optional `for-effect' parameter.
7675 (ielm-eval-input): Accept optional `for-effect' parameter.
7676 Bind `standard-output' to stream we create using
7677 `ielm-standard-output-impl'. Suppress printing result when
7679 (ielm-standard-output-impl): New function.
7680 (inferior-emacs-lisp-mode): Explain new features in documentation.
7682 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7686 * net/tramp.el (tramp-debug-message): Do not check for connection
7688 (tramp-message): Use "vector" connection property.
7690 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7691 (tramp-equal-remote, tramp-eshell-directory-change)
7692 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7693 (tramp-adb-handle-rename-file)
7694 * net/tramp-cmds.el (tramp-list-remote-buffers)
7695 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7696 * net/tramp-compat.el (tramp-compat-process-running-p)
7697 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7698 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7699 (tramp-gvfs-handle-rename-file)
7700 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7701 (tramp-set-file-uid-gid)
7702 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7703 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7706 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7707 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7708 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7709 (tramp-gw-open-network-stream): Suppress unrelated traces.
7711 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7712 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7714 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7715 connection property.
7717 * net/tramp-cache.el (top): Suppress traces when reading
7720 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7721 Refactor common code. Improve debug message.
7722 (tramp-maybe-open-connection)
7723 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7724 connection buffer too early.
7726 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7727 from `tramp-smb-actions-with-acl'.
7728 (tramp-smb-actions-set-acl): New defconst.
7729 (tramp-smb-handle-copy-directory)
7730 (tramp-smb-action-get-acl): New defun, renamed from
7731 `tramp-smb-action-with-acl'.
7732 (tramp-smb-action-set-acl): New defun.
7733 (tramp-smb-handle-set-file-acl): Rewrite.
7735 2013-10-17 Glenn Morris <rgm@gnu.org>
7737 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7739 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7741 * skeleton.el (skeleton-newline): Remove.
7742 (skeleton-internal-1): Use (insert "\n") instead.
7744 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7747 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7748 forward-sexp-function while we redo its job (bug#15613).
7750 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7752 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7753 represented by lists.
7755 2013-10-16 Glenn Morris <rgm@gnu.org>
7757 * tmm.el (tmm--history): New dynamic variable.
7758 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7760 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7762 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7763 (tramp-smb-errors): Add error messages.
7764 (tramp-smb-actions-with-acl): New defconst.
7765 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7766 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7767 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7768 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7769 (tramp-smb-get-stat-capability): Fix tests.
7771 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7773 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7776 2013-10-16 Glenn Morris <rgm@gnu.org>
7778 * ansi-color.el (ansi-color-drop-regexp):
7779 Add 1J, 1K, 2K. (Bug#15617)
7781 * files.el (hack-local-variables--warned-lexical): New.
7782 (hack-local-variables):
7783 Warn about misplaced lexical-binding. (Bug#15616)
7785 * net/eww.el (eww-render): Always set eww-current-url,
7786 and update header line. (Bug#15622)
7787 (eww-display-html): ... Rather than just doing it here.
7789 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7791 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7792 menu navigations commands.
7794 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7796 * progmodes/subword.el (subword-capitalize): Be careful when
7797 the search for [[:alpha:]] fails (bug#15580).
7799 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7801 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7802 to commands that scroll the menu.
7804 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7806 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7807 Handle methods ending with `?' and `!'.
7809 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7811 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7812 `japanese-cp932' to `cp932' to fix the problem where saving a
7813 source file written in Shift_JIS twice would end up having
7814 `coding: japanese-cp932' which Ruby could not recognize.
7815 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7816 in `ruby-encoding-map'.
7817 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7818 doesn't need to be explicitly declared in magic comment.
7819 (ruby-encoding-map): Add type declaration for better customize UI.
7821 2013-10-13 Glenn Morris <rgm@gnu.org>
7823 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7824 Occur buffers are read-only. http://bugs.debian.org/720775
7826 * emacs-lisp/authors.el (authors-fixed-entries):
7827 Comment out old alpha stuff.
7829 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7831 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7832 to `after-save-hook' instead of `before-save-hook'.
7833 (ruby-mode-set-encoding): Use the value of coding system used to
7834 write the file. Call `basic-save-buffer-1' after modifying the
7837 2013-10-13 Alan Mackenzie <acm@muc.de>
7839 Fix indentation/fontification of Java enum with
7840 "implements"/generic.
7842 * progmodes/cc-engine.el (c-backward-over-enum-header):
7843 Extracted from the three other places and enhanced to handle generics.
7844 (c-inside-bracelist-p): Uses new function above.
7845 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7847 (c-font-lock-enum-tail): Uses new function above.
7849 2013-10-13 Kenichi Handa <handa@gnu.org>
7851 * international/mule-cmds.el (select-safe-coding-system): Remove a
7852 superfluous condition in chekcing whether a coding system is safe
7855 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7857 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7859 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7861 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7863 2013-10-13 Glenn Morris <rgm@gnu.org>
7865 * menu-bar.el (menu-bar-update-buffers):
7866 Unify Buffers menu prompt string. (Bug#15576)
7868 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7870 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7872 (authors-fixed-entries): Use accented form of name.
7874 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7877 method calls (bug#15594).
7878 (ruby-smie--args-separator-p): New function.
7879 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7880 recognize paren-free method calls.
7882 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7883 internals of universal-argument.
7885 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7887 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7888 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7889 dropped menu on second mouse click on the menu bar.
7891 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7893 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7894 (explicit-shell-file-name): Declare.
7895 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7896 (sh-completion-at-point-function): New function.
7898 (sh-smie--keyword-p): Remove unused argument.
7899 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7901 (sh-set-shell): Always setup SMIE, even if we use the
7902 old indentation code.
7904 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7906 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7908 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7909 predicate would return nil are almost non-existent.
7910 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7912 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7913 cache also after commands that modify the buffer but don't move
7916 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7918 * env.el (substitute-env-in-file-name): New function.
7919 (substitute-env-vars): Extend the meaning of the optional arg.
7921 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7923 * term/w32-win.el (dynamic-library-alist): Define separate lists
7924 of GIF DLLs for versions before and after 5.0.0 of giflib.
7927 2013-10-10 João Távora <joaotavora@gmail.com>
7929 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7930 not locked, use last revision and current source as
7931 defaults. (Bug#15569)
7933 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7935 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7938 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7940 * window.el (pop-to-buffer-same-window): Fix doc-string.
7943 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7945 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7947 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7949 * calendar/icalendar.el (icalendar-import-file):
7950 Fix interactive spec. (Bug#15482)
7952 2013-10-10 Glenn Morris <rgm@gnu.org>
7954 * desktop.el (desktop-save): Default to saving in .emacs.d,
7955 since PWD is no longer in desktop-path by default. (Bug#15319)
7957 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7958 now that text mode has a menu with the same entry.
7959 (menu-bar-text-mode-auto-fill): Remove now unused func.
7960 * textmodes/text-mode.el (text-mode-map):
7961 Use auto-fill help text from menu-bar.el.
7963 2013-10-10 John Anthony <john@jo.hnanthony.com>
7965 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7967 2013-10-09 Juri Linkov <juri@jurta.org>
7969 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7970 instead of this-command-keys. Add universal-argument-more and
7971 universal-argument-minus to the list of prefix commands. (Bug#15568)
7973 2013-10-09 Glenn Morris <rgm@gnu.org>
7975 * vc/vc-svn.el (vc-svn-create-repo):
7976 Expand paths in file://... url. (Bug#15446)
7978 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7980 (authors): Remove unused local variables.
7982 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * profiler.el: Create a more coherent calltree from partial backtraces.
7985 (profiler-format): Hide the tail with `invisible' so that C-s can still
7986 find the hidden elements.
7987 (profiler-calltree-depth): Don't recurse so enthusiastically.
7988 (profiler-function-equal): New hash-table-test.
7989 (profiler-calltree-build-unified): New function.
7990 (profiler-calltree-build): Use it.
7991 (profiler-report-make-name-part): Indent the calltree less.
7992 (profiler-report-mode): Add visibility specs for profiler-format.
7993 (profiler-report-expand-entry, profiler-report-toggle-entry):
7994 Expand the whole subtree when provided with a prefix arg.
7996 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7998 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8000 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8001 hanging iuwu-mod token.
8002 (ruby-smie--forward-token): Do not include a dot after a token in
8004 (ruby-smie--backward-token): Likewise.
8006 2013-10-08 Juri Linkov <juri@jurta.org>
8008 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8009 to isearch-other-control-char.
8010 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8011 and isearch-post-command-hook to post-command-hook.
8012 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8013 and isearch-post-command-hook from post-command-hook.
8014 (isearch-unread-key-sequence)
8015 (isearch-reread-key-sequence-naturally)
8016 (isearch-lookup-scroll-key, isearch-other-control-char)
8017 (isearch-other-meta-char): Remove functions.
8018 (isearch-pre-command-hook, isearch-post-command-hook):
8019 New functions based on isearch-other-meta-char rewritten
8020 relying on the new behavior of overriding-terminal-local-map
8021 that does not replace the local keymaps any more. (Bug#15200)
8023 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8025 Support menus on text-mode terminals.
8026 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8029 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8031 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8032 Move here from mouse.el.
8033 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8035 (tty-menu-navigation-map): New map for TTY menu navigation.
8037 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8039 * frame.el (display-mouse-p): Report text-mode mouse as available
8041 (display-popup-menus-p): Report availability if mouse is
8042 available; don't condition on window-system.
8044 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8045 (tty-menu-selected-face): New faces.
8047 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8049 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8050 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8051 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8052 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8054 (lisp-mode-variables): New `elisp' argument.
8055 (emacs-lisp-mode): Use it.
8056 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8057 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8059 * indent.el: Use lexical-binding.
8060 (indent-region): Add progress reporter.
8061 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8063 (indent--next-tab-stop): New function to implement this behavior.
8064 (tab-to-tab-stop, move-to-tab-stop): Use it.
8066 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8068 * indent.el (indent-rigidly--current-indentation): New function.
8069 (indent-rigidly-map): New var.
8070 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8072 2013-10-08 Bastien Guerry <bzg@gnu.org>
8074 * register.el (insert-register): Fix 2013-10-07 change.
8076 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * progmodes/perl-mode.el: Use lexical-binding.
8079 Remove redundant :group args.
8080 (perl-nochange): Change default to be closer to other major modes's
8082 (perl-indent-line): Don't consider text on current line as a
8083 valid beginning of function from which to indent.
8085 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8086 with more than one argument (bug#15538).
8088 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8090 * vc/pcvs.el: Use lexical-binding.
8091 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8092 environment of `eval'.
8093 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8094 than a list of expressions. Adjust callers.
8095 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8097 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8099 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8100 case of the dot in a chained method call being on the following line.
8102 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * electric.el (electric-indent-inhibit): New var.
8105 (electric-indent-post-self-insert-function): Use it.
8106 * progmodes/python.el (python-mode): Set it.
8108 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8111 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8113 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8114 (css-mode): Use electric-indent-chars.
8116 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8117 (font-lock-beg, font-lock-end): Move before first use.
8118 (nxml-mode): Use syntax-propertize-function.
8119 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8120 (nxml-extend-after-change-region): Remove.
8121 * nxml/xmltok.el: Use lexical-binding.
8122 (xmltok-save): Use `declare'.
8123 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8124 * nxml/nxml-util.el: Use lexical-binding.
8125 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8127 * nxml/nxml-ns.el: Use lexical-binding.
8128 (nxml-ns-save): Use `declare'.
8129 (nxml-ns-prefixes-for): Avoid add-to-list.
8130 * nxml/rng-match.el: Use lexical-binding.
8131 (rng--ipattern): Use cl-defstruct.
8132 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8133 (rng-cons-group-after, rng-subst-group-after)
8134 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8135 Use closures instead of `(lambda...).
8137 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8139 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8142 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8143 Use `tramp-handle-insert-file-contents'.
8144 (tramp-gvfs-handle-insert-file-contents): Remove function.
8146 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8147 Use `save-restriction' in order to keep markers.
8149 * net/trampver.el: Update release number.
8151 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8153 * progmodes/compile.el (compilation-parse-errors):
8154 Use compilation--put-prop.
8155 (compilation--ensure-parse): Check compilation-multiline.
8157 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8159 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8162 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8164 * progmodes/ruby-mode.el: Fix recently added tests.
8165 (ruby-smie-grammar): Add - and +.
8166 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8167 (ruby-smie--backward-id): New functions.
8168 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8169 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8172 2013-10-07 Leo Liu <sdl.web@gmail.com>
8174 * register.el (register-preview-delay)
8175 (register-preview-functions): New variables.
8176 (register-read-with-preview, register-preview)
8177 (register-describe-oneline): New functions.
8178 (point-to-register, window-configuration-to-register)
8179 (frame-configuration-to-register, jump-to-register)
8180 (number-to-register, view-register, insert-register)
8181 (copy-to-register, append-to-register, prepend-to-register)
8182 (copy-rectangle-to-register): Use register-read-with-preview to
8183 read register. (Bug#15525)
8185 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8187 * net/network-stream.el (network-stream-open-starttls): Don't add
8188 --insecure if it's already present, because that gnutls-cli
8189 rejects getting that parameter twice.
8191 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8193 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8196 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8198 * newcomment.el (comment-use-global-state): Change default value
8199 to t, mark obsolete (Bug#15251).
8200 (comment-beginning): In addition to `comment-to-syntax', check the
8201 value of `comment-use-global-state'.
8203 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8206 (ruby-comment-column): Follow the global default, by default.
8207 (ruby-smie-grammar): Add assignment syntax.
8208 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8209 open-paren, a comma, or a \.
8210 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8211 and line continuations.
8212 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8213 followed by implicit semi-colons. Add rule for string concatenation
8214 and for indentation at BOB.
8215 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8217 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8218 calling next-sexp, since next-token may have skipped chars which
8219 next-sexp doesn't know should be skipped!
8221 2013-10-05 Leo Liu <sdl.web@gmail.com>
8223 * progmodes/octave.el (octave-send-region):
8224 Call compilation-forget-errors.
8226 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8228 * vc/vc-svn.el (vc-svn-find-admin-dir):
8229 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8230 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8231 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8232 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8234 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8238 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8240 * subr.el (read-passwd): Hide chars even when called within a context
8241 where after-change-functions is disabled (bug#15501).
8242 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8243 until we removed ourself from overriding-terminal-local-map.
8245 2013-10-04 Leo Liu <sdl.web@gmail.com>
8247 * progmodes/octave.el (inferior-octave-mode):
8248 Call compilation-forget-errors.
8250 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8252 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8254 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8256 * net/secrets.el (secrets-create-collection): Add optional
8257 argument ALIAS. Use proper Label keyword. Append ALIAS as
8258 dbus-call-method argument. (Bug#15516)
8260 2013-10-04 Leo Liu <sdl.web@gmail.com>
8262 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8263 (inferior-octave-compilation-font-lock-keywords): New variables.
8264 (compilation-error-regexp-alist)
8265 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8266 (inferior-octave-mode): Use compilation-shell-minor-mode.
8268 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8270 * minibuffer.el (completion--replace): Be careful that `end' might be
8273 2013-10-03 Daiki Ueno <ueno@gnu.org>
8275 Add support for package signature checking.
8276 * emacs-lisp/package.el (url-http-file-exists-p)
8277 (epg-make-context, epg-context-set-home-directory)
8278 (epg-verify-string, epg-context-result-for)
8279 (epg-signature-status, epg-signature-to-string)
8280 (epg-check-configuration, epg-configuration)
8281 (epg-import-keys-from-file): Declare.
8282 (package-check-signature): New user option.
8283 (package-unsigned-archives): New user option.
8284 (package-desc): Add `signed' field.
8285 (package-load-descriptor): Set `signed' field if .signed file exists.
8286 (package--archive-file-exists-p): New function.
8287 (package--check-signature): New function.
8288 (package-install-from-archive): Check package signature.
8289 (package--download-one-archive): Check archive signature.
8290 (package-delete): Remove .signed file.
8291 (package-import-keyring): New command.
8292 (package-refresh-contents): Import default keyring.
8293 (package-desc-status): Add "unsigned" status.
8294 (describe-package-1, package-menu--print-info)
8295 (package-menu-mark-delete, package-menu--find-upgrades)
8296 (package-menu--status-predicate): Support "unsigned" status.
8298 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8301 the new compilation scheme using the new byte-codes.
8303 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8304 (byte-pophandler): New byte codes.
8305 (byte-goto-ops): Adjust accordingly.
8306 (byte-compile--use-old-handlers): New var.
8307 (byte-compile-catch): Use new byte codes depending on
8308 byte-compile--use-old-handlers.
8309 (byte-compile-condition-case--old): Rename from
8310 byte-compile-condition-case.
8311 (byte-compile-condition-case--new): New function.
8312 (byte-compile-condition-case): New function that dispatches depending
8313 on byte-compile--use-old-handlers.
8314 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8317 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8318 Optimize under `condition-case' and `catch' if
8319 byte-compile--use-old-handlers is nil.
8320 (disassemble-offset): Handle new bytecodes.
8322 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8324 * subr.el (error): Use `declare'.
8325 (decode-char, encode-char): Use advertised-calling-convention instead
8326 of the docstring to discourage use of the `restriction' arg.
8328 2013-10-03 Daiki Ueno <ueno@gnu.org>
8330 * epg.el (epg-verify-file): Add a comment saying that it does not
8331 notify verification error as a return value nor a signal.
8332 (epg-verify-string): Ditto.
8334 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8336 * progmodes/compile.el (compilation-start): Try globbing the arg to
8339 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8341 Sync with Tramp 2.2.8.
8343 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8344 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8345 * net/trampver.el: Update release number.
8347 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8349 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8350 and default-process-coding-system for darwin only.
8352 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8354 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8356 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8358 * vc/vc-git.el (vc-git-grep): Disable pager.
8360 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8362 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8363 Use :url instead of :homepage, as per
8364 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8366 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8367 non-nil, use `syntax-ppss' (Bug#15251).
8369 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8371 * progmodes/octave.el (inferior-octave-startup-file):
8372 Prefer ~/.emacs.d/init_octave.m.
8374 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8376 * emacs-lisp/package.el (package-desc-from-define):
8377 Accept additional arguments as plist, convert them to an alist and store
8378 them in the `extras' slot.
8379 (package-generate-description-file): Convert extras alist back to
8380 plist and append to the `define-package' form arguments.
8381 (package--alist-to-plist): New function.
8382 (package--ac-desc): Add `extras' slot.
8383 (package--add-to-archive-contents): Check if the archive-contents
8384 vector is long enough, and if it is, pass its `extras' slot value
8385 to `package-desc-create'.
8386 (package-buffer-info): Call `lm-homepage', pass the returned value
8387 to `package-desc-from-define'.
8388 (describe-package-1): Render the homepage button (Bug#13291).
8390 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8391 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8393 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8395 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8396 and default-process-coding-system to utf-8-unix (Bug#15402).
8398 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8400 * subr.el (looking-back): Do not recommend using looking-back.
8402 2013-09-28 Alan Mackenzie <acm@muc.de>
8404 Fix indentation/fontification of Java enum with "implements".
8406 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8407 regexp which matches "implements", etc., in Java.
8408 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8409 specifier clauses coming after "enum".
8410 * progmodes/cc-fonts.el (c-font-lock-declarations)
8411 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8414 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8416 * faces.el (region): Change ns_selection_color to
8417 ns_selection_fg_color, add ns_selection_bg_color.
8419 2013-09-28 Leo Liu <sdl.web@gmail.com>
8421 * progmodes/octave.el (inferior-octave-completion-table)
8422 (inferior-octave-completion-at-point): Minor tweaks.
8424 * textmodes/ispell.el (ispell-lookup-words): Rename from
8425 lookup-words. (Bug#15460)
8426 (lookup-words): Obsolete.
8427 (ispell-complete-word, ispell-command-loop): All uses changed.
8429 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8431 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8432 (octave-mode-menu): Add octave-send-buffer.
8433 (octave-send-buffer): New function.
8435 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8437 * progmodes/octave.el (octave-mode-map): Add key binding for
8439 (octave-mode-menu): Add octave-lookfor.
8440 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8442 (octave-lookfor): New function.
8444 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8446 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8447 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8449 (cl--loop-set-iterator-function): New function.
8450 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8451 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8452 Bind `it' with `let' instead of substituting it with `cl-subst'.
8453 (cl--unused-var-p): New function.
8454 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8455 Eliminate some unused variable warnings (bug#15326).
8457 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8459 * doc-view.el (doc-view-scale-reset): Rename from
8460 `doc-view-reset-zoom-level'.
8461 (doc-view-scale-adjust): New command.
8462 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8463 `doc-view-scale-adjust'.
8465 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8467 * doc-view.el (doc-view-reset-zoom-level): New command.
8468 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8469 zoom commands (bug#15466).
8471 2013-09-26 Kenichi Handa <handa@gnu.org>
8473 * international/quail.el (quail-help): Make it not a command.
8475 2013-09-26 Leo Liu <sdl.web@gmail.com>
8477 * minibuffer.el (completion-all-sorted-completions): Make args
8478 optional as they are.
8480 2013-09-25 Daniel Colascione <dancol@dancol.org>
8482 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8483 specs are and that they're not evaluated.
8485 2013-09-24 Sam Steingold <sds@gnu.org>
8487 * midnight.el (clean-buffer-list-kill-regexps)
8488 (clean-buffer-list-kill-buffer-names): Update for the new Man
8489 buffer naming which includes the object name.
8491 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8493 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8494 (eshell-parse-command, eshell-parse-pipeline): Use it since
8495 eshell-separate-commands requires a dynamic scoped var.
8496 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8498 2013-09-23 Leo Liu <sdl.web@gmail.com>
8500 * autoinsert.el (auto-insert-alist): Make the value of
8501 lexical-binding match its file setting.
8503 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8505 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8507 * autoarg.el (autoarg-kp-digit-argument):
8508 * electric.el (Electric-command-loop):
8509 * kmacro.el (kmacro-step-edit-insert):
8510 Do not set universal-argument-num-events.
8512 2013-09-22 Leo Liu <sdl.web@gmail.com>
8514 * files.el (interpreter-mode-alist): Add octave.
8516 2013-09-21 Alan Mackenzie <acm@muc.de>
8518 C++: fontify identifier in declaration following "public:" correctly.
8519 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8520 to match "public", etc.
8521 (c-decl-prefix-re): Add ":" into the C++ value.
8522 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8523 bit. Add a check for a ":" preceded by "public", etc.
8525 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8527 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8528 recognized by GDB 7.5 and later.
8530 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8532 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8534 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * subr.el (internal--call-interactively): New const.
8537 (called-interactively-p): Use it (bug#3984).
8539 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8541 * vc/pcvs.el (cvs-mode-ignore):
8542 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8543 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8545 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8547 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8548 (eshell-ls-orig-insert-directory): Remove.
8549 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8550 (eshell-ls-use-in-dired): Use advice-add/remove.
8551 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8552 Add `orig-fun' arg for use in :around advice.
8553 Make it check (redundantly) eshell-ls-use-in-dired.
8555 2013-09-19 Glenn Morris <rgm@gnu.org>
8557 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8559 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8561 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8563 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8565 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8566 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8567 (tramp-get-remote-python): New defuns.
8568 (tramp-get-remote-uid-with-perl)
8569 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8570 contributed by yary <not.com@gmail.com> (tiny change).
8571 (tramp-get-remote-uid-with-python)
8572 (tramp-get-remote-gid-with-python): New defuns. Python code
8573 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8574 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8576 2013-09-19 Glenn Morris <rgm@gnu.org>
8578 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8580 * eshell/em-unix.el (eshell-remove-entries):
8581 Rename argument to avoid name-clash with global `top-level'.
8583 * eshell/esh-proc.el (eshell-kill-process-function):
8584 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8585 (eshell-reset-after-proc): Remove unused arg `proc'.
8587 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8588 (directory-files-and-attributes): Mark unused arg.
8590 * eshell/em-unix.el (eshell-remove-entries):
8591 Remove unused arg `path'. Update callers.
8593 * eshell/em-hist.el (eshell-hist-parse-arguments):
8594 Remove unused arg `silent'. Update callers.
8596 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8597 Fix (f)boundp mix-up.
8599 * eshell/em-smart.el (eshell-smart-scroll-window)
8600 (eshell-disable-after-change):
8601 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8603 2013-09-18 Alan Mackenzie <acm@muc.de>
8605 Fix fontification of type when followed by "const".
8606 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8607 "known" types from fontification.
8609 2013-09-18 Glenn Morris <rgm@gnu.org>
8611 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8612 (chart-face-list): Drop Emacsen without display-color-p.
8614 * net/eww.el (libxml-parse-html-region): Declare.
8615 (eww-display-html): Explicit error if no libxml2 support.
8617 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8619 * image.el (image-type-from-buffer, image-multi-frame-p):
8620 Remove --without-x warning/error.
8622 * mouse.el (mouse-yank-primary):
8623 * term.el (term-mouse-paste):
8624 Reorder to silence --without-x compilation.
8626 * mpc.el (doc-view-mode): Silence --without-x compilation.
8628 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8629 Silence --without-x compilation.
8631 * progmodes/gud.el (gud-find-file, gud-mode):
8632 Silence --without-x compilation.
8633 (tooltip-mode): Declare.
8635 * wdired.el (dired-backup-overwrite): Remove declaration.
8636 (wdired-mode-map): Add doc string.
8638 * custom.el (x-get-resource): Declare.
8640 * eshell/em-glob.el (ange-cache):
8641 * eshell/em-unix.el (ange-cache): Declare.
8643 * faces.el (x-display-list, x-open-connection, x-get-resource):
8646 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8647 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8650 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8652 * net/gnutls.el (gnutls-log-level): Declare.
8654 * net/shr.el (image-size, image-animate): Declare.
8656 * simple.el (font-info): Declare.
8658 * subr.el (x-popup-dialog): Declare.
8660 * term/common-win.el (x-select-enable-primary)
8661 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8664 * term/ns-win.el (x-handle-args): Declare.
8666 * term/x-win.el (x-select-enable-clipboard): Declare.
8668 * term/w32-win.el (create-default-fontset): Declare.
8670 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8673 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8674 (fit-frame-to-buffer): Explicit error if --without-x.
8675 (mouse-autoselect-window-select): Silence compiler.
8677 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8679 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8680 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8681 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8682 * eshell/esh-util.el (eshell-sublist):
8683 Remove unused local variables.
8685 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8687 * textmodes/two-column.el: Make 2C-split work for --without-x.
8688 (scroll-bar-columns): Autoload.
8689 (top-level): Require fringe when compiling.
8691 2013-09-18 Leo Liu <sdl.web@gmail.com>
8693 * subr.el (add-hook): Robustify to handle closure as well.
8695 2013-09-17 Glenn Morris <rgm@gnu.org>
8697 * simple.el (messages-buffer-mode-map): Unbind "g".
8699 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8701 * help-mode.el (help-mode-finish): Use derived-mode-p.
8702 Remove obsolete highlighting.
8704 * play/life.el (life-mode): Use define-derived-mode. Derive from
8706 (life): Let-bind inhibit-read-only.
8707 (life-setup): Avoid `setq'. Use `life-mode'.
8709 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8710 which should not be needed any more.
8711 (package-menu-refresh, package-menu-describe-package): Use user-error.
8713 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8714 (eshell-post-rewrite-command-hook): Make obsolete.
8715 (eshell-parse-command): Simplify.
8716 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8717 (eshell--cmd): Declare.
8718 (eshell-parse-pipeline): Remove unused var `final-p'.
8719 Pass a dynvar to eshell-post-rewrite-command-hook.
8720 Implement the new eshell-post-rewrite-command-function.
8721 (eshell-invoke-directly): Remove unused arg `input'.
8722 * eshell/esh-io.el (eshell-io-initialize):
8723 Use eshell-post-rewrite-command-function (bug#15399).
8724 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8725 adjust to new calling convention.
8726 (eshell-create-handles): Rename args to avoid clashing with dynvar
8729 2013-09-17 Glenn Morris <rgm@gnu.org>
8731 * simple.el (messages-buffer-mode): New major mode.
8732 (messages-buffer): New function.
8733 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8734 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8735 (ert-run-test): Use `messages-buffer' function.
8736 (ert--force-message-log-buffer-truncation): Ignore read-only.
8737 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8738 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8740 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8744 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8746 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8748 * icomplete.el (icomplete-in-buffer): New var.
8749 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8750 vars and replace them with functions.
8751 (icomplete-minibuffer-setup): Adjust accordingly.
8752 (icomplete--completion-table, icomplete--completion-predicate)
8753 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8755 (icomplete-forward-completions, icomplete-backward-completions)
8756 (icomplete-simple-completing-p, icomplete-exhibit)
8757 (icomplete-completions): Use them.
8758 (icomplete--in-region-buffer): New var.
8759 (icomplete--in-region-setup): New function.
8760 (icomplete-mode): Use it.
8762 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8764 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8765 return args and options.
8766 (eshell-eval-using-options): Use the new return value of
8767 eshell--do-opts to set the options's vars in their scope.
8768 (eshell--set-option): Rename from eshell-set-option.
8770 (eshell--process-option): Rename from eshell-process-option.
8772 (eshell--process-args): Use an `opt-vals' alist to store the options's
8773 values during their processing and return them additionally to the
8776 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8778 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8779 continuation character an operator, as far as indentation is
8780 concerned (Bug#15369).
8782 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8784 * window.el (window--state-put-2): Don't process buffer state
8785 when buffer doesn't exist any more (Bug#15382).
8787 2013-09-15 Glenn Morris <rgm@gnu.org>
8789 * eshell/em-unix.el (eshell/rm):
8790 Make -f ignore missing files. (Bug#15373)
8792 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8793 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8794 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8796 2013-09-14 Glenn Morris <rgm@gnu.org>
8798 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8800 2013-09-13 Glenn Morris <rgm@gnu.org>
8802 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8803 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8805 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8807 * frame.el (x-focus-frame): Mark as declared in frame.c.
8809 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8811 * ls-lisp.el: Use advice-add.
8812 (original-insert-directory): Remove.
8813 (ls-lisp--insert-directory): Rename from insert-directory; add
8814 `orig-fun' argument.
8815 (insert-directory): Advise.
8817 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8819 * term.el (term-emulate-terminal): Decode the command string
8820 before passing it to term-command-hook. (Bug#15337)
8822 2013-09-13 Glenn Morris <rgm@gnu.org>
8824 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8826 * eshell/esh-ext.el (eshell-search-path): Declare.
8828 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8829 Otherwise an error occurs if eshell-dirs module not loaded.
8831 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8833 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8835 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8836 `tramp-check-proper-host'. Check for a valid method name.
8838 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8839 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8840 * net/tramp-sh.el (tramp-maybe-open-connection):
8841 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8843 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8844 also for hash values.
8846 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * term/ns-win.el (parameters): Don't declare as dynamic.
8849 (before-make-frame-hook): Don't add ineffective function.
8851 * eshell/*.el: Use lexical-binding (bug#15231).
8853 2013-09-12 Kenichi Handa <handa@gnu.org>
8855 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8857 2013-09-12 Glenn Morris <rgm@gnu.org>
8859 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8860 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8862 * subr.el (do-after-load-evaluation): Also give compiler warnings
8863 when obsolete files are used (except by obsolete files).
8865 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8866 in the status output, assume `filename' is the first. (Bug#15322)
8868 * vc/vc.el (vc-deduce-fileset): Doc fix.
8870 * calc/calc-help.el (Info-goto-node):
8871 * progmodes/cperl-mode.el (Info-find-node):
8872 * vc/ediff.el (Info-goto-node): Update declarations.
8874 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8876 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8877 (vc-bzr-pull): Require vc-dispatcher.
8878 * vc/vc-git.el (vc-compilation-mode): Declare.
8879 (vc-git-pull): Require vc-dispatcher.
8881 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8883 * progmodes/octave.el (help-button-action): Declare.
8885 * shell.el (shell-directory-tracker): Output error as a message
8886 rather than just returning it as a string.
8887 (shell-process-pushd): Remove useless use of message.
8889 * dframe.el (dframe-timer-fn):
8890 * files.el (dir-locals-read-from-file):
8891 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8893 * reveal.el (reveal-post-command):
8894 * saveplace.el (load-save-place-alist-from-file):
8895 * shell.el (shell-resync-dirs):
8896 * w32-common-fns.el (x-get-selection-value):
8897 * emacs-lisp/copyright.el (copyright-find-copyright):
8898 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8899 * emulation/tpu-edt.el (tpu-copy-keyfile):
8900 * play/bubbles.el (bubbles--mark-neighbourhood):
8901 * progmodes/executable.el
8902 (executable-make-buffer-file-executable-if-script-p):
8903 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8905 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8907 Cleanup Eshell to rely less on dynamic scoping.
8908 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8909 last-value, and ext-command here. Bind `args' closer to `body'.
8910 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8911 (eshell--args): Declare new dynamic var.
8912 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8913 last-value, and ext-command. Pass `args' to `body'.
8914 (eshell-process-args): Bind eshell--args.
8915 (eshell-set-option): Use eshell--args.
8916 * eshell/eshell.el (eshell): Use derived-mode-p.
8917 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8918 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8919 (eshell-glob-function): Declare.
8920 * eshell/esh-util.el: Require cl-lib.
8921 (eshell-read-hosts-file): Avoid add-to-list.
8922 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8924 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8926 (eshell/diff): Remove unused var `err'.
8927 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8929 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8930 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8932 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8933 Move declaration before first use.
8934 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8935 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8938 2013-09-12 Glenn Morris <rgm@gnu.org>
8940 * term/ns-win.el (global-map): Remove binding for ispell-next,
8941 deleted 1999-05-29. (Bug#15357)
8943 2013-09-11 Glenn Morris <rgm@gnu.org>
8945 * echistory.el (electric-command-history): Remove call to deleted func.
8947 * play/landmark.el (landmark-mode): Fix typos.
8949 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8950 Check cvs-sort-ignore-file is bound.
8952 * savehist.el: No need for cl when compiling on Emacs.
8954 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8958 (eshell-self-insert-command, eshell-send-invisible):
8959 Remove unused argument.
8960 (eshell-handle-control-codes): Remove unused var `orig'.
8961 Avoid delete-backward-char.
8963 * files.el (set-auto-mode): Simplify a bit further.
8965 2013-09-11 Glenn Morris <rgm@gnu.org>
8967 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8968 (set-auto-mode): Don't regexp-quote elements.
8969 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8970 * progmodes/cc-mode.el (interpreter-mode-alist):
8971 * progmodes/ruby-mode.el (interpreter-mode-alist):
8972 Revert previous change.
8974 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8976 * play/snake.el (snake-mode):
8977 * play/mpuz.el (mpuz-mode):
8978 * play/landmark.el (lm-mode):
8979 * play/blackbox.el (blackbox-mode):
8980 * play/5x5.el (5x5-mode):
8981 * obsolete/options.el (Edit-options-mode):
8982 * net/quickurl.el (quickurl-list-mode):
8983 * net/newst-treeview.el (newsticker-treeview-mode):
8984 * mail/rmailsum.el (rmail-summary-mode):
8985 * mail/mspools.el (mspools-mode):
8986 * locate.el (locate-mode):
8987 * ibuffer.el (ibuffer-mode):
8988 * emulation/ws-mode.el (wordstar-mode):
8989 * emacs-lisp/debug.el (debugger-mode):
8990 * array.el (array-mode):
8991 * net/eudc.el (eudc-mode): Use define-derived-mode.
8992 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8993 Move initialization into declaration.
8994 (mairix-searches-mode): Use define-derived-mode.
8995 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8996 (eudc-edit-hotlist): Use dolist.
8997 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8998 (Man-mode): Use define-derived-mode.
8999 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9000 (Info-edit-mode): Use define-derived-mode.
9001 (Info-cease-edit): Use Info-mode.
9002 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9004 (eshell-mode): Use define-derived-mode.
9005 * chistory.el (command-history-mode-map): Rename from
9006 command-history-map.
9007 (command-history-mode): Use define-derived-mode.
9008 (Command-history-setup): Remove function.
9009 * calc/calc.el (calc-trail-mode-map): New var.
9010 (calc-trail-mode): Use define-derived-mode.
9011 (calc-trail-buffer): Set calc-main-buffer manually.
9012 * bookmark.el (bookmark-insert-annotation): New function.
9013 (bookmark-edit-annotation): Use it.
9014 (bookmark-edit-annotation-mode): Make it a proper major mode.
9015 (bookmark-send-edited-annotation): Use derived-mode-p.
9016 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9017 closer to its ideal place. Use \' to match EOS.
9019 * profiler.el (profiler-calltree-find): Use function-equal.
9021 2013-09-10 Glenn Morris <rgm@gnu.org>
9023 * files.el (interpreter-mode-alist): Convert to regexps.
9024 (set-auto-mode): Adapt for this. (Bug#15306)
9025 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9026 Comment out unused variable.
9027 * progmodes/cc-mode.el (interpreter-mode-alist):
9028 * progmodes/python.el (interpreter-mode-alist):
9029 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9030 * progmodes/sh-script.el (sh-set-shell):
9031 No longer use interpreter-mode-alist to get list of shells.
9033 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9035 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9037 * simple.el: Use set-temporary-overlay-map for universal-argument.
9038 (universal-argument-map): Don't use default-bindings (bug#15317).
9039 Bind switch-frame explicitly. Replace universal-argument-minus with
9040 a conditional binding.
9041 (universal-argument-num-events, saved-overriding-map): Remove.
9042 (restore-overriding-map): Remove.
9043 (universal-argument--mode): Rename from save&set-overriding-map,
9045 (universal-argument, universal-argument-more, negative-argument)
9046 (digit-argument): Adjust accordingly.
9047 (universal-argument-minus): Remove.
9048 (universal-argument-other-key): Remove.
9050 * subr.el (with-demoted-errors): Add `format' argument.
9052 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9054 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9055 `tramp-cleanup-connection'.
9057 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9058 parameters KEEP-DEBUG and KEEP-PASSWORD.
9060 * net/tramp.el (tramp-file-name-handler):
9061 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9062 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9063 (tramp-maybe-open-connection):
9064 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9065 Use `tramp-cleanup-connection'.
9067 * net/tramp-sh.el (tramp-maybe-open-connection):
9068 Catch 'uname-changed inside the progress reporter.
9070 2013-09-10 Glenn Morris <rgm@gnu.org>
9072 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9074 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9075 returns "alternate access method" in mode (eg "-rw-r--r--.").
9077 2013-09-08 Glenn Morris <rgm@gnu.org>
9079 * saveplace.el (load-save-place-alist-from-file):
9080 Demote errors. (Bug#15305)
9082 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9084 Improve compatibility with older Emacsen, and XEmacs.
9086 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9087 only if it is bound. It isn't for XEmacs.
9088 (with-tramp-progress-reporter): Do not let-bind `result'.
9089 This yields to scoping errors in XEmacs.
9090 (tramp-handle-make-auto-save-file-name): New function, moved from
9093 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9094 for `make-auto-save-file-name'.
9095 (tramp-adb--gnu-switches-to-ash):
9096 Use `tramp-compat-replace-regexp-in-string'.
9098 * net/tramp-cache.el (tramp-cache-print): Call
9099 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9101 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9102 bound. It isn't for XEmacs.
9104 * net/tramp-compat.el (tramp-compat-copy-file):
9105 Catch `wrong-number-of-arguments' error.
9106 (tramp-compat-replace-regexp-in-string): New defun.
9108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9109 for `make-auto-save-file-name'.
9110 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9112 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9113 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9114 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9116 * net/tramp-gw.el (tramp-gw-open-network-stream):
9117 Use `tramp-compat-replace-regexp-in-string'.
9119 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9120 Call `tramp-handle-make-auto-save-file-name'.
9121 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9122 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9123 (tramp-sh-file-inotifywait-process-filter):
9124 Use `tramp-compat-replace-regexp-in-string'.
9125 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9127 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9128 for `make-auto-save-file-name'.
9129 (tramp-smb-handle-copy-directory):
9130 Call `tramp-compat-replace-regexp-in-string'.
9131 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9132 (tramp-smb-handle-copy-file): Improve error message.
9133 (tramp-smb-handle-rename-file): Rename directly only in case
9134 `newname' does not exist yet. This is a restriction of smbclient.
9135 (tramp-smb-maybe-open-connection): Rerun the function only when
9136 `auth-sources' is non-nil.
9138 2013-09-08 Kenichi Handa <handa@gnu.org>
9140 * international/characters.el: Set category "^" (Combining) for
9143 2013-09-07 Alan Mackenzie <acm@muc.de>
9145 Correctly fontify Java class constructors.
9146 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9148 (c-recognize-typeless-decls): Set the Java value to t.
9149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9150 While handling a "(", add a check for, effectively, Java, and handle a
9151 "typeless" declaration there.
9153 2013-09-07 Roland Winkler <winkler@gnu.org>
9155 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9156 field subtitle for entry type book.
9158 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9160 * minibuffer.el: Make minibuffer-complete call completion-in-region
9161 rather than other way around.
9162 (completion--some, completion-pcm--find-all-completions):
9163 Don't delay signals when debugging.
9164 (minibuffer-completion-contents): Beware fields within the
9165 minibuffer contents.
9166 (completion-all-sorted-completions): Use defvar-local.
9167 (completion--do-completion, completion--cache-all-sorted-completions)
9168 (completion-all-sorted-completions, minibuffer-force-complete):
9169 Add args `beg' and `end'.
9170 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9171 (minibuffer-complete): Use completion-in-region.
9172 (completion-complete-and-exit): New fun, extracted from
9173 minibuffer-complete-and-exit.
9174 (minibuffer-complete-and-exit): Use it.
9175 (completion--complete-and-exit): Rename from
9176 minibuffer--complete-and-exit.
9177 (completion-in-region--single-word): New function, extracted from
9178 minibuffer-complete-word.
9179 (minibuffer-complete-word): Use it.
9180 (display-completion-list): Make `common-substring' argument obsolete.
9181 (completion--in-region): Call completion--in-region-1 instead of
9182 minibuffer-complete.
9183 (completion-help-at-point): Pass boundaries to
9184 minibuffer-completion-help as args rather than via an overlay.
9185 (completion-pcm--string->pattern): Use `any-delim'.
9186 (completion-pcm--optimize-pattern): New function.
9187 (completion-pcm--pattern->regex): Handle `any-delim'.
9188 * icomplete.el (icomplete-forward-completions)
9189 (icomplete-backward-completions, icomplete-completions):
9190 Adjust calls to completion-all-sorted-completions and
9191 completion--cache-all-sorted-completions.
9192 (icomplete-with-completion-tables): Default to t.
9193 * emacs-lisp/crm.el (crm--current-element): Rename from
9194 crm--select-current-element. Don't put an overlay but return the
9196 (crm--completion-command): Take two new args to bind to the boundaries.
9197 (crm-completion-help): Adjust accordingly.
9198 (crm-complete): Use completion-in-region.
9199 (crm-complete-word): Use completion-in-region--single-word.
9200 (crm-complete-and-exit): Use completion-complete-and-exit.
9202 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9204 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9207 2013-09-06 Juri Linkov <juri@jurta.org>
9209 * info.el (Info-display-images-node): When image file doesn't exist
9210 display text version of the image if it's provided in the Info file.
9211 Otherwise, display the location of missing image from SRC attribute.
9212 Add help-echo text property from ALT attribute. (Bug#15279)
9214 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9216 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9217 (edit-abbrevs-mode): Use define-derived-mode.
9219 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9220 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9222 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9223 Use define-derived-mode.
9225 * epg.el (epg-start-encrypt): Minor CSE simplification.
9227 2013-09-06 William Xu <william.xwl@gmail.com>
9229 * arc-mode.el: Add support for 7za (bug#15264).
9230 (archive-7z-program): New var.
9231 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9232 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9233 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9235 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9239 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9240 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9241 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9242 (tramp-postfix-host-format, tramp-file-name-regexp)
9243 (tramp-completion-file-name-regexp)
9244 (tramp-completion-dissect-file-name)
9245 (tramp-handle-substitute-in-file-name): Remove 'url case.
9246 (tramp-file-name-regexp-url)
9247 (tramp-completion-file-name-regexp-url): Remove constants.
9249 2013-09-06 Glenn Morris <rgm@gnu.org>
9251 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9253 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9255 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9256 keywords" below "here-doc beginnings" (Bug#15270).
9258 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9260 * subr.el (pop): Use `car-safe'.
9261 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9262 to detect unused `pop' return value.
9264 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9266 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9267 (python-fill-string): Remove unused var `marker'.
9268 (python-skeleton-add-menu-items): Remove unused var `items'.
9270 * international/mule-cmds.el: Require CL.
9271 (find-coding-systems-for-charsets): Avoid add-to-list.
9272 (sanitize-coding-system-list): New function, extracted from
9273 select-safe-coding-system-interactively.
9274 (select-safe-coding-system-interactively): Use it.
9275 (read-input-method-name): Accept symbols for `default'.
9277 * emacs-lisp/advice.el (defadvice): Add indent rule.
9279 2013-09-05 Daniel Hackney <dan@haxney.org>
9283 * net/browse-url.el:
9286 * net/eudcb-ldap.el:
9299 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9300 byte compiler. Remove some unused let-bound variables.
9302 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9305 a "ref-cell", since it gets better optimized (bug#14883).
9307 2013-09-05 Glenn Morris <rgm@gnu.org>
9309 * progmodes/cc-awk.el (c-forward-sws): Declare.
9311 2013-09-04 Glenn Morris <rgm@gnu.org>
9313 * generic-x.el [rul-generic-mode]: Require cc-mode.
9314 (c++-mode-syntax-table): Declare.
9315 (rul-generic-mode-syntax-table): Init in the defvar.
9317 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9320 (vc-do-command, vc-set-async-update):
9321 * vc/vc-mtn.el (vc-mtn-dir-status):
9322 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9323 (vc-hg-pull, vc-hg-merge-branch):
9324 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9325 (vc-git-merge-branch):
9326 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9327 (vc-cvs-dir-status-files):
9328 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9329 (vc-bzr-dir-status-files):
9330 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9331 * vc/vc-annotate.el: Use lexical-binding.
9332 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9333 (vc-sentinel-movepoint): Declare.
9334 (vc-annotate): Don't use `goto-line'.
9335 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9336 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9337 (vc-sentinel-movepoint): Declare.
9338 * vc/vc-svn.el: Use lexical-binding.
9339 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9341 * vc/vc-rcs.el: Use lexical-binding.
9343 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9344 `deleted'. Don't drop errors silently.
9346 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9348 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9350 * vc/vc.el (vc-ignore): Rewrite.
9351 (vc-default-ignore): New function.
9352 (vc-default-ignore-completion-table): Use find-ignore-file.
9354 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9355 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9356 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9357 Remove. Most code moved to vc.el.
9359 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9362 * net/tramp-smb.el (tramp-smb-get-file-entries):
9363 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9364 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9366 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9368 (eww-change-select): Remove unused var `properties'.
9369 (eww-make-unique-file-name): Remove unused var `base'.
9371 * finder.el (finder-compile-keywords): Don't mess with windows.
9373 * calculator.el (calculator-funcall): Fix typo in last change.
9375 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9377 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9378 <pkg>-autoloads.el file stop us.
9380 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9381 warnings, and factor out common code.
9383 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9385 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9386 two-character operators and whether the character preceding them
9387 changes their meaning (Bug#15208).
9389 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9391 Format code sent to Python shell for robustness.
9392 * progmodes/python.el (python-shell-buffer-substring):
9394 (python-shell-send-region, python-shell-send-buffer): Use it.
9396 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9398 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9399 * net/tramp.el (tramp-user-error): ... here.
9400 (tramp-find-method, tramp-check-proper-host)
9401 (tramp-dissect-file-name, tramp-debug-message)
9402 (tramp-handle-shell-command):
9403 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9404 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9406 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9408 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9410 * avoid.el (mouse-avoidance-point-position)
9411 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9414 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9416 * progmodes/python.el (python-shell-completion-get-completions):
9417 Drop use of deleted `comint-last-prompt-overlay'.
9418 (python-nav-if-name-main): New command.
9420 2013-09-01 Glenn Morris <rgm@gnu.org>
9422 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9423 Avoid leading space in $wins. Otherwise the sed command used by
9424 eg compile-main ends up containing "/*.el". (Bug#15170)
9426 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9428 2013-08-30 Glenn Morris <rgm@gnu.org>
9430 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9431 Fix is-this-a-directory logic. (Bug#15220)
9433 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9435 * textmodes/css-mode.el: Use SMIE.
9436 (css-smie-grammar): New var.
9437 (css-smie--forward-token, css-smie--backward-token)
9438 (css-smie-rules): New functions.
9439 (css-mode): Use them.
9440 (css-navigation-syntax-table): Remove var.
9441 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9442 (css-indent-calculate, css-indent-line): Remove functions.
9444 Misc changes to reduce use of `(lambda...); and other cleanups.
9445 * cus-edit.el: Use lexical-binding.
9446 (customize-push-and-save, customize-apropos)
9447 (custom-buffer-create-internal): Use closures.
9448 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9449 * progmodes/ada-xref.el: Use setq.
9450 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9451 * dframe.el: Use lexical-binding.
9452 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9453 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9454 * descr-text.el: Use lexical-binding.
9455 (describe-text-widget, describe-text-sexp, describe-property-list):
9457 * comint.el (comint-history-isearch-push-state): Use a closure.
9458 * calculator.el: Use lexical-binding.
9459 (calculator-number-to-string): Make it work with lexical-binding.
9460 (calculator-funcall): Same and use cl-letf.
9462 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9463 (lisp--company-doc-string, lisp--company-location): New functions.
9464 (lisp-completion-at-point): Use them to improve Company support.
9466 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9467 params of lambda expressions.
9468 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9469 (ruby-smie--opening-pipe-p): New function.
9470 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9471 symbols and matched |...| for formal params.
9472 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9473 from being treated as hanging. Handle "rescue".
9475 2013-08-29 Glenn Morris <rgm@gnu.org>
9477 * progmodes/cc-engine.el (c-pull-open-brace):
9478 Move definition before use.
9480 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9482 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9483 are immutable. Don't use `unsafe' any more.
9484 (cl--defsubst-expand): Don't substitute at the same time as keeping
9485 a residual unused let-binding. Don't use `unsafe' any more.
9487 2013-08-29 Glenn Morris <rgm@gnu.org>
9489 * calendar/cal-china.el (calendar-chinese-year-cache):
9492 * nxml/nxml-util.el (nxml-debug-clear-inside):
9493 Use cl-loop rather than loop.
9495 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9497 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9499 2013-08-28 Glenn Morris <rgm@gnu.org>
9501 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9503 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9505 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9507 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9509 * simple.el (repeat-complex-command--called-interactively-skip):
9511 (repeat-complex-command): Use it (bug#14136).
9513 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9514 (c-define-abbrev-table): Add `doc' argument.
9515 (c-mode-abbrev-table, c++-mode-abbrev-table)
9516 (objc-mode-abbrev-table, java-mode-abbrev-table)
9517 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9518 (awk-mode-abbrev-table): Use it.
9519 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9520 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9521 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9522 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9523 Move initialization into the declaration; and remove any
9526 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9527 and dynamic let binding.
9529 * vc/smerge-mode.el: Remove redundant :group args.
9531 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9534 2013-08-28 Juri Linkov <juri@jurta.org>
9536 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9537 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9538 (isearch-other-meta-char): Handle an undefined shifted printing
9539 character by downshifting it. (Bug#15200)
9541 2013-08-28 Juri Linkov <juri@jurta.org>
9543 * isearch.el (isearch-search): Change regexp error message for
9544 non-regexp searches. (Bug#15166)
9546 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9548 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9549 for portability to hosts where /bin/sh has problems.
9551 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9553 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9555 2013-08-27 Juri Linkov <juri@jurta.org>
9557 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9558 in the keyboard macro. (Bug#15126)
9560 2013-08-27 Juri Linkov <juri@jurta.org>
9562 * isearch.el (isearch-quote-char): Comment out converting unibyte
9563 to multibyte, thus syncing with its `quoted-insert' counterpart.
9566 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9568 * window.el (display-buffer-use-some-window): Add missing
9569 argument in call of get-largest-window (Bug#15185).
9570 Reported by Stephen Leake.
9572 2013-08-27 Glenn Morris <rgm@gnu.org>
9574 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9576 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9578 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9579 from a matcher-function unless there's no more matches (bug#15161).
9581 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9583 * minibuffer.el: Revert change from 2013-08-20.
9585 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9586 with text property `tramp-default', if appropriate.
9587 (tramp-check-proper-host): New defun.
9588 (tramp-dissect-file-name): Do not check hostname. Revert change
9590 (tramp-backtrace): Make VEC-OR-PROC optional.
9592 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9593 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9594 * net/tramp-sh.el (tramp-maybe-open-connection):
9595 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9596 Apply `tramp-check-proper-host'.
9598 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9600 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9601 lambda expression in order to have `describe-variable' display it.
9603 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9605 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9606 BUF can be optional. (Bug#15186)
9608 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9610 * progmodes/flymake.el (flymake-get-real-file-name-function):
9611 Fix broken customization. (Bug#15184)
9613 2013-08-25 Alan Mackenzie <acm@muc.de>
9615 Improve indentation of bracelists defined by macros (without "=").
9617 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9618 expansion begins with "{", regard it as bracelist when it doesn't
9621 Parse C++ inher-intro when there's a template split over 2 lines.
9623 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9624 rigorously the search for "class" etc. followed by ":".
9626 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9627 random languages a regexp which never matches rather than nil.
9629 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9631 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9632 (c-awk-regexp-one-line-possibly-open-char-list-re)
9633 (c-awk-one-line-possibly-open-regexp-re)
9634 (c-awk-one-line-non-syn-ws*-re): Remove.
9635 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9636 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9637 (c-awk-space*-unclosed-regexp-/-re): New constants.
9638 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9639 aren't regexp delimiters.
9641 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9642 handling for a rare situation in AWK Mode involving unterminated
9645 2013-08-23 Glenn Morris <rgm@gnu.org>
9647 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9649 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9651 * files.el (create-file-buffer): If the result would begin with
9652 spaces, prepend a "|" instead of removing them. (Bug#15162)
9654 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9656 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9657 text-properties (bug#15155).
9659 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9661 (calc-keypad-redraw): Remove unused var `pad'.
9662 (calc-keypad-press): Remove unused var `menu'.
9664 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9666 * window.el (display-buffer-pop-up-frame):
9667 Call pop-up-frame-function with BUFFER current so `make-frame' will
9668 use it as the new frame's buffer (Bug#15133).
9670 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9672 * calendar/timeclock.el: Minor cleanups.
9673 (timeclock-ask-before-exiting, timeclock-use-display-time):
9675 (timeclock-modeline-display): Define as alias before the
9677 (timeclock-mode-line-display): Use define-minor-mode.
9678 (timeclock-day-list-template): Make it a function, add an argument.
9679 (timeclock-day-list-required, timeclock-day-list-length)
9680 (timeclock-day-list-debt, timeclock-day-list-span)
9681 (timeclock-day-list-break): Adjust calls accordingly.
9683 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9685 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9686 Use read--expression so that completion works again.
9688 2013-08-21 Sam Steingold <sds@gnu.org>
9690 Add rudimentary inferior shell interaction
9691 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9692 (sh-set-shell): Reset it.
9693 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9694 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9696 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9698 * align.el: Use lexical-binding.
9699 (align-region): Simplify accordingly.
9701 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9703 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9705 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9708 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9712 * net/tramp-cmds.el:
9714 * net/tramp-gvfs.el:
9716 * net/tramp-sh.el: Don't wrap external variable declarations by
9717 `eval-when-compile'.
9719 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9721 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9722 now that Emacs supports ImageMagick animations.
9724 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9726 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9727 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9729 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9731 * window.el (mouse-autoselect-window-select): Do autoselect when
9732 mouse pointer is on margin.
9734 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9736 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9738 2013-08-16 Glenn Morris <rgm@gnu.org>
9740 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9741 Handle "Remote Directory" response of some clients. (Bug#15058)
9743 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9744 Tweak warning. (Bug#14926)
9746 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9747 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9749 * image-mode.el (image-mode-map): Add menu items to reverse,
9750 increase, decrease, reset animation speed.
9751 (image--set-speed, image-increase-speed, image-decrease-speed)
9752 (image-reverse-speed, image-reset-speed): New functions.
9753 (image-mode-map): Add bindings for speed commands.
9755 * image.el (image-animate-get-speed, image-animate-set-speed):
9757 (image-animate-timeout): Respect image :speed property.
9759 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9762 previous line (bug#15101).
9763 (debugger-eval-expression, debugger-record-expression):
9764 Use read--expression (bug#15102).
9766 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9768 Remove byte compiler warnings, visible when compiling with
9769 `byte-compile-force-lexical-warnings' set to t.
9771 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9772 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9773 (tramp-handle-unhandled-file-name-directory)
9774 (tramp-handle-file-notify-add-watch, tramp-action-login)
9775 (tramp-action-succeed, tramp-action-permission-denied)
9776 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9779 * net/tramp-adb.el (tramp-adb-parse-device-names)
9780 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9781 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9782 (tramp-adb-handle-file-truename): Remove unused arguments.
9784 * net/tramp-cache.el (tramp-flush-directory-property)
9785 (tramp-flush-connection-property, tramp-list-connections)
9786 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9788 * net/tramp-compat.el (tramp-compat-make-temp-file):
9789 Rename FILENAME to F.
9791 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9792 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9793 (tramp-zeroconf-parse-workstation-device-names)
9794 (tramp-zeroconf-parse-webdav-device-names)
9795 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9797 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9798 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9800 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9802 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9803 (tramp-sh-handle-insert-file-contents-literally)
9804 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9806 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9807 Remove unused variables.
9809 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9810 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9811 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9813 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9814 Make them a defconst.
9815 (tramp-uuencode-region): Remove unused variable.
9817 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9819 * frameset.el (frameset--prop-setter): New function.
9820 (frameset-prop): Add gv-setter declaration.
9821 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9822 parameter was already set in FILTERED. Doc fix.
9823 (frameset--record-minibuffer-relationships): Allow saving a
9824 minibufferless frame without its corresponding minibuffer frame.
9825 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9826 frame, if the frame id matches.
9827 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9828 frames before orphaned ones.
9829 (frameset-restore): Warn about orphaned windows, instead of error out.
9831 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9833 * window.el (window-make-atom): Don't overwrite parameter
9835 (display-buffer-in-atom-window): Handle special case where we
9836 split an already atomic window.
9837 (window--major-non-side-window, display-buffer-in-side-window)
9838 (window--side-check): Ignore minibuffer window when walking
9840 (window-deletable-p): Return 'frame only if no other frame uses
9841 our minibuffer window.
9842 (record-window-buffer): Run buffer-list-update-hook.
9843 (split-window): Make sure window--check-frame won't destroy an
9844 existing atomic window in case the new window gets nested
9846 (display-buffer-at-bottom): Ignore minibuffer window when
9847 walking window tree. Don't split a side window.
9848 (pop-to-buffer): Don't set-buffer here, the select-window call
9850 (mouse-autoselect-window-select): Autoselect only if we are in the
9851 text portion of the window.
9853 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9855 * net/shr.el (shr-parse-image-data): New function to grab both the
9856 data itself and the Content-Type.
9857 (shr-put-image): Use it.
9859 * net/eww.el (eww-display-image): Ditto.
9861 * image.el (image-content-type-suffixes): New variable.
9863 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9865 * progmodes/python.el (python-imenu--build-tree)
9866 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9868 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9870 * simple.el (backward-word): Mention the optional argument.
9872 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9874 * frameset.el (frameset--make): Rename constructor from make-frameset.
9875 (frameset-p, frameset-valid-p): Don't autoload.
9876 (frameset-valid-p): Use normal accessors.
9878 2013-08-13 Glenn Morris <rgm@gnu.org>
9880 * progmodes/compile.el (compile-command): Tweak example in doc.
9881 * obsolete/scribe.el (scribe-mode):
9882 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9884 * mail/feedmail.el (feedmail-confirm-outgoing)
9885 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9887 * cus-start.el (truncate-partial-width-windows): Fix type.
9889 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9891 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9893 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * emacs-lisp/timer.el (timer--time-setter): New function.
9896 (timer--time): Use it as gv-setter.
9898 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9899 setter is not a symbol.
9901 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9903 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9904 if sending fails. This makes debugging easier.
9906 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9908 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9909 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9910 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9912 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9914 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9916 2013-08-12 Glenn Morris <rgm@gnu.org>
9918 * format.el (format-annotate-function):
9919 Handle read-only text properties in the source. (Bug#14887)
9921 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9923 * net/eww.el (eww-display-html): Ignore coding system errors.
9924 One web site uses "utf-8lias" as the coding system.
9926 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9928 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9930 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9932 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9933 (tutorial--detailed-help): Remove unused local variables.
9934 (tutorial--save-tutorial-to): Use ignore-errors.
9935 (help-with-tutorial): Use looking-at-p.
9937 * view.el (view-buffer-other-window, view-buffer-other-frame):
9938 Mark unused arguments.
9940 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9941 (woman-select-symbol-fonts, woman, woman-find-file)
9942 (woman-insert-file-contents, woman-non-underline-faces):
9944 (woman1-unquote): Move declaration.
9946 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9947 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9948 argument. Remove unused local variable.
9949 (xml-parse-elem-type): Use string-match-p.
9950 (xml-substitute-numeric-entities): Use ignore-errors.
9952 * calculator.el (calculator): Mark unused argument.
9953 (calculator-paste, calculator-quit, calculator-integer-p):
9955 (calculator-string-to-number, calculator-decimal, calculator-exp)
9956 (calculator-op-or-exp): Use string-match-p.
9958 * dired.el (dired-buffer-more-recently-used-p): Declare.
9959 (dired-insert-set-properties, dired-insert-old-subdirs):
9962 * dired-aux.el (dired-compress): Use ignore-errors.
9963 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9964 (dired-do-async-shell-command, dired-do-shell-command)
9965 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9966 (dired-insert-subdir-validate): Use string-match-p.
9967 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9968 (dired-add-entry): Use string-match-p, looking-at-p.
9969 (dired-insert-subdir-newpos): Remove unused local variable.
9971 * filenotify.el (file-notify-callback): Remove unused local variable.
9973 * filesets.el (filesets-error): Mark unused argument.
9974 (filesets-which-command-p, filesets-filter-dir-names)
9975 (filesets-directory-files, filesets-get-external-viewer)
9976 (filesets-ingroup-get-data): Use string-match-p.
9978 * find-file.el (ff-other-file-name, ff-other-file-name)
9979 (ff-find-the-other-file, ff-cc-hh-converter):
9980 Remove unused local variables.
9981 (ff-get-file-name): Use string-match-p.
9982 (ff-all-dirs-under): Use ignore-errors.
9984 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9985 (follow-select-if-visible): Remove unused local variable.
9987 * forms.el (read-file-filter): Move declaration.
9988 (forms--make-format, forms--make-parser, forms-insert-record):
9989 Quote function with #'.
9990 (forms--update): Use string-match-p. Quote function with #'.
9992 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9993 (help-make-xrefs): Use looking-at-p.
9994 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9996 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9997 (ibuffer-confirm-operation-on): Use string-match-p.
9999 * msb.el (msb-item-handler, msb-dired-item-handler):
10000 Mark unused arguments.
10002 * ses.el (ses-decode-cell-symbol)
10003 (ses-kill-override): Remove unused local variable.
10004 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10005 (ses-load): Use ignore-errors, looking-at-p.
10006 (ses-jump-safe): Use ignore-errors.
10007 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10009 * tabify.el (untabify, tabify): Mark unused arguments.
10011 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10012 Mark unused argument.
10013 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10014 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10016 * emacs-lisp/timer.el (timer--time): Define setter with
10017 gv-define-setter to avoid deprecation warning.
10019 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10020 (*record-cmpl-statistics-p*): Remove (was commented out).
10021 (cmpl-statistics-block): Remove (body was commented out).
10022 All callers changed.
10023 (add-completions-from-buffer, load-completions-from-file):
10024 Remove unused variables.
10026 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10028 * filecache.el (file-cache-delete-file-list):
10029 Print message only when told so.
10030 (file-cache-files-matching): Use #' in mapconcat argument.
10032 * ffap.el (ffap-url-at-point): Fix reference to variable
10033 thing-at-point-default-mail-uri-scheme.
10035 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10037 * subr.el (define-error): New function.
10038 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10039 error-file-not-found and define with define-error.
10040 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10041 and define with define-error.
10042 * userlock.el (file-locked, file-supersession):
10043 * simple.el (mark-inactive):
10044 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10045 * progmodes/ada-mode.el (ada-mode-errors):
10046 * play/life.el (life-extinct):
10047 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10048 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10049 * nxml/rng-util.el (rng-error):
10050 * nxml/rng-uri.el (rng-uri-error):
10051 * nxml/rng-match.el (rng-compile-error):
10052 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10053 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10054 * nxml/nxml-rap.el (nxml-scan-error):
10055 * nxml/nxml-outln.el (nxml-outline-error):
10056 * net/soap-client.el (soap-error):
10057 * net/gnutls.el (gnutls-error):
10058 * net/ange-ftp.el (ftp-error):
10059 * mpc.el (mpc-proc-error):
10060 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10061 (json-number-format, json-string-escape, json-string-format)
10062 (json-key-format, json-object-format):
10063 * jka-compr.el (compression-error):
10064 * international/quail.el (quail-error):
10065 * international/kkc.el (kkc-error):
10066 * emacs-lisp/ert.el (ert-test-failed):
10067 * calc/calc.el (calc-error, inexact-result, math-overflow)
10069 * bookmark.el (bookmark-error-no-filename):
10070 * epg.el (epg-error): Define with define-error.
10072 * time.el (display-time-event-handler)
10073 (display-time-next-load-average): Don't call sit-for since it seems
10074 unnecessary (bug#15045).
10076 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10077 Use #' instead of ' to quote functions.
10078 (checkdoc-output-mode): Use setq-local.
10079 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10080 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10081 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10082 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10083 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10084 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10085 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10086 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10088 * ido.el (ido-completion-help): Fix up compiler warning.
10090 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10092 * frameset.el (frameset-p): Add autoload cookie.
10093 (frameset--jump-to-register): New function, based on code moved from
10095 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10097 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10098 (frameset-restore, frameset-save, frameset-session-filter-alist):
10099 Remove declarations.
10100 (register-alist): Doc fix.
10101 (frameset-to-register): Move to frameset.el.
10102 (jump-to-register, describe-register-1): Remove frameset-specific code.
10104 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10106 * allout-widgets.el (allout-widgets-pre-command-business)
10107 (allout-widgets-post-command-business)
10108 (allout-widgets-after-change-handler)
10109 (allout-decorate-item-and-context, allout-set-boundary-marker)
10110 (allout-body-modification-handler)
10111 (allout-graphics-modification-handler): Mark ignored arguments.
10112 (allout-widgets-post-command-business)
10113 (allout-widgets-exposure-change-processor)
10114 (allout-widgets-exposure-undo-processor)
10115 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10116 (allout-parse-item-at-point, allout-decorate-item-guides)
10117 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10118 * allout.el (epa-passphrase-callback-function): Declare.
10119 (allout-overlay-insert-in-front-handler)
10120 (allout-overlay-interior-modification-handler)
10121 (allout-isearch-end-handler, allout-chart-siblings)
10122 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10123 (allout-yank-processing, allout-process-exposed)
10124 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10125 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10126 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10127 (lisp-indent-defform): Mark ignored arguments.
10128 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10129 (calculate-lisp-indent): Remove unused variables.
10130 * international/characters.el (indian-2-column, arabic-2-column)
10131 (tibetan): Mark ignored arguments.
10132 (use-cjk-char-width-table): Mark ignored arguments.
10133 Remove unused variables.
10134 * international/fontset.el (build-default-fontset-data)
10135 (x-compose-font-name, create-fontset-from-fontset-spec):
10136 Mark ignored arguments.
10137 (fontset-plain-name): Remove unused variables.
10138 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10139 (keyboard-coding-system): Mark ignored arguments.
10140 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10141 * help.el (resize-temp-buffer-window):
10142 * window.el (display-buffer-in-major-side-window)
10143 (display-buffer-in-side-window, display-buffer-in-previous-window):
10144 Remove unused variables.
10145 * isearch.el (isearch-forward-symbol):
10146 * version.el (emacs-bzr-version-bzr):
10147 * international/mule-cmds.el (current-language-environment):
10148 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10149 (x-handle-display):
10150 * term/pc-win.el (x-list-fonts, x-display-planes)
10151 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10152 (x-server-version, x-display-screens, x-display-mm-height)
10153 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10154 (x-selection-owner-p, x-own-selection-internal)
10155 (x-disown-selection-internal, x-get-selection-internal)
10156 (msdos-initialize-window-system):
10157 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10158 * term/x-win.el (x-handle-no-bitmap-icon):
10159 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10160 (vc-default-find-file-hook, vc-default-extra-menu):
10161 Mark ignored arguments.
10163 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10165 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10166 break-condition in the context of the debugged code (bug#12685).
10168 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10171 Do not use an overlay to highlight the last prompt. (Bug#14744)
10172 (comint-mode): Make comint-last-prompt buffer local.
10173 (comint-last-prompt): New variable.
10174 (comint-last-prompt-overlay): Remove. Superseded by
10175 comint-last-prompt.
10176 (comint-snapshot-last-prompt, comint-output-filter):
10177 Use comint-last-prompt.
10179 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10181 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10182 (frameset-save): Check validity of the resulting frameset.
10184 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10186 * ido.el (ido-record-command): Add doc string.
10188 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10190 * frameset.el (frameset): Do not disable creation of the default
10191 frameset-p predicate. Doc fix.
10192 (frameset-valid-p): New function, copied from the old predicate-p.
10193 Add additional checks.
10194 (frameset-restore): Check with frameset-valid-p.
10195 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10196 (frameset-name, frameset-description, frameset-properties)
10197 (frameset-states): Add docstring.
10198 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10199 (frameset-filter-alist): Doc fixes.
10201 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10203 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10205 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10207 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10208 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10209 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10210 (byte-compile-normal-call): Remove obsolescence check.
10212 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10214 * frameset.el (frameset-restore): Doc fix.
10216 * register.el (frameset-frame-id, frameset-frame-with-id)
10217 (frameset-p, frameset-restore, frameset-save): Declare.
10218 (register-alist): Document framesets.
10219 (frameset-session-filter-alist): Declare.
10220 (frameset-to-register): New function.
10221 (jump-to-register): Implement jumping to framesets. Doc fix.
10222 (describe-register-1): Describe framesets.
10224 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10226 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10228 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10229 Use lexical-binding.
10231 * frameset.el (frameset): Use type vector, not list (incompatible
10232 change). Do not declare a new constructor, use the default one.
10233 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10234 `name' and `description', respectively, and add read-only slot
10235 `timestamp'. Doc fixes.
10236 (frameset-copy, frameset-persistent-filter-alist)
10237 (frameset-filter-alist, frameset-switch-to-gui-p)
10238 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10239 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10240 (frameset-filter-iconified, frameset-keep-original-display-p):
10242 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10243 Rename from frameset-filter-(save|restore)-param. All callers changed.
10245 (frameset-p): Adapt to change to vector and be more thorough.
10246 Change arg name to OBJECT. Doc fix.
10247 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10248 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10249 All callers changed.
10250 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10251 All callers changed.
10252 (frameset--record-minibuffer-relationships): Rename from
10253 frameset--process-minibuffer-frames. All callers changed.
10254 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10255 Use new default constructor (again). Doc fix.
10256 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10257 All callers changed.
10258 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10259 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10261 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10262 PARAMETERS and WINDOW-STATE, respectively.
10263 (frameset-restore): Add new keyword argument PREDICATE.
10264 Reset frameset--target-display to nil. Doc fix.
10266 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10268 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10269 (bat-mode): Use it.
10270 (bat-mode-syntax-table): Mark \n as end-of-comment.
10271 (bat-font-lock-keywords): Remove comment rule.
10273 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10274 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10276 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10277 (byte-compile-callargs-warn): Use `push'.
10278 (byte-compile-arglist-warn): Ignore higher-order "calls".
10279 (byte-compile-file-form-autoload): Use `pcase'.
10280 (byte-compile-function-form): If quoting a symbol, check that it exists.
10282 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10284 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10285 and add a few popular commands found in batch files.
10286 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10287 (dos-mode): Doc fixes.
10289 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10291 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10292 (dos-mode): Use setq-local. Add space after "rem".
10293 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10294 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10296 2013-08-07 Arni Magnusson <arnima@hafro.is>
10298 * progmodes/dos.el: New file.
10299 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10302 2013-08-06 Glenn Morris <rgm@gnu.org>
10304 * calendar/calendar.el: Add new faces, and day-header-array.
10305 (calendar-weekday-header, calendar-weekend-header)
10306 (calendar-month-header): New faces.
10307 (calendar-day-header-construct): New function.
10308 (calendar-day-header-width): Also :set calendar-day-header-array.
10309 (calendar-american-month-header, calendar-european-month-header)
10310 (calendar-iso-month-header): Use calendar- faces.
10311 (calendar-generate-month):
10312 Use calendar-day-header-array for day headers; apply faces to them.
10313 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10314 (calendar-abbrev-construct): Add optional maxlen argument.
10315 (calendar-day-name-array): Doc fix.
10316 (calendar-day-name-array, calendar-abbrev-length)
10317 (calendar-day-abbrev-array):
10318 Also :set calendar-day-header-array, and maybe redraw.
10319 (calendar-day-header-array): New option. (Bug#15007)
10320 (calendar-font-lock-keywords): Set to nil and make obsolete.
10321 (calendar-day-name): Add option to use header array.
10323 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10325 * net/shr.el (shr-render-td): Remove debugging.
10326 (shr-render-td): Make width computation consistent by defaulting
10327 all zero-width columns to 10 characters. This may not be optimal,
10328 but it's at least consistent.
10329 (shr-make-table-1): Redo last change to fix the real problem in
10332 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10334 * files.el (cache-long-line-scans):
10335 Make obsolete alias to `cache-long-scans'.
10337 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10339 * frameset.el (frameset, frameset-filter-alist)
10340 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10341 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10342 (frameset-compute-pos): Rename from frameset--compute-pos,
10344 (frameset-move-onscreen): Use frameset-compute-pos.
10345 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10347 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10348 Fix typos in docstrings.
10350 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10352 * frame.el (get-other-frame): Tiny cleanup.
10354 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10356 * vc/vc.el (vc-default-ignore-completion-table):
10357 Silence byte-compiler warning.
10359 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10360 slot, which can indeed be nil.
10361 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10362 Move entry for `left' from persistent to live filter alist.
10363 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10365 (frameset-filter-params): When restoring a frame, copy items added to
10366 `filtered', to avoid unwittingly modifying the original parameters.
10367 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10368 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10370 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10371 to use looking-at-p instead of looking-at. (Bug#15028)
10373 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10375 Revert introduction of isearch-filter-predicates (bug#14714).
10376 Rely on add-function instead.
10377 * isearch.el (isearch-filter-predicates): Rename it back to
10378 isearch-filter-predicate.
10379 (isearch-message-prefix): Use advice-function-mapc and advice
10380 properties to get the isearch-message-prefix.
10381 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10382 instead of run-hook-with-args-until-failure.
10383 (isearch-filter-visible): Not obsolete any more.
10384 * loadup.el: Preload nadvice.
10385 * replace.el (perform-replace): Revert to funcall
10386 instead of run-hook-with-args-until-failure.
10387 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10388 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10389 dired-isearch-filenames-toggle; make it into a proper minor mode.
10390 Use add/remove-function.
10391 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10392 Call the minor-mode rather than add/remove-hook.
10393 (dired-isearch-filter-filenames):
10394 Remove isearch-message-prefix property.
10395 * info.el (Info--search-loop): New function, extracted from Info-search.
10396 Funcall isearch-filter-predicate instead of
10397 run-hook-with-args-until-failure isearch-filter-predicates.
10398 (Info-search): Use it.
10399 (Info-mode): Use isearch-filter-predicate instead of
10400 isearch-filter-predicates.
10402 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10404 Do not call to `selected-window' where it is assumed by default.
10405 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10406 `window-hscroll', `window-width', `window-height', `window-buffer',
10407 `window-frame', `window-start', `window-point', `next-window'
10408 and `window-display-table'.
10409 * abbrev.el (abbrev--default-expand):
10410 * bs.el (bs--show-with-configuration):
10411 * buff-menu.el (Buffer-menu-mouse-select):
10412 * calc/calc.el (calc):
10413 * calendar/calendar.el (calendar-generate-window):
10414 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10415 (diary-make-entry):
10416 * comint.el (send-invisible, comint-dynamic-complete-filename)
10417 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10418 * completion.el (complete):
10419 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10420 * disp-table.el (describe-current-display-table):
10421 * doc-view.el (doc-view-insert-image):
10422 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10423 * ehelp.el (with-electric-help):
10424 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10425 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10426 * emacs-lisp/helper.el (Helper-help-scroller):
10427 * emulation/cua-base.el (cua--post-command-handler-1):
10428 * eshell/esh-mode.el (eshell-output-filter):
10429 * ffap.el (ffap-gnus-wrapper):
10430 * help-macro.el (make-help-screen):
10431 * hilit-chg.el (highlight-compare-buffers):
10432 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10433 * hl-line.el (global-hl-line-highlight):
10434 * icomplete.el (icomplete-simple-completing-p):
10435 * isearch.el (isearch-done):
10436 * jit-lock.el (jit-lock-stealth-fontify):
10437 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10438 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10439 * mpc.el (mpc-tagbrowser, mpc):
10440 * net/rcirc.el (rcirc-any-buffer):
10441 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10442 * play/landmark.el (landmark-max-width, landmark-max-height):
10443 * play/zone.el (zone):
10444 * progmodes/compile.el (compilation-goto-locus):
10445 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10446 * progmodes/etags.el (find-tag-other-window):
10447 * progmodes/fortran.el (fortran-column-ruler):
10448 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10449 * progmodes/verilog-mode.el (verilog-point-text):
10450 * reposition.el (reposition-window):
10451 * rot13.el (toggle-rot13-mode):
10452 * server.el (server-switch-buffer):
10453 * shell.el (shell-dynamic-complete-command)
10454 (shell-dynamic-complete-environment-variable):
10455 * simple.el (insert-buffer, set-selective-display)
10456 (delete-completion-window):
10457 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10458 (speedbar-recenter):
10459 * startup.el (fancy-splash-head):
10460 * textmodes/ispell.el (ispell-command-loop):
10461 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10462 * tutorial.el (help-with-tutorial):
10463 * vc/add-log.el (add-change-log-entry):
10464 * vc/compare-w.el (compare-windows):
10465 * vc/ediff-help.el (ediff-indent-help-message):
10466 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10467 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10468 (ediff-setup-control-frame):
10469 * vc/emerge.el (emerge-position-region):
10470 * vc/pcvs-util.el (cvs-bury-buffer):
10471 * window.el (walk-windows, mouse-autoselect-window-select):
10472 * winner.el (winner-set-conf, winner-undo): Related users changed.
10474 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10476 * frameset.el (frameset--set-id): Doc fix.
10477 (frameset-frame-id, frameset-frame-id-equal-p)
10478 (frameset-locate-frame-id): New functions.
10479 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10480 (frameset-restore): Use them.
10482 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10484 Do not call to `selected-frame' where it is assumed by default.
10485 Affected functions are `raise-frame', `redraw-frame',
10486 `frame-first-window', `frame-terminal' and `delete-frame'.
10487 * calendar/appt.el (appt-disp-window):
10488 * epg.el (epg-wait-for-completion):
10489 * follow.el (follow-delete-other-windows-and-split)
10490 (follow-avoid-tail-recenter):
10491 * international/mule.el (set-terminal-coding-system):
10492 * mail/rmail.el (rmail-mail-return):
10493 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10494 * progmodes/f90.el (f90-add-imenu-menu):
10495 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10496 * server.el (server-switch-buffer):
10497 * simple.el (delete-completion-window):
10499 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10500 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10501 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10502 * vc/ediff.el (ediff-documentation): Related users changed.
10503 * frame.el (selected-terminal): Remove the leftover.
10505 2013-08-05 Glenn Morris <rgm@gnu.org>
10507 * calendar/calendar.el (calendar-generate-month):
10508 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10509 (calendar-generate-month, calendar-font-lock-keywords):
10510 Fix for calendar-day-header-width > length of any day name.
10512 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10514 * desktop.el (desktop-clear): Use new name of sort predicate.
10516 * frameset.el (frameset): Add docstring. Move :version property to its
10517 own `version' slot.
10518 (frameset-copy): Rename from copy-frameset.
10519 (frameset-p): Check more thoroughly.
10520 (frameset-prop): Do not check for :version, which is no longer a prop.
10521 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10522 Use new :never value instead of t.
10523 (frameset-filter-alist): Expand and clarify docstring.
10524 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10525 (frameset-filter-minibuffer, frameset-filter-save-param)
10526 (frameset-filter-restore-param, frameset-filter-iconified):
10527 Add pointer to docstring of frameset-filter-alist.
10528 (frameset-filter-params): Rename filter values to be more meaningful:
10529 :never instead of t, and reverse the meanings of :save and :restore.
10530 (frameset--process-minibuffer-frames): Clarify error message.
10531 (frameset-save): Avoid unnecessary and confusing call to framep.
10532 Use new BOA constructor for framesets.
10533 (frameset--reuse-list): Doc fix.
10534 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10535 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10536 (frameset-minibufferless-first-p): Doc fix.
10537 Rename from frameset-sort-frames-for-deletion.
10538 (frameset-restore): Doc fixes. Use new function names.
10539 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10541 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10543 * desktop.el (desktop-restore-forces-onscreen)
10544 (desktop-restore-reuses-frames): Document :keyword constant values.
10545 (desktop-filter-parameters-alist): Remove, now identical to
10546 frameset-filter-alist.
10547 (desktop--filter-tty*): Remove, moved to frameset.el.
10548 (desktop-save-frameset, desktop-restore-frameset):
10549 Do not pass :filters argument.
10551 * frameset.el (frameset-live-filter-alist)
10552 (frameset-persistent-filter-alist): New variables.
10553 (frameset-filter-alist): Use them. Add autoload cookie.
10554 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10555 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10556 `frameset--id' (it's supposed to be internal to frameset.el).
10557 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10558 (frameset--initial-params): New function.
10559 (frameset--get-frame): Use it. Doc fix.
10560 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10561 Accept :all, not 'all.
10562 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10563 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10564 with fbound symbols. Fix frame id matching, and remove matching ids if
10565 the frame being restored is deleted. Obey :delete.
10567 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10569 * subr.el (macrop): New function.
10570 (text-clone--maintaining): New var.
10571 (text-clone--maintain): Rename from text-clone-maintain. Use it
10572 instead of inhibit-modification-hooks.
10574 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10575 a proxy, so as handle autoloads and redefinitions of the target.
10576 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10578 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10579 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10580 (pcase--mutually-exclusive-p): New function.
10581 (pcase--split-consp): Use it.
10582 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10583 mutually exclusive with the current predicate.
10585 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10586 (edebug-macrop): Remove. Use `macrop' instead.
10587 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10589 * eshell/esh-cmd.el (eshell-macrop):
10590 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10592 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10594 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10595 (advice-mapc): New function, using it.
10596 (advice-function-member-p): New function.
10597 (advice--normalize): Store the cdr in advice--saved-rewrite since
10598 that's the part that will be changed.
10599 (advice--symbol-function): New function.
10600 (advice-remove): Handle removal before the function is defined.
10601 Adjust to new advice--saved-rewrite.
10602 (advice-member-p): Use advice-function-member-p and
10603 advice--symbol-function.
10605 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10607 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10608 (frameset-filter-minibuffer): Doc fix.
10609 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10610 (frameset--set-id, frameset--process-minibuffer-frames)
10611 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10612 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10614 * desktop.el (desktop-clear): Only delete frames when called
10615 interactively and desktop-restore-frames is non-nil. Doc fix.
10616 (desktop-read): Set desktop-saved-frameset to nil.
10618 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10620 * vc/vc.el (vc-ignore): Rewrite.
10621 (vc-default-ignore-completion-table, vc--read-lines)
10622 (vc--add-line, vc--remove-regexp): New functions.
10624 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10625 (vc-svn-ignore-completion-table): New function.
10627 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10628 (vc-hg-ignore-completion-table)
10629 (vc-hg-find-ignore-file): New functions.
10631 * vc/vc-git.el (vc-git-ignore): Rewrite.
10632 (vc-git-ignore-completion-table)
10633 (vc-git-find-ignore-file): New functions.
10635 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10637 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10638 (vc-bzr-ignore-completion-table)
10639 (vc-bzr-find-ignore-file): New functions.
10641 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10643 * frameset.el (frameset-prop): New function and setter.
10644 (frameset-save): Do not modify frame list passed by the caller.
10646 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10650 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10653 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10655 * custom.el (custom-initialize-default, custom-initialize-set)
10656 (custom-initialize-reset, custom-initialize-changed): Affect the
10657 toplevel-default-value (bug#6275, bug#14586).
10658 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10661 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10663 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10664 Add cl-def* expressions.
10666 * frameset.el (frameset-filter-params): Fix order of arguments.
10668 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10670 Move code related to saving frames to frameset.el.
10671 * desktop.el: Require frameset.
10672 (desktop-restore-frames): Doc fix.
10673 (desktop-restore-reuses-frames): Rename from
10674 desktop-restoring-reuses-frames.
10675 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10676 (desktop-clear): Clear frames too.
10677 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10678 (desktop--filter-tty*, desktop-save, desktop-read):
10679 Use frameset functions.
10680 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10681 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10682 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10683 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10684 (desktop--process-minibuffer-frames, desktop-save-frames)
10685 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10686 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10687 (desktop--sort-states, desktop-restoring-frames-p)
10688 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10689 (desktop-restoring-frameset-p, desktop-restore-frameset)
10690 (desktop--check-dont-save, desktop-save-frameset): New functions.
10691 (desktop--app-id): New constant.
10692 (desktop-first-buffer, desktop-buffer-ok-count)
10693 (desktop-buffer-fail-count): Move before first use.
10694 * frameset.el: New file.
10696 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10698 * files.el: Use lexical-binding.
10699 (dir-locals-read-from-file): Remove unused `err' variable.
10700 (hack-dir-local-variables--warned-coding): New var.
10701 (hack-dir-local-variables): Use it to avoid repeated warnings.
10702 (make-backup-file-name--default-function): New function.
10703 (make-backup-file-name-function): Use it as default.
10704 (buffer-stale--default-function): New function.
10705 (buffer-stale-function): Use it as default.
10706 (revert-buffer-insert-file-contents--default-function): New function.
10707 (revert-buffer-insert-file-contents-function): Use it as default.
10708 (insert-directory): Avoid add-to-list.
10710 * autorevert.el (auto-revert-handler): Simplify.
10711 Use buffer-stale--default-function.
10713 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10715 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10717 * whitespace.el (whitespace-ensure-local-variables): New function.
10718 (whitespace-cleanup-region): Call it.
10719 (whitespace-turn-on): Call it.
10721 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10723 Complete file name handlers.
10725 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10726 (tramp-handle-verify-visited-file-modtime)
10727 (tramp-handle-file-notify-rm-watch): New functions.
10728 (tramp-call-process): Do not bind `default-directory'.
10730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10731 Order alphabetically.
10732 <access-file, add-name-to-file, dired-call-process>:
10733 <dired-compress-file, file-acl, file-notify-rm-watch>:
10734 <file-ownership-preserved-p, file-selinux-context>:
10735 <make-directory-internal, make-symbolic-link, set-file-acl>:
10736 <set-file-selinux-context, set-visited-file-modtime>:
10737 <verify-visited-file-modtime>: Add handler.
10738 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10740 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10741 <file-notify-add-watch, file-notify-rm-watch>:
10742 <set-file-times, set-visited-file-modtime>:
10743 <verify-visited-file-modtime>: Add handler.
10744 (with-tramp-gvfs-error-message)
10745 (tramp-gvfs-handle-set-visited-file-modtime)
10746 (tramp-gvfs-fuse-file-name): Remove.
10747 (tramp-gvfs-handle-file-notify-add-watch)
10748 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10749 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10751 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10752 Order alphabetically.
10753 <file-notify-rm-watch>: Use default Tramp handler.
10754 <executable-find>: Remove private handler.
10755 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10756 `default-directory'.
10757 (tramp-sh-handle-executable-find)
10758 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10759 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10760 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10761 Do not use `format' in `tramp-message'.
10763 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10764 <file-notify-rm-watch, set-visited-file-modtime>:
10765 <verify-visited-file-modtime>: Add handler.
10766 (tramp-smb-call-winexe): Do not bind `default-directory'.
10768 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10770 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10772 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10774 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10776 (log-view-diff-changeset): Same.
10777 (log-view-diff-common): Call backend command `previous-revision'
10778 to find out the previous revision, in both cases. Swap the
10779 variables `to' and `fr', so that `fr' usually refers to the
10780 earlier revision (Bug#14989).
10782 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10784 * ibuf-ext.el (ibuffer-filter-by-filename):
10785 Make it work with dired buffers too.
10787 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10789 * emacs-lisp/re-builder.el (reb-color-display-p):
10790 * files.el (save-buffers-kill-terminal):
10791 * net/browse-url.el (browse-url):
10792 * server.el (server-save-buffers-kill-terminal):
10793 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10794 Prefer nil to selected-frame for the first arg of frame-parameter.
10796 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10798 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10800 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10802 * minibuffer.el (completion--twq-all): Try and preserve each
10803 completion's case choice (bug#14907).
10805 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10807 * net/network-stream.el (open-network-stream): Mention the new
10808 :nogreeting parameter.
10809 (network-stream-open-starttls): Use the :nogreeting parameter
10812 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10814 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10815 more natural than popping.
10817 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10818 (shr-urlify): Highlight under mouse.
10820 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10822 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10824 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10826 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10829 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10830 point-min==1. Fix search string. Fix parentheses missing.
10832 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10833 assume point-min==1. Fix search string. Fix parentheses missing.
10835 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10837 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10840 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10842 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10843 initial frame is minibuffer-less. (Bug#14841)
10845 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10847 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10850 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10851 (tramp-maybe-open-connection): Use it.
10853 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10855 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10856 minimal set of parameters passed when creating a frame, because
10857 the minibuffer status of a frame cannot be changed later.
10859 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10861 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10862 replace-regexp-in-string and inadvertent omissions in previous change.
10863 (todo-filter-items): Ensure only file names are comma-separated in
10864 name of filtered items buffer.
10866 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10868 * desktop.el: Optionally force offscreen frames back onscreen.
10869 (desktop-restoring-reuses-frames): New option.
10870 (desktop--compute-pos, desktop--move-onscreen): New functions.
10871 (desktop--make-frame): Use desktop--move-onscreen.
10873 2013-07-27 Alan Mackenzie <acm@muc.de>
10875 Fontify a Java generic method as a function.
10876 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10879 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10881 * calendar/todo-mode.el: Add command to rename todo files.
10882 (todo-rename-file): New command.
10883 (todo-key-bindings-t): Add key binding for it. Change the
10884 bindings of todo-filter-regexp-items(-multifile) to use `x'
10885 instead of `r', since the latter is better suited to the new
10888 2013-07-27 Alan Mackenzie <acm@muc.de>
10890 Make Java try-with-resources statement parse properly.
10891 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10892 (c-block-stmt-1-2-key): New language constants/variables.
10893 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10894 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10895 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10896 with c-block-stmt-1-2-key.
10898 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10900 * desktop.el (desktop--make-frame): Apply most frame parameters after
10901 creating the frame to force (partially or totally) offscreen frames to
10902 be restored as such.
10904 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10906 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10909 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10912 `base' arg of backtrace-frame.
10914 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10916 * simple.el (list-processes): Doc fix.
10918 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10920 * desktop.el (desktop--select-frame):
10921 Try harder to reuse existing frames.
10923 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10925 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10926 (edebug-eval): Use backtrace-eval.
10927 (edebug--display, edebug--recursive-edit): Don't let-bind the
10928 edebug-outer-* vars that keep track of variables we locally let-bind.
10929 (edebug-outside-excursion): Don't restore outside values of locally
10931 (edebug--display): Use user-error.
10932 (cl-lexical-debug, cl-debug-env): Remove.
10934 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10936 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10937 are restored to be sure that they are visible before deleting any
10940 2013-07-26 Matthias Meulien <orontee@gmail.com>
10942 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10943 vc-print-root-log. (Bug#14948)
10945 2013-07-26 Richard Stallman <rms@gnu.org>
10947 Add aliases for encrypting mail.
10948 * epa.el (epa-mail-aliases): New option.
10949 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10950 Bind inhibit-read-only so read-only text doesn't ruin everything.
10951 (epa-mail-default-recipients): New subroutine broken out.
10952 Handle epa-mail-aliases.
10954 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10956 Add support for lexical variables to the debugger's `e' command.
10957 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10958 vars, except for debugger-outer-match-data.
10959 (debugger-frame-number): Move check for "on a function call" from
10960 callers into it. Add `skip-base' argument.
10961 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10962 (debugger-env-macro): Only reset the state stored in non-variables,
10963 i.e. current-buffer and match-data.
10964 (debugger-eval-expression): Rewrite using backtrace-eval.
10965 * subr.el (internal--called-interactively-p--get-frame): Remove.
10966 (called-interactively-p):
10967 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10968 `base' arg of backtrace-frame instead.
10970 2013-07-26 Glenn Morris <rgm@gnu.org>
10972 * align.el (align-regexp): Doc fix. (Bug#14857)
10973 (align-region): Explicit error if subexpression missing/does not match.
10975 * simple.el (global-visual-line-mode):
10976 Do not duplicate the mode lighter. (Bug#14858)
10978 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10980 * window.el (display-buffer): In display-buffer bind
10981 split-window-keep-point to t, bug#14829.
10983 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10985 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10986 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10987 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10988 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10989 Change accordingly.
10990 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10991 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10993 2013-07-25 Glenn Morris <rgm@gnu.org>
10995 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10997 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10999 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11000 parameter to modify-frame-parameters if the value has not changed;
11001 this is a workaround for bug#14949.
11002 (desktop--make-frame): On cl-delete-if call, check parameter name,
11003 not full parameter.
11005 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11007 * vc/vc.el (vc-ignore): New function.
11009 * vc/vc-svn.el (vc-svn-ignore): New function.
11011 * vc/vc-hg.el (vc-hg-ignore): New function.
11013 * vc/vc-git.el (vc-git-ignore): New function.
11015 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11016 (vc-dir-ignore): New function.
11018 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11019 (cvs-append-to-ignore): Move here from pcvs.el.
11021 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11023 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11025 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11027 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11028 (desktop-restore-frames): Warn when deleting an existing frame failed.
11030 2013-07-24 Glenn Morris <rgm@gnu.org>
11032 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11034 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11036 * filenotify.el (file-notify-supported-p):
11037 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11040 * autorevert.el (auto-revert-use-notify)
11041 (auto-revert-notify-add-watch):
11042 * net/tramp.el (tramp-file-name-for-operation):
11043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11045 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11046 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11047 Remove `file-notify-supported-p' entry.
11049 2013-07-24 Glenn Morris <rgm@gnu.org>
11051 * printing.el: Replace all uses of deleted ps-windows-system,
11052 ps-lp-system, ps-flatten-list with lpr- versions.
11054 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11056 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11057 checked with memq (bug#14935).
11059 * files.el (revert-buffer-function): Use a non-nil default.
11060 (revert-buffer-preserve-modes): Declare var to
11061 provide access to the `preserve-modes' argument.
11062 (revert-buffer): Let-bind it.
11063 (revert-buffer--default): New function, extracted from revert-buffer.
11065 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11067 * lpr.el: Signal print errors more prominently.
11068 (print-region-function): Don't default to nil.
11069 (lpr-print-region): New function, extracted from print-region-1.
11070 Check lpr's return value and signal an error in case of problem.
11071 (print-region-1): Use it.
11072 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11074 (ps-printer-name): Default to nil.
11075 (ps-printer-name-option): Default to lpr-printer-switch.
11076 (ps-print-region-function): Don't default to nil.
11077 (ps-postscript-code-directory): Simplify default.
11078 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11079 (ps-string-list, ps-eval-switch, ps-flatten-list)
11080 (ps-flatten-list-1): Remove.
11081 (ps-multibyte-buffer): Avoid setq.
11082 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11083 (print-region-function, ps-print-region-function): Don't set them here.
11085 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11087 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11088 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11089 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11090 (ido-decorations): Doc fix.
11092 * ansi-color.el: Fix old URL.
11094 2013-07-23 Michael R. Mauger <michael@mauger.com>
11096 * progmodes/sql.el: Version 3.3
11097 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11098 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11099 (sql-interactive-remove-continuation-prompt): Rewrite, use
11100 functions above. Fix continuation prompt and complete output line
11102 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11103 redirected output buffer.
11104 (sql-mode): Restore deleted code (Bug#13591).
11106 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11108 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11110 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11112 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11114 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11115 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11116 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11118 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11120 * desktop.el (desktop-clear): Simplify; remove useless checks
11121 against invalid buffer names.
11122 (desktop-list*): Use cl-list*.
11123 (desktop-buffer-info, desktop-create-buffer): Simplify.
11125 2013-07-23 Leo Liu <sdl.web@gmail.com>
11127 * bookmark.el (bookmark-make-record): Restore NAME as a default
11130 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11132 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11133 extracted from autoload--insert-text.
11134 (autoload--insert-text): Remove.
11135 (autoload--print-cookie-text): New function, extracted from
11136 autoload--insert-cookie-text.
11137 (autoload--insert-cookie-text): Remove.
11138 (autoload-generate-file-autoloads): Adjust calls accordingly.
11140 * winner.el (winner-hook-installed-p): Remove.
11141 (winner-mode): Simplify accordingly.
11143 * subr.el (add-to-list): Fix compiler-macro when `append' is
11144 not constant. Don't use `cl-member' for the base case.
11146 * progmodes/subword.el: Fix boundary case (bug#13758).
11147 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11149 (subword-backward-regexp): Make it a constant.
11150 (subword-forward-internal): Don't treat a trailing capital as the
11151 beginning of a word.
11153 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11155 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11156 global value of tabulated-list-revert-hook (bug#14930).
11158 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11160 * desktop.el: Require 'cl-lib.
11161 (desktop-before-saving-frames-functions): New hook.
11162 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11163 for frames being saved. Rename from desktop--save-minibuffer-frames.
11164 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11165 Do not save frames with non-nil `desktop-dont-save' parameter.
11166 Filter out deleted frames.
11167 (desktop--find-frame): Use cl-find-if.
11168 (desktop--select-frame): Use cl-(first|second|third) to access values
11170 (desktop--make-frame): Use cl-delete-if.
11171 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11172 (desktop-restore-frames): Use cl-(first|second|third) to access values
11173 of desktop-mini. Look for visible frame at the end, not while
11176 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11177 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11178 Use string-match-p, looking-at-p (bug#14927).
11180 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11182 * desktop.el (desktop-saved-frame-states):
11183 Rename from desktop--saved-states; all users changed.
11184 (desktop-save-frames): Rename from desktop--save-frames.
11185 Do not save state to desktop file.
11186 (desktop-save): Save desktop-saved-frame-states to desktop file
11188 (desktop-restoring-frames-p): New function.
11189 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11190 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11191 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11193 * desktop.el: Correctly restore iconified frames.
11194 (desktop--filter-iconified-position): New function.
11195 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11197 2013-07-20 Glenn Morris <rgm@gnu.org>
11199 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11200 Let `message' do the formatting.
11201 (def-gdb-preempt-display-buffer): Add explicit format.
11203 * image-dired.el (image-dired-track-original-file):
11204 Use with-current-buffer.
11205 (image-dired-track-thumbnail): Use with-current-buffer.
11206 Avoid changing point of wrong window.
11208 * image-dired.el (image-dired-track-original-file):
11209 Avoid changing point of wrong window. (Bug#14909)
11211 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11213 * progmodes/gdb-mi.el (gdb-done-or-error):
11214 Guard against "%" in gdb output. (Bug#14127)
11216 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11218 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11221 * international/mule.el (coding-system-iso-2022-flags): Fix last
11224 2013-07-20 Kenichi Handa <handa@gnu.org>
11226 * international/mule.el (coding-system-iso-2022-flags):
11227 Add `8-bit-level-4'. (Bug#8522)
11229 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11231 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11234 * net/eww.el (eww-process-text-input): Allow inputting when the
11235 point is at the start of the line, as the properties aren't
11238 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11241 2013-07-19 Richard Stallman <rms@gnu.org>
11243 * epa.el (epa-popup-info-window): Doc fix.
11245 * subr.el (split-string): New arg TRIM.
11247 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11249 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11250 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11252 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11254 * filenotify.el (file-notify--library): Rename from
11255 `file-notify-support'. Do not autoload. Adapt all uses.
11256 (file-notify-supported-p): New defun.
11258 * autorevert.el (auto-revert-use-notify):
11259 Use `file-notify-supported-p' instead of `file-notify-support'.
11261 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11263 * net/tramp.el (tramp-file-name-for-operation):
11264 Add `file-notify-supported-p'.
11266 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11268 (tramp-sh-file-name-handler-alist): Add it as handler for
11269 `file-notify-supported-p '.
11271 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11272 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11273 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11274 Add `ignore' as handler for `file-notify-*' functions.
11276 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11278 * simple.el (line-move-partial, line-move): Don't start vscroll or
11279 scroll-up if the current line is not taller than the window.
11282 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11284 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11285 highlight question marks in the method names as strings.
11286 (ruby-block-beg-keywords): Inline.
11287 (ruby-font-lock-keyword-beg-re): Extract from
11288 `ruby-font-lock-keywords'.
11290 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11292 * frame.el (blink-cursor-blinks): New defcustom.
11293 (blink-cursor-blinks-done): New defvar.
11294 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11295 (blink-cursor-timer-function): Check if number of blinks has been
11297 (blink-cursor-suspend, blink-cursor-check): New defuns.
11299 2013-07-15 Glenn Morris <rgm@gnu.org>
11301 * edmacro.el (edmacro-format-keys): Fix previous change.
11303 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11305 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11306 The hack didn't work outside English locales anyway.
11308 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11310 * simple.el (define-alternatives): Rename from alternatives-define,
11311 per RMS' suggestion.
11313 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11315 * desktop.el (desktop-restore-frames): Change default to t.
11316 (desktop-restore-in-current-display): Now offer more options.
11317 (desktop-restoring-reuses-frames): New customization option.
11318 (desktop--saved-states): Doc fix.
11319 (desktop-filter-parameters-alist): New variable, renamed and expanded
11320 from desktop--excluded-frame-parameters.
11321 (desktop--target-display): New variable.
11322 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11323 (desktop--filter-tty*, desktop--filter-*-color)
11324 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11325 (desktop--filter-save-desktop-parm)
11326 (desktop-restore-in-original-display-p): New functions.
11327 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11328 (desktop--save-minibuffer-frames): New function, inspired by a similar
11329 function from Martin Rudalics.
11330 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11331 (desktop--restore-in-this-display-p): Remove.
11332 (desktop--find-frame): Rename from desktop--find-frame-in-display
11333 and add predicate argument.
11334 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11335 (desktop--reuse-list): New variable.
11336 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11338 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11340 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11342 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11344 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11346 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11347 Highlight conversion methods on Kernel.
11349 2013-07-13 Alan Mackenzie <acm@muc.de>
11351 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11352 and comment it out. This out-commenting enables certain C++
11353 declarations to be parsed correctly.
11355 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11357 * international/mule.el (define-coding-system): Doc fix.
11359 * simple.el (default-font-height): Don't call font-info if the
11360 frame's default font didn't change since the frame was created.
11363 2013-07-13 Leo Liu <sdl.web@gmail.com>
11365 * ido.el (ido-read-file-name): Guard against non-symbol value.
11367 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11369 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11372 2013-07-13 Leo Liu <sdl.web@gmail.com>
11374 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11375 ido-set-matches call. (Bug#6852)
11377 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11379 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11380 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11382 (ruby-font-lock-keywords): Distinguish calls to functions with
11383 module-like names from module references. Highlight character
11386 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11388 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11389 (gdb-send): Handle continued commands. (Bug#14847)
11391 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11393 * desktop.el (desktop--v2s): Remove unused local variable.
11394 (desktop-save-buffer): Make defvar-local; adjust docstring.
11395 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11396 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11398 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11400 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11402 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11404 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11407 2013-07-12 Glenn Morris <rgm@gnu.org>
11409 * doc-view.el: Require cl-lib at runtime too.
11410 (doc-view-remove-if): Remove.
11411 (doc-view-search-next-match, doc-view-search-previous-match):
11414 * edmacro.el: Require cl-lib at runtime too.
11415 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11416 (edmacro-mismatch, edmacro-subseq): Remove.
11418 * shadowfile.el: Require cl-lib.
11419 (shadow-remove-if): Remove.
11420 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11423 * wid-edit.el: Require cl-lib.
11424 (widget-choose): Use cl-remove-if.
11425 (widget-remove-if): Remove.
11427 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11428 (ebrowse-delete-if-not): Remove.
11429 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11430 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11431 Use cl-delete-if-not.
11433 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11435 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11436 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11438 2013-07-12 Leo Liu <sdl.web@gmail.com>
11440 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11442 2013-07-11 Glenn Morris <rgm@gnu.org>
11444 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11445 (edebug-gensym-index, edebug-gensym):
11446 Remove reimplementation of cl-gensym.
11447 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11449 * thumbs.el: Require cl-lib at run-time too.
11450 (thumbs-gensym-counter, thumbs-gensym):
11451 Remove reimplementation of cl-gensym.
11452 (thumbs-temp-file): Use cl-gensym.
11454 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11455 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11456 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11457 (ert--union, ert--gensym-counter, ert--gensym-counter)
11458 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11459 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11460 (ert-make-test-unbound, ert--expand-should-1)
11461 (ert--expand-should, ert--should-error-handle-error)
11462 (should-error, ert--explain-equal-rec)
11463 (ert--plist-difference-explanation, ert-select-tests)
11464 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11465 Use cl-lib functions rather than reimplementations.
11467 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11469 * net/tramp.el (tramp-methods): Extend docstring.
11470 (tramp-connection-timeout): New defcustom.
11471 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11472 (with-tramp-progress-reporter): Simplify.
11473 (tramp-process-actions): Improve messages.
11475 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11476 * net/tramp-sh.el (tramp-maybe-open-connection):
11477 Use `tramp-connection-timeout'.
11478 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11481 2013-07-11 Leo Liu <sdl.web@gmail.com>
11483 * ido.el (ido-read-file-name): Conform to the requirements of
11484 read-file-name. (Bug#11861)
11485 (ido-read-directory-name): Conform to the requirements of
11486 read-directory-name.
11488 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11490 * subr.el (delay-warning): New function.
11492 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11494 * simple.el (default-line-height): New function.
11495 (line-move-partial, line-move): Use it instead of computing the
11496 line height inline.
11497 (line-move-partial): Always compute ROWH. If the last line is
11498 partially-visible, but its text is completely visible, allow
11499 cursor to enter such a partially-visible line.
11501 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11503 Improve error messages. (Bug#14808)
11505 * net/tramp.el (tramp-current-connection): New defvar, moved from
11507 (tramp-message-show-progress-reporter-message): Remove, not
11509 (tramp-error-with-buffer): Show message in minibuffer.
11510 Discard input before waiting. Reset connection timestamp.
11511 (with-tramp-progress-reporter): Improve messages.
11512 (tramp-process-actions): Use progress reporter. Delete process in
11513 case of error. Improve messages.
11515 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11516 Call `tramp-error-with-buffer' with vector and buffer.
11517 (tramp-current-connection): Remove.
11518 (tramp-maybe-open-connection): The car of
11519 `tramp-current-connection' are the first 3 slots of the vector.
11521 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11523 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11524 inside continued strings.
11526 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11528 Timestamp fixes for undo (Bug#14824).
11529 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11531 2013-07-10 Leo Liu <sdl.web@gmail.com>
11533 * files.el (require-final-newline): Allow safe local value.
11536 2013-07-09 Leo Liu <sdl.web@gmail.com>
11538 * ido.el (ido-read-directory-name): Handle fallback.
11539 (ido-read-file-name): Update DIR to ido-current-directory.
11541 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11543 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11545 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11546 "autoload". Remove "warn lower camel case" section, previously
11547 commented out. Highlight negation char. Do not highlight the
11548 target in singleton method definitions.
11550 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11552 * faces.el (tty-setup-hook): Declare the hook.
11554 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11555 and detect when a guard/pred depends on local vars (bug#14773).
11556 (pcase--u1): Adjust caller.
11558 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11560 * simple.el (line-move-partial, line-move): Account for
11562 (line-move-partial): Avoid setting vscroll when the last
11563 partially-visible line in window is of default height.
11565 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11567 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11570 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11572 * subr.el (read-quoted-char): Remove unused local variable `char'.
11574 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11576 * ediff.el (ediff-version): Version update.
11577 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11578 (ediff-merge-with-ancestor-command, ediff-directories-command)
11579 (ediff-directories3-command, ediff-merge-directories-command)
11580 (ediff-merge-directories-with-ancestor-command): New functions.
11581 All are command-line interfaces to ediff: to facilitate calling
11582 Emacs with the appropriate ediff functions invoked.
11584 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11585 (viper-save-kill-buffer): Check if buffer is modified.
11587 * viper.el (viper-version): Version update.
11588 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11590 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11593 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11594 (viper-intercept-ESC-key): Simplify.
11595 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11596 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11597 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11598 (viper-setup-ESC-to-escape): New functions.
11599 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11600 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11602 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11604 * simple.el (default-font-height, window-screen-lines):
11606 (line-move, line-move-partial): Use them instead of
11607 frame-char-height and window-text-height. This makes scrolling
11608 text smoother when the buffer's default face uses a font that is
11609 different from the frame's default font.
11611 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11613 * files.el (write-file): Do not display confirm dialog for NS,
11614 it does its own dialog, which can't be canceled (Bug#14578).
11616 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11618 * simple.el (line-move-partial): Adjust the row returned by
11619 posn-at-point for the current window-vscroll. (Bug#14567)
11621 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11623 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11624 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11627 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11629 * window.el (window-state-put-stale-windows): New variable.
11630 (window--state-put-2): Save list of windows without matching buffer.
11631 (window-state-put): Remove "bufferless" windows if possible.
11633 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11635 * simple.el (alternatives-define): Remove leftover :group keyword.
11638 2013-07-06 Leo Liu <sdl.web@gmail.com>
11640 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11641 (ido-enable-virtual-buffers): New variable.
11642 (ido-buffer-internal, ido-toggle-virtual-buffers)
11643 (ido-make-buffer-list): Use it.
11644 (ido-exhibit): Support turning on and off virtual buffers
11647 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11649 * simple.el (alternatives-define): New macro.
11651 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11653 * subr.el (read-quoted-char): Use read-key.
11654 (sit-for): Let read-event decode tty input (bug#14782).
11656 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11658 * calendar/todo-mode.el: Add handling of file deletion, both by
11659 mode command and externally. Fix various related bugs.
11660 Clarify Commentary and improve some documentation strings and code.
11661 (todo-delete-file): New command.
11662 (todo-check-file): New function.
11663 (todo-show): Handle external deletion of the file we're trying to
11664 show (bug#14688). Replace called-interactively-p by an optional
11665 prefix argument to avoid problematic interaction with catch form
11666 when byte compiled (bug#14702).
11667 (todo-quit): Handle external deletion of the archive's todo file.
11668 Make sure the buffer that was visiting the archive file is still
11669 live before trying to bury it.
11670 (todo-category-completions): Handle external deletion of any
11671 category completion files.
11672 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11673 of todo files, in case of external deletion.
11674 (todo-add-file): Replace unnecessary setq by let-binding.
11675 (todo-find-archive): Check whether there are any archives.
11676 Replace unnecessary setq by let-binding.
11677 (todo-archive-done-item): Use find-file-noselect to get the
11678 archive buffer whether or not the archive already exists.
11679 Remove superfluous code. Use file size instead of buffer-file-name to
11680 check if the archive is new; if it is, update list of archives.
11681 (todo-default-todo-file): Allow nil to be a valid value for when
11682 there are no todo files.
11683 (todo-reevaluate-default-file-defcustom): Use corrected definition
11684 of todo-default-todo-file.
11685 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11686 (todo-delete-category, todo-show-categories-table)
11687 (todo-category-number): Clarify comment.
11688 (todo-filter-items): Clarify documentation string.
11689 (todo-show-current-file, todo-display-as-todo-file)
11690 (todo-reset-and-enable-done-separator): Tweak documentation string.
11691 (todo-done-separator): Make separator length window-width, since
11692 bug#2749 is now fixed.
11694 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11696 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11697 Support both "gvfs-monitor-dir" and "inotifywait".
11698 (tramp-sh-file-inotifywait-process-filter): Rename from
11699 `tramp-sh-file-notify-process-filter'.
11700 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11701 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11703 2013-07-05 Leo Liu <sdl.web@gmail.com>
11705 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11707 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11709 * frame.el (display-pixel-height, display-pixel-width)
11710 (display-mm-height, display-mm-width): Mention behavior on
11711 multi-monitor setups in docstrings.
11712 (w32-display-monitor-attributes-list): Declare function.
11713 (display-monitor-attributes-list): Use it.
11715 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11717 * filenotify.el: New package.
11719 * autorevert.el (top): Require filenotify.el.
11720 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11722 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11723 (auto-revert-notify-handler): Use `file-notify-*' functions.
11725 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11727 * net/tramp.el (tramp-file-name-for-operation):
11728 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11730 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11731 for `file-notify-add-watch' and `file-notify-rm-watch'.
11732 (tramp-process-sentinel): Improve trace.
11733 (tramp-sh-handle-file-notify-add-watch)
11734 (tramp-sh-file-notify-process-filter)
11735 (tramp-sh-handle-file-notify-rm-watch)
11736 (tramp-get-remote-inotifywait): New defuns.
11738 2013-07-03 Juri Linkov <juri@jurta.org>
11740 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11741 call of `occur-read-primary-args' to interactive spec.
11743 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11744 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11746 2013-07-03 Matthias Meulien <orontee@gmail.com>
11748 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11749 `Buffer-menu-multi-occur'. Add it to the menu.
11750 (Buffer-menu-mode): Document it in docstring.
11751 (Buffer-menu-multi-occur): New command. (Bug#14673)
11753 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11755 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11756 keywords and built-ins.
11758 2013-07-03 Glenn Morris <rgm@gnu.org>
11760 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11762 Make info-xref checks case-sensitive by default
11763 * info.el (Info-find-node, Info-find-in-tag-table)
11764 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11765 Add option for exact case matching of nodes.
11766 * info-xref.el (info-xref): New custom group.
11767 (info-xref-case-fold): New option.
11768 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11770 2013-07-03 Leo Liu <sdl.web@gmail.com>
11772 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11774 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11776 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11777 middle of block statement initially, lower the depth. Remove
11778 FIXME comment, not longer valid. Remove middle of block statement
11779 detection, no need to do that anymore since we've been using
11780 `ruby-parse-region' here.
11782 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11784 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11786 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11788 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11790 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11792 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11793 (desktop-restore-in-current-display): New customization option.
11794 (desktop--excluded-frame-parameters): Add `font'.
11795 (desktop--save-frames): Rename from desktop--save-windows.
11796 (desktop--restore-in-this-display-p): New function.
11797 (desktop--make-full-frame): Remove unwanted width/height from
11798 full(width|height) frames.
11799 (desktop--restore-frames): Rename from desktop--restore-windows.
11800 Obey desktop-restore-current-display. Do not delete old frames or
11801 select a new frame unless we were able to restore at least one frame.
11803 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11805 * files.el (find-file-noselect): Simplify conditional expression.
11807 * textmodes/remember.el (remember-append-to-file):
11808 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11810 Add `remember-notes' function to store random notes across Emacs
11812 * textmodes/remember.el (remember-data-file): Add :set callback to
11813 affect notes buffer (if any).
11814 (remember-notes): New command.
11815 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11816 New defcustoms for the `remember-notes' function.
11817 (remember-notes-save-and-bury-buffer): New command.
11818 (remember-notes-mode-map): New variable.
11819 (remember-mode): New minor mode.
11820 (remember-notes--kill-buffer-query): New function.
11821 * startup.el (initial-buffer-choice): Add notes to custom type.
11823 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11825 * bindings.el (right-char, left-char): Don't call sit-for, this is
11826 no longer needed. Use arithmetic comparison only for numerical
11829 * international/mule-cmds.el (select-safe-coding-system):
11830 Handle the case of FROM being a string correctly. (Bug#14755)
11832 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11834 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11835 progression on degenerate tables.
11836 (shr-rescale-image): ImageMagick animated images currently don't work.
11838 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11840 Some fixes and improvements for desktop frame restoration.
11841 It is still experimental and disabled by default.
11842 * desktop.el (desktop--save-windows): Put the selected frame at
11843 the head of the list.
11844 (desktop--make-full-frame): New function.
11845 (desktop--restore-windows): Try to re-select the frame that was
11846 selected upon saving. Do not abort if some frames fail to restore,
11847 just show an error message and continue. Set up maximized frames
11848 so they have default non-maximized dimensions.
11850 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11852 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11853 Don't start heredoc inside a string or comment.
11855 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11857 * bindings.el (visual-order-cursor-movement): New defcustom.
11858 (right-char, left-char): Provide visual-order cursor motion by
11859 calling move-point-visually. Update the doc strings.
11861 2013-06-28 Kenichi Handa <handa@gnu.org>
11863 * international/mule.el (define-coding-system): New coding system
11864 properties :inhibit-null-byte-detection,
11865 :inhibit-iso-escape-detection, and :prefer-utf-8.
11866 (set-buffer-file-coding-system): If :charset-list property of
11867 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11868 appropriate for setting.
11870 * international/mule-cmds.el (select-safe-coding-system):
11871 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11872 multibyte characters, return utf-8 (or one of its siblings).
11874 * international/mule-conf.el (prefer-utf-8): New coding system.
11875 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11878 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11880 * net/shr.el (shr-render-region): New function.
11882 * net/eww.el: Autoload `eww-browse-url'.
11884 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11886 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11887 Adapt to `package-desc-version' being a list.
11888 Use `package--ac-desc-version' to retrieve version from a package
11891 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11893 New experimental feature to save&restore window and frame setup.
11894 * desktop.el (desktop-save-windows): New defcustom.
11895 (desktop--saved-states): New var.
11896 (desktop--excluded-frame-parameters): New defconst.
11897 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11898 (desktop--restore-windows, desktop--save-windows): New functions.
11899 (desktop-save): Call `desktop--save-windows'.
11900 (desktop-read): Call `desktop--restore-windows'.
11902 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11904 * net/shr.el (add-face-text-property): Remove compat definition.
11906 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11908 * info.el (Info-try-follow-nearest-node): Move search for footnote
11909 above search for node name to prevent missing a footnote (bug#14717).
11911 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11913 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11915 2013-06-27 Leo Liu <sdl.web@gmail.com>
11917 * net/eww.el (eww-read-bookmarks): Check file size.
11919 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11921 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11922 advice--pending if newdef is nil or an autoload (bug#13820).
11923 (advice-mapc): New function.
11925 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11929 (eww-mode-map): Add a menu bar.
11930 (eww-add-bookmark): New command.
11931 (eww-bookmark-mode): New mode and commands.
11932 (eww-add-bookmark): Remove newlines from the title.
11933 (eww-bookmark-browse): Don't bug out if it's the only window.
11935 2013-06-26 Glenn Morris <rgm@gnu.org>
11937 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11938 (hfy-size): Handle ttys. (Bug#14668)
11940 * info-xref.el: Update for Texinfo 5 change in *note format.
11941 (info-xref-node-re, info-xref-note-re): New constants.
11942 (info-xref-check-buffer): Use info-xref-note-re.
11944 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11946 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11948 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11949 nil terminate the loop (bug#14718).
11951 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11953 * net/eww.el: Rework history traversal. When going forward/back,
11954 put these actions into the history, too, so that they can be
11956 (eww-render): Move the history reset to the correct buffer.
11958 2013-06-25 Juri Linkov <juri@jurta.org>
11960 * files-x.el (modify-dir-local-variable): Change the header comment
11961 in the file with directory local variables. (Bug#14692)
11963 * files-x.el (read-file-local-variable-value): Add `default'.
11966 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11968 * net/eww.el (eww-make-unique-file-name): Create a unique file
11969 name before saving to entering `y' accidentally asynchronously.
11971 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11973 * net/eww.el (eww-download): New command and keystroke.
11975 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977 * net/eww.el (eww-copy-page-url): Change name of command.
11979 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11980 be more consistent with Info and dired.
11982 * net/eww.el (eww-mode-map): Ditto.
11984 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11986 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11987 packages from archives.
11988 (package-archive-contents): Change format; include obsolete packages.
11989 (package-desc): Use `dir' to mark builtin packages.
11990 (package--from-builtin): Set the `dir' field to `builtin'.
11991 (generated-autoload-file, version-control): Declare.
11992 (package-compute-transaction): Change first arg and return value to be
11993 lists of package-descs. Adjust to new package-archive-contents format.
11994 (package--add-to-archive-contents): Adjust to new
11995 package-archive-contents format.
11996 (package-download-transaction): Arg is now a list of package-descs.
11997 (package-install): If `pkg' is a package name, pass it as
11998 a requirement, so it is subject to the usual (e.g. disabled) checks.
11999 (describe-package): Accept package-desc as well.
12000 (describe-package-1): Describe a specific package-desc. Add links to
12001 other package-descs for the same package name.
12002 (package-menu-describe-package): Pass the actual package-desc.
12003 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12005 (package-desc-status): New function.
12006 (package-menu--refresh): New function, extracted
12007 from package-menu--generate.
12008 (package-menu--generate): Use it.
12009 (package-delete): Update package-alist.
12010 (package-menu-execute): Don't call package-initialize.
12012 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12013 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12014 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12015 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12016 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12017 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12019 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12021 * window.el (window--state-get-1): Workaround for bug#14527.
12022 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12024 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12026 * net/eww.el (eww-back-url): Implement the history by stashing all
12027 the data into a list.
12028 (eww-forward-url): Allow going forward in the history, too.
12030 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12032 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12033 for values and use read--expression for expressions (bug#14710).
12034 (read-file-local-variable): Avoid setq.
12035 (read-file-local-variable-mode): Use minor-mode-list.
12037 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12039 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12042 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12044 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12045 Update imenu-support when dialect changes.
12047 2013-06-25 Leo Liu <sdl.web@gmail.com>
12049 * ido.el (ido-read-internal): Allow forward slash on windows.
12051 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12053 * net/eww.el (eww): Start of strings is \\`, not ^.
12055 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12057 * net/shr.el (shr-browse-url): Fix interactive spec.
12059 * net/eww.el (eww): Add a trailing slash to domain names.
12061 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12063 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12065 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12067 * net/shr.el (shr-browse-url): Use an external browser if given a
12070 * net/eww.el (eww-external-browser): Move to shr.
12072 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12074 * net/eww.el (eww): Work more correctly for file: URLs.
12075 (eww-detect-charset): Allow quoted charsets.
12076 (eww-yank-page-url): New command and keystroke.
12078 2013-06-24 Daiki Ueno <ueno@gnu.org>
12080 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12081 file name of gpg executable.
12082 (epg-context-program): New function.
12083 (epg-context-home-directory): New function.
12084 (epg-context-set-program): New function.
12085 (epg-context-set-home-directory): New function.
12086 (epg--start): Use `epg-context-program' instead of
12088 (epg--list-keys-1): Likewise.
12090 2013-06-24 Leo Liu <sdl.web@gmail.com>
12092 * ido.el (ido-read-internal): Fix bug#14620.
12094 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12096 * faces.el (face-documentation): Simplify.
12097 (read-face-attribute, tty-find-type, x-resolve-font-name):
12098 Use `string-match-p'.
12099 (list-faces-display): Use `string-match-p'. Simplify.
12100 (face-spec-recalc): Check face to avoid face alias loops.
12101 (read-color): Use `string-match-p' and non-capturing parenthesis.
12103 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12105 * net/shr.el (shr-rescale-image): Use the new
12106 :max-width/:max-height functionality.
12108 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12110 * net/eww.el (eww-search-prefix): New variable.
12112 (eww-external-browser): New variable.
12113 (eww-mode-map): New keystroke.
12114 (eww-browse-with-external-browser): New command.
12116 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12118 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12120 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12121 Don't skip aligning the next header field when padding is 0;
12122 otherwise, field width is not respected unless the title is as
12125 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * emacs-lisp/package.el (package-el-version): Remove.
12128 (package-process-define-package): Fix inf-loop.
12129 (package-install): Allow symbols as arguments again.
12131 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12133 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12134 add some more keyword-like methods.
12135 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12137 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12139 * bs.el (bs-buffer-show-mark): Make defvar-local.
12140 (bs-mode): Use setq-local.
12142 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12143 (emacs-lock--try-unlocking): Make defvar-local.
12145 2013-06-22 Glenn Morris <rgm@gnu.org>
12147 * play/cookie1.el (cookie-apropos): Minor simplification.
12149 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12151 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12153 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12154 `regexp-opt', it breaks the build during dumping.
12156 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12158 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12159 Highlight keyword-like methods on Kernel and Module with
12160 font-lock-builtin-face.
12161 (auto-mode-alist): Consolidate different entries into one regexp
12162 and add more *file-s.
12164 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12166 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12168 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12169 (diary-entry): Use it in the action of this button type instead of
12172 * calendar/todo-mode.el: New version.
12173 (todo-add-category): Append new category to end of file and give
12174 it the highest number, instead of putting it at the beginning and
12175 giving it 0. Incorporate noninteractive functionality.
12176 (todo-forward-category): Adapt to 1-based category numbering.
12177 Allow skipping over archived categories.
12178 (todo-backward-category): Derive from todo-forward-category.
12179 (todo-backward-item, todo-forward-item): Make noninteractive and
12180 delegate interactive part to new commands. Make sensitive to done items.
12181 (todo-categories): Make value an alist of category names and
12182 vectors of item counts.
12183 (todo-category-beg): Make a defconst.
12184 (todo-category-number): Use 1 instead of 0 as initial value.
12185 (todo-category-select): Make sensitive to overlays, optional item
12186 highlighting and done items.
12187 (todo-delete-item): Make sensitive to overlays and marked and done items.
12188 (todo-edit-item): Make sensitive to overlays and editing of
12189 date/time header optional. Add format checks.
12190 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12191 no-op if point is not on an item. Advertise using todo-edit-quit.
12192 (todo-edit-mode): Make sensitive to new format, font-locking, and
12193 multiple todo files.
12194 (todo-insert-item, todo-insert-item-here): Derive from
12195 todo-basic-insert-item and extend functionality.
12196 (todo-item-end, todo-item-start): Make sensitive to done items.
12197 (todo-item-string): Don't return text properties. Restore point.
12198 (todo-jump-to-category): Make sensitive to multiple todo files and
12199 todo archives. Use extended category completion.
12200 (todo-lower-item, todo-raise-item): Rename to *-priority and
12201 derive from todo-set-item-priority.
12202 (todo-mode): Derive from special-mode. Make sensitive to new
12203 format, font-locking and multiple todo files. Make read-only.
12204 (todo-mode-map): Don't suppress digit keys, so they can supply
12205 prefix arguments. Add many new key bindings.
12206 (todo-prefix): Insert as an overlay instead of file text.
12207 Change semantics from diary date expression to purely visual mark.
12208 (todo-print): Rename to todo-print-buffer. Make buffer display
12209 features printable. Remove option to restrict number of items
12210 printed. Add option to print to file.
12211 (todo-print-function): Rename to todo-print-buffer-function.
12212 (todo-quit): Extend to handle exiting new todo modes.
12213 (todo-remove-item): Make sensitive to overlays.
12214 (todo-save): Extend to buffers of filtered items.
12215 (todo-show): Make sensitive to done items, multiple todo files and
12216 new todo modes. Offer to convert legacy todo file before creating
12217 first new todo file.
12218 (todo-show-priorities): Rename to todo-top-priorities.
12219 Change semantics of value 0.
12220 (todo-top-priorities): Rename to todo-filter-top-priorities,
12221 derive from todo-filter-items and extend functionality.
12222 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12223 and extend functionality to other types of filtered items.
12224 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12225 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12226 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12227 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12228 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12229 (todo-edit-mode-hook, todo-entry-prefix-function)
12230 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12231 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12232 (todo-initials, todo-insert-threshold, todo-item-string-start)
12233 (todo-line-string, todo-menu, todo-mode-hook)
12234 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12235 (todo-print-priorities, todo-remove-separator)
12236 (todo-save-top-priorities-too, todo-string-count-lines)
12237 (todo-string-multiline-p, todo-time-string-format)
12238 (todo-tmp-buffer-name): Remove.
12239 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12240 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12241 (todo-edit-category-diary-inclusion)
12242 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12243 (todo-edit-file, todo-edit-item-date-day)
12244 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12245 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12246 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12247 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12248 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12249 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12250 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12251 (todo-filter-top-priorities-multifile, todo-find-archive)
12252 (todo-find-filtered-items-file, todo-go-to-source-item)
12253 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12254 (todo-jump-to-archive-category, todo-lower-category)
12255 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12256 (todo-move-category, todo-move-item, todo-next-button)
12257 (todo-next-item, todo-padded-string, todo-powerset)
12258 (todo-previous-button, todo-previous-item)
12259 (todo-print-buffer-to-file, todo-raise-category)
12260 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12261 (todo-set-category-number, todo-set-item-priority)
12262 (todo-set-top-priorities-in-category)
12263 (todo-set-top-priorities-in-file, todo-show-categories-table)
12264 (todo-sort-categories-alphabetically-or-numerically)
12265 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12266 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12267 (todo-toggle-item-header, todo-toggle-item-highlighting)
12268 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12269 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12270 (todo-unarchive-items, todo-unmark-category): New commands.
12271 (todo-absolute-file-name, todo-add-to-buffer-list)
12272 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12273 (todo-basic-insert-item, todo-category-completions)
12274 (todo-category-number, todo-category-string-matcher-1)
12275 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12276 (todo-check-format, todo-clear-matches)
12277 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12278 (todo-current-category, todo-date-string-matcher)
12279 (todo-define-insertion-command, todo-diary-expired-matcher)
12280 (todo-diary-goto-entry, todo-diary-item-p)
12281 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12282 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12283 (todo-done-item-section-p, todo-done-separator)
12284 (todo-done-string-matcher, todo-files, todo-filter-items)
12285 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12286 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12287 (todo-insert-category-line, todo-insert-item-from-calendar)
12288 (todo-insert-sort-button, todo-insert-with-overlays)
12289 (todo-insertion-command-name, todo-insertion-key-bindings)
12290 (todo-label-to-key, todo-longest-category-name-length)
12291 (todo-make-categories-list, todo-mode-external-set)
12292 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12293 (todo-modes-set-3, todo-multiple-filter-files)
12294 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12295 (todo-read-category, todo-read-date, todo-read-dayname)
12296 (todo-read-file-name, todo-read-time)
12297 (todo-reevaluate-category-completions-files-defcustom)
12298 (todo-reevaluate-default-file-defcustom)
12299 (todo-reevaluate-filelist-defcustoms)
12300 (todo-reevaluate-filter-files-defcustom)
12301 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12302 (todo-reset-done-separator, todo-reset-done-separator-string)
12303 (todo-reset-done-string, todo-reset-global-current-todo-file)
12304 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12305 (todo-reset-prefix, todo-set-categories)
12306 (todo-set-date-from-calendar, todo-set-show-current-file)
12307 (todo-set-top-priorities, todo-short-file-name)
12308 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12309 (todo-total-item-counts, todo-update-buffer-list)
12310 (todo-update-categories-display, todo-update-categories-sexp)
12311 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12313 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12315 (todo-categories, todo-display, todo-edit, todo-faces)
12316 (todo-filtered): New defgroups.
12317 (todo-archived-only, todo-button, todo-category-string, todo-date)
12318 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12319 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12320 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12321 (todo-add-item-if-new-category, todo-always-add-time-string)
12322 (todo-categories-align, todo-categories-archived-label)
12323 (todo-categories-category-label, todo-categories-diary-label)
12324 (todo-categories-done-label, todo-categories-number-separator)
12325 (todo-categories-todo-label, todo-categories-totals-label)
12326 (todo-category-completions-files, todo-completion-ignore-case)
12327 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12328 (todo-done-separator-string, todo-done-string)
12329 (todo-files-function, todo-filter-done-items, todo-filter-files)
12330 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12331 (todo-initial-category, todo-initial-file, todo-item-mark)
12332 (todo-legacy-date-time-regexp, todo-mode-line-function)
12333 (todo-nondiary-marker, todo-number-prefix)
12334 (todo-print-buffer-function, todo-show-current-file)
12335 (todo-show-done-only, todo-show-first, todo-show-with-done)
12336 (todo-skip-archived-categories, todo-top-priorities-overrides)
12337 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12338 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12340 (todo-category-done, todo-date-pattern, todo-date-string-start)
12341 (todo-diary-items-buffer, todo-done-string-start)
12342 (todo-filtered-items-buffer, todo-item-start)
12343 (todo-month-abbrev-array, todo-month-name-array)
12344 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12345 (todo-top-priorities-buffer): New defconsts.
12346 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12347 (todo-categories-with-marks, todo-category-string-face)
12348 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12349 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12350 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12351 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12352 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12353 (todo-font-lock-keywords, todo-global-current-todo-file)
12354 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12355 (todo-insertion-commands-args)
12356 (todo-insertion-commands-args-genlist)
12357 (todo-insertion-commands-names, todo-insertion-map)
12358 (todo-key-bindings-t, todo-key-bindings-t+a)
12359 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12360 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12361 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12362 (todo-visited): New variables.
12364 2013-06-21 Glenn Morris <rgm@gnu.org>
12366 * play/cookie1.el (cookie-apropos): Add optional display argument.
12367 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12368 (psychoanalyze-pinhead): Use cookie-doctor.
12370 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12372 * emacs-lisp/package.el (tar-get-file-descriptor)
12373 (tar--extract): Declare.
12375 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12377 Extend flymake's warning predicate to be a function (bug#14217).
12378 * progmodes/flymake.el (flymake-warning-predicate): New.
12379 (flymake-parse-line): Use it.
12380 (flymake-warning-re): Make obsolete alias to
12381 `flymake-warning-predicate'.
12383 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12385 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12386 (package-obsolete-list): Remove.
12387 (package-activate): Remove min-version argument. Add `force' argument.
12388 Adjust to new package-alist format.
12389 (package-mark-obsolete): Remove.
12390 (package-unpack): Force reload of the package's autoloads.
12391 (package-installed-p): Check builtins if the installed package is not
12393 (package-initialize): Don't reset package-obsolete-list.
12394 Don't specify which package version to activate.
12395 (package-process-define-package, describe-package-1)
12396 (package-menu--generate): Adjust to new package-alist format.
12398 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12400 * allout-widgets.el (allout-widgets-mode-off)
12401 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12402 (allout-widgets-post-command-business)
12403 (allout-widgets-after-copy-or-kill-function)
12404 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12405 (allout-decorate-item-and-context)
12406 (allout-graphics-modification-handler): Fix typos in docstrings.
12407 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12409 * cmuscheme.el (scheme-start-file): Doc fix.
12410 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12411 (scheme-input-filter): Use `string-match-p'.
12413 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12415 * dired-x.el: Use Dired consistently in docstrings.
12417 * dired.el: Use Dired consistently in docstrings.
12418 (dired-readin, dired-mode): Use `setq-local'.
12419 (dired-switches-alist): Make defvar-local.
12420 (dired-buffers-for-dir): Use `zerop'.
12421 (dired-safe-switches-p, dired-switches-escape-p)
12422 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12423 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12424 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12425 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12426 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12427 (dired-toggle-marks, dired-mark-files-containing-regexp)
12428 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12429 (dired-flag-auto-save-files, dired-flag-backup-files):
12430 Use `looking-at-p'.
12431 (dired-mark-files-regexp, dired-build-subdir-alist):
12432 Use `string-match-p', `looking-at-p'.
12434 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12435 (direct-print-region-helper): Use `string-match-p'.
12437 2013-06-21 Leo Liu <sdl.web@gmail.com>
12439 * comint.el (comint-redirect-results-list-from-process):
12442 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12444 * net/eww.el (eww-update-header-line-format): Quote % characters.
12446 2013-06-21 Glenn Morris <rgm@gnu.org>
12448 * play/cookie1.el (cookie): New custom group.
12449 (cookie-file): New option.
12450 (cookie-check-file): New function.
12451 (cookie): Make it interactive. Make start and end messages optional.
12452 Interactively, display the result. Default to cookie-file.
12453 (cookie-insert): Default to cookie-file.
12454 (cookie-snarf): Make start and end messages optional.
12455 Default to cookie-file. Use with-temp-buffer.
12456 (cookie-read): Rename from read-cookie.
12457 Make start and end messages optional. Default to cookie-file.
12458 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12459 Do not autoload it.
12460 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12461 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12463 2013-06-21 Leo Liu <sdl.web@gmail.com>
12465 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12467 2013-06-21 Glenn Morris <rgm@gnu.org>
12469 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12471 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12472 Daniel Hackney <dan@haxney.org>
12474 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12475 Consolidate the single-file vs tarball code.
12476 (package-desc-suffix): New function.
12477 (package-desc-full-name): Don't bother inlining it.
12478 (package-load-descriptor): Return the new package-desc.
12479 (package-mark-obsolete): Remove unused arg `package'.
12480 (package-unpack): Make it work for single files as well.
12481 Make it update package-alist.
12482 (package--make-autoloads-and-stuff): Rename from
12483 package--make-autoloads-and-compile. Don't compile any more.
12484 (package--compile): New function.
12485 (package-generate-description-file): New function, extracted from
12486 package-unpack-single.
12487 (package-unpack-single): Remove.
12488 (package--with-work-buffer): Add indentation and debugging info.
12489 (package-download-single): Remove.
12490 (package-install-from-archive): Rename from package-download-tar, make
12491 it take a pkg-desc, and make it work for single files as well.
12492 (package-download-transaction): Simplify.
12493 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12494 external tar program.
12495 (package-install-from-buffer): Remove `pkg-desc' argument.
12496 Use package-tar-file-info for tar-mode buffers.
12497 (package-install-file): Simplify accordingly.
12498 (package-archive-base): Change to take a pkg-desc.
12499 * tar-mode.el (tar--check-descriptor): New function, extracted from
12500 tar-get-descriptor.
12501 (tar-get-descriptor): Use it.
12502 (tar-get-file-descriptor): New function.
12503 (tar--extract): New function, extracted from tar-extract.
12504 (tar--extract): Use it.
12505 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12506 case the summary uses non-ascii. Adjust to new calling convention of
12507 package-tar-file-info.
12509 2013-06-21 Leo Liu <sdl.web@gmail.com>
12511 * comint.el (comint-redirect-results-list-from-process):
12512 Fix random delay. (Bug#14681)
12514 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12516 * profiler.el (profiler-format-number): Use log, not log10.
12518 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12520 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12522 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12524 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12525 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12527 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12528 (AUTOGENEL): ... here.
12529 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12530 (cl--defsubst-expand): Use it.
12532 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12534 * subr.el (log10): Move here from C code, and declare as obsolete.
12535 All uses of (log10 X) replaced with (log X 10).
12537 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12539 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12540 Declare with `defvar-local'.
12541 (tabulated-list-use-header-line, tabulated-list-entries)
12542 (tabulated-list-padding, tabulated-list-printer)
12543 (tabulated-list-sort-key): Declare with `defvar-local'.
12544 (tabulated-list-init-header, tabulated-list-print-fake-header):
12547 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12549 * arc-mode.el (archive-mode): Add `archive-write-file' to
12550 `write-contents-functions' also for remote files. (Bug#14652)
12552 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12554 * cus-edit.el (custom-commands): Fix typos.
12555 (custom-display): Fix tooltip text.
12556 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12557 Fix typos in docstrings.
12558 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12559 (custom-unlispify-menu-entry, custom-magic-value-create)
12560 (custom-add-see-also, custom-group-value-create): Use ?\s.
12561 (custom-guess-type, customize-apropos, editable-field)
12562 (custom-face-value-create): Use `string-match-p'.
12563 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12565 * custom.el (custom-load-symbol): Use `string-match-p'.
12567 * ansi-color.el: Convert to lexical binding.
12568 (ansi-colors): Fix URL.
12569 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12570 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12571 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12573 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12577 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12579 2013-06-19 Tom Tromey <tromey@redhat.com>
12581 * net/eww.el (eww-top-url): Remove.
12582 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12583 (eww-render): Set new variables. Don't set eww-top-url.
12584 (eww-handle-link): Handle "prev", "home", and "contents".
12585 Downcase the rel text.
12586 (eww-top-url): Choose best top URL.
12588 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12591 relying in widget.el. Using widget.el leads to too many
12592 user interface inconsistencies.
12593 (eww-self-insert): Implement entering commands in text fields.
12594 (eww-process-text-input): New function to make text input field editing
12596 (eww-submit): Rewrite to use the new-style form methods.
12597 (eww-select-display): Display the correct selected item.
12598 (eww-change-select): Implement changing the select value.
12599 (eww-toggle-checkbox): Implement radio/checkboxes.
12600 (eww-update-field): Fix compilation error.
12601 (eww-tag-textarea): Implement <textarea>.
12603 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12604 we don't shadow mode-specific bindings.
12606 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12609 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12611 2013-06-19 Glenn Morris <rgm@gnu.org>
12613 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12615 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12617 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12620 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12622 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12624 * net/browse-url.el (browse-url-browser-function):
12625 `eww-browse-url' has the right calling signature, `eww' does not.
12627 2013-06-19 Glenn Morris <rgm@gnu.org>
12629 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12630 Only eval autoloaded macros.
12631 (byte-compile-autoload): Only give the macro warning for macros.
12633 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12634 (ps-underlined-faces): Declare.
12636 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12637 (speedbar-add-supported-extension): Declare.
12639 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12640 Don't include a date stamp in the header of the generated file;
12641 it leads to needless differences between output files.
12643 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12645 * net/secrets.el (secrets-struct-secret-content-type):
12646 Replace check of introspection data by a test call of "CreateItem".
12647 Some servers do not offer introspection.
12649 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12651 * electric.el (electric-pair-mode): Improve interaction with
12652 electric-layout-mode.
12653 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12654 (electric-pair-syntax): Use text-mode-syntax-table in comments
12656 (electric-pair--insert): New function.
12657 (electric-pair-post-self-insert-function): Use it and
12658 electric--after-char-pos.
12660 2013-06-19 Leo Liu <sdl.web@gmail.com>
12662 * progmodes/octave.el (octave-help): Fix regexp.
12664 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12667 (shr-table-horizontal-line): Allow nil as a value, and change the
12669 (shr-insert-table-ruler): Respect the nil value.
12671 2013-06-18 Tom Tromey <tromey@barimba>
12673 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12675 (eww-open-file): New defun.
12676 (eww-render): Initialize new variables.
12677 (eww-display-html): Handle "link" and "a".
12678 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12679 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12680 (eww-back-url): Rename from eww-previous-url.
12681 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12684 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12686 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12687 Distinguish ternary operator tokens from slash symbol and slash
12690 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12692 Convert symbol prettification into minor mode and global minor mode.
12694 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12695 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12696 (prettify-symbols--keywords): Rename from
12697 `prog-prettify-symbols-alist' and make a local defvar.
12698 (prettify-symbols--compose-symbol): Rename from
12699 `prog--prettify-font-lock-compose-symbol'.
12700 (prettify-symbols--make-keywords): Rename from
12701 `prog-prettify-font-lock-symbols-keywords' and simplify.
12702 (prog-prettify-install): Remove.
12703 (prettify-symbols-mode): New minor mode, based on
12704 `prog-prettify-install'.
12705 (turn-on-prettify-symbols-mode): New function.
12706 (global-prettify-symbols-mode): New globalized minor mode.
12708 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12709 * progmodes/cfengine.el (cfengine3-mode):
12710 * progmodes/perl-mode.el (perl-mode): Don't call
12711 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12713 2013-06-18 Juri Linkov <juri@jurta.org>
12715 * files-x.el (modify-file-local-variable-message): New function.
12716 (modify-file-local-variable)
12717 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12718 and call `modify-file-local-variable-message' when it's non-nil.
12719 (add-file-local-variable, delete-file-local-variable)
12720 (add-file-local-variable-prop-line)
12721 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12722 and use it. (Bug#9820)
12724 2013-06-18 Juri Linkov <juri@jurta.org>
12726 * emulation/vi.el (vi-shell-op):
12727 * emulation/vip.el (vip-execute-com, ex-command):
12728 * emulation/viper-cmd.el (viper-exec-bang):
12729 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12730 the call of `shell-command-on-region'. (Bug#14637)
12732 * simple.el (shell-command-on-region): Doc fix.
12734 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12736 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12739 2013-06-18 Glenn Morris <rgm@gnu.org>
12741 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12743 * newcomment.el (comment-search-forward, comment-search-backward):
12744 Doc fix. (Bug#14376)
12746 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12748 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12749 (buffer-face-mode-invoke): Doc fix.
12751 2013-06-18 Matthias Meulien <orontee@gmail.com>
12753 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12754 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12756 2013-06-18 Glenn Morris <rgm@gnu.org>
12758 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12759 Replace obsolete function generic-make-keywords with its expansion.
12761 * progmodes/python.el (ffap-alist): Declare.
12763 * textmodes/reftex.el (bibtex-mode-map): Declare.
12765 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12768 (package-unpack, package-unpack-single): Return the pkg-dir.
12769 (package-download-transaction): Use it to update package-alist.
12771 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12773 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12776 2013-06-17 Juri Linkov <juri@jurta.org>
12778 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12780 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12782 * emacs-lisp/package.el (package-load-descriptor):
12783 Remove `with-syntax-table' call, `read' doesn't need it.
12784 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12786 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12788 * startup.el (command-line): Expand package name returned by
12789 `package--description-file' (bug#14639).
12791 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12793 * emacs-lisp/package.el (package-load-descriptor): Do not call
12794 `emacs-lisp-mode', just use its syntax table.
12796 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12798 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12799 `font-lock-extra-managed-props' if any prettifying keyword is added.
12800 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12801 (prog-mode): Use `setq-local'.
12803 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12805 * international/characters.el (standard-case-table): Set syntax of ?»
12806 and ?« to punctuation.
12808 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12810 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12811 Save relevant match data before calling `syntax-ppss' (bug#14595).
12813 2013-06-15 Juri Linkov <juri@jurta.org>
12815 * files-x.el (modify-file-local-variable-prop-line): Add local
12816 variables to the end of the existing comment on the first line.
12817 Use `file-auto-mode-skip' to skip interpreter magic line,
12818 and also skip XML declaration.
12820 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12822 * startup.el (package--builtin-versions): New var.
12823 (package-subdirectory-regexp): Remove.
12824 (package--description-file): Hard code its value instead.
12826 * emacs-lisp/package.el: Don't activate packages older than builtin.
12827 (package-obsolete-list): Rename from package-obsolete-alist, and make
12828 it into a simple list of package-desc.
12829 (package-strip-version): Remove.
12830 (package-built-in-p): Use package--builtin-versions.
12831 (package-mark-obsolete): Simplify.
12832 (package-process-define-package): Mark it obsolete if older than the
12834 (package-handle-response): Use line-end-position.
12835 (package-read-archive-contents, package--download-one-archive):
12837 (package--add-to-archive-contents): Skip if older than the builtin or
12839 (package-menu-describe-package): Fix last change.
12840 (package-list-unversioned): New var.
12841 (package-menu--generate): Use it.
12843 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12844 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12845 (autoload-builtin-package-versions): New variable.
12846 (autoload-generate-file-autoloads): Use them.
12847 Remove the list of autoloaded functions/macros from the
12848 (autoload...) comments.
12850 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12852 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12854 * simple.el (line-move-partial): Don't jump to the next screen
12855 line as soon as it becomes visible. Instead, continue enlarging
12856 the vscroll until the portion of a tall screen line that's left on
12857 display is about the height of the frame's default font.
12860 2013-06-15 Glenn Morris <rgm@gnu.org>
12862 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12863 compilation-error-regexp-alist void, or local while let-bound.
12865 * progmodes/make-mode.el (makefile-mode-syntax-table):
12866 Treat "=" as punctuation. (Bug#14614)
12868 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12870 * help-fns.el (describe-variable):
12871 Add extra line for permanent-local variables.
12873 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12875 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12876 Add export, import, library. (Bug#9164)
12877 (library): Set indent function.
12879 2013-06-14 Glenn Morris <rgm@gnu.org>
12881 * term/xterm.el (xterm--query):
12882 Stop after first matching handler. (Bug#14615)
12884 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12886 Add support for dired in saveplace.
12887 * dired.el (dired-initial-position-hook): New variable.
12888 (dired-initial-position): Call hook to place cursor position.
12889 * saveplace.el (save-place-to-alist): Add dired position.
12890 (save-place-dired-hook): New function.
12892 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12894 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12895 through a symbol rather than letrec.
12897 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12898 (package-desc): Add `dir' field.
12899 (package-desc-full-name): New function.
12900 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12901 (package-maybe-load-descriptor): Remove.
12902 (package-load-all-descriptors): Just call package-load-descriptor.
12903 (package--disabled-p): New function.
12904 (package-desc-vers, package-desc-doc): Remove aliases.
12905 (package--dir): Remove function.
12906 (package-activate): Check if a package is disabled.
12907 (package-process-define-package): New function, extracted from
12909 (define-package): Turn into a place holder.
12910 (package-unpack-single, package-tar-file-info):
12911 Use package--description-file.
12912 (package-compute-transaction): Use package--disabled-p.
12913 (package-download-transaction): Don't call
12914 package-maybe-load-descriptor since they're all loaded anyway.
12915 (package-install): Change argument to be a pkg-desc.
12916 (package-delete): Use a single pkg-desc argument.
12917 (describe-package-1): Use package-desc-dir instead of package--dir.
12918 Use package-desc property instead of package-symbol.
12919 (package-install-button-action): Adjust accordingly.
12920 (package--push): Rewrite.
12921 (package-menu--print-info): Adjust accordingly. Change the ID format
12923 (package-menu-describe-package, package-menu-get-status)
12924 (package-menu--find-upgrades, package-menu-mark-upgrades)
12925 (package-menu-execute, package-menu--name-predicate):
12926 Adjust accordingly.
12927 * startup.el (package--description-file): New function.
12928 (command-line): Use it.
12929 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12930 Use package-desc-version.
12932 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12933 (byte-compile-preprocess): Use it.
12934 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12935 can't quite recognize.
12936 (byte-compile-add-to-list): Remove.
12937 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12938 (cconv-closure-convert): Add assertion.
12940 * emacs-lisp/map-ynp.el: Use lexical-binding.
12941 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12942 Factor out some repeated code.
12944 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12946 * subr.el (with-eval-after-load): New macro.
12947 (eval-after-load): Allow form to be a function.
12948 take advantage of lexical-binding.
12949 (do-after-load-evaluation): Use dolist and adjust to new format.
12950 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12952 2013-06-13 Juri Linkov <juri@jurta.org>
12954 * replace.el (perform-replace): Display "symbol " and other search
12955 modes from `isearch-message-prefix' in the *Help* buffer.
12957 * isearch.el (isearch-query-replace): Add " symbol" and other
12958 possible search modes from `isearch-message-prefix' to the prompt.
12959 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12960 when reading a regexp to collect.
12962 2013-06-13 Juri Linkov <juri@jurta.org>
12964 * isearch.el (word-search-regexp): Match whitespace if the search
12965 string begins or ends in whitespace. The LAX arg is applied to
12966 both ends of the search string. Use `regexp-quote' and explicit
12967 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12968 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12969 boundaries are replaced with symbol boundaries, and characters
12970 between symbols match non-word non-symbol syntax. (Bug#14602)
12972 2013-06-13 Juri Linkov <juri@jurta.org>
12974 * isearch.el (isearch-del-char): Don't exceed the length of
12975 `isearch-string' by the prefix arg. (Bug#14563)
12977 2013-06-13 Juri Linkov <juri@jurta.org>
12979 * isearch.el (isearch-yank-word, isearch-yank-line)
12980 (isearch-char-by-name, isearch-quote-char)
12981 (isearch-printing-char, isearch-process-search-char):
12982 Add optional count prefix arg. (Bug#14563)
12984 * international/isearch-x.el
12985 (isearch-process-search-multibyte-characters):
12986 Add optional count prefix arg.
12988 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12990 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12991 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12994 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12996 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12998 2013-06-13 Glenn Morris <rgm@gnu.org>
13000 * startup.el (tty-handle-args):
13001 Don't just discard "--" and anything after. (Bug#14608)
13003 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13005 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13007 Implement changes in Secret Service API. Make it backward compatible.
13008 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13009 (secrets-create-item): Use it. Prefix properties with interface.
13011 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13013 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13014 (term-emulate-terminal): Respect term-suppress-hard-newline.
13016 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13018 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13019 Only remove a `thumb-file' overlay. (Bug#14548)
13021 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13023 * mail/reporter.el (reporter-submit-bug-report):
13024 Handle missing package-name. (Bug#14600)
13026 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13028 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13029 (reftex-citation-prompt, reftex-default-bibliography)
13030 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13031 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13032 (reftex-bib-sort-author, reftex-bib-sort-year)
13033 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13034 (reftex-extract-bib-entries-from-thebibliography)
13035 (reftex-get-bibkey-default, reftex-get-bib-names)
13036 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13037 (reftex-format-bib-entry, reftex-parse-bibitem)
13038 (reftex-format-bibitem, reftex-do-citation)
13039 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13040 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13041 (reftex-insert-bib-matches, reftex-format-citation)
13042 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13043 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13044 existing comments into docstrings.
13046 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13048 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13050 2013-06-12 Andreas Schwab <schwab@suse.de>
13052 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13053 for auto-save files.
13055 2013-06-12 Glenn Morris <rgm@gnu.org>
13057 * ido.el (ido-delete-ignored-files): Remove.
13058 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13059 Go back to calling ido-ignore-item-p directly.
13061 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13063 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13065 * ido.el (ido-delete-ignored-files): New function,
13066 split from ido-make-file-list-1.
13067 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13068 (ido-make-file-list-1): Use ido-delete-ignored-files.
13070 2013-06-12 Leo Liu <sdl.web@gmail.com>
13072 * progmodes/octave.el (inferior-octave-startup)
13073 (inferior-octave-completion-table)
13074 (inferior-octave-track-window-width-change)
13075 (octave-eldoc-function-signatures, octave-help)
13076 (octave-find-definition): Use single quoted strings.
13077 (inferior-octave-startup-args): Change default value.
13078 (inferior-octave-startup): Do not hard code "-i" and
13079 "--no-line-editing".
13080 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13081 (inferior-octave-directory-tracker): Use it.
13082 (octave-goto-function-definition): Robustify.
13083 (octave-help): Support highlighting operators in 'See also'.
13084 (octave-find-definition): Find subfunctions only in Octave mode.
13086 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * help-fns.el (help-fns--compiler-macro): If the handler function is
13089 named, then put a link to it.
13090 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13091 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13092 (cl-typep): Use it.
13093 (cl-eval-when): Simplify debug spec.
13094 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13095 compiler-macro function instead of setting `compiler-macro-file'.
13097 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13099 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13100 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13102 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13103 Daniel Hackney <dan@haxney.org>
13105 First part of Daniel Hackney's patch to package.el.
13106 * emacs-lisp/package.el: Use defstruct.
13107 (package-desc): New, main struct.
13108 (package--bi-desc, package--ac-desc): New structs, used to describe the
13109 format in external files.
13110 (package-desc-vers): Replace with package-desc-version accessor.
13111 (package-desc-doc): Replace with package-desc-summary accessor.
13112 (package-activate-1): Remove `package' arg since the pkg-vec now
13114 (define-package): Use package-desc-from-define.
13115 (package-unpack-single): Change file-name arg to be a symbol.
13116 (package--add-to-archive-contents): Use package-desc-create and new
13117 accessor functions to package--ac-desc.
13118 (package-buffer-info, package-tar-file-info): Return a package-desc.
13119 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13120 arg to be a package-desc.
13121 (package-install-file): Adjust accordingly. Use \' to match EOS.
13122 (package--from-builtin): New function.
13123 (describe-package-1, package-menu--generate): Use it.
13124 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13125 (package-generate-autoloads): Idem and return the name of the file.
13126 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13127 Change pkg-info arg to be a package-desc.
13128 Use package-make-ac-desc.
13129 (package-upload-file): Use \' to match EOS.
13130 * finder.el (finder-compile-keywords): Use package-make-builtin.
13132 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13134 * vc/vc.el (vc-deduce-fileset): Change error message.
13135 (vc-read-backend): New function.
13136 (vc-next-action): Use it.
13138 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13140 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13141 (prolog-font-lock-keywords): Use regexp-opt instead.
13142 Don't manually highlight strings.
13143 (prolog-mode-variables): Simplify comment-start-skip.
13144 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13146 * emacs-lisp/generic.el (generic--normalise-comments)
13147 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13148 (generic-mode-set-comments): Use them.
13149 (generic-bracket-support): Use setq-local.
13150 (generic-make-keywords-list): Declare obsolete.
13152 2013-06-11 Glenn Morris <rgm@gnu.org>
13154 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13155 Prettify after setting font-lock-defaults. (Bug#14574)
13157 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13159 * replace.el (query-replace, occur-read-regexp-defaults-function)
13161 * subr.el (declare-function, number-sequence, local-set-key)
13162 (substitute-key-definition, locate-user-emacs-file)
13163 (with-silent-modifications, split-string, eval-after-load):
13164 Fix typos, remove unneeded backslashes and reflow some docstrings.
13166 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13168 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13169 default for Elisp files.
13171 2013-06-11 Glenn Morris <rgm@gnu.org>
13173 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13174 although define-derived-mode was doing this anyway. (Bug#14583)
13176 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13178 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13179 Fix make-variable-buffer-local call to refer to the correct variable.
13181 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13183 * eshell/em-term.el (eshell-visual-commands)
13184 (eshell-visual-subcommands, eshell-visual-options):
13185 Add summary line to docstrings. Add cross-references.
13187 2013-06-10 Glenn Morris <rgm@gnu.org>
13189 * epa.el (epa-read-file-name): New function. (Bug#14510)
13190 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13192 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13194 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13195 output redirection to be ignored with visual commands.
13197 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13199 * eshell/em-term.el (eshell-visual-command-p): New function.
13200 (eshell-term-initialize): Move long lambda to separate function
13201 eshell-visual-command-p.
13202 * eshell/em-dirs.el (eshell-dirs-initialize):
13203 * eshell/em-script.el (eshell-script-initialize):
13204 Add missing #' to lambda.
13206 2013-06-08 Leo Liu <sdl.web@gmail.com>
13208 * progmodes/octave.el (octave-add-log-current-defun): New function.
13209 (octave-mode): Set add-log-current-defun-function.
13210 (octave-goto-function-definition): Do not move point if not found.
13211 (octave-find-definition): Enhance to try subfunctions first.
13213 2013-06-08 Glenn Morris <rgm@gnu.org>
13215 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13216 (byte-compile-backward-char, byte-compile-backward-word):
13217 Improve previous change, to handle non-explicit nil.
13219 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13222 (smie--opener/closer-at-point): New function.
13223 (smie--matching-block-data): Use it. Don't match from right after an
13224 opener or right before a closer. Obey smie-blink-matching-inners.
13225 Don't signal a mismatch for repeated inners like "switch..case..case".
13227 2013-06-07 Leo Liu <sdl.web@gmail.com>
13229 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13231 (octave-function-header-regexp): Fix. (Bug#14570)
13232 (octave-help-mode-finish-hook, octave-help-mode-finish):
13233 Remove. Just use temp-buffer-show-hook.
13235 * newcomment.el (comment-search-backward): Revert last change.
13238 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13240 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13242 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13243 through xargs, to avoid failure due to MS-Windows limitations on
13244 command-line length.
13246 2013-06-06 Glenn Morris <rgm@gnu.org>
13248 * font-lock.el (lisp-font-lock-keywords-2):
13249 Treat user-error like error.
13251 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13252 (byte-compile-backward-char, byte-compile-backward-word):
13253 Handle explicit nil arguments. (Bug#14565)
13255 2013-06-05 Alan Mackenzie <acm@muc.de>
13257 * isearch.el (isearch-allow-prefix): New user option.
13258 (isearch-other-meta-char): Don't exit isearch when a prefix
13259 argument is typed whilst `isearch-allow-prefix' is non-nil.
13262 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13264 * autorevert.el (auto-revert-notify-handler): Use memq.
13265 Hide assertion failure.
13267 * skeleton.el: Use cl-lib.
13268 (skeleton-further-elements): Use defvar-local.
13269 (skeleton-insert): Use cl-progv.
13271 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13273 * progmodes/prog-mode.el (prog-prettify-symbols)
13274 (prog-prettify-install): Update docstrings.
13276 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * simple.el: Move all the prog-mode code to prog-mode.el.
13279 * progmodes/prog-mode.el: New file.
13280 * loadup.el: Add prog-mode.el.
13282 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13284 * simple.el (prog-prettify-symbols): Add version.
13285 (prog-prettify-install): Add convenience function to prettify symbols.
13287 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13288 (perl--augmented-font-lock-keywords-1)
13289 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13290 variables and use it.
13292 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13293 (cfengine3-mode): Remove unneeded variable and use it.
13295 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13296 (lisp--augmented-font-lock-keywords-1)
13297 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13298 Remove unneeded variables and use it.
13300 2013-06-05 João Távora <joaotavora@gmail.com>
13302 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13303 to point when opening the connection. (Bug#14380)
13305 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * subr.el (load-history-regexp, load-history-filename-element)
13308 (eval-after-load, after-load-functions, do-after-load-evaluation)
13309 (eval-next-after-load, display-delayed-warnings)
13310 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13311 definition of save-match-data.
13312 (overriding-local-map): Remove accidental obsolescence declaration.
13314 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13316 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13318 Generalize symbol prettify support to prog-mode and implement it
13319 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13320 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13321 (prog--prettify-font-lock-compose-symbol)
13322 (prog-prettify-font-lock-symbols-keywords): New variables and
13323 functions to support symbol prettification.
13324 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13325 (lisp--augmented-font-lock-keywords-1)
13326 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13327 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13328 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13329 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13330 Implement prettify of -> => :: strings.
13331 * progmodes/perl-mode.el (perl-prettify-symbols)
13332 (perl--font-lock-compose-symbol)
13333 (perl--font-lock-symbols-keywords): Move to prog-mode.
13334 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13335 (perl-font-lock-keywords-1)
13336 (perl-font-lock-keywords-2): Remove explicit prettify support.
13337 (perl--augmented-font-lock-keywords)
13338 (perl--augmented-font-lock-keywords-1)
13339 (perl--augmented-font-lock-keywords-2, perl-mode):
13340 Implement prettify support.
13342 2013-06-05 Leo Liu <sdl.web@gmail.com>
13344 Re-implement SMIE matching block highlight using
13345 show-paren-data-function. (Bug#14395)
13346 * emacs-lisp/smie.el (smie-matching-block-highlight)
13347 (smie--highlight-matching-block-overlay)
13348 (smie--highlight-matching-block-lastpos)
13349 (smie-highlight-matching-block)
13350 (smie-highlight-matching-block-mode): Remove.
13351 (smie--matching-block-data-cache): New variable.
13352 (smie--matching-block-data): New function.
13353 (smie-setup): Use smie--matching-block-data for
13354 show-paren-data-function.
13356 * progmodes/octave.el (octave-mode-menu): Fix.
13357 (octave-find-definition): Skip garbage lines.
13359 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13361 Fix compilation error with simultaneous dynamic+lexical scoping.
13362 Add warning when a defvar appears after the first let-binding.
13363 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13364 (byte-compile-close-variables): Initialize it.
13365 (byte-compile--declare-var): New function.
13366 (byte-compile-file-form-defvar)
13367 (byte-compile-file-form-define-abbrev-table)
13368 (byte-compile-file-form-custom-declare-variable): Use it.
13369 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13370 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13371 (byte-compile-bind): Handle dynamic bindings that shadow
13373 (byte-compile-unbind): Make arg non-optional.
13374 (byte-compile-let): Simplify.
13375 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13376 (cconv--analyse-function, cconv-analyse-form): Populate it.
13377 Protect byte-compile-bound-variables to limit the scope of defvars.
13378 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13379 Remove unneeded rule for `declare'.
13381 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13382 so as to avoid depending on cl-adjoin at run-time.
13383 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13385 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13386 (macroexp--warn-and-return): Use it.
13388 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13390 * subr.el: Convert to lexical binding.
13391 (overriding-local-map): Make obsolete.
13392 (add-to-list): Doc fix. Add compiler macro.
13393 (read-key): Swap values of local maps.
13395 2013-06-05 Leo Liu <sdl.web@gmail.com>
13397 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13399 2013-06-04 Leo Liu <sdl.web@gmail.com>
13401 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13402 (compilation-auto-jump): Suppress the "Mark set" message to give
13403 way to exit message.
13405 2013-06-04 Alan Mackenzie <acm@muc.de>
13407 Remove faulty optimisation from indentation calculation.
13408 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13409 search limit based on 2000 characters back from indent-point.
13411 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13413 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13415 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * emacs-lisp/lisp.el: Use lexical-binding.
13418 (lisp--local-variables-1, lisp--local-variables): New functions.
13419 (lisp--local-variables-completion-table): New var.
13420 (lisp-completion-at-point): Use it complete let-bound vars.
13422 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13423 eagerly (bug#14422).
13425 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13427 * autorevert.el (auto-revert-notify-enabled)
13428 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13429 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13430 (auto-revert-notify-handler): Handle also gfilenotify.
13432 * subr.el (file-notify-handle-event): New defun. Replacing ...
13433 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13436 2013-06-03 Juri Linkov <juri@jurta.org>
13438 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13439 `M-s h .'. (Bug#14427)
13441 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13442 command `hi-lock-face-symbol-at-point'.
13443 (hi-lock-face-symbol-at-point): New command.
13444 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13445 (hi-lock-menu): Add `highlight-symbol-at-point'.
13446 (hi-lock-mode): Doc fix.
13448 * isearch.el (isearch-forward-symbol-at-point): New command.
13449 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13450 (isearch-highlight-regexp): Add a regexp which matches
13451 words/symbols for word/symbol mode.
13453 * subr.el (find-tag-default-bounds): New function with the body
13454 mostly moved from `find-tag-default'.
13455 (find-tag-default): Move most code to `find-tag-default-bounds',
13456 call it and apply `buffer-substring-no-properties' afterwards.
13458 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13460 * eshell/em-term.el (eshell-term-initialize):
13461 Use `cl-intersection' rather than `intersection'.
13463 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13465 * vc/log-view.el: Doc fix.
13466 (log-view-mode-map): Copy keymap from `special-mode-map'.
13468 2013-06-02 Eric Ludlam <zappo@gnu.org>
13470 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13471 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13472 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13473 (eieio-unbound, eieio-default-superclass)
13474 (eieio--define-field-accessors, method-static, method-before)
13475 (method-primary, method-after, method-num-lists)
13476 (method-generic-before, method-generic-primary)
13477 (method-generic-after, method-num-slots)
13478 (eieio-specialized-key-to-generic-key)
13479 (eieio--check-type, class-v, class-p)
13480 (eieio-class-name, define-obsolete-function-alias)
13481 (eieio-class-parents-fast, eieio-class-children-fast)
13482 (same-class-fast-p, class-constructor, generic-p)
13483 (generic-primary-only-p, generic-primary-only-one-p)
13484 (class-option-assoc, class-option, eieio-object-p)
13485 (class-abstract-p, class-method-invocation-order)
13486 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13487 (eieio-class-un-autoload, eieio-defclass)
13488 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13489 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13490 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13491 (eieio-defgeneric-reset-generic-form)
13492 (eieio-defgeneric-form-primary-only)
13493 (eieio-defgeneric-reset-generic-form-primary-only)
13494 (eieio-defgeneric-form-primary-only-one)
13495 (eieio-defgeneric-reset-generic-form-primary-only-one)
13496 (eieio-unbind-method-implementations)
13497 (eieio--defmethod, eieio--typep)
13498 (eieio-perform-slot-validation, eieio-validate-slot-value)
13499 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13500 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13501 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13502 (eieio-slot-name-index, eieio-class-slot-name-index)
13503 (eieio-set-defaults, eieio-initarg-to-attribute)
13504 (eieio-attribute-to-initarg, eieio-c3-candidate)
13505 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13506 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13507 (eieio-class-precedence-list, eieio-generic-call-methodname)
13508 (eieio-generic-call-arglst, eieio-generic-call-key)
13509 (eieio-generic-call-next-method-list)
13510 (eieio-pre-method-execution-functions, eieio-generic-call)
13511 (eieio-generic-call-primary-only, eieiomt-method-list)
13512 (eieiomt-optimizing-obarray, eieiomt-install)
13513 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13514 (eieio-generic-form, eieio-defmethod, make-obsolete)
13515 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13516 (defclass): Remove `eval-and-compile' from macro.
13517 (call-next-method, shared-initialize): Instead of using
13518 `scoped-class' variable, use new eieio--scoped-class, and
13519 eieio--with-scoped-class.
13520 (initialize-instance): Rename local variable 'scoped-class' to
13521 'this-class' to remove ambiguitity from old global.
13523 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13525 (eieio--scoped-class-stack): New variable.
13526 (eieio--scoped-class): New fcn.
13527 (eieio--with-scoped-class): New scoping macro.
13528 (eieio-defclass): Use pushnew instead of add-to-list.
13529 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13530 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13531 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13532 `scoped-class' variable, use new eieio--scoped-class, and
13533 eieio--with-scoped-class.
13535 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13537 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13539 * eshell/esh-ext.el (eshell-external-command): Pass args to
13540 `eshell-find-interpreter'.
13541 (eshell-find-interpreter): Add new second parameter ARGS.
13543 * eshell/em-script.el (eshell-script-initialize): Add second arg
13544 to the function added as MATCH to `eshell-interpreter-alist'.
13546 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13547 the function added as MATCH to `eshell-interpreter-alist'.
13549 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13550 (eshell-visual-options): New defcustom.
13551 (eshell-escape-control-x): Adapt docstring.
13552 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13553 `eshell-visual-options' in addition to `eshell-visual-commands'.
13554 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13556 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13558 * progmodes/python.el (python-indent-block-enders): Add break,
13559 continue and raise keywords.
13561 2013-06-01 Glenn Morris <rgm@gnu.org>
13563 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13565 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13566 * progmodes/cc-cmds.el (delete-forward-p):
13567 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13568 * progmodes/cc-engine.el (buffer-syntactic-context):
13569 * progmodes/cc-fonts.el (face-property-instance):
13570 * progmodes/cc-mode.el (set-keymap-parents):
13571 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13572 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13573 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13574 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13575 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13577 * progmodes/cc-vars.el (other): Emacs has this widget since
13578 at least 21.1, so don't (re)define it.
13580 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13581 Replace the obsolete alias pcomplete-arg-quote-list.
13583 2013-06-01 Leo Liu <sdl.web@gmail.com>
13585 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13586 punctuation syntax.
13587 (inferior-octave-minimal-columns)
13588 (inferior-octave-last-column-width): New variables.
13589 (inferior-octave-track-window-width-change): New function.
13590 (inferior-octave-mode): Adjust column width so that Octave output,
13591 for example from 'ls', can fit into the window nicely.
13593 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13595 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13596 Highlight expansions inside regexp literals.
13598 2013-05-31 Glenn Morris <rgm@gnu.org>
13600 * obsolete/sym-comp.el (symbol-complete):
13601 Replace obsolete completion-annotate-function.
13603 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13605 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13607 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13608 New function, checks if point is inside a literal that allows
13609 expression expansion.
13610 (ruby-syntax-propertize-expansion): Use it.
13611 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13614 2013-05-30 Juri Linkov <juri@jurta.org>
13616 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13618 (isearch-invisible): New variable.
13619 (isearch-forward): Doc fix.
13620 (isearch-mode): Set `isearch-invisible'
13621 to the value of `search-invisible'.
13622 (isearch-toggle-case-fold): Doc fix.
13623 (isearch-toggle-invisible): New command.
13624 (isearch-query-replace): Let-bind `search-invisible'
13625 to the value of `isearch-invisible'.
13626 (isearch-search): Use `isearch-invisible' instead of
13627 `search-invisible'. Let-bind `search-invisible'
13628 to the value of `isearch-invisible'. (Bug#11378)
13630 2013-05-30 Juri Linkov <juri@jurta.org>
13632 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13633 call when `query-flag' is nil and `search-invisible' is non-nil.
13636 2013-05-30 Glenn Morris <rgm@gnu.org>
13638 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13640 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13641 (cc-require): Suppress spurious "noruntime" warnings.
13642 (cc-require-when-compile): Use fboundp, for sake of compiler.
13644 * progmodes/cc-mode.el: Move load of cc-vars before that of
13645 cc-langs (which in turn loads cc-vars), to quieten compiler.
13647 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13649 * paren.el: Simplify the code.
13650 (show-paren-mode): Always start the timer.
13651 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13652 (show-paren--overlay, show-paren--overlay-1): Rename from
13653 show-paren-overlay and show-paren-overlay-1, and initialize to an
13654 overlay rather than to nil.
13655 (show-paren-function): Misc cleanup and simplifications.
13657 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * paren.el (show-paren-data-function): New hook.
13660 (show-paren--default): New function, extracted from show-paren-function.
13661 (show-paren-function): Use show-paren-data-function.
13663 2013-05-30 Glenn Morris <rgm@gnu.org>
13665 * ielm.el (ielm-map, ielm-complete-symbol):
13666 Use completion-at-point rather than obsolete functions.
13667 (inferior-emacs-lisp-mode): Doc fix.
13668 Set completion-at-point-functions, rather than
13669 comint-dynamic-complete-functions.
13671 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13672 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13673 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13675 * image.el (image-animated-p): Tweak definition.
13677 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13678 (rlogin-process-connection-type): Tweak default. Add set-after.
13679 (rlogin-host): Doc fix.
13680 (rlogin): Tweak prompt.
13681 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13683 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13684 * progmodes/tcl.el (inferior-tcl-mode-map):
13685 Use completion-at-point rather than obsolete alias.
13687 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13689 * minibuffer.el (read-file-name-completion-ignore-case):
13690 Move before completion--in-region, for eager macro expansion.
13692 2013-05-29 Juri Linkov <juri@jurta.org>
13694 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13695 for total count of matching lines. Add `global-matches' for total
13696 count of matches. Rename `matches' to `lines' for count of
13697 matching lines. Add `matches' for count of matches.
13698 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13699 to `prev-line' for line number of prev match endpt.
13700 Increment `matches' for every match. Print the number of
13701 matching lines in the header.
13702 (occur-context-lines): Rename `lines' to `curr-line'.
13703 Rename `prev-lines' to `prev-line'. (Bug#14017)
13705 2013-05-29 Juri Linkov <juri@jurta.org>
13707 * replace.el (perform-replace): Add `skip-read-only-count',
13708 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13709 Increment them for corresponding conditions and report the number
13710 of skipped occurrences in the final message. (Bug#11746)
13711 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13712 (replace-string, replace-regexp): Doc fix.
13714 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13716 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13718 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13719 prog-mode-map (bug#14504).
13721 2013-05-29 Leo Liu <sdl.web@gmail.com>
13723 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13724 (octave-help): Small simplification.
13726 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13727 off the highlight first.
13729 2013-05-29 Glenn Morris <rgm@gnu.org>
13731 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13732 Handle idlwave-last-system-routine-info-cons-cell being nil.
13734 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13735 (idlwave-write-paths): Simplify via with-temp-buffer.
13737 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13738 * emulation/cua-rect.el: Also load cua-base at run time.
13740 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13741 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13742 (cperl-imenu-on-info): Require imenu.
13744 2013-05-28 Alan Mackenzie <acm@muc.de>
13746 Handle "capitalised keywords" correctly.
13747 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13749 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13751 * eshell/em-unix.el: Add -r option to cp.
13753 2013-05-28 Glenn Morris <rgm@gnu.org>
13755 * vc/vc-arch.el (vc-exec-after): Declare.
13756 (vc-switches): Autoload.
13757 * vc/vc-bzr.el: No need to require vc when compiling.
13758 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13759 (vc-resynch-buffer, vc-dir-refresh): Declare.
13760 (vc-setup-buffer, vc-switches): Autoload.
13761 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13762 (vc-resynch-buffer): Declare.
13763 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13764 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13765 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13766 (grep-read-regexp, grep-read-files, grep-expand-template)
13767 (vc-dir-refresh): Declare.
13768 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13769 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13770 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13771 * vc/vc-mtn.el (vc-exec-after): Declare.
13772 (vc-switches): Autoload.
13773 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13774 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13775 (vc-file-tree-walk): Declare.
13776 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13777 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13778 (vc-tag-precondition, vc-rename-master): Autoload.
13779 * vc/vc-svn.el (vc-exec-after): Declare.
13780 (vc-switches, vc-setup-buffer): Autoload.
13781 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13783 (vc-resynch-buffer): Declare.
13785 * obsolete/fast-lock.el (byte-compile-warnings):
13786 Don't warn about obsolete features in this obsolete file.
13788 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13789 Move definition before use.
13791 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13792 (dun-unix-verbs): Remove dun-zippy.
13793 (dun-zippy): Remove function.
13795 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13797 2013-05-27 Juri Linkov <juri@jurta.org>
13799 * replace.el (replace-search): New function with code moved out
13800 from `perform-replace'.
13801 (replace-highlight, replace-dehighlight): Move function definitions
13802 up closer to `replace-search'. (Bug#11746)
13804 2013-05-27 Juri Linkov <juri@jurta.org>
13806 * replace.el (perform-replace): Ignore invisible matches.
13807 In addition to checking `query-replace-skip-read-only', also
13808 filter out matches by calling `run-hook-with-args-until-failure'
13809 on `isearch-filter-predicates', and also check `search-invisible'
13810 for t or call `isearch-range-invisible'.
13811 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13813 2013-05-27 Juri Linkov <juri@jurta.org>
13815 * isearch.el (isearch-filter-predicates): Rename from
13816 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13817 (isearch-message-prefix): Display text from the property
13818 `isearch-message-prefix' of the currently active filters.
13819 (isearch-search): Don't compare `isearch-filter-predicate' with
13820 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13821 on `isearch-filter-predicates'. Also check `search-invisible' for t
13822 or call `isearch-range-invisible'.
13823 (isearch-filter-visible): Make obsolete.
13824 (isearch-lazy-highlight-search):
13825 Call `run-hook-with-args-until-failure' on
13826 `isearch-filter-predicates' and use `isearch-range-invisible'.
13828 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13829 `isearch-filter-predicates' instead of `funcall'ing
13830 `isearch-filter-predicate'.
13831 (Info-mode): Set `Info-isearch-filter' to
13832 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13834 * dired-aux.el (dired-isearch-filter-predicate-orig):
13836 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13837 (dired-isearch-filenames-end): Add and remove
13838 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13839 instead of changing the value of `isearch-filter-predicate'.
13840 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13841 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13842 Put property `isearch-message-prefix' to "filename " on
13843 `dired-isearch-filter-filenames'.
13845 * wdired.el (wdired-change-to-wdired-mode):
13846 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13847 locally instead of changing `isearch-filter-predicate'.
13848 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13850 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13852 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13853 return the commit hash (Bug#14459). Also set the
13854 `vc-git-detached' property.
13855 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13856 (vc-git-mode-line-string): Use the same help-echo format whether
13857 in detached mode or not, because we know the actual revision now.
13858 When in detached mode, shorten the revision to 7 chars.
13860 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13862 * emacs-lisp/easy-mmode.el (define-minor-mode):
13863 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13864 mode hook and provide a docstring.
13866 2013-05-27 Alan Mackenzie <acm@muc.de>
13868 Remove spurious syntax-table text properties inserted by C-y.
13869 * progmodes/cc-mode.el (c-after-change): Also clear hard
13870 syntax-table property with value nil.
13872 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13874 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13875 when reading the events; the buffer layout shall not be changed.
13877 2013-05-27 Leo Liu <sdl.web@gmail.com>
13879 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13881 (inferior-octave-directory-tracker): Automatically re-sync
13883 (octave-help): Improve handling of 'See also'.
13885 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13887 * doc-view.el: Minor naming convention tweaks.
13888 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13890 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13891 even if there's no `display' property yet (bug#14435).
13893 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13895 * subr.el (unmsys--file-name): Rename from reveal-filename.
13897 * Makefile.in (custom-deps, finder-data, autoloads)
13898 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13899 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13900 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13902 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13904 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13905 error-completion on the first 2 args of condition-case (bug#14446).
13908 2013-05-25 Leo Liu <sdl.web@gmail.com>
13910 * comint.el (comint-previous-matching-input): Do not flood the
13911 *Messages* buffer with trivial messages.
13913 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13915 * progmodes/flymake.el (flymake-nop): Don't return a string.
13916 (flymake-set-at): Fix typo.
13918 * simple.el (read--expression): New function, extracted from
13919 eval-expression. Set completion-at-point-functions (bug#14465).
13920 (eval-expression, eval-minibuffer): Use it.
13922 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13924 * progmodes/flymake.el (flymake-save-buffer-in-file)
13925 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13926 (flymake-selected-frame, flymake-log, flymake-ins-after)
13927 (flymake-set-at, flymake-get-buildfile-from-cache)
13928 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13929 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13930 Refine the doc string.
13931 (flymake-get-file-name-mode-and-masks): Reformat.
13932 (flymake-get-real-file-name-function): Fix a minor bug.
13934 2013-05-24 Juri Linkov <juri@jurta.org>
13936 * progmodes/grep.el (grep-mode-font-lock-keywords):
13937 Support =linenumber= format used by git-grep for lines with
13938 function names. (Bug#13549)
13940 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13942 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13943 0 after a semi-colon; it works better for smie-auto-fill.
13944 (octave--indent-new-comment-line): New function.
13945 (octave-indent-new-comment-line): Use it (indirectly).
13946 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13947 modify comment-line-break-function.
13949 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13950 (smie-setup): Use add-function to set it.
13952 2013-05-24 Sam Steingold <sds@gnu.org>
13954 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13955 argument (before the `interactive' argument).
13957 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * image-mode.el (image-mode-winprops): Add winprops to
13960 image-mode-winprops-alist before running
13961 image-mode-new-window-functions.
13962 * doc-view.el (doc-view-new-window-function): Don't delay
13963 doc-view-goto-page via timers (bug#14435).
13965 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13967 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13968 (doc-view-desktop-save-buffer): New function.
13969 (doc-view-restore-desktop-buffer): New function.
13970 (desktop-buffer-mode-handlers):
13971 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13973 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13974 `desktop-save-buffer' function.
13976 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13978 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13979 (tramp-gvfs-file-name-handler): Raise a user error when
13980 `tramp-gvfs-enabled' is nil.
13981 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13982 Do not raise a user error when loading package. (Bug#14447)
13984 * net/xesam.el: Move to obsolete/.
13986 2013-05-24 Glenn Morris <rgm@gnu.org>
13988 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13990 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13992 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13993 (Info-find-node, Man-getpage-in-background): Declare.
13995 * mail/unrmail.el (unrmail):
13996 Replace obsolete detect-coding-with-priority.
13998 * net/socks.el (socks-split-string): Use this rather than split-string.
13999 (socks-nslookup-host): Update for above change.
14000 (dynamic-choice, s5-dynamic-choice-match)
14001 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14002 Comment out unused code.
14004 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14005 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14006 (gud-tooltip-echo-area): Make obsolete.
14007 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14009 * progmodes/js.el (js--optimize-arglist): Declare.
14011 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14013 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14014 (ediff-window-C): Declare.
14016 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14017 Tweak requires to silence compiler.
14019 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14020 (he-search-string, he-tried-table, he-expand-list)
14021 (he-init-string, he-string-member, he-substitute-string)
14022 (he-reset-string): Declare.
14024 * obsolete/options.el (list-options): Use custom-variable-p,
14025 rather than obsolete alias.
14027 2013-05-23 Sam Steingold <sds@gnu.org>
14029 * simple.el (shell-command-on-region): Pass the `replace' argument
14030 down to `call-process-region' to comply with the doc as reported on
14031 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14033 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * emacs-lisp/smie.el (smie-indent-forward-token)
14036 (smie-indent-backward-token): Handle string tokens (bug#14381).
14038 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14040 * ielm.el (ielm-menu): New menu.
14041 (inferior-emacs-lisp-mode): Set comment-start.
14043 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14045 * textmodes/reftex.el (reftex-ref-style-toggle):
14046 Fix deactivate action.
14048 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14049 Add cleveref macros.
14051 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14052 Accept options for bibliography commands.
14053 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14054 Add addbibresource. Basic Biblatex support.
14056 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14058 * net/tramp-gvfs.el (top):
14059 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14060 when loading package. (Bug#14447)
14062 2013-05-23 Glenn Morris <rgm@gnu.org>
14064 * progmodes/js.el: No need to load comint when compiling.
14065 (ring-insert, comint-send-string, comint-send-input)
14066 (comint-last-input-end, ido-chop): Declare.
14068 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14069 * vc/ediff-mult.el: Adjust requires.
14070 (ediff-directories-internal, ediff-directory-revisions-internal)
14071 (ediff-patch-file-internal): Declare.
14072 * vc/ediff-ptch.el: Adjust requires.
14073 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14074 (ediff-find-file): Autoload.
14075 * vc/ediff-util.el: No need to load ediff when compiling.
14076 (ediff-regions-internal): Declare.
14077 * vc/ediff-wind.el: Adjust requires.
14078 (ediff-compute-toolbar-width): Define when compiling.
14079 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14080 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14081 (dired-get-filename, dired-get-marked-files)
14082 (ediff-last-dir-patch, ediff-patch-default-directory)
14083 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14084 (ediff-patch-buffer-internal): Declare.
14086 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14087 (ispell-process, ispell-buffer-local-words, lm-summary)
14088 (lm-section-start, lm-section-end): Declare.
14089 (checkdoc-ispell-init): Simplify.
14091 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14092 (he-string-member, he-reset-string, he-substitute-string): Declare.
14094 * eshell/em-ls.el: Adjust requires.
14095 (eshell-glob-regexp): Declare.
14096 * eshell/em-tramp.el: Adjust requires.
14097 (eshell-parse-command): Autoload.
14098 * eshell/em-xtra.el: Adjust requires.
14099 (eshell-parse-command): Autoload.
14100 * eshell/esh-ext.el: Adjust requires.
14101 (eshell-parse-command, eshell-close-handles): Autoload.
14102 * eshell/esh-io.el: Adjust requires.
14103 (eshell-output-filter): Autoload.
14104 * eshell/esh-util.el: No need to load tramp when compiling.
14105 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14107 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14108 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14109 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14110 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14111 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14112 * eshell/esh-opt.el, eshell/esh-proc.el:
14113 * eshell/esh-var.el: Adjust requires.
14114 * eshell/eshell.el: Do not require esh-util twice.
14115 (eshell-add-input-to-history): Declare.
14116 (eshell-command): Check history module is active before using it.
14118 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14120 2013-05-22 Leo Liu <sdl.web@gmail.com>
14122 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14124 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14126 * autorevert.el (auto-revert-notify-add-watch)
14127 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14128 it indicates changes in file modification time.
14130 2013-05-22 Glenn Morris <rgm@gnu.org>
14132 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14133 Always delete the autoloaded function from the noruntime and
14134 unresolved functions lists.
14136 * allout.el: No need to load epa, epg, overlay when compiling.
14137 (epg-context-set-passphrase-callback, epg-list-keys)
14138 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14139 (epg-key-user-id-list): Declare.
14141 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14142 (viper-set-parsing-style-toggling-macro)
14143 (viper-set-emacs-state-searchstyle-macros):
14144 Use called-interactively-p on Emacs.
14145 (viper-looking-back): Make it an obsolete alias. Update callers.
14146 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14147 Use looking-back rather than viper-looking-back.
14148 (viper-tmp-insert-at-eob, viper-enlarge-region)
14149 (viper-read-string-with-history, viper-register-to-point)
14150 (viper-append-to-register, viper-change-state-to-vi)
14151 (viper-backward-char-carefully, viper-forward-char-carefully)
14152 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14153 (viper-change-state-to-emacs): Declare.
14154 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14155 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14156 * emulation/viper-mous.el: Do not load viper-cmd.
14157 (viper-backward-char-carefully, viper-forward-char-carefully)
14158 (viper-forward-word, viper-adjust-window): Declare.
14160 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14162 * progmodes/idlw-help.el (idlwave-help-fontify):
14163 Use called-interactively-p.
14165 * term/w32console.el (w32-get-console-codepage)
14166 (w32-get-console-output-codepage): Declare.
14168 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14169 Remove unnecessary declarations.
14170 (dframe-message): Doc fix.
14172 * info.el (dframe-select-attached-frame, dframe-current-frame):
14175 * speedbar.el (speedbar-message): Make it an obsolete alias.
14176 Update all callers.
14177 (speedbar-with-attached-buffer)
14178 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14179 (speedbar-with-writable): Use backquote.
14180 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14181 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14182 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14183 rather than speedbar- aliases.
14184 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14185 (speedbar-make-specialized-keymap, speedbar-insert-button)
14186 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14187 (speedbar-do-function-pointer): Declare.
14188 (rmail-speedbar-button, rmail-speedbar-find-file)
14189 (rmail-speedbar-move-message):
14190 Use dframe-with-attached-buffer rather than speedbar- alias.
14191 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14192 (dframe-message, speedbar-make-specialized-keymap)
14193 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14194 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14195 (speedbar-insert-button, dframe-select-attached-frame)
14196 (dframe-maybee-jump-to-attached-frame)
14197 (speedbar-change-initial-expansion-list)
14198 (speedbar-previously-used-expansion-list-name): Declare.
14199 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14200 Use dframe-message, dframe-with-attached-buffer rather than
14202 (gud-sentinel): Silence compiler.
14203 * progmodes/vhdl-mode.el (speedbar-refresh)
14204 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14205 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14206 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14207 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14208 (speedbar-file-lists, speedbar-make-tag-line)
14209 (speedbar-line-directory, speedbar-goto-this-file)
14210 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14211 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14212 (speedbar-make-button, speedbar-reset-scanners)
14213 (speedbar-files-item-info, speedbar-line-text)
14214 (speedbar-find-file-in-frame, speedbar-set-timer)
14215 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14216 (speedbar-with-writable): Do not (re)define it.
14217 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14218 rather than speedbar- alias.
14220 2013-05-21 Leo Liu <sdl.web@gmail.com>
14222 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14224 (octave-mode): Tweak fill-nobreak-predicate.
14225 (inferior-octave-startup): Check process to avoid infinite loop.
14226 (inferior-octave): Pop to buffer first to show abornmal process
14229 2013-05-21 Glenn Morris <rgm@gnu.org>
14231 * printing.el (pr-menu-bar): Define when compiling.
14233 2013-05-21 Leo Liu <sdl.web@gmail.com>
14235 * progmodes/octave.el (octave-auto-fill): Remove.
14236 (octave-indent-new-comment-line): Improve.
14237 (octave-mode): Use auto fill mode through
14238 comment-line-break-function and fill-nobreak-predicate.
14239 (octave-goto-function-definition): Support DEFUN_DLD.
14240 (octave-beginning-of-defun): Small tweak.
14241 (octave-help): Show parent directory.
14243 2013-05-21 Glenn Morris <rgm@gnu.org>
14245 * files.el (dired-unmark):
14246 * progmodes/gud.el (gdb-input): Update declarations.
14248 * calculator.el (electric, ehelp): No need to load when compiling.
14249 (Electric-command-loop, electric-describe-mode): Declare.
14251 * doc-view.el (doc-view-current-converter-processes): Move before use.
14253 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14254 Move MODE-set-explicitly definition before use.
14256 * international/mule-diag.el (mule-diag):
14257 Don't use obsolete window-system-version.
14259 * mail/feedmail.el (smtpmail): No need to load when compiling.
14260 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14262 * mail/mail-utils.el (rfc822): No need to load when compiling.
14263 (rfc822-addresses): Autoload it.
14264 (mail-strip-quoted-names): Trivial simplification.
14266 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14267 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14269 * net/snmp-mode.el (tempo): Don't duplicate requires.
14271 * progmodes/prolog.el (info): No need to load when compiling.
14272 (comint): Require before shell requires it.
14273 (Info-goto-node): Autoload it.
14274 (Info-follow-nearest-node): Declare.
14275 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14277 * textmodes/artist.el (picture-mode-exit): Declare.
14279 * textmodes/reftex-parse.el (reftex-parse-from-file):
14280 Trivial rewrite so the compiler can parse it better.
14282 2013-05-20 Leo Liu <sdl.web@gmail.com>
14284 * progmodes/octave.el (octave-help-mode-map)
14285 (octave-help-mode-finish-hook): New variables.
14286 (octave-help-mode, octave-help-mode-finish): New functions.
14287 (octave-help): Use octave-help-mode.
14289 2013-05-20 Glenn Morris <rgm@gnu.org>
14291 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14293 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14295 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14296 start at point, so that expansion starting right after opening
14297 slash in a regexp is recognized.
14298 (ruby-syntax-before-regexp-re): New defvar, extracted from
14299 ruby-syntax-propertize-function. Since the value of this regexp
14300 is looked up at runtime now, we should be able to turn
14301 `ruby-syntax-methods-before-regexp' into a defcustom later.
14302 (ruby-syntax-propertize-function): Split regexp matching into two
14303 parts, for opening and closing slashes. That allows us to skip
14304 over string interpolations and support multiline regexps.
14305 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14306 for them, which calls `ruby-syntax-propertize-expansion'.
14307 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14308 call to `ruby-syntax-propertize-function'.
14309 (ruby-syntax-propertize-expansion): Extracted from
14310 `ruby-syntax-propertize-expansions'. Handles one expansion.
14311 (ruby-syntax-propertize-percent-literal): Leave point right after
14312 the percent symbol, so that the expression expansion rule can
14313 propertize the contents.
14314 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14316 (ruby-syntax-propertize-expansions): Remove.
14318 2013-05-18 Juri Linkov <juri@jurta.org>
14320 * man.el (Man-default-man-entry): Remove `-' from the end
14321 of the default value. (Bug#14400)
14323 2013-05-18 Glenn Morris <rgm@gnu.org>
14325 * comint.el (comint-password-prompt-regexp):
14326 Allow "password for XXX" where XXX contains colons (eg https://...).
14328 2013-05-18 Leo Liu <sdl.web@gmail.com>
14330 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14331 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14332 (octave-source-directories): Don't check process.
14333 (octave-source-directories, octave-find-definition): Doc fix.
14335 2013-05-18 Glenn Morris <rgm@gnu.org>
14337 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14338 Remove backspace/delete bindings. (Bug#14392)
14340 * cus-dep.el (custom-make-dependencies): Sort the output.
14341 (custom-versions-load-alist): Convert comment to doc.
14343 2013-05-17 Leo Liu <sdl.web@gmail.com>
14345 * newcomment.el (comment-search-backward): Stricter in finding
14346 comment start. (Bug#14303)
14348 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14349 (octave-comment-start-skip): Properly anchored.
14351 2013-05-17 Leo Liu <sdl.web@gmail.com>
14353 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14354 Clean up when turned off. (Bug#14395)
14355 (smie--highlight-matching-block-overlay): No longer buffer-local.
14356 (smie-highlight-matching-block): Adjust.
14358 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14360 Doc string fix for "nanoseconds" (Bug#14406).
14361 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14362 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14364 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14366 * calc/calc-units.el (math-extract-units): Preserve powers
14369 2013-05-17 Leo Liu <sdl.web@gmail.com>
14371 * subr.el (delete-consecutive-dups): New function.
14372 * ido.el (ido-set-matches-1): Use it.
14373 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14374 * ido.el (ido-remove-consecutive-dups): Remove.
14376 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14378 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14379 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14380 regexp-opt's `words'.
14382 2013-05-16 Leo Liu <sdl.web@gmail.com>
14384 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14385 (smie--highlight-matching-block-overlay)
14386 (smie--highlight-matching-block-lastpos)
14387 (smie--highlight-matching-block-timer): New variables.
14388 (smie-highlight-matching-block): New function.
14389 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14390 (smie-setup): Conditionally enable smie-blink-matching-open.
14392 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14394 Sync with upstream verilog-mode r840.
14395 * progmodes/verilog-mode.el (verilog-mode-version)
14396 (verilog-mode-release-date): Update.
14397 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14398 (verilog-sig-tieoff): Fix string error on
14399 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14400 (verilog-read-decls): Fix parameters confusing
14401 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14403 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14405 * subr.el (reveal-filename): New function.
14407 * loadup.el: Compute Emacs executable versions on MS-Windows,
14408 where executables have the .exe extension. Add a hard link
14409 emacs-XX.YY.ZZ.exe on MS-Windows.
14411 * Makefile.in (XARGS_LIMIT): New variable.
14412 (custom-deps, finder-data, autoloads)
14413 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14414 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14415 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14416 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14418 2013-05-16 Leo Liu <sdl.web@gmail.com>
14420 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14421 (octave-mode-menu, octave-mode-map): Remove its uses.
14423 2013-05-16 Reto Zimmermann <reto@gnu.org>
14425 Sync with upstream vhdl mode v3.34.2.
14426 * progmodes/vhdl-mode.el: Use `push' throughout.
14427 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14428 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14429 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14430 (vhdl-actual-generic-name): New option to derive actual generic name.
14431 (vhdl-port-paste-signals): Replace formal by actual generics.
14432 (vhdl-beautify): New name for old group vhdl-align. Update users.
14433 (vhdl-beautify-options): New option.
14434 (vhdl-last-input-event): New compat alias. Use throughout.
14435 (vhdl-goto-line): Replace user level function `goto-line'.
14436 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14437 vhdl-fix-statement-buffer.
14438 (vhdl-create-mode-menu): Add some entries.
14439 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14440 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14441 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14442 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14443 to force statements on one line.
14444 (vhdl-remove-trailing-spaces-region):
14445 New, split from vhdl-remove-trailing-spaces.
14446 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14447 Respect vhdl-beautify-options.
14448 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14449 (vhdl-update-sensitivity-list): Not add with index if exists without.
14450 Not include array index with signal. Ignore keywords in comments.
14451 (vhdl-get-visible-signals): Regexp tweaks.
14452 (vhdl-template-component-inst): Handle empty library.
14453 (vhdl-template-type): Add template for 'enum' type.
14454 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14455 Use vhdl-replace-string.
14456 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14457 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14458 (vhdl-speedbar-initialize): Update for above name change.
14459 (vhdl-compose-wire-components): Fix in handling of constants.
14460 (vhdl-error-regexp-emacs-alist): New variable.
14461 (vhdl-error-regexp-add-emacs): New function;
14462 adds support for new compile.el (Emacs 22+)
14463 (vhdl-generate-makefile-1): Change target order for single lib. units.
14464 Allow use of absolute file names.
14466 2013-05-16 Leo Liu <sdl.web@gmail.com>
14468 * simple.el (prog-indent-sexp): Indent enclosing defun.
14470 2013-05-15 Glenn Morris <rgm@gnu.org>
14472 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14473 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14474 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14475 (whitespace-highlight): Move to whitespace group.
14477 * comint.el (comint-source):
14478 * pcmpl-linux.el (pcmpl-linux):
14479 * shell.el (shell-faces):
14480 * eshell/esh-opt.el (eshell-opt):
14481 * international/ccl.el (ccl): Remove empty custom groups.
14483 * completion.el (dynamic-completion-mode):
14484 * jit-lock.el (jit-lock-debug-mode):
14485 * minibuffer.el (completion-in-region-mode):
14486 * type-break.el (type-break-mode-line-message-mode)
14487 (type-break-query-mode):
14488 * emulation/tpu-edt.el (tpu-edt-mode):
14489 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14490 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14491 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14493 * term/xterm.el (xterm): Change parent group to terminals.
14495 * master.el (master): Remove empty custom group.
14496 (master-mode): Remove unused :group argument.
14497 * textmodes/refill.el (refill): Remove empty custom group.
14498 (refill-mode): Remove unused :group argument.
14500 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14502 * cus-dep.el: Provide a feature.
14503 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14504 Don't mistakenly ignore files whose basenames match a basename
14505 from preloaded-file-list (eg cedet/ede/simple.el).
14506 Add a fallback method for getting :group.
14508 2013-05-15 Juri Linkov <juri@jurta.org>
14510 * isearch.el (isearch-char-by-name): Rename from
14511 `isearch-insert-char-by-name'. Doc fix.
14512 (isearch-forward): Mention `isearch-char-by-name' in
14513 the docstring. (Bug#13348)
14515 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14516 `exit-minibuffer' instead of
14517 `isearch-nonincremental-exit-minibuffer'.
14518 (isearch-edit-string): Remove mention of
14519 `isearch-nonincremental-exit-minibuffer' from docstring.
14520 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14521 (isearch-forward-exit-minibuffer)
14522 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14524 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14526 * loadup.el: Just use unversioned DOC.
14528 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14529 literals as extending to EOB.
14530 (nxml-last-fontify-end): Remove unused variable.
14531 (nxml-after-change1): Use with-silent-modifications.
14532 (nxml-extend-after-change-region): Simplify.
14533 (nxml-extend-after-change-region1): Remove function.
14534 (nxml-after-change1): Don't adjust for dependent regions.
14535 (nxml-fontify-matcher): Simplify.
14536 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14537 (xmltok-add-dependent): Remove function.
14538 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14539 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14540 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14541 unclosed <[[, <?, comment, and other literals as extending to EOB.
14542 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14543 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14545 (rng-do-some-validation-1): Don't mark dependent regions.
14546 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14547 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14548 (nxml-clear-dependent-regions): Remove functions.
14549 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14550 (nxml-ensure-scan-up-to-date):
14551 Don't clear&mark dependent regions.
14553 2013-05-15 Leo Liu <sdl.web@gmail.com>
14555 * progmodes/octave.el (octave-goto-function-definition):
14556 Improve and fix callers.
14558 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14560 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14561 the setter (bug#14387).
14563 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14564 surrounding group (bug#14402).
14566 2013-05-14 Juri Linkov <juri@jurta.org>
14568 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14571 2013-05-14 Glenn Morris <rgm@gnu.org>
14573 * progmodes/f90.el (f90-imenu-generic-expression):
14574 Fix typo in 2013-05-08 change. (Bug#14402)
14576 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14578 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14579 Remove signals for which replies are never received.
14581 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14583 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14584 (gdb-handler-alist, gdb-handler-number): Remove variables.
14585 (gdb-handler-list): New variable.
14586 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14587 (gdb-pending-handler-p, gdb-handle-reply)
14588 (gdb-remove-all-pending-triggers): New functions.
14589 (gdb-discard-unordered-replies): New defcustom.
14590 (gdb-handler): New defstruct.
14591 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14592 instead of gdb-pending-triggers. Update docstring.
14593 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14594 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14595 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14596 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14597 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14598 (gdb-frame-handler): Pending triggers are now automatically managed.
14599 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14601 (gdb-input): Automatically handles pending triggers. Update docstring.
14602 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14603 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14605 (gdb-done-or-error): Now use gdb-handle-reply.
14607 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14609 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14612 2013-05-14 Glenn Morris <rgm@gnu.org>
14614 * subr.el (user-emacs-directory-warning): New option.
14615 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14617 2013-05-14 Leo Liu <sdl.web@gmail.com>
14619 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14621 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14622 (octave-font-lock-texinfo-comment): Fix invalid search bound
14623 error: wrong side of point.
14625 2013-05-14 Glenn Morris <rgm@gnu.org>
14627 * progmodes/flymake.el (flymake-xml-program): New option.
14628 (flymake-xml-init): Use it.
14630 * term/xterm.el: Provide a feature.
14632 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14634 2013-05-13 Glenn Morris <rgm@gnu.org>
14636 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14637 Add compat aliases as a hack workaround. (Bug#14384)
14639 2013-05-13 Leo Liu <sdl.web@gmail.com>
14641 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14643 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14645 (octave-comment-start-skip): Include %!.
14646 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14648 2013-05-12 Leo Liu <sdl.web@gmail.com>
14650 * progmodes/octave.el (inferior-octave-startup): Store the value
14651 of __octave_srcdir__ for octave-source-directories.
14652 (inferior-octave-check-process): New function refactored out of
14653 inferior-octave-send-list-and-digest.
14654 (octave-source-directories)
14655 (octave-find-definition-filename-function): New variables.
14656 (octave-source-directories)
14657 (octave-find-definition-default-filename): New functions.
14658 (octave-find-definition): Improve to find functions implemented in C++.
14660 2013-05-12 Glenn Morris <rgm@gnu.org>
14662 * calendar/diary-lib.el (diary-outlook-format-1):
14663 Don't include dayname in the output. (Bug#14349)
14665 2013-05-11 Glenn Morris <rgm@gnu.org>
14667 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14669 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14670 Treat cc-provide like provide.
14672 2013-05-11 Kevin Ryde <user42@zip.com.au>
14674 * cus-dep.el (custom-make-dependencies):
14675 Use generated-autoload-load-name for the sake of files such
14676 such cedet/semantic/bovine/c.el, where the base file name
14677 is not in load-path. (Bug#5277)
14679 2013-05-11 Glenn Morris <rgm@gnu.org>
14681 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14684 2013-05-11 Leo Liu <sdl.web@gmail.com>
14686 * progmodes/octave.el (octave-indent-comment): Improve.
14687 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14688 (octave-eldoc-function-signatures, octave-eldoc-function):
14690 (octave-mode, inferior-octave-mode): Add eldoc support.
14692 2013-05-11 Richard Stallman <rms@gnu.org>
14694 * epa.el (epa-decrypt-file): Take output file name as argument
14695 and read it using `interactive'.
14697 2013-05-11 Leo Liu <sdl.web@gmail.com>
14699 * progmodes/octave.el (octave-beginning-of-line)
14700 (octave-end-of-line): Check before using up-list because it jumps
14701 out of more syntactic contructs since moving to smie.
14702 (octave-indent-comment): New function.
14703 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14704 (octave-begin-keywords, octave-end-keywords)
14705 (octave-reserved-words, octave-smie-bnf-table)
14706 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14708 2013-05-11 Glenn Morris <rgm@gnu.org>
14710 * faces.el (internal-face-x-get-resource):
14711 * frame.el (ns-display-monitor-attributes-list):
14712 * calc/calc-aent.el (math-to-radians-2):
14713 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14716 * calc/calc-menu.el: Make it loadable in isolation.
14718 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14719 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14720 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14721 (eudc-bbdb-query-internal): Require 'bbdb.
14723 * lpr.el (lpr-headers-switches):
14724 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14726 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14728 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14730 * term.el (term-set-escape-char): Make it idempotent.
14732 2013-05-10 Leo Liu <sdl.web@gmail.com>
14734 * progmodes/octave.el (inferior-octave-completion-table):
14735 No longer a function and all uses changed. Use cache to speed up
14736 completion due to bug#11906.
14737 (octave-beginning-of-defun): Re-write to be more general.
14739 2013-05-10 Glenn Morris <rgm@gnu.org>
14741 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14743 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14745 * comint.el (comint-redirect-send-command-to-process): Use :around
14746 rather than :override for comint-redirect-filter.
14747 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14748 Call it instead of comint-redirect-original-filter-function (which
14749 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14751 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14753 * frame.el (display-monitor-attributes-list): Add NS case.
14754 (ns-display-monitor-attributes-list): Declare.
14756 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14758 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14760 2013-05-09 Glenn Morris <rgm@gnu.org>
14762 * international/fontset.el (vertical-centering-font-regexp):
14763 Set standard-value.
14765 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14767 * bookmark.el (bookmark-search-delay):
14768 * cus-start.el (vertical-centering-font-regexp):
14769 * ps-mule.el (ps-mule-font-info-database-default):
14770 * ps-print.el (ps-default-fg, ps-default-bg):
14771 * type-break.el (type-break-good-break-interval):
14772 * whitespace.el (whitespace-indentation-regexp)
14773 (whitespace-space-after-tab-regexp):
14774 * emacs-lisp/testcover.el (testcover-1value-functions)
14775 (testcover-noreturn-functions, testcover-progn-functions)
14776 (testcover-prog1-functions):
14777 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14778 * eshell/em-glob.el (eshell-glob-translate-alist):
14779 * play/tetris.el (tetris-tty-colors):
14780 * progmodes/cpp.el (cpp-face-default-list):
14781 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14782 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14783 (idlwave-help-browser-generic-args):
14784 * progmodes/make-mode.el (makefile-special-targets-list):
14785 * progmodes/python.el (python-shell-virtualenv-path):
14786 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14787 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14788 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14789 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14790 * textmodes/reftex-vars.el (reftex-format-label-function):
14791 * textmodes/remember.el (remember-diary-file): Fix custom types.
14793 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14796 2013-05-09 Leo Liu <sdl.web@gmail.com>
14798 * progmodes/octave.el (inferior-octave-completion-at-point):
14799 Restore file completion. (Bug#14300)
14800 (inferior-octave-startup): Fix incorrect highlighting for the
14803 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14805 * progmodes/ruby-mode.el: First cut at SMIE support.
14806 (ruby-use-smie): New var.
14807 (ruby-smie-grammar): New constant.
14808 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14809 (ruby-smie--forward-token, ruby-smie--backward-token)
14810 (ruby-smie-rules): New functions.
14811 (ruby-mode-variables): Setup SMIE if applicable.
14813 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14815 * simple.el (line-move-visual): Signal beginning/end of buffer
14816 only if vertical-motion moved less than it was requested. Avoids
14817 silly incorrect error messages when there are display strings with
14818 multiple newlines at EOL.
14820 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14822 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14823 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14824 (prolog-char-quote-workaround):
14825 * progmodes/cperl-mode.el (cperl-under-as-char):
14826 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14828 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14830 (vhdl-mode-syntax-table-init): Remove.
14832 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14835 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14837 (ld-script-font-lock-keywords):
14838 Change regexps to use things like \_< and \_>.
14840 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14841 Change all regexps to use things like \_< and \_>.
14843 * progmodes/autoconf.el (autoconf-definition-regexp)
14844 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14845 Handle a _ with symbol syntax.
14846 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14848 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14849 Consolidate declaration.
14850 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14852 (ada-create-syntax-table): Remove.
14853 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14854 already has the right syntax nowadays.
14855 (ada-goto-next-word): Don't change the syntax of "_".
14857 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14860 2013-05-08 Sam Steingold <sds@gnu.org>
14862 * thingatpt.el (thing-at-point): Accept optional second argument
14863 NO-PROPERTIES to strip the text properties from the return value.
14864 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14865 to `thing-at-point' instead of stripping the properties ourselves.
14866 Also, when `thing-at-point' fails to find a url, prepend "http://"
14867 to the filename at point on the assumption that the user is
14868 pointing at something like gnu.org/gnu.
14870 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14872 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14873 * faces.el (crm-separator):
14874 Silence byte-compiler.
14876 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14877 (tool-bar-map): Remove unneeded defvars.
14879 2013-05-08 Leo Liu <sdl.web@gmail.com>
14881 Re-work a fix for bug#10994 based on Le Wang's patch.
14882 * ido.el (ido-remove-consecutive-dups): New helper.
14883 (ido-completing-read): Use it.
14884 (ido-chop): Revert fix for bug#10994.
14886 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14888 * cus-edit.el (custom-save-variables):
14889 Pretty-print long values. (Bug#14187)
14891 2013-05-08 Glenn Morris <rgm@gnu.org>
14893 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14894 (m4-mode-syntax-table): Init in the defvar.
14895 (m4-mode-abbrev-table): Let define-derived-mode define it.
14897 2013-05-08 Tom Tromey <tromey@redhat.com>
14899 * progmodes/m4-mode.el (m4-mode-syntax-table):
14900 Do not treat "_" as word constituent. (Bug#14167)
14902 2013-05-07 Glenn Morris <rgm@gnu.org>
14904 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14905 Remove explicit eshell-isearch-cancel-map.
14907 * progmodes/f90.el (f90-smart-end-names): New option.
14908 (f90-smart-end): Doc fix.
14909 (f90-end-block-optional-name): New constant.
14910 (f90-block-match): Respect f90-smart-end-names.
14912 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14914 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14915 about implicit semi-colons (bug#14218).
14917 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14919 * frame.el (display-monitor-attributes-list)
14920 (frame-monitor-attributes): New functions.
14922 2013-05-06 Leo Liu <sdl.web@gmail.com>
14924 * progmodes/octave.el (octave-syntax-propertize-function): Change
14925 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14926 (octave-font-lock-keywords): Use octave-operator-regexp.
14927 (octave-completion-at-point): Rename from
14928 octave-completion-at-point-function.
14929 (inferior-octave-directory-tracker): Robustify.
14930 (octave-text-functions): Remove and fix its uses. No such things
14933 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14935 * emacs-lisp/trace.el (trace--display-buffer): New function.
14936 (trace-make-advice): Use it.
14938 2013-05-06 Juri Linkov <juri@jurta.org>
14940 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14941 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14943 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14944 in the help string. (Bug#12985)
14946 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14948 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14950 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14952 * progmodes/perl-mode.el: Add support for here documents.
14953 (perl-syntax-propertize-function): Match here-doc markers.
14954 (perl-syntax-propertize-special-constructs): Find their end.
14955 (perl-imenu-generic-expression): Use [:alnum:].
14957 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14958 (advice--add-function): Refresh the advice if already present
14961 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14963 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14965 2013-05-06 Glenn Morris <rgm@gnu.org>
14967 * w32-fns.el (w32-charset-info-alist): Declare.
14969 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14970 of its defcustom properties.
14971 (eshell-cmpl-initialize): No need to load pcomplete.
14973 * generic-x.el: No need to require comint when compiling.
14975 * net/eudc-export.el: Make it loadable without bbdb.
14976 (top-level): Use require rather than load-library.
14977 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14978 (eudc-batch-export-records-to-bbdb)
14979 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14982 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14984 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14985 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14986 some tweaks, instead.
14988 2013-05-05 Leo Liu <sdl.web@gmail.com>
14990 * progmodes/octave.el (octave-font-lock-keywords)
14991 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14992 (inferior-octave-send-list-and-digest): Improve error message.
14993 (octave-mode, inferior-octave-mode): Use setq-local.
14994 (octave-help): Set info-lookup-mode.
14996 2013-05-05 Richard Stallman <rms@gnu.org>
14998 * vc/compare-w.el (compare-windows-whitespace):
14999 Treat no-break space as whitespace.
15001 * mail/rmailsum.el (rmail-summary-rmail-update):
15002 Detect empty summary and don't change selected message.
15003 (rmail-summary-goto-msg): Likewise.
15005 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15006 Doc fixes, rename args.
15008 2013-05-05 Alan Mackenzie <acm@muc.de>
15010 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15012 2013-05-05 Juri Linkov <juri@jurta.org>
15014 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15015 to not add the length of the summary segment to the return value.
15018 2013-05-05 Leo Liu <sdl.web@gmail.com>
15020 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15021 (inferior-octave-output-filter): Remove.
15022 (octave-send-region, inferior-octave-startup): Fix callers.
15023 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15024 (octave-binary-file-extensions): New user variable.
15025 (octave-find-definition): Confirm if opening binary files.
15026 (octave-help-file): Use octave-find-definition to get the binary
15028 (octave-help): Adjust for octave-help-file change.
15030 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15032 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15033 Merge the two entries that handle function definitions.
15034 (pascal--syntax-propertize): New const.
15035 (pascal-mode): Use it. Use setq-local.
15037 2013-05-04 Glenn Morris <rgm@gnu.org>
15039 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15040 (diary-from-outlook): Respect diary-from-outlook-function.
15042 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15044 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15045 Move the declaration from C.
15046 (read-minibuffer, eval-minibuffer): Move from C.
15047 (completion-setup-function): Avoid minibuffer-completion-contents.
15049 2013-05-03 Leo Liu <sdl.web@gmail.com>
15051 * progmodes/octave.el (octave-font-lock-keywords): Do not
15052 dehighlight 'end' in comments or strings.
15053 (octave-completing-read, octave-goto-function-definition):
15055 (octave-help-buffer): New user variable.
15056 (octave-help-file, octave-help-function): New button types.
15057 (octave-help): New command and bind it to C-h ;.
15058 (octave-find-definition): New command and bind it to M-.
15059 (user-error): Alias to error if not defined.
15061 2013-05-02 Leo Liu <sdl.web@gmail.com>
15063 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15065 (octave-font-lock-keywords): Include [ and {.
15067 2013-05-02 Leo Liu <sdl.web@gmail.com>
15069 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15070 (inferior-octave): Remove calling comint-mode and return the buffer.
15071 (inferior-octave-startup): Cosmetic changes.
15073 2013-05-02 Leo Liu <sdl.web@gmail.com>
15075 * progmodes/octave.el (octave-syntax-propertize-function):
15076 Include the case when ' is at line beginning. (Bug#14336)
15078 2013-05-02 Glenn Morris <rgm@gnu.org>
15080 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15081 * desktop.el (vc-dir-mode): Just autoload it here.
15083 2013-05-02 Alan Mackenzie <acm@muc.de>
15085 Eliminate variable c-standard-font-lock-fontify-region-function.
15086 * progmodes/cc-mode.el
15087 (c-standard-font-lock-fontify-region-function): Remove.
15088 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15090 2013-05-01 Leo Liu <sdl.web@gmail.com>
15092 * progmodes/octave.el: Compatible with older emacs-24 releases.
15093 (inferior-octave-has-built-in-variables): Remove. Built-in
15094 variables were removed from Octave in 2007.
15095 (inferior-octave-startup): Fix uses.
15096 (comint-line-beginning-position): Remove compatibility code for
15099 2013-05-01 Juri Linkov <juri@jurta.org>
15101 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15103 2013-05-01 Juri Linkov <juri@jurta.org>
15105 * comint.el (comint-previous-matching-input): Don't print message
15106 "History item: %d" when `isearch-mode' is active.
15107 (comint-history-isearch-message): Print message "History item: %d"
15108 when `comint-input-ring-index' is not empty and this function is
15109 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15111 2013-05-01 Leo Liu <sdl.web@gmail.com>
15113 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15114 definitions. Use completion-at-point to insert keywords.
15115 (octave-abbrev-start): Remove.
15116 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15118 2013-04-30 Leo Liu <sdl.web@gmail.com>
15120 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15123 2013-04-30 Alan Mackenzie <acm@muc.de>
15125 Handle arbitrarily long C++ member initialisation lists.
15126 * progmodes/cc-engine.el (c-back-over-member-initializers):
15128 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15129 (most) member init lists.
15131 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15133 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15136 2013-04-30 Leo Liu <sdl.web@gmail.com>
15138 * progmodes/octave.el (octave-variables): Remove. No builtin
15139 variables any more. All converted to functions.
15140 (octave-font-lock-keywords, octave-completion-at-point-function):
15142 (octave-font-lock-texinfo-comment): New user variable.
15143 (octave-texinfo-font-lock-keywords): New variable for texinfo
15145 (octave-function-comment-block): New face.
15146 (octave-font-lock-texinfo-comment): New function.
15147 (octave-mode): Font lock texinfo comment block.
15149 2013-04-29 Leo Liu <sdl.web@gmail.com>
15151 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15152 indexing expression.
15153 (octave-continuation-string): Do not use \.
15154 (inferior-octave-complete-impossible): Remove.
15155 (inferior-octave-completion-table)
15156 (inferior-octave-completion-at-point): Remove its uses.
15157 (inferior-octave-startup): completion_matches was introduced to
15158 Octave in 1996 so safe to assume it.
15159 (octave-function-file-comment): Improve to follow how Octave does it.
15160 (octave-update-function-file-comment): Tweak.
15162 2013-04-29 Leo Liu <sdl.web@gmail.com>
15164 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15165 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15166 (octave-function-file-comment): Fix typo.
15167 (octave-sync-function-file-names): Use read-char-choice.
15169 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15171 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15172 to t for the less important warnings.
15174 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15176 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15178 2013-04-27 Glenn Morris <rgm@gnu.org>
15180 * vc/log-view.el (log-view-current-entry):
15181 Treat "---" separator lines as part of the following rev. (Bug#14169)
15183 2013-04-27 Juri Linkov <juri@jurta.org>
15185 * subr.el (read-number): Doc fix about using it by interactive
15186 code letter `n'. (Bug#14254)
15188 2013-04-27 Juri Linkov <juri@jurta.org>
15190 * desktop.el (desktop-auto-save-timeout): New option.
15191 (desktop-file-checksum): New variable.
15192 (desktop-save): Add optional arg `auto-save' and don't auto-save
15193 if nothing changed.
15194 (desktop-auto-save-timer): New variable.
15195 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15196 (after-init-hook): Call `desktop-auto-save-set-timer'.
15197 Suggested by Reuben Thomas <rrt@sc3d.org> in
15198 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15200 2013-04-27 Leo Liu <sdl.web@gmail.com>
15202 * progmodes/octave.el (octave-function-file-p)
15203 (octave-skip-comment-forward, octave-function-file-comment)
15204 (octave-update-function-file-comment): New functions.
15205 (octave-mode-map): Bind C-c ; to
15206 octave-update-function-file-comment.
15207 (octave-mode-menu): Add octave-update-function-file-comment.
15208 (octave-mode, inferior-octave-mode): Fix doc-string.
15209 (octave-insert-defun): Conform to Octave's coding convention.
15212 * files.el (basic-save-buffer): Don't let errors in
15213 before-save-hook prevent saving buffer.
15215 2013-04-20 Roland Winkler <winkler@gnu.org>
15217 * faces.el (read-face-name): Use completing-read if arg multiple
15220 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15222 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15223 displayed, move point to after the totals line.
15224 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15227 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15229 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15230 Add current dir to the load-path.
15231 (package-generate-autoloads): Don't rely on
15232 autoload-ensure-default-file.
15234 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15236 * textmodes/remember.el (remember-store-in-files): Document that
15237 the file name format is passed to `format-time-string'.
15239 2013-04-26 Leo Liu <sdl.web@gmail.com>
15241 * progmodes/octave.el (octave-sync-function-file-names): New function.
15242 (octave-mode): Use it in before-save-hook.
15244 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15246 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15249 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15250 \n and comment, even if it's not an implicit ; (bug#14218).
15252 2013-04-26 Glenn Morris <rgm@gnu.org>
15254 * subr.el (read-number): Once more use `read' rather than
15255 `string-to-number', to trap non-numeric input. (Bug#14254)
15257 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15259 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15260 Use `syntax-multiline' text property consistently instead of
15261 `font-lock-multiline'. (Bug#14237)
15263 2013-04-26 Glenn Morris <rgm@gnu.org>
15265 * emacs-lisp/shadow.el (list-load-path-shadows):
15266 No longer necessary to check for duplicate simple.el, since
15267 2012-07-07 change to init_lread to not include installation lisp
15268 directories in load-path when running uninstalled. (Bug#14270)
15270 2013-04-26 Leo Liu <sdl.web@gmail.com>
15272 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15273 (octave-mode, inferior-octave-mode): Use setq-local.
15274 (octave-not-in-string-or-comment-p): Rename to
15275 octave-in-string-or-comment-p.
15276 (octave-in-comment-p, octave-in-string-p)
15277 (octave-in-string-or-comment-p): Replace defsubst with defun.
15279 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15281 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15283 2013-04-25 Bastien Guerry <bzg@gnu.org>
15285 * textmodes/remember.el (remember-data-directory)
15286 (remember-directory-file-name-format): Fix custom types.
15288 2013-04-25 Leo Liu <sdl.web@gmail.com>
15290 * progmodes/octave.el (octave-completion-at-point-function):
15291 Make use of inferior octave process.
15292 (octave-initialize-completions): Remove.
15293 (inferior-octave-completion-table): New function.
15294 (inferior-octave-completion-at-point): Use it.
15295 (octave-completion-alist): Remove.
15297 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15299 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15300 (opascal-mode-syntax-table): New var.
15301 (opascal-literal-kind, opascal-is-literal-end)
15302 (opascal-literal-token-at): Rewrite.
15303 (opascal--literal-start-re, opascal-font-lock-keywords)
15304 (opascal--syntax-propertize): New constants.
15305 (opascal-font-lock-defaults): Adjust.
15306 (opascal-mode): Use them. Set comment-<foo> variables as well.
15307 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15308 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15309 (delphi-other-face, opascal-other-face): Remove face variables.
15310 (opascal-save-state): Remove macro.
15311 (opascal-fontifying-progress-step): Remove constant.
15312 (opascal--ignore-changes): Remove var.
15313 (opascal-set-token-property, opascal-parse-next-literal)
15314 (opascal-is-stable-literal, opascal-complete-literal)
15315 (opascal-is-literal-start, opascal-face-of)
15316 (opascal-parse-region, opascal-parse-region-until-stable)
15317 (opascal-fontify-region, opascal-after-change)
15318 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15319 (opascal-debug-parse-region, opascal-debug-parse-window)
15320 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15321 (opascal-debug-fontify-buffer): Remove.
15322 (opascal-debug-mode-map): Adjust accordingly.
15324 2013-04-25 Leo Liu <sdl.web@gmail.com>
15326 Merge octave-mod.el and octave-inf.el into octave.el with some
15328 * progmodes/octave.el: New file renamed from octave-mod.el.
15329 * progmodes/octave-inf.el: Merged into octave.el.
15330 * progmodes/octave-mod.el: Renamed to octave.el.
15332 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15334 * textmodes/reftex-vars.el
15335 (reftex-label-ignored-macros-and-environments): New defcustom.
15337 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15339 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15341 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15342 (smie-indent-keyword): Improve the check to ensure that the next
15343 comment is really on the same line.
15344 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15346 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15347 semi-colons if the line is not otherwise empty (bug#14218).
15349 2013-04-25 Glenn Morris <rgm@gnu.org>
15351 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15353 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15355 * progmodes/opascal.el (opascal-set-token-property): Rename from
15356 opascal-set-text-properties and only set `token' (bug#14134).
15357 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15358 (opascal-literal-text-properties): Remove.
15359 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15362 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15364 * textmodes/remember.el (remember-handler-functions): Add an
15365 option for a new handler `remember-store-in-files'.
15366 (remember-data-directory, remember-directory-file-name-format):
15368 (remember-store-in-files): New function to store remember notes
15369 as separate files within a directory.
15371 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15373 * progmodes/compile.el (compilation-next-error-function):
15374 Pass "formats" to compilation-find-file (bug#11777).
15376 2013-04-24 Glenn Morris <rgm@gnu.org>
15378 * vc/vc-bzr.el (vc-bzr-print-log):
15379 * vc/vc-hg.el (vc-hg-print-log):
15380 * vc/vc-svn.el (vc-svn-print-log):
15381 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15383 * vc/vc-bzr.el (vc-bzr-print-log):
15384 * vc/vc-cvs.el (vc-cvs-print-log):
15385 * vc/vc-git.el (vc-git-print-log):
15386 * vc/vc-hg.el (vc-hg-print-log):
15387 * vc/vc-mtn.el (vc-mtn-print-log):
15388 * vc/vc-rcs.el (vc-rcs-print-log):
15389 * vc/vc-sccs.el (vc-sccs-print-log):
15390 * vc/vc-svn.el (vc-svn-print-log):
15391 * vc/vc.el (vc-print-log-internal): Doc fixes.
15393 2013-04-23 Glenn Morris <rgm@gnu.org>
15395 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15396 Remove venerable code attempting to avoid substitute-command-keys.
15398 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15400 * textmodes/reftex-vars.el (reftex-label-regexps):
15401 Call `reftex-compile-variables' after changes to this variable.
15403 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15405 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15406 Use lexical-binding.
15407 (jit-lock-force-redisplay): Use markers, check buffer's continued
15408 existence and beware narrowed buffers.
15409 (jit-lock-fontify-now): Adjust call accordingly.
15411 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15413 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15414 to avoid misleading the user.
15416 2013-04-22 Leo Liu <sdl.web@gmail.com>
15418 * info-look.el: Prefer latex2e.info. (Bug#14240)
15420 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15422 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15424 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15425 * net/tramp.el (tramp-call-process): ... here.
15426 (tramp-set-completion-function, tramp-parse-putty):
15427 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15428 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15429 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15430 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15431 (tramp-call-local-coding-command): Use `tramp-call-process'
15432 instead of `tramp-compat-call-process'.
15434 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15435 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15436 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15437 (tramp-find-inline-compress): Improve traces.
15438 (tramp-maybe-send-script): Check for Perl binary.
15439 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15441 2013-04-22 Daiki Ueno <ueno@gnu.org>
15443 * epg.el (epg-context-pinentry-mode): New function.
15444 (epg-context-set-pinentry-mode): New function.
15445 (epg--start): Pass --pinentry-mode option to gpg command.
15447 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15449 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15450 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15451 `completion-at-point'. (Bug#13774)
15453 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15454 default key binding for `describe-distribution' has been moved to
15455 `C-h C-o'. (Bug#13970)
15457 2013-04-21 Glenn Morris <rgm@gnu.org>
15459 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15461 (vc-print-log): Clarify interactive prompt.
15463 2013-04-20 Glenn Morris <rgm@gnu.org>
15465 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15466 No longer include timestamp etc information.
15468 2013-04-20 Roland Winkler <winkler@gnu.org>
15470 * faces.el (read-face-name): Bug fix, return just one face if arg
15471 multiple is nil. (Bug#14209)
15473 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15476 (remove-function): Autoload.
15478 * comint.el (comint-redirect-original-filter-function): Remove.
15479 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15480 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15481 (vc-cvs-annotate-command):
15482 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15483 * progmodes/prolog.el (prolog-consult-compile):
15484 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15485 Use add/remove-function instead.
15486 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15487 (gud-tooltip-process-output, gud-tooltip-tips):
15488 Use add/remove-function instead.
15489 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15490 (scheme-interaction-mode, exit-scheme-interaction-mode):
15491 Use add/remove-function instead.
15493 * vc/vc-dispatcher.el: Use lexical-binding.
15494 (vc--process-sentinel): Rename from vc-process-sentinel.
15495 Change last arg to be the code to run. Don't use vc-previous-sentinel
15496 and vc-sentinel-commands any more.
15497 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15498 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15500 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15502 * progmodes/sh-script.el (sh-imenu-generic-expression):
15503 Handle function names with a single character. (Bug#14111)
15505 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15507 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15508 for subroutines defined in an eval (bug#14182).
15510 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15512 * bookmark.el (bookmark-completing-read): Improve handling of empty
15513 string (bug#14176).
15515 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15517 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15519 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15521 New faster Imenu implementation (bug#14058).
15522 * progmodes/python.el (python-imenu-prev-index-position)
15523 (python-imenu-format-item-label-function)
15524 (python-imenu-format-parent-item-label-function)
15525 (python-imenu-format-parent-item-jump-label-function):
15527 (python-imenu-format-item-label)
15528 (python-imenu-format-parent-item-label)
15529 (python-imenu-format-parent-item-jump-label)
15530 (python-imenu--put-parent, python-imenu--build-tree)
15531 (python-imenu-create-index, python-imenu-create-flat-index)
15532 (python-util-popn): New functions.
15533 (python-mode): Set imenu-create-index-function to
15534 python-imenu-create-index.
15536 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15538 * winner.el (winner-active-region): Use region-active-p, activate-mark
15539 and deactivate-mark (bug#14225).
15541 * simple.el (deactivate-mark): Don't inline it.
15543 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15545 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15547 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15549 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15550 file extensions from the archive-mode entry in order to prefer
15551 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15553 2013-04-18 Leo Liu <sdl.web@gmail.com>
15555 * bindings.el (help-event-list): Add ?\?.
15557 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15559 * subr.el (with-wrapper-hook): Declare obsolete.
15560 * simple.el (filter-buffer-substring-function): New hook.
15561 (filter-buffer-substring): Use it.
15562 (filter-buffer-substring-functions): Mark obsolete.
15563 * minibuffer.el (completion-in-region-function): New hook.
15564 (completion-in-region): Use it.
15565 (completion-in-region-functions): Mark obsolete.
15566 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15567 * abbrev.el (abbrev-expand-function): New hook.
15568 (expand-abbrev): Use it.
15569 (abbrev-expand-functions): Mark obsolete.
15570 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15571 and :filter-return.
15573 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15575 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15576 and do not care about match data.
15578 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15580 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15581 completion tables when completing error conditions and
15582 `declare' arguments.
15583 (lisp-complete-symbol, field-complete): Mark as obsolete.
15584 (check-parens): Unmatched parens are user errors.
15585 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15587 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15589 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15590 command changed buffer (ie. `flyspell-pre-buffer' is not current
15591 buffer), which prevents making decisions based on invalid value of
15592 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15593 cause an error when `flyspell-pre-point' was nil after switching
15595 (flyspell-post-command-hook): No longer needs to change buffers when
15596 checking pre-word. While at it remove unnecessary progn.
15598 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15600 * textmodes/ispell.el (ispell-add-per-file-word-list):
15601 Fix `flyspell-correct-word-before-point' error when accepting
15602 words and `coment-padding' is an integer by using
15603 `comment-normalize-vars' (Bug #14214).
15605 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15607 New defun movement commands.
15608 * progmodes/python.el (python-nav--syntactically)
15609 (python-nav--forward-defun, python-nav-backward-defun)
15610 (python-nav-forward-defun): New functions.
15612 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15614 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15615 (python-syntax-context): Use named compiler-macro for backwards
15616 compatibility with Emacs 24.x.
15618 2013-04-17 Leo Liu <sdl.web@gmail.com>
15620 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15621 octave-hide-process-buffer.
15623 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15628 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15630 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15631 Fix adjustment of offset when receiving incomplete responses from GDB
15634 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15636 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15637 python-mode-abbrev-table.
15638 (python-skeleton-define): Adjust accordingly.
15639 (python-mode-abbrev-table): New table that inherits from it so that
15640 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15642 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15643 (abbrev-symbol): Use it.
15644 (abbrev--before-point): Use it since we already handle inheritance.
15646 2013-04-16 Leo Liu <sdl.web@gmail.com>
15648 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15649 binding to info-lookup-symbol.
15651 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15653 * minibuffer.el (completion--twq-all):
15654 * term/ns-win.el (ns-initialize-window-system):
15655 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15657 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15659 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15662 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15664 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15666 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15667 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15669 (ruby-end-of-defun): Remove the unused arg, change the docstring
15670 to reflect that this function is only used as the value of
15671 `end-of-defun-function'.
15672 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15673 to reflect an earlier change that beginning/end-of-defun functions
15674 jump between methods in a class definition, as well as top-level
15677 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15679 * minibuffer.el (minibuffer-complete): Don't just scroll
15680 a *Completions* that's been iconified.
15681 (minibuffer-force-complete): Make sure repetitions do cycle when going
15682 through completion-in-region -> minibuffer-complete.
15684 2013-04-15 Alan Mackenzie <acm@muc.de>
15686 Correct the placement of c-cpp-delimiters when there're #s not at
15689 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15690 place a submatch around the #.
15691 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15692 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15695 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15697 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15698 (advice--member-p): New arg `name'.
15699 (advice--add-function, advice-member-p): Use it (bug#14202).
15701 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15703 Reformulate java imenu-generic-expression.
15704 The old expression contained ill formed regexps.
15706 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15707 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15708 (cc-imenu-java-method-arg-regexp): New defconsts.
15709 (cc-imenu-java-build-type-args-regex): New defun.
15710 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15711 handling of spaces in the regexp.
15713 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15715 * textmodes/ispell.el (ispell-command-loop): Remove
15716 flyspell highlight of a word when ispell accepts it (bug #14178).
15718 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15720 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15721 uses code from the previous `ange-ftp-run-real-handler'.
15722 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15723 only in case that function exist. This is needed for proper
15724 unloading of Tramp.
15726 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15728 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15730 * textmodes/reftex.el (reftex-compile-variables): Use it.
15732 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15734 * files.el (normal-mode): Only use default major-mode if no other mode
15737 * emacs-lisp/trace.el (trace-values): New function.
15739 * files.el: Allow : in local variables (bug#14089).
15740 (hack-local-variable-regexp): New var.
15741 (hack-local-variables-prop-line, hack-local-variables): Use it.
15743 2013-04-13 Roland Winkler <winkler@gnu.org>
15745 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15746 data before it gets modified by bibtex-beginning-of-entry.
15748 2013-04-13 Roland Winkler <winkler@gnu.org>
15750 * textmodes/bibtex.el (bibtex-url): Doc fix.
15752 2013-04-13 Roland Winkler <winkler@gnu.org>
15754 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15755 does not visit a BibTeX file, exclude it from the list of buffers
15756 returned by bibtex-initialize.
15758 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15760 * window.el (split-window): Remove interactive form, since as a
15761 command this function is a special case of split-window-below.
15762 Correct doc string.
15764 2013-04-12 Roland Winkler <winkler@gnu.org>
15766 * faces.el (read-face-name): Do not override value of arg default.
15767 Allow single faces and strings as default values. Remove those
15768 elements from return value that are not faces.
15769 (describe-face): Simplify.
15770 (face-at-point): New optional args thing and multiple so that this
15771 function can provide the same functionality previously provided by
15773 (make-face-bold, make-face-unbold, make-face-italic)
15774 (make-face-unitalic, make-face-bold-italic, invert-face)
15775 (modify-face, read-face-and-attribute): Use face-at-point.
15777 * cus-edit.el (customize-face, customize-face-other-window)
15778 * cus-theme.el (custom-theme-add-face)
15779 * face-remap.el (buffer-face-set)
15780 * facemenu.el (facemenu-set-face): Use face-at-point.
15782 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15784 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15786 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15788 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15789 off leading { and trailing } from field values.
15791 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15793 * emacs-lisp/timer.el (timer--check): New function.
15794 (timer--time, timer-set-function, timer-event-handler): Use it.
15795 (timer-set-idle-time): Simplify.
15796 (timer--activate): CSE.
15797 (timer-event-handler): Give more info in error message.
15798 (internal-timer-start-idle): New function, moved from C.
15800 * mpc.el (mpc-proc): Add `restart' argument.
15801 (mpc-proc-cmd): Use it.
15802 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15803 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15806 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15808 * progmodes/sh-script.el: Implement `sh-mode' own
15809 `add-log-current-defun-function' (bug#14112).
15810 (sh-current-defun-name): New function.
15811 (sh-mode): Use the function.
15813 2013-04-09 Bastien Guerry <bzg@gnu.org>
15815 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15817 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15821 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15824 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15826 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15829 2013-04-07 Leo Liu <sdl.web@gmail.com>
15831 * pcmpl-x.el: New file.
15833 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15835 Do not set x-display-name until X connection is established.
15836 This is needed to prevent from weird situation described at
15837 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15838 * frame.el (make-frame): Set x-display-name after call to
15839 window system initialization function, not before.
15840 * term/x-win.el (x-initialize-window-system): Add optional
15841 display argument and use it.
15842 * term/w32-win.el (w32-initialize-window-system):
15843 * term/ns-win.el (ns-initialize-window-system):
15844 * term/pc-win.el (msdos-initialize-window-system):
15845 Add compatible optional display argument.
15847 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15849 * files.el (normal-backup-enable-predicate): On MS-Windows and
15850 MS-DOS compare truenames of temporary-file-directory and of the
15851 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15852 don't fail comparison by compare-strings. Also, compare file
15853 names case-insensitively on MS-Windows and MS-DOS.
15855 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15857 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15858 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15860 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15862 * whitespace.el (whitespace-color-on, whitespace-color-off):
15863 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15865 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15867 * ispell.el (ispell-set-spellchecker-params):
15868 Really set `ispell-args' for all equivs.
15870 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15872 * ido.el (ido-completions): Use extra elements of ido-decorations
15874 (ido-decorations): Update docstring.
15876 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15878 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15879 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15880 nil during initialization, in order not to miss changes since the
15881 file was opened. (Bug#14140)
15883 2013-04-05 Leo Liu <sdl.web@gmail.com>
15885 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15887 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15889 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15891 2013-04-04 Glenn Morris <rgm@gnu.org>
15893 * electric.el (electric-pair-inhibit-predicate): Add :version.
15895 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15897 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15898 when a package is required several times (bug#14082).
15900 2013-04-04 Roland Winkler <winkler@gnu.org>
15902 * faces.el (read-face-name): Behave as promised by the docstring.
15903 Assume that arg default is a list of faces.
15904 (describe-face): Call read-face-name with list of default faces.
15906 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15908 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15909 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15910 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15912 (bookmark-exit-hook-internal): Save even if list is empty.
15914 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15916 * emacs-lisp/package.el (package-pinned-packages): New var.
15917 (package--add-to-archive-contents): Obey it (bug#14118).
15919 2013-04-03 Alan Mackenzie <acm@muc.de>
15921 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15922 Also adapt to the new values of element 7 of a parse state.
15924 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15925 parameter `not-in-delimiter'. Handle being inside comment opener.
15926 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15927 character in case we're typing a '*' after a '/'.
15928 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15929 instead by passing the parameter to c-state-pp-to-literal.
15931 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15932 for elt. 7 of a parse state.
15934 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15936 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15937 * international/latin1-disp.el, international/mule-util.el:
15938 * language/cyril-util.el, language/european.el, language/ind-util.el:
15939 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15940 * language/tibetan.el, language/viet-util.el:
15941 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15943 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15946 (electric-pair-post-self-insert-function): Use it.
15947 (electric-pair-default-inhibit): New function, extracted from
15948 electric-pair-post-self-insert-function.
15950 2013-03-31 Roland Winkler <winkler@gnu.org>
15952 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15954 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15956 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15958 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15960 Un-indent after "pass" and "return" statements (Bug#13888)
15961 * progmodes/python.el (python-indent-block-enders): New var.
15962 (python-indent-calculate-indentation): Use it.
15964 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15966 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15967 defun. Defining it as defalias could introduce too eager
15968 byte-compiler optimization. (Bug#14030)
15970 2013-03-30 Chong Yidong <cyd@gnu.org>
15972 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15974 2013-03-30 Leo Liu <sdl.web@gmail.com>
15976 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15977 (kmacro-execute-from-register): Pass the keyboard macro to
15978 kmacro-call-macro or repeating won't work correctly.
15980 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15982 * progmodes/subword.el: Back to using `forward-symbol'.
15984 * subr.el (forward-whitespace, forward-symbol)
15985 (forward-same-syntax): Move from thingatpt.el.
15987 2013-03-29 Leo Liu <sdl.web@gmail.com>
15989 * kmacro.el (kmacro-to-register): New command.
15990 (kmacro-execute-from-register): New function.
15991 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15993 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15995 * mpc.el: Use defvar-local and setq-local.
15996 (mpc--proc-connect): Connection failures are not bugs.
15997 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15998 (mpc-volume-map): Bind to the up-events.
16000 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16002 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16003 instead of `forward-symbol'.
16005 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16007 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16008 (edebug--recursive-edit): Use it.
16009 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16010 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16012 2013-03-28 Leo Liu <sdl.web@gmail.com>
16014 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16016 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16018 * facemenu.el (list-colors-callback): New defvar.
16019 (list-colors-redisplay): New function.
16020 (list-colors-display): Install list-colors-redisplay as the
16021 revert-buffer-function. (Bug#14063)
16023 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16025 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16026 and suffixes don't overlap (bug#14061).
16028 * case-table.el: Use lexical-binding.
16029 (case-table-get-table): New function.
16030 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16032 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16034 * progmodes/subword.el: Add `superword-mode' to do word motion
16035 over symbol_words (parallels and leverages `subword-mode' which
16036 does word motion inside MixedCaseWords).
16038 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16040 * eshell/em-unix.el: Move su and sudo to...
16041 * eshell/em-tramp.el: ...Eshell tramp module.
16043 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16046 Change return value to be a sexp. Delay `get-buffer' to after
16047 restoring the desktop (bug#13951).
16049 2013-03-26 Leo Liu <sdl.web@gmail.com>
16051 * register.el: Move semantic tag handling back to
16052 cedet/semantic/senator.el. (Bug#14052)
16054 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16056 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16057 into the prompt either (bug#13963).
16059 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16061 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16062 part of "(error-foo)".
16064 2013-03-24 Juri Linkov <juri@jurta.org>
16066 * replace.el (list-matching-lines-prefix-face): New defcustom.
16067 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16068 `occur-engine' if `face-differs-from-default-p' returns t.
16069 (occur-engine): Add `,' inside backquote construct to evaluate
16070 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16071 Pass `prefix-face' to the functions `occur-context-lines' and
16072 `occur-engine-add-prefix'.
16073 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16074 `prefix-face' and propertize the prefix with `prefix-face'.
16077 2013-03-24 Leo Liu <sdl.web@gmail.com>
16079 * nxml/rng-valid.el (rng-validate-while-idle)
16080 (rng-validate-quick-while-idle): Guard against deleted buffer.
16083 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16084 is the last entry in kill-buffer-hook.
16086 * files.el (kill-buffer-hook): Doc fix.
16088 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16090 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16091 Make it safe-local.
16093 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16095 2013-03-23 Leo Liu <sdl.web@gmail.com>
16097 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16100 * nxml/rng-valid.el (rng-validate-mode)
16101 (rng-after-change-function, rng-do-some-validation):
16102 * nxml/rng-maint.el (rng-validate-buffer):
16103 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16104 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16105 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16106 (nxml-extend-after-change-region): Use with-silent-modifications.
16108 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16111 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16112 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16113 timer-idle-list. (Bug#13999)
16115 2013-03-23 Juri Linkov <juri@jurta.org>
16117 * info.el (info-index-match): New face.
16118 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16119 main pattern and add text properties with the new face to matches
16120 in index entries relative to the beginning of the index entry.
16123 2013-03-21 Eric Ludlam <zappo@gnu.org>
16125 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16126 Inhibit read only while inserting objects.
16128 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16130 * progmodes/cfengine.el: Update docs to mention
16131 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16132 symbol motion. Remove "_" from the word syntax.
16134 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16136 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16137 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16139 2013-03-20 Juri Linkov <juri@jurta.org>
16141 * info.el (Info-next-reference-or-link)
16142 (Info-prev-reference-or-link): New functions.
16143 (Info-next-reference, Info-prev-reference): Use them.
16144 (Info-try-follow-nearest-node): Handle footnote navigation.
16145 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16147 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16150 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16152 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16154 Suppress unnecessary non-ASCII chatter during build process.
16155 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16156 (batch-skkdic-convert): Suppress most of the chatter.
16157 It's not needed so much now that machines are faster,
16158 and its non-ASCII component was confusing; see Dmitry Gutov in
16159 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16161 2013-03-20 Leo Liu <sdl.web@gmail.com>
16163 * ido.el (ido-chop): Fix bug#10994.
16165 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16167 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16169 (whitespace-color-on, whitespace-color-off):
16170 Use `font-lock-fontify-buffer' (Bug#13817).
16172 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16174 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16175 remapping in mode-line.
16176 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16178 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16180 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16181 value for `whitespace-line' face (Bug#13875).
16182 (whitespace-font-lock-keywords): Change description.
16183 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16184 the constructed keywords instead.
16185 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16187 2013-03-19 Leo Liu <sdl.web@gmail.com>
16189 * progmodes/compile.el (compilation-display-error): New command.
16190 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16193 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16195 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16197 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16199 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16201 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16203 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16205 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16206 * net/tramp-gvfs.el (top):
16207 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16208 (tramp-handle-shell-command): Use it.
16209 (tramp-dissect-file-name): Raise an error when hostname is a
16210 method name, and neither method nor user is specified.
16212 * net/trampver.el: Update release number.
16214 2013-03-18 Leo Liu <sdl.web@gmail.com>
16216 Make sure eldoc can be turned off properly.
16217 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16219 (eldoc-display-message-p): Revert last change.
16220 (eldoc-display-message-no-interference-p)
16221 (eldoc-print-current-symbol-info): Tweak.
16223 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16225 * doc-view.el (doc-view-new-window-function): Check the new window
16226 overlay's display property instead the char property of the
16227 buffer's first char. Use `with-selected-window' instead of
16228 `save-window-excursion' with `select-window'.
16229 (doc-view-document->bitmap): Check the current doc-view overlay's
16230 display property instead the char property of the buffer's first char.
16232 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16234 Automate the build of ja-dic.el (Bug#13984).
16235 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16236 from the input, rather than assume that it's been done for us by the
16237 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16238 the current date into a ja-dic.el comment, as that complicates
16239 regression testing.
16241 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16243 * whitespace.el: Fix double evaluation.
16244 (whitespace-space, whitespace-hspace, whitespace-tab)
16245 (whitespace-newline, whitespace-trailing, whitespace-line)
16246 (whitespace-space-before-tab, whitespace-indentation)
16247 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16249 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16250 (whitespace-color-on): Use a single font-lock-add-keywords call.
16251 Fix double-evaluation of face variables.
16253 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16255 * net/tramp-adb.el (tramp-adb-parse-device-names):
16256 Use `start-process' instead of `call-process'. Otherwise, the
16257 function might be blocked under MS Windows. (Bug#13299)
16259 2013-03-17 Leo Liu <sdl.web@gmail.com>
16261 Extend eldoc to display info in the mode-line. (Bug#13978)
16262 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16263 (eldoc-mode-line-string): New variable.
16264 (eldoc-minibuffer-message): New function.
16265 (eldoc-message-function): New variable.
16266 (eldoc-message): Use it.
16267 (eldoc-display-message-p)
16268 (eldoc-display-message-no-interference-p):
16269 Support eldoc-post-insert-mode.
16271 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16272 (eval-expression): Run it.
16274 2013-03-17 Roland Winkler <winkler@gnu.org>
16276 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16277 strings in the list of return values.
16279 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16281 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16282 radix before checking for HMS forms.
16284 2013-03-16 Leo Liu <sdl.web@gmail.com>
16286 * progmodes/scheme.el: Add indentation and font-locking for λ.
16289 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16291 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16292 token before point (bug#13942).
16294 2013-03-16 Leo Liu <sdl.web@gmail.com>
16296 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16298 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16300 * startup.el (command-line-normalize-file-name): Fix handling of
16301 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16302 <xfq.free@gmail.com> in
16303 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16305 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16307 Sync with Tramp 2.2.7.
16309 * net/trampver.el: Update release number.
16311 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16313 * doc-view.el: Fix bug#13887.
16314 (doc-view-insert-image): Don't modify overlay associated to
16315 non-live windows, and implement horizontal centering of image in
16316 case it's smaller than the window.
16317 (doc-view-new-window-function): Force redisplay of new windows on
16320 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16322 * saveplace.el (save-place-alist-to-file): Don't sort
16323 `save-place-alist', just pretty-print it (bug#13882).
16325 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16327 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16328 Check whether `default-file-name-coding-system' is bound.
16329 It isn't in XEmacs.
16331 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16333 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16334 backquotes for `obsolete' (bug#13929).
16336 * international/mule.el (find-auto-coding): Include file name in
16337 obsolescence warning (bug#13922).
16339 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16341 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16342 for CFEngine 3-specific indentation.
16343 (cfengine3-indent-line): Use it. Fix up category regex.
16344 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16346 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16348 * type-break.el (type-break-file-name):
16349 * textmodes/remember.el (remember-data-file):
16350 * strokes.el (strokes-file):
16351 * shadowfile.el (shadow-initialize):
16352 * saveplace.el (save-place-file):
16353 * ps-bdf.el (bdf-cache-file):
16354 * progmodes/idlwave.el (idlwave-config-directory):
16355 * net/quickurl.el (quickurl-url-file):
16356 * international/kkc.el (kkc-init-file-name):
16357 * ido.el (ido-save-directory-list-file):
16358 * emulation/viper.el (viper-custom-file-name):
16359 * emulation/vip.el (vip-startup-file):
16360 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16361 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16363 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16365 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16366 * language/thai-word.el: Switch to UTF-8.
16368 See ChangeLog.16 for earlier changes.
16370 ;; Local Variables:
16374 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16376 This file is part of GNU Emacs.
16378 GNU Emacs is free software: you can redistribute it and/or modify
16379 it under the terms of the GNU General Public License as published by
16380 the Free Software Foundation, either version 3 of the License, or
16381 (at your option) any later version.
16383 GNU Emacs is distributed in the hope that it will be useful,
16384 but WITHOUT ANY WARRANTY; without even the implied warranty of
16385 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16386 GNU General Public License for more details.
16388 You should have received a copy of the GNU General Public License
16389 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.