1 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
3 * textmodes/tildify.el (tildify-foreach-region-outside-env): New
4 function which calls a callback on portions of the buffer that are
5 outside of ignored environments.
6 (tildify-build-regexp): Remove function since it is now
7 incorporated in `tildify-foreach-region-outside-env' where it is
8 optimised and simplified by the use of `mapconcat'.
9 (tildify-tildify): Return number of substitutions made so that…
10 (tildify-count): …can be removed.
11 (tildify-find-env): Accept a new PAIRS argument which was
12 previously looked up in `tildify-ignored-environments-alist' each
13 time the function was called. With this change, the lookup is
14 performed only once in `tildify-foreach-region-outside-env'.
15 (tildify-region): Greatly simplify the function since now most of
16 the work is done by `tildify-foreach-region-outside-env'.
17 (tildify-mode-alist): Simplify slightly by avoiding if and setq
20 * textmodes/tildify.el (tildify-ignored-environments-alist):
21 Optimise environments regexes
23 Each time beginning of an environment to ignore is found,
24 `tildify-find-env' needs to identify regexp for the ending
25 of the environment. This is done by trying all the opening
26 regexes on matched text in a loop, so to speed that up, this
27 loop should have fewer things to match, which can be done by
28 using alternatives in the opening regexes.
30 Coincidentally, this should make matching of the opening
31 regexp faster as well thanks to the use of `regexp-opt' and
32 having common prefix pulled from many regexes.
34 * textmodes/tildify.el (tildify-string-alist)
35 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
36 of supported modes since `xml-mode' is no longer a thing but just
37 an alias to the former. Also include comments and insides of tags
38 in `tildify-ignored-environments-alist' for XML modes. Finally,
39 since XML does not define “ ”[1], use a numeric reference for
40 a no-break space (namely “ ”)
42 [1] XML specification defines only a handful of predefined entities.
43 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
44 and includes only <, >, &, ' and " (meaning <,
45 >, &, ' and " respectively). This is in contrast to HTML and even
46 XHTML which defined a whole bunch of entities including “ ”.
48 * textmodes/tildify.el (tildify-pattern-alist)
49 (tildify-string-alist, tildify-ignored-environments-alist):
50 Improve defcustom's types by adding more tags explaining what each
51 value means and replace “sexp” used in
52 `tildify-ignored-environments-alist' with a full type declaration.
54 * textmodes/tildify.el (tildify-find-env): Fix matched group
55 indexes in end-regex building
57 When looking for a start of an ignore-environment, the regex is built
58 by concatenating regexes of all the environments configured in
59 `tildify-ignored-environments-alist'. So for example, the following
60 list could be used to match TeX's \verb and \verb* commands:
62 (("\\\\verb\\(.\\)" . (1))
63 ("\\\\verb\\*\\(.\\)" . (1)))
65 This would result in the following regex being used to find the start
66 of any of the variants of the \verb command:
68 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
70 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
71 won't match anything, and thus (match-string 1) will be nil, which
72 will cause building of the end-matching regex to fail.
74 Fix this by using capture groups from the time when the opening
75 regexes are matched individually.
77 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
80 The `tildify-ignored-environments-alist' allows the end-regex to
81 be provided not as a static string but mix of strings and indexes
82 of groups matched the begin-regex. For example, the “\verb!…!”
83 TeX-command (where “!” is an arbitrary character) is handled
86 ("\\\\verb\\*?\\(.\\)" . (1))
88 In the same way, the following should be supported as well:
90 ("open-\\(.\\)" . ("end-" 1))
92 However the tildify-find-env function fails at
95 (if (stringp (setq aux (car expression)))
96 expression ; BUG: expression is a list
97 (regexp-quote (match-string aux))))
99 where the string part is handled incorrectly.
101 The most trivial fix would be to replace `expression' in the
102 true-part of the if-statement with `aux', but instead, this commit
103 optimises `tildify-find-env' by changing it to use `mapconcat'
104 rather than open-coded while-loop.
106 2014-06-05 Mario Lang <mlang@delysid.org>
108 * woman.el (woman-mapcan): Remove.
109 (woman-parse-colon-path): Use cl-mapcan instead.
111 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
113 * register.el: Add link to Emacs manual in Commentary.
115 2014-06-02 Sam Steingold <sds@gnu.org>
117 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
118 (popup-menu): ...here.
119 (menu-bar-open): Use it to avoid an error when `lookup-key'
122 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
124 * net/tramp.el (tramp-call-process): Add traces.
125 (tramp-handle-unhandled-file-name-directory): Return "/".
127 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
129 Sync with upstream verilog-mode revision 3cd8144.
130 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
131 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
132 (verilog-type-font-keywords): Add nor.
133 (verilog-batch-execute-func): Force reading of Local Variables.
134 Fix printing "no changes to be saved" with verilog-batch.
135 (verilog-auto-arg-ports): Doc fix.
136 Add verilog-auto-arg-format to support newlines in AUTOARG.
137 (verilog-auto-arg): Doc fix.
139 2014-06-02 Glenn Morris <rgm@gnu.org>
141 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
142 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
143 * emulation/ws-mode.el: Move to obsolete/.
144 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
146 2014-06-02 Eli Zaretskii <eliz@gnu.org>
148 * simple.el (keyboard-quit): Force update of mode lines, to remove
149 the "Def" indicator, if we were defining a macro. (Bug#17615)
151 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
153 * minibuffer.el (minibuffer-force-complete-and-exit):
154 Obey minibuffer-default (bug#17545).
156 * progmodes/js.el (js-indent-line): Don't mix columns and chars
159 * subr.el (set-transient-map): Don't wait for some "nested"
160 transient-map to finish if we're only supposed to be active for
161 the next command (bug#17642).
163 2014-06-02 Leo Liu <sdl.web@gmail.com>
165 * emacs-lisp/gv.el (window-buffer, window-display-table)
166 (window-dedicated-p, window-hscroll, window-point, window-start):
167 Fix gv-expander. (Bug#17630)
169 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
171 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
174 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
175 for the single comma, since ", " is *very* common in normal French text
178 2014-06-02 Glenn Morris <rgm@gnu.org>
180 * emacs-lisp/package.el (package-check-signature)
181 (package-unsigned-archives): Fix :version.
183 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
185 * subr.el (sit-for): Don't run input-methods (bug#15614).
187 2014-06-02 Glenn Morris <rgm@gnu.org>
189 * cus-start.el: Fix some :version numbers.
191 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
193 * simple.el (deactivate-mark): Set mark-active to nil even if
194 deactivation is done via setting transient-mark-mode to nil,
195 since one is buffer-local and the other is global.
197 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
198 there can't be more than 2 arguments (bug#17584).
200 2014-06-02 Glenn Morris <rgm@gnu.org>
202 * simple.el (filter-buffer-substring-functions)
203 (filter-buffer-substring-function, buffer-substring-filters)
204 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
206 * minibuffer.el (completion-in-region-functions, completion-in-region)
207 (completion--in-region): Doc fixes.
209 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
210 (expand-abbrev, abbrev--default-expand): Doc fixes.
212 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
214 Include sources used to create macuvs.h.
215 * international/README: Refer to the Unicode Terms of Use rather
216 than copying it bodily here, as that simplifies maintenance.
218 2014-06-01 Glenn Morris <rgm@gnu.org>
220 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
222 2014-05-31 Glenn Morris <rgm@gnu.org>
224 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
226 2014-05-30 Glenn Morris <rgm@gnu.org>
228 * loadup.el: Treat `command-line-args' more flexibly.
230 2014-05-30 Alan Mackenzie <acm@muc.de>
232 Guard (looking-at "\\s!") from XEmacs.
233 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
235 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
237 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
238 argument COUNT is now optional, to be more backward-compatible.
241 2014-05-29 Reuben Thomas <rrt@sc3d.org>
243 * whitespace.el (whitespace-report-region): Simplify
245 (whitespace-report-region): Allow report-if-bogus to take the
246 value `never', for non-interactive use.
247 (whitespace-report): Refer to whitespace-report-region's
250 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
252 * whitespace.el: Use font-lock-flush. Minimize refontifications.
253 Side benefit: it works without jit-lock.
254 (whitespace-point--used): New buffer-local var.
255 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
256 (whitespace-color-off): Use font-lock-flush.
257 (whitespace-point--used, whitespace-point--flush-used): New functions.
258 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
259 (whitespace-empty-at-eob-regexp): Use them.
260 (whitespace-post-command-hook): Rewrite.
262 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
263 (font-lock-fontify-buffer): Mark interactive-only.
264 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
266 (font-lock-specified-p): Remove redundant boundp check.
267 (font-lock-flush-function, font-lock-ensure-function): New vars.
268 (font-lock-turn-on-thing-lock): Set them.
269 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
270 (font-lock-after-change-function): Make `old-len' optional.
271 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
272 Call font-lock-flush, just in case.
273 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
275 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
276 (vera-mode-map, vera-mode-menu): Remove bindings to it.
277 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
278 and with-syntax-table.
279 * textmodes/conf-mode.el (conf-quote-normal):
280 * progmodes/sh-script.el (sh-set-shell):
281 * progmodes/prog-mode.el (prettify-symbols-mode):
282 * progmodes/f90.el (f90-font-lock-n):
283 * progmodes/cwarn.el (cwarn-mode):
284 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
285 * progmodes/compile.el (compilation-setup, compilation--unsetup):
286 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
287 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
288 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
289 font-lock-fontify-buffer-function and
290 font-lock-unfontify-buffer-function.
291 (rmail-unfontify-buffer-function, rmail-fontify-message):
292 Use with-silent-modifications.
293 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
294 and font-lock-ensure.
295 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
297 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
299 * emacs-lisp/package.el (package-generate-autoloads):
300 Inhibit backup files.
302 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
304 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
307 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
309 * textmodes/tildify.el (tildify-buffer, tildify-region):
312 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
314 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
315 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
317 * subr.el (internal--funcall-interactively): New.
318 (internal--call-interactively): Remove.
319 (called-interactively-p): Detect funcall-interactively instead of
321 * simple.el (repeat-complex-command): Use funcall-interactively.
322 (repeat-complex-command--called-interactively-skip): Remove.
324 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
326 * register.el (register-read-with-preview): Don't burp on
327 frame switches (e.g. due to the frame we just popped).
329 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
330 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
332 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
334 * cus-face.el (custom-face-attributes): Add :distant-foreground.
336 2014-05-26 Martin Rudalics <rudalics@gmx.at>
338 * window.el (window--dump-frame): Remove interactive specification.
340 2014-05-26 Glenn Morris <rgm@gnu.org>
342 * hippie-exp.el (he-line-search-regexp):
343 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
345 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
347 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
348 to avoid errors when trying to create or visit a file foo.todo
349 located outside to todo-directory, and to allow having such files
350 without them being tied to Todo mode (bug#17482).
351 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
352 (todo-archive-done-item, todo-find-filtered-items-file)
353 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
354 (todo-category-completions, todo-read-category): When visiting a
355 Todo file, make sure we're in the right mode and the buffer local
357 (todo-make-categories-list, todo-reset-nondiary-marker)
358 (todo-reset-done-string, todo-reset-comment-string):
359 After processing all Todo files, kill the buffers of those files that
360 weren't being visited before the processing.
361 (todo-display-as-todo-file, todo-add-to-buffer-list)
362 (todo-visit-files-commands): Comment out.
363 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
364 (auto-mode-alist): Remove add-to-list calls making Todo file
365 extensions unrestrictedly tied to Todo modes.
367 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
369 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
370 (advice-function-member-p): Tell it to check both names and functions
372 (advice--add-function): Adjust call accordingly.
374 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
376 * calendar/todo-mode.el: Miscellaneous bug fixes.
377 (todo-delete-file): When deleting an archive but not its todo
378 file, make sure to update the todo file's category sexp.
379 (todo-move-category): Keep the moved category's name unless the
380 file moved to already has a category with that name. If the
381 numerically last category of the source file was moved, make the
382 first category current to avoid selecting a nonexisting category.
383 (todo-merge-category): Fix implementation to make merging to a
384 category in another file work as documented. Eliminate now
385 insufficient and unnecessary renaming of archive category, correct
386 document string accordingly, and clarify it. If the numerically
387 last category of the source file was merged, make the first
388 category current to avoid selecting a nonexisting category.
389 (todo-archive-done-item): When there are marked items and point
390 happens to be on an unmarked item, ignore the latter. Don't leave
391 point below last item after archiving marked items.
392 (todo-unarchive-items): Fix logic to ensure unarchiving an item
393 from an archive with only one category deletes the archive only
394 when the category is empty after unarchiving. Make sure the todo
395 file's category sexp is updated.
396 (todo-read-file-name): Allow an existing file name even when it is
397 not required (todo-move-category needs this to work as documented).
398 (todo-add-file): Call todo-validate-name to reject the name of an
399 existing todo file (needed due to fix in todo-read-file-name).
400 (todo-reset-nondiary-marker): Also reset in filtered items files.
401 (todo-reset-done-string, todo-reset-comment-string): Also reset in
402 regexp filtered items files.
403 (todo-reset-highlight-item): Also reset in filtered items files.
404 Fix incorrect variable reference in document string.
406 2014-05-26 Glenn Morris <rgm@gnu.org>
408 * window.el (window--dump-frame): Avoid error in --without-x builds.
410 2014-05-26 Glenn Morris <rgm@gnu.org>
412 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
414 2014-05-26 Eli Zaretskii <eliz@gnu.org>
416 * frame.el (set-frame-font): Doc fix.
418 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
420 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
422 * emacs-lisp/package.el (package--download-one-archive):
423 Use `write-region' instead of `save-buffer' to avoid running various
425 (describe-package-1): Same. Insert newline at the end of the
426 buffer if appropriate.
428 2014-05-26 Juri Linkov <juri@jurta.org>
430 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
431 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
432 Add more modifiers: meta, control, shift, hyper, super, alt.
435 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
436 to allow changing its value with `set-variable'.
438 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
440 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
442 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
444 (scheme-mode-variables): Set syntax-propertize-function instead of
445 font-lock-syntactic-face-function.
446 (scheme-font-lock-syntactic-face-function): Delete.
448 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
450 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
453 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
455 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
456 for a temporary file name.
458 2014-05-26 Eli Zaretskii <eliz@gnu.org>
460 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
462 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
464 * net/dbus.el (dbus-init-bus, dbus-call-method)
465 (dbus-call-method-asynchronously, dbus-send-signal)
466 (dbus-method-return-internal, dbus-method-error-internal):
467 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
469 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
471 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
472 methods which do not have a doc string. (Bug#17490)
474 2014-05-25 Tassilo Horn <tsdh@gnu.org>
476 * textmodes/reftex-ref.el (reftex-format-special): Make it work
477 also for AMS Math's \eqref macro.
479 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
481 Arrange to never byte-compile the generated -pkg.el file.
483 * emacs-lisp/package.el (package-generate-description-file):
484 Output first-line comment to set buffer-local var `no-byte-compile'.
485 Suggested by Dmitry Gutov:
486 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
488 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
490 Fix bug: Properly quote args to generated -pkg.el `define-package'.
492 * emacs-lisp/package.el (package-generate-description-file):
493 Inline `package--alist-to-plist'; rewrite to selectively
494 quote alist values that are not self-quoting.
495 (package--alist-to-plist): Delete func.
497 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
499 * term/xterm.el (xterm-function-map): Add mapping for shifted
502 2014-05-24 Daniel Colascione <dancol@dancol.org>
504 * progmodes/subword.el (subword-find-word-boundary): Move point to
505 correct spot before search. (Bug#17580)
507 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
510 2014-05-24 Leo Liu <sdl.web@gmail.com>
512 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
514 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
516 * minibuffer.el (completion--sreverse): Remove.
517 (completion--common-suffix): Use `reverse' instead.
518 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
520 2014-05-22 Glenn Morris <rgm@gnu.org>
522 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
524 2014-05-21 Daniel Colascione <dancol@dancol.org>
526 * files.el (interpreter-mode-alist): Add mksh.
528 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
530 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
531 mksh. Improve custom spec; allow regular expressions.
532 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
533 (sh-after-hack-local-variables): New function.
534 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
535 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
537 (sh-canonicalize-shell): Rewrite to support regexes.
539 2014-05-21 Leo Liu <sdl.web@gmail.com>
541 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
543 2014-05-19 Leo Liu <sdl.web@gmail.com>
545 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
547 2014-05-18 Glenn Morris <rgm@gnu.org>
550 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
552 2014-05-14 Sam Steingold <sds@gnu.org>
554 * progmodes/python.el (python-shell-get-or-create-process):
555 Do not bind `current-prefix-arg' so that C-c C-z does not talk
556 back unless requested.
558 2014-05-14 Glenn Morris <rgm@gnu.org>
560 * subr.el (with-file-modes): New macro.
561 * printing.el (pr-save-file-modes): Make obsolete.
562 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
563 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
565 * doc-view.el (doc-view-make-safe-dir):
566 * epg.el (epg--start):
567 * files.el (locate-user-emacs-file, make-temp-file)
568 (backup-buffer-copy, move-file-to-trash):
569 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
570 * eshell/esh-util.el (eshell-with-private-file-modes)
571 (eshell-make-private-directory):
572 * net/browse-url.el (browse-url-mosaic):
573 * obsolete/mailpost.el (post-mail-send-it):
574 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
575 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
578 * vc/emerge.el (emerge-make-temp-file): Simplify.
580 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
581 Stefan Monnier <monnier@iro.umontreal.ca>
583 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
586 2014-05-14 Glenn Morris <rgm@gnu.org>
588 * vc/emerge.el (emerge-temp-file-prefix):
589 Make pointless option obsolete.
590 (emerge-temp-file-mode): Make non-functional option obsolete.
592 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
594 * net/browse-url.el (browse-url):
595 Use `unhandled-file-name-directory' when setting `default-directory',
596 in order to circumvent stalled remote connections. (Bug#17425)
598 2014-05-14 Glenn Morris <rgm@gnu.org>
600 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
601 Optimize on Emacs, which has the relevant functions for ages.
603 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
605 * simple.el (undo-make-selective-list): Obey undo-no-redo.
607 2014-05-12 Sam Steingold <sds@gnu.org>
609 * calendar/time-date.el (seconds-to-string): New function to
610 pretty print time delay in seconds.
612 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
614 * mpc.el (mpc-format): Trim Date to the year.
615 (mpc-songs-hashcons): Shorten the Date field.
617 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
618 into autoloading just because of a silly indirection.
620 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
622 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
624 2014-05-12 Glenn Morris <rgm@gnu.org>
626 * emacs-lisp/find-gc.el: Move to ../admin.
628 * printing.el (pr-version):
629 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
631 * net/browse-url.el (browse-url-mosaic):
632 Create /tmp/Mosaic.PID as a private file.
634 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
636 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
637 (advice--member-p): If name is given, only compare the name.
638 (advice--remove-function): Don't stop at the first match.
639 (advice--normalize-place): New function.
640 (add-function, remove-function): Use it.
641 (advice--add-function): Pass the name, if any, to
642 advice--remove-function.
644 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
646 * electric.el (electric-indent-post-self-insert-function): Don't use
647 `pos' after modifying the buffer (bug#17449).
649 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
651 * calendar/todo-mode.el (todo-insert-item-from-calendar):
652 Correct argument list to conform to todo-insert-item--basic.
654 2014-05-12 Glenn Morris <rgm@gnu.org>
656 * files.el (cd-absolute): Test if directory is accessible
657 rather than executable. (Bug#17330)
659 * progmodes/compile.el (recompile):
660 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
662 * net/browse-url.el (browse-url-mosaic):
663 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
664 This is CVE-2014-3423.
666 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
668 * mouse.el: Use the normal toplevel loop while dragging.
669 (mouse-set-point): Handle multi-clicks.
670 (mouse-set-region): Handle multi-clicks for drags.
671 (mouse-drag-region): Update call accordingly.
672 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
673 Use the normal event loop instead of a local while/read-event loop.
674 (global-map): Remove redundant bindings for double/triple-mouse-1.
675 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
676 Generate synthetic down events when the protocol only sends up events.
677 (xterm-mouse-last): Remove.
678 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
679 terminal parameter instead.
680 (xterm-mouse--set-click-count): New function.
681 (xterm-mouse-event): Detect/generate double/triple clicks.
682 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
684 * info.el (Info-quoted): New face.
685 (Info-mode-font-lock-keywords): New var.
688 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
689 are a hindrance for C-x C-e.
691 2014-05-11 Leo Liu <sdl.web@gmail.com>
693 * net/rcirc.el (rcirc-sentinel): Fix last change.
695 2014-05-08 Sam Steingold <sds@gnu.org>
697 * net/rcirc.el (rcirc-reconnect-delay): New user option.
698 (rcirc-sentinel): Auto-reconnect to the server if
699 `rcirc-reconnect-delay' is non-0 (but not more often than its
700 value in case the host is off-line).
702 2014-05-09 Eli Zaretskii <eliz@gnu.org>
704 * progmodes/grep.el (lgrep): Fix a typo in last commit.
706 2014-05-09 Glenn Morris <rgm@gnu.org>
708 * files.el (file-expand-wildcards):
709 * man.el (Man-support-local-filenames):
710 * printing.el (pr-i-directory, pr-interface-directory):
711 * progmodes/grep.el (lgrep, rgrep):
712 * textmodes/ispell.el (ispell-call-process)
713 (ispell-call-process-region, ispell-start-process)
714 (ispell-init-process): Use file-accessible-directory-p.
716 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
718 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
719 (xterm-mouse--read-event-sequence-1000): Return nil if something
721 (xterm-mouse-event): Propagate it.
722 (xterm-mouse-translate-1): Handle it.
724 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
726 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
727 four slots of the parameter list are filled, make sure to pass it
728 to the argument list of todo-insert-item--basic.
730 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
732 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
733 Add optional `seen' argument to detect and break infinite loops.
735 2014-05-08 Eli Zaretskii <eliz@gnu.org>
737 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
738 (trace-unsafe, trace-use-tree): Make parentheses style be
739 according to Emacs style.
741 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
743 * net/tramp-sh.el (tramp-remote-process-environment):
744 Remove HISTFILE and HISTSIZE; it's too late to set them here.
746 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
747 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
748 extra "PSx=..." commands.
749 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
752 (tramp-uudecode): Replace the hard-coded temporary file name by a
754 (tramp-remote-coding-commands): Enhance docstring.
755 (tramp-find-inline-encoding): Replace "%t" by a temporary file
757 This is CVE-2014-3424.
759 2014-05-08 Glenn Morris <rgm@gnu.org>
761 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
762 (find-gc-source-files): Update some names.
763 (trace-call-tree): Simplify and update.
764 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
765 This is CVE-2014-3422.
767 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
769 * minibuffer.el (completion--try-word-completion): Revert fix for
770 Bug#15980 (bug#17375).
772 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
773 Always store button numbers in the same way in xterm-mouse-last;
774 Don't burp is xterm-mouse-last is not set as expected.
775 Never return negative indices.
777 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
779 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
780 Backtrack one char if the global/char-literal var matcher hits
781 inside a string. The next char could be the beginning of an
782 expression expansion.
784 2014-05-08 Glenn Morris <rgm@gnu.org>
786 * help-fns.el (describe-function-1): Test for an autoload before a
787 macro, since `macrop' works on autoloads. (Bug#17410)
789 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
791 * electric.el (electric-indent-functions-without-reindent): Add yaml.
793 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
794 Make sure the new point we return is within the new string (bug#17239).
796 2014-05-05 Daniel Colascione <dancol@dancol.org>
798 * progmodes/compile.el (compilation-error-regexp-alist-alist):
799 Port `gnu' pattern to rx.
801 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
803 Remove unneeded prompt when closing a buffer with active
804 emacsclient ("Buffer ... still has clients"), #16548.
805 * server.el (server-start): Remove the only call to:
806 (server-kill-buffer-query-function): Remove.
808 2014-05-04 Leo Liu <sdl.web@gmail.com>
810 * calendar/diary-lib.el (calendar-chinese-month-name-array):
811 Defvar to pacify compiler.
813 2014-05-04 Eli Zaretskii <eliz@gnu.org>
815 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
817 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
819 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
820 Use nil rather than `default' for the "default" appearance (bug#17388).
821 * vc/ediff-util.el (ediff-inferior-compare-regions)
822 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
823 a misleading `default' value when it's really a boolean.
824 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
825 overlay is not visible.
827 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
829 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
830 (todo-menu): Uncomment and update.
832 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
834 * calendar/todo-mode.el: Reimplement item editing to have the same
835 basic user interface as item insertion, and make small UI and
836 larger internal improvements to the latter.
837 (todo-insert-item): Add reference to the Todo mode user manual to
838 the documentation string.
839 (todo-insert-item--basic): Rename from todo-basic-insert-item and
840 adjust all callers. Change signature to combine diary and
841 nonmarking arguments. Incorporate functionality of deleted item
842 copying command and add error checking. Remove detailed
843 descriptions of the arguments from the documentation string, since
844 this is treated in the Todo mode user manual.
845 (todo-copy-item, todo-edit-multiline-item)
846 (todo-edit-done-item-comment, todo-edit-item-header)
847 (todo-edit-item-time, todo-edit-item-date-from-calendar)
848 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
849 (todo-edit-item-date-year, todo-edit-item-date-month)
850 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
852 (todo-edit-item): Reimplement as wrapper command for
853 todo-edit-item--next-key and make it distinguish done and not done
855 (todo-edit-item--text): New function, replacing old command
856 todo-edit-item and incorporating deleted commands
857 todo-edit-multiline-item and todo-edit-done-item-comment.
858 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
859 Use only numeric value of prefix argument. Remove detailed
860 descriptions of the arguments from the documentation string, since
861 this is treated in the Todo mode user manual.
862 (todo-edit-item--diary-inclusion): New function, replacing old
863 command todo-edit-item-diary-inclusion and incorporating and fixing
864 functionality of deleted command todo-edit-item-diary-nonmarking,
865 making sure to remove todo-nondiary-marker when adding
866 diary-nonmarking-symbol.
867 (todo-edit-category-diary-inclusion): Make sure to delete
868 diary-nonmarking-symbol when adding todo-nondiary-marker.
869 (todo-edit-category-diary-nonmarking): Fix indentation.
870 (todo-insert-item--parameters): Group diary and nonmarking
872 (todo-insert-item--apply-args): Adjust to signature of
873 todo-insert-item--basic and incorporate copy parameter.
874 Make small code improvements.
875 (todo-insert-item--next-param): Improve prompt and adjust it to
876 new parameter grouping. Remove obsolete code.
877 (todo-edit-item--param-key-alist)
878 (todo-edit-item--date-param-key-alist)
879 (todo-edit-done-item--param-key-alist): New defconsts.
880 (todo-edit-item--prompt): New variable.
881 (todo-edit-item--next-key): New function.
882 (todo-key-bindings-t): Bind "e" to todo-edit-item.
883 Remove bindings of deleted commands.
885 2014-05-04 Leo Liu <sdl.web@gmail.com>
887 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
889 2014-05-04 Glenn Morris <rgm@gnu.org>
891 * allout-widgets.el (allout-widgets-tally)
892 (allout-decorate-item-guides):
893 * menu-bar.el (menu-bar-positive-p):
894 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
895 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
896 * progmodes/js.el (js--inside-param-list-p)
897 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
898 * progmodes/prolog.el (region-exists-p):
899 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
900 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
901 Doc fixes (replace `iff').
903 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
905 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
907 2014-05-04 Leo Liu <sdl.web@gmail.com>
909 Support Chinese diary entries in calendar and diary. (Bug#17393)
910 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
911 (calendar-chinese-from-absolute-for-diary)
912 (calendar-chinese-to-absolute-for-diary)
913 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
914 (diary-chinese-list-entries): New functions to list and mark
915 Chinese diary entries in the calendar window.
916 (diary-chinese-anniversary)
917 (diary-chinese-insert-anniversary-entry)
918 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
919 (diary-chinese-insert-yearly-entry): New commands to insert
920 Chinese diary entries.
922 * calendar/diary-lib.el (diary-font-lock-keywords):
923 Support font-locking Chinese dates.
925 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
926 inserting Chinese diary entries.
928 * calendar/calendar.el (diary-chinese-entry-symbol):
929 New customizable variable.
930 (calendar-mode-map): Add bindings for inserting Chinese diary
933 2014-05-03 Juri Linkov <juri@jurta.org>
935 * dired.el (dired-check-switches, dired-switches-recursive-p):
936 New functions. (Bug#17218)
937 (dired-switches-escape-p, dired-move-to-end-of-filename):
938 Use `dired-check-switches'.
939 (dired-insert-old-subdirs, dired-build-subdir-alist)
940 (dired-sort-R-check): Use `dired-switches-recursive-p'.
942 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
944 * simple.el (undo-make-selective-list): New algorithm fixes
945 incorrectness of position adjustments when undoing in region.
947 (undo-elt-crosses-region): Make obsolete.
948 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
949 New functions to adjust positions using undo-deltas.
951 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
953 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
954 the last consecutive closing paren (bug#17345).
956 2014-04-30 Reuben Thomas <rrt@sc3d.org>
958 * dired.el (dired-mode): make terminology for eXpunge command
959 consistent. (Bug#17276)
961 2014-04-30 Eli Zaretskii <eliz@gnu.org>
963 * dired.el (dired-initial-position-hook, dired-initial-position):
966 2014-04-30 Glenn Morris <rgm@gnu.org>
968 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
970 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
972 * faces.el (face-spec-recalc): Apply X resources only after the
973 defface spec has been applied. Thus, X resources are no longer
974 overriden by the defface spec which also fixes issues on win32 where
975 the toolbar coloring was wrong because it is set through X resources
976 and was (wrongfully) overriden. (Bug#16694)
978 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
980 * textmodes/rst.el (electric-pair-pairs): Declare.
981 (rst-mode): Set it (bug#17131).
983 2014-04-30 Juri Linkov <juri@jurta.org>
985 * desktop.el (desktop-value-to-string): Let-bind `print-length'
986 and `print-level' to nil. (Bug#17351)
988 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
990 * battery.el (battery-update): Handle the case where battery
991 status is "N/A" (bug#17319).
993 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
995 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
996 to syntax-propertize.
997 (ps-mode-auto-indent): Mark as obsolete.
998 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
999 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1000 word regexp operators.
1001 (ps-mode-map): Move initialization into declaration. Remove binding
1002 for TAB, RET, >, ], and }.
1003 (ps-mode-syntax-table): Move initialization into declaration.
1004 Don't give word syntax to non-word chars.
1005 (ps-run-mode-map): Move initialization into declaration.
1006 (ps-mode-menu-main): Remove auto-indent entry.
1007 (ps-mode-smie-rules): New function.
1008 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1009 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1010 (ps-mode--string-syntax-table): New const.
1011 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1013 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1014 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1016 2014-04-27 Daniel Colascione <dancol@dancol.org>
1018 * term/xterm.el (xterm-paste): Use large finite timeout when
1019 reading event to avoid putting keys in this-command-keys.
1021 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1023 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1024 (perl-syntax-propertize-function): Use it. Extend handling of
1025 here-docs to the unquoted case.
1027 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1029 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1030 Use equal-including-properties to compare help-echo strings (bug#17331).
1032 2014-04-25 Leo Liu <sdl.web@gmail.com>
1034 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1035 Fix syntax for @. (Bug#17325)
1037 2014-04-25 Daniel Colascione <dancol@dancol.org>
1039 * emacs-lisp/cl.el (gv): Require gv early to break eager
1040 macro-expansion cycles.
1042 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * simple.el (region-active-p): Check there's a mark (bug#17324).
1046 * simple.el (completion-list-mode-map): Use choose-completion for the
1047 mouse binding as well (bug#17302).
1048 (completion-list-mode, completion-setup-function): Adjust docstring and
1049 echo area message accordingly.
1050 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1051 calling convention of choose-completion.
1052 * comint.el (comint-dynamic-list-completions):
1053 * term.el (term-dynamic-list-completions): Accept choose-completion.
1055 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1056 &, |, +, - and * can't be a division (bug#17317).
1058 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1059 features on gnome-terminal (bug#16988).
1061 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1063 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1065 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1066 the declared object, ignore zero or more parens, not zero or one.
1068 2014-04-24 Leo Liu <sdl.web@gmail.com>
1070 * progmodes/xscheme.el (xscheme-expressions-ring)
1071 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1072 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1073 (xscheme-allow-output-p, xscheme-prompt)
1074 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1076 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1077 Comment out unused functions.
1079 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * info.el: Use lexical-binding and cl-lib.
1082 Use defvar-local and setq-local instead of make-local-variable.
1083 (Info-apropos-matches): Avoid add-to-list.
1084 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1086 2014-04-24 Daniel Colascione <dancol@dancol.org>
1088 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1090 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1094 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1096 * dired.el (dired-insert-set-properties): Do not consider
1097 subdirectory headings and empty lines to be information that
1098 `dired-hide-details-mode' should hide. (Bug#17228)
1100 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1102 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1103 Remove test messages.
1104 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1107 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1110 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1112 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1114 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1116 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1117 Set "IFS=" when using read builtin, in order to preserve spaces in
1118 the file name. Add test messages for hunting a bug on hydra.
1119 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1121 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1124 Don't prettify a word within a symbol.
1126 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1128 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1131 2014-04-22 Daniel Colascione <dancol@dancol.org>
1133 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1134 use defun to define `function-put'.
1136 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1139 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1140 (lisp-mode-variables): Set font-lock-extra-managed-props.
1142 * emacs-lisp/byte-run.el (function-put): New function.
1143 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1144 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1145 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1148 2014-04-22 Daniel Colascione <dancol@dancol.org>
1150 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1151 Add `full-p' parameter; when nil, call `macroexpand' instead of
1154 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1157 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1158 Use lambda function values, not quoted lambdas.
1159 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1161 * emacs-lisp/cl-macs.el
1162 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1163 (cl-struct-slot-value): Conditionally use aref or nth so that the
1164 compiler produces optimal code.
1166 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1169 (inline): Don't inline cl--set-elt.
1170 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1171 Define as inlinable instead.
1172 (cl-struct-set-slot-value): Remove.
1174 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1175 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1178 2014-04-21 Daniel Colascione <dancol@dancol.org>
1180 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1181 last two parameters after all.
1182 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1183 (cl--compiler-macro-assoc,cl-struct-slot-value)
1184 (cl-struct-set-slot-value): Stop using them.
1186 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1189 entry in image-mode-winprops-alist.
1191 2014-04-21 Daniel Colascione <dancol@dancol.org>
1193 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1194 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1195 (byte-compile-toplevel-file-form): Use it.
1197 * emacs-lisp/cl-macs.el:
1198 (cl--loop-let): Properly destructure `while' clauses.
1200 2014-04-20 Daniel Colascione <dancol@dancol.org>
1202 * vc/vc.el (vc-root-dir): New public autoloaded function for
1203 generically finding the current VC root.
1204 * vc/vc-hooks.el (vc-not-supported): New error.
1205 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1207 2014-04-20 Daniel Colascione <dancol@dancol.org>
1209 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1211 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1212 argument in case we're inside a symbol-macrolet.
1213 (cl--do-arglist, cl--compiler-macro-typep)
1214 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1215 environment to `cl--const-expr-val'.
1216 (cl-struct-sequence-type,cl-struct-slot-info)
1217 (cl-struct-slot-offset, cl-struct-slot-value)
1218 (cl-struct-set-slot-value): New functions.
1220 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1222 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1223 assignments such as "case=hello" (bug#17297).
1225 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1227 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1229 (tramp-file-name-handler, tramp-completion-file-name-handler):
1230 Revert patch from 2014-04-10, it isn't necessary anymore.
1231 (tramp-autoload-file-name-handler)
1232 (tramp-register-autoload-file-name-handlers): New defuns.
1233 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1234 (tramp-register-file-name-handlers): Remove also
1235 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1236 Do not autoload its invocation, but eval it after loading of 'tramp.
1238 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1240 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1242 2014-04-17 Daniel Colascione <dancol@dancol.org>
1244 Add support for bracketed paste mode; add infrastructure for
1245 managing terminal mode enabling and disabling automatically.
1248 (xterm-mouse-mode): Simplify.
1249 (xterm-mouse-tracking-enable-sequence)
1250 (xterm-mouse-tracking-disable-sequence): New constants.
1251 (turn-on-xterm-mouse-tracking-on-terminal)
1252 (turn-off-xterm-mouse-tracking-on-terminal):
1253 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1254 parameters instead of random hooks.
1255 (turn-on-xterm-mouse-tracking)
1256 (turn-off-xterm-mouse-tracking): Delete.
1258 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1259 (xterm-paste-ending-sequence): New constant.
1260 (xterm-paste): New command used for bracketed paste support.
1262 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1263 (terminal-init-xterm-bracketed-paste-mode): New function.
1264 (terminal-init-xterm): Call it.
1265 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1266 and tty-mode-reset-strings instead of random hooks.
1267 (xterm-turn-on-modify-other-keys)
1268 (xterm-turn-off-modify-other-keys)
1269 (xterm-remove-modify-other-keys): Delete obsolete functions.
1271 * term/screen.el: Rewrite to just use the xterm code.
1272 Add copyright notice. Mention tmux.
1274 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1276 * image-mode.el (image-mode-window-put): Also update the property of
1277 the "default window".
1278 * doc-view.el (doc-view-new-window-function): If no window
1279 exists, move to the last known page.
1281 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1283 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1284 here-documents (bug#17262).
1286 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1288 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1289 Provide doc strings, as required by snarf-documentation.
1291 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1293 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1294 arg of overlays-at. Use `invisible-p'.
1296 * obsolete/lucid.el (extent-at):
1297 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1299 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1301 2014-04-16 João Távora <joaotavora@gmail.com>
1303 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1306 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1308 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1309 Use mapc to loop over a vector. (Bug#17257).
1311 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1313 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1314 patch, there are new problems with file names containing spaces.
1315 Get rid of backticks. (Bug#17238)
1317 2014-04-16 João Távora <joaotavora@gmail.com>
1319 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1322 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1324 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1325 (blink-cursor-mode): Mention customization variables and the
1326 effect of 'blink-cursor-blinks'.
1328 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1330 * simple.el (undo): Prevent insertion of identity mapping into
1331 undo-equiv-table so as undo-only does not inf loop in the presence
1332 of consecutive nils in undo list.
1334 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1336 * faces.el (make-face): Deprecate optional argument as it is no
1337 longer needed/used since the conditional X resources handling
1338 has been pushed down to make-face-x-resource-internal itself.
1339 (make-empty-face): Don't pass optional argument to make-face.
1341 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1343 * savehist.el (savehist-save): Remove workaround for a read-passwd
1344 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1345 noticing that the shim was still present.
1347 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1349 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1351 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1353 * faces.el (face-set-after-frame-default): Remove unused local variable.
1355 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * progmodes/grep.el: Use lexical-binding.
1358 (grep-expand-template): Pass explicit lexical env to `eval'.
1359 (zrgrep): Let-bind grep-find-template explicitly.
1361 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1362 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1364 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1366 * international/characters.el <standard-case-table>: Add entries
1367 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1368 Set category of Coptic characters be 'g' (Greek).
1370 2014-04-12 Leo Liu <sdl.web@gmail.com>
1372 * progmodes/octave.el (completion-table-with-cache):
1373 Define if not available.
1374 (octave-goto-function-definition, octave-sync-function-file-names)
1375 (octave-find-definition-default-filename):
1376 Backquote upattern for compatibility.
1378 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1380 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1381 name twice due to backticks. (Bug#17238)
1383 2014-04-12 Glenn Morris <rgm@gnu.org>
1385 * term/w32-win.el (x-win-suspend-error):
1386 * term/x-win.el (x-win-suspend-error): Sync docs.
1388 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1390 * faces.el (make-face): Remove deprecated optional argument.
1391 The conditional application of X resources is handled directly by
1392 make-face-x-resource-internal since Emacs 24.4.
1393 (make-empty-face): Don't pass optional argument to make-face.
1395 2014-04-11 Glenn Morris <rgm@gnu.org>
1397 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1399 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1401 Ediff's overlay priorities cause more trouble than they solve.
1402 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1403 (ediff-highest-priority): Remove function (bug#17234).
1404 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1405 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1406 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1409 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1411 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1412 entry; use symbol boundaries to avoid mis-matches.
1414 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1416 * net/tramp.el (tramp-file-name-handler)
1417 (tramp-completion-file-name-handler): Avoid recursive loading.
1419 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1420 Quote result also locally.
1422 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1425 Remove left-over code.
1427 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1428 Reuse the previous comment's indentation unconditionally if it's on its
1431 2014-04-09 Daniel Colascione <dancol@dancol.org>
1433 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1434 `no-syntax-crossing' arguments. Forward to `up-list'.
1435 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1436 Implement logic for escaping from strings. Use narrowing to deal
1439 2014-04-09 Leo Liu <sdl.web@gmail.com>
1441 * net/rcirc.el (rcirc-connection-info): New variable.
1442 (rcirc-connect): Use it to store connection info.
1443 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1445 (rcirc-cmd-reconnect): New command. (Bug#17045)
1446 (rcirc-mode, set-rcirc-encode-coding-system)
1447 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1449 2014-04-09 Daniel Colascione <dancol@dancol.org>
1451 * emacs-lisp/cl-indent.el: Add comment claiming
1452 facility is also good for elisp.
1453 (lisp-indent-find-method): New function.
1454 (common-lisp-indent-function): Recognize cl-loop.
1455 (common-lisp-indent-function-1): Recognize cl constructs; use
1456 `lisp-indent-find-method' instead of `get' directly.
1457 (if): Use else-body style for elisp.
1459 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1461 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1462 Module methods. (Bug#17216)
1464 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1466 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1467 (describe-bindings-internal): Mark obsolete.
1469 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1472 buffer-file-name, and buffer-file-truename any more.
1474 2014-04-08 Leo Liu <sdl.web@gmail.com>
1476 Use lexical-binding and require cl-lib.
1477 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1478 (rcirc-handler-generic, rcirc-fill-paragraph)
1479 (rcirc-format-response-string, rcirc-target-buffer)
1480 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1481 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1482 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1483 (rcirc-markup-timestamp, rcirc-markup-attributes)
1484 (rcirc-markup-my-nick, rcirc-markup-urls)
1485 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1486 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1487 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1488 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1489 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1490 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1491 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1492 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1493 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1494 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1495 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1498 2014-04-07 João Távora <joaotavora@gmail.com>
1500 * elec-pair.el (electric-pair--syntax-ppss):
1501 When inside comments parse from comment beginning.
1502 (electric-pair--balance-info): Fix typo in comment.
1503 (electric-pair--in-unterminated-string-p): Delete.
1504 (electric-pair--unbalanced-strings-p): New function.
1505 (electric-pair-string-bound-function): New var.
1506 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1507 according to `electric-pair--in-unterminated-string-p'
1509 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1510 Inhibit quote pairing if point-max is inside an unterminated string.
1511 (electric-pair--looking-at-unterminated-string-p): Delete.
1512 (electric-pair--in-unterminated-string-p): New function.
1514 2014-04-07 Glenn Morris <rgm@gnu.org>
1516 * shell.el (shell-directory-tracker):
1517 Go back to just ignoring failures. (Bug#17159)
1519 2014-04-07 João Távora <joaotavora@gmail.com>
1521 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1522 backspace. (bug#16981)
1523 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1524 (electric-pair-backward-delete-char-untabify): Delete.
1525 (electric-pair-mode-map): Bind backspace to a menu item filtering
1526 a new `electric-pair-delete-pair' command.
1527 (electric-pair-delete-pair): New command.
1529 * progmodes/python.el (python-electric-pair-string-delimiter):
1530 Fix triple-quoting electricity. (Bug#17192)
1532 * elec-pair.el (electric-pair-post-self-insert-function):
1533 Don't skip whitespace when `electric-pair-text-pairs' and
1534 `electric-pair-pairs' were used. syntax to
1535 electric-pair--skip-whitespace. (Bug#17183)
1537 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1539 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1542 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1544 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1545 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1547 2014-04-07 Glenn Morris <rgm@gnu.org>
1549 * help.el (view-lossage): Doc tweak.
1551 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1553 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1554 only when inhibit-x-resources is nil, and do that earlier in the
1555 function. Doc fix. (Bug#16694)
1556 (face-spec-choose): Accept additional optional argument, whose
1557 value is returned if no matching attributes are found.
1558 (face-spec-recalc): Use the new optional argument when calling
1559 face-spec-choose. (Bug#16378)
1560 (make-face-x-resource-internal): Do nothing when
1561 inhibit-x-resources is non-nil. Don't touch the default face if
1562 reversed video is given--as was done in previous versions of Emacs.
1563 (face-set-after-frame-default): Don't call
1564 make-face-x-resource-internal here. (Bug#16434)
1566 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1568 * doc-view.el (doc-view-bookmark-jump):
1569 Use `bookmark-after-jump-hook' to jump to the right page after the
1570 buffer is shown in a window. (bug#16090)
1572 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1574 * international/characters.el (mirroring): Fix last change:
1575 instead of loading uni-mirrored.el explicitly, do that implicitly
1576 by creating the 'mirroring' uniprop table. This avoids announcing
1577 the loading of uni-mirrored.el.
1579 2014-04-07 Glenn Morris <rgm@gnu.org>
1581 * files.el (buffer-stale--default-function)
1582 (buffer-stale-function, revert-buffer--default):
1583 * autorevert.el (auto-revert-buffers): Doc tweaks.
1585 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1587 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1589 2014-04-07 Glenn Morris <rgm@gnu.org>
1591 * files.el (make-backup-file-name-function)
1592 (make-backup-file-name, make-backup-file-name--default-function)
1593 (make-backup-file-name-1, find-backup-file-name)
1594 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1595 (buffer-stale--default-function, buffer-stale-function)
1596 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1597 (revert-buffer, revert-buffer--default)
1598 (revert-buffer-insert-file-contents--default-function):
1599 Doc fixes related to defaults no longer being nil.
1600 (make-backup-file-name-function): Bump :version.
1601 Restore nil as a valid but deprecated custom type.
1603 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1606 Handle $' used as a variable (bug#17174).
1608 * progmodes/perl-mode.el (perl-indent-new-calculate):
1609 Handle forward-sexp failure (bug#16985).
1610 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1611 modifiers introducing expressions (bug#17116).
1613 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1617 2014-04-05 Leo Liu <sdl.web@gmail.com>
1619 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1620 Add define-compilation-mode.
1622 2014-04-04 João Távora <joaotavora@gmail.com>
1624 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1625 parse from comment beginning.
1626 (electric-pair--balance-info): Fix typo in comment.
1627 (electric-pair--in-unterminated-string-p): Delete.
1628 (electric-pair--unbalanced-strings-p): New function.
1629 (electric-pair-string-bound-function): New var.
1630 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1631 according to `electric-pair--in-unterminated-string-p'.
1633 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1636 Move declaration before first use.
1637 (reftex-move-to-next-arg): Silence compiler warning.
1639 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1641 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1642 Use `window-total-width' instead of `window-width'.
1644 2014-04-03 Daniel Colascione <dancol@dancol.org>
1646 * subr.el (set-transient-map): Remove rms's workaround entirely;
1647 use new `suspicious-object' subr to mark our lambda for closer
1650 2014-04-02 Richard Stallman <rms@gnu.org>
1652 * subr.el (set-transient-map): Comment out previous change.
1654 2014-04-02 Glenn Morris <rgm@gnu.org>
1656 * menu-bar.el (menu-bar-file-menu):
1657 * vc/ediff.el (ediff-current-file):
1658 Update for revert-buffer-function no longer being nil by default.
1660 * simple.el (command-execute): Respect nil disabled-command-function.
1662 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1664 * simple.el (command-execute): Do not execute the command when it
1665 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1667 2014-04-02 Juri Linkov <juri@jurta.org>
1669 * dired-aux.el (dired-compress-file): Don't use string-match-p
1670 because its match data is used afterwards.
1672 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1674 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1677 2014-04-02 João Távora <joaotavora@gmail.com>
1679 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1680 Inhibit quote pairing if point-max is inside an unterminated string.
1681 (electric-pair--looking-at-unterminated-string-p):
1683 (electric-pair--in-unterminated-string-p): New function.
1685 2014-04-01 Daniel Colascione <dancol@dancol.org>
1687 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1688 when trying to complete the prompt.
1690 2014-03-31 Leo Liu <sdl.web@gmail.com>
1692 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1693 Refactor out eldoc-documentation-function-default.
1694 (eldoc-documentation-function-default): New function.
1695 (eldoc-documentation-function): Change value.
1697 2014-03-31 Glenn Morris <rgm@gnu.org>
1699 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1701 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1702 (vhdl-compose-components-package, vhdl-compose-configuration):
1703 Abbreviate default-directory (missing from some previous upstream sync).
1705 2014-03-31 Reto Zimmermann <reto@gnu.org>
1707 Sync with upstream vhdl mode v3.35.2.
1708 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1709 (top-level): No longer require assoc.
1710 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1711 New functions. Use throughout to replace aget etc.
1712 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1713 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1714 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1715 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1716 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1717 except `vhdl-compiler'.
1718 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1721 2014-03-31 Glenn Morris <rgm@gnu.org>
1723 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1724 Revert 2014-03-26 merge goof; go back to using defalias.
1726 2014-03-30 Daniel Colascione <dancol@dancol.org>
1728 * comint.el (comint-send-input):
1729 Deactivate completion-in-region-mode before we send comint input.
1732 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1735 2014-03-29 Glenn Morris <rgm@gnu.org>
1737 * textmodes/reftex.el: Manage most autoloads automatically.
1738 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1739 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1740 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1741 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1742 * textmodes/reftex-toc.el: Set generated-autoload-file,
1743 and add autoload cookies for reftex.el.
1744 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1746 2014-03-28 Glenn Morris <rgm@gnu.org>
1748 * cus-start.el (report-emacs-bug-address): Set custom properties.
1749 * mail/emacsbug.el (report-emacs-bug-address):
1750 Variable is now defined in emacs.c.
1752 * mail/emacsbug.el (report-emacs-bug):
1753 Include system-configuration-features.
1755 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1757 * simple.el (cycle-spacing): Never delete spaces on first run by
1758 default, but do so in a new 'fast mode and if there are already
1759 N spaces (the previous behavior).
1760 Compare N with its value in previous invocation so that changing
1761 prefix argument restarts `cycle-spacing' sequence.
1762 The idea is that with this change, binding M-SPC to
1763 `cycle-spacing' should not introduce any changes in behavior of
1764 the binding so long as users do not type M-SPC twice in a raw with
1765 the same prefix argument or lack thereof.
1767 2014-03-28 Glenn Morris <rgm@gnu.org>
1769 * faces.el (term-file-aliases): New variable.
1770 (tty-run-terminal-initialization): Respect term-file-aliases.
1771 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1772 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1773 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1775 2014-03-27 Glenn Morris <rgm@gnu.org>
1777 * startup.el (inhibit-startup-hooks): Doc tweak.
1778 (normal-top-level): Simplify running of hooks.
1779 For window-setup-hook, respect inhibit-startup-hooks.
1780 (command-line-1): Don't set window-setup-hook to nil.
1782 Allow selective autoloading from obsolete/ directory.
1783 * Makefile.in (obsolete-autoloads): New rule.
1784 (autoloads): Run obsolete-autoloads.
1785 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1786 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1788 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1790 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1791 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1793 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1794 Don't propertize `?' or `!' as symbol constituent when after
1797 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1799 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1800 which is no longer needed and causes trouble in GTK builds (bug#17046).
1802 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1803 Use url-insert-file-contents; package-handle-response no longer exists.
1805 2014-03-26 Daniel Colascione <dancol@dancol.org>
1807 * simple.el (process-menu-mode-map): New variable.
1808 (process-menu-delete-process): New command.
1810 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1812 * emacs-lisp/package.el: Fix bug#16733 (again).
1813 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1814 (url-http-target-url): Remove unused declarations.
1815 (package-handle-response): Remove.
1816 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1817 (package--download-one-archive): Use current-buffer instead of
1818 dynamic binding of `buffer'.
1819 (describe-package-1): Do not decode readme-string.
1821 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1823 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1825 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1826 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1827 `remote-file-name-inhibit-cache' to nil in the second pass.
1828 (tramp-find-executable): Do not call "which" on SunOS.
1829 (tramp-send-command-and-check): Fix docstring.
1830 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1831 check whether source directory has set the sticky bit.
1833 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1835 * simple.el (primitive-undo): Only process marker adjustments
1836 validated against their corresponding (TEXT . POS). Issue warning
1837 for lone marker adjustments in undo history. (Bug#16818)
1838 (undo-make-selective-list): Add marker adjustments to selective
1839 undo list based on whether their corresponding (TEXT . POS) is in
1840 the region. Remove variable adjusted-markers, which was unused
1841 and only non nil during undo-make-selective-list.
1842 (undo-elt-in-region): Return nil when passed a marker adjustment
1843 and explain in function doc.
1845 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1847 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1849 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1851 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1852 Match special global variables without curlies, too.
1853 (ruby-font-lock-keywords): Simplify the matcher for special global
1854 variables. Don't require a non-word character after the variable.
1857 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * simple.el (redisplay-highlight-region-function): Increase priority of
1860 overlay to make sure boundaries are visible (bug#15899).
1862 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1864 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1865 (frameset-restore): Compare display strings with equal.
1867 * frame.el (make-frame): Don't quote display name in error message,
1868 it is already a string.
1870 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1872 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1875 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1877 * emacs-lisp/package.el (package--add-to-archive-contents):
1878 Include already installed and built-in packages in
1879 `package-archive-contents'.
1880 (package-install): Don't include already installed packages in the
1881 options during interactive invocation. (Bug#16762)
1882 (package-show-package-list): If the buffer is already displayed in
1883 another window, switch to that window.
1885 2014-03-26 Reto Zimmermann <reto@gnu.org>
1887 Sync with upstream vhdl mode v3.35.1.
1888 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1889 (vhdl-compiler-alist): Doc fix.
1890 (vhdl-goto-line): Remove.
1891 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1892 (vhdl-mode) <paragraph-start>: Fix value.
1893 (vhdl-fix-statement-region): Not `for' in wait-statement.
1894 (vhdl-beautify-region): Also (un)tabify.
1895 (vhdl-get-visible-signals):
1896 Scan declarative part of generate statements.
1897 (vhdl-template-record): Fix indentation for record type declaration.
1898 (vhdl-expand-abbrev, vhdl-expand-paren):
1899 Revert to using fset again rather than defalias.
1900 (vhdl-scan-directory-contents): Tweak.
1901 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1902 (vhdl-compose-components-package):
1903 Replace vhdl-goto-line with forward-line.
1904 (top-level): Tweak speedbar frame selection.
1905 (vhdl-generate-makefile-1): Support for compilers with no
1906 unit-to-file name mapping (create directory with dummy files).
1908 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1910 Sync with upstream verilog-mode revision 702457d.
1911 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1912 (create-lockfiles): Declare.
1913 (verilog-read-decls): Fix module header imports, bug709.
1914 Reported by Victor Lau.
1915 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1916 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1917 interface-only modules, bug721. Reported by Dean Hoyt.
1919 2014-03-26 Glenn Morris <rgm@gnu.org>
1921 * obsolete/gulp.el: Move here from emacs-lisp/.
1923 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1924 Remove fallback aliases, since they are always defined now.
1926 2014-03-24 Daniel Colascione <dancol@dancol.org>
1928 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1929 instead of cl-loop search function.
1931 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1933 * calendar/parse-time.el (parse-time-iso8601-regexp)
1934 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1937 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1939 * net/dns.el (network-interface-list): Define for XEmacs.
1941 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1943 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1944 the network interfaces changed.
1945 (dns-query): Use it to flush the data.
1947 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1949 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1951 2014-03-23 Daniel Colascione <dancol@dancol.org>
1953 Change subword-mode to use `find-word-boundary-function-table' and
1954 replace `capitalized-words-mode'. Also, convert to lexical
1957 * progmodes/cap-words.el: Delete now-obsolete file.
1958 * progmodes/subword.el: Reimplement using
1959 `find-word-boundary-function-table'.
1960 (subword-mode-map): Hollow out.
1961 (capitalized-words-mode): Define as obsolete alias for
1963 (subword-mode, superword-mode): Tweak documentation to reflect new
1964 implementation; call `subword-setup-buffer'.
1965 (subword-forward, subword-capitalize): Add underscore to indicate
1967 (subword-find-word-boundary-function-table): New constant.
1968 (subword-empty-char-table): New constant.
1969 (subword-setup-buffer): New function.
1970 (subword-find-word-boundary): New function.
1972 2014-03-23 Daniel Colascione <dancol@dancol.org>
1974 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1975 list to look for keyword arguments instead of `memq', fixing
1976 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1977 Please make bootstrap.
1979 2014-03-22 Glenn Morris <rgm@gnu.org>
1981 * dired.el (dired-read-regexp): Make obsolete.
1982 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1983 (dired-flag-files-regexp):
1984 * dired-aux.el (dired-mark-read-regexp):
1985 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1987 * startup.el (fancy-startup-text):
1988 * help.el (describe-gnu-project): Visit online info about GNU project.
1990 * help-fns.el (help-fns--interactive-only): New function.
1991 (help-fns-describe-function-functions): Add the above function.
1992 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1993 (next-line, previous-line): Remove hand-written interactive-only
1994 information from doc strings, it is auto-generated now.
1995 * bookmark.el (bookmark-write):
1996 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1997 (epa-mail-import-keys): Mark interactive-only,
1998 and remove hand-written interactive-only information from doc strings.
1999 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2000 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2001 * files.el (not-modified):
2002 * simple.el (mark-whole-buffer): Mark interactive-only.
2004 * emacs-lisp/byte-run.el (defun-declarations-alist):
2005 Add interactive-only. Doc tweak.
2006 (macro-declarations-alist): Doc tweak.
2007 * subr.el (declare): Doc tweak (add xref to manual).
2008 * comint.el (comint-run):
2009 * files.el (insert-file-literally, insert-file):
2010 * replace.el (replace-string, replace-regexp):
2011 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2012 (delete-forward-char, goto-line, insert-buffer, next-line)
2013 (previous-line): Set interactive-only via declare.
2015 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2017 * emacs-lisp/package.el (package-desc): Use the contents of the
2018 quoted form, not its cdr. (Bug#16873)
2020 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2022 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2023 benefit of doc.c; change parameter profile to match the X function.
2025 2014-03-22 Leo Liu <sdl.web@gmail.com>
2027 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2028 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2030 2014-03-21 Richard Stallman <rms@gnu.org>
2032 * battery.el (battery-linux-sysfs): Search for each field
2033 from the beginning of the buffer.
2035 * subr.el (set-transient-map): Clear out function and value
2036 of the temporary symbol when we're done with it.
2038 * mail/rmailsum.el (rmail-summary-delete-forward):
2039 Optimize case of reaching end and handling count.
2040 (rmail-summary-mark-deleted): Optimize when N is current msg.
2041 Don't create new summary line.
2042 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2043 (rmail-summary-undelete-many): Rewrite for speed.
2044 (rmail-summary-msg-number): New function.
2046 * mail/rmail.el (rmail-delete-message): Update summary.
2047 (rmail-undelete-previous-message): Handle repeat count arg.
2048 (rmail-delete-backward, rmail-delete-forward): Likewise.
2050 2014-03-21 Daniel Colascione <dancol@dancol.org>
2052 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2053 information in bug reports.
2055 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2057 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2058 and `tramp-copy-env'.
2060 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2061 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2063 2014-03-21 Glenn Morris <rgm@gnu.org>
2065 * electric.el (electric-indent-post-self-insert-function): Add doc.
2067 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2069 * emacs-lisp/package.el (package-compute-transaction):
2070 Use `version-list-<=' to compare the requirement version against
2071 the version of package already to be installed. Update the error
2072 message. (Bug#16826)
2074 * progmodes/ruby-mode.el (ruby-smie-rules):
2075 Add indentation rule for ` @ '. (Bug#17050)
2077 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2079 * align.el (align-regexp): Remove superfluous backslash.
2081 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2082 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2083 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2084 Fix docstring typos.
2085 (ffap-next): Use C-u in docstring.
2086 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2087 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2088 Remove superfluous backslashes.
2089 (ffap-string-at-point): Reflow docstring.
2091 * server.el (server-host): Reflow docstring.
2092 (server-unload-function): Fix docstring typo.
2093 (server-eval-at): Remove superfluous backslash.
2095 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2096 (skeleton-insert): Doc fix.
2097 (skeleton-insert): Reflow docstring.
2099 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2100 (tty-color-approximate, tty-color-by-index, tty-color-values)
2101 (tty-color-desc): Remove superfluous backslashes.
2103 2014-03-21 Glenn Morris <rgm@gnu.org>
2105 * cus-start.el (history-length): Bump :version.
2107 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2108 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2109 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2110 Don't set `make-backup-files'.
2112 * info.el (info--prettify-description): New function,
2113 to give info-finder descriptions consistent case, punctuation.
2114 (Info-finder-find-node): Use it. Sort packages.
2115 Refer to "description" rather than "commentary".
2117 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2119 * frameset.el (frameset--print-register): New function.
2120 (frameset-to-register): Use it.
2122 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2124 * progmodes/hideif.el (hif-string-to-number): New function.
2125 (hif-tokenize): Use it to understand non-decimal floats.
2127 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2129 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2131 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * electric.el (electric-newline-and-maybe-indent): New command.
2134 Bind it globally to C-j.
2135 (electric-indent-mode): Don't mess with the global map any more.
2136 Don't drop the post-self-insert-hook is some buffer is still using it
2139 * bindings.el (global-map): Remove C-j binding.
2141 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2142 the docstring of functions advised before dumping (bug#16993).
2144 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2146 * ps-print.el (ps-generate-postscript-with-faces):
2147 Explicitly deactivate the mark (bug#16866).
2148 * simple.el (deactivate-mark): Update region highlight.
2150 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2152 * emacs-lisp/package.el (describe-package-1):
2153 Decode commentary (bug#16733).
2155 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2157 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2158 modification of the value argument of :set (bug#16755).
2160 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * simple.el (newline-and-indent): Do autofill (bug#17031).
2164 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2166 * newcomment.el (comment-normalize-vars): Only add escaping check
2167 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2168 (comment-beginning): Use `narrow-to-region' instead of moving back
2170 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2171 (comment-start-skip): Update the docstring.
2173 2014-03-18 Richard Stallman <rms@gnu.org>
2175 * dired.el (dired-display-file): Force use of other window.
2177 2014-03-18 Daniel Colascione <dancol@dancol.org>
2179 * startup.el (tty-handle-args): Remove debug message from 2007.
2181 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2184 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2185 (advice--make-1, advice-add, advice-remove):
2186 Remove braindead :advice-pending hack.
2188 2014-03-17 Glenn Morris <rgm@gnu.org>
2190 * calendar/calendar.el (calendar-generate-month): Apply weekend
2191 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2193 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2195 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2196 (tramp-call-process): Trace also DESTINATION.
2198 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2199 Quote file names when they are local. Remove superfluous trace.
2201 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2203 * newcomment.el (comment-beginning): If `comment-start-skip'
2204 doesn't match, move back one char and try again. (Bug#16971)
2206 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2207 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2208 Set `comment-start-skip' to a simpler value that doesn't try to
2209 check if the semicolon is escaped (this is handled by
2210 `syntax-ppss' now). (Bug#16971)
2212 * progmodes/scheme.el (scheme-mode-variables): Same.
2214 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2216 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2217 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2218 current (Bug#16816, Bug#17007).
2219 (with-current-buffer-window): New macro doing the same as
2220 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2221 * help.el (help-print-return-message): Warn in doc-string to not
2222 use this in `with-help-window'.
2223 (describe-bindings-internal): Call `describe-buffer-bindings'
2224 from within help buffer. See Juanma's scenario in (Bug#16816).
2225 (with-help-window): Update doc-string.
2226 * dired.el (dired-mark-pop-up):
2227 * files.el (save-buffers-kill-emacs):
2228 * register.el (register-preview): Use `with-current-buffer-window'
2229 instead of `with-temp-buffer-window'.
2231 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2233 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2234 Implement inserting into current buffer, documented in their docstrings.
2235 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2236 (rst-section-tree-point, rst-forward-section, rst-indent)
2237 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2238 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2239 (rst-font-lock-handle-adornment-pre-match-form)
2240 (rst-repeat-last-character): Reflow docstrings.
2241 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2242 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2243 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2244 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2245 Fix docstring typos.
2246 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2247 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2248 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2250 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2252 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2253 for compatibility with other ports.
2254 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2255 from the -xrm command line argument, but in the Nextstep port its value
2256 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2258 * progmodes/python.el (defconst, python-syntax-count-quotes)
2259 (python-indent-region, python-indent-shift-right)
2260 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2261 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2262 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2263 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2264 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2265 (python-shell-buffer-substring, python-shell-send-buffer)
2266 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2267 (python-completion-complete-at-point, python-fill-docstring-style)
2268 (python-eldoc-function, python-imenu-format-item-label)
2269 (python-imenu-format-parent-item-label)
2270 (python-imenu-format-parent-item-jump-label)
2271 (python-imenu--build-tree, python-imenu-create-index)
2272 (python-imenu-create-flat-index): Fix docstring typos.
2273 (python-indent-context, python-shell-prompt-regexp, run-python):
2274 Remove superfluous backslashes.
2275 (python-indent-line, python-nav-beginning-of-defun)
2276 (python-shell-get-buffer, python-shell-get-process)
2277 (python-info-current-defun, python-info-current-line-comment-p)
2278 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2279 (python-indent-post-self-insert-function, python-shell-send-file)
2280 (python-shell-completion-get-completions)
2281 (python-shell-completion-complete-or-indent)
2282 (python-eldoc--get-doc-at-point): Reflow docstrings.
2284 2014-03-14 Glenn Morris <rgm@gnu.org>
2286 * emacs-lisp/package.el (package-menu-mode-map):
2287 Replace use of obsolete function alias. Tweak menu item text.
2289 * info.el (Info-finder-find-node):
2290 Ignore the `emacs' metapackage. (Bug#10813)
2292 * finder.el (finder-list-matches): Include unversioned packages
2293 in the result of a keyword search.
2295 * finder.el (finder--builtins-descriptions): New constant.
2296 (finder-compile-keywords): Use finder--builtins-descriptions.
2298 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2300 * simple.el (blink-matching-paren): Describe the new value,
2301 `jump', enabling the old behavior.
2302 (blink-matching-open): Use that value. (Bug#17008)
2304 2014-03-14 Glenn Morris <rgm@gnu.org>
2306 * finder.el (finder-no-scan-regexp): Add leim-list.
2307 (finder-compile-keywords):
2308 Don't skip files with same basename. (Bug#14010)
2309 * Makefile.in (setwins_finder): New, excluding leim.
2310 (finder-data): Use setwins_finder.
2312 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2313 (help-function-arglist, help-make-usage): Move from here...
2314 * help.el (help-split-fundoc, help-add-fundoc-usage)
2315 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2316 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2318 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2320 * net/socks.el (socks, socks-override-functions)
2321 (socks-find-services-entry):
2322 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2323 (hif-find-ifdef-block):
2324 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2326 * net/tls.el (tls-program): Reflow docstring.
2328 * progmodes/pascal.el (pascal-mode-abbrev-table)
2329 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2330 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2331 (pascal-outline-mode): Fix docstring typos.
2332 (pascal-mode): Let define-derived-mode document mode hook.
2333 (pascal-uncomment-area): Reflow.
2334 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2336 * progmodes/opascal.el (opascal-compound-block-indent)
2337 (opascal-case-label-indent): Fix docstring typos.
2338 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2340 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2342 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2343 Fontify multiple adjacent negation chars. (Bug#17004)
2345 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2347 * emacs-lisp/package.el (package--prepare-dependencies):
2348 Accept requirements without explicit version (bug#14941).
2350 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2352 * register.el (register-separator, copy-to-register): Doc fixes.
2353 (register-preview-default): Remove unnecessary call to concat.
2355 * frameset.el (frameset-restore): When checking for a visible frame,
2356 use the action map instead of calling visible-frame-list.
2358 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2360 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2362 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2364 * window.el (fit-frame-to-buffer): Get maximum width from
2365 display's width instead of height.
2367 2014-03-12 Glenn Morris <rgm@gnu.org>
2369 * desktop.el (desktop-restore-frames)
2370 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2371 (desktop-restore-reuses-frames): Doc tweaks.
2373 * electric.el (electric-indent-mode): Doc fix.
2375 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2377 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2378 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2379 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2380 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2381 (cvs-dired-use-hook): Fix docstring typos.
2382 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2385 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2386 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2387 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2388 (cvs-execute-single-dir): Fix docstring typos.
2390 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2391 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2393 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2395 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2396 Fix docstring typos.
2398 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2400 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2401 called from jump-to-register after unloading the frameset package.
2403 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2405 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2406 (bug#16975). Deactivate the mark before setting it to nil.
2407 (activate-mark): Do nothing if region is already active.
2409 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2411 * frameset.el (frameset--target-display): Remove definition; declare.
2412 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2414 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2416 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2417 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2418 when the advice is pending.
2419 (advice-remove): Remove this marker when not needed any more.
2421 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2423 * frameset.el: Separate options for reusing frames and cleaning up.
2424 (frameset--reuse-list): Remove definition; declare.
2425 (frameset--action-map): Declare.
2426 (frameset--find-frame-if): Doc fix.
2427 (frameset--restore-frame): Cache frame action.
2428 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2429 how to clean up the frame list after restoring. Remove cleaning
2430 options from REUSE-FRAMES. Change all keyword values to symbols.
2431 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2433 * desktop.el (desktop-restore-forces-onscreen)
2434 (desktop-restore-reuses-frames): Use non-keyword values.
2435 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2437 2014-03-10 Glenn Morris <rgm@gnu.org>
2439 * files.el (find-file): Doc fix: update info node name.
2441 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2442 Doc fix: remove references to deleted info nodes.
2444 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2446 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2447 Do not add `nil' to the environment, when there's no remote `locale'.
2448 (tramp-find-inline-encoding): Check, that the remote host has
2449 installed perl, before sending scripts.
2451 2014-03-10 Leo Liu <sdl.web@gmail.com>
2453 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2454 Clear eldoc-last-message. (Bug#16920)
2456 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2461 2014-03-09 Juri Linkov <juri@jurta.org>
2463 * ansi-color.el (ansi-color-names-vector): Copy default colors
2464 from `xterm-standard-colors' that look well on the default white
2465 background (and also on the black background) to avoid illegible
2466 color combinations like yellow-on-white and white-on-white.
2467 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2469 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2471 * frameset.el (frameset-restore): When no frame is visible, do not
2472 generate a list of frames, just make visible the selected one.
2474 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2476 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2477 it only contains the repository root. (Bug#16897)
2479 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2481 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2482 only when `remote-file-name-inhibit-cache' is nil.
2483 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2485 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2487 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2489 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2490 fit-frame-to-buffer variable. Fix doc-string.
2491 (fit-window-to-buffer): Set ONLY argument in call of
2492 fit-frame-to-buffer. Fix doc-string.
2494 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2496 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2497 (tramp-action-password): Clear password cache if needed.
2498 (tramp-read-passwd): Do not clear password cache.
2500 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2501 cache unless it is the first password request.
2503 2014-03-06 Glenn Morris <rgm@gnu.org>
2505 * simple.el (newline): Doc tweak.
2507 * emacs-lisp/shadow.el (load-path-shadows-find):
2508 Ignore dir-locals. (Bug#12357)
2510 2014-03-05 Glenn Morris <rgm@gnu.org>
2512 * files.el (interpreter-mode-alist):
2513 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2515 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2517 * frameset.el (frameset--initial-params): Filter out null entries.
2519 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2521 * window.el (window-min-height, window-min-width):
2522 Rewrite doc-strings.
2523 (window-body-size): Add PIXELWISE argument to make it consistent
2526 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2528 * finder.el (finder-mode-map, finder-mode-syntax-table):
2529 Revert part of 2014-02-28 change.
2531 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2533 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2534 (eww-setup-buffer): Clear next/prev/etc more reliably.
2535 (eww-textarea-map): [tab] doesn't work on tty.
2536 Reported by Mario Lang.
2538 * net/shr.el (shr-map): Ditto.
2540 2014-03-04 Glenn Morris <rgm@gnu.org>
2542 * minibuffer.el (completion-hilit-commonality):
2543 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2545 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2547 * hilit-chg.el (hilit-chg-unload-function): New function.
2548 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2549 (hilit-chg-map-changes): Prefer cardinal number to digit.
2550 (hilit-chg-display-changes): Reflow docstring.
2551 (highlight-changes-rotate-faces): Remove superfluous backslash.
2553 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2555 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2556 `tramp-send-command-and-check'.
2558 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2560 * hexl.el (hexl-address-region, hexl-ascii-region)
2561 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2562 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2563 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2564 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2565 (hexl-mode): Doc fix.
2566 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2567 (hexl-mode-ruler): Fix typos in docstrings.
2569 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2570 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2571 Remove superfluous backslashes.
2572 (strokes-last-stroke, strokes-global-map, strokes-mode):
2574 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2575 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2576 (strokes-distance-squared, strokes-global-set-stroke)
2577 (strokes-global-set-stroke-string): Doc fixes.
2578 (strokes-help): Fix typos; reflow docstring.
2580 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2582 * window.el (window-in-direction): Fix doc-string.
2584 2014-03-04 Glenn Morris <rgm@gnu.org>
2586 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2587 Explicit error if no grammar.
2588 (smie-config-save): Doc fix. Fix quote typo.
2590 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2593 electric-indent-mode-hook if we obey electric-indent-mode.
2594 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2595 decide whether we obey electric-indent-mode.
2596 (c-change-set-fl-decl-start, c-extend-after-change-region):
2598 (c-electric-indent-mode-hook): Assume we do want to obey
2599 electric-indent-mode.
2601 * electric.el (electric-indent-mode-has-been-called): Remove.
2602 (electric-indent-mode): Fix accordingly.
2604 * files.el (hack-local-variables): Mention file name in warning.
2606 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2608 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2610 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2611 * simple.el (delete-forward-char): Mark as interactive-only.
2613 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2615 * icomplete.el (icomplete-completions):
2616 Follow-up to 2014-03-01 change.
2618 * icomplete.el: Miscellaneous doc fixes.
2619 Use Icomplete everywhere instead of icomplete for consistency.
2620 (icomplete-max-delay-chars): Fix typo.
2621 (icomplete-mode): Use \[].
2622 (icomplete-tidy, icomplete-exhibit): Reflow.
2623 (icomplete-minibuffer-setup-hook, icomplete-completions):
2624 Remove superfluous backlashes.
2626 * ido.el: Miscellaneous doc fixes.
2627 Use Ido everywhere instead of ido or `ido' for consistency.
2628 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2629 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2630 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2631 (ido-separator): Extract obsolescence info from docstring and declare
2632 with make-obsolete-variable.
2633 (ido-minibuffer-setup-hook): Simplify example.
2634 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2635 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2636 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2637 (ido-everywhere): Reflow docstring.
2638 (ido-toggle-vc): Doc fix.
2639 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2640 of long list of keybindings.
2642 2014-03-03 Glenn Morris <rgm@gnu.org>
2644 * frame.el (display-pixel-height, display-pixel-width)
2645 (display-mm-dimensions-alist, display-mm-height)
2646 (display-mm-width): Doc tweaks.
2648 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2650 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2651 case of undo in region.
2653 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2655 * window.el (fit-window-to-buffer): Fix argument in window-size
2656 call when window is horizontally combined.
2658 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2660 * icomplete.el (icomplete-completions): Use string-width.
2661 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2663 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2665 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2666 Highlight regexp options. (Bug#16914)
2668 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2670 * window.el (window--max-delta-1): Round down when calculating
2671 how many lines/columns we can get from a window.
2673 2014-03-01 Glenn Morris <rgm@gnu.org>
2675 * isearch.el (search-invisible): Doc fix.
2677 * minibuffer.el (completion-hilit-commonality):
2678 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2679 * comint.el (comint-dynamic-list-completions): Doc fix.
2680 * comint.el (comint-dynamic-list-completions):
2681 * filecache.el (file-cache-minibuffer-complete):
2682 * tempo.el (tempo-display-completions):
2683 * eshell/em-hist.el (eshell-list-history):
2684 Replace use of obsolete argument of display-completion-list.
2686 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2688 * icomplete.el (icomplete-completions):
2689 Revert back to using "..." when ?… cannot be displayed.
2691 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2693 * finder.el (finder-unload-function): New function.
2695 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2697 * dframe.el (dframe-detach):
2698 * find-dired.el (find-dired, find-name-dired):
2699 * finder.el (finder-mode-map, finder-mode-syntax-table)
2700 (finder-headmark, finder-select, finder-mouse-select):
2701 Fix docstring typos.
2703 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2705 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2706 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2707 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2708 Fix doc-string based on a suggestion by Nicolas Richard
2709 <theonewiththeevillook@yahoo.fr>.
2710 * help.el (with-help-window): Fix doc-string.
2712 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2714 * net/shr.el (shr-image-animate): New option.
2715 (shr-put-image): Respect shr-image-animate.
2717 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2719 * net/tramp-adb.el (tramp-adb-parse-device-names):
2720 Use `accept-process-output'.
2721 (tramp-adb-handle-file-truename): Cache the localname only.
2722 (tramp-adb-handle-make-directory)
2723 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2724 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2725 modes cannot be changed.
2727 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2728 file properties of symlinks.
2730 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2732 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2733 required/optional fields to match development biblatex. (Bug#16781)
2735 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2737 * saveplace.el (toggle-save-place):
2738 Fix argument handling. (Bug#16673)
2740 2014-02-28 Glenn Morris <rgm@gnu.org>
2742 * minibuffer.el (completions-first-difference)
2743 (completions-common-part, completion-hilit-commonality): Doc fixes.
2745 2014-02-28 Karl Berry <karl@gnu.org>
2747 * info.el (Info-mode-map): Add H for describe-mode,
2748 to synchronize with standalone Info.
2750 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2752 * progmodes/sql.el (sql-interactive-mode):
2753 Avoid setting global comint-input-ring-separator. (Bug#16814)
2755 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2757 * net/dbus.el (dbus--init-bus): Declare function.
2758 (dbus-path-local, dbus-interface-local): New defconst.
2759 (dbus-init-bus): Use them.
2760 (dbus-return-values-table): Extend doc.
2761 (dbus-handle-bus-disconnect): Extend error message.
2763 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2765 * subr.el (y-or-n-p): Fix double space issue in message.
2767 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2769 * net/tramp.el (tramp-call-process): Improve trace message.
2770 (tramp-handle-insert-file-contents): Trace error case.
2772 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2773 <insert-directory>: Use `tramp-handle-insert-directory'.
2774 (tramp-adb-handle-insert-directory): Remove function.
2775 (tramp-adb-send-command-and-check): New defun, replacing
2776 `tramp-adb-command-exit-status'. Change all callees.
2777 (tramp-adb-handle-file-attributes)
2778 (tramp-adb-handle-directory-files-and-attributes): Use it.
2779 (tramp-adb-ls-output-name-less-p):
2780 Use `directory-listing-before-filename-regexp'.
2781 (tramp-adb-handle-delete-directory): Flush also file properties of
2782 the truename of directory.
2783 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2784 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2785 (tramp-adb-handle-write-region): Implement APPEND.
2786 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2787 properties correctly.
2788 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2789 variables. Check for connected devices only when needed.
2791 2014-02-27 Glenn Morris <rgm@gnu.org>
2793 * minibuffer.el (completion-table-dynamic)
2794 (completion-table-with-cache): Doc fixes.
2796 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2797 (completing-read-multiple): Doc fixes.
2799 2014-02-27 Daniel Colascione <dancol@dancol.org>
2801 * minibuffer.el (completion--nth-completion): Fix indentation.
2803 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2804 explicit tramp path is empty.
2806 2014-02-27 Glenn Morris <rgm@gnu.org>
2808 * emacs-lisp/crm.el (completing-read-multiple):
2809 Empower help-enable-auto-load.
2811 2014-02-26 Glenn Morris <rgm@gnu.org>
2813 * startup.el (command-line): Don't init the tty in daemon mode.
2815 Avoid calling tty-setup-hook twice, eg if a term file
2816 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2817 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2818 (tty-create-frame-with-faces): Use it.
2819 * startup.el (command-line): Pass run-hook argument
2820 to tty-run-terminal-initialization.
2822 * dired.el (dired-restore-desktop-buffer): Demote errors;
2823 eg in case a glob match fails. (Bug#16884)
2825 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2827 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2828 error from `read-from-string'. (Bug#16850)
2830 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2831 result of `completing-read' in the interactive form. (Bug#16854)
2833 2014-02-25 Glenn Morris <rgm@gnu.org>
2835 * image.el (image-animate, image-animate-timeout):
2836 Stop animating images in dead buffers. (Bug#16878)
2838 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2840 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2842 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2843 * term/sun.el (sun-raw-prefix-hooks):
2844 Use tty-setup-hook instead of term-setup-hook.
2845 (terminal-init-sun): Construct message from bytecomp plist.
2846 * term/wyse50.el (enable-arrow-keys): Doc fix.
2848 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2850 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2851 Fix docstring typos.
2853 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2855 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2857 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2859 * minibuffer.el (completion--try-word-completion):
2860 Fix error when completing M-x commands (bug#16808).
2862 2014-02-24 Leo Liu <sdl.web@gmail.com>
2864 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2866 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2868 * apropos.el (apropos-print): Avoid formatting error when
2869 apropos-do-all and apropos-compact-layout are both t.
2871 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2873 * apropos.el (apropos-property, apropos-all-words-regexp)
2874 (apropos-true-hit, apropos-variable, apropos-print):
2875 Fix docstring typos, and remove obsolete comment.
2877 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2879 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2880 Preserve trailing "/". (Bug#16851)
2882 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2884 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2885 after `=>' (bug#16811).
2886 (ruby-smie-rules): Handle the inconsistent second element of the
2887 list returned by `smie-indent--parent'.
2888 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2891 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2893 * elec-pair.el (electric-pair-text-syntax-table)
2894 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2895 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2896 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2897 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2899 2014-02-22 Glenn Morris <rgm@gnu.org>
2901 * imenu.el (imenu--generic-function): Doc fix.
2903 * register.el (frame-configuration-to-register): Make obsolete.
2905 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2907 * desktop.el (desktop-save-buffer-p): Do not fail when
2908 desktop-files-not-to-save is nil. Return t for true result
2911 2014-02-22 Daniel Colascione <dancol@dancol.org>
2913 * net/secrets.el (secrets-create-item, secrets-search-items):
2914 Check that attribute values are strings, avoiding the construction
2915 of invalid dbus messages.
2917 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2919 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2920 defun-declarations-alist.
2922 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2924 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2927 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2929 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2930 (whitespace-newline, whitespace-trailing, whitespace-line)
2931 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2932 (whitespace-space-after-tab): Fix typo in docstrings.
2934 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2936 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2938 * electric.el (electric-indent-functions-without-reindent):
2939 Add `yaml-indent-line'.
2941 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2943 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2944 It has done nothing for years; should be removed after the release.
2946 * simple.el (choose-completion): Fix docstring typo.
2947 (read-quoted-char-radix): Remove unneeded * in docstring.
2948 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2949 Don't escape parentheses unnecessarily in docstrings.
2951 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2953 Fix handling of window-min-height/-width (Bug#16738).
2954 * window.el (window--dump-window, window--dump-frame):
2956 (window--min-size-1): Account for window dividers.
2957 When window-resize-pixelwise is nil, delay rounding till after the
2958 sum of the window components has been calculated.
2959 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2960 nil make sure at least one text line and two text columns remain
2962 (window-resize): Signal an error when window-resize-apply fails.
2963 (window--resize-child-windows): Fix calculation of by how many
2964 pixels a window can still be shrunk via window-new-normal.
2965 (adjust-window-trailing-edge): Call window--resizable with
2966 correct TRAIL argument.
2968 (with-temp-buffer-window): Don't evaluate BODY within
2969 with-current-buffer (Bug#16816).
2971 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2973 * net/tramp.el (tramp-check-cached-permissions):
2974 Call `file-attributes' with `suffix' being a symbol but a string.
2976 2014-02-21 Daniel Colascione <dancol@dancol.org>
2978 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2979 (dbus-init-bus): New function: call into dbus-init-bus-1
2980 and installs a handler for the disconnect signal.
2981 (dbus-call-method): Rewrite to look for result in cons.
2982 (dbus-call-method-handler): Store result in cons.
2983 (dbus-check-event): Recognize events with nil sender as valid.
2984 (dbus-handle-bus-disconnect): New function. React to bus
2985 disconnection signal by synthesizing dbus error for each
2986 pending synchronous or asynchronous call.
2987 (dbus-notice-synchronous-call-errors): New function.
2988 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2989 is true, not all the time.
2991 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2993 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2994 Remove obsolescence declarations, these variables do not exist anymore.
2996 * savehist.el (savehist-save-minibuffer-history)
2997 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2998 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2999 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3000 mostly, refer to "Savehist mode" when talking about the mode,
3001 and not the function.
3003 * saveplace.el (save-place): Remove redundant info in docstring.
3004 (save-place-forget-unreadable-files, toggle-save-place)
3005 (save-place-forget-unreadable-files, save-place-dired-hook):
3006 Fix typos and remove unneeded backslashes.
3008 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3010 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3011 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3014 <insert-directory>: Use `tramp-handle-insert-directory'.
3015 (tramp-gvfs-handle-insert-directory): Remove function.
3017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3018 Call `tramp-handle-insert-directory'.
3020 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3022 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3023 before the start of buffer/region (bug#16799).
3025 2014-02-20 Glenn Morris <rgm@gnu.org>
3027 * isearch.el (search-invisible): Doc fix.
3029 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3031 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3034 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3036 * frameset.el (frameset-restore): Delay removing an old frame's
3037 duplicate id until the new frame has been correctly created.
3039 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3041 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3042 (tramp-check-cached-permissions): Call `file-attributes' if the
3045 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3046 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3048 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3049 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3050 (tramp-gvfs-maybe-open-connection): Set always connection
3051 properties, even if target is mounted already.
3053 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3054 Set tramp-autoload cookie.
3055 (tramp-get-remote-touch): New defun.
3056 (tramp-sh-handle-set-file-times): Use it.
3057 (tramp-sh-handle-directory-files-and-attributes):
3058 Use `tramp-handle-directory-files-and-attributes' if neither stat
3059 nor perl are available on the remote host.
3061 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3062 "/". Write long listing only when "l" belongs to the switches.
3064 * net/trampver.el: Update release number.
3066 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3068 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3070 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3072 * window.el (window-state-put): Allow WINDOW to refer to an
3073 internal window (Bug#16793).
3075 2014-02-19 Glenn Morris <rgm@gnu.org>
3077 * textmodes/remember.el: Move provide statement to end.
3078 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3079 (remember-notes): Doc fixes.
3081 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3083 * delsel.el (delete-char): Restore incorrectly erased property
3086 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3088 * frameset.el (frameset--restore-frame): When a frame is being reused
3089 and its root window is not alive, delete all the frame's windows before
3090 restoring the window state. This works around the issue in bug#16793.
3092 2014-02-18 Glenn Morris <rgm@gnu.org>
3094 * textmodes/remember.el (remember-data-directory)
3095 (remember-directory-file-name-format, remember-store-in-files)
3096 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3097 (remember-notes-save-and-bury-buffer)
3098 (remember-notes--kill-buffer-query): Doc fixes.
3100 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3102 2014-02-17 Alan Mackenzie <acm@muc.de>
3104 Connect electric-indent-mode up with CC Mode. Bug #15478.
3105 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3106 to electric-indent-{,local-}-mode.
3107 (c-basic-common-init): Set electric-indent-inhibit.
3108 Initialise c-electric-flag from electric-indent-mode.
3109 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3110 New hook functions which propagate electric-indent-mode to CC mode.
3112 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3113 hit, toggle electric-indent-local-mode.
3115 * electric.el (electric-indent-mode-has-been-called):
3118 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3120 * frameset.el (frameset-cfg-id): New function.
3121 (frameset--reuse-frame, frameset-restore): Use it.
3122 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3124 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * ido.el (ido-file-internal): Remove unused var `d'.
3127 Use \` for to match BoS. Fit within 80n columns.
3129 2014-02-17 Daniel Colascione <dancol@dancol.org>
3131 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3132 dbus-call-method check for completion using a busy-wait loop with
3135 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3137 Sync with Tramp 2.2.9.
3139 * net/trampver.el: Update release number.
3141 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3143 * ido.el (ido-file-internal): Don't add the name of an existing
3144 directory twice. (Bug#16747)
3146 2014-02-16 Glenn Morris <rgm@gnu.org>
3148 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3149 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3151 2014-02-15 Michael R. Mauger <michael@mauger.com>
3153 * progmodes/sql.el: Version 3.4
3154 (sql-oracle-options): New default value ("-L").
3155 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3156 (sql-placeholders-filter): Correct placeholder pattern.
3157 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3158 (sql-login-delay): New variable.
3159 (sql-product-interactive): Use it.
3161 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3163 * frameset.el (frameset--jump-to-register): Check that buffer is live
3166 2014-02-15 Glenn Morris <rgm@gnu.org>
3168 * info.el (info-initialize): Revert 2014-01-10 change.
3170 2014-02-14 Glenn Morris <rgm@gnu.org>
3172 * replace.el (map-query-replace-regexp)
3173 (read-regexp-defaults-function, read-regexp): Doc fixes.
3175 * dired.el (dired-read-regexp):
3176 * faces.el (list-faces-display):
3177 * misearch.el (multi-isearch-read-matching-buffers)
3178 (multi-isearch-read-matching-files):
3179 * play/cookie1.el (cookie-apropos):
3180 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3182 * textmodes/remember.el (remember): Use frameset-to-register
3183 rather than frame-configuration-to-register.
3185 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3187 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3188 incorrect keybinding.
3190 2014-02-13 Daniel Colascione <dancol@dancol.org>
3192 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3193 when adding overlays so that line numbers from compiler match line
3196 2014-02-13 Glenn Morris <rgm@gnu.org>
3198 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3200 * jit-lock.el (jit-lock-mode): Doc fix.
3202 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3204 * apropos.el (apropos-read-pattern): When the user passes an empty
3205 string, give a more helpful error message than "Wrong type
3206 argument: stringp, nil".
3208 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3212 2014-02-13 Glenn Morris <rgm@gnu.org>
3214 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3216 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3219 shift-select commands.
3221 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3223 * progmodes/js.el (js-indent-line): Don't widen.
3224 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3226 2014-02-12 Glenn Morris <rgm@gnu.org>
3228 * icomplete.el (icomplete): Add info-link to defgroup.
3229 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3230 (icomplete-minibuffer-map, icomplete-mode)
3231 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3233 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3234 (package-menu-filter): Rename from package-menu-filter-interactive.
3237 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3239 * frameset.el (frameset--jump-to-register): Select the required
3240 window and buffer before restoring position (bug#16696).
3242 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3244 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3246 2014-02-10 Glenn Morris <rgm@gnu.org>
3248 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3250 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3252 * w32-common-fns.el (x-get-selection): Doc fix.
3253 * select.el (x-get-selection): Doc fix. (Bug#15109)
3255 * face-remap.el (face-remap-add-relative)
3256 (face-remap-remove-relative, face-remap-reset-base)
3257 (face-remap-set-base): Call force-mode-line-update to redisplay
3258 the current buffer due to potential change in faces. (Bug#16709)
3260 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3262 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3263 script more robustly.
3265 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3267 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3269 * simple.el (choose-completion): Doc fix (bug#14160).
3271 * subr.el (event-start): Say what a nil EVENT value means.
3273 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3276 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3278 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3280 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3282 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3283 predicate function (bug#15455).
3285 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3287 * ielm.el (inferior-emacs-lisp-mode): Instead of
3288 `comment-use-global-state', set `comment-use-syntax'.
3290 2014-02-10 Glenn Morris <rgm@gnu.org>
3292 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3294 2014-02-09 Alan Mackenzie <acm@muc.de>
3296 Fix c-invalidate-state-cache on narrowed buffers.
3297 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3298 Widen when setting and clearing the CPP delimiter properties.
3300 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3302 * help.el (describe-bindings): Doc fix (bug#9888).
3304 * files.el (save-buffer): Use ARG as the parameter name for
3305 consistency (bug#10346).
3306 (save-buffer): Clarify the 0 argument (bug#10346).
3308 * cus-edit.el (customize-apropos): Fix error string.
3309 (custom-buffer-create): Doc fix (bug#11122).
3310 (custom-sort-items): Doc fix (bug#11121).
3312 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3314 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3315 (icomplete-simple-completing-p): Mention the previous variable.
3317 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3318 meaning of the parameter (bug#12282).
3320 * files.el (find-file-noselect): Clarify prompt when changing
3321 readedness (bug#13261).
3322 (locate-file): Suffixes aren't returned, so don't say that they
3324 (backup-inhibited): Doc clarification (bug#12525).
3326 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3327 before we actually start to delete things (bug#16331).
3329 * subr.el (event-start): Doc fix (bug#14228).
3332 2014-02-09 Glenn Morris <rgm@gnu.org>
3334 * emacs-lisp/warnings.el (lwarn):
3335 Empower help-enable-auto-load. (Bug#15940)
3337 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3339 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3342 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3344 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3345 Insert output at end of buffer. (Bug#16120)
3347 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3349 * simple.el (choose-completion-string-functions): Document new
3350 calling convention (bug#14153).
3351 (execute-extended-command): Clarify doc string (bug#13373).
3353 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3355 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3356 (find-grep-dired): Doc fix (bug#14288).
3358 2014-02-08 Juri Linkov <juri@jurta.org>
3360 * isearch.el (isearch-quote-char): Check character validity
3361 like in `quoted-insert' (bug#16677).
3363 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3365 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3367 * isearch.el (isearch-hide-immediately): Doc clarification
3370 * simple.el (line-move): Document utility function used many
3371 places in the Emacs sources (bug#14843).
3373 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3374 (dired-prev-marked-file): Doc fix (bug#14855).
3375 (dired-up-directory): Doc fix (bug#14848).
3377 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3379 * files.el (file-relative-name): Doc fix (bug#15159).
3381 * fringe.el (fringe-styles): Doc fix (bug#15239).
3383 * isearch.el (isearch-filter-predicate): Documentation typo fix
3386 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3388 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3390 * replace.el (replace-match-maybe-edit): Doc clarification
3393 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3395 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3397 2014-02-08 Glenn Morris <rgm@gnu.org>
3399 * help-fns.el (describe-variable):
3400 Check {file,dir}-local-variables-alist, and buffer-file-name,
3401 in the correct buffer.
3403 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3405 * help-fns.el (describe-variable): Fix the case where
3406 a value is directory-local with no dir-locals file. (Bug#16635)
3408 2014-02-08 Glenn Morris <rgm@gnu.org>
3410 * abbrev.el (edit-abbrevs-mode):
3411 Derive from fundamental-mode. (Bug#16682)
3413 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3415 * simple.el (quoted-insert): Check character validity (bug#16677).
3417 2014-02-07 Juri Linkov <juri@jurta.org>
3419 * desktop.el (desktop-read): Claim the lock when the owner is not
3420 the current process. (Bug#16157)
3422 2014-02-07 Juri Linkov <juri@jurta.org>
3424 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3425 to "\\` ". (Bug#16651)
3427 2014-02-07 Juri Linkov <juri@jurta.org>
3429 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3430 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3431 (desktop-auto-save-cancel-timer): New function with some code from
3432 `desktop-auto-save-set-timer'.
3433 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3434 Instead of setting `desktop-save-mode' to nil, call
3435 `desktop-save-mode' with arg 0. (Bug#16630)
3437 2014-02-07 Glenn Morris <rgm@gnu.org>
3439 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3440 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3441 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3443 * obsolete/iswitchb.el: Move to obsolete/.
3444 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3445 since obsolete/ is not scanned for autoloads.
3446 * emacs-lisp/authors.el (authors-valid-file-names):
3449 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3450 Disable now non-functional find-file-hook.
3452 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3454 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3455 instead of ";" in order to avoid additional prompts. Let heredoc
3456 scripts read from tty. (Bug#16582)
3457 (tramp-send-command): No special handling of heredocs, it isn't
3460 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3462 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3463 with a space (bug#16664). Limit the symbols considered to the ones
3464 that are bound or fbound (bug#16646).
3466 2014-02-06 Glenn Morris <rgm@gnu.org>
3468 * epa.el (epa-mail-aliases): Doc fix.
3470 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3472 * emacs-lisp/lisp.el (lisp-completion-at-point):
3473 Use `completion-table-merge' instead of `completion-table-in-turn'
3476 * minibuffer.el (completion-table-merge): New function.
3478 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3480 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3481 (tramp-sh-handle-set-file-acl)
3482 (tramp-sh-handle-start-file-process)
3483 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3484 (tramp-find-executable, tramp-send-command): Use it.
3486 2014-02-05 Glenn Morris <rgm@gnu.org>
3488 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3490 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3492 * progmodes/python.el (python-shell-send-string)
3493 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3495 2014-02-04 Anders Lindgren <andlind@gmail.com>
3497 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3498 the names (bug#16620).
3500 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3502 * faces.el (window-divider): New default value. Rewrite doc-string.
3503 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3505 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3508 `protected' and `public' can also be called without arguments.
3510 2014-02-03 Glenn Morris <rgm@gnu.org>
3512 * register.el (window-configuration-to-register)
3513 (frame-configuration-to-register): Unadvertise unused argument.
3514 * frameset.el (frameset-to-register): Remove unused argument.
3516 * frameset.el (frameset-to-register):
3517 * kmacro.el (kmacro-to-register):
3518 * register.el (increment-register):
3519 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3520 (calc-append-to-register, calc-prepend-to-register):
3521 * play/gametree.el (gametree-layout-to-register)
3522 (gametree-apply-register-layout):
3523 * textmodes/picture.el (picture-clear-rectangle-to-register)
3524 (picture-yank-rectangle-from-register):
3525 * vc/emerge.el (emerge-combine-versions-register):
3526 Use register-read-with-preview to read registers.
3528 2014-02-03 João Távora <joaotavora@gmail.com>
3530 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3531 when at beginning of (possibly narrowed) buffer.
3533 2014-02-02 Daniel Colascione <dancol@dancol.org>
3535 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3536 Also try to display local help from just before point.
3538 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3540 c-parse-state. Don't "append-lower-brace-pair" in certain
3541 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3542 recognised as a comment.
3544 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3545 as well as normal comment starter.
3546 (c-parse-state-get-strategy): Extra return possibility
3548 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3549 return value list to indicate replacement of a brace-pair cons
3551 (c-parse-state-1): With 'back-and-forward, only call
3552 c-append-lower-brace-pair-to state-cache when cons-separated.
3554 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3556 * term/ns-win.el (ns-suspend-error): New function.
3557 (ns-initialize-window-system): Add ns-suspend-error to
3558 suspend-hook (Bug#16612).
3560 2014-02-02 Daniel Colascione <dancol@dancol.org>
3562 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3563 Make loading cc-mode silent.
3565 2014-02-02 Daniel Colascione <dancol@dancol.org>
3567 * comint.el (comint-prompt-read-only): Change doc to suggest
3570 2014-02-02 Glenn Morris <rgm@gnu.org>
3572 * register.el (register-read-with-preview, point-to-register)
3573 (window-configuration-to-register, frame-configuration-to-register)
3574 (jump-to-register, number-to-register, view-register, insert-register)
3575 (copy-to-register, append-to-register, prepend-to-register)
3576 (copy-rectangle-to-register): Doc fixes.
3578 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3581 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3582 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3583 * help-fns.el (describe-function-1): Use it.
3585 2014-02-02 Glenn Morris <rgm@gnu.org>
3587 * register.el (register-preview-default): New function,
3588 split from register-preview.
3589 (register-preview-function): Rename from register-preview-functions,
3591 (register-preview): Use register-preview-function.
3592 (register-read-with-preview): Error on non-character event. (Bug#16595)
3594 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3596 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3597 `:' before binary operators (bug#16609). Don't check for `:'
3598 before `[' and `(', or their syntax status. A percent literal
3599 can't end with either.
3600 (ruby-font-lock-keywords): For built-ins that require arguments,
3601 check that they're followed by something that looks like argument
3604 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3606 * subr.el (butlast): Document what an omitted N means (bug#13437).
3609 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3611 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3612 depth shallower (bug#16587).
3613 (shr-tag-svg): Respect `shr-inhibit-images'.
3614 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3616 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3618 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3619 (ruby-smie-grammar): Make "." right-associative. Make its priority
3620 lower than the ternary and all binary operators.
3621 (ruby-smie-rules): Indent "(" relative to the first non-"."
3622 parent, or the first "." parent at indentation.
3623 Use `ruby-align-chained-calls' for indentation of "." tokens.
3626 2014-01-31 Juri Linkov <juri@jurta.org>
3628 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3629 from `make-hash-table'.
3631 * textmodes/ispell.el (ispell-init-process): Change message format
3632 to be consistent with other messages.
3634 2014-01-31 Glenn Morris <rgm@gnu.org>
3636 * delsel.el (delete-selection-mode): Doc fix.
3638 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3639 (trace-function-background): Doc fixes.
3641 * ido.el (ido-use-virtual-buffers): Doc fix.
3642 Reset :version, since the default value has not changed.
3644 * register.el (register-preview-delay, register-read-with-preview):
3647 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3648 do not mess with mail-buffer position (fixes 2009-11-03 change).
3649 * progmodes/cc-mode.el (c-submit-bug-report):
3650 Check auto-fill-mode is bound. (Bug#16592)
3652 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3654 * startup.el (fancy-splash-image-file): New function,
3655 split from fancy-splash-head.
3656 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3657 so that we are both using the same image. (Bug#16574)
3659 2014-01-30 Glenn Morris <rgm@gnu.org>
3661 * simple.el (eval-expression): Doc fix.
3663 * hexl.el (hexl-mode-hook):
3664 * ielm.el (ielm-mode-hook):
3665 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3666 (lisp-interaction-mode-hook):
3667 * progmodes/cfengine.el (cfengine3-documentation-function):
3668 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3670 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3672 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3673 is a symbol (bug#16584).
3675 2014-01-30 Glenn Morris <rgm@gnu.org>
3677 * help.el (help-for-help-internal): Add "P" to text.
3679 2014-01-29 Glenn Morris <rgm@gnu.org>
3681 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3683 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3685 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3688 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3690 * progmodes/hideif.el: Extend to full CPP expression syntax.
3691 (hif-token-alist): Add missing tokens.
3692 (hif-token-regexp): Add support for float/octal/hex immediates.
3693 (hif-string-literal-regexp): New const.
3694 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3695 (hif-exprlist): New function.
3696 (hif-parse-if-exp): Use it.
3697 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3698 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3699 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3700 (hif-logxor, hif-comma): New functions.
3702 2014-01-28 Glenn Morris <rgm@gnu.org>
3704 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3706 * indent.el (tab-stop-list): Doc fix. Add :version.
3708 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3709 (cvs-append-to-ignore): Add compatibility alias.
3711 2014-01-27 Glenn Morris <rgm@gnu.org>
3713 * dired.el (dired-hide-details-mode): Don't autoload it,
3714 since it cannot be used outside Dired buffers anyway.
3716 * emulation/cua-base.el (cua-mode): Doc fix.
3718 * dired.el (dired-hide-details-hide-symlink-targets)
3719 (dired-hide-details-hide-information-lines)
3720 (dired-hide-details-mode): Doc fixes.
3722 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3723 * strokes.el (strokes-file): Doc fix. Bump :version.
3724 (strokes-help): Doc fix.
3725 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3726 * emulation/viper.el (viper): Doc fix for custom group.
3727 (top-level): Remove oh-so-no-longer-relevant text about vip.
3728 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3730 * ido.el (ido-save-directory-list-file):
3731 * saveplace.el (save-place-file):
3732 * calendar/timeclock.el (timeclock-file):
3733 * net/quickurl.el (quickurl-url-file):
3734 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3735 * progmodes/idlwave.el (idlwave-config-directory):
3736 * textmodes/remember.el (remember-data-file):
3739 2014-01-26 Glenn Morris <rgm@gnu.org>
3741 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3742 Doc fix. Make obsolete.
3743 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3745 * sort.el (delete-duplicate-lines): Doc fix.
3747 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3749 * progmodes/ada-mode.el (ada):
3750 * woman.el (woman): Link to info manual and Commentary section.
3752 * progmodes/flymake.el (flymake):
3753 * nxml/nxml-mode.el (nxml):
3755 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3756 * htmlfontify.el (htmlfontify):
3759 * ido.el (ido): Link to info manual.
3761 2014-01-25 Leo Liu <sdl.web@gmail.com>
3763 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3765 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3767 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3770 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3772 * net/eww.el (eww-download-callback):
3773 Fix reference to eww-download-directory.
3775 * emacs-lisp/bytecomp.el (byte-compile-file):
3776 Remove unused local variable `file-name'.
3778 2014-01-24 Glenn Morris <rgm@gnu.org>
3780 * woman.el (woman-default-faces, woman-monochrome-faces):
3781 Fix obsolescence specification.
3783 * subr.el (with-demoted-errors): Doc fix.
3785 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3788 (cl--macroexp-fboundp): New function.
3789 (cl--make-type-test): Use it.
3791 2014-01-23 Glenn Morris <rgm@gnu.org>
3793 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3794 * simple.el (eval-expression): Doc fixes.
3796 2014-01-22 Glenn Morris <rgm@gnu.org>
3798 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3800 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emacs-lisp/package.el: Write files silently.
3803 (package-autoload-ensure-default-file, package--write-file-no-coding)
3804 (package-generate-description-file, package--download-one-archive)
3805 (package-install-from-archive): Tell `write-region' to stay quiet.
3806 (package-menu-mode, package-menu--print-info): Omit the Archive column
3807 if there's only one archive.
3808 (package-all-keywords, package--has-keyword-p): Remove dead code.
3810 2014-01-22 Glenn Morris <rgm@gnu.org>
3812 * version.el (emacs-bzr-version-bzr): Fix typo.
3814 * version.el (emacs-repository-get-version):
3815 Check either .bzr or .git, but not both.
3816 Make the git case actually use the DIR argument, and return nil
3817 rather than the empty string.
3818 Avoid error if .git exists but the git executable is not found.
3820 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3822 Fixes in window size functions around Bug#16430 and Bug#16470.
3823 * window.el (window-total-size, window-size): New argument ROUND.
3824 (window--min-delta-1, window-min-delta, window--max-delta-1):
3825 Be more conservative when calculating the numbers of lines or
3826 columns a window can shrink (Bug#16430).
3827 (fit-window-to-buffer): Simplify code.
3828 * term.el (term-window-width): Call window-body-width again.
3830 2014-01-22 Glenn Morris <rgm@gnu.org>
3832 * image.el (image-format-suffixes): Doc fix.
3834 * international/quail.el (quail-define-package): Doc fix.
3836 * emacs-lisp/authors.el (authors-valid-file-names)
3837 (authors-renamed-files-alist): Additions.
3839 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3840 reverts 2014-01-09 change. (Bug#16422)
3842 * calc/calc-embed.el (thing-at-point-looking-at):
3843 * emacs-lisp/map-ynp.el (x-popup-dialog):
3844 * obsolete/lmenu.el (x-popup-dialog):
3845 * emacs-lisp/package.el (url-recreate-url):
3846 * mail/mailclient.el (clipboard-kill-ring-save):
3847 * subr.el (x-popup-dialog): Update declaration.
3848 * mail/rmail.el (rmail-mime-message-p):
3849 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3851 2014-01-21 Daniel Colascione <dancol@dancol.org>
3853 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3854 Correctly detect when we're inside an arithmetic expansion form
3855 containing nested parenthesis.
3856 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3857 to detect cases where we shouldn't expand "<<" to a heredoc
3860 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3863 (eldoc--message-command-p): New function.
3864 (eldoc-display-message-p): Use it.
3865 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3866 message is not automatically erased for us.
3867 (eldoc-print-current-symbol-info): Erase previous message, if any.
3869 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3871 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3872 specify it's an interactive function.
3874 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3875 Fix regex used for scanning for citation keys which failed for
3876 citations with optional arguments.
3878 2014-01-21 Leo Liu <sdl.web@gmail.com>
3880 * simple.el (read--expression): Don't enable eldoc-mode.
3882 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * simple.el (move-beginning-of-line): Make sure we don't move forward
3887 2014-01-20 Juri Linkov <juri@jurta.org>
3889 * saveplace.el (toggle-save-place, save-place-to-alist)
3890 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3891 'dired-mode) before checking for dired-directory. (Bug#16477)
3893 2014-01-20 Juri Linkov <juri@jurta.org>
3895 * indent.el (indent-line-to): Use backward-to-indentation
3896 instead of back-to-indentation. (Bug#16461)
3898 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3900 Revert some of the CANNOT_DUMP fix (Bug#16494).
3901 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3902 but fixing this can wait until after the next release.
3903 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3905 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3907 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3908 Use `password-word-equivalents'.
3909 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3910 to t. (Bug#5664, Bug#13124)
3912 2014-01-19 Alan Mackenzie <acm@muc.de>
3914 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3916 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3917 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3918 * progmodes/cc-mode.el (c-before-change, c-after-change)
3919 (c-font-lock-fontify-region): Bind it here.
3921 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3923 * term.el (term-window-width): Call window-text-width instead of
3924 window-width (Bug#16470).
3926 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3928 * simple.el (password-word-equivalents): Remove duplicates.
3929 Sort, to make this easier next time.
3930 Downcase. Omit ": " after "jelszó".
3932 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3934 * term/common-win.el (saved-region-selection): Defvar it.
3935 (x-select-text): Set saved-region-selection (Bug#16382).
3937 2014-01-18 Glenn Morris <rgm@gnu.org>
3939 * emacs-lisp/authors.el (authors-aliases)
3940 (authors-renamed-files-alist): Add some entries.
3942 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3944 * net/tramp.el (tramp-password-prompt-regexp):
3945 Use `password-word-equivalents' if available.
3946 (tramp-action-password, tramp-process-one-action)
3947 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3949 2014-01-17 Chong Yidong <cyd@gnu.org>
3951 * simple.el (password-word-equivalents): New defcustom.
3952 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3954 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3957 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3959 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3960 (ruby-align-to-stmt-keywords): Change the default value.
3961 Use `ruby-alignable-keywords' to generate the possible customization
3963 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3964 keywords, check against the value of `ruby-alignable-keywords'
3965 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3967 2014-01-17 Glenn Morris <rgm@gnu.org>
3969 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3971 Make M-x authors return zero *Authors Errors* from current logs.
3972 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3973 (authors-ignored-files): Add some entries, remove others.
3974 (authors-ambiguous-files, authors-valid-file-names):
3976 (authors-renamed-files-alist): Add, remove, and adjust entries.
3977 (authors-renamed-files-regexps): Add some entries.
3978 Remove some very broad ones. Make some entries `lax'.
3979 (authors-lax-changelogs): New constant.
3980 (authors-disambiguate-file-name): Treat top-level specially.
3981 (authors-lax-changelog-p): New function.
3982 (authors-canonical-file-name): Check file as written against
3983 authors-valid-file-names. Do not special-case etc/.
3984 Handle `lax' logs and authors-renamed-files-regexps elements.
3986 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3988 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3989 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3992 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3994 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3995 Assume we're already in the proper buffer.
3996 Inspired by Anders Lindgren <andlind@gmail.com>.
3997 (follow-post-command-hook): Call it from the right buffer.
3998 (follow-comint-scroll-to-bottom): Adjust call.
3999 (follow-all-followers): Use get-buffer-window-list.
4001 2014-01-15 Daniel Colascione <dancol@dancol.org>
4003 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4004 `buffer-file-name' in interactive-form so that we don't leave
4005 pathless file names in `file-name-history'.
4007 2014-01-15 Juri Linkov <juri@jurta.org>
4009 * indent.el (indent-rigidly): Set deactivate-mark to nil
4010 in transient indentation mode. (Bug#16438)
4012 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4014 * emacs-lisp/package.el (package-desc-keywords): New function
4016 (describe-package-1, package-all-keywords)
4017 (package--has-keyword-p): Use it.
4019 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4021 * simple.el (define-alternatives): When creating the
4022 COMMAND-alternatives variable, assign COMMAND as its definition
4023 name so that `describe-variable' can relocate it.
4025 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4027 * font-lock.el (font-lock-keywords): Fix typo in docstring
4030 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4032 * ispell.el (ispell-region): Reset `in-comment' for new line
4033 instead of wrongly reset `add-coment' (bug#13577).
4035 2014-01-14 Daiki Ueno <ueno@gnu.org>
4037 * epa-file.el (epa-file-write-region): Encode the region according
4038 to `buffer-file-format'. Problem reported at:
4039 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4041 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4044 so it applies in the right buffer (bug#16410).
4046 2014-01-13 Daniel Colascione <dancol@dancol.org>
4048 * textmodes/rst.el (rst-define-key): Provide deprecated
4049 keybindings through named functions instead of anonymous ones so
4050 that "??" doesn't appear in describe-mode output.
4052 2014-01-13 Bastien Guerry <bzg@gnu.org>
4054 * simple.el (define-alternatives): Call the selected command
4055 interactively. When setting `COMMAND--implementation' for the
4056 first time, tell the user how to chose another implementation.
4057 Enhance the docstring.
4059 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4062 (log-edit--match-first-line): New function.
4063 (log-edit-font-lock-keywords): Use it.
4064 (log-edit-mode): Make jit-lock-defer-multiline work.
4066 2014-01-13 Bastien Guerry <bzg@gnu.org>
4068 * rect.el (rectangle-mark-mode): When the region is not active,
4069 display a message saying that the mark as been set and that
4070 rectangle mode is in use.
4071 (rectangle--highlight-for-redisplay): Only put an overlay with a
4072 visible vertical bar when (display-graphic-p) is non-nil.
4073 This partially fixes Bug#16403.
4075 2014-01-13 Juri Linkov <juri@jurta.org>
4077 * info.el (Info-find-file): Go to DIR before displaying the error
4078 about a nonexistent file if no previous Info file is visited.
4079 Use `user-error' instead of `error' for "Info file %s does not exist".
4080 (Info-find-node-2): In case of a nonexistent node in unwind forms
4081 go to the Top node if there is no previous node to revert to.
4084 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4086 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4087 * window.el (fit-frame-to-buffer): Fix doc-string.
4088 Respect window-min-height/-width. Fit pixelwise when
4089 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4090 when avoiding that frame goes partially off-screen.
4091 (fit-window-to-buffer): Respect window-min-height/-width
4094 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4097 after an empty line.
4099 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * net/shr.el (shr-render-region): Autoload.
4103 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4105 * net/eww.el (eww-download-directory): Rename from
4106 `eww-download-path' (Bug#16419).
4108 2014-01-12 Leo Liu <sdl.web@gmail.com>
4110 * dired-x.el (dired-mode-map): Fix last change.
4112 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4114 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4117 * emacs-lisp/generic.el (generic--normalize-comments):
4118 Rename from generic--normalise-comments. All uses changed.
4119 * play/bubbles.el (bubbles--neighborhood-score)
4120 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4121 (bubbles--neighborhood-available)
4122 (bubbles--update-neighborhood-score):
4123 Rename from names with 'neighbourhood'. All uses changed.
4125 2014-01-12 Leo Liu <sdl.web@gmail.com>
4127 Re-implement the feature of showing eldoc info after editing.
4128 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4129 (eldoc-edit-message-commands): New function.
4130 (eldoc-print-after-edit): New variable.
4131 (eldoc-pre-command-refresh-echo-area): Emit message only by
4132 eldoc-message-commands.
4133 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4134 if eldoc-print-after-edit is set. (Bug#16346)
4135 * simple.el (read--expression): Enable eldoc-mode.
4136 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4138 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4139 Eric S. Raymond <esr@thyrsus.com>
4141 * version.el (emacs-repository-get-version): Enhance so the
4142 function works correctly in either a Bazaar or Git repo.
4144 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4146 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4147 Goes with removal of the joke manpages from /etc.
4149 2014-01-10 Kenichi Handa <handa@gnu.org>
4151 * mail/rmail.el (rmail-get-coding-system):
4152 Check rmail-get-coding-function before "funcall"ing it.
4154 2014-01-10 Glenn Morris <rgm@gnu.org>
4156 * emacs-lisp/authors.el (authors-fixed-entries):
4157 Update for files that no longer exist.
4159 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4161 * version.el (emacs-bzr-get-version): Restore compatibilty with
4164 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4166 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4169 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4171 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4173 2014-01-10 Chong Yidong <cyd@gnu.org>
4175 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4177 2014-01-10 Anders Lindgren <andlind@gmail.com>
4179 * follow.el (follow-cache-command-list): Include right-char and
4182 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4185 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4186 * woman.el (woman-mark-horizontal-position):
4187 Rename from woman-mark-horizonal-position. Use changed.
4189 2014-01-10 Glenn Morris <rgm@gnu.org>
4191 * info.el (info-initialize): If running uninstalled, ensure our
4192 own info files are always found first, even if INFOPATH is set.
4194 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4196 2014-01-09 David Engster <deng@randomsample.de>
4198 * emacs-lisp/eieio-custom.el:
4199 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4200 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4201 * emacs-lisp/eieio.el: Regenerate autoloads.
4203 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4205 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4206 following renames. (Bug#8756)
4208 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4210 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4212 (activate-mark): Add `no-tmm' argument.
4213 (set-mark, push-mark-command): Use it instead of running
4214 activate-mark-hook by hand.
4216 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4218 In preparation for the move to git, sanitize out some
4219 Bazaar-specific names.
4221 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4223 * version.el (emacs-bzr-version): Name changed to
4224 emacs-repository-version. Obsolete-variable alias made.
4225 * loadup.el: Follow through on this name change.
4226 * mail/emacsbug.el (report-emacs-bug): Factor out any
4227 assumption about the version control system in use.
4229 2014-01-08 David Engster <deng@randomsample.de>
4231 * help-fns.el (help-fns-describe-function-functions):
4232 New variable to call functions for augmenting help buffers.
4233 (describe-function-1): Remove explicit calls to
4234 `help-fns--compiler-macro', `help-fns--parent-mode' and
4235 `help-fns--obsolete'. Put them in above new variable instead, and
4236 call them through `run-hook-with-args'.
4237 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4238 `eieio-describe-class'. Not meant for interactive use anymore,
4239 but to augment existing help buffers. Remove optional second
4240 argument. Create proper button for file location.
4241 Rewrite function to use `insert' instead of `princ' and `prin1' where
4243 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4244 (eieio-method-def, eieio-class-def): Move further up.
4245 (describe-method, describe-generic, eieio-describe-method):
4247 (eieio-help-constructor, eieio-help-generic): Rename from
4248 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4249 Rewrite to use `insert' in the current buffer and use proper help
4251 (eieio-help-find-method-definition)
4252 (eieio-help-find-class-definition): Also accept symbols as
4254 (eieio-help-mode-augmentation-maybee): Remove.
4255 (eieio-describe-class-sb): Use `describe-function'.
4256 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4257 Add `eieio-help-generic' and `eieio-help-constructor'.
4259 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4262 * language/china-util.el (hz-ascii-designation):
4263 Rename from hz-ascii-designnation.
4264 (hz-ascii-designation): Rename from hz-ascii-designnation.
4267 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4269 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4272 2014-01-08 Bastien Guerry <bzg@gnu.org>
4274 * emacs-lisp/package.el (package-delete):
4275 Correctly delete the package from package-alist.
4277 2014-01-08 Daiki Ueno <ueno@gnu.org>
4279 * emacs-lisp/package.el (url-recreate-url): Declare.
4280 (url-http-target-url): Declare.
4281 (package-handle-response): Include requested URL in the error message.
4282 (package--check-signature): Don't re-signal errors from
4283 package--with-work-buffer. Suggested by Stefan Monnier.
4285 2014-01-07 Bastien Guerry <bzg@gnu.org>
4287 * minibuffer.el (completion--try-word-completion): When both a
4288 hyphen and a space are possible candidates for the character
4289 following a word, display both candidates. (Bug#15980)
4291 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4293 * window.el (balance-windows-2): While rounding don't give a
4294 window more than the remainder. Bug#16351, bug#16383.
4296 2014-01-07 Glenn Morris <rgm@gnu.org>
4298 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4299 (menu-bar-help-menu): Use view-external-packages instead.
4301 2014-01-07 Bastien Guerry <bzg@gnu.org>
4303 * emacs-lisp/package.el (package-delete): Also delete the package
4304 name from `package-alist', not its description only.
4306 2014-01-07 Glenn Morris <rgm@gnu.org>
4308 * help.el (view-external-packages):
4309 * menu-bar.el (menu-bar-help-extra-packages):
4310 Visit efaq.info rather than etc/MORE.STUFF.
4312 2014-01-07 Juri Linkov <juri@jurta.org>
4314 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4315 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4317 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4318 that shadows RET. (Bug#16342)
4320 2014-01-07 Chong Yidong <cyd@gnu.org>
4322 * isearch.el (isearch-yank-char, isearch-yank-word)
4323 (isearch-yank-line): Doc fix.
4325 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4327 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4328 * emacs-lisp/elint.el (elint-find-builtins):
4329 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4330 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4331 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4332 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4333 * apropos.el (apropos-safe-documentation):
4334 * subr.el (symbol-file): Remove redundant fboundp.
4335 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4337 2014-01-06 Bastien Guerry <bzg@gnu.org>
4339 * hl-line.el (global-hl-line-overlay): Make a local variable.
4340 (global-hl-line-overlays): New variable to store all overlays.
4341 (global-hl-line-mode): Don't delete overlays from the current
4342 buffer when `global-hl-line-sticky-flag' is non-nil.
4343 (global-hl-line-highlight): Add new overlays to
4344 `global-hl-line-overlays'.
4345 (global-hl-line-unhighlight-all): New function to delete all
4346 overlays when turning off `global-hl-line-mode'.
4347 This fixes Bug#16183.
4349 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * subr.el (set-transient-map): Fix nested case and docstring.
4353 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4355 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4358 2014-01-06 Daniel Colascione <dancol@dancol.org>
4360 Fix defun navigation in vc log view.
4362 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4363 like `beginning-of-defun'.
4364 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4365 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4366 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4367 (log-view-extract-comment): Call `log-view-current-entry' directly
4368 instead of relying on broken `log-view-beginning-of-defun' behavior.
4370 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4373 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4374 * emacs-lisp/debug.el (cancel-debug-on-entry):
4375 * epg.el (epg-error-to-string):
4376 * files.el (recover-file):
4377 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4378 * mail/emacsbug.el (report-emacs-bug-hook):
4379 * mail/sendmail.el (mail-recover):
4380 * ses.el (ses-yank-resize):
4381 * term/ns-win.el (ns-print-buffer):
4382 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4383 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4385 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4387 2014-01-06 Leo Liu <sdl.web@gmail.com>
4389 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4390 to avoid shadowing global key. (Bug#16354)
4392 2014-01-06 Daniel Colascione <dancol@dancol.org>
4394 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4397 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4399 * window.el (balance-windows): Add mising t to fix Bug#16351.
4401 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4403 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4405 (shr-insert): If we have a word that's longer than `shr-width',
4406 break after it anyway. Otherwise we'll do no breaking once we get
4409 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4411 * net/eww.el (eww): Support single/double quote for search.
4412 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4413 (eww-history-quit): Delete and use quit-window.
4414 (eww-history-kill): Delete, because it doesn't work well and
4416 (eww-history-mode-map): Delete some keys and add easy-menu.
4418 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4420 Fix misspelling of 'chinese' in rx (Bug#16237).
4421 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4424 Change subword regexps back to vars (Bug#16296).
4425 * progmodes/subword.el (subword-forward-regexp)
4426 (subword-backward-regexp): Change these back to variables.
4428 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4431 syntax-begin-function (bug#16247).
4433 2014-01-03 Chong Yidong <cyd@gnu.org>
4435 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4436 (advice--docstring): Delete variable.
4437 (advice--make-1): Leave the docstring empty.
4438 (advice-add): Use function-documentation for advised docstring.
4440 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4441 Ignore function-documentation property when getting documentation.
4442 (ad-activate-advised-definition): Use function-documentation
4443 generate the docstring.
4444 (ad-make-advised-definition): Don't call
4445 ad-make-advised-definition-docstring.
4446 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4449 * progmodes/sql.el (sql-help): Use function-documentation instead
4450 of dynamic-docstring-function property. No need to autoload now.
4451 (sql--help-docstring): New variable.
4452 (sql--make-help-docstring): Use it.
4454 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4456 * ielm.el (ielm-tab): Retarget.
4457 (ielm-map): Use ielm-tab for tab.
4458 (ielm-complete-filename): Use comint-filename-completion.
4459 (ielm-complete-symbol): Remove.
4460 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4461 remove ielm-tab from completion-at-point-functions (bug#16224).
4463 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4464 Beware signals raised by predicates (bug#16201).
4466 2014-01-02 Richard Stallman <rms@gnu.org>
4468 * dired-aux.el (dired-do-print): Handle printer-name.
4470 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4471 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4472 (rmail-epa-decrypt): Turn off mime processing.
4474 * mail/rmail.el (rmail-make-in-reply-to-field):
4475 Add parens in message-id.
4477 * mail/rmail.el (rmail-get-coding-function): Variable.
4478 (rmail-get-coding-system): Use it.
4480 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4482 * international/mule-conf.el: Unify the charset indian-is13194.
4483 (indian-is13194): Specify unify-map.
4485 2013-12-31 Leo Liu <sdl.web@gmail.com>
4487 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4489 2013-12-30 Daniel Colascione <dancol@dancol.org>
4491 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4492 of printing a useless when we resume from sleep.
4494 * progmodes/sh-script.el
4495 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4496 in indentation code. (Bug#16233)
4498 2013-12-28 João Távora <joaotavora@gmail.com>
4500 * elec-pair.el (electric-pair-post-self-insert-function):
4501 Don't open extra newlines at beginning of buffer. (Bug#16272)
4503 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4505 * frame.el (window-system-for-display): Don't allow to create a
4506 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4508 2013-12-28 Glenn Morris <rgm@gnu.org>
4510 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4513 * apropos.el (apropos-match-face):
4514 * calculator.el (calculator-displayer):
4515 * dabbrev.el (dabbrev-search-these-buffers-only):
4516 * face-remap.el (buffer-face-mode-face):
4517 * simple.el (yank-handled-properties):
4518 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4519 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4520 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4521 (hashcash-double-spend-database):
4522 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4523 (ruby-deep-indent-paren-style):
4524 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4525 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4526 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4527 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4528 Specify custom types.
4530 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4531 * bookmark.el (bookmark-bmenu-use-header-line):
4532 * doc-view.el (doc-view-scale-internally):
4533 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4534 * register.el (register-preview-delay):
4535 * net/shr.el (shr-bullet):
4536 * progmodes/cfengine.el (cfengine-cf-promises)
4537 (cfengine-parameters-indent):
4538 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4539 * textmodes/reftex-vars.el (reftex-label-regexps):
4540 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4542 * net/tls.el (tls-certtool-program): Fix default value.
4544 * desktop.el (desktop-restore-in-current-display):
4545 * newcomment.el (comment-empty-lines):
4546 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4547 (idlwave-pad-keyword):
4548 * progmodes/tcl.el (tcl-tab-always-indent):
4549 * textmodes/reftex-vars.el (reftex-index-default-tag):
4550 * elec-pair.el (electric-pair-skip-whitespace):
4551 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4553 * emacs-lisp/authors.el (authors-ignored-files)
4554 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4556 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4558 * shell.el (shell-dynamic-complete-command): Doc fix.
4559 (shell--command-completion-data): Shell completion now matches
4560 executable filenames from the current buffer's directory, on
4561 systems in which this behavior is the default (windows-nt, ms-dos).
4563 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4565 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4567 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4572 * electric.el: Move all electric-pair-* to elec-pair.el.
4573 * elec-pair.el: New file, split from electric.el.
4575 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4577 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4578 indentation level is larger than the width, because that will
4580 (shr-insert): Fill repeatedly long texts, so that Japanese is
4581 formatted correctly (bug#16263).
4582 (shr-find-fill-point): Off by one error in comparison with the
4585 2013-12-26 João Távora <joaotavora@gmail.com>
4587 * electric.el (electric-pair-mode): More flexible engine for skip-
4588 and inhibit predicates, new options for pairing-related functionality.
4589 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4590 if that keeps or improves their balance in buffers.
4591 (electric-pair-delete-adjacent-pairs): Delete the pair when
4592 backspacing over adjacent matched delimiters.
4593 (electric-pair-open-extra-newline): Open extra newline when
4594 inserting newlines between adjacent matched delimiters.
4595 (electric--sort-post-self-insertion-hook):
4596 Sort post-self-insert-hook according to priority values when
4597 minor-modes are activated.
4598 * simple.el (newline-and-indent): Call newline with interactive
4600 (blink-paren-post-self-insert-function): Set priority to 100.
4601 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4602 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4603 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4604 electric-pair-open-newline-between-pairs to nil.
4606 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4608 * progmodes/python.el: Use lexical-binding.
4609 (python-nav-beginning-of-defun): Stop searching ASAP.
4611 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4613 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4614 Fix interactive spec. Doc fix. (Bug#15754)
4616 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4618 * emacs-lisp/byte-run.el (eval-when-compile):
4619 * progmodes/cc-defs.el (cc-eval-when-compile):
4620 Fix edebug spec (bug#16184).
4622 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4624 * net/shr.el (shr-visit-file): Remove debugging function.
4625 (shr-insert): Don't infloop if we can't find a good place to break
4626 the line (bug#16256).
4628 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4630 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4631 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4632 python-nav-lisp-forward-sexp-safe.
4633 (python-nav--forward-sexp): New argument SAFE allows switching
4634 forward sexp movement behavior for parens.
4635 (python-nav-forward-sexp): Throw errors on unterminated parens
4637 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4638 (python-nav-backward-sexp-safe): New functions.
4639 (python-shell-buffer-substring):
4640 Use `python-nav-forward-sexp-safe'.
4642 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4644 * net/shr.el (shr-find-fill-point): Don't break lines before a
4646 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4647 (shr-find-fill-point): Remove the special checks for the quotation
4648 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4650 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4652 * net/eww.el (eww-form-textarea): Use a different face for
4653 textareas than text input since they have different keymaps
4656 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4658 * progmodes/python.el (python-nav-beginning-of-statement):
4659 Speed up (Bug#15295).
4661 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4663 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4664 the window configuration.
4666 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4668 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4669 we run on MS-Windows or MS-DOS.
4671 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4673 * window.el (balance-windows-area): Call window-size instead of
4674 window-height and window-width. Bug#16241.
4676 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4678 * net/eww.el (eww-bookmark-quit): Remove.
4679 (eww-bookmark-browse): Restore the window configuration when you
4680 choose a bookmark (bug#16144).
4682 2013-12-24 Daniel Colascione <dancol@dancol.org>
4684 * icomplete.el: Remove redundant :group arguments to `defcustom'
4686 (icomplete-show-matches-on-no-input): New customizable variable.
4687 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4688 we have something to show.
4689 (icomplete-exhibit): Compute completions even if we have no user input.
4691 2013-12-23 Daniel Colascione <dancol@dancol.org>
4693 * icomplete.el: Move `provide' to end of file.
4695 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4697 * net/gnutls.el (gnutls-verify-error): Add version tag.
4699 2013-12-23 Chong Yidong <cyd@gnu.org>
4701 * subr.el (set-transient-map): Rename from
4702 set-temporary-overlay-map. Doc fix.
4704 * face-remap.el (text-scale-adjust):
4705 * indent.el (indent-rigidly):
4706 * kmacro.el (kmacro-call-macro):
4707 * minibuffer.el (minibuffer-force-complete):
4708 * repeat.el (repeat):
4709 * simple.el (universal-argument--mode):
4710 * calendar/todo-mode.el (todo-insert-item--next-param):
4711 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4713 * indent.el (indent-rigidly): Use substitute-command-keys.
4715 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4717 * net/eww.el (eww-tag-select): Add text-property to jump to next
4719 (eww): Add non-supported ftp error.
4721 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4723 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4724 comments. Handle electric indent after typing `?' and `!'.
4726 2013-12-22 Chong Yidong <cyd@gnu.org>
4728 * faces.el (face-spec-recalc): If the theme specs are not
4729 applicable to a frame, fall back on the defface spec.
4730 This prevents themes from obliterating faces on low-color terminals.
4732 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4734 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4735 after `{'. We need it after block openers, and it doesn't seem
4736 to hurt after hash openers.
4738 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4740 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4741 extracted from `ruby-smie-rules'.
4742 (ruby--electric-indent-chars): New variable.
4743 (ruby--electric-indent-p): New function.
4744 (ruby-mode): Use `electric-indent-functions' instead of
4745 `electric-indent-chars'.
4747 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4749 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4751 (ruby-smie-rules): Indent plus one level after `=>'.
4753 2013-12-21 Richard Stallman <rms@gnu.org>
4755 * simple.el (newline): Doc fix.
4757 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4759 * net/eww.el (eww-list-histories, eww-list-histories)
4760 (eww-history-browse, eww-history-quit, eww-history-kill)
4761 (eww-history-mode-map, eww-history-mode): New command and
4762 functions to list browser histories.
4763 (eww-form-text): Support text form with disabled
4764 and readonly attributes.
4765 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4767 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4769 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4770 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4771 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4772 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4774 (eww-bookmark-mode-map): Add menu.
4775 (eww-render, eww-mode): Use `setq-local'.
4776 (eww-tool-bar-map): New variable.
4777 (eww-mode): Set `tool-bar-map'.
4778 (eww-view-source): Check for `html-mode' with `fboundp'.
4780 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4782 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4783 elements with text inside. Also remove debugging.
4785 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4787 * cus-start.el (all): Add ns-use-srgb-colorspace.
4789 2013-12-21 Chong Yidong <cyd@gnu.org>
4791 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4792 undefined. Thus, theme settings for undefined faces do not take
4793 effect until the faces are defined with defface, the same as with
4796 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4797 (face-spec-reset-face): Don't assign extra properties in temacs.
4798 (face-spec-recalc): Apply X resources too.
4800 2013-12-21 Chong Yidong <cyd@gnu.org>
4802 * faces.el (face-spec-set):
4803 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4804 * custom.el (defface): Doc fixes (Bug#16203).
4806 * indent.el (indent-rigidly-map): Add docstring, and move commands
4807 into named functions.
4808 (indent-rigidly-left, indent-rigidly-right)
4809 (indent-rigidly-left-to-tab-stop)
4810 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4811 indentation direction based on bidi direction, and accumulate
4812 sequential commands in a single undo boundary.
4813 (indent-rigidly--pop-undo): New utility function.
4815 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4817 * faces.el (read-face-name): Require crm.el when using crm-separator.
4819 2013-12-20 Daniel Colascione <dancol@dancol.org>
4821 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4822 so that we don't reflow comments into the shebang line.
4824 2013-12-20 Juri Linkov <juri@jurta.org>
4826 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4827 a position when `dired-directory' is non-nil. Check integer
4828 positions with `integerp'.
4829 (toggle-save-place, save-places-to-alist): Add check for
4831 (save-place-find-file-hook): Check integer positions with
4833 (save-place-dired-hook): Use `dired-goto-file' when
4834 `dired-filename' is found in the assoc list. Check integer
4835 positions with `integerp'.
4836 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4838 * dired.el (dired-initial-position-hook): Rename back from
4839 `dired-initial-point-hook'.
4840 (dired-initial-position): Rename `dired-initial-point-hook' to
4841 `dired-initial-position-hook'.
4842 (dired-file-name-at-point): Doc fix. (Bug#15329)
4844 2013-12-20 Juri Linkov <juri@jurta.org>
4846 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4847 (read-regexp-suggestions): New function.
4848 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4849 Use `read-regexp-suggestions'. Add non-empty default to history
4851 (occur-read-regexp-defaults-function): Remove function.
4852 (occur-read-primary-args): Use `regexp-history-last' instead of
4853 `occur-read-regexp-defaults-function'.
4855 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4856 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4857 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4858 `hi-lock-read-regexp-defaults-function'. Doc fix.
4859 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4860 with `find-tag-default-as-symbol-regexp'. Doc fix.
4861 (hi-lock-read-regexp-defaults): Remove function.
4862 (hi-lock-regexp-okay): Add check for null.
4864 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4865 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4867 * subr.el (find-tag-default-as-symbol-regexp): New function.
4868 (find-tag-default-as-regexp): Move symbol regexp formatting to
4869 `find-tag-default-as-symbol-regexp'.
4871 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4873 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4876 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4878 * calendar/todo-mode.el: New implementation of item insertion
4879 commands and key bindings.
4880 (todo-key-prompt): New face.
4881 (todo-insert-item): New command.
4882 (todo-insert-item--parameters): New defconst, replacing defvar
4883 todo-insertion-commands-args-genlist.
4884 (todo-insert-item--param-key-alist): New defconst, replacing
4885 defvar todo-insertion-commands-arg-key-list.
4886 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4887 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4888 (todo-insert-item--next-param): New functions.
4889 (todo-insert-item--args, todo-insert-item--argleft)
4890 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4892 (todo-key-bindings-t): Change binding of "i" from
4893 todo-insertion-map to todo-insert-item.
4894 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4895 (todo-insertion-command-name, todo-insertion-commands-names)
4896 (todo-define-insertion-command, todo-insertion-commands)
4897 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4899 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4901 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4902 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4904 (todo-move-category): Allow choosing a non-existing todo file to
4905 move the category to, and create that file.
4906 (todo-default-priority): New user option.
4907 (todo-set-item-priority): Use it.
4908 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4909 (desktop-restore-file-buffer): Declare.
4910 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4911 (todo-modes-set-2): Locally set desktop-save-buffer to
4912 todo-desktop-save-buffer.
4913 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4914 (auto-mode-alist): Add autoload cookie.
4916 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4918 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4919 helpers.el was a poor choice of name.
4920 (string-remove-prefix): New function.
4921 (string-remove-suffix): New function.
4923 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4925 Fix assignment for new window total sizes.
4926 * window.el (window--pixel-to-size): Remove function.
4927 (window--pixel-to-total-1, window--pixel-to-total):
4928 Fix calculation of new total sizes.
4930 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4932 * comint.el (comint-output-filter): Fix rear-nonsticky property
4933 placement (Bug#16010).
4935 2013-12-20 Chong Yidong <cyd@gnu.org>
4937 * faces.el (read-color): Minor fix for completion function.
4939 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4941 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4942 New option. (Bug#16182)
4943 (ruby-smie--indent-to-stmt-p): Use it.
4944 (ruby-smie-rules): Revert the logic in the handling of `when'.
4945 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4946 (ruby-deep-arglist, ruby-deep-indent-paren)
4947 (ruby-deep-indent-paren-style): Update docstrings to note that the
4948 vars don't have any effect with SMIE.
4950 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4952 * calc/calc.el (calc-enter, calc-pop): Use the variable
4953 `calc-context-sensitive-enter'.
4955 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4957 * net/shr.el (shr-insert): Protect against infloops in degenerate
4960 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4962 * progmodes/octave.el (octave): Add link to manual and octave
4964 (octave-mode-menu): Link to octave-mode manual.
4966 2013-12-20 Leo Liu <sdl.web@gmail.com>
4968 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4969 insertion using skeleton-end-newline. (Bug#16138)
4971 2013-12-20 Juri Linkov <juri@jurta.org>
4973 * replace.el (occur-engine): Use `add-face-text-property'
4974 to add the face property to matches and titles. (Bug#14645)
4976 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4977 the palette of other hi-lock colors.
4978 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4980 2013-12-19 Juri Linkov <juri@jurta.org>
4982 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4983 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4984 (minibuffer-history-symbol): Move variable declaration closer to
4987 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4990 2013-12-19 Juri Linkov <juri@jurta.org>
4992 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4994 (log-edit-hook): Add it to :options. (Bug#16170)
4996 2013-12-19 Juri Linkov <juri@jurta.org>
4998 * simple.el (eval-expression-print-format): Don't check for
4999 command names and the last command. Always display additional
5000 formats of the integer result in the echo area, and insert them
5001 to the current buffer only with a zero prefix arg.
5002 Display character when char-displayable-p is non-nil.
5003 (eval-expression): With a zero prefix arg, set `print-length' and
5004 `print-level' to nil, and insert the integer values from
5005 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5007 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5008 `eval-last-sexp-arg-internal'. Doc fix.
5009 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5010 `eval-last-sexp-print-value'. Doc fix.
5011 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5012 Set `print-length' and `print-level' to nil when arg is zero.
5013 (eval-last-sexp): Doc fix.
5014 (eval-defun-2): Print the integer values from
5015 `eval-expression-print-format' at the end.
5017 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5018 values from `eval-expression-print-format' at the end.
5020 * ielm.el (ielm-eval-input): Print the integer
5021 values from `eval-expression-print-format' at the end.
5023 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5025 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5026 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5028 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5030 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5031 (hl-line-highlight, global-hl-line-highlight): Use it.
5032 (hl-line-overlay): Use defvar-local.
5034 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5036 * term/ns-win.el: Require dnd.
5037 (global-map): Remove drag items.
5038 (ns-insert-text, ns-set-foreground-at-mouse)
5039 (ns-set-background-at-mouse):
5040 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5041 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5044 2013-12-19 Glenn Morris <rgm@gnu.org>
5046 * emacs-lisp/ert.el (ert-select-tests):
5047 Fix string/symbol mixup. (Bug#16121)
5049 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5051 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5052 keywords to their parent.
5054 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5056 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5057 first arg to be a string (fixed dead code), or an operator symbol.
5058 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5060 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5061 did nothing. Don't respond to `(:after ".")', it will be called
5062 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5063 change anything. Only return indentation for binary operators
5064 when they are hanging. De-dent opening paren when its parent is
5065 `.', otherwise it looks bad when the dot is not at bol or eol
5068 2013-12-19 Juri Linkov <juri@jurta.org>
5070 * replace.el (query-replace-read-args): Split a non-negative arg
5071 and a negative arg into separate elements.
5072 (query-replace, query-replace-regexp, replace-string)
5073 (replace-regexp): Add arg `backward'. Doc fix.
5074 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5075 move point to the beginning of the match.
5076 (replace-search, replace-highlight): Use new arg `backward'
5077 to set the value of `isearch-forward'.
5078 (perform-replace): Add arg `backward' and use it to perform
5079 replacement backward. (Bug#14979)
5081 * isearch.el (isearch-query-replace): Use a negative prefix arg
5082 to call `perform-replace' with a non-nil arg `backward'.
5084 2013-12-18 Juri Linkov <juri@jurta.org>
5086 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5087 to the default list. Move `log-edit-show-files' to the end.
5088 Add more available functions to options.
5089 (log-edit): Move default specific settings to
5090 `log-edit-insert-message-template'. Don't move point.
5091 (log-edit-insert-message-template): New function.
5092 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5095 2013-12-18 Juri Linkov <juri@jurta.org>
5097 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5098 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5100 2013-12-18 Leo Liu <sdl.web@gmail.com>
5102 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5105 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5107 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5108 formats for displaying file sizes when the -s switch is given.
5109 Instead, compute a separate format for displaying the size in
5110 blocks, which is displayed in addition to the "regular" size.
5111 When -h is given in addition to -s, produce size in blocks in
5112 human-readable form as well. (Bug#16179)
5114 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5116 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5117 Reference tables with ~\ref{...} instead of only \ref{...}.
5119 2013-12-18 Chong Yidong <cyd@gnu.org>
5121 * cus-edit.el (custom-magic-alist): Fix "themed" description
5124 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5125 is non-nil, do not create a new entry in the symbol's theme-value
5126 or theme-face property; update theme-settings only (Bug#14664).
5127 (custom-available-themes): Doc fix.
5129 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5132 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5134 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5136 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5139 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5141 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5143 2013-12-18 Glenn Morris <rgm@gnu.org>
5145 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5146 * cus-start.el (load-prefer-newer): New option.
5148 2013-12-18 Le Wang <l26wang@gmail.com>
5150 * comint.el (comint-previous-matching-input-from-input):
5151 Retain point (Bug#13404).
5153 2013-12-18 Chong Yidong <cyd@gnu.org>
5155 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5157 2013-12-18 Glenn Morris <rgm@gnu.org>
5159 * mail/emacsbug.el (report-emacs-bug):
5160 Only mention enable-multibyte-characters if non-standard.
5162 2013-12-17 Juri Linkov <juri@jurta.org>
5164 * arc-mode.el (archive-extract-by-file): Check if directory exists
5165 before deletion to not show irrelevant errors if it doesn't exist.
5167 2013-12-17 Juri Linkov <juri@jurta.org>
5169 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5172 * net/eww.el (browse-web): Add alias to `eww'.
5173 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5174 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5176 * net/browse-url.el (browse-url-browser-function): Move `eww'
5177 closer to similar functions.
5179 * startup.el (fancy-startup-screen, fancy-about-screen):
5180 Set browse-url-browser-function to eww-browse-url locally.
5183 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5185 * window.el (window--pixel-to-total): Remove unused `mini' var.
5186 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5187 (split-window): Remove unused `new' var.
5188 (window--display-buffer): Remove unused `frame' and `delta' vars.
5189 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5192 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5194 * dired.el (dired-mark-pop-up):
5195 * register.el (register-preview): Don't bind
5196 split-height-threshold here since it's now done in
5197 display-buffer-below-selected.
5199 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5201 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5202 xterm-rgb-convert-to-16bit.
5203 (rxvt-register-default-colors): Standardize with
5204 xterm-register-default-colors (Bug#14078).
5206 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5208 * simple.el (kill-region): Pass mark first, then point, so that
5209 kill-append works right (Bug#12819).
5210 (copy-region-as-kill, kill-ring-save): Likewise.
5212 2013-12-17 Leo Liu <sdl.web@gmail.com>
5214 * net/rcirc.el (rcirc-add-face):
5215 * eshell/em-prompt.el (eshell-emit-prompt):
5216 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5219 2013-12-17 Chong Yidong <cyd@gnu.org>
5221 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5222 Suggested by Xue Fuqiao.
5224 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5226 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5228 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5230 * net/shr.el (shr-insert-document): Remove unused var
5231 `shr-preliminary-table-render'.
5232 (shr-rescale-image): Remove unused arg `force'.
5233 (shr-put-image): Update calls accordingly.
5234 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5236 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5238 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5239 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5240 :close-all, to see which indentation method to use (Bug#16116).
5241 (smie-rules-function): Document the method :close-all.
5243 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5245 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5247 * net/eww.el (eww-display-html): If we can't find the anchor we're
5248 looking for, then go to point-min.
5250 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5252 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5253 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5254 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5255 Expand dir too, in case it's relative.
5257 2013-12-16 Juri Linkov <juri@jurta.org>
5259 * desktop.el (desktop-auto-save-timeout): Change default to
5260 `auto-save-timeout'. Doc fix.
5261 (desktop-save): Skip the timestamp in desktop-saved-frameset
5262 when checking for auto-save changes.
5263 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5264 `desktop-auto-save' is called repeatedly by the idle timer.
5265 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5266 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5269 2013-12-16 Juri Linkov <juri@jurta.org>
5271 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5273 (isearch-pre-command-hook): Check `this-command' for symbolp.
5275 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5277 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5279 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5281 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5282 (cfengine3--current-function): Bring in the current-function
5283 functionality from `cfengine3--current-word'.
5284 (cfengine3-completion-function): Bring in the
5285 bounds-of-current-word functionality from
5286 `cfengine3--current-word'.
5288 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5290 * window.el (display-buffer-below-selected):
5291 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5293 2013-12-16 Leo Liu <sdl.web@gmail.com>
5295 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5296 Remove NOMSG arg and all uses changed.
5298 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5300 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5301 (cua--deactivate-rectangle): Don't deactivate the mark.
5302 (cua-set-rectangle-mark): Don't set mark-active since
5303 cua--activate-rectangle already does it for us.
5304 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5305 non-rectangular region.
5307 * emulation/cua-base.el (cua-repeat-replace-region):
5308 Use with-current-buffer.
5310 * net/gnutls.el: Use cl-lib.
5311 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5313 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5315 * emacs-lisp/package.el (package-built-in-p): Support both
5316 built-in and the package.el converted package descriptions.
5317 (package-show-package-list): Allow keywords.
5318 (package-keyword-button-action): Use it instead of
5319 `finder-list-matches'.
5320 (package-menu-filter-interactive): Interactive filtering (by
5322 (package-menu--generate): Support keywords and change keymappings
5323 and headers when they are given.
5324 (package--has-keyword-p): Helper function.
5325 (package-menu--refresh): Use it.
5326 (package--mapc): Helper function.
5327 (package-all-keywords): Use it.
5328 (package-menu-mode-map): Set up menu items and keybindings to
5329 provide a filtering UI.
5331 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5333 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5334 the behavior when a certificate fails validation. Defaults to
5335 old behavior: never abort, just warn.
5336 (gnutls-negotiate): Use it.
5338 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5340 * window.el (display-buffer-below-selected): Never split window
5341 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5343 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5345 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5346 (package-buffer-info): Use it (bug#15108).
5348 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5350 * icomplete.el (icomplete-completions): Make sure the prefix is already
5351 displayed elsewhere before hiding it (bug#16219).
5353 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5355 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5356 open-paren tokens when preceded by a open-paren, too.
5357 (ruby-smie-rules): Handle virtual indentation after open-paren
5358 tokens specially. If there is code between it and eol, return the
5359 column where is starts (Bug#16118).
5361 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5363 * progmodes/cfengine.el: Fix `add-hook' doc.
5364 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5365 (cfengine3--current-word): Fix parameters.
5366 (cfengine3-make-syntax-cache): Simplify further.
5367 (cfengine3-completion-function, cfengine3--current-function):
5368 Use `assq' for symbols.
5369 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5371 2013-12-13 Glenn Morris <rgm@gnu.org>
5373 * loadup.el (load-path): Warn if site-load or site-init changes it.
5374 No more need to reset it when bootstrapping.
5376 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5378 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5379 locations for cf-promises.
5380 (cfengine-mode-syntax-functions-regex): New caching variable.
5381 (cfengine3-fallback-syntax): Fallback syntax for cases where
5382 cf-promises doesn't run.
5383 (cfengine3--current-word): Reimplement using
5384 `cfengine-mode-syntax-functions-regex'.
5385 (cfengine3-completion-function, cfengine3--current-function):
5386 Use `cfengine3-make-syntax-cache' directly.
5387 (cfengine3-clear-syntax-cache): New function.
5388 (cfengine3-make-syntax-cache): Simplify and create
5389 `cfengine-mode-syntax-functions-regex' on demand.
5390 (cfengine3-format-function-docstring): Don't call
5391 `cfengine3-make-syntax-cache' explicitly.
5393 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5395 Fix windmove-find-other-window broken after pixelwise resizing
5397 * windmove.el (windmove-other-window-loc): Revert change from
5399 (windmove-find-other-window): Call window-in-direction.
5400 * window.el (window-in-direction): New arguments SIGN, WRAP and
5401 MINI to emulate original windmove-find-other-window behavior.
5403 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5405 * simple.el (blink-matching--overlay): New variable.
5406 (blink-matching-open): Instead of moving point, highlight the
5407 matching paren with an overlay
5408 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5410 * faces.el (paren-showing-faces, show-paren-match)
5411 (show-paren-mismatch): Move from paren.el.
5413 2013-12-13 Leo Liu <sdl.web@gmail.com>
5415 * indent.el (indent-region): Disable progress reporter in
5416 minibuffer. (Bug#16108)
5418 * bindings.el (visual-order-cursor-movement): Fix version.
5420 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5422 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5423 Also match after beginning of line.
5424 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5425 files. Thanks to Russell Sim. (Bug#15378)
5427 2013-12-13 Juri Linkov <juri@jurta.org>
5429 * simple.el <Keypad support>: Remove key bindings duplicated
5430 with bindings.el. (Bug#14397)
5432 2013-12-13 Juri Linkov <juri@jurta.org>
5434 * comint.el (comint-mode-map): Replace `delete-char' with
5435 `delete-forward-char'. (Bug#16109)
5437 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5439 * progmodes/python.el (python-indent-calculate-indentation):
5440 Fix de-denters cornercase. (Bug#15731)
5442 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5445 (advice--make): Pay attention to `depth'.
5446 (advice--make-1): Don't autoload commands eagerly.
5447 * emacs-lisp/elp.el (elp-instrument-function):
5448 * emacs-lisp/trace.el (trace-function-internal):
5449 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5451 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5453 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5455 * term/w32-win.el (w32-handle-dropped-file):
5456 * startup.el (normal-top-level):
5457 * net/browse-url.el (browse-url-file-url):
5458 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5459 decode file names using 'utf-8' rather than
5460 file-name-coding-system.
5462 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5464 * progmodes/python.el (python-indent-context)
5465 (python-indent-calculate-indentation): Fix auto-identation
5466 behavior for comment blocks. (Bug#15916)
5468 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5470 * progmodes/python.el (python-indent-calculate-indentation):
5471 When determining indentation, don't treat "return", "pass", etc., as
5472 operators when they are just string constituents. (Bug#15812)
5474 2013-12-12 Juri Linkov <juri@jurta.org>
5476 * uniquify.el (uniquify-buffer-name-style): Change default to
5477 `post-forward-angle-brackets'.
5479 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5480 `uniquify'. Change default to `post-forward-angle-brackets'.
5482 2013-12-11 Glenn Morris <rgm@gnu.org>
5484 * emacs-lisp/package.el (finder-list-matches):
5485 Autoload rather than falsely declaring.
5487 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5489 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5490 (eww-mode-map): Use them.
5492 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5494 * window.el (display-buffer-in-side-window): Fix doc-string
5497 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5499 * vc/vc-git.el: Silence byte-compiler warnings.
5500 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5501 (log-edit-set-header): Declare.
5503 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5505 * Makefile.in (custom-deps, finder-data): Run output file names
5506 through unmsys--file-name. (Bug#16099)
5508 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5510 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5511 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5513 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5514 instead of deleting the selection "by hand" (bug#16098).
5515 Rely on insert-for-yank to yank rectangles.
5516 (cua-highlight-region-shift-only): Mark obsolete.
5517 (cua-mode): Don't enable/disable transient-mark-mode,
5518 shift-select-mode (cua-mode works both with and without them), and
5519 pc-selection-mode (obsolete).
5520 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5521 (cua--deactivate-rectangle): Deactivate it.
5523 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5524 (delete-selection-helper): Make sure yank starts at the top of the
5526 (minibuffer-keyboard-quit): Use region-active-p.
5528 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5530 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5531 to `delete' (bug#16109).
5533 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5535 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5536 info manual and show keybindings and set `:group' keyword.
5538 2013-12-11 Juri Linkov <juri@jurta.org>
5540 * delsel.el (delete-active-region): Let-bind `this-command'
5541 to prevent `kill-region' from changing its original value.
5542 (delete-selection-helper): Handle `overwrite-mode' for the type
5543 `kill' exactly the same way as for the type `t'.
5544 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5545 Support more commands. (Bug#13312)
5547 2013-12-11 Juri Linkov <juri@jurta.org>
5549 * bindings.el: Map kp keys to non-kp keys systematically
5550 with basic modifiers control, meta and shift. (Bug#14397)
5552 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5554 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5555 "Close browser" menu items. Fix wrong function of "List
5558 2013-12-11 Juri Linkov <juri@jurta.org>
5560 * misearch.el (multi-isearch-buffers): Set the value of
5561 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5562 arg of isearch-forward to t.
5563 (multi-isearch-buffers-regexp): Set the value of
5564 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5565 arg of isearch-forward-regexp to t.
5566 (multi-isearch-files): Set the value of
5567 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5568 arg of isearch-forward to t.
5569 (multi-isearch-files-regexp): Set the value of
5570 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5571 arg of isearch-forward-regexp to t. (Bug#16035)
5573 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5574 arg of isearch-forward to t.
5575 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5576 arg of isearch-forward-regexp to t.
5577 (dired-isearch-filter-filenames): Remove unnecessary check for
5578 `dired-isearch-filenames'.
5580 * comint.el (comint-history-isearch-backward):
5581 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5582 (comint-history-isearch-backward-regexp):
5583 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5585 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5587 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5588 unmsys--file-name. (Bug#16099)
5590 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5592 * emacs-lisp/package.el (package-keyword-button-action):
5593 Remove finder.el require dependency.
5595 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5597 * emacs-lisp/package.el: Require finder.el.
5598 (describe-package-1): Add keyword buttons.
5599 (package-make-button): New convenience function.
5600 (package-keyword-button-action): Keyword button action using
5601 `finder-list-matches'.
5603 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5605 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5608 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5610 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5613 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5615 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5616 after the end of a percent literal.
5618 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5620 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5621 Handle caret-delimited strings (Bug#16079).
5623 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5625 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5626 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5627 `ruby-parse-partial' (Bug#16078).
5629 2013-12-09 Leo Liu <sdl.web@gmail.com>
5631 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5633 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5635 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5636 (js-switch-indent-offset): New option.
5637 (js--proper-indentation): Use it. And handle the case when
5638 "default" is actually a key in an object literal.
5639 (js--same-line): New function.
5640 (js--multi-line-declaration-indentation): Use it.
5641 (js--indent-in-array-comp, js--array-comp-indentation):
5643 (js--proper-indentation): Use them, to handle array comprehension
5646 2013-12-08 Leo Liu <sdl.web@gmail.com>
5648 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5649 (flymake-make-overlay): Remove arg MOUSE-FACE.
5650 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5652 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5656 (redisplay-highlight-region-function): Use it.
5658 * emulation/cua-base.el (cua--explicit-region-start)
5659 (cua--last-region-shifted): Remove.
5660 (cua--deactivate): Use deactivate-mark.
5661 (cua--pre-command-handler-1): Don't handle shift-selection.
5662 (cua--post-command-handler-1): Don't change transient-mark-mode.
5663 (cua--select-keymaps): Use region-active-p rather than
5664 cua--explicit-region-start or cua--last-region-shifted.
5665 (cua-mode): Enable shift-select-mode.
5667 2013-12-08 Leo Liu <sdl.web@gmail.com>
5669 * progmodes/flymake.el (flymake-popup-current-error-menu):
5670 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5671 (flymake-posn-at-point-as-event, flymake-popup-menu)
5672 (flymake-make-emacs-menu): Remove. (Bug#16077)
5674 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * rect.el (rectangle-mark-mode): Activate mark even if
5677 transient-mark-mode is off (bug#16066).
5678 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5679 is > mark and at bolp.
5681 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5682 (region-extract-function): Use it.
5683 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5684 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5686 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5687 kill-ring-save, kill-region, delete-char, delete-forward-char.
5688 Ignore self-insert-iso.
5690 * emulation/cua-gmrk.el (cua--init-global-mark):
5691 Ignore `self-insert-iso'.
5693 * emulation/cua-base.el (cua--prefix-copy-handler)
5694 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5695 checking cua--rectangle.
5696 (cua-delete-region): Use region-extract-function.
5697 (cua-replace-region): Delete function.
5698 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5699 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5700 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5701 (cua--init-keymaps): Don't remap delete-selection commands.
5702 (cua-mode): Use delete-selection-mode instead of rolling our own
5705 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5706 Obey region-extract-function.
5708 Make registers and delete-selection-mode work on rectangles.
5709 * register.el (describe-register-1): Don't modify the register's value.
5710 (copy-to-register): Obey region-extract-function.
5711 * delsel.el (delete-active-region): Obey region-extract-function.
5713 2013-12-08 Leo Liu <sdl.web@gmail.com>
5715 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5716 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5717 (flymake-compilation-prevents-syntax-check)
5718 (flymake-start-syntax-check-on-newline)
5719 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5720 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5721 (flymake-xml-program, flymake-master-file-dirs)
5722 (flymake-master-file-count-limit)
5723 (flymake-allowed-file-name-masks): Relocate.
5724 (flymake-makehash, flymake-float-time)
5725 (flymake-replace-regexp-in-string, flymake-split-string)
5726 (flymake-get-temp-dir): Remove.
5727 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5728 (flymake-current-row, flymake-selected-frame)
5729 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5730 related functions. (Bug#16077)
5732 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5734 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5736 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5738 * help-fns.el (describe-function-1): Use new advice-* functions
5739 rather than old ad-* functions. Fix function type description and
5740 source links for advised functions and subrs.
5742 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5744 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5746 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5748 * progmodes/compile.el (compilation-start):
5749 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5751 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5752 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5754 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5756 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5757 Touch up the last change.
5759 2013-12-06 Leo Liu <sdl.web@gmail.com>
5761 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5762 (inferior-octave-startup): Always use "octave> " for prompt.
5763 (octave-goto-function-definition)
5764 (octave-sync-function-file-names)
5765 (octave-find-definition-default-filename): Remove redundant backquotes.
5767 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5769 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5771 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5772 where appropriate already.
5773 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5774 end of method names (Bug#15874).
5776 2013-12-06 Juri Linkov <juri@jurta.org>
5778 * isearch.el (isearch--saved-overriding-local-map):
5779 New internal variable.
5780 (isearch-mode): Set it to the initial value of
5781 `overriding-terminal-local-map'.
5782 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5783 with `isearch--saved-overriding-local-map'. (Bug#16035)
5785 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5787 * progmodes/octave.el (inferior-octave-completion-table):
5788 Turn back into function, use `completion-table-with-cache'
5789 (Bug#11906). Update all references.
5791 * minibuffer.el (completion-table-with-cache): New function.
5793 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5795 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5797 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5799 * net/eww.el (eww-current-source): New variable to store page
5801 (eww-display-html, eww-mode, eww-save-history)
5802 (eww-restore-history): Use it.
5803 (eww-view-source): New command to view page source.
5804 Opportunistically uses `html-mode' to highlight the buffer.
5805 (eww-mode-map): Install it.
5807 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5809 * net/dbus.el (dbus-unregister-service)
5810 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5812 (dbus-unregister-service): Skip :serial entries in
5813 `dbus-registered-objects-table'.
5814 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5816 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5818 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5819 around keywords with extra `split-string' argument.
5821 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5823 * windmove.el (windmove-other-window-loc): Handle navigation
5824 between windows (excluding the minibuffer window - Bug#16017).
5826 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5828 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5829 in D-Bus type syntax.
5830 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5831 preserve unibyte strings. (Bug#16048)
5833 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5835 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5836 Call force-mode-line-update is the proper buffer (bug#16042).
5838 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5840 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5841 `log-edit-remember-comment', make argument optional. Adjust all
5843 (log-edit-mode): Add `log-edit-remember-comment' to
5844 `kill-buffer-hook' locally.
5845 (log-edit-kill-buffer): Don't remember comment explicitly since
5846 the buffer is killed anyway.
5848 2013-12-04 Juri Linkov <juri@jurta.org>
5850 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5851 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5853 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5855 * notifications.el (notifications-close-notification): Call the
5856 D-Bus method with ID being a `:uint32'. (Bug#16030)
5858 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5860 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5862 2013-12-03 Juri Linkov <juri@jurta.org>
5864 * progmodes/compile.el (compilation-start): Rename window alist
5865 entry `no-display-ok' to `allow-no-window'.
5867 * simple.el (shell-command): Add window alist entry
5868 `allow-no-window' to `display-buffer'.
5869 (async-shell-command): Doc fix.
5871 * window.el (display-buffer-no-window): New action function.
5872 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5874 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5876 * vc/log-edit.el (log-edit-set-header): Extract from
5877 `log-edit-toggle-header'.
5878 (log-edit-extract-headers): Separate the summary, when extracted
5879 from header, from the rest of the message with an empty line.
5881 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5882 line, if present, to the Summary header.
5884 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5887 in current-buffer (bug#16029).
5889 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5891 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5892 (debugger-mode-map): Bind it.
5893 (debugger--backtrace-base): New function.
5894 (debugger-eval-expression): Use it.
5895 (debugger-frame-number): Skip local vars when present.
5896 (debugger--locals-visible-p, debugger--insert-locals)
5897 (debugger--show-locals, debugger--hide-locals): New functions.
5899 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5901 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5903 (tramp-get-remote-locale): New defun.
5904 (tramp-open-connection-setup-interactive-shell): Use it.
5906 2013-12-02 Leo Liu <sdl.web@gmail.com>
5908 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5910 * progmodes/sh-script.el (sh-shell-process):
5911 * progmodes/octave.el (inferior-octave-process-live-p):
5912 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5913 (gdb-inferior-io-sentinel):
5914 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5916 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5918 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5919 `save-selected-window' to `log-edit-hide-buf'. This makes
5920 `log-edit-show-files' idempotent.
5921 (log-edit-show-files): Mark the new window as dedicated.
5923 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5925 * vc/log-edit.el (log-edit-mode-map): Add binding for
5926 `log-edit-kill-biffer'.
5927 (log-edit-hide-buf): Add a FIXME comment.
5928 (log-edit-add-new-comment): New function, extracted from
5930 (log-edit-done, log-edit-add-to-changelog): Use it.
5931 (log-edit-kill-buffer): New command.
5933 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5936 instead of killing the buffer.
5938 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5940 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5942 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5944 * net/eww.el (eww-form-checkbox-selected-symbol)
5945 (eww-form-checkbox-symbol): New customizable variable.
5946 (eww-form-checkbox, eww-toggle-checkbox):
5947 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5949 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5950 (shr--get-media-pref, shr--extract-best-source): New function.
5951 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5952 no :src tag was specified.
5954 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5955 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5956 Use \\` to match beginning of string instead of ^.
5957 (eww-browse-with-external-browser): Provide optional URL parameter.
5958 (eww-render): Set `eww-current-title' back to "".
5960 * net/shr.el (shr-tag-video): Display content for video if no
5961 poster is available.
5962 (shr-tag-audio): Add support for <audio> tag.
5964 * net/eww.el (eww-text-input-types): New const.
5965 (eww-process-text-input): Treat input types in
5966 `eww-text-input-types' as text.
5968 * net/shr.el (shr-tag-table): Fix comment typo.
5970 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5972 * net/eww.el (eww-follow-link): New command to avoid reloading
5973 pages when we follow #target links (bug#15243).
5974 (eww-quit): Special mode buffers shouldn't query before exiting.
5976 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5978 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5981 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983 * net/eww.el (eww-restore-history): Update the window title after
5984 moving in the history.
5985 (eww-current-dom): New variable used to save the current DOM.
5987 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5989 * vc/log-edit.el (log-edit-mode-map): Add binding for
5990 `log-edit-beginning-of-line'.
5991 (log-edit-setup-add-author): New user option.
5992 (log-edit-beginning-of-line): New command.
5993 (log-edit): Move major mode call above the contents setup so that
5994 the local variable values are already applied.
5995 (log-edit): Only insert "Author: " when
5996 `log-edit-setup-add-author' is non-nil.
5997 (log-edit): When SETUP is non-nil, position point after ": "
5998 instead of point-min.
6000 2013-12-01 Glenn Morris <rgm@gnu.org>
6002 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6004 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6006 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6007 redisplay to make sure the initial frame gets a chance to become
6008 visible. (Bug#16014)
6010 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6012 Support resizing frames and windows pixelwise.
6013 * cus-start.el (frame-resize-pixelwise)
6014 (window-resize-pixelwise): New entries.
6015 * emacs-lisp/debug.el (debug): Use window-total-height instead
6016 of window-total-size.
6017 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6018 * help.el (describe-bindings-internal): Use help-buffer as
6019 argument for with-help-window.
6020 (temp-buffer-max-width): New option.
6021 (resize-temp-buffer-window, help-window-setup)
6022 (with-help-window): Rewrite.
6023 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6025 * window.el (frame-char-size, window-min-pixel-height)
6026 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6027 (window-min-pixel-width, window-safe-min-pixel-size)
6028 (window-combination-p, window-safe-min-size)
6029 (window-resizable-p, window--size-to-pixel)
6030 (window--pixel-to-size, window--resize-apply-p): New functions.
6031 (window-safe-min-height): Fix doc-string.
6032 (window-size, window-min-size, window--min-size-1)
6033 (window-sizable, window-sizable-p, window--min-delta-1)
6034 (window-min-delta, window--max-delta-1, window-max-delta)
6035 (window--resizable, window--resizable-p, window-resizable)
6036 (window-full-height-p, window-full-width-p, window-at-side-p)
6037 (window--in-direction-2, window-in-direction)
6038 (window--resize-reset-1, window--resize-mini-window)
6039 (window-resize, window-resize-no-error)
6040 (window--resize-child-windows-normal)
6041 (window--resize-child-windows, window--resize-siblings)
6042 (window--resize-this-window, window--resize-root-window)
6043 (window--resize-root-window-vertically)
6044 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6045 (maximize-window, minimize-window, delete-window)
6046 (quit-restore-window, window-split-min-size, split-window)
6047 (balance-windows-2, balance-windows)
6048 (balance-windows-area-adjust, balance-windows-area)
6049 (window--state-get-1, window-state-get, window--state-put-1)
6050 (window--state-put-2, window-state-put)
6051 (display-buffer-record-window, window--display-buffer):
6052 Make functions handle pixelwise sizing of windows.
6053 (display-buffer--action-function-custom-type)
6054 (display-buffer-fallback-action):
6055 Add display-buffer-in-previous-window.
6056 (display-buffer-use-some-window): Resize window to height it had
6058 (fit-window-to-buffer-horizontally): New option.
6059 (fit-frame-to-buffer): Describe new values.
6060 (fit-frame-to-buffer-bottom-margin): Replace with
6061 fit-frame-to-buffer-margins.
6062 (window--sanitize-margin): New function.
6063 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6064 using window-text-pixel-size.
6066 2013-11-30 Glenn Morris <rgm@gnu.org>
6068 * emacs-lisp/bytecomp.el (byte-compile-form):
6069 Make the `interactive-only' warning like the `obsolete' one.
6070 * comint.el (comint-run):
6071 * files.el (insert-file-literally, insert-file):
6072 * replace.el (replace-string, replace-regexp):
6073 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6074 (goto-line, insert-buffer, next-line, previous-line):
6075 Tweak `interactive-only' spec.
6077 Stop keeping (most) generated cedet grammar files in the repository.
6078 * Makefile.in (semantic): New.
6079 (compile-main): Depend on semantic.
6081 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6083 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6084 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6086 * uniquify.el (uniquify-buffer-name-style): Change default.
6088 * loadup.el: Preload "uniquify".
6090 * time.el (display-time-update): Update all mode lines (bug#15999).
6092 * electric.el (electric-indent-mode): Enable by default.
6093 * loadup.el: Preload "electric".
6095 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6097 * emacs-lisp/helpers.el (string-empty-p): New function.
6098 (string-blank-p): New function.
6100 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6102 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6105 2013-11-29 Andreas Politz <politza@fh-trier.de>
6106 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6107 allow non-lambda lists as functions.
6108 (imenu--in-alist): Don't recurse into non-subalists.
6109 (imenu): Don't pass function itself as an argument (Bug#14029).
6111 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6113 * progmodes/python.el (python-mode-map): Remove binding for ":".
6114 (python-indent-electric-colon): Remove command.
6115 (python-indent-post-self-insert-function): Integrate the previous code
6116 of python-indent-electric-colon. Make it conditional on
6117 electric-indent-mode.
6118 (python-mode): Add ?: to electric-indent-chars.
6119 Move python-indent-post-self-insert-function to the end of
6120 post-self-insert-hook.
6122 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6124 * doc-view.el (doc-view-goto-page): Update mode-line.
6126 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6128 2013-11-27 Glenn Morris <rgm@gnu.org>
6130 * international/charprop.el, international/uni-bidi.el:
6131 * international/uni-category.el, international/uni-combining.el:
6132 * international/uni-comment.el, international/uni-decimal.el:
6133 * international/uni-decomposition.el, international/uni-digit.el:
6134 * international/uni-lowercase.el, international/uni-mirrored.el:
6135 * international/uni-name.el, international/uni-numeric.el:
6136 * international/uni-old-name.el, international/uni-titlecase.el:
6137 * international/uni-uppercase.el:
6138 Remove generated files from VCS repository.
6140 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6142 * filenotify.el (file-notify-add-watch): Don't special-case
6143 w32notify when computing the directory to watch.
6145 2013-11-27 Glenn Morris <rgm@gnu.org>
6147 Make bootstrap without generated uni-*.el files possible again.
6148 * loadup.el: Update command-line-args checking for unidata-gen.
6149 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6150 * composite.el, international/characters.el:
6151 Handle unicode tables being undefined.
6153 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6154 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6155 (compile-main): Depend on leim rule.
6157 * loadup.el: Move leim-list.el to leim/ subdirectory.
6158 * startup.el (normal-top-level): No more leim directory.
6159 * international/ja-dic-cnv.el (skkdic-convert):
6160 Disable version-control and autoloads in output files.
6161 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6162 Disable version-control and autoloads in output files.
6163 * leim/quail: Move here from ../leim.
6164 * leim/quail/hangul.el (hangul-input-method-activate):
6165 Add autoload cookie.
6166 (generated-autoload-load-name): Set file-local value.
6167 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6168 (generated-autoload-load-name): Set file-local value.
6170 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6172 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6173 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6174 (eww-quit): Ask confirmation before quitting eww.
6176 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6178 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6179 reading output from Diff on MS-Windows and MS-DOS.
6181 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6183 * emacs-lisp/helpers.el (string-reverse): New function.
6185 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6187 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6188 names on MS Windows, like "/[::1]:".
6190 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6193 2013-11-26 Glenn Morris <rgm@gnu.org>
6195 * progmodes/python.el (python-indent-guess-indent-offset):
6196 Avoid corner-case error. (Bug#15975)
6198 Preload leim-list.el. (Bug#4789)
6199 * loadup.el: Load leim-list.el when found.
6200 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6202 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6204 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6206 * emacs-lisp/helpers.el (string-join): New function.
6208 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6210 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6211 Mark as obsolete and replace it with a symbol property.
6212 (byte-compile-form): Use new 'interactive-only property.
6213 * comint.el, files.el, replace.el, simple.el:
6214 Apply new 'interactive-only properly.
6216 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6218 * window.el (display-buffer-at-bottom): Make sure that
6219 split-window-sensibly creates the new window on bottom
6222 2013-11-23 David Kastrup <dak@gnu.org>
6224 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6225 on the conflict markers when available.
6226 (smerge--get-marker): New function.
6227 (smerge-end-re, smerge-base-re): Add subgroup.
6229 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6231 * frame.el (handle-focus-in, handle-focus-out): Add missing
6234 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6236 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6237 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6239 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6242 (gomoku--last-pos): New var.
6243 (gomoku--intangible-chars): New const.
6244 (gomoku--intangible): New function.
6245 (gomoku-mode): Use it. Derive from special-mode.
6246 (gomoku-move-up): Adjust line count.
6247 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6248 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6249 Simplify accordingly.
6251 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6252 Remove blink-cursor code.
6253 (blink-cursor-timer-function, blink-cursor-suspend):
6254 Don't special-case GUIs.
6255 (blink-cursor-mode): Use focus-in/out-hook.
6257 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6259 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6260 work when annotation is invisible (Bug#13886).
6262 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6264 * json.el (json-alist-p): Only return non-nil if the alist has
6265 simple keys (Bug#13518).
6267 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6269 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6270 when control-statement is the first statement in a buffer (Bug#15956).
6272 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6274 * imenu.el (imenu-generic-skip-comments-and-strings):
6275 New option (Bug#15560).
6276 (imenu--generic-function): Use it.
6278 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6280 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6283 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6285 * emacs-lisp/helpers.el: Add some string helpers.
6286 (string-trim-left): Removes leading whitespace.
6287 (string-trim-right): Removes trailing whitespace.
6288 (string-trim): Removes leading and trailing whitespace.
6290 * subr.el (string-suffix-p): New function.
6292 2013-11-23 Glenn Morris <rgm@gnu.org>
6294 * progmodes/python.el (python-shell-send-file):
6295 Add option to delete file when done. (Bug#15647)
6296 (python-shell-send-string, python-shell-send-region): Use it.
6298 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6300 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6301 to set buffer-read-only to t, never to nil. (Bug#15938)
6303 * textmodes/tex-mode.el (latex-noindent-environments):
6304 Add safe-local-variable property. (Bug#15936)
6306 2013-11-23 Glenn Morris <rgm@gnu.org>
6308 * textmodes/enriched.el (enriched-mode): Doc fix.
6309 * emacs-lisp/authors.el (authors-renamed-files-alist):
6310 Add enriched.doc -> enriched.txt.
6312 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6314 2013-11-22 Leo Liu <sdl.web@gmail.com>
6316 * progmodes/octave.el (inferior-octave-startup): Spit out error
6319 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6321 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6324 (ruby-encoding-magic-comment-style): Add :version.
6326 2013-11-22 Leo Liu <sdl.web@gmail.com>
6328 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6330 (octave-help-mode): Adapt to change to help-mode-finish to use
6331 derived-mode-p on 2013-09-17.
6332 (inferior-octave-prompt): Also match octave-gui.
6333 (octave-kill-process): Don't ask twice. (Bug#10564)
6335 2013-11-22 Leo Liu <sdl.web@gmail.com>
6337 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6338 (inferior-octave-startup, inferior-octave-check-process)
6339 (inferior-octave-track-window-width-change)
6340 (octave-completion-at-point, octave-eldoc-function): Use it.
6341 (octave-kill-process): Provide confirmation. (Bug#10564)
6343 2013-11-21 Leo Liu <sdl.web@gmail.com>
6345 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6346 Fix obsolete variable comment-use-global-state.
6348 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6350 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6351 Add `octave-source-file'.
6352 (octave-source-file): New function. (Bug#15935)
6354 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6356 * net/eww.el (eww-local-regex): New variable.
6357 (eww): Use it to detect localhost and similar.
6359 2013-11-21 Leo Liu <sdl.web@gmail.com>
6361 Add completion for command `ag'.
6362 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6363 (pcomplete/ag): New function.
6364 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6366 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6368 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6370 (make-obsolete): Remove interactive spec.
6372 2013-11-21 Glenn Morris <rgm@gnu.org>
6374 * startup.el (command-line-1): Use path-separator with -L.
6376 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6378 * emacs-lisp/package.el (describe-package-1): Add package archive
6381 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6383 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6384 Change default to "# encoding: %s" to differentiate it from the
6385 default Ruby encoding comment template.
6387 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6389 * ses.el (ses-mode): Doc fix. (Bug#14748)
6391 2013-11-20 Leo Liu <sdl.web@gmail.com>
6393 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6395 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6397 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6398 when rebase or bisect are in progress.
6400 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6402 * filenotify.el (file-notify-add-watch): Doc fix.
6404 2013-11-19 Leo Liu <sdl.web@gmail.com>
6406 * obsolete/rcompile.el: Mark obsolete.
6408 * progmodes/compile.el (compilation-start)
6409 (compilation-goto-locus, compilation-find-file):
6410 Pass no-display-ok and handle nil value from display-buffer.
6413 * window.el (display-buffer-alist, display-buffer): Document the
6414 new parameter no-display-ok. Return either a window or nil
6415 but never a non-window value.
6417 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * electric.el (electric-indent-mode-map): Remove.
6420 (electric-indent-mode): Change the global-map instead (bug#15915).
6422 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6425 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * emacs-lisp/nadvice.el (remove-function): Align with
6428 add-function's behavior.
6430 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6431 (gdb--string-regexp): New constant.
6432 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6433 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6434 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6436 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6437 Adjust use accordingly.
6438 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6440 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6442 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6443 interpolation curlies (Bug#15914).
6445 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6447 * calc/calc.el (calc-context-sensitive-enter): New variable.
6448 (calc-enter): Use `calc-context-sensitive-enter'.
6450 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6452 * progmodes/cfengine.el: Version bump.
6453 (cfengine-cf-promises): New defcustom to locate cf-promises.
6454 (cfengine3-vartypes): Add new "data" type.
6455 (cfengine3--current-word): New function to get current name-like
6457 (cfengine3--current-function): New function to look up a CFEngine
6458 function's definition.
6459 (cfengine3-format-function-docstring): New function.
6460 (cfengine3-make-syntax-cache): New function.
6461 (cfengine3-documentation-function): New function: ElDoc glue.
6462 (cfengine3-completion-function): New function: completion glue.
6463 (cfengine3-mode): Set `compile-command',
6464 `eldoc-documentation-function', and add to
6465 `completion-at-point-functions'.
6467 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6469 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6470 `tramp-current-connection'.
6472 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6475 nil/self/true/false with "end of symbol".
6477 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6479 * subr.el (version-regexp-alist): Fix a typo.
6481 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6483 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6484 "en_US.utf8" and "LC_CTYPE" to "".
6485 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6486 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6488 2013-11-15 Leo Liu <sdl.web@gmail.com>
6490 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6492 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6494 * progmodes/gud.el (ctl-x-map):
6495 Remove C-x SPC binding. (Bug#12342)
6496 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6498 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6500 * subr.el (version-regexp-alist):
6501 Recognize hg, svn and darcs versions as snapshot versions.
6503 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6504 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6505 (ruby--encoding-comment-required-p): Extract from
6506 `ruby-mode-set-encoding'.
6507 (ruby-mode-set-encoding): Add the ability to always insert an
6508 utf-8 encoding comment. Fix and simplify coding comment update
6511 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6513 * net/tramp-gvfs.el (top): Run init code only when
6514 `tramp-gvfs-enabled' is not nil.
6515 (tramp-gvfs-enabled): Check also :system bus.
6517 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6519 Sync with upstream verilog-mode revision 78e66ba.
6520 * progmodes/verilog-mode.el (verilog-end-of-defun)
6521 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6522 (verilog-get-end-of-defun): Remove unused argument.
6523 (verilog-comment-depth): Remove unused local `e'.
6524 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6525 Don't pass arg to verilog-get-end-of-defun.
6527 2013-11-14 Glenn Morris <rgm@gnu.org>
6529 * obsolete/assoc.el (aget): Prefix dynamic variable.
6531 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6533 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6535 * widget.el, hfy-cmap.el: Remove bogus package version number.
6537 2013-11-13 Glenn Morris <rgm@gnu.org>
6539 * replace.el (replace-eval-replacement):
6540 Try to give more helpful error message. (Bug#15836)
6542 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6543 (archive-7z-update): Avoid custom type mismatches.
6545 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6547 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6549 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6550 address can be empty.
6552 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6553 Accept nil SWITCHES.
6554 (tramp-gvfs-handle-write-region): Implement APPEND.
6556 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6558 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6559 binary "|" operator and closing block args delimiter.
6560 Remove FIXME comment referring to Ruby 1.8-only syntax.
6561 (ruby-smie--implicit-semi-p): Not after "|" operator.
6562 (ruby-smie--closing-pipe-p): New function.
6563 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6564 (ruby-smie-rules): Indent after "|".
6566 2013-11-12 Glenn Morris <rgm@gnu.org>
6568 * ps-print.el (ps-face-attribute-list):
6569 Handle anonymous faces. (Bug#15827)
6571 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6573 * window.el (display-buffer-other-frame): Fix doc-string.
6576 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6578 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6580 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6582 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6583 (tramp-sh-handle-file-local-copy): Don't write a message when
6584 saving temporary files.
6586 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6587 both directories are remote.
6588 (tramp-smb-handle-directory-files): Do not return double entries.
6589 Do not expand full file names.
6590 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6591 (tramp-smb-handle-write-region): Implement APPEND.
6592 (tramp-smb-get-stat-capability): Fix a stupid bug.
6594 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6598 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6600 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6601 throwing error over malformed let/let* (bug#15814).
6603 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * iswitchb.el (iswitchb-mode): Mark obsolete.
6607 2013-11-11 Glenn Morris <rgm@gnu.org>
6609 * international/uni-bidi.el, international/uni-category.el:
6610 * international/uni-name.el, international/uni-numeric.el:
6611 Regenerate for Unicode 6.3.0.
6613 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6615 * net/tramp.el (tramp-methods):
6616 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6617 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6619 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6621 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6622 Force highlighting text after Summary keyword in doc face for rpm.
6624 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6626 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6627 available and the word has no wildcards, append one to the grep pattern.
6628 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6629 (ispell-complete-word): Call `ispell-lookup-words' with the value
6630 independent of `ispell-look-p'.
6632 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6634 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6636 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6639 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6642 (ruby-font-lock-keywords): Use backquote.
6644 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6646 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6647 (ruby-smie--backward-token): Only consider full-string matches.
6649 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6651 * faces.el (describe-face): Add distant-foreground.
6653 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6655 * progmodes/ruby-mode.el: Improve encoding comment handling.
6656 (ruby-encoding-magic-comment-style): New option.
6657 (ruby-custom-encoding-magic-comment-template): New option.
6658 (ruby--insert-coding-comment, ruby--detect-encoding):
6659 New functions extracted from `ruby-mode-set-encoding'.
6660 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6661 to control the style of the auto-inserted encoding comment.
6663 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6665 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6666 Use `smie-backward-sexp' with token argument.
6668 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6670 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6671 Remove instrumentation code.
6673 2013-11-08 Glenn Morris <rgm@gnu.org>
6675 * progmodes/autoconf.el (autoconf-mode):
6676 Tweak comment-start-skip. (Bug#15822)
6678 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6680 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6681 at bobp (bug#15826).
6682 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6684 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6686 * man.el (Man-start-calling): New macro, extracted from
6687 Man-getpage-in-background.
6688 (Man-getpage-in-background): Use it.
6689 (Man-update-manpage): New command.
6690 (Man-mode-map): Bind it.
6692 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6694 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6695 of "and", "or", "&&" and "||".
6696 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6697 argument. Prohibit opening curly brace because it could only be a
6698 block opener in that position.
6699 (ruby-smie--forward-token, ruby-smie--backward-token):
6700 Separate "|" from "&" or "*" going after it. That can happen in block
6702 (ruby-smie--indent-to-stmt): New function, seeks the end of
6703 previous statement or beginning of buffer.
6704 (ruby-smie-rules): Use it.
6705 (ruby-smie-rules): Check if there's a ":" before a curly block
6706 opener candidate; if there is, it's a hash.
6708 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6710 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6711 (cl--block-wrapper): Fix last accidental change.
6713 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6715 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6716 Instrument, in order to hunt failure on hydra.
6718 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6720 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6721 malformed bindings form (bug#15814).
6723 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6725 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6726 "." compared to " @ ". This incidentally fixes some indentation
6728 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6729 (ruby-smie-grammar): New tokens: "and" and "or".
6730 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6731 Exclude "and" and "or". Remove "do" in order to work around token
6733 (ruby-smie-rules): Add all infix tokens. Handle the case of
6734 beginning-of-buffer.
6736 2013-11-06 Glenn Morris <rgm@gnu.org>
6738 * Makefile.in (setwins_almost, setwins_for_subdirs):
6739 Avoid accidental matches.
6741 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * menu-bar.el (popup-menu): Use key-binding.
6745 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6747 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6748 menus, support also the menus produced by minor modes.
6751 2013-11-06 Leo Liu <sdl.web@gmail.com>
6753 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6754 DISTANCE to bound the search. All uses changed. (Bug#15808)
6756 2013-11-06 Glenn Morris <rgm@gnu.org>
6758 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6759 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6760 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6762 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * electric.el (electric-indent-just-newline): New command.
6765 (electric-indent-mode-map): New keymap.
6766 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6767 Re-add :group which weren't redundant.
6769 * electric.el (electric-indent-local-mode): New minor mode.
6770 (electric-indent-functions-without-reindent): New var.
6771 (electric-indent-post-self-insert-function): Use it.
6772 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6774 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6776 * international/quail.el (quail-help): Be more explicit about the
6777 meaning of the labels shown on the keys. (Bug#15800)
6779 * startup.el (normal-top-level): Load the subdirs.el files before
6780 setting the locale environment. (Bug#15805)
6782 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6785 via arguments so as to get the right ones (bug#15418).
6787 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6789 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6791 Fix problems found while writing a test suite.
6793 * net/tramp-compat.el (tramp-compat-load): New defun.
6794 * net/tramp.el (tramp-handle-load): Use it.
6796 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6797 "(numberp ok-if-already-exists)" correctly.
6799 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6801 * international/characters.el (glyphless-char-display-control):
6804 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6806 * progmodes/python.el (python-mode):
6807 * progmodes/scheme.el (scheme-mode):
6808 * progmodes/prolog.el (prolog-mode):
6809 * progmodes/ruby-mode.el (ruby-mode):
6810 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6811 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6813 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * rect.el (rectangle--highlight-for-redisplay):
6816 * emacs-lisp/smie.el (smie--next-indent-change):
6817 Use buffer-chars-modified-tick.
6819 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6821 * electric.el (electric-indent-post-self-insert-function):
6822 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6824 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6826 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6828 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6830 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6833 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6835 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6837 * progmodes/python.el: Fix up last change.
6838 (python-shell--save-temp-file): New function.
6839 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6840 `string' comes from the current buffer.
6841 (python-shell-send-string-no-output): Remove `msg' arg.
6842 (python--use-fake-loc): New var.
6843 (python-shell-buffer-substring): Obey it. Try to compensate for the
6844 extra coding line added by python-shell--save-temp-file.
6845 (python-shell-send-region): Use python-shell--save-temp-file and
6846 python-shell-send-file directly. Add `nomain' argument.
6847 (python-shell-send-buffer): Use python-shell-send-region.
6848 (python-electric-pair-string-delimiter): New function.
6849 (python-mode): Use it.
6851 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6853 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6854 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6855 environment and decoding all of the default-directory's to here
6857 (command-line): Decode also argv[0].
6859 * loadup.el: Error out if default-directory is a multibyte string
6860 when we are dumping.
6862 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6864 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6866 * emacs-lisp/package.el (package-menu-mode)
6867 (package-menu--print-info, package-menu--archive-predicate):
6868 Add Archive column to package list.
6870 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6872 Fix problems found while writing a test suite.
6874 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6875 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6876 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6877 to nil when running original file name handler. Otherwise,
6878 there are problems with constructs like "$$FOO".
6880 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6883 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6885 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6887 * subr.el (version<, version<=, version=):
6888 Update docstrings with information for snapshot versions.
6890 * helpers.el: New library for misc helper functions.
6891 (hash-table-keys): New function returning a list of hash keys.
6892 (hash-table-values): New function returning a list of hash values.
6894 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6896 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6897 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6899 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6901 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6902 checking whether point is after a 1-letter word.
6904 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6906 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6907 Don't infloop when expanding region over `multiline' syntax-type that
6908 begins a line (bug#15778).
6910 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6913 Make it into a proper minor mode.
6914 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6915 (rectangle-mark-mode-map): New keymap.
6916 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6918 2013-11-04 Glenn Morris <rgm@gnu.org>
6920 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6922 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6925 (ruby-smie-rules): Use smie-rule-parent instead.
6927 * emacs-lisp/smie.el (smie-rule-parent): Always call
6928 smie-indent-virtual rather than only for hanging tokens.
6929 (smie--next-indent-change): New helper command.
6931 2013-11-03 Glenn Morris <rgm@gnu.org>
6933 * Makefile.in (abs_srcdir): Remove.
6934 (emacs): Unset EMACSLOADPATH.
6936 2013-11-02 Glenn Morris <rgm@gnu.org>
6938 * Makefile.in (EMACS): Use a relative filename.
6939 (abs_top_builddir): Remove.
6940 (custom-deps, finder-data, autoloads): Use --chdir.
6942 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6944 Use relative filenames in TAGS files.
6945 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6946 (lisptagsfiles4, TAGS): Use relative file names.
6947 (TAGS-LISP): Remove.
6948 (maintainer-clean): No more TAGS-LISP file.
6950 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6951 (lisptagsfiles4): Use absolute filenames again.
6952 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6953 Remove all *loaddefs files, not just the first. Remove esh-groups.
6954 (maintainer-clean): Delete TAGS, TAGS-LISP.
6956 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6958 * emacs-lisp/package.el (package-version-join):
6959 Recognize snapshot versions.
6961 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6963 * subr.el (version-regexp-alist): Add support for snapshot versions.
6965 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6967 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6968 New function, replacement for `smie-rule-parent' for when we want to
6969 skip over our direct parent if it's an assignment token..
6970 (ruby-smie-rules): Use it.
6972 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6974 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6975 unconditionally. Remove now unnecessary forward declarations.
6976 Remove XEmacs-specific setup.
6977 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6978 (ruby-font-lock-syntactic-keywords)
6979 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6980 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6981 (ruby-here-doc-end-syntax): Remove.
6982 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6983 defined as function.
6985 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6987 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6989 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6991 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6992 table and abbrev table, `define-derived-mode' does that for us
6995 2013-11-01 Glenn Morris <rgm@gnu.org>
6997 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6998 files is atomic for some time, so no parallel compilation issues).
7000 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7002 * faces.el (face-x-resources): Add :distant-foreground.
7003 (region): Use :distant-foreground for gtk and ns.
7005 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7007 Allow multiple bibliographies when BibLaTeX is used rather than
7009 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7010 (reftex-locate-bibliography-files): Us it.
7012 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7014 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7015 allow comments in pbm files.
7017 * term/w32-win.el (dynamic-library-alist): Support newer versions
7018 of libjpeg starting with v7: look only for the DLL from the
7019 version against which Emacs was built.
7020 Support versions of libpng beyond 1.4.x.
7021 Support libtiff v4.x.
7023 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7025 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7026 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7028 (ruby-deep-arglist): Add property :type.
7030 2013-10-31 Glenn Morris <rgm@gnu.org>
7032 * Makefile.in (custom-deps, finder-data): No need to setq the target
7033 variables, we are in the right directory and the defaults work fine.
7035 2013-10-30 Glenn Morris <rgm@gnu.org>
7037 * Makefile.in (autoloads): Do not use abs_lisp.
7039 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7040 `newline' does not respect `standard-output', so use `princ'.
7042 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7044 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7045 * buff-menu.el (Buffer-menu--unmark): New function.
7046 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7048 2013-10-30 Glenn Morris <rgm@gnu.org>
7050 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7052 * emacs-lisp/package.el (lm-homepage): Declare.
7054 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7057 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7059 * Makefile.in (finder-data, autoloads, update-subdirs)
7060 (compile-main, compile-clean, compile-always, bootstrap-clean):
7061 Check return value of cd.
7062 (compile-calc): Remove.
7064 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7066 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7068 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7069 (byte-compile-and-folded): New function.
7070 (=, <, >, <=, >=): Use it.
7072 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7073 (path-separator, null-device, buffer-file-coding-system)
7074 (lpr-headers-switches): Check system-type before modifying them.
7075 (find-buffer-file-type-coding-system): Mark obsolete.
7076 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7077 find-file-not-found-set-buffer-file-coding-system.
7078 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7079 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7080 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7081 (w32-direct-print-region-helper, w32-direct-print-region-function)
7082 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7083 * startup.el (normal-top-level-add-subdirs-to-load-path):
7084 * ps-print.el (ps-print-region-function):
7085 * lpr.el (print-region-function): Use new name.
7087 * subr.el (custom-declare-variable-early): Remove function.
7088 (custom-declare-variable-list): Remove var.
7089 (error, user-error): Remove `while' loop.
7090 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7091 (user-emacs-directory-warning, locate-user-emacs-file):
7093 * simple.el (read-quoted-char-radix, read-quoted-char):
7094 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7096 * custom.el (custom-declare-variable-list): Don't process
7097 custom-declare-variable-list.
7099 * progmodes/python.el (python-shell-get-buffer): New function.
7100 (python-shell-get-process): Use it.
7101 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7102 Python which encoding was used. Don't split-string since we only care
7103 about the first line. Return the temp-file, if applicable.
7104 (python-shell-send-region): Tell compile.el how to turn locations in
7105 the temp-file into locations in the source buffer.
7107 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7109 * subr.el (undefined): Add missing behavior from the C code for
7112 * rect.el: Use lexical-binding. Add new rectangular region support.
7113 (rectangle-mark): New command.
7114 (rectangle--region): New var.
7115 (deactivate-mark-hook): Reset rectangle--region.
7116 (rectangle--extract-region, rectangle--insert-for-yank)
7117 (rectangle--highlight-for-redisplay)
7118 (rectangle--unhighlight-for-redisplay): New functions.
7119 (region-extract-function, redisplay-unhighlight-region-function)
7120 (redisplay-highlight-region-function): Use them to handle
7122 * simple.el (region-extract-function): New var.
7123 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7124 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7125 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7126 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7127 (redisplay-unhighlight-region-function)
7128 (redisplay-highlight-region-function): New vars.
7129 (redisplay--update-region-highlight): New function.
7130 (pre-redisplay-function): Use it.
7131 (exchange-point-and-mark): Don't deactivate the mark before
7132 reactivate-it anyway.
7133 * comint.el (comint-kill-region): Remove yank-handler argument.
7134 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7135 (delete-char): Remove property, since it's now part of their
7137 (self-insert-iso): Remove property since this command doesn't exist.
7139 * emacs-lisp/package.el (package--download-one-archive)
7140 (describe-package-1): Don't query the user about final newline.
7142 2013-10-29 Daniel Colascione <dancol@dancol.org>
7144 * net/tramp.el (tramp-methods): Document new functionality.
7145 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7146 tramp-hostname-checker if method provides one instead of scanning
7147 argument list for "%h" to decide hostname acceptability.
7149 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7151 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7152 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7153 Handle COPY-CONTENTS. (Bug#15737)
7155 2013-10-28 Daiki Ueno <ueno@gnu.org>
7157 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7158 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7160 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7162 * image.el (defimage, image-load-path): Doc fixes.
7164 2013-10-27 Alan Mackenzie <acm@muc.de>
7166 Indent statements in macros following "##" correctly.
7167 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7168 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7170 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7172 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7174 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7176 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7177 after `=' is probably a new expression.
7179 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7181 * man.el (man-imenu-title): New option.
7182 (Man-mode-map): Add menu. (Bug#15722)
7183 (Man-mode): Add imenu to menu.
7185 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7187 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7188 specific in what the first arg can be: a non-keyword word,
7189 string/regexp/percent literal opener, opening paren, or unary
7190 operator followed directly by word.
7192 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7194 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7195 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7196 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7197 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7198 Remove vars, they do not apply any more.
7199 (prolog-mode-abbrev-table): Remove redundant declaration.
7200 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7201 (prolog-use-smie): Remove.
7202 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7203 supported by prolog-electric-if-then-else-flag.
7204 (prolog-mode-variables, prolog-menu): Use setq-local.
7205 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7206 Remove binding to `Backspace' since this key doesn't exist anyway.
7207 Remove bindings for electric self-inserting keys.
7208 (prog-mode): Assume it's defined.
7209 (prolog-post-self-insert): New function.
7210 (prolog-mode): Use it.
7211 (prolog-indent-line, prolog-indent-level)
7212 (prolog-find-indent-of-matching-paren)
7213 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7214 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7215 (prolog-goto-next-paren, prolog-in-string-or-comment)
7216 (prolog-tokenize, prolog-inside-mline-comment)
7217 (prolog-find-start-of-mline-comment): Remove functions.
7218 (prolog-find-unmatched-paren, prolog-clause-end)
7219 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7220 (prolog-electric--if-then-else): Rename from
7221 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7222 (prolog-tokenize-searchkey): Remove const.
7223 (prolog-clause-info): Use forward-sexp.
7224 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7225 (prolog-electric-if-then-else): Remove commands.
7226 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7227 for use in post-self-insert-hook.
7228 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7229 for use in post-self-insert-hook.
7230 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7231 for use in post-self-insert-hook.
7232 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7233 adapt it for use in post-self-insert-hook.
7235 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7237 * emacs-lisp/ert.el (ert-run-tests-interactively):
7238 Use `completing-read'. (Bug#9756)
7240 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7242 * simple.el (line-move): Call line-move-1 instead of
7243 line-move-visual when the current window hscroll is zero, but
7244 temporary-goal-column indicates we will need to hscroll as result
7245 of the movement. (Bug#15712)
7247 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7249 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7250 capitalization. Use :visible instead of :active.
7251 Fix `ruby-indent-exp' reference. Add menu items for the generic
7252 commands that are used with SMIE.
7253 (ruby-do-end-to-brace): Insert space after `{'.
7255 2013-10-25 John Anthony <john@jo.hnanthony.com>
7257 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7259 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7261 2013-10-25 Glenn Morris <rgm@gnu.org>
7263 * vc/vc.el (vc-print-log): Don't use a working revision unless
7264 one was explicitly specified. (Bug#15322)
7266 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7268 * subr.el (add-to-list): Preserve return value in compiler-macro
7271 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7273 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7274 result. Ask user to retry using '-all' flag. (Bug#15701)
7276 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7278 * emacs-lisp/smie.el: New smie-config system.
7279 (smie-config): New defcustom.
7280 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7281 (smie-config-guess, smie-config-save): New commands.
7282 (smie-config--mode-local, smie-config--buffer-local)
7283 (smie-config--trace, smie-config--modefuns): New vars.
7284 (smie-config--advice, smie-config--mode-hook)
7285 (smie-config--setter, smie-config-local, smie-config--get-trace)
7286 (smie-config--guess-value, smie-config--guess): New functions.
7287 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7288 text properties. Treat "string fence" syntax like string syntax.
7290 * progmodes/sh-script.el (sh-use-smie): Change default.
7291 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7292 (sh-var-value): Simplify by CSE.
7293 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7294 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7296 (sh-guess-basic-offset): Use cl-incf.
7297 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7299 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7301 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7304 2013-10-24 Glenn Morris <rgm@gnu.org>
7306 * Makefile.in (abs_top_srcdir): Remove.
7307 (update-subdirs): Use relative path to update-subdirs.
7309 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7311 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7312 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7313 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7314 Call unmsys--file-name before expand-file-name, not after it.
7316 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7318 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7319 (ert-test-skipped): New error.
7320 (ert-skip, ert-stats-skipped): New defuns.
7321 (ert--skip-unless): New macro.
7322 (ert-test-skipped): New struct.
7323 (ert--run-test-debugger, ert-test-result-type-p)
7324 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7325 (ert--stats-set-test-and-result, ert-char-for-test-result)
7326 (ert-string-for-test-result, ert-run-tests-batch)
7327 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7328 Handle skipped tests. (Bug#9803)
7330 2013-10-24 Glenn Morris <rgm@gnu.org>
7332 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7334 * Makefile.in (abs_top_srcdir): New, set by configure.
7335 (update-subdirs): Correct build-aux location.
7337 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7339 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7340 value, whether we could auto-deduce `backend', or not.
7342 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7343 with parameters" example. Simplify the "is it block or is it
7344 hash" check, but also make it more thorough.
7346 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7348 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7350 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7352 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7355 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7358 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7360 * progmodes/compile.el (compilation-directory-matcher)
7361 (compilation-page-delimiter):
7362 Support GNU Make-4.0 directory quoting. (Bug#15678)
7364 2013-10-23 Leo Liu <sdl.web@gmail.com>
7366 * ido.el (ido-tidy): Handle read-only text.
7368 2013-10-23 Glenn Morris <rgm@gnu.org>
7370 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7371 (emacs, compile, compile-always):
7372 Quote entities that might contain whitespace.
7373 (custom-deps, finder-data, autoloads): Use abs_lisp.
7374 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7375 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7376 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7378 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7380 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7381 Use `following-char'.
7383 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7385 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7386 * progmodes/ruby-mode.el (ruby-smie-rules):
7387 Remove corresponding workaround. Fix indentation rule of ";" so it
7388 also applies when ";" is the parent.
7390 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7392 * frame.el (display-screens, display-pixel-height)
7393 (display-pixel-width, display-mm-width, display-backing-store)
7394 (display-save-under, display-planes, display-color-cells)
7395 (display-visual-class, display-monitor-attributes-list):
7396 Mention the optional ‘display’ argument in doc strings.
7398 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7400 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7401 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7403 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7405 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7406 TODO. Add "." after " @ ".
7407 (ruby-smie--at-dot-call): New function. Checks if point at method
7408 call with explicit target.
7409 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7410 to the method name tokens when it precedes them.
7411 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7412 (ruby-smie-rules): Add rule for indentation before and after "."
7415 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * textmodes/remember.el (remember-diary-extract-entries):
7420 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7423 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7425 * progmodes/ruby-mode.el (ruby-smie-grammar):
7426 Add (almost) all infix operators.
7427 (ruby-smie--implicit-semi-p): Add new operator chars.
7429 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7431 (ruby-smie--args-separator-p): Check that there's no newline
7432 between method call and its arguments.
7434 2013-10-20 Alan Mackenzie <acm@muc.de>
7436 Allow comma separated lists after Java "implements".
7438 * progmodes/cc-engine.el (c-backward-over-enum-header):
7440 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7441 from a "disallowed" list in enum fontification.
7443 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7445 * startup.el (default-frame-background-mode): Remove unused defvar.
7447 * progmodes/verilog-mode.el (verilog-mode): Don't set
7448 comment-indent-function globally.
7450 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7452 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7453 Move Info menu item creation to ns-win.el.
7455 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7458 * menu-bar.el: Move GNUstep specific menus...
7460 * term/ns-win.el (ns-initialize-window-system): ... to here.
7462 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7464 * simple.el (newline): Only run post-self-insert-hook when
7465 called interactively.
7467 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7469 * icomplete.el (icomplete-with-completion-tables): Add :version.
7471 2013-10-19 Alan Mackenzie <acm@muc.de>
7473 Fix fontification bugs with constructors and const.
7475 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7476 CASE 2) Remove the check for the absence of a suffix construct
7477 after a function declaration with only types (no identifiers) in
7478 the parentheses. Also, accept a function declaration with just a
7479 type inside the parentheses, if this type can be positively
7480 recognised as such, or if a prefix keyword like "explicit" nails
7481 down the construct as a declaration.
7483 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7485 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7486 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7487 the problem whereby selecting a menu item that leads to a
7488 minibuffer prompt moves the cursor out of the minibuffer window,
7489 making it hard to type at the prompt. Suggested by Stefan Monnier
7490 <monnier@iro.umontreal.ca>.
7492 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7494 * menu-bar.el: Don't make Services menu.
7496 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7498 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7499 (ffap-alist): Use ffap-c++-mode for c++-mode.
7500 (ffap-c++-path): New variable.
7501 (ffap-c++-mode): New function.
7503 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7505 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7507 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7509 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7510 introduced on 2013-09-08, which results in an infinite loop
7511 requesting a password.
7513 2013-10-18 Glenn Morris <rgm@gnu.org>
7515 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7517 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7519 Sync with upstream verilog-mode revision 1a6ecec7.
7520 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7521 (verilog-mode-release-date): Remove.
7522 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7523 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7524 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7525 (verilog-auto-tieoff-ignore-regexp)
7526 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7527 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7528 (verilog-signals-with, verilog-dir-cache-preserving)
7529 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7531 (verilog-case-fold): New option, to control case folding in
7532 regexp searches, bug597.
7533 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7534 (verilog-string-match-fold, verilog-in-paren-count)
7535 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7536 (verilog-at-close-struct-p): New functions.
7537 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7538 (verilog-forward-sexp, verilog-set-auto-endcomments)
7539 (verilog-leap-to-case-head): Handle "unique0" case.
7540 (verilog-in-constraint-re): New constant.
7541 (verilog-keywords, verilog-type-font-keywords):
7542 Add some SystemVerilog 1800-2012 keywords.
7543 (verilog-label-be): Remove unimplemented argument, bug669.
7544 (verilog-batch-execute-func): When batch expanding clear
7545 create-lockfiles to prevent spurious user locks when a file ends
7547 (verilog-calculate-indent, verilog-calc-1)
7548 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7549 (verilog-do-indent): Fix indentation of nested constraints
7551 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7552 (verilog-auto-inst-param): Use verilog-string-match-fold.
7553 (verilog-read-inst-module-matcher):
7554 Fix AUTOINST on gate primitives with #1.
7555 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7556 Reads all user-defined typed variables.
7557 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7558 (verilog-signals-matching-regexp)
7559 (verilog-signals-not-matching-regexp, verilog-auto):
7560 Respect verilog-case-fold.
7561 (verilog-diff-report): Fix line count.
7562 (verilog-auto-assign-modport): Remove unused local `modi'.
7563 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7564 better handle multidimensional arrays.
7565 Fix packed array ports misadding bit index in AUTOINST, bug637.
7566 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7567 to not double-declare existing outputs and inputs, respectively.
7568 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7569 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7570 (verilog-sk-uvm-component): New skeleton.
7571 (verilog-submit-bug-report): Add verilog-case-fold,
7572 remove verilog-mode-release-date.
7574 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7576 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7579 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7581 * textmodes/remember.el (remember): Set buffer-offer-save in
7582 remember buffers (bug#13566).
7584 2013-10-18 Daniel Colascione <dancol@dancol.org>
7586 When evaluating forms in ielm, direct standard output to ielm
7587 buffer. Add new ielm-return-for-effect command. Remove trailing
7588 whitespace throughout.
7590 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7591 (ielm-return-for-effect): New command.
7592 (ielm-send-input): Accept optional `for-effect' parameter.
7593 (ielm-eval-input): Accept optional `for-effect' parameter.
7594 Bind `standard-output' to stream we create using
7595 `ielm-standard-output-impl'. Suppress printing result when
7597 (ielm-standard-output-impl): New function.
7598 (inferior-emacs-lisp-mode): Explain new features in documentation.
7600 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7604 * net/tramp.el (tramp-debug-message): Do not check for connection
7606 (tramp-message): Use "vector" connection property.
7608 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7609 (tramp-equal-remote, tramp-eshell-directory-change)
7610 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7611 (tramp-adb-handle-rename-file)
7612 * net/tramp-cmds.el (tramp-list-remote-buffers)
7613 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7614 * net/tramp-compat.el (tramp-compat-process-running-p)
7615 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7616 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7617 (tramp-gvfs-handle-rename-file)
7618 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7619 (tramp-set-file-uid-gid)
7620 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7621 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7624 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7625 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7626 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7627 (tramp-gw-open-network-stream): Suppress unrelated traces.
7629 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7630 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7631 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7632 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7633 connection property.
7635 * net/tramp-cache.el (top): Suppress traces when reading
7638 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7639 Refactor common code. Improve debug message.
7640 (tramp-maybe-open-connection)
7641 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7642 connection buffer too early.
7644 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7645 from `tramp-smb-actions-with-acl'.
7646 (tramp-smb-actions-set-acl): New defconst.
7647 (tramp-smb-handle-copy-directory)
7648 (tramp-smb-action-get-acl): New defun, renamed from
7649 `tramp-smb-action-with-acl'.
7650 (tramp-smb-action-set-acl): New defun.
7651 (tramp-smb-handle-set-file-acl): Rewrite.
7653 2013-10-17 Glenn Morris <rgm@gnu.org>
7655 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7657 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7659 * skeleton.el (skeleton-newline): Remove.
7660 (skeleton-internal-1): Use (insert "\n") instead.
7662 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7665 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7666 forward-sexp-function while we redo its job (bug#15613).
7668 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7670 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7671 represented by lists.
7673 2013-10-16 Glenn Morris <rgm@gnu.org>
7675 * tmm.el (tmm--history): New dynamic variable.
7676 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7678 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7680 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7681 (tramp-smb-errors): Add error messages.
7682 (tramp-smb-actions-with-acl): New defconst.
7683 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7684 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7685 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7686 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7687 (tramp-smb-get-stat-capability): Fix tests.
7689 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7691 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7694 2013-10-16 Glenn Morris <rgm@gnu.org>
7696 * ansi-color.el (ansi-color-drop-regexp):
7697 Add 1J, 1K, 2K. (Bug#15617)
7699 * files.el (hack-local-variables--warned-lexical): New.
7700 (hack-local-variables):
7701 Warn about misplaced lexical-binding. (Bug#15616)
7703 * net/eww.el (eww-render): Always set eww-current-url,
7704 and update header line. (Bug#15622)
7705 (eww-display-html): ... Rather than just doing it here.
7707 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7709 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7710 menu navigations commands.
7712 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7714 * progmodes/subword.el (subword-capitalize): Be careful when
7715 the search for [[:alpha:]] fails (bug#15580).
7717 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7719 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7720 to commands that scroll the menu.
7722 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7724 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7725 Handle methods ending with `?' and `!'.
7727 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7729 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7730 `japanese-cp932' to `cp932' to fix the problem where saving a
7731 source file written in Shift_JIS twice would end up having
7732 `coding: japanese-cp932' which Ruby could not recognize.
7733 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7734 in `ruby-encoding-map'.
7735 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7736 doesn't need to be explicitly declared in magic comment.
7737 (ruby-encoding-map): Add type declaration for better customize UI.
7739 2013-10-13 Glenn Morris <rgm@gnu.org>
7741 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7742 Occur buffers are read-only. http://bugs.debian.org/720775
7744 * emacs-lisp/authors.el (authors-fixed-entries):
7745 Comment out old alpha stuff.
7747 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7749 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7750 to `after-save-hook' instead of `before-save-hook'.
7751 (ruby-mode-set-encoding): Use the value of coding system used to
7752 write the file. Call `basic-save-buffer-1' after modifying the
7755 2013-10-13 Alan Mackenzie <acm@muc.de>
7757 Fix indentation/fontification of Java enum with
7758 "implements"/generic.
7760 * progmodes/cc-engine.el (c-backward-over-enum-header):
7761 Extracted from the three other places and enhanced to handle generics.
7762 (c-inside-bracelist-p): Uses new function above.
7763 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7765 (c-font-lock-enum-tail): Uses new function above.
7767 2013-10-13 Kenichi Handa <handa@gnu.org>
7769 * international/mule-cmds.el (select-safe-coding-system): Remove a
7770 superfluous condition in chekcing whether a coding system is safe
7773 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7775 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7777 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7779 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7781 2013-10-13 Glenn Morris <rgm@gnu.org>
7783 * menu-bar.el (menu-bar-update-buffers):
7784 Unify Buffers menu prompt string. (Bug#15576)
7786 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7788 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7790 (authors-fixed-entries): Use accented form of name.
7792 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7795 method calls (bug#15594).
7796 (ruby-smie--args-separator-p): New function.
7797 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7798 recognize paren-free method calls.
7800 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7801 internals of universal-argument.
7803 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7805 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7806 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7807 dropped menu on second mouse click on the menu bar.
7809 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7812 (explicit-shell-file-name): Declare.
7813 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7814 (sh-completion-at-point-function): New function.
7816 (sh-smie--keyword-p): Remove unused argument.
7817 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7819 (sh-set-shell): Always setup SMIE, even if we use the
7820 old indentation code.
7822 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7824 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7826 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7827 predicate would return nil are almost non-existent.
7828 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7830 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7831 cache also after commands that modify the buffer but don't move
7834 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * env.el (substitute-env-in-file-name): New function.
7837 (substitute-env-vars): Extend the meaning of the optional arg.
7839 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7841 * term/w32-win.el (dynamic-library-alist): Define separate lists
7842 of GIF DLLs for versions before and after 5.0.0 of giflib.
7845 2013-10-10 João Távora <joaotavora@gmail.com>
7847 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7848 not locked, use last revision and current source as
7849 defaults. (Bug#15569)
7851 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7853 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7856 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7858 * window.el (pop-to-buffer-same-window): Fix doc-string.
7861 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7863 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7865 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7867 * calendar/icalendar.el (icalendar-import-file):
7868 Fix interactive spec. (Bug#15482)
7870 2013-10-10 Glenn Morris <rgm@gnu.org>
7872 * desktop.el (desktop-save): Default to saving in .emacs.d,
7873 since PWD is no longer in desktop-path by default. (Bug#15319)
7875 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7876 now that text mode has a menu with the same entry.
7877 (menu-bar-text-mode-auto-fill): Remove now unused func.
7878 * textmodes/text-mode.el (text-mode-map):
7879 Use auto-fill help text from menu-bar.el.
7881 2013-10-10 John Anthony <john@jo.hnanthony.com>
7883 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7885 2013-10-09 Juri Linkov <juri@jurta.org>
7887 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7888 instead of this-command-keys. Add universal-argument-more and
7889 universal-argument-minus to the list of prefix commands. (Bug#15568)
7891 2013-10-09 Glenn Morris <rgm@gnu.org>
7893 * vc/vc-svn.el (vc-svn-create-repo):
7894 Expand paths in file://... url. (Bug#15446)
7896 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7898 (authors): Remove unused local variables.
7900 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * profiler.el: Create a more coherent calltree from partial backtraces.
7903 (profiler-format): Hide the tail with `invisible' so that C-s can still
7904 find the hidden elements.
7905 (profiler-calltree-depth): Don't recurse so enthusiastically.
7906 (profiler-function-equal): New hash-table-test.
7907 (profiler-calltree-build-unified): New function.
7908 (profiler-calltree-build): Use it.
7909 (profiler-report-make-name-part): Indent the calltree less.
7910 (profiler-report-mode): Add visibility specs for profiler-format.
7911 (profiler-report-expand-entry, profiler-report-toggle-entry):
7912 Expand the whole subtree when provided with a prefix arg.
7914 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7916 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7918 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7919 hanging iuwu-mod token.
7920 (ruby-smie--forward-token): Do not include a dot after a token in
7922 (ruby-smie--backward-token): Likewise.
7924 2013-10-08 Juri Linkov <juri@jurta.org>
7926 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7927 to isearch-other-control-char.
7928 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7929 and isearch-post-command-hook to post-command-hook.
7930 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7931 and isearch-post-command-hook from post-command-hook.
7932 (isearch-unread-key-sequence)
7933 (isearch-reread-key-sequence-naturally)
7934 (isearch-lookup-scroll-key, isearch-other-control-char)
7935 (isearch-other-meta-char): Remove functions.
7936 (isearch-pre-command-hook, isearch-post-command-hook):
7937 New functions based on isearch-other-meta-char rewritten
7938 relying on the new behavior of overriding-terminal-local-map
7939 that does not replace the local keymaps any more. (Bug#15200)
7941 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7943 Support menus on text-mode terminals.
7944 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7947 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7949 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7950 Move here from mouse.el.
7951 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7953 (tty-menu-navigation-map): New map for TTY menu navigation.
7955 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7957 * frame.el (display-mouse-p): Report text-mode mouse as available
7959 (display-popup-menus-p): Report availability if mouse is
7960 available; don't condition on window-system.
7962 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7963 (tty-menu-selected-face): New faces.
7965 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7968 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7969 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7970 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7972 (lisp-mode-variables): New `elisp' argument.
7973 (emacs-lisp-mode): Use it.
7974 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7975 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7977 * indent.el: Use lexical-binding.
7978 (indent-region): Add progress reporter.
7979 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7981 (indent--next-tab-stop): New function to implement this behavior.
7982 (tab-to-tab-stop, move-to-tab-stop): Use it.
7984 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7986 * indent.el (indent-rigidly--current-indentation): New function.
7987 (indent-rigidly-map): New var.
7988 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7990 2013-10-08 Bastien Guerry <bzg@gnu.org>
7992 * register.el (insert-register): Fix 2013-10-07 change.
7994 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7996 * progmodes/perl-mode.el: Use lexical-binding.
7997 Remove redundant :group args.
7998 (perl-nochange): Change default to be closer to other major modes's
8000 (perl-indent-line): Don't consider text on current line as a
8001 valid beginning of function from which to indent.
8003 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8004 with more than one argument (bug#15538).
8006 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8008 * vc/pcvs.el: Use lexical-binding.
8009 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8010 environment of `eval'.
8011 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8012 than a list of expressions. Adjust callers.
8013 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8015 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8017 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8018 case of the dot in a chained method call being on the following line.
8020 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8022 * electric.el (electric-indent-inhibit): New var.
8023 (electric-indent-post-self-insert-function): Use it.
8024 * progmodes/python.el (python-mode): Set it.
8026 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8029 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8031 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8032 (css-mode): Use electric-indent-chars.
8034 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8035 (font-lock-beg, font-lock-end): Move before first use.
8036 (nxml-mode): Use syntax-propertize-function.
8037 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8038 (nxml-extend-after-change-region): Remove.
8039 * nxml/xmltok.el: Use lexical-binding.
8040 (xmltok-save): Use `declare'.
8041 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8042 * nxml/nxml-util.el: Use lexical-binding.
8043 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8045 * nxml/nxml-ns.el: Use lexical-binding.
8046 (nxml-ns-save): Use `declare'.
8047 (nxml-ns-prefixes-for): Avoid add-to-list.
8048 * nxml/rng-match.el: Use lexical-binding.
8049 (rng--ipattern): Use cl-defstruct.
8050 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8051 (rng-cons-group-after, rng-subst-group-after)
8052 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8053 Use closures instead of `(lambda...).
8055 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8057 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8060 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8061 Use `tramp-handle-insert-file-contents'.
8062 (tramp-gvfs-handle-insert-file-contents): Remove function.
8064 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8065 Use `save-restriction' in order to keep markers.
8067 * net/trampver.el: Update release number.
8069 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8071 * progmodes/compile.el (compilation-parse-errors):
8072 Use compilation--put-prop.
8073 (compilation--ensure-parse): Check compilation-multiline.
8075 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8077 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8080 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8082 * progmodes/ruby-mode.el: Fix recently added tests.
8083 (ruby-smie-grammar): Add - and +.
8084 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8085 (ruby-smie--backward-id): New functions.
8086 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8087 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8090 2013-10-07 Leo Liu <sdl.web@gmail.com>
8092 * register.el (register-preview-delay)
8093 (register-preview-functions): New variables.
8094 (register-read-with-preview, register-preview)
8095 (register-describe-oneline): New functions.
8096 (point-to-register, window-configuration-to-register)
8097 (frame-configuration-to-register, jump-to-register)
8098 (number-to-register, view-register, insert-register)
8099 (copy-to-register, append-to-register, prepend-to-register)
8100 (copy-rectangle-to-register): Use register-read-with-preview to
8101 read register. (Bug#15525)
8103 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8105 * net/network-stream.el (network-stream-open-starttls): Don't add
8106 --insecure if it's already present, because that gnutls-cli
8107 rejects getting that parameter twice.
8109 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8111 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8114 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8116 * newcomment.el (comment-use-global-state): Change default value
8117 to t, mark obsolete (Bug#15251).
8118 (comment-beginning): In addition to `comment-to-syntax', check the
8119 value of `comment-use-global-state'.
8121 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8123 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8124 (ruby-comment-column): Follow the global default, by default.
8125 (ruby-smie-grammar): Add assignment syntax.
8126 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8127 open-paren, a comma, or a \.
8128 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8129 and line continuations.
8130 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8131 followed by implicit semi-colons. Add rule for string concatenation
8132 and for indentation at BOB.
8133 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8135 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8136 calling next-sexp, since next-token may have skipped chars which
8137 next-sexp doesn't know should be skipped!
8139 2013-10-05 Leo Liu <sdl.web@gmail.com>
8141 * progmodes/octave.el (octave-send-region):
8142 Call compilation-forget-errors.
8144 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8146 * vc/vc-svn.el (vc-svn-find-admin-dir):
8147 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8148 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8149 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8150 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8152 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8156 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8158 * subr.el (read-passwd): Hide chars even when called within a context
8159 where after-change-functions is disabled (bug#15501).
8160 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8161 until we removed ourself from overriding-terminal-local-map.
8163 2013-10-04 Leo Liu <sdl.web@gmail.com>
8165 * progmodes/octave.el (inferior-octave-mode):
8166 Call compilation-forget-errors.
8168 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8170 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8172 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8174 * net/secrets.el (secrets-create-collection): Add optional
8175 argument ALIAS. Use proper Label keyword. Append ALIAS as
8176 dbus-call-method argument. (Bug#15516)
8178 2013-10-04 Leo Liu <sdl.web@gmail.com>
8180 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8181 (inferior-octave-compilation-font-lock-keywords): New variables.
8182 (compilation-error-regexp-alist)
8183 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8184 (inferior-octave-mode): Use compilation-shell-minor-mode.
8186 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8188 * minibuffer.el (completion--replace): Be careful that `end' might be
8191 2013-10-03 Daiki Ueno <ueno@gnu.org>
8193 Add support for package signature checking.
8194 * emacs-lisp/package.el (url-http-file-exists-p)
8195 (epg-make-context, epg-context-set-home-directory)
8196 (epg-verify-string, epg-context-result-for)
8197 (epg-signature-status, epg-signature-to-string)
8198 (epg-check-configuration, epg-configuration)
8199 (epg-import-keys-from-file): Declare.
8200 (package-check-signature): New user option.
8201 (package-unsigned-archives): New user option.
8202 (package-desc): Add `signed' field.
8203 (package-load-descriptor): Set `signed' field if .signed file exists.
8204 (package--archive-file-exists-p): New function.
8205 (package--check-signature): New function.
8206 (package-install-from-archive): Check package signature.
8207 (package--download-one-archive): Check archive signature.
8208 (package-delete): Remove .signed file.
8209 (package-import-keyring): New command.
8210 (package-refresh-contents): Import default keyring.
8211 (package-desc-status): Add "unsigned" status.
8212 (describe-package-1, package-menu--print-info)
8213 (package-menu-mark-delete, package-menu--find-upgrades)
8214 (package-menu--status-predicate): Support "unsigned" status.
8216 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8218 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8219 the new compilation scheme using the new byte-codes.
8221 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8222 (byte-pophandler): New byte codes.
8223 (byte-goto-ops): Adjust accordingly.
8224 (byte-compile--use-old-handlers): New var.
8225 (byte-compile-catch): Use new byte codes depending on
8226 byte-compile--use-old-handlers.
8227 (byte-compile-condition-case--old): Rename from
8228 byte-compile-condition-case.
8229 (byte-compile-condition-case--new): New function.
8230 (byte-compile-condition-case): New function that dispatches depending
8231 on byte-compile--use-old-handlers.
8232 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8235 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8236 Optimize under `condition-case' and `catch' if
8237 byte-compile--use-old-handlers is nil.
8238 (disassemble-offset): Handle new bytecodes.
8240 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8242 * subr.el (error): Use `declare'.
8243 (decode-char, encode-char): Use advertised-calling-convention instead
8244 of the docstring to discourage use of the `restriction' arg.
8246 2013-10-03 Daiki Ueno <ueno@gnu.org>
8248 * epg.el (epg-verify-file): Add a comment saying that it does not
8249 notify verification error as a return value nor a signal.
8250 (epg-verify-string): Ditto.
8252 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8254 * progmodes/compile.el (compilation-start): Try globbing the arg to
8257 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8259 Sync with Tramp 2.2.8.
8261 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8262 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8263 * net/trampver.el: Update release number.
8265 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8267 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8268 and default-process-coding-system for darwin only.
8270 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8272 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8274 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8276 * vc/vc-git.el (vc-git-grep): Disable pager.
8278 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8280 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8281 Use :url instead of :homepage, as per
8282 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8284 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8285 non-nil, use `syntax-ppss' (Bug#15251).
8287 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8289 * progmodes/octave.el (inferior-octave-startup-file):
8290 Prefer ~/.emacs.d/init_octave.m.
8292 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8294 * emacs-lisp/package.el (package-desc-from-define):
8295 Accept additional arguments as plist, convert them to an alist and store
8296 them in the `extras' slot.
8297 (package-generate-description-file): Convert extras alist back to
8298 plist and append to the `define-package' form arguments.
8299 (package--alist-to-plist): New function.
8300 (package--ac-desc): Add `extras' slot.
8301 (package--add-to-archive-contents): Check if the archive-contents
8302 vector is long enough, and if it is, pass its `extras' slot value
8303 to `package-desc-create'.
8304 (package-buffer-info): Call `lm-homepage', pass the returned value
8305 to `package-desc-from-define'.
8306 (describe-package-1): Render the homepage button (Bug#13291).
8308 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8309 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8311 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8313 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8314 and default-process-coding-system to utf-8-unix (Bug#15402).
8316 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8318 * subr.el (looking-back): Do not recommend using looking-back.
8320 2013-09-28 Alan Mackenzie <acm@muc.de>
8322 Fix indentation/fontification of Java enum with "implements".
8324 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8325 regexp which matches "implements", etc., in Java.
8326 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8327 specifier clauses coming after "enum".
8328 * progmodes/cc-fonts.el (c-font-lock-declarations)
8329 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8332 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8334 * faces.el (region): Change ns_selection_color to
8335 ns_selection_fg_color, add ns_selection_bg_color.
8337 2013-09-28 Leo Liu <sdl.web@gmail.com>
8339 * progmodes/octave.el (inferior-octave-completion-table)
8340 (inferior-octave-completion-at-point): Minor tweaks.
8342 * textmodes/ispell.el (ispell-lookup-words): Rename from
8343 lookup-words. (Bug#15460)
8344 (lookup-words): Obsolete.
8345 (ispell-complete-word, ispell-command-loop): All uses changed.
8347 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8349 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8350 (octave-mode-menu): Add octave-send-buffer.
8351 (octave-send-buffer): New function.
8353 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8355 * progmodes/octave.el (octave-mode-map): Add key binding for
8357 (octave-mode-menu): Add octave-lookfor.
8358 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8360 (octave-lookfor): New function.
8362 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8364 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8365 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8367 (cl--loop-set-iterator-function): New function.
8368 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8369 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8370 Bind `it' with `let' instead of substituting it with `cl-subst'.
8371 (cl--unused-var-p): New function.
8372 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8373 Eliminate some unused variable warnings (bug#15326).
8375 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8377 * doc-view.el (doc-view-scale-reset): Rename from
8378 `doc-view-reset-zoom-level'.
8379 (doc-view-scale-adjust): New command.
8380 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8381 `doc-view-scale-adjust'.
8383 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8385 * doc-view.el (doc-view-reset-zoom-level): New command.
8386 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8387 zoom commands (bug#15466).
8389 2013-09-26 Kenichi Handa <handa@gnu.org>
8391 * international/quail.el (quail-help): Make it not a command.
8393 2013-09-26 Leo Liu <sdl.web@gmail.com>
8395 * minibuffer.el (completion-all-sorted-completions): Make args
8396 optional as they are.
8398 2013-09-25 Daniel Colascione <dancol@dancol.org>
8400 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8401 specs are and that they're not evaluated.
8403 2013-09-24 Sam Steingold <sds@gnu.org>
8405 * midnight.el (clean-buffer-list-kill-regexps)
8406 (clean-buffer-list-kill-buffer-names): Update for the new Man
8407 buffer naming which includes the object name.
8409 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8411 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8412 (eshell-parse-command, eshell-parse-pipeline): Use it since
8413 eshell-separate-commands requires a dynamic scoped var.
8414 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8416 2013-09-23 Leo Liu <sdl.web@gmail.com>
8418 * autoinsert.el (auto-insert-alist): Make the value of
8419 lexical-binding match its file setting.
8421 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8423 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8425 * autoarg.el (autoarg-kp-digit-argument):
8426 * electric.el (Electric-command-loop):
8427 * kmacro.el (kmacro-step-edit-insert):
8428 Do not set universal-argument-num-events.
8430 2013-09-22 Leo Liu <sdl.web@gmail.com>
8432 * files.el (interpreter-mode-alist): Add octave.
8434 2013-09-21 Alan Mackenzie <acm@muc.de>
8436 C++: fontify identifier in declaration following "public:" correctly.
8437 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8438 to match "public", etc.
8439 (c-decl-prefix-re): Add ":" into the C++ value.
8440 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8441 bit. Add a check for a ":" preceded by "public", etc.
8443 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8445 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8446 recognized by GDB 7.5 and later.
8448 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8450 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8452 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * subr.el (internal--call-interactively): New const.
8455 (called-interactively-p): Use it (bug#3984).
8457 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8459 * vc/pcvs.el (cvs-mode-ignore):
8460 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8461 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8463 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8466 (eshell-ls-orig-insert-directory): Remove.
8467 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8468 (eshell-ls-use-in-dired): Use advice-add/remove.
8469 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8470 Add `orig-fun' arg for use in :around advice.
8471 Make it check (redundantly) eshell-ls-use-in-dired.
8473 2013-09-19 Glenn Morris <rgm@gnu.org>
8475 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8477 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8479 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8481 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8483 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8484 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8485 (tramp-get-remote-python): New defuns.
8486 (tramp-get-remote-uid-with-perl)
8487 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8488 contributed by yary <not.com@gmail.com> (tiny change).
8489 (tramp-get-remote-uid-with-python)
8490 (tramp-get-remote-gid-with-python): New defuns. Python code
8491 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8492 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8494 2013-09-19 Glenn Morris <rgm@gnu.org>
8496 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8498 * eshell/em-unix.el (eshell-remove-entries):
8499 Rename argument to avoid name-clash with global `top-level'.
8501 * eshell/esh-proc.el (eshell-kill-process-function):
8502 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8503 (eshell-reset-after-proc): Remove unused arg `proc'.
8505 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8506 (directory-files-and-attributes): Mark unused arg.
8508 * eshell/em-unix.el (eshell-remove-entries):
8509 Remove unused arg `path'. Update callers.
8511 * eshell/em-hist.el (eshell-hist-parse-arguments):
8512 Remove unused arg `silent'. Update callers.
8514 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8515 Fix (f)boundp mix-up.
8517 * eshell/em-smart.el (eshell-smart-scroll-window)
8518 (eshell-disable-after-change):
8519 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8521 2013-09-18 Alan Mackenzie <acm@muc.de>
8523 Fix fontification of type when followed by "const".
8524 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8525 "known" types from fontification.
8527 2013-09-18 Glenn Morris <rgm@gnu.org>
8529 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8530 (chart-face-list): Drop Emacsen without display-color-p.
8532 * net/eww.el (libxml-parse-html-region): Declare.
8533 (eww-display-html): Explicit error if no libxml2 support.
8535 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8537 * image.el (image-type-from-buffer, image-multi-frame-p):
8538 Remove --without-x warning/error.
8540 * mouse.el (mouse-yank-primary):
8541 * term.el (term-mouse-paste):
8542 Reorder to silence --without-x compilation.
8544 * mpc.el (doc-view-mode): Silence --without-x compilation.
8546 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8547 Silence --without-x compilation.
8549 * progmodes/gud.el (gud-find-file, gud-mode):
8550 Silence --without-x compilation.
8551 (tooltip-mode): Declare.
8553 * wdired.el (dired-backup-overwrite): Remove declaration.
8554 (wdired-mode-map): Add doc string.
8556 * custom.el (x-get-resource): Declare.
8558 * eshell/em-glob.el (ange-cache):
8559 * eshell/em-unix.el (ange-cache): Declare.
8561 * faces.el (x-display-list, x-open-connection, x-get-resource):
8564 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8565 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8568 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8570 * net/gnutls.el (gnutls-log-level): Declare.
8572 * net/shr.el (image-size, image-animate): Declare.
8574 * simple.el (font-info): Declare.
8576 * subr.el (x-popup-dialog): Declare.
8578 * term/common-win.el (x-select-enable-primary)
8579 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8582 * term/ns-win.el (x-handle-args): Declare.
8584 * term/x-win.el (x-select-enable-clipboard): Declare.
8586 * term/w32-win.el (create-default-fontset): Declare.
8588 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8591 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8592 (fit-frame-to-buffer): Explicit error if --without-x.
8593 (mouse-autoselect-window-select): Silence compiler.
8595 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8597 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8598 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8599 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8600 * eshell/esh-util.el (eshell-sublist):
8601 Remove unused local variables.
8603 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8605 * textmodes/two-column.el: Make 2C-split work for --without-x.
8606 (scroll-bar-columns): Autoload.
8607 (top-level): Require fringe when compiling.
8609 2013-09-18 Leo Liu <sdl.web@gmail.com>
8611 * subr.el (add-hook): Robustify to handle closure as well.
8613 2013-09-17 Glenn Morris <rgm@gnu.org>
8615 * simple.el (messages-buffer-mode-map): Unbind "g".
8617 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8619 * help-mode.el (help-mode-finish): Use derived-mode-p.
8620 Remove obsolete highlighting.
8622 * play/life.el (life-mode): Use define-derived-mode. Derive from
8624 (life): Let-bind inhibit-read-only.
8625 (life-setup): Avoid `setq'. Use `life-mode'.
8627 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8628 which should not be needed any more.
8629 (package-menu-refresh, package-menu-describe-package): Use user-error.
8631 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8632 (eshell-post-rewrite-command-hook): Make obsolete.
8633 (eshell-parse-command): Simplify.
8634 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8635 (eshell--cmd): Declare.
8636 (eshell-parse-pipeline): Remove unused var `final-p'.
8637 Pass a dynvar to eshell-post-rewrite-command-hook.
8638 Implement the new eshell-post-rewrite-command-function.
8639 (eshell-invoke-directly): Remove unused arg `input'.
8640 * eshell/esh-io.el (eshell-io-initialize):
8641 Use eshell-post-rewrite-command-function (bug#15399).
8642 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8643 adjust to new calling convention.
8644 (eshell-create-handles): Rename args to avoid clashing with dynvar
8647 2013-09-17 Glenn Morris <rgm@gnu.org>
8649 * simple.el (messages-buffer-mode): New major mode.
8650 (messages-buffer): New function.
8651 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8652 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8653 (ert-run-test): Use `messages-buffer' function.
8654 (ert--force-message-log-buffer-truncation): Ignore read-only.
8655 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8656 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8658 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8662 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8664 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8666 * icomplete.el (icomplete-in-buffer): New var.
8667 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8668 vars and replace them with functions.
8669 (icomplete-minibuffer-setup): Adjust accordingly.
8670 (icomplete--completion-table, icomplete--completion-predicate)
8671 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8673 (icomplete-forward-completions, icomplete-backward-completions)
8674 (icomplete-simple-completing-p, icomplete-exhibit)
8675 (icomplete-completions): Use them.
8676 (icomplete--in-region-buffer): New var.
8677 (icomplete--in-region-setup): New function.
8678 (icomplete-mode): Use it.
8680 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8682 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8683 return args and options.
8684 (eshell-eval-using-options): Use the new return value of
8685 eshell--do-opts to set the options's vars in their scope.
8686 (eshell--set-option): Rename from eshell-set-option.
8688 (eshell--process-option): Rename from eshell-process-option.
8690 (eshell--process-args): Use an `opt-vals' alist to store the options's
8691 values during their processing and return them additionally to the
8694 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8696 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8697 continuation character an operator, as far as indentation is
8698 concerned (Bug#15369).
8700 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8702 * window.el (window--state-put-2): Don't process buffer state
8703 when buffer doesn't exist any more (Bug#15382).
8705 2013-09-15 Glenn Morris <rgm@gnu.org>
8707 * eshell/em-unix.el (eshell/rm):
8708 Make -f ignore missing files. (Bug#15373)
8710 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8711 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8712 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8714 2013-09-14 Glenn Morris <rgm@gnu.org>
8716 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8718 2013-09-13 Glenn Morris <rgm@gnu.org>
8720 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8721 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8723 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8725 * frame.el (x-focus-frame): Mark as declared in frame.c.
8727 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * ls-lisp.el: Use advice-add.
8730 (original-insert-directory): Remove.
8731 (ls-lisp--insert-directory): Rename from insert-directory; add
8732 `orig-fun' argument.
8733 (insert-directory): Advise.
8735 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8737 * term.el (term-emulate-terminal): Decode the command string
8738 before passing it to term-command-hook. (Bug#15337)
8740 2013-09-13 Glenn Morris <rgm@gnu.org>
8742 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8744 * eshell/esh-ext.el (eshell-search-path): Declare.
8746 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8747 Otherwise an error occurs if eshell-dirs module not loaded.
8749 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8751 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8753 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8754 `tramp-check-proper-host'. Check for a valid method name.
8756 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8757 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8758 * net/tramp-sh.el (tramp-maybe-open-connection):
8759 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8761 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8762 also for hash values.
8764 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * term/ns-win.el (parameters): Don't declare as dynamic.
8767 (before-make-frame-hook): Don't add ineffective function.
8769 * eshell/*.el: Use lexical-binding (bug#15231).
8771 2013-09-12 Kenichi Handa <handa@gnu.org>
8773 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8775 2013-09-12 Glenn Morris <rgm@gnu.org>
8777 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8778 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8780 * subr.el (do-after-load-evaluation): Also give compiler warnings
8781 when obsolete files are used (except by obsolete files).
8783 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8784 in the status output, assume `filename' is the first. (Bug#15322)
8786 * vc/vc.el (vc-deduce-fileset): Doc fix.
8788 * calc/calc-help.el (Info-goto-node):
8789 * progmodes/cperl-mode.el (Info-find-node):
8790 * vc/ediff.el (Info-goto-node): Update declarations.
8792 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8794 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8795 (vc-bzr-pull): Require vc-dispatcher.
8796 * vc/vc-git.el (vc-compilation-mode): Declare.
8797 (vc-git-pull): Require vc-dispatcher.
8799 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8801 * progmodes/octave.el (help-button-action): Declare.
8803 * shell.el (shell-directory-tracker): Output error as a message
8804 rather than just returning it as a string.
8805 (shell-process-pushd): Remove useless use of message.
8807 * dframe.el (dframe-timer-fn):
8808 * files.el (dir-locals-read-from-file):
8809 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8811 * reveal.el (reveal-post-command):
8812 * saveplace.el (load-save-place-alist-from-file):
8813 * shell.el (shell-resync-dirs):
8814 * w32-common-fns.el (x-get-selection-value):
8815 * emacs-lisp/copyright.el (copyright-find-copyright):
8816 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8817 * emulation/tpu-edt.el (tpu-copy-keyfile):
8818 * play/bubbles.el (bubbles--mark-neighbourhood):
8819 * progmodes/executable.el
8820 (executable-make-buffer-file-executable-if-script-p):
8821 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8823 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8825 Cleanup Eshell to rely less on dynamic scoping.
8826 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8827 last-value, and ext-command here. Bind `args' closer to `body'.
8828 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8829 (eshell--args): Declare new dynamic var.
8830 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8831 last-value, and ext-command. Pass `args' to `body'.
8832 (eshell-process-args): Bind eshell--args.
8833 (eshell-set-option): Use eshell--args.
8834 * eshell/eshell.el (eshell): Use derived-mode-p.
8835 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8836 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8837 (eshell-glob-function): Declare.
8838 * eshell/esh-util.el: Require cl-lib.
8839 (eshell-read-hosts-file): Avoid add-to-list.
8840 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8842 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8844 (eshell/diff): Remove unused var `err'.
8845 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8847 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8848 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8850 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8851 Move declaration before first use.
8852 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8853 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8856 2013-09-12 Glenn Morris <rgm@gnu.org>
8858 * term/ns-win.el (global-map): Remove binding for ispell-next,
8859 deleted 1999-05-29. (Bug#15357)
8861 2013-09-11 Glenn Morris <rgm@gnu.org>
8863 * echistory.el (electric-command-history): Remove call to deleted func.
8865 * play/landmark.el (landmark-mode): Fix typos.
8867 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8868 Check cvs-sort-ignore-file is bound.
8870 * savehist.el: No need for cl when compiling on Emacs.
8872 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8876 (eshell-self-insert-command, eshell-send-invisible):
8877 Remove unused argument.
8878 (eshell-handle-control-codes): Remove unused var `orig'.
8879 Avoid delete-backward-char.
8881 * files.el (set-auto-mode): Simplify a bit further.
8883 2013-09-11 Glenn Morris <rgm@gnu.org>
8885 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8886 (set-auto-mode): Don't regexp-quote elements.
8887 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8888 * progmodes/cc-mode.el (interpreter-mode-alist):
8889 * progmodes/ruby-mode.el (interpreter-mode-alist):
8890 Revert previous change.
8892 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * play/snake.el (snake-mode):
8895 * play/mpuz.el (mpuz-mode):
8896 * play/landmark.el (lm-mode):
8897 * play/blackbox.el (blackbox-mode):
8898 * play/5x5.el (5x5-mode):
8899 * obsolete/options.el (Edit-options-mode):
8900 * net/quickurl.el (quickurl-list-mode):
8901 * net/newst-treeview.el (newsticker-treeview-mode):
8902 * mail/rmailsum.el (rmail-summary-mode):
8903 * mail/mspools.el (mspools-mode):
8904 * locate.el (locate-mode):
8905 * ibuffer.el (ibuffer-mode):
8906 * emulation/ws-mode.el (wordstar-mode):
8907 * emacs-lisp/debug.el (debugger-mode):
8908 * array.el (array-mode):
8909 * net/eudc.el (eudc-mode): Use define-derived-mode.
8910 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8911 Move initialization into declaration.
8912 (mairix-searches-mode): Use define-derived-mode.
8913 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8914 (eudc-edit-hotlist): Use dolist.
8915 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8916 (Man-mode): Use define-derived-mode.
8917 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8918 (Info-edit-mode): Use define-derived-mode.
8919 (Info-cease-edit): Use Info-mode.
8920 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8922 (eshell-mode): Use define-derived-mode.
8923 * chistory.el (command-history-mode-map): Rename from
8924 command-history-map.
8925 (command-history-mode): Use define-derived-mode.
8926 (Command-history-setup): Remove function.
8927 * calc/calc.el (calc-trail-mode-map): New var.
8928 (calc-trail-mode): Use define-derived-mode.
8929 (calc-trail-buffer): Set calc-main-buffer manually.
8930 * bookmark.el (bookmark-insert-annotation): New function.
8931 (bookmark-edit-annotation): Use it.
8932 (bookmark-edit-annotation-mode): Make it a proper major mode.
8933 (bookmark-send-edited-annotation): Use derived-mode-p.
8934 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8935 closer to its ideal place. Use \' to match EOS.
8937 * profiler.el (profiler-calltree-find): Use function-equal.
8939 2013-09-10 Glenn Morris <rgm@gnu.org>
8941 * files.el (interpreter-mode-alist): Convert to regexps.
8942 (set-auto-mode): Adapt for this. (Bug#15306)
8943 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8944 Comment out unused variable.
8945 * progmodes/cc-mode.el (interpreter-mode-alist):
8946 * progmodes/python.el (interpreter-mode-alist):
8947 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8948 * progmodes/sh-script.el (sh-set-shell):
8949 No longer use interpreter-mode-alist to get list of shells.
8951 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8953 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * simple.el: Use set-temporary-overlay-map for universal-argument.
8956 (universal-argument-map): Don't use default-bindings (bug#15317).
8957 Bind switch-frame explicitly. Replace universal-argument-minus with
8958 a conditional binding.
8959 (universal-argument-num-events, saved-overriding-map): Remove.
8960 (restore-overriding-map): Remove.
8961 (universal-argument--mode): Rename from save&set-overriding-map,
8963 (universal-argument, universal-argument-more, negative-argument)
8964 (digit-argument): Adjust accordingly.
8965 (universal-argument-minus): Remove.
8966 (universal-argument-other-key): Remove.
8968 * subr.el (with-demoted-errors): Add `format' argument.
8970 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8972 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8973 `tramp-cleanup-connection'.
8975 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8976 parameters KEEP-DEBUG and KEEP-PASSWORD.
8978 * net/tramp.el (tramp-file-name-handler):
8979 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8980 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8981 (tramp-maybe-open-connection):
8982 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8983 Use `tramp-cleanup-connection'.
8985 * net/tramp-sh.el (tramp-maybe-open-connection):
8986 Catch 'uname-changed inside the progress reporter.
8988 2013-09-10 Glenn Morris <rgm@gnu.org>
8990 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8992 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8993 returns "alternate access method" in mode (eg "-rw-r--r--.").
8995 2013-09-08 Glenn Morris <rgm@gnu.org>
8997 * saveplace.el (load-save-place-alist-from-file):
8998 Demote errors. (Bug#15305)
9000 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9002 Improve compatibility with older Emacsen, and XEmacs.
9004 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9005 only if it is bound. It isn't for XEmacs.
9006 (with-tramp-progress-reporter): Do not let-bind `result'.
9007 This yields to scoping errors in XEmacs.
9008 (tramp-handle-make-auto-save-file-name): New function, moved from
9011 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9012 for `make-auto-save-file-name'.
9013 (tramp-adb--gnu-switches-to-ash):
9014 Use `tramp-compat-replace-regexp-in-string'.
9016 * net/tramp-cache.el (tramp-cache-print): Call
9017 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9019 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9020 bound. It isn't for XEmacs.
9022 * net/tramp-compat.el (tramp-compat-copy-file):
9023 Catch `wrong-number-of-arguments' error.
9024 (tramp-compat-replace-regexp-in-string): New defun.
9026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9027 for `make-auto-save-file-name'.
9028 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9030 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9031 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9032 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9034 * net/tramp-gw.el (tramp-gw-open-network-stream):
9035 Use `tramp-compat-replace-regexp-in-string'.
9037 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9038 Call `tramp-handle-make-auto-save-file-name'.
9039 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9040 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9041 (tramp-sh-file-inotifywait-process-filter):
9042 Use `tramp-compat-replace-regexp-in-string'.
9043 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9046 for `make-auto-save-file-name'.
9047 (tramp-smb-handle-copy-directory):
9048 Call `tramp-compat-replace-regexp-in-string'.
9049 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9050 (tramp-smb-handle-copy-file): Improve error message.
9051 (tramp-smb-handle-rename-file): Rename directly only in case
9052 `newname' does not exist yet. This is a restriction of smbclient.
9053 (tramp-smb-maybe-open-connection): Rerun the function only when
9054 `auth-sources' is non-nil.
9056 2013-09-08 Kenichi Handa <handa@gnu.org>
9058 * international/characters.el: Set category "^" (Combining) for
9061 2013-09-07 Alan Mackenzie <acm@muc.de>
9063 Correctly fontify Java class constructors.
9064 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9066 (c-recognize-typeless-decls): Set the Java value to t.
9067 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9068 While handling a "(", add a check for, effectively, Java, and handle a
9069 "typeless" declaration there.
9071 2013-09-07 Roland Winkler <winkler@gnu.org>
9073 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9074 field subtitle for entry type book.
9076 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * minibuffer.el: Make minibuffer-complete call completion-in-region
9079 rather than other way around.
9080 (completion--some, completion-pcm--find-all-completions):
9081 Don't delay signals when debugging.
9082 (minibuffer-completion-contents): Beware fields within the
9083 minibuffer contents.
9084 (completion-all-sorted-completions): Use defvar-local.
9085 (completion--do-completion, completion--cache-all-sorted-completions)
9086 (completion-all-sorted-completions, minibuffer-force-complete):
9087 Add args `beg' and `end'.
9088 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9089 (minibuffer-complete): Use completion-in-region.
9090 (completion-complete-and-exit): New fun, extracted from
9091 minibuffer-complete-and-exit.
9092 (minibuffer-complete-and-exit): Use it.
9093 (completion--complete-and-exit): Rename from
9094 minibuffer--complete-and-exit.
9095 (completion-in-region--single-word): New function, extracted from
9096 minibuffer-complete-word.
9097 (minibuffer-complete-word): Use it.
9098 (display-completion-list): Make `common-substring' argument obsolete.
9099 (completion--in-region): Call completion--in-region-1 instead of
9100 minibuffer-complete.
9101 (completion-help-at-point): Pass boundaries to
9102 minibuffer-completion-help as args rather than via an overlay.
9103 (completion-pcm--string->pattern): Use `any-delim'.
9104 (completion-pcm--optimize-pattern): New function.
9105 (completion-pcm--pattern->regex): Handle `any-delim'.
9106 * icomplete.el (icomplete-forward-completions)
9107 (icomplete-backward-completions, icomplete-completions):
9108 Adjust calls to completion-all-sorted-completions and
9109 completion--cache-all-sorted-completions.
9110 (icomplete-with-completion-tables): Default to t.
9111 * emacs-lisp/crm.el (crm--current-element): Rename from
9112 crm--select-current-element. Don't put an overlay but return the
9114 (crm--completion-command): Take two new args to bind to the boundaries.
9115 (crm-completion-help): Adjust accordingly.
9116 (crm-complete): Use completion-in-region.
9117 (crm-complete-word): Use completion-in-region--single-word.
9118 (crm-complete-and-exit): Use completion-complete-and-exit.
9120 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9122 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9125 2013-09-06 Juri Linkov <juri@jurta.org>
9127 * info.el (Info-display-images-node): When image file doesn't exist
9128 display text version of the image if it's provided in the Info file.
9129 Otherwise, display the location of missing image from SRC attribute.
9130 Add help-echo text property from ALT attribute. (Bug#15279)
9132 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9134 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9135 (edit-abbrevs-mode): Use define-derived-mode.
9137 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9138 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9140 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9141 Use define-derived-mode.
9143 * epg.el (epg-start-encrypt): Minor CSE simplification.
9145 2013-09-06 William Xu <william.xwl@gmail.com>
9147 * arc-mode.el: Add support for 7za (bug#15264).
9148 (archive-7z-program): New var.
9149 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9150 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9151 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9153 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9157 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9158 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9159 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9160 (tramp-postfix-host-format, tramp-file-name-regexp)
9161 (tramp-completion-file-name-regexp)
9162 (tramp-completion-dissect-file-name)
9163 (tramp-handle-substitute-in-file-name): Remove 'url case.
9164 (tramp-file-name-regexp-url)
9165 (tramp-completion-file-name-regexp-url): Remove constants.
9167 2013-09-06 Glenn Morris <rgm@gnu.org>
9169 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9171 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9173 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9174 keywords" below "here-doc beginnings" (Bug#15270).
9176 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * subr.el (pop): Use `car-safe'.
9179 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9180 to detect unused `pop' return value.
9182 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9184 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9185 (python-fill-string): Remove unused var `marker'.
9186 (python-skeleton-add-menu-items): Remove unused var `items'.
9188 * international/mule-cmds.el: Require CL.
9189 (find-coding-systems-for-charsets): Avoid add-to-list.
9190 (sanitize-coding-system-list): New function, extracted from
9191 select-safe-coding-system-interactively.
9192 (select-safe-coding-system-interactively): Use it.
9193 (read-input-method-name): Accept symbols for `default'.
9195 * emacs-lisp/advice.el (defadvice): Add indent rule.
9197 2013-09-05 Daniel Hackney <dan@haxney.org>
9201 * net/browse-url.el:
9204 * net/eudcb-ldap.el:
9217 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9218 byte compiler. Remove some unused let-bound variables.
9220 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9222 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9223 a "ref-cell", since it gets better optimized (bug#14883).
9225 2013-09-05 Glenn Morris <rgm@gnu.org>
9227 * progmodes/cc-awk.el (c-forward-sws): Declare.
9229 2013-09-04 Glenn Morris <rgm@gnu.org>
9231 * generic-x.el [rul-generic-mode]: Require cc-mode.
9232 (c++-mode-syntax-table): Declare.
9233 (rul-generic-mode-syntax-table): Init in the defvar.
9235 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9237 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9238 (vc-do-command, vc-set-async-update):
9239 * vc/vc-mtn.el (vc-mtn-dir-status):
9240 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9241 (vc-hg-pull, vc-hg-merge-branch):
9242 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9243 (vc-git-merge-branch):
9244 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9245 (vc-cvs-dir-status-files):
9246 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9247 (vc-bzr-dir-status-files):
9248 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9249 * vc/vc-annotate.el: Use lexical-binding.
9250 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9251 (vc-sentinel-movepoint): Declare.
9252 (vc-annotate): Don't use `goto-line'.
9253 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9254 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9255 (vc-sentinel-movepoint): Declare.
9256 * vc/vc-svn.el: Use lexical-binding.
9257 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9259 * vc/vc-rcs.el: Use lexical-binding.
9261 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9262 `deleted'. Don't drop errors silently.
9264 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9266 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9268 * vc/vc.el (vc-ignore): Rewrite.
9269 (vc-default-ignore): New function.
9270 (vc-default-ignore-completion-table): Use find-ignore-file.
9272 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9273 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9274 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9275 Remove. Most code moved to vc.el.
9277 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9279 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9280 * net/tramp-smb.el (tramp-smb-get-file-entries):
9281 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9282 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9284 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9286 (eww-change-select): Remove unused var `properties'.
9287 (eww-make-unique-file-name): Remove unused var `base'.
9289 * finder.el (finder-compile-keywords): Don't mess with windows.
9291 * calculator.el (calculator-funcall): Fix typo in last change.
9293 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9295 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9296 <pkg>-autoloads.el file stop us.
9298 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9299 warnings, and factor out common code.
9301 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9303 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9304 two-character operators and whether the character preceding them
9305 changes their meaning (Bug#15208).
9307 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9309 Format code sent to Python shell for robustness.
9310 * progmodes/python.el (python-shell-buffer-substring):
9312 (python-shell-send-region, python-shell-send-buffer): Use it.
9314 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9316 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9317 * net/tramp.el (tramp-user-error): ... here.
9318 (tramp-find-method, tramp-check-proper-host)
9319 (tramp-dissect-file-name, tramp-debug-message)
9320 (tramp-handle-shell-command):
9321 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9322 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9324 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9326 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9328 * avoid.el (mouse-avoidance-point-position)
9329 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9332 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9334 * progmodes/python.el (python-shell-completion-get-completions):
9335 Drop use of deleted `comint-last-prompt-overlay'.
9336 (python-nav-if-name-main): New command.
9338 2013-09-01 Glenn Morris <rgm@gnu.org>
9340 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9341 Avoid leading space in $wins. Otherwise the sed command used by
9342 eg compile-main ends up containing "/*.el". (Bug#15170)
9344 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9346 2013-08-30 Glenn Morris <rgm@gnu.org>
9348 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9349 Fix is-this-a-directory logic. (Bug#15220)
9351 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * textmodes/css-mode.el: Use SMIE.
9354 (css-smie-grammar): New var.
9355 (css-smie--forward-token, css-smie--backward-token)
9356 (css-smie-rules): New functions.
9357 (css-mode): Use them.
9358 (css-navigation-syntax-table): Remove var.
9359 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9360 (css-indent-calculate, css-indent-line): Remove functions.
9362 Misc changes to reduce use of `(lambda...); and other cleanups.
9363 * cus-edit.el: Use lexical-binding.
9364 (customize-push-and-save, customize-apropos)
9365 (custom-buffer-create-internal): Use closures.
9366 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9367 * progmodes/ada-xref.el: Use setq.
9368 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9369 * dframe.el: Use lexical-binding.
9370 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9371 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9372 * descr-text.el: Use lexical-binding.
9373 (describe-text-widget, describe-text-sexp, describe-property-list):
9375 * comint.el (comint-history-isearch-push-state): Use a closure.
9376 * calculator.el: Use lexical-binding.
9377 (calculator-number-to-string): Make it work with lexical-binding.
9378 (calculator-funcall): Same and use cl-letf.
9380 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9381 (lisp--company-doc-string, lisp--company-location): New functions.
9382 (lisp-completion-at-point): Use them to improve Company support.
9384 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9385 params of lambda expressions.
9386 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9387 (ruby-smie--opening-pipe-p): New function.
9388 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9389 symbols and matched |...| for formal params.
9390 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9391 from being treated as hanging. Handle "rescue".
9393 2013-08-29 Glenn Morris <rgm@gnu.org>
9395 * progmodes/cc-engine.el (c-pull-open-brace):
9396 Move definition before use.
9398 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9400 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9401 are immutable. Don't use `unsafe' any more.
9402 (cl--defsubst-expand): Don't substitute at the same time as keeping
9403 a residual unused let-binding. Don't use `unsafe' any more.
9405 2013-08-29 Glenn Morris <rgm@gnu.org>
9407 * calendar/cal-china.el (calendar-chinese-year-cache):
9410 * nxml/nxml-util.el (nxml-debug-clear-inside):
9411 Use cl-loop rather than loop.
9413 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9415 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9417 2013-08-28 Glenn Morris <rgm@gnu.org>
9419 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9421 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9423 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9425 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9427 * simple.el (repeat-complex-command--called-interactively-skip):
9429 (repeat-complex-command): Use it (bug#14136).
9431 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9432 (c-define-abbrev-table): Add `doc' argument.
9433 (c-mode-abbrev-table, c++-mode-abbrev-table)
9434 (objc-mode-abbrev-table, java-mode-abbrev-table)
9435 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9436 (awk-mode-abbrev-table): Use it.
9437 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9438 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9439 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9440 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9441 Move initialization into the declaration; and remove any
9444 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9445 and dynamic let binding.
9447 * vc/smerge-mode.el: Remove redundant :group args.
9449 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9452 2013-08-28 Juri Linkov <juri@jurta.org>
9454 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9455 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9456 (isearch-other-meta-char): Handle an undefined shifted printing
9457 character by downshifting it. (Bug#15200)
9459 2013-08-28 Juri Linkov <juri@jurta.org>
9461 * isearch.el (isearch-search): Change regexp error message for
9462 non-regexp searches. (Bug#15166)
9464 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9466 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9467 for portability to hosts where /bin/sh has problems.
9469 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9471 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9473 2013-08-27 Juri Linkov <juri@jurta.org>
9475 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9476 in the keyboard macro. (Bug#15126)
9478 2013-08-27 Juri Linkov <juri@jurta.org>
9480 * isearch.el (isearch-quote-char): Comment out converting unibyte
9481 to multibyte, thus syncing with its `quoted-insert' counterpart.
9484 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9486 * window.el (display-buffer-use-some-window): Add missing
9487 argument in call of get-largest-window (Bug#15185).
9488 Reported by Stephen Leake.
9490 2013-08-27 Glenn Morris <rgm@gnu.org>
9492 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9494 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9497 from a matcher-function unless there's no more matches (bug#15161).
9499 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9501 * minibuffer.el: Revert change from 2013-08-20.
9503 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9504 with text property `tramp-default', if appropriate.
9505 (tramp-check-proper-host): New defun.
9506 (tramp-dissect-file-name): Do not check hostname. Revert change
9508 (tramp-backtrace): Make VEC-OR-PROC optional.
9510 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9511 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9512 * net/tramp-sh.el (tramp-maybe-open-connection):
9513 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9514 Apply `tramp-check-proper-host'.
9516 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9518 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9519 lambda expression in order to have `describe-variable' display it.
9521 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9523 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9524 BUF can be optional. (Bug#15186)
9526 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9528 * progmodes/flymake.el (flymake-get-real-file-name-function):
9529 Fix broken customization. (Bug#15184)
9531 2013-08-25 Alan Mackenzie <acm@muc.de>
9533 Improve indentation of bracelists defined by macros (without "=").
9535 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9536 expansion begins with "{", regard it as bracelist when it doesn't
9539 Parse C++ inher-intro when there's a template split over 2 lines.
9541 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9542 rigorously the search for "class" etc. followed by ":".
9544 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9545 random languages a regexp which never matches rather than nil.
9547 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9549 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9550 (c-awk-regexp-one-line-possibly-open-char-list-re)
9551 (c-awk-one-line-possibly-open-regexp-re)
9552 (c-awk-one-line-non-syn-ws*-re): Remove.
9553 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9554 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9555 (c-awk-space*-unclosed-regexp-/-re): New constants.
9556 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9557 aren't regexp delimiters.
9559 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9560 handling for a rare situation in AWK Mode involving unterminated
9563 2013-08-23 Glenn Morris <rgm@gnu.org>
9565 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9567 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9569 * files.el (create-file-buffer): If the result would begin with
9570 spaces, prepend a "|" instead of removing them. (Bug#15162)
9572 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9575 text-properties (bug#15155).
9577 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9579 (calc-keypad-redraw): Remove unused var `pad'.
9580 (calc-keypad-press): Remove unused var `menu'.
9582 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9584 * window.el (display-buffer-pop-up-frame):
9585 Call pop-up-frame-function with BUFFER current so `make-frame' will
9586 use it as the new frame's buffer (Bug#15133).
9588 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9590 * calendar/timeclock.el: Minor cleanups.
9591 (timeclock-ask-before-exiting, timeclock-use-display-time):
9593 (timeclock-modeline-display): Define as alias before the
9595 (timeclock-mode-line-display): Use define-minor-mode.
9596 (timeclock-day-list-template): Make it a function, add an argument.
9597 (timeclock-day-list-required, timeclock-day-list-length)
9598 (timeclock-day-list-debt, timeclock-day-list-span)
9599 (timeclock-day-list-break): Adjust calls accordingly.
9601 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9603 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9604 Use read--expression so that completion works again.
9606 2013-08-21 Sam Steingold <sds@gnu.org>
9608 Add rudimentary inferior shell interaction
9609 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9610 (sh-set-shell): Reset it.
9611 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9612 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9614 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9616 * align.el: Use lexical-binding.
9617 (align-region): Simplify accordingly.
9619 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9621 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9623 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9626 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9630 * net/tramp-cmds.el:
9632 * net/tramp-gvfs.el:
9634 * net/tramp-sh.el: Don't wrap external variable declarations by
9635 `eval-when-compile'.
9637 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9639 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9640 now that Emacs supports ImageMagick animations.
9642 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9644 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9645 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9647 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9649 * window.el (mouse-autoselect-window-select): Do autoselect when
9650 mouse pointer is on margin.
9652 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9654 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9656 2013-08-16 Glenn Morris <rgm@gnu.org>
9658 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9659 Handle "Remote Directory" response of some clients. (Bug#15058)
9661 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9662 Tweak warning. (Bug#14926)
9664 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9665 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9667 * image-mode.el (image-mode-map): Add menu items to reverse,
9668 increase, decrease, reset animation speed.
9669 (image--set-speed, image-increase-speed, image-decrease-speed)
9670 (image-reverse-speed, image-reset-speed): New functions.
9671 (image-mode-map): Add bindings for speed commands.
9673 * image.el (image-animate-get-speed, image-animate-set-speed):
9675 (image-animate-timeout): Respect image :speed property.
9677 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9679 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9680 previous line (bug#15101).
9681 (debugger-eval-expression, debugger-record-expression):
9682 Use read--expression (bug#15102).
9684 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9686 Remove byte compiler warnings, visible when compiling with
9687 `byte-compile-force-lexical-warnings' set to t.
9689 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9690 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9691 (tramp-handle-unhandled-file-name-directory)
9692 (tramp-handle-file-notify-add-watch, tramp-action-login)
9693 (tramp-action-succeed, tramp-action-permission-denied)
9694 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9697 * net/tramp-adb.el (tramp-adb-parse-device-names)
9698 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9699 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9700 (tramp-adb-handle-file-truename): Remove unused arguments.
9702 * net/tramp-cache.el (tramp-flush-directory-property)
9703 (tramp-flush-connection-property, tramp-list-connections)
9704 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9706 * net/tramp-compat.el (tramp-compat-make-temp-file):
9707 Rename FILENAME to F.
9709 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9710 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9711 (tramp-zeroconf-parse-workstation-device-names)
9712 (tramp-zeroconf-parse-webdav-device-names)
9713 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9715 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9716 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9718 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9720 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9721 (tramp-sh-handle-insert-file-contents-literally)
9722 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9724 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9725 Remove unused variables.
9727 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9728 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9729 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9731 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9732 Make them a defconst.
9733 (tramp-uuencode-region): Remove unused variable.
9735 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9737 * frameset.el (frameset--prop-setter): New function.
9738 (frameset-prop): Add gv-setter declaration.
9739 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9740 parameter was already set in FILTERED. Doc fix.
9741 (frameset--record-minibuffer-relationships): Allow saving a
9742 minibufferless frame without its corresponding minibuffer frame.
9743 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9744 frame, if the frame id matches.
9745 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9746 frames before orphaned ones.
9747 (frameset-restore): Warn about orphaned windows, instead of error out.
9749 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9751 * window.el (window-make-atom): Don't overwrite parameter
9753 (display-buffer-in-atom-window): Handle special case where we
9754 split an already atomic window.
9755 (window--major-non-side-window, display-buffer-in-side-window)
9756 (window--side-check): Ignore minibuffer window when walking
9758 (window-deletable-p): Return 'frame only if no other frame uses
9759 our minibuffer window.
9760 (record-window-buffer): Run buffer-list-update-hook.
9761 (split-window): Make sure window--check-frame won't destroy an
9762 existing atomic window in case the new window gets nested
9764 (display-buffer-at-bottom): Ignore minibuffer window when
9765 walking window tree. Don't split a side window.
9766 (pop-to-buffer): Don't set-buffer here, the select-window call
9768 (mouse-autoselect-window-select): Autoselect only if we are in the
9769 text portion of the window.
9771 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9773 * net/shr.el (shr-parse-image-data): New function to grab both the
9774 data itself and the Content-Type.
9775 (shr-put-image): Use it.
9777 * net/eww.el (eww-display-image): Ditto.
9779 * image.el (image-content-type-suffixes): New variable.
9781 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9783 * progmodes/python.el (python-imenu--build-tree)
9784 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9786 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9788 * simple.el (backward-word): Mention the optional argument.
9790 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9792 * frameset.el (frameset--make): Rename constructor from make-frameset.
9793 (frameset-p, frameset-valid-p): Don't autoload.
9794 (frameset-valid-p): Use normal accessors.
9796 2013-08-13 Glenn Morris <rgm@gnu.org>
9798 * progmodes/compile.el (compile-command): Tweak example in doc.
9799 * obsolete/scribe.el (scribe-mode):
9800 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9802 * mail/feedmail.el (feedmail-confirm-outgoing)
9803 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9805 * cus-start.el (truncate-partial-width-windows): Fix type.
9807 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9809 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9811 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9813 * emacs-lisp/timer.el (timer--time-setter): New function.
9814 (timer--time): Use it as gv-setter.
9816 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9817 setter is not a symbol.
9819 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9821 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9822 if sending fails. This makes debugging easier.
9824 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9826 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9827 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9828 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9830 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9832 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9834 2013-08-12 Glenn Morris <rgm@gnu.org>
9836 * format.el (format-annotate-function):
9837 Handle read-only text properties in the source. (Bug#14887)
9839 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9841 * net/eww.el (eww-display-html): Ignore coding system errors.
9842 One web site uses "utf-8lias" as the coding system.
9844 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9846 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9848 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9850 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9851 (tutorial--detailed-help): Remove unused local variables.
9852 (tutorial--save-tutorial-to): Use ignore-errors.
9853 (help-with-tutorial): Use looking-at-p.
9855 * view.el (view-buffer-other-window, view-buffer-other-frame):
9856 Mark unused arguments.
9858 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9859 (woman-select-symbol-fonts, woman, woman-find-file)
9860 (woman-insert-file-contents, woman-non-underline-faces):
9862 (woman1-unquote): Move declaration.
9864 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9865 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9866 argument. Remove unused local variable.
9867 (xml-parse-elem-type): Use string-match-p.
9868 (xml-substitute-numeric-entities): Use ignore-errors.
9870 * calculator.el (calculator): Mark unused argument.
9871 (calculator-paste, calculator-quit, calculator-integer-p):
9873 (calculator-string-to-number, calculator-decimal, calculator-exp)
9874 (calculator-op-or-exp): Use string-match-p.
9876 * dired.el (dired-buffer-more-recently-used-p): Declare.
9877 (dired-insert-set-properties, dired-insert-old-subdirs):
9880 * dired-aux.el (dired-compress): Use ignore-errors.
9881 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9882 (dired-do-async-shell-command, dired-do-shell-command)
9883 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9884 (dired-insert-subdir-validate): Use string-match-p.
9885 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9886 (dired-add-entry): Use string-match-p, looking-at-p.
9887 (dired-insert-subdir-newpos): Remove unused local variable.
9889 * filenotify.el (file-notify-callback): Remove unused local variable.
9891 * filesets.el (filesets-error): Mark unused argument.
9892 (filesets-which-command-p, filesets-filter-dir-names)
9893 (filesets-directory-files, filesets-get-external-viewer)
9894 (filesets-ingroup-get-data): Use string-match-p.
9896 * find-file.el (ff-other-file-name, ff-other-file-name)
9897 (ff-find-the-other-file, ff-cc-hh-converter):
9898 Remove unused local variables.
9899 (ff-get-file-name): Use string-match-p.
9900 (ff-all-dirs-under): Use ignore-errors.
9902 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9903 (follow-select-if-visible): Remove unused local variable.
9905 * forms.el (read-file-filter): Move declaration.
9906 (forms--make-format, forms--make-parser, forms-insert-record):
9907 Quote function with #'.
9908 (forms--update): Use string-match-p. Quote function with #'.
9910 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9911 (help-make-xrefs): Use looking-at-p.
9912 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9914 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9915 (ibuffer-confirm-operation-on): Use string-match-p.
9917 * msb.el (msb-item-handler, msb-dired-item-handler):
9918 Mark unused arguments.
9920 * ses.el (ses-decode-cell-symbol)
9921 (ses-kill-override): Remove unused local variable.
9922 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9923 (ses-load): Use ignore-errors, looking-at-p.
9924 (ses-jump-safe): Use ignore-errors.
9925 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9927 * tabify.el (untabify, tabify): Mark unused arguments.
9929 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9930 Mark unused argument.
9931 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9932 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9934 * emacs-lisp/timer.el (timer--time): Define setter with
9935 gv-define-setter to avoid deprecation warning.
9937 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9938 (*record-cmpl-statistics-p*): Remove (was commented out).
9939 (cmpl-statistics-block): Remove (body was commented out).
9940 All callers changed.
9941 (add-completions-from-buffer, load-completions-from-file):
9942 Remove unused variables.
9944 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9946 * filecache.el (file-cache-delete-file-list):
9947 Print message only when told so.
9948 (file-cache-files-matching): Use #' in mapconcat argument.
9950 * ffap.el (ffap-url-at-point): Fix reference to variable
9951 thing-at-point-default-mail-uri-scheme.
9953 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * subr.el (define-error): New function.
9956 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9957 error-file-not-found and define with define-error.
9958 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9959 and define with define-error.
9960 * userlock.el (file-locked, file-supersession):
9961 * simple.el (mark-inactive):
9962 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9963 * progmodes/ada-mode.el (ada-mode-errors):
9964 * play/life.el (life-extinct):
9965 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9966 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9967 * nxml/rng-util.el (rng-error):
9968 * nxml/rng-uri.el (rng-uri-error):
9969 * nxml/rng-match.el (rng-compile-error):
9970 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9971 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9972 * nxml/nxml-rap.el (nxml-scan-error):
9973 * nxml/nxml-outln.el (nxml-outline-error):
9974 * net/soap-client.el (soap-error):
9975 * net/gnutls.el (gnutls-error):
9976 * net/ange-ftp.el (ftp-error):
9977 * mpc.el (mpc-proc-error):
9978 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9979 (json-number-format, json-string-escape, json-string-format)
9980 (json-key-format, json-object-format):
9981 * jka-compr.el (compression-error):
9982 * international/quail.el (quail-error):
9983 * international/kkc.el (kkc-error):
9984 * emacs-lisp/ert.el (ert-test-failed):
9985 * calc/calc.el (calc-error, inexact-result, math-overflow)
9987 * bookmark.el (bookmark-error-no-filename):
9988 * epg.el (epg-error): Define with define-error.
9990 * time.el (display-time-event-handler)
9991 (display-time-next-load-average): Don't call sit-for since it seems
9992 unnecessary (bug#15045).
9994 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9995 Use #' instead of ' to quote functions.
9996 (checkdoc-output-mode): Use setq-local.
9997 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9998 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9999 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10000 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10001 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10002 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10003 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10004 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10006 * ido.el (ido-completion-help): Fix up compiler warning.
10008 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10010 * frameset.el (frameset-p): Add autoload cookie.
10011 (frameset--jump-to-register): New function, based on code moved from
10013 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10015 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10016 (frameset-restore, frameset-save, frameset-session-filter-alist):
10017 Remove declarations.
10018 (register-alist): Doc fix.
10019 (frameset-to-register): Move to frameset.el.
10020 (jump-to-register, describe-register-1): Remove frameset-specific code.
10022 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10024 * allout-widgets.el (allout-widgets-pre-command-business)
10025 (allout-widgets-post-command-business)
10026 (allout-widgets-after-change-handler)
10027 (allout-decorate-item-and-context, allout-set-boundary-marker)
10028 (allout-body-modification-handler)
10029 (allout-graphics-modification-handler): Mark ignored arguments.
10030 (allout-widgets-post-command-business)
10031 (allout-widgets-exposure-change-processor)
10032 (allout-widgets-exposure-undo-processor)
10033 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10034 (allout-parse-item-at-point, allout-decorate-item-guides)
10035 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10036 * allout.el (epa-passphrase-callback-function): Declare.
10037 (allout-overlay-insert-in-front-handler)
10038 (allout-overlay-interior-modification-handler)
10039 (allout-isearch-end-handler, allout-chart-siblings)
10040 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10041 (allout-yank-processing, allout-process-exposed)
10042 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10043 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10044 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10045 (lisp-indent-defform): Mark ignored arguments.
10046 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10047 (calculate-lisp-indent): Remove unused variables.
10048 * international/characters.el (indian-2-column, arabic-2-column)
10049 (tibetan): Mark ignored arguments.
10050 (use-cjk-char-width-table): Mark ignored arguments.
10051 Remove unused variables.
10052 * international/fontset.el (build-default-fontset-data)
10053 (x-compose-font-name, create-fontset-from-fontset-spec):
10054 Mark ignored arguments.
10055 (fontset-plain-name): Remove unused variables.
10056 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10057 (keyboard-coding-system): Mark ignored arguments.
10058 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10059 * help.el (resize-temp-buffer-window):
10060 * window.el (display-buffer-in-major-side-window)
10061 (display-buffer-in-side-window, display-buffer-in-previous-window):
10062 Remove unused variables.
10063 * isearch.el (isearch-forward-symbol):
10064 * version.el (emacs-bzr-version-bzr):
10065 * international/mule-cmds.el (current-language-environment):
10066 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10067 (x-handle-display):
10068 * term/pc-win.el (x-list-fonts, x-display-planes)
10069 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10070 (x-server-version, x-display-screens, x-display-mm-height)
10071 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10072 (x-selection-owner-p, x-own-selection-internal)
10073 (x-disown-selection-internal, x-get-selection-internal)
10074 (msdos-initialize-window-system):
10075 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10076 * term/x-win.el (x-handle-no-bitmap-icon):
10077 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10078 (vc-default-find-file-hook, vc-default-extra-menu):
10079 Mark ignored arguments.
10081 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10083 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10084 break-condition in the context of the debugged code (bug#12685).
10086 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10089 Do not use an overlay to highlight the last prompt. (Bug#14744)
10090 (comint-mode): Make comint-last-prompt buffer local.
10091 (comint-last-prompt): New variable.
10092 (comint-last-prompt-overlay): Remove. Superseded by
10093 comint-last-prompt.
10094 (comint-snapshot-last-prompt, comint-output-filter):
10095 Use comint-last-prompt.
10097 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10099 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10100 (frameset-save): Check validity of the resulting frameset.
10102 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10104 * ido.el (ido-record-command): Add doc string.
10106 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10108 * frameset.el (frameset): Do not disable creation of the default
10109 frameset-p predicate. Doc fix.
10110 (frameset-valid-p): New function, copied from the old predicate-p.
10111 Add additional checks.
10112 (frameset-restore): Check with frameset-valid-p.
10113 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10114 (frameset-name, frameset-description, frameset-properties)
10115 (frameset-states): Add docstring.
10116 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10117 (frameset-filter-alist): Doc fixes.
10119 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10121 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10123 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10125 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10126 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10127 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10128 (byte-compile-normal-call): Remove obsolescence check.
10130 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10132 * frameset.el (frameset-restore): Doc fix.
10134 * register.el (frameset-frame-id, frameset-frame-with-id)
10135 (frameset-p, frameset-restore, frameset-save): Declare.
10136 (register-alist): Document framesets.
10137 (frameset-session-filter-alist): Declare.
10138 (frameset-to-register): New function.
10139 (jump-to-register): Implement jumping to framesets. Doc fix.
10140 (describe-register-1): Describe framesets.
10142 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10144 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10146 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10147 Use lexical-binding.
10149 * frameset.el (frameset): Use type vector, not list (incompatible
10150 change). Do not declare a new constructor, use the default one.
10151 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10152 `name' and `description', respectively, and add read-only slot
10153 `timestamp'. Doc fixes.
10154 (frameset-copy, frameset-persistent-filter-alist)
10155 (frameset-filter-alist, frameset-switch-to-gui-p)
10156 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10157 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10158 (frameset-filter-iconified, frameset-keep-original-display-p):
10160 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10161 Rename from frameset-filter-(save|restore)-param. All callers changed.
10163 (frameset-p): Adapt to change to vector and be more thorough.
10164 Change arg name to OBJECT. Doc fix.
10165 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10166 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10167 All callers changed.
10168 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10169 All callers changed.
10170 (frameset--record-minibuffer-relationships): Rename from
10171 frameset--process-minibuffer-frames. All callers changed.
10172 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10173 Use new default constructor (again). Doc fix.
10174 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10175 All callers changed.
10176 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10177 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10179 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10180 PARAMETERS and WINDOW-STATE, respectively.
10181 (frameset-restore): Add new keyword argument PREDICATE.
10182 Reset frameset--target-display to nil. Doc fix.
10184 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10186 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10187 (bat-mode): Use it.
10188 (bat-mode-syntax-table): Mark \n as end-of-comment.
10189 (bat-font-lock-keywords): Remove comment rule.
10191 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10192 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10194 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10195 (byte-compile-callargs-warn): Use `push'.
10196 (byte-compile-arglist-warn): Ignore higher-order "calls".
10197 (byte-compile-file-form-autoload): Use `pcase'.
10198 (byte-compile-function-form): If quoting a symbol, check that it exists.
10200 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10202 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10203 and add a few popular commands found in batch files.
10204 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10205 (dos-mode): Doc fixes.
10207 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10210 (dos-mode): Use setq-local. Add space after "rem".
10211 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10212 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10214 2013-08-07 Arni Magnusson <arnima@hafro.is>
10216 * progmodes/dos.el: New file.
10217 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10220 2013-08-06 Glenn Morris <rgm@gnu.org>
10222 * calendar/calendar.el: Add new faces, and day-header-array.
10223 (calendar-weekday-header, calendar-weekend-header)
10224 (calendar-month-header): New faces.
10225 (calendar-day-header-construct): New function.
10226 (calendar-day-header-width): Also :set calendar-day-header-array.
10227 (calendar-american-month-header, calendar-european-month-header)
10228 (calendar-iso-month-header): Use calendar- faces.
10229 (calendar-generate-month):
10230 Use calendar-day-header-array for day headers; apply faces to them.
10231 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10232 (calendar-abbrev-construct): Add optional maxlen argument.
10233 (calendar-day-name-array): Doc fix.
10234 (calendar-day-name-array, calendar-abbrev-length)
10235 (calendar-day-abbrev-array):
10236 Also :set calendar-day-header-array, and maybe redraw.
10237 (calendar-day-header-array): New option. (Bug#15007)
10238 (calendar-font-lock-keywords): Set to nil and make obsolete.
10239 (calendar-day-name): Add option to use header array.
10241 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10243 * net/shr.el (shr-render-td): Remove debugging.
10244 (shr-render-td): Make width computation consistent by defaulting
10245 all zero-width columns to 10 characters. This may not be optimal,
10246 but it's at least consistent.
10247 (shr-make-table-1): Redo last change to fix the real problem in
10250 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10252 * files.el (cache-long-line-scans):
10253 Make obsolete alias to `cache-long-scans'.
10255 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10257 * frameset.el (frameset, frameset-filter-alist)
10258 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10259 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10260 (frameset-compute-pos): Rename from frameset--compute-pos,
10262 (frameset-move-onscreen): Use frameset-compute-pos.
10263 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10265 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10266 Fix typos in docstrings.
10268 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10270 * frame.el (get-other-frame): Tiny cleanup.
10272 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10274 * vc/vc.el (vc-default-ignore-completion-table):
10275 Silence byte-compiler warning.
10277 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10278 slot, which can indeed be nil.
10279 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10280 Move entry for `left' from persistent to live filter alist.
10281 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10283 (frameset-filter-params): When restoring a frame, copy items added to
10284 `filtered', to avoid unwittingly modifying the original parameters.
10285 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10286 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10288 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10289 to use looking-at-p instead of looking-at. (Bug#15028)
10291 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10293 Revert introduction of isearch-filter-predicates (bug#14714).
10294 Rely on add-function instead.
10295 * isearch.el (isearch-filter-predicates): Rename it back to
10296 isearch-filter-predicate.
10297 (isearch-message-prefix): Use advice-function-mapc and advice
10298 properties to get the isearch-message-prefix.
10299 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10300 instead of run-hook-with-args-until-failure.
10301 (isearch-filter-visible): Not obsolete any more.
10302 * loadup.el: Preload nadvice.
10303 * replace.el (perform-replace): Revert to funcall
10304 instead of run-hook-with-args-until-failure.
10305 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10306 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10307 dired-isearch-filenames-toggle; make it into a proper minor mode.
10308 Use add/remove-function.
10309 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10310 Call the minor-mode rather than add/remove-hook.
10311 (dired-isearch-filter-filenames):
10312 Remove isearch-message-prefix property.
10313 * info.el (Info--search-loop): New function, extracted from Info-search.
10314 Funcall isearch-filter-predicate instead of
10315 run-hook-with-args-until-failure isearch-filter-predicates.
10316 (Info-search): Use it.
10317 (Info-mode): Use isearch-filter-predicate instead of
10318 isearch-filter-predicates.
10320 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10322 Do not call to `selected-window' where it is assumed by default.
10323 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10324 `window-hscroll', `window-width', `window-height', `window-buffer',
10325 `window-frame', `window-start', `window-point', `next-window'
10326 and `window-display-table'.
10327 * abbrev.el (abbrev--default-expand):
10328 * bs.el (bs--show-with-configuration):
10329 * buff-menu.el (Buffer-menu-mouse-select):
10330 * calc/calc.el (calc):
10331 * calendar/calendar.el (calendar-generate-window):
10332 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10333 (diary-make-entry):
10334 * comint.el (send-invisible, comint-dynamic-complete-filename)
10335 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10336 * completion.el (complete):
10337 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10338 * disp-table.el (describe-current-display-table):
10339 * doc-view.el (doc-view-insert-image):
10340 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10341 * ehelp.el (with-electric-help):
10342 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10343 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10344 * emacs-lisp/helper.el (Helper-help-scroller):
10345 * emulation/cua-base.el (cua--post-command-handler-1):
10346 * eshell/esh-mode.el (eshell-output-filter):
10347 * ffap.el (ffap-gnus-wrapper):
10348 * help-macro.el (make-help-screen):
10349 * hilit-chg.el (highlight-compare-buffers):
10350 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10351 * hl-line.el (global-hl-line-highlight):
10352 * icomplete.el (icomplete-simple-completing-p):
10353 * isearch.el (isearch-done):
10354 * jit-lock.el (jit-lock-stealth-fontify):
10355 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10356 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10357 * mpc.el (mpc-tagbrowser, mpc):
10358 * net/rcirc.el (rcirc-any-buffer):
10359 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10360 * play/landmark.el (landmark-max-width, landmark-max-height):
10361 * play/zone.el (zone):
10362 * progmodes/compile.el (compilation-goto-locus):
10363 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10364 * progmodes/etags.el (find-tag-other-window):
10365 * progmodes/fortran.el (fortran-column-ruler):
10366 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10367 * progmodes/verilog-mode.el (verilog-point-text):
10368 * reposition.el (reposition-window):
10369 * rot13.el (toggle-rot13-mode):
10370 * server.el (server-switch-buffer):
10371 * shell.el (shell-dynamic-complete-command)
10372 (shell-dynamic-complete-environment-variable):
10373 * simple.el (insert-buffer, set-selective-display)
10374 (delete-completion-window):
10375 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10376 (speedbar-recenter):
10377 * startup.el (fancy-splash-head):
10378 * textmodes/ispell.el (ispell-command-loop):
10379 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10380 * tutorial.el (help-with-tutorial):
10381 * vc/add-log.el (add-change-log-entry):
10382 * vc/compare-w.el (compare-windows):
10383 * vc/ediff-help.el (ediff-indent-help-message):
10384 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10385 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10386 (ediff-setup-control-frame):
10387 * vc/emerge.el (emerge-position-region):
10388 * vc/pcvs-util.el (cvs-bury-buffer):
10389 * window.el (walk-windows, mouse-autoselect-window-select):
10390 * winner.el (winner-set-conf, winner-undo): Related users changed.
10392 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10394 * frameset.el (frameset--set-id): Doc fix.
10395 (frameset-frame-id, frameset-frame-id-equal-p)
10396 (frameset-locate-frame-id): New functions.
10397 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10398 (frameset-restore): Use them.
10400 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10402 Do not call to `selected-frame' where it is assumed by default.
10403 Affected functions are `raise-frame', `redraw-frame',
10404 `frame-first-window', `frame-terminal' and `delete-frame'.
10405 * calendar/appt.el (appt-disp-window):
10406 * epg.el (epg-wait-for-completion):
10407 * follow.el (follow-delete-other-windows-and-split)
10408 (follow-avoid-tail-recenter):
10409 * international/mule.el (set-terminal-coding-system):
10410 * mail/rmail.el (rmail-mail-return):
10411 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10412 * progmodes/f90.el (f90-add-imenu-menu):
10413 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10414 * server.el (server-switch-buffer):
10415 * simple.el (delete-completion-window):
10417 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10418 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10419 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10420 * vc/ediff.el (ediff-documentation): Related users changed.
10421 * frame.el (selected-terminal): Remove the leftover.
10423 2013-08-05 Glenn Morris <rgm@gnu.org>
10425 * calendar/calendar.el (calendar-generate-month):
10426 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10427 (calendar-generate-month, calendar-font-lock-keywords):
10428 Fix for calendar-day-header-width > length of any day name.
10430 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10432 * desktop.el (desktop-clear): Use new name of sort predicate.
10434 * frameset.el (frameset): Add docstring. Move :version property to its
10435 own `version' slot.
10436 (frameset-copy): Rename from copy-frameset.
10437 (frameset-p): Check more thoroughly.
10438 (frameset-prop): Do not check for :version, which is no longer a prop.
10439 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10440 Use new :never value instead of t.
10441 (frameset-filter-alist): Expand and clarify docstring.
10442 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10443 (frameset-filter-minibuffer, frameset-filter-save-param)
10444 (frameset-filter-restore-param, frameset-filter-iconified):
10445 Add pointer to docstring of frameset-filter-alist.
10446 (frameset-filter-params): Rename filter values to be more meaningful:
10447 :never instead of t, and reverse the meanings of :save and :restore.
10448 (frameset--process-minibuffer-frames): Clarify error message.
10449 (frameset-save): Avoid unnecessary and confusing call to framep.
10450 Use new BOA constructor for framesets.
10451 (frameset--reuse-list): Doc fix.
10452 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10453 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10454 (frameset-minibufferless-first-p): Doc fix.
10455 Rename from frameset-sort-frames-for-deletion.
10456 (frameset-restore): Doc fixes. Use new function names.
10457 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10459 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10461 * desktop.el (desktop-restore-forces-onscreen)
10462 (desktop-restore-reuses-frames): Document :keyword constant values.
10463 (desktop-filter-parameters-alist): Remove, now identical to
10464 frameset-filter-alist.
10465 (desktop--filter-tty*): Remove, moved to frameset.el.
10466 (desktop-save-frameset, desktop-restore-frameset):
10467 Do not pass :filters argument.
10469 * frameset.el (frameset-live-filter-alist)
10470 (frameset-persistent-filter-alist): New variables.
10471 (frameset-filter-alist): Use them. Add autoload cookie.
10472 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10473 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10474 `frameset--id' (it's supposed to be internal to frameset.el).
10475 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10476 (frameset--initial-params): New function.
10477 (frameset--get-frame): Use it. Doc fix.
10478 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10479 Accept :all, not 'all.
10480 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10481 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10482 with fbound symbols. Fix frame id matching, and remove matching ids if
10483 the frame being restored is deleted. Obey :delete.
10485 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10487 * subr.el (macrop): New function.
10488 (text-clone--maintaining): New var.
10489 (text-clone--maintain): Rename from text-clone-maintain. Use it
10490 instead of inhibit-modification-hooks.
10492 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10493 a proxy, so as handle autoloads and redefinitions of the target.
10494 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10496 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10497 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10498 (pcase--mutually-exclusive-p): New function.
10499 (pcase--split-consp): Use it.
10500 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10501 mutually exclusive with the current predicate.
10503 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10504 (edebug-macrop): Remove. Use `macrop' instead.
10505 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10507 * eshell/esh-cmd.el (eshell-macrop):
10508 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10510 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10512 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10513 (advice-mapc): New function, using it.
10514 (advice-function-member-p): New function.
10515 (advice--normalize): Store the cdr in advice--saved-rewrite since
10516 that's the part that will be changed.
10517 (advice--symbol-function): New function.
10518 (advice-remove): Handle removal before the function is defined.
10519 Adjust to new advice--saved-rewrite.
10520 (advice-member-p): Use advice-function-member-p and
10521 advice--symbol-function.
10523 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10525 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10526 (frameset-filter-minibuffer): Doc fix.
10527 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10528 (frameset--set-id, frameset--process-minibuffer-frames)
10529 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10530 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10532 * desktop.el (desktop-clear): Only delete frames when called
10533 interactively and desktop-restore-frames is non-nil. Doc fix.
10534 (desktop-read): Set desktop-saved-frameset to nil.
10536 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10538 * vc/vc.el (vc-ignore): Rewrite.
10539 (vc-default-ignore-completion-table, vc--read-lines)
10540 (vc--add-line, vc--remove-regexp): New functions.
10542 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10543 (vc-svn-ignore-completion-table): New function.
10545 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10546 (vc-hg-ignore-completion-table)
10547 (vc-hg-find-ignore-file): New functions.
10549 * vc/vc-git.el (vc-git-ignore): Rewrite.
10550 (vc-git-ignore-completion-table)
10551 (vc-git-find-ignore-file): New functions.
10553 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10555 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10556 (vc-bzr-ignore-completion-table)
10557 (vc-bzr-find-ignore-file): New functions.
10559 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10561 * frameset.el (frameset-prop): New function and setter.
10562 (frameset-save): Do not modify frame list passed by the caller.
10564 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10568 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10570 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10571 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10573 * custom.el (custom-initialize-default, custom-initialize-set)
10574 (custom-initialize-reset, custom-initialize-changed): Affect the
10575 toplevel-default-value (bug#6275, bug#14586).
10576 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10579 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10581 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10582 Add cl-def* expressions.
10584 * frameset.el (frameset-filter-params): Fix order of arguments.
10586 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10588 Move code related to saving frames to frameset.el.
10589 * desktop.el: Require frameset.
10590 (desktop-restore-frames): Doc fix.
10591 (desktop-restore-reuses-frames): Rename from
10592 desktop-restoring-reuses-frames.
10593 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10594 (desktop-clear): Clear frames too.
10595 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10596 (desktop--filter-tty*, desktop-save, desktop-read):
10597 Use frameset functions.
10598 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10599 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10600 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10601 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10602 (desktop--process-minibuffer-frames, desktop-save-frames)
10603 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10604 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10605 (desktop--sort-states, desktop-restoring-frames-p)
10606 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10607 (desktop-restoring-frameset-p, desktop-restore-frameset)
10608 (desktop--check-dont-save, desktop-save-frameset): New functions.
10609 (desktop--app-id): New constant.
10610 (desktop-first-buffer, desktop-buffer-ok-count)
10611 (desktop-buffer-fail-count): Move before first use.
10612 * frameset.el: New file.
10614 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * files.el: Use lexical-binding.
10617 (dir-locals-read-from-file): Remove unused `err' variable.
10618 (hack-dir-local-variables--warned-coding): New var.
10619 (hack-dir-local-variables): Use it to avoid repeated warnings.
10620 (make-backup-file-name--default-function): New function.
10621 (make-backup-file-name-function): Use it as default.
10622 (buffer-stale--default-function): New function.
10623 (buffer-stale-function): Use it as default.
10624 (revert-buffer-insert-file-contents--default-function): New function.
10625 (revert-buffer-insert-file-contents-function): Use it as default.
10626 (insert-directory): Avoid add-to-list.
10628 * autorevert.el (auto-revert-handler): Simplify.
10629 Use buffer-stale--default-function.
10631 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10633 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10635 * whitespace.el (whitespace-ensure-local-variables): New function.
10636 (whitespace-cleanup-region): Call it.
10637 (whitespace-turn-on): Call it.
10639 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10641 Complete file name handlers.
10643 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10644 (tramp-handle-verify-visited-file-modtime)
10645 (tramp-handle-file-notify-rm-watch): New functions.
10646 (tramp-call-process): Do not bind `default-directory'.
10648 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10649 Order alphabetically.
10650 <access-file, add-name-to-file, dired-call-process>:
10651 <dired-compress-file, file-acl, file-notify-rm-watch>:
10652 <file-ownership-preserved-p, file-selinux-context>:
10653 <make-directory-internal, make-symbolic-link, set-file-acl>:
10654 <set-file-selinux-context, set-visited-file-modtime>:
10655 <verify-visited-file-modtime>: Add handler.
10656 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10658 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10659 <file-notify-add-watch, file-notify-rm-watch>:
10660 <set-file-times, set-visited-file-modtime>:
10661 <verify-visited-file-modtime>: Add handler.
10662 (with-tramp-gvfs-error-message)
10663 (tramp-gvfs-handle-set-visited-file-modtime)
10664 (tramp-gvfs-fuse-file-name): Remove.
10665 (tramp-gvfs-handle-file-notify-add-watch)
10666 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10667 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10669 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10670 Order alphabetically.
10671 <file-notify-rm-watch>: Use default Tramp handler.
10672 <executable-find>: Remove private handler.
10673 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10674 `default-directory'.
10675 (tramp-sh-handle-executable-find)
10676 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10677 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10678 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10679 Do not use `format' in `tramp-message'.
10681 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10682 <file-notify-rm-watch, set-visited-file-modtime>:
10683 <verify-visited-file-modtime>: Add handler.
10684 (tramp-smb-call-winexe): Do not bind `default-directory'.
10686 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10688 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10690 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10692 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10694 (log-view-diff-changeset): Same.
10695 (log-view-diff-common): Call backend command `previous-revision'
10696 to find out the previous revision, in both cases. Swap the
10697 variables `to' and `fr', so that `fr' usually refers to the
10698 earlier revision (Bug#14989).
10700 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10702 * ibuf-ext.el (ibuffer-filter-by-filename):
10703 Make it work with dired buffers too.
10705 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10707 * emacs-lisp/re-builder.el (reb-color-display-p):
10708 * files.el (save-buffers-kill-terminal):
10709 * net/browse-url.el (browse-url):
10710 * server.el (server-save-buffers-kill-terminal):
10711 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10712 Prefer nil to selected-frame for the first arg of frame-parameter.
10714 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10716 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10718 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10720 * minibuffer.el (completion--twq-all): Try and preserve each
10721 completion's case choice (bug#14907).
10723 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10725 * net/network-stream.el (open-network-stream): Mention the new
10726 :nogreeting parameter.
10727 (network-stream-open-starttls): Use the :nogreeting parameter
10730 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10732 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10733 more natural than popping.
10735 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10736 (shr-urlify): Highlight under mouse.
10738 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10740 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10742 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10744 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10747 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10748 point-min==1. Fix search string. Fix parentheses missing.
10750 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10751 assume point-min==1. Fix search string. Fix parentheses missing.
10753 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10755 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10758 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10760 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10761 initial frame is minibuffer-less. (Bug#14841)
10763 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10765 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10768 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10769 (tramp-maybe-open-connection): Use it.
10771 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10773 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10774 minimal set of parameters passed when creating a frame, because
10775 the minibuffer status of a frame cannot be changed later.
10777 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10779 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10780 replace-regexp-in-string and inadvertent omissions in previous change.
10781 (todo-filter-items): Ensure only file names are comma-separated in
10782 name of filtered items buffer.
10784 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10786 * desktop.el: Optionally force offscreen frames back onscreen.
10787 (desktop-restoring-reuses-frames): New option.
10788 (desktop--compute-pos, desktop--move-onscreen): New functions.
10789 (desktop--make-frame): Use desktop--move-onscreen.
10791 2013-07-27 Alan Mackenzie <acm@muc.de>
10793 Fontify a Java generic method as a function.
10794 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10797 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10799 * calendar/todo-mode.el: Add command to rename todo files.
10800 (todo-rename-file): New command.
10801 (todo-key-bindings-t): Add key binding for it. Change the
10802 bindings of todo-filter-regexp-items(-multifile) to use `x'
10803 instead of `r', since the latter is better suited to the new
10806 2013-07-27 Alan Mackenzie <acm@muc.de>
10808 Make Java try-with-resources statement parse properly.
10809 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10810 (c-block-stmt-1-2-key): New language constants/variables.
10811 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10812 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10813 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10814 with c-block-stmt-1-2-key.
10816 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10818 * desktop.el (desktop--make-frame): Apply most frame parameters after
10819 creating the frame to force (partially or totally) offscreen frames to
10820 be restored as such.
10822 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10824 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10827 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10829 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10830 `base' arg of backtrace-frame.
10832 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10834 * simple.el (list-processes): Doc fix.
10836 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10838 * desktop.el (desktop--select-frame):
10839 Try harder to reuse existing frames.
10841 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10844 (edebug-eval): Use backtrace-eval.
10845 (edebug--display, edebug--recursive-edit): Don't let-bind the
10846 edebug-outer-* vars that keep track of variables we locally let-bind.
10847 (edebug-outside-excursion): Don't restore outside values of locally
10849 (edebug--display): Use user-error.
10850 (cl-lexical-debug, cl-debug-env): Remove.
10852 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10854 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10855 are restored to be sure that they are visible before deleting any
10858 2013-07-26 Matthias Meulien <orontee@gmail.com>
10860 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10861 vc-print-root-log. (Bug#14948)
10863 2013-07-26 Richard Stallman <rms@gnu.org>
10865 Add aliases for encrypting mail.
10866 * epa.el (epa-mail-aliases): New option.
10867 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10868 Bind inhibit-read-only so read-only text doesn't ruin everything.
10869 (epa-mail-default-recipients): New subroutine broken out.
10870 Handle epa-mail-aliases.
10872 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10874 Add support for lexical variables to the debugger's `e' command.
10875 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10876 vars, except for debugger-outer-match-data.
10877 (debugger-frame-number): Move check for "on a function call" from
10878 callers into it. Add `skip-base' argument.
10879 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10880 (debugger-env-macro): Only reset the state stored in non-variables,
10881 i.e. current-buffer and match-data.
10882 (debugger-eval-expression): Rewrite using backtrace-eval.
10883 * subr.el (internal--called-interactively-p--get-frame): Remove.
10884 (called-interactively-p):
10885 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10886 `base' arg of backtrace-frame instead.
10888 2013-07-26 Glenn Morris <rgm@gnu.org>
10890 * align.el (align-regexp): Doc fix. (Bug#14857)
10891 (align-region): Explicit error if subexpression missing/does not match.
10893 * simple.el (global-visual-line-mode):
10894 Do not duplicate the mode lighter. (Bug#14858)
10896 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10898 * window.el (display-buffer): In display-buffer bind
10899 split-window-keep-point to t, bug#14829.
10901 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10903 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10904 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10905 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10906 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10907 Change accordingly.
10908 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10909 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10911 2013-07-25 Glenn Morris <rgm@gnu.org>
10913 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10915 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10917 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10918 parameter to modify-frame-parameters if the value has not changed;
10919 this is a workaround for bug#14949.
10920 (desktop--make-frame): On cl-delete-if call, check parameter name,
10921 not full parameter.
10923 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10925 * vc/vc.el (vc-ignore): New function.
10927 * vc/vc-svn.el (vc-svn-ignore): New function.
10929 * vc/vc-hg.el (vc-hg-ignore): New function.
10931 * vc/vc-git.el (vc-git-ignore): New function.
10933 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10934 (vc-dir-ignore): New function.
10936 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10937 (cvs-append-to-ignore): Move here from pcvs.el.
10939 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10941 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10943 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10945 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10946 (desktop-restore-frames): Warn when deleting an existing frame failed.
10948 2013-07-24 Glenn Morris <rgm@gnu.org>
10950 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10952 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10954 * filenotify.el (file-notify-supported-p):
10955 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10958 * autorevert.el (auto-revert-use-notify)
10959 (auto-revert-notify-add-watch):
10960 * net/tramp.el (tramp-file-name-for-operation):
10961 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10962 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10963 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10964 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10965 Remove `file-notify-supported-p' entry.
10967 2013-07-24 Glenn Morris <rgm@gnu.org>
10969 * printing.el: Replace all uses of deleted ps-windows-system,
10970 ps-lp-system, ps-flatten-list with lpr- versions.
10972 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10974 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10975 checked with memq (bug#14935).
10977 * files.el (revert-buffer-function): Use a non-nil default.
10978 (revert-buffer-preserve-modes): Declare var to
10979 provide access to the `preserve-modes' argument.
10980 (revert-buffer): Let-bind it.
10981 (revert-buffer--default): New function, extracted from revert-buffer.
10983 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10985 * lpr.el: Signal print errors more prominently.
10986 (print-region-function): Don't default to nil.
10987 (lpr-print-region): New function, extracted from print-region-1.
10988 Check lpr's return value and signal an error in case of problem.
10989 (print-region-1): Use it.
10990 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10992 (ps-printer-name): Default to nil.
10993 (ps-printer-name-option): Default to lpr-printer-switch.
10994 (ps-print-region-function): Don't default to nil.
10995 (ps-postscript-code-directory): Simplify default.
10996 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10997 (ps-string-list, ps-eval-switch, ps-flatten-list)
10998 (ps-flatten-list-1): Remove.
10999 (ps-multibyte-buffer): Avoid setq.
11000 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11001 (print-region-function, ps-print-region-function): Don't set them here.
11003 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11005 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11006 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11007 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11008 (ido-decorations): Doc fix.
11010 * ansi-color.el: Fix old URL.
11012 2013-07-23 Michael R. Mauger <michael@mauger.com>
11014 * progmodes/sql.el: Version 3.3
11015 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11016 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11017 (sql-interactive-remove-continuation-prompt): Rewrite, use
11018 functions above. Fix continuation prompt and complete output line
11020 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11021 redirected output buffer.
11022 (sql-mode): Restore deleted code (Bug#13591).
11024 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11026 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11028 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11030 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11032 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11033 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11036 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11038 * desktop.el (desktop-clear): Simplify; remove useless checks
11039 against invalid buffer names.
11040 (desktop-list*): Use cl-list*.
11041 (desktop-buffer-info, desktop-create-buffer): Simplify.
11043 2013-07-23 Leo Liu <sdl.web@gmail.com>
11045 * bookmark.el (bookmark-make-record): Restore NAME as a default
11048 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11051 extracted from autoload--insert-text.
11052 (autoload--insert-text): Remove.
11053 (autoload--print-cookie-text): New function, extracted from
11054 autoload--insert-cookie-text.
11055 (autoload--insert-cookie-text): Remove.
11056 (autoload-generate-file-autoloads): Adjust calls accordingly.
11058 * winner.el (winner-hook-installed-p): Remove.
11059 (winner-mode): Simplify accordingly.
11061 * subr.el (add-to-list): Fix compiler-macro when `append' is
11062 not constant. Don't use `cl-member' for the base case.
11064 * progmodes/subword.el: Fix boundary case (bug#13758).
11065 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11067 (subword-backward-regexp): Make it a constant.
11068 (subword-forward-internal): Don't treat a trailing capital as the
11069 beginning of a word.
11071 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11073 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11074 global value of tabulated-list-revert-hook (bug#14930).
11076 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11078 * desktop.el: Require 'cl-lib.
11079 (desktop-before-saving-frames-functions): New hook.
11080 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11081 for frames being saved. Rename from desktop--save-minibuffer-frames.
11082 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11083 Do not save frames with non-nil `desktop-dont-save' parameter.
11084 Filter out deleted frames.
11085 (desktop--find-frame): Use cl-find-if.
11086 (desktop--select-frame): Use cl-(first|second|third) to access values
11088 (desktop--make-frame): Use cl-delete-if.
11089 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11090 (desktop-restore-frames): Use cl-(first|second|third) to access values
11091 of desktop-mini. Look for visible frame at the end, not while
11094 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11095 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11096 Use string-match-p, looking-at-p (bug#14927).
11098 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11100 * desktop.el (desktop-saved-frame-states):
11101 Rename from desktop--saved-states; all users changed.
11102 (desktop-save-frames): Rename from desktop--save-frames.
11103 Do not save state to desktop file.
11104 (desktop-save): Save desktop-saved-frame-states to desktop file
11106 (desktop-restoring-frames-p): New function.
11107 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11108 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11109 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11111 * desktop.el: Correctly restore iconified frames.
11112 (desktop--filter-iconified-position): New function.
11113 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11115 2013-07-20 Glenn Morris <rgm@gnu.org>
11117 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11118 Let `message' do the formatting.
11119 (def-gdb-preempt-display-buffer): Add explicit format.
11121 * image-dired.el (image-dired-track-original-file):
11122 Use with-current-buffer.
11123 (image-dired-track-thumbnail): Use with-current-buffer.
11124 Avoid changing point of wrong window.
11126 * image-dired.el (image-dired-track-original-file):
11127 Avoid changing point of wrong window. (Bug#14909)
11129 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11131 * progmodes/gdb-mi.el (gdb-done-or-error):
11132 Guard against "%" in gdb output. (Bug#14127)
11134 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11136 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11139 * international/mule.el (coding-system-iso-2022-flags): Fix last
11142 2013-07-20 Kenichi Handa <handa@gnu.org>
11144 * international/mule.el (coding-system-iso-2022-flags):
11145 Add `8-bit-level-4'. (Bug#8522)
11147 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11149 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11152 * net/eww.el (eww-process-text-input): Allow inputting when the
11153 point is at the start of the line, as the properties aren't
11156 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11159 2013-07-19 Richard Stallman <rms@gnu.org>
11161 * epa.el (epa-popup-info-window): Doc fix.
11163 * subr.el (split-string): New arg TRIM.
11165 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11167 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11168 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11170 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11172 * filenotify.el (file-notify--library): Rename from
11173 `file-notify-support'. Do not autoload. Adapt all uses.
11174 (file-notify-supported-p): New defun.
11176 * autorevert.el (auto-revert-use-notify):
11177 Use `file-notify-supported-p' instead of `file-notify-support'.
11179 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11181 * net/tramp.el (tramp-file-name-for-operation):
11182 Add `file-notify-supported-p'.
11184 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11186 (tramp-sh-file-name-handler-alist): Add it as handler for
11187 `file-notify-supported-p '.
11189 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11190 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11191 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11192 Add `ignore' as handler for `file-notify-*' functions.
11194 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11196 * simple.el (line-move-partial, line-move): Don't start vscroll or
11197 scroll-up if the current line is not taller than the window.
11200 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11202 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11203 highlight question marks in the method names as strings.
11204 (ruby-block-beg-keywords): Inline.
11205 (ruby-font-lock-keyword-beg-re): Extract from
11206 `ruby-font-lock-keywords'.
11208 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11210 * frame.el (blink-cursor-blinks): New defcustom.
11211 (blink-cursor-blinks-done): New defvar.
11212 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11213 (blink-cursor-timer-function): Check if number of blinks has been
11215 (blink-cursor-suspend, blink-cursor-check): New defuns.
11217 2013-07-15 Glenn Morris <rgm@gnu.org>
11219 * edmacro.el (edmacro-format-keys): Fix previous change.
11221 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11223 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11224 The hack didn't work outside English locales anyway.
11226 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11228 * simple.el (define-alternatives): Rename from alternatives-define,
11229 per RMS' suggestion.
11231 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11233 * desktop.el (desktop-restore-frames): Change default to t.
11234 (desktop-restore-in-current-display): Now offer more options.
11235 (desktop-restoring-reuses-frames): New customization option.
11236 (desktop--saved-states): Doc fix.
11237 (desktop-filter-parameters-alist): New variable, renamed and expanded
11238 from desktop--excluded-frame-parameters.
11239 (desktop--target-display): New variable.
11240 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11241 (desktop--filter-tty*, desktop--filter-*-color)
11242 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11243 (desktop--filter-save-desktop-parm)
11244 (desktop-restore-in-original-display-p): New functions.
11245 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11246 (desktop--save-minibuffer-frames): New function, inspired by a similar
11247 function from Martin Rudalics.
11248 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11249 (desktop--restore-in-this-display-p): Remove.
11250 (desktop--find-frame): Rename from desktop--find-frame-in-display
11251 and add predicate argument.
11252 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11253 (desktop--reuse-list): New variable.
11254 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11256 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11258 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11260 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11262 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11264 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11265 Highlight conversion methods on Kernel.
11267 2013-07-13 Alan Mackenzie <acm@muc.de>
11269 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11270 and comment it out. This out-commenting enables certain C++
11271 declarations to be parsed correctly.
11273 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11275 * international/mule.el (define-coding-system): Doc fix.
11277 * simple.el (default-font-height): Don't call font-info if the
11278 frame's default font didn't change since the frame was created.
11281 2013-07-13 Leo Liu <sdl.web@gmail.com>
11283 * ido.el (ido-read-file-name): Guard against non-symbol value.
11285 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11287 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11290 2013-07-13 Leo Liu <sdl.web@gmail.com>
11292 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11293 ido-set-matches call. (Bug#6852)
11295 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11297 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11298 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11300 (ruby-font-lock-keywords): Distinguish calls to functions with
11301 module-like names from module references. Highlight character
11304 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11306 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11307 (gdb-send): Handle continued commands. (Bug#14847)
11309 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11311 * desktop.el (desktop--v2s): Remove unused local variable.
11312 (desktop-save-buffer): Make defvar-local; adjust docstring.
11313 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11314 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11316 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11318 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11320 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11322 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11325 2013-07-12 Glenn Morris <rgm@gnu.org>
11327 * doc-view.el: Require cl-lib at runtime too.
11328 (doc-view-remove-if): Remove.
11329 (doc-view-search-next-match, doc-view-search-previous-match):
11332 * edmacro.el: Require cl-lib at runtime too.
11333 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11334 (edmacro-mismatch, edmacro-subseq): Remove.
11336 * shadowfile.el: Require cl-lib.
11337 (shadow-remove-if): Remove.
11338 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11341 * wid-edit.el: Require cl-lib.
11342 (widget-choose): Use cl-remove-if.
11343 (widget-remove-if): Remove.
11345 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11346 (ebrowse-delete-if-not): Remove.
11347 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11348 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11349 Use cl-delete-if-not.
11351 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11353 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11354 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11356 2013-07-12 Leo Liu <sdl.web@gmail.com>
11358 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11360 2013-07-11 Glenn Morris <rgm@gnu.org>
11362 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11363 (edebug-gensym-index, edebug-gensym):
11364 Remove reimplementation of cl-gensym.
11365 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11367 * thumbs.el: Require cl-lib at run-time too.
11368 (thumbs-gensym-counter, thumbs-gensym):
11369 Remove reimplementation of cl-gensym.
11370 (thumbs-temp-file): Use cl-gensym.
11372 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11373 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11374 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11375 (ert--union, ert--gensym-counter, ert--gensym-counter)
11376 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11377 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11378 (ert-make-test-unbound, ert--expand-should-1)
11379 (ert--expand-should, ert--should-error-handle-error)
11380 (should-error, ert--explain-equal-rec)
11381 (ert--plist-difference-explanation, ert-select-tests)
11382 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11383 Use cl-lib functions rather than reimplementations.
11385 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11387 * net/tramp.el (tramp-methods): Extend docstring.
11388 (tramp-connection-timeout): New defcustom.
11389 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11390 (with-tramp-progress-reporter): Simplify.
11391 (tramp-process-actions): Improve messages.
11393 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11394 * net/tramp-sh.el (tramp-maybe-open-connection):
11395 Use `tramp-connection-timeout'.
11396 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11399 2013-07-11 Leo Liu <sdl.web@gmail.com>
11401 * ido.el (ido-read-file-name): Conform to the requirements of
11402 read-file-name. (Bug#11861)
11403 (ido-read-directory-name): Conform to the requirements of
11404 read-directory-name.
11406 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11408 * subr.el (delay-warning): New function.
11410 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11412 * simple.el (default-line-height): New function.
11413 (line-move-partial, line-move): Use it instead of computing the
11414 line height inline.
11415 (line-move-partial): Always compute ROWH. If the last line is
11416 partially-visible, but its text is completely visible, allow
11417 cursor to enter such a partially-visible line.
11419 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11421 Improve error messages. (Bug#14808)
11423 * net/tramp.el (tramp-current-connection): New defvar, moved from
11425 (tramp-message-show-progress-reporter-message): Remove, not
11427 (tramp-error-with-buffer): Show message in minibuffer.
11428 Discard input before waiting. Reset connection timestamp.
11429 (with-tramp-progress-reporter): Improve messages.
11430 (tramp-process-actions): Use progress reporter. Delete process in
11431 case of error. Improve messages.
11433 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11434 Call `tramp-error-with-buffer' with vector and buffer.
11435 (tramp-current-connection): Remove.
11436 (tramp-maybe-open-connection): The car of
11437 `tramp-current-connection' are the first 3 slots of the vector.
11439 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11441 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11442 inside continued strings.
11444 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11446 Timestamp fixes for undo (Bug#14824).
11447 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11449 2013-07-10 Leo Liu <sdl.web@gmail.com>
11451 * files.el (require-final-newline): Allow safe local value.
11454 2013-07-09 Leo Liu <sdl.web@gmail.com>
11456 * ido.el (ido-read-directory-name): Handle fallback.
11457 (ido-read-file-name): Update DIR to ido-current-directory.
11459 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11461 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11463 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11464 "autoload". Remove "warn lower camel case" section, previously
11465 commented out. Highlight negation char. Do not highlight the
11466 target in singleton method definitions.
11468 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11470 * faces.el (tty-setup-hook): Declare the hook.
11472 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11473 and detect when a guard/pred depends on local vars (bug#14773).
11474 (pcase--u1): Adjust caller.
11476 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11478 * simple.el (line-move-partial, line-move): Account for
11480 (line-move-partial): Avoid setting vscroll when the last
11481 partially-visible line in window is of default height.
11483 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11485 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11488 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11490 * subr.el (read-quoted-char): Remove unused local variable `char'.
11492 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11494 * ediff.el (ediff-version): Version update.
11495 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11496 (ediff-merge-with-ancestor-command, ediff-directories-command)
11497 (ediff-directories3-command, ediff-merge-directories-command)
11498 (ediff-merge-directories-with-ancestor-command): New functions.
11499 All are command-line interfaces to ediff: to facilitate calling
11500 Emacs with the appropriate ediff functions invoked.
11502 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11503 (viper-save-kill-buffer): Check if buffer is modified.
11505 * viper.el (viper-version): Version update.
11506 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11508 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11511 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11512 (viper-intercept-ESC-key): Simplify.
11513 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11514 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11515 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11516 (viper-setup-ESC-to-escape): New functions.
11517 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11518 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11520 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11522 * simple.el (default-font-height, window-screen-lines):
11524 (line-move, line-move-partial): Use them instead of
11525 frame-char-height and window-text-height. This makes scrolling
11526 text smoother when the buffer's default face uses a font that is
11527 different from the frame's default font.
11529 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11531 * files.el (write-file): Do not display confirm dialog for NS,
11532 it does its own dialog, which can't be canceled (Bug#14578).
11534 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11536 * simple.el (line-move-partial): Adjust the row returned by
11537 posn-at-point for the current window-vscroll. (Bug#14567)
11539 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11541 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11542 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11545 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11547 * window.el (window-state-put-stale-windows): New variable.
11548 (window--state-put-2): Save list of windows without matching buffer.
11549 (window-state-put): Remove "bufferless" windows if possible.
11551 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11553 * simple.el (alternatives-define): Remove leftover :group keyword.
11556 2013-07-06 Leo Liu <sdl.web@gmail.com>
11558 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11559 (ido-enable-virtual-buffers): New variable.
11560 (ido-buffer-internal, ido-toggle-virtual-buffers)
11561 (ido-make-buffer-list): Use it.
11562 (ido-exhibit): Support turning on and off virtual buffers
11565 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11567 * simple.el (alternatives-define): New macro.
11569 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11571 * subr.el (read-quoted-char): Use read-key.
11572 (sit-for): Let read-event decode tty input (bug#14782).
11574 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11576 * calendar/todo-mode.el: Add handling of file deletion, both by
11577 mode command and externally. Fix various related bugs.
11578 Clarify Commentary and improve some documentation strings and code.
11579 (todo-delete-file): New command.
11580 (todo-check-file): New function.
11581 (todo-show): Handle external deletion of the file we're trying to
11582 show (bug#14688). Replace called-interactively-p by an optional
11583 prefix argument to avoid problematic interaction with catch form
11584 when byte compiled (bug#14702).
11585 (todo-quit): Handle external deletion of the archive's todo file.
11586 Make sure the buffer that was visiting the archive file is still
11587 live before trying to bury it.
11588 (todo-category-completions): Handle external deletion of any
11589 category completion files.
11590 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11591 of todo files, in case of external deletion.
11592 (todo-add-file): Replace unnecessary setq by let-binding.
11593 (todo-find-archive): Check whether there are any archives.
11594 Replace unnecessary setq by let-binding.
11595 (todo-archive-done-item): Use find-file-noselect to get the
11596 archive buffer whether or not the archive already exists.
11597 Remove superfluous code. Use file size instead of buffer-file-name to
11598 check if the archive is new; if it is, update list of archives.
11599 (todo-default-todo-file): Allow nil to be a valid value for when
11600 there are no todo files.
11601 (todo-reevaluate-default-file-defcustom): Use corrected definition
11602 of todo-default-todo-file.
11603 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11604 (todo-delete-category, todo-show-categories-table)
11605 (todo-category-number): Clarify comment.
11606 (todo-filter-items): Clarify documentation string.
11607 (todo-show-current-file, todo-display-as-todo-file)
11608 (todo-reset-and-enable-done-separator): Tweak documentation string.
11609 (todo-done-separator): Make separator length window-width, since
11610 bug#2749 is now fixed.
11612 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11614 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11615 Support both "gvfs-monitor-dir" and "inotifywait".
11616 (tramp-sh-file-inotifywait-process-filter): Rename from
11617 `tramp-sh-file-notify-process-filter'.
11618 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11619 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11621 2013-07-05 Leo Liu <sdl.web@gmail.com>
11623 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11625 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11627 * frame.el (display-pixel-height, display-pixel-width)
11628 (display-mm-height, display-mm-width): Mention behavior on
11629 multi-monitor setups in docstrings.
11630 (w32-display-monitor-attributes-list): Declare function.
11631 (display-monitor-attributes-list): Use it.
11633 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11635 * filenotify.el: New package.
11637 * autorevert.el (top): Require filenotify.el.
11638 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11640 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11641 (auto-revert-notify-handler): Use `file-notify-*' functions.
11643 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11645 * net/tramp.el (tramp-file-name-for-operation):
11646 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11648 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11649 for `file-notify-add-watch' and `file-notify-rm-watch'.
11650 (tramp-process-sentinel): Improve trace.
11651 (tramp-sh-handle-file-notify-add-watch)
11652 (tramp-sh-file-notify-process-filter)
11653 (tramp-sh-handle-file-notify-rm-watch)
11654 (tramp-get-remote-inotifywait): New defuns.
11656 2013-07-03 Juri Linkov <juri@jurta.org>
11658 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11659 call of `occur-read-primary-args' to interactive spec.
11661 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11662 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11664 2013-07-03 Matthias Meulien <orontee@gmail.com>
11666 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11667 `Buffer-menu-multi-occur'. Add it to the menu.
11668 (Buffer-menu-mode): Document it in docstring.
11669 (Buffer-menu-multi-occur): New command. (Bug#14673)
11671 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11673 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11674 keywords and built-ins.
11676 2013-07-03 Glenn Morris <rgm@gnu.org>
11678 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11680 Make info-xref checks case-sensitive by default
11681 * info.el (Info-find-node, Info-find-in-tag-table)
11682 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11683 Add option for exact case matching of nodes.
11684 * info-xref.el (info-xref): New custom group.
11685 (info-xref-case-fold): New option.
11686 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11688 2013-07-03 Leo Liu <sdl.web@gmail.com>
11690 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11692 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11694 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11695 middle of block statement initially, lower the depth. Remove
11696 FIXME comment, not longer valid. Remove middle of block statement
11697 detection, no need to do that anymore since we've been using
11698 `ruby-parse-region' here.
11700 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11702 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11704 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11706 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11708 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11710 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11711 (desktop-restore-in-current-display): New customization option.
11712 (desktop--excluded-frame-parameters): Add `font'.
11713 (desktop--save-frames): Rename from desktop--save-windows.
11714 (desktop--restore-in-this-display-p): New function.
11715 (desktop--make-full-frame): Remove unwanted width/height from
11716 full(width|height) frames.
11717 (desktop--restore-frames): Rename from desktop--restore-windows.
11718 Obey desktop-restore-current-display. Do not delete old frames or
11719 select a new frame unless we were able to restore at least one frame.
11721 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11723 * files.el (find-file-noselect): Simplify conditional expression.
11725 * textmodes/remember.el (remember-append-to-file):
11726 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11728 Add `remember-notes' function to store random notes across Emacs
11730 * textmodes/remember.el (remember-data-file): Add :set callback to
11731 affect notes buffer (if any).
11732 (remember-notes): New command.
11733 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11734 New defcustoms for the `remember-notes' function.
11735 (remember-notes-save-and-bury-buffer): New command.
11736 (remember-notes-mode-map): New variable.
11737 (remember-mode): New minor mode.
11738 (remember-notes--kill-buffer-query): New function.
11739 * startup.el (initial-buffer-choice): Add notes to custom type.
11741 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11743 * bindings.el (right-char, left-char): Don't call sit-for, this is
11744 no longer needed. Use arithmetic comparison only for numerical
11747 * international/mule-cmds.el (select-safe-coding-system):
11748 Handle the case of FROM being a string correctly. (Bug#14755)
11750 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11752 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11753 progression on degenerate tables.
11754 (shr-rescale-image): ImageMagick animated images currently don't work.
11756 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11758 Some fixes and improvements for desktop frame restoration.
11759 It is still experimental and disabled by default.
11760 * desktop.el (desktop--save-windows): Put the selected frame at
11761 the head of the list.
11762 (desktop--make-full-frame): New function.
11763 (desktop--restore-windows): Try to re-select the frame that was
11764 selected upon saving. Do not abort if some frames fail to restore,
11765 just show an error message and continue. Set up maximized frames
11766 so they have default non-maximized dimensions.
11768 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11770 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11771 Don't start heredoc inside a string or comment.
11773 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11775 * bindings.el (visual-order-cursor-movement): New defcustom.
11776 (right-char, left-char): Provide visual-order cursor motion by
11777 calling move-point-visually. Update the doc strings.
11779 2013-06-28 Kenichi Handa <handa@gnu.org>
11781 * international/mule.el (define-coding-system): New coding system
11782 properties :inhibit-null-byte-detection,
11783 :inhibit-iso-escape-detection, and :prefer-utf-8.
11784 (set-buffer-file-coding-system): If :charset-list property of
11785 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11786 appropriate for setting.
11788 * international/mule-cmds.el (select-safe-coding-system):
11789 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11790 multibyte characters, return utf-8 (or one of its siblings).
11792 * international/mule-conf.el (prefer-utf-8): New coding system.
11793 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11796 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11798 * net/shr.el (shr-render-region): New function.
11800 * net/eww.el: Autoload `eww-browse-url'.
11802 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11804 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11805 Adapt to `package-desc-version' being a list.
11806 Use `package--ac-desc-version' to retrieve version from a package
11809 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11811 New experimental feature to save&restore window and frame setup.
11812 * desktop.el (desktop-save-windows): New defcustom.
11813 (desktop--saved-states): New var.
11814 (desktop--excluded-frame-parameters): New defconst.
11815 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11816 (desktop--restore-windows, desktop--save-windows): New functions.
11817 (desktop-save): Call `desktop--save-windows'.
11818 (desktop-read): Call `desktop--restore-windows'.
11820 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11822 * net/shr.el (add-face-text-property): Remove compat definition.
11824 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11826 * info.el (Info-try-follow-nearest-node): Move search for footnote
11827 above search for node name to prevent missing a footnote (bug#14717).
11829 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11831 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11833 2013-06-27 Leo Liu <sdl.web@gmail.com>
11835 * net/eww.el (eww-read-bookmarks): Check file size.
11837 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11840 advice--pending if newdef is nil or an autoload (bug#13820).
11841 (advice-mapc): New function.
11843 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11845 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11847 (eww-mode-map): Add a menu bar.
11848 (eww-add-bookmark): New command.
11849 (eww-bookmark-mode): New mode and commands.
11850 (eww-add-bookmark): Remove newlines from the title.
11851 (eww-bookmark-browse): Don't bug out if it's the only window.
11853 2013-06-26 Glenn Morris <rgm@gnu.org>
11855 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11856 (hfy-size): Handle ttys. (Bug#14668)
11858 * info-xref.el: Update for Texinfo 5 change in *note format.
11859 (info-xref-node-re, info-xref-note-re): New constants.
11860 (info-xref-check-buffer): Use info-xref-note-re.
11862 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11864 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11866 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11867 nil terminate the loop (bug#14718).
11869 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11871 * net/eww.el: Rework history traversal. When going forward/back,
11872 put these actions into the history, too, so that they can be
11874 (eww-render): Move the history reset to the correct buffer.
11876 2013-06-25 Juri Linkov <juri@jurta.org>
11878 * files-x.el (modify-dir-local-variable): Change the header comment
11879 in the file with directory local variables. (Bug#14692)
11881 * files-x.el (read-file-local-variable-value): Add `default'.
11884 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11886 * net/eww.el (eww-make-unique-file-name): Create a unique file
11887 name before saving to entering `y' accidentally asynchronously.
11889 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11891 * net/eww.el (eww-download): New command and keystroke.
11893 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11895 * net/eww.el (eww-copy-page-url): Change name of command.
11897 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11898 be more consistent with Info and dired.
11900 * net/eww.el (eww-mode-map): Ditto.
11902 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11905 packages from archives.
11906 (package-archive-contents): Change format; include obsolete packages.
11907 (package-desc): Use `dir' to mark builtin packages.
11908 (package--from-builtin): Set the `dir' field to `builtin'.
11909 (generated-autoload-file, version-control): Declare.
11910 (package-compute-transaction): Change first arg and return value to be
11911 lists of package-descs. Adjust to new package-archive-contents format.
11912 (package--add-to-archive-contents): Adjust to new
11913 package-archive-contents format.
11914 (package-download-transaction): Arg is now a list of package-descs.
11915 (package-install): If `pkg' is a package name, pass it as
11916 a requirement, so it is subject to the usual (e.g. disabled) checks.
11917 (describe-package): Accept package-desc as well.
11918 (describe-package-1): Describe a specific package-desc. Add links to
11919 other package-descs for the same package name.
11920 (package-menu-describe-package): Pass the actual package-desc.
11921 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11923 (package-desc-status): New function.
11924 (package-menu--refresh): New function, extracted
11925 from package-menu--generate.
11926 (package-menu--generate): Use it.
11927 (package-delete): Update package-alist.
11928 (package-menu-execute): Don't call package-initialize.
11930 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11931 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11932 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11933 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11934 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11935 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11937 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11939 * window.el (window--state-get-1): Workaround for bug#14527.
11940 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11942 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11944 * net/eww.el (eww-back-url): Implement the history by stashing all
11945 the data into a list.
11946 (eww-forward-url): Allow going forward in the history, too.
11948 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11950 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11951 for values and use read--expression for expressions (bug#14710).
11952 (read-file-local-variable): Avoid setq.
11953 (read-file-local-variable-mode): Use minor-mode-list.
11955 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11957 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11960 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11962 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11963 Update imenu-support when dialect changes.
11965 2013-06-25 Leo Liu <sdl.web@gmail.com>
11967 * ido.el (ido-read-internal): Allow forward slash on windows.
11969 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11971 * net/eww.el (eww): Start of strings is \\`, not ^.
11973 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11975 * net/shr.el (shr-browse-url): Fix interactive spec.
11977 * net/eww.el (eww): Add a trailing slash to domain names.
11979 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11981 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11983 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11985 * net/shr.el (shr-browse-url): Use an external browser if given a
11988 * net/eww.el (eww-external-browser): Move to shr.
11990 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11992 * net/eww.el (eww): Work more correctly for file: URLs.
11993 (eww-detect-charset): Allow quoted charsets.
11994 (eww-yank-page-url): New command and keystroke.
11996 2013-06-24 Daiki Ueno <ueno@gnu.org>
11998 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11999 file name of gpg executable.
12000 (epg-context-program): New function.
12001 (epg-context-home-directory): New function.
12002 (epg-context-set-program): New function.
12003 (epg-context-set-home-directory): New function.
12004 (epg--start): Use `epg-context-program' instead of
12006 (epg--list-keys-1): Likewise.
12008 2013-06-24 Leo Liu <sdl.web@gmail.com>
12010 * ido.el (ido-read-internal): Fix bug#14620.
12012 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12014 * faces.el (face-documentation): Simplify.
12015 (read-face-attribute, tty-find-type, x-resolve-font-name):
12016 Use `string-match-p'.
12017 (list-faces-display): Use `string-match-p'. Simplify.
12018 (face-spec-recalc): Check face to avoid face alias loops.
12019 (read-color): Use `string-match-p' and non-capturing parenthesis.
12021 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12023 * net/shr.el (shr-rescale-image): Use the new
12024 :max-width/:max-height functionality.
12026 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12028 * net/eww.el (eww-search-prefix): New variable.
12030 (eww-external-browser): New variable.
12031 (eww-mode-map): New keystroke.
12032 (eww-browse-with-external-browser): New command.
12034 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12036 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12038 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12039 Don't skip aligning the next header field when padding is 0;
12040 otherwise, field width is not respected unless the title is as
12043 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12045 * emacs-lisp/package.el (package-el-version): Remove.
12046 (package-process-define-package): Fix inf-loop.
12047 (package-install): Allow symbols as arguments again.
12049 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12051 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12052 add some more keyword-like methods.
12053 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12055 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12057 * bs.el (bs-buffer-show-mark): Make defvar-local.
12058 (bs-mode): Use setq-local.
12060 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12061 (emacs-lock--try-unlocking): Make defvar-local.
12063 2013-06-22 Glenn Morris <rgm@gnu.org>
12065 * play/cookie1.el (cookie-apropos): Minor simplification.
12067 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12069 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12071 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12072 `regexp-opt', it breaks the build during dumping.
12074 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12076 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12077 Highlight keyword-like methods on Kernel and Module with
12078 font-lock-builtin-face.
12079 (auto-mode-alist): Consolidate different entries into one regexp
12080 and add more *file-s.
12082 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12084 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12086 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12087 (diary-entry): Use it in the action of this button type instead of
12090 * calendar/todo-mode.el: New version.
12091 (todo-add-category): Append new category to end of file and give
12092 it the highest number, instead of putting it at the beginning and
12093 giving it 0. Incorporate noninteractive functionality.
12094 (todo-forward-category): Adapt to 1-based category numbering.
12095 Allow skipping over archived categories.
12096 (todo-backward-category): Derive from todo-forward-category.
12097 (todo-backward-item, todo-forward-item): Make noninteractive and
12098 delegate interactive part to new commands. Make sensitive to done items.
12099 (todo-categories): Make value an alist of category names and
12100 vectors of item counts.
12101 (todo-category-beg): Make a defconst.
12102 (todo-category-number): Use 1 instead of 0 as initial value.
12103 (todo-category-select): Make sensitive to overlays, optional item
12104 highlighting and done items.
12105 (todo-delete-item): Make sensitive to overlays and marked and done items.
12106 (todo-edit-item): Make sensitive to overlays and editing of
12107 date/time header optional. Add format checks.
12108 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12109 no-op if point is not on an item. Advertise using todo-edit-quit.
12110 (todo-edit-mode): Make sensitive to new format, font-locking, and
12111 multiple todo files.
12112 (todo-insert-item, todo-insert-item-here): Derive from
12113 todo-basic-insert-item and extend functionality.
12114 (todo-item-end, todo-item-start): Make sensitive to done items.
12115 (todo-item-string): Don't return text properties. Restore point.
12116 (todo-jump-to-category): Make sensitive to multiple todo files and
12117 todo archives. Use extended category completion.
12118 (todo-lower-item, todo-raise-item): Rename to *-priority and
12119 derive from todo-set-item-priority.
12120 (todo-mode): Derive from special-mode. Make sensitive to new
12121 format, font-locking and multiple todo files. Make read-only.
12122 (todo-mode-map): Don't suppress digit keys, so they can supply
12123 prefix arguments. Add many new key bindings.
12124 (todo-prefix): Insert as an overlay instead of file text.
12125 Change semantics from diary date expression to purely visual mark.
12126 (todo-print): Rename to todo-print-buffer. Make buffer display
12127 features printable. Remove option to restrict number of items
12128 printed. Add option to print to file.
12129 (todo-print-function): Rename to todo-print-buffer-function.
12130 (todo-quit): Extend to handle exiting new todo modes.
12131 (todo-remove-item): Make sensitive to overlays.
12132 (todo-save): Extend to buffers of filtered items.
12133 (todo-show): Make sensitive to done items, multiple todo files and
12134 new todo modes. Offer to convert legacy todo file before creating
12135 first new todo file.
12136 (todo-show-priorities): Rename to todo-top-priorities.
12137 Change semantics of value 0.
12138 (todo-top-priorities): Rename to todo-filter-top-priorities,
12139 derive from todo-filter-items and extend functionality.
12140 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12141 and extend functionality to other types of filtered items.
12142 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12143 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12144 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12145 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12146 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12147 (todo-edit-mode-hook, todo-entry-prefix-function)
12148 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12149 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12150 (todo-initials, todo-insert-threshold, todo-item-string-start)
12151 (todo-line-string, todo-menu, todo-mode-hook)
12152 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12153 (todo-print-priorities, todo-remove-separator)
12154 (todo-save-top-priorities-too, todo-string-count-lines)
12155 (todo-string-multiline-p, todo-time-string-format)
12156 (todo-tmp-buffer-name): Remove.
12157 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12158 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12159 (todo-edit-category-diary-inclusion)
12160 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12161 (todo-edit-file, todo-edit-item-date-day)
12162 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12163 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12164 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12165 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12166 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12167 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12168 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12169 (todo-filter-top-priorities-multifile, todo-find-archive)
12170 (todo-find-filtered-items-file, todo-go-to-source-item)
12171 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12172 (todo-jump-to-archive-category, todo-lower-category)
12173 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12174 (todo-move-category, todo-move-item, todo-next-button)
12175 (todo-next-item, todo-padded-string, todo-powerset)
12176 (todo-previous-button, todo-previous-item)
12177 (todo-print-buffer-to-file, todo-raise-category)
12178 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12179 (todo-set-category-number, todo-set-item-priority)
12180 (todo-set-top-priorities-in-category)
12181 (todo-set-top-priorities-in-file, todo-show-categories-table)
12182 (todo-sort-categories-alphabetically-or-numerically)
12183 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12184 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12185 (todo-toggle-item-header, todo-toggle-item-highlighting)
12186 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12187 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12188 (todo-unarchive-items, todo-unmark-category): New commands.
12189 (todo-absolute-file-name, todo-add-to-buffer-list)
12190 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12191 (todo-basic-insert-item, todo-category-completions)
12192 (todo-category-number, todo-category-string-matcher-1)
12193 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12194 (todo-check-format, todo-clear-matches)
12195 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12196 (todo-current-category, todo-date-string-matcher)
12197 (todo-define-insertion-command, todo-diary-expired-matcher)
12198 (todo-diary-goto-entry, todo-diary-item-p)
12199 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12200 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12201 (todo-done-item-section-p, todo-done-separator)
12202 (todo-done-string-matcher, todo-files, todo-filter-items)
12203 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12204 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12205 (todo-insert-category-line, todo-insert-item-from-calendar)
12206 (todo-insert-sort-button, todo-insert-with-overlays)
12207 (todo-insertion-command-name, todo-insertion-key-bindings)
12208 (todo-label-to-key, todo-longest-category-name-length)
12209 (todo-make-categories-list, todo-mode-external-set)
12210 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12211 (todo-modes-set-3, todo-multiple-filter-files)
12212 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12213 (todo-read-category, todo-read-date, todo-read-dayname)
12214 (todo-read-file-name, todo-read-time)
12215 (todo-reevaluate-category-completions-files-defcustom)
12216 (todo-reevaluate-default-file-defcustom)
12217 (todo-reevaluate-filelist-defcustoms)
12218 (todo-reevaluate-filter-files-defcustom)
12219 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12220 (todo-reset-done-separator, todo-reset-done-separator-string)
12221 (todo-reset-done-string, todo-reset-global-current-todo-file)
12222 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12223 (todo-reset-prefix, todo-set-categories)
12224 (todo-set-date-from-calendar, todo-set-show-current-file)
12225 (todo-set-top-priorities, todo-short-file-name)
12226 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12227 (todo-total-item-counts, todo-update-buffer-list)
12228 (todo-update-categories-display, todo-update-categories-sexp)
12229 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12231 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12233 (todo-categories, todo-display, todo-edit, todo-faces)
12234 (todo-filtered): New defgroups.
12235 (todo-archived-only, todo-button, todo-category-string, todo-date)
12236 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12237 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12238 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12239 (todo-add-item-if-new-category, todo-always-add-time-string)
12240 (todo-categories-align, todo-categories-archived-label)
12241 (todo-categories-category-label, todo-categories-diary-label)
12242 (todo-categories-done-label, todo-categories-number-separator)
12243 (todo-categories-todo-label, todo-categories-totals-label)
12244 (todo-category-completions-files, todo-completion-ignore-case)
12245 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12246 (todo-done-separator-string, todo-done-string)
12247 (todo-files-function, todo-filter-done-items, todo-filter-files)
12248 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12249 (todo-initial-category, todo-initial-file, todo-item-mark)
12250 (todo-legacy-date-time-regexp, todo-mode-line-function)
12251 (todo-nondiary-marker, todo-number-prefix)
12252 (todo-print-buffer-function, todo-show-current-file)
12253 (todo-show-done-only, todo-show-first, todo-show-with-done)
12254 (todo-skip-archived-categories, todo-top-priorities-overrides)
12255 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12256 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12258 (todo-category-done, todo-date-pattern, todo-date-string-start)
12259 (todo-diary-items-buffer, todo-done-string-start)
12260 (todo-filtered-items-buffer, todo-item-start)
12261 (todo-month-abbrev-array, todo-month-name-array)
12262 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12263 (todo-top-priorities-buffer): New defconsts.
12264 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12265 (todo-categories-with-marks, todo-category-string-face)
12266 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12267 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12268 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12269 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12270 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12271 (todo-font-lock-keywords, todo-global-current-todo-file)
12272 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12273 (todo-insertion-commands-args)
12274 (todo-insertion-commands-args-genlist)
12275 (todo-insertion-commands-names, todo-insertion-map)
12276 (todo-key-bindings-t, todo-key-bindings-t+a)
12277 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12278 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12279 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12280 (todo-visited): New variables.
12282 2013-06-21 Glenn Morris <rgm@gnu.org>
12284 * play/cookie1.el (cookie-apropos): Add optional display argument.
12285 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12286 (psychoanalyze-pinhead): Use cookie-doctor.
12288 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12290 * emacs-lisp/package.el (tar-get-file-descriptor)
12291 (tar--extract): Declare.
12293 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12295 Extend flymake's warning predicate to be a function (bug#14217).
12296 * progmodes/flymake.el (flymake-warning-predicate): New.
12297 (flymake-parse-line): Use it.
12298 (flymake-warning-re): Make obsolete alias to
12299 `flymake-warning-predicate'.
12301 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12303 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12304 (package-obsolete-list): Remove.
12305 (package-activate): Remove min-version argument. Add `force' argument.
12306 Adjust to new package-alist format.
12307 (package-mark-obsolete): Remove.
12308 (package-unpack): Force reload of the package's autoloads.
12309 (package-installed-p): Check builtins if the installed package is not
12311 (package-initialize): Don't reset package-obsolete-list.
12312 Don't specify which package version to activate.
12313 (package-process-define-package, describe-package-1)
12314 (package-menu--generate): Adjust to new package-alist format.
12316 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12318 * allout-widgets.el (allout-widgets-mode-off)
12319 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12320 (allout-widgets-post-command-business)
12321 (allout-widgets-after-copy-or-kill-function)
12322 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12323 (allout-decorate-item-and-context)
12324 (allout-graphics-modification-handler): Fix typos in docstrings.
12325 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12327 * cmuscheme.el (scheme-start-file): Doc fix.
12328 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12329 (scheme-input-filter): Use `string-match-p'.
12331 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12333 * dired-x.el: Use Dired consistently in docstrings.
12335 * dired.el: Use Dired consistently in docstrings.
12336 (dired-readin, dired-mode): Use `setq-local'.
12337 (dired-switches-alist): Make defvar-local.
12338 (dired-buffers-for-dir): Use `zerop'.
12339 (dired-safe-switches-p, dired-switches-escape-p)
12340 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12341 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12342 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12343 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12344 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12345 (dired-toggle-marks, dired-mark-files-containing-regexp)
12346 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12347 (dired-flag-auto-save-files, dired-flag-backup-files):
12348 Use `looking-at-p'.
12349 (dired-mark-files-regexp, dired-build-subdir-alist):
12350 Use `string-match-p', `looking-at-p'.
12352 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12353 (direct-print-region-helper): Use `string-match-p'.
12355 2013-06-21 Leo Liu <sdl.web@gmail.com>
12357 * comint.el (comint-redirect-results-list-from-process):
12360 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12362 * net/eww.el (eww-update-header-line-format): Quote % characters.
12364 2013-06-21 Glenn Morris <rgm@gnu.org>
12366 * play/cookie1.el (cookie): New custom group.
12367 (cookie-file): New option.
12368 (cookie-check-file): New function.
12369 (cookie): Make it interactive. Make start and end messages optional.
12370 Interactively, display the result. Default to cookie-file.
12371 (cookie-insert): Default to cookie-file.
12372 (cookie-snarf): Make start and end messages optional.
12373 Default to cookie-file. Use with-temp-buffer.
12374 (cookie-read): Rename from read-cookie.
12375 Make start and end messages optional. Default to cookie-file.
12376 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12377 Do not autoload it.
12378 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12379 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12381 2013-06-21 Leo Liu <sdl.web@gmail.com>
12383 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12385 2013-06-21 Glenn Morris <rgm@gnu.org>
12387 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12389 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12390 Daniel Hackney <dan@haxney.org>
12392 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12393 Consolidate the single-file vs tarball code.
12394 (package-desc-suffix): New function.
12395 (package-desc-full-name): Don't bother inlining it.
12396 (package-load-descriptor): Return the new package-desc.
12397 (package-mark-obsolete): Remove unused arg `package'.
12398 (package-unpack): Make it work for single files as well.
12399 Make it update package-alist.
12400 (package--make-autoloads-and-stuff): Rename from
12401 package--make-autoloads-and-compile. Don't compile any more.
12402 (package--compile): New function.
12403 (package-generate-description-file): New function, extracted from
12404 package-unpack-single.
12405 (package-unpack-single): Remove.
12406 (package--with-work-buffer): Add indentation and debugging info.
12407 (package-download-single): Remove.
12408 (package-install-from-archive): Rename from package-download-tar, make
12409 it take a pkg-desc, and make it work for single files as well.
12410 (package-download-transaction): Simplify.
12411 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12412 external tar program.
12413 (package-install-from-buffer): Remove `pkg-desc' argument.
12414 Use package-tar-file-info for tar-mode buffers.
12415 (package-install-file): Simplify accordingly.
12416 (package-archive-base): Change to take a pkg-desc.
12417 * tar-mode.el (tar--check-descriptor): New function, extracted from
12418 tar-get-descriptor.
12419 (tar-get-descriptor): Use it.
12420 (tar-get-file-descriptor): New function.
12421 (tar--extract): New function, extracted from tar-extract.
12422 (tar--extract): Use it.
12423 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12424 case the summary uses non-ascii. Adjust to new calling convention of
12425 package-tar-file-info.
12427 2013-06-21 Leo Liu <sdl.web@gmail.com>
12429 * comint.el (comint-redirect-results-list-from-process):
12430 Fix random delay. (Bug#14681)
12432 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12434 * profiler.el (profiler-format-number): Use log, not log10.
12436 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12438 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12440 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12442 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12443 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12445 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12446 (AUTOGENEL): ... here.
12447 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12448 (cl--defsubst-expand): Use it.
12450 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12452 * subr.el (log10): Move here from C code, and declare as obsolete.
12453 All uses of (log10 X) replaced with (log X 10).
12455 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12457 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12458 Declare with `defvar-local'.
12459 (tabulated-list-use-header-line, tabulated-list-entries)
12460 (tabulated-list-padding, tabulated-list-printer)
12461 (tabulated-list-sort-key): Declare with `defvar-local'.
12462 (tabulated-list-init-header, tabulated-list-print-fake-header):
12465 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12467 * arc-mode.el (archive-mode): Add `archive-write-file' to
12468 `write-contents-functions' also for remote files. (Bug#14652)
12470 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12472 * cus-edit.el (custom-commands): Fix typos.
12473 (custom-display): Fix tooltip text.
12474 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12475 Fix typos in docstrings.
12476 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12477 (custom-unlispify-menu-entry, custom-magic-value-create)
12478 (custom-add-see-also, custom-group-value-create): Use ?\s.
12479 (custom-guess-type, customize-apropos, editable-field)
12480 (custom-face-value-create): Use `string-match-p'.
12481 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12483 * custom.el (custom-load-symbol): Use `string-match-p'.
12485 * ansi-color.el: Convert to lexical binding.
12486 (ansi-colors): Fix URL.
12487 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12488 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12489 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12491 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12493 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12495 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12497 2013-06-19 Tom Tromey <tromey@redhat.com>
12499 * net/eww.el (eww-top-url): Remove.
12500 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12501 (eww-render): Set new variables. Don't set eww-top-url.
12502 (eww-handle-link): Handle "prev", "home", and "contents".
12503 Downcase the rel text.
12504 (eww-top-url): Choose best top URL.
12506 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12508 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12509 relying in widget.el. Using widget.el leads to too many
12510 user interface inconsistencies.
12511 (eww-self-insert): Implement entering commands in text fields.
12512 (eww-process-text-input): New function to make text input field editing
12514 (eww-submit): Rewrite to use the new-style form methods.
12515 (eww-select-display): Display the correct selected item.
12516 (eww-change-select): Implement changing the select value.
12517 (eww-toggle-checkbox): Implement radio/checkboxes.
12518 (eww-update-field): Fix compilation error.
12519 (eww-tag-textarea): Implement <textarea>.
12521 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12522 we don't shadow mode-specific bindings.
12524 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12527 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12529 2013-06-19 Glenn Morris <rgm@gnu.org>
12531 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12533 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12535 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12538 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12540 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12542 * net/browse-url.el (browse-url-browser-function):
12543 `eww-browse-url' has the right calling signature, `eww' does not.
12545 2013-06-19 Glenn Morris <rgm@gnu.org>
12547 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12548 Only eval autoloaded macros.
12549 (byte-compile-autoload): Only give the macro warning for macros.
12551 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12552 (ps-underlined-faces): Declare.
12554 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12555 (speedbar-add-supported-extension): Declare.
12557 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12558 Don't include a date stamp in the header of the generated file;
12559 it leads to needless differences between output files.
12561 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12563 * net/secrets.el (secrets-struct-secret-content-type):
12564 Replace check of introspection data by a test call of "CreateItem".
12565 Some servers do not offer introspection.
12567 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12569 * electric.el (electric-pair-mode): Improve interaction with
12570 electric-layout-mode.
12571 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12572 (electric-pair-syntax): Use text-mode-syntax-table in comments
12574 (electric-pair--insert): New function.
12575 (electric-pair-post-self-insert-function): Use it and
12576 electric--after-char-pos.
12578 2013-06-19 Leo Liu <sdl.web@gmail.com>
12580 * progmodes/octave.el (octave-help): Fix regexp.
12582 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12584 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12585 (shr-table-horizontal-line): Allow nil as a value, and change the
12587 (shr-insert-table-ruler): Respect the nil value.
12589 2013-06-18 Tom Tromey <tromey@barimba>
12591 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12593 (eww-open-file): New defun.
12594 (eww-render): Initialize new variables.
12595 (eww-display-html): Handle "link" and "a".
12596 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12597 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12598 (eww-back-url): Rename from eww-previous-url.
12599 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12602 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12604 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12605 Distinguish ternary operator tokens from slash symbol and slash
12608 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12610 Convert symbol prettification into minor mode and global minor mode.
12612 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12613 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12614 (prettify-symbols--keywords): Rename from
12615 `prog-prettify-symbols-alist' and make a local defvar.
12616 (prettify-symbols--compose-symbol): Rename from
12617 `prog--prettify-font-lock-compose-symbol'.
12618 (prettify-symbols--make-keywords): Rename from
12619 `prog-prettify-font-lock-symbols-keywords' and simplify.
12620 (prog-prettify-install): Remove.
12621 (prettify-symbols-mode): New minor mode, based on
12622 `prog-prettify-install'.
12623 (turn-on-prettify-symbols-mode): New function.
12624 (global-prettify-symbols-mode): New globalized minor mode.
12626 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12627 * progmodes/cfengine.el (cfengine3-mode):
12628 * progmodes/perl-mode.el (perl-mode): Don't call
12629 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12631 2013-06-18 Juri Linkov <juri@jurta.org>
12633 * files-x.el (modify-file-local-variable-message): New function.
12634 (modify-file-local-variable)
12635 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12636 and call `modify-file-local-variable-message' when it's non-nil.
12637 (add-file-local-variable, delete-file-local-variable)
12638 (add-file-local-variable-prop-line)
12639 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12640 and use it. (Bug#9820)
12642 2013-06-18 Juri Linkov <juri@jurta.org>
12644 * emulation/vi.el (vi-shell-op):
12645 * emulation/vip.el (vip-execute-com, ex-command):
12646 * emulation/viper-cmd.el (viper-exec-bang):
12647 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12648 the call of `shell-command-on-region'. (Bug#14637)
12650 * simple.el (shell-command-on-region): Doc fix.
12652 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12657 2013-06-18 Glenn Morris <rgm@gnu.org>
12659 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12661 * newcomment.el (comment-search-forward, comment-search-backward):
12662 Doc fix. (Bug#14376)
12664 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12666 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12667 (buffer-face-mode-invoke): Doc fix.
12669 2013-06-18 Matthias Meulien <orontee@gmail.com>
12671 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12672 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12674 2013-06-18 Glenn Morris <rgm@gnu.org>
12676 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12677 Replace obsolete function generic-make-keywords with its expansion.
12679 * progmodes/python.el (ffap-alist): Declare.
12681 * textmodes/reftex.el (bibtex-mode-map): Declare.
12683 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12685 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12686 (package-unpack, package-unpack-single): Return the pkg-dir.
12687 (package-download-transaction): Use it to update package-alist.
12689 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12691 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12694 2013-06-17 Juri Linkov <juri@jurta.org>
12696 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12698 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12700 * emacs-lisp/package.el (package-load-descriptor):
12701 Remove `with-syntax-table' call, `read' doesn't need it.
12702 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12704 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12706 * startup.el (command-line): Expand package name returned by
12707 `package--description-file' (bug#14639).
12709 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12711 * emacs-lisp/package.el (package-load-descriptor): Do not call
12712 `emacs-lisp-mode', just use its syntax table.
12714 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12716 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12717 `font-lock-extra-managed-props' if any prettifying keyword is added.
12718 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12719 (prog-mode): Use `setq-local'.
12721 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12723 * international/characters.el (standard-case-table): Set syntax of ?»
12724 and ?« to punctuation.
12726 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12728 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12729 Save relevant match data before calling `syntax-ppss' (bug#14595).
12731 2013-06-15 Juri Linkov <juri@jurta.org>
12733 * files-x.el (modify-file-local-variable-prop-line): Add local
12734 variables to the end of the existing comment on the first line.
12735 Use `file-auto-mode-skip' to skip interpreter magic line,
12736 and also skip XML declaration.
12738 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12740 * startup.el (package--builtin-versions): New var.
12741 (package-subdirectory-regexp): Remove.
12742 (package--description-file): Hard code its value instead.
12744 * emacs-lisp/package.el: Don't activate packages older than builtin.
12745 (package-obsolete-list): Rename from package-obsolete-alist, and make
12746 it into a simple list of package-desc.
12747 (package-strip-version): Remove.
12748 (package-built-in-p): Use package--builtin-versions.
12749 (package-mark-obsolete): Simplify.
12750 (package-process-define-package): Mark it obsolete if older than the
12752 (package-handle-response): Use line-end-position.
12753 (package-read-archive-contents, package--download-one-archive):
12755 (package--add-to-archive-contents): Skip if older than the builtin or
12757 (package-menu-describe-package): Fix last change.
12758 (package-list-unversioned): New var.
12759 (package-menu--generate): Use it.
12761 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12762 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12763 (autoload-builtin-package-versions): New variable.
12764 (autoload-generate-file-autoloads): Use them.
12765 Remove the list of autoloaded functions/macros from the
12766 (autoload...) comments.
12768 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12770 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12772 * simple.el (line-move-partial): Don't jump to the next screen
12773 line as soon as it becomes visible. Instead, continue enlarging
12774 the vscroll until the portion of a tall screen line that's left on
12775 display is about the height of the frame's default font.
12778 2013-06-15 Glenn Morris <rgm@gnu.org>
12780 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12781 compilation-error-regexp-alist void, or local while let-bound.
12783 * progmodes/make-mode.el (makefile-mode-syntax-table):
12784 Treat "=" as punctuation. (Bug#14614)
12786 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12788 * help-fns.el (describe-variable):
12789 Add extra line for permanent-local variables.
12791 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12793 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12794 Add export, import, library. (Bug#9164)
12795 (library): Set indent function.
12797 2013-06-14 Glenn Morris <rgm@gnu.org>
12799 * term/xterm.el (xterm--query):
12800 Stop after first matching handler. (Bug#14615)
12802 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12804 Add support for dired in saveplace.
12805 * dired.el (dired-initial-position-hook): New variable.
12806 (dired-initial-position): Call hook to place cursor position.
12807 * saveplace.el (save-place-to-alist): Add dired position.
12808 (save-place-dired-hook): New function.
12810 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12812 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12813 through a symbol rather than letrec.
12815 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12816 (package-desc): Add `dir' field.
12817 (package-desc-full-name): New function.
12818 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12819 (package-maybe-load-descriptor): Remove.
12820 (package-load-all-descriptors): Just call package-load-descriptor.
12821 (package--disabled-p): New function.
12822 (package-desc-vers, package-desc-doc): Remove aliases.
12823 (package--dir): Remove function.
12824 (package-activate): Check if a package is disabled.
12825 (package-process-define-package): New function, extracted from
12827 (define-package): Turn into a place holder.
12828 (package-unpack-single, package-tar-file-info):
12829 Use package--description-file.
12830 (package-compute-transaction): Use package--disabled-p.
12831 (package-download-transaction): Don't call
12832 package-maybe-load-descriptor since they're all loaded anyway.
12833 (package-install): Change argument to be a pkg-desc.
12834 (package-delete): Use a single pkg-desc argument.
12835 (describe-package-1): Use package-desc-dir instead of package--dir.
12836 Use package-desc property instead of package-symbol.
12837 (package-install-button-action): Adjust accordingly.
12838 (package--push): Rewrite.
12839 (package-menu--print-info): Adjust accordingly. Change the ID format
12841 (package-menu-describe-package, package-menu-get-status)
12842 (package-menu--find-upgrades, package-menu-mark-upgrades)
12843 (package-menu-execute, package-menu--name-predicate):
12844 Adjust accordingly.
12845 * startup.el (package--description-file): New function.
12846 (command-line): Use it.
12847 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12848 Use package-desc-version.
12850 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12851 (byte-compile-preprocess): Use it.
12852 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12853 can't quite recognize.
12854 (byte-compile-add-to-list): Remove.
12855 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12856 (cconv-closure-convert): Add assertion.
12858 * emacs-lisp/map-ynp.el: Use lexical-binding.
12859 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12860 Factor out some repeated code.
12862 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12864 * subr.el (with-eval-after-load): New macro.
12865 (eval-after-load): Allow form to be a function.
12866 take advantage of lexical-binding.
12867 (do-after-load-evaluation): Use dolist and adjust to new format.
12868 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12870 2013-06-13 Juri Linkov <juri@jurta.org>
12872 * replace.el (perform-replace): Display "symbol " and other search
12873 modes from `isearch-message-prefix' in the *Help* buffer.
12875 * isearch.el (isearch-query-replace): Add " symbol" and other
12876 possible search modes from `isearch-message-prefix' to the prompt.
12877 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12878 when reading a regexp to collect.
12880 2013-06-13 Juri Linkov <juri@jurta.org>
12882 * isearch.el (word-search-regexp): Match whitespace if the search
12883 string begins or ends in whitespace. The LAX arg is applied to
12884 both ends of the search string. Use `regexp-quote' and explicit
12885 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12886 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12887 boundaries are replaced with symbol boundaries, and characters
12888 between symbols match non-word non-symbol syntax. (Bug#14602)
12890 2013-06-13 Juri Linkov <juri@jurta.org>
12892 * isearch.el (isearch-del-char): Don't exceed the length of
12893 `isearch-string' by the prefix arg. (Bug#14563)
12895 2013-06-13 Juri Linkov <juri@jurta.org>
12897 * isearch.el (isearch-yank-word, isearch-yank-line)
12898 (isearch-char-by-name, isearch-quote-char)
12899 (isearch-printing-char, isearch-process-search-char):
12900 Add optional count prefix arg. (Bug#14563)
12902 * international/isearch-x.el
12903 (isearch-process-search-multibyte-characters):
12904 Add optional count prefix arg.
12906 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12908 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12909 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12912 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12914 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12916 2013-06-13 Glenn Morris <rgm@gnu.org>
12918 * startup.el (tty-handle-args):
12919 Don't just discard "--" and anything after. (Bug#14608)
12921 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12923 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12925 Implement changes in Secret Service API. Make it backward compatible.
12926 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12927 (secrets-create-item): Use it. Prefix properties with interface.
12929 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12931 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12932 (term-emulate-terminal): Respect term-suppress-hard-newline.
12934 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12936 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12937 Only remove a `thumb-file' overlay. (Bug#14548)
12939 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12941 * mail/reporter.el (reporter-submit-bug-report):
12942 Handle missing package-name. (Bug#14600)
12944 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12946 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12947 (reftex-citation-prompt, reftex-default-bibliography)
12948 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12949 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12950 (reftex-bib-sort-author, reftex-bib-sort-year)
12951 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12952 (reftex-extract-bib-entries-from-thebibliography)
12953 (reftex-get-bibkey-default, reftex-get-bib-names)
12954 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12955 (reftex-format-bib-entry, reftex-parse-bibitem)
12956 (reftex-format-bibitem, reftex-do-citation)
12957 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12958 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12959 (reftex-insert-bib-matches, reftex-format-citation)
12960 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12961 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12962 existing comments into docstrings.
12964 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12966 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12968 2013-06-12 Andreas Schwab <schwab@suse.de>
12970 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12971 for auto-save files.
12973 2013-06-12 Glenn Morris <rgm@gnu.org>
12975 * ido.el (ido-delete-ignored-files): Remove.
12976 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12977 Go back to calling ido-ignore-item-p directly.
12979 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12981 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12983 * ido.el (ido-delete-ignored-files): New function,
12984 split from ido-make-file-list-1.
12985 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12986 (ido-make-file-list-1): Use ido-delete-ignored-files.
12988 2013-06-12 Leo Liu <sdl.web@gmail.com>
12990 * progmodes/octave.el (inferior-octave-startup)
12991 (inferior-octave-completion-table)
12992 (inferior-octave-track-window-width-change)
12993 (octave-eldoc-function-signatures, octave-help)
12994 (octave-find-definition): Use single quoted strings.
12995 (inferior-octave-startup-args): Change default value.
12996 (inferior-octave-startup): Do not hard code "-i" and
12997 "--no-line-editing".
12998 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12999 (inferior-octave-directory-tracker): Use it.
13000 (octave-goto-function-definition): Robustify.
13001 (octave-help): Support highlighting operators in 'See also'.
13002 (octave-find-definition): Find subfunctions only in Octave mode.
13004 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13006 * help-fns.el (help-fns--compiler-macro): If the handler function is
13007 named, then put a link to it.
13008 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13009 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13010 (cl-typep): Use it.
13011 (cl-eval-when): Simplify debug spec.
13012 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13013 compiler-macro function instead of setting `compiler-macro-file'.
13015 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13017 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13018 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13020 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13021 Daniel Hackney <dan@haxney.org>
13023 First part of Daniel Hackney's patch to package.el.
13024 * emacs-lisp/package.el: Use defstruct.
13025 (package-desc): New, main struct.
13026 (package--bi-desc, package--ac-desc): New structs, used to describe the
13027 format in external files.
13028 (package-desc-vers): Replace with package-desc-version accessor.
13029 (package-desc-doc): Replace with package-desc-summary accessor.
13030 (package-activate-1): Remove `package' arg since the pkg-vec now
13032 (define-package): Use package-desc-from-define.
13033 (package-unpack-single): Change file-name arg to be a symbol.
13034 (package--add-to-archive-contents): Use package-desc-create and new
13035 accessor functions to package--ac-desc.
13036 (package-buffer-info, package-tar-file-info): Return a package-desc.
13037 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13038 arg to be a package-desc.
13039 (package-install-file): Adjust accordingly. Use \' to match EOS.
13040 (package--from-builtin): New function.
13041 (describe-package-1, package-menu--generate): Use it.
13042 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13043 (package-generate-autoloads): Idem and return the name of the file.
13044 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13045 Change pkg-info arg to be a package-desc.
13046 Use package-make-ac-desc.
13047 (package-upload-file): Use \' to match EOS.
13048 * finder.el (finder-compile-keywords): Use package-make-builtin.
13050 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13052 * vc/vc.el (vc-deduce-fileset): Change error message.
13053 (vc-read-backend): New function.
13054 (vc-next-action): Use it.
13056 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13058 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13059 (prolog-font-lock-keywords): Use regexp-opt instead.
13060 Don't manually highlight strings.
13061 (prolog-mode-variables): Simplify comment-start-skip.
13062 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13064 * emacs-lisp/generic.el (generic--normalise-comments)
13065 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13066 (generic-mode-set-comments): Use them.
13067 (generic-bracket-support): Use setq-local.
13068 (generic-make-keywords-list): Declare obsolete.
13070 2013-06-11 Glenn Morris <rgm@gnu.org>
13072 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13073 Prettify after setting font-lock-defaults. (Bug#14574)
13075 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13077 * replace.el (query-replace, occur-read-regexp-defaults-function)
13079 * subr.el (declare-function, number-sequence, local-set-key)
13080 (substitute-key-definition, locate-user-emacs-file)
13081 (with-silent-modifications, split-string, eval-after-load):
13082 Fix typos, remove unneeded backslashes and reflow some docstrings.
13084 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13086 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13087 default for Elisp files.
13089 2013-06-11 Glenn Morris <rgm@gnu.org>
13091 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13092 although define-derived-mode was doing this anyway. (Bug#14583)
13094 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13096 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13097 Fix make-variable-buffer-local call to refer to the correct variable.
13099 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13101 * eshell/em-term.el (eshell-visual-commands)
13102 (eshell-visual-subcommands, eshell-visual-options):
13103 Add summary line to docstrings. Add cross-references.
13105 2013-06-10 Glenn Morris <rgm@gnu.org>
13107 * epa.el (epa-read-file-name): New function. (Bug#14510)
13108 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13110 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13112 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13113 output redirection to be ignored with visual commands.
13115 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13117 * eshell/em-term.el (eshell-visual-command-p): New function.
13118 (eshell-term-initialize): Move long lambda to separate function
13119 eshell-visual-command-p.
13120 * eshell/em-dirs.el (eshell-dirs-initialize):
13121 * eshell/em-script.el (eshell-script-initialize):
13122 Add missing #' to lambda.
13124 2013-06-08 Leo Liu <sdl.web@gmail.com>
13126 * progmodes/octave.el (octave-add-log-current-defun): New function.
13127 (octave-mode): Set add-log-current-defun-function.
13128 (octave-goto-function-definition): Do not move point if not found.
13129 (octave-find-definition): Enhance to try subfunctions first.
13131 2013-06-08 Glenn Morris <rgm@gnu.org>
13133 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13134 (byte-compile-backward-char, byte-compile-backward-word):
13135 Improve previous change, to handle non-explicit nil.
13137 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13139 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13140 (smie--opener/closer-at-point): New function.
13141 (smie--matching-block-data): Use it. Don't match from right after an
13142 opener or right before a closer. Obey smie-blink-matching-inners.
13143 Don't signal a mismatch for repeated inners like "switch..case..case".
13145 2013-06-07 Leo Liu <sdl.web@gmail.com>
13147 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13149 (octave-function-header-regexp): Fix. (Bug#14570)
13150 (octave-help-mode-finish-hook, octave-help-mode-finish):
13151 Remove. Just use temp-buffer-show-hook.
13153 * newcomment.el (comment-search-backward): Revert last change.
13156 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13158 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13160 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13161 through xargs, to avoid failure due to MS-Windows limitations on
13162 command-line length.
13164 2013-06-06 Glenn Morris <rgm@gnu.org>
13166 * font-lock.el (lisp-font-lock-keywords-2):
13167 Treat user-error like error.
13169 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13170 (byte-compile-backward-char, byte-compile-backward-word):
13171 Handle explicit nil arguments. (Bug#14565)
13173 2013-06-05 Alan Mackenzie <acm@muc.de>
13175 * isearch.el (isearch-allow-prefix): New user option.
13176 (isearch-other-meta-char): Don't exit isearch when a prefix
13177 argument is typed whilst `isearch-allow-prefix' is non-nil.
13180 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13182 * autorevert.el (auto-revert-notify-handler): Use memq.
13183 Hide assertion failure.
13185 * skeleton.el: Use cl-lib.
13186 (skeleton-further-elements): Use defvar-local.
13187 (skeleton-insert): Use cl-progv.
13189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13191 * progmodes/prog-mode.el (prog-prettify-symbols)
13192 (prog-prettify-install): Update docstrings.
13194 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * simple.el: Move all the prog-mode code to prog-mode.el.
13197 * progmodes/prog-mode.el: New file.
13198 * loadup.el: Add prog-mode.el.
13200 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13202 * simple.el (prog-prettify-symbols): Add version.
13203 (prog-prettify-install): Add convenience function to prettify symbols.
13205 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13206 (perl--augmented-font-lock-keywords-1)
13207 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13208 variables and use it.
13210 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13211 (cfengine3-mode): Remove unneeded variable and use it.
13213 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13214 (lisp--augmented-font-lock-keywords-1)
13215 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13216 Remove unneeded variables and use it.
13218 2013-06-05 João Távora <joaotavora@gmail.com>
13220 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13221 to point when opening the connection. (Bug#14380)
13223 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13225 * subr.el (load-history-regexp, load-history-filename-element)
13226 (eval-after-load, after-load-functions, do-after-load-evaluation)
13227 (eval-next-after-load, display-delayed-warnings)
13228 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13229 definition of save-match-data.
13230 (overriding-local-map): Remove accidental obsolescence declaration.
13232 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13234 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13236 Generalize symbol prettify support to prog-mode and implement it
13237 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13238 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13239 (prog--prettify-font-lock-compose-symbol)
13240 (prog-prettify-font-lock-symbols-keywords): New variables and
13241 functions to support symbol prettification.
13242 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13243 (lisp--augmented-font-lock-keywords-1)
13244 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13245 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13246 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13247 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13248 Implement prettify of -> => :: strings.
13249 * progmodes/perl-mode.el (perl-prettify-symbols)
13250 (perl--font-lock-compose-symbol)
13251 (perl--font-lock-symbols-keywords): Move to prog-mode.
13252 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13253 (perl-font-lock-keywords-1)
13254 (perl-font-lock-keywords-2): Remove explicit prettify support.
13255 (perl--augmented-font-lock-keywords)
13256 (perl--augmented-font-lock-keywords-1)
13257 (perl--augmented-font-lock-keywords-2, perl-mode):
13258 Implement prettify support.
13260 2013-06-05 Leo Liu <sdl.web@gmail.com>
13262 Re-implement SMIE matching block highlight using
13263 show-paren-data-function. (Bug#14395)
13264 * emacs-lisp/smie.el (smie-matching-block-highlight)
13265 (smie--highlight-matching-block-overlay)
13266 (smie--highlight-matching-block-lastpos)
13267 (smie-highlight-matching-block)
13268 (smie-highlight-matching-block-mode): Remove.
13269 (smie--matching-block-data-cache): New variable.
13270 (smie--matching-block-data): New function.
13271 (smie-setup): Use smie--matching-block-data for
13272 show-paren-data-function.
13274 * progmodes/octave.el (octave-mode-menu): Fix.
13275 (octave-find-definition): Skip garbage lines.
13277 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13279 Fix compilation error with simultaneous dynamic+lexical scoping.
13280 Add warning when a defvar appears after the first let-binding.
13281 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13282 (byte-compile-close-variables): Initialize it.
13283 (byte-compile--declare-var): New function.
13284 (byte-compile-file-form-defvar)
13285 (byte-compile-file-form-define-abbrev-table)
13286 (byte-compile-file-form-custom-declare-variable): Use it.
13287 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13288 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13289 (byte-compile-bind): Handle dynamic bindings that shadow
13291 (byte-compile-unbind): Make arg non-optional.
13292 (byte-compile-let): Simplify.
13293 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13294 (cconv--analyse-function, cconv-analyse-form): Populate it.
13295 Protect byte-compile-bound-variables to limit the scope of defvars.
13296 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13297 Remove unneeded rule for `declare'.
13299 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13300 so as to avoid depending on cl-adjoin at run-time.
13301 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13303 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13304 (macroexp--warn-and-return): Use it.
13306 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13308 * subr.el: Convert to lexical binding.
13309 (overriding-local-map): Make obsolete.
13310 (add-to-list): Doc fix. Add compiler macro.
13311 (read-key): Swap values of local maps.
13313 2013-06-05 Leo Liu <sdl.web@gmail.com>
13315 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13317 2013-06-04 Leo Liu <sdl.web@gmail.com>
13319 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13320 (compilation-auto-jump): Suppress the "Mark set" message to give
13321 way to exit message.
13323 2013-06-04 Alan Mackenzie <acm@muc.de>
13325 Remove faulty optimisation from indentation calculation.
13326 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13327 search limit based on 2000 characters back from indent-point.
13329 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13331 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13333 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13335 * emacs-lisp/lisp.el: Use lexical-binding.
13336 (lisp--local-variables-1, lisp--local-variables): New functions.
13337 (lisp--local-variables-completion-table): New var.
13338 (lisp-completion-at-point): Use it complete let-bound vars.
13340 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13341 eagerly (bug#14422).
13343 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13345 * autorevert.el (auto-revert-notify-enabled)
13346 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13347 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13348 (auto-revert-notify-handler): Handle also gfilenotify.
13350 * subr.el (file-notify-handle-event): New defun. Replacing ...
13351 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13354 2013-06-03 Juri Linkov <juri@jurta.org>
13356 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13357 `M-s h .'. (Bug#14427)
13359 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13360 command `hi-lock-face-symbol-at-point'.
13361 (hi-lock-face-symbol-at-point): New command.
13362 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13363 (hi-lock-menu): Add `highlight-symbol-at-point'.
13364 (hi-lock-mode): Doc fix.
13366 * isearch.el (isearch-forward-symbol-at-point): New command.
13367 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13368 (isearch-highlight-regexp): Add a regexp which matches
13369 words/symbols for word/symbol mode.
13371 * subr.el (find-tag-default-bounds): New function with the body
13372 mostly moved from `find-tag-default'.
13373 (find-tag-default): Move most code to `find-tag-default-bounds',
13374 call it and apply `buffer-substring-no-properties' afterwards.
13376 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13378 * eshell/em-term.el (eshell-term-initialize):
13379 Use `cl-intersection' rather than `intersection'.
13381 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13383 * vc/log-view.el: Doc fix.
13384 (log-view-mode-map): Copy keymap from `special-mode-map'.
13386 2013-06-02 Eric Ludlam <zappo@gnu.org>
13388 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13389 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13390 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13391 (eieio-unbound, eieio-default-superclass)
13392 (eieio--define-field-accessors, method-static, method-before)
13393 (method-primary, method-after, method-num-lists)
13394 (method-generic-before, method-generic-primary)
13395 (method-generic-after, method-num-slots)
13396 (eieio-specialized-key-to-generic-key)
13397 (eieio--check-type, class-v, class-p)
13398 (eieio-class-name, define-obsolete-function-alias)
13399 (eieio-class-parents-fast, eieio-class-children-fast)
13400 (same-class-fast-p, class-constructor, generic-p)
13401 (generic-primary-only-p, generic-primary-only-one-p)
13402 (class-option-assoc, class-option, eieio-object-p)
13403 (class-abstract-p, class-method-invocation-order)
13404 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13405 (eieio-class-un-autoload, eieio-defclass)
13406 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13407 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13408 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13409 (eieio-defgeneric-reset-generic-form)
13410 (eieio-defgeneric-form-primary-only)
13411 (eieio-defgeneric-reset-generic-form-primary-only)
13412 (eieio-defgeneric-form-primary-only-one)
13413 (eieio-defgeneric-reset-generic-form-primary-only-one)
13414 (eieio-unbind-method-implementations)
13415 (eieio--defmethod, eieio--typep)
13416 (eieio-perform-slot-validation, eieio-validate-slot-value)
13417 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13418 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13419 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13420 (eieio-slot-name-index, eieio-class-slot-name-index)
13421 (eieio-set-defaults, eieio-initarg-to-attribute)
13422 (eieio-attribute-to-initarg, eieio-c3-candidate)
13423 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13424 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13425 (eieio-class-precedence-list, eieio-generic-call-methodname)
13426 (eieio-generic-call-arglst, eieio-generic-call-key)
13427 (eieio-generic-call-next-method-list)
13428 (eieio-pre-method-execution-functions, eieio-generic-call)
13429 (eieio-generic-call-primary-only, eieiomt-method-list)
13430 (eieiomt-optimizing-obarray, eieiomt-install)
13431 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13432 (eieio-generic-form, eieio-defmethod, make-obsolete)
13433 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13434 (defclass): Remove `eval-and-compile' from macro.
13435 (call-next-method, shared-initialize): Instead of using
13436 `scoped-class' variable, use new eieio--scoped-class, and
13437 eieio--with-scoped-class.
13438 (initialize-instance): Rename local variable 'scoped-class' to
13439 'this-class' to remove ambiguitity from old global.
13441 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13443 (eieio--scoped-class-stack): New variable.
13444 (eieio--scoped-class): New fcn.
13445 (eieio--with-scoped-class): New scoping macro.
13446 (eieio-defclass): Use pushnew instead of add-to-list.
13447 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13448 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13449 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13450 `scoped-class' variable, use new eieio--scoped-class, and
13451 eieio--with-scoped-class.
13453 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13455 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13457 * eshell/esh-ext.el (eshell-external-command): Pass args to
13458 `eshell-find-interpreter'.
13459 (eshell-find-interpreter): Add new second parameter ARGS.
13461 * eshell/em-script.el (eshell-script-initialize): Add second arg
13462 to the function added as MATCH to `eshell-interpreter-alist'.
13464 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13465 the function added as MATCH to `eshell-interpreter-alist'.
13467 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13468 (eshell-visual-options): New defcustom.
13469 (eshell-escape-control-x): Adapt docstring.
13470 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13471 `eshell-visual-options' in addition to `eshell-visual-commands'.
13472 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13474 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13476 * progmodes/python.el (python-indent-block-enders): Add break,
13477 continue and raise keywords.
13479 2013-06-01 Glenn Morris <rgm@gnu.org>
13481 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13483 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13484 * progmodes/cc-cmds.el (delete-forward-p):
13485 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13486 * progmodes/cc-engine.el (buffer-syntactic-context):
13487 * progmodes/cc-fonts.el (face-property-instance):
13488 * progmodes/cc-mode.el (set-keymap-parents):
13489 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13490 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13491 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13492 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13493 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13495 * progmodes/cc-vars.el (other): Emacs has this widget since
13496 at least 21.1, so don't (re)define it.
13498 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13499 Replace the obsolete alias pcomplete-arg-quote-list.
13501 2013-06-01 Leo Liu <sdl.web@gmail.com>
13503 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13504 punctuation syntax.
13505 (inferior-octave-minimal-columns)
13506 (inferior-octave-last-column-width): New variables.
13507 (inferior-octave-track-window-width-change): New function.
13508 (inferior-octave-mode): Adjust column width so that Octave output,
13509 for example from 'ls', can fit into the window nicely.
13511 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13513 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13514 Highlight expansions inside regexp literals.
13516 2013-05-31 Glenn Morris <rgm@gnu.org>
13518 * obsolete/sym-comp.el (symbol-complete):
13519 Replace obsolete completion-annotate-function.
13521 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13523 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13525 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13526 New function, checks if point is inside a literal that allows
13527 expression expansion.
13528 (ruby-syntax-propertize-expansion): Use it.
13529 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13532 2013-05-30 Juri Linkov <juri@jurta.org>
13534 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13536 (isearch-invisible): New variable.
13537 (isearch-forward): Doc fix.
13538 (isearch-mode): Set `isearch-invisible'
13539 to the value of `search-invisible'.
13540 (isearch-toggle-case-fold): Doc fix.
13541 (isearch-toggle-invisible): New command.
13542 (isearch-query-replace): Let-bind `search-invisible'
13543 to the value of `isearch-invisible'.
13544 (isearch-search): Use `isearch-invisible' instead of
13545 `search-invisible'. Let-bind `search-invisible'
13546 to the value of `isearch-invisible'. (Bug#11378)
13548 2013-05-30 Juri Linkov <juri@jurta.org>
13550 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13551 call when `query-flag' is nil and `search-invisible' is non-nil.
13554 2013-05-30 Glenn Morris <rgm@gnu.org>
13556 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13558 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13559 (cc-require): Suppress spurious "noruntime" warnings.
13560 (cc-require-when-compile): Use fboundp, for sake of compiler.
13562 * progmodes/cc-mode.el: Move load of cc-vars before that of
13563 cc-langs (which in turn loads cc-vars), to quieten compiler.
13565 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13567 * paren.el: Simplify the code.
13568 (show-paren-mode): Always start the timer.
13569 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13570 (show-paren--overlay, show-paren--overlay-1): Rename from
13571 show-paren-overlay and show-paren-overlay-1, and initialize to an
13572 overlay rather than to nil.
13573 (show-paren-function): Misc cleanup and simplifications.
13575 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * paren.el (show-paren-data-function): New hook.
13578 (show-paren--default): New function, extracted from show-paren-function.
13579 (show-paren-function): Use show-paren-data-function.
13581 2013-05-30 Glenn Morris <rgm@gnu.org>
13583 * ielm.el (ielm-map, ielm-complete-symbol):
13584 Use completion-at-point rather than obsolete functions.
13585 (inferior-emacs-lisp-mode): Doc fix.
13586 Set completion-at-point-functions, rather than
13587 comint-dynamic-complete-functions.
13589 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13590 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13591 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13593 * image.el (image-animated-p): Tweak definition.
13595 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13596 (rlogin-process-connection-type): Tweak default. Add set-after.
13597 (rlogin-host): Doc fix.
13598 (rlogin): Tweak prompt.
13599 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13601 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13602 * progmodes/tcl.el (inferior-tcl-mode-map):
13603 Use completion-at-point rather than obsolete alias.
13605 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13607 * minibuffer.el (read-file-name-completion-ignore-case):
13608 Move before completion--in-region, for eager macro expansion.
13610 2013-05-29 Juri Linkov <juri@jurta.org>
13612 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13613 for total count of matching lines. Add `global-matches' for total
13614 count of matches. Rename `matches' to `lines' for count of
13615 matching lines. Add `matches' for count of matches.
13616 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13617 to `prev-line' for line number of prev match endpt.
13618 Increment `matches' for every match. Print the number of
13619 matching lines in the header.
13620 (occur-context-lines): Rename `lines' to `curr-line'.
13621 Rename `prev-lines' to `prev-line'. (Bug#14017)
13623 2013-05-29 Juri Linkov <juri@jurta.org>
13625 * replace.el (perform-replace): Add `skip-read-only-count',
13626 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13627 Increment them for corresponding conditions and report the number
13628 of skipped occurrences in the final message. (Bug#11746)
13629 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13630 (replace-string, replace-regexp): Doc fix.
13632 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13636 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13637 prog-mode-map (bug#14504).
13639 2013-05-29 Leo Liu <sdl.web@gmail.com>
13641 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13642 (octave-help): Small simplification.
13644 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13645 off the highlight first.
13647 2013-05-29 Glenn Morris <rgm@gnu.org>
13649 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13650 Handle idlwave-last-system-routine-info-cons-cell being nil.
13652 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13653 (idlwave-write-paths): Simplify via with-temp-buffer.
13655 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13656 * emulation/cua-rect.el: Also load cua-base at run time.
13658 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13659 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13660 (cperl-imenu-on-info): Require imenu.
13662 2013-05-28 Alan Mackenzie <acm@muc.de>
13664 Handle "capitalised keywords" correctly.
13665 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13667 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13669 * eshell/em-unix.el: Add -r option to cp.
13671 2013-05-28 Glenn Morris <rgm@gnu.org>
13673 * vc/vc-arch.el (vc-exec-after): Declare.
13674 (vc-switches): Autoload.
13675 * vc/vc-bzr.el: No need to require vc when compiling.
13676 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13677 (vc-resynch-buffer, vc-dir-refresh): Declare.
13678 (vc-setup-buffer, vc-switches): Autoload.
13679 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13680 (vc-resynch-buffer): Declare.
13681 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13682 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13683 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13684 (grep-read-regexp, grep-read-files, grep-expand-template)
13685 (vc-dir-refresh): Declare.
13686 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13687 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13688 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13689 * vc/vc-mtn.el (vc-exec-after): Declare.
13690 (vc-switches): Autoload.
13691 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13692 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13693 (vc-file-tree-walk): Declare.
13694 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13695 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13696 (vc-tag-precondition, vc-rename-master): Autoload.
13697 * vc/vc-svn.el (vc-exec-after): Declare.
13698 (vc-switches, vc-setup-buffer): Autoload.
13699 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13701 (vc-resynch-buffer): Declare.
13703 * obsolete/fast-lock.el (byte-compile-warnings):
13704 Don't warn about obsolete features in this obsolete file.
13706 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13707 Move definition before use.
13709 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13710 (dun-unix-verbs): Remove dun-zippy.
13711 (dun-zippy): Remove function.
13713 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13715 2013-05-27 Juri Linkov <juri@jurta.org>
13717 * replace.el (replace-search): New function with code moved out
13718 from `perform-replace'.
13719 (replace-highlight, replace-dehighlight): Move function definitions
13720 up closer to `replace-search'. (Bug#11746)
13722 2013-05-27 Juri Linkov <juri@jurta.org>
13724 * replace.el (perform-replace): Ignore invisible matches.
13725 In addition to checking `query-replace-skip-read-only', also
13726 filter out matches by calling `run-hook-with-args-until-failure'
13727 on `isearch-filter-predicates', and also check `search-invisible'
13728 for t or call `isearch-range-invisible'.
13729 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13731 2013-05-27 Juri Linkov <juri@jurta.org>
13733 * isearch.el (isearch-filter-predicates): Rename from
13734 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13735 (isearch-message-prefix): Display text from the property
13736 `isearch-message-prefix' of the currently active filters.
13737 (isearch-search): Don't compare `isearch-filter-predicate' with
13738 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13739 on `isearch-filter-predicates'. Also check `search-invisible' for t
13740 or call `isearch-range-invisible'.
13741 (isearch-filter-visible): Make obsolete.
13742 (isearch-lazy-highlight-search):
13743 Call `run-hook-with-args-until-failure' on
13744 `isearch-filter-predicates' and use `isearch-range-invisible'.
13746 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13747 `isearch-filter-predicates' instead of `funcall'ing
13748 `isearch-filter-predicate'.
13749 (Info-mode): Set `Info-isearch-filter' to
13750 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13752 * dired-aux.el (dired-isearch-filter-predicate-orig):
13754 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13755 (dired-isearch-filenames-end): Add and remove
13756 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13757 instead of changing the value of `isearch-filter-predicate'.
13758 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13759 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13760 Put property `isearch-message-prefix' to "filename " on
13761 `dired-isearch-filter-filenames'.
13763 * wdired.el (wdired-change-to-wdired-mode):
13764 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13765 locally instead of changing `isearch-filter-predicate'.
13766 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13768 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13770 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13771 return the commit hash (Bug#14459). Also set the
13772 `vc-git-detached' property.
13773 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13774 (vc-git-mode-line-string): Use the same help-echo format whether
13775 in detached mode or not, because we know the actual revision now.
13776 When in detached mode, shorten the revision to 7 chars.
13778 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13780 * emacs-lisp/easy-mmode.el (define-minor-mode):
13781 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13782 mode hook and provide a docstring.
13784 2013-05-27 Alan Mackenzie <acm@muc.de>
13786 Remove spurious syntax-table text properties inserted by C-y.
13787 * progmodes/cc-mode.el (c-after-change): Also clear hard
13788 syntax-table property with value nil.
13790 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13792 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13793 when reading the events; the buffer layout shall not be changed.
13795 2013-05-27 Leo Liu <sdl.web@gmail.com>
13797 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13799 (inferior-octave-directory-tracker): Automatically re-sync
13801 (octave-help): Improve handling of 'See also'.
13803 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13805 * doc-view.el: Minor naming convention tweaks.
13806 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13808 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13809 even if there's no `display' property yet (bug#14435).
13811 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13813 * subr.el (unmsys--file-name): Rename from reveal-filename.
13815 * Makefile.in (custom-deps, finder-data, autoloads)
13816 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13817 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13818 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13820 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13822 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13823 error-completion on the first 2 args of condition-case (bug#14446).
13826 2013-05-25 Leo Liu <sdl.web@gmail.com>
13828 * comint.el (comint-previous-matching-input): Do not flood the
13829 *Messages* buffer with trivial messages.
13831 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13833 * progmodes/flymake.el (flymake-nop): Don't return a string.
13834 (flymake-set-at): Fix typo.
13836 * simple.el (read--expression): New function, extracted from
13837 eval-expression. Set completion-at-point-functions (bug#14465).
13838 (eval-expression, eval-minibuffer): Use it.
13840 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13842 * progmodes/flymake.el (flymake-save-buffer-in-file)
13843 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13844 (flymake-selected-frame, flymake-log, flymake-ins-after)
13845 (flymake-set-at, flymake-get-buildfile-from-cache)
13846 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13847 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13848 Refine the doc string.
13849 (flymake-get-file-name-mode-and-masks): Reformat.
13850 (flymake-get-real-file-name-function): Fix a minor bug.
13852 2013-05-24 Juri Linkov <juri@jurta.org>
13854 * progmodes/grep.el (grep-mode-font-lock-keywords):
13855 Support =linenumber= format used by git-grep for lines with
13856 function names. (Bug#13549)
13858 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13860 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13861 0 after a semi-colon; it works better for smie-auto-fill.
13862 (octave--indent-new-comment-line): New function.
13863 (octave-indent-new-comment-line): Use it (indirectly).
13864 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13865 modify comment-line-break-function.
13867 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13868 (smie-setup): Use add-function to set it.
13870 2013-05-24 Sam Steingold <sds@gnu.org>
13872 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13873 argument (before the `interactive' argument).
13875 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13877 * image-mode.el (image-mode-winprops): Add winprops to
13878 image-mode-winprops-alist before running
13879 image-mode-new-window-functions.
13880 * doc-view.el (doc-view-new-window-function): Don't delay
13881 doc-view-goto-page via timers (bug#14435).
13883 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13885 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13886 (doc-view-desktop-save-buffer): New function.
13887 (doc-view-restore-desktop-buffer): New function.
13888 (desktop-buffer-mode-handlers):
13889 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13891 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13892 `desktop-save-buffer' function.
13894 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13896 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13897 (tramp-gvfs-file-name-handler): Raise a user error when
13898 `tramp-gvfs-enabled' is nil.
13899 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13900 Do not raise a user error when loading package. (Bug#14447)
13902 * net/xesam.el: Move to obsolete/.
13904 2013-05-24 Glenn Morris <rgm@gnu.org>
13906 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13908 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13910 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13911 (Info-find-node, Man-getpage-in-background): Declare.
13913 * mail/unrmail.el (unrmail):
13914 Replace obsolete detect-coding-with-priority.
13916 * net/socks.el (socks-split-string): Use this rather than split-string.
13917 (socks-nslookup-host): Update for above change.
13918 (dynamic-choice, s5-dynamic-choice-match)
13919 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13920 Comment out unused code.
13922 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13923 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13924 (gud-tooltip-echo-area): Make obsolete.
13925 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13927 * progmodes/js.el (js--optimize-arglist): Declare.
13929 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13931 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13932 (ediff-window-C): Declare.
13934 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13935 Tweak requires to silence compiler.
13937 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13938 (he-search-string, he-tried-table, he-expand-list)
13939 (he-init-string, he-string-member, he-substitute-string)
13940 (he-reset-string): Declare.
13942 * obsolete/options.el (list-options): Use custom-variable-p,
13943 rather than obsolete alias.
13945 2013-05-23 Sam Steingold <sds@gnu.org>
13947 * simple.el (shell-command-on-region): Pass the `replace' argument
13948 down to `call-process-region' to comply with the doc as reported on
13949 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13951 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13953 * emacs-lisp/smie.el (smie-indent-forward-token)
13954 (smie-indent-backward-token): Handle string tokens (bug#14381).
13956 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13958 * ielm.el (ielm-menu): New menu.
13959 (inferior-emacs-lisp-mode): Set comment-start.
13961 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13963 * textmodes/reftex.el (reftex-ref-style-toggle):
13964 Fix deactivate action.
13966 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13967 Add cleveref macros.
13969 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13970 Accept options for bibliography commands.
13971 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13972 Add addbibresource. Basic Biblatex support.
13974 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13976 * net/tramp-gvfs.el (top):
13977 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13978 when loading package. (Bug#14447)
13980 2013-05-23 Glenn Morris <rgm@gnu.org>
13982 * progmodes/js.el: No need to load comint when compiling.
13983 (ring-insert, comint-send-string, comint-send-input)
13984 (comint-last-input-end, ido-chop): Declare.
13986 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13987 * vc/ediff-mult.el: Adjust requires.
13988 (ediff-directories-internal, ediff-directory-revisions-internal)
13989 (ediff-patch-file-internal): Declare.
13990 * vc/ediff-ptch.el: Adjust requires.
13991 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13992 (ediff-find-file): Autoload.
13993 * vc/ediff-util.el: No need to load ediff when compiling.
13994 (ediff-regions-internal): Declare.
13995 * vc/ediff-wind.el: Adjust requires.
13996 (ediff-compute-toolbar-width): Define when compiling.
13997 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13998 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13999 (dired-get-filename, dired-get-marked-files)
14000 (ediff-last-dir-patch, ediff-patch-default-directory)
14001 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14002 (ediff-patch-buffer-internal): Declare.
14004 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14005 (ispell-process, ispell-buffer-local-words, lm-summary)
14006 (lm-section-start, lm-section-end): Declare.
14007 (checkdoc-ispell-init): Simplify.
14009 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14010 (he-string-member, he-reset-string, he-substitute-string): Declare.
14012 * eshell/em-ls.el: Adjust requires.
14013 (eshell-glob-regexp): Declare.
14014 * eshell/em-tramp.el: Adjust requires.
14015 (eshell-parse-command): Autoload.
14016 * eshell/em-xtra.el: Adjust requires.
14017 (eshell-parse-command): Autoload.
14018 * eshell/esh-ext.el: Adjust requires.
14019 (eshell-parse-command, eshell-close-handles): Autoload.
14020 * eshell/esh-io.el: Adjust requires.
14021 (eshell-output-filter): Autoload.
14022 * eshell/esh-util.el: No need to load tramp when compiling.
14023 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14025 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14026 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14027 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14028 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14029 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14030 * eshell/esh-opt.el, eshell/esh-proc.el:
14031 * eshell/esh-var.el: Adjust requires.
14032 * eshell/eshell.el: Do not require esh-util twice.
14033 (eshell-add-input-to-history): Declare.
14034 (eshell-command): Check history module is active before using it.
14036 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14038 2013-05-22 Leo Liu <sdl.web@gmail.com>
14040 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14042 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14044 * autorevert.el (auto-revert-notify-add-watch)
14045 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14046 it indicates changes in file modification time.
14048 2013-05-22 Glenn Morris <rgm@gnu.org>
14050 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14051 Always delete the autoloaded function from the noruntime and
14052 unresolved functions lists.
14054 * allout.el: No need to load epa, epg, overlay when compiling.
14055 (epg-context-set-passphrase-callback, epg-list-keys)
14056 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14057 (epg-key-user-id-list): Declare.
14059 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14060 (viper-set-parsing-style-toggling-macro)
14061 (viper-set-emacs-state-searchstyle-macros):
14062 Use called-interactively-p on Emacs.
14063 (viper-looking-back): Make it an obsolete alias. Update callers.
14064 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14065 Use looking-back rather than viper-looking-back.
14066 (viper-tmp-insert-at-eob, viper-enlarge-region)
14067 (viper-read-string-with-history, viper-register-to-point)
14068 (viper-append-to-register, viper-change-state-to-vi)
14069 (viper-backward-char-carefully, viper-forward-char-carefully)
14070 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14071 (viper-change-state-to-emacs): Declare.
14072 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14073 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14074 * emulation/viper-mous.el: Do not load viper-cmd.
14075 (viper-backward-char-carefully, viper-forward-char-carefully)
14076 (viper-forward-word, viper-adjust-window): Declare.
14078 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14080 * progmodes/idlw-help.el (idlwave-help-fontify):
14081 Use called-interactively-p.
14083 * term/w32console.el (w32-get-console-codepage)
14084 (w32-get-console-output-codepage): Declare.
14086 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14087 Remove unnecessary declarations.
14088 (dframe-message): Doc fix.
14090 * info.el (dframe-select-attached-frame, dframe-current-frame):
14093 * speedbar.el (speedbar-message): Make it an obsolete alias.
14094 Update all callers.
14095 (speedbar-with-attached-buffer)
14096 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14097 (speedbar-with-writable): Use backquote.
14098 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14099 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14100 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14101 rather than speedbar- aliases.
14102 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14103 (speedbar-make-specialized-keymap, speedbar-insert-button)
14104 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14105 (speedbar-do-function-pointer): Declare.
14106 (rmail-speedbar-button, rmail-speedbar-find-file)
14107 (rmail-speedbar-move-message):
14108 Use dframe-with-attached-buffer rather than speedbar- alias.
14109 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14110 (dframe-message, speedbar-make-specialized-keymap)
14111 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14112 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14113 (speedbar-insert-button, dframe-select-attached-frame)
14114 (dframe-maybee-jump-to-attached-frame)
14115 (speedbar-change-initial-expansion-list)
14116 (speedbar-previously-used-expansion-list-name): Declare.
14117 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14118 Use dframe-message, dframe-with-attached-buffer rather than
14120 (gud-sentinel): Silence compiler.
14121 * progmodes/vhdl-mode.el (speedbar-refresh)
14122 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14123 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14124 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14125 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14126 (speedbar-file-lists, speedbar-make-tag-line)
14127 (speedbar-line-directory, speedbar-goto-this-file)
14128 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14129 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14130 (speedbar-make-button, speedbar-reset-scanners)
14131 (speedbar-files-item-info, speedbar-line-text)
14132 (speedbar-find-file-in-frame, speedbar-set-timer)
14133 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14134 (speedbar-with-writable): Do not (re)define it.
14135 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14136 rather than speedbar- alias.
14138 2013-05-21 Leo Liu <sdl.web@gmail.com>
14140 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14142 (octave-mode): Tweak fill-nobreak-predicate.
14143 (inferior-octave-startup): Check process to avoid infinite loop.
14144 (inferior-octave): Pop to buffer first to show abornmal process
14147 2013-05-21 Glenn Morris <rgm@gnu.org>
14149 * printing.el (pr-menu-bar): Define when compiling.
14151 2013-05-21 Leo Liu <sdl.web@gmail.com>
14153 * progmodes/octave.el (octave-auto-fill): Remove.
14154 (octave-indent-new-comment-line): Improve.
14155 (octave-mode): Use auto fill mode through
14156 comment-line-break-function and fill-nobreak-predicate.
14157 (octave-goto-function-definition): Support DEFUN_DLD.
14158 (octave-beginning-of-defun): Small tweak.
14159 (octave-help): Show parent directory.
14161 2013-05-21 Glenn Morris <rgm@gnu.org>
14163 * files.el (dired-unmark):
14164 * progmodes/gud.el (gdb-input): Update declarations.
14166 * calculator.el (electric, ehelp): No need to load when compiling.
14167 (Electric-command-loop, electric-describe-mode): Declare.
14169 * doc-view.el (doc-view-current-converter-processes): Move before use.
14171 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14172 Move MODE-set-explicitly definition before use.
14174 * international/mule-diag.el (mule-diag):
14175 Don't use obsolete window-system-version.
14177 * mail/feedmail.el (smtpmail): No need to load when compiling.
14178 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14180 * mail/mail-utils.el (rfc822): No need to load when compiling.
14181 (rfc822-addresses): Autoload it.
14182 (mail-strip-quoted-names): Trivial simplification.
14184 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14185 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14187 * net/snmp-mode.el (tempo): Don't duplicate requires.
14189 * progmodes/prolog.el (info): No need to load when compiling.
14190 (comint): Require before shell requires it.
14191 (Info-goto-node): Autoload it.
14192 (Info-follow-nearest-node): Declare.
14193 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14195 * textmodes/artist.el (picture-mode-exit): Declare.
14197 * textmodes/reftex-parse.el (reftex-parse-from-file):
14198 Trivial rewrite so the compiler can parse it better.
14200 2013-05-20 Leo Liu <sdl.web@gmail.com>
14202 * progmodes/octave.el (octave-help-mode-map)
14203 (octave-help-mode-finish-hook): New variables.
14204 (octave-help-mode, octave-help-mode-finish): New functions.
14205 (octave-help): Use octave-help-mode.
14207 2013-05-20 Glenn Morris <rgm@gnu.org>
14209 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14211 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14213 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14214 start at point, so that expansion starting right after opening
14215 slash in a regexp is recognized.
14216 (ruby-syntax-before-regexp-re): New defvar, extracted from
14217 ruby-syntax-propertize-function. Since the value of this regexp
14218 is looked up at runtime now, we should be able to turn
14219 `ruby-syntax-methods-before-regexp' into a defcustom later.
14220 (ruby-syntax-propertize-function): Split regexp matching into two
14221 parts, for opening and closing slashes. That allows us to skip
14222 over string interpolations and support multiline regexps.
14223 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14224 for them, which calls `ruby-syntax-propertize-expansion'.
14225 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14226 call to `ruby-syntax-propertize-function'.
14227 (ruby-syntax-propertize-expansion): Extracted from
14228 `ruby-syntax-propertize-expansions'. Handles one expansion.
14229 (ruby-syntax-propertize-percent-literal): Leave point right after
14230 the percent symbol, so that the expression expansion rule can
14231 propertize the contents.
14232 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14234 (ruby-syntax-propertize-expansions): Remove.
14236 2013-05-18 Juri Linkov <juri@jurta.org>
14238 * man.el (Man-default-man-entry): Remove `-' from the end
14239 of the default value. (Bug#14400)
14241 2013-05-18 Glenn Morris <rgm@gnu.org>
14243 * comint.el (comint-password-prompt-regexp):
14244 Allow "password for XXX" where XXX contains colons (eg https://...).
14246 2013-05-18 Leo Liu <sdl.web@gmail.com>
14248 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14249 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14250 (octave-source-directories): Don't check process.
14251 (octave-source-directories, octave-find-definition): Doc fix.
14253 2013-05-18 Glenn Morris <rgm@gnu.org>
14255 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14256 Remove backspace/delete bindings. (Bug#14392)
14258 * cus-dep.el (custom-make-dependencies): Sort the output.
14259 (custom-versions-load-alist): Convert comment to doc.
14261 2013-05-17 Leo Liu <sdl.web@gmail.com>
14263 * newcomment.el (comment-search-backward): Stricter in finding
14264 comment start. (Bug#14303)
14266 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14267 (octave-comment-start-skip): Properly anchored.
14269 2013-05-17 Leo Liu <sdl.web@gmail.com>
14271 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14272 Clean up when turned off. (Bug#14395)
14273 (smie--highlight-matching-block-overlay): No longer buffer-local.
14274 (smie-highlight-matching-block): Adjust.
14276 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14278 Doc string fix for "nanoseconds" (Bug#14406).
14279 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14280 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14282 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14284 * calc/calc-units.el (math-extract-units): Preserve powers
14287 2013-05-17 Leo Liu <sdl.web@gmail.com>
14289 * subr.el (delete-consecutive-dups): New function.
14290 * ido.el (ido-set-matches-1): Use it.
14291 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14292 * ido.el (ido-remove-consecutive-dups): Remove.
14294 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14296 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14297 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14298 regexp-opt's `words'.
14300 2013-05-16 Leo Liu <sdl.web@gmail.com>
14302 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14303 (smie--highlight-matching-block-overlay)
14304 (smie--highlight-matching-block-lastpos)
14305 (smie--highlight-matching-block-timer): New variables.
14306 (smie-highlight-matching-block): New function.
14307 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14308 (smie-setup): Conditionally enable smie-blink-matching-open.
14310 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14312 Sync with upstream verilog-mode r840.
14313 * progmodes/verilog-mode.el (verilog-mode-version)
14314 (verilog-mode-release-date): Update.
14315 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14316 (verilog-sig-tieoff): Fix string error on
14317 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14318 (verilog-read-decls): Fix parameters confusing
14319 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14321 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14323 * subr.el (reveal-filename): New function.
14325 * loadup.el: Compute Emacs executable versions on MS-Windows,
14326 where executables have the .exe extension. Add a hard link
14327 emacs-XX.YY.ZZ.exe on MS-Windows.
14329 * Makefile.in (XARGS_LIMIT): New variable.
14330 (custom-deps, finder-data, autoloads)
14331 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14332 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14333 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14334 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14336 2013-05-16 Leo Liu <sdl.web@gmail.com>
14338 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14339 (octave-mode-menu, octave-mode-map): Remove its uses.
14341 2013-05-16 Reto Zimmermann <reto@gnu.org>
14343 Sync with upstream vhdl mode v3.34.2.
14344 * progmodes/vhdl-mode.el: Use `push' throughout.
14345 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14346 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14347 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14348 (vhdl-actual-generic-name): New option to derive actual generic name.
14349 (vhdl-port-paste-signals): Replace formal by actual generics.
14350 (vhdl-beautify): New name for old group vhdl-align. Update users.
14351 (vhdl-beautify-options): New option.
14352 (vhdl-last-input-event): New compat alias. Use throughout.
14353 (vhdl-goto-line): Replace user level function `goto-line'.
14354 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14355 vhdl-fix-statement-buffer.
14356 (vhdl-create-mode-menu): Add some entries.
14357 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14358 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14359 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14360 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14361 to force statements on one line.
14362 (vhdl-remove-trailing-spaces-region):
14363 New, split from vhdl-remove-trailing-spaces.
14364 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14365 Respect vhdl-beautify-options.
14366 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14367 (vhdl-update-sensitivity-list): Not add with index if exists without.
14368 Not include array index with signal. Ignore keywords in comments.
14369 (vhdl-get-visible-signals): Regexp tweaks.
14370 (vhdl-template-component-inst): Handle empty library.
14371 (vhdl-template-type): Add template for 'enum' type.
14372 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14373 Use vhdl-replace-string.
14374 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14375 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14376 (vhdl-speedbar-initialize): Update for above name change.
14377 (vhdl-compose-wire-components): Fix in handling of constants.
14378 (vhdl-error-regexp-emacs-alist): New variable.
14379 (vhdl-error-regexp-add-emacs): New function;
14380 adds support for new compile.el (Emacs 22+)
14381 (vhdl-generate-makefile-1): Change target order for single lib. units.
14382 Allow use of absolute file names.
14384 2013-05-16 Leo Liu <sdl.web@gmail.com>
14386 * simple.el (prog-indent-sexp): Indent enclosing defun.
14388 2013-05-15 Glenn Morris <rgm@gnu.org>
14390 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14391 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14392 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14393 (whitespace-highlight): Move to whitespace group.
14395 * comint.el (comint-source):
14396 * pcmpl-linux.el (pcmpl-linux):
14397 * shell.el (shell-faces):
14398 * eshell/esh-opt.el (eshell-opt):
14399 * international/ccl.el (ccl): Remove empty custom groups.
14401 * completion.el (dynamic-completion-mode):
14402 * jit-lock.el (jit-lock-debug-mode):
14403 * minibuffer.el (completion-in-region-mode):
14404 * type-break.el (type-break-mode-line-message-mode)
14405 (type-break-query-mode):
14406 * emulation/tpu-edt.el (tpu-edt-mode):
14407 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14408 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14409 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14411 * term/xterm.el (xterm): Change parent group to terminals.
14413 * master.el (master): Remove empty custom group.
14414 (master-mode): Remove unused :group argument.
14415 * textmodes/refill.el (refill): Remove empty custom group.
14416 (refill-mode): Remove unused :group argument.
14418 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14420 * cus-dep.el: Provide a feature.
14421 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14422 Don't mistakenly ignore files whose basenames match a basename
14423 from preloaded-file-list (eg cedet/ede/simple.el).
14424 Add a fallback method for getting :group.
14426 2013-05-15 Juri Linkov <juri@jurta.org>
14428 * isearch.el (isearch-char-by-name): Rename from
14429 `isearch-insert-char-by-name'. Doc fix.
14430 (isearch-forward): Mention `isearch-char-by-name' in
14431 the docstring. (Bug#13348)
14433 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14434 `exit-minibuffer' instead of
14435 `isearch-nonincremental-exit-minibuffer'.
14436 (isearch-edit-string): Remove mention of
14437 `isearch-nonincremental-exit-minibuffer' from docstring.
14438 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14439 (isearch-forward-exit-minibuffer)
14440 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14442 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14444 * loadup.el: Just use unversioned DOC.
14446 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14447 literals as extending to EOB.
14448 (nxml-last-fontify-end): Remove unused variable.
14449 (nxml-after-change1): Use with-silent-modifications.
14450 (nxml-extend-after-change-region): Simplify.
14451 (nxml-extend-after-change-region1): Remove function.
14452 (nxml-after-change1): Don't adjust for dependent regions.
14453 (nxml-fontify-matcher): Simplify.
14454 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14455 (xmltok-add-dependent): Remove function.
14456 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14457 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14458 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14459 unclosed <[[, <?, comment, and other literals as extending to EOB.
14460 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14461 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14463 (rng-do-some-validation-1): Don't mark dependent regions.
14464 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14465 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14466 (nxml-clear-dependent-regions): Remove functions.
14467 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14468 (nxml-ensure-scan-up-to-date):
14469 Don't clear&mark dependent regions.
14471 2013-05-15 Leo Liu <sdl.web@gmail.com>
14473 * progmodes/octave.el (octave-goto-function-definition):
14474 Improve and fix callers.
14476 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14478 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14479 the setter (bug#14387).
14481 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14482 surrounding group (bug#14402).
14484 2013-05-14 Juri Linkov <juri@jurta.org>
14486 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14489 2013-05-14 Glenn Morris <rgm@gnu.org>
14491 * progmodes/f90.el (f90-imenu-generic-expression):
14492 Fix typo in 2013-05-08 change. (Bug#14402)
14494 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14496 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14497 Remove signals for which replies are never received.
14499 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14501 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14502 (gdb-handler-alist, gdb-handler-number): Remove variables.
14503 (gdb-handler-list): New variable.
14504 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14505 (gdb-pending-handler-p, gdb-handle-reply)
14506 (gdb-remove-all-pending-triggers): New functions.
14507 (gdb-discard-unordered-replies): New defcustom.
14508 (gdb-handler): New defstruct.
14509 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14510 instead of gdb-pending-triggers. Update docstring.
14511 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14512 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14513 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14514 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14515 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14516 (gdb-frame-handler): Pending triggers are now automatically managed.
14517 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14519 (gdb-input): Automatically handles pending triggers. Update docstring.
14520 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14521 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14523 (gdb-done-or-error): Now use gdb-handle-reply.
14525 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14527 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14530 2013-05-14 Glenn Morris <rgm@gnu.org>
14532 * subr.el (user-emacs-directory-warning): New option.
14533 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14535 2013-05-14 Leo Liu <sdl.web@gmail.com>
14537 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14539 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14540 (octave-font-lock-texinfo-comment): Fix invalid search bound
14541 error: wrong side of point.
14543 2013-05-14 Glenn Morris <rgm@gnu.org>
14545 * progmodes/flymake.el (flymake-xml-program): New option.
14546 (flymake-xml-init): Use it.
14548 * term/xterm.el: Provide a feature.
14550 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14552 2013-05-13 Glenn Morris <rgm@gnu.org>
14554 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14555 Add compat aliases as a hack workaround. (Bug#14384)
14557 2013-05-13 Leo Liu <sdl.web@gmail.com>
14559 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14561 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14563 (octave-comment-start-skip): Include %!.
14564 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14566 2013-05-12 Leo Liu <sdl.web@gmail.com>
14568 * progmodes/octave.el (inferior-octave-startup): Store the value
14569 of __octave_srcdir__ for octave-source-directories.
14570 (inferior-octave-check-process): New function refactored out of
14571 inferior-octave-send-list-and-digest.
14572 (octave-source-directories)
14573 (octave-find-definition-filename-function): New variables.
14574 (octave-source-directories)
14575 (octave-find-definition-default-filename): New functions.
14576 (octave-find-definition): Improve to find functions implemented in C++.
14578 2013-05-12 Glenn Morris <rgm@gnu.org>
14580 * calendar/diary-lib.el (diary-outlook-format-1):
14581 Don't include dayname in the output. (Bug#14349)
14583 2013-05-11 Glenn Morris <rgm@gnu.org>
14585 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14587 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14588 Treat cc-provide like provide.
14590 2013-05-11 Kevin Ryde <user42@zip.com.au>
14592 * cus-dep.el (custom-make-dependencies):
14593 Use generated-autoload-load-name for the sake of files such
14594 such cedet/semantic/bovine/c.el, where the base file name
14595 is not in load-path. (Bug#5277)
14597 2013-05-11 Glenn Morris <rgm@gnu.org>
14599 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14602 2013-05-11 Leo Liu <sdl.web@gmail.com>
14604 * progmodes/octave.el (octave-indent-comment): Improve.
14605 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14606 (octave-eldoc-function-signatures, octave-eldoc-function):
14608 (octave-mode, inferior-octave-mode): Add eldoc support.
14610 2013-05-11 Richard Stallman <rms@gnu.org>
14612 * epa.el (epa-decrypt-file): Take output file name as argument
14613 and read it using `interactive'.
14615 2013-05-11 Leo Liu <sdl.web@gmail.com>
14617 * progmodes/octave.el (octave-beginning-of-line)
14618 (octave-end-of-line): Check before using up-list because it jumps
14619 out of more syntactic contructs since moving to smie.
14620 (octave-indent-comment): New function.
14621 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14622 (octave-begin-keywords, octave-end-keywords)
14623 (octave-reserved-words, octave-smie-bnf-table)
14624 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14626 2013-05-11 Glenn Morris <rgm@gnu.org>
14628 * faces.el (internal-face-x-get-resource):
14629 * frame.el (ns-display-monitor-attributes-list):
14630 * calc/calc-aent.el (math-to-radians-2):
14631 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14634 * calc/calc-menu.el: Make it loadable in isolation.
14636 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14637 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14638 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14639 (eudc-bbdb-query-internal): Require 'bbdb.
14641 * lpr.el (lpr-headers-switches):
14642 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14644 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14646 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14648 * term.el (term-set-escape-char): Make it idempotent.
14650 2013-05-10 Leo Liu <sdl.web@gmail.com>
14652 * progmodes/octave.el (inferior-octave-completion-table):
14653 No longer a function and all uses changed. Use cache to speed up
14654 completion due to bug#11906.
14655 (octave-beginning-of-defun): Re-write to be more general.
14657 2013-05-10 Glenn Morris <rgm@gnu.org>
14659 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14661 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14663 * comint.el (comint-redirect-send-command-to-process): Use :around
14664 rather than :override for comint-redirect-filter.
14665 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14666 Call it instead of comint-redirect-original-filter-function (which
14667 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14669 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14671 * frame.el (display-monitor-attributes-list): Add NS case.
14672 (ns-display-monitor-attributes-list): Declare.
14674 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14676 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14678 2013-05-09 Glenn Morris <rgm@gnu.org>
14680 * international/fontset.el (vertical-centering-font-regexp):
14681 Set standard-value.
14683 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14685 * bookmark.el (bookmark-search-delay):
14686 * cus-start.el (vertical-centering-font-regexp):
14687 * ps-mule.el (ps-mule-font-info-database-default):
14688 * ps-print.el (ps-default-fg, ps-default-bg):
14689 * type-break.el (type-break-good-break-interval):
14690 * whitespace.el (whitespace-indentation-regexp)
14691 (whitespace-space-after-tab-regexp):
14692 * emacs-lisp/testcover.el (testcover-1value-functions)
14693 (testcover-noreturn-functions, testcover-progn-functions)
14694 (testcover-prog1-functions):
14695 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14696 * eshell/em-glob.el (eshell-glob-translate-alist):
14697 * play/tetris.el (tetris-tty-colors):
14698 * progmodes/cpp.el (cpp-face-default-list):
14699 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14700 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14701 (idlwave-help-browser-generic-args):
14702 * progmodes/make-mode.el (makefile-special-targets-list):
14703 * progmodes/python.el (python-shell-virtualenv-path):
14704 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14705 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14706 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14707 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14708 * textmodes/reftex-vars.el (reftex-format-label-function):
14709 * textmodes/remember.el (remember-diary-file): Fix custom types.
14711 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14714 2013-05-09 Leo Liu <sdl.web@gmail.com>
14716 * progmodes/octave.el (inferior-octave-completion-at-point):
14717 Restore file completion. (Bug#14300)
14718 (inferior-octave-startup): Fix incorrect highlighting for the
14721 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14723 * progmodes/ruby-mode.el: First cut at SMIE support.
14724 (ruby-use-smie): New var.
14725 (ruby-smie-grammar): New constant.
14726 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14727 (ruby-smie--forward-token, ruby-smie--backward-token)
14728 (ruby-smie-rules): New functions.
14729 (ruby-mode-variables): Setup SMIE if applicable.
14731 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14733 * simple.el (line-move-visual): Signal beginning/end of buffer
14734 only if vertical-motion moved less than it was requested. Avoids
14735 silly incorrect error messages when there are display strings with
14736 multiple newlines at EOL.
14738 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14740 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14741 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14742 (prolog-char-quote-workaround):
14743 * progmodes/cperl-mode.el (cperl-under-as-char):
14744 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14746 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14748 (vhdl-mode-syntax-table-init): Remove.
14750 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14753 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14755 (ld-script-font-lock-keywords):
14756 Change regexps to use things like \_< and \_>.
14758 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14759 Change all regexps to use things like \_< and \_>.
14761 * progmodes/autoconf.el (autoconf-definition-regexp)
14762 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14763 Handle a _ with symbol syntax.
14764 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14766 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14767 Consolidate declaration.
14768 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14770 (ada-create-syntax-table): Remove.
14771 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14772 already has the right syntax nowadays.
14773 (ada-goto-next-word): Don't change the syntax of "_".
14775 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14778 2013-05-08 Sam Steingold <sds@gnu.org>
14780 * thingatpt.el (thing-at-point): Accept optional second argument
14781 NO-PROPERTIES to strip the text properties from the return value.
14782 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14783 to `thing-at-point' instead of stripping the properties ourselves.
14784 Also, when `thing-at-point' fails to find a url, prepend "http://"
14785 to the filename at point on the assumption that the user is
14786 pointing at something like gnu.org/gnu.
14788 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14790 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14791 * faces.el (crm-separator):
14792 Silence byte-compiler.
14794 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14795 (tool-bar-map): Remove unneeded defvars.
14797 2013-05-08 Leo Liu <sdl.web@gmail.com>
14799 Re-work a fix for bug#10994 based on Le Wang's patch.
14800 * ido.el (ido-remove-consecutive-dups): New helper.
14801 (ido-completing-read): Use it.
14802 (ido-chop): Revert fix for bug#10994.
14804 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14806 * cus-edit.el (custom-save-variables):
14807 Pretty-print long values. (Bug#14187)
14809 2013-05-08 Glenn Morris <rgm@gnu.org>
14811 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14812 (m4-mode-syntax-table): Init in the defvar.
14813 (m4-mode-abbrev-table): Let define-derived-mode define it.
14815 2013-05-08 Tom Tromey <tromey@redhat.com>
14817 * progmodes/m4-mode.el (m4-mode-syntax-table):
14818 Do not treat "_" as word constituent. (Bug#14167)
14820 2013-05-07 Glenn Morris <rgm@gnu.org>
14822 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14823 Remove explicit eshell-isearch-cancel-map.
14825 * progmodes/f90.el (f90-smart-end-names): New option.
14826 (f90-smart-end): Doc fix.
14827 (f90-end-block-optional-name): New constant.
14828 (f90-block-match): Respect f90-smart-end-names.
14830 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14832 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14833 about implicit semi-colons (bug#14218).
14835 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14837 * frame.el (display-monitor-attributes-list)
14838 (frame-monitor-attributes): New functions.
14840 2013-05-06 Leo Liu <sdl.web@gmail.com>
14842 * progmodes/octave.el (octave-syntax-propertize-function): Change
14843 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14844 (octave-font-lock-keywords): Use octave-operator-regexp.
14845 (octave-completion-at-point): Rename from
14846 octave-completion-at-point-function.
14847 (inferior-octave-directory-tracker): Robustify.
14848 (octave-text-functions): Remove and fix its uses. No such things
14851 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14853 * emacs-lisp/trace.el (trace--display-buffer): New function.
14854 (trace-make-advice): Use it.
14856 2013-05-06 Juri Linkov <juri@jurta.org>
14858 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14859 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14861 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14862 in the help string. (Bug#12985)
14864 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14866 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14868 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14870 * progmodes/perl-mode.el: Add support for here documents.
14871 (perl-syntax-propertize-function): Match here-doc markers.
14872 (perl-syntax-propertize-special-constructs): Find their end.
14873 (perl-imenu-generic-expression): Use [:alnum:].
14875 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14876 (advice--add-function): Refresh the advice if already present
14879 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14881 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14883 2013-05-06 Glenn Morris <rgm@gnu.org>
14885 * w32-fns.el (w32-charset-info-alist): Declare.
14887 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14888 of its defcustom properties.
14889 (eshell-cmpl-initialize): No need to load pcomplete.
14891 * generic-x.el: No need to require comint when compiling.
14893 * net/eudc-export.el: Make it loadable without bbdb.
14894 (top-level): Use require rather than load-library.
14895 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14896 (eudc-batch-export-records-to-bbdb)
14897 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14900 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14902 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14903 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14904 some tweaks, instead.
14906 2013-05-05 Leo Liu <sdl.web@gmail.com>
14908 * progmodes/octave.el (octave-font-lock-keywords)
14909 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14910 (inferior-octave-send-list-and-digest): Improve error message.
14911 (octave-mode, inferior-octave-mode): Use setq-local.
14912 (octave-help): Set info-lookup-mode.
14914 2013-05-05 Richard Stallman <rms@gnu.org>
14916 * vc/compare-w.el (compare-windows-whitespace):
14917 Treat no-break space as whitespace.
14919 * mail/rmailsum.el (rmail-summary-rmail-update):
14920 Detect empty summary and don't change selected message.
14921 (rmail-summary-goto-msg): Likewise.
14923 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14924 Doc fixes, rename args.
14926 2013-05-05 Alan Mackenzie <acm@muc.de>
14928 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14930 2013-05-05 Juri Linkov <juri@jurta.org>
14932 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14933 to not add the length of the summary segment to the return value.
14936 2013-05-05 Leo Liu <sdl.web@gmail.com>
14938 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14939 (inferior-octave-output-filter): Remove.
14940 (octave-send-region, inferior-octave-startup): Fix callers.
14941 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14942 (octave-binary-file-extensions): New user variable.
14943 (octave-find-definition): Confirm if opening binary files.
14944 (octave-help-file): Use octave-find-definition to get the binary
14946 (octave-help): Adjust for octave-help-file change.
14948 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14950 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14951 Merge the two entries that handle function definitions.
14952 (pascal--syntax-propertize): New const.
14953 (pascal-mode): Use it. Use setq-local.
14955 2013-05-04 Glenn Morris <rgm@gnu.org>
14957 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14958 (diary-from-outlook): Respect diary-from-outlook-function.
14960 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14962 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14963 Move the declaration from C.
14964 (read-minibuffer, eval-minibuffer): Move from C.
14965 (completion-setup-function): Avoid minibuffer-completion-contents.
14967 2013-05-03 Leo Liu <sdl.web@gmail.com>
14969 * progmodes/octave.el (octave-font-lock-keywords): Do not
14970 dehighlight 'end' in comments or strings.
14971 (octave-completing-read, octave-goto-function-definition):
14973 (octave-help-buffer): New user variable.
14974 (octave-help-file, octave-help-function): New button types.
14975 (octave-help): New command and bind it to C-h ;.
14976 (octave-find-definition): New command and bind it to M-.
14977 (user-error): Alias to error if not defined.
14979 2013-05-02 Leo Liu <sdl.web@gmail.com>
14981 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14983 (octave-font-lock-keywords): Include [ and {.
14985 2013-05-02 Leo Liu <sdl.web@gmail.com>
14987 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14988 (inferior-octave): Remove calling comint-mode and return the buffer.
14989 (inferior-octave-startup): Cosmetic changes.
14991 2013-05-02 Leo Liu <sdl.web@gmail.com>
14993 * progmodes/octave.el (octave-syntax-propertize-function):
14994 Include the case when ' is at line beginning. (Bug#14336)
14996 2013-05-02 Glenn Morris <rgm@gnu.org>
14998 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14999 * desktop.el (vc-dir-mode): Just autoload it here.
15001 2013-05-02 Alan Mackenzie <acm@muc.de>
15003 Eliminate variable c-standard-font-lock-fontify-region-function.
15004 * progmodes/cc-mode.el
15005 (c-standard-font-lock-fontify-region-function): Remove.
15006 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15008 2013-05-01 Leo Liu <sdl.web@gmail.com>
15010 * progmodes/octave.el: Compatible with older emacs-24 releases.
15011 (inferior-octave-has-built-in-variables): Remove. Built-in
15012 variables were removed from Octave in 2007.
15013 (inferior-octave-startup): Fix uses.
15014 (comint-line-beginning-position): Remove compatibility code for
15017 2013-05-01 Juri Linkov <juri@jurta.org>
15019 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15021 2013-05-01 Juri Linkov <juri@jurta.org>
15023 * comint.el (comint-previous-matching-input): Don't print message
15024 "History item: %d" when `isearch-mode' is active.
15025 (comint-history-isearch-message): Print message "History item: %d"
15026 when `comint-input-ring-index' is not empty and this function is
15027 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15029 2013-05-01 Leo Liu <sdl.web@gmail.com>
15031 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15032 definitions. Use completion-at-point to insert keywords.
15033 (octave-abbrev-start): Remove.
15034 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15036 2013-04-30 Leo Liu <sdl.web@gmail.com>
15038 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15041 2013-04-30 Alan Mackenzie <acm@muc.de>
15043 Handle arbitrarily long C++ member initialisation lists.
15044 * progmodes/cc-engine.el (c-back-over-member-initializers):
15046 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15047 (most) member init lists.
15049 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15051 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15054 2013-04-30 Leo Liu <sdl.web@gmail.com>
15056 * progmodes/octave.el (octave-variables): Remove. No builtin
15057 variables any more. All converted to functions.
15058 (octave-font-lock-keywords, octave-completion-at-point-function):
15060 (octave-font-lock-texinfo-comment): New user variable.
15061 (octave-texinfo-font-lock-keywords): New variable for texinfo
15063 (octave-function-comment-block): New face.
15064 (octave-font-lock-texinfo-comment): New function.
15065 (octave-mode): Font lock texinfo comment block.
15067 2013-04-29 Leo Liu <sdl.web@gmail.com>
15069 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15070 indexing expression.
15071 (octave-continuation-string): Do not use \.
15072 (inferior-octave-complete-impossible): Remove.
15073 (inferior-octave-completion-table)
15074 (inferior-octave-completion-at-point): Remove its uses.
15075 (inferior-octave-startup): completion_matches was introduced to
15076 Octave in 1996 so safe to assume it.
15077 (octave-function-file-comment): Improve to follow how Octave does it.
15078 (octave-update-function-file-comment): Tweak.
15080 2013-04-29 Leo Liu <sdl.web@gmail.com>
15082 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15083 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15084 (octave-function-file-comment): Fix typo.
15085 (octave-sync-function-file-names): Use read-char-choice.
15087 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15089 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15090 to t for the less important warnings.
15092 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15094 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15096 2013-04-27 Glenn Morris <rgm@gnu.org>
15098 * vc/log-view.el (log-view-current-entry):
15099 Treat "---" separator lines as part of the following rev. (Bug#14169)
15101 2013-04-27 Juri Linkov <juri@jurta.org>
15103 * subr.el (read-number): Doc fix about using it by interactive
15104 code letter `n'. (Bug#14254)
15106 2013-04-27 Juri Linkov <juri@jurta.org>
15108 * desktop.el (desktop-auto-save-timeout): New option.
15109 (desktop-file-checksum): New variable.
15110 (desktop-save): Add optional arg `auto-save' and don't auto-save
15111 if nothing changed.
15112 (desktop-auto-save-timer): New variable.
15113 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15114 (after-init-hook): Call `desktop-auto-save-set-timer'.
15115 Suggested by Reuben Thomas <rrt@sc3d.org> in
15116 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15118 2013-04-27 Leo Liu <sdl.web@gmail.com>
15120 * progmodes/octave.el (octave-function-file-p)
15121 (octave-skip-comment-forward, octave-function-file-comment)
15122 (octave-update-function-file-comment): New functions.
15123 (octave-mode-map): Bind C-c ; to
15124 octave-update-function-file-comment.
15125 (octave-mode-menu): Add octave-update-function-file-comment.
15126 (octave-mode, inferior-octave-mode): Fix doc-string.
15127 (octave-insert-defun): Conform to Octave's coding convention.
15130 * files.el (basic-save-buffer): Don't let errors in
15131 before-save-hook prevent saving buffer.
15133 2013-04-20 Roland Winkler <winkler@gnu.org>
15135 * faces.el (read-face-name): Use completing-read if arg multiple
15138 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15140 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15141 displayed, move point to after the totals line.
15142 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15145 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15147 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15148 Add current dir to the load-path.
15149 (package-generate-autoloads): Don't rely on
15150 autoload-ensure-default-file.
15152 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15154 * textmodes/remember.el (remember-store-in-files): Document that
15155 the file name format is passed to `format-time-string'.
15157 2013-04-26 Leo Liu <sdl.web@gmail.com>
15159 * progmodes/octave.el (octave-sync-function-file-names): New function.
15160 (octave-mode): Use it in before-save-hook.
15162 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15164 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15167 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15168 \n and comment, even if it's not an implicit ; (bug#14218).
15170 2013-04-26 Glenn Morris <rgm@gnu.org>
15172 * subr.el (read-number): Once more use `read' rather than
15173 `string-to-number', to trap non-numeric input. (Bug#14254)
15175 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15177 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15178 Use `syntax-multiline' text property consistently instead of
15179 `font-lock-multiline'. (Bug#14237)
15181 2013-04-26 Glenn Morris <rgm@gnu.org>
15183 * emacs-lisp/shadow.el (list-load-path-shadows):
15184 No longer necessary to check for duplicate simple.el, since
15185 2012-07-07 change to init_lread to not include installation lisp
15186 directories in load-path when running uninstalled. (Bug#14270)
15188 2013-04-26 Leo Liu <sdl.web@gmail.com>
15190 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15191 (octave-mode, inferior-octave-mode): Use setq-local.
15192 (octave-not-in-string-or-comment-p): Rename to
15193 octave-in-string-or-comment-p.
15194 (octave-in-comment-p, octave-in-string-p)
15195 (octave-in-string-or-comment-p): Replace defsubst with defun.
15197 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15199 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15201 2013-04-25 Bastien Guerry <bzg@gnu.org>
15203 * textmodes/remember.el (remember-data-directory)
15204 (remember-directory-file-name-format): Fix custom types.
15206 2013-04-25 Leo Liu <sdl.web@gmail.com>
15208 * progmodes/octave.el (octave-completion-at-point-function):
15209 Make use of inferior octave process.
15210 (octave-initialize-completions): Remove.
15211 (inferior-octave-completion-table): New function.
15212 (inferior-octave-completion-at-point): Use it.
15213 (octave-completion-alist): Remove.
15215 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15217 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15218 (opascal-mode-syntax-table): New var.
15219 (opascal-literal-kind, opascal-is-literal-end)
15220 (opascal-literal-token-at): Rewrite.
15221 (opascal--literal-start-re, opascal-font-lock-keywords)
15222 (opascal--syntax-propertize): New constants.
15223 (opascal-font-lock-defaults): Adjust.
15224 (opascal-mode): Use them. Set comment-<foo> variables as well.
15225 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15226 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15227 (delphi-other-face, opascal-other-face): Remove face variables.
15228 (opascal-save-state): Remove macro.
15229 (opascal-fontifying-progress-step): Remove constant.
15230 (opascal--ignore-changes): Remove var.
15231 (opascal-set-token-property, opascal-parse-next-literal)
15232 (opascal-is-stable-literal, opascal-complete-literal)
15233 (opascal-is-literal-start, opascal-face-of)
15234 (opascal-parse-region, opascal-parse-region-until-stable)
15235 (opascal-fontify-region, opascal-after-change)
15236 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15237 (opascal-debug-parse-region, opascal-debug-parse-window)
15238 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15239 (opascal-debug-fontify-buffer): Remove.
15240 (opascal-debug-mode-map): Adjust accordingly.
15242 2013-04-25 Leo Liu <sdl.web@gmail.com>
15244 Merge octave-mod.el and octave-inf.el into octave.el with some
15246 * progmodes/octave.el: New file renamed from octave-mod.el.
15247 * progmodes/octave-inf.el: Merged into octave.el.
15248 * progmodes/octave-mod.el: Renamed to octave.el.
15250 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15252 * textmodes/reftex-vars.el
15253 (reftex-label-ignored-macros-and-environments): New defcustom.
15255 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15257 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15259 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15260 (smie-indent-keyword): Improve the check to ensure that the next
15261 comment is really on the same line.
15262 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15264 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15265 semi-colons if the line is not otherwise empty (bug#14218).
15267 2013-04-25 Glenn Morris <rgm@gnu.org>
15269 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15271 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15273 * progmodes/opascal.el (opascal-set-token-property): Rename from
15274 opascal-set-text-properties and only set `token' (bug#14134).
15275 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15276 (opascal-literal-text-properties): Remove.
15277 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15280 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15282 * textmodes/remember.el (remember-handler-functions): Add an
15283 option for a new handler `remember-store-in-files'.
15284 (remember-data-directory, remember-directory-file-name-format):
15286 (remember-store-in-files): New function to store remember notes
15287 as separate files within a directory.
15289 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15291 * progmodes/compile.el (compilation-next-error-function):
15292 Pass "formats" to compilation-find-file (bug#11777).
15294 2013-04-24 Glenn Morris <rgm@gnu.org>
15296 * vc/vc-bzr.el (vc-bzr-print-log):
15297 * vc/vc-hg.el (vc-hg-print-log):
15298 * vc/vc-svn.el (vc-svn-print-log):
15299 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15301 * vc/vc-bzr.el (vc-bzr-print-log):
15302 * vc/vc-cvs.el (vc-cvs-print-log):
15303 * vc/vc-git.el (vc-git-print-log):
15304 * vc/vc-hg.el (vc-hg-print-log):
15305 * vc/vc-mtn.el (vc-mtn-print-log):
15306 * vc/vc-rcs.el (vc-rcs-print-log):
15307 * vc/vc-sccs.el (vc-sccs-print-log):
15308 * vc/vc-svn.el (vc-svn-print-log):
15309 * vc/vc.el (vc-print-log-internal): Doc fixes.
15311 2013-04-23 Glenn Morris <rgm@gnu.org>
15313 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15314 Remove venerable code attempting to avoid substitute-command-keys.
15316 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15318 * textmodes/reftex-vars.el (reftex-label-regexps):
15319 Call `reftex-compile-variables' after changes to this variable.
15321 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15323 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15324 Use lexical-binding.
15325 (jit-lock-force-redisplay): Use markers, check buffer's continued
15326 existence and beware narrowed buffers.
15327 (jit-lock-fontify-now): Adjust call accordingly.
15329 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15331 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15332 to avoid misleading the user.
15334 2013-04-22 Leo Liu <sdl.web@gmail.com>
15336 * info-look.el: Prefer latex2e.info. (Bug#14240)
15338 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15340 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15342 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15343 * net/tramp.el (tramp-call-process): ... here.
15344 (tramp-set-completion-function, tramp-parse-putty):
15345 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15346 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15347 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15348 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15349 (tramp-call-local-coding-command): Use `tramp-call-process'
15350 instead of `tramp-compat-call-process'.
15352 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15353 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15354 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15355 (tramp-find-inline-compress): Improve traces.
15356 (tramp-maybe-send-script): Check for Perl binary.
15357 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15359 2013-04-22 Daiki Ueno <ueno@gnu.org>
15361 * epg.el (epg-context-pinentry-mode): New function.
15362 (epg-context-set-pinentry-mode): New function.
15363 (epg--start): Pass --pinentry-mode option to gpg command.
15365 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15367 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15368 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15369 `completion-at-point'. (Bug#13774)
15371 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15372 default key binding for `describe-distribution' has been moved to
15373 `C-h C-o'. (Bug#13970)
15375 2013-04-21 Glenn Morris <rgm@gnu.org>
15377 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15379 (vc-print-log): Clarify interactive prompt.
15381 2013-04-20 Glenn Morris <rgm@gnu.org>
15383 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15384 No longer include timestamp etc information.
15386 2013-04-20 Roland Winkler <winkler@gnu.org>
15388 * faces.el (read-face-name): Bug fix, return just one face if arg
15389 multiple is nil. (Bug#14209)
15391 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15394 (remove-function): Autoload.
15396 * comint.el (comint-redirect-original-filter-function): Remove.
15397 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15398 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15399 (vc-cvs-annotate-command):
15400 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15401 * progmodes/prolog.el (prolog-consult-compile):
15402 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15403 Use add/remove-function instead.
15404 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15405 (gud-tooltip-process-output, gud-tooltip-tips):
15406 Use add/remove-function instead.
15407 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15408 (scheme-interaction-mode, exit-scheme-interaction-mode):
15409 Use add/remove-function instead.
15411 * vc/vc-dispatcher.el: Use lexical-binding.
15412 (vc--process-sentinel): Rename from vc-process-sentinel.
15413 Change last arg to be the code to run. Don't use vc-previous-sentinel
15414 and vc-sentinel-commands any more.
15415 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15416 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15418 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15420 * progmodes/sh-script.el (sh-imenu-generic-expression):
15421 Handle function names with a single character. (Bug#14111)
15423 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15425 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15426 for subroutines defined in an eval (bug#14182).
15428 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15430 * bookmark.el (bookmark-completing-read): Improve handling of empty
15431 string (bug#14176).
15433 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15435 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15437 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15439 New faster Imenu implementation (bug#14058).
15440 * progmodes/python.el (python-imenu-prev-index-position)
15441 (python-imenu-format-item-label-function)
15442 (python-imenu-format-parent-item-label-function)
15443 (python-imenu-format-parent-item-jump-label-function):
15445 (python-imenu-format-item-label)
15446 (python-imenu-format-parent-item-label)
15447 (python-imenu-format-parent-item-jump-label)
15448 (python-imenu--put-parent, python-imenu--build-tree)
15449 (python-imenu-create-index, python-imenu-create-flat-index)
15450 (python-util-popn): New functions.
15451 (python-mode): Set imenu-create-index-function to
15452 python-imenu-create-index.
15454 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15456 * winner.el (winner-active-region): Use region-active-p, activate-mark
15457 and deactivate-mark (bug#14225).
15459 * simple.el (deactivate-mark): Don't inline it.
15461 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15463 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15465 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15467 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15468 file extensions from the archive-mode entry in order to prefer
15469 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15471 2013-04-18 Leo Liu <sdl.web@gmail.com>
15473 * bindings.el (help-event-list): Add ?\?.
15475 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15477 * subr.el (with-wrapper-hook): Declare obsolete.
15478 * simple.el (filter-buffer-substring-function): New hook.
15479 (filter-buffer-substring): Use it.
15480 (filter-buffer-substring-functions): Mark obsolete.
15481 * minibuffer.el (completion-in-region-function): New hook.
15482 (completion-in-region): Use it.
15483 (completion-in-region-functions): Mark obsolete.
15484 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15485 * abbrev.el (abbrev-expand-function): New hook.
15486 (expand-abbrev): Use it.
15487 (abbrev-expand-functions): Mark obsolete.
15488 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15489 and :filter-return.
15491 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15493 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15494 and do not care about match data.
15496 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15498 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15499 completion tables when completing error conditions and
15500 `declare' arguments.
15501 (lisp-complete-symbol, field-complete): Mark as obsolete.
15502 (check-parens): Unmatched parens are user errors.
15503 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15505 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15507 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15508 command changed buffer (ie. `flyspell-pre-buffer' is not current
15509 buffer), which prevents making decisions based on invalid value of
15510 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15511 cause an error when `flyspell-pre-point' was nil after switching
15513 (flyspell-post-command-hook): No longer needs to change buffers when
15514 checking pre-word. While at it remove unnecessary progn.
15516 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15518 * textmodes/ispell.el (ispell-add-per-file-word-list):
15519 Fix `flyspell-correct-word-before-point' error when accepting
15520 words and `coment-padding' is an integer by using
15521 `comment-normalize-vars' (Bug #14214).
15523 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15525 New defun movement commands.
15526 * progmodes/python.el (python-nav--syntactically)
15527 (python-nav--forward-defun, python-nav-backward-defun)
15528 (python-nav-forward-defun): New functions.
15530 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15532 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15533 (python-syntax-context): Use named compiler-macro for backwards
15534 compatibility with Emacs 24.x.
15536 2013-04-17 Leo Liu <sdl.web@gmail.com>
15538 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15539 octave-hide-process-buffer.
15541 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15543 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15546 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15548 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15549 Fix adjustment of offset when receiving incomplete responses from GDB
15552 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15554 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15555 python-mode-abbrev-table.
15556 (python-skeleton-define): Adjust accordingly.
15557 (python-mode-abbrev-table): New table that inherits from it so that
15558 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15560 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15561 (abbrev-symbol): Use it.
15562 (abbrev--before-point): Use it since we already handle inheritance.
15564 2013-04-16 Leo Liu <sdl.web@gmail.com>
15566 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15567 binding to info-lookup-symbol.
15569 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15571 * minibuffer.el (completion--twq-all):
15572 * term/ns-win.el (ns-initialize-window-system):
15573 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15575 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15577 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15580 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15582 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15584 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15585 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15587 (ruby-end-of-defun): Remove the unused arg, change the docstring
15588 to reflect that this function is only used as the value of
15589 `end-of-defun-function'.
15590 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15591 to reflect an earlier change that beginning/end-of-defun functions
15592 jump between methods in a class definition, as well as top-level
15595 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15597 * minibuffer.el (minibuffer-complete): Don't just scroll
15598 a *Completions* that's been iconified.
15599 (minibuffer-force-complete): Make sure repetitions do cycle when going
15600 through completion-in-region -> minibuffer-complete.
15602 2013-04-15 Alan Mackenzie <acm@muc.de>
15604 Correct the placement of c-cpp-delimiters when there're #s not at
15607 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15608 place a submatch around the #.
15609 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15610 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15613 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15615 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15616 (advice--member-p): New arg `name'.
15617 (advice--add-function, advice-member-p): Use it (bug#14202).
15619 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15621 Reformulate java imenu-generic-expression.
15622 The old expression contained ill formed regexps.
15624 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15625 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15626 (cc-imenu-java-method-arg-regexp): New defconsts.
15627 (cc-imenu-java-build-type-args-regex): New defun.
15628 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15629 handling of spaces in the regexp.
15631 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15633 * textmodes/ispell.el (ispell-command-loop): Remove
15634 flyspell highlight of a word when ispell accepts it (bug #14178).
15636 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15638 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15639 uses code from the previous `ange-ftp-run-real-handler'.
15640 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15641 only in case that function exist. This is needed for proper
15642 unloading of Tramp.
15644 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15646 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15648 * textmodes/reftex.el (reftex-compile-variables): Use it.
15650 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15652 * files.el (normal-mode): Only use default major-mode if no other mode
15655 * emacs-lisp/trace.el (trace-values): New function.
15657 * files.el: Allow : in local variables (bug#14089).
15658 (hack-local-variable-regexp): New var.
15659 (hack-local-variables-prop-line, hack-local-variables): Use it.
15661 2013-04-13 Roland Winkler <winkler@gnu.org>
15663 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15664 data before it gets modified by bibtex-beginning-of-entry.
15666 2013-04-13 Roland Winkler <winkler@gnu.org>
15668 * textmodes/bibtex.el (bibtex-url): Doc fix.
15670 2013-04-13 Roland Winkler <winkler@gnu.org>
15672 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15673 does not visit a BibTeX file, exclude it from the list of buffers
15674 returned by bibtex-initialize.
15676 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15678 * window.el (split-window): Remove interactive form, since as a
15679 command this function is a special case of split-window-below.
15680 Correct doc string.
15682 2013-04-12 Roland Winkler <winkler@gnu.org>
15684 * faces.el (read-face-name): Do not override value of arg default.
15685 Allow single faces and strings as default values. Remove those
15686 elements from return value that are not faces.
15687 (describe-face): Simplify.
15688 (face-at-point): New optional args thing and multiple so that this
15689 function can provide the same functionality previously provided by
15691 (make-face-bold, make-face-unbold, make-face-italic)
15692 (make-face-unitalic, make-face-bold-italic, invert-face)
15693 (modify-face, read-face-and-attribute): Use face-at-point.
15695 * cus-edit.el (customize-face, customize-face-other-window)
15696 * cus-theme.el (custom-theme-add-face)
15697 * face-remap.el (buffer-face-set)
15698 * facemenu.el (facemenu-set-face): Use face-at-point.
15700 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15702 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15704 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15706 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15707 off leading { and trailing } from field values.
15709 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15711 * emacs-lisp/timer.el (timer--check): New function.
15712 (timer--time, timer-set-function, timer-event-handler): Use it.
15713 (timer-set-idle-time): Simplify.
15714 (timer--activate): CSE.
15715 (timer-event-handler): Give more info in error message.
15716 (internal-timer-start-idle): New function, moved from C.
15718 * mpc.el (mpc-proc): Add `restart' argument.
15719 (mpc-proc-cmd): Use it.
15720 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15721 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15724 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15726 * progmodes/sh-script.el: Implement `sh-mode' own
15727 `add-log-current-defun-function' (bug#14112).
15728 (sh-current-defun-name): New function.
15729 (sh-mode): Use the function.
15731 2013-04-09 Bastien Guerry <bzg@gnu.org>
15733 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15735 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15737 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15739 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15742 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15744 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15747 2013-04-07 Leo Liu <sdl.web@gmail.com>
15749 * pcmpl-x.el: New file.
15751 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15753 Do not set x-display-name until X connection is established.
15754 This is needed to prevent from weird situation described at
15755 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15756 * frame.el (make-frame): Set x-display-name after call to
15757 window system initialization function, not before.
15758 * term/x-win.el (x-initialize-window-system): Add optional
15759 display argument and use it.
15760 * term/w32-win.el (w32-initialize-window-system):
15761 * term/ns-win.el (ns-initialize-window-system):
15762 * term/pc-win.el (msdos-initialize-window-system):
15763 Add compatible optional display argument.
15765 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15767 * files.el (normal-backup-enable-predicate): On MS-Windows and
15768 MS-DOS compare truenames of temporary-file-directory and of the
15769 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15770 don't fail comparison by compare-strings. Also, compare file
15771 names case-insensitively on MS-Windows and MS-DOS.
15773 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15775 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15776 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15778 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15780 * whitespace.el (whitespace-color-on, whitespace-color-off):
15781 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15783 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15785 * ispell.el (ispell-set-spellchecker-params):
15786 Really set `ispell-args' for all equivs.
15788 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * ido.el (ido-completions): Use extra elements of ido-decorations
15792 (ido-decorations): Update docstring.
15794 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15796 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15797 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15798 nil during initialization, in order not to miss changes since the
15799 file was opened. (Bug#14140)
15801 2013-04-05 Leo Liu <sdl.web@gmail.com>
15803 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15805 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15807 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15809 2013-04-04 Glenn Morris <rgm@gnu.org>
15811 * electric.el (electric-pair-inhibit-predicate): Add :version.
15813 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15815 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15816 when a package is required several times (bug#14082).
15818 2013-04-04 Roland Winkler <winkler@gnu.org>
15820 * faces.el (read-face-name): Behave as promised by the docstring.
15821 Assume that arg default is a list of faces.
15822 (describe-face): Call read-face-name with list of default faces.
15824 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15826 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15827 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15828 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15830 (bookmark-exit-hook-internal): Save even if list is empty.
15832 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15834 * emacs-lisp/package.el (package-pinned-packages): New var.
15835 (package--add-to-archive-contents): Obey it (bug#14118).
15837 2013-04-03 Alan Mackenzie <acm@muc.de>
15839 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15840 Also adapt to the new values of element 7 of a parse state.
15842 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15843 parameter `not-in-delimiter'. Handle being inside comment opener.
15844 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15845 character in case we're typing a '*' after a '/'.
15846 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15847 instead by passing the parameter to c-state-pp-to-literal.
15849 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15850 for elt. 7 of a parse state.
15852 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15854 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15855 * international/latin1-disp.el, international/mule-util.el:
15856 * language/cyril-util.el, language/european.el, language/ind-util.el:
15857 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15858 * language/tibetan.el, language/viet-util.el:
15859 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15861 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15863 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15864 (electric-pair-post-self-insert-function): Use it.
15865 (electric-pair-default-inhibit): New function, extracted from
15866 electric-pair-post-self-insert-function.
15868 2013-03-31 Roland Winkler <winkler@gnu.org>
15870 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15872 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15876 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15878 Un-indent after "pass" and "return" statements (Bug#13888)
15879 * progmodes/python.el (python-indent-block-enders): New var.
15880 (python-indent-calculate-indentation): Use it.
15882 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15884 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15885 defun. Defining it as defalias could introduce too eager
15886 byte-compiler optimization. (Bug#14030)
15888 2013-03-30 Chong Yidong <cyd@gnu.org>
15890 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15892 2013-03-30 Leo Liu <sdl.web@gmail.com>
15894 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15895 (kmacro-execute-from-register): Pass the keyboard macro to
15896 kmacro-call-macro or repeating won't work correctly.
15898 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15900 * progmodes/subword.el: Back to using `forward-symbol'.
15902 * subr.el (forward-whitespace, forward-symbol)
15903 (forward-same-syntax): Move from thingatpt.el.
15905 2013-03-29 Leo Liu <sdl.web@gmail.com>
15907 * kmacro.el (kmacro-to-register): New command.
15908 (kmacro-execute-from-register): New function.
15909 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15911 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * mpc.el: Use defvar-local and setq-local.
15914 (mpc--proc-connect): Connection failures are not bugs.
15915 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15916 (mpc-volume-map): Bind to the up-events.
15918 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15920 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15921 instead of `forward-symbol'.
15923 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15925 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15926 (edebug--recursive-edit): Use it.
15927 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15928 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15930 2013-03-28 Leo Liu <sdl.web@gmail.com>
15932 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15934 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15936 * facemenu.el (list-colors-callback): New defvar.
15937 (list-colors-redisplay): New function.
15938 (list-colors-display): Install list-colors-redisplay as the
15939 revert-buffer-function. (Bug#14063)
15941 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15943 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15944 and suffixes don't overlap (bug#14061).
15946 * case-table.el: Use lexical-binding.
15947 (case-table-get-table): New function.
15948 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15950 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15952 * progmodes/subword.el: Add `superword-mode' to do word motion
15953 over symbol_words (parallels and leverages `subword-mode' which
15954 does word motion inside MixedCaseWords).
15956 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15958 * eshell/em-unix.el: Move su and sudo to...
15959 * eshell/em-tramp.el: ...Eshell tramp module.
15961 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15963 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15964 Change return value to be a sexp. Delay `get-buffer' to after
15965 restoring the desktop (bug#13951).
15967 2013-03-26 Leo Liu <sdl.web@gmail.com>
15969 * register.el: Move semantic tag handling back to
15970 cedet/semantic/senator.el. (Bug#14052)
15972 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15975 into the prompt either (bug#13963).
15977 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15979 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15980 part of "(error-foo)".
15982 2013-03-24 Juri Linkov <juri@jurta.org>
15984 * replace.el (list-matching-lines-prefix-face): New defcustom.
15985 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15986 `occur-engine' if `face-differs-from-default-p' returns t.
15987 (occur-engine): Add `,' inside backquote construct to evaluate
15988 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15989 Pass `prefix-face' to the functions `occur-context-lines' and
15990 `occur-engine-add-prefix'.
15991 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15992 `prefix-face' and propertize the prefix with `prefix-face'.
15995 2013-03-24 Leo Liu <sdl.web@gmail.com>
15997 * nxml/rng-valid.el (rng-validate-while-idle)
15998 (rng-validate-quick-while-idle): Guard against deleted buffer.
16001 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16002 is the last entry in kill-buffer-hook.
16004 * files.el (kill-buffer-hook): Doc fix.
16006 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16008 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16009 Make it safe-local.
16011 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16013 2013-03-23 Leo Liu <sdl.web@gmail.com>
16015 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16018 * nxml/rng-valid.el (rng-validate-mode)
16019 (rng-after-change-function, rng-do-some-validation):
16020 * nxml/rng-maint.el (rng-validate-buffer):
16021 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16022 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16023 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16024 (nxml-extend-after-change-region): Use with-silent-modifications.
16026 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16029 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16030 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16031 timer-idle-list. (Bug#13999)
16033 2013-03-23 Juri Linkov <juri@jurta.org>
16035 * info.el (info-index-match): New face.
16036 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16037 main pattern and add text properties with the new face to matches
16038 in index entries relative to the beginning of the index entry.
16041 2013-03-21 Eric Ludlam <zappo@gnu.org>
16043 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16044 Inhibit read only while inserting objects.
16046 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16048 * progmodes/cfengine.el: Update docs to mention
16049 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16050 symbol motion. Remove "_" from the word syntax.
16052 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16054 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16055 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16057 2013-03-20 Juri Linkov <juri@jurta.org>
16059 * info.el (Info-next-reference-or-link)
16060 (Info-prev-reference-or-link): New functions.
16061 (Info-next-reference, Info-prev-reference): Use them.
16062 (Info-try-follow-nearest-node): Handle footnote navigation.
16063 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16065 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16067 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16068 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16070 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16072 Suppress unnecessary non-ASCII chatter during build process.
16073 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16074 (batch-skkdic-convert): Suppress most of the chatter.
16075 It's not needed so much now that machines are faster,
16076 and its non-ASCII component was confusing; see Dmitry Gutov in
16077 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16079 2013-03-20 Leo Liu <sdl.web@gmail.com>
16081 * ido.el (ido-chop): Fix bug#10994.
16083 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16085 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16087 (whitespace-color-on, whitespace-color-off):
16088 Use `font-lock-fontify-buffer' (Bug#13817).
16090 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16092 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16093 remapping in mode-line.
16094 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16096 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16098 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16099 value for `whitespace-line' face (Bug#13875).
16100 (whitespace-font-lock-keywords): Change description.
16101 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16102 the constructed keywords instead.
16103 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16105 2013-03-19 Leo Liu <sdl.web@gmail.com>
16107 * progmodes/compile.el (compilation-display-error): New command.
16108 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16111 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16113 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16115 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16117 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16119 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16121 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16123 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16124 * net/tramp-gvfs.el (top):
16125 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16126 (tramp-handle-shell-command): Use it.
16127 (tramp-dissect-file-name): Raise an error when hostname is a
16128 method name, and neither method nor user is specified.
16130 * net/trampver.el: Update release number.
16132 2013-03-18 Leo Liu <sdl.web@gmail.com>
16134 Make sure eldoc can be turned off properly.
16135 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16137 (eldoc-display-message-p): Revert last change.
16138 (eldoc-display-message-no-interference-p)
16139 (eldoc-print-current-symbol-info): Tweak.
16141 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16143 * doc-view.el (doc-view-new-window-function): Check the new window
16144 overlay's display property instead the char property of the
16145 buffer's first char. Use `with-selected-window' instead of
16146 `save-window-excursion' with `select-window'.
16147 (doc-view-document->bitmap): Check the current doc-view overlay's
16148 display property instead the char property of the buffer's first char.
16150 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16152 Automate the build of ja-dic.el (Bug#13984).
16153 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16154 from the input, rather than assume that it's been done for us by the
16155 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16156 the current date into a ja-dic.el comment, as that complicates
16157 regression testing.
16159 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16161 * whitespace.el: Fix double evaluation.
16162 (whitespace-space, whitespace-hspace, whitespace-tab)
16163 (whitespace-newline, whitespace-trailing, whitespace-line)
16164 (whitespace-space-before-tab, whitespace-indentation)
16165 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16167 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16168 (whitespace-color-on): Use a single font-lock-add-keywords call.
16169 Fix double-evaluation of face variables.
16171 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16173 * net/tramp-adb.el (tramp-adb-parse-device-names):
16174 Use `start-process' instead of `call-process'. Otherwise, the
16175 function might be blocked under MS Windows. (Bug#13299)
16177 2013-03-17 Leo Liu <sdl.web@gmail.com>
16179 Extend eldoc to display info in the mode-line. (Bug#13978)
16180 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16181 (eldoc-mode-line-string): New variable.
16182 (eldoc-minibuffer-message): New function.
16183 (eldoc-message-function): New variable.
16184 (eldoc-message): Use it.
16185 (eldoc-display-message-p)
16186 (eldoc-display-message-no-interference-p):
16187 Support eldoc-post-insert-mode.
16189 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16190 (eval-expression): Run it.
16192 2013-03-17 Roland Winkler <winkler@gnu.org>
16194 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16195 strings in the list of return values.
16197 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16199 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16200 radix before checking for HMS forms.
16202 2013-03-16 Leo Liu <sdl.web@gmail.com>
16204 * progmodes/scheme.el: Add indentation and font-locking for λ.
16207 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16209 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16210 token before point (bug#13942).
16212 2013-03-16 Leo Liu <sdl.web@gmail.com>
16214 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16216 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16218 * startup.el (command-line-normalize-file-name): Fix handling of
16219 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16220 <xfq.free@gmail.com> in
16221 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16223 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16225 Sync with Tramp 2.2.7.
16227 * net/trampver.el: Update release number.
16229 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16231 * doc-view.el: Fix bug#13887.
16232 (doc-view-insert-image): Don't modify overlay associated to
16233 non-live windows, and implement horizontal centering of image in
16234 case it's smaller than the window.
16235 (doc-view-new-window-function): Force redisplay of new windows on
16238 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16240 * saveplace.el (save-place-alist-to-file): Don't sort
16241 `save-place-alist', just pretty-print it (bug#13882).
16243 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16245 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16246 Check whether `default-file-name-coding-system' is bound.
16247 It isn't in XEmacs.
16249 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16251 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16252 backquotes for `obsolete' (bug#13929).
16254 * international/mule.el (find-auto-coding): Include file name in
16255 obsolescence warning (bug#13922).
16257 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16259 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16260 for CFEngine 3-specific indentation.
16261 (cfengine3-indent-line): Use it. Fix up category regex.
16262 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16264 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16266 * type-break.el (type-break-file-name):
16267 * textmodes/remember.el (remember-data-file):
16268 * strokes.el (strokes-file):
16269 * shadowfile.el (shadow-initialize):
16270 * saveplace.el (save-place-file):
16271 * ps-bdf.el (bdf-cache-file):
16272 * progmodes/idlwave.el (idlwave-config-directory):
16273 * net/quickurl.el (quickurl-url-file):
16274 * international/kkc.el (kkc-init-file-name):
16275 * ido.el (ido-save-directory-list-file):
16276 * emulation/viper.el (viper-custom-file-name):
16277 * emulation/vip.el (vip-startup-file):
16278 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16279 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16281 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16283 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16284 * language/thai-word.el: Switch to UTF-8.
16286 See ChangeLog.16 for earlier changes.
16288 ;; Local Variables:
16292 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16294 This file is part of GNU Emacs.
16296 GNU Emacs is free software: you can redistribute it and/or modify
16297 it under the terms of the GNU General Public License as published by
16298 the Free Software Foundation, either version 3 of the License, or
16299 (at your option) any later version.
16301 GNU Emacs is distributed in the hope that it will be useful,
16302 but WITHOUT ANY WARRANTY; without even the implied warranty of
16303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16304 GNU General Public License for more details.
16306 You should have received a copy of the GNU General Public License
16307 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.