1 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3 * rect.el (rectangle-preview): New custom.
4 (rectangle): New group.
5 (rectangle--pos-cols): Add `window' argument.
6 (rectangle--string-preview-state, rectangle--string-preview-window):
8 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9 (rectangle--space-to, rectangle--string-preview): New functions.
10 (string-rectangle): Use them.
11 (rectangle--inhibit-region-highlight): New var.
12 (rectangle--highlight-for-redisplay): Obey it. Make sure
13 `apply-on-region' uses the point-crutches of the right window.
14 Use :align-to rather than multiple spaces.
16 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
18 * ruler-mode.el (ruler-mode-window-col)
19 (ruler-mode-mouse-set-left-margin)
20 (ruler-mode-mouse-set-right-margin): Fix calculation of column
21 from mouse position (Bug#17768).
23 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
25 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
26 without varname or rhs causes crash.
27 (dun-ftp): Fix bug where blank ftp password is allowed, making it
28 impossible to win endgame.
29 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
31 (dun-help): Bump version number; update contact info.
33 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
35 Sync with Tramp 2.2.10.
37 * net/tramp.el (tramp-methods): Tweak docstring.
38 (tramp-handle-file-accessible-directory-p): Check for
39 `file-readable-p' instead of `file-executable-p'.
40 (tramp-check-cached-permissions):
41 Use `tramp-compat-file-attributes'.
42 (tramp-call-process): Add new argument VEC. Adapt callees in all
45 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
46 (tramp-adb-maybe-open-connection): Don't set
47 `tramp-current-*' variables.
49 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
50 file properties of temporary buffers.
52 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
54 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
55 (tramp-gvfs-handle-delete-file): Flush file
56 properties, not directory properties.
57 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
59 (tramp-gvfs-handle-file-name-all-completions):
60 Use "-h" option for "gvfs-ls".
61 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
62 (tramp-gvfs-send-command): Simplify traces.
64 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
65 (vc-git-program, vc-hg-program): Declare.
66 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
67 (tramp-methods) <nc>: Add new method.
68 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
69 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
71 (tramp-default-user-alist): Add "nc".
72 (top): Remove completion function for "sftp". Add completion
73 functions for "nc" and "psftp".
74 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
75 Implement support for "nc" method.
76 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
77 (tramp-remote-coding-commands, tramp-call-local-coding-command):
79 (tramp-sh-handle-write-region): Tweak error message.
80 (tramp-sh-handle-vc-registered): Remove backends when the remote
81 binary does not exist.
82 (tramp-find-inline-encoding): Do not raise an error.
83 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
84 the "nc" case. Quote result also locally.
86 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
87 (tramp-smb-handle-set-file-acl): Use `start-process'.
88 (tramp-smb-handle-insert-directory): Use progress reporter.
89 (tramp-smb-handle-rename-file): Flush also file properties of
92 * net/trampver.el: Update release number.
94 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
96 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
98 (ses-localvars): Remove ses--local-printer-list, unused.
99 (ses--metaprogramming): New macro. Use it to defvar variables.
100 (ses-set-localvars): Simplify.
101 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
102 property-list into an alist.
103 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
104 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
105 Remove; use defstruct accessors/setters instead.
106 (ses-cell-formula-aset, ses-cell-printer-aset)
107 (ses-cell-references-aset): Remove, use setf instead.
108 (ses--alist-get): New function.
109 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
110 Use an alist instead of a plist and don't do move-to-front since the
111 list is always short.
112 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
113 (ses-cell-property-set-fun, ses-cell-property-set)
114 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
115 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
116 (ses--letref): New macro.
117 (ses-cell-property-pop): Rewrite.
118 (ses--cell): Rename from ses-cell and make it into a function.
119 Make `formula' fallback on `value' if nil.
120 (ses--local-printer): Rename from ses-local-printer and make it into
122 (ses-set-cell): Turn it into a macro so finding the accessor from the
123 field name is done at compile time.
124 (ses-repair-cell-reference-all): Test presence of `sym' rather than
125 `ref' before adding `sym' to :ses-repair-reference.
126 (ses-calculate-cell): Use ses--letref rather than
127 ses-cell-property-get-handle.
128 (ses-write-cells): Use a single prin1-to-string.
129 (ses-setter-with-undo): New function.
130 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
131 (ses-unset-with-undo): Remove.
132 (ses-load): Prefer apply' over `eval'.
133 (ses-read-printer, ses-set-column-width): Use standard "(default
136 2014-06-15 Glenn Morris <rgm@gnu.org>
138 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
140 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
141 Replace delete-duplicates and mapcan by cl- versions throughout.
142 And cl-macroexpand-all by macroexpand-all.
143 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
145 2014-06-15 Eli Zaretskii <eliz@gnu.org>
147 * subr.el (posn-col-row): Doc fix. (Bug#17768)
149 2014-06-15 Juri Linkov <juri@jurta.org>
151 * bindings.el: Put `ascii-character' property on keypad keys
152 mapped to characters. (Bug#17759)
154 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
156 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
157 bumping forward into a closing paren (bug#17761).
159 * term/xterm.el (xterm--version-handler): Work around for OSX
160 Terminal.app (bug#17607).
162 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
164 * play/dunnet.el (dun-describe-room, dun-mode):
165 If a lamp is in the room, you won't be eaten by a grue.
167 2014-06-13 Glenn Morris <rgm@gnu.org>
169 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
170 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
171 (compile-always): GNU make automatically passes
172 command-line arguments to sub-makes.
174 * calendar/calendar.el (calendar-generate-window):
175 Remove pointless call to font-lock-fontify-buffer.
177 2014-06-13 Matthias Meulien <orontee@gmail.com>
179 * simple.el (completion-list-mode-map): Navigate with tab and backtab
182 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
184 * simple.el (set-mark-command): Simplify a bit.
186 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
188 * help.el (help--key-binding-keymap): New function.
189 (help--binding-locus): New function.
190 (describe-key): Mention the keymap in which the binding was
193 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
195 * hippie-exp.el (he--all-buffers): New function.
196 (try-expand-line-all-buffers, try-expand-list-all-buffers)
197 (try-expand-dabbrev-all-buffers): Use it.
199 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
201 * hippie-exp.el (try-expand-line-all-buffers)
202 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
203 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
204 original buffer, in case they're buffer-local.
206 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
208 * ses.el (ses-initial-global-parameters-re): New defconst, a
209 specific regexp is needed now that ses.el can handle both
210 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
212 (ses-localvars): Add local variables needed for local printer handling.
213 (ses-set-localvars): Handle hashmap initialisation.
214 (ses-paramlines-plist): Add param-line for number of local printers.
215 (ses-paramfmt-plist): New defconst, needed for code factorization
216 between functions `ses-set-parameter' and
217 `ses-file-format-extend-paramter-list'
218 (ses-make-local-printer-info): New defsubst.
219 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
220 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
221 (ses-cell-printer-aset): New defmacro.
222 (ses-local-printer-compile): New defun.
223 (ses-local-printer): New defmacro.
224 (ses-printer-validate, ses-call-printer): Add support for local
226 (ses-file-format-extend-paramter-list): New defun.
227 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
229 (ses-load): Add support for local printer functions.
230 (ses-read-printer): Update docstring and add support for local printer
232 (ses-refresh-local-printer, ses-define-local-printer): New defun.
233 (ses-safe-printer): Add support for local printer functions.
235 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
237 * ffap.el (ffap-lax-url): New var (bug#17723).
238 (ffap-url-at-point): Use it.
239 (ffap-file-at-point): Avoid returning just "/".
241 2014-06-12 Matthias Meulien <orontee@gmail.com>
243 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
244 (python-mode-map): Bind it.
246 * progmodes/python.el (class skeleton): Don't erase last char of class
249 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
251 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
253 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
255 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
258 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
260 * international/mule-cmds.el: Use lexical-binding.
261 (ucs-names): Simplify.
263 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
265 * progmodes/python.el (run-python): Use read-shell-command.
267 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
269 * rect.el: Make it possible to move bounds past EOL or into TABs.
270 (operate-on-rectangle): Use apply-on-rectangle.
271 (rectangle--mark-crutches): New var.
272 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
273 (rectangle--crutches, rectangle--reset-crutches): New functions.
274 (apply-on-rectangle): Obey crutches. Avoid setq.
275 Fix missing final iteration if end is at EOB&BOL.
276 (rectangle-mark-mode-map): Add remap bindings for
277 exchange-point-and-mark and char/line movements.
278 (rectangle--*-char): New function.
279 (rectangle-exchange-point-and-mark, rectangle-right-char)
280 (rectangle-left-char, rectangle-forward-char)
281 (rectangle-backward-char, rectangle-next-line)
282 (rectangle-previous-line): New commands.
283 (rectangle--place-cursor): New function.
284 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
286 2014-06-08 Glenn Morris <rgm@gnu.org>
288 * startup.el (initial-buffer-choice): Doc fix.
289 Reset :version (adding an option does not merit a :version bump).
291 * bookmark.el (bookmark-load):
292 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
294 2014-06-08 Juri Linkov <juri@jurta.org>
296 * desktop.el: Activate auto-saving on window configuration changes.
297 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
298 `desktop-auto-save-set-timer' to/from
299 `window-configuration-change-hook'.
300 (desktop-auto-save-set-timer): Change REPEAT arg of
301 `run-with-idle-timer' from t to nil.
302 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
304 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
306 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
307 vc-hg-command (bug#17570).
309 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
311 * international/mule-cmds.el (ucs-names): Add special entry for BEL
314 2014-06-08 Glenn Morris <rgm@gnu.org>
316 * startup.el (window-setup-hook): Doc fix.
318 * emacs-lisp/package.el (package-check-signature)
319 (package-unsigned-archives): Doc fixes.
321 2014-06-08 Martin Rudalics <rudalics@gmx.at>
323 * window.el (display-buffer-use-some-window): Don't make window
324 used smaller than it was before (Bug#17671).
326 2014-06-08 Eli Zaretskii <eliz@gnu.org>
328 * menu-bar.el (menu-bar-open): Fix last change: use the PC
329 'redisplay' instead of '(sit-for 0)'.
331 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
333 * net/tramp.el (tramp-ssh-controlmaster-options):
334 Improve search regexp. (Bug#17653)
336 2014-06-08 Glenn Morris <rgm@gnu.org>
338 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
340 2014-06-08 Eli Zaretskii <eliz@gnu.org>
342 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
344 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
346 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
349 * vc/vc-hg.el (vc-hg-log-graph): New var.
350 (vc-hg-print-log): Use it.
351 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
352 graph output (bug#17515).
354 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
356 * mouse.el (mouse-posn-property): Ignore buffer position info when the
357 even happened elsewhere.
359 2014-06-06 Mario Lang <mlang@delysid.org>
361 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
362 `recenter' if `current-buffer' is equal to `window-buffer'.
364 2014-06-05 Leo Liu <sdl.web@gmail.com>
366 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
368 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
370 * textmodes/tildify.el (tildify-foreach-region-outside-env):
371 New function which calls a callback on portions of the buffer that are
372 outside of ignored environments.
373 (tildify-build-regexp): Remove function since it is now
374 incorporated in `tildify-foreach-region-outside-env' where it is
375 optimised and simplified by the use of `mapconcat'.
376 (tildify-tildify): Return number of substitutions made so that…
377 (tildify-count): …can be removed.
378 (tildify-find-env): Accept a new PAIRS argument which was
379 previously looked up in `tildify-ignored-environments-alist' each
380 time the function was called. With this change, the lookup is
381 performed only once in `tildify-foreach-region-outside-env'.
382 (tildify-region): Greatly simplify the function since now most of
383 the work is done by `tildify-foreach-region-outside-env'.
384 (tildify-mode-alist): Simplify slightly by avoiding if and setq
385 and instead using or.
387 * textmodes/tildify.el (tildify-ignored-environments-alist):
388 Optimise environments regexes
390 Each time beginning of an environment to ignore is found,
391 `tildify-find-env' needs to identify regexp for the ending
392 of the environment. This is done by trying all the opening
393 regexes on matched text in a loop, so to speed that up, this
394 loop should have fewer things to match, which can be done by
395 using alternatives in the opening regexes.
397 Coincidentally, this should make matching of the opening
398 regexp faster as well thanks to the use of `regexp-opt' and
399 having common prefix pulled from many regexes.
401 * textmodes/tildify.el (tildify-string-alist)
402 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
403 of supported modes since `xml-mode' is no longer a thing but just
404 an alias to the former. Also include comments and insides of tags
405 in `tildify-ignored-environments-alist' for XML modes. Finally,
406 since XML does not define “ ”[1], use a numeric reference for
407 a no-break space (namely “ ”)
409 [1] XML specification defines only a handful of predefined entities.
410 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
411 and includes only <, >, &, ' and " (meaning <,
412 >, &, ' and " respectively). This is in contrast to HTML and even
413 XHTML which defined a whole bunch of entities including “ ”.
415 * textmodes/tildify.el (tildify-pattern-alist)
416 (tildify-string-alist, tildify-ignored-environments-alist):
417 Improve defcustom's types by adding more tags explaining what each
418 value means and replace “sexp” used in
419 `tildify-ignored-environments-alist' with a full type declaration.
421 * textmodes/tildify.el (tildify-find-env): Fix matched group
422 indexes in end-regex building
424 When looking for a start of an ignore-environment, the regex is built
425 by concatenating regexes of all the environments configured in
426 `tildify-ignored-environments-alist'. So for example, the following
427 list could be used to match TeX's \verb and \verb* commands:
429 (("\\\\verb\\(.\\)" . (1))
430 ("\\\\verb\\*\\(.\\)" . (1)))
432 This would result in the following regex being used to find the start
433 of any of the variants of the \verb command:
435 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
437 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
438 won't match anything, and thus (match-string 1) will be nil, which
439 will cause building of the end-matching regex to fail.
441 Fix this by using capture groups from the time when the opening
442 regexes are matched individually.
444 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
445 in `tildify-find-env'
447 The `tildify-ignored-environments-alist' allows the end-regex to
448 be provided not as a static string but mix of strings and indexes
449 of groups matched the begin-regex. For example, the “\verb!…!”
450 TeX-command (where “!” is an arbitrary character) is handled
453 ("\\\\verb\\*?\\(.\\)" . (1))
455 In the same way, the following should be supported as well:
457 ("open-\\(.\\)" . ("end-" 1))
459 However the tildify-find-env function fails at
462 (if (stringp (setq aux (car expression)))
463 expression ; BUG: expression is a list
464 (regexp-quote (match-string aux))))
466 where the string part is handled incorrectly.
468 The most trivial fix would be to replace `expression' in the
469 true-part of the if-statement with `aux', but instead, this commit
470 optimises `tildify-find-env' by changing it to use `mapconcat'
471 rather than open-coded while-loop.
473 2014-06-05 Mario Lang <mlang@delysid.org>
475 * woman.el (woman-mapcan): Remove.
476 (woman-parse-colon-path): Use cl-mapcan instead.
478 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
480 * register.el: Add link to Emacs manual in Commentary.
482 2014-06-02 Sam Steingold <sds@gnu.org>
484 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
485 (popup-menu): ...here.
486 (menu-bar-open): Use it to avoid an error when `lookup-key'
489 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
491 * net/tramp.el (tramp-call-process): Add traces.
492 (tramp-handle-unhandled-file-name-directory): Return "/".
494 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
496 Sync with upstream verilog-mode revision 3cd8144.
497 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
498 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
499 (verilog-type-font-keywords): Add nor.
500 (verilog-batch-execute-func): Force reading of Local Variables.
501 Fix printing "no changes to be saved" with verilog-batch.
502 (verilog-auto-arg-ports): Doc fix.
503 Add verilog-auto-arg-format to support newlines in AUTOARG.
504 (verilog-auto-arg): Doc fix.
506 2014-06-02 Glenn Morris <rgm@gnu.org>
508 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
509 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
510 * emulation/ws-mode.el: Move to obsolete/.
511 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
513 2014-06-02 Eli Zaretskii <eliz@gnu.org>
515 * simple.el (keyboard-quit): Force update of mode lines, to remove
516 the "Def" indicator, if we were defining a macro. (Bug#17615)
518 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
520 * minibuffer.el (minibuffer-force-complete-and-exit):
521 Obey minibuffer-default (bug#17545).
523 * progmodes/js.el (js-indent-line): Don't mix columns and chars
526 * subr.el (set-transient-map): Don't wait for some "nested"
527 transient-map to finish if we're only supposed to be active for
528 the next command (bug#17642).
530 2014-06-02 Leo Liu <sdl.web@gmail.com>
532 * emacs-lisp/gv.el (window-buffer, window-display-table)
533 (window-dedicated-p, window-hscroll, window-point, window-start):
534 Fix gv-expander. (Bug#17630)
536 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
538 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
541 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
542 for the single comma, since ", " is *very* common in normal French text
545 2014-06-02 Glenn Morris <rgm@gnu.org>
547 * emacs-lisp/package.el (package-check-signature)
548 (package-unsigned-archives): Fix :version.
550 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
552 * subr.el (sit-for): Don't run input-methods (bug#15614).
554 2014-06-02 Glenn Morris <rgm@gnu.org>
556 * cus-start.el: Fix some :version numbers.
558 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
560 * simple.el (deactivate-mark): Set mark-active to nil even if
561 deactivation is done via setting transient-mark-mode to nil,
562 since one is buffer-local and the other is global.
564 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
565 there can't be more than 2 arguments (bug#17584).
567 2014-06-02 Glenn Morris <rgm@gnu.org>
569 * simple.el (filter-buffer-substring-functions)
570 (filter-buffer-substring-function, buffer-substring-filters)
571 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
573 * minibuffer.el (completion-in-region-functions, completion-in-region)
574 (completion--in-region): Doc fixes.
576 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
577 (expand-abbrev, abbrev--default-expand): Doc fixes.
579 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
581 Include sources used to create macuvs.h.
582 * international/README: Refer to the Unicode Terms of Use rather
583 than copying it bodily here, as that simplifies maintenance.
585 2014-06-01 Glenn Morris <rgm@gnu.org>
587 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
589 2014-05-31 Glenn Morris <rgm@gnu.org>
591 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
593 2014-05-30 Glenn Morris <rgm@gnu.org>
595 * loadup.el: Treat `command-line-args' more flexibly.
597 2014-05-30 Alan Mackenzie <acm@muc.de>
599 Guard (looking-at "\\s!") from XEmacs.
600 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
602 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
604 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
605 The argument COUNT is now optional, to be more backward-compatible.
608 2014-05-29 Reuben Thomas <rrt@sc3d.org>
610 * whitespace.el (whitespace-report-region):
611 Simplify documentation.
612 (whitespace-report-region): Allow report-if-bogus to take the
613 value `never', for non-interactive use.
614 (whitespace-report): Refer to whitespace-report-region's
617 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
619 * whitespace.el: Use font-lock-flush. Minimize refontifications.
620 Side benefit: it works without jit-lock.
621 (whitespace-point--used): New buffer-local var.
622 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
623 (whitespace-color-off): Use font-lock-flush.
624 (whitespace-point--used, whitespace-point--flush-used): New functions.
625 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
626 (whitespace-empty-at-eob-regexp): Use them.
627 (whitespace-post-command-hook): Rewrite.
629 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
630 (font-lock-fontify-buffer): Mark interactive-only.
631 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
633 (font-lock-specified-p): Remove redundant boundp check.
634 (font-lock-flush-function, font-lock-ensure-function): New vars.
635 (font-lock-turn-on-thing-lock): Set them.
636 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
637 (font-lock-after-change-function): Make `old-len' optional.
638 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
639 Call font-lock-flush, just in case.
640 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
642 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
643 (vera-mode-map, vera-mode-menu): Remove bindings to it.
644 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
645 and with-syntax-table.
646 * textmodes/conf-mode.el (conf-quote-normal):
647 * progmodes/sh-script.el (sh-set-shell):
648 * progmodes/prog-mode.el (prettify-symbols-mode):
649 * progmodes/f90.el (f90-font-lock-n):
650 * progmodes/cwarn.el (cwarn-mode):
651 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
652 * progmodes/compile.el (compilation-setup, compilation--unsetup):
653 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
654 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
655 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
656 font-lock-fontify-buffer-function and
657 font-lock-unfontify-buffer-function.
658 (rmail-unfontify-buffer-function, rmail-fontify-message):
659 Use with-silent-modifications.
660 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
661 and font-lock-ensure.
662 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
664 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
666 * emacs-lisp/package.el (package-generate-autoloads):
667 Inhibit backup files.
669 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
671 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
674 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
676 * textmodes/tildify.el (tildify-buffer, tildify-region):
679 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
681 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
682 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
684 * subr.el (internal--funcall-interactively): New.
685 (internal--call-interactively): Remove.
686 (called-interactively-p): Detect funcall-interactively instead of
688 * simple.el (repeat-complex-command): Use funcall-interactively.
689 (repeat-complex-command--called-interactively-skip): Remove.
691 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
693 * register.el (register-read-with-preview): Don't burp on
694 frame switches (e.g. due to the frame we just popped).
696 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
697 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
699 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
701 * cus-face.el (custom-face-attributes): Add :distant-foreground.
703 2014-05-26 Martin Rudalics <rudalics@gmx.at>
705 * window.el (window--dump-frame): Remove interactive specification.
707 2014-05-26 Glenn Morris <rgm@gnu.org>
709 * hippie-exp.el (he-line-search-regexp):
710 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
712 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
714 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
715 to avoid errors when trying to create or visit a file foo.todo
716 located outside to todo-directory, and to allow having such files
717 without them being tied to Todo mode (bug#17482).
718 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
719 (todo-archive-done-item, todo-find-filtered-items-file)
720 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
721 (todo-category-completions, todo-read-category): When visiting a
722 Todo file, make sure we're in the right mode and the buffer local
724 (todo-make-categories-list, todo-reset-nondiary-marker)
725 (todo-reset-done-string, todo-reset-comment-string):
726 After processing all Todo files, kill the buffers of those files that
727 weren't being visited before the processing.
728 (todo-display-as-todo-file, todo-add-to-buffer-list)
729 (todo-visit-files-commands): Comment out.
730 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
731 (auto-mode-alist): Remove add-to-list calls making Todo file
732 extensions unrestrictedly tied to Todo modes.
734 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
736 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
737 (advice-function-member-p): Tell it to check both names and functions
739 (advice--add-function): Adjust call accordingly.
741 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
743 * calendar/todo-mode.el: Miscellaneous bug fixes.
744 (todo-delete-file): When deleting an archive but not its todo
745 file, make sure to update the todo file's category sexp.
746 (todo-move-category): Keep the moved category's name unless the
747 file moved to already has a category with that name. If the
748 numerically last category of the source file was moved, make the
749 first category current to avoid selecting a nonexisting category.
750 (todo-merge-category): Fix implementation to make merging to a
751 category in another file work as documented. Eliminate now
752 insufficient and unnecessary renaming of archive category, correct
753 document string accordingly, and clarify it. If the numerically
754 last category of the source file was merged, make the first
755 category current to avoid selecting a nonexisting category.
756 (todo-archive-done-item): When there are marked items and point
757 happens to be on an unmarked item, ignore the latter. Don't leave
758 point below last item after archiving marked items.
759 (todo-unarchive-items): Fix logic to ensure unarchiving an item
760 from an archive with only one category deletes the archive only
761 when the category is empty after unarchiving. Make sure the todo
762 file's category sexp is updated.
763 (todo-read-file-name): Allow an existing file name even when it is
764 not required (todo-move-category needs this to work as documented).
765 (todo-add-file): Call todo-validate-name to reject the name of an
766 existing todo file (needed due to fix in todo-read-file-name).
767 (todo-reset-nondiary-marker): Also reset in filtered items files.
768 (todo-reset-done-string, todo-reset-comment-string): Also reset in
769 regexp filtered items files.
770 (todo-reset-highlight-item): Also reset in filtered items files.
771 Fix incorrect variable reference in document string.
773 2014-05-26 Glenn Morris <rgm@gnu.org>
775 * window.el (window--dump-frame): Avoid error in --without-x builds.
777 2014-05-26 Glenn Morris <rgm@gnu.org>
779 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
781 2014-05-26 Eli Zaretskii <eliz@gnu.org>
783 * frame.el (set-frame-font): Doc fix.
785 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
787 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
789 * emacs-lisp/package.el (package--download-one-archive):
790 Use `write-region' instead of `save-buffer' to avoid running various
792 (describe-package-1): Same. Insert newline at the end of the
793 buffer if appropriate.
795 2014-05-26 Juri Linkov <juri@jurta.org>
797 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
798 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
799 Add more modifiers: meta, control, shift, hyper, super, alt.
802 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
803 to allow changing its value with `set-variable'.
805 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
807 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
809 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
811 (scheme-mode-variables): Set syntax-propertize-function instead of
812 font-lock-syntactic-face-function.
813 (scheme-font-lock-syntactic-face-function): Delete.
815 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
817 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
820 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
822 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
823 for a temporary file name.
825 2014-05-26 Eli Zaretskii <eliz@gnu.org>
827 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
829 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
831 * net/dbus.el (dbus-init-bus, dbus-call-method)
832 (dbus-call-method-asynchronously, dbus-send-signal)
833 (dbus-method-return-internal, dbus-method-error-internal):
834 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
836 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
838 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
839 methods which do not have a doc string. (Bug#17490)
841 2014-05-25 Tassilo Horn <tsdh@gnu.org>
843 * textmodes/reftex-ref.el (reftex-format-special): Make it work
844 also for AMS Math's \eqref macro.
846 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
848 Arrange to never byte-compile the generated -pkg.el file.
850 * emacs-lisp/package.el (package-generate-description-file):
851 Output first-line comment to set buffer-local var `no-byte-compile'.
852 Suggested by Dmitry Gutov:
853 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
855 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
857 Fix bug: Properly quote args to generated -pkg.el `define-package'.
859 * emacs-lisp/package.el (package-generate-description-file):
860 Inline `package--alist-to-plist'; rewrite to selectively
861 quote alist values that are not self-quoting.
862 (package--alist-to-plist): Delete func.
864 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
866 * term/xterm.el (xterm-function-map): Add mapping for shifted
869 2014-05-24 Daniel Colascione <dancol@dancol.org>
871 * progmodes/subword.el (subword-find-word-boundary): Move point to
872 correct spot before search. (Bug#17580)
874 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
877 2014-05-24 Leo Liu <sdl.web@gmail.com>
879 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
881 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
883 * minibuffer.el (completion--sreverse): Remove.
884 (completion--common-suffix): Use `reverse' instead.
885 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
887 2014-05-22 Glenn Morris <rgm@gnu.org>
889 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
891 2014-05-21 Daniel Colascione <dancol@dancol.org>
893 * files.el (interpreter-mode-alist): Add mksh.
895 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
897 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
898 mksh. Improve custom spec; allow regular expressions.
899 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
900 (sh-after-hack-local-variables): New function.
901 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
902 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
904 (sh-canonicalize-shell): Rewrite to support regexes.
906 2014-05-21 Leo Liu <sdl.web@gmail.com>
908 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
910 2014-05-19 Leo Liu <sdl.web@gmail.com>
912 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
914 2014-05-18 Glenn Morris <rgm@gnu.org>
917 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
919 2014-05-14 Sam Steingold <sds@gnu.org>
921 * progmodes/python.el (python-shell-get-or-create-process):
922 Do not bind `current-prefix-arg' so that C-c C-z does not talk
923 back unless requested.
925 2014-05-14 Glenn Morris <rgm@gnu.org>
927 * subr.el (with-file-modes): New macro.
928 * printing.el (pr-save-file-modes): Make obsolete.
929 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
930 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
932 * doc-view.el (doc-view-make-safe-dir):
933 * epg.el (epg--start):
934 * files.el (locate-user-emacs-file, make-temp-file)
935 (backup-buffer-copy, move-file-to-trash):
936 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
937 * eshell/esh-util.el (eshell-with-private-file-modes)
938 (eshell-make-private-directory):
939 * net/browse-url.el (browse-url-mosaic):
940 * obsolete/mailpost.el (post-mail-send-it):
941 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
942 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
945 * vc/emerge.el (emerge-make-temp-file): Simplify.
947 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
948 Stefan Monnier <monnier@iro.umontreal.ca>
950 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
953 2014-05-14 Glenn Morris <rgm@gnu.org>
955 * vc/emerge.el (emerge-temp-file-prefix):
956 Make pointless option obsolete.
957 (emerge-temp-file-mode): Make non-functional option obsolete.
959 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
961 * net/browse-url.el (browse-url):
962 Use `unhandled-file-name-directory' when setting `default-directory',
963 in order to circumvent stalled remote connections. (Bug#17425)
965 2014-05-14 Glenn Morris <rgm@gnu.org>
967 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
968 Optimize on Emacs, which has the relevant functions for ages.
970 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
972 * simple.el (undo-make-selective-list): Obey undo-no-redo.
974 2014-05-12 Sam Steingold <sds@gnu.org>
976 * calendar/time-date.el (seconds-to-string): New function to
977 pretty print time delay in seconds.
979 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
981 * mpc.el (mpc-format): Trim Date to the year.
982 (mpc-songs-hashcons): Shorten the Date field.
984 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
985 into autoloading just because of a silly indirection.
987 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
989 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
991 2014-05-12 Glenn Morris <rgm@gnu.org>
993 * emacs-lisp/find-gc.el: Move to ../admin.
995 * printing.el (pr-version):
996 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
998 * net/browse-url.el (browse-url-mosaic):
999 Create /tmp/Mosaic.PID as a private file.
1001 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1003 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1004 (advice--member-p): If name is given, only compare the name.
1005 (advice--remove-function): Don't stop at the first match.
1006 (advice--normalize-place): New function.
1007 (add-function, remove-function): Use it.
1008 (advice--add-function): Pass the name, if any, to
1009 advice--remove-function.
1011 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1013 * electric.el (electric-indent-post-self-insert-function): Don't use
1014 `pos' after modifying the buffer (bug#17449).
1016 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1018 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1019 Correct argument list to conform to todo-insert-item--basic.
1021 2014-05-12 Glenn Morris <rgm@gnu.org>
1023 * files.el (cd-absolute): Test if directory is accessible
1024 rather than executable. (Bug#17330)
1026 * progmodes/compile.el (recompile):
1027 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1029 * net/browse-url.el (browse-url-mosaic):
1030 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1031 This is CVE-2014-3423.
1033 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * mouse.el: Use the normal toplevel loop while dragging.
1036 (mouse-set-point): Handle multi-clicks.
1037 (mouse-set-region): Handle multi-clicks for drags.
1038 (mouse-drag-region): Update call accordingly.
1039 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1040 Use the normal event loop instead of a local while/read-event loop.
1041 (global-map): Remove redundant bindings for double/triple-mouse-1.
1042 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1043 Generate synthetic down events when the protocol only sends up events.
1044 (xterm-mouse-last): Remove.
1045 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1046 terminal parameter instead.
1047 (xterm-mouse--set-click-count): New function.
1048 (xterm-mouse-event): Detect/generate double/triple clicks.
1049 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1051 * info.el (Info-quoted): New face.
1052 (Info-mode-font-lock-keywords): New var.
1053 (Info-mode): Use it.
1055 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1056 are a hindrance for C-x C-e.
1058 2014-05-11 Leo Liu <sdl.web@gmail.com>
1060 * net/rcirc.el (rcirc-sentinel): Fix last change.
1062 2014-05-08 Sam Steingold <sds@gnu.org>
1064 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1065 (rcirc-sentinel): Auto-reconnect to the server if
1066 `rcirc-reconnect-delay' is non-0 (but not more often than its
1067 value in case the host is off-line).
1069 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1071 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1073 2014-05-09 Glenn Morris <rgm@gnu.org>
1075 * files.el (file-expand-wildcards):
1076 * man.el (Man-support-local-filenames):
1077 * printing.el (pr-i-directory, pr-interface-directory):
1078 * progmodes/grep.el (lgrep, rgrep):
1079 * textmodes/ispell.el (ispell-call-process)
1080 (ispell-call-process-region, ispell-start-process)
1081 (ispell-init-process): Use file-accessible-directory-p.
1083 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1086 (xterm-mouse--read-event-sequence-1000): Return nil if something
1088 (xterm-mouse-event): Propagate it.
1089 (xterm-mouse-translate-1): Handle it.
1091 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1093 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1094 four slots of the parameter list are filled, make sure to pass it
1095 to the argument list of todo-insert-item--basic.
1097 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1100 Add optional `seen' argument to detect and break infinite loops.
1102 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1104 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1105 (trace-unsafe, trace-use-tree): Make parentheses style be
1106 according to Emacs style.
1108 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1110 * net/tramp-sh.el (tramp-remote-process-environment):
1111 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1113 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1114 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1115 extra "PSx=..." commands.
1116 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1119 (tramp-uudecode): Replace the hard-coded temporary file name by a
1121 (tramp-remote-coding-commands): Enhance docstring.
1122 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1124 This is CVE-2014-3424.
1126 2014-05-08 Glenn Morris <rgm@gnu.org>
1128 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1129 (find-gc-source-files): Update some names.
1130 (trace-call-tree): Simplify and update.
1131 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1132 This is CVE-2014-3422.
1134 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1136 * minibuffer.el (completion--try-word-completion): Revert fix for
1137 Bug#15980 (bug#17375).
1139 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1140 Always store button numbers in the same way in xterm-mouse-last;
1141 Don't burp is xterm-mouse-last is not set as expected.
1142 Never return negative indices.
1144 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1146 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1147 Backtrack one char if the global/char-literal var matcher hits
1148 inside a string. The next char could be the beginning of an
1149 expression expansion.
1151 2014-05-08 Glenn Morris <rgm@gnu.org>
1153 * help-fns.el (describe-function-1): Test for an autoload before a
1154 macro, since `macrop' works on autoloads. (Bug#17410)
1156 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1158 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1160 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1161 Make sure the new point we return is within the new string (bug#17239).
1163 2014-05-05 Daniel Colascione <dancol@dancol.org>
1165 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1166 Port `gnu' pattern to rx.
1168 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1170 Remove unneeded prompt when closing a buffer with active
1171 emacsclient ("Buffer ... still has clients"), #16548.
1172 * server.el (server-start): Remove the only call to:
1173 (server-kill-buffer-query-function): Remove.
1175 2014-05-04 Leo Liu <sdl.web@gmail.com>
1177 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1178 Defvar to pacify compiler.
1180 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1182 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1184 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1187 Use nil rather than `default' for the "default" appearance (bug#17388).
1188 * vc/ediff-util.el (ediff-inferior-compare-regions)
1189 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1190 a misleading `default' value when it's really a boolean.
1191 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1192 overlay is not visible.
1194 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1196 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1197 (todo-menu): Uncomment and update.
1199 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1201 * calendar/todo-mode.el: Reimplement item editing to have the same
1202 basic user interface as item insertion, and make small UI and
1203 larger internal improvements to the latter.
1204 (todo-insert-item): Add reference to the Todo mode user manual to
1205 the documentation string.
1206 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1207 adjust all callers. Change signature to combine diary and
1208 nonmarking arguments. Incorporate functionality of deleted item
1209 copying command and add error checking. Remove detailed
1210 descriptions of the arguments from the documentation string, since
1211 this is treated in the Todo mode user manual.
1212 (todo-copy-item, todo-edit-multiline-item)
1213 (todo-edit-done-item-comment, todo-edit-item-header)
1214 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1215 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1216 (todo-edit-item-date-year, todo-edit-item-date-month)
1217 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1219 (todo-edit-item): Reimplement as wrapper command for
1220 todo-edit-item--next-key and make it distinguish done and not done
1222 (todo-edit-item--text): New function, replacing old command
1223 todo-edit-item and incorporating deleted commands
1224 todo-edit-multiline-item and todo-edit-done-item-comment.
1225 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1226 Use only numeric value of prefix argument. Remove detailed
1227 descriptions of the arguments from the documentation string, since
1228 this is treated in the Todo mode user manual.
1229 (todo-edit-item--diary-inclusion): New function, replacing old
1230 command todo-edit-item-diary-inclusion and incorporating and fixing
1231 functionality of deleted command todo-edit-item-diary-nonmarking,
1232 making sure to remove todo-nondiary-marker when adding
1233 diary-nonmarking-symbol.
1234 (todo-edit-category-diary-inclusion): Make sure to delete
1235 diary-nonmarking-symbol when adding todo-nondiary-marker.
1236 (todo-edit-category-diary-nonmarking): Fix indentation.
1237 (todo-insert-item--parameters): Group diary and nonmarking
1238 parameters together.
1239 (todo-insert-item--apply-args): Adjust to signature of
1240 todo-insert-item--basic and incorporate copy parameter.
1241 Make small code improvements.
1242 (todo-insert-item--next-param): Improve prompt and adjust it to
1243 new parameter grouping. Remove obsolete code.
1244 (todo-edit-item--param-key-alist)
1245 (todo-edit-item--date-param-key-alist)
1246 (todo-edit-done-item--param-key-alist): New defconsts.
1247 (todo-edit-item--prompt): New variable.
1248 (todo-edit-item--next-key): New function.
1249 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1250 Remove bindings of deleted commands.
1252 2014-05-04 Leo Liu <sdl.web@gmail.com>
1254 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1256 2014-05-04 Glenn Morris <rgm@gnu.org>
1258 * allout-widgets.el (allout-widgets-tally)
1259 (allout-decorate-item-guides):
1260 * menu-bar.el (menu-bar-positive-p):
1261 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1262 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1263 * progmodes/js.el (js--inside-param-list-p)
1264 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1265 * progmodes/prolog.el (region-exists-p):
1266 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1267 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1268 Doc fixes (replace `iff').
1270 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1274 2014-05-04 Leo Liu <sdl.web@gmail.com>
1276 Support Chinese diary entries in calendar and diary. (Bug#17393)
1277 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1278 (calendar-chinese-from-absolute-for-diary)
1279 (calendar-chinese-to-absolute-for-diary)
1280 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1281 (diary-chinese-list-entries): New functions to list and mark
1282 Chinese diary entries in the calendar window.
1283 (diary-chinese-anniversary)
1284 (diary-chinese-insert-anniversary-entry)
1285 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1286 (diary-chinese-insert-yearly-entry): New commands to insert
1287 Chinese diary entries.
1289 * calendar/diary-lib.el (diary-font-lock-keywords):
1290 Support font-locking Chinese dates.
1292 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1293 inserting Chinese diary entries.
1295 * calendar/calendar.el (diary-chinese-entry-symbol):
1296 New customizable variable.
1297 (calendar-mode-map): Add bindings for inserting Chinese diary
1300 2014-05-03 Juri Linkov <juri@jurta.org>
1302 * dired.el (dired-check-switches, dired-switches-recursive-p):
1303 New functions. (Bug#17218)
1304 (dired-switches-escape-p, dired-move-to-end-of-filename):
1305 Use `dired-check-switches'.
1306 (dired-insert-old-subdirs, dired-build-subdir-alist)
1307 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1309 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1311 * simple.el (undo-make-selective-list): New algorithm fixes
1312 incorrectness of position adjustments when undoing in region.
1314 (undo-elt-crosses-region): Make obsolete.
1315 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1316 New functions to adjust positions using undo-deltas.
1318 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1321 the last consecutive closing paren (bug#17345).
1323 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1325 * dired.el (dired-mode): make terminology for eXpunge command
1326 consistent. (Bug#17276)
1328 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1330 * dired.el (dired-initial-position-hook, dired-initial-position):
1333 2014-04-30 Glenn Morris <rgm@gnu.org>
1335 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1337 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1339 * faces.el (face-spec-recalc): Apply X resources only after the
1340 defface spec has been applied. Thus, X resources are no longer
1341 overriden by the defface spec which also fixes issues on win32 where
1342 the toolbar coloring was wrong because it is set through X resources
1343 and was (wrongfully) overriden. (Bug#16694)
1345 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * textmodes/rst.el (electric-pair-pairs): Declare.
1348 (rst-mode): Set it (bug#17131).
1350 2014-04-30 Juri Linkov <juri@jurta.org>
1352 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1353 and `print-level' to nil. (Bug#17351)
1355 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1357 * battery.el (battery-update): Handle the case where battery
1358 status is "N/A" (bug#17319).
1360 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1363 to syntax-propertize.
1364 (ps-mode-auto-indent): Mark as obsolete.
1365 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1366 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1367 word regexp operators.
1368 (ps-mode-map): Move initialization into declaration. Remove binding
1369 for TAB, RET, >, ], and }.
1370 (ps-mode-syntax-table): Move initialization into declaration.
1371 Don't give word syntax to non-word chars.
1372 (ps-run-mode-map): Move initialization into declaration.
1373 (ps-mode-menu-main): Remove auto-indent entry.
1374 (ps-mode-smie-rules): New function.
1375 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1376 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1377 (ps-mode--string-syntax-table): New const.
1378 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1380 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1381 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1383 2014-04-27 Daniel Colascione <dancol@dancol.org>
1385 * term/xterm.el (xterm-paste): Use large finite timeout when
1386 reading event to avoid putting keys in this-command-keys.
1388 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1391 (perl-syntax-propertize-function): Use it. Extend handling of
1392 here-docs to the unquoted case.
1394 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1396 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1397 Use equal-including-properties to compare help-echo strings (bug#17331).
1399 2014-04-25 Leo Liu <sdl.web@gmail.com>
1401 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1402 Fix syntax for @. (Bug#17325)
1404 2014-04-25 Daniel Colascione <dancol@dancol.org>
1406 * emacs-lisp/cl.el (gv): Require gv early to break eager
1407 macro-expansion cycles.
1409 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * simple.el (region-active-p): Check there's a mark (bug#17324).
1413 * simple.el (completion-list-mode-map): Use choose-completion for the
1414 mouse binding as well (bug#17302).
1415 (completion-list-mode, completion-setup-function): Adjust docstring and
1416 echo area message accordingly.
1417 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1418 calling convention of choose-completion.
1419 * comint.el (comint-dynamic-list-completions):
1420 * term.el (term-dynamic-list-completions): Accept choose-completion.
1422 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1423 &, |, +, - and * can't be a division (bug#17317).
1425 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1426 features on gnome-terminal (bug#16988).
1428 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1430 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1432 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1433 the declared object, ignore zero or more parens, not zero or one.
1435 2014-04-24 Leo Liu <sdl.web@gmail.com>
1437 * progmodes/xscheme.el (xscheme-expressions-ring)
1438 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1439 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1440 (xscheme-allow-output-p, xscheme-prompt)
1441 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1443 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1444 Comment out unused functions.
1446 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * info.el: Use lexical-binding and cl-lib.
1449 Use defvar-local and setq-local instead of make-local-variable.
1450 (Info-apropos-matches): Avoid add-to-list.
1451 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1453 2014-04-24 Daniel Colascione <dancol@dancol.org>
1455 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1457 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1461 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1463 * dired.el (dired-insert-set-properties): Do not consider
1464 subdirectory headings and empty lines to be information that
1465 `dired-hide-details-mode' should hide. (Bug#17228)
1467 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1469 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1470 Remove test messages.
1471 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1474 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1477 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1479 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1481 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1483 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1484 Set "IFS=" when using read builtin, in order to preserve spaces in
1485 the file name. Add test messages for hunting a bug on hydra.
1486 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1488 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1491 Don't prettify a word within a symbol.
1493 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1495 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1498 2014-04-22 Daniel Colascione <dancol@dancol.org>
1500 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1501 use defun to define `function-put'.
1503 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1506 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1507 (lisp-mode-variables): Set font-lock-extra-managed-props.
1509 * emacs-lisp/byte-run.el (function-put): New function.
1510 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1511 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1512 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1515 2014-04-22 Daniel Colascione <dancol@dancol.org>
1517 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1518 Add `full-p' parameter; when nil, call `macroexpand' instead of
1521 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1524 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1525 Use lambda function values, not quoted lambdas.
1526 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1528 * emacs-lisp/cl-macs.el
1529 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1530 (cl-struct-slot-value): Conditionally use aref or nth so that the
1531 compiler produces optimal code.
1533 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1536 (inline): Don't inline cl--set-elt.
1537 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1538 Define as inlinable instead.
1539 (cl-struct-set-slot-value): Remove.
1541 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1542 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1545 2014-04-21 Daniel Colascione <dancol@dancol.org>
1547 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1548 last two parameters after all.
1549 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1550 (cl--compiler-macro-assoc,cl-struct-slot-value)
1551 (cl-struct-set-slot-value): Stop using them.
1553 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1556 entry in image-mode-winprops-alist.
1558 2014-04-21 Daniel Colascione <dancol@dancol.org>
1560 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1561 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1562 (byte-compile-toplevel-file-form): Use it.
1564 * emacs-lisp/cl-macs.el:
1565 (cl--loop-let): Properly destructure `while' clauses.
1567 2014-04-20 Daniel Colascione <dancol@dancol.org>
1569 * vc/vc.el (vc-root-dir): New public autoloaded function for
1570 generically finding the current VC root.
1571 * vc/vc-hooks.el (vc-not-supported): New error.
1572 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1574 2014-04-20 Daniel Colascione <dancol@dancol.org>
1576 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1578 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1579 argument in case we're inside a symbol-macrolet.
1580 (cl--do-arglist, cl--compiler-macro-typep)
1581 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1582 environment to `cl--const-expr-val'.
1583 (cl-struct-sequence-type,cl-struct-slot-info)
1584 (cl-struct-slot-offset, cl-struct-slot-value)
1585 (cl-struct-set-slot-value): New functions.
1587 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1590 assignments such as "case=hello" (bug#17297).
1592 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1594 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1596 (tramp-file-name-handler, tramp-completion-file-name-handler):
1597 Revert patch from 2014-04-10, it isn't necessary anymore.
1598 (tramp-autoload-file-name-handler)
1599 (tramp-register-autoload-file-name-handlers): New defuns.
1600 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1601 (tramp-register-file-name-handlers): Remove also
1602 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1603 Do not autoload its invocation, but eval it after loading of 'tramp.
1605 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1607 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1609 2014-04-17 Daniel Colascione <dancol@dancol.org>
1611 Add support for bracketed paste mode; add infrastructure for
1612 managing terminal mode enabling and disabling automatically.
1615 (xterm-mouse-mode): Simplify.
1616 (xterm-mouse-tracking-enable-sequence)
1617 (xterm-mouse-tracking-disable-sequence): New constants.
1618 (turn-on-xterm-mouse-tracking-on-terminal)
1619 (turn-off-xterm-mouse-tracking-on-terminal):
1620 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1621 parameters instead of random hooks.
1622 (turn-on-xterm-mouse-tracking)
1623 (turn-off-xterm-mouse-tracking): Delete.
1625 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1626 (xterm-paste-ending-sequence): New constant.
1627 (xterm-paste): New command used for bracketed paste support.
1629 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1630 (terminal-init-xterm-bracketed-paste-mode): New function.
1631 (terminal-init-xterm): Call it.
1632 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1633 and tty-mode-reset-strings instead of random hooks.
1634 (xterm-turn-on-modify-other-keys)
1635 (xterm-turn-off-modify-other-keys)
1636 (xterm-remove-modify-other-keys): Delete obsolete functions.
1638 * term/screen.el: Rewrite to just use the xterm code.
1639 Add copyright notice. Mention tmux.
1641 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1643 * image-mode.el (image-mode-window-put): Also update the property of
1644 the "default window".
1645 * doc-view.el (doc-view-new-window-function): If no window
1646 exists, move to the last known page.
1648 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1650 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1651 here-documents (bug#17262).
1653 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1655 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1656 Provide doc strings, as required by snarf-documentation.
1658 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1660 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1661 arg of overlays-at. Use `invisible-p'.
1663 * obsolete/lucid.el (extent-at):
1664 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1666 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1668 2014-04-16 João Távora <joaotavora@gmail.com>
1670 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1673 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1675 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1676 Use mapc to loop over a vector. (Bug#17257).
1678 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1680 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1681 patch, there are new problems with file names containing spaces.
1682 Get rid of backticks. (Bug#17238)
1684 2014-04-16 João Távora <joaotavora@gmail.com>
1686 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1689 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1691 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1692 (blink-cursor-mode): Mention customization variables and the
1693 effect of 'blink-cursor-blinks'.
1695 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1697 * simple.el (undo): Prevent insertion of identity mapping into
1698 undo-equiv-table so as undo-only does not inf loop in the presence
1699 of consecutive nils in undo list.
1701 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1703 * faces.el (make-face): Deprecate optional argument as it is no
1704 longer needed/used since the conditional X resources handling
1705 has been pushed down to make-face-x-resource-internal itself.
1706 (make-empty-face): Don't pass optional argument to make-face.
1708 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1710 * savehist.el (savehist-save): Remove workaround for a read-passwd
1711 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1712 noticing that the shim was still present.
1714 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1716 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1718 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1720 * faces.el (face-set-after-frame-default): Remove unused local variable.
1722 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * progmodes/grep.el: Use lexical-binding.
1725 (grep-expand-template): Pass explicit lexical env to `eval'.
1726 (zrgrep): Let-bind grep-find-template explicitly.
1728 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1729 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1731 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1733 * international/characters.el <standard-case-table>: Add entries
1734 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1735 Set category of Coptic characters be 'g' (Greek).
1737 2014-04-12 Leo Liu <sdl.web@gmail.com>
1739 * progmodes/octave.el (completion-table-with-cache):
1740 Define if not available.
1741 (octave-goto-function-definition, octave-sync-function-file-names)
1742 (octave-find-definition-default-filename):
1743 Backquote upattern for compatibility.
1745 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1747 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1748 name twice due to backticks. (Bug#17238)
1750 2014-04-12 Glenn Morris <rgm@gnu.org>
1752 * term/w32-win.el (x-win-suspend-error):
1753 * term/x-win.el (x-win-suspend-error): Sync docs.
1755 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1757 * faces.el (make-face): Remove deprecated optional argument.
1758 The conditional application of X resources is handled directly by
1759 make-face-x-resource-internal since Emacs 24.4.
1760 (make-empty-face): Don't pass optional argument to make-face.
1762 2014-04-11 Glenn Morris <rgm@gnu.org>
1764 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1766 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1768 Ediff's overlay priorities cause more trouble than they solve.
1769 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1770 (ediff-highest-priority): Remove function (bug#17234).
1771 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1772 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1773 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1776 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1778 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1779 entry; use symbol boundaries to avoid mis-matches.
1781 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1783 * net/tramp.el (tramp-file-name-handler)
1784 (tramp-completion-file-name-handler): Avoid recursive loading.
1786 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1787 Quote result also locally.
1789 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1792 Remove left-over code.
1794 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1795 Reuse the previous comment's indentation unconditionally if it's on its
1798 2014-04-09 Daniel Colascione <dancol@dancol.org>
1800 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1801 `no-syntax-crossing' arguments. Forward to `up-list'.
1802 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1803 Implement logic for escaping from strings. Use narrowing to deal
1806 2014-04-09 Leo Liu <sdl.web@gmail.com>
1808 * net/rcirc.el (rcirc-connection-info): New variable.
1809 (rcirc-connect): Use it to store connection info.
1810 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1812 (rcirc-cmd-reconnect): New command. (Bug#17045)
1813 (rcirc-mode, set-rcirc-encode-coding-system)
1814 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1816 2014-04-09 Daniel Colascione <dancol@dancol.org>
1818 * emacs-lisp/cl-indent.el: Add comment claiming
1819 facility is also good for elisp.
1820 (lisp-indent-find-method): New function.
1821 (common-lisp-indent-function): Recognize cl-loop.
1822 (common-lisp-indent-function-1): Recognize cl constructs; use
1823 `lisp-indent-find-method' instead of `get' directly.
1824 (if): Use else-body style for elisp.
1826 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1828 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1829 Module methods. (Bug#17216)
1831 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1834 (describe-bindings-internal): Mark obsolete.
1836 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1838 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1839 buffer-file-name, and buffer-file-truename any more.
1841 2014-04-08 Leo Liu <sdl.web@gmail.com>
1843 Use lexical-binding and require cl-lib.
1844 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1845 (rcirc-handler-generic, rcirc-fill-paragraph)
1846 (rcirc-format-response-string, rcirc-target-buffer)
1847 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1848 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1849 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1850 (rcirc-markup-timestamp, rcirc-markup-attributes)
1851 (rcirc-markup-my-nick, rcirc-markup-urls)
1852 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1853 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1854 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1855 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1856 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1857 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1858 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1859 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1860 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1861 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1862 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1865 2014-04-07 João Távora <joaotavora@gmail.com>
1867 * elec-pair.el (electric-pair--syntax-ppss):
1868 When inside comments parse from comment beginning.
1869 (electric-pair--balance-info): Fix typo in comment.
1870 (electric-pair--in-unterminated-string-p): Delete.
1871 (electric-pair--unbalanced-strings-p): New function.
1872 (electric-pair-string-bound-function): New var.
1873 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1874 according to `electric-pair--in-unterminated-string-p'
1876 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1877 Inhibit quote pairing if point-max is inside an unterminated string.
1878 (electric-pair--looking-at-unterminated-string-p): Delete.
1879 (electric-pair--in-unterminated-string-p): New function.
1881 2014-04-07 Glenn Morris <rgm@gnu.org>
1883 * shell.el (shell-directory-tracker):
1884 Go back to just ignoring failures. (Bug#17159)
1886 2014-04-07 João Távora <joaotavora@gmail.com>
1888 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1889 backspace. (bug#16981)
1890 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1891 (electric-pair-backward-delete-char-untabify): Delete.
1892 (electric-pair-mode-map): Bind backspace to a menu item filtering
1893 a new `electric-pair-delete-pair' command.
1894 (electric-pair-delete-pair): New command.
1896 * progmodes/python.el (python-electric-pair-string-delimiter):
1897 Fix triple-quoting electricity. (Bug#17192)
1899 * elec-pair.el (electric-pair-post-self-insert-function):
1900 Don't skip whitespace when `electric-pair-text-pairs' and
1901 `electric-pair-pairs' were used. syntax to
1902 electric-pair--skip-whitespace. (Bug#17183)
1904 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1906 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1909 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1912 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1914 2014-04-07 Glenn Morris <rgm@gnu.org>
1916 * help.el (view-lossage): Doc tweak.
1918 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1920 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1921 only when inhibit-x-resources is nil, and do that earlier in the
1922 function. Doc fix. (Bug#16694)
1923 (face-spec-choose): Accept additional optional argument, whose
1924 value is returned if no matching attributes are found.
1925 (face-spec-recalc): Use the new optional argument when calling
1926 face-spec-choose. (Bug#16378)
1927 (make-face-x-resource-internal): Do nothing when
1928 inhibit-x-resources is non-nil. Don't touch the default face if
1929 reversed video is given--as was done in previous versions of Emacs.
1930 (face-set-after-frame-default): Don't call
1931 make-face-x-resource-internal here. (Bug#16434)
1933 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1935 * doc-view.el (doc-view-bookmark-jump):
1936 Use `bookmark-after-jump-hook' to jump to the right page after the
1937 buffer is shown in a window. (bug#16090)
1939 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1941 * international/characters.el (mirroring): Fix last change:
1942 instead of loading uni-mirrored.el explicitly, do that implicitly
1943 by creating the 'mirroring' uniprop table. This avoids announcing
1944 the loading of uni-mirrored.el.
1946 2014-04-07 Glenn Morris <rgm@gnu.org>
1948 * files.el (buffer-stale--default-function)
1949 (buffer-stale-function, revert-buffer--default):
1950 * autorevert.el (auto-revert-buffers): Doc tweaks.
1952 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1954 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1956 2014-04-07 Glenn Morris <rgm@gnu.org>
1958 * files.el (make-backup-file-name-function)
1959 (make-backup-file-name, make-backup-file-name--default-function)
1960 (make-backup-file-name-1, find-backup-file-name)
1961 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1962 (buffer-stale--default-function, buffer-stale-function)
1963 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1964 (revert-buffer, revert-buffer--default)
1965 (revert-buffer-insert-file-contents--default-function):
1966 Doc fixes related to defaults no longer being nil.
1967 (make-backup-file-name-function): Bump :version.
1968 Restore nil as a valid but deprecated custom type.
1970 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1973 Handle $' used as a variable (bug#17174).
1975 * progmodes/perl-mode.el (perl-indent-new-calculate):
1976 Handle forward-sexp failure (bug#16985).
1977 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1978 modifiers introducing expressions (bug#17116).
1980 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1982 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1984 2014-04-05 Leo Liu <sdl.web@gmail.com>
1986 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1987 Add define-compilation-mode.
1989 2014-04-04 João Távora <joaotavora@gmail.com>
1991 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1992 parse from comment beginning.
1993 (electric-pair--balance-info): Fix typo in comment.
1994 (electric-pair--in-unterminated-string-p): Delete.
1995 (electric-pair--unbalanced-strings-p): New function.
1996 (electric-pair-string-bound-function): New var.
1997 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1998 according to `electric-pair--in-unterminated-string-p'.
2000 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2003 Move declaration before first use.
2004 (reftex-move-to-next-arg): Silence compiler warning.
2006 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2008 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2009 Use `window-total-width' instead of `window-width'.
2011 2014-04-03 Daniel Colascione <dancol@dancol.org>
2013 * subr.el (set-transient-map): Remove rms's workaround entirely;
2014 use new `suspicious-object' subr to mark our lambda for closer
2017 2014-04-02 Richard Stallman <rms@gnu.org>
2019 * subr.el (set-transient-map): Comment out previous change.
2021 2014-04-02 Glenn Morris <rgm@gnu.org>
2023 * menu-bar.el (menu-bar-file-menu):
2024 * vc/ediff.el (ediff-current-file):
2025 Update for revert-buffer-function no longer being nil by default.
2027 * simple.el (command-execute): Respect nil disabled-command-function.
2029 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2031 * simple.el (command-execute): Do not execute the command when it
2032 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2034 2014-04-02 Juri Linkov <juri@jurta.org>
2036 * dired-aux.el (dired-compress-file): Don't use string-match-p
2037 because its match data is used afterwards.
2039 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2044 2014-04-02 João Távora <joaotavora@gmail.com>
2046 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2047 Inhibit quote pairing if point-max is inside an unterminated string.
2048 (electric-pair--looking-at-unterminated-string-p):
2050 (electric-pair--in-unterminated-string-p): New function.
2052 2014-04-01 Daniel Colascione <dancol@dancol.org>
2054 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2055 when trying to complete the prompt.
2057 2014-03-31 Leo Liu <sdl.web@gmail.com>
2059 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2060 Refactor out eldoc-documentation-function-default.
2061 (eldoc-documentation-function-default): New function.
2062 (eldoc-documentation-function): Change value.
2064 2014-03-31 Glenn Morris <rgm@gnu.org>
2066 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2068 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2069 (vhdl-compose-components-package, vhdl-compose-configuration):
2070 Abbreviate default-directory (missing from some previous upstream sync).
2072 2014-03-31 Reto Zimmermann <reto@gnu.org>
2074 Sync with upstream vhdl mode v3.35.2.
2075 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2076 (top-level): No longer require assoc.
2077 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2078 New functions. Use throughout to replace aget etc.
2079 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2080 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2081 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2082 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2083 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2084 except `vhdl-compiler'.
2085 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2088 2014-03-31 Glenn Morris <rgm@gnu.org>
2090 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2091 Revert 2014-03-26 merge goof; go back to using defalias.
2093 2014-03-30 Daniel Colascione <dancol@dancol.org>
2095 * comint.el (comint-send-input):
2096 Deactivate completion-in-region-mode before we send comint input.
2099 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2102 2014-03-29 Glenn Morris <rgm@gnu.org>
2104 * textmodes/reftex.el: Manage most autoloads automatically.
2105 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2106 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2107 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2108 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2109 * textmodes/reftex-toc.el: Set generated-autoload-file,
2110 and add autoload cookies for reftex.el.
2111 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2113 2014-03-28 Glenn Morris <rgm@gnu.org>
2115 * cus-start.el (report-emacs-bug-address): Set custom properties.
2116 * mail/emacsbug.el (report-emacs-bug-address):
2117 Variable is now defined in emacs.c.
2119 * mail/emacsbug.el (report-emacs-bug):
2120 Include system-configuration-features.
2122 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2124 * simple.el (cycle-spacing): Never delete spaces on first run by
2125 default, but do so in a new 'fast mode and if there are already
2126 N spaces (the previous behavior).
2127 Compare N with its value in previous invocation so that changing
2128 prefix argument restarts `cycle-spacing' sequence.
2129 The idea is that with this change, binding M-SPC to
2130 `cycle-spacing' should not introduce any changes in behavior of
2131 the binding so long as users do not type M-SPC twice in a raw with
2132 the same prefix argument or lack thereof.
2134 2014-03-28 Glenn Morris <rgm@gnu.org>
2136 * faces.el (term-file-aliases): New variable.
2137 (tty-run-terminal-initialization): Respect term-file-aliases.
2138 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2139 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2140 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2142 2014-03-27 Glenn Morris <rgm@gnu.org>
2144 * startup.el (inhibit-startup-hooks): Doc tweak.
2145 (normal-top-level): Simplify running of hooks.
2146 For window-setup-hook, respect inhibit-startup-hooks.
2147 (command-line-1): Don't set window-setup-hook to nil.
2149 Allow selective autoloading from obsolete/ directory.
2150 * Makefile.in (obsolete-autoloads): New rule.
2151 (autoloads): Run obsolete-autoloads.
2152 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2153 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2155 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2157 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2158 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2160 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2161 Don't propertize `?' or `!' as symbol constituent when after
2164 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2166 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2167 which is no longer needed and causes trouble in GTK builds (bug#17046).
2169 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2170 Use url-insert-file-contents; package-handle-response no longer exists.
2172 2014-03-26 Daniel Colascione <dancol@dancol.org>
2174 * simple.el (process-menu-mode-map): New variable.
2175 (process-menu-delete-process): New command.
2177 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2179 * emacs-lisp/package.el: Fix bug#16733 (again).
2180 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2181 (url-http-target-url): Remove unused declarations.
2182 (package-handle-response): Remove.
2183 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2184 (package--download-one-archive): Use current-buffer instead of
2185 dynamic binding of `buffer'.
2186 (describe-package-1): Do not decode readme-string.
2188 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2190 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2192 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2193 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2194 `remote-file-name-inhibit-cache' to nil in the second pass.
2195 (tramp-find-executable): Do not call "which" on SunOS.
2196 (tramp-send-command-and-check): Fix docstring.
2197 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2198 check whether source directory has set the sticky bit.
2200 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2202 * simple.el (primitive-undo): Only process marker adjustments
2203 validated against their corresponding (TEXT . POS). Issue warning
2204 for lone marker adjustments in undo history. (Bug#16818)
2205 (undo-make-selective-list): Add marker adjustments to selective
2206 undo list based on whether their corresponding (TEXT . POS) is in
2207 the region. Remove variable adjusted-markers, which was unused
2208 and only non nil during undo-make-selective-list.
2209 (undo-elt-in-region): Return nil when passed a marker adjustment
2210 and explain in function doc.
2212 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2214 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2216 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2218 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2219 Match special global variables without curlies, too.
2220 (ruby-font-lock-keywords): Simplify the matcher for special global
2221 variables. Don't require a non-word character after the variable.
2224 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * simple.el (redisplay-highlight-region-function): Increase priority of
2227 overlay to make sure boundaries are visible (bug#15899).
2229 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2231 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2232 (frameset-restore): Compare display strings with equal.
2234 * frame.el (make-frame): Don't quote display name in error message,
2235 it is already a string.
2237 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2239 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2242 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2244 * emacs-lisp/package.el (package--add-to-archive-contents):
2245 Include already installed and built-in packages in
2246 `package-archive-contents'.
2247 (package-install): Don't include already installed packages in the
2248 options during interactive invocation. (Bug#16762)
2249 (package-show-package-list): If the buffer is already displayed in
2250 another window, switch to that window.
2252 2014-03-26 Reto Zimmermann <reto@gnu.org>
2254 Sync with upstream vhdl mode v3.35.1.
2255 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2256 (vhdl-compiler-alist): Doc fix.
2257 (vhdl-goto-line): Remove.
2258 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2259 (vhdl-mode) <paragraph-start>: Fix value.
2260 (vhdl-fix-statement-region): Not `for' in wait-statement.
2261 (vhdl-beautify-region): Also (un)tabify.
2262 (vhdl-get-visible-signals):
2263 Scan declarative part of generate statements.
2264 (vhdl-template-record): Fix indentation for record type declaration.
2265 (vhdl-expand-abbrev, vhdl-expand-paren):
2266 Revert to using fset again rather than defalias.
2267 (vhdl-scan-directory-contents): Tweak.
2268 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2269 (vhdl-compose-components-package):
2270 Replace vhdl-goto-line with forward-line.
2271 (top-level): Tweak speedbar frame selection.
2272 (vhdl-generate-makefile-1): Support for compilers with no
2273 unit-to-file name mapping (create directory with dummy files).
2275 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2277 Sync with upstream verilog-mode revision 702457d.
2278 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2279 (create-lockfiles): Declare.
2280 (verilog-read-decls): Fix module header imports, bug709.
2281 Reported by Victor Lau.
2282 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2283 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2284 interface-only modules, bug721. Reported by Dean Hoyt.
2286 2014-03-26 Glenn Morris <rgm@gnu.org>
2288 * obsolete/gulp.el: Move here from emacs-lisp/.
2290 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2291 Remove fallback aliases, since they are always defined now.
2293 2014-03-24 Daniel Colascione <dancol@dancol.org>
2295 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2296 instead of cl-loop search function.
2298 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2300 * calendar/parse-time.el (parse-time-iso8601-regexp)
2301 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2304 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2306 * net/dns.el (network-interface-list): Define for XEmacs.
2308 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2310 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2311 the network interfaces changed.
2312 (dns-query): Use it to flush the data.
2314 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2316 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2318 2014-03-23 Daniel Colascione <dancol@dancol.org>
2320 Change subword-mode to use `find-word-boundary-function-table' and
2321 replace `capitalized-words-mode'. Also, convert to lexical
2324 * progmodes/cap-words.el: Delete now-obsolete file.
2325 * progmodes/subword.el: Reimplement using
2326 `find-word-boundary-function-table'.
2327 (subword-mode-map): Hollow out.
2328 (capitalized-words-mode): Define as obsolete alias for
2330 (subword-mode, superword-mode): Tweak documentation to reflect new
2331 implementation; call `subword-setup-buffer'.
2332 (subword-forward, subword-capitalize): Add underscore to indicate
2334 (subword-find-word-boundary-function-table): New constant.
2335 (subword-empty-char-table): New constant.
2336 (subword-setup-buffer): New function.
2337 (subword-find-word-boundary): New function.
2339 2014-03-23 Daniel Colascione <dancol@dancol.org>
2341 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2342 list to look for keyword arguments instead of `memq', fixing
2343 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2344 Please make bootstrap.
2346 2014-03-22 Glenn Morris <rgm@gnu.org>
2348 * dired.el (dired-read-regexp): Make obsolete.
2349 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2350 (dired-flag-files-regexp):
2351 * dired-aux.el (dired-mark-read-regexp):
2352 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2354 * startup.el (fancy-startup-text):
2355 * help.el (describe-gnu-project): Visit online info about GNU project.
2357 * help-fns.el (help-fns--interactive-only): New function.
2358 (help-fns-describe-function-functions): Add the above function.
2359 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2360 (next-line, previous-line): Remove hand-written interactive-only
2361 information from doc strings, it is auto-generated now.
2362 * bookmark.el (bookmark-write):
2363 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2364 (epa-mail-import-keys): Mark interactive-only,
2365 and remove hand-written interactive-only information from doc strings.
2366 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2367 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2368 * files.el (not-modified):
2369 * simple.el (mark-whole-buffer): Mark interactive-only.
2371 * emacs-lisp/byte-run.el (defun-declarations-alist):
2372 Add interactive-only. Doc tweak.
2373 (macro-declarations-alist): Doc tweak.
2374 * subr.el (declare): Doc tweak (add xref to manual).
2375 * comint.el (comint-run):
2376 * files.el (insert-file-literally, insert-file):
2377 * replace.el (replace-string, replace-regexp):
2378 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2379 (delete-forward-char, goto-line, insert-buffer, next-line)
2380 (previous-line): Set interactive-only via declare.
2382 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2384 * emacs-lisp/package.el (package-desc): Use the contents of the
2385 quoted form, not its cdr. (Bug#16873)
2387 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2389 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2390 benefit of doc.c; change parameter profile to match the X function.
2392 2014-03-22 Leo Liu <sdl.web@gmail.com>
2394 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2395 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2397 2014-03-21 Richard Stallman <rms@gnu.org>
2399 * battery.el (battery-linux-sysfs): Search for each field
2400 from the beginning of the buffer.
2402 * subr.el (set-transient-map): Clear out function and value
2403 of the temporary symbol when we're done with it.
2405 * mail/rmailsum.el (rmail-summary-delete-forward):
2406 Optimize case of reaching end and handling count.
2407 (rmail-summary-mark-deleted): Optimize when N is current msg.
2408 Don't create new summary line.
2409 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2410 (rmail-summary-undelete-many): Rewrite for speed.
2411 (rmail-summary-msg-number): New function.
2413 * mail/rmail.el (rmail-delete-message): Update summary.
2414 (rmail-undelete-previous-message): Handle repeat count arg.
2415 (rmail-delete-backward, rmail-delete-forward): Likewise.
2417 2014-03-21 Daniel Colascione <dancol@dancol.org>
2419 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2420 information in bug reports.
2422 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2424 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2425 and `tramp-copy-env'.
2427 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2428 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2430 2014-03-21 Glenn Morris <rgm@gnu.org>
2432 * electric.el (electric-indent-post-self-insert-function): Add doc.
2434 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2436 * emacs-lisp/package.el (package-compute-transaction):
2437 Use `version-list-<=' to compare the requirement version against
2438 the version of package already to be installed. Update the error
2439 message. (Bug#16826)
2441 * progmodes/ruby-mode.el (ruby-smie-rules):
2442 Add indentation rule for ` @ '. (Bug#17050)
2444 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2446 * align.el (align-regexp): Remove superfluous backslash.
2448 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2449 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2450 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2451 Fix docstring typos.
2452 (ffap-next): Use C-u in docstring.
2453 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2454 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2455 Remove superfluous backslashes.
2456 (ffap-string-at-point): Reflow docstring.
2458 * server.el (server-host): Reflow docstring.
2459 (server-unload-function): Fix docstring typo.
2460 (server-eval-at): Remove superfluous backslash.
2462 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2463 (skeleton-insert): Doc fix.
2464 (skeleton-insert): Reflow docstring.
2466 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2467 (tty-color-approximate, tty-color-by-index, tty-color-values)
2468 (tty-color-desc): Remove superfluous backslashes.
2470 2014-03-21 Glenn Morris <rgm@gnu.org>
2472 * cus-start.el (history-length): Bump :version.
2474 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2475 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2476 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2477 Don't set `make-backup-files'.
2479 * info.el (info--prettify-description): New function,
2480 to give info-finder descriptions consistent case, punctuation.
2481 (Info-finder-find-node): Use it. Sort packages.
2482 Refer to "description" rather than "commentary".
2484 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2486 * frameset.el (frameset--print-register): New function.
2487 (frameset-to-register): Use it.
2489 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2491 * progmodes/hideif.el (hif-string-to-number): New function.
2492 (hif-tokenize): Use it to understand non-decimal floats.
2494 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2496 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2498 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2500 * electric.el (electric-newline-and-maybe-indent): New command.
2501 Bind it globally to C-j.
2502 (electric-indent-mode): Don't mess with the global map any more.
2503 Don't drop the post-self-insert-hook is some buffer is still using it
2506 * bindings.el (global-map): Remove C-j binding.
2508 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2509 the docstring of functions advised before dumping (bug#16993).
2511 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2513 * ps-print.el (ps-generate-postscript-with-faces):
2514 Explicitly deactivate the mark (bug#16866).
2515 * simple.el (deactivate-mark): Update region highlight.
2517 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2519 * emacs-lisp/package.el (describe-package-1):
2520 Decode commentary (bug#16733).
2522 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2524 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2525 modification of the value argument of :set (bug#16755).
2527 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2529 * simple.el (newline-and-indent): Do autofill (bug#17031).
2531 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2533 * newcomment.el (comment-normalize-vars): Only add escaping check
2534 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2535 (comment-beginning): Use `narrow-to-region' instead of moving back
2537 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2538 (comment-start-skip): Update the docstring.
2540 2014-03-18 Richard Stallman <rms@gnu.org>
2542 * dired.el (dired-display-file): Force use of other window.
2544 2014-03-18 Daniel Colascione <dancol@dancol.org>
2546 * startup.el (tty-handle-args): Remove debug message from 2007.
2548 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2551 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2552 (advice--make-1, advice-add, advice-remove):
2553 Remove braindead :advice-pending hack.
2555 2014-03-17 Glenn Morris <rgm@gnu.org>
2557 * calendar/calendar.el (calendar-generate-month): Apply weekend
2558 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2560 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2562 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2563 (tramp-call-process): Trace also DESTINATION.
2565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2566 Quote file names when they are local. Remove superfluous trace.
2568 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2570 * newcomment.el (comment-beginning): If `comment-start-skip'
2571 doesn't match, move back one char and try again. (Bug#16971)
2573 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2574 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2575 Set `comment-start-skip' to a simpler value that doesn't try to
2576 check if the semicolon is escaped (this is handled by
2577 `syntax-ppss' now). (Bug#16971)
2579 * progmodes/scheme.el (scheme-mode-variables): Same.
2581 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2583 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2584 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2585 current (Bug#16816, Bug#17007).
2586 (with-current-buffer-window): New macro doing the same as
2587 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2588 * help.el (help-print-return-message): Warn in doc-string to not
2589 use this in `with-help-window'.
2590 (describe-bindings-internal): Call `describe-buffer-bindings'
2591 from within help buffer. See Juanma's scenario in (Bug#16816).
2592 (with-help-window): Update doc-string.
2593 * dired.el (dired-mark-pop-up):
2594 * files.el (save-buffers-kill-emacs):
2595 * register.el (register-preview): Use `with-current-buffer-window'
2596 instead of `with-temp-buffer-window'.
2598 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2600 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2601 Implement inserting into current buffer, documented in their docstrings.
2602 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2603 (rst-section-tree-point, rst-forward-section, rst-indent)
2604 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2605 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2606 (rst-font-lock-handle-adornment-pre-match-form)
2607 (rst-repeat-last-character): Reflow docstrings.
2608 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2609 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2610 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2611 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2612 Fix docstring typos.
2613 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2614 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2615 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2617 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2619 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2620 for compatibility with other ports.
2621 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2622 from the -xrm command line argument, but in the Nextstep port its value
2623 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2625 * progmodes/python.el (defconst, python-syntax-count-quotes)
2626 (python-indent-region, python-indent-shift-right)
2627 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2628 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2629 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2630 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2631 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2632 (python-shell-buffer-substring, python-shell-send-buffer)
2633 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2634 (python-completion-complete-at-point, python-fill-docstring-style)
2635 (python-eldoc-function, python-imenu-format-item-label)
2636 (python-imenu-format-parent-item-label)
2637 (python-imenu-format-parent-item-jump-label)
2638 (python-imenu--build-tree, python-imenu-create-index)
2639 (python-imenu-create-flat-index): Fix docstring typos.
2640 (python-indent-context, python-shell-prompt-regexp, run-python):
2641 Remove superfluous backslashes.
2642 (python-indent-line, python-nav-beginning-of-defun)
2643 (python-shell-get-buffer, python-shell-get-process)
2644 (python-info-current-defun, python-info-current-line-comment-p)
2645 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2646 (python-indent-post-self-insert-function, python-shell-send-file)
2647 (python-shell-completion-get-completions)
2648 (python-shell-completion-complete-or-indent)
2649 (python-eldoc--get-doc-at-point): Reflow docstrings.
2651 2014-03-14 Glenn Morris <rgm@gnu.org>
2653 * emacs-lisp/package.el (package-menu-mode-map):
2654 Replace use of obsolete function alias. Tweak menu item text.
2656 * info.el (Info-finder-find-node):
2657 Ignore the `emacs' metapackage. (Bug#10813)
2659 * finder.el (finder-list-matches): Include unversioned packages
2660 in the result of a keyword search.
2662 * finder.el (finder--builtins-descriptions): New constant.
2663 (finder-compile-keywords): Use finder--builtins-descriptions.
2665 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2667 * simple.el (blink-matching-paren): Describe the new value,
2668 `jump', enabling the old behavior.
2669 (blink-matching-open): Use that value. (Bug#17008)
2671 2014-03-14 Glenn Morris <rgm@gnu.org>
2673 * finder.el (finder-no-scan-regexp): Add leim-list.
2674 (finder-compile-keywords):
2675 Don't skip files with same basename. (Bug#14010)
2676 * Makefile.in (setwins_finder): New, excluding leim.
2677 (finder-data): Use setwins_finder.
2679 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2680 (help-function-arglist, help-make-usage): Move from here...
2681 * help.el (help-split-fundoc, help-add-fundoc-usage)
2682 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2683 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2685 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2687 * net/socks.el (socks, socks-override-functions)
2688 (socks-find-services-entry):
2689 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2690 (hif-find-ifdef-block):
2691 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2693 * net/tls.el (tls-program): Reflow docstring.
2695 * progmodes/pascal.el (pascal-mode-abbrev-table)
2696 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2697 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2698 (pascal-outline-mode): Fix docstring typos.
2699 (pascal-mode): Let define-derived-mode document mode hook.
2700 (pascal-uncomment-area): Reflow.
2701 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2703 * progmodes/opascal.el (opascal-compound-block-indent)
2704 (opascal-case-label-indent): Fix docstring typos.
2705 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2707 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2709 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2710 Fontify multiple adjacent negation chars. (Bug#17004)
2712 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2714 * emacs-lisp/package.el (package--prepare-dependencies):
2715 Accept requirements without explicit version (bug#14941).
2717 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2719 * register.el (register-separator, copy-to-register): Doc fixes.
2720 (register-preview-default): Remove unnecessary call to concat.
2722 * frameset.el (frameset-restore): When checking for a visible frame,
2723 use the action map instead of calling visible-frame-list.
2725 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2727 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2729 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2731 * window.el (fit-frame-to-buffer): Get maximum width from
2732 display's width instead of height.
2734 2014-03-12 Glenn Morris <rgm@gnu.org>
2736 * desktop.el (desktop-restore-frames)
2737 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2738 (desktop-restore-reuses-frames): Doc tweaks.
2740 * electric.el (electric-indent-mode): Doc fix.
2742 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2744 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2745 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2746 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2747 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2748 (cvs-dired-use-hook): Fix docstring typos.
2749 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2752 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2753 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2754 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2755 (cvs-execute-single-dir): Fix docstring typos.
2757 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2758 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2760 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2762 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2763 Fix docstring typos.
2765 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2767 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2768 called from jump-to-register after unloading the frameset package.
2770 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2773 (bug#16975). Deactivate the mark before setting it to nil.
2774 (activate-mark): Do nothing if region is already active.
2776 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2778 * frameset.el (frameset--target-display): Remove definition; declare.
2779 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2781 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2784 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2785 when the advice is pending.
2786 (advice-remove): Remove this marker when not needed any more.
2788 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2790 * frameset.el: Separate options for reusing frames and cleaning up.
2791 (frameset--reuse-list): Remove definition; declare.
2792 (frameset--action-map): Declare.
2793 (frameset--find-frame-if): Doc fix.
2794 (frameset--restore-frame): Cache frame action.
2795 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2796 how to clean up the frame list after restoring. Remove cleaning
2797 options from REUSE-FRAMES. Change all keyword values to symbols.
2798 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2800 * desktop.el (desktop-restore-forces-onscreen)
2801 (desktop-restore-reuses-frames): Use non-keyword values.
2802 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2804 2014-03-10 Glenn Morris <rgm@gnu.org>
2806 * files.el (find-file): Doc fix: update info node name.
2808 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2809 Doc fix: remove references to deleted info nodes.
2811 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2813 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2814 Do not add `nil' to the environment, when there's no remote `locale'.
2815 (tramp-find-inline-encoding): Check, that the remote host has
2816 installed perl, before sending scripts.
2818 2014-03-10 Leo Liu <sdl.web@gmail.com>
2820 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2821 Clear eldoc-last-message. (Bug#16920)
2823 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2828 2014-03-09 Juri Linkov <juri@jurta.org>
2830 * ansi-color.el (ansi-color-names-vector): Copy default colors
2831 from `xterm-standard-colors' that look well on the default white
2832 background (and also on the black background) to avoid illegible
2833 color combinations like yellow-on-white and white-on-white.
2834 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2836 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2838 * frameset.el (frameset-restore): When no frame is visible, do not
2839 generate a list of frames, just make visible the selected one.
2841 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2843 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2844 it only contains the repository root. (Bug#16897)
2846 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2848 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2849 only when `remote-file-name-inhibit-cache' is nil.
2850 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2852 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2854 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2856 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2857 fit-frame-to-buffer variable. Fix doc-string.
2858 (fit-window-to-buffer): Set ONLY argument in call of
2859 fit-frame-to-buffer. Fix doc-string.
2861 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2863 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2864 (tramp-action-password): Clear password cache if needed.
2865 (tramp-read-passwd): Do not clear password cache.
2867 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2868 cache unless it is the first password request.
2870 2014-03-06 Glenn Morris <rgm@gnu.org>
2872 * simple.el (newline): Doc tweak.
2874 * emacs-lisp/shadow.el (load-path-shadows-find):
2875 Ignore dir-locals. (Bug#12357)
2877 2014-03-05 Glenn Morris <rgm@gnu.org>
2879 * files.el (interpreter-mode-alist):
2880 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2882 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2884 * frameset.el (frameset--initial-params): Filter out null entries.
2886 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2888 * window.el (window-min-height, window-min-width):
2889 Rewrite doc-strings.
2890 (window-body-size): Add PIXELWISE argument to make it consistent
2893 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2895 * finder.el (finder-mode-map, finder-mode-syntax-table):
2896 Revert part of 2014-02-28 change.
2898 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2900 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2901 (eww-setup-buffer): Clear next/prev/etc more reliably.
2902 (eww-textarea-map): [tab] doesn't work on tty.
2903 Reported by Mario Lang.
2905 * net/shr.el (shr-map): Ditto.
2907 2014-03-04 Glenn Morris <rgm@gnu.org>
2909 * minibuffer.el (completion-hilit-commonality):
2910 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2912 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2914 * hilit-chg.el (hilit-chg-unload-function): New function.
2915 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2916 (hilit-chg-map-changes): Prefer cardinal number to digit.
2917 (hilit-chg-display-changes): Reflow docstring.
2918 (highlight-changes-rotate-faces): Remove superfluous backslash.
2920 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2922 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2923 `tramp-send-command-and-check'.
2925 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2927 * hexl.el (hexl-address-region, hexl-ascii-region)
2928 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2929 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2930 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2931 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2932 (hexl-mode): Doc fix.
2933 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2934 (hexl-mode-ruler): Fix typos in docstrings.
2936 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2937 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2938 Remove superfluous backslashes.
2939 (strokes-last-stroke, strokes-global-map, strokes-mode):
2941 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2942 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2943 (strokes-distance-squared, strokes-global-set-stroke)
2944 (strokes-global-set-stroke-string): Doc fixes.
2945 (strokes-help): Fix typos; reflow docstring.
2947 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2949 * window.el (window-in-direction): Fix doc-string.
2951 2014-03-04 Glenn Morris <rgm@gnu.org>
2953 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2954 Explicit error if no grammar.
2955 (smie-config-save): Doc fix. Fix quote typo.
2957 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2960 electric-indent-mode-hook if we obey electric-indent-mode.
2961 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2962 decide whether we obey electric-indent-mode.
2963 (c-change-set-fl-decl-start, c-extend-after-change-region):
2965 (c-electric-indent-mode-hook): Assume we do want to obey
2966 electric-indent-mode.
2968 * electric.el (electric-indent-mode-has-been-called): Remove.
2969 (electric-indent-mode): Fix accordingly.
2971 * files.el (hack-local-variables): Mention file name in warning.
2973 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2975 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2977 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2978 * simple.el (delete-forward-char): Mark as interactive-only.
2980 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2982 * icomplete.el (icomplete-completions):
2983 Follow-up to 2014-03-01 change.
2985 * icomplete.el: Miscellaneous doc fixes.
2986 Use Icomplete everywhere instead of icomplete for consistency.
2987 (icomplete-max-delay-chars): Fix typo.
2988 (icomplete-mode): Use \[].
2989 (icomplete-tidy, icomplete-exhibit): Reflow.
2990 (icomplete-minibuffer-setup-hook, icomplete-completions):
2991 Remove superfluous backlashes.
2993 * ido.el: Miscellaneous doc fixes.
2994 Use Ido everywhere instead of ido or `ido' for consistency.
2995 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2996 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2997 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2998 (ido-separator): Extract obsolescence info from docstring and declare
2999 with make-obsolete-variable.
3000 (ido-minibuffer-setup-hook): Simplify example.
3001 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3002 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3003 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3004 (ido-everywhere): Reflow docstring.
3005 (ido-toggle-vc): Doc fix.
3006 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3007 of long list of keybindings.
3009 2014-03-03 Glenn Morris <rgm@gnu.org>
3011 * frame.el (display-pixel-height, display-pixel-width)
3012 (display-mm-dimensions-alist, display-mm-height)
3013 (display-mm-width): Doc tweaks.
3015 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3017 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3018 case of undo in region.
3020 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3022 * window.el (fit-window-to-buffer): Fix argument in window-size
3023 call when window is horizontally combined.
3025 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3027 * icomplete.el (icomplete-completions): Use string-width.
3028 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3030 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3032 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3033 Highlight regexp options. (Bug#16914)
3035 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3037 * window.el (window--max-delta-1): Round down when calculating
3038 how many lines/columns we can get from a window.
3040 2014-03-01 Glenn Morris <rgm@gnu.org>
3042 * isearch.el (search-invisible): Doc fix.
3044 * minibuffer.el (completion-hilit-commonality):
3045 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3046 * comint.el (comint-dynamic-list-completions): Doc fix.
3047 * comint.el (comint-dynamic-list-completions):
3048 * filecache.el (file-cache-minibuffer-complete):
3049 * tempo.el (tempo-display-completions):
3050 * eshell/em-hist.el (eshell-list-history):
3051 Replace use of obsolete argument of display-completion-list.
3053 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3055 * icomplete.el (icomplete-completions):
3056 Revert back to using "..." when ?… cannot be displayed.
3058 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3060 * finder.el (finder-unload-function): New function.
3062 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3064 * dframe.el (dframe-detach):
3065 * find-dired.el (find-dired, find-name-dired):
3066 * finder.el (finder-mode-map, finder-mode-syntax-table)
3067 (finder-headmark, finder-select, finder-mouse-select):
3068 Fix docstring typos.
3070 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3072 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3073 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3074 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3075 Fix doc-string based on a suggestion by Nicolas Richard
3076 <theonewiththeevillook@yahoo.fr>.
3077 * help.el (with-help-window): Fix doc-string.
3079 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3081 * net/shr.el (shr-image-animate): New option.
3082 (shr-put-image): Respect shr-image-animate.
3084 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3086 * net/tramp-adb.el (tramp-adb-parse-device-names):
3087 Use `accept-process-output'.
3088 (tramp-adb-handle-file-truename): Cache the localname only.
3089 (tramp-adb-handle-make-directory)
3090 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3091 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3092 modes cannot be changed.
3094 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3095 file properties of symlinks.
3097 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3099 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3100 required/optional fields to match development biblatex. (Bug#16781)
3102 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3104 * saveplace.el (toggle-save-place):
3105 Fix argument handling. (Bug#16673)
3107 2014-02-28 Glenn Morris <rgm@gnu.org>
3109 * minibuffer.el (completions-first-difference)
3110 (completions-common-part, completion-hilit-commonality): Doc fixes.
3112 2014-02-28 Karl Berry <karl@gnu.org>
3114 * info.el (Info-mode-map): Add H for describe-mode,
3115 to synchronize with standalone Info.
3117 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3119 * progmodes/sql.el (sql-interactive-mode):
3120 Avoid setting global comint-input-ring-separator. (Bug#16814)
3122 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3124 * net/dbus.el (dbus--init-bus): Declare function.
3125 (dbus-path-local, dbus-interface-local): New defconst.
3126 (dbus-init-bus): Use them.
3127 (dbus-return-values-table): Extend doc.
3128 (dbus-handle-bus-disconnect): Extend error message.
3130 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3132 * subr.el (y-or-n-p): Fix double space issue in message.
3134 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3136 * net/tramp.el (tramp-call-process): Improve trace message.
3137 (tramp-handle-insert-file-contents): Trace error case.
3139 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3140 <insert-directory>: Use `tramp-handle-insert-directory'.
3141 (tramp-adb-handle-insert-directory): Remove function.
3142 (tramp-adb-send-command-and-check): New defun, replacing
3143 `tramp-adb-command-exit-status'. Change all callees.
3144 (tramp-adb-handle-file-attributes)
3145 (tramp-adb-handle-directory-files-and-attributes): Use it.
3146 (tramp-adb-ls-output-name-less-p):
3147 Use `directory-listing-before-filename-regexp'.
3148 (tramp-adb-handle-delete-directory): Flush also file properties of
3149 the truename of directory.
3150 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3151 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3152 (tramp-adb-handle-write-region): Implement APPEND.
3153 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3154 properties correctly.
3155 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3156 variables. Check for connected devices only when needed.
3158 2014-02-27 Glenn Morris <rgm@gnu.org>
3160 * minibuffer.el (completion-table-dynamic)
3161 (completion-table-with-cache): Doc fixes.
3163 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3164 (completing-read-multiple): Doc fixes.
3166 2014-02-27 Daniel Colascione <dancol@dancol.org>
3168 * minibuffer.el (completion--nth-completion): Fix indentation.
3170 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3171 explicit tramp path is empty.
3173 2014-02-27 Glenn Morris <rgm@gnu.org>
3175 * emacs-lisp/crm.el (completing-read-multiple):
3176 Empower help-enable-auto-load.
3178 2014-02-26 Glenn Morris <rgm@gnu.org>
3180 * startup.el (command-line): Don't init the tty in daemon mode.
3182 Avoid calling tty-setup-hook twice, eg if a term file
3183 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3184 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3185 (tty-create-frame-with-faces): Use it.
3186 * startup.el (command-line): Pass run-hook argument
3187 to tty-run-terminal-initialization.
3189 * dired.el (dired-restore-desktop-buffer): Demote errors;
3190 eg in case a glob match fails. (Bug#16884)
3192 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3194 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3195 error from `read-from-string'. (Bug#16850)
3197 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3198 result of `completing-read' in the interactive form. (Bug#16854)
3200 2014-02-25 Glenn Morris <rgm@gnu.org>
3202 * image.el (image-animate, image-animate-timeout):
3203 Stop animating images in dead buffers. (Bug#16878)
3205 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3207 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3209 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3210 * term/sun.el (sun-raw-prefix-hooks):
3211 Use tty-setup-hook instead of term-setup-hook.
3212 (terminal-init-sun): Construct message from bytecomp plist.
3213 * term/wyse50.el (enable-arrow-keys): Doc fix.
3215 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3217 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3218 Fix docstring typos.
3220 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3222 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3224 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3226 * minibuffer.el (completion--try-word-completion):
3227 Fix error when completing M-x commands (bug#16808).
3229 2014-02-24 Leo Liu <sdl.web@gmail.com>
3231 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3233 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3235 * apropos.el (apropos-print): Avoid formatting error when
3236 apropos-do-all and apropos-compact-layout are both t.
3238 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3240 * apropos.el (apropos-property, apropos-all-words-regexp)
3241 (apropos-true-hit, apropos-variable, apropos-print):
3242 Fix docstring typos, and remove obsolete comment.
3244 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3246 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3247 Preserve trailing "/". (Bug#16851)
3249 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3251 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3252 after `=>' (bug#16811).
3253 (ruby-smie-rules): Handle the inconsistent second element of the
3254 list returned by `smie-indent--parent'.
3255 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3258 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3260 * elec-pair.el (electric-pair-text-syntax-table)
3261 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3262 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3263 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3264 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3266 2014-02-22 Glenn Morris <rgm@gnu.org>
3268 * imenu.el (imenu--generic-function): Doc fix.
3270 * register.el (frame-configuration-to-register): Make obsolete.
3272 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3274 * desktop.el (desktop-save-buffer-p): Do not fail when
3275 desktop-files-not-to-save is nil. Return t for true result
3278 2014-02-22 Daniel Colascione <dancol@dancol.org>
3280 * net/secrets.el (secrets-create-item, secrets-search-items):
3281 Check that attribute values are strings, avoiding the construction
3282 of invalid dbus messages.
3284 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3286 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3287 defun-declarations-alist.
3289 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3291 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3294 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3296 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3297 (whitespace-newline, whitespace-trailing, whitespace-line)
3298 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3299 (whitespace-space-after-tab): Fix typo in docstrings.
3301 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3303 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3305 * electric.el (electric-indent-functions-without-reindent):
3306 Add `yaml-indent-line'.
3308 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3310 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3311 It has done nothing for years; should be removed after the release.
3313 * simple.el (choose-completion): Fix docstring typo.
3314 (read-quoted-char-radix): Remove unneeded * in docstring.
3315 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3316 Don't escape parentheses unnecessarily in docstrings.
3318 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3320 Fix handling of window-min-height/-width (Bug#16738).
3321 * window.el (window--dump-window, window--dump-frame):
3323 (window--min-size-1): Account for window dividers.
3324 When window-resize-pixelwise is nil, delay rounding till after the
3325 sum of the window components has been calculated.
3326 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3327 nil make sure at least one text line and two text columns remain
3329 (window-resize): Signal an error when window-resize-apply fails.
3330 (window--resize-child-windows): Fix calculation of by how many
3331 pixels a window can still be shrunk via window-new-normal.
3332 (adjust-window-trailing-edge): Call window--resizable with
3333 correct TRAIL argument.
3335 (with-temp-buffer-window): Don't evaluate BODY within
3336 with-current-buffer (Bug#16816).
3338 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3340 * net/tramp.el (tramp-check-cached-permissions):
3341 Call `file-attributes' with `suffix' being a symbol but a string.
3343 2014-02-21 Daniel Colascione <dancol@dancol.org>
3345 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3346 (dbus-init-bus): New function: call into dbus-init-bus-1
3347 and installs a handler for the disconnect signal.
3348 (dbus-call-method): Rewrite to look for result in cons.
3349 (dbus-call-method-handler): Store result in cons.
3350 (dbus-check-event): Recognize events with nil sender as valid.
3351 (dbus-handle-bus-disconnect): New function. React to bus
3352 disconnection signal by synthesizing dbus error for each
3353 pending synchronous or asynchronous call.
3354 (dbus-notice-synchronous-call-errors): New function.
3355 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3356 is true, not all the time.
3358 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3360 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3361 Remove obsolescence declarations, these variables do not exist anymore.
3363 * savehist.el (savehist-save-minibuffer-history)
3364 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3365 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3366 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3367 mostly, refer to "Savehist mode" when talking about the mode,
3368 and not the function.
3370 * saveplace.el (save-place): Remove redundant info in docstring.
3371 (save-place-forget-unreadable-files, toggle-save-place)
3372 (save-place-forget-unreadable-files, save-place-dired-hook):
3373 Fix typos and remove unneeded backslashes.
3375 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3377 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3378 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3380 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3381 <insert-directory>: Use `tramp-handle-insert-directory'.
3382 (tramp-gvfs-handle-insert-directory): Remove function.
3384 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3385 Call `tramp-handle-insert-directory'.
3387 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3389 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3390 before the start of buffer/region (bug#16799).
3392 2014-02-20 Glenn Morris <rgm@gnu.org>
3394 * isearch.el (search-invisible): Doc fix.
3396 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3398 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3401 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3403 * frameset.el (frameset-restore): Delay removing an old frame's
3404 duplicate id until the new frame has been correctly created.
3406 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3409 (tramp-check-cached-permissions): Call `file-attributes' if the
3412 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3413 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3416 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3417 (tramp-gvfs-maybe-open-connection): Set always connection
3418 properties, even if target is mounted already.
3420 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3421 Set tramp-autoload cookie.
3422 (tramp-get-remote-touch): New defun.
3423 (tramp-sh-handle-set-file-times): Use it.
3424 (tramp-sh-handle-directory-files-and-attributes):
3425 Use `tramp-handle-directory-files-and-attributes' if neither stat
3426 nor perl are available on the remote host.
3428 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3429 "/". Write long listing only when "l" belongs to the switches.
3431 * net/trampver.el: Update release number.
3433 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3435 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3437 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3439 * window.el (window-state-put): Allow WINDOW to refer to an
3440 internal window (Bug#16793).
3442 2014-02-19 Glenn Morris <rgm@gnu.org>
3444 * textmodes/remember.el: Move provide statement to end.
3445 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3446 (remember-notes): Doc fixes.
3448 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * delsel.el (delete-char): Restore incorrectly erased property
3453 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3455 * frameset.el (frameset--restore-frame): When a frame is being reused
3456 and its root window is not alive, delete all the frame's windows before
3457 restoring the window state. This works around the issue in bug#16793.
3459 2014-02-18 Glenn Morris <rgm@gnu.org>
3461 * textmodes/remember.el (remember-data-directory)
3462 (remember-directory-file-name-format, remember-store-in-files)
3463 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3464 (remember-notes-save-and-bury-buffer)
3465 (remember-notes--kill-buffer-query): Doc fixes.
3467 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3469 2014-02-17 Alan Mackenzie <acm@muc.de>
3471 Connect electric-indent-mode up with CC Mode. Bug #15478.
3472 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3473 to electric-indent-{,local-}-mode.
3474 (c-basic-common-init): Set electric-indent-inhibit.
3475 Initialise c-electric-flag from electric-indent-mode.
3476 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3477 New hook functions which propagate electric-indent-mode to CC mode.
3479 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3480 hit, toggle electric-indent-local-mode.
3482 * electric.el (electric-indent-mode-has-been-called):
3485 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3487 * frameset.el (frameset-cfg-id): New function.
3488 (frameset--reuse-frame, frameset-restore): Use it.
3489 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3491 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * ido.el (ido-file-internal): Remove unused var `d'.
3494 Use \` for to match BoS. Fit within 80n columns.
3496 2014-02-17 Daniel Colascione <dancol@dancol.org>
3498 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3499 dbus-call-method check for completion using a busy-wait loop with
3502 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3504 Sync with Tramp 2.2.9.
3506 * net/trampver.el: Update release number.
3508 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3510 * ido.el (ido-file-internal): Don't add the name of an existing
3511 directory twice. (Bug#16747)
3513 2014-02-16 Glenn Morris <rgm@gnu.org>
3515 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3516 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3518 2014-02-15 Michael R. Mauger <michael@mauger.com>
3520 * progmodes/sql.el: Version 3.4
3521 (sql-oracle-options): New default value ("-L").
3522 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3523 (sql-placeholders-filter): Correct placeholder pattern.
3524 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3525 (sql-login-delay): New variable.
3526 (sql-product-interactive): Use it.
3528 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3530 * frameset.el (frameset--jump-to-register): Check that buffer is live
3533 2014-02-15 Glenn Morris <rgm@gnu.org>
3535 * info.el (info-initialize): Revert 2014-01-10 change.
3537 2014-02-14 Glenn Morris <rgm@gnu.org>
3539 * replace.el (map-query-replace-regexp)
3540 (read-regexp-defaults-function, read-regexp): Doc fixes.
3542 * dired.el (dired-read-regexp):
3543 * faces.el (list-faces-display):
3544 * misearch.el (multi-isearch-read-matching-buffers)
3545 (multi-isearch-read-matching-files):
3546 * play/cookie1.el (cookie-apropos):
3547 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3549 * textmodes/remember.el (remember): Use frameset-to-register
3550 rather than frame-configuration-to-register.
3552 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3554 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3555 incorrect keybinding.
3557 2014-02-13 Daniel Colascione <dancol@dancol.org>
3559 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3560 when adding overlays so that line numbers from compiler match line
3563 2014-02-13 Glenn Morris <rgm@gnu.org>
3565 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3567 * jit-lock.el (jit-lock-mode): Doc fix.
3569 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3571 * apropos.el (apropos-read-pattern): When the user passes an empty
3572 string, give a more helpful error message than "Wrong type
3573 argument: stringp, nil".
3575 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3577 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3579 2014-02-13 Glenn Morris <rgm@gnu.org>
3581 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3583 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3586 shift-select commands.
3588 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3590 * progmodes/js.el (js-indent-line): Don't widen.
3591 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3593 2014-02-12 Glenn Morris <rgm@gnu.org>
3595 * icomplete.el (icomplete): Add info-link to defgroup.
3596 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3597 (icomplete-minibuffer-map, icomplete-mode)
3598 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3600 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3601 (package-menu-filter): Rename from package-menu-filter-interactive.
3604 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3606 * frameset.el (frameset--jump-to-register): Select the required
3607 window and buffer before restoring position (bug#16696).
3609 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3611 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3613 2014-02-10 Glenn Morris <rgm@gnu.org>
3615 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3617 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3619 * w32-common-fns.el (x-get-selection): Doc fix.
3620 * select.el (x-get-selection): Doc fix. (Bug#15109)
3622 * face-remap.el (face-remap-add-relative)
3623 (face-remap-remove-relative, face-remap-reset-base)
3624 (face-remap-set-base): Call force-mode-line-update to redisplay
3625 the current buffer due to potential change in faces. (Bug#16709)
3627 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3629 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3630 script more robustly.
3632 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3634 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3636 * simple.el (choose-completion): Doc fix (bug#14160).
3638 * subr.el (event-start): Say what a nil EVENT value means.
3640 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3643 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3645 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3647 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3649 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3650 predicate function (bug#15455).
3652 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3654 * ielm.el (inferior-emacs-lisp-mode): Instead of
3655 `comment-use-global-state', set `comment-use-syntax'.
3657 2014-02-10 Glenn Morris <rgm@gnu.org>
3659 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3661 2014-02-09 Alan Mackenzie <acm@muc.de>
3663 Fix c-invalidate-state-cache on narrowed buffers.
3664 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3665 Widen when setting and clearing the CPP delimiter properties.
3667 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3669 * help.el (describe-bindings): Doc fix (bug#9888).
3671 * files.el (save-buffer): Use ARG as the parameter name for
3672 consistency (bug#10346).
3673 (save-buffer): Clarify the 0 argument (bug#10346).
3675 * cus-edit.el (customize-apropos): Fix error string.
3676 (custom-buffer-create): Doc fix (bug#11122).
3677 (custom-sort-items): Doc fix (bug#11121).
3679 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3681 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3682 (icomplete-simple-completing-p): Mention the previous variable.
3684 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3685 meaning of the parameter (bug#12282).
3687 * files.el (find-file-noselect): Clarify prompt when changing
3688 readedness (bug#13261).
3689 (locate-file): Suffixes aren't returned, so don't say that they
3691 (backup-inhibited): Doc clarification (bug#12525).
3693 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3694 before we actually start to delete things (bug#16331).
3696 * subr.el (event-start): Doc fix (bug#14228).
3699 2014-02-09 Glenn Morris <rgm@gnu.org>
3701 * emacs-lisp/warnings.el (lwarn):
3702 Empower help-enable-auto-load. (Bug#15940)
3704 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3706 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3709 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3711 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3712 Insert output at end of buffer. (Bug#16120)
3714 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3716 * simple.el (choose-completion-string-functions): Document new
3717 calling convention (bug#14153).
3718 (execute-extended-command): Clarify doc string (bug#13373).
3720 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3722 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3723 (find-grep-dired): Doc fix (bug#14288).
3725 2014-02-08 Juri Linkov <juri@jurta.org>
3727 * isearch.el (isearch-quote-char): Check character validity
3728 like in `quoted-insert' (bug#16677).
3730 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3732 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3734 * isearch.el (isearch-hide-immediately): Doc clarification
3737 * simple.el (line-move): Document utility function used many
3738 places in the Emacs sources (bug#14843).
3740 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3741 (dired-prev-marked-file): Doc fix (bug#14855).
3742 (dired-up-directory): Doc fix (bug#14848).
3744 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3746 * files.el (file-relative-name): Doc fix (bug#15159).
3748 * fringe.el (fringe-styles): Doc fix (bug#15239).
3750 * isearch.el (isearch-filter-predicate): Documentation typo fix
3753 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3755 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3757 * replace.el (replace-match-maybe-edit): Doc clarification
3760 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3762 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3764 2014-02-08 Glenn Morris <rgm@gnu.org>
3766 * help-fns.el (describe-variable):
3767 Check {file,dir}-local-variables-alist, and buffer-file-name,
3768 in the correct buffer.
3770 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3772 * help-fns.el (describe-variable): Fix the case where
3773 a value is directory-local with no dir-locals file. (Bug#16635)
3775 2014-02-08 Glenn Morris <rgm@gnu.org>
3777 * abbrev.el (edit-abbrevs-mode):
3778 Derive from fundamental-mode. (Bug#16682)
3780 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3782 * simple.el (quoted-insert): Check character validity (bug#16677).
3784 2014-02-07 Juri Linkov <juri@jurta.org>
3786 * desktop.el (desktop-read): Claim the lock when the owner is not
3787 the current process. (Bug#16157)
3789 2014-02-07 Juri Linkov <juri@jurta.org>
3791 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3792 to "\\` ". (Bug#16651)
3794 2014-02-07 Juri Linkov <juri@jurta.org>
3796 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3797 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3798 (desktop-auto-save-cancel-timer): New function with some code from
3799 `desktop-auto-save-set-timer'.
3800 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3801 Instead of setting `desktop-save-mode' to nil, call
3802 `desktop-save-mode' with arg 0. (Bug#16630)
3804 2014-02-07 Glenn Morris <rgm@gnu.org>
3806 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3807 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3808 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3810 * obsolete/iswitchb.el: Move to obsolete/.
3811 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3812 since obsolete/ is not scanned for autoloads.
3813 * emacs-lisp/authors.el (authors-valid-file-names):
3816 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3817 Disable now non-functional find-file-hook.
3819 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3821 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3822 instead of ";" in order to avoid additional prompts. Let heredoc
3823 scripts read from tty. (Bug#16582)
3824 (tramp-send-command): No special handling of heredocs, it isn't
3827 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3830 with a space (bug#16664). Limit the symbols considered to the ones
3831 that are bound or fbound (bug#16646).
3833 2014-02-06 Glenn Morris <rgm@gnu.org>
3835 * epa.el (epa-mail-aliases): Doc fix.
3837 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3839 * emacs-lisp/lisp.el (lisp-completion-at-point):
3840 Use `completion-table-merge' instead of `completion-table-in-turn'
3843 * minibuffer.el (completion-table-merge): New function.
3845 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3847 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3848 (tramp-sh-handle-set-file-acl)
3849 (tramp-sh-handle-start-file-process)
3850 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3851 (tramp-find-executable, tramp-send-command): Use it.
3853 2014-02-05 Glenn Morris <rgm@gnu.org>
3855 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3857 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3859 * progmodes/python.el (python-shell-send-string)
3860 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3862 2014-02-04 Anders Lindgren <andlind@gmail.com>
3864 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3865 the names (bug#16620).
3867 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3869 * faces.el (window-divider): New default value. Rewrite doc-string.
3870 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3872 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3874 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3875 `protected' and `public' can also be called without arguments.
3877 2014-02-03 Glenn Morris <rgm@gnu.org>
3879 * register.el (window-configuration-to-register)
3880 (frame-configuration-to-register): Unadvertise unused argument.
3881 * frameset.el (frameset-to-register): Remove unused argument.
3883 * frameset.el (frameset-to-register):
3884 * kmacro.el (kmacro-to-register):
3885 * register.el (increment-register):
3886 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3887 (calc-append-to-register, calc-prepend-to-register):
3888 * play/gametree.el (gametree-layout-to-register)
3889 (gametree-apply-register-layout):
3890 * textmodes/picture.el (picture-clear-rectangle-to-register)
3891 (picture-yank-rectangle-from-register):
3892 * vc/emerge.el (emerge-combine-versions-register):
3893 Use register-read-with-preview to read registers.
3895 2014-02-03 João Távora <joaotavora@gmail.com>
3897 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3898 when at beginning of (possibly narrowed) buffer.
3900 2014-02-02 Daniel Colascione <dancol@dancol.org>
3902 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3903 Also try to display local help from just before point.
3905 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3907 c-parse-state. Don't "append-lower-brace-pair" in certain
3908 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3909 recognised as a comment.
3911 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3912 as well as normal comment starter.
3913 (c-parse-state-get-strategy): Extra return possibility
3915 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3916 return value list to indicate replacement of a brace-pair cons
3918 (c-parse-state-1): With 'back-and-forward, only call
3919 c-append-lower-brace-pair-to state-cache when cons-separated.
3921 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3923 * term/ns-win.el (ns-suspend-error): New function.
3924 (ns-initialize-window-system): Add ns-suspend-error to
3925 suspend-hook (Bug#16612).
3927 2014-02-02 Daniel Colascione <dancol@dancol.org>
3929 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3930 Make loading cc-mode silent.
3932 2014-02-02 Daniel Colascione <dancol@dancol.org>
3934 * comint.el (comint-prompt-read-only): Change doc to suggest
3937 2014-02-02 Glenn Morris <rgm@gnu.org>
3939 * register.el (register-read-with-preview, point-to-register)
3940 (window-configuration-to-register, frame-configuration-to-register)
3941 (jump-to-register, number-to-register, view-register, insert-register)
3942 (copy-to-register, append-to-register, prepend-to-register)
3943 (copy-rectangle-to-register): Doc fixes.
3945 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3948 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3949 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3950 * help-fns.el (describe-function-1): Use it.
3952 2014-02-02 Glenn Morris <rgm@gnu.org>
3954 * register.el (register-preview-default): New function,
3955 split from register-preview.
3956 (register-preview-function): Rename from register-preview-functions,
3958 (register-preview): Use register-preview-function.
3959 (register-read-with-preview): Error on non-character event. (Bug#16595)
3961 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3963 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3964 `:' before binary operators (bug#16609). Don't check for `:'
3965 before `[' and `(', or their syntax status. A percent literal
3966 can't end with either.
3967 (ruby-font-lock-keywords): For built-ins that require arguments,
3968 check that they're followed by something that looks like argument
3971 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3973 * subr.el (butlast): Document what an omitted N means (bug#13437).
3976 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3978 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3979 depth shallower (bug#16587).
3980 (shr-tag-svg): Respect `shr-inhibit-images'.
3981 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3983 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3985 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3986 (ruby-smie-grammar): Make "." right-associative. Make its priority
3987 lower than the ternary and all binary operators.
3988 (ruby-smie-rules): Indent "(" relative to the first non-"."
3989 parent, or the first "." parent at indentation.
3990 Use `ruby-align-chained-calls' for indentation of "." tokens.
3993 2014-01-31 Juri Linkov <juri@jurta.org>
3995 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3996 from `make-hash-table'.
3998 * textmodes/ispell.el (ispell-init-process): Change message format
3999 to be consistent with other messages.
4001 2014-01-31 Glenn Morris <rgm@gnu.org>
4003 * delsel.el (delete-selection-mode): Doc fix.
4005 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4006 (trace-function-background): Doc fixes.
4008 * ido.el (ido-use-virtual-buffers): Doc fix.
4009 Reset :version, since the default value has not changed.
4011 * register.el (register-preview-delay, register-read-with-preview):
4014 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4015 do not mess with mail-buffer position (fixes 2009-11-03 change).
4016 * progmodes/cc-mode.el (c-submit-bug-report):
4017 Check auto-fill-mode is bound. (Bug#16592)
4019 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4021 * startup.el (fancy-splash-image-file): New function,
4022 split from fancy-splash-head.
4023 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4024 so that we are both using the same image. (Bug#16574)
4026 2014-01-30 Glenn Morris <rgm@gnu.org>
4028 * simple.el (eval-expression): Doc fix.
4030 * hexl.el (hexl-mode-hook):
4031 * ielm.el (ielm-mode-hook):
4032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4033 (lisp-interaction-mode-hook):
4034 * progmodes/cfengine.el (cfengine3-documentation-function):
4035 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4037 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4039 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4040 is a symbol (bug#16584).
4042 2014-01-30 Glenn Morris <rgm@gnu.org>
4044 * help.el (help-for-help-internal): Add "P" to text.
4046 2014-01-29 Glenn Morris <rgm@gnu.org>
4048 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4050 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4052 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4055 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4057 * progmodes/hideif.el: Extend to full CPP expression syntax.
4058 (hif-token-alist): Add missing tokens.
4059 (hif-token-regexp): Add support for float/octal/hex immediates.
4060 (hif-string-literal-regexp): New const.
4061 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4062 (hif-exprlist): New function.
4063 (hif-parse-if-exp): Use it.
4064 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4065 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4066 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4067 (hif-logxor, hif-comma): New functions.
4069 2014-01-28 Glenn Morris <rgm@gnu.org>
4071 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4073 * indent.el (tab-stop-list): Doc fix. Add :version.
4075 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4076 (cvs-append-to-ignore): Add compatibility alias.
4078 2014-01-27 Glenn Morris <rgm@gnu.org>
4080 * dired.el (dired-hide-details-mode): Don't autoload it,
4081 since it cannot be used outside Dired buffers anyway.
4083 * emulation/cua-base.el (cua-mode): Doc fix.
4085 * dired.el (dired-hide-details-hide-symlink-targets)
4086 (dired-hide-details-hide-information-lines)
4087 (dired-hide-details-mode): Doc fixes.
4089 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4090 * strokes.el (strokes-file): Doc fix. Bump :version.
4091 (strokes-help): Doc fix.
4092 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4093 * emulation/viper.el (viper): Doc fix for custom group.
4094 (top-level): Remove oh-so-no-longer-relevant text about vip.
4095 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4097 * ido.el (ido-save-directory-list-file):
4098 * saveplace.el (save-place-file):
4099 * calendar/timeclock.el (timeclock-file):
4100 * net/quickurl.el (quickurl-url-file):
4101 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4102 * progmodes/idlwave.el (idlwave-config-directory):
4103 * textmodes/remember.el (remember-data-file):
4106 2014-01-26 Glenn Morris <rgm@gnu.org>
4108 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4109 Doc fix. Make obsolete.
4110 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4112 * sort.el (delete-duplicate-lines): Doc fix.
4114 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4116 * progmodes/ada-mode.el (ada):
4117 * woman.el (woman): Link to info manual and Commentary section.
4119 * progmodes/flymake.el (flymake):
4120 * nxml/nxml-mode.el (nxml):
4122 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4123 * htmlfontify.el (htmlfontify):
4126 * ido.el (ido): Link to info manual.
4128 2014-01-25 Leo Liu <sdl.web@gmail.com>
4130 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4132 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4134 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4137 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4139 * net/eww.el (eww-download-callback):
4140 Fix reference to eww-download-directory.
4142 * emacs-lisp/bytecomp.el (byte-compile-file):
4143 Remove unused local variable `file-name'.
4145 2014-01-24 Glenn Morris <rgm@gnu.org>
4147 * woman.el (woman-default-faces, woman-monochrome-faces):
4148 Fix obsolescence specification.
4150 * subr.el (with-demoted-errors): Doc fix.
4152 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4154 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4155 (cl--macroexp-fboundp): New function.
4156 (cl--make-type-test): Use it.
4158 2014-01-23 Glenn Morris <rgm@gnu.org>
4160 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4161 * simple.el (eval-expression): Doc fixes.
4163 2014-01-22 Glenn Morris <rgm@gnu.org>
4165 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4167 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4169 * emacs-lisp/package.el: Write files silently.
4170 (package-autoload-ensure-default-file, package--write-file-no-coding)
4171 (package-generate-description-file, package--download-one-archive)
4172 (package-install-from-archive): Tell `write-region' to stay quiet.
4173 (package-menu-mode, package-menu--print-info): Omit the Archive column
4174 if there's only one archive.
4175 (package-all-keywords, package--has-keyword-p): Remove dead code.
4177 2014-01-22 Glenn Morris <rgm@gnu.org>
4179 * version.el (emacs-bzr-version-bzr): Fix typo.
4181 * version.el (emacs-repository-get-version):
4182 Check either .bzr or .git, but not both.
4183 Make the git case actually use the DIR argument, and return nil
4184 rather than the empty string.
4185 Avoid error if .git exists but the git executable is not found.
4187 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4189 Fixes in window size functions around Bug#16430 and Bug#16470.
4190 * window.el (window-total-size, window-size): New argument ROUND.
4191 (window--min-delta-1, window-min-delta, window--max-delta-1):
4192 Be more conservative when calculating the numbers of lines or
4193 columns a window can shrink (Bug#16430).
4194 (fit-window-to-buffer): Simplify code.
4195 * term.el (term-window-width): Call window-body-width again.
4197 2014-01-22 Glenn Morris <rgm@gnu.org>
4199 * image.el (image-format-suffixes): Doc fix.
4201 * international/quail.el (quail-define-package): Doc fix.
4203 * emacs-lisp/authors.el (authors-valid-file-names)
4204 (authors-renamed-files-alist): Additions.
4206 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4207 reverts 2014-01-09 change. (Bug#16422)
4209 * calc/calc-embed.el (thing-at-point-looking-at):
4210 * emacs-lisp/map-ynp.el (x-popup-dialog):
4211 * obsolete/lmenu.el (x-popup-dialog):
4212 * emacs-lisp/package.el (url-recreate-url):
4213 * mail/mailclient.el (clipboard-kill-ring-save):
4214 * subr.el (x-popup-dialog): Update declaration.
4215 * mail/rmail.el (rmail-mime-message-p):
4216 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4218 2014-01-21 Daniel Colascione <dancol@dancol.org>
4220 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4221 Correctly detect when we're inside an arithmetic expansion form
4222 containing nested parenthesis.
4223 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4224 to detect cases where we shouldn't expand "<<" to a heredoc
4227 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4230 (eldoc--message-command-p): New function.
4231 (eldoc-display-message-p): Use it.
4232 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4233 message is not automatically erased for us.
4234 (eldoc-print-current-symbol-info): Erase previous message, if any.
4236 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4238 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4239 specify it's an interactive function.
4241 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4242 Fix regex used for scanning for citation keys which failed for
4243 citations with optional arguments.
4245 2014-01-21 Leo Liu <sdl.web@gmail.com>
4247 * simple.el (read--expression): Don't enable eldoc-mode.
4249 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4251 * simple.el (move-beginning-of-line): Make sure we don't move forward
4254 2014-01-20 Juri Linkov <juri@jurta.org>
4256 * saveplace.el (toggle-save-place, save-place-to-alist)
4257 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4258 'dired-mode) before checking for dired-directory. (Bug#16477)
4260 2014-01-20 Juri Linkov <juri@jurta.org>
4262 * indent.el (indent-line-to): Use backward-to-indentation
4263 instead of back-to-indentation. (Bug#16461)
4265 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4267 Revert some of the CANNOT_DUMP fix (Bug#16494).
4268 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4269 but fixing this can wait until after the next release.
4270 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4272 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4274 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4275 Use `password-word-equivalents'.
4276 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4277 to t. (Bug#5664, Bug#13124)
4279 2014-01-19 Alan Mackenzie <acm@muc.de>
4281 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4283 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4284 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4285 * progmodes/cc-mode.el (c-before-change, c-after-change)
4286 (c-font-lock-fontify-region): Bind it here.
4288 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4290 * term.el (term-window-width): Call window-text-width instead of
4291 window-width (Bug#16470).
4293 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4295 * simple.el (password-word-equivalents): Remove duplicates.
4296 Sort, to make this easier next time.
4297 Downcase. Omit ": " after "jelszó".
4299 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4301 * term/common-win.el (saved-region-selection): Defvar it.
4302 (x-select-text): Set saved-region-selection (Bug#16382).
4304 2014-01-18 Glenn Morris <rgm@gnu.org>
4306 * emacs-lisp/authors.el (authors-aliases)
4307 (authors-renamed-files-alist): Add some entries.
4309 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4311 * net/tramp.el (tramp-password-prompt-regexp):
4312 Use `password-word-equivalents' if available.
4313 (tramp-action-password, tramp-process-one-action)
4314 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4316 2014-01-17 Chong Yidong <cyd@gnu.org>
4318 * simple.el (password-word-equivalents): New defcustom.
4319 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4321 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4324 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4326 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4327 (ruby-align-to-stmt-keywords): Change the default value.
4328 Use `ruby-alignable-keywords' to generate the possible customization
4330 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4331 keywords, check against the value of `ruby-alignable-keywords'
4332 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4334 2014-01-17 Glenn Morris <rgm@gnu.org>
4336 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4338 Make M-x authors return zero *Authors Errors* from current logs.
4339 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4340 (authors-ignored-files): Add some entries, remove others.
4341 (authors-ambiguous-files, authors-valid-file-names):
4343 (authors-renamed-files-alist): Add, remove, and adjust entries.
4344 (authors-renamed-files-regexps): Add some entries.
4345 Remove some very broad ones. Make some entries `lax'.
4346 (authors-lax-changelogs): New constant.
4347 (authors-disambiguate-file-name): Treat top-level specially.
4348 (authors-lax-changelog-p): New function.
4349 (authors-canonical-file-name): Check file as written against
4350 authors-valid-file-names. Do not special-case etc/.
4351 Handle `lax' logs and authors-renamed-files-regexps elements.
4353 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4355 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4356 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4359 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4362 Assume we're already in the proper buffer.
4363 Inspired by Anders Lindgren <andlind@gmail.com>.
4364 (follow-post-command-hook): Call it from the right buffer.
4365 (follow-comint-scroll-to-bottom): Adjust call.
4366 (follow-all-followers): Use get-buffer-window-list.
4368 2014-01-15 Daniel Colascione <dancol@dancol.org>
4370 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4371 `buffer-file-name' in interactive-form so that we don't leave
4372 pathless file names in `file-name-history'.
4374 2014-01-15 Juri Linkov <juri@jurta.org>
4376 * indent.el (indent-rigidly): Set deactivate-mark to nil
4377 in transient indentation mode. (Bug#16438)
4379 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4381 * emacs-lisp/package.el (package-desc-keywords): New function
4383 (describe-package-1, package-all-keywords)
4384 (package--has-keyword-p): Use it.
4386 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4388 * simple.el (define-alternatives): When creating the
4389 COMMAND-alternatives variable, assign COMMAND as its definition
4390 name so that `describe-variable' can relocate it.
4392 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4394 * font-lock.el (font-lock-keywords): Fix typo in docstring
4397 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4399 * ispell.el (ispell-region): Reset `in-comment' for new line
4400 instead of wrongly reset `add-coment' (bug#13577).
4402 2014-01-14 Daiki Ueno <ueno@gnu.org>
4404 * epa-file.el (epa-file-write-region): Encode the region according
4405 to `buffer-file-format'. Problem reported at:
4406 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4408 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4410 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4411 so it applies in the right buffer (bug#16410).
4413 2014-01-13 Daniel Colascione <dancol@dancol.org>
4415 * textmodes/rst.el (rst-define-key): Provide deprecated
4416 keybindings through named functions instead of anonymous ones so
4417 that "??" doesn't appear in describe-mode output.
4419 2014-01-13 Bastien Guerry <bzg@gnu.org>
4421 * simple.el (define-alternatives): Call the selected command
4422 interactively. When setting `COMMAND--implementation' for the
4423 first time, tell the user how to chose another implementation.
4424 Enhance the docstring.
4426 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4429 (log-edit--match-first-line): New function.
4430 (log-edit-font-lock-keywords): Use it.
4431 (log-edit-mode): Make jit-lock-defer-multiline work.
4433 2014-01-13 Bastien Guerry <bzg@gnu.org>
4435 * rect.el (rectangle-mark-mode): When the region is not active,
4436 display a message saying that the mark as been set and that
4437 rectangle mode is in use.
4438 (rectangle--highlight-for-redisplay): Only put an overlay with a
4439 visible vertical bar when (display-graphic-p) is non-nil.
4440 This partially fixes Bug#16403.
4442 2014-01-13 Juri Linkov <juri@jurta.org>
4444 * info.el (Info-find-file): Go to DIR before displaying the error
4445 about a nonexistent file if no previous Info file is visited.
4446 Use `user-error' instead of `error' for "Info file %s does not exist".
4447 (Info-find-node-2): In case of a nonexistent node in unwind forms
4448 go to the Top node if there is no previous node to revert to.
4451 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4453 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4454 * window.el (fit-frame-to-buffer): Fix doc-string.
4455 Respect window-min-height/-width. Fit pixelwise when
4456 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4457 when avoiding that frame goes partially off-screen.
4458 (fit-window-to-buffer): Respect window-min-height/-width
4461 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4463 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4464 after an empty line.
4466 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * net/shr.el (shr-render-region): Autoload.
4470 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4472 * net/eww.el (eww-download-directory): Rename from
4473 `eww-download-path' (Bug#16419).
4475 2014-01-12 Leo Liu <sdl.web@gmail.com>
4477 * dired-x.el (dired-mode-map): Fix last change.
4479 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4481 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4484 * emacs-lisp/generic.el (generic--normalize-comments):
4485 Rename from generic--normalise-comments. All uses changed.
4486 * play/bubbles.el (bubbles--neighborhood-score)
4487 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4488 (bubbles--neighborhood-available)
4489 (bubbles--update-neighborhood-score):
4490 Rename from names with 'neighbourhood'. All uses changed.
4492 2014-01-12 Leo Liu <sdl.web@gmail.com>
4494 Re-implement the feature of showing eldoc info after editing.
4495 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4496 (eldoc-edit-message-commands): New function.
4497 (eldoc-print-after-edit): New variable.
4498 (eldoc-pre-command-refresh-echo-area): Emit message only by
4499 eldoc-message-commands.
4500 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4501 if eldoc-print-after-edit is set. (Bug#16346)
4502 * simple.el (read--expression): Enable eldoc-mode.
4503 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4505 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4506 Eric S. Raymond <esr@thyrsus.com>
4508 * version.el (emacs-repository-get-version): Enhance so the
4509 function works correctly in either a Bazaar or Git repo.
4511 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4513 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4514 Goes with removal of the joke manpages from /etc.
4516 2014-01-10 Kenichi Handa <handa@gnu.org>
4518 * mail/rmail.el (rmail-get-coding-system):
4519 Check rmail-get-coding-function before "funcall"ing it.
4521 2014-01-10 Glenn Morris <rgm@gnu.org>
4523 * emacs-lisp/authors.el (authors-fixed-entries):
4524 Update for files that no longer exist.
4526 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4528 * version.el (emacs-bzr-get-version): Restore compatibilty with
4531 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4533 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4536 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4538 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4540 2014-01-10 Chong Yidong <cyd@gnu.org>
4542 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4544 2014-01-10 Anders Lindgren <andlind@gmail.com>
4546 * follow.el (follow-cache-command-list): Include right-char and
4549 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4552 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4553 * woman.el (woman-mark-horizontal-position):
4554 Rename from woman-mark-horizonal-position. Use changed.
4556 2014-01-10 Glenn Morris <rgm@gnu.org>
4558 * info.el (info-initialize): If running uninstalled, ensure our
4559 own info files are always found first, even if INFOPATH is set.
4561 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4563 2014-01-09 David Engster <deng@randomsample.de>
4565 * emacs-lisp/eieio-custom.el:
4566 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4567 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4568 * emacs-lisp/eieio.el: Regenerate autoloads.
4570 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4572 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4573 following renames. (Bug#8756)
4575 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4577 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4579 (activate-mark): Add `no-tmm' argument.
4580 (set-mark, push-mark-command): Use it instead of running
4581 activate-mark-hook by hand.
4583 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4585 In preparation for the move to git, sanitize out some
4586 Bazaar-specific names.
4588 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4590 * version.el (emacs-bzr-version): Name changed to
4591 emacs-repository-version. Obsolete-variable alias made.
4592 * loadup.el: Follow through on this name change.
4593 * mail/emacsbug.el (report-emacs-bug): Factor out any
4594 assumption about the version control system in use.
4596 2014-01-08 David Engster <deng@randomsample.de>
4598 * help-fns.el (help-fns-describe-function-functions):
4599 New variable to call functions for augmenting help buffers.
4600 (describe-function-1): Remove explicit calls to
4601 `help-fns--compiler-macro', `help-fns--parent-mode' and
4602 `help-fns--obsolete'. Put them in above new variable instead, and
4603 call them through `run-hook-with-args'.
4604 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4605 `eieio-describe-class'. Not meant for interactive use anymore,
4606 but to augment existing help buffers. Remove optional second
4607 argument. Create proper button for file location.
4608 Rewrite function to use `insert' instead of `princ' and `prin1' where
4610 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4611 (eieio-method-def, eieio-class-def): Move further up.
4612 (describe-method, describe-generic, eieio-describe-method):
4614 (eieio-help-constructor, eieio-help-generic): Rename from
4615 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4616 Rewrite to use `insert' in the current buffer and use proper help
4618 (eieio-help-find-method-definition)
4619 (eieio-help-find-class-definition): Also accept symbols as
4621 (eieio-help-mode-augmentation-maybee): Remove.
4622 (eieio-describe-class-sb): Use `describe-function'.
4623 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4624 Add `eieio-help-generic' and `eieio-help-constructor'.
4626 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4629 * language/china-util.el (hz-ascii-designation):
4630 Rename from hz-ascii-designnation.
4631 (hz-ascii-designation): Rename from hz-ascii-designnation.
4634 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4636 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4639 2014-01-08 Bastien Guerry <bzg@gnu.org>
4641 * emacs-lisp/package.el (package-delete):
4642 Correctly delete the package from package-alist.
4644 2014-01-08 Daiki Ueno <ueno@gnu.org>
4646 * emacs-lisp/package.el (url-recreate-url): Declare.
4647 (url-http-target-url): Declare.
4648 (package-handle-response): Include requested URL in the error message.
4649 (package--check-signature): Don't re-signal errors from
4650 package--with-work-buffer. Suggested by Stefan Monnier.
4652 2014-01-07 Bastien Guerry <bzg@gnu.org>
4654 * minibuffer.el (completion--try-word-completion): When both a
4655 hyphen and a space are possible candidates for the character
4656 following a word, display both candidates. (Bug#15980)
4658 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4660 * window.el (balance-windows-2): While rounding don't give a
4661 window more than the remainder. Bug#16351, bug#16383.
4663 2014-01-07 Glenn Morris <rgm@gnu.org>
4665 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4666 (menu-bar-help-menu): Use view-external-packages instead.
4668 2014-01-07 Bastien Guerry <bzg@gnu.org>
4670 * emacs-lisp/package.el (package-delete): Also delete the package
4671 name from `package-alist', not its description only.
4673 2014-01-07 Glenn Morris <rgm@gnu.org>
4675 * help.el (view-external-packages):
4676 * menu-bar.el (menu-bar-help-extra-packages):
4677 Visit efaq.info rather than etc/MORE.STUFF.
4679 2014-01-07 Juri Linkov <juri@jurta.org>
4681 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4682 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4684 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4685 that shadows RET. (Bug#16342)
4687 2014-01-07 Chong Yidong <cyd@gnu.org>
4689 * isearch.el (isearch-yank-char, isearch-yank-word)
4690 (isearch-yank-line): Doc fix.
4692 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4694 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4695 * emacs-lisp/elint.el (elint-find-builtins):
4696 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4697 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4698 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4699 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4700 * apropos.el (apropos-safe-documentation):
4701 * subr.el (symbol-file): Remove redundant fboundp.
4702 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4704 2014-01-06 Bastien Guerry <bzg@gnu.org>
4706 * hl-line.el (global-hl-line-overlay): Make a local variable.
4707 (global-hl-line-overlays): New variable to store all overlays.
4708 (global-hl-line-mode): Don't delete overlays from the current
4709 buffer when `global-hl-line-sticky-flag' is non-nil.
4710 (global-hl-line-highlight): Add new overlays to
4711 `global-hl-line-overlays'.
4712 (global-hl-line-unhighlight-all): New function to delete all
4713 overlays when turning off `global-hl-line-mode'.
4714 This fixes Bug#16183.
4716 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * subr.el (set-transient-map): Fix nested case and docstring.
4720 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4722 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4725 2014-01-06 Daniel Colascione <dancol@dancol.org>
4727 Fix defun navigation in vc log view.
4729 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4730 like `beginning-of-defun'.
4731 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4732 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4733 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4734 (log-view-extract-comment): Call `log-view-current-entry' directly
4735 instead of relying on broken `log-view-beginning-of-defun' behavior.
4737 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4740 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4741 * emacs-lisp/debug.el (cancel-debug-on-entry):
4742 * epg.el (epg-error-to-string):
4743 * files.el (recover-file):
4744 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4745 * mail/emacsbug.el (report-emacs-bug-hook):
4746 * mail/sendmail.el (mail-recover):
4747 * ses.el (ses-yank-resize):
4748 * term/ns-win.el (ns-print-buffer):
4749 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4750 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4752 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4754 2014-01-06 Leo Liu <sdl.web@gmail.com>
4756 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4757 to avoid shadowing global key. (Bug#16354)
4759 2014-01-06 Daniel Colascione <dancol@dancol.org>
4761 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4764 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4766 * window.el (balance-windows): Add mising t to fix Bug#16351.
4768 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4770 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4772 (shr-insert): If we have a word that's longer than `shr-width',
4773 break after it anyway. Otherwise we'll do no breaking once we get
4776 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4778 * net/eww.el (eww): Support single/double quote for search.
4779 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4780 (eww-history-quit): Delete and use quit-window.
4781 (eww-history-kill): Delete, because it doesn't work well and
4783 (eww-history-mode-map): Delete some keys and add easy-menu.
4785 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4787 Fix misspelling of 'chinese' in rx (Bug#16237).
4788 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4791 Change subword regexps back to vars (Bug#16296).
4792 * progmodes/subword.el (subword-forward-regexp)
4793 (subword-backward-regexp): Change these back to variables.
4795 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4797 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4798 syntax-begin-function (bug#16247).
4800 2014-01-03 Chong Yidong <cyd@gnu.org>
4802 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4803 (advice--docstring): Delete variable.
4804 (advice--make-1): Leave the docstring empty.
4805 (advice-add): Use function-documentation for advised docstring.
4807 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4808 Ignore function-documentation property when getting documentation.
4809 (ad-activate-advised-definition): Use function-documentation
4810 generate the docstring.
4811 (ad-make-advised-definition): Don't call
4812 ad-make-advised-definition-docstring.
4813 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4816 * progmodes/sql.el (sql-help): Use function-documentation instead
4817 of dynamic-docstring-function property. No need to autoload now.
4818 (sql--help-docstring): New variable.
4819 (sql--make-help-docstring): Use it.
4821 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * ielm.el (ielm-tab): Retarget.
4824 (ielm-map): Use ielm-tab for tab.
4825 (ielm-complete-filename): Use comint-filename-completion.
4826 (ielm-complete-symbol): Remove.
4827 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4828 remove ielm-tab from completion-at-point-functions (bug#16224).
4830 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4831 Beware signals raised by predicates (bug#16201).
4833 2014-01-02 Richard Stallman <rms@gnu.org>
4835 * dired-aux.el (dired-do-print): Handle printer-name.
4837 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4838 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4839 (rmail-epa-decrypt): Turn off mime processing.
4841 * mail/rmail.el (rmail-make-in-reply-to-field):
4842 Add parens in message-id.
4844 * mail/rmail.el (rmail-get-coding-function): Variable.
4845 (rmail-get-coding-system): Use it.
4847 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4849 * international/mule-conf.el: Unify the charset indian-is13194.
4850 (indian-is13194): Specify unify-map.
4852 2013-12-31 Leo Liu <sdl.web@gmail.com>
4854 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4856 2013-12-30 Daniel Colascione <dancol@dancol.org>
4858 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4859 of printing a useless when we resume from sleep.
4861 * progmodes/sh-script.el
4862 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4863 in indentation code. (Bug#16233)
4865 2013-12-28 João Távora <joaotavora@gmail.com>
4867 * elec-pair.el (electric-pair-post-self-insert-function):
4868 Don't open extra newlines at beginning of buffer. (Bug#16272)
4870 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4872 * frame.el (window-system-for-display): Don't allow to create a
4873 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4875 2013-12-28 Glenn Morris <rgm@gnu.org>
4877 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4880 * apropos.el (apropos-match-face):
4881 * calculator.el (calculator-displayer):
4882 * dabbrev.el (dabbrev-search-these-buffers-only):
4883 * face-remap.el (buffer-face-mode-face):
4884 * simple.el (yank-handled-properties):
4885 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4886 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4887 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4888 (hashcash-double-spend-database):
4889 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4890 (ruby-deep-indent-paren-style):
4891 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4892 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4893 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4894 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4895 Specify custom types.
4897 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4898 * bookmark.el (bookmark-bmenu-use-header-line):
4899 * doc-view.el (doc-view-scale-internally):
4900 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4901 * register.el (register-preview-delay):
4902 * net/shr.el (shr-bullet):
4903 * progmodes/cfengine.el (cfengine-cf-promises)
4904 (cfengine-parameters-indent):
4905 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4906 * textmodes/reftex-vars.el (reftex-label-regexps):
4907 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4909 * net/tls.el (tls-certtool-program): Fix default value.
4911 * desktop.el (desktop-restore-in-current-display):
4912 * newcomment.el (comment-empty-lines):
4913 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4914 (idlwave-pad-keyword):
4915 * progmodes/tcl.el (tcl-tab-always-indent):
4916 * textmodes/reftex-vars.el (reftex-index-default-tag):
4917 * elec-pair.el (electric-pair-skip-whitespace):
4918 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4920 * emacs-lisp/authors.el (authors-ignored-files)
4921 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4923 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4925 * shell.el (shell-dynamic-complete-command): Doc fix.
4926 (shell--command-completion-data): Shell completion now matches
4927 executable filenames from the current buffer's directory, on
4928 systems in which this behavior is the default (windows-nt, ms-dos).
4930 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4932 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4934 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4936 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4939 * electric.el: Move all electric-pair-* to elec-pair.el.
4940 * elec-pair.el: New file, split from electric.el.
4942 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4944 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4945 indentation level is larger than the width, because that will
4947 (shr-insert): Fill repeatedly long texts, so that Japanese is
4948 formatted correctly (bug#16263).
4949 (shr-find-fill-point): Off by one error in comparison with the
4952 2013-12-26 João Távora <joaotavora@gmail.com>
4954 * electric.el (electric-pair-mode): More flexible engine for skip-
4955 and inhibit predicates, new options for pairing-related functionality.
4956 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4957 if that keeps or improves their balance in buffers.
4958 (electric-pair-delete-adjacent-pairs): Delete the pair when
4959 backspacing over adjacent matched delimiters.
4960 (electric-pair-open-extra-newline): Open extra newline when
4961 inserting newlines between adjacent matched delimiters.
4962 (electric--sort-post-self-insertion-hook):
4963 Sort post-self-insert-hook according to priority values when
4964 minor-modes are activated.
4965 * simple.el (newline-and-indent): Call newline with interactive
4967 (blink-paren-post-self-insert-function): Set priority to 100.
4968 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4969 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4970 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4971 electric-pair-open-newline-between-pairs to nil.
4973 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4975 * progmodes/python.el: Use lexical-binding.
4976 (python-nav-beginning-of-defun): Stop searching ASAP.
4978 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4980 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4981 Fix interactive spec. Doc fix. (Bug#15754)
4983 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4985 * emacs-lisp/byte-run.el (eval-when-compile):
4986 * progmodes/cc-defs.el (cc-eval-when-compile):
4987 Fix edebug spec (bug#16184).
4989 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4991 * net/shr.el (shr-visit-file): Remove debugging function.
4992 (shr-insert): Don't infloop if we can't find a good place to break
4993 the line (bug#16256).
4995 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4997 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4998 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4999 python-nav-lisp-forward-sexp-safe.
5000 (python-nav--forward-sexp): New argument SAFE allows switching
5001 forward sexp movement behavior for parens.
5002 (python-nav-forward-sexp): Throw errors on unterminated parens
5004 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5005 (python-nav-backward-sexp-safe): New functions.
5006 (python-shell-buffer-substring):
5007 Use `python-nav-forward-sexp-safe'.
5009 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5011 * net/shr.el (shr-find-fill-point): Don't break lines before a
5013 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5014 (shr-find-fill-point): Remove the special checks for the quotation
5015 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5017 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5019 * net/eww.el (eww-form-textarea): Use a different face for
5020 textareas than text input since they have different keymaps
5023 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5025 * progmodes/python.el (python-nav-beginning-of-statement):
5026 Speed up (Bug#15295).
5028 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5030 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5031 the window configuration.
5033 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5035 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5036 we run on MS-Windows or MS-DOS.
5038 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5040 * window.el (balance-windows-area): Call window-size instead of
5041 window-height and window-width. Bug#16241.
5043 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5045 * net/eww.el (eww-bookmark-quit): Remove.
5046 (eww-bookmark-browse): Restore the window configuration when you
5047 choose a bookmark (bug#16144).
5049 2013-12-24 Daniel Colascione <dancol@dancol.org>
5051 * icomplete.el: Remove redundant :group arguments to `defcustom'
5053 (icomplete-show-matches-on-no-input): New customizable variable.
5054 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5055 we have something to show.
5056 (icomplete-exhibit): Compute completions even if we have no user input.
5058 2013-12-23 Daniel Colascione <dancol@dancol.org>
5060 * icomplete.el: Move `provide' to end of file.
5062 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5064 * net/gnutls.el (gnutls-verify-error): Add version tag.
5066 2013-12-23 Chong Yidong <cyd@gnu.org>
5068 * subr.el (set-transient-map): Rename from
5069 set-temporary-overlay-map. Doc fix.
5071 * face-remap.el (text-scale-adjust):
5072 * indent.el (indent-rigidly):
5073 * kmacro.el (kmacro-call-macro):
5074 * minibuffer.el (minibuffer-force-complete):
5075 * repeat.el (repeat):
5076 * simple.el (universal-argument--mode):
5077 * calendar/todo-mode.el (todo-insert-item--next-param):
5078 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5080 * indent.el (indent-rigidly): Use substitute-command-keys.
5082 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5084 * net/eww.el (eww-tag-select): Add text-property to jump to next
5086 (eww): Add non-supported ftp error.
5088 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5090 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5091 comments. Handle electric indent after typing `?' and `!'.
5093 2013-12-22 Chong Yidong <cyd@gnu.org>
5095 * faces.el (face-spec-recalc): If the theme specs are not
5096 applicable to a frame, fall back on the defface spec.
5097 This prevents themes from obliterating faces on low-color terminals.
5099 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5101 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5102 after `{'. We need it after block openers, and it doesn't seem
5103 to hurt after hash openers.
5105 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5107 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5108 extracted from `ruby-smie-rules'.
5109 (ruby--electric-indent-chars): New variable.
5110 (ruby--electric-indent-p): New function.
5111 (ruby-mode): Use `electric-indent-functions' instead of
5112 `electric-indent-chars'.
5114 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5116 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5118 (ruby-smie-rules): Indent plus one level after `=>'.
5120 2013-12-21 Richard Stallman <rms@gnu.org>
5122 * simple.el (newline): Doc fix.
5124 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5126 * net/eww.el (eww-list-histories, eww-list-histories)
5127 (eww-history-browse, eww-history-quit, eww-history-kill)
5128 (eww-history-mode-map, eww-history-mode): New command and
5129 functions to list browser histories.
5130 (eww-form-text): Support text form with disabled
5131 and readonly attributes.
5132 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5134 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5136 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5137 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5138 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5139 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5141 (eww-bookmark-mode-map): Add menu.
5142 (eww-render, eww-mode): Use `setq-local'.
5143 (eww-tool-bar-map): New variable.
5144 (eww-mode): Set `tool-bar-map'.
5145 (eww-view-source): Check for `html-mode' with `fboundp'.
5147 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5149 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5150 elements with text inside. Also remove debugging.
5152 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5154 * cus-start.el (all): Add ns-use-srgb-colorspace.
5156 2013-12-21 Chong Yidong <cyd@gnu.org>
5158 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5159 undefined. Thus, theme settings for undefined faces do not take
5160 effect until the faces are defined with defface, the same as with
5163 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5164 (face-spec-reset-face): Don't assign extra properties in temacs.
5165 (face-spec-recalc): Apply X resources too.
5167 2013-12-21 Chong Yidong <cyd@gnu.org>
5169 * faces.el (face-spec-set):
5170 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5171 * custom.el (defface): Doc fixes (Bug#16203).
5173 * indent.el (indent-rigidly-map): Add docstring, and move commands
5174 into named functions.
5175 (indent-rigidly-left, indent-rigidly-right)
5176 (indent-rigidly-left-to-tab-stop)
5177 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5178 indentation direction based on bidi direction, and accumulate
5179 sequential commands in a single undo boundary.
5180 (indent-rigidly--pop-undo): New utility function.
5182 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5184 * faces.el (read-face-name): Require crm.el when using crm-separator.
5186 2013-12-20 Daniel Colascione <dancol@dancol.org>
5188 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5189 so that we don't reflow comments into the shebang line.
5191 2013-12-20 Juri Linkov <juri@jurta.org>
5193 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5194 a position when `dired-directory' is non-nil. Check integer
5195 positions with `integerp'.
5196 (toggle-save-place, save-places-to-alist): Add check for
5198 (save-place-find-file-hook): Check integer positions with
5200 (save-place-dired-hook): Use `dired-goto-file' when
5201 `dired-filename' is found in the assoc list. Check integer
5202 positions with `integerp'.
5203 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5205 * dired.el (dired-initial-position-hook): Rename back from
5206 `dired-initial-point-hook'.
5207 (dired-initial-position): Rename `dired-initial-point-hook' to
5208 `dired-initial-position-hook'.
5209 (dired-file-name-at-point): Doc fix. (Bug#15329)
5211 2013-12-20 Juri Linkov <juri@jurta.org>
5213 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5214 (read-regexp-suggestions): New function.
5215 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5216 Use `read-regexp-suggestions'. Add non-empty default to history
5218 (occur-read-regexp-defaults-function): Remove function.
5219 (occur-read-primary-args): Use `regexp-history-last' instead of
5220 `occur-read-regexp-defaults-function'.
5222 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5223 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5224 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5225 `hi-lock-read-regexp-defaults-function'. Doc fix.
5226 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5227 with `find-tag-default-as-symbol-regexp'. Doc fix.
5228 (hi-lock-read-regexp-defaults): Remove function.
5229 (hi-lock-regexp-okay): Add check for null.
5231 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5232 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5234 * subr.el (find-tag-default-as-symbol-regexp): New function.
5235 (find-tag-default-as-regexp): Move symbol regexp formatting to
5236 `find-tag-default-as-symbol-regexp'.
5238 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5240 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5243 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5245 * calendar/todo-mode.el: New implementation of item insertion
5246 commands and key bindings.
5247 (todo-key-prompt): New face.
5248 (todo-insert-item): New command.
5249 (todo-insert-item--parameters): New defconst, replacing defvar
5250 todo-insertion-commands-args-genlist.
5251 (todo-insert-item--param-key-alist): New defconst, replacing
5252 defvar todo-insertion-commands-arg-key-list.
5253 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5254 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5255 (todo-insert-item--next-param): New functions.
5256 (todo-insert-item--args, todo-insert-item--argleft)
5257 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5259 (todo-key-bindings-t): Change binding of "i" from
5260 todo-insertion-map to todo-insert-item.
5261 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5262 (todo-insertion-command-name, todo-insertion-commands-names)
5263 (todo-define-insertion-command, todo-insertion-commands)
5264 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5266 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5268 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5269 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5271 (todo-move-category): Allow choosing a non-existing todo file to
5272 move the category to, and create that file.
5273 (todo-default-priority): New user option.
5274 (todo-set-item-priority): Use it.
5275 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5276 (desktop-restore-file-buffer): Declare.
5277 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5278 (todo-modes-set-2): Locally set desktop-save-buffer to
5279 todo-desktop-save-buffer.
5280 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5281 (auto-mode-alist): Add autoload cookie.
5283 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5285 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5286 helpers.el was a poor choice of name.
5287 (string-remove-prefix): New function.
5288 (string-remove-suffix): New function.
5290 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5292 Fix assignment for new window total sizes.
5293 * window.el (window--pixel-to-size): Remove function.
5294 (window--pixel-to-total-1, window--pixel-to-total):
5295 Fix calculation of new total sizes.
5297 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5299 * comint.el (comint-output-filter): Fix rear-nonsticky property
5300 placement (Bug#16010).
5302 2013-12-20 Chong Yidong <cyd@gnu.org>
5304 * faces.el (read-color): Minor fix for completion function.
5306 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5308 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5309 New option. (Bug#16182)
5310 (ruby-smie--indent-to-stmt-p): Use it.
5311 (ruby-smie-rules): Revert the logic in the handling of `when'.
5312 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5313 (ruby-deep-arglist, ruby-deep-indent-paren)
5314 (ruby-deep-indent-paren-style): Update docstrings to note that the
5315 vars don't have any effect with SMIE.
5317 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5319 * calc/calc.el (calc-enter, calc-pop): Use the variable
5320 `calc-context-sensitive-enter'.
5322 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5324 * net/shr.el (shr-insert): Protect against infloops in degenerate
5327 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5329 * progmodes/octave.el (octave): Add link to manual and octave
5331 (octave-mode-menu): Link to octave-mode manual.
5333 2013-12-20 Leo Liu <sdl.web@gmail.com>
5335 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5336 insertion using skeleton-end-newline. (Bug#16138)
5338 2013-12-20 Juri Linkov <juri@jurta.org>
5340 * replace.el (occur-engine): Use `add-face-text-property'
5341 to add the face property to matches and titles. (Bug#14645)
5343 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5344 the palette of other hi-lock colors.
5345 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5347 2013-12-19 Juri Linkov <juri@jurta.org>
5349 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5350 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5351 (minibuffer-history-symbol): Move variable declaration closer to
5354 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5357 2013-12-19 Juri Linkov <juri@jurta.org>
5359 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5361 (log-edit-hook): Add it to :options. (Bug#16170)
5363 2013-12-19 Juri Linkov <juri@jurta.org>
5365 * simple.el (eval-expression-print-format): Don't check for
5366 command names and the last command. Always display additional
5367 formats of the integer result in the echo area, and insert them
5368 to the current buffer only with a zero prefix arg.
5369 Display character when char-displayable-p is non-nil.
5370 (eval-expression): With a zero prefix arg, set `print-length' and
5371 `print-level' to nil, and insert the integer values from
5372 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5374 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5375 `eval-last-sexp-arg-internal'. Doc fix.
5376 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5377 `eval-last-sexp-print-value'. Doc fix.
5378 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5379 Set `print-length' and `print-level' to nil when arg is zero.
5380 (eval-last-sexp): Doc fix.
5381 (eval-defun-2): Print the integer values from
5382 `eval-expression-print-format' at the end.
5384 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5385 values from `eval-expression-print-format' at the end.
5387 * ielm.el (ielm-eval-input): Print the integer
5388 values from `eval-expression-print-format' at the end.
5390 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5392 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5393 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5395 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5398 (hl-line-highlight, global-hl-line-highlight): Use it.
5399 (hl-line-overlay): Use defvar-local.
5401 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5403 * term/ns-win.el: Require dnd.
5404 (global-map): Remove drag items.
5405 (ns-insert-text, ns-set-foreground-at-mouse)
5406 (ns-set-background-at-mouse):
5407 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5408 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5411 2013-12-19 Glenn Morris <rgm@gnu.org>
5413 * emacs-lisp/ert.el (ert-select-tests):
5414 Fix string/symbol mixup. (Bug#16121)
5416 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5418 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5419 keywords to their parent.
5421 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5423 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5424 first arg to be a string (fixed dead code), or an operator symbol.
5425 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5427 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5428 did nothing. Don't respond to `(:after ".")', it will be called
5429 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5430 change anything. Only return indentation for binary operators
5431 when they are hanging. De-dent opening paren when its parent is
5432 `.', otherwise it looks bad when the dot is not at bol or eol
5435 2013-12-19 Juri Linkov <juri@jurta.org>
5437 * replace.el (query-replace-read-args): Split a non-negative arg
5438 and a negative arg into separate elements.
5439 (query-replace, query-replace-regexp, replace-string)
5440 (replace-regexp): Add arg `backward'. Doc fix.
5441 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5442 move point to the beginning of the match.
5443 (replace-search, replace-highlight): Use new arg `backward'
5444 to set the value of `isearch-forward'.
5445 (perform-replace): Add arg `backward' and use it to perform
5446 replacement backward. (Bug#14979)
5448 * isearch.el (isearch-query-replace): Use a negative prefix arg
5449 to call `perform-replace' with a non-nil arg `backward'.
5451 2013-12-18 Juri Linkov <juri@jurta.org>
5453 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5454 to the default list. Move `log-edit-show-files' to the end.
5455 Add more available functions to options.
5456 (log-edit): Move default specific settings to
5457 `log-edit-insert-message-template'. Don't move point.
5458 (log-edit-insert-message-template): New function.
5459 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5462 2013-12-18 Juri Linkov <juri@jurta.org>
5464 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5465 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5467 2013-12-18 Leo Liu <sdl.web@gmail.com>
5469 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5472 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5474 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5475 formats for displaying file sizes when the -s switch is given.
5476 Instead, compute a separate format for displaying the size in
5477 blocks, which is displayed in addition to the "regular" size.
5478 When -h is given in addition to -s, produce size in blocks in
5479 human-readable form as well. (Bug#16179)
5481 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5483 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5484 Reference tables with ~\ref{...} instead of only \ref{...}.
5486 2013-12-18 Chong Yidong <cyd@gnu.org>
5488 * cus-edit.el (custom-magic-alist): Fix "themed" description
5491 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5492 is non-nil, do not create a new entry in the symbol's theme-value
5493 or theme-face property; update theme-settings only (Bug#14664).
5494 (custom-available-themes): Doc fix.
5496 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5499 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5501 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5503 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5506 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5508 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5510 2013-12-18 Glenn Morris <rgm@gnu.org>
5512 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5513 * cus-start.el (load-prefer-newer): New option.
5515 2013-12-18 Le Wang <l26wang@gmail.com>
5517 * comint.el (comint-previous-matching-input-from-input):
5518 Retain point (Bug#13404).
5520 2013-12-18 Chong Yidong <cyd@gnu.org>
5522 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5524 2013-12-18 Glenn Morris <rgm@gnu.org>
5526 * mail/emacsbug.el (report-emacs-bug):
5527 Only mention enable-multibyte-characters if non-standard.
5529 2013-12-17 Juri Linkov <juri@jurta.org>
5531 * arc-mode.el (archive-extract-by-file): Check if directory exists
5532 before deletion to not show irrelevant errors if it doesn't exist.
5534 2013-12-17 Juri Linkov <juri@jurta.org>
5536 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5539 * net/eww.el (browse-web): Add alias to `eww'.
5540 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5541 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5543 * net/browse-url.el (browse-url-browser-function): Move `eww'
5544 closer to similar functions.
5546 * startup.el (fancy-startup-screen, fancy-about-screen):
5547 Set browse-url-browser-function to eww-browse-url locally.
5550 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * window.el (window--pixel-to-total): Remove unused `mini' var.
5553 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5554 (split-window): Remove unused `new' var.
5555 (window--display-buffer): Remove unused `frame' and `delta' vars.
5556 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5559 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5561 * dired.el (dired-mark-pop-up):
5562 * register.el (register-preview): Don't bind
5563 split-height-threshold here since it's now done in
5564 display-buffer-below-selected.
5566 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5568 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5569 xterm-rgb-convert-to-16bit.
5570 (rxvt-register-default-colors): Standardize with
5571 xterm-register-default-colors (Bug#14078).
5573 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5575 * simple.el (kill-region): Pass mark first, then point, so that
5576 kill-append works right (Bug#12819).
5577 (copy-region-as-kill, kill-ring-save): Likewise.
5579 2013-12-17 Leo Liu <sdl.web@gmail.com>
5581 * net/rcirc.el (rcirc-add-face):
5582 * eshell/em-prompt.el (eshell-emit-prompt):
5583 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5586 2013-12-17 Chong Yidong <cyd@gnu.org>
5588 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5589 Suggested by Xue Fuqiao.
5591 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5593 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5595 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5597 * net/shr.el (shr-insert-document): Remove unused var
5598 `shr-preliminary-table-render'.
5599 (shr-rescale-image): Remove unused arg `force'.
5600 (shr-put-image): Update calls accordingly.
5601 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5603 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5605 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5606 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5607 :close-all, to see which indentation method to use (Bug#16116).
5608 (smie-rules-function): Document the method :close-all.
5610 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5612 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5614 * net/eww.el (eww-display-html): If we can't find the anchor we're
5615 looking for, then go to point-min.
5617 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5619 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5620 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5621 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5622 Expand dir too, in case it's relative.
5624 2013-12-16 Juri Linkov <juri@jurta.org>
5626 * desktop.el (desktop-auto-save-timeout): Change default to
5627 `auto-save-timeout'. Doc fix.
5628 (desktop-save): Skip the timestamp in desktop-saved-frameset
5629 when checking for auto-save changes.
5630 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5631 `desktop-auto-save' is called repeatedly by the idle timer.
5632 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5633 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5636 2013-12-16 Juri Linkov <juri@jurta.org>
5638 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5640 (isearch-pre-command-hook): Check `this-command' for symbolp.
5642 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5644 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5646 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5648 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5649 (cfengine3--current-function): Bring in the current-function
5650 functionality from `cfengine3--current-word'.
5651 (cfengine3-completion-function): Bring in the
5652 bounds-of-current-word functionality from
5653 `cfengine3--current-word'.
5655 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5657 * window.el (display-buffer-below-selected):
5658 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5660 2013-12-16 Leo Liu <sdl.web@gmail.com>
5662 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5663 Remove NOMSG arg and all uses changed.
5665 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5667 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5668 (cua--deactivate-rectangle): Don't deactivate the mark.
5669 (cua-set-rectangle-mark): Don't set mark-active since
5670 cua--activate-rectangle already does it for us.
5671 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5672 non-rectangular region.
5674 * emulation/cua-base.el (cua-repeat-replace-region):
5675 Use with-current-buffer.
5677 * net/gnutls.el: Use cl-lib.
5678 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5680 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5682 * emacs-lisp/package.el (package-built-in-p): Support both
5683 built-in and the package.el converted package descriptions.
5684 (package-show-package-list): Allow keywords.
5685 (package-keyword-button-action): Use it instead of
5686 `finder-list-matches'.
5687 (package-menu-filter-interactive): Interactive filtering (by
5689 (package-menu--generate): Support keywords and change keymappings
5690 and headers when they are given.
5691 (package--has-keyword-p): Helper function.
5692 (package-menu--refresh): Use it.
5693 (package--mapc): Helper function.
5694 (package-all-keywords): Use it.
5695 (package-menu-mode-map): Set up menu items and keybindings to
5696 provide a filtering UI.
5698 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5700 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5701 the behavior when a certificate fails validation. Defaults to
5702 old behavior: never abort, just warn.
5703 (gnutls-negotiate): Use it.
5705 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5707 * window.el (display-buffer-below-selected): Never split window
5708 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5710 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5712 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5713 (package-buffer-info): Use it (bug#15108).
5715 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * icomplete.el (icomplete-completions): Make sure the prefix is already
5718 displayed elsewhere before hiding it (bug#16219).
5720 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5722 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5723 open-paren tokens when preceded by a open-paren, too.
5724 (ruby-smie-rules): Handle virtual indentation after open-paren
5725 tokens specially. If there is code between it and eol, return the
5726 column where is starts (Bug#16118).
5728 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5730 * progmodes/cfengine.el: Fix `add-hook' doc.
5731 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5732 (cfengine3--current-word): Fix parameters.
5733 (cfengine3-make-syntax-cache): Simplify further.
5734 (cfengine3-completion-function, cfengine3--current-function):
5735 Use `assq' for symbols.
5736 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5738 2013-12-13 Glenn Morris <rgm@gnu.org>
5740 * loadup.el (load-path): Warn if site-load or site-init changes it.
5741 No more need to reset it when bootstrapping.
5743 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5745 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5746 locations for cf-promises.
5747 (cfengine-mode-syntax-functions-regex): New caching variable.
5748 (cfengine3-fallback-syntax): Fallback syntax for cases where
5749 cf-promises doesn't run.
5750 (cfengine3--current-word): Reimplement using
5751 `cfengine-mode-syntax-functions-regex'.
5752 (cfengine3-completion-function, cfengine3--current-function):
5753 Use `cfengine3-make-syntax-cache' directly.
5754 (cfengine3-clear-syntax-cache): New function.
5755 (cfengine3-make-syntax-cache): Simplify and create
5756 `cfengine-mode-syntax-functions-regex' on demand.
5757 (cfengine3-format-function-docstring): Don't call
5758 `cfengine3-make-syntax-cache' explicitly.
5760 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5762 Fix windmove-find-other-window broken after pixelwise resizing
5764 * windmove.el (windmove-other-window-loc): Revert change from
5766 (windmove-find-other-window): Call window-in-direction.
5767 * window.el (window-in-direction): New arguments SIGN, WRAP and
5768 MINI to emulate original windmove-find-other-window behavior.
5770 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5772 * simple.el (blink-matching--overlay): New variable.
5773 (blink-matching-open): Instead of moving point, highlight the
5774 matching paren with an overlay
5775 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5777 * faces.el (paren-showing-faces, show-paren-match)
5778 (show-paren-mismatch): Move from paren.el.
5780 2013-12-13 Leo Liu <sdl.web@gmail.com>
5782 * indent.el (indent-region): Disable progress reporter in
5783 minibuffer. (Bug#16108)
5785 * bindings.el (visual-order-cursor-movement): Fix version.
5787 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5789 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5790 Also match after beginning of line.
5791 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5792 files. Thanks to Russell Sim. (Bug#15378)
5794 2013-12-13 Juri Linkov <juri@jurta.org>
5796 * simple.el <Keypad support>: Remove key bindings duplicated
5797 with bindings.el. (Bug#14397)
5799 2013-12-13 Juri Linkov <juri@jurta.org>
5801 * comint.el (comint-mode-map): Replace `delete-char' with
5802 `delete-forward-char'. (Bug#16109)
5804 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5806 * progmodes/python.el (python-indent-calculate-indentation):
5807 Fix de-denters cornercase. (Bug#15731)
5809 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5812 (advice--make): Pay attention to `depth'.
5813 (advice--make-1): Don't autoload commands eagerly.
5814 * emacs-lisp/elp.el (elp-instrument-function):
5815 * emacs-lisp/trace.el (trace-function-internal):
5816 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5818 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5820 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5822 * term/w32-win.el (w32-handle-dropped-file):
5823 * startup.el (normal-top-level):
5824 * net/browse-url.el (browse-url-file-url):
5825 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5826 decode file names using 'utf-8' rather than
5827 file-name-coding-system.
5829 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5831 * progmodes/python.el (python-indent-context)
5832 (python-indent-calculate-indentation): Fix auto-identation
5833 behavior for comment blocks. (Bug#15916)
5835 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5837 * progmodes/python.el (python-indent-calculate-indentation):
5838 When determining indentation, don't treat "return", "pass", etc., as
5839 operators when they are just string constituents. (Bug#15812)
5841 2013-12-12 Juri Linkov <juri@jurta.org>
5843 * uniquify.el (uniquify-buffer-name-style): Change default to
5844 `post-forward-angle-brackets'.
5846 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5847 `uniquify'. Change default to `post-forward-angle-brackets'.
5849 2013-12-11 Glenn Morris <rgm@gnu.org>
5851 * emacs-lisp/package.el (finder-list-matches):
5852 Autoload rather than falsely declaring.
5854 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5856 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5857 (eww-mode-map): Use them.
5859 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5861 * window.el (display-buffer-in-side-window): Fix doc-string
5864 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5866 * vc/vc-git.el: Silence byte-compiler warnings.
5867 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5868 (log-edit-set-header): Declare.
5870 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5872 * Makefile.in (custom-deps, finder-data): Run output file names
5873 through unmsys--file-name. (Bug#16099)
5875 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5877 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5878 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5880 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5881 instead of deleting the selection "by hand" (bug#16098).
5882 Rely on insert-for-yank to yank rectangles.
5883 (cua-highlight-region-shift-only): Mark obsolete.
5884 (cua-mode): Don't enable/disable transient-mark-mode,
5885 shift-select-mode (cua-mode works both with and without them), and
5886 pc-selection-mode (obsolete).
5887 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5888 (cua--deactivate-rectangle): Deactivate it.
5890 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5891 (delete-selection-helper): Make sure yank starts at the top of the
5893 (minibuffer-keyboard-quit): Use region-active-p.
5895 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5897 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5898 to `delete' (bug#16109).
5900 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5902 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5903 info manual and show keybindings and set `:group' keyword.
5905 2013-12-11 Juri Linkov <juri@jurta.org>
5907 * delsel.el (delete-active-region): Let-bind `this-command'
5908 to prevent `kill-region' from changing its original value.
5909 (delete-selection-helper): Handle `overwrite-mode' for the type
5910 `kill' exactly the same way as for the type `t'.
5911 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5912 Support more commands. (Bug#13312)
5914 2013-12-11 Juri Linkov <juri@jurta.org>
5916 * bindings.el: Map kp keys to non-kp keys systematically
5917 with basic modifiers control, meta and shift. (Bug#14397)
5919 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5921 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5922 "Close browser" menu items. Fix wrong function of "List
5925 2013-12-11 Juri Linkov <juri@jurta.org>
5927 * misearch.el (multi-isearch-buffers): Set the value of
5928 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5929 arg of isearch-forward to t.
5930 (multi-isearch-buffers-regexp): Set the value of
5931 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5932 arg of isearch-forward-regexp to t.
5933 (multi-isearch-files): Set the value of
5934 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5935 arg of isearch-forward to t.
5936 (multi-isearch-files-regexp): Set the value of
5937 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5938 arg of isearch-forward-regexp to t. (Bug#16035)
5940 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5941 arg of isearch-forward to t.
5942 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5943 arg of isearch-forward-regexp to t.
5944 (dired-isearch-filter-filenames): Remove unnecessary check for
5945 `dired-isearch-filenames'.
5947 * comint.el (comint-history-isearch-backward):
5948 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5949 (comint-history-isearch-backward-regexp):
5950 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5952 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5954 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5955 unmsys--file-name. (Bug#16099)
5957 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5959 * emacs-lisp/package.el (package-keyword-button-action):
5960 Remove finder.el require dependency.
5962 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5964 * emacs-lisp/package.el: Require finder.el.
5965 (describe-package-1): Add keyword buttons.
5966 (package-make-button): New convenience function.
5967 (package-keyword-button-action): Keyword button action using
5968 `finder-list-matches'.
5970 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5972 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5975 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5977 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5980 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5982 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5983 after the end of a percent literal.
5985 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5987 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5988 Handle caret-delimited strings (Bug#16079).
5990 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5992 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5993 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5994 `ruby-parse-partial' (Bug#16078).
5996 2013-12-09 Leo Liu <sdl.web@gmail.com>
5998 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6000 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6002 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6003 (js-switch-indent-offset): New option.
6004 (js--proper-indentation): Use it. And handle the case when
6005 "default" is actually a key in an object literal.
6006 (js--same-line): New function.
6007 (js--multi-line-declaration-indentation): Use it.
6008 (js--indent-in-array-comp, js--array-comp-indentation):
6010 (js--proper-indentation): Use them, to handle array comprehension
6013 2013-12-08 Leo Liu <sdl.web@gmail.com>
6015 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6016 (flymake-make-overlay): Remove arg MOUSE-FACE.
6017 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6019 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6021 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6023 (redisplay-highlight-region-function): Use it.
6025 * emulation/cua-base.el (cua--explicit-region-start)
6026 (cua--last-region-shifted): Remove.
6027 (cua--deactivate): Use deactivate-mark.
6028 (cua--pre-command-handler-1): Don't handle shift-selection.
6029 (cua--post-command-handler-1): Don't change transient-mark-mode.
6030 (cua--select-keymaps): Use region-active-p rather than
6031 cua--explicit-region-start or cua--last-region-shifted.
6032 (cua-mode): Enable shift-select-mode.
6034 2013-12-08 Leo Liu <sdl.web@gmail.com>
6036 * progmodes/flymake.el (flymake-popup-current-error-menu):
6037 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6038 (flymake-posn-at-point-as-event, flymake-popup-menu)
6039 (flymake-make-emacs-menu): Remove. (Bug#16077)
6041 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * rect.el (rectangle-mark-mode): Activate mark even if
6044 transient-mark-mode is off (bug#16066).
6045 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6046 is > mark and at bolp.
6048 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6049 (region-extract-function): Use it.
6050 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6051 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6053 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6054 kill-ring-save, kill-region, delete-char, delete-forward-char.
6055 Ignore self-insert-iso.
6057 * emulation/cua-gmrk.el (cua--init-global-mark):
6058 Ignore `self-insert-iso'.
6060 * emulation/cua-base.el (cua--prefix-copy-handler)
6061 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6062 checking cua--rectangle.
6063 (cua-delete-region): Use region-extract-function.
6064 (cua-replace-region): Delete function.
6065 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6066 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6067 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6068 (cua--init-keymaps): Don't remap delete-selection commands.
6069 (cua-mode): Use delete-selection-mode instead of rolling our own
6072 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6073 Obey region-extract-function.
6075 Make registers and delete-selection-mode work on rectangles.
6076 * register.el (describe-register-1): Don't modify the register's value.
6077 (copy-to-register): Obey region-extract-function.
6078 * delsel.el (delete-active-region): Obey region-extract-function.
6080 2013-12-08 Leo Liu <sdl.web@gmail.com>
6082 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6083 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6084 (flymake-compilation-prevents-syntax-check)
6085 (flymake-start-syntax-check-on-newline)
6086 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6087 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6088 (flymake-xml-program, flymake-master-file-dirs)
6089 (flymake-master-file-count-limit)
6090 (flymake-allowed-file-name-masks): Relocate.
6091 (flymake-makehash, flymake-float-time)
6092 (flymake-replace-regexp-in-string, flymake-split-string)
6093 (flymake-get-temp-dir): Remove.
6094 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6095 (flymake-current-row, flymake-selected-frame)
6096 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6097 related functions. (Bug#16077)
6099 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6101 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6103 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6105 * help-fns.el (describe-function-1): Use new advice-* functions
6106 rather than old ad-* functions. Fix function type description and
6107 source links for advised functions and subrs.
6109 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6111 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6113 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6115 * progmodes/compile.el (compilation-start):
6116 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6118 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6119 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6121 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6123 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6124 Touch up the last change.
6126 2013-12-06 Leo Liu <sdl.web@gmail.com>
6128 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6129 (inferior-octave-startup): Always use "octave> " for prompt.
6130 (octave-goto-function-definition)
6131 (octave-sync-function-file-names)
6132 (octave-find-definition-default-filename): Remove redundant backquotes.
6134 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6136 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6138 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6139 where appropriate already.
6140 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6141 end of method names (Bug#15874).
6143 2013-12-06 Juri Linkov <juri@jurta.org>
6145 * isearch.el (isearch--saved-overriding-local-map):
6146 New internal variable.
6147 (isearch-mode): Set it to the initial value of
6148 `overriding-terminal-local-map'.
6149 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6150 with `isearch--saved-overriding-local-map'. (Bug#16035)
6152 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6154 * progmodes/octave.el (inferior-octave-completion-table):
6155 Turn back into function, use `completion-table-with-cache'
6156 (Bug#11906). Update all references.
6158 * minibuffer.el (completion-table-with-cache): New function.
6160 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6162 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6164 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6166 * net/eww.el (eww-current-source): New variable to store page
6168 (eww-display-html, eww-mode, eww-save-history)
6169 (eww-restore-history): Use it.
6170 (eww-view-source): New command to view page source.
6171 Opportunistically uses `html-mode' to highlight the buffer.
6172 (eww-mode-map): Install it.
6174 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6176 * net/dbus.el (dbus-unregister-service)
6177 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6179 (dbus-unregister-service): Skip :serial entries in
6180 `dbus-registered-objects-table'.
6181 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6183 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6185 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6186 around keywords with extra `split-string' argument.
6188 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6190 * windmove.el (windmove-other-window-loc): Handle navigation
6191 between windows (excluding the minibuffer window - Bug#16017).
6193 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6195 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6196 in D-Bus type syntax.
6197 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6198 preserve unibyte strings. (Bug#16048)
6200 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6203 Call force-mode-line-update is the proper buffer (bug#16042).
6205 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6207 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6208 `log-edit-remember-comment', make argument optional. Adjust all
6210 (log-edit-mode): Add `log-edit-remember-comment' to
6211 `kill-buffer-hook' locally.
6212 (log-edit-kill-buffer): Don't remember comment explicitly since
6213 the buffer is killed anyway.
6215 2013-12-04 Juri Linkov <juri@jurta.org>
6217 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6218 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6220 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6222 * notifications.el (notifications-close-notification): Call the
6223 D-Bus method with ID being a `:uint32'. (Bug#16030)
6225 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6227 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6229 2013-12-03 Juri Linkov <juri@jurta.org>
6231 * progmodes/compile.el (compilation-start): Rename window alist
6232 entry `no-display-ok' to `allow-no-window'.
6234 * simple.el (shell-command): Add window alist entry
6235 `allow-no-window' to `display-buffer'.
6236 (async-shell-command): Doc fix.
6238 * window.el (display-buffer-no-window): New action function.
6239 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6241 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6243 * vc/log-edit.el (log-edit-set-header): Extract from
6244 `log-edit-toggle-header'.
6245 (log-edit-extract-headers): Separate the summary, when extracted
6246 from header, from the rest of the message with an empty line.
6248 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6249 line, if present, to the Summary header.
6251 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6253 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6254 in current-buffer (bug#16029).
6256 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6258 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6259 (debugger-mode-map): Bind it.
6260 (debugger--backtrace-base): New function.
6261 (debugger-eval-expression): Use it.
6262 (debugger-frame-number): Skip local vars when present.
6263 (debugger--locals-visible-p, debugger--insert-locals)
6264 (debugger--show-locals, debugger--hide-locals): New functions.
6266 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6268 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6270 (tramp-get-remote-locale): New defun.
6271 (tramp-open-connection-setup-interactive-shell): Use it.
6273 2013-12-02 Leo Liu <sdl.web@gmail.com>
6275 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6277 * progmodes/sh-script.el (sh-shell-process):
6278 * progmodes/octave.el (inferior-octave-process-live-p):
6279 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6280 (gdb-inferior-io-sentinel):
6281 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6283 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6285 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6286 `save-selected-window' to `log-edit-hide-buf'. This makes
6287 `log-edit-show-files' idempotent.
6288 (log-edit-show-files): Mark the new window as dedicated.
6290 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6292 * vc/log-edit.el (log-edit-mode-map): Add binding for
6293 `log-edit-kill-biffer'.
6294 (log-edit-hide-buf): Add a FIXME comment.
6295 (log-edit-add-new-comment): New function, extracted from
6297 (log-edit-done, log-edit-add-to-changelog): Use it.
6298 (log-edit-kill-buffer): New command.
6300 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6302 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6303 instead of killing the buffer.
6305 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6307 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6309 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6311 * net/eww.el (eww-form-checkbox-selected-symbol)
6312 (eww-form-checkbox-symbol): New customizable variable.
6313 (eww-form-checkbox, eww-toggle-checkbox):
6314 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6316 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6317 (shr--get-media-pref, shr--extract-best-source): New function.
6318 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6319 no :src tag was specified.
6321 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6322 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6323 Use \\` to match beginning of string instead of ^.
6324 (eww-browse-with-external-browser): Provide optional URL parameter.
6325 (eww-render): Set `eww-current-title' back to "".
6327 * net/shr.el (shr-tag-video): Display content for video if no
6328 poster is available.
6329 (shr-tag-audio): Add support for <audio> tag.
6331 * net/eww.el (eww-text-input-types): New const.
6332 (eww-process-text-input): Treat input types in
6333 `eww-text-input-types' as text.
6335 * net/shr.el (shr-tag-table): Fix comment typo.
6337 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6339 * net/eww.el (eww-follow-link): New command to avoid reloading
6340 pages when we follow #target links (bug#15243).
6341 (eww-quit): Special mode buffers shouldn't query before exiting.
6343 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6345 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6348 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6350 * net/eww.el (eww-restore-history): Update the window title after
6351 moving in the history.
6352 (eww-current-dom): New variable used to save the current DOM.
6354 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6356 * vc/log-edit.el (log-edit-mode-map): Add binding for
6357 `log-edit-beginning-of-line'.
6358 (log-edit-setup-add-author): New user option.
6359 (log-edit-beginning-of-line): New command.
6360 (log-edit): Move major mode call above the contents setup so that
6361 the local variable values are already applied.
6362 (log-edit): Only insert "Author: " when
6363 `log-edit-setup-add-author' is non-nil.
6364 (log-edit): When SETUP is non-nil, position point after ": "
6365 instead of point-min.
6367 2013-12-01 Glenn Morris <rgm@gnu.org>
6369 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6371 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6373 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6374 redisplay to make sure the initial frame gets a chance to become
6375 visible. (Bug#16014)
6377 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6379 Support resizing frames and windows pixelwise.
6380 * cus-start.el (frame-resize-pixelwise)
6381 (window-resize-pixelwise): New entries.
6382 * emacs-lisp/debug.el (debug): Use window-total-height instead
6383 of window-total-size.
6384 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6385 * help.el (describe-bindings-internal): Use help-buffer as
6386 argument for with-help-window.
6387 (temp-buffer-max-width): New option.
6388 (resize-temp-buffer-window, help-window-setup)
6389 (with-help-window): Rewrite.
6390 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6392 * window.el (frame-char-size, window-min-pixel-height)
6393 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6394 (window-min-pixel-width, window-safe-min-pixel-size)
6395 (window-combination-p, window-safe-min-size)
6396 (window-resizable-p, window--size-to-pixel)
6397 (window--pixel-to-size, window--resize-apply-p): New functions.
6398 (window-safe-min-height): Fix doc-string.
6399 (window-size, window-min-size, window--min-size-1)
6400 (window-sizable, window-sizable-p, window--min-delta-1)
6401 (window-min-delta, window--max-delta-1, window-max-delta)
6402 (window--resizable, window--resizable-p, window-resizable)
6403 (window-full-height-p, window-full-width-p, window-at-side-p)
6404 (window--in-direction-2, window-in-direction)
6405 (window--resize-reset-1, window--resize-mini-window)
6406 (window-resize, window-resize-no-error)
6407 (window--resize-child-windows-normal)
6408 (window--resize-child-windows, window--resize-siblings)
6409 (window--resize-this-window, window--resize-root-window)
6410 (window--resize-root-window-vertically)
6411 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6412 (maximize-window, minimize-window, delete-window)
6413 (quit-restore-window, window-split-min-size, split-window)
6414 (balance-windows-2, balance-windows)
6415 (balance-windows-area-adjust, balance-windows-area)
6416 (window--state-get-1, window-state-get, window--state-put-1)
6417 (window--state-put-2, window-state-put)
6418 (display-buffer-record-window, window--display-buffer):
6419 Make functions handle pixelwise sizing of windows.
6420 (display-buffer--action-function-custom-type)
6421 (display-buffer-fallback-action):
6422 Add display-buffer-in-previous-window.
6423 (display-buffer-use-some-window): Resize window to height it had
6425 (fit-window-to-buffer-horizontally): New option.
6426 (fit-frame-to-buffer): Describe new values.
6427 (fit-frame-to-buffer-bottom-margin): Replace with
6428 fit-frame-to-buffer-margins.
6429 (window--sanitize-margin): New function.
6430 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6431 using window-text-pixel-size.
6433 2013-11-30 Glenn Morris <rgm@gnu.org>
6435 * emacs-lisp/bytecomp.el (byte-compile-form):
6436 Make the `interactive-only' warning like the `obsolete' one.
6437 * comint.el (comint-run):
6438 * files.el (insert-file-literally, insert-file):
6439 * replace.el (replace-string, replace-regexp):
6440 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6441 (goto-line, insert-buffer, next-line, previous-line):
6442 Tweak `interactive-only' spec.
6444 Stop keeping (most) generated cedet grammar files in the repository.
6445 * Makefile.in (semantic): New.
6446 (compile-main): Depend on semantic.
6448 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6451 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6453 * uniquify.el (uniquify-buffer-name-style): Change default.
6455 * loadup.el: Preload "uniquify".
6457 * time.el (display-time-update): Update all mode lines (bug#15999).
6459 * electric.el (electric-indent-mode): Enable by default.
6460 * loadup.el: Preload "electric".
6462 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6464 * emacs-lisp/helpers.el (string-empty-p): New function.
6465 (string-blank-p): New function.
6467 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6469 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6472 2013-11-29 Andreas Politz <politza@fh-trier.de>
6473 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6474 allow non-lambda lists as functions.
6475 (imenu--in-alist): Don't recurse into non-subalists.
6476 (imenu): Don't pass function itself as an argument (Bug#14029).
6478 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6480 * progmodes/python.el (python-mode-map): Remove binding for ":".
6481 (python-indent-electric-colon): Remove command.
6482 (python-indent-post-self-insert-function): Integrate the previous code
6483 of python-indent-electric-colon. Make it conditional on
6484 electric-indent-mode.
6485 (python-mode): Add ?: to electric-indent-chars.
6486 Move python-indent-post-self-insert-function to the end of
6487 post-self-insert-hook.
6489 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6491 * doc-view.el (doc-view-goto-page): Update mode-line.
6493 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6495 2013-11-27 Glenn Morris <rgm@gnu.org>
6497 * international/charprop.el, international/uni-bidi.el:
6498 * international/uni-category.el, international/uni-combining.el:
6499 * international/uni-comment.el, international/uni-decimal.el:
6500 * international/uni-decomposition.el, international/uni-digit.el:
6501 * international/uni-lowercase.el, international/uni-mirrored.el:
6502 * international/uni-name.el, international/uni-numeric.el:
6503 * international/uni-old-name.el, international/uni-titlecase.el:
6504 * international/uni-uppercase.el:
6505 Remove generated files from VCS repository.
6507 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6509 * filenotify.el (file-notify-add-watch): Don't special-case
6510 w32notify when computing the directory to watch.
6512 2013-11-27 Glenn Morris <rgm@gnu.org>
6514 Make bootstrap without generated uni-*.el files possible again.
6515 * loadup.el: Update command-line-args checking for unidata-gen.
6516 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6517 * composite.el, international/characters.el:
6518 Handle unicode tables being undefined.
6520 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6521 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6522 (compile-main): Depend on leim rule.
6524 * loadup.el: Move leim-list.el to leim/ subdirectory.
6525 * startup.el (normal-top-level): No more leim directory.
6526 * international/ja-dic-cnv.el (skkdic-convert):
6527 Disable version-control and autoloads in output files.
6528 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6529 Disable version-control and autoloads in output files.
6530 * leim/quail: Move here from ../leim.
6531 * leim/quail/hangul.el (hangul-input-method-activate):
6532 Add autoload cookie.
6533 (generated-autoload-load-name): Set file-local value.
6534 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6535 (generated-autoload-load-name): Set file-local value.
6537 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6539 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6540 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6541 (eww-quit): Ask confirmation before quitting eww.
6543 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6545 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6546 reading output from Diff on MS-Windows and MS-DOS.
6548 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6550 * emacs-lisp/helpers.el (string-reverse): New function.
6552 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6554 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6555 names on MS Windows, like "/[::1]:".
6557 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6560 2013-11-26 Glenn Morris <rgm@gnu.org>
6562 * progmodes/python.el (python-indent-guess-indent-offset):
6563 Avoid corner-case error. (Bug#15975)
6565 Preload leim-list.el. (Bug#4789)
6566 * loadup.el: Load leim-list.el when found.
6567 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6569 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6571 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6573 * emacs-lisp/helpers.el (string-join): New function.
6575 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6578 Mark as obsolete and replace it with a symbol property.
6579 (byte-compile-form): Use new 'interactive-only property.
6580 * comint.el, files.el, replace.el, simple.el:
6581 Apply new 'interactive-only properly.
6583 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6585 * window.el (display-buffer-at-bottom): Make sure that
6586 split-window-sensibly creates the new window on bottom
6589 2013-11-23 David Kastrup <dak@gnu.org>
6591 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6592 on the conflict markers when available.
6593 (smerge--get-marker): New function.
6594 (smerge-end-re, smerge-base-re): Add subgroup.
6596 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6598 * frame.el (handle-focus-in, handle-focus-out): Add missing
6601 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6603 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6604 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6606 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6609 (gomoku--last-pos): New var.
6610 (gomoku--intangible-chars): New const.
6611 (gomoku--intangible): New function.
6612 (gomoku-mode): Use it. Derive from special-mode.
6613 (gomoku-move-up): Adjust line count.
6614 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6615 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6616 Simplify accordingly.
6618 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6619 Remove blink-cursor code.
6620 (blink-cursor-timer-function, blink-cursor-suspend):
6621 Don't special-case GUIs.
6622 (blink-cursor-mode): Use focus-in/out-hook.
6624 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6626 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6627 work when annotation is invisible (Bug#13886).
6629 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6631 * json.el (json-alist-p): Only return non-nil if the alist has
6632 simple keys (Bug#13518).
6634 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6636 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6637 when control-statement is the first statement in a buffer (Bug#15956).
6639 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6641 * imenu.el (imenu-generic-skip-comments-and-strings):
6642 New option (Bug#15560).
6643 (imenu--generic-function): Use it.
6645 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6647 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6650 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6652 * emacs-lisp/helpers.el: Add some string helpers.
6653 (string-trim-left): Removes leading whitespace.
6654 (string-trim-right): Removes trailing whitespace.
6655 (string-trim): Removes leading and trailing whitespace.
6657 * subr.el (string-suffix-p): New function.
6659 2013-11-23 Glenn Morris <rgm@gnu.org>
6661 * progmodes/python.el (python-shell-send-file):
6662 Add option to delete file when done. (Bug#15647)
6663 (python-shell-send-string, python-shell-send-region): Use it.
6665 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6667 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6668 to set buffer-read-only to t, never to nil. (Bug#15938)
6670 * textmodes/tex-mode.el (latex-noindent-environments):
6671 Add safe-local-variable property. (Bug#15936)
6673 2013-11-23 Glenn Morris <rgm@gnu.org>
6675 * textmodes/enriched.el (enriched-mode): Doc fix.
6676 * emacs-lisp/authors.el (authors-renamed-files-alist):
6677 Add enriched.doc -> enriched.txt.
6679 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6681 2013-11-22 Leo Liu <sdl.web@gmail.com>
6683 * progmodes/octave.el (inferior-octave-startup): Spit out error
6686 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6688 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6691 (ruby-encoding-magic-comment-style): Add :version.
6693 2013-11-22 Leo Liu <sdl.web@gmail.com>
6695 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6697 (octave-help-mode): Adapt to change to help-mode-finish to use
6698 derived-mode-p on 2013-09-17.
6699 (inferior-octave-prompt): Also match octave-gui.
6700 (octave-kill-process): Don't ask twice. (Bug#10564)
6702 2013-11-22 Leo Liu <sdl.web@gmail.com>
6704 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6705 (inferior-octave-startup, inferior-octave-check-process)
6706 (inferior-octave-track-window-width-change)
6707 (octave-completion-at-point, octave-eldoc-function): Use it.
6708 (octave-kill-process): Provide confirmation. (Bug#10564)
6710 2013-11-21 Leo Liu <sdl.web@gmail.com>
6712 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6713 Fix obsolete variable comment-use-global-state.
6715 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6717 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6718 Add `octave-source-file'.
6719 (octave-source-file): New function. (Bug#15935)
6721 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6723 * net/eww.el (eww-local-regex): New variable.
6724 (eww): Use it to detect localhost and similar.
6726 2013-11-21 Leo Liu <sdl.web@gmail.com>
6728 Add completion for command `ag'.
6729 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6730 (pcomplete/ag): New function.
6731 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6733 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6737 (make-obsolete): Remove interactive spec.
6739 2013-11-21 Glenn Morris <rgm@gnu.org>
6741 * startup.el (command-line-1): Use path-separator with -L.
6743 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6745 * emacs-lisp/package.el (describe-package-1): Add package archive
6748 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6750 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6751 Change default to "# encoding: %s" to differentiate it from the
6752 default Ruby encoding comment template.
6754 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6756 * ses.el (ses-mode): Doc fix. (Bug#14748)
6758 2013-11-20 Leo Liu <sdl.web@gmail.com>
6760 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6762 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6764 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6765 when rebase or bisect are in progress.
6767 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6769 * filenotify.el (file-notify-add-watch): Doc fix.
6771 2013-11-19 Leo Liu <sdl.web@gmail.com>
6773 * obsolete/rcompile.el: Mark obsolete.
6775 * progmodes/compile.el (compilation-start)
6776 (compilation-goto-locus, compilation-find-file):
6777 Pass no-display-ok and handle nil value from display-buffer.
6780 * window.el (display-buffer-alist, display-buffer): Document the
6781 new parameter no-display-ok. Return either a window or nil
6782 but never a non-window value.
6784 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6786 * electric.el (electric-indent-mode-map): Remove.
6787 (electric-indent-mode): Change the global-map instead (bug#15915).
6789 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6792 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * emacs-lisp/nadvice.el (remove-function): Align with
6795 add-function's behavior.
6797 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6798 (gdb--string-regexp): New constant.
6799 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6800 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6801 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6803 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6804 Adjust use accordingly.
6805 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6807 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6809 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6810 interpolation curlies (Bug#15914).
6812 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6814 * calc/calc.el (calc-context-sensitive-enter): New variable.
6815 (calc-enter): Use `calc-context-sensitive-enter'.
6817 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6819 * progmodes/cfengine.el: Version bump.
6820 (cfengine-cf-promises): New defcustom to locate cf-promises.
6821 (cfengine3-vartypes): Add new "data" type.
6822 (cfengine3--current-word): New function to get current name-like
6824 (cfengine3--current-function): New function to look up a CFEngine
6825 function's definition.
6826 (cfengine3-format-function-docstring): New function.
6827 (cfengine3-make-syntax-cache): New function.
6828 (cfengine3-documentation-function): New function: ElDoc glue.
6829 (cfengine3-completion-function): New function: completion glue.
6830 (cfengine3-mode): Set `compile-command',
6831 `eldoc-documentation-function', and add to
6832 `completion-at-point-functions'.
6834 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6836 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6837 `tramp-current-connection'.
6839 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6841 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6842 nil/self/true/false with "end of symbol".
6844 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6846 * subr.el (version-regexp-alist): Fix a typo.
6848 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6850 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6851 "en_US.utf8" and "LC_CTYPE" to "".
6852 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6853 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6855 2013-11-15 Leo Liu <sdl.web@gmail.com>
6857 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6859 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * progmodes/gud.el (ctl-x-map):
6862 Remove C-x SPC binding. (Bug#12342)
6863 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6865 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6867 * subr.el (version-regexp-alist):
6868 Recognize hg, svn and darcs versions as snapshot versions.
6870 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6871 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6872 (ruby--encoding-comment-required-p): Extract from
6873 `ruby-mode-set-encoding'.
6874 (ruby-mode-set-encoding): Add the ability to always insert an
6875 utf-8 encoding comment. Fix and simplify coding comment update
6878 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6880 * net/tramp-gvfs.el (top): Run init code only when
6881 `tramp-gvfs-enabled' is not nil.
6882 (tramp-gvfs-enabled): Check also :system bus.
6884 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6886 Sync with upstream verilog-mode revision 78e66ba.
6887 * progmodes/verilog-mode.el (verilog-end-of-defun)
6888 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6889 (verilog-get-end-of-defun): Remove unused argument.
6890 (verilog-comment-depth): Remove unused local `e'.
6891 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6892 Don't pass arg to verilog-get-end-of-defun.
6894 2013-11-14 Glenn Morris <rgm@gnu.org>
6896 * obsolete/assoc.el (aget): Prefix dynamic variable.
6898 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6900 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6902 * widget.el, hfy-cmap.el: Remove bogus package version number.
6904 2013-11-13 Glenn Morris <rgm@gnu.org>
6906 * replace.el (replace-eval-replacement):
6907 Try to give more helpful error message. (Bug#15836)
6909 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6910 (archive-7z-update): Avoid custom type mismatches.
6912 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6914 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6916 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6917 address can be empty.
6919 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6920 Accept nil SWITCHES.
6921 (tramp-gvfs-handle-write-region): Implement APPEND.
6923 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6925 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6926 binary "|" operator and closing block args delimiter.
6927 Remove FIXME comment referring to Ruby 1.8-only syntax.
6928 (ruby-smie--implicit-semi-p): Not after "|" operator.
6929 (ruby-smie--closing-pipe-p): New function.
6930 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6931 (ruby-smie-rules): Indent after "|".
6933 2013-11-12 Glenn Morris <rgm@gnu.org>
6935 * ps-print.el (ps-face-attribute-list):
6936 Handle anonymous faces. (Bug#15827)
6938 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6940 * window.el (display-buffer-other-frame): Fix doc-string.
6943 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6947 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6950 (tramp-sh-handle-file-local-copy): Don't write a message when
6951 saving temporary files.
6953 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6954 both directories are remote.
6955 (tramp-smb-handle-directory-files): Do not return double entries.
6956 Do not expand full file names.
6957 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6958 (tramp-smb-handle-write-region): Implement APPEND.
6959 (tramp-smb-get-stat-capability): Fix a stupid bug.
6961 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6965 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6967 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6968 throwing error over malformed let/let* (bug#15814).
6970 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6972 * iswitchb.el (iswitchb-mode): Mark obsolete.
6974 2013-11-11 Glenn Morris <rgm@gnu.org>
6976 * international/uni-bidi.el, international/uni-category.el:
6977 * international/uni-name.el, international/uni-numeric.el:
6978 Regenerate for Unicode 6.3.0.
6980 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6982 * net/tramp.el (tramp-methods):
6983 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6984 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6986 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6988 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6989 Force highlighting text after Summary keyword in doc face for rpm.
6991 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6993 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6994 available and the word has no wildcards, append one to the grep pattern.
6995 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6996 (ispell-complete-word): Call `ispell-lookup-words' with the value
6997 independent of `ispell-look-p'.
6999 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7001 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7003 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7006 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7008 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7009 (ruby-font-lock-keywords): Use backquote.
7011 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7013 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7014 (ruby-smie--backward-token): Only consider full-string matches.
7016 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7018 * faces.el (describe-face): Add distant-foreground.
7020 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7022 * progmodes/ruby-mode.el: Improve encoding comment handling.
7023 (ruby-encoding-magic-comment-style): New option.
7024 (ruby-custom-encoding-magic-comment-template): New option.
7025 (ruby--insert-coding-comment, ruby--detect-encoding):
7026 New functions extracted from `ruby-mode-set-encoding'.
7027 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7028 to control the style of the auto-inserted encoding comment.
7030 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7032 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7033 Use `smie-backward-sexp' with token argument.
7035 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7038 Remove instrumentation code.
7040 2013-11-08 Glenn Morris <rgm@gnu.org>
7042 * progmodes/autoconf.el (autoconf-mode):
7043 Tweak comment-start-skip. (Bug#15822)
7045 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7047 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7048 at bobp (bug#15826).
7049 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7051 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7053 * man.el (Man-start-calling): New macro, extracted from
7054 Man-getpage-in-background.
7055 (Man-getpage-in-background): Use it.
7056 (Man-update-manpage): New command.
7057 (Man-mode-map): Bind it.
7059 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7061 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7062 of "and", "or", "&&" and "||".
7063 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7064 argument. Prohibit opening curly brace because it could only be a
7065 block opener in that position.
7066 (ruby-smie--forward-token, ruby-smie--backward-token):
7067 Separate "|" from "&" or "*" going after it. That can happen in block
7069 (ruby-smie--indent-to-stmt): New function, seeks the end of
7070 previous statement or beginning of buffer.
7071 (ruby-smie-rules): Use it.
7072 (ruby-smie-rules): Check if there's a ":" before a curly block
7073 opener candidate; if there is, it's a hash.
7075 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7078 (cl--block-wrapper): Fix last accidental change.
7080 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7082 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7083 Instrument, in order to hunt failure on hydra.
7085 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7087 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7088 malformed bindings form (bug#15814).
7090 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7092 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7093 "." compared to " @ ". This incidentally fixes some indentation
7095 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7096 (ruby-smie-grammar): New tokens: "and" and "or".
7097 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7098 Exclude "and" and "or". Remove "do" in order to work around token
7100 (ruby-smie-rules): Add all infix tokens. Handle the case of
7101 beginning-of-buffer.
7103 2013-11-06 Glenn Morris <rgm@gnu.org>
7105 * Makefile.in (setwins_almost, setwins_for_subdirs):
7106 Avoid accidental matches.
7108 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * menu-bar.el (popup-menu): Use key-binding.
7112 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7114 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7115 menus, support also the menus produced by minor modes.
7118 2013-11-06 Leo Liu <sdl.web@gmail.com>
7120 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7121 DISTANCE to bound the search. All uses changed. (Bug#15808)
7123 2013-11-06 Glenn Morris <rgm@gnu.org>
7125 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7126 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7127 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7129 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7131 * electric.el (electric-indent-just-newline): New command.
7132 (electric-indent-mode-map): New keymap.
7133 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7134 Re-add :group which weren't redundant.
7136 * electric.el (electric-indent-local-mode): New minor mode.
7137 (electric-indent-functions-without-reindent): New var.
7138 (electric-indent-post-self-insert-function): Use it.
7139 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7141 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7143 * international/quail.el (quail-help): Be more explicit about the
7144 meaning of the labels shown on the keys. (Bug#15800)
7146 * startup.el (normal-top-level): Load the subdirs.el files before
7147 setting the locale environment. (Bug#15805)
7149 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7151 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7152 via arguments so as to get the right ones (bug#15418).
7154 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7156 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7158 Fix problems found while writing a test suite.
7160 * net/tramp-compat.el (tramp-compat-load): New defun.
7161 * net/tramp.el (tramp-handle-load): Use it.
7163 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7164 "(numberp ok-if-already-exists)" correctly.
7166 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7168 * international/characters.el (glyphless-char-display-control):
7171 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7173 * progmodes/python.el (python-mode):
7174 * progmodes/scheme.el (scheme-mode):
7175 * progmodes/prolog.el (prolog-mode):
7176 * progmodes/ruby-mode.el (ruby-mode):
7177 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7178 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7180 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * rect.el (rectangle--highlight-for-redisplay):
7183 * emacs-lisp/smie.el (smie--next-indent-change):
7184 Use buffer-chars-modified-tick.
7186 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7188 * electric.el (electric-indent-post-self-insert-function):
7189 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7191 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7193 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7195 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7197 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7200 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7204 * progmodes/python.el: Fix up last change.
7205 (python-shell--save-temp-file): New function.
7206 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7207 `string' comes from the current buffer.
7208 (python-shell-send-string-no-output): Remove `msg' arg.
7209 (python--use-fake-loc): New var.
7210 (python-shell-buffer-substring): Obey it. Try to compensate for the
7211 extra coding line added by python-shell--save-temp-file.
7212 (python-shell-send-region): Use python-shell--save-temp-file and
7213 python-shell-send-file directly. Add `nomain' argument.
7214 (python-shell-send-buffer): Use python-shell-send-region.
7215 (python-electric-pair-string-delimiter): New function.
7216 (python-mode): Use it.
7218 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7220 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7221 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7222 environment and decoding all of the default-directory's to here
7224 (command-line): Decode also argv[0].
7226 * loadup.el: Error out if default-directory is a multibyte string
7227 when we are dumping.
7229 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7231 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7233 * emacs-lisp/package.el (package-menu-mode)
7234 (package-menu--print-info, package-menu--archive-predicate):
7235 Add Archive column to package list.
7237 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7239 Fix problems found while writing a test suite.
7241 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7242 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7243 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7244 to nil when running original file name handler. Otherwise,
7245 there are problems with constructs like "$$FOO".
7247 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7250 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7252 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7254 * subr.el (version<, version<=, version=):
7255 Update docstrings with information for snapshot versions.
7257 * helpers.el: New library for misc helper functions.
7258 (hash-table-keys): New function returning a list of hash keys.
7259 (hash-table-values): New function returning a list of hash values.
7261 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7263 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7264 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7266 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7268 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7269 checking whether point is after a 1-letter word.
7271 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7273 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7274 Don't infloop when expanding region over `multiline' syntax-type that
7275 begins a line (bug#15778).
7277 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7280 Make it into a proper minor mode.
7281 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7282 (rectangle-mark-mode-map): New keymap.
7283 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7285 2013-11-04 Glenn Morris <rgm@gnu.org>
7287 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7289 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7292 (ruby-smie-rules): Use smie-rule-parent instead.
7294 * emacs-lisp/smie.el (smie-rule-parent): Always call
7295 smie-indent-virtual rather than only for hanging tokens.
7296 (smie--next-indent-change): New helper command.
7298 2013-11-03 Glenn Morris <rgm@gnu.org>
7300 * Makefile.in (abs_srcdir): Remove.
7301 (emacs): Unset EMACSLOADPATH.
7303 2013-11-02 Glenn Morris <rgm@gnu.org>
7305 * Makefile.in (EMACS): Use a relative filename.
7306 (abs_top_builddir): Remove.
7307 (custom-deps, finder-data, autoloads): Use --chdir.
7309 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7311 Use relative filenames in TAGS files.
7312 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7313 (lisptagsfiles4, TAGS): Use relative file names.
7314 (TAGS-LISP): Remove.
7315 (maintainer-clean): No more TAGS-LISP file.
7317 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7318 (lisptagsfiles4): Use absolute filenames again.
7319 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7320 Remove all *loaddefs files, not just the first. Remove esh-groups.
7321 (maintainer-clean): Delete TAGS, TAGS-LISP.
7323 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7325 * emacs-lisp/package.el (package-version-join):
7326 Recognize snapshot versions.
7328 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7330 * subr.el (version-regexp-alist): Add support for snapshot versions.
7332 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7334 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7335 New function, replacement for `smie-rule-parent' for when we want to
7336 skip over our direct parent if it's an assignment token..
7337 (ruby-smie-rules): Use it.
7339 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7341 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7342 unconditionally. Remove now unnecessary forward declarations.
7343 Remove XEmacs-specific setup.
7344 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7345 (ruby-font-lock-syntactic-keywords)
7346 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7347 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7348 (ruby-here-doc-end-syntax): Remove.
7349 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7350 defined as function.
7352 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7354 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7356 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7358 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7359 table and abbrev table, `define-derived-mode' does that for us
7362 2013-11-01 Glenn Morris <rgm@gnu.org>
7364 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7365 files is atomic for some time, so no parallel compilation issues).
7367 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7369 * faces.el (face-x-resources): Add :distant-foreground.
7370 (region): Use :distant-foreground for gtk and ns.
7372 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7374 Allow multiple bibliographies when BibLaTeX is used rather than
7376 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7377 (reftex-locate-bibliography-files): Us it.
7379 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7381 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7382 allow comments in pbm files.
7384 * term/w32-win.el (dynamic-library-alist): Support newer versions
7385 of libjpeg starting with v7: look only for the DLL from the
7386 version against which Emacs was built.
7387 Support versions of libpng beyond 1.4.x.
7388 Support libtiff v4.x.
7390 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7392 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7393 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7395 (ruby-deep-arglist): Add property :type.
7397 2013-10-31 Glenn Morris <rgm@gnu.org>
7399 * Makefile.in (custom-deps, finder-data): No need to setq the target
7400 variables, we are in the right directory and the defaults work fine.
7402 2013-10-30 Glenn Morris <rgm@gnu.org>
7404 * Makefile.in (autoloads): Do not use abs_lisp.
7406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7407 `newline' does not respect `standard-output', so use `princ'.
7409 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7411 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7412 * buff-menu.el (Buffer-menu--unmark): New function.
7413 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7415 2013-10-30 Glenn Morris <rgm@gnu.org>
7417 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7419 * emacs-lisp/package.el (lm-homepage): Declare.
7421 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7424 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7426 * Makefile.in (finder-data, autoloads, update-subdirs)
7427 (compile-main, compile-clean, compile-always, bootstrap-clean):
7428 Check return value of cd.
7429 (compile-calc): Remove.
7431 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7435 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7436 (byte-compile-and-folded): New function.
7437 (=, <, >, <=, >=): Use it.
7439 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7440 (path-separator, null-device, buffer-file-coding-system)
7441 (lpr-headers-switches): Check system-type before modifying them.
7442 (find-buffer-file-type-coding-system): Mark obsolete.
7443 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7444 find-file-not-found-set-buffer-file-coding-system.
7445 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7446 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7447 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7448 (w32-direct-print-region-helper, w32-direct-print-region-function)
7449 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7450 * startup.el (normal-top-level-add-subdirs-to-load-path):
7451 * ps-print.el (ps-print-region-function):
7452 * lpr.el (print-region-function): Use new name.
7454 * subr.el (custom-declare-variable-early): Remove function.
7455 (custom-declare-variable-list): Remove var.
7456 (error, user-error): Remove `while' loop.
7457 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7458 (user-emacs-directory-warning, locate-user-emacs-file):
7460 * simple.el (read-quoted-char-radix, read-quoted-char):
7461 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7463 * custom.el (custom-declare-variable-list): Don't process
7464 custom-declare-variable-list.
7466 * progmodes/python.el (python-shell-get-buffer): New function.
7467 (python-shell-get-process): Use it.
7468 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7469 Python which encoding was used. Don't split-string since we only care
7470 about the first line. Return the temp-file, if applicable.
7471 (python-shell-send-region): Tell compile.el how to turn locations in
7472 the temp-file into locations in the source buffer.
7474 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * subr.el (undefined): Add missing behavior from the C code for
7479 * rect.el: Use lexical-binding. Add new rectangular region support.
7480 (rectangle-mark): New command.
7481 (rectangle--region): New var.
7482 (deactivate-mark-hook): Reset rectangle--region.
7483 (rectangle--extract-region, rectangle--insert-for-yank)
7484 (rectangle--highlight-for-redisplay)
7485 (rectangle--unhighlight-for-redisplay): New functions.
7486 (region-extract-function, redisplay-unhighlight-region-function)
7487 (redisplay-highlight-region-function): Use them to handle
7489 * simple.el (region-extract-function): New var.
7490 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7491 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7492 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7493 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7494 (redisplay-unhighlight-region-function)
7495 (redisplay-highlight-region-function): New vars.
7496 (redisplay--update-region-highlight): New function.
7497 (pre-redisplay-function): Use it.
7498 (exchange-point-and-mark): Don't deactivate the mark before
7499 reactivate-it anyway.
7500 * comint.el (comint-kill-region): Remove yank-handler argument.
7501 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7502 (delete-char): Remove property, since it's now part of their
7504 (self-insert-iso): Remove property since this command doesn't exist.
7506 * emacs-lisp/package.el (package--download-one-archive)
7507 (describe-package-1): Don't query the user about final newline.
7509 2013-10-29 Daniel Colascione <dancol@dancol.org>
7511 * net/tramp.el (tramp-methods): Document new functionality.
7512 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7513 tramp-hostname-checker if method provides one instead of scanning
7514 argument list for "%h" to decide hostname acceptability.
7516 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7518 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7519 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7520 Handle COPY-CONTENTS. (Bug#15737)
7522 2013-10-28 Daiki Ueno <ueno@gnu.org>
7524 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7525 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7527 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7529 * image.el (defimage, image-load-path): Doc fixes.
7531 2013-10-27 Alan Mackenzie <acm@muc.de>
7533 Indent statements in macros following "##" correctly.
7534 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7535 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7537 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7539 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7541 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7543 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7544 after `=' is probably a new expression.
7546 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7548 * man.el (man-imenu-title): New option.
7549 (Man-mode-map): Add menu. (Bug#15722)
7550 (Man-mode): Add imenu to menu.
7552 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7554 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7555 specific in what the first arg can be: a non-keyword word,
7556 string/regexp/percent literal opener, opening paren, or unary
7557 operator followed directly by word.
7559 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7561 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7562 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7563 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7564 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7565 Remove vars, they do not apply any more.
7566 (prolog-mode-abbrev-table): Remove redundant declaration.
7567 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7568 (prolog-use-smie): Remove.
7569 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7570 supported by prolog-electric-if-then-else-flag.
7571 (prolog-mode-variables, prolog-menu): Use setq-local.
7572 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7573 Remove binding to `Backspace' since this key doesn't exist anyway.
7574 Remove bindings for electric self-inserting keys.
7575 (prog-mode): Assume it's defined.
7576 (prolog-post-self-insert): New function.
7577 (prolog-mode): Use it.
7578 (prolog-indent-line, prolog-indent-level)
7579 (prolog-find-indent-of-matching-paren)
7580 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7581 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7582 (prolog-goto-next-paren, prolog-in-string-or-comment)
7583 (prolog-tokenize, prolog-inside-mline-comment)
7584 (prolog-find-start-of-mline-comment): Remove functions.
7585 (prolog-find-unmatched-paren, prolog-clause-end)
7586 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7587 (prolog-electric--if-then-else): Rename from
7588 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7589 (prolog-tokenize-searchkey): Remove const.
7590 (prolog-clause-info): Use forward-sexp.
7591 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7592 (prolog-electric-if-then-else): Remove commands.
7593 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7594 for use in post-self-insert-hook.
7595 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7596 for use in post-self-insert-hook.
7597 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7598 for use in post-self-insert-hook.
7599 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7600 adapt it for use in post-self-insert-hook.
7602 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7604 * emacs-lisp/ert.el (ert-run-tests-interactively):
7605 Use `completing-read'. (Bug#9756)
7607 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7609 * simple.el (line-move): Call line-move-1 instead of
7610 line-move-visual when the current window hscroll is zero, but
7611 temporary-goal-column indicates we will need to hscroll as result
7612 of the movement. (Bug#15712)
7614 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7616 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7617 capitalization. Use :visible instead of :active.
7618 Fix `ruby-indent-exp' reference. Add menu items for the generic
7619 commands that are used with SMIE.
7620 (ruby-do-end-to-brace): Insert space after `{'.
7622 2013-10-25 John Anthony <john@jo.hnanthony.com>
7624 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7626 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7628 2013-10-25 Glenn Morris <rgm@gnu.org>
7630 * vc/vc.el (vc-print-log): Don't use a working revision unless
7631 one was explicitly specified. (Bug#15322)
7633 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * subr.el (add-to-list): Preserve return value in compiler-macro
7638 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7640 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7641 result. Ask user to retry using '-all' flag. (Bug#15701)
7643 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7645 * emacs-lisp/smie.el: New smie-config system.
7646 (smie-config): New defcustom.
7647 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7648 (smie-config-guess, smie-config-save): New commands.
7649 (smie-config--mode-local, smie-config--buffer-local)
7650 (smie-config--trace, smie-config--modefuns): New vars.
7651 (smie-config--advice, smie-config--mode-hook)
7652 (smie-config--setter, smie-config-local, smie-config--get-trace)
7653 (smie-config--guess-value, smie-config--guess): New functions.
7654 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7655 text properties. Treat "string fence" syntax like string syntax.
7657 * progmodes/sh-script.el (sh-use-smie): Change default.
7658 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7659 (sh-var-value): Simplify by CSE.
7660 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7661 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7663 (sh-guess-basic-offset): Use cl-incf.
7664 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7666 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7668 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7671 2013-10-24 Glenn Morris <rgm@gnu.org>
7673 * Makefile.in (abs_top_srcdir): Remove.
7674 (update-subdirs): Use relative path to update-subdirs.
7676 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7678 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7679 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7680 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7681 Call unmsys--file-name before expand-file-name, not after it.
7683 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7685 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7686 (ert-test-skipped): New error.
7687 (ert-skip, ert-stats-skipped): New defuns.
7688 (ert--skip-unless): New macro.
7689 (ert-test-skipped): New struct.
7690 (ert--run-test-debugger, ert-test-result-type-p)
7691 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7692 (ert--stats-set-test-and-result, ert-char-for-test-result)
7693 (ert-string-for-test-result, ert-run-tests-batch)
7694 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7695 Handle skipped tests. (Bug#9803)
7697 2013-10-24 Glenn Morris <rgm@gnu.org>
7699 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7701 * Makefile.in (abs_top_srcdir): New, set by configure.
7702 (update-subdirs): Correct build-aux location.
7704 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7706 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7707 value, whether we could auto-deduce `backend', or not.
7709 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7710 with parameters" example. Simplify the "is it block or is it
7711 hash" check, but also make it more thorough.
7713 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7715 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7717 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7719 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7722 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7725 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7727 * progmodes/compile.el (compilation-directory-matcher)
7728 (compilation-page-delimiter):
7729 Support GNU Make-4.0 directory quoting. (Bug#15678)
7731 2013-10-23 Leo Liu <sdl.web@gmail.com>
7733 * ido.el (ido-tidy): Handle read-only text.
7735 2013-10-23 Glenn Morris <rgm@gnu.org>
7737 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7738 (emacs, compile, compile-always):
7739 Quote entities that might contain whitespace.
7740 (custom-deps, finder-data, autoloads): Use abs_lisp.
7741 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7742 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7743 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7745 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7747 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7748 Use `following-char'.
7750 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7752 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7753 * progmodes/ruby-mode.el (ruby-smie-rules):
7754 Remove corresponding workaround. Fix indentation rule of ";" so it
7755 also applies when ";" is the parent.
7757 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7759 * frame.el (display-screens, display-pixel-height)
7760 (display-pixel-width, display-mm-width, display-backing-store)
7761 (display-save-under, display-planes, display-color-cells)
7762 (display-visual-class, display-monitor-attributes-list):
7763 Mention the optional ‘display’ argument in doc strings.
7765 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7767 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7768 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7770 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7772 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7773 TODO. Add "." after " @ ".
7774 (ruby-smie--at-dot-call): New function. Checks if point at method
7775 call with explicit target.
7776 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7777 to the method name tokens when it precedes them.
7778 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7779 (ruby-smie-rules): Add rule for indentation before and after "."
7782 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7784 * textmodes/remember.el (remember-diary-extract-entries):
7787 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7790 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7792 * progmodes/ruby-mode.el (ruby-smie-grammar):
7793 Add (almost) all infix operators.
7794 (ruby-smie--implicit-semi-p): Add new operator chars.
7796 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7798 (ruby-smie--args-separator-p): Check that there's no newline
7799 between method call and its arguments.
7801 2013-10-20 Alan Mackenzie <acm@muc.de>
7803 Allow comma separated lists after Java "implements".
7805 * progmodes/cc-engine.el (c-backward-over-enum-header):
7807 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7808 from a "disallowed" list in enum fontification.
7810 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7812 * startup.el (default-frame-background-mode): Remove unused defvar.
7814 * progmodes/verilog-mode.el (verilog-mode): Don't set
7815 comment-indent-function globally.
7817 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7819 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7820 Move Info menu item creation to ns-win.el.
7822 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7825 * menu-bar.el: Move GNUstep specific menus...
7827 * term/ns-win.el (ns-initialize-window-system): ... to here.
7829 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * simple.el (newline): Only run post-self-insert-hook when
7832 called interactively.
7834 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7836 * icomplete.el (icomplete-with-completion-tables): Add :version.
7838 2013-10-19 Alan Mackenzie <acm@muc.de>
7840 Fix fontification bugs with constructors and const.
7842 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7843 CASE 2) Remove the check for the absence of a suffix construct
7844 after a function declaration with only types (no identifiers) in
7845 the parentheses. Also, accept a function declaration with just a
7846 type inside the parentheses, if this type can be positively
7847 recognised as such, or if a prefix keyword like "explicit" nails
7848 down the construct as a declaration.
7850 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7852 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7853 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7854 the problem whereby selecting a menu item that leads to a
7855 minibuffer prompt moves the cursor out of the minibuffer window,
7856 making it hard to type at the prompt. Suggested by Stefan Monnier
7857 <monnier@iro.umontreal.ca>.
7859 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7861 * menu-bar.el: Don't make Services menu.
7863 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7865 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7866 (ffap-alist): Use ffap-c++-mode for c++-mode.
7867 (ffap-c++-path): New variable.
7868 (ffap-c++-mode): New function.
7870 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7872 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7874 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7876 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7877 introduced on 2013-09-08, which results in an infinite loop
7878 requesting a password.
7880 2013-10-18 Glenn Morris <rgm@gnu.org>
7882 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7884 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7886 Sync with upstream verilog-mode revision 1a6ecec7.
7887 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7888 (verilog-mode-release-date): Remove.
7889 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7890 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7891 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7892 (verilog-auto-tieoff-ignore-regexp)
7893 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7894 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7895 (verilog-signals-with, verilog-dir-cache-preserving)
7896 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7898 (verilog-case-fold): New option, to control case folding in
7899 regexp searches, bug597.
7900 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7901 (verilog-string-match-fold, verilog-in-paren-count)
7902 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7903 (verilog-at-close-struct-p): New functions.
7904 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7905 (verilog-forward-sexp, verilog-set-auto-endcomments)
7906 (verilog-leap-to-case-head): Handle "unique0" case.
7907 (verilog-in-constraint-re): New constant.
7908 (verilog-keywords, verilog-type-font-keywords):
7909 Add some SystemVerilog 1800-2012 keywords.
7910 (verilog-label-be): Remove unimplemented argument, bug669.
7911 (verilog-batch-execute-func): When batch expanding clear
7912 create-lockfiles to prevent spurious user locks when a file ends
7914 (verilog-calculate-indent, verilog-calc-1)
7915 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7916 (verilog-do-indent): Fix indentation of nested constraints
7918 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7919 (verilog-auto-inst-param): Use verilog-string-match-fold.
7920 (verilog-read-inst-module-matcher):
7921 Fix AUTOINST on gate primitives with #1.
7922 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7923 Reads all user-defined typed variables.
7924 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7925 (verilog-signals-matching-regexp)
7926 (verilog-signals-not-matching-regexp, verilog-auto):
7927 Respect verilog-case-fold.
7928 (verilog-diff-report): Fix line count.
7929 (verilog-auto-assign-modport): Remove unused local `modi'.
7930 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7931 better handle multidimensional arrays.
7932 Fix packed array ports misadding bit index in AUTOINST, bug637.
7933 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7934 to not double-declare existing outputs and inputs, respectively.
7935 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7936 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7937 (verilog-sk-uvm-component): New skeleton.
7938 (verilog-submit-bug-report): Add verilog-case-fold,
7939 remove verilog-mode-release-date.
7941 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7943 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7946 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7948 * textmodes/remember.el (remember): Set buffer-offer-save in
7949 remember buffers (bug#13566).
7951 2013-10-18 Daniel Colascione <dancol@dancol.org>
7953 When evaluating forms in ielm, direct standard output to ielm
7954 buffer. Add new ielm-return-for-effect command. Remove trailing
7955 whitespace throughout.
7957 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7958 (ielm-return-for-effect): New command.
7959 (ielm-send-input): Accept optional `for-effect' parameter.
7960 (ielm-eval-input): Accept optional `for-effect' parameter.
7961 Bind `standard-output' to stream we create using
7962 `ielm-standard-output-impl'. Suppress printing result when
7964 (ielm-standard-output-impl): New function.
7965 (inferior-emacs-lisp-mode): Explain new features in documentation.
7967 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7971 * net/tramp.el (tramp-debug-message): Do not check for connection
7973 (tramp-message): Use "vector" connection property.
7975 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7976 (tramp-equal-remote, tramp-eshell-directory-change)
7977 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7978 (tramp-adb-handle-rename-file)
7979 * net/tramp-cmds.el (tramp-list-remote-buffers)
7980 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7981 * net/tramp-compat.el (tramp-compat-process-running-p)
7982 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7983 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7984 (tramp-gvfs-handle-rename-file)
7985 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7986 (tramp-set-file-uid-gid)
7987 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7988 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7991 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7992 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7993 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7994 (tramp-gw-open-network-stream): Suppress unrelated traces.
7996 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7997 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7999 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8000 connection property.
8002 * net/tramp-cache.el (top): Suppress traces when reading
8005 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8006 Refactor common code. Improve debug message.
8007 (tramp-maybe-open-connection)
8008 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8009 connection buffer too early.
8011 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8012 from `tramp-smb-actions-with-acl'.
8013 (tramp-smb-actions-set-acl): New defconst.
8014 (tramp-smb-handle-copy-directory)
8015 (tramp-smb-action-get-acl): New defun, renamed from
8016 `tramp-smb-action-with-acl'.
8017 (tramp-smb-action-set-acl): New defun.
8018 (tramp-smb-handle-set-file-acl): Rewrite.
8020 2013-10-17 Glenn Morris <rgm@gnu.org>
8022 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8024 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8026 * skeleton.el (skeleton-newline): Remove.
8027 (skeleton-internal-1): Use (insert "\n") instead.
8029 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8032 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8033 forward-sexp-function while we redo its job (bug#15613).
8035 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8037 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8038 represented by lists.
8040 2013-10-16 Glenn Morris <rgm@gnu.org>
8042 * tmm.el (tmm--history): New dynamic variable.
8043 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8045 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8047 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8048 (tramp-smb-errors): Add error messages.
8049 (tramp-smb-actions-with-acl): New defconst.
8050 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8051 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8052 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8053 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8054 (tramp-smb-get-stat-capability): Fix tests.
8056 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8058 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8061 2013-10-16 Glenn Morris <rgm@gnu.org>
8063 * ansi-color.el (ansi-color-drop-regexp):
8064 Add 1J, 1K, 2K. (Bug#15617)
8066 * files.el (hack-local-variables--warned-lexical): New.
8067 (hack-local-variables):
8068 Warn about misplaced lexical-binding. (Bug#15616)
8070 * net/eww.el (eww-render): Always set eww-current-url,
8071 and update header line. (Bug#15622)
8072 (eww-display-html): ... Rather than just doing it here.
8074 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8076 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8077 menu navigations commands.
8079 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8081 * progmodes/subword.el (subword-capitalize): Be careful when
8082 the search for [[:alpha:]] fails (bug#15580).
8084 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8086 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8087 to commands that scroll the menu.
8089 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8091 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8092 Handle methods ending with `?' and `!'.
8094 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8096 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8097 `japanese-cp932' to `cp932' to fix the problem where saving a
8098 source file written in Shift_JIS twice would end up having
8099 `coding: japanese-cp932' which Ruby could not recognize.
8100 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8101 in `ruby-encoding-map'.
8102 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8103 doesn't need to be explicitly declared in magic comment.
8104 (ruby-encoding-map): Add type declaration for better customize UI.
8106 2013-10-13 Glenn Morris <rgm@gnu.org>
8108 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8109 Occur buffers are read-only. http://bugs.debian.org/720775
8111 * emacs-lisp/authors.el (authors-fixed-entries):
8112 Comment out old alpha stuff.
8114 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8116 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8117 to `after-save-hook' instead of `before-save-hook'.
8118 (ruby-mode-set-encoding): Use the value of coding system used to
8119 write the file. Call `basic-save-buffer-1' after modifying the
8122 2013-10-13 Alan Mackenzie <acm@muc.de>
8124 Fix indentation/fontification of Java enum with
8125 "implements"/generic.
8127 * progmodes/cc-engine.el (c-backward-over-enum-header):
8128 Extracted from the three other places and enhanced to handle generics.
8129 (c-inside-bracelist-p): Uses new function above.
8130 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8132 (c-font-lock-enum-tail): Uses new function above.
8134 2013-10-13 Kenichi Handa <handa@gnu.org>
8136 * international/mule-cmds.el (select-safe-coding-system): Remove a
8137 superfluous condition in chekcing whether a coding system is safe
8140 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8142 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8144 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8146 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8148 2013-10-13 Glenn Morris <rgm@gnu.org>
8150 * menu-bar.el (menu-bar-update-buffers):
8151 Unify Buffers menu prompt string. (Bug#15576)
8153 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8155 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8157 (authors-fixed-entries): Use accented form of name.
8159 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8161 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8162 method calls (bug#15594).
8163 (ruby-smie--args-separator-p): New function.
8164 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8165 recognize paren-free method calls.
8167 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8168 internals of universal-argument.
8170 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8172 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8173 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8174 dropped menu on second mouse click on the menu bar.
8176 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8179 (explicit-shell-file-name): Declare.
8180 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8181 (sh-completion-at-point-function): New function.
8183 (sh-smie--keyword-p): Remove unused argument.
8184 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8186 (sh-set-shell): Always setup SMIE, even if we use the
8187 old indentation code.
8189 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8191 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8193 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8194 predicate would return nil are almost non-existent.
8195 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8197 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8198 cache also after commands that modify the buffer but don't move
8201 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * env.el (substitute-env-in-file-name): New function.
8204 (substitute-env-vars): Extend the meaning of the optional arg.
8206 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8208 * term/w32-win.el (dynamic-library-alist): Define separate lists
8209 of GIF DLLs for versions before and after 5.0.0 of giflib.
8212 2013-10-10 João Távora <joaotavora@gmail.com>
8214 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8215 not locked, use last revision and current source as
8216 defaults. (Bug#15569)
8218 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8220 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8223 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8225 * window.el (pop-to-buffer-same-window): Fix doc-string.
8228 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8232 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8234 * calendar/icalendar.el (icalendar-import-file):
8235 Fix interactive spec. (Bug#15482)
8237 2013-10-10 Glenn Morris <rgm@gnu.org>
8239 * desktop.el (desktop-save): Default to saving in .emacs.d,
8240 since PWD is no longer in desktop-path by default. (Bug#15319)
8242 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8243 now that text mode has a menu with the same entry.
8244 (menu-bar-text-mode-auto-fill): Remove now unused func.
8245 * textmodes/text-mode.el (text-mode-map):
8246 Use auto-fill help text from menu-bar.el.
8248 2013-10-10 John Anthony <john@jo.hnanthony.com>
8250 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8252 2013-10-09 Juri Linkov <juri@jurta.org>
8254 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8255 instead of this-command-keys. Add universal-argument-more and
8256 universal-argument-minus to the list of prefix commands. (Bug#15568)
8258 2013-10-09 Glenn Morris <rgm@gnu.org>
8260 * vc/vc-svn.el (vc-svn-create-repo):
8261 Expand paths in file://... url. (Bug#15446)
8263 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8265 (authors): Remove unused local variables.
8267 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8269 * profiler.el: Create a more coherent calltree from partial backtraces.
8270 (profiler-format): Hide the tail with `invisible' so that C-s can still
8271 find the hidden elements.
8272 (profiler-calltree-depth): Don't recurse so enthusiastically.
8273 (profiler-function-equal): New hash-table-test.
8274 (profiler-calltree-build-unified): New function.
8275 (profiler-calltree-build): Use it.
8276 (profiler-report-make-name-part): Indent the calltree less.
8277 (profiler-report-mode): Add visibility specs for profiler-format.
8278 (profiler-report-expand-entry, profiler-report-toggle-entry):
8279 Expand the whole subtree when provided with a prefix arg.
8281 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8283 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8285 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8286 hanging iuwu-mod token.
8287 (ruby-smie--forward-token): Do not include a dot after a token in
8289 (ruby-smie--backward-token): Likewise.
8291 2013-10-08 Juri Linkov <juri@jurta.org>
8293 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8294 to isearch-other-control-char.
8295 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8296 and isearch-post-command-hook to post-command-hook.
8297 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8298 and isearch-post-command-hook from post-command-hook.
8299 (isearch-unread-key-sequence)
8300 (isearch-reread-key-sequence-naturally)
8301 (isearch-lookup-scroll-key, isearch-other-control-char)
8302 (isearch-other-meta-char): Remove functions.
8303 (isearch-pre-command-hook, isearch-post-command-hook):
8304 New functions based on isearch-other-meta-char rewritten
8305 relying on the new behavior of overriding-terminal-local-map
8306 that does not replace the local keymaps any more. (Bug#15200)
8308 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8310 Support menus on text-mode terminals.
8311 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8314 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8316 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8317 Move here from mouse.el.
8318 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8320 (tty-menu-navigation-map): New map for TTY menu navigation.
8322 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8324 * frame.el (display-mouse-p): Report text-mode mouse as available
8326 (display-popup-menus-p): Report availability if mouse is
8327 available; don't condition on window-system.
8329 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8330 (tty-menu-selected-face): New faces.
8332 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8334 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8335 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8336 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8337 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8339 (lisp-mode-variables): New `elisp' argument.
8340 (emacs-lisp-mode): Use it.
8341 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8342 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8344 * indent.el: Use lexical-binding.
8345 (indent-region): Add progress reporter.
8346 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8348 (indent--next-tab-stop): New function to implement this behavior.
8349 (tab-to-tab-stop, move-to-tab-stop): Use it.
8351 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8353 * indent.el (indent-rigidly--current-indentation): New function.
8354 (indent-rigidly-map): New var.
8355 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8357 2013-10-08 Bastien Guerry <bzg@gnu.org>
8359 * register.el (insert-register): Fix 2013-10-07 change.
8361 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8363 * progmodes/perl-mode.el: Use lexical-binding.
8364 Remove redundant :group args.
8365 (perl-nochange): Change default to be closer to other major modes's
8367 (perl-indent-line): Don't consider text on current line as a
8368 valid beginning of function from which to indent.
8370 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8371 with more than one argument (bug#15538).
8373 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8375 * vc/pcvs.el: Use lexical-binding.
8376 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8377 environment of `eval'.
8378 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8379 than a list of expressions. Adjust callers.
8380 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8382 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8384 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8385 case of the dot in a chained method call being on the following line.
8387 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * electric.el (electric-indent-inhibit): New var.
8390 (electric-indent-post-self-insert-function): Use it.
8391 * progmodes/python.el (python-mode): Set it.
8393 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8396 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8398 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8399 (css-mode): Use electric-indent-chars.
8401 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8402 (font-lock-beg, font-lock-end): Move before first use.
8403 (nxml-mode): Use syntax-propertize-function.
8404 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8405 (nxml-extend-after-change-region): Remove.
8406 * nxml/xmltok.el: Use lexical-binding.
8407 (xmltok-save): Use `declare'.
8408 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8409 * nxml/nxml-util.el: Use lexical-binding.
8410 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8412 * nxml/nxml-ns.el: Use lexical-binding.
8413 (nxml-ns-save): Use `declare'.
8414 (nxml-ns-prefixes-for): Avoid add-to-list.
8415 * nxml/rng-match.el: Use lexical-binding.
8416 (rng--ipattern): Use cl-defstruct.
8417 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8418 (rng-cons-group-after, rng-subst-group-after)
8419 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8420 Use closures instead of `(lambda...).
8422 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8424 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8427 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8428 Use `tramp-handle-insert-file-contents'.
8429 (tramp-gvfs-handle-insert-file-contents): Remove function.
8431 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8432 Use `save-restriction' in order to keep markers.
8434 * net/trampver.el: Update release number.
8436 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * progmodes/compile.el (compilation-parse-errors):
8439 Use compilation--put-prop.
8440 (compilation--ensure-parse): Check compilation-multiline.
8442 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8444 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8447 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8449 * progmodes/ruby-mode.el: Fix recently added tests.
8450 (ruby-smie-grammar): Add - and +.
8451 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8452 (ruby-smie--backward-id): New functions.
8453 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8454 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8457 2013-10-07 Leo Liu <sdl.web@gmail.com>
8459 * register.el (register-preview-delay)
8460 (register-preview-functions): New variables.
8461 (register-read-with-preview, register-preview)
8462 (register-describe-oneline): New functions.
8463 (point-to-register, window-configuration-to-register)
8464 (frame-configuration-to-register, jump-to-register)
8465 (number-to-register, view-register, insert-register)
8466 (copy-to-register, append-to-register, prepend-to-register)
8467 (copy-rectangle-to-register): Use register-read-with-preview to
8468 read register. (Bug#15525)
8470 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8472 * net/network-stream.el (network-stream-open-starttls): Don't add
8473 --insecure if it's already present, because that gnutls-cli
8474 rejects getting that parameter twice.
8476 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8478 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8481 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8483 * newcomment.el (comment-use-global-state): Change default value
8484 to t, mark obsolete (Bug#15251).
8485 (comment-beginning): In addition to `comment-to-syntax', check the
8486 value of `comment-use-global-state'.
8488 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8490 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8491 (ruby-comment-column): Follow the global default, by default.
8492 (ruby-smie-grammar): Add assignment syntax.
8493 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8494 open-paren, a comma, or a \.
8495 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8496 and line continuations.
8497 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8498 followed by implicit semi-colons. Add rule for string concatenation
8499 and for indentation at BOB.
8500 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8502 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8503 calling next-sexp, since next-token may have skipped chars which
8504 next-sexp doesn't know should be skipped!
8506 2013-10-05 Leo Liu <sdl.web@gmail.com>
8508 * progmodes/octave.el (octave-send-region):
8509 Call compilation-forget-errors.
8511 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8513 * vc/vc-svn.el (vc-svn-find-admin-dir):
8514 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8515 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8516 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8517 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8519 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8521 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8523 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8525 * subr.el (read-passwd): Hide chars even when called within a context
8526 where after-change-functions is disabled (bug#15501).
8527 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8528 until we removed ourself from overriding-terminal-local-map.
8530 2013-10-04 Leo Liu <sdl.web@gmail.com>
8532 * progmodes/octave.el (inferior-octave-mode):
8533 Call compilation-forget-errors.
8535 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8537 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8539 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8541 * net/secrets.el (secrets-create-collection): Add optional
8542 argument ALIAS. Use proper Label keyword. Append ALIAS as
8543 dbus-call-method argument. (Bug#15516)
8545 2013-10-04 Leo Liu <sdl.web@gmail.com>
8547 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8548 (inferior-octave-compilation-font-lock-keywords): New variables.
8549 (compilation-error-regexp-alist)
8550 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8551 (inferior-octave-mode): Use compilation-shell-minor-mode.
8553 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8555 * minibuffer.el (completion--replace): Be careful that `end' might be
8558 2013-10-03 Daiki Ueno <ueno@gnu.org>
8560 Add support for package signature checking.
8561 * emacs-lisp/package.el (url-http-file-exists-p)
8562 (epg-make-context, epg-context-set-home-directory)
8563 (epg-verify-string, epg-context-result-for)
8564 (epg-signature-status, epg-signature-to-string)
8565 (epg-check-configuration, epg-configuration)
8566 (epg-import-keys-from-file): Declare.
8567 (package-check-signature): New user option.
8568 (package-unsigned-archives): New user option.
8569 (package-desc): Add `signed' field.
8570 (package-load-descriptor): Set `signed' field if .signed file exists.
8571 (package--archive-file-exists-p): New function.
8572 (package--check-signature): New function.
8573 (package-install-from-archive): Check package signature.
8574 (package--download-one-archive): Check archive signature.
8575 (package-delete): Remove .signed file.
8576 (package-import-keyring): New command.
8577 (package-refresh-contents): Import default keyring.
8578 (package-desc-status): Add "unsigned" status.
8579 (describe-package-1, package-menu--print-info)
8580 (package-menu-mark-delete, package-menu--find-upgrades)
8581 (package-menu--status-predicate): Support "unsigned" status.
8583 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8586 the new compilation scheme using the new byte-codes.
8588 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8589 (byte-pophandler): New byte codes.
8590 (byte-goto-ops): Adjust accordingly.
8591 (byte-compile--use-old-handlers): New var.
8592 (byte-compile-catch): Use new byte codes depending on
8593 byte-compile--use-old-handlers.
8594 (byte-compile-condition-case--old): Rename from
8595 byte-compile-condition-case.
8596 (byte-compile-condition-case--new): New function.
8597 (byte-compile-condition-case): New function that dispatches depending
8598 on byte-compile--use-old-handlers.
8599 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8602 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8603 Optimize under `condition-case' and `catch' if
8604 byte-compile--use-old-handlers is nil.
8605 (disassemble-offset): Handle new bytecodes.
8607 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8609 * subr.el (error): Use `declare'.
8610 (decode-char, encode-char): Use advertised-calling-convention instead
8611 of the docstring to discourage use of the `restriction' arg.
8613 2013-10-03 Daiki Ueno <ueno@gnu.org>
8615 * epg.el (epg-verify-file): Add a comment saying that it does not
8616 notify verification error as a return value nor a signal.
8617 (epg-verify-string): Ditto.
8619 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8621 * progmodes/compile.el (compilation-start): Try globbing the arg to
8624 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8626 Sync with Tramp 2.2.8.
8628 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8629 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8630 * net/trampver.el: Update release number.
8632 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8634 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8635 and default-process-coding-system for darwin only.
8637 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8639 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8641 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8643 * vc/vc-git.el (vc-git-grep): Disable pager.
8645 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8647 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8648 Use :url instead of :homepage, as per
8649 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8651 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8652 non-nil, use `syntax-ppss' (Bug#15251).
8654 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8656 * progmodes/octave.el (inferior-octave-startup-file):
8657 Prefer ~/.emacs.d/init_octave.m.
8659 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8661 * emacs-lisp/package.el (package-desc-from-define):
8662 Accept additional arguments as plist, convert them to an alist and store
8663 them in the `extras' slot.
8664 (package-generate-description-file): Convert extras alist back to
8665 plist and append to the `define-package' form arguments.
8666 (package--alist-to-plist): New function.
8667 (package--ac-desc): Add `extras' slot.
8668 (package--add-to-archive-contents): Check if the archive-contents
8669 vector is long enough, and if it is, pass its `extras' slot value
8670 to `package-desc-create'.
8671 (package-buffer-info): Call `lm-homepage', pass the returned value
8672 to `package-desc-from-define'.
8673 (describe-package-1): Render the homepage button (Bug#13291).
8675 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8676 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8678 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8680 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8681 and default-process-coding-system to utf-8-unix (Bug#15402).
8683 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8685 * subr.el (looking-back): Do not recommend using looking-back.
8687 2013-09-28 Alan Mackenzie <acm@muc.de>
8689 Fix indentation/fontification of Java enum with "implements".
8691 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8692 regexp which matches "implements", etc., in Java.
8693 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8694 specifier clauses coming after "enum".
8695 * progmodes/cc-fonts.el (c-font-lock-declarations)
8696 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8699 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8701 * faces.el (region): Change ns_selection_color to
8702 ns_selection_fg_color, add ns_selection_bg_color.
8704 2013-09-28 Leo Liu <sdl.web@gmail.com>
8706 * progmodes/octave.el (inferior-octave-completion-table)
8707 (inferior-octave-completion-at-point): Minor tweaks.
8709 * textmodes/ispell.el (ispell-lookup-words): Rename from
8710 lookup-words. (Bug#15460)
8711 (lookup-words): Obsolete.
8712 (ispell-complete-word, ispell-command-loop): All uses changed.
8714 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8716 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8717 (octave-mode-menu): Add octave-send-buffer.
8718 (octave-send-buffer): New function.
8720 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8722 * progmodes/octave.el (octave-mode-map): Add key binding for
8724 (octave-mode-menu): Add octave-lookfor.
8725 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8727 (octave-lookfor): New function.
8729 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8731 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8732 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8734 (cl--loop-set-iterator-function): New function.
8735 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8736 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8737 Bind `it' with `let' instead of substituting it with `cl-subst'.
8738 (cl--unused-var-p): New function.
8739 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8740 Eliminate some unused variable warnings (bug#15326).
8742 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8744 * doc-view.el (doc-view-scale-reset): Rename from
8745 `doc-view-reset-zoom-level'.
8746 (doc-view-scale-adjust): New command.
8747 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8748 `doc-view-scale-adjust'.
8750 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8752 * doc-view.el (doc-view-reset-zoom-level): New command.
8753 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8754 zoom commands (bug#15466).
8756 2013-09-26 Kenichi Handa <handa@gnu.org>
8758 * international/quail.el (quail-help): Make it not a command.
8760 2013-09-26 Leo Liu <sdl.web@gmail.com>
8762 * minibuffer.el (completion-all-sorted-completions): Make args
8763 optional as they are.
8765 2013-09-25 Daniel Colascione <dancol@dancol.org>
8767 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8768 specs are and that they're not evaluated.
8770 2013-09-24 Sam Steingold <sds@gnu.org>
8772 * midnight.el (clean-buffer-list-kill-regexps)
8773 (clean-buffer-list-kill-buffer-names): Update for the new Man
8774 buffer naming which includes the object name.
8776 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8778 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8779 (eshell-parse-command, eshell-parse-pipeline): Use it since
8780 eshell-separate-commands requires a dynamic scoped var.
8781 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8783 2013-09-23 Leo Liu <sdl.web@gmail.com>
8785 * autoinsert.el (auto-insert-alist): Make the value of
8786 lexical-binding match its file setting.
8788 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8790 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8792 * autoarg.el (autoarg-kp-digit-argument):
8793 * electric.el (Electric-command-loop):
8794 * kmacro.el (kmacro-step-edit-insert):
8795 Do not set universal-argument-num-events.
8797 2013-09-22 Leo Liu <sdl.web@gmail.com>
8799 * files.el (interpreter-mode-alist): Add octave.
8801 2013-09-21 Alan Mackenzie <acm@muc.de>
8803 C++: fontify identifier in declaration following "public:" correctly.
8804 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8805 to match "public", etc.
8806 (c-decl-prefix-re): Add ":" into the C++ value.
8807 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8808 bit. Add a check for a ":" preceded by "public", etc.
8810 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8812 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8813 recognized by GDB 7.5 and later.
8815 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8817 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8819 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8821 * subr.el (internal--call-interactively): New const.
8822 (called-interactively-p): Use it (bug#3984).
8824 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8826 * vc/pcvs.el (cvs-mode-ignore):
8827 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8828 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8830 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8833 (eshell-ls-orig-insert-directory): Remove.
8834 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8835 (eshell-ls-use-in-dired): Use advice-add/remove.
8836 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8837 Add `orig-fun' arg for use in :around advice.
8838 Make it check (redundantly) eshell-ls-use-in-dired.
8840 2013-09-19 Glenn Morris <rgm@gnu.org>
8842 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8844 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8846 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8848 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8850 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8851 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8852 (tramp-get-remote-python): New defuns.
8853 (tramp-get-remote-uid-with-perl)
8854 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8855 contributed by yary <not.com@gmail.com> (tiny change).
8856 (tramp-get-remote-uid-with-python)
8857 (tramp-get-remote-gid-with-python): New defuns. Python code
8858 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8859 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8861 2013-09-19 Glenn Morris <rgm@gnu.org>
8863 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8865 * eshell/em-unix.el (eshell-remove-entries):
8866 Rename argument to avoid name-clash with global `top-level'.
8868 * eshell/esh-proc.el (eshell-kill-process-function):
8869 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8870 (eshell-reset-after-proc): Remove unused arg `proc'.
8872 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8873 (directory-files-and-attributes): Mark unused arg.
8875 * eshell/em-unix.el (eshell-remove-entries):
8876 Remove unused arg `path'. Update callers.
8878 * eshell/em-hist.el (eshell-hist-parse-arguments):
8879 Remove unused arg `silent'. Update callers.
8881 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8882 Fix (f)boundp mix-up.
8884 * eshell/em-smart.el (eshell-smart-scroll-window)
8885 (eshell-disable-after-change):
8886 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8888 2013-09-18 Alan Mackenzie <acm@muc.de>
8890 Fix fontification of type when followed by "const".
8891 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8892 "known" types from fontification.
8894 2013-09-18 Glenn Morris <rgm@gnu.org>
8896 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8897 (chart-face-list): Drop Emacsen without display-color-p.
8899 * net/eww.el (libxml-parse-html-region): Declare.
8900 (eww-display-html): Explicit error if no libxml2 support.
8902 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8904 * image.el (image-type-from-buffer, image-multi-frame-p):
8905 Remove --without-x warning/error.
8907 * mouse.el (mouse-yank-primary):
8908 * term.el (term-mouse-paste):
8909 Reorder to silence --without-x compilation.
8911 * mpc.el (doc-view-mode): Silence --without-x compilation.
8913 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8914 Silence --without-x compilation.
8916 * progmodes/gud.el (gud-find-file, gud-mode):
8917 Silence --without-x compilation.
8918 (tooltip-mode): Declare.
8920 * wdired.el (dired-backup-overwrite): Remove declaration.
8921 (wdired-mode-map): Add doc string.
8923 * custom.el (x-get-resource): Declare.
8925 * eshell/em-glob.el (ange-cache):
8926 * eshell/em-unix.el (ange-cache): Declare.
8928 * faces.el (x-display-list, x-open-connection, x-get-resource):
8931 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8932 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8935 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8937 * net/gnutls.el (gnutls-log-level): Declare.
8939 * net/shr.el (image-size, image-animate): Declare.
8941 * simple.el (font-info): Declare.
8943 * subr.el (x-popup-dialog): Declare.
8945 * term/common-win.el (x-select-enable-primary)
8946 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8949 * term/ns-win.el (x-handle-args): Declare.
8951 * term/x-win.el (x-select-enable-clipboard): Declare.
8953 * term/w32-win.el (create-default-fontset): Declare.
8955 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8958 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8959 (fit-frame-to-buffer): Explicit error if --without-x.
8960 (mouse-autoselect-window-select): Silence compiler.
8962 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8964 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8965 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8966 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8967 * eshell/esh-util.el (eshell-sublist):
8968 Remove unused local variables.
8970 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8972 * textmodes/two-column.el: Make 2C-split work for --without-x.
8973 (scroll-bar-columns): Autoload.
8974 (top-level): Require fringe when compiling.
8976 2013-09-18 Leo Liu <sdl.web@gmail.com>
8978 * subr.el (add-hook): Robustify to handle closure as well.
8980 2013-09-17 Glenn Morris <rgm@gnu.org>
8982 * simple.el (messages-buffer-mode-map): Unbind "g".
8984 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * help-mode.el (help-mode-finish): Use derived-mode-p.
8987 Remove obsolete highlighting.
8989 * play/life.el (life-mode): Use define-derived-mode. Derive from
8991 (life): Let-bind inhibit-read-only.
8992 (life-setup): Avoid `setq'. Use `life-mode'.
8994 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8995 which should not be needed any more.
8996 (package-menu-refresh, package-menu-describe-package): Use user-error.
8998 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8999 (eshell-post-rewrite-command-hook): Make obsolete.
9000 (eshell-parse-command): Simplify.
9001 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9002 (eshell--cmd): Declare.
9003 (eshell-parse-pipeline): Remove unused var `final-p'.
9004 Pass a dynvar to eshell-post-rewrite-command-hook.
9005 Implement the new eshell-post-rewrite-command-function.
9006 (eshell-invoke-directly): Remove unused arg `input'.
9007 * eshell/esh-io.el (eshell-io-initialize):
9008 Use eshell-post-rewrite-command-function (bug#15399).
9009 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9010 adjust to new calling convention.
9011 (eshell-create-handles): Rename args to avoid clashing with dynvar
9014 2013-09-17 Glenn Morris <rgm@gnu.org>
9016 * simple.el (messages-buffer-mode): New major mode.
9017 (messages-buffer): New function.
9018 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9019 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9020 (ert-run-test): Use `messages-buffer' function.
9021 (ert--force-message-log-buffer-truncation): Ignore read-only.
9022 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9023 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9025 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9027 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9029 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9031 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * icomplete.el (icomplete-in-buffer): New var.
9034 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9035 vars and replace them with functions.
9036 (icomplete-minibuffer-setup): Adjust accordingly.
9037 (icomplete--completion-table, icomplete--completion-predicate)
9038 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9040 (icomplete-forward-completions, icomplete-backward-completions)
9041 (icomplete-simple-completing-p, icomplete-exhibit)
9042 (icomplete-completions): Use them.
9043 (icomplete--in-region-buffer): New var.
9044 (icomplete--in-region-setup): New function.
9045 (icomplete-mode): Use it.
9047 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9049 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9050 return args and options.
9051 (eshell-eval-using-options): Use the new return value of
9052 eshell--do-opts to set the options's vars in their scope.
9053 (eshell--set-option): Rename from eshell-set-option.
9055 (eshell--process-option): Rename from eshell-process-option.
9057 (eshell--process-args): Use an `opt-vals' alist to store the options's
9058 values during their processing and return them additionally to the
9061 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9063 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9064 continuation character an operator, as far as indentation is
9065 concerned (Bug#15369).
9067 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9069 * window.el (window--state-put-2): Don't process buffer state
9070 when buffer doesn't exist any more (Bug#15382).
9072 2013-09-15 Glenn Morris <rgm@gnu.org>
9074 * eshell/em-unix.el (eshell/rm):
9075 Make -f ignore missing files. (Bug#15373)
9077 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9078 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9079 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9081 2013-09-14 Glenn Morris <rgm@gnu.org>
9083 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9085 2013-09-13 Glenn Morris <rgm@gnu.org>
9087 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9088 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9090 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9092 * frame.el (x-focus-frame): Mark as declared in frame.c.
9094 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * ls-lisp.el: Use advice-add.
9097 (original-insert-directory): Remove.
9098 (ls-lisp--insert-directory): Rename from insert-directory; add
9099 `orig-fun' argument.
9100 (insert-directory): Advise.
9102 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9104 * term.el (term-emulate-terminal): Decode the command string
9105 before passing it to term-command-hook. (Bug#15337)
9107 2013-09-13 Glenn Morris <rgm@gnu.org>
9109 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9111 * eshell/esh-ext.el (eshell-search-path): Declare.
9113 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9114 Otherwise an error occurs if eshell-dirs module not loaded.
9116 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9118 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9120 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9121 `tramp-check-proper-host'. Check for a valid method name.
9123 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9124 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9125 * net/tramp-sh.el (tramp-maybe-open-connection):
9126 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9128 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9129 also for hash values.
9131 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * term/ns-win.el (parameters): Don't declare as dynamic.
9134 (before-make-frame-hook): Don't add ineffective function.
9136 * eshell/*.el: Use lexical-binding (bug#15231).
9138 2013-09-12 Kenichi Handa <handa@gnu.org>
9140 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9142 2013-09-12 Glenn Morris <rgm@gnu.org>
9144 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9145 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9147 * subr.el (do-after-load-evaluation): Also give compiler warnings
9148 when obsolete files are used (except by obsolete files).
9150 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9151 in the status output, assume `filename' is the first. (Bug#15322)
9153 * vc/vc.el (vc-deduce-fileset): Doc fix.
9155 * calc/calc-help.el (Info-goto-node):
9156 * progmodes/cperl-mode.el (Info-find-node):
9157 * vc/ediff.el (Info-goto-node): Update declarations.
9159 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9161 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9162 (vc-bzr-pull): Require vc-dispatcher.
9163 * vc/vc-git.el (vc-compilation-mode): Declare.
9164 (vc-git-pull): Require vc-dispatcher.
9166 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9168 * progmodes/octave.el (help-button-action): Declare.
9170 * shell.el (shell-directory-tracker): Output error as a message
9171 rather than just returning it as a string.
9172 (shell-process-pushd): Remove useless use of message.
9174 * dframe.el (dframe-timer-fn):
9175 * files.el (dir-locals-read-from-file):
9176 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9178 * reveal.el (reveal-post-command):
9179 * saveplace.el (load-save-place-alist-from-file):
9180 * shell.el (shell-resync-dirs):
9181 * w32-common-fns.el (x-get-selection-value):
9182 * emacs-lisp/copyright.el (copyright-find-copyright):
9183 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9184 * emulation/tpu-edt.el (tpu-copy-keyfile):
9185 * play/bubbles.el (bubbles--mark-neighbourhood):
9186 * progmodes/executable.el
9187 (executable-make-buffer-file-executable-if-script-p):
9188 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9190 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9192 Cleanup Eshell to rely less on dynamic scoping.
9193 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9194 last-value, and ext-command here. Bind `args' closer to `body'.
9195 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9196 (eshell--args): Declare new dynamic var.
9197 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9198 last-value, and ext-command. Pass `args' to `body'.
9199 (eshell-process-args): Bind eshell--args.
9200 (eshell-set-option): Use eshell--args.
9201 * eshell/eshell.el (eshell): Use derived-mode-p.
9202 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9203 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9204 (eshell-glob-function): Declare.
9205 * eshell/esh-util.el: Require cl-lib.
9206 (eshell-read-hosts-file): Avoid add-to-list.
9207 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9209 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9211 (eshell/diff): Remove unused var `err'.
9212 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9214 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9215 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9217 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9218 Move declaration before first use.
9219 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9220 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9223 2013-09-12 Glenn Morris <rgm@gnu.org>
9225 * term/ns-win.el (global-map): Remove binding for ispell-next,
9226 deleted 1999-05-29. (Bug#15357)
9228 2013-09-11 Glenn Morris <rgm@gnu.org>
9230 * echistory.el (electric-command-history): Remove call to deleted func.
9232 * play/landmark.el (landmark-mode): Fix typos.
9234 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9235 Check cvs-sort-ignore-file is bound.
9237 * savehist.el: No need for cl when compiling on Emacs.
9239 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9243 (eshell-self-insert-command, eshell-send-invisible):
9244 Remove unused argument.
9245 (eshell-handle-control-codes): Remove unused var `orig'.
9246 Avoid delete-backward-char.
9248 * files.el (set-auto-mode): Simplify a bit further.
9250 2013-09-11 Glenn Morris <rgm@gnu.org>
9252 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9253 (set-auto-mode): Don't regexp-quote elements.
9254 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9255 * progmodes/cc-mode.el (interpreter-mode-alist):
9256 * progmodes/ruby-mode.el (interpreter-mode-alist):
9257 Revert previous change.
9259 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9261 * play/snake.el (snake-mode):
9262 * play/mpuz.el (mpuz-mode):
9263 * play/landmark.el (lm-mode):
9264 * play/blackbox.el (blackbox-mode):
9265 * play/5x5.el (5x5-mode):
9266 * obsolete/options.el (Edit-options-mode):
9267 * net/quickurl.el (quickurl-list-mode):
9268 * net/newst-treeview.el (newsticker-treeview-mode):
9269 * mail/rmailsum.el (rmail-summary-mode):
9270 * mail/mspools.el (mspools-mode):
9271 * locate.el (locate-mode):
9272 * ibuffer.el (ibuffer-mode):
9273 * emulation/ws-mode.el (wordstar-mode):
9274 * emacs-lisp/debug.el (debugger-mode):
9275 * array.el (array-mode):
9276 * net/eudc.el (eudc-mode): Use define-derived-mode.
9277 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9278 Move initialization into declaration.
9279 (mairix-searches-mode): Use define-derived-mode.
9280 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9281 (eudc-edit-hotlist): Use dolist.
9282 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9283 (Man-mode): Use define-derived-mode.
9284 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9285 (Info-edit-mode): Use define-derived-mode.
9286 (Info-cease-edit): Use Info-mode.
9287 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9289 (eshell-mode): Use define-derived-mode.
9290 * chistory.el (command-history-mode-map): Rename from
9291 command-history-map.
9292 (command-history-mode): Use define-derived-mode.
9293 (Command-history-setup): Remove function.
9294 * calc/calc.el (calc-trail-mode-map): New var.
9295 (calc-trail-mode): Use define-derived-mode.
9296 (calc-trail-buffer): Set calc-main-buffer manually.
9297 * bookmark.el (bookmark-insert-annotation): New function.
9298 (bookmark-edit-annotation): Use it.
9299 (bookmark-edit-annotation-mode): Make it a proper major mode.
9300 (bookmark-send-edited-annotation): Use derived-mode-p.
9301 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9302 closer to its ideal place. Use \' to match EOS.
9304 * profiler.el (profiler-calltree-find): Use function-equal.
9306 2013-09-10 Glenn Morris <rgm@gnu.org>
9308 * files.el (interpreter-mode-alist): Convert to regexps.
9309 (set-auto-mode): Adapt for this. (Bug#15306)
9310 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9311 Comment out unused variable.
9312 * progmodes/cc-mode.el (interpreter-mode-alist):
9313 * progmodes/python.el (interpreter-mode-alist):
9314 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9315 * progmodes/sh-script.el (sh-set-shell):
9316 No longer use interpreter-mode-alist to get list of shells.
9318 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9320 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * simple.el: Use set-temporary-overlay-map for universal-argument.
9323 (universal-argument-map): Don't use default-bindings (bug#15317).
9324 Bind switch-frame explicitly. Replace universal-argument-minus with
9325 a conditional binding.
9326 (universal-argument-num-events, saved-overriding-map): Remove.
9327 (restore-overriding-map): Remove.
9328 (universal-argument--mode): Rename from save&set-overriding-map,
9330 (universal-argument, universal-argument-more, negative-argument)
9331 (digit-argument): Adjust accordingly.
9332 (universal-argument-minus): Remove.
9333 (universal-argument-other-key): Remove.
9335 * subr.el (with-demoted-errors): Add `format' argument.
9337 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9339 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9340 `tramp-cleanup-connection'.
9342 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9343 parameters KEEP-DEBUG and KEEP-PASSWORD.
9345 * net/tramp.el (tramp-file-name-handler):
9346 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9347 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9348 (tramp-maybe-open-connection):
9349 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9350 Use `tramp-cleanup-connection'.
9352 * net/tramp-sh.el (tramp-maybe-open-connection):
9353 Catch 'uname-changed inside the progress reporter.
9355 2013-09-10 Glenn Morris <rgm@gnu.org>
9357 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9359 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9360 returns "alternate access method" in mode (eg "-rw-r--r--.").
9362 2013-09-08 Glenn Morris <rgm@gnu.org>
9364 * saveplace.el (load-save-place-alist-from-file):
9365 Demote errors. (Bug#15305)
9367 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9369 Improve compatibility with older Emacsen, and XEmacs.
9371 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9372 only if it is bound. It isn't for XEmacs.
9373 (with-tramp-progress-reporter): Do not let-bind `result'.
9374 This yields to scoping errors in XEmacs.
9375 (tramp-handle-make-auto-save-file-name): New function, moved from
9378 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9379 for `make-auto-save-file-name'.
9380 (tramp-adb--gnu-switches-to-ash):
9381 Use `tramp-compat-replace-regexp-in-string'.
9383 * net/tramp-cache.el (tramp-cache-print): Call
9384 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9386 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9387 bound. It isn't for XEmacs.
9389 * net/tramp-compat.el (tramp-compat-copy-file):
9390 Catch `wrong-number-of-arguments' error.
9391 (tramp-compat-replace-regexp-in-string): New defun.
9393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9394 for `make-auto-save-file-name'.
9395 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9397 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9398 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9399 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9401 * net/tramp-gw.el (tramp-gw-open-network-stream):
9402 Use `tramp-compat-replace-regexp-in-string'.
9404 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9405 Call `tramp-handle-make-auto-save-file-name'.
9406 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9407 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9408 (tramp-sh-file-inotifywait-process-filter):
9409 Use `tramp-compat-replace-regexp-in-string'.
9410 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9412 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9413 for `make-auto-save-file-name'.
9414 (tramp-smb-handle-copy-directory):
9415 Call `tramp-compat-replace-regexp-in-string'.
9416 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9417 (tramp-smb-handle-copy-file): Improve error message.
9418 (tramp-smb-handle-rename-file): Rename directly only in case
9419 `newname' does not exist yet. This is a restriction of smbclient.
9420 (tramp-smb-maybe-open-connection): Rerun the function only when
9421 `auth-sources' is non-nil.
9423 2013-09-08 Kenichi Handa <handa@gnu.org>
9425 * international/characters.el: Set category "^" (Combining) for
9428 2013-09-07 Alan Mackenzie <acm@muc.de>
9430 Correctly fontify Java class constructors.
9431 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9433 (c-recognize-typeless-decls): Set the Java value to t.
9434 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9435 While handling a "(", add a check for, effectively, Java, and handle a
9436 "typeless" declaration there.
9438 2013-09-07 Roland Winkler <winkler@gnu.org>
9440 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9441 field subtitle for entry type book.
9443 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * minibuffer.el: Make minibuffer-complete call completion-in-region
9446 rather than other way around.
9447 (completion--some, completion-pcm--find-all-completions):
9448 Don't delay signals when debugging.
9449 (minibuffer-completion-contents): Beware fields within the
9450 minibuffer contents.
9451 (completion-all-sorted-completions): Use defvar-local.
9452 (completion--do-completion, completion--cache-all-sorted-completions)
9453 (completion-all-sorted-completions, minibuffer-force-complete):
9454 Add args `beg' and `end'.
9455 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9456 (minibuffer-complete): Use completion-in-region.
9457 (completion-complete-and-exit): New fun, extracted from
9458 minibuffer-complete-and-exit.
9459 (minibuffer-complete-and-exit): Use it.
9460 (completion--complete-and-exit): Rename from
9461 minibuffer--complete-and-exit.
9462 (completion-in-region--single-word): New function, extracted from
9463 minibuffer-complete-word.
9464 (minibuffer-complete-word): Use it.
9465 (display-completion-list): Make `common-substring' argument obsolete.
9466 (completion--in-region): Call completion--in-region-1 instead of
9467 minibuffer-complete.
9468 (completion-help-at-point): Pass boundaries to
9469 minibuffer-completion-help as args rather than via an overlay.
9470 (completion-pcm--string->pattern): Use `any-delim'.
9471 (completion-pcm--optimize-pattern): New function.
9472 (completion-pcm--pattern->regex): Handle `any-delim'.
9473 * icomplete.el (icomplete-forward-completions)
9474 (icomplete-backward-completions, icomplete-completions):
9475 Adjust calls to completion-all-sorted-completions and
9476 completion--cache-all-sorted-completions.
9477 (icomplete-with-completion-tables): Default to t.
9478 * emacs-lisp/crm.el (crm--current-element): Rename from
9479 crm--select-current-element. Don't put an overlay but return the
9481 (crm--completion-command): Take two new args to bind to the boundaries.
9482 (crm-completion-help): Adjust accordingly.
9483 (crm-complete): Use completion-in-region.
9484 (crm-complete-word): Use completion-in-region--single-word.
9485 (crm-complete-and-exit): Use completion-complete-and-exit.
9487 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9489 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9492 2013-09-06 Juri Linkov <juri@jurta.org>
9494 * info.el (Info-display-images-node): When image file doesn't exist
9495 display text version of the image if it's provided in the Info file.
9496 Otherwise, display the location of missing image from SRC attribute.
9497 Add help-echo text property from ALT attribute. (Bug#15279)
9499 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9501 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9502 (edit-abbrevs-mode): Use define-derived-mode.
9504 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9505 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9507 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9508 Use define-derived-mode.
9510 * epg.el (epg-start-encrypt): Minor CSE simplification.
9512 2013-09-06 William Xu <william.xwl@gmail.com>
9514 * arc-mode.el: Add support for 7za (bug#15264).
9515 (archive-7z-program): New var.
9516 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9517 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9518 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9520 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9524 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9525 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9526 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9527 (tramp-postfix-host-format, tramp-file-name-regexp)
9528 (tramp-completion-file-name-regexp)
9529 (tramp-completion-dissect-file-name)
9530 (tramp-handle-substitute-in-file-name): Remove 'url case.
9531 (tramp-file-name-regexp-url)
9532 (tramp-completion-file-name-regexp-url): Remove constants.
9534 2013-09-06 Glenn Morris <rgm@gnu.org>
9536 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9538 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9540 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9541 keywords" below "here-doc beginnings" (Bug#15270).
9543 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9545 * subr.el (pop): Use `car-safe'.
9546 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9547 to detect unused `pop' return value.
9549 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9551 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9552 (python-fill-string): Remove unused var `marker'.
9553 (python-skeleton-add-menu-items): Remove unused var `items'.
9555 * international/mule-cmds.el: Require CL.
9556 (find-coding-systems-for-charsets): Avoid add-to-list.
9557 (sanitize-coding-system-list): New function, extracted from
9558 select-safe-coding-system-interactively.
9559 (select-safe-coding-system-interactively): Use it.
9560 (read-input-method-name): Accept symbols for `default'.
9562 * emacs-lisp/advice.el (defadvice): Add indent rule.
9564 2013-09-05 Daniel Hackney <dan@haxney.org>
9568 * net/browse-url.el:
9571 * net/eudcb-ldap.el:
9584 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9585 byte compiler. Remove some unused let-bound variables.
9587 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9590 a "ref-cell", since it gets better optimized (bug#14883).
9592 2013-09-05 Glenn Morris <rgm@gnu.org>
9594 * progmodes/cc-awk.el (c-forward-sws): Declare.
9596 2013-09-04 Glenn Morris <rgm@gnu.org>
9598 * generic-x.el [rul-generic-mode]: Require cc-mode.
9599 (c++-mode-syntax-table): Declare.
9600 (rul-generic-mode-syntax-table): Init in the defvar.
9602 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9605 (vc-do-command, vc-set-async-update):
9606 * vc/vc-mtn.el (vc-mtn-dir-status):
9607 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9608 (vc-hg-pull, vc-hg-merge-branch):
9609 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9610 (vc-git-merge-branch):
9611 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9612 (vc-cvs-dir-status-files):
9613 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9614 (vc-bzr-dir-status-files):
9615 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9616 * vc/vc-annotate.el: Use lexical-binding.
9617 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9618 (vc-sentinel-movepoint): Declare.
9619 (vc-annotate): Don't use `goto-line'.
9620 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9621 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9622 (vc-sentinel-movepoint): Declare.
9623 * vc/vc-svn.el: Use lexical-binding.
9624 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9626 * vc/vc-rcs.el: Use lexical-binding.
9628 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9629 `deleted'. Don't drop errors silently.
9631 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9633 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9635 * vc/vc.el (vc-ignore): Rewrite.
9636 (vc-default-ignore): New function.
9637 (vc-default-ignore-completion-table): Use find-ignore-file.
9639 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9640 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9641 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9642 Remove. Most code moved to vc.el.
9644 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9646 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9647 * net/tramp-smb.el (tramp-smb-get-file-entries):
9648 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9649 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9651 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9653 (eww-change-select): Remove unused var `properties'.
9654 (eww-make-unique-file-name): Remove unused var `base'.
9656 * finder.el (finder-compile-keywords): Don't mess with windows.
9658 * calculator.el (calculator-funcall): Fix typo in last change.
9660 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9662 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9663 <pkg>-autoloads.el file stop us.
9665 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9666 warnings, and factor out common code.
9668 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9670 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9671 two-character operators and whether the character preceding them
9672 changes their meaning (Bug#15208).
9674 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9676 Format code sent to Python shell for robustness.
9677 * progmodes/python.el (python-shell-buffer-substring):
9679 (python-shell-send-region, python-shell-send-buffer): Use it.
9681 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9683 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9684 * net/tramp.el (tramp-user-error): ... here.
9685 (tramp-find-method, tramp-check-proper-host)
9686 (tramp-dissect-file-name, tramp-debug-message)
9687 (tramp-handle-shell-command):
9688 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9689 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9691 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9693 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9695 * avoid.el (mouse-avoidance-point-position)
9696 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9699 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9701 * progmodes/python.el (python-shell-completion-get-completions):
9702 Drop use of deleted `comint-last-prompt-overlay'.
9703 (python-nav-if-name-main): New command.
9705 2013-09-01 Glenn Morris <rgm@gnu.org>
9707 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9708 Avoid leading space in $wins. Otherwise the sed command used by
9709 eg compile-main ends up containing "/*.el". (Bug#15170)
9711 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9713 2013-08-30 Glenn Morris <rgm@gnu.org>
9715 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9716 Fix is-this-a-directory logic. (Bug#15220)
9718 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9720 * textmodes/css-mode.el: Use SMIE.
9721 (css-smie-grammar): New var.
9722 (css-smie--forward-token, css-smie--backward-token)
9723 (css-smie-rules): New functions.
9724 (css-mode): Use them.
9725 (css-navigation-syntax-table): Remove var.
9726 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9727 (css-indent-calculate, css-indent-line): Remove functions.
9729 Misc changes to reduce use of `(lambda...); and other cleanups.
9730 * cus-edit.el: Use lexical-binding.
9731 (customize-push-and-save, customize-apropos)
9732 (custom-buffer-create-internal): Use closures.
9733 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9734 * progmodes/ada-xref.el: Use setq.
9735 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9736 * dframe.el: Use lexical-binding.
9737 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9738 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9739 * descr-text.el: Use lexical-binding.
9740 (describe-text-widget, describe-text-sexp, describe-property-list):
9742 * comint.el (comint-history-isearch-push-state): Use a closure.
9743 * calculator.el: Use lexical-binding.
9744 (calculator-number-to-string): Make it work with lexical-binding.
9745 (calculator-funcall): Same and use cl-letf.
9747 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9748 (lisp--company-doc-string, lisp--company-location): New functions.
9749 (lisp-completion-at-point): Use them to improve Company support.
9751 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9752 params of lambda expressions.
9753 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9754 (ruby-smie--opening-pipe-p): New function.
9755 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9756 symbols and matched |...| for formal params.
9757 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9758 from being treated as hanging. Handle "rescue".
9760 2013-08-29 Glenn Morris <rgm@gnu.org>
9762 * progmodes/cc-engine.el (c-pull-open-brace):
9763 Move definition before use.
9765 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9767 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9768 are immutable. Don't use `unsafe' any more.
9769 (cl--defsubst-expand): Don't substitute at the same time as keeping
9770 a residual unused let-binding. Don't use `unsafe' any more.
9772 2013-08-29 Glenn Morris <rgm@gnu.org>
9774 * calendar/cal-china.el (calendar-chinese-year-cache):
9777 * nxml/nxml-util.el (nxml-debug-clear-inside):
9778 Use cl-loop rather than loop.
9780 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9782 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9784 2013-08-28 Glenn Morris <rgm@gnu.org>
9786 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9788 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9790 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9792 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * simple.el (repeat-complex-command--called-interactively-skip):
9796 (repeat-complex-command): Use it (bug#14136).
9798 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9799 (c-define-abbrev-table): Add `doc' argument.
9800 (c-mode-abbrev-table, c++-mode-abbrev-table)
9801 (objc-mode-abbrev-table, java-mode-abbrev-table)
9802 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9803 (awk-mode-abbrev-table): Use it.
9804 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9805 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9806 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9807 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9808 Move initialization into the declaration; and remove any
9811 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9812 and dynamic let binding.
9814 * vc/smerge-mode.el: Remove redundant :group args.
9816 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9819 2013-08-28 Juri Linkov <juri@jurta.org>
9821 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9822 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9823 (isearch-other-meta-char): Handle an undefined shifted printing
9824 character by downshifting it. (Bug#15200)
9826 2013-08-28 Juri Linkov <juri@jurta.org>
9828 * isearch.el (isearch-search): Change regexp error message for
9829 non-regexp searches. (Bug#15166)
9831 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9833 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9834 for portability to hosts where /bin/sh has problems.
9836 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9840 2013-08-27 Juri Linkov <juri@jurta.org>
9842 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9843 in the keyboard macro. (Bug#15126)
9845 2013-08-27 Juri Linkov <juri@jurta.org>
9847 * isearch.el (isearch-quote-char): Comment out converting unibyte
9848 to multibyte, thus syncing with its `quoted-insert' counterpart.
9851 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9853 * window.el (display-buffer-use-some-window): Add missing
9854 argument in call of get-largest-window (Bug#15185).
9855 Reported by Stephen Leake.
9857 2013-08-27 Glenn Morris <rgm@gnu.org>
9859 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9861 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9863 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9864 from a matcher-function unless there's no more matches (bug#15161).
9866 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9868 * minibuffer.el: Revert change from 2013-08-20.
9870 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9871 with text property `tramp-default', if appropriate.
9872 (tramp-check-proper-host): New defun.
9873 (tramp-dissect-file-name): Do not check hostname. Revert change
9875 (tramp-backtrace): Make VEC-OR-PROC optional.
9877 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9878 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9879 * net/tramp-sh.el (tramp-maybe-open-connection):
9880 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9881 Apply `tramp-check-proper-host'.
9883 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9885 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9886 lambda expression in order to have `describe-variable' display it.
9888 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9890 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9891 BUF can be optional. (Bug#15186)
9893 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9895 * progmodes/flymake.el (flymake-get-real-file-name-function):
9896 Fix broken customization. (Bug#15184)
9898 2013-08-25 Alan Mackenzie <acm@muc.de>
9900 Improve indentation of bracelists defined by macros (without "=").
9902 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9903 expansion begins with "{", regard it as bracelist when it doesn't
9906 Parse C++ inher-intro when there's a template split over 2 lines.
9908 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9909 rigorously the search for "class" etc. followed by ":".
9911 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9912 random languages a regexp which never matches rather than nil.
9914 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9916 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9917 (c-awk-regexp-one-line-possibly-open-char-list-re)
9918 (c-awk-one-line-possibly-open-regexp-re)
9919 (c-awk-one-line-non-syn-ws*-re): Remove.
9920 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9921 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9922 (c-awk-space*-unclosed-regexp-/-re): New constants.
9923 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9924 aren't regexp delimiters.
9926 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9927 handling for a rare situation in AWK Mode involving unterminated
9930 2013-08-23 Glenn Morris <rgm@gnu.org>
9932 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9934 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9936 * files.el (create-file-buffer): If the result would begin with
9937 spaces, prepend a "|" instead of removing them. (Bug#15162)
9939 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9941 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9942 text-properties (bug#15155).
9944 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9946 (calc-keypad-redraw): Remove unused var `pad'.
9947 (calc-keypad-press): Remove unused var `menu'.
9949 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9951 * window.el (display-buffer-pop-up-frame):
9952 Call pop-up-frame-function with BUFFER current so `make-frame' will
9953 use it as the new frame's buffer (Bug#15133).
9955 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * calendar/timeclock.el: Minor cleanups.
9958 (timeclock-ask-before-exiting, timeclock-use-display-time):
9960 (timeclock-modeline-display): Define as alias before the
9962 (timeclock-mode-line-display): Use define-minor-mode.
9963 (timeclock-day-list-template): Make it a function, add an argument.
9964 (timeclock-day-list-required, timeclock-day-list-length)
9965 (timeclock-day-list-debt, timeclock-day-list-span)
9966 (timeclock-day-list-break): Adjust calls accordingly.
9968 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9971 Use read--expression so that completion works again.
9973 2013-08-21 Sam Steingold <sds@gnu.org>
9975 Add rudimentary inferior shell interaction
9976 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9977 (sh-set-shell): Reset it.
9978 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9979 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9981 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9983 * align.el: Use lexical-binding.
9984 (align-region): Simplify accordingly.
9986 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9988 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9990 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9993 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9997 * net/tramp-cmds.el:
9999 * net/tramp-gvfs.el:
10001 * net/tramp-sh.el: Don't wrap external variable declarations by
10002 `eval-when-compile'.
10004 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10006 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10007 now that Emacs supports ImageMagick animations.
10009 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10011 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10012 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10014 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10016 * window.el (mouse-autoselect-window-select): Do autoselect when
10017 mouse pointer is on margin.
10019 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10021 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10023 2013-08-16 Glenn Morris <rgm@gnu.org>
10025 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10026 Handle "Remote Directory" response of some clients. (Bug#15058)
10028 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10029 Tweak warning. (Bug#14926)
10031 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10032 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10034 * image-mode.el (image-mode-map): Add menu items to reverse,
10035 increase, decrease, reset animation speed.
10036 (image--set-speed, image-increase-speed, image-decrease-speed)
10037 (image-reverse-speed, image-reset-speed): New functions.
10038 (image-mode-map): Add bindings for speed commands.
10040 * image.el (image-animate-get-speed, image-animate-set-speed):
10042 (image-animate-timeout): Respect image :speed property.
10044 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10047 previous line (bug#15101).
10048 (debugger-eval-expression, debugger-record-expression):
10049 Use read--expression (bug#15102).
10051 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10053 Remove byte compiler warnings, visible when compiling with
10054 `byte-compile-force-lexical-warnings' set to t.
10056 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10057 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10058 (tramp-handle-unhandled-file-name-directory)
10059 (tramp-handle-file-notify-add-watch, tramp-action-login)
10060 (tramp-action-succeed, tramp-action-permission-denied)
10061 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10062 arguments with "_".
10064 * net/tramp-adb.el (tramp-adb-parse-device-names)
10065 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10066 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10067 (tramp-adb-handle-file-truename): Remove unused arguments.
10069 * net/tramp-cache.el (tramp-flush-directory-property)
10070 (tramp-flush-connection-property, tramp-list-connections)
10071 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10073 * net/tramp-compat.el (tramp-compat-make-temp-file):
10074 Rename FILENAME to F.
10076 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10077 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10078 (tramp-zeroconf-parse-workstation-device-names)
10079 (tramp-zeroconf-parse-webdav-device-names)
10080 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10082 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10083 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10085 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10087 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10088 (tramp-sh-handle-insert-file-contents-literally)
10089 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10091 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10092 Remove unused variables.
10094 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10095 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10096 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10098 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10099 Make them a defconst.
10100 (tramp-uuencode-region): Remove unused variable.
10102 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10104 * frameset.el (frameset--prop-setter): New function.
10105 (frameset-prop): Add gv-setter declaration.
10106 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10107 parameter was already set in FILTERED. Doc fix.
10108 (frameset--record-minibuffer-relationships): Allow saving a
10109 minibufferless frame without its corresponding minibuffer frame.
10110 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10111 frame, if the frame id matches.
10112 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10113 frames before orphaned ones.
10114 (frameset-restore): Warn about orphaned windows, instead of error out.
10116 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10118 * window.el (window-make-atom): Don't overwrite parameter
10120 (display-buffer-in-atom-window): Handle special case where we
10121 split an already atomic window.
10122 (window--major-non-side-window, display-buffer-in-side-window)
10123 (window--side-check): Ignore minibuffer window when walking
10125 (window-deletable-p): Return 'frame only if no other frame uses
10126 our minibuffer window.
10127 (record-window-buffer): Run buffer-list-update-hook.
10128 (split-window): Make sure window--check-frame won't destroy an
10129 existing atomic window in case the new window gets nested
10131 (display-buffer-at-bottom): Ignore minibuffer window when
10132 walking window tree. Don't split a side window.
10133 (pop-to-buffer): Don't set-buffer here, the select-window call
10135 (mouse-autoselect-window-select): Autoselect only if we are in the
10136 text portion of the window.
10138 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10140 * net/shr.el (shr-parse-image-data): New function to grab both the
10141 data itself and the Content-Type.
10142 (shr-put-image): Use it.
10144 * net/eww.el (eww-display-image): Ditto.
10146 * image.el (image-content-type-suffixes): New variable.
10148 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10150 * progmodes/python.el (python-imenu--build-tree)
10151 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10153 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10155 * simple.el (backward-word): Mention the optional argument.
10157 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * frameset.el (frameset--make): Rename constructor from make-frameset.
10160 (frameset-p, frameset-valid-p): Don't autoload.
10161 (frameset-valid-p): Use normal accessors.
10163 2013-08-13 Glenn Morris <rgm@gnu.org>
10165 * progmodes/compile.el (compile-command): Tweak example in doc.
10166 * obsolete/scribe.el (scribe-mode):
10167 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10169 * mail/feedmail.el (feedmail-confirm-outgoing)
10170 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10172 * cus-start.el (truncate-partial-width-windows): Fix type.
10174 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10176 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10178 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * emacs-lisp/timer.el (timer--time-setter): New function.
10181 (timer--time): Use it as gv-setter.
10183 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10184 setter is not a symbol.
10186 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10188 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10189 if sending fails. This makes debugging easier.
10191 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10193 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10194 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10195 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10197 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10199 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10201 2013-08-12 Glenn Morris <rgm@gnu.org>
10203 * format.el (format-annotate-function):
10204 Handle read-only text properties in the source. (Bug#14887)
10206 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10208 * net/eww.el (eww-display-html): Ignore coding system errors.
10209 One web site uses "utf-8lias" as the coding system.
10211 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10213 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10215 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10217 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10218 (tutorial--detailed-help): Remove unused local variables.
10219 (tutorial--save-tutorial-to): Use ignore-errors.
10220 (help-with-tutorial): Use looking-at-p.
10222 * view.el (view-buffer-other-window, view-buffer-other-frame):
10223 Mark unused arguments.
10225 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10226 (woman-select-symbol-fonts, woman, woman-find-file)
10227 (woman-insert-file-contents, woman-non-underline-faces):
10228 Use string-match-p.
10229 (woman1-unquote): Move declaration.
10231 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10232 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10233 argument. Remove unused local variable.
10234 (xml-parse-elem-type): Use string-match-p.
10235 (xml-substitute-numeric-entities): Use ignore-errors.
10237 * calculator.el (calculator): Mark unused argument.
10238 (calculator-paste, calculator-quit, calculator-integer-p):
10240 (calculator-string-to-number, calculator-decimal, calculator-exp)
10241 (calculator-op-or-exp): Use string-match-p.
10243 * dired.el (dired-buffer-more-recently-used-p): Declare.
10244 (dired-insert-set-properties, dired-insert-old-subdirs):
10247 * dired-aux.el (dired-compress): Use ignore-errors.
10248 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10249 (dired-do-async-shell-command, dired-do-shell-command)
10250 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10251 (dired-insert-subdir-validate): Use string-match-p.
10252 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10253 (dired-add-entry): Use string-match-p, looking-at-p.
10254 (dired-insert-subdir-newpos): Remove unused local variable.
10256 * filenotify.el (file-notify-callback): Remove unused local variable.
10258 * filesets.el (filesets-error): Mark unused argument.
10259 (filesets-which-command-p, filesets-filter-dir-names)
10260 (filesets-directory-files, filesets-get-external-viewer)
10261 (filesets-ingroup-get-data): Use string-match-p.
10263 * find-file.el (ff-other-file-name, ff-other-file-name)
10264 (ff-find-the-other-file, ff-cc-hh-converter):
10265 Remove unused local variables.
10266 (ff-get-file-name): Use string-match-p.
10267 (ff-all-dirs-under): Use ignore-errors.
10269 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10270 (follow-select-if-visible): Remove unused local variable.
10272 * forms.el (read-file-filter): Move declaration.
10273 (forms--make-format, forms--make-parser, forms-insert-record):
10274 Quote function with #'.
10275 (forms--update): Use string-match-p. Quote function with #'.
10277 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10278 (help-make-xrefs): Use looking-at-p.
10279 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10281 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10282 (ibuffer-confirm-operation-on): Use string-match-p.
10284 * msb.el (msb-item-handler, msb-dired-item-handler):
10285 Mark unused arguments.
10287 * ses.el (ses-decode-cell-symbol)
10288 (ses-kill-override): Remove unused local variable.
10289 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10290 (ses-load): Use ignore-errors, looking-at-p.
10291 (ses-jump-safe): Use ignore-errors.
10292 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10294 * tabify.el (untabify, tabify): Mark unused arguments.
10296 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10297 Mark unused argument.
10298 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10299 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10301 * emacs-lisp/timer.el (timer--time): Define setter with
10302 gv-define-setter to avoid deprecation warning.
10304 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10305 (*record-cmpl-statistics-p*): Remove (was commented out).
10306 (cmpl-statistics-block): Remove (body was commented out).
10307 All callers changed.
10308 (add-completions-from-buffer, load-completions-from-file):
10309 Remove unused variables.
10311 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10313 * filecache.el (file-cache-delete-file-list):
10314 Print message only when told so.
10315 (file-cache-files-matching): Use #' in mapconcat argument.
10317 * ffap.el (ffap-url-at-point): Fix reference to variable
10318 thing-at-point-default-mail-uri-scheme.
10320 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10322 * subr.el (define-error): New function.
10323 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10324 error-file-not-found and define with define-error.
10325 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10326 and define with define-error.
10327 * userlock.el (file-locked, file-supersession):
10328 * simple.el (mark-inactive):
10329 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10330 * progmodes/ada-mode.el (ada-mode-errors):
10331 * play/life.el (life-extinct):
10332 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10333 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10334 * nxml/rng-util.el (rng-error):
10335 * nxml/rng-uri.el (rng-uri-error):
10336 * nxml/rng-match.el (rng-compile-error):
10337 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10338 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10339 * nxml/nxml-rap.el (nxml-scan-error):
10340 * nxml/nxml-outln.el (nxml-outline-error):
10341 * net/soap-client.el (soap-error):
10342 * net/gnutls.el (gnutls-error):
10343 * net/ange-ftp.el (ftp-error):
10344 * mpc.el (mpc-proc-error):
10345 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10346 (json-number-format, json-string-escape, json-string-format)
10347 (json-key-format, json-object-format):
10348 * jka-compr.el (compression-error):
10349 * international/quail.el (quail-error):
10350 * international/kkc.el (kkc-error):
10351 * emacs-lisp/ert.el (ert-test-failed):
10352 * calc/calc.el (calc-error, inexact-result, math-overflow)
10354 * bookmark.el (bookmark-error-no-filename):
10355 * epg.el (epg-error): Define with define-error.
10357 * time.el (display-time-event-handler)
10358 (display-time-next-load-average): Don't call sit-for since it seems
10359 unnecessary (bug#15045).
10361 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10362 Use #' instead of ' to quote functions.
10363 (checkdoc-output-mode): Use setq-local.
10364 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10365 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10366 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10367 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10368 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10369 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10370 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10371 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10373 * ido.el (ido-completion-help): Fix up compiler warning.
10375 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10377 * frameset.el (frameset-p): Add autoload cookie.
10378 (frameset--jump-to-register): New function, based on code moved from
10380 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10382 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10383 (frameset-restore, frameset-save, frameset-session-filter-alist):
10384 Remove declarations.
10385 (register-alist): Doc fix.
10386 (frameset-to-register): Move to frameset.el.
10387 (jump-to-register, describe-register-1): Remove frameset-specific code.
10389 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10391 * allout-widgets.el (allout-widgets-pre-command-business)
10392 (allout-widgets-post-command-business)
10393 (allout-widgets-after-change-handler)
10394 (allout-decorate-item-and-context, allout-set-boundary-marker)
10395 (allout-body-modification-handler)
10396 (allout-graphics-modification-handler): Mark ignored arguments.
10397 (allout-widgets-post-command-business)
10398 (allout-widgets-exposure-change-processor)
10399 (allout-widgets-exposure-undo-processor)
10400 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10401 (allout-parse-item-at-point, allout-decorate-item-guides)
10402 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10403 * allout.el (epa-passphrase-callback-function): Declare.
10404 (allout-overlay-insert-in-front-handler)
10405 (allout-overlay-interior-modification-handler)
10406 (allout-isearch-end-handler, allout-chart-siblings)
10407 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10408 (allout-yank-processing, allout-process-exposed)
10409 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10410 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10411 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10412 (lisp-indent-defform): Mark ignored arguments.
10413 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10414 (calculate-lisp-indent): Remove unused variables.
10415 * international/characters.el (indian-2-column, arabic-2-column)
10416 (tibetan): Mark ignored arguments.
10417 (use-cjk-char-width-table): Mark ignored arguments.
10418 Remove unused variables.
10419 * international/fontset.el (build-default-fontset-data)
10420 (x-compose-font-name, create-fontset-from-fontset-spec):
10421 Mark ignored arguments.
10422 (fontset-plain-name): Remove unused variables.
10423 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10424 (keyboard-coding-system): Mark ignored arguments.
10425 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10426 * help.el (resize-temp-buffer-window):
10427 * window.el (display-buffer-in-major-side-window)
10428 (display-buffer-in-side-window, display-buffer-in-previous-window):
10429 Remove unused variables.
10430 * isearch.el (isearch-forward-symbol):
10431 * version.el (emacs-bzr-version-bzr):
10432 * international/mule-cmds.el (current-language-environment):
10433 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10434 (x-handle-display):
10435 * term/pc-win.el (x-list-fonts, x-display-planes)
10436 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10437 (x-server-version, x-display-screens, x-display-mm-height)
10438 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10439 (x-selection-owner-p, x-own-selection-internal)
10440 (x-disown-selection-internal, x-get-selection-internal)
10441 (msdos-initialize-window-system):
10442 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10443 * term/x-win.el (x-handle-no-bitmap-icon):
10444 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10445 (vc-default-find-file-hook, vc-default-extra-menu):
10446 Mark ignored arguments.
10448 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10451 break-condition in the context of the debugged code (bug#12685).
10453 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10456 Do not use an overlay to highlight the last prompt. (Bug#14744)
10457 (comint-mode): Make comint-last-prompt buffer local.
10458 (comint-last-prompt): New variable.
10459 (comint-last-prompt-overlay): Remove. Superseded by
10460 comint-last-prompt.
10461 (comint-snapshot-last-prompt, comint-output-filter):
10462 Use comint-last-prompt.
10464 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10466 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10467 (frameset-save): Check validity of the resulting frameset.
10469 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10471 * ido.el (ido-record-command): Add doc string.
10473 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10475 * frameset.el (frameset): Do not disable creation of the default
10476 frameset-p predicate. Doc fix.
10477 (frameset-valid-p): New function, copied from the old predicate-p.
10478 Add additional checks.
10479 (frameset-restore): Check with frameset-valid-p.
10480 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10481 (frameset-name, frameset-description, frameset-properties)
10482 (frameset-states): Add docstring.
10483 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10484 (frameset-filter-alist): Doc fixes.
10486 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10488 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10490 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10493 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10494 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10495 (byte-compile-normal-call): Remove obsolescence check.
10497 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10499 * frameset.el (frameset-restore): Doc fix.
10501 * register.el (frameset-frame-id, frameset-frame-with-id)
10502 (frameset-p, frameset-restore, frameset-save): Declare.
10503 (register-alist): Document framesets.
10504 (frameset-session-filter-alist): Declare.
10505 (frameset-to-register): New function.
10506 (jump-to-register): Implement jumping to framesets. Doc fix.
10507 (describe-register-1): Describe framesets.
10509 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10511 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10513 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10514 Use lexical-binding.
10516 * frameset.el (frameset): Use type vector, not list (incompatible
10517 change). Do not declare a new constructor, use the default one.
10518 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10519 `name' and `description', respectively, and add read-only slot
10520 `timestamp'. Doc fixes.
10521 (frameset-copy, frameset-persistent-filter-alist)
10522 (frameset-filter-alist, frameset-switch-to-gui-p)
10523 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10524 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10525 (frameset-filter-iconified, frameset-keep-original-display-p):
10527 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10528 Rename from frameset-filter-(save|restore)-param. All callers changed.
10530 (frameset-p): Adapt to change to vector and be more thorough.
10531 Change arg name to OBJECT. Doc fix.
10532 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10533 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10534 All callers changed.
10535 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10536 All callers changed.
10537 (frameset--record-minibuffer-relationships): Rename from
10538 frameset--process-minibuffer-frames. All callers changed.
10539 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10540 Use new default constructor (again). Doc fix.
10541 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10542 All callers changed.
10543 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10544 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10546 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10547 PARAMETERS and WINDOW-STATE, respectively.
10548 (frameset-restore): Add new keyword argument PREDICATE.
10549 Reset frameset--target-display to nil. Doc fix.
10551 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10553 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10554 (bat-mode): Use it.
10555 (bat-mode-syntax-table): Mark \n as end-of-comment.
10556 (bat-font-lock-keywords): Remove comment rule.
10558 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10559 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10561 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10562 (byte-compile-callargs-warn): Use `push'.
10563 (byte-compile-arglist-warn): Ignore higher-order "calls".
10564 (byte-compile-file-form-autoload): Use `pcase'.
10565 (byte-compile-function-form): If quoting a symbol, check that it exists.
10567 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10569 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10570 and add a few popular commands found in batch files.
10571 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10572 (dos-mode): Doc fixes.
10574 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10577 (dos-mode): Use setq-local. Add space after "rem".
10578 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10579 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10581 2013-08-07 Arni Magnusson <arnima@hafro.is>
10583 * progmodes/dos.el: New file.
10584 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10587 2013-08-06 Glenn Morris <rgm@gnu.org>
10589 * calendar/calendar.el: Add new faces, and day-header-array.
10590 (calendar-weekday-header, calendar-weekend-header)
10591 (calendar-month-header): New faces.
10592 (calendar-day-header-construct): New function.
10593 (calendar-day-header-width): Also :set calendar-day-header-array.
10594 (calendar-american-month-header, calendar-european-month-header)
10595 (calendar-iso-month-header): Use calendar- faces.
10596 (calendar-generate-month):
10597 Use calendar-day-header-array for day headers; apply faces to them.
10598 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10599 (calendar-abbrev-construct): Add optional maxlen argument.
10600 (calendar-day-name-array): Doc fix.
10601 (calendar-day-name-array, calendar-abbrev-length)
10602 (calendar-day-abbrev-array):
10603 Also :set calendar-day-header-array, and maybe redraw.
10604 (calendar-day-header-array): New option. (Bug#15007)
10605 (calendar-font-lock-keywords): Set to nil and make obsolete.
10606 (calendar-day-name): Add option to use header array.
10608 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10610 * net/shr.el (shr-render-td): Remove debugging.
10611 (shr-render-td): Make width computation consistent by defaulting
10612 all zero-width columns to 10 characters. This may not be optimal,
10613 but it's at least consistent.
10614 (shr-make-table-1): Redo last change to fix the real problem in
10617 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10619 * files.el (cache-long-line-scans):
10620 Make obsolete alias to `cache-long-scans'.
10622 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10624 * frameset.el (frameset, frameset-filter-alist)
10625 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10626 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10627 (frameset-compute-pos): Rename from frameset--compute-pos,
10629 (frameset-move-onscreen): Use frameset-compute-pos.
10630 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10632 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10633 Fix typos in docstrings.
10635 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10637 * frame.el (get-other-frame): Tiny cleanup.
10639 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10641 * vc/vc.el (vc-default-ignore-completion-table):
10642 Silence byte-compiler warning.
10644 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10645 slot, which can indeed be nil.
10646 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10647 Move entry for `left' from persistent to live filter alist.
10648 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10650 (frameset-filter-params): When restoring a frame, copy items added to
10651 `filtered', to avoid unwittingly modifying the original parameters.
10652 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10653 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10655 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10656 to use looking-at-p instead of looking-at. (Bug#15028)
10658 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10660 Revert introduction of isearch-filter-predicates (bug#14714).
10661 Rely on add-function instead.
10662 * isearch.el (isearch-filter-predicates): Rename it back to
10663 isearch-filter-predicate.
10664 (isearch-message-prefix): Use advice-function-mapc and advice
10665 properties to get the isearch-message-prefix.
10666 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10667 instead of run-hook-with-args-until-failure.
10668 (isearch-filter-visible): Not obsolete any more.
10669 * loadup.el: Preload nadvice.
10670 * replace.el (perform-replace): Revert to funcall
10671 instead of run-hook-with-args-until-failure.
10672 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10673 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10674 dired-isearch-filenames-toggle; make it into a proper minor mode.
10675 Use add/remove-function.
10676 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10677 Call the minor-mode rather than add/remove-hook.
10678 (dired-isearch-filter-filenames):
10679 Remove isearch-message-prefix property.
10680 * info.el (Info--search-loop): New function, extracted from Info-search.
10681 Funcall isearch-filter-predicate instead of
10682 run-hook-with-args-until-failure isearch-filter-predicates.
10683 (Info-search): Use it.
10684 (Info-mode): Use isearch-filter-predicate instead of
10685 isearch-filter-predicates.
10687 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10689 Do not call to `selected-window' where it is assumed by default.
10690 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10691 `window-hscroll', `window-width', `window-height', `window-buffer',
10692 `window-frame', `window-start', `window-point', `next-window'
10693 and `window-display-table'.
10694 * abbrev.el (abbrev--default-expand):
10695 * bs.el (bs--show-with-configuration):
10696 * buff-menu.el (Buffer-menu-mouse-select):
10697 * calc/calc.el (calc):
10698 * calendar/calendar.el (calendar-generate-window):
10699 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10700 (diary-make-entry):
10701 * comint.el (send-invisible, comint-dynamic-complete-filename)
10702 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10703 * completion.el (complete):
10704 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10705 * disp-table.el (describe-current-display-table):
10706 * doc-view.el (doc-view-insert-image):
10707 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10708 * ehelp.el (with-electric-help):
10709 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10710 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10711 * emacs-lisp/helper.el (Helper-help-scroller):
10712 * emulation/cua-base.el (cua--post-command-handler-1):
10713 * eshell/esh-mode.el (eshell-output-filter):
10714 * ffap.el (ffap-gnus-wrapper):
10715 * help-macro.el (make-help-screen):
10716 * hilit-chg.el (highlight-compare-buffers):
10717 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10718 * hl-line.el (global-hl-line-highlight):
10719 * icomplete.el (icomplete-simple-completing-p):
10720 * isearch.el (isearch-done):
10721 * jit-lock.el (jit-lock-stealth-fontify):
10722 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10723 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10724 * mpc.el (mpc-tagbrowser, mpc):
10725 * net/rcirc.el (rcirc-any-buffer):
10726 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10727 * play/landmark.el (landmark-max-width, landmark-max-height):
10728 * play/zone.el (zone):
10729 * progmodes/compile.el (compilation-goto-locus):
10730 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10731 * progmodes/etags.el (find-tag-other-window):
10732 * progmodes/fortran.el (fortran-column-ruler):
10733 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10734 * progmodes/verilog-mode.el (verilog-point-text):
10735 * reposition.el (reposition-window):
10736 * rot13.el (toggle-rot13-mode):
10737 * server.el (server-switch-buffer):
10738 * shell.el (shell-dynamic-complete-command)
10739 (shell-dynamic-complete-environment-variable):
10740 * simple.el (insert-buffer, set-selective-display)
10741 (delete-completion-window):
10742 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10743 (speedbar-recenter):
10744 * startup.el (fancy-splash-head):
10745 * textmodes/ispell.el (ispell-command-loop):
10746 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10747 * tutorial.el (help-with-tutorial):
10748 * vc/add-log.el (add-change-log-entry):
10749 * vc/compare-w.el (compare-windows):
10750 * vc/ediff-help.el (ediff-indent-help-message):
10751 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10752 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10753 (ediff-setup-control-frame):
10754 * vc/emerge.el (emerge-position-region):
10755 * vc/pcvs-util.el (cvs-bury-buffer):
10756 * window.el (walk-windows, mouse-autoselect-window-select):
10757 * winner.el (winner-set-conf, winner-undo): Related users changed.
10759 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10761 * frameset.el (frameset--set-id): Doc fix.
10762 (frameset-frame-id, frameset-frame-id-equal-p)
10763 (frameset-locate-frame-id): New functions.
10764 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10765 (frameset-restore): Use them.
10767 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10769 Do not call to `selected-frame' where it is assumed by default.
10770 Affected functions are `raise-frame', `redraw-frame',
10771 `frame-first-window', `frame-terminal' and `delete-frame'.
10772 * calendar/appt.el (appt-disp-window):
10773 * epg.el (epg-wait-for-completion):
10774 * follow.el (follow-delete-other-windows-and-split)
10775 (follow-avoid-tail-recenter):
10776 * international/mule.el (set-terminal-coding-system):
10777 * mail/rmail.el (rmail-mail-return):
10778 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10779 * progmodes/f90.el (f90-add-imenu-menu):
10780 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10781 * server.el (server-switch-buffer):
10782 * simple.el (delete-completion-window):
10784 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10785 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10786 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10787 * vc/ediff.el (ediff-documentation): Related users changed.
10788 * frame.el (selected-terminal): Remove the leftover.
10790 2013-08-05 Glenn Morris <rgm@gnu.org>
10792 * calendar/calendar.el (calendar-generate-month):
10793 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10794 (calendar-generate-month, calendar-font-lock-keywords):
10795 Fix for calendar-day-header-width > length of any day name.
10797 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10799 * desktop.el (desktop-clear): Use new name of sort predicate.
10801 * frameset.el (frameset): Add docstring. Move :version property to its
10802 own `version' slot.
10803 (frameset-copy): Rename from copy-frameset.
10804 (frameset-p): Check more thoroughly.
10805 (frameset-prop): Do not check for :version, which is no longer a prop.
10806 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10807 Use new :never value instead of t.
10808 (frameset-filter-alist): Expand and clarify docstring.
10809 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10810 (frameset-filter-minibuffer, frameset-filter-save-param)
10811 (frameset-filter-restore-param, frameset-filter-iconified):
10812 Add pointer to docstring of frameset-filter-alist.
10813 (frameset-filter-params): Rename filter values to be more meaningful:
10814 :never instead of t, and reverse the meanings of :save and :restore.
10815 (frameset--process-minibuffer-frames): Clarify error message.
10816 (frameset-save): Avoid unnecessary and confusing call to framep.
10817 Use new BOA constructor for framesets.
10818 (frameset--reuse-list): Doc fix.
10819 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10820 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10821 (frameset-minibufferless-first-p): Doc fix.
10822 Rename from frameset-sort-frames-for-deletion.
10823 (frameset-restore): Doc fixes. Use new function names.
10824 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10826 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10828 * desktop.el (desktop-restore-forces-onscreen)
10829 (desktop-restore-reuses-frames): Document :keyword constant values.
10830 (desktop-filter-parameters-alist): Remove, now identical to
10831 frameset-filter-alist.
10832 (desktop--filter-tty*): Remove, moved to frameset.el.
10833 (desktop-save-frameset, desktop-restore-frameset):
10834 Do not pass :filters argument.
10836 * frameset.el (frameset-live-filter-alist)
10837 (frameset-persistent-filter-alist): New variables.
10838 (frameset-filter-alist): Use them. Add autoload cookie.
10839 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10840 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10841 `frameset--id' (it's supposed to be internal to frameset.el).
10842 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10843 (frameset--initial-params): New function.
10844 (frameset--get-frame): Use it. Doc fix.
10845 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10846 Accept :all, not 'all.
10847 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10848 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10849 with fbound symbols. Fix frame id matching, and remove matching ids if
10850 the frame being restored is deleted. Obey :delete.
10852 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10854 * subr.el (macrop): New function.
10855 (text-clone--maintaining): New var.
10856 (text-clone--maintain): Rename from text-clone-maintain. Use it
10857 instead of inhibit-modification-hooks.
10859 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10860 a proxy, so as handle autoloads and redefinitions of the target.
10861 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10863 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10864 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10865 (pcase--mutually-exclusive-p): New function.
10866 (pcase--split-consp): Use it.
10867 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10868 mutually exclusive with the current predicate.
10870 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10871 (edebug-macrop): Remove. Use `macrop' instead.
10872 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10874 * eshell/esh-cmd.el (eshell-macrop):
10875 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10877 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10879 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10880 (advice-mapc): New function, using it.
10881 (advice-function-member-p): New function.
10882 (advice--normalize): Store the cdr in advice--saved-rewrite since
10883 that's the part that will be changed.
10884 (advice--symbol-function): New function.
10885 (advice-remove): Handle removal before the function is defined.
10886 Adjust to new advice--saved-rewrite.
10887 (advice-member-p): Use advice-function-member-p and
10888 advice--symbol-function.
10890 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10892 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10893 (frameset-filter-minibuffer): Doc fix.
10894 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10895 (frameset--set-id, frameset--process-minibuffer-frames)
10896 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10897 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10899 * desktop.el (desktop-clear): Only delete frames when called
10900 interactively and desktop-restore-frames is non-nil. Doc fix.
10901 (desktop-read): Set desktop-saved-frameset to nil.
10903 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10905 * vc/vc.el (vc-ignore): Rewrite.
10906 (vc-default-ignore-completion-table, vc--read-lines)
10907 (vc--add-line, vc--remove-regexp): New functions.
10909 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10910 (vc-svn-ignore-completion-table): New function.
10912 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10913 (vc-hg-ignore-completion-table)
10914 (vc-hg-find-ignore-file): New functions.
10916 * vc/vc-git.el (vc-git-ignore): Rewrite.
10917 (vc-git-ignore-completion-table)
10918 (vc-git-find-ignore-file): New functions.
10920 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10922 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10923 (vc-bzr-ignore-completion-table)
10924 (vc-bzr-find-ignore-file): New functions.
10926 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10928 * frameset.el (frameset-prop): New function and setter.
10929 (frameset-save): Do not modify frame list passed by the caller.
10931 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10933 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10935 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10938 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10940 * custom.el (custom-initialize-default, custom-initialize-set)
10941 (custom-initialize-reset, custom-initialize-changed): Affect the
10942 toplevel-default-value (bug#6275, bug#14586).
10943 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10946 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10948 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10949 Add cl-def* expressions.
10951 * frameset.el (frameset-filter-params): Fix order of arguments.
10953 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10955 Move code related to saving frames to frameset.el.
10956 * desktop.el: Require frameset.
10957 (desktop-restore-frames): Doc fix.
10958 (desktop-restore-reuses-frames): Rename from
10959 desktop-restoring-reuses-frames.
10960 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10961 (desktop-clear): Clear frames too.
10962 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10963 (desktop--filter-tty*, desktop-save, desktop-read):
10964 Use frameset functions.
10965 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10966 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10967 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10968 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10969 (desktop--process-minibuffer-frames, desktop-save-frames)
10970 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10971 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10972 (desktop--sort-states, desktop-restoring-frames-p)
10973 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10974 (desktop-restoring-frameset-p, desktop-restore-frameset)
10975 (desktop--check-dont-save, desktop-save-frameset): New functions.
10976 (desktop--app-id): New constant.
10977 (desktop-first-buffer, desktop-buffer-ok-count)
10978 (desktop-buffer-fail-count): Move before first use.
10979 * frameset.el: New file.
10981 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * files.el: Use lexical-binding.
10984 (dir-locals-read-from-file): Remove unused `err' variable.
10985 (hack-dir-local-variables--warned-coding): New var.
10986 (hack-dir-local-variables): Use it to avoid repeated warnings.
10987 (make-backup-file-name--default-function): New function.
10988 (make-backup-file-name-function): Use it as default.
10989 (buffer-stale--default-function): New function.
10990 (buffer-stale-function): Use it as default.
10991 (revert-buffer-insert-file-contents--default-function): New function.
10992 (revert-buffer-insert-file-contents-function): Use it as default.
10993 (insert-directory): Avoid add-to-list.
10995 * autorevert.el (auto-revert-handler): Simplify.
10996 Use buffer-stale--default-function.
10998 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11000 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11002 * whitespace.el (whitespace-ensure-local-variables): New function.
11003 (whitespace-cleanup-region): Call it.
11004 (whitespace-turn-on): Call it.
11006 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11008 Complete file name handlers.
11010 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11011 (tramp-handle-verify-visited-file-modtime)
11012 (tramp-handle-file-notify-rm-watch): New functions.
11013 (tramp-call-process): Do not bind `default-directory'.
11015 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11016 Order alphabetically.
11017 <access-file, add-name-to-file, dired-call-process>:
11018 <dired-compress-file, file-acl, file-notify-rm-watch>:
11019 <file-ownership-preserved-p, file-selinux-context>:
11020 <make-directory-internal, make-symbolic-link, set-file-acl>:
11021 <set-file-selinux-context, set-visited-file-modtime>:
11022 <verify-visited-file-modtime>: Add handler.
11023 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11025 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11026 <file-notify-add-watch, file-notify-rm-watch>:
11027 <set-file-times, set-visited-file-modtime>:
11028 <verify-visited-file-modtime>: Add handler.
11029 (with-tramp-gvfs-error-message)
11030 (tramp-gvfs-handle-set-visited-file-modtime)
11031 (tramp-gvfs-fuse-file-name): Remove.
11032 (tramp-gvfs-handle-file-notify-add-watch)
11033 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11034 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11036 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11037 Order alphabetically.
11038 <file-notify-rm-watch>: Use default Tramp handler.
11039 <executable-find>: Remove private handler.
11040 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11041 `default-directory'.
11042 (tramp-sh-handle-executable-find)
11043 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11044 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11045 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11046 Do not use `format' in `tramp-message'.
11048 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11049 <file-notify-rm-watch, set-visited-file-modtime>:
11050 <verify-visited-file-modtime>: Add handler.
11051 (tramp-smb-call-winexe): Do not bind `default-directory'.
11053 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11055 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11057 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11059 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11061 (log-view-diff-changeset): Same.
11062 (log-view-diff-common): Call backend command `previous-revision'
11063 to find out the previous revision, in both cases. Swap the
11064 variables `to' and `fr', so that `fr' usually refers to the
11065 earlier revision (Bug#14989).
11067 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11069 * ibuf-ext.el (ibuffer-filter-by-filename):
11070 Make it work with dired buffers too.
11072 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11074 * emacs-lisp/re-builder.el (reb-color-display-p):
11075 * files.el (save-buffers-kill-terminal):
11076 * net/browse-url.el (browse-url):
11077 * server.el (server-save-buffers-kill-terminal):
11078 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11079 Prefer nil to selected-frame for the first arg of frame-parameter.
11081 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11083 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11085 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11087 * minibuffer.el (completion--twq-all): Try and preserve each
11088 completion's case choice (bug#14907).
11090 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11092 * net/network-stream.el (open-network-stream): Mention the new
11093 :nogreeting parameter.
11094 (network-stream-open-starttls): Use the :nogreeting parameter
11097 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11099 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11100 more natural than popping.
11102 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11103 (shr-urlify): Highlight under mouse.
11105 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11107 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11109 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11111 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11114 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11115 point-min==1. Fix search string. Fix parentheses missing.
11117 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11118 assume point-min==1. Fix search string. Fix parentheses missing.
11120 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11122 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11125 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11127 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11128 initial frame is minibuffer-less. (Bug#14841)
11130 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11132 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11136 (tramp-maybe-open-connection): Use it.
11138 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11140 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11141 minimal set of parameters passed when creating a frame, because
11142 the minibuffer status of a frame cannot be changed later.
11144 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11146 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11147 replace-regexp-in-string and inadvertent omissions in previous change.
11148 (todo-filter-items): Ensure only file names are comma-separated in
11149 name of filtered items buffer.
11151 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11153 * desktop.el: Optionally force offscreen frames back onscreen.
11154 (desktop-restoring-reuses-frames): New option.
11155 (desktop--compute-pos, desktop--move-onscreen): New functions.
11156 (desktop--make-frame): Use desktop--move-onscreen.
11158 2013-07-27 Alan Mackenzie <acm@muc.de>
11160 Fontify a Java generic method as a function.
11161 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11164 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11166 * calendar/todo-mode.el: Add command to rename todo files.
11167 (todo-rename-file): New command.
11168 (todo-key-bindings-t): Add key binding for it. Change the
11169 bindings of todo-filter-regexp-items(-multifile) to use `x'
11170 instead of `r', since the latter is better suited to the new
11173 2013-07-27 Alan Mackenzie <acm@muc.de>
11175 Make Java try-with-resources statement parse properly.
11176 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11177 (c-block-stmt-1-2-key): New language constants/variables.
11178 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11179 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11180 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11181 with c-block-stmt-1-2-key.
11183 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11185 * desktop.el (desktop--make-frame): Apply most frame parameters after
11186 creating the frame to force (partially or totally) offscreen frames to
11187 be restored as such.
11189 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11191 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11194 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11197 `base' arg of backtrace-frame.
11199 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11201 * simple.el (list-processes): Doc fix.
11203 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11205 * desktop.el (desktop--select-frame):
11206 Try harder to reuse existing frames.
11208 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11211 (edebug-eval): Use backtrace-eval.
11212 (edebug--display, edebug--recursive-edit): Don't let-bind the
11213 edebug-outer-* vars that keep track of variables we locally let-bind.
11214 (edebug-outside-excursion): Don't restore outside values of locally
11216 (edebug--display): Use user-error.
11217 (cl-lexical-debug, cl-debug-env): Remove.
11219 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11221 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11222 are restored to be sure that they are visible before deleting any
11225 2013-07-26 Matthias Meulien <orontee@gmail.com>
11227 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11228 vc-print-root-log. (Bug#14948)
11230 2013-07-26 Richard Stallman <rms@gnu.org>
11232 Add aliases for encrypting mail.
11233 * epa.el (epa-mail-aliases): New option.
11234 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11235 Bind inhibit-read-only so read-only text doesn't ruin everything.
11236 (epa-mail-default-recipients): New subroutine broken out.
11237 Handle epa-mail-aliases.
11239 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11241 Add support for lexical variables to the debugger's `e' command.
11242 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11243 vars, except for debugger-outer-match-data.
11244 (debugger-frame-number): Move check for "on a function call" from
11245 callers into it. Add `skip-base' argument.
11246 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11247 (debugger-env-macro): Only reset the state stored in non-variables,
11248 i.e. current-buffer and match-data.
11249 (debugger-eval-expression): Rewrite using backtrace-eval.
11250 * subr.el (internal--called-interactively-p--get-frame): Remove.
11251 (called-interactively-p):
11252 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11253 `base' arg of backtrace-frame instead.
11255 2013-07-26 Glenn Morris <rgm@gnu.org>
11257 * align.el (align-regexp): Doc fix. (Bug#14857)
11258 (align-region): Explicit error if subexpression missing/does not match.
11260 * simple.el (global-visual-line-mode):
11261 Do not duplicate the mode lighter. (Bug#14858)
11263 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11265 * window.el (display-buffer): In display-buffer bind
11266 split-window-keep-point to t, bug#14829.
11268 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11270 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11271 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11272 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11273 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11274 Change accordingly.
11275 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11276 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11278 2013-07-25 Glenn Morris <rgm@gnu.org>
11280 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11282 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11284 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11285 parameter to modify-frame-parameters if the value has not changed;
11286 this is a workaround for bug#14949.
11287 (desktop--make-frame): On cl-delete-if call, check parameter name,
11288 not full parameter.
11290 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11292 * vc/vc.el (vc-ignore): New function.
11294 * vc/vc-svn.el (vc-svn-ignore): New function.
11296 * vc/vc-hg.el (vc-hg-ignore): New function.
11298 * vc/vc-git.el (vc-git-ignore): New function.
11300 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11301 (vc-dir-ignore): New function.
11303 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11304 (cvs-append-to-ignore): Move here from pcvs.el.
11306 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11308 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11310 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11312 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11313 (desktop-restore-frames): Warn when deleting an existing frame failed.
11315 2013-07-24 Glenn Morris <rgm@gnu.org>
11317 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11319 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11321 * filenotify.el (file-notify-supported-p):
11322 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11325 * autorevert.el (auto-revert-use-notify)
11326 (auto-revert-notify-add-watch):
11327 * net/tramp.el (tramp-file-name-for-operation):
11328 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11329 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11330 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11331 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11332 Remove `file-notify-supported-p' entry.
11334 2013-07-24 Glenn Morris <rgm@gnu.org>
11336 * printing.el: Replace all uses of deleted ps-windows-system,
11337 ps-lp-system, ps-flatten-list with lpr- versions.
11339 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11342 checked with memq (bug#14935).
11344 * files.el (revert-buffer-function): Use a non-nil default.
11345 (revert-buffer-preserve-modes): Declare var to
11346 provide access to the `preserve-modes' argument.
11347 (revert-buffer): Let-bind it.
11348 (revert-buffer--default): New function, extracted from revert-buffer.
11350 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11352 * lpr.el: Signal print errors more prominently.
11353 (print-region-function): Don't default to nil.
11354 (lpr-print-region): New function, extracted from print-region-1.
11355 Check lpr's return value and signal an error in case of problem.
11356 (print-region-1): Use it.
11357 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11359 (ps-printer-name): Default to nil.
11360 (ps-printer-name-option): Default to lpr-printer-switch.
11361 (ps-print-region-function): Don't default to nil.
11362 (ps-postscript-code-directory): Simplify default.
11363 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11364 (ps-string-list, ps-eval-switch, ps-flatten-list)
11365 (ps-flatten-list-1): Remove.
11366 (ps-multibyte-buffer): Avoid setq.
11367 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11368 (print-region-function, ps-print-region-function): Don't set them here.
11370 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11372 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11373 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11374 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11375 (ido-decorations): Doc fix.
11377 * ansi-color.el: Fix old URL.
11379 2013-07-23 Michael R. Mauger <michael@mauger.com>
11381 * progmodes/sql.el: Version 3.3
11382 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11383 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11384 (sql-interactive-remove-continuation-prompt): Rewrite, use
11385 functions above. Fix continuation prompt and complete output line
11387 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11388 redirected output buffer.
11389 (sql-mode): Restore deleted code (Bug#13591).
11391 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11393 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11395 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11397 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11399 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11400 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11401 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11403 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11405 * desktop.el (desktop-clear): Simplify; remove useless checks
11406 against invalid buffer names.
11407 (desktop-list*): Use cl-list*.
11408 (desktop-buffer-info, desktop-create-buffer): Simplify.
11410 2013-07-23 Leo Liu <sdl.web@gmail.com>
11412 * bookmark.el (bookmark-make-record): Restore NAME as a default
11415 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11418 extracted from autoload--insert-text.
11419 (autoload--insert-text): Remove.
11420 (autoload--print-cookie-text): New function, extracted from
11421 autoload--insert-cookie-text.
11422 (autoload--insert-cookie-text): Remove.
11423 (autoload-generate-file-autoloads): Adjust calls accordingly.
11425 * winner.el (winner-hook-installed-p): Remove.
11426 (winner-mode): Simplify accordingly.
11428 * subr.el (add-to-list): Fix compiler-macro when `append' is
11429 not constant. Don't use `cl-member' for the base case.
11431 * progmodes/subword.el: Fix boundary case (bug#13758).
11432 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11434 (subword-backward-regexp): Make it a constant.
11435 (subword-forward-internal): Don't treat a trailing capital as the
11436 beginning of a word.
11438 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11440 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11441 global value of tabulated-list-revert-hook (bug#14930).
11443 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11445 * desktop.el: Require 'cl-lib.
11446 (desktop-before-saving-frames-functions): New hook.
11447 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11448 for frames being saved. Rename from desktop--save-minibuffer-frames.
11449 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11450 Do not save frames with non-nil `desktop-dont-save' parameter.
11451 Filter out deleted frames.
11452 (desktop--find-frame): Use cl-find-if.
11453 (desktop--select-frame): Use cl-(first|second|third) to access values
11455 (desktop--make-frame): Use cl-delete-if.
11456 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11457 (desktop-restore-frames): Use cl-(first|second|third) to access values
11458 of desktop-mini. Look for visible frame at the end, not while
11461 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11462 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11463 Use string-match-p, looking-at-p (bug#14927).
11465 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11467 * desktop.el (desktop-saved-frame-states):
11468 Rename from desktop--saved-states; all users changed.
11469 (desktop-save-frames): Rename from desktop--save-frames.
11470 Do not save state to desktop file.
11471 (desktop-save): Save desktop-saved-frame-states to desktop file
11473 (desktop-restoring-frames-p): New function.
11474 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11475 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11476 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11478 * desktop.el: Correctly restore iconified frames.
11479 (desktop--filter-iconified-position): New function.
11480 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11482 2013-07-20 Glenn Morris <rgm@gnu.org>
11484 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11485 Let `message' do the formatting.
11486 (def-gdb-preempt-display-buffer): Add explicit format.
11488 * image-dired.el (image-dired-track-original-file):
11489 Use with-current-buffer.
11490 (image-dired-track-thumbnail): Use with-current-buffer.
11491 Avoid changing point of wrong window.
11493 * image-dired.el (image-dired-track-original-file):
11494 Avoid changing point of wrong window. (Bug#14909)
11496 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11498 * progmodes/gdb-mi.el (gdb-done-or-error):
11499 Guard against "%" in gdb output. (Bug#14127)
11501 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11503 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11506 * international/mule.el (coding-system-iso-2022-flags): Fix last
11509 2013-07-20 Kenichi Handa <handa@gnu.org>
11511 * international/mule.el (coding-system-iso-2022-flags):
11512 Add `8-bit-level-4'. (Bug#8522)
11514 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11516 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11519 * net/eww.el (eww-process-text-input): Allow inputting when the
11520 point is at the start of the line, as the properties aren't
11523 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11526 2013-07-19 Richard Stallman <rms@gnu.org>
11528 * epa.el (epa-popup-info-window): Doc fix.
11530 * subr.el (split-string): New arg TRIM.
11532 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11534 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11535 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11537 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11539 * filenotify.el (file-notify--library): Rename from
11540 `file-notify-support'. Do not autoload. Adapt all uses.
11541 (file-notify-supported-p): New defun.
11543 * autorevert.el (auto-revert-use-notify):
11544 Use `file-notify-supported-p' instead of `file-notify-support'.
11546 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11548 * net/tramp.el (tramp-file-name-for-operation):
11549 Add `file-notify-supported-p'.
11551 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11553 (tramp-sh-file-name-handler-alist): Add it as handler for
11554 `file-notify-supported-p '.
11556 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11557 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11558 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11559 Add `ignore' as handler for `file-notify-*' functions.
11561 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11563 * simple.el (line-move-partial, line-move): Don't start vscroll or
11564 scroll-up if the current line is not taller than the window.
11567 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11569 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11570 highlight question marks in the method names as strings.
11571 (ruby-block-beg-keywords): Inline.
11572 (ruby-font-lock-keyword-beg-re): Extract from
11573 `ruby-font-lock-keywords'.
11575 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11577 * frame.el (blink-cursor-blinks): New defcustom.
11578 (blink-cursor-blinks-done): New defvar.
11579 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11580 (blink-cursor-timer-function): Check if number of blinks has been
11582 (blink-cursor-suspend, blink-cursor-check): New defuns.
11584 2013-07-15 Glenn Morris <rgm@gnu.org>
11586 * edmacro.el (edmacro-format-keys): Fix previous change.
11588 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11590 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11591 The hack didn't work outside English locales anyway.
11593 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11595 * simple.el (define-alternatives): Rename from alternatives-define,
11596 per RMS' suggestion.
11598 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11600 * desktop.el (desktop-restore-frames): Change default to t.
11601 (desktop-restore-in-current-display): Now offer more options.
11602 (desktop-restoring-reuses-frames): New customization option.
11603 (desktop--saved-states): Doc fix.
11604 (desktop-filter-parameters-alist): New variable, renamed and expanded
11605 from desktop--excluded-frame-parameters.
11606 (desktop--target-display): New variable.
11607 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11608 (desktop--filter-tty*, desktop--filter-*-color)
11609 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11610 (desktop--filter-save-desktop-parm)
11611 (desktop-restore-in-original-display-p): New functions.
11612 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11613 (desktop--save-minibuffer-frames): New function, inspired by a similar
11614 function from Martin Rudalics.
11615 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11616 (desktop--restore-in-this-display-p): Remove.
11617 (desktop--find-frame): Rename from desktop--find-frame-in-display
11618 and add predicate argument.
11619 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11620 (desktop--reuse-list): New variable.
11621 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11623 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11625 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11627 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11629 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11631 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11632 Highlight conversion methods on Kernel.
11634 2013-07-13 Alan Mackenzie <acm@muc.de>
11636 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11637 and comment it out. This out-commenting enables certain C++
11638 declarations to be parsed correctly.
11640 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11642 * international/mule.el (define-coding-system): Doc fix.
11644 * simple.el (default-font-height): Don't call font-info if the
11645 frame's default font didn't change since the frame was created.
11648 2013-07-13 Leo Liu <sdl.web@gmail.com>
11650 * ido.el (ido-read-file-name): Guard against non-symbol value.
11652 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11654 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11657 2013-07-13 Leo Liu <sdl.web@gmail.com>
11659 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11660 ido-set-matches call. (Bug#6852)
11662 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11664 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11665 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11667 (ruby-font-lock-keywords): Distinguish calls to functions with
11668 module-like names from module references. Highlight character
11671 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11673 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11674 (gdb-send): Handle continued commands. (Bug#14847)
11676 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11678 * desktop.el (desktop--v2s): Remove unused local variable.
11679 (desktop-save-buffer): Make defvar-local; adjust docstring.
11680 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11681 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11683 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11685 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11687 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11689 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11692 2013-07-12 Glenn Morris <rgm@gnu.org>
11694 * doc-view.el: Require cl-lib at runtime too.
11695 (doc-view-remove-if): Remove.
11696 (doc-view-search-next-match, doc-view-search-previous-match):
11699 * edmacro.el: Require cl-lib at runtime too.
11700 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11701 (edmacro-mismatch, edmacro-subseq): Remove.
11703 * shadowfile.el: Require cl-lib.
11704 (shadow-remove-if): Remove.
11705 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11708 * wid-edit.el: Require cl-lib.
11709 (widget-choose): Use cl-remove-if.
11710 (widget-remove-if): Remove.
11712 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11713 (ebrowse-delete-if-not): Remove.
11714 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11715 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11716 Use cl-delete-if-not.
11718 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11720 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11721 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11723 2013-07-12 Leo Liu <sdl.web@gmail.com>
11725 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11727 2013-07-11 Glenn Morris <rgm@gnu.org>
11729 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11730 (edebug-gensym-index, edebug-gensym):
11731 Remove reimplementation of cl-gensym.
11732 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11734 * thumbs.el: Require cl-lib at run-time too.
11735 (thumbs-gensym-counter, thumbs-gensym):
11736 Remove reimplementation of cl-gensym.
11737 (thumbs-temp-file): Use cl-gensym.
11739 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11740 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11741 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11742 (ert--union, ert--gensym-counter, ert--gensym-counter)
11743 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11744 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11745 (ert-make-test-unbound, ert--expand-should-1)
11746 (ert--expand-should, ert--should-error-handle-error)
11747 (should-error, ert--explain-equal-rec)
11748 (ert--plist-difference-explanation, ert-select-tests)
11749 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11750 Use cl-lib functions rather than reimplementations.
11752 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11754 * net/tramp.el (tramp-methods): Extend docstring.
11755 (tramp-connection-timeout): New defcustom.
11756 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11757 (with-tramp-progress-reporter): Simplify.
11758 (tramp-process-actions): Improve messages.
11760 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11761 * net/tramp-sh.el (tramp-maybe-open-connection):
11762 Use `tramp-connection-timeout'.
11763 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11766 2013-07-11 Leo Liu <sdl.web@gmail.com>
11768 * ido.el (ido-read-file-name): Conform to the requirements of
11769 read-file-name. (Bug#11861)
11770 (ido-read-directory-name): Conform to the requirements of
11771 read-directory-name.
11773 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11775 * subr.el (delay-warning): New function.
11777 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11779 * simple.el (default-line-height): New function.
11780 (line-move-partial, line-move): Use it instead of computing the
11781 line height inline.
11782 (line-move-partial): Always compute ROWH. If the last line is
11783 partially-visible, but its text is completely visible, allow
11784 cursor to enter such a partially-visible line.
11786 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11788 Improve error messages. (Bug#14808)
11790 * net/tramp.el (tramp-current-connection): New defvar, moved from
11792 (tramp-message-show-progress-reporter-message): Remove, not
11794 (tramp-error-with-buffer): Show message in minibuffer.
11795 Discard input before waiting. Reset connection timestamp.
11796 (with-tramp-progress-reporter): Improve messages.
11797 (tramp-process-actions): Use progress reporter. Delete process in
11798 case of error. Improve messages.
11800 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11801 Call `tramp-error-with-buffer' with vector and buffer.
11802 (tramp-current-connection): Remove.
11803 (tramp-maybe-open-connection): The car of
11804 `tramp-current-connection' are the first 3 slots of the vector.
11806 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11808 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11809 inside continued strings.
11811 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11813 Timestamp fixes for undo (Bug#14824).
11814 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11816 2013-07-10 Leo Liu <sdl.web@gmail.com>
11818 * files.el (require-final-newline): Allow safe local value.
11821 2013-07-09 Leo Liu <sdl.web@gmail.com>
11823 * ido.el (ido-read-directory-name): Handle fallback.
11824 (ido-read-file-name): Update DIR to ido-current-directory.
11826 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11828 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11831 "autoload". Remove "warn lower camel case" section, previously
11832 commented out. Highlight negation char. Do not highlight the
11833 target in singleton method definitions.
11835 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * faces.el (tty-setup-hook): Declare the hook.
11839 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11840 and detect when a guard/pred depends on local vars (bug#14773).
11841 (pcase--u1): Adjust caller.
11843 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11845 * simple.el (line-move-partial, line-move): Account for
11847 (line-move-partial): Avoid setting vscroll when the last
11848 partially-visible line in window is of default height.
11850 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11852 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11855 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11857 * subr.el (read-quoted-char): Remove unused local variable `char'.
11859 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11861 * ediff.el (ediff-version): Version update.
11862 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11863 (ediff-merge-with-ancestor-command, ediff-directories-command)
11864 (ediff-directories3-command, ediff-merge-directories-command)
11865 (ediff-merge-directories-with-ancestor-command): New functions.
11866 All are command-line interfaces to ediff: to facilitate calling
11867 Emacs with the appropriate ediff functions invoked.
11869 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11870 (viper-save-kill-buffer): Check if buffer is modified.
11872 * viper.el (viper-version): Version update.
11873 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11875 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11877 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11878 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11879 (viper-intercept-ESC-key): Simplify.
11880 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11881 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11882 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11883 (viper-setup-ESC-to-escape): New functions.
11884 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11885 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11887 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11889 * simple.el (default-font-height, window-screen-lines):
11891 (line-move, line-move-partial): Use them instead of
11892 frame-char-height and window-text-height. This makes scrolling
11893 text smoother when the buffer's default face uses a font that is
11894 different from the frame's default font.
11896 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11898 * files.el (write-file): Do not display confirm dialog for NS,
11899 it does its own dialog, which can't be canceled (Bug#14578).
11901 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11903 * simple.el (line-move-partial): Adjust the row returned by
11904 posn-at-point for the current window-vscroll. (Bug#14567)
11906 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11908 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11909 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11912 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11914 * window.el (window-state-put-stale-windows): New variable.
11915 (window--state-put-2): Save list of windows without matching buffer.
11916 (window-state-put): Remove "bufferless" windows if possible.
11918 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11920 * simple.el (alternatives-define): Remove leftover :group keyword.
11923 2013-07-06 Leo Liu <sdl.web@gmail.com>
11925 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11926 (ido-enable-virtual-buffers): New variable.
11927 (ido-buffer-internal, ido-toggle-virtual-buffers)
11928 (ido-make-buffer-list): Use it.
11929 (ido-exhibit): Support turning on and off virtual buffers
11932 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11934 * simple.el (alternatives-define): New macro.
11936 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11938 * subr.el (read-quoted-char): Use read-key.
11939 (sit-for): Let read-event decode tty input (bug#14782).
11941 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11943 * calendar/todo-mode.el: Add handling of file deletion, both by
11944 mode command and externally. Fix various related bugs.
11945 Clarify Commentary and improve some documentation strings and code.
11946 (todo-delete-file): New command.
11947 (todo-check-file): New function.
11948 (todo-show): Handle external deletion of the file we're trying to
11949 show (bug#14688). Replace called-interactively-p by an optional
11950 prefix argument to avoid problematic interaction with catch form
11951 when byte compiled (bug#14702).
11952 (todo-quit): Handle external deletion of the archive's todo file.
11953 Make sure the buffer that was visiting the archive file is still
11954 live before trying to bury it.
11955 (todo-category-completions): Handle external deletion of any
11956 category completion files.
11957 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11958 of todo files, in case of external deletion.
11959 (todo-add-file): Replace unnecessary setq by let-binding.
11960 (todo-find-archive): Check whether there are any archives.
11961 Replace unnecessary setq by let-binding.
11962 (todo-archive-done-item): Use find-file-noselect to get the
11963 archive buffer whether or not the archive already exists.
11964 Remove superfluous code. Use file size instead of buffer-file-name to
11965 check if the archive is new; if it is, update list of archives.
11966 (todo-default-todo-file): Allow nil to be a valid value for when
11967 there are no todo files.
11968 (todo-reevaluate-default-file-defcustom): Use corrected definition
11969 of todo-default-todo-file.
11970 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11971 (todo-delete-category, todo-show-categories-table)
11972 (todo-category-number): Clarify comment.
11973 (todo-filter-items): Clarify documentation string.
11974 (todo-show-current-file, todo-display-as-todo-file)
11975 (todo-reset-and-enable-done-separator): Tweak documentation string.
11976 (todo-done-separator): Make separator length window-width, since
11977 bug#2749 is now fixed.
11979 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11981 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11982 Support both "gvfs-monitor-dir" and "inotifywait".
11983 (tramp-sh-file-inotifywait-process-filter): Rename from
11984 `tramp-sh-file-notify-process-filter'.
11985 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11986 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11988 2013-07-05 Leo Liu <sdl.web@gmail.com>
11990 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11992 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11994 * frame.el (display-pixel-height, display-pixel-width)
11995 (display-mm-height, display-mm-width): Mention behavior on
11996 multi-monitor setups in docstrings.
11997 (w32-display-monitor-attributes-list): Declare function.
11998 (display-monitor-attributes-list): Use it.
12000 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12002 * filenotify.el: New package.
12004 * autorevert.el (top): Require filenotify.el.
12005 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12007 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12008 (auto-revert-notify-handler): Use `file-notify-*' functions.
12010 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12012 * net/tramp.el (tramp-file-name-for-operation):
12013 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12015 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12016 for `file-notify-add-watch' and `file-notify-rm-watch'.
12017 (tramp-process-sentinel): Improve trace.
12018 (tramp-sh-handle-file-notify-add-watch)
12019 (tramp-sh-file-notify-process-filter)
12020 (tramp-sh-handle-file-notify-rm-watch)
12021 (tramp-get-remote-inotifywait): New defuns.
12023 2013-07-03 Juri Linkov <juri@jurta.org>
12025 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12026 call of `occur-read-primary-args' to interactive spec.
12028 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12029 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12031 2013-07-03 Matthias Meulien <orontee@gmail.com>
12033 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12034 `Buffer-menu-multi-occur'. Add it to the menu.
12035 (Buffer-menu-mode): Document it in docstring.
12036 (Buffer-menu-multi-occur): New command. (Bug#14673)
12038 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12040 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12041 keywords and built-ins.
12043 2013-07-03 Glenn Morris <rgm@gnu.org>
12045 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12047 Make info-xref checks case-sensitive by default
12048 * info.el (Info-find-node, Info-find-in-tag-table)
12049 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12050 Add option for exact case matching of nodes.
12051 * info-xref.el (info-xref): New custom group.
12052 (info-xref-case-fold): New option.
12053 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12055 2013-07-03 Leo Liu <sdl.web@gmail.com>
12057 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12059 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12061 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12062 middle of block statement initially, lower the depth. Remove
12063 FIXME comment, not longer valid. Remove middle of block statement
12064 detection, no need to do that anymore since we've been using
12065 `ruby-parse-region' here.
12067 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12069 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12071 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12073 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12075 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12077 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12078 (desktop-restore-in-current-display): New customization option.
12079 (desktop--excluded-frame-parameters): Add `font'.
12080 (desktop--save-frames): Rename from desktop--save-windows.
12081 (desktop--restore-in-this-display-p): New function.
12082 (desktop--make-full-frame): Remove unwanted width/height from
12083 full(width|height) frames.
12084 (desktop--restore-frames): Rename from desktop--restore-windows.
12085 Obey desktop-restore-current-display. Do not delete old frames or
12086 select a new frame unless we were able to restore at least one frame.
12088 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12090 * files.el (find-file-noselect): Simplify conditional expression.
12092 * textmodes/remember.el (remember-append-to-file):
12093 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12095 Add `remember-notes' function to store random notes across Emacs
12097 * textmodes/remember.el (remember-data-file): Add :set callback to
12098 affect notes buffer (if any).
12099 (remember-notes): New command.
12100 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12101 New defcustoms for the `remember-notes' function.
12102 (remember-notes-save-and-bury-buffer): New command.
12103 (remember-notes-mode-map): New variable.
12104 (remember-mode): New minor mode.
12105 (remember-notes--kill-buffer-query): New function.
12106 * startup.el (initial-buffer-choice): Add notes to custom type.
12108 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12110 * bindings.el (right-char, left-char): Don't call sit-for, this is
12111 no longer needed. Use arithmetic comparison only for numerical
12114 * international/mule-cmds.el (select-safe-coding-system):
12115 Handle the case of FROM being a string correctly. (Bug#14755)
12117 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12119 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12120 progression on degenerate tables.
12121 (shr-rescale-image): ImageMagick animated images currently don't work.
12123 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12125 Some fixes and improvements for desktop frame restoration.
12126 It is still experimental and disabled by default.
12127 * desktop.el (desktop--save-windows): Put the selected frame at
12128 the head of the list.
12129 (desktop--make-full-frame): New function.
12130 (desktop--restore-windows): Try to re-select the frame that was
12131 selected upon saving. Do not abort if some frames fail to restore,
12132 just show an error message and continue. Set up maximized frames
12133 so they have default non-maximized dimensions.
12135 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12137 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12138 Don't start heredoc inside a string or comment.
12140 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12142 * bindings.el (visual-order-cursor-movement): New defcustom.
12143 (right-char, left-char): Provide visual-order cursor motion by
12144 calling move-point-visually. Update the doc strings.
12146 2013-06-28 Kenichi Handa <handa@gnu.org>
12148 * international/mule.el (define-coding-system): New coding system
12149 properties :inhibit-null-byte-detection,
12150 :inhibit-iso-escape-detection, and :prefer-utf-8.
12151 (set-buffer-file-coding-system): If :charset-list property of
12152 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12153 appropriate for setting.
12155 * international/mule-cmds.el (select-safe-coding-system):
12156 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12157 multibyte characters, return utf-8 (or one of its siblings).
12159 * international/mule-conf.el (prefer-utf-8): New coding system.
12160 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12163 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12165 * net/shr.el (shr-render-region): New function.
12167 * net/eww.el: Autoload `eww-browse-url'.
12169 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12172 Adapt to `package-desc-version' being a list.
12173 Use `package--ac-desc-version' to retrieve version from a package
12176 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12178 New experimental feature to save&restore window and frame setup.
12179 * desktop.el (desktop-save-windows): New defcustom.
12180 (desktop--saved-states): New var.
12181 (desktop--excluded-frame-parameters): New defconst.
12182 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12183 (desktop--restore-windows, desktop--save-windows): New functions.
12184 (desktop-save): Call `desktop--save-windows'.
12185 (desktop-read): Call `desktop--restore-windows'.
12187 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12189 * net/shr.el (add-face-text-property): Remove compat definition.
12191 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12193 * info.el (Info-try-follow-nearest-node): Move search for footnote
12194 above search for node name to prevent missing a footnote (bug#14717).
12196 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12198 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12200 2013-06-27 Leo Liu <sdl.web@gmail.com>
12202 * net/eww.el (eww-read-bookmarks): Check file size.
12204 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12207 advice--pending if newdef is nil or an autoload (bug#13820).
12208 (advice-mapc): New function.
12210 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12212 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12214 (eww-mode-map): Add a menu bar.
12215 (eww-add-bookmark): New command.
12216 (eww-bookmark-mode): New mode and commands.
12217 (eww-add-bookmark): Remove newlines from the title.
12218 (eww-bookmark-browse): Don't bug out if it's the only window.
12220 2013-06-26 Glenn Morris <rgm@gnu.org>
12222 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12223 (hfy-size): Handle ttys. (Bug#14668)
12225 * info-xref.el: Update for Texinfo 5 change in *note format.
12226 (info-xref-node-re, info-xref-note-re): New constants.
12227 (info-xref-check-buffer): Use info-xref-note-re.
12229 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12231 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12233 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12234 nil terminate the loop (bug#14718).
12236 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12238 * net/eww.el: Rework history traversal. When going forward/back,
12239 put these actions into the history, too, so that they can be
12241 (eww-render): Move the history reset to the correct buffer.
12243 2013-06-25 Juri Linkov <juri@jurta.org>
12245 * files-x.el (modify-dir-local-variable): Change the header comment
12246 in the file with directory local variables. (Bug#14692)
12248 * files-x.el (read-file-local-variable-value): Add `default'.
12251 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12253 * net/eww.el (eww-make-unique-file-name): Create a unique file
12254 name before saving to entering `y' accidentally asynchronously.
12256 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12258 * net/eww.el (eww-download): New command and keystroke.
12260 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12262 * net/eww.el (eww-copy-page-url): Change name of command.
12264 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12265 be more consistent with Info and dired.
12267 * net/eww.el (eww-mode-map): Ditto.
12269 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12271 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12272 packages from archives.
12273 (package-archive-contents): Change format; include obsolete packages.
12274 (package-desc): Use `dir' to mark builtin packages.
12275 (package--from-builtin): Set the `dir' field to `builtin'.
12276 (generated-autoload-file, version-control): Declare.
12277 (package-compute-transaction): Change first arg and return value to be
12278 lists of package-descs. Adjust to new package-archive-contents format.
12279 (package--add-to-archive-contents): Adjust to new
12280 package-archive-contents format.
12281 (package-download-transaction): Arg is now a list of package-descs.
12282 (package-install): If `pkg' is a package name, pass it as
12283 a requirement, so it is subject to the usual (e.g. disabled) checks.
12284 (describe-package): Accept package-desc as well.
12285 (describe-package-1): Describe a specific package-desc. Add links to
12286 other package-descs for the same package name.
12287 (package-menu-describe-package): Pass the actual package-desc.
12288 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12290 (package-desc-status): New function.
12291 (package-menu--refresh): New function, extracted
12292 from package-menu--generate.
12293 (package-menu--generate): Use it.
12294 (package-delete): Update package-alist.
12295 (package-menu-execute): Don't call package-initialize.
12297 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12298 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12299 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12300 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12301 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12302 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12304 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12306 * window.el (window--state-get-1): Workaround for bug#14527.
12307 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12309 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12311 * net/eww.el (eww-back-url): Implement the history by stashing all
12312 the data into a list.
12313 (eww-forward-url): Allow going forward in the history, too.
12315 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12317 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12318 for values and use read--expression for expressions (bug#14710).
12319 (read-file-local-variable): Avoid setq.
12320 (read-file-local-variable-mode): Use minor-mode-list.
12322 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12324 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12327 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12329 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12330 Update imenu-support when dialect changes.
12332 2013-06-25 Leo Liu <sdl.web@gmail.com>
12334 * ido.el (ido-read-internal): Allow forward slash on windows.
12336 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12338 * net/eww.el (eww): Start of strings is \\`, not ^.
12340 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12342 * net/shr.el (shr-browse-url): Fix interactive spec.
12344 * net/eww.el (eww): Add a trailing slash to domain names.
12346 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12348 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12350 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12352 * net/shr.el (shr-browse-url): Use an external browser if given a
12355 * net/eww.el (eww-external-browser): Move to shr.
12357 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12359 * net/eww.el (eww): Work more correctly for file: URLs.
12360 (eww-detect-charset): Allow quoted charsets.
12361 (eww-yank-page-url): New command and keystroke.
12363 2013-06-24 Daiki Ueno <ueno@gnu.org>
12365 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12366 file name of gpg executable.
12367 (epg-context-program): New function.
12368 (epg-context-home-directory): New function.
12369 (epg-context-set-program): New function.
12370 (epg-context-set-home-directory): New function.
12371 (epg--start): Use `epg-context-program' instead of
12373 (epg--list-keys-1): Likewise.
12375 2013-06-24 Leo Liu <sdl.web@gmail.com>
12377 * ido.el (ido-read-internal): Fix bug#14620.
12379 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12381 * faces.el (face-documentation): Simplify.
12382 (read-face-attribute, tty-find-type, x-resolve-font-name):
12383 Use `string-match-p'.
12384 (list-faces-display): Use `string-match-p'. Simplify.
12385 (face-spec-recalc): Check face to avoid face alias loops.
12386 (read-color): Use `string-match-p' and non-capturing parenthesis.
12388 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390 * net/shr.el (shr-rescale-image): Use the new
12391 :max-width/:max-height functionality.
12393 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12395 * net/eww.el (eww-search-prefix): New variable.
12397 (eww-external-browser): New variable.
12398 (eww-mode-map): New keystroke.
12399 (eww-browse-with-external-browser): New command.
12401 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12403 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12405 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12406 Don't skip aligning the next header field when padding is 0;
12407 otherwise, field width is not respected unless the title is as
12410 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12412 * emacs-lisp/package.el (package-el-version): Remove.
12413 (package-process-define-package): Fix inf-loop.
12414 (package-install): Allow symbols as arguments again.
12416 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12419 add some more keyword-like methods.
12420 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12422 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12424 * bs.el (bs-buffer-show-mark): Make defvar-local.
12425 (bs-mode): Use setq-local.
12427 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12428 (emacs-lock--try-unlocking): Make defvar-local.
12430 2013-06-22 Glenn Morris <rgm@gnu.org>
12432 * play/cookie1.el (cookie-apropos): Minor simplification.
12434 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12436 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12438 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12439 `regexp-opt', it breaks the build during dumping.
12441 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12443 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12444 Highlight keyword-like methods on Kernel and Module with
12445 font-lock-builtin-face.
12446 (auto-mode-alist): Consolidate different entries into one regexp
12447 and add more *file-s.
12449 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12451 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12453 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12454 (diary-entry): Use it in the action of this button type instead of
12457 * calendar/todo-mode.el: New version.
12458 (todo-add-category): Append new category to end of file and give
12459 it the highest number, instead of putting it at the beginning and
12460 giving it 0. Incorporate noninteractive functionality.
12461 (todo-forward-category): Adapt to 1-based category numbering.
12462 Allow skipping over archived categories.
12463 (todo-backward-category): Derive from todo-forward-category.
12464 (todo-backward-item, todo-forward-item): Make noninteractive and
12465 delegate interactive part to new commands. Make sensitive to done items.
12466 (todo-categories): Make value an alist of category names and
12467 vectors of item counts.
12468 (todo-category-beg): Make a defconst.
12469 (todo-category-number): Use 1 instead of 0 as initial value.
12470 (todo-category-select): Make sensitive to overlays, optional item
12471 highlighting and done items.
12472 (todo-delete-item): Make sensitive to overlays and marked and done items.
12473 (todo-edit-item): Make sensitive to overlays and editing of
12474 date/time header optional. Add format checks.
12475 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12476 no-op if point is not on an item. Advertise using todo-edit-quit.
12477 (todo-edit-mode): Make sensitive to new format, font-locking, and
12478 multiple todo files.
12479 (todo-insert-item, todo-insert-item-here): Derive from
12480 todo-basic-insert-item and extend functionality.
12481 (todo-item-end, todo-item-start): Make sensitive to done items.
12482 (todo-item-string): Don't return text properties. Restore point.
12483 (todo-jump-to-category): Make sensitive to multiple todo files and
12484 todo archives. Use extended category completion.
12485 (todo-lower-item, todo-raise-item): Rename to *-priority and
12486 derive from todo-set-item-priority.
12487 (todo-mode): Derive from special-mode. Make sensitive to new
12488 format, font-locking and multiple todo files. Make read-only.
12489 (todo-mode-map): Don't suppress digit keys, so they can supply
12490 prefix arguments. Add many new key bindings.
12491 (todo-prefix): Insert as an overlay instead of file text.
12492 Change semantics from diary date expression to purely visual mark.
12493 (todo-print): Rename to todo-print-buffer. Make buffer display
12494 features printable. Remove option to restrict number of items
12495 printed. Add option to print to file.
12496 (todo-print-function): Rename to todo-print-buffer-function.
12497 (todo-quit): Extend to handle exiting new todo modes.
12498 (todo-remove-item): Make sensitive to overlays.
12499 (todo-save): Extend to buffers of filtered items.
12500 (todo-show): Make sensitive to done items, multiple todo files and
12501 new todo modes. Offer to convert legacy todo file before creating
12502 first new todo file.
12503 (todo-show-priorities): Rename to todo-top-priorities.
12504 Change semantics of value 0.
12505 (todo-top-priorities): Rename to todo-filter-top-priorities,
12506 derive from todo-filter-items and extend functionality.
12507 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12508 and extend functionality to other types of filtered items.
12509 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12510 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12511 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12512 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12513 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12514 (todo-edit-mode-hook, todo-entry-prefix-function)
12515 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12516 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12517 (todo-initials, todo-insert-threshold, todo-item-string-start)
12518 (todo-line-string, todo-menu, todo-mode-hook)
12519 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12520 (todo-print-priorities, todo-remove-separator)
12521 (todo-save-top-priorities-too, todo-string-count-lines)
12522 (todo-string-multiline-p, todo-time-string-format)
12523 (todo-tmp-buffer-name): Remove.
12524 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12525 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12526 (todo-edit-category-diary-inclusion)
12527 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12528 (todo-edit-file, todo-edit-item-date-day)
12529 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12530 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12531 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12532 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12533 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12534 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12535 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12536 (todo-filter-top-priorities-multifile, todo-find-archive)
12537 (todo-find-filtered-items-file, todo-go-to-source-item)
12538 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12539 (todo-jump-to-archive-category, todo-lower-category)
12540 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12541 (todo-move-category, todo-move-item, todo-next-button)
12542 (todo-next-item, todo-padded-string, todo-powerset)
12543 (todo-previous-button, todo-previous-item)
12544 (todo-print-buffer-to-file, todo-raise-category)
12545 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12546 (todo-set-category-number, todo-set-item-priority)
12547 (todo-set-top-priorities-in-category)
12548 (todo-set-top-priorities-in-file, todo-show-categories-table)
12549 (todo-sort-categories-alphabetically-or-numerically)
12550 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12551 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12552 (todo-toggle-item-header, todo-toggle-item-highlighting)
12553 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12554 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12555 (todo-unarchive-items, todo-unmark-category): New commands.
12556 (todo-absolute-file-name, todo-add-to-buffer-list)
12557 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12558 (todo-basic-insert-item, todo-category-completions)
12559 (todo-category-number, todo-category-string-matcher-1)
12560 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12561 (todo-check-format, todo-clear-matches)
12562 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12563 (todo-current-category, todo-date-string-matcher)
12564 (todo-define-insertion-command, todo-diary-expired-matcher)
12565 (todo-diary-goto-entry, todo-diary-item-p)
12566 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12567 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12568 (todo-done-item-section-p, todo-done-separator)
12569 (todo-done-string-matcher, todo-files, todo-filter-items)
12570 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12571 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12572 (todo-insert-category-line, todo-insert-item-from-calendar)
12573 (todo-insert-sort-button, todo-insert-with-overlays)
12574 (todo-insertion-command-name, todo-insertion-key-bindings)
12575 (todo-label-to-key, todo-longest-category-name-length)
12576 (todo-make-categories-list, todo-mode-external-set)
12577 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12578 (todo-modes-set-3, todo-multiple-filter-files)
12579 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12580 (todo-read-category, todo-read-date, todo-read-dayname)
12581 (todo-read-file-name, todo-read-time)
12582 (todo-reevaluate-category-completions-files-defcustom)
12583 (todo-reevaluate-default-file-defcustom)
12584 (todo-reevaluate-filelist-defcustoms)
12585 (todo-reevaluate-filter-files-defcustom)
12586 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12587 (todo-reset-done-separator, todo-reset-done-separator-string)
12588 (todo-reset-done-string, todo-reset-global-current-todo-file)
12589 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12590 (todo-reset-prefix, todo-set-categories)
12591 (todo-set-date-from-calendar, todo-set-show-current-file)
12592 (todo-set-top-priorities, todo-short-file-name)
12593 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12594 (todo-total-item-counts, todo-update-buffer-list)
12595 (todo-update-categories-display, todo-update-categories-sexp)
12596 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12598 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12600 (todo-categories, todo-display, todo-edit, todo-faces)
12601 (todo-filtered): New defgroups.
12602 (todo-archived-only, todo-button, todo-category-string, todo-date)
12603 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12604 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12605 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12606 (todo-add-item-if-new-category, todo-always-add-time-string)
12607 (todo-categories-align, todo-categories-archived-label)
12608 (todo-categories-category-label, todo-categories-diary-label)
12609 (todo-categories-done-label, todo-categories-number-separator)
12610 (todo-categories-todo-label, todo-categories-totals-label)
12611 (todo-category-completions-files, todo-completion-ignore-case)
12612 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12613 (todo-done-separator-string, todo-done-string)
12614 (todo-files-function, todo-filter-done-items, todo-filter-files)
12615 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12616 (todo-initial-category, todo-initial-file, todo-item-mark)
12617 (todo-legacy-date-time-regexp, todo-mode-line-function)
12618 (todo-nondiary-marker, todo-number-prefix)
12619 (todo-print-buffer-function, todo-show-current-file)
12620 (todo-show-done-only, todo-show-first, todo-show-with-done)
12621 (todo-skip-archived-categories, todo-top-priorities-overrides)
12622 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12623 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12625 (todo-category-done, todo-date-pattern, todo-date-string-start)
12626 (todo-diary-items-buffer, todo-done-string-start)
12627 (todo-filtered-items-buffer, todo-item-start)
12628 (todo-month-abbrev-array, todo-month-name-array)
12629 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12630 (todo-top-priorities-buffer): New defconsts.
12631 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12632 (todo-categories-with-marks, todo-category-string-face)
12633 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12634 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12635 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12636 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12637 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12638 (todo-font-lock-keywords, todo-global-current-todo-file)
12639 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12640 (todo-insertion-commands-args)
12641 (todo-insertion-commands-args-genlist)
12642 (todo-insertion-commands-names, todo-insertion-map)
12643 (todo-key-bindings-t, todo-key-bindings-t+a)
12644 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12645 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12646 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12647 (todo-visited): New variables.
12649 2013-06-21 Glenn Morris <rgm@gnu.org>
12651 * play/cookie1.el (cookie-apropos): Add optional display argument.
12652 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12653 (psychoanalyze-pinhead): Use cookie-doctor.
12655 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12657 * emacs-lisp/package.el (tar-get-file-descriptor)
12658 (tar--extract): Declare.
12660 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12662 Extend flymake's warning predicate to be a function (bug#14217).
12663 * progmodes/flymake.el (flymake-warning-predicate): New.
12664 (flymake-parse-line): Use it.
12665 (flymake-warning-re): Make obsolete alias to
12666 `flymake-warning-predicate'.
12668 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12670 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12671 (package-obsolete-list): Remove.
12672 (package-activate): Remove min-version argument. Add `force' argument.
12673 Adjust to new package-alist format.
12674 (package-mark-obsolete): Remove.
12675 (package-unpack): Force reload of the package's autoloads.
12676 (package-installed-p): Check builtins if the installed package is not
12678 (package-initialize): Don't reset package-obsolete-list.
12679 Don't specify which package version to activate.
12680 (package-process-define-package, describe-package-1)
12681 (package-menu--generate): Adjust to new package-alist format.
12683 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12685 * allout-widgets.el (allout-widgets-mode-off)
12686 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12687 (allout-widgets-post-command-business)
12688 (allout-widgets-after-copy-or-kill-function)
12689 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12690 (allout-decorate-item-and-context)
12691 (allout-graphics-modification-handler): Fix typos in docstrings.
12692 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12694 * cmuscheme.el (scheme-start-file): Doc fix.
12695 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12696 (scheme-input-filter): Use `string-match-p'.
12698 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12700 * dired-x.el: Use Dired consistently in docstrings.
12702 * dired.el: Use Dired consistently in docstrings.
12703 (dired-readin, dired-mode): Use `setq-local'.
12704 (dired-switches-alist): Make defvar-local.
12705 (dired-buffers-for-dir): Use `zerop'.
12706 (dired-safe-switches-p, dired-switches-escape-p)
12707 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12708 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12709 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12710 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12711 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12712 (dired-toggle-marks, dired-mark-files-containing-regexp)
12713 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12714 (dired-flag-auto-save-files, dired-flag-backup-files):
12715 Use `looking-at-p'.
12716 (dired-mark-files-regexp, dired-build-subdir-alist):
12717 Use `string-match-p', `looking-at-p'.
12719 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12720 (direct-print-region-helper): Use `string-match-p'.
12722 2013-06-21 Leo Liu <sdl.web@gmail.com>
12724 * comint.el (comint-redirect-results-list-from-process):
12727 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12729 * net/eww.el (eww-update-header-line-format): Quote % characters.
12731 2013-06-21 Glenn Morris <rgm@gnu.org>
12733 * play/cookie1.el (cookie): New custom group.
12734 (cookie-file): New option.
12735 (cookie-check-file): New function.
12736 (cookie): Make it interactive. Make start and end messages optional.
12737 Interactively, display the result. Default to cookie-file.
12738 (cookie-insert): Default to cookie-file.
12739 (cookie-snarf): Make start and end messages optional.
12740 Default to cookie-file. Use with-temp-buffer.
12741 (cookie-read): Rename from read-cookie.
12742 Make start and end messages optional. Default to cookie-file.
12743 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12744 Do not autoload it.
12745 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12746 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12748 2013-06-21 Leo Liu <sdl.web@gmail.com>
12750 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12752 2013-06-21 Glenn Morris <rgm@gnu.org>
12754 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12756 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12757 Daniel Hackney <dan@haxney.org>
12759 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12760 Consolidate the single-file vs tarball code.
12761 (package-desc-suffix): New function.
12762 (package-desc-full-name): Don't bother inlining it.
12763 (package-load-descriptor): Return the new package-desc.
12764 (package-mark-obsolete): Remove unused arg `package'.
12765 (package-unpack): Make it work for single files as well.
12766 Make it update package-alist.
12767 (package--make-autoloads-and-stuff): Rename from
12768 package--make-autoloads-and-compile. Don't compile any more.
12769 (package--compile): New function.
12770 (package-generate-description-file): New function, extracted from
12771 package-unpack-single.
12772 (package-unpack-single): Remove.
12773 (package--with-work-buffer): Add indentation and debugging info.
12774 (package-download-single): Remove.
12775 (package-install-from-archive): Rename from package-download-tar, make
12776 it take a pkg-desc, and make it work for single files as well.
12777 (package-download-transaction): Simplify.
12778 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12779 external tar program.
12780 (package-install-from-buffer): Remove `pkg-desc' argument.
12781 Use package-tar-file-info for tar-mode buffers.
12782 (package-install-file): Simplify accordingly.
12783 (package-archive-base): Change to take a pkg-desc.
12784 * tar-mode.el (tar--check-descriptor): New function, extracted from
12785 tar-get-descriptor.
12786 (tar-get-descriptor): Use it.
12787 (tar-get-file-descriptor): New function.
12788 (tar--extract): New function, extracted from tar-extract.
12789 (tar--extract): Use it.
12790 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12791 case the summary uses non-ascii. Adjust to new calling convention of
12792 package-tar-file-info.
12794 2013-06-21 Leo Liu <sdl.web@gmail.com>
12796 * comint.el (comint-redirect-results-list-from-process):
12797 Fix random delay. (Bug#14681)
12799 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12801 * profiler.el (profiler-format-number): Use log, not log10.
12803 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12805 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12807 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12809 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12810 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12812 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12813 (AUTOGENEL): ... here.
12814 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12815 (cl--defsubst-expand): Use it.
12817 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12819 * subr.el (log10): Move here from C code, and declare as obsolete.
12820 All uses of (log10 X) replaced with (log X 10).
12822 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12824 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12825 Declare with `defvar-local'.
12826 (tabulated-list-use-header-line, tabulated-list-entries)
12827 (tabulated-list-padding, tabulated-list-printer)
12828 (tabulated-list-sort-key): Declare with `defvar-local'.
12829 (tabulated-list-init-header, tabulated-list-print-fake-header):
12832 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12834 * arc-mode.el (archive-mode): Add `archive-write-file' to
12835 `write-contents-functions' also for remote files. (Bug#14652)
12837 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12839 * cus-edit.el (custom-commands): Fix typos.
12840 (custom-display): Fix tooltip text.
12841 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12842 Fix typos in docstrings.
12843 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12844 (custom-unlispify-menu-entry, custom-magic-value-create)
12845 (custom-add-see-also, custom-group-value-create): Use ?\s.
12846 (custom-guess-type, customize-apropos, editable-field)
12847 (custom-face-value-create): Use `string-match-p'.
12848 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12850 * custom.el (custom-load-symbol): Use `string-match-p'.
12852 * ansi-color.el: Convert to lexical binding.
12853 (ansi-colors): Fix URL.
12854 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12855 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12856 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12858 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12862 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12864 2013-06-19 Tom Tromey <tromey@redhat.com>
12866 * net/eww.el (eww-top-url): Remove.
12867 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12868 (eww-render): Set new variables. Don't set eww-top-url.
12869 (eww-handle-link): Handle "prev", "home", and "contents".
12870 Downcase the rel text.
12871 (eww-top-url): Choose best top URL.
12873 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12875 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12876 relying in widget.el. Using widget.el leads to too many
12877 user interface inconsistencies.
12878 (eww-self-insert): Implement entering commands in text fields.
12879 (eww-process-text-input): New function to make text input field editing
12881 (eww-submit): Rewrite to use the new-style form methods.
12882 (eww-select-display): Display the correct selected item.
12883 (eww-change-select): Implement changing the select value.
12884 (eww-toggle-checkbox): Implement radio/checkboxes.
12885 (eww-update-field): Fix compilation error.
12886 (eww-tag-textarea): Implement <textarea>.
12888 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12889 we don't shadow mode-specific bindings.
12891 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12894 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12896 2013-06-19 Glenn Morris <rgm@gnu.org>
12898 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12900 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12902 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12905 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12907 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12909 * net/browse-url.el (browse-url-browser-function):
12910 `eww-browse-url' has the right calling signature, `eww' does not.
12912 2013-06-19 Glenn Morris <rgm@gnu.org>
12914 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12915 Only eval autoloaded macros.
12916 (byte-compile-autoload): Only give the macro warning for macros.
12918 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12919 (ps-underlined-faces): Declare.
12921 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12922 (speedbar-add-supported-extension): Declare.
12924 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12925 Don't include a date stamp in the header of the generated file;
12926 it leads to needless differences between output files.
12928 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12930 * net/secrets.el (secrets-struct-secret-content-type):
12931 Replace check of introspection data by a test call of "CreateItem".
12932 Some servers do not offer introspection.
12934 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12936 * electric.el (electric-pair-mode): Improve interaction with
12937 electric-layout-mode.
12938 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12939 (electric-pair-syntax): Use text-mode-syntax-table in comments
12941 (electric-pair--insert): New function.
12942 (electric-pair-post-self-insert-function): Use it and
12943 electric--after-char-pos.
12945 2013-06-19 Leo Liu <sdl.web@gmail.com>
12947 * progmodes/octave.el (octave-help): Fix regexp.
12949 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12951 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12952 (shr-table-horizontal-line): Allow nil as a value, and change the
12954 (shr-insert-table-ruler): Respect the nil value.
12956 2013-06-18 Tom Tromey <tromey@barimba>
12958 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12960 (eww-open-file): New defun.
12961 (eww-render): Initialize new variables.
12962 (eww-display-html): Handle "link" and "a".
12963 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12964 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12965 (eww-back-url): Rename from eww-previous-url.
12966 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12969 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12971 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12972 Distinguish ternary operator tokens from slash symbol and slash
12975 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12977 Convert symbol prettification into minor mode and global minor mode.
12979 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12980 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12981 (prettify-symbols--keywords): Rename from
12982 `prog-prettify-symbols-alist' and make a local defvar.
12983 (prettify-symbols--compose-symbol): Rename from
12984 `prog--prettify-font-lock-compose-symbol'.
12985 (prettify-symbols--make-keywords): Rename from
12986 `prog-prettify-font-lock-symbols-keywords' and simplify.
12987 (prog-prettify-install): Remove.
12988 (prettify-symbols-mode): New minor mode, based on
12989 `prog-prettify-install'.
12990 (turn-on-prettify-symbols-mode): New function.
12991 (global-prettify-symbols-mode): New globalized minor mode.
12993 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12994 * progmodes/cfengine.el (cfengine3-mode):
12995 * progmodes/perl-mode.el (perl-mode): Don't call
12996 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12998 2013-06-18 Juri Linkov <juri@jurta.org>
13000 * files-x.el (modify-file-local-variable-message): New function.
13001 (modify-file-local-variable)
13002 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13003 and call `modify-file-local-variable-message' when it's non-nil.
13004 (add-file-local-variable, delete-file-local-variable)
13005 (add-file-local-variable-prop-line)
13006 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13007 and use it. (Bug#9820)
13009 2013-06-18 Juri Linkov <juri@jurta.org>
13011 * emulation/vi.el (vi-shell-op):
13012 * emulation/vip.el (vip-execute-com, ex-command):
13013 * emulation/viper-cmd.el (viper-exec-bang):
13014 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13015 the call of `shell-command-on-region'. (Bug#14637)
13017 * simple.el (shell-command-on-region): Doc fix.
13019 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13021 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13024 2013-06-18 Glenn Morris <rgm@gnu.org>
13026 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13028 * newcomment.el (comment-search-forward, comment-search-backward):
13029 Doc fix. (Bug#14376)
13031 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13033 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13034 (buffer-face-mode-invoke): Doc fix.
13036 2013-06-18 Matthias Meulien <orontee@gmail.com>
13038 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13039 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13041 2013-06-18 Glenn Morris <rgm@gnu.org>
13043 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13044 Replace obsolete function generic-make-keywords with its expansion.
13046 * progmodes/python.el (ffap-alist): Declare.
13048 * textmodes/reftex.el (bibtex-mode-map): Declare.
13050 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13052 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13053 (package-unpack, package-unpack-single): Return the pkg-dir.
13054 (package-download-transaction): Use it to update package-alist.
13056 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13058 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13061 2013-06-17 Juri Linkov <juri@jurta.org>
13063 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13065 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13067 * emacs-lisp/package.el (package-load-descriptor):
13068 Remove `with-syntax-table' call, `read' doesn't need it.
13069 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13071 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13073 * startup.el (command-line): Expand package name returned by
13074 `package--description-file' (bug#14639).
13076 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13078 * emacs-lisp/package.el (package-load-descriptor): Do not call
13079 `emacs-lisp-mode', just use its syntax table.
13081 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13083 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13084 `font-lock-extra-managed-props' if any prettifying keyword is added.
13085 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13086 (prog-mode): Use `setq-local'.
13088 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13090 * international/characters.el (standard-case-table): Set syntax of ?»
13091 and ?« to punctuation.
13093 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13095 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13096 Save relevant match data before calling `syntax-ppss' (bug#14595).
13098 2013-06-15 Juri Linkov <juri@jurta.org>
13100 * files-x.el (modify-file-local-variable-prop-line): Add local
13101 variables to the end of the existing comment on the first line.
13102 Use `file-auto-mode-skip' to skip interpreter magic line,
13103 and also skip XML declaration.
13105 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13107 * startup.el (package--builtin-versions): New var.
13108 (package-subdirectory-regexp): Remove.
13109 (package--description-file): Hard code its value instead.
13111 * emacs-lisp/package.el: Don't activate packages older than builtin.
13112 (package-obsolete-list): Rename from package-obsolete-alist, and make
13113 it into a simple list of package-desc.
13114 (package-strip-version): Remove.
13115 (package-built-in-p): Use package--builtin-versions.
13116 (package-mark-obsolete): Simplify.
13117 (package-process-define-package): Mark it obsolete if older than the
13119 (package-handle-response): Use line-end-position.
13120 (package-read-archive-contents, package--download-one-archive):
13122 (package--add-to-archive-contents): Skip if older than the builtin or
13124 (package-menu-describe-package): Fix last change.
13125 (package-list-unversioned): New var.
13126 (package-menu--generate): Use it.
13128 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13129 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13130 (autoload-builtin-package-versions): New variable.
13131 (autoload-generate-file-autoloads): Use them.
13132 Remove the list of autoloaded functions/macros from the
13133 (autoload...) comments.
13135 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13137 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13139 * simple.el (line-move-partial): Don't jump to the next screen
13140 line as soon as it becomes visible. Instead, continue enlarging
13141 the vscroll until the portion of a tall screen line that's left on
13142 display is about the height of the frame's default font.
13145 2013-06-15 Glenn Morris <rgm@gnu.org>
13147 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13148 compilation-error-regexp-alist void, or local while let-bound.
13150 * progmodes/make-mode.el (makefile-mode-syntax-table):
13151 Treat "=" as punctuation. (Bug#14614)
13153 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13155 * help-fns.el (describe-variable):
13156 Add extra line for permanent-local variables.
13158 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13160 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13161 Add export, import, library. (Bug#9164)
13162 (library): Set indent function.
13164 2013-06-14 Glenn Morris <rgm@gnu.org>
13166 * term/xterm.el (xterm--query):
13167 Stop after first matching handler. (Bug#14615)
13169 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13171 Add support for dired in saveplace.
13172 * dired.el (dired-initial-position-hook): New variable.
13173 (dired-initial-position): Call hook to place cursor position.
13174 * saveplace.el (save-place-to-alist): Add dired position.
13175 (save-place-dired-hook): New function.
13177 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13179 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13180 through a symbol rather than letrec.
13182 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13183 (package-desc): Add `dir' field.
13184 (package-desc-full-name): New function.
13185 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13186 (package-maybe-load-descriptor): Remove.
13187 (package-load-all-descriptors): Just call package-load-descriptor.
13188 (package--disabled-p): New function.
13189 (package-desc-vers, package-desc-doc): Remove aliases.
13190 (package--dir): Remove function.
13191 (package-activate): Check if a package is disabled.
13192 (package-process-define-package): New function, extracted from
13194 (define-package): Turn into a place holder.
13195 (package-unpack-single, package-tar-file-info):
13196 Use package--description-file.
13197 (package-compute-transaction): Use package--disabled-p.
13198 (package-download-transaction): Don't call
13199 package-maybe-load-descriptor since they're all loaded anyway.
13200 (package-install): Change argument to be a pkg-desc.
13201 (package-delete): Use a single pkg-desc argument.
13202 (describe-package-1): Use package-desc-dir instead of package--dir.
13203 Use package-desc property instead of package-symbol.
13204 (package-install-button-action): Adjust accordingly.
13205 (package--push): Rewrite.
13206 (package-menu--print-info): Adjust accordingly. Change the ID format
13208 (package-menu-describe-package, package-menu-get-status)
13209 (package-menu--find-upgrades, package-menu-mark-upgrades)
13210 (package-menu-execute, package-menu--name-predicate):
13211 Adjust accordingly.
13212 * startup.el (package--description-file): New function.
13213 (command-line): Use it.
13214 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13215 Use package-desc-version.
13217 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13218 (byte-compile-preprocess): Use it.
13219 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13220 can't quite recognize.
13221 (byte-compile-add-to-list): Remove.
13222 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13223 (cconv-closure-convert): Add assertion.
13225 * emacs-lisp/map-ynp.el: Use lexical-binding.
13226 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13227 Factor out some repeated code.
13229 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13231 * subr.el (with-eval-after-load): New macro.
13232 (eval-after-load): Allow form to be a function.
13233 take advantage of lexical-binding.
13234 (do-after-load-evaluation): Use dolist and adjust to new format.
13235 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13237 2013-06-13 Juri Linkov <juri@jurta.org>
13239 * replace.el (perform-replace): Display "symbol " and other search
13240 modes from `isearch-message-prefix' in the *Help* buffer.
13242 * isearch.el (isearch-query-replace): Add " symbol" and other
13243 possible search modes from `isearch-message-prefix' to the prompt.
13244 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13245 when reading a regexp to collect.
13247 2013-06-13 Juri Linkov <juri@jurta.org>
13249 * isearch.el (word-search-regexp): Match whitespace if the search
13250 string begins or ends in whitespace. The LAX arg is applied to
13251 both ends of the search string. Use `regexp-quote' and explicit
13252 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13253 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13254 boundaries are replaced with symbol boundaries, and characters
13255 between symbols match non-word non-symbol syntax. (Bug#14602)
13257 2013-06-13 Juri Linkov <juri@jurta.org>
13259 * isearch.el (isearch-del-char): Don't exceed the length of
13260 `isearch-string' by the prefix arg. (Bug#14563)
13262 2013-06-13 Juri Linkov <juri@jurta.org>
13264 * isearch.el (isearch-yank-word, isearch-yank-line)
13265 (isearch-char-by-name, isearch-quote-char)
13266 (isearch-printing-char, isearch-process-search-char):
13267 Add optional count prefix arg. (Bug#14563)
13269 * international/isearch-x.el
13270 (isearch-process-search-multibyte-characters):
13271 Add optional count prefix arg.
13273 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13275 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13276 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13279 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13281 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13283 2013-06-13 Glenn Morris <rgm@gnu.org>
13285 * startup.el (tty-handle-args):
13286 Don't just discard "--" and anything after. (Bug#14608)
13288 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13290 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13292 Implement changes in Secret Service API. Make it backward compatible.
13293 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13294 (secrets-create-item): Use it. Prefix properties with interface.
13296 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13298 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13299 (term-emulate-terminal): Respect term-suppress-hard-newline.
13301 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13303 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13304 Only remove a `thumb-file' overlay. (Bug#14548)
13306 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13308 * mail/reporter.el (reporter-submit-bug-report):
13309 Handle missing package-name. (Bug#14600)
13311 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13313 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13314 (reftex-citation-prompt, reftex-default-bibliography)
13315 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13316 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13317 (reftex-bib-sort-author, reftex-bib-sort-year)
13318 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13319 (reftex-extract-bib-entries-from-thebibliography)
13320 (reftex-get-bibkey-default, reftex-get-bib-names)
13321 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13322 (reftex-format-bib-entry, reftex-parse-bibitem)
13323 (reftex-format-bibitem, reftex-do-citation)
13324 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13325 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13326 (reftex-insert-bib-matches, reftex-format-citation)
13327 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13328 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13329 existing comments into docstrings.
13331 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13333 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13335 2013-06-12 Andreas Schwab <schwab@suse.de>
13337 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13338 for auto-save files.
13340 2013-06-12 Glenn Morris <rgm@gnu.org>
13342 * ido.el (ido-delete-ignored-files): Remove.
13343 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13344 Go back to calling ido-ignore-item-p directly.
13346 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13348 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13350 * ido.el (ido-delete-ignored-files): New function,
13351 split from ido-make-file-list-1.
13352 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13353 (ido-make-file-list-1): Use ido-delete-ignored-files.
13355 2013-06-12 Leo Liu <sdl.web@gmail.com>
13357 * progmodes/octave.el (inferior-octave-startup)
13358 (inferior-octave-completion-table)
13359 (inferior-octave-track-window-width-change)
13360 (octave-eldoc-function-signatures, octave-help)
13361 (octave-find-definition): Use single quoted strings.
13362 (inferior-octave-startup-args): Change default value.
13363 (inferior-octave-startup): Do not hard code "-i" and
13364 "--no-line-editing".
13365 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13366 (inferior-octave-directory-tracker): Use it.
13367 (octave-goto-function-definition): Robustify.
13368 (octave-help): Support highlighting operators in 'See also'.
13369 (octave-find-definition): Find subfunctions only in Octave mode.
13371 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13373 * help-fns.el (help-fns--compiler-macro): If the handler function is
13374 named, then put a link to it.
13375 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13376 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13377 (cl-typep): Use it.
13378 (cl-eval-when): Simplify debug spec.
13379 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13380 compiler-macro function instead of setting `compiler-macro-file'.
13382 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13384 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13385 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13387 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13388 Daniel Hackney <dan@haxney.org>
13390 First part of Daniel Hackney's patch to package.el.
13391 * emacs-lisp/package.el: Use defstruct.
13392 (package-desc): New, main struct.
13393 (package--bi-desc, package--ac-desc): New structs, used to describe the
13394 format in external files.
13395 (package-desc-vers): Replace with package-desc-version accessor.
13396 (package-desc-doc): Replace with package-desc-summary accessor.
13397 (package-activate-1): Remove `package' arg since the pkg-vec now
13399 (define-package): Use package-desc-from-define.
13400 (package-unpack-single): Change file-name arg to be a symbol.
13401 (package--add-to-archive-contents): Use package-desc-create and new
13402 accessor functions to package--ac-desc.
13403 (package-buffer-info, package-tar-file-info): Return a package-desc.
13404 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13405 arg to be a package-desc.
13406 (package-install-file): Adjust accordingly. Use \' to match EOS.
13407 (package--from-builtin): New function.
13408 (describe-package-1, package-menu--generate): Use it.
13409 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13410 (package-generate-autoloads): Idem and return the name of the file.
13411 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13412 Change pkg-info arg to be a package-desc.
13413 Use package-make-ac-desc.
13414 (package-upload-file): Use \' to match EOS.
13415 * finder.el (finder-compile-keywords): Use package-make-builtin.
13417 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13419 * vc/vc.el (vc-deduce-fileset): Change error message.
13420 (vc-read-backend): New function.
13421 (vc-next-action): Use it.
13423 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13425 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13426 (prolog-font-lock-keywords): Use regexp-opt instead.
13427 Don't manually highlight strings.
13428 (prolog-mode-variables): Simplify comment-start-skip.
13429 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13431 * emacs-lisp/generic.el (generic--normalise-comments)
13432 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13433 (generic-mode-set-comments): Use them.
13434 (generic-bracket-support): Use setq-local.
13435 (generic-make-keywords-list): Declare obsolete.
13437 2013-06-11 Glenn Morris <rgm@gnu.org>
13439 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13440 Prettify after setting font-lock-defaults. (Bug#14574)
13442 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13444 * replace.el (query-replace, occur-read-regexp-defaults-function)
13446 * subr.el (declare-function, number-sequence, local-set-key)
13447 (substitute-key-definition, locate-user-emacs-file)
13448 (with-silent-modifications, split-string, eval-after-load):
13449 Fix typos, remove unneeded backslashes and reflow some docstrings.
13451 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13453 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13454 default for Elisp files.
13456 2013-06-11 Glenn Morris <rgm@gnu.org>
13458 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13459 although define-derived-mode was doing this anyway. (Bug#14583)
13461 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13463 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13464 Fix make-variable-buffer-local call to refer to the correct variable.
13466 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13468 * eshell/em-term.el (eshell-visual-commands)
13469 (eshell-visual-subcommands, eshell-visual-options):
13470 Add summary line to docstrings. Add cross-references.
13472 2013-06-10 Glenn Morris <rgm@gnu.org>
13474 * epa.el (epa-read-file-name): New function. (Bug#14510)
13475 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13477 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13479 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13480 output redirection to be ignored with visual commands.
13482 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13484 * eshell/em-term.el (eshell-visual-command-p): New function.
13485 (eshell-term-initialize): Move long lambda to separate function
13486 eshell-visual-command-p.
13487 * eshell/em-dirs.el (eshell-dirs-initialize):
13488 * eshell/em-script.el (eshell-script-initialize):
13489 Add missing #' to lambda.
13491 2013-06-08 Leo Liu <sdl.web@gmail.com>
13493 * progmodes/octave.el (octave-add-log-current-defun): New function.
13494 (octave-mode): Set add-log-current-defun-function.
13495 (octave-goto-function-definition): Do not move point if not found.
13496 (octave-find-definition): Enhance to try subfunctions first.
13498 2013-06-08 Glenn Morris <rgm@gnu.org>
13500 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13501 (byte-compile-backward-char, byte-compile-backward-word):
13502 Improve previous change, to handle non-explicit nil.
13504 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13506 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13507 (smie--opener/closer-at-point): New function.
13508 (smie--matching-block-data): Use it. Don't match from right after an
13509 opener or right before a closer. Obey smie-blink-matching-inners.
13510 Don't signal a mismatch for repeated inners like "switch..case..case".
13512 2013-06-07 Leo Liu <sdl.web@gmail.com>
13514 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13516 (octave-function-header-regexp): Fix. (Bug#14570)
13517 (octave-help-mode-finish-hook, octave-help-mode-finish):
13518 Remove. Just use temp-buffer-show-hook.
13520 * newcomment.el (comment-search-backward): Revert last change.
13523 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13525 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13527 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13528 through xargs, to avoid failure due to MS-Windows limitations on
13529 command-line length.
13531 2013-06-06 Glenn Morris <rgm@gnu.org>
13533 * font-lock.el (lisp-font-lock-keywords-2):
13534 Treat user-error like error.
13536 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13537 (byte-compile-backward-char, byte-compile-backward-word):
13538 Handle explicit nil arguments. (Bug#14565)
13540 2013-06-05 Alan Mackenzie <acm@muc.de>
13542 * isearch.el (isearch-allow-prefix): New user option.
13543 (isearch-other-meta-char): Don't exit isearch when a prefix
13544 argument is typed whilst `isearch-allow-prefix' is non-nil.
13547 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13549 * autorevert.el (auto-revert-notify-handler): Use memq.
13550 Hide assertion failure.
13552 * skeleton.el: Use cl-lib.
13553 (skeleton-further-elements): Use defvar-local.
13554 (skeleton-insert): Use cl-progv.
13556 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13558 * progmodes/prog-mode.el (prog-prettify-symbols)
13559 (prog-prettify-install): Update docstrings.
13561 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13563 * simple.el: Move all the prog-mode code to prog-mode.el.
13564 * progmodes/prog-mode.el: New file.
13565 * loadup.el: Add prog-mode.el.
13567 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13569 * simple.el (prog-prettify-symbols): Add version.
13570 (prog-prettify-install): Add convenience function to prettify symbols.
13572 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13573 (perl--augmented-font-lock-keywords-1)
13574 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13575 variables and use it.
13577 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13578 (cfengine3-mode): Remove unneeded variable and use it.
13580 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13581 (lisp--augmented-font-lock-keywords-1)
13582 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13583 Remove unneeded variables and use it.
13585 2013-06-05 João Távora <joaotavora@gmail.com>
13587 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13588 to point when opening the connection. (Bug#14380)
13590 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13592 * subr.el (load-history-regexp, load-history-filename-element)
13593 (eval-after-load, after-load-functions, do-after-load-evaluation)
13594 (eval-next-after-load, display-delayed-warnings)
13595 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13596 definition of save-match-data.
13597 (overriding-local-map): Remove accidental obsolescence declaration.
13599 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13601 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13603 Generalize symbol prettify support to prog-mode and implement it
13604 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13605 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13606 (prog--prettify-font-lock-compose-symbol)
13607 (prog-prettify-font-lock-symbols-keywords): New variables and
13608 functions to support symbol prettification.
13609 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13610 (lisp--augmented-font-lock-keywords-1)
13611 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13612 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13613 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13614 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13615 Implement prettify of -> => :: strings.
13616 * progmodes/perl-mode.el (perl-prettify-symbols)
13617 (perl--font-lock-compose-symbol)
13618 (perl--font-lock-symbols-keywords): Move to prog-mode.
13619 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13620 (perl-font-lock-keywords-1)
13621 (perl-font-lock-keywords-2): Remove explicit prettify support.
13622 (perl--augmented-font-lock-keywords)
13623 (perl--augmented-font-lock-keywords-1)
13624 (perl--augmented-font-lock-keywords-2, perl-mode):
13625 Implement prettify support.
13627 2013-06-05 Leo Liu <sdl.web@gmail.com>
13629 Re-implement SMIE matching block highlight using
13630 show-paren-data-function. (Bug#14395)
13631 * emacs-lisp/smie.el (smie-matching-block-highlight)
13632 (smie--highlight-matching-block-overlay)
13633 (smie--highlight-matching-block-lastpos)
13634 (smie-highlight-matching-block)
13635 (smie-highlight-matching-block-mode): Remove.
13636 (smie--matching-block-data-cache): New variable.
13637 (smie--matching-block-data): New function.
13638 (smie-setup): Use smie--matching-block-data for
13639 show-paren-data-function.
13641 * progmodes/octave.el (octave-mode-menu): Fix.
13642 (octave-find-definition): Skip garbage lines.
13644 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13646 Fix compilation error with simultaneous dynamic+lexical scoping.
13647 Add warning when a defvar appears after the first let-binding.
13648 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13649 (byte-compile-close-variables): Initialize it.
13650 (byte-compile--declare-var): New function.
13651 (byte-compile-file-form-defvar)
13652 (byte-compile-file-form-define-abbrev-table)
13653 (byte-compile-file-form-custom-declare-variable): Use it.
13654 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13655 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13656 (byte-compile-bind): Handle dynamic bindings that shadow
13658 (byte-compile-unbind): Make arg non-optional.
13659 (byte-compile-let): Simplify.
13660 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13661 (cconv--analyse-function, cconv-analyse-form): Populate it.
13662 Protect byte-compile-bound-variables to limit the scope of defvars.
13663 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13664 Remove unneeded rule for `declare'.
13666 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13667 so as to avoid depending on cl-adjoin at run-time.
13668 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13670 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13671 (macroexp--warn-and-return): Use it.
13673 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13675 * subr.el: Convert to lexical binding.
13676 (overriding-local-map): Make obsolete.
13677 (add-to-list): Doc fix. Add compiler macro.
13678 (read-key): Swap values of local maps.
13680 2013-06-05 Leo Liu <sdl.web@gmail.com>
13682 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13684 2013-06-04 Leo Liu <sdl.web@gmail.com>
13686 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13687 (compilation-auto-jump): Suppress the "Mark set" message to give
13688 way to exit message.
13690 2013-06-04 Alan Mackenzie <acm@muc.de>
13692 Remove faulty optimisation from indentation calculation.
13693 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13694 search limit based on 2000 characters back from indent-point.
13696 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13698 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13700 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13702 * emacs-lisp/lisp.el: Use lexical-binding.
13703 (lisp--local-variables-1, lisp--local-variables): New functions.
13704 (lisp--local-variables-completion-table): New var.
13705 (lisp-completion-at-point): Use it complete let-bound vars.
13707 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13708 eagerly (bug#14422).
13710 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13712 * autorevert.el (auto-revert-notify-enabled)
13713 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13714 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13715 (auto-revert-notify-handler): Handle also gfilenotify.
13717 * subr.el (file-notify-handle-event): New defun. Replacing ...
13718 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13721 2013-06-03 Juri Linkov <juri@jurta.org>
13723 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13724 `M-s h .'. (Bug#14427)
13726 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13727 command `hi-lock-face-symbol-at-point'.
13728 (hi-lock-face-symbol-at-point): New command.
13729 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13730 (hi-lock-menu): Add `highlight-symbol-at-point'.
13731 (hi-lock-mode): Doc fix.
13733 * isearch.el (isearch-forward-symbol-at-point): New command.
13734 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13735 (isearch-highlight-regexp): Add a regexp which matches
13736 words/symbols for word/symbol mode.
13738 * subr.el (find-tag-default-bounds): New function with the body
13739 mostly moved from `find-tag-default'.
13740 (find-tag-default): Move most code to `find-tag-default-bounds',
13741 call it and apply `buffer-substring-no-properties' afterwards.
13743 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13745 * eshell/em-term.el (eshell-term-initialize):
13746 Use `cl-intersection' rather than `intersection'.
13748 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13750 * vc/log-view.el: Doc fix.
13751 (log-view-mode-map): Copy keymap from `special-mode-map'.
13753 2013-06-02 Eric Ludlam <zappo@gnu.org>
13755 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13756 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13757 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13758 (eieio-unbound, eieio-default-superclass)
13759 (eieio--define-field-accessors, method-static, method-before)
13760 (method-primary, method-after, method-num-lists)
13761 (method-generic-before, method-generic-primary)
13762 (method-generic-after, method-num-slots)
13763 (eieio-specialized-key-to-generic-key)
13764 (eieio--check-type, class-v, class-p)
13765 (eieio-class-name, define-obsolete-function-alias)
13766 (eieio-class-parents-fast, eieio-class-children-fast)
13767 (same-class-fast-p, class-constructor, generic-p)
13768 (generic-primary-only-p, generic-primary-only-one-p)
13769 (class-option-assoc, class-option, eieio-object-p)
13770 (class-abstract-p, class-method-invocation-order)
13771 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13772 (eieio-class-un-autoload, eieio-defclass)
13773 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13774 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13775 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13776 (eieio-defgeneric-reset-generic-form)
13777 (eieio-defgeneric-form-primary-only)
13778 (eieio-defgeneric-reset-generic-form-primary-only)
13779 (eieio-defgeneric-form-primary-only-one)
13780 (eieio-defgeneric-reset-generic-form-primary-only-one)
13781 (eieio-unbind-method-implementations)
13782 (eieio--defmethod, eieio--typep)
13783 (eieio-perform-slot-validation, eieio-validate-slot-value)
13784 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13785 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13786 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13787 (eieio-slot-name-index, eieio-class-slot-name-index)
13788 (eieio-set-defaults, eieio-initarg-to-attribute)
13789 (eieio-attribute-to-initarg, eieio-c3-candidate)
13790 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13791 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13792 (eieio-class-precedence-list, eieio-generic-call-methodname)
13793 (eieio-generic-call-arglst, eieio-generic-call-key)
13794 (eieio-generic-call-next-method-list)
13795 (eieio-pre-method-execution-functions, eieio-generic-call)
13796 (eieio-generic-call-primary-only, eieiomt-method-list)
13797 (eieiomt-optimizing-obarray, eieiomt-install)
13798 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13799 (eieio-generic-form, eieio-defmethod, make-obsolete)
13800 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13801 (defclass): Remove `eval-and-compile' from macro.
13802 (call-next-method, shared-initialize): Instead of using
13803 `scoped-class' variable, use new eieio--scoped-class, and
13804 eieio--with-scoped-class.
13805 (initialize-instance): Rename local variable 'scoped-class' to
13806 'this-class' to remove ambiguitity from old global.
13808 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13810 (eieio--scoped-class-stack): New variable.
13811 (eieio--scoped-class): New fcn.
13812 (eieio--with-scoped-class): New scoping macro.
13813 (eieio-defclass): Use pushnew instead of add-to-list.
13814 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13815 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13816 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13817 `scoped-class' variable, use new eieio--scoped-class, and
13818 eieio--with-scoped-class.
13820 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13822 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13824 * eshell/esh-ext.el (eshell-external-command): Pass args to
13825 `eshell-find-interpreter'.
13826 (eshell-find-interpreter): Add new second parameter ARGS.
13828 * eshell/em-script.el (eshell-script-initialize): Add second arg
13829 to the function added as MATCH to `eshell-interpreter-alist'.
13831 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13832 the function added as MATCH to `eshell-interpreter-alist'.
13834 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13835 (eshell-visual-options): New defcustom.
13836 (eshell-escape-control-x): Adapt docstring.
13837 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13838 `eshell-visual-options' in addition to `eshell-visual-commands'.
13839 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13841 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13843 * progmodes/python.el (python-indent-block-enders): Add break,
13844 continue and raise keywords.
13846 2013-06-01 Glenn Morris <rgm@gnu.org>
13848 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13850 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13851 * progmodes/cc-cmds.el (delete-forward-p):
13852 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13853 * progmodes/cc-engine.el (buffer-syntactic-context):
13854 * progmodes/cc-fonts.el (face-property-instance):
13855 * progmodes/cc-mode.el (set-keymap-parents):
13856 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13857 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13858 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13859 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13860 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13862 * progmodes/cc-vars.el (other): Emacs has this widget since
13863 at least 21.1, so don't (re)define it.
13865 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13866 Replace the obsolete alias pcomplete-arg-quote-list.
13868 2013-06-01 Leo Liu <sdl.web@gmail.com>
13870 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13871 punctuation syntax.
13872 (inferior-octave-minimal-columns)
13873 (inferior-octave-last-column-width): New variables.
13874 (inferior-octave-track-window-width-change): New function.
13875 (inferior-octave-mode): Adjust column width so that Octave output,
13876 for example from 'ls', can fit into the window nicely.
13878 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13880 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13881 Highlight expansions inside regexp literals.
13883 2013-05-31 Glenn Morris <rgm@gnu.org>
13885 * obsolete/sym-comp.el (symbol-complete):
13886 Replace obsolete completion-annotate-function.
13888 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13890 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13892 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13893 New function, checks if point is inside a literal that allows
13894 expression expansion.
13895 (ruby-syntax-propertize-expansion): Use it.
13896 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13899 2013-05-30 Juri Linkov <juri@jurta.org>
13901 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13903 (isearch-invisible): New variable.
13904 (isearch-forward): Doc fix.
13905 (isearch-mode): Set `isearch-invisible'
13906 to the value of `search-invisible'.
13907 (isearch-toggle-case-fold): Doc fix.
13908 (isearch-toggle-invisible): New command.
13909 (isearch-query-replace): Let-bind `search-invisible'
13910 to the value of `isearch-invisible'.
13911 (isearch-search): Use `isearch-invisible' instead of
13912 `search-invisible'. Let-bind `search-invisible'
13913 to the value of `isearch-invisible'. (Bug#11378)
13915 2013-05-30 Juri Linkov <juri@jurta.org>
13917 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13918 call when `query-flag' is nil and `search-invisible' is non-nil.
13921 2013-05-30 Glenn Morris <rgm@gnu.org>
13923 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13925 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13926 (cc-require): Suppress spurious "noruntime" warnings.
13927 (cc-require-when-compile): Use fboundp, for sake of compiler.
13929 * progmodes/cc-mode.el: Move load of cc-vars before that of
13930 cc-langs (which in turn loads cc-vars), to quieten compiler.
13932 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * paren.el: Simplify the code.
13935 (show-paren-mode): Always start the timer.
13936 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13937 (show-paren--overlay, show-paren--overlay-1): Rename from
13938 show-paren-overlay and show-paren-overlay-1, and initialize to an
13939 overlay rather than to nil.
13940 (show-paren-function): Misc cleanup and simplifications.
13942 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13944 * paren.el (show-paren-data-function): New hook.
13945 (show-paren--default): New function, extracted from show-paren-function.
13946 (show-paren-function): Use show-paren-data-function.
13948 2013-05-30 Glenn Morris <rgm@gnu.org>
13950 * ielm.el (ielm-map, ielm-complete-symbol):
13951 Use completion-at-point rather than obsolete functions.
13952 (inferior-emacs-lisp-mode): Doc fix.
13953 Set completion-at-point-functions, rather than
13954 comint-dynamic-complete-functions.
13956 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13957 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13958 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13960 * image.el (image-animated-p): Tweak definition.
13962 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13963 (rlogin-process-connection-type): Tweak default. Add set-after.
13964 (rlogin-host): Doc fix.
13965 (rlogin): Tweak prompt.
13966 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13968 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13969 * progmodes/tcl.el (inferior-tcl-mode-map):
13970 Use completion-at-point rather than obsolete alias.
13972 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13974 * minibuffer.el (read-file-name-completion-ignore-case):
13975 Move before completion--in-region, for eager macro expansion.
13977 2013-05-29 Juri Linkov <juri@jurta.org>
13979 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13980 for total count of matching lines. Add `global-matches' for total
13981 count of matches. Rename `matches' to `lines' for count of
13982 matching lines. Add `matches' for count of matches.
13983 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13984 to `prev-line' for line number of prev match endpt.
13985 Increment `matches' for every match. Print the number of
13986 matching lines in the header.
13987 (occur-context-lines): Rename `lines' to `curr-line'.
13988 Rename `prev-lines' to `prev-line'. (Bug#14017)
13990 2013-05-29 Juri Linkov <juri@jurta.org>
13992 * replace.el (perform-replace): Add `skip-read-only-count',
13993 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13994 Increment them for corresponding conditions and report the number
13995 of skipped occurrences in the final message. (Bug#11746)
13996 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13997 (replace-string, replace-regexp): Doc fix.
13999 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14001 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14003 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14004 prog-mode-map (bug#14504).
14006 2013-05-29 Leo Liu <sdl.web@gmail.com>
14008 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14009 (octave-help): Small simplification.
14011 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14012 off the highlight first.
14014 2013-05-29 Glenn Morris <rgm@gnu.org>
14016 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14017 Handle idlwave-last-system-routine-info-cons-cell being nil.
14019 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14020 (idlwave-write-paths): Simplify via with-temp-buffer.
14022 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14023 * emulation/cua-rect.el: Also load cua-base at run time.
14025 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14026 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14027 (cperl-imenu-on-info): Require imenu.
14029 2013-05-28 Alan Mackenzie <acm@muc.de>
14031 Handle "capitalised keywords" correctly.
14032 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14034 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14036 * eshell/em-unix.el: Add -r option to cp.
14038 2013-05-28 Glenn Morris <rgm@gnu.org>
14040 * vc/vc-arch.el (vc-exec-after): Declare.
14041 (vc-switches): Autoload.
14042 * vc/vc-bzr.el: No need to require vc when compiling.
14043 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14044 (vc-resynch-buffer, vc-dir-refresh): Declare.
14045 (vc-setup-buffer, vc-switches): Autoload.
14046 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14047 (vc-resynch-buffer): Declare.
14048 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14049 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14050 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14051 (grep-read-regexp, grep-read-files, grep-expand-template)
14052 (vc-dir-refresh): Declare.
14053 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14054 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14055 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14056 * vc/vc-mtn.el (vc-exec-after): Declare.
14057 (vc-switches): Autoload.
14058 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14059 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14060 (vc-file-tree-walk): Declare.
14061 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14062 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14063 (vc-tag-precondition, vc-rename-master): Autoload.
14064 * vc/vc-svn.el (vc-exec-after): Declare.
14065 (vc-switches, vc-setup-buffer): Autoload.
14066 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14068 (vc-resynch-buffer): Declare.
14070 * obsolete/fast-lock.el (byte-compile-warnings):
14071 Don't warn about obsolete features in this obsolete file.
14073 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14074 Move definition before use.
14076 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14077 (dun-unix-verbs): Remove dun-zippy.
14078 (dun-zippy): Remove function.
14080 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14082 2013-05-27 Juri Linkov <juri@jurta.org>
14084 * replace.el (replace-search): New function with code moved out
14085 from `perform-replace'.
14086 (replace-highlight, replace-dehighlight): Move function definitions
14087 up closer to `replace-search'. (Bug#11746)
14089 2013-05-27 Juri Linkov <juri@jurta.org>
14091 * replace.el (perform-replace): Ignore invisible matches.
14092 In addition to checking `query-replace-skip-read-only', also
14093 filter out matches by calling `run-hook-with-args-until-failure'
14094 on `isearch-filter-predicates', and also check `search-invisible'
14095 for t or call `isearch-range-invisible'.
14096 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14098 2013-05-27 Juri Linkov <juri@jurta.org>
14100 * isearch.el (isearch-filter-predicates): Rename from
14101 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14102 (isearch-message-prefix): Display text from the property
14103 `isearch-message-prefix' of the currently active filters.
14104 (isearch-search): Don't compare `isearch-filter-predicate' with
14105 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14106 on `isearch-filter-predicates'. Also check `search-invisible' for t
14107 or call `isearch-range-invisible'.
14108 (isearch-filter-visible): Make obsolete.
14109 (isearch-lazy-highlight-search):
14110 Call `run-hook-with-args-until-failure' on
14111 `isearch-filter-predicates' and use `isearch-range-invisible'.
14113 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14114 `isearch-filter-predicates' instead of `funcall'ing
14115 `isearch-filter-predicate'.
14116 (Info-mode): Set `Info-isearch-filter' to
14117 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14119 * dired-aux.el (dired-isearch-filter-predicate-orig):
14121 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14122 (dired-isearch-filenames-end): Add and remove
14123 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14124 instead of changing the value of `isearch-filter-predicate'.
14125 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14126 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14127 Put property `isearch-message-prefix' to "filename " on
14128 `dired-isearch-filter-filenames'.
14130 * wdired.el (wdired-change-to-wdired-mode):
14131 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14132 locally instead of changing `isearch-filter-predicate'.
14133 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14135 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14137 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14138 return the commit hash (Bug#14459). Also set the
14139 `vc-git-detached' property.
14140 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14141 (vc-git-mode-line-string): Use the same help-echo format whether
14142 in detached mode or not, because we know the actual revision now.
14143 When in detached mode, shorten the revision to 7 chars.
14145 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14147 * emacs-lisp/easy-mmode.el (define-minor-mode):
14148 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14149 mode hook and provide a docstring.
14151 2013-05-27 Alan Mackenzie <acm@muc.de>
14153 Remove spurious syntax-table text properties inserted by C-y.
14154 * progmodes/cc-mode.el (c-after-change): Also clear hard
14155 syntax-table property with value nil.
14157 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14159 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14160 when reading the events; the buffer layout shall not be changed.
14162 2013-05-27 Leo Liu <sdl.web@gmail.com>
14164 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14166 (inferior-octave-directory-tracker): Automatically re-sync
14168 (octave-help): Improve handling of 'See also'.
14170 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14172 * doc-view.el: Minor naming convention tweaks.
14173 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14175 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14176 even if there's no `display' property yet (bug#14435).
14178 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14180 * subr.el (unmsys--file-name): Rename from reveal-filename.
14182 * Makefile.in (custom-deps, finder-data, autoloads)
14183 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14184 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14185 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14187 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14189 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14190 error-completion on the first 2 args of condition-case (bug#14446).
14193 2013-05-25 Leo Liu <sdl.web@gmail.com>
14195 * comint.el (comint-previous-matching-input): Do not flood the
14196 *Messages* buffer with trivial messages.
14198 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14200 * progmodes/flymake.el (flymake-nop): Don't return a string.
14201 (flymake-set-at): Fix typo.
14203 * simple.el (read--expression): New function, extracted from
14204 eval-expression. Set completion-at-point-functions (bug#14465).
14205 (eval-expression, eval-minibuffer): Use it.
14207 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14209 * progmodes/flymake.el (flymake-save-buffer-in-file)
14210 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14211 (flymake-selected-frame, flymake-log, flymake-ins-after)
14212 (flymake-set-at, flymake-get-buildfile-from-cache)
14213 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14214 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14215 Refine the doc string.
14216 (flymake-get-file-name-mode-and-masks): Reformat.
14217 (flymake-get-real-file-name-function): Fix a minor bug.
14219 2013-05-24 Juri Linkov <juri@jurta.org>
14221 * progmodes/grep.el (grep-mode-font-lock-keywords):
14222 Support =linenumber= format used by git-grep for lines with
14223 function names. (Bug#13549)
14225 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14227 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14228 0 after a semi-colon; it works better for smie-auto-fill.
14229 (octave--indent-new-comment-line): New function.
14230 (octave-indent-new-comment-line): Use it (indirectly).
14231 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14232 modify comment-line-break-function.
14234 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14235 (smie-setup): Use add-function to set it.
14237 2013-05-24 Sam Steingold <sds@gnu.org>
14239 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14240 argument (before the `interactive' argument).
14242 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14244 * image-mode.el (image-mode-winprops): Add winprops to
14245 image-mode-winprops-alist before running
14246 image-mode-new-window-functions.
14247 * doc-view.el (doc-view-new-window-function): Don't delay
14248 doc-view-goto-page via timers (bug#14435).
14250 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14252 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14253 (doc-view-desktop-save-buffer): New function.
14254 (doc-view-restore-desktop-buffer): New function.
14255 (desktop-buffer-mode-handlers):
14256 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14258 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14259 `desktop-save-buffer' function.
14261 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14263 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14264 (tramp-gvfs-file-name-handler): Raise a user error when
14265 `tramp-gvfs-enabled' is nil.
14266 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14267 Do not raise a user error when loading package. (Bug#14447)
14269 * net/xesam.el: Move to obsolete/.
14271 2013-05-24 Glenn Morris <rgm@gnu.org>
14273 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14275 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14277 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14278 (Info-find-node, Man-getpage-in-background): Declare.
14280 * mail/unrmail.el (unrmail):
14281 Replace obsolete detect-coding-with-priority.
14283 * net/socks.el (socks-split-string): Use this rather than split-string.
14284 (socks-nslookup-host): Update for above change.
14285 (dynamic-choice, s5-dynamic-choice-match)
14286 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14287 Comment out unused code.
14289 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14290 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14291 (gud-tooltip-echo-area): Make obsolete.
14292 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14294 * progmodes/js.el (js--optimize-arglist): Declare.
14296 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14298 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14299 (ediff-window-C): Declare.
14301 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14302 Tweak requires to silence compiler.
14304 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14305 (he-search-string, he-tried-table, he-expand-list)
14306 (he-init-string, he-string-member, he-substitute-string)
14307 (he-reset-string): Declare.
14309 * obsolete/options.el (list-options): Use custom-variable-p,
14310 rather than obsolete alias.
14312 2013-05-23 Sam Steingold <sds@gnu.org>
14314 * simple.el (shell-command-on-region): Pass the `replace' argument
14315 down to `call-process-region' to comply with the doc as reported on
14316 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14318 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14320 * emacs-lisp/smie.el (smie-indent-forward-token)
14321 (smie-indent-backward-token): Handle string tokens (bug#14381).
14323 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14325 * ielm.el (ielm-menu): New menu.
14326 (inferior-emacs-lisp-mode): Set comment-start.
14328 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14330 * textmodes/reftex.el (reftex-ref-style-toggle):
14331 Fix deactivate action.
14333 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14334 Add cleveref macros.
14336 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14337 Accept options for bibliography commands.
14338 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14339 Add addbibresource. Basic Biblatex support.
14341 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14343 * net/tramp-gvfs.el (top):
14344 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14345 when loading package. (Bug#14447)
14347 2013-05-23 Glenn Morris <rgm@gnu.org>
14349 * progmodes/js.el: No need to load comint when compiling.
14350 (ring-insert, comint-send-string, comint-send-input)
14351 (comint-last-input-end, ido-chop): Declare.
14353 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14354 * vc/ediff-mult.el: Adjust requires.
14355 (ediff-directories-internal, ediff-directory-revisions-internal)
14356 (ediff-patch-file-internal): Declare.
14357 * vc/ediff-ptch.el: Adjust requires.
14358 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14359 (ediff-find-file): Autoload.
14360 * vc/ediff-util.el: No need to load ediff when compiling.
14361 (ediff-regions-internal): Declare.
14362 * vc/ediff-wind.el: Adjust requires.
14363 (ediff-compute-toolbar-width): Define when compiling.
14364 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14365 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14366 (dired-get-filename, dired-get-marked-files)
14367 (ediff-last-dir-patch, ediff-patch-default-directory)
14368 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14369 (ediff-patch-buffer-internal): Declare.
14371 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14372 (ispell-process, ispell-buffer-local-words, lm-summary)
14373 (lm-section-start, lm-section-end): Declare.
14374 (checkdoc-ispell-init): Simplify.
14376 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14377 (he-string-member, he-reset-string, he-substitute-string): Declare.
14379 * eshell/em-ls.el: Adjust requires.
14380 (eshell-glob-regexp): Declare.
14381 * eshell/em-tramp.el: Adjust requires.
14382 (eshell-parse-command): Autoload.
14383 * eshell/em-xtra.el: Adjust requires.
14384 (eshell-parse-command): Autoload.
14385 * eshell/esh-ext.el: Adjust requires.
14386 (eshell-parse-command, eshell-close-handles): Autoload.
14387 * eshell/esh-io.el: Adjust requires.
14388 (eshell-output-filter): Autoload.
14389 * eshell/esh-util.el: No need to load tramp when compiling.
14390 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14392 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14393 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14394 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14395 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14396 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14397 * eshell/esh-opt.el, eshell/esh-proc.el:
14398 * eshell/esh-var.el: Adjust requires.
14399 * eshell/eshell.el: Do not require esh-util twice.
14400 (eshell-add-input-to-history): Declare.
14401 (eshell-command): Check history module is active before using it.
14403 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14405 2013-05-22 Leo Liu <sdl.web@gmail.com>
14407 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14409 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14411 * autorevert.el (auto-revert-notify-add-watch)
14412 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14413 it indicates changes in file modification time.
14415 2013-05-22 Glenn Morris <rgm@gnu.org>
14417 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14418 Always delete the autoloaded function from the noruntime and
14419 unresolved functions lists.
14421 * allout.el: No need to load epa, epg, overlay when compiling.
14422 (epg-context-set-passphrase-callback, epg-list-keys)
14423 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14424 (epg-key-user-id-list): Declare.
14426 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14427 (viper-set-parsing-style-toggling-macro)
14428 (viper-set-emacs-state-searchstyle-macros):
14429 Use called-interactively-p on Emacs.
14430 (viper-looking-back): Make it an obsolete alias. Update callers.
14431 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14432 Use looking-back rather than viper-looking-back.
14433 (viper-tmp-insert-at-eob, viper-enlarge-region)
14434 (viper-read-string-with-history, viper-register-to-point)
14435 (viper-append-to-register, viper-change-state-to-vi)
14436 (viper-backward-char-carefully, viper-forward-char-carefully)
14437 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14438 (viper-change-state-to-emacs): Declare.
14439 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14440 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14441 * emulation/viper-mous.el: Do not load viper-cmd.
14442 (viper-backward-char-carefully, viper-forward-char-carefully)
14443 (viper-forward-word, viper-adjust-window): Declare.
14445 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14447 * progmodes/idlw-help.el (idlwave-help-fontify):
14448 Use called-interactively-p.
14450 * term/w32console.el (w32-get-console-codepage)
14451 (w32-get-console-output-codepage): Declare.
14453 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14454 Remove unnecessary declarations.
14455 (dframe-message): Doc fix.
14457 * info.el (dframe-select-attached-frame, dframe-current-frame):
14460 * speedbar.el (speedbar-message): Make it an obsolete alias.
14461 Update all callers.
14462 (speedbar-with-attached-buffer)
14463 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14464 (speedbar-with-writable): Use backquote.
14465 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14466 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14467 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14468 rather than speedbar- aliases.
14469 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14470 (speedbar-make-specialized-keymap, speedbar-insert-button)
14471 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14472 (speedbar-do-function-pointer): Declare.
14473 (rmail-speedbar-button, rmail-speedbar-find-file)
14474 (rmail-speedbar-move-message):
14475 Use dframe-with-attached-buffer rather than speedbar- alias.
14476 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14477 (dframe-message, speedbar-make-specialized-keymap)
14478 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14479 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14480 (speedbar-insert-button, dframe-select-attached-frame)
14481 (dframe-maybee-jump-to-attached-frame)
14482 (speedbar-change-initial-expansion-list)
14483 (speedbar-previously-used-expansion-list-name): Declare.
14484 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14485 Use dframe-message, dframe-with-attached-buffer rather than
14487 (gud-sentinel): Silence compiler.
14488 * progmodes/vhdl-mode.el (speedbar-refresh)
14489 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14490 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14491 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14492 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14493 (speedbar-file-lists, speedbar-make-tag-line)
14494 (speedbar-line-directory, speedbar-goto-this-file)
14495 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14496 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14497 (speedbar-make-button, speedbar-reset-scanners)
14498 (speedbar-files-item-info, speedbar-line-text)
14499 (speedbar-find-file-in-frame, speedbar-set-timer)
14500 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14501 (speedbar-with-writable): Do not (re)define it.
14502 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14503 rather than speedbar- alias.
14505 2013-05-21 Leo Liu <sdl.web@gmail.com>
14507 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14509 (octave-mode): Tweak fill-nobreak-predicate.
14510 (inferior-octave-startup): Check process to avoid infinite loop.
14511 (inferior-octave): Pop to buffer first to show abornmal process
14514 2013-05-21 Glenn Morris <rgm@gnu.org>
14516 * printing.el (pr-menu-bar): Define when compiling.
14518 2013-05-21 Leo Liu <sdl.web@gmail.com>
14520 * progmodes/octave.el (octave-auto-fill): Remove.
14521 (octave-indent-new-comment-line): Improve.
14522 (octave-mode): Use auto fill mode through
14523 comment-line-break-function and fill-nobreak-predicate.
14524 (octave-goto-function-definition): Support DEFUN_DLD.
14525 (octave-beginning-of-defun): Small tweak.
14526 (octave-help): Show parent directory.
14528 2013-05-21 Glenn Morris <rgm@gnu.org>
14530 * files.el (dired-unmark):
14531 * progmodes/gud.el (gdb-input): Update declarations.
14533 * calculator.el (electric, ehelp): No need to load when compiling.
14534 (Electric-command-loop, electric-describe-mode): Declare.
14536 * doc-view.el (doc-view-current-converter-processes): Move before use.
14538 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14539 Move MODE-set-explicitly definition before use.
14541 * international/mule-diag.el (mule-diag):
14542 Don't use obsolete window-system-version.
14544 * mail/feedmail.el (smtpmail): No need to load when compiling.
14545 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14547 * mail/mail-utils.el (rfc822): No need to load when compiling.
14548 (rfc822-addresses): Autoload it.
14549 (mail-strip-quoted-names): Trivial simplification.
14551 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14552 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14554 * net/snmp-mode.el (tempo): Don't duplicate requires.
14556 * progmodes/prolog.el (info): No need to load when compiling.
14557 (comint): Require before shell requires it.
14558 (Info-goto-node): Autoload it.
14559 (Info-follow-nearest-node): Declare.
14560 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14562 * textmodes/artist.el (picture-mode-exit): Declare.
14564 * textmodes/reftex-parse.el (reftex-parse-from-file):
14565 Trivial rewrite so the compiler can parse it better.
14567 2013-05-20 Leo Liu <sdl.web@gmail.com>
14569 * progmodes/octave.el (octave-help-mode-map)
14570 (octave-help-mode-finish-hook): New variables.
14571 (octave-help-mode, octave-help-mode-finish): New functions.
14572 (octave-help): Use octave-help-mode.
14574 2013-05-20 Glenn Morris <rgm@gnu.org>
14576 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14578 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14580 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14581 start at point, so that expansion starting right after opening
14582 slash in a regexp is recognized.
14583 (ruby-syntax-before-regexp-re): New defvar, extracted from
14584 ruby-syntax-propertize-function. Since the value of this regexp
14585 is looked up at runtime now, we should be able to turn
14586 `ruby-syntax-methods-before-regexp' into a defcustom later.
14587 (ruby-syntax-propertize-function): Split regexp matching into two
14588 parts, for opening and closing slashes. That allows us to skip
14589 over string interpolations and support multiline regexps.
14590 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14591 for them, which calls `ruby-syntax-propertize-expansion'.
14592 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14593 call to `ruby-syntax-propertize-function'.
14594 (ruby-syntax-propertize-expansion): Extracted from
14595 `ruby-syntax-propertize-expansions'. Handles one expansion.
14596 (ruby-syntax-propertize-percent-literal): Leave point right after
14597 the percent symbol, so that the expression expansion rule can
14598 propertize the contents.
14599 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14601 (ruby-syntax-propertize-expansions): Remove.
14603 2013-05-18 Juri Linkov <juri@jurta.org>
14605 * man.el (Man-default-man-entry): Remove `-' from the end
14606 of the default value. (Bug#14400)
14608 2013-05-18 Glenn Morris <rgm@gnu.org>
14610 * comint.el (comint-password-prompt-regexp):
14611 Allow "password for XXX" where XXX contains colons (eg https://...).
14613 2013-05-18 Leo Liu <sdl.web@gmail.com>
14615 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14616 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14617 (octave-source-directories): Don't check process.
14618 (octave-source-directories, octave-find-definition): Doc fix.
14620 2013-05-18 Glenn Morris <rgm@gnu.org>
14622 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14623 Remove backspace/delete bindings. (Bug#14392)
14625 * cus-dep.el (custom-make-dependencies): Sort the output.
14626 (custom-versions-load-alist): Convert comment to doc.
14628 2013-05-17 Leo Liu <sdl.web@gmail.com>
14630 * newcomment.el (comment-search-backward): Stricter in finding
14631 comment start. (Bug#14303)
14633 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14634 (octave-comment-start-skip): Properly anchored.
14636 2013-05-17 Leo Liu <sdl.web@gmail.com>
14638 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14639 Clean up when turned off. (Bug#14395)
14640 (smie--highlight-matching-block-overlay): No longer buffer-local.
14641 (smie-highlight-matching-block): Adjust.
14643 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14645 Doc string fix for "nanoseconds" (Bug#14406).
14646 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14647 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14649 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14651 * calc/calc-units.el (math-extract-units): Preserve powers
14654 2013-05-17 Leo Liu <sdl.web@gmail.com>
14656 * subr.el (delete-consecutive-dups): New function.
14657 * ido.el (ido-set-matches-1): Use it.
14658 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14659 * ido.el (ido-remove-consecutive-dups): Remove.
14661 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14663 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14664 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14665 regexp-opt's `words'.
14667 2013-05-16 Leo Liu <sdl.web@gmail.com>
14669 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14670 (smie--highlight-matching-block-overlay)
14671 (smie--highlight-matching-block-lastpos)
14672 (smie--highlight-matching-block-timer): New variables.
14673 (smie-highlight-matching-block): New function.
14674 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14675 (smie-setup): Conditionally enable smie-blink-matching-open.
14677 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14679 Sync with upstream verilog-mode r840.
14680 * progmodes/verilog-mode.el (verilog-mode-version)
14681 (verilog-mode-release-date): Update.
14682 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14683 (verilog-sig-tieoff): Fix string error on
14684 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14685 (verilog-read-decls): Fix parameters confusing
14686 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14688 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14690 * subr.el (reveal-filename): New function.
14692 * loadup.el: Compute Emacs executable versions on MS-Windows,
14693 where executables have the .exe extension. Add a hard link
14694 emacs-XX.YY.ZZ.exe on MS-Windows.
14696 * Makefile.in (XARGS_LIMIT): New variable.
14697 (custom-deps, finder-data, autoloads)
14698 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14699 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14700 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14701 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14703 2013-05-16 Leo Liu <sdl.web@gmail.com>
14705 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14706 (octave-mode-menu, octave-mode-map): Remove its uses.
14708 2013-05-16 Reto Zimmermann <reto@gnu.org>
14710 Sync with upstream vhdl mode v3.34.2.
14711 * progmodes/vhdl-mode.el: Use `push' throughout.
14712 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14713 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14714 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14715 (vhdl-actual-generic-name): New option to derive actual generic name.
14716 (vhdl-port-paste-signals): Replace formal by actual generics.
14717 (vhdl-beautify): New name for old group vhdl-align. Update users.
14718 (vhdl-beautify-options): New option.
14719 (vhdl-last-input-event): New compat alias. Use throughout.
14720 (vhdl-goto-line): Replace user level function `goto-line'.
14721 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14722 vhdl-fix-statement-buffer.
14723 (vhdl-create-mode-menu): Add some entries.
14724 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14725 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14726 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14727 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14728 to force statements on one line.
14729 (vhdl-remove-trailing-spaces-region):
14730 New, split from vhdl-remove-trailing-spaces.
14731 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14732 Respect vhdl-beautify-options.
14733 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14734 (vhdl-update-sensitivity-list): Not add with index if exists without.
14735 Not include array index with signal. Ignore keywords in comments.
14736 (vhdl-get-visible-signals): Regexp tweaks.
14737 (vhdl-template-component-inst): Handle empty library.
14738 (vhdl-template-type): Add template for 'enum' type.
14739 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14740 Use vhdl-replace-string.
14741 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14742 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14743 (vhdl-speedbar-initialize): Update for above name change.
14744 (vhdl-compose-wire-components): Fix in handling of constants.
14745 (vhdl-error-regexp-emacs-alist): New variable.
14746 (vhdl-error-regexp-add-emacs): New function;
14747 adds support for new compile.el (Emacs 22+)
14748 (vhdl-generate-makefile-1): Change target order for single lib. units.
14749 Allow use of absolute file names.
14751 2013-05-16 Leo Liu <sdl.web@gmail.com>
14753 * simple.el (prog-indent-sexp): Indent enclosing defun.
14755 2013-05-15 Glenn Morris <rgm@gnu.org>
14757 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14758 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14759 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14760 (whitespace-highlight): Move to whitespace group.
14762 * comint.el (comint-source):
14763 * pcmpl-linux.el (pcmpl-linux):
14764 * shell.el (shell-faces):
14765 * eshell/esh-opt.el (eshell-opt):
14766 * international/ccl.el (ccl): Remove empty custom groups.
14768 * completion.el (dynamic-completion-mode):
14769 * jit-lock.el (jit-lock-debug-mode):
14770 * minibuffer.el (completion-in-region-mode):
14771 * type-break.el (type-break-mode-line-message-mode)
14772 (type-break-query-mode):
14773 * emulation/tpu-edt.el (tpu-edt-mode):
14774 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14775 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14776 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14778 * term/xterm.el (xterm): Change parent group to terminals.
14780 * master.el (master): Remove empty custom group.
14781 (master-mode): Remove unused :group argument.
14782 * textmodes/refill.el (refill): Remove empty custom group.
14783 (refill-mode): Remove unused :group argument.
14785 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14787 * cus-dep.el: Provide a feature.
14788 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14789 Don't mistakenly ignore files whose basenames match a basename
14790 from preloaded-file-list (eg cedet/ede/simple.el).
14791 Add a fallback method for getting :group.
14793 2013-05-15 Juri Linkov <juri@jurta.org>
14795 * isearch.el (isearch-char-by-name): Rename from
14796 `isearch-insert-char-by-name'. Doc fix.
14797 (isearch-forward): Mention `isearch-char-by-name' in
14798 the docstring. (Bug#13348)
14800 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14801 `exit-minibuffer' instead of
14802 `isearch-nonincremental-exit-minibuffer'.
14803 (isearch-edit-string): Remove mention of
14804 `isearch-nonincremental-exit-minibuffer' from docstring.
14805 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14806 (isearch-forward-exit-minibuffer)
14807 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14809 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14811 * loadup.el: Just use unversioned DOC.
14813 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14814 literals as extending to EOB.
14815 (nxml-last-fontify-end): Remove unused variable.
14816 (nxml-after-change1): Use with-silent-modifications.
14817 (nxml-extend-after-change-region): Simplify.
14818 (nxml-extend-after-change-region1): Remove function.
14819 (nxml-after-change1): Don't adjust for dependent regions.
14820 (nxml-fontify-matcher): Simplify.
14821 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14822 (xmltok-add-dependent): Remove function.
14823 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14824 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14825 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14826 unclosed <[[, <?, comment, and other literals as extending to EOB.
14827 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14828 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14830 (rng-do-some-validation-1): Don't mark dependent regions.
14831 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14832 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14833 (nxml-clear-dependent-regions): Remove functions.
14834 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14835 (nxml-ensure-scan-up-to-date):
14836 Don't clear&mark dependent regions.
14838 2013-05-15 Leo Liu <sdl.web@gmail.com>
14840 * progmodes/octave.el (octave-goto-function-definition):
14841 Improve and fix callers.
14843 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14845 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14846 the setter (bug#14387).
14848 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14849 surrounding group (bug#14402).
14851 2013-05-14 Juri Linkov <juri@jurta.org>
14853 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14856 2013-05-14 Glenn Morris <rgm@gnu.org>
14858 * progmodes/f90.el (f90-imenu-generic-expression):
14859 Fix typo in 2013-05-08 change. (Bug#14402)
14861 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14863 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14864 Remove signals for which replies are never received.
14866 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14868 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14869 (gdb-handler-alist, gdb-handler-number): Remove variables.
14870 (gdb-handler-list): New variable.
14871 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14872 (gdb-pending-handler-p, gdb-handle-reply)
14873 (gdb-remove-all-pending-triggers): New functions.
14874 (gdb-discard-unordered-replies): New defcustom.
14875 (gdb-handler): New defstruct.
14876 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14877 instead of gdb-pending-triggers. Update docstring.
14878 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14879 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14880 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14881 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14882 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14883 (gdb-frame-handler): Pending triggers are now automatically managed.
14884 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14886 (gdb-input): Automatically handles pending triggers. Update docstring.
14887 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14888 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14890 (gdb-done-or-error): Now use gdb-handle-reply.
14892 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14894 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14897 2013-05-14 Glenn Morris <rgm@gnu.org>
14899 * subr.el (user-emacs-directory-warning): New option.
14900 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14902 2013-05-14 Leo Liu <sdl.web@gmail.com>
14904 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14906 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14907 (octave-font-lock-texinfo-comment): Fix invalid search bound
14908 error: wrong side of point.
14910 2013-05-14 Glenn Morris <rgm@gnu.org>
14912 * progmodes/flymake.el (flymake-xml-program): New option.
14913 (flymake-xml-init): Use it.
14915 * term/xterm.el: Provide a feature.
14917 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14919 2013-05-13 Glenn Morris <rgm@gnu.org>
14921 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14922 Add compat aliases as a hack workaround. (Bug#14384)
14924 2013-05-13 Leo Liu <sdl.web@gmail.com>
14926 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14928 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14930 (octave-comment-start-skip): Include %!.
14931 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14933 2013-05-12 Leo Liu <sdl.web@gmail.com>
14935 * progmodes/octave.el (inferior-octave-startup): Store the value
14936 of __octave_srcdir__ for octave-source-directories.
14937 (inferior-octave-check-process): New function refactored out of
14938 inferior-octave-send-list-and-digest.
14939 (octave-source-directories)
14940 (octave-find-definition-filename-function): New variables.
14941 (octave-source-directories)
14942 (octave-find-definition-default-filename): New functions.
14943 (octave-find-definition): Improve to find functions implemented in C++.
14945 2013-05-12 Glenn Morris <rgm@gnu.org>
14947 * calendar/diary-lib.el (diary-outlook-format-1):
14948 Don't include dayname in the output. (Bug#14349)
14950 2013-05-11 Glenn Morris <rgm@gnu.org>
14952 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14954 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14955 Treat cc-provide like provide.
14957 2013-05-11 Kevin Ryde <user42@zip.com.au>
14959 * cus-dep.el (custom-make-dependencies):
14960 Use generated-autoload-load-name for the sake of files such
14961 such cedet/semantic/bovine/c.el, where the base file name
14962 is not in load-path. (Bug#5277)
14964 2013-05-11 Glenn Morris <rgm@gnu.org>
14966 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14969 2013-05-11 Leo Liu <sdl.web@gmail.com>
14971 * progmodes/octave.el (octave-indent-comment): Improve.
14972 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14973 (octave-eldoc-function-signatures, octave-eldoc-function):
14975 (octave-mode, inferior-octave-mode): Add eldoc support.
14977 2013-05-11 Richard Stallman <rms@gnu.org>
14979 * epa.el (epa-decrypt-file): Take output file name as argument
14980 and read it using `interactive'.
14982 2013-05-11 Leo Liu <sdl.web@gmail.com>
14984 * progmodes/octave.el (octave-beginning-of-line)
14985 (octave-end-of-line): Check before using up-list because it jumps
14986 out of more syntactic contructs since moving to smie.
14987 (octave-indent-comment): New function.
14988 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14989 (octave-begin-keywords, octave-end-keywords)
14990 (octave-reserved-words, octave-smie-bnf-table)
14991 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14993 2013-05-11 Glenn Morris <rgm@gnu.org>
14995 * faces.el (internal-face-x-get-resource):
14996 * frame.el (ns-display-monitor-attributes-list):
14997 * calc/calc-aent.el (math-to-radians-2):
14998 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15001 * calc/calc-menu.el: Make it loadable in isolation.
15003 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15004 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15005 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15006 (eudc-bbdb-query-internal): Require 'bbdb.
15008 * lpr.el (lpr-headers-switches):
15009 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15011 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15013 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15015 * term.el (term-set-escape-char): Make it idempotent.
15017 2013-05-10 Leo Liu <sdl.web@gmail.com>
15019 * progmodes/octave.el (inferior-octave-completion-table):
15020 No longer a function and all uses changed. Use cache to speed up
15021 completion due to bug#11906.
15022 (octave-beginning-of-defun): Re-write to be more general.
15024 2013-05-10 Glenn Morris <rgm@gnu.org>
15026 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15028 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15030 * comint.el (comint-redirect-send-command-to-process): Use :around
15031 rather than :override for comint-redirect-filter.
15032 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15033 Call it instead of comint-redirect-original-filter-function (which
15034 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15036 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15038 * frame.el (display-monitor-attributes-list): Add NS case.
15039 (ns-display-monitor-attributes-list): Declare.
15041 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15043 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15045 2013-05-09 Glenn Morris <rgm@gnu.org>
15047 * international/fontset.el (vertical-centering-font-regexp):
15048 Set standard-value.
15050 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15052 * bookmark.el (bookmark-search-delay):
15053 * cus-start.el (vertical-centering-font-regexp):
15054 * ps-mule.el (ps-mule-font-info-database-default):
15055 * ps-print.el (ps-default-fg, ps-default-bg):
15056 * type-break.el (type-break-good-break-interval):
15057 * whitespace.el (whitespace-indentation-regexp)
15058 (whitespace-space-after-tab-regexp):
15059 * emacs-lisp/testcover.el (testcover-1value-functions)
15060 (testcover-noreturn-functions, testcover-progn-functions)
15061 (testcover-prog1-functions):
15062 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15063 * eshell/em-glob.el (eshell-glob-translate-alist):
15064 * play/tetris.el (tetris-tty-colors):
15065 * progmodes/cpp.el (cpp-face-default-list):
15066 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15067 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15068 (idlwave-help-browser-generic-args):
15069 * progmodes/make-mode.el (makefile-special-targets-list):
15070 * progmodes/python.el (python-shell-virtualenv-path):
15071 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15072 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15073 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15074 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15075 * textmodes/reftex-vars.el (reftex-format-label-function):
15076 * textmodes/remember.el (remember-diary-file): Fix custom types.
15078 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15081 2013-05-09 Leo Liu <sdl.web@gmail.com>
15083 * progmodes/octave.el (inferior-octave-completion-at-point):
15084 Restore file completion. (Bug#14300)
15085 (inferior-octave-startup): Fix incorrect highlighting for the
15088 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15090 * progmodes/ruby-mode.el: First cut at SMIE support.
15091 (ruby-use-smie): New var.
15092 (ruby-smie-grammar): New constant.
15093 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15094 (ruby-smie--forward-token, ruby-smie--backward-token)
15095 (ruby-smie-rules): New functions.
15096 (ruby-mode-variables): Setup SMIE if applicable.
15098 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15100 * simple.el (line-move-visual): Signal beginning/end of buffer
15101 only if vertical-motion moved less than it was requested. Avoids
15102 silly incorrect error messages when there are display strings with
15103 multiple newlines at EOL.
15105 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15107 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15108 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15109 (prolog-char-quote-workaround):
15110 * progmodes/cperl-mode.el (cperl-under-as-char):
15111 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15113 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15115 (vhdl-mode-syntax-table-init): Remove.
15117 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15120 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15122 (ld-script-font-lock-keywords):
15123 Change regexps to use things like \_< and \_>.
15125 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15126 Change all regexps to use things like \_< and \_>.
15128 * progmodes/autoconf.el (autoconf-definition-regexp)
15129 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15130 Handle a _ with symbol syntax.
15131 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15133 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15134 Consolidate declaration.
15135 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15137 (ada-create-syntax-table): Remove.
15138 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15139 already has the right syntax nowadays.
15140 (ada-goto-next-word): Don't change the syntax of "_".
15142 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15145 2013-05-08 Sam Steingold <sds@gnu.org>
15147 * thingatpt.el (thing-at-point): Accept optional second argument
15148 NO-PROPERTIES to strip the text properties from the return value.
15149 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15150 to `thing-at-point' instead of stripping the properties ourselves.
15151 Also, when `thing-at-point' fails to find a url, prepend "http://"
15152 to the filename at point on the assumption that the user is
15153 pointing at something like gnu.org/gnu.
15155 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15157 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15158 * faces.el (crm-separator):
15159 Silence byte-compiler.
15161 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15162 (tool-bar-map): Remove unneeded defvars.
15164 2013-05-08 Leo Liu <sdl.web@gmail.com>
15166 Re-work a fix for bug#10994 based on Le Wang's patch.
15167 * ido.el (ido-remove-consecutive-dups): New helper.
15168 (ido-completing-read): Use it.
15169 (ido-chop): Revert fix for bug#10994.
15171 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15173 * cus-edit.el (custom-save-variables):
15174 Pretty-print long values. (Bug#14187)
15176 2013-05-08 Glenn Morris <rgm@gnu.org>
15178 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15179 (m4-mode-syntax-table): Init in the defvar.
15180 (m4-mode-abbrev-table): Let define-derived-mode define it.
15182 2013-05-08 Tom Tromey <tromey@redhat.com>
15184 * progmodes/m4-mode.el (m4-mode-syntax-table):
15185 Do not treat "_" as word constituent. (Bug#14167)
15187 2013-05-07 Glenn Morris <rgm@gnu.org>
15189 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15190 Remove explicit eshell-isearch-cancel-map.
15192 * progmodes/f90.el (f90-smart-end-names): New option.
15193 (f90-smart-end): Doc fix.
15194 (f90-end-block-optional-name): New constant.
15195 (f90-block-match): Respect f90-smart-end-names.
15197 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15199 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15200 about implicit semi-colons (bug#14218).
15202 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15204 * frame.el (display-monitor-attributes-list)
15205 (frame-monitor-attributes): New functions.
15207 2013-05-06 Leo Liu <sdl.web@gmail.com>
15209 * progmodes/octave.el (octave-syntax-propertize-function): Change
15210 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15211 (octave-font-lock-keywords): Use octave-operator-regexp.
15212 (octave-completion-at-point): Rename from
15213 octave-completion-at-point-function.
15214 (inferior-octave-directory-tracker): Robustify.
15215 (octave-text-functions): Remove and fix its uses. No such things
15218 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15220 * emacs-lisp/trace.el (trace--display-buffer): New function.
15221 (trace-make-advice): Use it.
15223 2013-05-06 Juri Linkov <juri@jurta.org>
15225 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15226 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15228 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15229 in the help string. (Bug#12985)
15231 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15233 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15235 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15237 * progmodes/perl-mode.el: Add support for here documents.
15238 (perl-syntax-propertize-function): Match here-doc markers.
15239 (perl-syntax-propertize-special-constructs): Find their end.
15240 (perl-imenu-generic-expression): Use [:alnum:].
15242 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15243 (advice--add-function): Refresh the advice if already present
15246 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15248 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15250 2013-05-06 Glenn Morris <rgm@gnu.org>
15252 * w32-fns.el (w32-charset-info-alist): Declare.
15254 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15255 of its defcustom properties.
15256 (eshell-cmpl-initialize): No need to load pcomplete.
15258 * generic-x.el: No need to require comint when compiling.
15260 * net/eudc-export.el: Make it loadable without bbdb.
15261 (top-level): Use require rather than load-library.
15262 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15263 (eudc-batch-export-records-to-bbdb)
15264 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15267 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15269 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15270 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15271 some tweaks, instead.
15273 2013-05-05 Leo Liu <sdl.web@gmail.com>
15275 * progmodes/octave.el (octave-font-lock-keywords)
15276 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15277 (inferior-octave-send-list-and-digest): Improve error message.
15278 (octave-mode, inferior-octave-mode): Use setq-local.
15279 (octave-help): Set info-lookup-mode.
15281 2013-05-05 Richard Stallman <rms@gnu.org>
15283 * vc/compare-w.el (compare-windows-whitespace):
15284 Treat no-break space as whitespace.
15286 * mail/rmailsum.el (rmail-summary-rmail-update):
15287 Detect empty summary and don't change selected message.
15288 (rmail-summary-goto-msg): Likewise.
15290 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15291 Doc fixes, rename args.
15293 2013-05-05 Alan Mackenzie <acm@muc.de>
15295 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15297 2013-05-05 Juri Linkov <juri@jurta.org>
15299 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15300 to not add the length of the summary segment to the return value.
15303 2013-05-05 Leo Liu <sdl.web@gmail.com>
15305 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15306 (inferior-octave-output-filter): Remove.
15307 (octave-send-region, inferior-octave-startup): Fix callers.
15308 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15309 (octave-binary-file-extensions): New user variable.
15310 (octave-find-definition): Confirm if opening binary files.
15311 (octave-help-file): Use octave-find-definition to get the binary
15313 (octave-help): Adjust for octave-help-file change.
15315 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15318 Merge the two entries that handle function definitions.
15319 (pascal--syntax-propertize): New const.
15320 (pascal-mode): Use it. Use setq-local.
15322 2013-05-04 Glenn Morris <rgm@gnu.org>
15324 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15325 (diary-from-outlook): Respect diary-from-outlook-function.
15327 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15329 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15330 Move the declaration from C.
15331 (read-minibuffer, eval-minibuffer): Move from C.
15332 (completion-setup-function): Avoid minibuffer-completion-contents.
15334 2013-05-03 Leo Liu <sdl.web@gmail.com>
15336 * progmodes/octave.el (octave-font-lock-keywords): Do not
15337 dehighlight 'end' in comments or strings.
15338 (octave-completing-read, octave-goto-function-definition):
15340 (octave-help-buffer): New user variable.
15341 (octave-help-file, octave-help-function): New button types.
15342 (octave-help): New command and bind it to C-h ;.
15343 (octave-find-definition): New command and bind it to M-.
15344 (user-error): Alias to error if not defined.
15346 2013-05-02 Leo Liu <sdl.web@gmail.com>
15348 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15350 (octave-font-lock-keywords): Include [ and {.
15352 2013-05-02 Leo Liu <sdl.web@gmail.com>
15354 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15355 (inferior-octave): Remove calling comint-mode and return the buffer.
15356 (inferior-octave-startup): Cosmetic changes.
15358 2013-05-02 Leo Liu <sdl.web@gmail.com>
15360 * progmodes/octave.el (octave-syntax-propertize-function):
15361 Include the case when ' is at line beginning. (Bug#14336)
15363 2013-05-02 Glenn Morris <rgm@gnu.org>
15365 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15366 * desktop.el (vc-dir-mode): Just autoload it here.
15368 2013-05-02 Alan Mackenzie <acm@muc.de>
15370 Eliminate variable c-standard-font-lock-fontify-region-function.
15371 * progmodes/cc-mode.el
15372 (c-standard-font-lock-fontify-region-function): Remove.
15373 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15375 2013-05-01 Leo Liu <sdl.web@gmail.com>
15377 * progmodes/octave.el: Compatible with older emacs-24 releases.
15378 (inferior-octave-has-built-in-variables): Remove. Built-in
15379 variables were removed from Octave in 2007.
15380 (inferior-octave-startup): Fix uses.
15381 (comint-line-beginning-position): Remove compatibility code for
15384 2013-05-01 Juri Linkov <juri@jurta.org>
15386 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15388 2013-05-01 Juri Linkov <juri@jurta.org>
15390 * comint.el (comint-previous-matching-input): Don't print message
15391 "History item: %d" when `isearch-mode' is active.
15392 (comint-history-isearch-message): Print message "History item: %d"
15393 when `comint-input-ring-index' is not empty and this function is
15394 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15396 2013-05-01 Leo Liu <sdl.web@gmail.com>
15398 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15399 definitions. Use completion-at-point to insert keywords.
15400 (octave-abbrev-start): Remove.
15401 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15403 2013-04-30 Leo Liu <sdl.web@gmail.com>
15405 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15408 2013-04-30 Alan Mackenzie <acm@muc.de>
15410 Handle arbitrarily long C++ member initialisation lists.
15411 * progmodes/cc-engine.el (c-back-over-member-initializers):
15413 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15414 (most) member init lists.
15416 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15418 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15421 2013-04-30 Leo Liu <sdl.web@gmail.com>
15423 * progmodes/octave.el (octave-variables): Remove. No builtin
15424 variables any more. All converted to functions.
15425 (octave-font-lock-keywords, octave-completion-at-point-function):
15427 (octave-font-lock-texinfo-comment): New user variable.
15428 (octave-texinfo-font-lock-keywords): New variable for texinfo
15430 (octave-function-comment-block): New face.
15431 (octave-font-lock-texinfo-comment): New function.
15432 (octave-mode): Font lock texinfo comment block.
15434 2013-04-29 Leo Liu <sdl.web@gmail.com>
15436 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15437 indexing expression.
15438 (octave-continuation-string): Do not use \.
15439 (inferior-octave-complete-impossible): Remove.
15440 (inferior-octave-completion-table)
15441 (inferior-octave-completion-at-point): Remove its uses.
15442 (inferior-octave-startup): completion_matches was introduced to
15443 Octave in 1996 so safe to assume it.
15444 (octave-function-file-comment): Improve to follow how Octave does it.
15445 (octave-update-function-file-comment): Tweak.
15447 2013-04-29 Leo Liu <sdl.web@gmail.com>
15449 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15450 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15451 (octave-function-file-comment): Fix typo.
15452 (octave-sync-function-file-names): Use read-char-choice.
15454 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15456 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15457 to t for the less important warnings.
15459 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15461 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15463 2013-04-27 Glenn Morris <rgm@gnu.org>
15465 * vc/log-view.el (log-view-current-entry):
15466 Treat "---" separator lines as part of the following rev. (Bug#14169)
15468 2013-04-27 Juri Linkov <juri@jurta.org>
15470 * subr.el (read-number): Doc fix about using it by interactive
15471 code letter `n'. (Bug#14254)
15473 2013-04-27 Juri Linkov <juri@jurta.org>
15475 * desktop.el (desktop-auto-save-timeout): New option.
15476 (desktop-file-checksum): New variable.
15477 (desktop-save): Add optional arg `auto-save' and don't auto-save
15478 if nothing changed.
15479 (desktop-auto-save-timer): New variable.
15480 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15481 (after-init-hook): Call `desktop-auto-save-set-timer'.
15482 Suggested by Reuben Thomas <rrt@sc3d.org> in
15483 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15485 2013-04-27 Leo Liu <sdl.web@gmail.com>
15487 * progmodes/octave.el (octave-function-file-p)
15488 (octave-skip-comment-forward, octave-function-file-comment)
15489 (octave-update-function-file-comment): New functions.
15490 (octave-mode-map): Bind C-c ; to
15491 octave-update-function-file-comment.
15492 (octave-mode-menu): Add octave-update-function-file-comment.
15493 (octave-mode, inferior-octave-mode): Fix doc-string.
15494 (octave-insert-defun): Conform to Octave's coding convention.
15497 * files.el (basic-save-buffer): Don't let errors in
15498 before-save-hook prevent saving buffer.
15500 2013-04-20 Roland Winkler <winkler@gnu.org>
15502 * faces.el (read-face-name): Use completing-read if arg multiple
15505 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15507 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15508 displayed, move point to after the totals line.
15509 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15512 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15514 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15515 Add current dir to the load-path.
15516 (package-generate-autoloads): Don't rely on
15517 autoload-ensure-default-file.
15519 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15521 * textmodes/remember.el (remember-store-in-files): Document that
15522 the file name format is passed to `format-time-string'.
15524 2013-04-26 Leo Liu <sdl.web@gmail.com>
15526 * progmodes/octave.el (octave-sync-function-file-names): New function.
15527 (octave-mode): Use it in before-save-hook.
15529 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15531 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15534 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15535 \n and comment, even if it's not an implicit ; (bug#14218).
15537 2013-04-26 Glenn Morris <rgm@gnu.org>
15539 * subr.el (read-number): Once more use `read' rather than
15540 `string-to-number', to trap non-numeric input. (Bug#14254)
15542 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15544 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15545 Use `syntax-multiline' text property consistently instead of
15546 `font-lock-multiline'. (Bug#14237)
15548 2013-04-26 Glenn Morris <rgm@gnu.org>
15550 * emacs-lisp/shadow.el (list-load-path-shadows):
15551 No longer necessary to check for duplicate simple.el, since
15552 2012-07-07 change to init_lread to not include installation lisp
15553 directories in load-path when running uninstalled. (Bug#14270)
15555 2013-04-26 Leo Liu <sdl.web@gmail.com>
15557 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15558 (octave-mode, inferior-octave-mode): Use setq-local.
15559 (octave-not-in-string-or-comment-p): Rename to
15560 octave-in-string-or-comment-p.
15561 (octave-in-comment-p, octave-in-string-p)
15562 (octave-in-string-or-comment-p): Replace defsubst with defun.
15564 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15566 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15568 2013-04-25 Bastien Guerry <bzg@gnu.org>
15570 * textmodes/remember.el (remember-data-directory)
15571 (remember-directory-file-name-format): Fix custom types.
15573 2013-04-25 Leo Liu <sdl.web@gmail.com>
15575 * progmodes/octave.el (octave-completion-at-point-function):
15576 Make use of inferior octave process.
15577 (octave-initialize-completions): Remove.
15578 (inferior-octave-completion-table): New function.
15579 (inferior-octave-completion-at-point): Use it.
15580 (octave-completion-alist): Remove.
15582 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15584 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15585 (opascal-mode-syntax-table): New var.
15586 (opascal-literal-kind, opascal-is-literal-end)
15587 (opascal-literal-token-at): Rewrite.
15588 (opascal--literal-start-re, opascal-font-lock-keywords)
15589 (opascal--syntax-propertize): New constants.
15590 (opascal-font-lock-defaults): Adjust.
15591 (opascal-mode): Use them. Set comment-<foo> variables as well.
15592 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15593 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15594 (delphi-other-face, opascal-other-face): Remove face variables.
15595 (opascal-save-state): Remove macro.
15596 (opascal-fontifying-progress-step): Remove constant.
15597 (opascal--ignore-changes): Remove var.
15598 (opascal-set-token-property, opascal-parse-next-literal)
15599 (opascal-is-stable-literal, opascal-complete-literal)
15600 (opascal-is-literal-start, opascal-face-of)
15601 (opascal-parse-region, opascal-parse-region-until-stable)
15602 (opascal-fontify-region, opascal-after-change)
15603 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15604 (opascal-debug-parse-region, opascal-debug-parse-window)
15605 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15606 (opascal-debug-fontify-buffer): Remove.
15607 (opascal-debug-mode-map): Adjust accordingly.
15609 2013-04-25 Leo Liu <sdl.web@gmail.com>
15611 Merge octave-mod.el and octave-inf.el into octave.el with some
15613 * progmodes/octave.el: New file renamed from octave-mod.el.
15614 * progmodes/octave-inf.el: Merged into octave.el.
15615 * progmodes/octave-mod.el: Renamed to octave.el.
15617 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15619 * textmodes/reftex-vars.el
15620 (reftex-label-ignored-macros-and-environments): New defcustom.
15622 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15624 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15627 (smie-indent-keyword): Improve the check to ensure that the next
15628 comment is really on the same line.
15629 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15631 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15632 semi-colons if the line is not otherwise empty (bug#14218).
15634 2013-04-25 Glenn Morris <rgm@gnu.org>
15636 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15638 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15640 * progmodes/opascal.el (opascal-set-token-property): Rename from
15641 opascal-set-text-properties and only set `token' (bug#14134).
15642 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15643 (opascal-literal-text-properties): Remove.
15644 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15647 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15649 * textmodes/remember.el (remember-handler-functions): Add an
15650 option for a new handler `remember-store-in-files'.
15651 (remember-data-directory, remember-directory-file-name-format):
15653 (remember-store-in-files): New function to store remember notes
15654 as separate files within a directory.
15656 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15658 * progmodes/compile.el (compilation-next-error-function):
15659 Pass "formats" to compilation-find-file (bug#11777).
15661 2013-04-24 Glenn Morris <rgm@gnu.org>
15663 * vc/vc-bzr.el (vc-bzr-print-log):
15664 * vc/vc-hg.el (vc-hg-print-log):
15665 * vc/vc-svn.el (vc-svn-print-log):
15666 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15668 * vc/vc-bzr.el (vc-bzr-print-log):
15669 * vc/vc-cvs.el (vc-cvs-print-log):
15670 * vc/vc-git.el (vc-git-print-log):
15671 * vc/vc-hg.el (vc-hg-print-log):
15672 * vc/vc-mtn.el (vc-mtn-print-log):
15673 * vc/vc-rcs.el (vc-rcs-print-log):
15674 * vc/vc-sccs.el (vc-sccs-print-log):
15675 * vc/vc-svn.el (vc-svn-print-log):
15676 * vc/vc.el (vc-print-log-internal): Doc fixes.
15678 2013-04-23 Glenn Morris <rgm@gnu.org>
15680 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15681 Remove venerable code attempting to avoid substitute-command-keys.
15683 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15685 * textmodes/reftex-vars.el (reftex-label-regexps):
15686 Call `reftex-compile-variables' after changes to this variable.
15688 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15690 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15691 Use lexical-binding.
15692 (jit-lock-force-redisplay): Use markers, check buffer's continued
15693 existence and beware narrowed buffers.
15694 (jit-lock-fontify-now): Adjust call accordingly.
15696 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15698 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15699 to avoid misleading the user.
15701 2013-04-22 Leo Liu <sdl.web@gmail.com>
15703 * info-look.el: Prefer latex2e.info. (Bug#14240)
15705 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15707 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15709 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15710 * net/tramp.el (tramp-call-process): ... here.
15711 (tramp-set-completion-function, tramp-parse-putty):
15712 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15713 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15714 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15715 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15716 (tramp-call-local-coding-command): Use `tramp-call-process'
15717 instead of `tramp-compat-call-process'.
15719 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15720 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15721 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15722 (tramp-find-inline-compress): Improve traces.
15723 (tramp-maybe-send-script): Check for Perl binary.
15724 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15726 2013-04-22 Daiki Ueno <ueno@gnu.org>
15728 * epg.el (epg-context-pinentry-mode): New function.
15729 (epg-context-set-pinentry-mode): New function.
15730 (epg--start): Pass --pinentry-mode option to gpg command.
15732 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15734 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15735 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15736 `completion-at-point'. (Bug#13774)
15738 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15739 default key binding for `describe-distribution' has been moved to
15740 `C-h C-o'. (Bug#13970)
15742 2013-04-21 Glenn Morris <rgm@gnu.org>
15744 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15746 (vc-print-log): Clarify interactive prompt.
15748 2013-04-20 Glenn Morris <rgm@gnu.org>
15750 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15751 No longer include timestamp etc information.
15753 2013-04-20 Roland Winkler <winkler@gnu.org>
15755 * faces.el (read-face-name): Bug fix, return just one face if arg
15756 multiple is nil. (Bug#14209)
15758 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15760 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15761 (remove-function): Autoload.
15763 * comint.el (comint-redirect-original-filter-function): Remove.
15764 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15765 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15766 (vc-cvs-annotate-command):
15767 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15768 * progmodes/prolog.el (prolog-consult-compile):
15769 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15770 Use add/remove-function instead.
15771 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15772 (gud-tooltip-process-output, gud-tooltip-tips):
15773 Use add/remove-function instead.
15774 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15775 (scheme-interaction-mode, exit-scheme-interaction-mode):
15776 Use add/remove-function instead.
15778 * vc/vc-dispatcher.el: Use lexical-binding.
15779 (vc--process-sentinel): Rename from vc-process-sentinel.
15780 Change last arg to be the code to run. Don't use vc-previous-sentinel
15781 and vc-sentinel-commands any more.
15782 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15783 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15785 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15787 * progmodes/sh-script.el (sh-imenu-generic-expression):
15788 Handle function names with a single character. (Bug#14111)
15790 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15792 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15793 for subroutines defined in an eval (bug#14182).
15795 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15797 * bookmark.el (bookmark-completing-read): Improve handling of empty
15798 string (bug#14176).
15800 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15802 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15804 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15806 New faster Imenu implementation (bug#14058).
15807 * progmodes/python.el (python-imenu-prev-index-position)
15808 (python-imenu-format-item-label-function)
15809 (python-imenu-format-parent-item-label-function)
15810 (python-imenu-format-parent-item-jump-label-function):
15812 (python-imenu-format-item-label)
15813 (python-imenu-format-parent-item-label)
15814 (python-imenu-format-parent-item-jump-label)
15815 (python-imenu--put-parent, python-imenu--build-tree)
15816 (python-imenu-create-index, python-imenu-create-flat-index)
15817 (python-util-popn): New functions.
15818 (python-mode): Set imenu-create-index-function to
15819 python-imenu-create-index.
15821 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15823 * winner.el (winner-active-region): Use region-active-p, activate-mark
15824 and deactivate-mark (bug#14225).
15826 * simple.el (deactivate-mark): Don't inline it.
15828 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15830 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15832 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15834 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15835 file extensions from the archive-mode entry in order to prefer
15836 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15838 2013-04-18 Leo Liu <sdl.web@gmail.com>
15840 * bindings.el (help-event-list): Add ?\?.
15842 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15844 * subr.el (with-wrapper-hook): Declare obsolete.
15845 * simple.el (filter-buffer-substring-function): New hook.
15846 (filter-buffer-substring): Use it.
15847 (filter-buffer-substring-functions): Mark obsolete.
15848 * minibuffer.el (completion-in-region-function): New hook.
15849 (completion-in-region): Use it.
15850 (completion-in-region-functions): Mark obsolete.
15851 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15852 * abbrev.el (abbrev-expand-function): New hook.
15853 (expand-abbrev): Use it.
15854 (abbrev-expand-functions): Mark obsolete.
15855 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15856 and :filter-return.
15858 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15860 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15861 and do not care about match data.
15863 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15865 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15866 completion tables when completing error conditions and
15867 `declare' arguments.
15868 (lisp-complete-symbol, field-complete): Mark as obsolete.
15869 (check-parens): Unmatched parens are user errors.
15870 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15872 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15874 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15875 command changed buffer (ie. `flyspell-pre-buffer' is not current
15876 buffer), which prevents making decisions based on invalid value of
15877 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15878 cause an error when `flyspell-pre-point' was nil after switching
15880 (flyspell-post-command-hook): No longer needs to change buffers when
15881 checking pre-word. While at it remove unnecessary progn.
15883 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15885 * textmodes/ispell.el (ispell-add-per-file-word-list):
15886 Fix `flyspell-correct-word-before-point' error when accepting
15887 words and `coment-padding' is an integer by using
15888 `comment-normalize-vars' (Bug #14214).
15890 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15892 New defun movement commands.
15893 * progmodes/python.el (python-nav--syntactically)
15894 (python-nav--forward-defun, python-nav-backward-defun)
15895 (python-nav-forward-defun): New functions.
15897 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15899 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15900 (python-syntax-context): Use named compiler-macro for backwards
15901 compatibility with Emacs 24.x.
15903 2013-04-17 Leo Liu <sdl.web@gmail.com>
15905 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15906 octave-hide-process-buffer.
15908 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15913 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15915 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15916 Fix adjustment of offset when receiving incomplete responses from GDB
15919 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15921 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15922 python-mode-abbrev-table.
15923 (python-skeleton-define): Adjust accordingly.
15924 (python-mode-abbrev-table): New table that inherits from it so that
15925 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15927 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15928 (abbrev-symbol): Use it.
15929 (abbrev--before-point): Use it since we already handle inheritance.
15931 2013-04-16 Leo Liu <sdl.web@gmail.com>
15933 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15934 binding to info-lookup-symbol.
15936 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15938 * minibuffer.el (completion--twq-all):
15939 * term/ns-win.el (ns-initialize-window-system):
15940 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15942 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15944 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15947 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15949 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15951 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15952 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15954 (ruby-end-of-defun): Remove the unused arg, change the docstring
15955 to reflect that this function is only used as the value of
15956 `end-of-defun-function'.
15957 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15958 to reflect an earlier change that beginning/end-of-defun functions
15959 jump between methods in a class definition, as well as top-level
15962 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15964 * minibuffer.el (minibuffer-complete): Don't just scroll
15965 a *Completions* that's been iconified.
15966 (minibuffer-force-complete): Make sure repetitions do cycle when going
15967 through completion-in-region -> minibuffer-complete.
15969 2013-04-15 Alan Mackenzie <acm@muc.de>
15971 Correct the placement of c-cpp-delimiters when there're #s not at
15974 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15975 place a submatch around the #.
15976 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15977 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15980 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15982 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15983 (advice--member-p): New arg `name'.
15984 (advice--add-function, advice-member-p): Use it (bug#14202).
15986 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15988 Reformulate java imenu-generic-expression.
15989 The old expression contained ill formed regexps.
15991 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15992 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15993 (cc-imenu-java-method-arg-regexp): New defconsts.
15994 (cc-imenu-java-build-type-args-regex): New defun.
15995 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15996 handling of spaces in the regexp.
15998 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16000 * textmodes/ispell.el (ispell-command-loop): Remove
16001 flyspell highlight of a word when ispell accepts it (bug #14178).
16003 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16005 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16006 uses code from the previous `ange-ftp-run-real-handler'.
16007 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16008 only in case that function exist. This is needed for proper
16009 unloading of Tramp.
16011 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16013 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16015 * textmodes/reftex.el (reftex-compile-variables): Use it.
16017 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16019 * files.el (normal-mode): Only use default major-mode if no other mode
16022 * emacs-lisp/trace.el (trace-values): New function.
16024 * files.el: Allow : in local variables (bug#14089).
16025 (hack-local-variable-regexp): New var.
16026 (hack-local-variables-prop-line, hack-local-variables): Use it.
16028 2013-04-13 Roland Winkler <winkler@gnu.org>
16030 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16031 data before it gets modified by bibtex-beginning-of-entry.
16033 2013-04-13 Roland Winkler <winkler@gnu.org>
16035 * textmodes/bibtex.el (bibtex-url): Doc fix.
16037 2013-04-13 Roland Winkler <winkler@gnu.org>
16039 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16040 does not visit a BibTeX file, exclude it from the list of buffers
16041 returned by bibtex-initialize.
16043 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16045 * window.el (split-window): Remove interactive form, since as a
16046 command this function is a special case of split-window-below.
16047 Correct doc string.
16049 2013-04-12 Roland Winkler <winkler@gnu.org>
16051 * faces.el (read-face-name): Do not override value of arg default.
16052 Allow single faces and strings as default values. Remove those
16053 elements from return value that are not faces.
16054 (describe-face): Simplify.
16055 (face-at-point): New optional args thing and multiple so that this
16056 function can provide the same functionality previously provided by
16058 (make-face-bold, make-face-unbold, make-face-italic)
16059 (make-face-unitalic, make-face-bold-italic, invert-face)
16060 (modify-face, read-face-and-attribute): Use face-at-point.
16062 * cus-edit.el (customize-face, customize-face-other-window)
16063 * cus-theme.el (custom-theme-add-face)
16064 * face-remap.el (buffer-face-set)
16065 * facemenu.el (facemenu-set-face): Use face-at-point.
16067 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16069 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16071 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16073 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16074 off leading { and trailing } from field values.
16076 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * emacs-lisp/timer.el (timer--check): New function.
16079 (timer--time, timer-set-function, timer-event-handler): Use it.
16080 (timer-set-idle-time): Simplify.
16081 (timer--activate): CSE.
16082 (timer-event-handler): Give more info in error message.
16083 (internal-timer-start-idle): New function, moved from C.
16085 * mpc.el (mpc-proc): Add `restart' argument.
16086 (mpc-proc-cmd): Use it.
16087 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16088 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16091 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16093 * progmodes/sh-script.el: Implement `sh-mode' own
16094 `add-log-current-defun-function' (bug#14112).
16095 (sh-current-defun-name): New function.
16096 (sh-mode): Use the function.
16098 2013-04-09 Bastien Guerry <bzg@gnu.org>
16100 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16102 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16104 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16106 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16109 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16111 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16114 2013-04-07 Leo Liu <sdl.web@gmail.com>
16116 * pcmpl-x.el: New file.
16118 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16120 Do not set x-display-name until X connection is established.
16121 This is needed to prevent from weird situation described at
16122 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16123 * frame.el (make-frame): Set x-display-name after call to
16124 window system initialization function, not before.
16125 * term/x-win.el (x-initialize-window-system): Add optional
16126 display argument and use it.
16127 * term/w32-win.el (w32-initialize-window-system):
16128 * term/ns-win.el (ns-initialize-window-system):
16129 * term/pc-win.el (msdos-initialize-window-system):
16130 Add compatible optional display argument.
16132 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16134 * files.el (normal-backup-enable-predicate): On MS-Windows and
16135 MS-DOS compare truenames of temporary-file-directory and of the
16136 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16137 don't fail comparison by compare-strings. Also, compare file
16138 names case-insensitively on MS-Windows and MS-DOS.
16140 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16142 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16143 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16145 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16147 * whitespace.el (whitespace-color-on, whitespace-color-off):
16148 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16150 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16152 * ispell.el (ispell-set-spellchecker-params):
16153 Really set `ispell-args' for all equivs.
16155 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16157 * ido.el (ido-completions): Use extra elements of ido-decorations
16159 (ido-decorations): Update docstring.
16161 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16163 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16164 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16165 nil during initialization, in order not to miss changes since the
16166 file was opened. (Bug#14140)
16168 2013-04-05 Leo Liu <sdl.web@gmail.com>
16170 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16172 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16174 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16176 2013-04-04 Glenn Morris <rgm@gnu.org>
16178 * electric.el (electric-pair-inhibit-predicate): Add :version.
16180 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16182 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16183 when a package is required several times (bug#14082).
16185 2013-04-04 Roland Winkler <winkler@gnu.org>
16187 * faces.el (read-face-name): Behave as promised by the docstring.
16188 Assume that arg default is a list of faces.
16189 (describe-face): Call read-face-name with list of default faces.
16191 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16193 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16194 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16195 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16197 (bookmark-exit-hook-internal): Save even if list is empty.
16199 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16201 * emacs-lisp/package.el (package-pinned-packages): New var.
16202 (package--add-to-archive-contents): Obey it (bug#14118).
16204 2013-04-03 Alan Mackenzie <acm@muc.de>
16206 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16207 Also adapt to the new values of element 7 of a parse state.
16209 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16210 parameter `not-in-delimiter'. Handle being inside comment opener.
16211 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16212 character in case we're typing a '*' after a '/'.
16213 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16214 instead by passing the parameter to c-state-pp-to-literal.
16216 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16217 for elt. 7 of a parse state.
16219 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16221 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16222 * international/latin1-disp.el, international/mule-util.el:
16223 * language/cyril-util.el, language/european.el, language/ind-util.el:
16224 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16225 * language/tibetan.el, language/viet-util.el:
16226 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16228 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16230 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16231 (electric-pair-post-self-insert-function): Use it.
16232 (electric-pair-default-inhibit): New function, extracted from
16233 electric-pair-post-self-insert-function.
16235 2013-03-31 Roland Winkler <winkler@gnu.org>
16237 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16239 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16241 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16243 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16245 Un-indent after "pass" and "return" statements (Bug#13888)
16246 * progmodes/python.el (python-indent-block-enders): New var.
16247 (python-indent-calculate-indentation): Use it.
16249 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16251 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16252 defun. Defining it as defalias could introduce too eager
16253 byte-compiler optimization. (Bug#14030)
16255 2013-03-30 Chong Yidong <cyd@gnu.org>
16257 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16259 2013-03-30 Leo Liu <sdl.web@gmail.com>
16261 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16262 (kmacro-execute-from-register): Pass the keyboard macro to
16263 kmacro-call-macro or repeating won't work correctly.
16265 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16267 * progmodes/subword.el: Back to using `forward-symbol'.
16269 * subr.el (forward-whitespace, forward-symbol)
16270 (forward-same-syntax): Move from thingatpt.el.
16272 2013-03-29 Leo Liu <sdl.web@gmail.com>
16274 * kmacro.el (kmacro-to-register): New command.
16275 (kmacro-execute-from-register): New function.
16276 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16278 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16280 * mpc.el: Use defvar-local and setq-local.
16281 (mpc--proc-connect): Connection failures are not bugs.
16282 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16283 (mpc-volume-map): Bind to the up-events.
16285 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16287 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16288 instead of `forward-symbol'.
16290 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16292 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16293 (edebug--recursive-edit): Use it.
16294 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16295 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16297 2013-03-28 Leo Liu <sdl.web@gmail.com>
16299 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16301 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16303 * facemenu.el (list-colors-callback): New defvar.
16304 (list-colors-redisplay): New function.
16305 (list-colors-display): Install list-colors-redisplay as the
16306 revert-buffer-function. (Bug#14063)
16308 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16310 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16311 and suffixes don't overlap (bug#14061).
16313 * case-table.el: Use lexical-binding.
16314 (case-table-get-table): New function.
16315 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16317 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16319 * progmodes/subword.el: Add `superword-mode' to do word motion
16320 over symbol_words (parallels and leverages `subword-mode' which
16321 does word motion inside MixedCaseWords).
16323 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16325 * eshell/em-unix.el: Move su and sudo to...
16326 * eshell/em-tramp.el: ...Eshell tramp module.
16328 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16330 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16331 Change return value to be a sexp. Delay `get-buffer' to after
16332 restoring the desktop (bug#13951).
16334 2013-03-26 Leo Liu <sdl.web@gmail.com>
16336 * register.el: Move semantic tag handling back to
16337 cedet/semantic/senator.el. (Bug#14052)
16339 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16341 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16342 into the prompt either (bug#13963).
16344 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16346 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16347 part of "(error-foo)".
16349 2013-03-24 Juri Linkov <juri@jurta.org>
16351 * replace.el (list-matching-lines-prefix-face): New defcustom.
16352 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16353 `occur-engine' if `face-differs-from-default-p' returns t.
16354 (occur-engine): Add `,' inside backquote construct to evaluate
16355 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16356 Pass `prefix-face' to the functions `occur-context-lines' and
16357 `occur-engine-add-prefix'.
16358 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16359 `prefix-face' and propertize the prefix with `prefix-face'.
16362 2013-03-24 Leo Liu <sdl.web@gmail.com>
16364 * nxml/rng-valid.el (rng-validate-while-idle)
16365 (rng-validate-quick-while-idle): Guard against deleted buffer.
16368 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16369 is the last entry in kill-buffer-hook.
16371 * files.el (kill-buffer-hook): Doc fix.
16373 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16375 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16376 Make it safe-local.
16378 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16380 2013-03-23 Leo Liu <sdl.web@gmail.com>
16382 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16385 * nxml/rng-valid.el (rng-validate-mode)
16386 (rng-after-change-function, rng-do-some-validation):
16387 * nxml/rng-maint.el (rng-validate-buffer):
16388 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16389 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16390 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16391 (nxml-extend-after-change-region): Use with-silent-modifications.
16393 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16396 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16397 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16398 timer-idle-list. (Bug#13999)
16400 2013-03-23 Juri Linkov <juri@jurta.org>
16402 * info.el (info-index-match): New face.
16403 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16404 main pattern and add text properties with the new face to matches
16405 in index entries relative to the beginning of the index entry.
16408 2013-03-21 Eric Ludlam <zappo@gnu.org>
16410 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16411 Inhibit read only while inserting objects.
16413 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16415 * progmodes/cfengine.el: Update docs to mention
16416 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16417 symbol motion. Remove "_" from the word syntax.
16419 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16421 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16422 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16424 2013-03-20 Juri Linkov <juri@jurta.org>
16426 * info.el (Info-next-reference-or-link)
16427 (Info-prev-reference-or-link): New functions.
16428 (Info-next-reference, Info-prev-reference): Use them.
16429 (Info-try-follow-nearest-node): Handle footnote navigation.
16430 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16432 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16434 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16435 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16437 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16439 Suppress unnecessary non-ASCII chatter during build process.
16440 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16441 (batch-skkdic-convert): Suppress most of the chatter.
16442 It's not needed so much now that machines are faster,
16443 and its non-ASCII component was confusing; see Dmitry Gutov in
16444 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16446 2013-03-20 Leo Liu <sdl.web@gmail.com>
16448 * ido.el (ido-chop): Fix bug#10994.
16450 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16452 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16454 (whitespace-color-on, whitespace-color-off):
16455 Use `font-lock-fontify-buffer' (Bug#13817).
16457 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16459 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16460 remapping in mode-line.
16461 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16463 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16465 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16466 value for `whitespace-line' face (Bug#13875).
16467 (whitespace-font-lock-keywords): Change description.
16468 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16469 the constructed keywords instead.
16470 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16472 2013-03-19 Leo Liu <sdl.web@gmail.com>
16474 * progmodes/compile.el (compilation-display-error): New command.
16475 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16478 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16480 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16482 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16484 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16486 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16488 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16490 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16491 * net/tramp-gvfs.el (top):
16492 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16493 (tramp-handle-shell-command): Use it.
16494 (tramp-dissect-file-name): Raise an error when hostname is a
16495 method name, and neither method nor user is specified.
16497 * net/trampver.el: Update release number.
16499 2013-03-18 Leo Liu <sdl.web@gmail.com>
16501 Make sure eldoc can be turned off properly.
16502 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16504 (eldoc-display-message-p): Revert last change.
16505 (eldoc-display-message-no-interference-p)
16506 (eldoc-print-current-symbol-info): Tweak.
16508 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16510 * doc-view.el (doc-view-new-window-function): Check the new window
16511 overlay's display property instead the char property of the
16512 buffer's first char. Use `with-selected-window' instead of
16513 `save-window-excursion' with `select-window'.
16514 (doc-view-document->bitmap): Check the current doc-view overlay's
16515 display property instead the char property of the buffer's first char.
16517 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16519 Automate the build of ja-dic.el (Bug#13984).
16520 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16521 from the input, rather than assume that it's been done for us by the
16522 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16523 the current date into a ja-dic.el comment, as that complicates
16524 regression testing.
16526 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16528 * whitespace.el: Fix double evaluation.
16529 (whitespace-space, whitespace-hspace, whitespace-tab)
16530 (whitespace-newline, whitespace-trailing, whitespace-line)
16531 (whitespace-space-before-tab, whitespace-indentation)
16532 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16534 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16535 (whitespace-color-on): Use a single font-lock-add-keywords call.
16536 Fix double-evaluation of face variables.
16538 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16540 * net/tramp-adb.el (tramp-adb-parse-device-names):
16541 Use `start-process' instead of `call-process'. Otherwise, the
16542 function might be blocked under MS Windows. (Bug#13299)
16544 2013-03-17 Leo Liu <sdl.web@gmail.com>
16546 Extend eldoc to display info in the mode-line. (Bug#13978)
16547 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16548 (eldoc-mode-line-string): New variable.
16549 (eldoc-minibuffer-message): New function.
16550 (eldoc-message-function): New variable.
16551 (eldoc-message): Use it.
16552 (eldoc-display-message-p)
16553 (eldoc-display-message-no-interference-p):
16554 Support eldoc-post-insert-mode.
16556 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16557 (eval-expression): Run it.
16559 2013-03-17 Roland Winkler <winkler@gnu.org>
16561 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16562 strings in the list of return values.
16564 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16566 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16567 radix before checking for HMS forms.
16569 2013-03-16 Leo Liu <sdl.web@gmail.com>
16571 * progmodes/scheme.el: Add indentation and font-locking for λ.
16574 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16576 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16577 token before point (bug#13942).
16579 2013-03-16 Leo Liu <sdl.web@gmail.com>
16581 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16583 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16585 * startup.el (command-line-normalize-file-name): Fix handling of
16586 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16587 <xfq.free@gmail.com> in
16588 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16590 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16592 Sync with Tramp 2.2.7.
16594 * net/trampver.el: Update release number.
16596 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16598 * doc-view.el: Fix bug#13887.
16599 (doc-view-insert-image): Don't modify overlay associated to
16600 non-live windows, and implement horizontal centering of image in
16601 case it's smaller than the window.
16602 (doc-view-new-window-function): Force redisplay of new windows on
16605 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16607 * saveplace.el (save-place-alist-to-file): Don't sort
16608 `save-place-alist', just pretty-print it (bug#13882).
16610 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16612 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16613 Check whether `default-file-name-coding-system' is bound.
16614 It isn't in XEmacs.
16616 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16618 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16619 backquotes for `obsolete' (bug#13929).
16621 * international/mule.el (find-auto-coding): Include file name in
16622 obsolescence warning (bug#13922).
16624 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16626 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16627 for CFEngine 3-specific indentation.
16628 (cfengine3-indent-line): Use it. Fix up category regex.
16629 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16631 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16633 * type-break.el (type-break-file-name):
16634 * textmodes/remember.el (remember-data-file):
16635 * strokes.el (strokes-file):
16636 * shadowfile.el (shadow-initialize):
16637 * saveplace.el (save-place-file):
16638 * ps-bdf.el (bdf-cache-file):
16639 * progmodes/idlwave.el (idlwave-config-directory):
16640 * net/quickurl.el (quickurl-url-file):
16641 * international/kkc.el (kkc-init-file-name):
16642 * ido.el (ido-save-directory-list-file):
16643 * emulation/viper.el (viper-custom-file-name):
16644 * emulation/vip.el (vip-startup-file):
16645 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16646 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16648 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16650 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16651 * language/thai-word.el: Switch to UTF-8.
16653 See ChangeLog.16 for earlier changes.
16655 ;; Local Variables:
16659 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16661 This file is part of GNU Emacs.
16663 GNU Emacs is free software: you can redistribute it and/or modify
16664 it under the terms of the GNU General Public License as published by
16665 the Free Software Foundation, either version 3 of the License, or
16666 (at your option) any later version.
16668 GNU Emacs is distributed in the hope that it will be useful,
16669 but WITHOUT ANY WARRANTY; without even the implied warranty of
16670 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16671 GNU General Public License for more details.
16673 You should have received a copy of the GNU General Public License
16674 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.