1 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3 * ansi-color.el: Convert to lexical binding.
4 (ansi-colors): Fix URL.
5 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15 2013-06-19 Tom Tromey <tromey@redhat.com>
17 * net/eww.el (eww-top-url): Remove.
18 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
19 (eww-render): Set new variables. Don't set eww-top-url.
20 (eww-handle-link): Handle "prev", "home", and "contents".
21 Downcase the rel text.
22 (eww-top-url): Choose best top URL.
24 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
26 * net/eww.el: Rewrite to implement form elements "by hand" instead of
27 relying in widget.el. Using widget.el leads to too many
28 user interface inconsistencies.
29 (eww-self-insert): Implement entering commands in text fields.
30 (eww-process-text-input): New function to make text input field editing
32 (eww-submit): Rewrite to use the new-style form methods.
33 (eww-select-display): Display the correct selected item.
34 (eww-change-select): Implement changing the select value.
35 (eww-toggle-checkbox): Implement radio/checkboxes.
36 (eww-update-field): Fix compilation error.
37 (eww-tag-textarea): Implement <textarea>.
39 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
40 we don't shadow mode-specific bindings.
42 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
45 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
47 2013-06-19 Glenn Morris <rgm@fencepost.gnu.org>
49 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
51 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
53 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
56 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
58 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
60 * net/browse-url.el (browse-url-browser-function):
61 `eww-browse-url' has the right calling signature, `eww' does not.
63 2013-06-19 Glenn Morris <rgm@gnu.org>
65 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
66 Only eval autoloaded macros.
67 (byte-compile-autoload): Only give the macro warning for macros.
69 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
70 (ps-underlined-faces): Declare.
72 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
73 (speedbar-add-supported-extension): Declare.
75 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
76 Don't include a date stamp in the header of the generated file;
77 it leads to needless differences between output files.
79 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
81 * net/secrets.el (secrets-struct-secret-content-type): Replace
82 check of introspection data by a test call of "CreateItem". Some
83 servers do not offer introspection.
85 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
87 * electric.el (electric-pair-mode): Improve interaction with
89 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
90 (electric-pair-syntax): Use text-mode-syntax-table in comments
92 (electric-pair--insert): New function.
93 (electric-pair-post-self-insert-function): Use it and
94 electric--after-char-pos.
96 2013-06-19 Leo Liu <sdl.web@gmail.com>
98 * progmodes/octave.el (octave-help): Fix regexp.
100 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
102 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
103 (shr-table-horizontal-line): Allow nil as a value, and change the
105 (shr-insert-table-ruler): Respect the nil value.
107 2013-06-18 Tom Tromey <tromey@barimba>
109 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
111 (eww-open-file): New defun.
112 (eww-render): Initialize new variables.
113 (eww-display-html): Handle "link" and "a".
114 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
115 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
116 (eww-back-url): Rename from eww-previous-url.
117 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
120 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
122 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
123 Distinguish ternary operator tokens from slash symbol and slash
126 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
128 Convert symbol prettification into minor mode and global minor mode.
130 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
131 `prog-prettify-symbols', and make a local defvar instead of defcustom.
132 (prettify-symbols--keywords): Rename from
133 `prog-prettify-symbols-alist' and make a local defvar.
134 (prettify-symbols--compose-symbol): Rename from
135 `prog--prettify-font-lock-compose-symbol'.
136 (prettify-symbols--make-keywords): Rename from
137 `prog-prettify-font-lock-symbols-keywords' and simplify.
138 (prog-prettify-install): Remove.
139 (prettify-symbols-mode): New minor mode, based on
140 `prog-prettify-install'.
141 (turn-on-prettify-symbols-mode): New function.
142 (global-prettify-symbols-mode): New globalized minor mode.
144 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
145 * progmodes/cfengine.el (cfengine3-mode):
146 * progmodes/perl-mode.el (perl-mode): Don't call
147 `prog-prettify-install'; set `prettify-symbols-alist' instead.
149 2013-06-18 Juri Linkov <juri@jurta.org>
151 * files-x.el (modify-file-local-variable-message): New function.
152 (modify-file-local-variable)
153 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
154 and call `modify-file-local-variable-message' when it's non-nil.
155 (add-file-local-variable, delete-file-local-variable)
156 (add-file-local-variable-prop-line)
157 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
158 and use it. (Bug#9820)
160 2013-06-18 Juri Linkov <juri@jurta.org>
162 * emulation/vi.el (vi-shell-op):
163 * emulation/vip.el (vip-execute-com, ex-command):
164 * emulation/viper-cmd.el (viper-exec-bang):
165 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
166 the call of `shell-command-on-region'. (Bug#14637)
168 * simple.el (shell-command-on-region): Doc fix.
170 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
172 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
175 2013-06-18 Glenn Morris <rgm@gnu.org>
177 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
179 * newcomment.el (comment-search-forward, comment-search-backward):
182 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
184 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
185 (buffer-face-mode-invoke): Doc fix.
187 2013-06-18 Matthias Meulien <orontee@gmail.com>
189 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
191 2013-06-18 Glenn Morris <rgm@gnu.org>
193 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
194 Replace obsolete function generic-make-keywords with its expansion.
196 * progmodes/python.el (ffap-alist): Declare.
198 * textmodes/reftex.el (bibtex-mode-map): Declare.
200 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
203 (package-unpack, package-unpack-single): Return the pkg-dir.
204 (package-download-transaction): Use it to update package-alist.
206 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
208 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
211 2013-06-17 Juri Linkov <juri@jurta.org>
213 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
215 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
217 * emacs-lisp/package.el (package-load-descriptor):
218 Remove `with-syntax-table' call, `read' doesn't need it.
219 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
221 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
223 * startup.el (command-line): Expand package name returned by
224 `package--description-file' (bug#14639).
226 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
228 * emacs-lisp/package.el (package-load-descriptor): Do not call
229 `emacs-lisp-mode', just use its syntax table.
231 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
233 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
234 `font-lock-extra-managed-props' if any prettifying keyword is added.
235 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
236 (prog-mode): Use `setq-local'.
238 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
240 * international/characters.el (standard-case-table): Set syntax of ?»
241 and ?« to punctuation.
243 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
245 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
246 Save relevant match data before calling `syntax-ppss' (bug#14595).
248 2013-06-15 Juri Linkov <juri@jurta.org>
250 * files-x.el (modify-file-local-variable-prop-line): Add local
251 variables to the end of the existing comment on the first line.
252 Use `file-auto-mode-skip' to skip interpreter magic line,
253 and also skip XML declaration.
255 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
257 * startup.el (package--builtin-versions): New var.
258 (package-subdirectory-regexp): Remove.
259 (package--description-file): Hard code its value instead.
261 * emacs-lisp/package.el: Don't activate packages older than builtin.
262 (package-obsolete-list): Rename from package-obsolete-alist, and make
263 it into a simple list of package-desc.
264 (package-strip-version): Remove.
265 (package-built-in-p): Use package--builtin-versions.
266 (package-mark-obsolete): Simplify.
267 (package-process-define-package): Mark it obsolete if older than the
269 (package-handle-response): Use line-end-position.
270 (package-read-archive-contents, package--download-one-archive):
272 (package--add-to-archive-contents): Skip if older than the builtin or
274 (package-menu-describe-package): Fix last change.
275 (package-list-unversioned): New var.
276 (package-menu--generate): Use it.
278 * emacs-lisp/autoload.el: Manage package--builtin-versions.
279 (autoload--insert-text, autoload--insert-cookie-text): New functions.
280 (autoload-builtin-package-versions): New variable.
281 (autoload-generate-file-autoloads): Use them.
282 Remove the list of autoloaded functions/macros from the
283 (autoload...) comments.
285 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
287 2013-06-15 Eli Zaretskii <eliz@gnu.org>
289 * simple.el (line-move-partial): Don't jump to the next screen
290 line as soon as it becomes visible. Instead, continue enlarging
291 the vscroll until the portion of a tall screen line that's left on
292 display is about the height of the frame's default font.
295 2013-06-15 Glenn Morris <rgm@gnu.org>
297 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
298 compilation-error-regexp-alist void, or local while let-bound.
300 * progmodes/make-mode.el (makefile-mode-syntax-table):
301 Treat "=" as punctuation. (Bug#14614)
303 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
305 * help-fns.el (describe-variable):
306 Add extra line for permanent-local variables.
308 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
310 * progmodes/scheme.el (scheme-font-lock-keywords-2):
311 Add export, import, library. (Bug#9164)
312 (library): Set indent function.
314 2013-06-14 Glenn Morris <rgm@gnu.org>
316 * term/xterm.el (xterm--query):
317 Stop after first matching handler. (Bug#14615)
319 2013-06-14 Ivan Kanis <ivan@kanis.fr>
321 Add support for dired in saveplace.
322 * dired.el (dired-initial-position-hook): New variable.
323 (dired-initial-position): Call hook to place cursor position.
324 * saveplace.el (save-place-to-alist): Add dired position.
325 (save-place-dired-hook): New function.
327 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
329 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
330 through a symbol rather than letrec.
332 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
333 (package-desc): Add `dir' field.
334 (package-desc-full-name): New function.
335 (package-load-descriptor): Combine the two arguments. Don't use `load'.
336 (package-maybe-load-descriptor): Remove.
337 (package-load-all-descriptors): Just call package-load-descriptor.
338 (package--disabled-p): New function.
339 (package-desc-vers, package-desc-doc): Remove aliases.
340 (package--dir): Remove function.
341 (package-activate): Check if a package is disabled.
342 (package-process-define-package): New function, extracted from
344 (define-package): Turn into a place holder.
345 (package-unpack-single, package-tar-file-info):
346 Use package--description-file.
347 (package-compute-transaction): Use package--disabled-p.
348 (package-download-transaction): Don't call
349 package-maybe-load-descriptor since they're all loaded anyway.
350 (package-install): Change argument to be a pkg-desc.
351 (package-delete): Use a single pkg-desc argument.
352 (describe-package-1): Use package-desc-dir instead of package--dir.
353 Use package-desc property instead of package-symbol.
354 (package-install-button-action): Adjust accordingly.
355 (package--push): Rewrite.
356 (package-menu--print-info): Adjust accordingly. Change the ID format
358 (package-menu-describe-package, package-menu-get-status)
359 (package-menu--find-upgrades, package-menu-mark-upgrades)
360 (package-menu-execute, package-menu--name-predicate):
362 * startup.el (package--description-file): New function.
363 (command-line): Use it.
364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
365 Use package-desc-version.
367 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
368 (byte-compile-preprocess): Use it.
369 (byte-compile-file-form-defalias): Try a bit harder to use macros we
370 can't quite recognize.
371 (byte-compile-add-to-list): Remove.
372 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
373 (cconv-closure-convert): Add assertion.
375 * emacs-lisp/map-ynp.el: Use lexical-binding.
376 (map-y-or-n-p): Remove unused vars `tail' and `object'.
377 Factor out some repeated code.
379 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
381 * subr.el (with-eval-after-load): New macro.
382 (eval-after-load): Allow form to be a function.
383 take advantage of lexical-binding.
384 (do-after-load-evaluation): Use dolist and adjust to new format.
385 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
387 2013-06-13 Juri Linkov <juri@jurta.org>
389 * replace.el (perform-replace): Display "symbol " and other search
390 modes from `isearch-message-prefix' in the *Help* buffer.
392 * isearch.el (isearch-query-replace): Add " symbol" and other
393 possible search modes from `isearch-message-prefix' to the prompt.
394 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
395 when reading a regexp to collect.
397 2013-06-13 Juri Linkov <juri@jurta.org>
399 * isearch.el (word-search-regexp): Match whitespace if the search
400 string begins or ends in whitespace. The LAX arg is applied to
401 both ends of the search string. Use `regexp-quote' and explicit
402 \< and \> instead of \b. Use \` and \' instead of ^ and $.
403 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
404 boundaries are replaced with symbol boundaries, and characters
405 between symbols match non-word non-symbol syntax. (Bug#14602)
407 2013-06-13 Juri Linkov <juri@jurta.org>
409 * isearch.el (isearch-del-char): Don't exceed the length of
410 `isearch-string' by the prefix arg. (Bug#14563)
412 2013-06-13 Juri Linkov <juri@jurta.org>
414 * isearch.el (isearch-yank-word, isearch-yank-line)
415 (isearch-char-by-name, isearch-quote-char)
416 (isearch-printing-char, isearch-process-search-char):
417 Add optional count prefix arg. (Bug#14563)
419 * international/isearch-x.el
420 (isearch-process-search-multibyte-characters):
421 Add optional count prefix arg.
423 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
425 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
426 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
429 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
431 * subr.el (set-temporary-overlay-map): Add on-exit argument.
433 2013-06-13 Glenn Morris <rgm@gnu.org>
435 * startup.el (tty-handle-args):
436 Don't just discard "--" and anything after. (Bug#14608)
438 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
440 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
442 Implement changes in Secret Service API. Make it backward compatible.
443 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
444 (secrets-create-item): Use it. Prefix properties with interface.
446 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
448 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
449 (term-emulate-terminal): Respect term-suppress-hard-newline.
451 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
453 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
454 Only remove a `thumb-file' overlay. (Bug#14548)
456 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
458 * mail/reporter.el (reporter-submit-bug-report):
459 Handle missing package-name. (Bug#14600)
461 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
463 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
464 (reftex-citation-prompt, reftex-default-bibliography)
465 (reftex-bib-or-thebib, reftex-get-bibfile-list)
466 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
467 (reftex-bib-sort-author, reftex-bib-sort-year)
468 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
469 (reftex-extract-bib-entries-from-thebibliography)
470 (reftex-get-bibkey-default, reftex-get-bib-names)
471 (reftex-parse-bibtex-entry, reftex-get-bib-field)
472 (reftex-format-bib-entry, reftex-parse-bibitem)
473 (reftex-format-bibitem, reftex-do-citation)
474 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
475 (reftex-restrict-bib-matches, reftex-extract-bib-file)
476 (reftex-insert-bib-matches, reftex-format-citation)
477 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
478 (reftex-create-bibtex-file): Add docstrings, mostly by converting
479 existing comments into docstrings.
481 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
483 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
485 2013-06-12 Andreas Schwab <schwab@suse.de>
487 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
490 2013-06-12 Glenn Morris <rgm@gnu.org>
492 * ido.el (ido-delete-ignored-files): Remove.
493 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
494 Go back to calling ido-ignore-item-p directly.
496 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
498 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
500 * ido.el (ido-delete-ignored-files): New function,
501 split from ido-make-file-list-1.
502 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
503 (ido-make-file-list-1): Use ido-delete-ignored-files.
505 2013-06-12 Leo Liu <sdl.web@gmail.com>
507 * progmodes/octave.el (inferior-octave-startup)
508 (inferior-octave-completion-table)
509 (inferior-octave-track-window-width-change)
510 (octave-eldoc-function-signatures, octave-help)
511 (octave-find-definition): Use single quoted strings.
512 (inferior-octave-startup-args): Change default value.
513 (inferior-octave-startup): Do not hard code "-i" and
515 (inferior-octave-resync-dirs): Add optional arg NOERROR.
516 (inferior-octave-directory-tracker): Use it.
517 (octave-goto-function-definition): Robustify.
518 (octave-help): Support highlighting operators in 'See also'.
519 (octave-find-definition): Find subfunctions only in Octave mode.
521 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
523 * help-fns.el (help-fns--compiler-macro): If the handler function is
524 named, then put a link to it.
525 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
526 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
528 (cl-eval-when): Simplify debug spec.
529 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
530 compiler-macro function instead of setting `compiler-macro-file'.
532 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
534 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
535 * vc/vc-hooks.el (vc-stay-local): Doc fix.
537 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
538 Daniel Hackney <dan@haxney.org>
540 First part of Daniel Hackney's patch to package.el.
541 * emacs-lisp/package.el: Use defstruct.
542 (package-desc): New, main struct.
543 (package--bi-desc, package--ac-desc): New structs, used to describe the
544 format in external files.
545 (package-desc-vers): Replace with package-desc-version accessor.
546 (package-desc-doc): Replace with package-desc-summary accessor.
547 (package-activate-1): Remove `package' arg since the pkg-vec now
549 (define-package): Use package-desc-from-define.
550 (package-unpack-single): Change file-name arg to be a symbol.
551 (package--add-to-archive-contents): Use package-desc-create and new
552 accessor functions to package--ac-desc.
553 (package-buffer-info, package-tar-file-info): Return a package-desc.
554 (package-install-from-buffer): Remove `type' argument. Change pkg-info
555 arg to be a package-desc.
556 (package-install-file): Adjust accordingly. Use \' to match EOS.
557 (package--from-builtin): New function.
558 (describe-package-1, package-menu--generate): Use it.
559 (package--make-autoloads-and-compile): Change name arg to be a symbol.
560 (package-generate-autoloads): Idem and return the name of the file.
561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
562 Change pkg-info arg to be a package-desc.
563 Use package-make-ac-desc.
564 (package-upload-file): Use \' to match EOS.
565 * finder.el (finder-compile-keywords): Use package-make-builtin.
567 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
569 * vc/vc.el (vc-deduce-fileset): Change error message.
570 (vc-read-backend): New function.
571 (vc-next-action): Use it.
573 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
575 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
576 (prolog-font-lock-keywords): Use regexp-opt instead.
577 Don't manually highlight strings.
578 (prolog-mode-variables): Simplify comment-start-skip.
579 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
581 * emacs-lisp/generic.el (generic--normalise-comments)
582 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
583 (generic-mode-set-comments): Use them.
584 (generic-bracket-support): Use setq-local.
585 (generic-make-keywords-list): Declare obsolete.
587 2013-06-11 Glenn Morris <rgm@gnu.org>
589 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
590 Prettify after setting font-lock-defaults. (Bug#14574)
592 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
594 * replace.el (query-replace, occur-read-regexp-defaults-function)
596 * subr.el (declare-function, number-sequence, local-set-key)
597 (substitute-key-definition, locate-user-emacs-file)
598 (with-silent-modifications, split-string, eval-after-load):
599 Fix typos, remove unneeded backslashes and reflow some docstrings.
601 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
603 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
604 default for Elisp files.
606 2013-06-11 Glenn Morris <rgm@gnu.org>
608 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
609 although define-derived-mode was doing this anyway. (Bug#14583)
611 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
613 * allout.el (allout-encryption-plaintext-sanitization-regexps):
614 Fix make-variable-buffer-local call to refer to the correct variable.
616 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
618 * eshell/em-term.el (eshell-visual-commands)
619 (eshell-visual-subcommands, eshell-visual-options):
620 Add summary line to docstrings. Add cross-references.
622 2013-06-10 Glenn Morris <rgm@gnu.org>
624 * epa.el (epa-read-file-name): New function. (Bug#14510)
625 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
627 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
629 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
630 output redirection to be ignored with visual commands.
632 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
634 * eshell/em-term.el (eshell-visual-command-p): New function.
635 (eshell-term-initialize): Move long lambda to separate function
636 eshell-visual-command-p.
637 * eshell/em-dirs.el (eshell-dirs-initialise):
638 * eshell/em-script.el (eshell-script-initialize):
639 Add missing #' to lambda.
641 2013-06-08 Leo Liu <sdl.web@gmail.com>
643 * progmodes/octave.el (octave-add-log-current-defun): New function.
644 (octave-mode): Set add-log-current-defun-function.
645 (octave-goto-function-definition): Do not move point if not found.
646 (octave-find-definition): Enhance to try subfunctions first.
648 2013-06-08 Glenn Morris <rgm@gnu.org>
650 * emacs-lisp/bytecomp.el (byte-compile-char-before)
651 (byte-compile-backward-char, byte-compile-backward-word):
652 Improve previous change, to handle non-explicit nil.
654 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
656 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
657 (smie--opener/closer-at-point): New function.
658 (smie--matching-block-data): Use it. Don't match from right after an
659 opener or right before a closer. Obey smie-blink-matching-inners.
660 Don't signal a mismatch for repeated inners like "switch..case..case".
662 2013-06-07 Leo Liu <sdl.web@gmail.com>
664 * progmodes/octave.el (octave-mode): Set comment-use-global-state
666 (octave-function-header-regexp): Fix. (Bug#14570)
667 (octave-help-mode-finish-hook, octave-help-mode-finish):
668 Remove. Just use temp-buffer-show-hook.
670 * newcomment.el (comment-search-backward): Revert last change.
673 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
675 2013-06-07 Eli Zaretskii <eliz@gnu.org>
677 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
678 through xargs, to avoid failure due to MS-Windows limitations on
681 2013-06-06 Glenn Morris <rgm@gnu.org>
683 * font-lock.el (lisp-font-lock-keywords-2):
684 Treat user-error like error.
686 * emacs-lisp/bytecomp.el (byte-compile-char-before)
687 (byte-compile-backward-char, byte-compile-backward-word):
688 Handle explicit nil arguments. (Bug#14565)
690 2013-06-05 Alan Mackenzie <acm@muc.de>
692 * isearch.el (isearch-allow-prefix): New user option.
693 (isearch-other-meta-char): Don't exit isearch when a prefix
694 argument is typed whilst `isearch-allow-prefix' is non-nil.
697 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
699 * autorevert.el (auto-revert-notify-handler): Use memq.
700 Hide assertion failure.
702 * skeleton.el: Use cl-lib.
703 (skeleton-further-elements): Use defvar-local.
704 (skeleton-insert): Use cl-progv.
706 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
708 * progmodes/prog-mode.el (prog-prettify-symbols)
709 (prog-prettify-install): Update docstrings.
711 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
713 * simple.el: Move all the prog-mode code to prog-mode.el.
714 * progmodes/prog-mode.el: New file.
715 * loadup.el: Add prog-mode.el.
717 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
719 * simple.el (prog-prettify-symbols): Add version.
720 (prog-prettify-install): Add convenience function to prettify symbols.
722 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
723 (perl--augmented-font-lock-keywords-1)
724 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
725 variables and use it.
727 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
728 (cfengine3-mode): Remove unneeded variable and use it.
730 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
731 (lisp--augmented-font-lock-keywords-1)
732 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
733 Remove unneeded variables and use it.
735 2013-06-05 João Távora <joaotavora@gmail.com>
737 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
738 to point when opening the connection. (Bug#14380)
740 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
742 * subr.el (load-history-regexp, load-history-filename-element)
743 (eval-after-load, after-load-functions, do-after-load-evaluation)
744 (eval-next-after-load, display-delayed-warnings)
745 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
746 definition of save-match-data.
747 (overriding-local-map): Remove accidental obsolescence declaration.
749 * emacs-lisp/edebug.el (edebug-result): Move before first use.
751 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
753 Generalize symbol prettify support to prog-mode and implement it
754 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
755 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
756 (prog--prettify-font-lock-compose-symbol)
757 (prog-prettify-font-lock-symbols-keywords): New variables and
758 functions to support symbol prettification.
759 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
760 (lisp--augmented-font-lock-keywords-1)
761 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
762 (lisp--prettify-symbols-alist): Implement prettify of lambda.
763 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
764 (cfengine3--prettify-symbols-alist, cfengine3-mode):
765 Implement prettify of -> => :: strings.
766 * progmodes/perl-mode.el (perl-prettify-symbols)
767 (perl--font-lock-compose-symbol)
768 (perl--font-lock-symbols-keywords): Move to prog-mode.
769 (perl--prettify-symbols-alist): Prettify -> => :: strings.
770 (perl-font-lock-keywords-1)
771 (perl-font-lock-keywords-2): Remove explicit prettify support.
772 (perl--augmented-font-lock-keywords)
773 (perl--augmented-font-lock-keywords-1)
774 (perl--augmented-font-lock-keywords-2, perl-mode):
775 Implement prettify support.
777 2013-06-05 Leo Liu <sdl.web@gmail.com>
779 Re-implement smie matching block highlight using
780 show-paren-data-function. (Bug#14395)
781 * emacs-lisp/smie.el (smie-matching-block-highlight)
782 (smie--highlight-matching-block-overlay)
783 (smie--highlight-matching-block-lastpos)
784 (smie-highlight-matching-block)
785 (smie-highlight-matching-block-mode): Remove.
786 (smie--matching-block-data-cache): New variable.
787 (smie--matching-block-data): New function.
788 (smie-setup): Use smie--matching-block-data for
789 show-paren-data-function.
791 * progmodes/octave.el (octave-mode-menu): Fix.
792 (octave-find-definition): Skip garbage lines.
794 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
796 Fix compilation error with simultaneous dynamic+lexical scoping.
797 Add warning when a defvar appears after the first let-binding.
798 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
799 (byte-compile-close-variables): Initialize it.
800 (byte-compile--declare-var): New function.
801 (byte-compile-file-form-defvar)
802 (byte-compile-file-form-define-abbrev-table)
803 (byte-compile-file-form-custom-declare-variable): Use it.
804 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
805 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
806 (byte-compile-bind): Handle dynamic bindings that shadow
808 (byte-compile-unbind): Make arg non-optional.
809 (byte-compile-let): Simplify.
810 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
811 (cconv--analyse-function, cconv-analyse-form): Populate it.
812 Protect byte-compile-bound-variables to limit the scope of defvars.
813 (cconv-analyse-form): Add missing rule for (defvar <foo>).
814 Remove unneeded rule for `declare'.
816 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
817 so as to avoid depending on cl-adjoin at run-time.
818 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
820 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
821 (macroexp--warn-and-return): Use it.
823 2013-06-05 Leo Liu <sdl.web@gmail.com>
825 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
827 2013-06-04 Leo Liu <sdl.web@gmail.com>
829 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
830 (compilation-auto-jump): Suppress the "Mark set" message to give
833 2013-06-04 Alan Mackenzie <acm@muc.de>
835 Remove faulty optimisation from indentation calculation.
836 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
837 search limit based on 2000 characters back from indent-point.
839 2013-06-03 Tassilo Horn <tsdh@gnu.org>
841 * eshell/em-term.el (cl-lib): Require `cl-lib'.
843 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
845 * emacs-lisp/lisp.el: Use lexical-binding.
846 (lisp--local-variables-1, lisp--local-variables): New functions.
847 (lisp--local-variables-completion-table): New var.
848 (lisp-completion-at-point): Use it complete let-bound vars.
850 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
853 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
855 * autorevert.el (auto-revert-notify-enabled)
856 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
857 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
858 (auto-revert-notify-handler): Handle also gfilenotify.
860 * subr.el (file-notify-handle-event): New defun. Replacing ...
861 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
864 2013-06-03 Juri Linkov <juri@jurta.org>
866 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
867 `M-s h .'. (Bug#14427)
869 * hi-lock.el (highlight-symbol-at-point): New alias for the new
870 command `hi-lock-face-symbol-at-point'.
871 (hi-lock-face-symbol-at-point): New command.
872 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
873 (hi-lock-menu): Add `highlight-symbol-at-point'.
874 (hi-lock-mode): Doc fix.
876 * isearch.el (isearch-forward-symbol-at-point): New command.
877 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
878 (isearch-highlight-regexp): Add a regexp which matches
879 words/symbols for word/symbol mode.
881 * subr.el (find-tag-default-bounds): New function with the body
882 mostly moved from `find-tag-default'.
883 (find-tag-default): Move most code to `find-tag-default-bounds',
884 call it and apply `buffer-substring-no-properties' afterwards.
886 2013-06-03 Tassilo Horn <tsdh@gnu.org>
888 * eshell/em-term.el (eshell-term-initialize):
889 Use `cl-intersection' rather than `intersection'.
891 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
893 * vc/log-view.el: Doc fix.
894 (log-view-mode-map): Copy keymap from `special-mode-map'.
896 2013-06-02 Eric Ludlam <zappo@gnu.org>
898 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
899 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
900 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
901 (eieio-unbound, eieio-default-superclass)
902 (eieio--define-field-accessors, method-static, method-before)
903 (method-primary, method-after, method-num-lists)
904 (method-generic-before, method-generic-primary)
905 (method-generic-after, method-num-slots)
906 (eieio-specialized-key-to-generic-key)
907 (eieio--check-type, class-v, class-p)
908 (eieio-class-name, define-obsolete-function-alias)
909 (eieio-class-parents-fast, eieio-class-children-fast)
910 (same-class-fast-p, class-constructor, generic-p)
911 (generic-primary-only-p, generic-primary-only-one-p)
912 (class-option-assoc, class-option, eieio-object-p)
913 (class-abstract-p, class-method-invocation-order)
914 (eieio-defclass-autoload-map, eieio-defclass-autoload)
915 (eieio-class-un-autoload, eieio-defclass)
916 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
917 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
918 (eieio--defgeneric-init-form, eieio-defgeneric-form)
919 (eieio-defgeneric-reset-generic-form)
920 (eieio-defgeneric-form-primary-only)
921 (eieio-defgeneric-reset-generic-form-primary-only)
922 (eieio-defgeneric-form-primary-only-one)
923 (eieio-defgeneric-reset-generic-form-primary-only-one)
924 (eieio-unbind-method-implementations)
925 (eieio--defmethod, eieio--typep)
926 (eieio-perform-slot-validation, eieio-validate-slot-value)
927 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
928 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
929 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
930 (eieio-slot-name-index, eieio-class-slot-name-index)
931 (eieio-set-defaults, eieio-initarg-to-attribute)
932 (eieio-attribute-to-initarg, eieio-c3-candidate)
933 (eieio-c3-merge-lists, eieio-class-precedence-c3)
934 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
935 (eieio-class-precedence-list, eieio-generic-call-methodname)
936 (eieio-generic-call-arglst, eieio-generic-call-key)
937 (eieio-generic-call-next-method-list)
938 (eieio-pre-method-execution-functions, eieio-generic-call)
939 (eieio-generic-call-primary-only, eieiomt-method-list)
940 (eieiomt-optimizing-obarray, eieiomt-install)
941 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
942 (eieio-generic-form, eieio-defmethod, make-obsolete)
943 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
944 (defclass): Remove `eval-and-compile' from macro.
945 (call-next-method, shared-initialize): Instead of using
946 `scoped-class' variable, use new eieio--scoped-class, and
947 eieio--with-scoped-class.
948 (initialize-instance): Rename local variable 'scoped-class' to
949 'this-class' to remove ambiguitity from old global.
951 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
953 (eieio--scoped-class-stack): New variable.
954 (eieio--scoped-class): New fcn.
955 (eieio--with-scoped-class): New scoping macro.
956 (eieio-defclass): Use pushnew instead of add-to-list.
957 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
958 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
959 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
960 `scoped-class' variable, use new eieio--scoped-class, and
961 eieio--with-scoped-class.
963 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
965 2013-06-02 Tassilo Horn <tsdh@gnu.org>
967 * eshell/esh-ext.el (eshell-external-command): Pass args to
968 `eshell-find-interpreter'.
969 (eshell-find-interpreter): Add new second parameter ARGS.
971 * eshell/em-script.el (eshell-script-initialize): Add second arg
972 to the function added as MATCH to `eshell-interpreter-alist'.
974 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
975 the function added as MATCH to `eshell-interpreter-alist'.
977 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
978 (eshell-visual-options): New defcustom.
979 (eshell-escape-control-x): Adapt docstring.
980 (eshell-term-initialize): Test `eshell-visual-subcommands' and
981 `eshell-visual-options' in addition to `eshell-visual-commands'.
982 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
984 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
986 * progmodes/python.el (python-indent-block-enders): Add break,
987 continue and raise keywords.
989 2013-06-01 Glenn Morris <rgm@gnu.org>
991 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
993 Plain (f)boundp silences compilation warnings since Emacs 22.1.
994 * progmodes/cc-cmds.el (delete-forward-p):
995 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
996 * progmodes/cc-engine.el (buffer-syntactic-context):
997 * progmodes/cc-fonts.el (face-property-instance):
998 * progmodes/cc-mode.el (set-keymap-parents):
999 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
1000 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
1001 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
1002 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
1003 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
1005 * progmodes/cc-vars.el (other): Emacs has this widget since
1006 at least 21.1, so don't (re)define it.
1008 * eshell/em-cmpl.el (eshell-cmpl-initialize):
1009 Replace the obsolete alias pcomplete-arg-quote-list.
1011 2013-06-01 Leo Liu <sdl.web@gmail.com>
1013 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
1015 (inferior-octave-minimal-columns)
1016 (inferior-octave-last-column-width): New variables.
1017 (inferior-octave-track-window-width-change): New function.
1018 (inferior-octave-mode): Adjust column width so that Octave output,
1019 for example from 'ls', can fit into the window nicely.
1021 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
1023 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
1024 Highlight expansions inside regexp literals.
1026 2013-05-31 Glenn Morris <rgm@gnu.org>
1028 * obsolete/sym-comp.el (symbol-complete):
1029 Replace obsolete completion-annotate-function.
1031 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
1033 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
1035 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
1036 New function, checks if point is inside a literal that allows
1037 expression expansion.
1038 (ruby-syntax-propertize-expansion): Use it.
1039 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
1042 2013-05-30 Juri Linkov <juri@jurta.org>
1044 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
1046 (isearch-invisible): New variable.
1047 (isearch-forward): Doc fix.
1048 (isearch-mode): Set `isearch-invisible'
1049 to the value of `search-invisible'.
1050 (isearch-toggle-case-fold): Doc fix.
1051 (isearch-toggle-invisible): New command.
1052 (isearch-query-replace): Let-bind `search-invisible'
1053 to the value of `isearch-invisible'.
1054 (isearch-search): Use `isearch-invisible' instead of
1055 `search-invisible'. Let-bind `search-invisible'
1056 to the value of `isearch-invisible'. (Bug#11378)
1058 2013-05-30 Juri Linkov <juri@jurta.org>
1060 * replace.el (perform-replace): Avoid `isearch-range-invisible'
1061 call when `query-flag' is nil and `search-invisible' is non-nil.
1064 2013-05-30 Glenn Morris <rgm@gnu.org>
1066 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
1068 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
1069 (cc-require): Suppress spurious "noruntime" warnings.
1070 (cc-require-when-compile): Use fboundp, for sake of compiler.
1072 * progmodes/cc-mode.el: Move load of cc-vars before that of
1073 cc-langs (which in turn loads cc-vars), to quieten compiler.
1075 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * paren.el: Simplify the code.
1078 (show-paren-mode): Always start the timer.
1079 (show-paren--idle-timer): Rename from show-paren-idle-timer.
1080 (show-paren--overlay, show-paren--overlay-1): Rename from
1081 show-paren-overlay and show-paren-overlay-1, and initialize to an
1082 overlay rather than to nil.
1083 (show-paren-function): Misc cleanup and simplifications.
1085 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * paren.el (show-paren-data-function): New hook.
1088 (show-paren--default): New function, extracted from show-paren-function.
1089 (show-paren-function): Use show-paren-data-function.
1091 2013-05-30 Glenn Morris <rgm@gnu.org>
1093 * ielm.el (ielm-map, ielm-complete-symbol):
1094 Use completion-at-point rather than obsolete functions.
1095 (inferior-emacs-lisp-mode): Doc fix.
1096 Set completion-at-point-functions, rather than
1097 comint-dynamic-complete-functions.
1099 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
1100 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
1101 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
1103 * image.el (image-animated-p): Tweak definition.
1105 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
1106 (rlogin-process-connection-type): Tweak default. Add set-after.
1107 (rlogin-host): Doc fix.
1108 (rlogin): Tweak prompt.
1109 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
1111 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1112 * progmodes/tcl.el (inferior-tcl-mode-map):
1113 Use completion-at-point rather than obsolete alias.
1115 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
1117 * minibuffer.el (read-file-name-completion-ignore-case):
1118 Move before completion--in-region, for eager macro expansion.
1120 2013-05-29 Juri Linkov <juri@jurta.org>
1122 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
1123 for total count of matching lines. Add `global-matches' for total
1124 count of matches. Rename `matches' to `lines' for count of
1125 matching lines. Add `matches' for count of matches.
1126 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
1127 to `prev-line' for line number of prev match endpt.
1128 Increment `matches' for every match. Print the number of
1129 matching lines in the header.
1130 (occur-context-lines): Rename `lines' to `curr-line'.
1131 Rename `prev-lines' to `prev-line'. (Bug#14017)
1133 2013-05-29 Juri Linkov <juri@jurta.org>
1135 * replace.el (perform-replace): Add `skip-read-only-count',
1136 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
1137 Increment them for corresponding conditions and report the number
1138 of skipped occurrences in the final message. (Bug#11746)
1139 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1140 (replace-string, replace-regexp): Doc fix.
1142 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * emacs-lisp/trace.el (trace--read-args): Provide a default.
1146 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
1147 prog-mode-map (bug#14504).
1149 2013-05-29 Leo Liu <sdl.web@gmail.com>
1151 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
1152 (octave-help): Small simplification.
1154 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
1155 off the highlight first.
1157 2013-05-29 Glenn Morris <rgm@gnu.org>
1159 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
1160 Handle idlwave-last-system-routine-info-cons-cell being nil.
1162 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
1163 (idlwave-write-paths): Simplify via with-temp-buffer.
1165 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
1166 * emulation/cua-rect.el: Also load cua-base at run time.
1168 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
1169 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
1170 (cperl-imenu-on-info): Require imenu.
1172 2013-05-28 Alan Mackenzie <acm@muc.de>
1174 Handle "capitalised keywords" correctly.
1175 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
1177 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
1179 * eshell/em-unix.el: Add -r option to cp.
1181 2013-05-28 Glenn Morris <rgm@gnu.org>
1183 * vc/vc-arch.el (vc-exec-after): Declare.
1184 (vc-switches): Autoload.
1185 * vc/vc-bzr.el: No need to require vc when compiling.
1186 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
1187 (vc-resynch-buffer, vc-dir-refresh): Declare.
1188 (vc-setup-buffer, vc-switches): Autoload.
1189 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
1190 (vc-resynch-buffer): Declare.
1191 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
1192 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
1193 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
1194 (grep-read-regexp, grep-read-files, grep-expand-template)
1195 (vc-dir-refresh): Declare.
1196 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
1197 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
1198 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
1199 * vc/vc-mtn.el (vc-exec-after): Declare.
1200 (vc-switches): Autoload.
1201 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
1202 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
1203 (vc-file-tree-walk): Declare.
1204 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
1205 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
1206 (vc-tag-precondition, vc-rename-master): Autoload.
1207 * vc/vc-svn.el (vc-exec-after): Declare.
1208 (vc-switches, vc-setup-buffer): Autoload.
1209 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
1211 (vc-resynch-buffer): Declare.
1213 * obsolete/fast-lock.el (byte-compile-warnings):
1214 Don't warn about obsolete features in this obsolete file.
1216 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
1217 Move definition before use.
1219 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
1220 (dun-unix-verbs): Remove dun-zippy.
1221 (dun-zippy): Remove function.
1223 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
1225 2013-05-27 Juri Linkov <juri@jurta.org>
1227 * replace.el (replace-search): New function with code moved out
1228 from `perform-replace'.
1229 (replace-highlight, replace-dehighlight): Move function definitions
1230 up closer to `replace-search'. (Bug#11746)
1232 2013-05-27 Juri Linkov <juri@jurta.org>
1234 * replace.el (perform-replace): Ignore invisible matches.
1235 In addition to checking `query-replace-skip-read-only', also
1236 filter out matches by calling `run-hook-with-args-until-failure'
1237 on `isearch-filter-predicates', and also check `search-invisible'
1238 for t or call `isearch-range-invisible'.
1239 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
1241 2013-05-27 Juri Linkov <juri@jurta.org>
1243 * isearch.el (isearch-filter-predicates): Rename from
1244 `isearch-filter-predicate'. Doc fix. (Bug#11378)
1245 (isearch-message-prefix): Display text from the property
1246 `isearch-message-prefix' of the currently active filters.
1247 (isearch-search): Don't compare `isearch-filter-predicate' with
1248 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
1249 on `isearch-filter-predicates'. Also check `search-invisible' for t
1250 or call `isearch-range-invisible'.
1251 (isearch-filter-visible): Make obsolete.
1252 (isearch-lazy-highlight-search):
1253 Call `run-hook-with-args-until-failure' on
1254 `isearch-filter-predicates' and use `isearch-range-invisible'.
1256 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
1257 `isearch-filter-predicates' instead of `funcall'ing
1258 `isearch-filter-predicate'.
1259 (Info-mode): Set `Info-isearch-filter' to
1260 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
1262 * dired-aux.el (dired-isearch-filter-predicate-orig):
1264 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
1265 (dired-isearch-filenames-end): Add and remove
1266 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
1267 instead of changing the value of `isearch-filter-predicate'.
1268 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
1269 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
1270 Put property `isearch-message-prefix' to "filename " on
1271 `dired-isearch-filter-filenames'.
1273 * wdired.el (wdired-change-to-wdired-mode):
1274 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
1275 locally instead of changing `isearch-filter-predicate'.
1276 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
1278 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
1280 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
1281 return the commit hash (Bug#14459). Also set the
1282 `vc-git-detached' property.
1283 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
1284 (vc-git-mode-line-string): Use the same help-echo format whether
1285 in detached mode or not, because we know the actual revision now.
1286 When in detached mode, shorten the revision to 7 chars.
1288 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1290 * emacs-lisp/easy-mmode.el (define-minor-mode):
1291 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
1292 mode hook and provide a docstring.
1294 2013-05-27 Alan Mackenzie <acm@muc.de>
1296 Remove spurious syntax-table text properties inserted by C-y.
1297 * progmodes/cc-mode.el (c-after-change): Also clear hard
1298 syntax-table property with value nil.
1300 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
1302 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
1303 when reading the events; the buffer layout shall not be changed.
1305 2013-05-27 Leo Liu <sdl.web@gmail.com>
1307 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
1309 (inferior-octave-directory-tracker): Automatically re-sync
1311 (octave-help): Improve handling of 'See also'.
1313 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * doc-view.el: Minor naming convention tweaks.
1316 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
1318 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
1319 even if there's no `display' property yet (bug#14435).
1321 2013-05-25 Eli Zaretskii <eliz@gnu.org>
1323 * subr.el (unmsys--file-name): Rename from reveal-filename.
1325 * Makefile.in (custom-deps, finder-data, autoloads)
1326 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1327 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1328 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
1330 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
1333 error-completion on the first 2 args of condition-case (bug#14446).
1336 2013-05-25 Leo Liu <sdl.web@gmail.com>
1338 * comint.el (comint-previous-matching-input): Do not flood the
1339 *Messages* buffer with trivial messages.
1341 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * progmodes/flymake.el (flymake-nop): Don't return a string.
1344 (flymake-set-at): Fix typo.
1346 * simple.el (read--expression): New function, extracted from
1347 eval-expression. Set completion-at-point-functions (bug#14465).
1348 (eval-expression, eval-minibuffer): Use it.
1350 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
1352 * progmodes/flymake.el (flymake-save-buffer-in-file)
1353 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
1354 (flymake-selected-frame, flymake-log, flymake-ins-after)
1355 (flymake-set-at, flymake-get-buildfile-from-cache)
1356 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
1357 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
1358 Refine the doc string.
1359 (flymake-get-file-name-mode-and-masks): Reformat.
1360 (flymake-get-real-file-name-function): Fix a minor bug.
1362 2013-05-24 Juri Linkov <juri@jurta.org>
1364 * progmodes/grep.el (grep-mode-font-lock-keywords):
1365 Support =linenumber= format used by git-grep for lines with
1366 function names. (Bug#13549)
1368 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1370 * progmodes/octave.el (octave-smie-rules): Return nil rather than
1371 0 after a semi-colon; it works better for smie-auto-fill.
1372 (octave--indent-new-comment-line): New function.
1373 (octave-indent-new-comment-line): Use it (indirectly).
1374 (octave-mode): Don't disable smie-auto-fill. Use add-function to
1375 modify comment-line-break-function.
1377 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
1378 (smie-setup): Use add-function to set it.
1380 2013-05-24 Sam Steingold <sds@gnu.org>
1382 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
1383 argument (before the `interactive' argument).
1385 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * image-mode.el (image-mode-winprops): Add winprops to
1388 image-mode-winprops-alist before running
1389 image-mode-new-window-functions.
1390 * doc-view.el (doc-view-new-window-function): Don't delay
1391 doc-view-goto-page via timers (bug#14435).
1393 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1395 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1396 (doc-view-desktop-save-buffer): New function.
1397 (doc-view-restore-desktop-buffer): New function.
1398 (desktop-buffer-mode-handlers):
1399 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1401 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1402 `desktop-save-buffer' function.
1404 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1406 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1407 (tramp-gvfs-file-name-handler): Raise a user error when
1408 `tramp-gvfs-enabled' is nil.
1409 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1410 Do not raise a user error when loading package. (Bug#14447)
1412 * net/xesam.el: Move to obsolete/.
1414 2013-05-24 Glenn Morris <rgm@gnu.org>
1416 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1418 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1420 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1421 (Info-find-node, Man-getpage-in-background): Declare.
1423 * mail/unrmail.el (unrmail):
1424 Replace obsolete detect-coding-with-priority.
1426 * net/socks.el (socks-split-string): Use this rather than split-string.
1427 (socks-nslookup-host): Update for above change.
1428 (dynamic-choice, s5-dynamic-choice-match)
1429 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1430 Comment out unused code.
1432 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1433 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1434 (gud-tooltip-echo-area): Make obsolete.
1435 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1437 * progmodes/js.el (js--optimize-arglist): Declare.
1439 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1441 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1442 (ediff-window-C): Declare.
1444 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1445 Tweak requires to silence compiler.
1447 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1448 (he-search-string, he-tried-table, he-expand-list)
1449 (he-init-string, he-string-member, he-substitute-string)
1450 (he-reset-string): Declare.
1452 * obsolete/options.el (list-options): Use custom-variable-p,
1453 rather than obsolete alias.
1455 2013-05-23 Sam Steingold <sds@gnu.org>
1457 * simple.el (shell-command-on-region): Pass the `replace' argument
1458 down to `call-process-region' to comply with the doc as reported on
1459 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1461 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1463 * emacs-lisp/smie.el (smie-indent-forward-token)
1464 (smie-indent-backward-token): Handle string tokens (bug#14381).
1466 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1468 * ielm.el (ielm-menu): New menu.
1469 (inferior-emacs-lisp-mode): Set comment-start.
1471 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1473 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1474 Fix deactivate action.
1476 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1477 Add cleveref macros.
1479 * lisp/textmodes/reftex-parse.el
1480 (reftex-locate-bibliography-files): Accept options for
1481 bibliography commands.
1482 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1483 Add addbibresource. Basic Biblatex support.
1485 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1487 * net/tramp-gvfs.el (top):
1488 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1489 when loading package. (Bug#14447)
1491 2013-05-23 Glenn Morris <rgm@gnu.org>
1493 * progmodes/js.el: No need to load comint when compiling.
1494 (ring-insert, comint-send-string, comint-send-input)
1495 (comint-last-input-end, ido-chop): Declare.
1497 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1498 * vc/ediff-mult.el: Adjust requires.
1499 (ediff-directories-internal, ediff-directory-revisions-internal)
1500 (ediff-patch-file-internal): Declare.
1501 * vc/ediff-ptch.el: Adjust requires.
1502 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1503 (ediff-find-file): Autoload.
1504 * vc/ediff-util.el: No need to load ediff when compiling.
1505 (ediff-regions-internal): Declare.
1506 * vc/ediff-wind.el: Adjust requires.
1507 (ediff-compute-toolbar-width): Define when compiling.
1508 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1509 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1510 (dired-get-filename, dired-get-marked-files)
1511 (ediff-last-dir-patch, ediff-patch-default-directory)
1512 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1513 (ediff-patch-buffer-internal): Declare.
1515 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1516 (ispell-process, ispell-buffer-local-words, lm-summary)
1517 (lm-section-start, lm-section-end): Declare.
1518 (checkdoc-ispell-init): Simplify.
1520 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1521 (he-string-member, he-reset-string, he-substitute-string): Declare.
1523 * eshell/em-ls.el: Adjust requires.
1524 (eshell-glob-regexp): Declare.
1525 * eshell/em-tramp.el: Adjust requires.
1526 (eshell-parse-command): Autoload.
1527 * eshell/em-xtra.el: Adjust requires.
1528 (eshell-parse-command): Autoload.
1529 * eshell/esh-ext.el: Adjust requires.
1530 (eshell-parse-command, eshell-close-handles): Autoload.
1531 * eshell/esh-io.el: Adjust requires.
1532 (eshell-output-filter): Autoload.
1533 * eshell/esh-util.el: No need to load tramp when compiling.
1534 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1536 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1537 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1538 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1539 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1540 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1541 * eshell/esh-opt.el, eshell/esh-proc.el:
1542 * eshell/esh-var.el: Adjust requires.
1543 * eshell/eshell.el: Do not require esh-util twice.
1544 (eshell-add-input-to-history): Declare.
1545 (eshell-command): Check history module is active before using it.
1547 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1549 2013-05-22 Leo Liu <sdl.web@gmail.com>
1551 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1553 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1555 * autorevert.el (auto-revert-notify-add-watch)
1556 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1557 it indicates changes in file modification time.
1559 2013-05-22 Glenn Morris <rgm@gnu.org>
1561 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1562 Always delete the autoloaded function from the noruntime and
1563 unresolved functions lists.
1565 * allout.el: No need to load epa, epg, overlay when compiling.
1566 (epg-context-set-passphrase-callback, epg-list-keys)
1567 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1568 (epg-key-user-id-list): Declare.
1570 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1571 (viper-set-parsing-style-toggling-macro)
1572 (viper-set-emacs-state-searchstyle-macros):
1573 Use called-interactively-p on Emacs.
1574 (viper-looking-back): Make it an obsolete alias. Update callers.
1575 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1576 Use looking-back rather than viper-looking-back.
1577 (viper-tmp-insert-at-eob, viper-enlarge-region)
1578 (viper-read-string-with-history, viper-register-to-point)
1579 (viper-append-to-register, viper-change-state-to-vi)
1580 (viper-backward-char-carefully, viper-forward-char-carefully)
1581 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1582 (viper-change-state-to-emacs): Declare.
1583 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1584 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1585 * emulation/viper-mous.el: Do not load viper-cmd.
1586 (viper-backward-char-carefully, viper-forward-char-carefully)
1587 (viper-forward-word, viper-adjust-window): Declare.
1589 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1591 * progmodes/idlw-help.el (idlwave-help-fontify):
1592 Use called-interactively-p.
1594 * term/w32console.el (w32-get-console-codepage)
1595 (w32-get-console-output-codepage): Declare.
1597 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1598 Remove unnecessary declarations.
1599 (dframe-message): Doc fix.
1601 * info.el (dframe-select-attached-frame, dframe-current-frame):
1604 * speedbar.el (speedbar-message): Make it an obsolete alias.
1606 (speedbar-with-attached-buffer)
1607 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1608 (speedbar-with-writable): Use backquote.
1609 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1610 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1611 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1612 rather than speedbar- aliases.
1613 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1614 (speedbar-make-specialized-keymap, speedbar-insert-button)
1615 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1616 (speedbar-do-function-pointer): Declare.
1617 (rmail-speedbar-button, rmail-speedbar-find-file)
1618 (rmail-speedbar-move-message):
1619 Use dframe-with-attached-buffer rather than speedbar- alias.
1620 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1621 (dframe-message, speedbar-make-specialized-keymap)
1622 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1623 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1624 (speedbar-insert-button, dframe-select-attached-frame)
1625 (dframe-maybee-jump-to-attached-frame)
1626 (speedbar-change-initial-expansion-list)
1627 (speedbar-previously-used-expansion-list-name): Declare.
1628 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1629 Use dframe-message, dframe-with-attached-buffer rather than
1631 (gud-sentinel): Silence compiler.
1632 * progmodes/vhdl-mode.el (speedbar-refresh)
1633 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1634 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1635 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1636 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1637 (speedbar-file-lists, speedbar-make-tag-line)
1638 (speedbar-line-directory, speedbar-goto-this-file)
1639 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1640 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1641 (speedbar-make-button, speedbar-reset-scanners)
1642 (speedbar-files-item-info, speedbar-line-text)
1643 (speedbar-find-file-in-frame, speedbar-set-timer)
1644 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1645 (speedbar-with-writable): Do not (re)define it.
1646 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1647 rather than speedbar- alias.
1649 2013-05-21 Leo Liu <sdl.web@gmail.com>
1651 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1653 (octave-mode): Tweak fill-nobreak-predicate.
1654 (inferior-octave-startup): Check process to avoid infinite loop.
1655 (inferior-octave): Pop to buffer first to show abornmal process
1658 2013-05-21 Glenn Morris <rgm@gnu.org>
1660 * printing.el (pr-menu-bar): Define when compiling.
1662 2013-05-21 Leo Liu <sdl.web@gmail.com>
1664 * progmodes/octave.el (octave-auto-fill): Remove.
1665 (octave-indent-new-comment-line): Improve.
1666 (octave-mode): Use auto fill mode through
1667 comment-line-break-function and fill-nobreak-predicate.
1668 (octave-goto-function-definition): Support DEFUN_DLD.
1669 (octave-beginning-of-defun): Small tweak.
1670 (octave-help): Show parent directory.
1672 2013-05-21 Glenn Morris <rgm@gnu.org>
1674 * files.el (dired-unmark):
1675 * progmodes/gud.el (gdb-input): Update declarations.
1677 * calculator.el (electric, ehelp): No need to load when compiling.
1678 (Electric-command-loop, electric-describe-mode): Declare.
1680 * doc-view.el (doc-view-current-converter-processes): Move before use.
1682 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1683 Move MODE-set-explicitly definition before use.
1685 * international/mule-diag.el (mule-diag):
1686 Don't use obsolete window-system-version.
1688 * mail/feedmail.el (smtpmail): No need to load when compiling.
1689 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1691 * mail/mail-utils.el (rfc822): No need to load when compiling.
1692 (rfc822-addresses): Autoload it.
1693 (mail-strip-quoted-names): Trivial simplification.
1695 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1696 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1698 * net/snmp-mode.el (tempo): Don't duplicate requires.
1700 * progmodes/prolog.el (info): No need to load when compiling.
1701 (comint): Require before shell requires it.
1702 (Info-goto-node): Autoload it.
1703 (Info-follow-nearest-node): Declare.
1704 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1706 * textmodes/artist.el (picture-mode-exit): Declare.
1708 * textmodes/reftex-parse.el (reftex-parse-from-file):
1709 Trivial rewrite so the compiler can parse it better.
1711 2013-05-20 Leo Liu <sdl.web@gmail.com>
1713 * progmodes/octave.el (octave-help-mode-map)
1714 (octave-help-mode-finish-hook): New variables.
1715 (octave-help-mode, octave-help-mode-finish): New functions.
1716 (octave-help): Use octave-help-mode.
1718 2013-05-20 Glenn Morris <rgm@gnu.org>
1720 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1722 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1724 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1725 start at point, so that expansion starting right after opening
1726 slash in a regexp is recognized.
1727 (ruby-syntax-before-regexp-re): New defvar, extracted from
1728 ruby-syntax-propertize-function. Since the value of this regexp
1729 is looked up at runtime now, we should be able to turn
1730 `ruby-syntax-methods-before-regexp' into a defcustom later.
1731 (ruby-syntax-propertize-function): Split regexp matching into two
1732 parts, for opening and closing slashes. That allows us to skip
1733 over string interpolations and support multiline regexps.
1734 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1735 for them, which calls `ruby-syntax-propertize-expansion'.
1736 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1737 call to `ruby-syntax-propertize-function'.
1738 (ruby-syntax-propertize-expansion): Extracted from
1739 `ruby-syntax-propertize-expansions'. Handles one expansion.
1740 (ruby-syntax-propertize-percent-literal): Leave point right after
1741 the percent symbol, so that the expression expansion rule can
1742 propertize the contents.
1743 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1745 (ruby-syntax-propertize-expansions): Remove.
1747 2013-05-18 Juri Linkov <juri@jurta.org>
1749 * man.el (Man-default-man-entry): Remove `-' from the end
1750 of the default value. (Bug#14400)
1752 2013-05-18 Glenn Morris <rgm@gnu.org>
1754 * comint.el (comint-password-prompt-regexp):
1755 Allow "password for XXX" where XXX contains colons (eg https://...).
1757 2013-05-18 Leo Liu <sdl.web@gmail.com>
1759 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1760 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1761 (octave-source-directories): Don't check process.
1762 (octave-source-directories, octave-find-definition): Doc fix.
1764 2013-05-18 Glenn Morris <rgm@gnu.org>
1766 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1767 Remove backspace/delete bindings. (Bug#14392)
1769 * cus-dep.el (custom-make-dependencies): Sort the output.
1770 (custom-versions-load-alist): Convert comment to doc.
1772 2013-05-17 Leo Liu <sdl.web@gmail.com>
1774 * newcomment.el (comment-search-backward): Stricter in finding
1775 comment start. (Bug#14303)
1777 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1778 (octave-comment-start-skip): Properly anchored.
1780 2013-05-17 Leo Liu <sdl.web@gmail.com>
1782 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1783 Clean up when turned off. (Bug#14395)
1784 (smie--highlight-matching-block-overlay): No longer buffer-local.
1785 (smie-highlight-matching-block): Adjust.
1787 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1789 Doc string fix for "nanoseconds" (Bug#14406).
1790 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1791 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1793 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1795 * calc/calc-units.el (math-extract-units): Preserve powers
1798 2013-05-17 Leo Liu <sdl.web@gmail.com>
1800 * subr.el (delete-consecutive-dups): New function.
1801 * ido.el (ido-set-matches-1): Use it.
1802 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1803 * ido.el (ido-remove-consecutive-dups): Remove.
1805 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1808 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1809 regexp-opt's `words'.
1811 2013-05-16 Leo Liu <sdl.web@gmail.com>
1813 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1814 (smie--highlight-matching-block-overlay)
1815 (smie--highlight-matching-block-lastpos)
1816 (smie--highlight-matching-block-timer): New variables.
1817 (smie-highlight-matching-block): New function.
1818 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1819 (smie-setup): Conditionally enable smie-blink-matching-open.
1821 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1823 Sync with upstream verilog-mode r840.
1824 * progmodes/verilog-mode.el (verilog-mode-version)
1825 (verilog-mode-release-date): Update.
1826 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1827 (verilog-sig-tieoff): Fix string error on
1828 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1829 (verilog-read-decls): Fix parameters confusing
1830 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1832 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1834 * subr.el (reveal-filename): New function.
1836 * loadup.el: Compute Emacs executable versions on MS-Windows,
1837 where executables have the .exe extension. Add a hard link
1838 emacs-XX.YY.ZZ.exe on MS-Windows.
1840 * Makefile.in (XARGS_LIMIT): New variable.
1841 (custom-deps, finder-data, autoloads)
1842 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1843 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1844 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1845 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1847 2013-05-16 Leo Liu <sdl.web@gmail.com>
1849 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1850 (octave-mode-menu, octave-mode-map): Remove its uses.
1852 2013-05-16 Reto Zimmermann <reto@gnu.org>
1854 Sync with upstream vhdl mode v3.34.2.
1855 * progmodes/vhdl-mode.el: Use `push' throughout.
1856 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1857 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1858 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1859 (vhdl-actual-generic-name): New option to derive actual generic name.
1860 (vhdl-port-paste-signals): Replace formal by actual generics.
1861 (vhdl-beautify): New name for old group vhdl-align. Update users.
1862 (vhdl-beautify-options): New option.
1863 (vhdl-last-input-event): New compat alias. Use throughout.
1864 (vhdl-goto-line): Replace user level function `goto-line'.
1865 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1866 vhdl-fix-statement-buffer.
1867 (vhdl-create-mode-menu): Add some entries.
1868 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1869 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1870 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1871 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1872 to force statements on one line.
1873 (vhdl-remove-trailing-spaces-region):
1874 New, split from vhdl-remove-trailing-spaces.
1875 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1876 Respect vhdl-beautify-options.
1877 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1878 (vhdl-update-sensitivity-list): Not add with index if exists without.
1879 Not include array index with signal. Ignore keywords in comments.
1880 (vhdl-get-visible-signals): Regexp tweaks.
1881 (vhdl-template-component-inst): Handle empty library.
1882 (vhdl-template-type): Add template for 'enum' type.
1883 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1884 Use vhdl-replace-string.
1885 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1886 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1887 (vhdl-speedbar-initialize): Update for above name change.
1888 (vhdl-compose-wire-components): Fix in handling of constants.
1889 (vhdl-error-regexp-emacs-alist): New variable.
1890 (vhdl-error-regexp-add-emacs): New function;
1891 adds support for new compile.el (Emacs 22+)
1892 (vhdl-generate-makefile-1): Change target order for single lib. units.
1893 Allow use of absolute file names.
1895 2013-05-16 Leo Liu <sdl.web@gmail.com>
1897 * simple.el (prog-indent-sexp): Indent enclosing defun.
1899 2013-05-15 Glenn Morris <rgm@gnu.org>
1901 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1902 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1903 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1904 (whitespace-highlight): Move to whitespace group.
1906 * comint.el (comint-source):
1907 * pcmpl-linux.el (pcmpl-linux):
1908 * shell.el (shell-faces):
1909 * eshell/esh-opt.el (eshell-opt):
1910 * international/ccl.el (ccl): Remove empty custom groups.
1912 * completion.el (dynamic-completion-mode):
1913 * jit-lock.el (jit-lock-debug-mode):
1914 * minibuffer.el (completion-in-region-mode):
1915 * type-break.el (type-break-mode-line-message-mode)
1916 (type-break-query-mode):
1917 * emulation/tpu-edt.el (tpu-edt-mode):
1918 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1919 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1920 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1922 * term/xterm.el (xterm): Change parent group to terminals.
1924 * master.el (master): Remove empty custom group.
1925 (master-mode): Remove unused :group argument.
1926 * textmodes/refill.el (refill): Remove empty custom group.
1927 (refill-mode): Remove unused :group argument.
1929 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1931 * cus-dep.el: Provide a feature.
1932 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1933 Don't mistakenly ignore files whose basenames match a basename
1934 from preloaded-file-list (eg cedet/ede/simple.el).
1935 Add a fallback method for getting :group.
1937 2013-05-15 Juri Linkov <juri@jurta.org>
1939 * isearch.el (isearch-char-by-name): Rename from
1940 `isearch-insert-char-by-name'. Doc fix.
1941 (isearch-forward): Mention `isearch-char-by-name' in
1942 the docstring. (Bug#13348)
1944 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1945 `exit-minibuffer' instead of
1946 `isearch-nonincremental-exit-minibuffer'.
1947 (isearch-edit-string): Remove mention of
1948 `isearch-nonincremental-exit-minibuffer' from docstring.
1949 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1950 (isearch-forward-exit-minibuffer)
1951 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1953 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * loadup.el: Just use unversioned DOC.
1957 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1958 literals as extending to EOB.
1959 (nxml-last-fontify-end): Remove unused variable.
1960 (nxml-after-change1): Use with-silent-modifications.
1961 (nxml-extend-after-change-region): Simplify.
1962 (nxml-extend-after-change-region1): Remove function.
1963 (nxml-after-change1): Don't adjust for dependent regions.
1964 (nxml-fontify-matcher): Simplify.
1965 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1966 (xmltok-add-dependent): Remove function.
1967 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1968 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1969 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1970 unclosed <[[, <?, comment, and other literals as extending to EOB.
1971 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1972 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1974 (rng-do-some-validation-1): Don't mark dependent regions.
1975 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1976 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1977 (nxml-clear-dependent-regions): Remove functions.
1978 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1979 (nxml-ensure-scan-up-to-date):
1980 Don't clear&mark dependent regions.
1982 2013-05-15 Leo Liu <sdl.web@gmail.com>
1984 * progmodes/octave.el (octave-goto-function-definition):
1985 Improve and fix callers.
1987 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1990 the setter (bug#14387).
1992 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1993 surrounding group (bug#14402).
1995 2013-05-14 Juri Linkov <juri@jurta.org>
1997 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
2000 2013-05-14 Glenn Morris <rgm@gnu.org>
2002 * progmodes/f90.el (f90-imenu-generic-expression):
2003 Fix typo in 2013-05-08 change. (Bug#14402)
2005 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2007 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
2008 Remove signals for which replies are never received.
2010 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2012 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
2013 (gdb-handler-alist, gdb-handler-number): Remove variables.
2014 (gdb-handler-list): New variable.
2015 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
2016 (gdb-pending-handler-p, gdb-handle-reply)
2017 (gdb-remove-all-pending-triggers): New functions.
2018 (gdb-discard-unordered-replies): New defcustom.
2019 (gdb-handler): New defstruct.
2020 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
2021 instead of gdb-pending-triggers. Update docstring.
2022 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
2023 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
2024 (gdb-var-update-handler, def-gdb-auto-update-trigger)
2025 (def-gdb-auto-update-handler, gdb-get-changed-registers)
2026 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
2027 (gdb-frame-handler): Pending triggers are now automatically managed.
2028 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
2030 (gdb-input): Automatically handles pending triggers. Update docstring.
2031 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
2032 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
2034 (gdb-done-or-error): Now use gdb-handle-reply.
2036 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2038 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
2041 2013-05-14 Glenn Morris <rgm@gnu.org>
2043 * subr.el (user-emacs-directory-warning): New option.
2044 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
2046 2013-05-14 Leo Liu <sdl.web@gmail.com>
2048 * progmodes/octave.el (octave-font-lock-keywords): Fix error
2050 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
2051 (octave-font-lock-texinfo-comment): Fix invalid search bound
2052 error: wrong side of point.
2054 2013-05-14 Glenn Morris <rgm@gnu.org>
2056 * progmodes/flymake.el (flymake-xml-program): New option.
2057 (flymake-xml-init): Use it.
2059 * term/xterm.el: Provide a feature.
2061 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
2063 2013-05-13 Glenn Morris <rgm@gnu.org>
2065 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
2066 Add compat aliases as a hack workaround. (Bug#14384)
2068 2013-05-13 Leo Liu <sdl.web@gmail.com>
2070 * progmodes/octave.el (octave-indent-comment): Fix indentation for
2072 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
2074 (octave-comment-start-skip): Include %!.
2075 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2077 2013-05-12 Leo Liu <sdl.web@gmail.com>
2079 * progmodes/octave.el (inferior-octave-startup): Store the value
2080 of __octave_srcdir__ for octave-source-directories.
2081 (inferior-octave-check-process): New function refactored out of
2082 inferior-octave-send-list-and-digest.
2083 (octave-source-directories)
2084 (octave-find-definition-filename-function): New variables.
2085 (octave-source-directories)
2086 (octave-find-definition-default-filename): New functions.
2087 (octave-find-definition): Improve to find functions implemented in C++.
2089 2013-05-12 Glenn Morris <rgm@gnu.org>
2091 * calendar/diary-lib.el (diary-outlook-format-1):
2092 Don't include dayname in the output. (Bug#14349)
2094 2013-05-11 Glenn Morris <rgm@gnu.org>
2096 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
2098 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
2099 Treat cc-provide like provide.
2101 2013-05-11 Kevin Ryde <user42@zip.com.au>
2103 * cus-dep.el (custom-make-dependencies):
2104 Use generated-autoload-load-name for the sake of files such
2105 such cedet/semantic/bovine/c.el, where the base file name
2106 is not in load-path. (Bug#5277)
2108 2013-05-11 Glenn Morris <rgm@gnu.org>
2110 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
2113 2013-05-11 Leo Liu <sdl.web@gmail.com>
2115 * progmodes/octave.el (octave-indent-comment): Improve.
2116 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
2117 (octave-eldoc-function-signatures, octave-eldoc-function):
2119 (octave-mode, inferior-octave-mode): Add eldoc support.
2121 2013-05-11 Richard Stallman <rms@gnu.org>
2123 * epa.el (epa-decrypt-file): Take output file name as argument
2124 and read it using `interactive'.
2126 2013-05-11 Leo Liu <sdl.web@gmail.com>
2128 * progmodes/octave.el (octave-beginning-of-line)
2129 (octave-end-of-line): Check before using up-list because it jumps
2130 out of more syntactic contructs since moving to smie.
2131 (octave-indent-comment): New function.
2132 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
2133 (octave-begin-keywords, octave-end-keywords)
2134 (octave-reserved-words, octave-smie-bnf-table)
2135 (octave-smie-rules): Add new keywords from Octave 3.6.4.
2137 2013-05-11 Glenn Morris <rgm@gnu.org>
2139 * faces.el (internal-face-x-get-resource):
2140 * frame.el (ns-display-monitor-attributes-list):
2141 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
2143 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
2145 * calc/calc-menu.el: Make it loadable in isolation.
2147 * net/eudcb-bbdb.el: Make it loadable without bbdb.
2148 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
2149 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
2150 (eudc-bbdb-query-internal): Require 'bbdb.
2152 * lpr.el (lpr-headers-switches):
2153 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
2155 * progmodes/sql.el (sql-login-params): Fix and improve :type.
2157 * emulation/edt-mapper.el: In batch mode, error rather than hang.
2159 * term.el (term-set-escape-char): Make it idempotent.
2161 2013-05-10 Leo Liu <sdl.web@gmail.com>
2163 * progmodes/octave.el (inferior-octave-completion-table):
2164 No longer a function and all uses changed. Use cache to speed up
2165 completion due to bug#11906.
2166 (octave-beginning-of-defun): Re-write to be more general.
2168 2013-05-10 Glenn Morris <rgm@gnu.org>
2170 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
2172 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * comint.el (comint-redirect-send-command-to-process): Use :around
2175 rather than :override for comint-redirect-filter.
2176 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
2177 Call it instead of comint-redirect-original-filter-function (which
2178 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
2180 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
2182 * frame.el (display-monitor-attributes-list): Add NS case.
2183 (ns-display-monitor-attributes-list): Declare.
2185 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
2187 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
2189 2013-05-09 Glenn Morris <rgm@gnu.org>
2191 * international/fontset.el (vertical-centering-font-regexp):
2194 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
2196 * bookmark.el (bookmark-search-delay):
2197 * cus-start.el (vertical-centering-font-regexp):
2198 * ps-mule.el (ps-mule-font-info-database-default):
2199 * ps-print.el (ps-default-fg, ps-default-bg):
2200 * type-break.el (type-break-good-break-interval):
2201 * whitespace.el (whitespace-indentation-regexp)
2202 (whitespace-space-after-tab-regexp):
2203 * emacs-lisp/testcover.el (testcover-1value-functions)
2204 (testcover-noreturn-functions, testcover-progn-functions)
2205 (testcover-prog1-functions):
2206 * emulation/viper-init.el (viper-emacs-state-cursor-color):
2207 * eshell/em-glob.el (eshell-glob-translate-alist):
2208 * play/tetris.el (tetris-tty-colors):
2209 * progmodes/cpp.el (cpp-face-default-list):
2210 * progmodes/flymake.el (flymake-allowed-file-name-masks):
2211 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
2212 (idlwave-help-browser-generic-args):
2213 * progmodes/make-mode.el (makefile-special-targets-list):
2214 * progmodes/python.el (python-shell-virtualenv-path):
2215 * progmodes/verilog-mode.el (verilog-active-low-regexp)
2216 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
2217 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
2218 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
2219 * textmodes/reftex-vars.el (reftex-format-label-function):
2220 * textmodes/remember.el (remember-diary-file): Fix custom types.
2222 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
2225 2013-05-09 Leo Liu <sdl.web@gmail.com>
2227 * progmodes/octave.el (inferior-octave-completion-at-point):
2228 Restore file completion. (Bug#14300)
2229 (inferior-octave-startup): Fix incorrect highlighting for the
2232 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * progmodes/ruby-mode.el: First cut at SMIE support.
2235 (ruby-use-smie): New var.
2236 (ruby-smie-grammar): New constant.
2237 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
2238 (ruby-smie--forward-token, ruby-smie--backward-token)
2239 (ruby-smie-rules): New functions.
2240 (ruby-mode-variables): Setup SMIE if applicable.
2242 2013-05-08 Eli Zaretskii <eliz@gnu.org>
2244 * simple.el (line-move-visual): Signal beginning/end of buffer
2245 only if vertical-motion moved less than it was requested. Avoids
2246 silly incorrect error messages when there are display strings with
2247 multiple newlines at EOL.
2249 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
2252 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
2253 (prolog-char-quote-workaround):
2254 * progmodes/cperl-mode.el (cperl-under-as-char):
2255 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
2257 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
2259 (vhdl-mode-syntax-table-init): Remove.
2261 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
2264 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
2266 (ld-script-font-lock-keywords):
2267 Change regexps to use things like \_< and \_>.
2269 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
2270 Change all regexps to use things like \_< and \_>.
2272 * progmodes/autoconf.el (autoconf-definition-regexp)
2273 (autoconf-font-lock-keywords, autoconf-current-defun-function):
2274 Handle a _ with symbol syntax.
2275 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
2277 * progmodes/ada-mode.el (ada-mode-abbrev-table):
2278 Consolidate declaration.
2279 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
2281 (ada-create-syntax-table): Remove.
2282 (ada-capitalize-word): Don't mess with the syntax of "_" since it
2283 already has the right syntax nowadays.
2284 (ada-goto-next-word): Don't change the syntax of "_".
2286 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
2289 2013-05-08 Sam Steingold <sds@gnu.org>
2291 * thingatpt.el (thing-at-point): Accept optional second argument
2292 NO-PROPERTIES to strip the text properties from the return value.
2293 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
2294 to `thing-at-point' instead of stripping the properties ourselves.
2295 Also, when `thing-at-point' fails to find a url, prepend "http://"
2296 to the filename at point on the assumption that the user is
2297 pointing at something like gnu.org/gnu.
2299 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
2301 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2302 * faces.el (crm-separator):
2303 Silence byte-compiler.
2305 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
2306 (tool-bar-map): Remove unneeded defvars.
2308 2013-05-08 Leo Liu <sdl.web@gmail.com>
2310 Re-work a fix for bug#10994 based on Le Wang's patch.
2311 * ido.el (ido-remove-consecutive-dups): New helper.
2312 (ido-completing-read): Use it.
2313 (ido-chop): Revert fix for bug#10994.
2315 2013-05-08 Adam Spiers <emacs@adamspiers.org>
2317 * cus-edit.el (custom-save-variables):
2318 Pretty-print long values. (Bug#14187)
2320 2013-05-08 Glenn Morris <rgm@gnu.org>
2322 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
2323 (m4-mode-syntax-table): Init in the defvar.
2324 (m4-mode-abbrev-table): Let define-derived-mode define it.
2326 2013-05-08 Tom Tromey <tromey@redhat.com>
2328 * progmodes/m4-mode.el (m4-mode-syntax-table):
2329 Do not treat "_" as word constituent. (Bug#14167)
2331 2013-05-07 Glenn Morris <rgm@gnu.org>
2333 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
2334 Remove explicit eshell-isearch-cancel-map.
2336 * progmodes/f90.el (f90-smart-end-names): New option.
2337 (f90-smart-end): Doc fix.
2338 (f90-end-block-optional-name): New constant.
2339 (f90-block-match): Respect f90-smart-end-names.
2341 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2343 * progmodes/octave.el (octave-smie-forward-token): Be more careful
2344 about implicit semi-colons (bug#14218).
2346 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2348 * frame.el (display-monitor-attributes-list)
2349 (frame-monitor-attributes): New functions.
2351 2013-05-06 Leo Liu <sdl.web@gmail.com>
2353 * progmodes/octave.el (octave-syntax-propertize-function): Change
2354 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
2355 (octave-font-lock-keywords): Use octave-operator-regexp.
2356 (octave-completion-at-point): Rename from
2357 octave-completion-at-point-function.
2358 (inferior-octave-directory-tracker): Robustify.
2359 (octave-text-functions): Remove and fix its uses. No such things
2362 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * emacs-lisp/trace.el (trace--display-buffer): New function.
2365 (trace-make-advice): Use it.
2367 2013-05-06 Juri Linkov <juri@jurta.org>
2369 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
2370 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
2372 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
2373 in the help string. (Bug#12985)
2375 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2377 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
2379 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * progmodes/perl-mode.el: Add support for here documents.
2382 (perl-syntax-propertize-function): Match here-doc markers.
2383 (perl-syntax-propertize-special-constructs): Find their end.
2384 (perl-imenu-generic-expression): Use [:alnum:].
2386 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2387 (advice--add-function): Refresh the advice if already present
2390 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2392 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2394 2013-05-06 Glenn Morris <rgm@gnu.org>
2396 * w32-fns.el (w32-charset-info-alist): Declare.
2398 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2399 of its defcustom properties.
2400 (eshell-cmpl-initialize): No need to load pcomplete.
2402 * generic-x.el: No need to require comint when compiling.
2404 * net/eudc-export.el: Make it loadable without bbdb.
2405 (top-level): Use require rather than load-library.
2406 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2407 (eudc-batch-export-records-to-bbdb)
2408 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2411 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2413 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2414 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2415 some tweaks, instead.
2417 2013-05-05 Leo Liu <sdl.web@gmail.com>
2419 * progmodes/octave.el (octave-font-lock-keywords)
2420 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2421 (inferior-octave-send-list-and-digest): Improve error message.
2422 (octave-mode, inferior-octave-mode): Use setq-local.
2423 (octave-help): Set info-lookup-mode.
2425 2013-05-05 Richard Stallman <rms@gnu.org>
2427 * vc/compare-w.el (compare-windows-whitespace):
2428 Treat no-break space as whitespace.
2430 * mail/rmailsum.el (rmail-summary-rmail-update):
2431 Detect empty summary and don't change selected message.
2432 (rmail-summary-goto-msg): Likewise.
2434 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2435 Doc fixes, rename args.
2437 2013-05-05 Alan Mackenzie <acm@muc.de>
2439 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2441 2013-05-05 Juri Linkov <juri@jurta.org>
2443 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2444 to not add the length of the summary segment to the return value.
2447 2013-05-05 Leo Liu <sdl.web@gmail.com>
2449 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2450 (inferior-octave-output-filter): Remove.
2451 (octave-send-region, inferior-octave-startup): Fix callers.
2452 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2453 (octave-binary-file-extensions): New user variable.
2454 (octave-find-definition): Confirm if opening binary files.
2455 (octave-help-file): Use octave-find-definition to get the binary
2457 (octave-help): Adjust for octave-help-file change.
2459 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2462 Merge the two entries that handle function definitions.
2463 (pascal--syntax-propertize): New const.
2464 (pascal-mode): Use it. Use setq-local.
2466 2013-05-04 Glenn Morris <rgm@gnu.org>
2468 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2469 (diary-from-outlook): Respect diary-from-outlook-function.
2471 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2474 Move the declaration from C.
2475 (read-minibuffer, eval-minibuffer): Move from C.
2476 (completion-setup-function): Avoid minibuffer-completion-contents.
2478 2013-05-03 Leo Liu <sdl.web@gmail.com>
2480 * progmodes/octave.el (octave-font-lock-keywords): Do not
2481 dehighlight 'end' in comments or strings.
2482 (octave-completing-read, octave-goto-function-definition):
2484 (octave-help-buffer): New user variable.
2485 (octave-help-file, octave-help-function): New button types.
2486 (octave-help): New command and bind it to C-h ;.
2487 (octave-find-definition): New command and bind it to M-.
2488 (user-error): Alias to error if not defined.
2490 2013-05-02 Leo Liu <sdl.web@gmail.com>
2492 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2494 (octave-font-lock-keywords): Include [ and {.
2496 2013-05-02 Leo Liu <sdl.web@gmail.com>
2498 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2499 (inferior-octave): Remove calling comint-mode and return the buffer.
2500 (inferior-octave-startup): Cosmetic changes.
2502 2013-05-02 Leo Liu <sdl.web@gmail.com>
2504 * progmodes/octave.el (octave-syntax-propertize-function):
2505 Include the case when ' is at line beginning. (Bug#14336)
2507 2013-05-02 Glenn Morris <rgm@gnu.org>
2509 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2510 * desktop.el (vc-dir-mode): Just autoload it here.
2512 2013-05-02 Alan Mackenzie <acm@muc.de>
2514 Eliminate variable c-standard-font-lock-fontify-region-function.
2515 * progmodes/cc-mode.el
2516 (c-standard-font-lock-fontify-region-function): Remove.
2517 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2519 2013-05-01 Leo Liu <sdl.web@gmail.com>
2521 * progmodes/octave.el: Compatible with older emacs-24 releases.
2522 (inferior-octave-has-built-in-variables): Remove. Built-in
2523 variables were removed from Octave in 2007.
2524 (inferior-octave-startup): Fix uses.
2525 (comint-line-beginning-position): Remove compatibility code for
2528 2013-05-01 Juri Linkov <juri@jurta.org>
2530 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2532 2013-05-01 Juri Linkov <juri@jurta.org>
2534 * comint.el (comint-previous-matching-input): Don't print message
2535 "History item: %d" when `isearch-mode' is active.
2536 (comint-history-isearch-message): Print message "History item: %d"
2537 when `comint-input-ring-index' is not empty and this function is
2538 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2540 2013-05-01 Leo Liu <sdl.web@gmail.com>
2542 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2543 definitions. Use completion-at-point to insert keywords.
2544 (octave-abbrev-start): Remove.
2545 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2547 2013-04-30 Leo Liu <sdl.web@gmail.com>
2549 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2552 2013-04-30 Alan Mackenzie <acm@muc.de>
2554 Handle arbitrarily long C++ member initialisation lists.
2555 * progmodes/cc-engine.el (c-back-over-member-initializers):
2557 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2558 (most) member init lists.
2560 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2562 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2565 2013-04-30 Leo Liu <sdl.web@gmail.com>
2567 * progmodes/octave.el (octave-variables): Remove. No builtin
2568 variables any more. All converted to functions.
2569 (octave-font-lock-keywords, octave-completion-at-point-function):
2571 (octave-font-lock-texinfo-comment): New user variable.
2572 (octave-texinfo-font-lock-keywords): New variable for texinfo
2574 (octave-function-comment-block): New face.
2575 (octave-font-lock-texinfo-comment): New function.
2576 (octave-mode): Font lock texinfo comment block.
2578 2013-04-29 Leo Liu <sdl.web@gmail.com>
2580 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2581 indexing expression.
2582 (octave-continuation-string): Do not use \.
2583 (inferior-octave-complete-impossible): Remove.
2584 (inferior-octave-completion-table)
2585 (inferior-octave-completion-at-point): Remove its uses.
2586 (inferior-octave-startup): completion_matches was introduced to
2587 Octave in 1996 so safe to assume it.
2588 (octave-function-file-comment): Improve to follow how Octave does it.
2589 (octave-update-function-file-comment): Tweak.
2591 2013-04-29 Leo Liu <sdl.web@gmail.com>
2593 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2594 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2595 (octave-function-file-comment): Fix typo.
2596 (octave-sync-function-file-names): Use read-char-choice.
2598 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2600 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2601 to t for the less important warnings.
2603 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2605 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2607 2013-04-27 Glenn Morris <rgm@gnu.org>
2609 * vc/log-view.el (log-view-current-entry):
2610 Treat "---" separator lines as part of the following rev. (Bug#14169)
2612 2013-04-27 Juri Linkov <juri@jurta.org>
2614 * subr.el (read-number): Doc fix about using it by interactive
2615 code letter `n'. (Bug#14254)
2617 2013-04-27 Juri Linkov <juri@jurta.org>
2619 * desktop.el (desktop-auto-save-timeout): New option.
2620 (desktop-file-checksum): New variable.
2621 (desktop-save): Add optional arg `auto-save' and don't auto-save
2623 (desktop-auto-save-timer): New variable.
2624 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2625 (after-init-hook): Call `desktop-auto-save-set-timer'.
2626 Suggested by Reuben Thomas <rrt@sc3d.org> in
2627 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2629 2013-04-27 Leo Liu <sdl.web@gmail.com>
2631 * progmodes/octave.el (octave-function-file-p)
2632 (octave-skip-comment-forward, octave-function-file-comment)
2633 (octave-update-function-file-comment): New functions.
2634 (octave-mode-map): Bind C-c ; to
2635 octave-update-function-file-comment.
2636 (octave-mode-menu): Add octave-update-function-file-comment.
2637 (octave-mode, inferior-octave-mode): Fix doc-string.
2638 (octave-insert-defun): Conform to Octave's coding convention.
2641 * files.el (basic-save-buffer): Don't let errors in
2642 before-save-hook prevent saving buffer.
2644 2013-04-20 Roland Winkler <winkler@gnu.org>
2646 * faces.el (read-face-name): Use completing-read if arg multiple
2649 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2651 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2652 displayed, move point to after the totals line.
2653 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2656 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2659 Add current dir to the load-path.
2660 (package-generate-autoloads): Don't rely on
2661 autoload-ensure-default-file.
2663 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2665 * textmodes/remember.el (remember-store-in-files): Document that
2666 the file name format is passed to `format-time-string'.
2668 2013-04-26 Leo Liu <sdl.web@gmail.com>
2670 * progmodes/octave.el (octave-sync-function-file-names): New function.
2671 (octave-mode): Use it in before-save-hook.
2673 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2678 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2679 \n and comment, even if it's not an implicit ; (bug#14218).
2681 2013-04-26 Glenn Morris <rgm@gnu.org>
2683 * subr.el (read-number): Once more use `read' rather than
2684 `string-to-number', to trap non-numeric input. (Bug#14254)
2686 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2688 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2689 Use `syntax-multiline' text property consistently instead of
2690 `font-lock-multiline'. (Bug#14237)
2692 2013-04-26 Glenn Morris <rgm@gnu.org>
2694 * emacs-lisp/shadow.el (list-load-path-shadows):
2695 No longer necessary to check for duplicate simple.el, since
2696 2012-07-07 change to init_lread to not include installation lisp
2697 directories in load-path when running uninstalled. (Bug#14270)
2699 2013-04-26 Leo Liu <sdl.web@gmail.com>
2701 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2702 (octave-mode, inferior-octave-mode): Use setq-local.
2703 (octave-not-in-string-or-comment-p): Rename to
2704 octave-in-string-or-comment-p.
2705 (octave-in-comment-p, octave-in-string-p)
2706 (octave-in-string-or-comment-p): Replace defsubst with defun.
2708 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2710 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2712 2013-04-25 Bastien Guerry <bzg@gnu.org>
2714 * textmodes/remember.el (remember-data-directory)
2715 (remember-directory-file-name-format): Fix custom types.
2717 2013-04-25 Leo Liu <sdl.web@gmail.com>
2719 * progmodes/octave.el (octave-completion-at-point-function):
2720 Make use of inferior octave process.
2721 (octave-initialize-completions): Remove.
2722 (inferior-octave-completion-table): New function.
2723 (inferior-octave-completion-at-point): Use it.
2724 (octave-completion-alist): Remove.
2726 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2728 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2729 (opascal-mode-syntax-table): New var.
2730 (opascal-literal-kind, opascal-is-literal-end)
2731 (opascal-literal-token-at): Rewrite.
2732 (opascal--literal-start-re, opascal-font-lock-keywords)
2733 (opascal--syntax-propertize): New constants.
2734 (opascal-font-lock-defaults): Adjust.
2735 (opascal-mode): Use them. Set comment-<foo> variables as well.
2736 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2737 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2738 (delphi-other-face, opascal-other-face): Remove face variables.
2739 (opascal-save-state): Remove macro.
2740 (opascal-fontifying-progress-step): Remove constant.
2741 (opascal--ignore-changes): Remove var.
2742 (opascal-set-token-property, opascal-parse-next-literal)
2743 (opascal-is-stable-literal, opascal-complete-literal)
2744 (opascal-is-literal-start, opascal-face-of)
2745 (opascal-parse-region, opascal-parse-region-until-stable)
2746 (opascal-fontify-region, opascal-after-change)
2747 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2748 (opascal-debug-parse-region, opascal-debug-parse-window)
2749 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2750 (opascal-debug-fontify-buffer): Remove.
2751 (opascal-debug-mode-map): Adjust accordingly.
2753 2013-04-25 Leo Liu <sdl.web@gmail.com>
2755 Merge octave-mod.el and octave-inf.el into octave.el with some
2757 * progmodes/octave.el: New file renamed from octave-mod.el.
2758 * progmodes/octave-inf.el: Merged into octave.el.
2759 * progmodes/octave-mod.el: Renamed to octave.el.
2761 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2763 * textmodes/reftex-vars.el
2764 (reftex-label-ignored-macros-and-environments): New defcustom.
2766 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2768 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2771 (smie-indent-keyword): Improve the check to ensure that the next
2772 comment is really on the same line.
2773 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2775 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2776 semi-colons if the line is not otherwise empty (bug#14218).
2778 2013-04-25 Glenn Morris <rgm@gnu.org>
2780 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2782 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * progmodes/opascal.el (opascal-set-token-property): Rename from
2785 opascal-set-text-properties and only set `token' (bug#14134).
2786 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2787 (opascal-literal-text-properties): Remove.
2788 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2791 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2793 * textmodes/remember.el (remember-handler-functions): Add an
2794 option for a new handler `remember-store-in-files'.
2795 (remember-data-directory, remember-directory-file-name-format):
2797 (remember-store-in-files): New function to store remember notes
2798 as separate files within a directory.
2800 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2802 * progmodes/compile.el (compilation-next-error-function):
2803 Pass "formats" to compilation-find-file (bug#11777).
2805 2013-04-24 Glenn Morris <rgm@gnu.org>
2807 * vc/vc-bzr.el (vc-bzr-print-log):
2808 * vc/vc-hg.el (vc-hg-print-log):
2809 * vc/vc-svn.el (vc-svn-print-log):
2810 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2812 * vc/vc-bzr.el (vc-bzr-print-log):
2813 * vc/vc-cvs.el (vc-cvs-print-log):
2814 * vc/vc-git.el (vc-git-print-log):
2815 * vc/vc-hg.el (vc-hg-print-log):
2816 * vc/vc-mtn.el (vc-mtn-print-log):
2817 * vc/vc-rcs.el (vc-rcs-print-log):
2818 * vc/vc-sccs.el (vc-sccs-print-log):
2819 * vc/vc-svn.el (vc-svn-print-log):
2820 * vc/vc.el (vc-print-log-internal): Doc fixes.
2822 2013-04-23 Glenn Morris <rgm@gnu.org>
2824 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2825 Remove venerable code attempting to avoid substitute-command-keys.
2827 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2829 * textmodes/reftex-vars.el (reftex-label-regexps):
2830 Call `reftex-compile-variables' after changes to this variable.
2832 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2834 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2835 Use lexical-binding.
2836 (jit-lock-force-redisplay): Use markers, check buffer's continued
2837 existence and beware narrowed buffers.
2838 (jit-lock-fontify-now): Adjust call accordingly.
2840 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2842 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2843 to avoid misleading the user.
2845 2013-04-22 Leo Liu <sdl.web@gmail.com>
2847 * info-look.el: Prefer latex2e.info. (Bug#14240)
2849 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2851 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2853 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2854 * net/tramp.el (tramp-call-process): ... here.
2855 (tramp-set-completion-function, tramp-parse-putty):
2856 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2857 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2858 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2859 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2860 (tramp-call-local-coding-command): Use `tramp-call-process'
2861 instead of `tramp-compat-call-process'.
2863 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2864 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2865 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2866 (tramp-find-inline-compress): Improve traces.
2867 (tramp-maybe-send-script): Check for Perl binary.
2868 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2870 2013-04-22 Daiki Ueno <ueno@gnu.org>
2872 * epg.el (epg-context-pinentry-mode): New function.
2873 (epg-context-set-pinentry-mode): New function.
2874 (epg--start): Pass --pinentry-mode option to gpg command.
2876 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2878 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2879 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2880 `completion-at-point'. (Bug#13774)
2882 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2883 default key binding for `describe-distribution' has been moved to
2884 `C-h C-o'. (Bug#13970)
2886 2013-04-21 Glenn Morris <rgm@gnu.org>
2888 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2890 (vc-print-log): Clarify interactive prompt.
2892 2013-04-20 Glenn Morris <rgm@gnu.org>
2894 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2895 No longer include timestamp etc information.
2897 2013-04-20 Roland Winkler <winkler@gnu.org>
2899 * faces.el (read-face-name): Bug fix, return just one face if arg
2900 multiple is nil. (Bug#14209)
2902 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2904 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2905 (remove-function): Autoload.
2907 * comint.el (comint-redirect-original-filter-function): Remove.
2908 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2909 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2910 (vc-cvs-annotate-command):
2911 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2912 * progmodes/prolog.el (prolog-consult-compile):
2913 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2914 Use add/remove-function instead.
2915 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2916 (gud-tooltip-process-output, gud-tooltip-tips):
2917 Use add/remove-function instead.
2918 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2919 (scheme-interaction-mode, exit-scheme-interaction-mode):
2920 Use add/remove-function instead.
2922 * vc/vc-dispatcher.el: Use lexical-binding.
2923 (vc--process-sentinel): Rename from vc-process-sentinel.
2924 Change last arg to be the code to run. Don't use vc-previous-sentinel
2925 and vc-sentinel-commands any more.
2926 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2927 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2929 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2931 * progmodes/sh-script.el (sh-imenu-generic-expression):
2932 Handle function names with a single character. (Bug#14111)
2934 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2936 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2937 for subroutines defined in an eval (bug#14182).
2939 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2941 * bookmark.el (bookmark-completing-read): Improve handling of empty
2944 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2946 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2948 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2950 New faster Imenu implementation (bug#14058).
2951 * progmodes/python.el:
2952 (python-imenu-prev-index-position):
2953 (python-imenu-format-item-label-function)
2954 (python-imenu-format-parent-item-label-function)
2955 (python-imenu-format-parent-item-jump-label-function):
2957 (python-imenu-format-item-label)
2958 (python-imenu-format-parent-item-label)
2959 (python-imenu-format-parent-item-jump-label)
2960 (python-imenu--put-parent, python-imenu--build-tree)
2961 (python-imenu-create-index, python-imenu-create-flat-index)
2962 (python-util-popn): New functions.
2963 (python-mode): Set imenu-create-index-function to
2964 python-imenu-create-index.
2966 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * winner.el (winner-active-region): Use region-active-p, activate-mark
2969 and deactivate-mark (bug#14225).
2971 * simple.el (deactivate-mark): Don't inline it.
2973 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2975 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2977 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2979 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2980 file extensions from the archive-mode entry in order to prefer
2981 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2983 2013-04-18 Leo Liu <sdl.web@gmail.com>
2985 * bindings.el (help-event-list): Add ?\?.
2987 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2989 * subr.el (with-wrapper-hook): Declare obsolete.
2990 * simple.el (filter-buffer-substring-function): New hook.
2991 (filter-buffer-substring): Use it.
2992 (filter-buffer-substring-functions): Mark obsolete.
2993 * minibuffer.el (completion-in-region-function): New hook.
2994 (completion-in-region): Use it.
2995 (completion-in-region-functions): Mark obsolete.
2996 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2997 * abbrev.el (abbrev-expand-function): New hook.
2998 (expand-abbrev): Use it.
2999 (abbrev-expand-functions): Mark obsolete.
3000 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
3003 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
3005 * progmodes/python.el (python-nav--syntactically): Fix cornercases
3006 and do not care about match data.
3008 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
3011 completion tables when completing error conditions and
3012 `declare' arguments.
3013 (lisp-complete-symbol, field-complete): Mark as obsolete.
3014 (check-parens): Unmatched parens are user errors.
3015 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
3017 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
3019 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
3020 command changed buffer (ie. `flyspell-pre-buffer' is not current
3021 buffer), which prevents making decisions based on invalid value of
3022 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
3023 cause an error when `flyspell-pre-point' was nil after switching
3025 (flyspell-post-command-hook): No longer needs to change buffers when
3026 checking pre-word. While at it remove unnecessary progn.
3028 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3030 * textmodes/ispell.el (ispell-add-per-file-word-list):
3031 Fix `flyspell-correct-word-before-point' error when accepting
3032 words and `coment-padding' is an integer by using
3033 `comment-normalize-vars' (Bug #14214).
3035 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
3037 New defun movement commands.
3038 * progmodes/python.el (python-nav--syntactically)
3039 (python-nav--forward-defun, python-nav-backward-defun)
3040 (python-nav-forward-defun): New functions.
3042 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
3044 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
3045 (python-syntax-context): Use named compiler-macro for backwards
3046 compatibility with Emacs 24.x.
3048 2013-04-17 Leo Liu <sdl.web@gmail.com>
3050 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
3051 octave-hide-process-buffer.
3053 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3055 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
3058 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
3060 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
3061 Fix adjustment of offset when receiving incomplete responses from GDB
3064 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
3067 python-mode-abbrev-table.
3068 (python-skeleton-define): Adjust accordingly.
3069 (python-mode-abbrev-table): New table that inherits from it so that
3070 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
3072 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
3073 (abbrev-symbol): Use it.
3074 (abbrev--before-point): Use it since we already handle inheritance.
3076 2013-04-16 Leo Liu <sdl.web@gmail.com>
3078 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
3079 binding to info-lookup-symbol.
3081 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
3083 * minibuffer.el (completion--twq-all):
3084 * term/ns-win.el (ns-initialize-window-system):
3085 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
3087 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
3092 * doc-view.el (doc-view-start-process): Handle url-handler directories.
3094 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
3096 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
3097 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
3099 (ruby-end-of-defun): Remove the unused arg, change the docstring
3100 to reflect that this function is only used as the value of
3101 `end-of-defun-function'.
3102 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
3103 to reflect an earlier change that beginning/end-of-defun functions
3104 jump between methods in a class definition, as well as top-level
3107 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3109 * minibuffer.el (minibuffer-complete): Don't just scroll
3110 a *Completions* that's been iconified.
3111 (minibuffer-force-complete): Make sure repetitions do cycle when going
3112 through completion-in-region -> minibuffer-complete.
3114 2013-04-15 Alan Mackenzie <acm@muc.de>
3116 Correct the placement of c-cpp-delimiters when there're #s not at
3119 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
3120 place a submatch around the #.
3121 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
3122 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
3125 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * emacs-lisp/nadvice.el: Properly test names when adding advice.
3128 (advice--member-p): New arg `name'.
3129 (advice--add-function, advice-member-p): Use it (bug#14202).
3131 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
3133 Reformulate java imenu-generic-expression.
3134 The old expression contained ill formed regexps.
3136 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
3137 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
3138 (cc-imenu-java-method-arg-regexp): New defconsts.
3139 (cc-imenu-java-build-type-args-regex): New defun.
3140 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
3141 handling of spaces in the regexp.
3143 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3145 * textmodes/ispell.el (ispell-command-loop): Remove
3146 flyspell highlight of a word when ispell accepts it (bug #14178).
3148 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
3150 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
3151 uses code from the previous `ange-ftp-run-real-handler'.
3152 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
3153 only in case that function exist. This is needed for proper
3156 2013-04-15 Tassilo Horn <tsdh@gnu.org>
3158 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
3160 * textmodes/reftex.el (reftex-compile-variables): Use it.
3162 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3164 * files.el (normal-mode): Only use default major-mode if no other mode
3167 * emacs-lisp/trace.el (trace-values): New function.
3169 * files.el: Allow : in local variables (bug#14089).
3170 (hack-local-variable-regexp): New var.
3171 (hack-local-variables-prop-line, hack-local-variables): Use it.
3173 2013-04-13 Roland Winkler <winkler@gnu.org>
3175 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
3176 data before it gets modified by bibtex-beginning-of-entry.
3178 2013-04-13 Roland Winkler <winkler@gnu.org>
3180 * textmodes/bibtex.el (bibtex-url): Doc fix.
3182 2013-04-13 Roland Winkler <winkler@gnu.org>
3184 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
3185 does not visit a BibTeX file, exclude it from the list of buffers
3186 returned by bibtex-initialize.
3188 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
3190 * window.el (split-window): Remove interactive form, since as a
3191 command this function is a special case of split-window-below.
3194 2013-04-12 Roland Winkler <winkler@gnu.org>
3196 * faces.el (read-face-name): Do not override value of arg default.
3197 Allow single faces and strings as default values. Remove those
3198 elements from return value that are not faces.
3199 (describe-face): Simplify.
3200 (face-at-point): New optional args thing and multiple so that this
3201 function can provide the same functionality previously provided by
3203 (make-face-bold, make-face-unbold, make-face-italic)
3204 (make-face-unitalic, make-face-bold-italic, invert-face)
3205 (modify-face, read-face-and-attribute): Use face-at-point.
3207 * cus-edit.el (customize-face, customize-face-other-window)
3208 * cus-theme.el (custom-theme-add-face)
3209 * face-remap.el (buffer-face-set)
3210 * facemenu.el (facemenu-set-face): Use face-at-point.
3212 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
3214 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
3216 2013-04-10 Tassilo Horn <tsdh@gnu.org>
3218 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
3219 off leading { and trailing } from field values.
3221 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * emacs-lisp/timer.el (timer--check): New function.
3224 (timer--time, timer-set-function, timer-event-handler): Use it.
3225 (timer-set-idle-time): Simplify.
3226 (timer--activate): CSE.
3227 (timer-event-handler): Give more info in error message.
3228 (internal-timer-start-idle): New function, moved from C.
3230 * mpc.el (mpc-proc): Add `restart' argument.
3231 (mpc-proc-cmd): Use it.
3232 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
3233 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
3236 2013-04-10 Masatake YAMATO <yamato@redhat.com>
3238 * progmodes/sh-script.el: Implement `sh-mode' own
3239 `add-log-current-defun-function' (bug#14112).
3240 (sh-current-defun-name): New function.
3241 (sh-mode): Use the function.
3243 2013-04-09 Bastien Guerry <bzg@gnu.org>
3245 * simple.el (choose-completion-string): Fix docstring (bug#14163).
3247 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
3251 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
3254 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
3256 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
3259 2013-04-07 Leo Liu <sdl.web@gmail.com>
3261 * pcmpl-x.el: New file.
3263 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
3265 Do not set x-display-name until X connection is established.
3266 This is needed to prevent from weird situation described at
3267 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
3268 * frame.el (make-frame): Set x-display-name after call to
3269 window system initialization function, not before.
3270 * term/x-win.el (x-initialize-window-system): Add optional
3271 display argument and use it.
3272 * term/w32-win.el (w32-initialize-window-system):
3273 * term/ns-win.el (ns-initialize-window-system):
3274 * term/pc-win.el (msdos-initialize-window-system):
3275 Add compatible optional display argument.
3277 2013-04-06 Eli Zaretskii <eliz@gnu.org>
3279 * files.el (normal-backup-enable-predicate): On MS-Windows and
3280 MS-DOS compare truenames of temporary-file-directory and of the
3281 file, so that 8+3 aliases (usually found in $TEMP on Windows)
3282 don't fail comparison by compare-strings. Also, compare file
3283 names case-insensitively on MS-Windows and MS-DOS.
3285 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
3288 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
3290 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
3292 * whitespace.el (whitespace-color-on, whitespace-color-off):
3293 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
3295 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
3297 * ispell.el (ispell-set-spellchecker-params):
3298 Really set `ispell-args' for all equivs.
3300 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * ido.el (ido-completions): Use extra elements of ido-decorations
3304 (ido-decorations): Update docstring.
3306 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
3308 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3309 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
3310 nil during initialization, in order not to miss changes since the
3311 file was opened. (Bug#14140)
3313 2013-04-05 Leo Liu <sdl.web@gmail.com>
3315 * kmacro.el (kmacro-call-macro): Fix bug#14135.
3317 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
3319 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
3321 2013-04-04 Glenn Morris <rgm@gnu.org>
3323 * electric.el (electric-pair-inhibit-predicate): Add :version.
3325 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
3328 when a package is required several times (bug#14082).
3330 2013-04-04 Roland Winkler <winkler@gnu.org>
3332 * faces.el (read-face-name): Behave as promised by the docstring.
3333 Assume that arg default is a list of faces.
3334 (describe-face): Call read-face-name with list of default faces.
3336 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3338 * bookmark.el: Fix deletion of bookmarks (bug#13972).
3339 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
3340 (bookmark-bmenu-execute-deletions): Only skip first line if it's
3342 (bookmark-exit-hook-internal): Save even if list is empty.
3344 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
3346 * emacs-lisp/package.el (package-pinned-packages): New var.
3347 (package--add-to-archive-contents): Obey it (bug#14118).
3349 2013-04-03 Alan Mackenzie <acm@muc.de>
3351 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
3352 Also adapt to the new values of element 7 of a parse state.
3354 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
3355 parameter `not-in-delimiter'. Handle being inside comment opener.
3356 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
3357 character in case we're typing a '*' after a '/'.
3358 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
3359 instead by passing the parameter to c-state-pp-to-literal.
3361 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
3362 for elt. 7 of a parse state.
3364 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
3366 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
3367 * international/latin1-disp.el, international/mule-util.el:
3368 * language/cyril-util.el, language/european.el, language/ind-util.el:
3369 * language/lao-util.el, language/thai.el, language/tibet-util.el:
3370 * language/tibetan.el, language/viet-util.el:
3371 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
3373 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3375 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
3376 (electric-pair-post-self-insert-function): Use it.
3377 (electric-pair-default-inhibit): New function, extracted from
3378 electric-pair-post-self-insert-function.
3380 2013-03-31 Roland Winkler <winkler@gnu.org>
3382 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
3384 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3386 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3388 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
3390 Un-indent after "pass" and "return" statements (Bug#13888)
3391 * progmodes/python.el (python-indent-block-enders): New var.
3392 (python-indent-calculate-indentation): Use it.
3394 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3396 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3397 defun. Defining it as defalias could introduce too eager
3398 byte-compiler optimization. (Bug#14030)
3400 2013-03-30 Chong Yidong <cyd@gnu.org>
3402 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3404 2013-03-30 Leo Liu <sdl.web@gmail.com>
3406 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3407 (kmacro-execute-from-register): Pass the keyboard macro to
3408 kmacro-call-macro or repeating won't work correctly.
3410 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3412 * progmodes/subword.el: Back to using `forward-symbol'.
3414 * subr.el (forward-whitespace, forward-symbol)
3415 (forward-same-syntax): Move from thingatpt.el.
3417 2013-03-29 Leo Liu <sdl.web@gmail.com>
3419 * kmacro.el (kmacro-to-register): New command.
3420 (kmacro-execute-from-register): New function.
3421 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3423 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3425 * mpc.el: Use defvar-local and setq-local.
3426 (mpc--proc-connect): Connection failures are not bugs.
3427 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3428 (mpc-volume-map): Bind to the up-events.
3430 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3432 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3433 instead of `forward-symbol'.
3435 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3438 (edebug--recursive-edit): Use it.
3439 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3440 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3442 2013-03-28 Leo Liu <sdl.web@gmail.com>
3444 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3446 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3448 * facemenu.el (list-colors-callback): New defvar.
3449 (list-colors-redisplay): New function.
3450 (list-colors-display): Install list-colors-redisplay as the
3451 revert-buffer-function. (Bug#14063)
3453 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3456 and suffixes don't overlap (bug#14061).
3458 * case-table.el: Use lexical-binding.
3459 (case-table-get-table): New function.
3460 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3462 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3464 * progmodes/subword.el: Add `superword-mode' to do word motion
3465 over symbol_words (parallels and leverages `subword-mode' which
3466 does word motion inside MixedCaseWords).
3468 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3470 * eshell/em-unix.el: Move su and sudo to...
3471 * eshell/em-tramp.el: ...Eshell tramp module.
3473 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3476 Change return value to be a sexp. Delay `get-buffer' to after
3477 restoring the desktop (bug#13951).
3479 2013-03-26 Leo Liu <sdl.web@gmail.com>
3481 * register.el: Move semantic tag handling back to
3482 cedet/semantic/senator.el. (Bug#14052)
3484 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3486 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3487 into the prompt either (bug#13963).
3489 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3492 part of "(error-foo)".
3494 2013-03-24 Juri Linkov <juri@jurta.org>
3496 * replace.el (list-matching-lines-prefix-face): New defcustom.
3497 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3498 `occur-engine' if `face-differs-from-default-p' returns t.
3499 (occur-engine): Add `,' inside backquote construct to evaluate
3500 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3501 Pass `prefix-face' to the functions `occur-context-lines' and
3502 `occur-engine-add-prefix'.
3503 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3504 `prefix-face' and propertize the prefix with `prefix-face'.
3507 2013-03-24 Leo Liu <sdl.web@gmail.com>
3509 * nxml/rng-valid.el (rng-validate-while-idle)
3510 (rng-validate-quick-while-idle): Guard against deleted buffer.
3513 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3514 is the last entry in kill-buffer-hook.
3516 * files.el (kill-buffer-hook): Doc fix.
3518 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3520 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3523 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3525 2013-03-23 Leo Liu <sdl.web@gmail.com>
3527 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3530 * nxml/rng-valid.el (rng-validate-mode)
3531 (rng-after-change-function, rng-do-some-validation):
3532 * nxml/rng-maint.el (rng-validate-buffer):
3533 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3534 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3535 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3536 (nxml-extend-after-change-region): Use with-silent-modifications.
3538 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3541 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3542 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3543 timer-idle-list. (Bug#13999)
3545 2013-03-23 Juri Linkov <juri@jurta.org>
3547 * info.el (info-index-match): New face.
3548 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3549 main pattern and add text properties with the new face to matches
3550 in index entries relative to the beginning of the index entry.
3553 2013-03-21 Eric Ludlam <zappo@gnu.org>
3555 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3556 Inhibit read only while inserting objects.
3558 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3560 * progmodes/cfengine.el: Update docs to mention
3561 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3562 symbol motion. Remove "_" from the word syntax.
3564 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3566 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3567 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3569 2013-03-20 Juri Linkov <juri@jurta.org>
3571 * info.el (Info-next-reference-or-link)
3572 (Info-prev-reference-or-link): New functions.
3573 (Info-next-reference, Info-prev-reference): Use them.
3574 (Info-try-follow-nearest-node): Handle footnote navigation.
3575 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3577 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3579 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3580 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3582 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3584 Suppress unnecessary non-ASCII chatter during build process.
3585 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3586 (batch-skkdic-convert): Suppress most of the chatter.
3587 It's not needed so much now that machines are faster,
3588 and its non-ASCII component was confusing; see Dmitry Gutov in
3589 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3591 2013-03-20 Leo Liu <sdl.web@gmail.com>
3593 * ido.el (ido-chop): Fix bug#10994.
3595 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3597 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3599 (whitespace-color-on, whitespace-color-off):
3600 Use `font-lock-fontify-buffer' (Bug#13817).
3602 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3605 remapping in mode-line.
3606 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3608 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3610 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3611 value for `whitespace-line' face (Bug#13875).
3612 (whitespace-font-lock-keywords): Change description.
3613 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3614 the constructed keywords instead.
3615 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3617 2013-03-19 Leo Liu <sdl.web@gmail.com>
3619 * progmodes/compile.el (compilation-display-error): New command.
3620 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3623 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3625 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3627 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3629 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3631 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3633 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3635 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3636 * net/tramp-gvfs.el (top):
3637 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3638 (tramp-handle-shell-command): Use it.
3639 (tramp-dissect-file-name): Raise an error when hostname is a
3640 method name, and neither method nor user is specified.
3642 * net/trampver.el: Update release number.
3644 2013-03-18 Leo Liu <sdl.web@gmail.com>
3646 Make sure eldoc can be turned off properly.
3647 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3649 (eldoc-display-message-p): Revert last change.
3650 (eldoc-display-message-no-interference-p)
3651 (eldoc-print-current-symbol-info): Tweak.
3653 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3655 * doc-view.el (doc-view-new-window-function): Check the new window
3656 overlay's display property instead the char property of the
3657 buffer's first char. Use `with-selected-window' instead of
3658 `save-window-excursion' with `select-window'.
3659 (doc-view-document->bitmap): Check the current doc-view overlay's
3660 display property instead the char property of the buffer's first char.
3662 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3664 Automate the build of ja-dic.el (Bug#13984).
3665 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3666 from the input, rather than assume that it's been done for us by the
3667 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3668 the current date into a ja-dic.el comment, as that complicates
3671 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3673 * whitespace.el: Fix double evaluation.
3674 (whitespace-space, whitespace-hspace, whitespace-tab)
3675 (whitespace-newline, whitespace-trailing, whitespace-line)
3676 (whitespace-space-before-tab, whitespace-indentation)
3677 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3679 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3680 (whitespace-color-on): Use a single font-lock-add-keywords call.
3681 Fix double-evaluation of face variables.
3683 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3685 * net/tramp-adb.el (tramp-adb-parse-device-names):
3686 Use `start-process' instead of `call-process'. Otherwise, the
3687 function might be blocked under MS Windows. (Bug#13299)
3689 2013-03-17 Leo Liu <sdl.web@gmail.com>
3691 Extend eldoc to display info in the mode-line. (Bug#13978)
3692 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3693 (eldoc-mode-line-string): New variable.
3694 (eldoc-minibuffer-message): New function.
3695 (eldoc-message-function): New variable.
3696 (eldoc-message): Use it.
3697 (eldoc-display-message-p)
3698 (eldoc-display-message-no-interference-p):
3699 Support eldoc-post-insert-mode.
3701 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3702 (eval-expression): Run it.
3704 2013-03-17 Roland Winkler <winkler@gnu.org>
3706 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3707 strings in the list of return values.
3709 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3711 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3712 radix before checking for HMS forms.
3714 2013-03-16 Leo Liu <sdl.web@gmail.com>
3716 * progmodes/scheme.el: Add indentation and font-locking for λ.
3719 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3721 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3722 token before point (bug#13942).
3724 2013-03-16 Leo Liu <sdl.web@gmail.com>
3726 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3728 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3730 * startup.el (command-line-normalize-file-name): Fix handling of
3731 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3732 <xfq.free@gmail.com> in
3733 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3735 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3737 Sync with Tramp 2.2.7.
3739 * net/trampver.el: Update release number.
3741 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3743 * doc-view.el Fix bug#13887.
3744 (doc-view-insert-image): Don't modify overlay associated to
3745 non-live windows, and implement horizontal centering of image in
3746 case it's smaller than the window.
3747 (doc-view-new-window-function): Force redisplay of new windows on
3750 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3752 * saveplace.el (save-place-alist-to-file): Don't sort
3753 `save-place-alist', just pretty-print it (bug#13882).
3755 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3757 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3758 Check whether `default-file-name-coding-system' is bound.
3761 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3764 backquotes for `obsolete' (bug#13929).
3766 * international/mule.el (find-auto-coding): Include file name in
3767 obsolescence warning (bug#13922).
3769 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3771 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3772 for CFEngine 3-specific indentation.
3773 (cfengine3-indent-line): Use it. Fix up category regex.
3774 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3776 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * type-break.el (type-break-file-name):
3779 * textmodes/remember.el (remember-data-file):
3780 * strokes.el (strokes-file):
3781 * shadowfile.el (shadow-initialize):
3782 * saveplace.el (save-place-file):
3783 * ps-bdf.el (bdf-cache-file):
3784 * progmodes/idlwave.el (idlwave-config-directory):
3785 * net/quickurl.el (quickurl-url-file):
3786 * international/kkc.el (kkc-init-file-name):
3787 * ido.el (ido-save-directory-list-file):
3788 * emulation/viper.el (viper-custom-file-name):
3789 * emulation/vip.el (vip-startup-file):
3790 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3791 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3793 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3795 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3796 * language/thai-word.el: Switch to UTF-8.
3798 See ChangeLog.16 for earlier changes.
3804 Copyright (C) 2011-2013 Free Software Foundation, Inc.
3806 This file is part of GNU Emacs.
3808 GNU Emacs is free software: you can redistribute it and/or modify
3809 it under the terms of the GNU General Public License as published by
3810 the Free Software Foundation, either version 3 of the License, or
3811 (at your option) any later version.
3813 GNU Emacs is distributed in the hope that it will be useful,
3814 but WITHOUT ANY WARRANTY; without even the implied warranty of
3815 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3816 GNU General Public License for more details.
3818 You should have received a copy of the GNU General Public License
3819 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.