1 2013-06-18 Juri Linkov <juri@jurta.org>
3 * emulation/vi.el (vi-shell-op):
4 * emulation/vip.el (vip-execute-com, ex-command):
5 * emulation/viper-cmd.el (viper-exec-bang):
6 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7 the call of `shell-command-on-region'. (Bug#14637)
9 * simple.el (shell-command-on-region): Doc fix.
11 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
16 2013-06-18 Glenn Morris <rgm@gnu.org>
18 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20 * newcomment.el (comment-search-forward, comment-search-backward):
23 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
25 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
26 (buffer-face-mode-invoke): Doc fix.
28 2013-06-18 Matthias Meulien <orontee@gmail.com>
30 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
32 2013-06-18 Glenn Morris <rgm@gnu.org>
34 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
35 Replace obsolete function generic-make-keywords with its expansion.
37 * progmodes/python.el (ffap-alist): Declare.
39 * textmodes/reftex.el (bibtex-mode-map): Declare.
41 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
43 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
44 (package-unpack, package-unpack-single): Return the pkg-dir.
45 (package-download-transaction): Use it to update package-alist.
47 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
49 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
52 2013-06-17 Juri Linkov <juri@jurta.org>
54 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
56 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
58 * emacs-lisp/package.el (package-load-descriptor):
59 Remove `with-syntax-table' call, `read' doesn't need it.
60 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
62 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
64 * startup.el (command-line): Expand package name returned by
65 `package--description-file' (bug#14639).
67 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
69 * emacs-lisp/package.el (package-load-descriptor): Do not call
70 `emacs-lisp-mode', just use its syntax table.
72 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
74 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
75 `font-lock-extra-managed-props' if any prettifying keyword is added.
76 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
77 (prog-mode): Use `setq-local'.
79 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
81 * international/characters.el (standard-case-table): Set syntax of ?»
82 and ?« to punctuation.
84 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
86 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
87 Save relevant match data before calling `syntax-ppss' (bug#14595).
89 2013-06-15 Juri Linkov <juri@jurta.org>
91 * files-x.el (modify-file-local-variable-prop-line): Add local
92 variables to the end of the existing comment on the first line.
93 Use `file-auto-mode-skip' to skip interpreter magic line,
94 and also skip XML declaration.
96 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
98 * startup.el (package--builtin-versions): New var.
99 (package-subdirectory-regexp): Remove.
100 (package--description-file): Hard code its value instead.
102 * emacs-lisp/package.el: Don't activate packages older than builtin.
103 (package-obsolete-list): Rename from package-obsolete-alist, and make
104 it into a simple list of package-desc.
105 (package-strip-version): Remove.
106 (package-built-in-p): Use package--builtin-versions.
107 (package-mark-obsolete): Simplify.
108 (package-process-define-package): Mark it obsolete if older than the
110 (package-handle-response): Use line-end-position.
111 (package-read-archive-contents, package--download-one-archive):
113 (package--add-to-archive-contents): Skip if older than the builtin or
115 (package-menu-describe-package): Fix last change.
116 (package-list-unversioned): New var.
117 (package-menu--generate): Use it.
119 * emacs-lisp/autoload.el: Manage package--builtin-versions.
120 (autoload--insert-text, autoload--insert-cookie-text): New functions.
121 (autoload-builtin-package-versions): New variable.
122 (autoload-generate-file-autoloads): Use them.
123 Remove the list of autoloaded functions/macros from the
124 (autoload...) comments.
126 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
128 2013-06-15 Eli Zaretskii <eliz@gnu.org>
130 * simple.el (line-move-partial): Don't jump to the next screen
131 line as soon as it becomes visible. Instead, continue enlarging
132 the vscroll until the portion of a tall screen line that's left on
133 display is about the height of the frame's default font.
136 2013-06-15 Glenn Morris <rgm@gnu.org>
138 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
139 compilation-error-regexp-alist void, or local while let-bound.
141 * progmodes/make-mode.el (makefile-mode-syntax-table):
142 Treat "=" as punctuation. (Bug#14614)
144 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
146 * help-fns.el (describe-variable):
147 Add extra line for permanent-local variables.
149 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
151 * progmodes/scheme.el (scheme-font-lock-keywords-2):
152 Add export, import, library. (Bug#9164)
153 (library): Set indent function.
155 2013-06-14 Glenn Morris <rgm@gnu.org>
157 * term/xterm.el (xterm--query):
158 Stop after first matching handler. (Bug#14615)
160 2013-06-14 Ivan Kanis <ivan@kanis.fr>
162 Add support for dired in saveplace.
163 * dired.el (dired-initial-position-hook): New variable.
164 (dired-initial-position): Call hook to place cursor position.
165 * saveplace.el (save-place-to-alist): Add dired position.
166 (save-place-dired-hook): New function.
168 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
170 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
171 through a symbol rather than letrec.
173 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
174 (package-desc): Add `dir' field.
175 (package-desc-full-name): New function.
176 (package-load-descriptor): Combine the two arguments. Don't use `load'.
177 (package-maybe-load-descriptor): Remove.
178 (package-load-all-descriptors): Just call package-load-descriptor.
179 (package--disabled-p): New function.
180 (package-desc-vers, package-desc-doc): Remove aliases.
181 (package--dir): Remove function.
182 (package-activate): Check if a package is disabled.
183 (package-process-define-package): New function, extracted from
185 (define-package): Turn into a place holder.
186 (package-unpack-single, package-tar-file-info):
187 Use package--description-file.
188 (package-compute-transaction): Use package--disabled-p.
189 (package-download-transaction): Don't call
190 package-maybe-load-descriptor since they're all loaded anyway.
191 (package-install): Change argument to be a pkg-desc.
192 (package-delete): Use a single pkg-desc argument.
193 (describe-package-1): Use package-desc-dir instead of package--dir.
194 Use package-desc property instead of package-symbol.
195 (package-install-button-action): Adjust accordingly.
196 (package--push): Rewrite.
197 (package-menu--print-info): Adjust accordingly. Change the ID format
199 (package-menu-describe-package, package-menu-get-status)
200 (package-menu--find-upgrades, package-menu-mark-upgrades)
201 (package-menu-execute, package-menu--name-predicate):
203 * startup.el (package--description-file): New function.
204 (command-line): Use it.
205 * emacs-lisp/package-x.el (package-upload-buffer-internal):
206 Use package-desc-version.
208 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
209 (byte-compile-preprocess): Use it.
210 (byte-compile-file-form-defalias): Try a bit harder to use macros we
211 can't quite recognize.
212 (byte-compile-add-to-list): Remove.
213 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
214 (cconv-closure-convert): Add assertion.
216 * emacs-lisp/map-ynp.el: Use lexical-binding.
217 (map-y-or-n-p): Remove unused vars `tail' and `object'.
218 Factor out some repeated code.
220 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
222 * subr.el (with-eval-after-load): New macro.
223 (eval-after-load): Allow form to be a function.
224 take advantage of lexical-binding.
225 (do-after-load-evaluation): Use dolist and adjust to new format.
226 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
228 2013-06-13 Juri Linkov <juri@jurta.org>
230 * replace.el (perform-replace): Display "symbol " and other search
231 modes from `isearch-message-prefix' in the *Help* buffer.
233 * isearch.el (isearch-query-replace): Add " symbol" and other
234 possible search modes from `isearch-message-prefix' to the prompt.
235 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
236 when reading a regexp to collect.
238 2013-06-13 Juri Linkov <juri@jurta.org>
240 * isearch.el (word-search-regexp): Match whitespace if the search
241 string begins or ends in whitespace. The LAX arg is applied to
242 both ends of the search string. Use `regexp-quote' and explicit
243 \< and \> instead of \b. Use \` and \' instead of ^ and $.
244 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
245 boundaries are replaced with symbol boundaries, and characters
246 between symbols match non-word non-symbol syntax. (Bug#14602)
248 2013-06-13 Juri Linkov <juri@jurta.org>
250 * isearch.el (isearch-del-char): Don't exceed the length of
251 `isearch-string' by the prefix arg. (Bug#14563)
253 2013-06-13 Juri Linkov <juri@jurta.org>
255 * isearch.el (isearch-yank-word, isearch-yank-line)
256 (isearch-char-by-name, isearch-quote-char)
257 (isearch-printing-char, isearch-process-search-char):
258 Add optional count prefix arg. (Bug#14563)
260 * international/isearch-x.el
261 (isearch-process-search-multibyte-characters):
262 Add optional count prefix arg.
264 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
266 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
267 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
270 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
272 * subr.el (set-temporary-overlay-map): Add on-exit argument.
274 2013-06-13 Glenn Morris <rgm@gnu.org>
276 * startup.el (tty-handle-args):
277 Don't just discard "--" and anything after. (Bug#14608)
279 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
281 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
283 Implement changes in Secret Service API. Make it backward compatible.
284 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
285 (secrets-create-item): Use it. Prefix properties with interface.
287 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
289 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
290 (term-emulate-terminal): Respect term-suppress-hard-newline.
292 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
294 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
295 Only remove a `thumb-file' overlay. (Bug#14548)
297 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
299 * mail/reporter.el (reporter-submit-bug-report):
300 Handle missing package-name. (Bug#14600)
302 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
304 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
305 (reftex-citation-prompt, reftex-default-bibliography)
306 (reftex-bib-or-thebib, reftex-get-bibfile-list)
307 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
308 (reftex-bib-sort-author, reftex-bib-sort-year)
309 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
310 (reftex-extract-bib-entries-from-thebibliography)
311 (reftex-get-bibkey-default, reftex-get-bib-names)
312 (reftex-parse-bibtex-entry, reftex-get-bib-field)
313 (reftex-format-bib-entry, reftex-parse-bibitem)
314 (reftex-format-bibitem, reftex-do-citation)
315 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
316 (reftex-restrict-bib-matches, reftex-extract-bib-file)
317 (reftex-insert-bib-matches, reftex-format-citation)
318 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
319 (reftex-create-bibtex-file): Add docstrings, mostly by converting
320 existing comments into docstrings.
322 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
324 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
326 2013-06-12 Andreas Schwab <schwab@suse.de>
328 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
331 2013-06-12 Glenn Morris <rgm@gnu.org>
333 * ido.el (ido-delete-ignored-files): Remove.
334 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
335 Go back to calling ido-ignore-item-p directly.
337 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
339 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
341 * ido.el (ido-delete-ignored-files): New function,
342 split from ido-make-file-list-1.
343 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
344 (ido-make-file-list-1): Use ido-delete-ignored-files.
346 2013-06-12 Leo Liu <sdl.web@gmail.com>
348 * progmodes/octave.el (inferior-octave-startup)
349 (inferior-octave-completion-table)
350 (inferior-octave-track-window-width-change)
351 (octave-eldoc-function-signatures, octave-help)
352 (octave-find-definition): Use single quoted strings.
353 (inferior-octave-startup-args): Change default value.
354 (inferior-octave-startup): Do not hard code "-i" and
356 (inferior-octave-resync-dirs): Add optional arg NOERROR.
357 (inferior-octave-directory-tracker): Use it.
358 (octave-goto-function-definition): Robustify.
359 (octave-help): Support highlighting operators in 'See also'.
360 (octave-find-definition): Find subfunctions only in Octave mode.
362 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
364 * help-fns.el (help-fns--compiler-macro): If the handler function is
365 named, then put a link to it.
366 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
367 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
369 (cl-eval-when): Simplify debug spec.
370 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
371 compiler-macro function instead of setting `compiler-macro-file'.
373 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
375 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
376 * vc/vc-hooks.el (vc-stay-local): Doc fix.
378 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
379 Daniel Hackney <dan@haxney.org>
381 First part of Daniel Hackney's patch to package.el.
382 * emacs-lisp/package.el: Use defstruct.
383 (package-desc): New, main struct.
384 (package--bi-desc, package--ac-desc): New structs, used to describe the
385 format in external files.
386 (package-desc-vers): Replace with package-desc-version accessor.
387 (package-desc-doc): Replace with package-desc-summary accessor.
388 (package-activate-1): Remove `package' arg since the pkg-vec now
390 (define-package): Use package-desc-from-define.
391 (package-unpack-single): Change file-name arg to be a symbol.
392 (package--add-to-archive-contents): Use package-desc-create and new
393 accessor functions to package--ac-desc.
394 (package-buffer-info, package-tar-file-info): Return a package-desc.
395 (package-install-from-buffer): Remove `type' argument. Change pkg-info
396 arg to be a package-desc.
397 (package-install-file): Adjust accordingly. Use \' to match EOS.
398 (package--from-builtin): New function.
399 (describe-package-1, package-menu--generate): Use it.
400 (package--make-autoloads-and-compile): Change name arg to be a symbol.
401 (package-generate-autoloads): Idem and return the name of the file.
402 * emacs-lisp/package-x.el (package-upload-buffer-internal):
403 Change pkg-info arg to be a package-desc.
404 Use package-make-ac-desc.
405 (package-upload-file): Use \' to match EOS.
406 * finder.el (finder-compile-keywords): Use package-make-builtin.
408 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
410 * vc/vc.el (vc-deduce-fileset): Change error message.
411 (vc-read-backend): New function.
412 (vc-next-action): Use it.
414 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
416 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
417 (prolog-font-lock-keywords): Use regexp-opt instead.
418 Don't manually highlight strings.
419 (prolog-mode-variables): Simplify comment-start-skip.
420 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
422 * emacs-lisp/generic.el (generic--normalise-comments)
423 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
424 (generic-mode-set-comments): Use them.
425 (generic-bracket-support): Use setq-local.
426 (generic-make-keywords-list): Declare obsolete.
428 2013-06-11 Glenn Morris <rgm@gnu.org>
430 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
431 Prettify after setting font-lock-defaults. (Bug#14574)
433 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
435 * replace.el (query-replace, occur-read-regexp-defaults-function)
437 * subr.el (declare-function, number-sequence, local-set-key)
438 (substitute-key-definition, locate-user-emacs-file)
439 (with-silent-modifications, split-string, eval-after-load):
440 Fix typos, remove unneeded backslashes and reflow some docstrings.
442 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
444 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
445 default for Elisp files.
447 2013-06-11 Glenn Morris <rgm@gnu.org>
449 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
450 although define-derived-mode was doing this anyway. (Bug#14583)
452 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
454 * allout.el (allout-encryption-plaintext-sanitization-regexps):
455 Fix make-variable-buffer-local call to refer to the correct variable.
457 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
459 * eshell/em-term.el (eshell-visual-commands)
460 (eshell-visual-subcommands, eshell-visual-options):
461 Add summary line to docstrings. Add cross-references.
463 2013-06-10 Glenn Morris <rgm@gnu.org>
465 * epa.el (epa-read-file-name): New function. (Bug#14510)
466 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
468 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
470 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
471 output redirection to be ignored with visual commands.
473 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
475 * eshell/em-term.el (eshell-visual-command-p): New function.
476 (eshell-term-initialize): Move long lambda to separate function
477 eshell-visual-command-p.
478 * eshell/em-dirs.el (eshell-dirs-initialise):
479 * eshell/em-script.el (eshell-script-initialize):
480 Add missing #' to lambda.
482 2013-06-08 Leo Liu <sdl.web@gmail.com>
484 * progmodes/octave.el (octave-add-log-current-defun): New function.
485 (octave-mode): Set add-log-current-defun-function.
486 (octave-goto-function-definition): Do not move point if not found.
487 (octave-find-definition): Enhance to try subfunctions first.
489 2013-06-08 Glenn Morris <rgm@gnu.org>
491 * emacs-lisp/bytecomp.el (byte-compile-char-before)
492 (byte-compile-backward-char, byte-compile-backward-word):
493 Improve previous change, to handle non-explicit nil.
495 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
497 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
498 (smie--opener/closer-at-point): New function.
499 (smie--matching-block-data): Use it. Don't match from right after an
500 opener or right before a closer. Obey smie-blink-matching-inners.
501 Don't signal a mismatch for repeated inners like "switch..case..case".
503 2013-06-07 Leo Liu <sdl.web@gmail.com>
505 * progmodes/octave.el (octave-mode): Set comment-use-global-state
507 (octave-function-header-regexp): Fix. (Bug#14570)
508 (octave-help-mode-finish-hook, octave-help-mode-finish):
509 Remove. Just use temp-buffer-show-hook.
511 * newcomment.el (comment-search-backward): Revert last change.
514 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
516 2013-06-07 Eli Zaretskii <eliz@gnu.org>
518 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
519 through xargs, to avoid failure due to MS-Windows limitations on
522 2013-06-06 Glenn Morris <rgm@gnu.org>
524 * font-lock.el (lisp-font-lock-keywords-2):
525 Treat user-error like error.
527 * emacs-lisp/bytecomp.el (byte-compile-char-before)
528 (byte-compile-backward-char, byte-compile-backward-word):
529 Handle explicit nil arguments. (Bug#14565)
531 2013-06-05 Alan Mackenzie <acm@muc.de>
533 * isearch.el (isearch-allow-prefix): New user option.
534 (isearch-other-meta-char): Don't exit isearch when a prefix
535 argument is typed whilst `isearch-allow-prefix' is non-nil.
538 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
540 * autorevert.el (auto-revert-notify-handler): Use memq.
541 Hide assertion failure.
543 * skeleton.el: Use cl-lib.
544 (skeleton-further-elements): Use defvar-local.
545 (skeleton-insert): Use cl-progv.
547 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
549 * progmodes/prog-mode.el (prog-prettify-symbols)
550 (prog-prettify-install): Update docstrings.
552 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
554 * simple.el: Move all the prog-mode code to prog-mode.el.
555 * progmodes/prog-mode.el: New file.
556 * loadup.el: Add prog-mode.el.
558 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
560 * simple.el (prog-prettify-symbols): Add version.
561 (prog-prettify-install): Add convenience function to prettify symbols.
563 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
564 (perl--augmented-font-lock-keywords-1)
565 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
566 variables and use it.
568 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
569 (cfengine3-mode): Remove unneeded variable and use it.
571 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
572 (lisp--augmented-font-lock-keywords-1)
573 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
574 Remove unneeded variables and use it.
576 2013-06-05 João Távora <joaotavora@gmail.com>
578 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
579 to point when opening the connection. (Bug#14380)
581 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
583 * subr.el (load-history-regexp, load-history-filename-element)
584 (eval-after-load, after-load-functions, do-after-load-evaluation)
585 (eval-next-after-load, display-delayed-warnings)
586 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
587 definition of save-match-data.
588 (overriding-local-map): Remove accidental obsolescence declaration.
590 * emacs-lisp/edebug.el (edebug-result): Move before first use.
592 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
594 Generalize symbol prettify support to prog-mode and implement it
595 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
596 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
597 (prog--prettify-font-lock-compose-symbol)
598 (prog-prettify-font-lock-symbols-keywords): New variables and
599 functions to support symbol prettification.
600 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
601 (lisp--augmented-font-lock-keywords-1)
602 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
603 (lisp--prettify-symbols-alist): Implement prettify of lambda.
604 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
605 (cfengine3--prettify-symbols-alist, cfengine3-mode):
606 Implement prettify of -> => :: strings.
607 * progmodes/perl-mode.el (perl-prettify-symbols)
608 (perl--font-lock-compose-symbol)
609 (perl--font-lock-symbols-keywords): Move to prog-mode.
610 (perl--prettify-symbols-alist): Prettify -> => :: strings.
611 (perl-font-lock-keywords-1)
612 (perl-font-lock-keywords-2): Remove explicit prettify support.
613 (perl--augmented-font-lock-keywords)
614 (perl--augmented-font-lock-keywords-1)
615 (perl--augmented-font-lock-keywords-2, perl-mode):
616 Implement prettify support.
618 2013-06-05 Leo Liu <sdl.web@gmail.com>
620 Re-implement smie matching block highlight using
621 show-paren-data-function. (Bug#14395)
622 * emacs-lisp/smie.el (smie-matching-block-highlight)
623 (smie--highlight-matching-block-overlay)
624 (smie--highlight-matching-block-lastpos)
625 (smie-highlight-matching-block)
626 (smie-highlight-matching-block-mode): Remove.
627 (smie--matching-block-data-cache): New variable.
628 (smie--matching-block-data): New function.
629 (smie-setup): Use smie--matching-block-data for
630 show-paren-data-function.
632 * progmodes/octave.el (octave-mode-menu): Fix.
633 (octave-find-definition): Skip garbage lines.
635 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
637 Fix compilation error with simultaneous dynamic+lexical scoping.
638 Add warning when a defvar appears after the first let-binding.
639 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
640 (byte-compile-close-variables): Initialize it.
641 (byte-compile--declare-var): New function.
642 (byte-compile-file-form-defvar)
643 (byte-compile-file-form-define-abbrev-table)
644 (byte-compile-file-form-custom-declare-variable): Use it.
645 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
646 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
647 (byte-compile-bind): Handle dynamic bindings that shadow
649 (byte-compile-unbind): Make arg non-optional.
650 (byte-compile-let): Simplify.
651 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
652 (cconv--analyse-function, cconv-analyse-form): Populate it.
653 Protect byte-compile-bound-variables to limit the scope of defvars.
654 (cconv-analyse-form): Add missing rule for (defvar <foo>).
655 Remove unneeded rule for `declare'.
657 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
658 so as to avoid depending on cl-adjoin at run-time.
659 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
661 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
662 (macroexp--warn-and-return): Use it.
664 2013-06-05 Leo Liu <sdl.web@gmail.com>
666 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
668 2013-06-04 Leo Liu <sdl.web@gmail.com>
670 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
671 (compilation-auto-jump): Suppress the "Mark set" message to give
674 2013-06-04 Alan Mackenzie <acm@muc.de>
676 Remove faulty optimisation from indentation calculation.
677 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
678 search limit based on 2000 characters back from indent-point.
680 2013-06-03 Tassilo Horn <tsdh@gnu.org>
682 * eshell/em-term.el (cl-lib): Require `cl-lib'.
684 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
686 * emacs-lisp/lisp.el: Use lexical-binding.
687 (lisp--local-variables-1, lisp--local-variables): New functions.
688 (lisp--local-variables-completion-table): New var.
689 (lisp-completion-at-point): Use it complete let-bound vars.
691 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
694 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
696 * autorevert.el (auto-revert-notify-enabled)
697 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
698 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
699 (auto-revert-notify-handler): Handle also gfilenotify.
701 * subr.el (file-notify-handle-event): New defun. Replacing ...
702 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
705 2013-06-03 Juri Linkov <juri@jurta.org>
707 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
708 `M-s h .'. (Bug#14427)
710 * hi-lock.el (highlight-symbol-at-point): New alias for the new
711 command `hi-lock-face-symbol-at-point'.
712 (hi-lock-face-symbol-at-point): New command.
713 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
714 (hi-lock-menu): Add `highlight-symbol-at-point'.
715 (hi-lock-mode): Doc fix.
717 * isearch.el (isearch-forward-symbol-at-point): New command.
718 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
719 (isearch-highlight-regexp): Add a regexp which matches
720 words/symbols for word/symbol mode.
722 * subr.el (find-tag-default-bounds): New function with the body
723 mostly moved from `find-tag-default'.
724 (find-tag-default): Move most code to `find-tag-default-bounds',
725 call it and apply `buffer-substring-no-properties' afterwards.
727 2013-06-03 Tassilo Horn <tsdh@gnu.org>
729 * eshell/em-term.el (eshell-term-initialize):
730 Use `cl-intersection' rather than `intersection'.
732 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
734 * vc/log-view.el: Doc fix.
735 (log-view-mode-map): Copy keymap from `special-mode-map'.
737 2013-06-02 Eric Ludlam <zappo@gnu.org>
739 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
740 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
741 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
742 (eieio-unbound, eieio-default-superclass)
743 (eieio--define-field-accessors, method-static, method-before)
744 (method-primary, method-after, method-num-lists)
745 (method-generic-before, method-generic-primary)
746 (method-generic-after, method-num-slots)
747 (eieio-specialized-key-to-generic-key)
748 (eieio--check-type, class-v, class-p)
749 (eieio-class-name, define-obsolete-function-alias)
750 (eieio-class-parents-fast, eieio-class-children-fast)
751 (same-class-fast-p, class-constructor, generic-p)
752 (generic-primary-only-p, generic-primary-only-one-p)
753 (class-option-assoc, class-option, eieio-object-p)
754 (class-abstract-p, class-method-invocation-order)
755 (eieio-defclass-autoload-map, eieio-defclass-autoload)
756 (eieio-class-un-autoload, eieio-defclass)
757 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
758 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
759 (eieio--defgeneric-init-form, eieio-defgeneric-form)
760 (eieio-defgeneric-reset-generic-form)
761 (eieio-defgeneric-form-primary-only)
762 (eieio-defgeneric-reset-generic-form-primary-only)
763 (eieio-defgeneric-form-primary-only-one)
764 (eieio-defgeneric-reset-generic-form-primary-only-one)
765 (eieio-unbind-method-implementations)
766 (eieio--defmethod, eieio--typep)
767 (eieio-perform-slot-validation, eieio-validate-slot-value)
768 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
769 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
770 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
771 (eieio-slot-name-index, eieio-class-slot-name-index)
772 (eieio-set-defaults, eieio-initarg-to-attribute)
773 (eieio-attribute-to-initarg, eieio-c3-candidate)
774 (eieio-c3-merge-lists, eieio-class-precedence-c3)
775 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
776 (eieio-class-precedence-list, eieio-generic-call-methodname)
777 (eieio-generic-call-arglst, eieio-generic-call-key)
778 (eieio-generic-call-next-method-list)
779 (eieio-pre-method-execution-functions, eieio-generic-call)
780 (eieio-generic-call-primary-only, eieiomt-method-list)
781 (eieiomt-optimizing-obarray, eieiomt-install)
782 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
783 (eieio-generic-form, eieio-defmethod, make-obsolete)
784 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
785 (defclass): Remove `eval-and-compile' from macro.
786 (call-next-method, shared-initialize): Instead of using
787 `scoped-class' variable, use new eieio--scoped-class, and
788 eieio--with-scoped-class.
789 (initialize-instance): Rename local variable 'scoped-class' to
790 'this-class' to remove ambiguitity from old global.
792 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
794 (eieio--scoped-class-stack): New variable
795 (eieio--scoped-class): New fcn
796 (eieio--with-scoped-class): New scoping macro.
797 (eieio-defclass): Use pushnew instead of add-to-list.
798 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
799 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
800 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
801 `scoped-class' variable, use new eieio--scoped-class, and
802 eieio--with-scoped-class.
804 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
806 2013-06-02 Tassilo Horn <tsdh@gnu.org>
808 * eshell/esh-ext.el (eshell-external-command): Pass args to
809 `eshell-find-interpreter'.
810 (eshell-find-interpreter): Add new second parameter ARGS.
812 * eshell/em-script.el (eshell-script-initialize): Add second arg
813 to the function added as MATCH to `eshell-interpreter-alist'.
815 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
816 the function added as MATCH to `eshell-interpreter-alist'.
818 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
819 (eshell-visual-options): New defcustom.
820 (eshell-escape-control-x): Adapt docstring.
821 (eshell-term-initialize): Test `eshell-visual-subcommands' and
822 `eshell-visual-options' in addition to `eshell-visual-commands'.
823 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
825 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
827 * progmodes/python.el (python-indent-block-enders): Add break,
828 continue and raise keywords.
830 2013-06-01 Glenn Morris <rgm@gnu.org>
832 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
834 Plain (f)boundp silences compilation warnings since Emacs 22.1.
835 * progmodes/cc-cmds.el (delete-forward-p):
836 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
837 * progmodes/cc-engine.el (buffer-syntactic-context):
838 * progmodes/cc-fonts.el (face-property-instance):
839 * progmodes/cc-mode.el (set-keymap-parents):
840 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
841 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
842 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
843 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
844 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
846 * progmodes/cc-vars.el (other): Emacs has this widget since
847 at least 21.1, so don't (re)define it.
849 * eshell/em-cmpl.el (eshell-cmpl-initialize):
850 Replace the obsolete alias pcomplete-arg-quote-list.
852 2013-06-01 Leo Liu <sdl.web@gmail.com>
854 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
856 (inferior-octave-minimal-columns)
857 (inferior-octave-last-column-width): New variables.
858 (inferior-octave-track-window-width-change): New function.
859 (inferior-octave-mode): Adjust column width so that Octave output,
860 for example from 'ls', can fit into the window nicely.
862 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
864 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
865 Highlight expansions inside regexp literals.
867 2013-05-31 Glenn Morris <rgm@gnu.org>
869 * obsolete/sym-comp.el (symbol-complete):
870 Replace obsolete completion-annotate-function.
872 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
874 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
876 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
877 New function, checks if point is inside a literal that allows
878 expression expansion.
879 (ruby-syntax-propertize-expansion): Use it.
880 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
883 2013-05-30 Juri Linkov <juri@jurta.org>
885 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
887 (isearch-invisible): New variable.
888 (isearch-forward): Doc fix.
889 (isearch-mode): Set `isearch-invisible'
890 to the value of `search-invisible'.
891 (isearch-toggle-case-fold): Doc fix.
892 (isearch-toggle-invisible): New command.
893 (isearch-query-replace): Let-bind `search-invisible'
894 to the value of `isearch-invisible'.
895 (isearch-search): Use `isearch-invisible' instead of
896 `search-invisible'. Let-bind `search-invisible'
897 to the value of `isearch-invisible'. (Bug#11378)
899 2013-05-30 Juri Linkov <juri@jurta.org>
901 * replace.el (perform-replace): Avoid `isearch-range-invisible'
902 call when `query-flag' is nil and `search-invisible' is non-nil.
905 2013-05-30 Glenn Morris <rgm@gnu.org>
907 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
909 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
910 (cc-require): Suppress spurious "noruntime" warnings.
911 (cc-require-when-compile): Use fboundp, for sake of compiler.
913 * progmodes/cc-mode.el: Move load of cc-vars before that of
914 cc-langs (which in turn loads cc-vars), to quieten compiler.
916 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
918 * paren.el: Simplify the code.
919 (show-paren-mode): Always start the timer.
920 (show-paren--idle-timer): Rename from show-paren-idle-timer.
921 (show-paren--overlay, show-paren--overlay-1): Rename from
922 show-paren-overlay and show-paren-overlay-1, and initialize to an
923 overlay rather than to nil.
924 (show-paren-function): Misc cleanup and simplifications.
926 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
928 * paren.el (show-paren-data-function): New hook.
929 (show-paren--default): New function, extracted from show-paren-function.
930 (show-paren-function): Use show-paren-data-function.
932 2013-05-30 Glenn Morris <rgm@gnu.org>
934 * ielm.el (ielm-map, ielm-complete-symbol):
935 Use completion-at-point rather than obsolete functions.
936 (inferior-emacs-lisp-mode): Doc fix.
937 Set completion-at-point-functions, rather than
938 comint-dynamic-complete-functions.
940 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
941 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
942 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
944 * image.el (image-animated-p): Tweak definition.
946 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
947 (rlogin-process-connection-type): Tweak default. Add set-after.
948 (rlogin-host): Doc fix.
949 (rlogin): Tweak prompt.
950 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
952 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
953 * progmodes/tcl.el (inferior-tcl-mode-map):
954 Use completion-at-point rather than obsolete alias.
956 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
958 * minibuffer.el (read-file-name-completion-ignore-case):
959 Move before completion--in-region, for eager macro expansion.
961 2013-05-29 Juri Linkov <juri@jurta.org>
963 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
964 for total count of matching lines. Add `global-matches' for total
965 count of matches. Rename `matches' to `lines' for count of
966 matching lines. Add `matches' for count of matches.
967 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
968 to `prev-line' for line number of prev match endpt.
969 Increment `matches' for every match. Print the number of
970 matching lines in the header.
971 (occur-context-lines): Rename `lines' to `curr-line'.
972 Rename `prev-lines' to `prev-line'. (Bug#14017)
974 2013-05-29 Juri Linkov <juri@jurta.org>
976 * replace.el (perform-replace): Add `skip-read-only-count',
977 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
978 Increment them for corresponding conditions and report the number
979 of skipped occurrences in the final message. (Bug#11746)
980 (query-replace, query-replace-regexp, query-replace-regexp-eval)
981 (replace-string, replace-regexp): Doc fix.
983 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
985 * emacs-lisp/trace.el (trace--read-args): Provide a default.
987 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
988 prog-mode-map (bug#14504).
990 2013-05-29 Leo Liu <sdl.web@gmail.com>
992 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
993 (octave-help): Small simplification.
995 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
996 off the highlight first.
998 2013-05-29 Glenn Morris <rgm@gnu.org>
1000 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
1001 Handle idlwave-last-system-routine-info-cons-cell being nil.
1003 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
1004 (idlwave-write-paths): Simplify via with-temp-buffer.
1006 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
1007 * emulation/cua-rect.el: Also load cua-base at run time.
1009 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
1010 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
1011 (cperl-imenu-on-info): Require imenu.
1013 2013-05-28 Alan Mackenzie <acm@muc.de>
1015 Handle "capitalised keywords" correctly.
1016 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
1018 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
1020 * eshell/em-unix.el: Add -r option to cp.
1022 2013-05-28 Glenn Morris <rgm@gnu.org>
1024 * vc/vc-arch.el (vc-exec-after): Declare.
1025 (vc-switches): Autoload.
1026 * vc/vc-bzr.el: No need to require vc when compiling.
1027 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
1028 (vc-resynch-buffer, vc-dir-refresh): Declare.
1029 (vc-setup-buffer, vc-switches): Autoload.
1030 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
1031 (vc-resynch-buffer): Declare.
1032 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
1033 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
1034 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
1035 (grep-read-regexp, grep-read-files, grep-expand-template)
1036 (vc-dir-refresh): Declare.
1037 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
1038 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
1039 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
1040 * vc/vc-mtn.el (vc-exec-after): Declare.
1041 (vc-switches): Autoload.
1042 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
1043 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
1044 (vc-file-tree-walk): Declare.
1045 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
1046 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
1047 (vc-tag-precondition, vc-rename-master): Autoload.
1048 * vc/vc-svn.el (vc-exec-after): Declare.
1049 (vc-switches, vc-setup-buffer): Autoload.
1050 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
1052 (vc-resynch-buffer): Declare.
1054 * obsolete/fast-lock.el (byte-compile-warnings):
1055 Don't warn about obsolete features in this obsolete file.
1057 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
1058 Move definition before use.
1060 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
1061 (dun-unix-verbs): Remove dun-zippy.
1062 (dun-zippy): Remove function.
1064 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
1066 2013-05-27 Juri Linkov <juri@jurta.org>
1068 * replace.el (replace-search): New function with code moved out
1069 from `perform-replace'.
1070 (replace-highlight, replace-dehighlight): Move function definitions
1071 up closer to `replace-search'. (Bug#11746)
1073 2013-05-27 Juri Linkov <juri@jurta.org>
1075 * replace.el (perform-replace): Ignore invisible matches.
1076 In addition to checking `query-replace-skip-read-only', also
1077 filter out matches by calling `run-hook-with-args-until-failure'
1078 on `isearch-filter-predicates', and also check `search-invisible'
1079 for t or call `isearch-range-invisible'.
1080 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
1082 2013-05-27 Juri Linkov <juri@jurta.org>
1084 * isearch.el (isearch-filter-predicates): Rename from
1085 `isearch-filter-predicate'. Doc fix. (Bug#11378)
1086 (isearch-message-prefix): Display text from the property
1087 `isearch-message-prefix' of the currently active filters.
1088 (isearch-search): Don't compare `isearch-filter-predicate' with
1089 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
1090 on `isearch-filter-predicates'. Also check `search-invisible' for t
1091 or call `isearch-range-invisible'.
1092 (isearch-filter-visible): Make obsolete.
1093 (isearch-lazy-highlight-search):
1094 Call `run-hook-with-args-until-failure' on
1095 `isearch-filter-predicates' and use `isearch-range-invisible'.
1097 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
1098 `isearch-filter-predicates' instead of `funcall'ing
1099 `isearch-filter-predicate'.
1100 (Info-mode): Set `Info-isearch-filter' to
1101 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
1103 * dired-aux.el (dired-isearch-filter-predicate-orig):
1105 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
1106 (dired-isearch-filenames-end): Add and remove
1107 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
1108 instead of changing the value of `isearch-filter-predicate'.
1109 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
1110 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
1111 Put property `isearch-message-prefix' to "filename " on
1112 `dired-isearch-filter-filenames'.
1114 * wdired.el (wdired-change-to-wdired-mode):
1115 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
1116 locally instead of changing `isearch-filter-predicate'.
1117 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
1119 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
1121 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
1122 return the commit hash (Bug#14459). Also set the
1123 `vc-git-detached' property.
1124 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
1125 (vc-git-mode-line-string): Use the same help-echo format whether
1126 in detached mode or not, because we know the actual revision now.
1127 When in detached mode, shorten the revision to 7 chars.
1129 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * emacs-lisp/easy-mmode.el (define-minor-mode):
1132 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
1133 mode hook and provide a docstring.
1135 2013-05-27 Alan Mackenzie <acm@muc.de>
1137 Remove spurious syntax-table text properties inserted by C-y.
1138 * progmodes/cc-mode.el (c-after-change): Also clear hard
1139 syntax-table property with value nil.
1141 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
1143 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
1144 when reading the events; the buffer layout shall not be changed.
1146 2013-05-27 Leo Liu <sdl.web@gmail.com>
1148 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
1150 (inferior-octave-directory-tracker): Automatically re-sync
1152 (octave-help): Improve handling of 'See also'.
1154 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * doc-view.el: Minor naming convention tweaks.
1157 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
1159 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
1160 even if there's no `display' property yet (bug#14435).
1162 2013-05-25 Eli Zaretskii <eliz@gnu.org>
1164 * subr.el (unmsys--file-name): Rename from reveal-filename.
1166 * Makefile.in (custom-deps, finder-data, autoloads)
1167 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1168 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1169 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
1171 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
1174 error-completion on the first 2 args of condition-case (bug#14446).
1177 2013-05-25 Leo Liu <sdl.web@gmail.com>
1179 * comint.el (comint-previous-matching-input): Do not flood the
1180 *Messages* buffer with trivial messages.
1182 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * progmodes/flymake.el (flymake-nop): Don't return a string.
1185 (flymake-set-at): Fix typo.
1187 * simple.el (read--expression): New function, extracted from
1188 eval-expression. Set completion-at-point-functions (bug#14465).
1189 (eval-expression, eval-minibuffer): Use it.
1191 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
1193 * progmodes/flymake.el (flymake-save-buffer-in-file)
1194 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
1195 (flymake-selected-frame, flymake-log, flymake-ins-after)
1196 (flymake-set-at, flymake-get-buildfile-from-cache)
1197 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
1198 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
1199 Refine the doc string.
1200 (flymake-get-file-name-mode-and-masks): Reformat.
1201 (flymake-get-real-file-name-function): Fix a minor bug.
1203 2013-05-24 Juri Linkov <juri@jurta.org>
1205 * progmodes/grep.el (grep-mode-font-lock-keywords):
1206 Support =linenumber= format used by git-grep for lines with
1207 function names. (Bug#13549)
1209 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * progmodes/octave.el (octave-smie-rules): Return nil rather than
1212 0 after a semi-colon; it works better for smie-auto-fill.
1213 (octave--indent-new-comment-line): New function.
1214 (octave-indent-new-comment-line): Use it (indirectly).
1215 (octave-mode): Don't disable smie-auto-fill. Use add-function to
1216 modify comment-line-break-function.
1218 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
1219 (smie-setup): Use add-function to set it.
1221 2013-05-24 Sam Steingold <sds@gnu.org>
1223 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
1224 argument (before the `interactive' argument).
1226 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1228 * image-mode.el (image-mode-winprops): Add winprops to
1229 image-mode-winprops-alist before running
1230 image-mode-new-window-functions.
1231 * doc-view.el (doc-view-new-window-function): Don't delay
1232 doc-view-goto-page via timers (bug#14435).
1234 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1236 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1237 (doc-view-desktop-save-buffer): New function.
1238 (doc-view-restore-desktop-buffer): New function.
1239 (desktop-buffer-mode-handlers):
1240 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1242 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1243 `desktop-save-buffer' function.
1245 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1247 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1248 (tramp-gvfs-file-name-handler): Raise a user error when
1249 `tramp-gvfs-enabled' is nil.
1250 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1251 Do not raise a user error when loading package. (Bug#14447)
1253 * net/xesam.el: Move to obsolete/.
1255 2013-05-24 Glenn Morris <rgm@gnu.org>
1257 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1259 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1261 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1262 (Info-find-node, Man-getpage-in-background): Declare.
1264 * mail/unrmail.el (unrmail):
1265 Replace obsolete detect-coding-with-priority.
1267 * net/socks.el (socks-split-string): Use this rather than split-string.
1268 (socks-nslookup-host): Update for above change.
1269 (dynamic-choice, s5-dynamic-choice-match)
1270 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1271 Comment out unused code.
1273 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1274 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1275 (gud-tooltip-echo-area): Make obsolete.
1276 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1278 * progmodes/js.el (js--optimize-arglist): Declare.
1280 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1282 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1283 (ediff-window-C): Declare.
1285 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1286 Tweak requires to silence compiler.
1288 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1289 (he-search-string, he-tried-table, he-expand-list)
1290 (he-init-string, he-string-member, he-substitute-string)
1291 (he-reset-string): Declare.
1293 * obsolete/options.el (list-options): Use custom-variable-p,
1294 rather than obsolete alias.
1296 2013-05-23 Sam Steingold <sds@gnu.org>
1298 * simple.el (shell-command-on-region): Pass the `replace' argument
1299 down to `call-process-region' to comply with the doc as reported on
1300 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1302 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * emacs-lisp/smie.el (smie-indent-forward-token)
1305 (smie-indent-backward-token): Handle string tokens (bug#14381).
1307 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1309 * ielm.el (ielm-menu): New menu.
1310 (inferior-emacs-lisp-mode): Set comment-start.
1312 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1314 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1315 Fix deactivate action.
1317 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1318 Add cleveref macros.
1320 * lisp/textmodes/reftex-parse.el
1321 (reftex-locate-bibliography-files): Accept options for
1322 bibliography commands.
1323 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1324 Add addbibresource. Basic Biblatex support.
1326 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1328 * net/tramp-gvfs.el (top):
1329 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1330 when loading package. (Bug#14447)
1332 2013-05-23 Glenn Morris <rgm@gnu.org>
1334 * progmodes/js.el: No need to load comint when compiling.
1335 (ring-insert, comint-send-string, comint-send-input)
1336 (comint-last-input-end, ido-chop): Declare.
1338 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1339 * vc/ediff-mult.el: Adjust requires.
1340 (ediff-directories-internal, ediff-directory-revisions-internal)
1341 (ediff-patch-file-internal): Declare.
1342 * vc/ediff-ptch.el: Adjust requires.
1343 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1344 (ediff-find-file): Autoload.
1345 * vc/ediff-util.el: No need to load ediff when compiling.
1346 (ediff-regions-internal): Declare.
1347 * vc/ediff-wind.el: Adjust requires.
1348 (ediff-compute-toolbar-width): Define when compiling.
1349 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1350 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1351 (dired-get-filename, dired-get-marked-files)
1352 (ediff-last-dir-patch, ediff-patch-default-directory)
1353 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1354 (ediff-patch-buffer-internal): Declare.
1356 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1357 (ispell-process, ispell-buffer-local-words, lm-summary)
1358 (lm-section-start, lm-section-end): Declare.
1359 (checkdoc-ispell-init): Simplify.
1361 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1362 (he-string-member, he-reset-string, he-substitute-string): Declare.
1364 * eshell/em-ls.el: Adjust requires.
1365 (eshell-glob-regexp): Declare.
1366 * eshell/em-tramp.el: Adjust requires.
1367 (eshell-parse-command): Autoload.
1368 * eshell/em-xtra.el: Adjust requires.
1369 (eshell-parse-command): Autoload.
1370 * eshell/esh-ext.el: Adjust requires.
1371 (eshell-parse-command, eshell-close-handles): Autoload.
1372 * eshell/esh-io.el: Adjust requires.
1373 (eshell-output-filter): Autoload.
1374 * eshell/esh-util.el: No need to load tramp when compiling.
1375 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1377 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1378 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1379 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1380 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1381 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1382 * eshell/esh-opt.el, eshell/esh-proc.el:
1383 * eshell/esh-var.el: Adjust requires.
1384 * eshell/eshell.el: Do not require esh-util twice.
1385 (eshell-add-input-to-history): Declare.
1386 (eshell-command): Check history module is active before using it.
1388 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1390 2013-05-22 Leo Liu <sdl.web@gmail.com>
1392 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1394 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1396 * autorevert.el (auto-revert-notify-add-watch)
1397 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1398 it indicates changes in file modification time.
1400 2013-05-22 Glenn Morris <rgm@gnu.org>
1402 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1403 Always delete the autoloaded function from the noruntime and
1404 unresolved functions lists.
1406 * allout.el: No need to load epa, epg, overlay when compiling.
1407 (epg-context-set-passphrase-callback, epg-list-keys)
1408 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1409 (epg-key-user-id-list): Declare.
1411 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1412 (viper-set-parsing-style-toggling-macro)
1413 (viper-set-emacs-state-searchstyle-macros):
1414 Use called-interactively-p on Emacs.
1415 (viper-looking-back): Make it an obsolete alias. Update callers.
1416 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1417 Use looking-back rather than viper-looking-back.
1418 (viper-tmp-insert-at-eob, viper-enlarge-region)
1419 (viper-read-string-with-history, viper-register-to-point)
1420 (viper-append-to-register, viper-change-state-to-vi)
1421 (viper-backward-char-carefully, viper-forward-char-carefully)
1422 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1423 (viper-change-state-to-emacs): Declare.
1424 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1425 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1426 * emulation/viper-mous.el: Do not load viper-cmd.
1427 (viper-backward-char-carefully, viper-forward-char-carefully)
1428 (viper-forward-word, viper-adjust-window): Declare.
1430 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1432 * progmodes/idlw-help.el (idlwave-help-fontify):
1433 Use called-interactively-p.
1435 * term/w32console.el (w32-get-console-codepage)
1436 (w32-get-console-output-codepage): Declare.
1438 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1439 Remove unnecessary declarations.
1440 (dframe-message): Doc fix.
1442 * info.el (dframe-select-attached-frame, dframe-current-frame):
1445 * speedbar.el (speedbar-message): Make it an obsolete alias.
1447 (speedbar-with-attached-buffer)
1448 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1449 (speedbar-with-writable): Use backquote.
1450 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1451 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1452 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1453 rather than speedbar- aliases.
1454 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1455 (speedbar-make-specialized-keymap, speedbar-insert-button)
1456 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1457 (speedbar-do-function-pointer): Declare.
1458 (rmail-speedbar-button, rmail-speedbar-find-file)
1459 (rmail-speedbar-move-message):
1460 Use dframe-with-attached-buffer rather than speedbar- alias.
1461 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1462 (dframe-message, speedbar-make-specialized-keymap)
1463 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1464 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1465 (speedbar-insert-button, dframe-select-attached-frame)
1466 (dframe-maybee-jump-to-attached-frame)
1467 (speedbar-change-initial-expansion-list)
1468 (speedbar-previously-used-expansion-list-name): Declare.
1469 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1470 Use dframe-message, dframe-with-attached-buffer rather than
1472 (gud-sentinel): Silence compiler.
1473 * progmodes/vhdl-mode.el (speedbar-refresh)
1474 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1475 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1476 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1477 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1478 (speedbar-file-lists, speedbar-make-tag-line)
1479 (speedbar-line-directory, speedbar-goto-this-file)
1480 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1481 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1482 (speedbar-make-button, speedbar-reset-scanners)
1483 (speedbar-files-item-info, speedbar-line-text)
1484 (speedbar-find-file-in-frame, speedbar-set-timer)
1485 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1486 (speedbar-with-writable): Do not (re)define it.
1487 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1488 rather than speedbar- alias.
1490 2013-05-21 Leo Liu <sdl.web@gmail.com>
1492 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1494 (octave-mode): Tweak fill-nobreak-predicate.
1495 (inferior-octave-startup): Check process to avoid infinite loop.
1496 (inferior-octave): Pop to buffer first to show abornmal process
1499 2013-05-21 Glenn Morris <rgm@gnu.org>
1501 * printing.el (pr-menu-bar): Define when compiling.
1503 2013-05-21 Leo Liu <sdl.web@gmail.com>
1505 * progmodes/octave.el (octave-auto-fill): Remove.
1506 (octave-indent-new-comment-line): Improve.
1507 (octave-mode): Use auto fill mode through
1508 comment-line-break-function and fill-nobreak-predicate
1509 (octave-goto-function-definition): Support DEFUN_DLD.
1510 (octave-beginning-of-defun): Small Tweak
1511 (octave-help): Show parent directory.
1513 2013-05-21 Glenn Morris <rgm@gnu.org>
1515 * files.el (dired-unmark):
1516 * progmodes/gud.el (gdb-input): Update declarations.
1518 * calculator.el (electric, ehelp): No need to load when compiling.
1519 (Electric-command-loop, electric-describe-mode): Declare.
1521 * doc-view.el (doc-view-current-converter-processes): Move before use.
1523 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1524 Move MODE-set-explicitly definition before use.
1526 * international/mule-diag.el (mule-diag):
1527 Don't use obsolete window-system-version.
1529 * mail/feedmail.el (smtpmail): No need to load when compiling.
1530 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1532 * mail/mail-utils.el (rfc822): No need to load when compiling.
1533 (rfc822-addresses): Autoload it.
1534 (mail-strip-quoted-names): Trivial simplification.
1536 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1537 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1539 * net/snmp-mode.el (tempo): Don't duplicate requires.
1541 * progmodes/prolog.el (info): No need to load when compiling.
1542 (comint): Require before shell requires it.
1543 (Info-goto-node): Autoload it.
1544 (Info-follow-nearest-node): Declare.
1545 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1547 * textmodes/artist.el (picture-mode-exit): Declare.
1549 * textmodes/reftex-parse.el (reftex-parse-from-file):
1550 Trivial rewrite so the compiler can parse it better.
1552 2013-05-20 Leo Liu <sdl.web@gmail.com>
1554 * progmodes/octave.el (octave-help-mode-map)
1555 (octave-help-mode-finish-hook): New variables.
1556 (octave-help-mode, octave-help-mode-finish): New functions.
1557 (octave-help): Use octave-help-mode.
1559 2013-05-20 Glenn Morris <rgm@gnu.org>
1561 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1563 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1565 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1566 start at point, so that expansion starting right after opening
1567 slash in a regexp is recognized.
1568 (ruby-syntax-before-regexp-re): New defvar, extracted from
1569 ruby-syntax-propertize-function. Since the value of this regexp
1570 is looked up at runtime now, we should be able to turn
1571 `ruby-syntax-methods-before-regexp' into a defcustom later.
1572 (ruby-syntax-propertize-function): Split regexp matching into two
1573 parts, for opening and closing slashes. That allows us to skip
1574 over string interpolations and support multiline regexps.
1575 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1576 for them, which calls `ruby-syntax-propertize-expansion'.
1577 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1578 call to `ruby-syntax-propertize-function'.
1579 (ruby-syntax-propertize-expansion): Extracted from
1580 `ruby-syntax-propertize-expansions'. Handles one expansion.
1581 (ruby-syntax-propertize-percent-literal): Leave point right after
1582 the percent symbol, so that the expression expansion rule can
1583 propertize the contents.
1584 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1586 (ruby-syntax-propertize-expansions): Remove.
1588 2013-05-18 Juri Linkov <juri@jurta.org>
1590 * man.el (Man-default-man-entry): Remove `-' from the end
1591 of the default value. (Bug#14400)
1593 2013-05-18 Glenn Morris <rgm@gnu.org>
1595 * comint.el (comint-password-prompt-regexp):
1596 Allow "password for XXX" where XXX contains colons (eg https://...).
1598 2013-05-18 Leo Liu <sdl.web@gmail.com>
1600 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1601 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1602 (octave-source-directories): Don't check process.
1603 (octave-source-directories, octave-find-definition): Doc fix.
1605 2013-05-18 Glenn Morris <rgm@gnu.org>
1607 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1608 Remove backspace/delete bindings. (Bug#14392)
1610 * cus-dep.el (custom-make-dependencies): Sort the output.
1611 (custom-versions-load-alist): Convert comment to doc.
1613 2013-05-17 Leo Liu <sdl.web@gmail.com>
1615 * newcomment.el (comment-search-backward): Stricter in finding
1616 comment start. (Bug#14303)
1618 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1619 (octave-comment-start-skip): Properly anchored.
1621 2013-05-17 Leo Liu <sdl.web@gmail.com>
1623 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1624 Clean up when turned off. (Bug#14395)
1625 (smie--highlight-matching-block-overlay): No longer buffer-local.
1626 (smie-highlight-matching-block): Adjust.
1628 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1630 Doc string fix for "nanoseconds" (Bug#14406).
1631 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1632 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1634 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1636 * calc/calc-units.el (math-extract-units): Preserve powers
1639 2013-05-17 Leo Liu <sdl.web@gmail.com>
1641 * subr.el (delete-consecutive-dups): New function.
1642 * ido.el (ido-set-matches-1): Use it.
1643 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1644 * ido.el (ido-remove-consecutive-dups): Remove.
1646 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1649 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1650 regexp-opt's `words'.
1652 2013-05-16 Leo Liu <sdl.web@gmail.com>
1654 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1655 (smie--highlight-matching-block-overlay)
1656 (smie--highlight-matching-block-lastpos)
1657 (smie--highlight-matching-block-timer): New variables.
1658 (smie-highlight-matching-block): New function.
1659 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1660 (smie-setup): Conditionally enable smie-blink-matching-open.
1662 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1664 Sync with upstream verilog-mode r840.
1665 * progmodes/verilog-mode.el (verilog-mode-version)
1666 (verilog-mode-release-date): Update.
1667 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1668 (verilog-sig-tieoff): Fix string error on
1669 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1670 (verilog-read-decls): Fix parameters confusing
1671 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1673 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1675 * subr.el (reveal-filename): New function.
1677 * loadup.el: Compute Emacs executable versions on MS-Windows,
1678 where executables have the .exe extension. Add a hard link
1679 emacs-XX.YY.ZZ.exe on MS-Windows.
1681 * Makefile.in (XARGS_LIMIT): New variable.
1682 (custom-deps, finder-data, autoloads)
1683 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1684 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1685 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1686 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1688 2013-05-16 Leo Liu <sdl.web@gmail.com>
1690 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1691 (octave-mode-menu, octave-mode-map): Remove its uses.
1693 2013-05-16 Reto Zimmermann <reto@gnu.org>
1695 Sync with upstream vhdl mode v3.34.2.
1696 * progmodes/vhdl-mode.el: Use `push' throughout.
1697 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1698 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1699 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1700 (vhdl-actual-generic-name): New option to derive actual generic name.
1701 (vhdl-port-paste-signals): Replace formal by actual generics.
1702 (vhdl-beautify): New name for old group vhdl-align. Update users.
1703 (vhdl-beautify-options): New option.
1704 (vhdl-last-input-event): New compat alias. Use throughout.
1705 (vhdl-goto-line): Replace user level function `goto-line'.
1706 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1707 vhdl-fix-statement-buffer.
1708 (vhdl-create-mode-menu): Add some entries.
1709 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1710 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1711 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1712 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1713 to force statements on one line.
1714 (vhdl-remove-trailing-spaces-region):
1715 New, split from vhdl-remove-trailing-spaces.
1716 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1717 Respect vhdl-beautify-options.
1718 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1719 (vhdl-update-sensitivity-list): Not add with index if exists without.
1720 Not include array index with signal. Ignore keywords in comments.
1721 (vhdl-get-visible-signals): Regexp tweaks.
1722 (vhdl-template-component-inst): Handle empty library.
1723 (vhdl-template-type): Add template for 'enum' type.
1724 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1725 Use vhdl-replace-string.
1726 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1727 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1728 (vhdl-speedbar-initialize): Update for above name change.
1729 (vhdl-compose-wire-components): Fix in handling of constants.
1730 (vhdl-error-regexp-emacs-alist): New variable.
1731 (vhdl-error-regexp-add-emacs): New function;
1732 adds support for new compile.el (Emacs 22+)
1733 (vhdl-generate-makefile-1): Change target order for single lib. units.
1734 Allow use of absolute file names.
1736 2013-05-16 Leo Liu <sdl.web@gmail.com>
1738 * simple.el (prog-indent-sexp): Indent enclosing defun.
1740 2013-05-15 Glenn Morris <rgm@gnu.org>
1742 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1743 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1744 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1745 (whitespace-highlight): Move to whitespace group.
1747 * comint.el (comint-source):
1748 * pcmpl-linux.el (pcmpl-linux):
1749 * shell.el (shell-faces):
1750 * eshell/esh-opt.el (eshell-opt):
1751 * international/ccl.el (ccl): Remove empty custom groups.
1753 * completion.el (dynamic-completion-mode):
1754 * jit-lock.el (jit-lock-debug-mode):
1755 * minibuffer.el (completion-in-region-mode):
1756 * type-break.el (type-break-mode-line-message-mode)
1757 (type-break-query-mode):
1758 * emulation/tpu-edt.el (tpu-edt-mode):
1759 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1760 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1761 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1763 * term/xterm.el (xterm): Change parent group to terminals.
1765 * master.el (master): Remove empty custom group.
1766 (master-mode): Remove unused :group argument.
1767 * textmodes/refill.el (refill): Remove empty custom group.
1768 (refill-mode): Remove unused :group argument.
1770 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1772 * cus-dep.el: Provide a feature.
1773 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1774 Don't mistakenly ignore files whose basenames match a basename
1775 from preloaded-file-list (eg cedet/ede/simple.el).
1776 Add a fallback method for getting :group.
1778 2013-05-15 Juri Linkov <juri@jurta.org>
1780 * isearch.el (isearch-char-by-name): Rename from
1781 `isearch-insert-char-by-name'. Doc fix.
1782 (isearch-forward): Mention `isearch-char-by-name' in
1783 the docstring. (Bug#13348)
1785 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1786 `exit-minibuffer' instead of
1787 `isearch-nonincremental-exit-minibuffer'.
1788 (isearch-edit-string): Remove mention of
1789 `isearch-nonincremental-exit-minibuffer' from docstring.
1790 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1791 (isearch-forward-exit-minibuffer)
1792 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1794 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * loadup.el: Just use unversioned DOC.
1798 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1799 literals as extending to EOB.
1800 (nxml-last-fontify-end): Remove unused variable.
1801 (nxml-after-change1): Use with-silent-modifications.
1802 (nxml-extend-after-change-region): Simplify.
1803 (nxml-extend-after-change-region1): Remove function.
1804 (nxml-after-change1): Don't adjust for dependent regions.
1805 (nxml-fontify-matcher): Simplify.
1806 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1807 (xmltok-add-dependent): Remove function.
1808 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1809 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1810 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1811 unclosed <[[, <?, comment, and other literals as extending to EOB.
1812 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1813 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1815 (rng-do-some-validation-1): Don't mark dependent regions.
1816 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1817 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1818 (nxml-clear-dependent-regions): Remove functions.
1819 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1820 (nxml-ensure-scan-up-to-date):
1821 Don't clear&mark dependent regions.
1823 2013-05-15 Leo Liu <sdl.web@gmail.com>
1825 * progmodes/octave.el (octave-goto-function-definition):
1826 Improve and fix callers.
1828 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1830 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1831 the setter (bug#14387).
1833 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1834 surrounding group (bug#14402).
1836 2013-05-14 Juri Linkov <juri@jurta.org>
1838 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1841 2013-05-14 Glenn Morris <rgm@gnu.org>
1843 * progmodes/f90.el (f90-imenu-generic-expression):
1844 Fix typo in 2013-05-08 change. (Bug#14402)
1846 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1848 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1849 Remove signals for which replies are never received.
1851 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1853 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1854 (gdb-handler-alist, gdb-handler-number): Remove variables.
1855 (gdb-handler-list): New variable.
1856 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1857 (gdb-pending-handler-p, gdb-handle-reply)
1858 (gdb-remove-all-pending-triggers): New functions.
1859 (gdb-discard-unordered-replies): New defcustom.
1860 (gdb-handler): New defstruct.
1861 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1862 instead of gdb-pending-triggers. Update docstring.
1863 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1864 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1865 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1866 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1867 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1868 (gdb-frame-handler): Pending triggers are now automatically managed.
1869 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1871 (gdb-input): Automatically handles pending triggers. Update docstring.
1872 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1873 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1875 (gdb-done-or-error): Now use gdb-handle-reply.
1877 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1879 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1882 2013-05-14 Glenn Morris <rgm@gnu.org>
1884 * subr.el (user-emacs-directory-warning): New option.
1885 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1887 2013-05-14 Leo Liu <sdl.web@gmail.com>
1889 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1891 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1892 (octave-font-lock-texinfo-comment): Fix invalid search bound
1893 error: wrong side of point.
1895 2013-05-14 Glenn Morris <rgm@gnu.org>
1897 * progmodes/flymake.el (flymake-xml-program): New option.
1898 (flymake-xml-init): Use it.
1900 * term/xterm.el: Provide a feature.
1902 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1904 2013-05-13 Glenn Morris <rgm@gnu.org>
1906 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1907 Add compat aliases as a hack workaround. (Bug#14384)
1909 2013-05-13 Leo Liu <sdl.web@gmail.com>
1911 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1913 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1915 (octave-comment-start-skip): Include %!.
1916 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1918 2013-05-12 Leo Liu <sdl.web@gmail.com>
1920 * progmodes/octave.el (inferior-octave-startup): Store the value
1921 of __octave_srcdir__ for octave-source-directories.
1922 (inferior-octave-check-process): New function refactored out of
1923 inferior-octave-send-list-and-digest.
1924 (octave-source-directories)
1925 (octave-find-definition-filename-function): New variables.
1926 (octave-source-directories)
1927 (octave-find-definition-default-filename): New functions.
1928 (octave-find-definition): Improve to find functions implemented in C++.
1930 2013-05-12 Glenn Morris <rgm@gnu.org>
1932 * calendar/diary-lib.el (diary-outlook-format-1):
1933 Don't include dayname in the output. (Bug#14349)
1935 2013-05-11 Glenn Morris <rgm@gnu.org>
1937 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1939 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1940 Treat cc-provide like provide.
1942 2013-05-11 Kevin Ryde <user42@zip.com.au>
1944 * cus-dep.el (custom-make-dependencies):
1945 Use generated-autoload-load-name for the sake of files such
1946 such cedet/semantic/bovine/c.el, where the base file name
1947 is not in load-path. (Bug#5277)
1949 2013-05-11 Glenn Morris <rgm@gnu.org>
1951 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1954 2013-05-11 Leo Liu <sdl.web@gmail.com>
1956 * progmodes/octave.el (octave-indent-comment): Improve.
1957 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1958 (octave-eldoc-function-signatures, octave-eldoc-function):
1960 (octave-mode, inferior-octave-mode): Add eldoc support.
1962 2013-05-11 Richard Stallman <rms@gnu.org>
1964 * epa.el (epa-decrypt-file): Take output file name as argument
1965 and read it using `interactive'.
1967 2013-05-11 Leo Liu <sdl.web@gmail.com>
1969 * progmodes/octave.el (octave-beginning-of-line)
1970 (octave-end-of-line): Check before using up-list because it jumps
1971 out of more syntactic contructs since moving to smie.
1972 (octave-indent-comment): New function.
1973 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1974 (octave-begin-keywords, octave-end-keywords)
1975 (octave-reserved-words, octave-smie-bnf-table)
1976 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1978 2013-05-11 Glenn Morris <rgm@gnu.org>
1980 * faces.el (internal-face-x-get-resource):
1981 * frame.el (ns-display-monitor-attributes-list):
1982 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1984 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1986 * calc/calc-menu.el: Make it loadable in isolation.
1988 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1989 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1990 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1991 (eudc-bbdb-query-internal): Require 'bbdb.
1993 * lpr.el (lpr-headers-switches):
1994 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1996 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1998 * emulation/edt-mapper.el: In batch mode, error rather than hang.
2000 * term.el (term-set-escape-char): Make it idempotent.
2002 2013-05-10 Leo Liu <sdl.web@gmail.com>
2004 * progmodes/octave.el (inferior-octave-completion-table):
2005 No longer a function and all uses changed. Use cache to speed up
2006 completion due to bug#11906.
2007 (octave-beginning-of-defun): Re-write to be more general.
2009 2013-05-10 Glenn Morris <rgm@gnu.org>
2011 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
2013 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * comint.el (comint-redirect-send-command-to-process): Use :around
2016 rather than :override for comint-redirect-filter.
2017 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
2018 Call it instead of comint-redirect-original-filter-function (which
2019 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
2021 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
2023 * frame.el (display-monitor-attributes-list): Add NS case.
2024 (ns-display-monitor-attributes-list): Declare.
2026 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
2028 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
2030 2013-05-09 Glenn Morris <rgm@gnu.org>
2032 * international/fontset.el (vertical-centering-font-regexp):
2035 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
2037 * bookmark.el (bookmark-search-delay):
2038 * cus-start.el (vertical-centering-font-regexp):
2039 * ps-mule.el (ps-mule-font-info-database-default):
2040 * ps-print.el (ps-default-fg, ps-default-bg):
2041 * type-break.el (type-break-good-break-interval):
2042 * whitespace.el (whitespace-indentation-regexp)
2043 (whitespace-space-after-tab-regexp):
2044 * emacs-lisp/testcover.el (testcover-1value-functions)
2045 (testcover-noreturn-functions, testcover-progn-functions)
2046 (testcover-prog1-functions):
2047 * emulation/viper-init.el (viper-emacs-state-cursor-color):
2048 * eshell/em-glob.el (eshell-glob-translate-alist):
2049 * play/tetris.el (tetris-tty-colors):
2050 * progmodes/cpp.el (cpp-face-default-list):
2051 * progmodes/flymake.el (flymake-allowed-file-name-masks):
2052 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
2053 (idlwave-help-browser-generic-args):
2054 * progmodes/make-mode.el (makefile-special-targets-list):
2055 * progmodes/python.el (python-shell-virtualenv-path):
2056 * progmodes/verilog-mode.el (verilog-active-low-regexp)
2057 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
2058 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
2059 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
2060 * textmodes/reftex-vars.el (reftex-format-label-function):
2061 * textmodes/remember.el (remember-diary-file): Fix custom types.
2063 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
2066 2013-05-09 Leo Liu <sdl.web@gmail.com>
2068 * progmodes/octave.el (inferior-octave-completion-at-point):
2069 Restore file completion. (Bug#14300)
2070 (inferior-octave-startup): Fix incorrect highlighting for the
2073 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2075 * progmodes/ruby-mode.el: First cut at SMIE support.
2076 (ruby-use-smie): New var.
2077 (ruby-smie-grammar): New constant.
2078 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
2079 (ruby-smie--forward-token, ruby-smie--backward-token)
2080 (ruby-smie-rules): New functions.
2081 (ruby-mode-variables): Setup SMIE if applicable.
2083 2013-05-08 Eli Zaretskii <eliz@gnu.org>
2085 * simple.el (line-move-visual): Signal beginning/end of buffer
2086 only if vertical-motion moved less than it was requested. Avoids
2087 silly incorrect error messages when there are display strings with
2088 multiple newlines at EOL.
2090 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
2093 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
2094 (prolog-char-quote-workaround):
2095 * progmodes/cperl-mode.el (cperl-under-as-char):
2096 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
2098 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
2100 (vhdl-mode-syntax-table-init): Remove.
2102 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
2105 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
2107 (ld-script-font-lock-keywords):
2108 Change regexps to use things like \_< and \_>.
2110 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
2111 Change all regexps to use things like \_< and \_>.
2113 * progmodes/autoconf.el (autoconf-definition-regexp)
2114 (autoconf-font-lock-keywords, autoconf-current-defun-function):
2115 Handle a _ with symbol syntax.
2116 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
2118 * progmodes/ada-mode.el (ada-mode-abbrev-table):
2119 Consolidate declaration.
2120 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
2122 (ada-create-syntax-table): Remove.
2123 (ada-capitalize-word): Don't mess with the syntax of "_" since it
2124 already has the right syntax nowadays.
2125 (ada-goto-next-word): Don't change the syntax of "_".
2127 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
2130 2013-05-08 Sam Steingold <sds@gnu.org>
2132 * thingatpt.el (thing-at-point): Accept optional second argument
2133 NO-PROPERTIES to strip the text properties from the return value.
2134 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
2135 to `thing-at-point' instead of stripping the properties ourselves.
2136 Also, when `thing-at-point' fails to find a url, prepend "http://"
2137 to the filename at point on the assumption that the user is
2138 pointing at something like gnu.org/gnu.
2140 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
2142 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2143 * faces.el (crm-separator):
2144 Silence byte-compiler.
2146 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
2147 (tool-bar-map): Remove unneeded defvars.
2149 2013-05-08 Leo Liu <sdl.web@gmail.com>
2151 Re-work a fix for bug#10994 based on Le Wang's patch.
2152 * ido.el (ido-remove-consecutive-dups): New helper.
2153 (ido-completing-read): Use it.
2154 (ido-chop): Revert fix for bug#10994.
2156 2013-05-08 Adam Spiers <emacs@adamspiers.org>
2158 * cus-edit.el (custom-save-variables):
2159 Pretty-print long values. (Bug#14187)
2161 2013-05-08 Glenn Morris <rgm@gnu.org>
2163 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
2164 (m4-mode-syntax-table): Init in the defvar.
2165 (m4-mode-abbrev-table): Let define-derived-mode define it.
2167 2013-05-08 Tom Tromey <tromey@redhat.com>
2169 * progmodes/m4-mode.el (m4-mode-syntax-table):
2170 Do not treat "_" as word constituent. (Bug#14167)
2172 2013-05-07 Glenn Morris <rgm@gnu.org>
2174 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
2175 Remove explicit eshell-isearch-cancel-map.
2177 * progmodes/f90.el (f90-smart-end-names): New option.
2178 (f90-smart-end): Doc fix.
2179 (f90-end-block-optional-name): New constant.
2180 (f90-block-match): Respect f90-smart-end-names.
2182 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2184 * progmodes/octave.el (octave-smie-forward-token): Be more careful
2185 about implicit semi-colons (bug#14218).
2187 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2189 * frame.el (display-monitor-attributes-list)
2190 (frame-monitor-attributes): New functions.
2192 2013-05-06 Leo Liu <sdl.web@gmail.com>
2194 * progmodes/octave.el (octave-syntax-propertize-function): Change
2195 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
2196 (octave-font-lock-keywords): Use octave-operator-regexp.
2197 (octave-completion-at-point): Rename from
2198 octave-completion-at-point-function.
2199 (inferior-octave-directory-tracker): Robustify.
2200 (octave-text-functions): Remove and fix its uses. No such things
2203 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * emacs-lisp/trace.el (trace--display-buffer): New function.
2206 (trace-make-advice): Use it.
2208 2013-05-06 Juri Linkov <juri@jurta.org>
2210 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
2211 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
2213 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
2214 in the help string. (Bug#12985)
2216 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2218 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
2220 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * progmodes/perl-mode.el: Add support for here documents.
2223 (perl-syntax-propertize-function): Match here-doc markers.
2224 (perl-syntax-propertize-special-constructs): Find their end.
2225 (perl-imenu-generic-expression): Use [:alnum:].
2227 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2228 (advice--add-function): Refresh the advice if already present
2231 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2233 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2235 2013-05-06 Glenn Morris <rgm@gnu.org>
2237 * w32-fns.el (w32-charset-info-alist): Declare.
2239 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2240 of its defcustom properties.
2241 (eshell-cmpl-initialize): No need to load pcomplete.
2243 * generic-x.el: No need to require comint when compiling.
2245 * net/eudc-export.el: Make it loadable without bbdb.
2246 (top-level): Use require rather than load-library.
2247 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2248 (eudc-batch-export-records-to-bbdb)
2249 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2252 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2255 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2256 some tweaks, instead.
2258 2013-05-05 Leo Liu <sdl.web@gmail.com>
2260 * progmodes/octave.el (octave-font-lock-keywords)
2261 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2262 (inferior-octave-send-list-and-digest): Improve error message.
2263 (octave-mode, inferior-octave-mode): Use setq-local.
2264 (octave-help): Set info-lookup-mode.
2266 2013-05-05 Richard Stallman <rms@gnu.org>
2268 * vc/compare-w.el (compare-windows-whitespace):
2269 Treat no-break space as whitespace.
2271 * mail/rmailsum.el (rmail-summary-rmail-update):
2272 Detect empty summary and don't change selected message.
2273 (rmail-summary-goto-msg): Likewise.
2275 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2276 Doc fixes, rename args.
2278 2013-05-05 Alan Mackenzie <acm@muc.de>
2280 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2282 2013-05-05 Juri Linkov <juri@jurta.org>
2284 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2285 to not add the length of the summary segment to the return value.
2288 2013-05-05 Leo Liu <sdl.web@gmail.com>
2290 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2291 (inferior-octave-output-filter): Remove.
2292 (octave-send-region, inferior-octave-startup): Fix callers.
2293 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2294 (octave-binary-file-extensions): New user variable.
2295 (octave-find-definition): Confirm if opening binary files.
2296 (octave-help-file): Use octave-find-definition to get the binary
2298 (octave-help): Adjust for octave-help-file change.
2300 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2303 Merge the two entries that handle function definitions.
2304 (pascal--syntax-propertize): New const.
2305 (pascal-mode): Use it. Use setq-local.
2307 2013-05-04 Glenn Morris <rgm@gnu.org>
2309 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2310 (diary-from-outlook): Respect diary-from-outlook-function.
2312 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2315 Move the declaration from C.
2316 (read-minibuffer, eval-minibuffer): Move from C.
2317 (completion-setup-function): Avoid minibuffer-completion-contents.
2319 2013-05-03 Leo Liu <sdl.web@gmail.com>
2321 * progmodes/octave.el (octave-font-lock-keywords): Do not
2322 dehighlight 'end' in comments or strings.
2323 (octave-completing-read, octave-goto-function-definition):
2325 (octave-help-buffer): New user variable.
2326 (octave-help-file, octave-help-function): New button types.
2327 (octave-help): New command and bind it to C-h ;.
2328 (octave-find-definition): New command and bind it to M-.
2329 (user-error): Alias to error if not defined.
2331 2013-05-02 Leo Liu <sdl.web@gmail.com>
2333 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2335 (octave-font-lock-keywords): Include [ and {.
2337 2013-05-02 Leo Liu <sdl.web@gmail.com>
2339 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2340 (inferior-octave): Remove calling comint-mode and return the buffer.
2341 (inferior-octave-startup): Cosmetic changes.
2343 2013-05-02 Leo Liu <sdl.web@gmail.com>
2345 * progmodes/octave.el (octave-syntax-propertize-function):
2346 Include the case when ' is at line beginning. (Bug#14336)
2348 2013-05-02 Glenn Morris <rgm@gnu.org>
2350 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2351 * desktop.el (vc-dir-mode): Just autoload it here.
2353 2013-05-02 Alan Mackenzie <acm@muc.de>
2355 Eliminate variable c-standard-font-lock-fontify-region-function.
2356 * progmodes/cc-mode.el
2357 (c-standard-font-lock-fontify-region-function): Remove.
2358 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2360 2013-05-01 Leo Liu <sdl.web@gmail.com>
2362 * progmodes/octave.el: Compatible with older emacs-24 releases.
2363 (inferior-octave-has-built-in-variables): Remove. Built-in
2364 variables were removed from Octave in 2007.
2365 (inferior-octave-startup): Fix uses.
2366 (comint-line-beginning-position): Remove compatibility code for
2369 2013-05-01 Juri Linkov <juri@jurta.org>
2371 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2373 2013-05-01 Juri Linkov <juri@jurta.org>
2375 * comint.el (comint-previous-matching-input): Don't print message
2376 "History item: %d" when `isearch-mode' is active.
2377 (comint-history-isearch-message): Print message "History item: %d"
2378 when `comint-input-ring-index' is not empty and this function is
2379 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2381 2013-05-01 Leo Liu <sdl.web@gmail.com>
2383 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2384 definitions. Use completion-at-point to insert keywords.
2385 (octave-abbrev-start): Remove.
2386 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2388 2013-04-30 Leo Liu <sdl.web@gmail.com>
2390 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2393 2013-04-30 Alan Mackenzie <acm@muc.de>
2395 Handle arbitrarily long C++ member initialisation lists.
2396 * progmodes/cc-engine.el (c-back-over-member-initializers):
2398 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2399 (most) member init lists.
2401 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2403 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2406 2013-04-30 Leo Liu <sdl.web@gmail.com>
2408 * progmodes/octave.el (octave-variables): Remove. No builtin
2409 variables any more. All converted to functions.
2410 (octave-font-lock-keywords, octave-completion-at-point-function):
2412 (octave-font-lock-texinfo-comment): New user variable.
2413 (octave-texinfo-font-lock-keywords): New variable for texinfo
2415 (octave-function-comment-block): New face.
2416 (octave-font-lock-texinfo-comment): New function.
2417 (octave-mode): Font lock texinfo comment block.
2419 2013-04-29 Leo Liu <sdl.web@gmail.com>
2421 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2422 indexing expression.
2423 (octave-continuation-string): Do not use \.
2424 (inferior-octave-complete-impossible): Remove.
2425 (inferior-octave-completion-table)
2426 (inferior-octave-completion-at-point): Remove its uses.
2427 (inferior-octave-startup): completion_matches was introduced to
2428 Octave in 1996 so safe to assume it.
2429 (octave-function-file-comment): Improve to follow how Octave does it.
2430 (octave-update-function-file-comment): Tweak.
2432 2013-04-29 Leo Liu <sdl.web@gmail.com>
2434 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2435 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2436 (octave-function-file-comment): Fix typo.
2437 (octave-sync-function-file-names): Use read-char-choice.
2439 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2441 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2442 to t for the less important warnings.
2444 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2446 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2448 2013-04-27 Glenn Morris <rgm@gnu.org>
2450 * vc/log-view.el (log-view-current-entry):
2451 Treat "---" separator lines as part of the following rev. (Bug#14169)
2453 2013-04-27 Juri Linkov <juri@jurta.org>
2455 * subr.el (read-number): Doc fix about using it by interactive
2456 code letter `n'. (Bug#14254)
2458 2013-04-27 Juri Linkov <juri@jurta.org>
2460 * desktop.el (desktop-auto-save-timeout): New option.
2461 (desktop-file-checksum): New variable.
2462 (desktop-save): Add optional arg `auto-save' and don't auto-save
2464 (desktop-auto-save-timer): New variable.
2465 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2466 (after-init-hook): Call `desktop-auto-save-set-timer'.
2467 Suggested by Reuben Thomas <rrt@sc3d.org> in
2468 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2470 2013-04-27 Leo Liu <sdl.web@gmail.com>
2472 * progmodes/octave.el (octave-function-file-p)
2473 (octave-skip-comment-forward, octave-function-file-comment)
2474 (octave-update-function-file-comment): New functions.
2475 (octave-mode-map): Bind C-c ; to
2476 octave-update-function-file-comment.
2477 (octave-mode-menu): Add octave-update-function-file-comment.
2478 (octave-mode, inferior-octave-mode): Fix doc-string.
2479 (octave-insert-defun): Conform to Octave's coding convention.
2482 * files.el (basic-save-buffer): Don't let errors in
2483 before-save-hook prevent saving buffer.
2485 2013-04-20 Roland Winkler <winkler@gnu.org>
2487 * faces.el (read-face-name): Use completing-read if arg multiple
2490 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2492 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2493 displayed, move point to after the totals line.
2494 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2497 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2500 Add current dir to the load-path.
2501 (package-generate-autoloads): Don't rely on
2502 autoload-ensure-default-file.
2504 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2506 * textmodes/remember.el (remember-store-in-files): Document that
2507 the file name format is passed to `format-time-string'.
2509 2013-04-26 Leo Liu <sdl.web@gmail.com>
2511 * progmodes/octave.el (octave-sync-function-file-names): New function.
2512 (octave-mode): Use it in before-save-hook.
2514 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2519 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2520 \n and comment, even if it's not an implicit ; (bug#14218).
2522 2013-04-26 Glenn Morris <rgm@gnu.org>
2524 * subr.el (read-number): Once more use `read' rather than
2525 `string-to-number', to trap non-numeric input. (Bug#14254)
2527 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2529 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2530 Use `syntax-multiline' text property consistently instead of
2531 `font-lock-multiline'. (Bug#14237)
2533 2013-04-26 Glenn Morris <rgm@gnu.org>
2535 * emacs-lisp/shadow.el (list-load-path-shadows):
2536 No longer necessary to check for duplicate simple.el, since
2537 2012-07-07 change to init_lread to not include installation lisp
2538 directories in load-path when running uninstalled. (Bug#14270)
2540 2013-04-26 Leo Liu <sdl.web@gmail.com>
2542 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2543 (octave-mode, inferior-octave-mode): Use setq-local.
2544 (octave-not-in-string-or-comment-p): Rename to
2545 octave-in-string-or-comment-p.
2546 (octave-in-comment-p, octave-in-string-p)
2547 (octave-in-string-or-comment-p): Replace defsubst with defun.
2549 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2551 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2553 2013-04-25 Bastien Guerry <bzg@gnu.org>
2555 * textmodes/remember.el (remember-data-directory)
2556 (remember-directory-file-name-format): Fix custom types.
2558 2013-04-25 Leo Liu <sdl.web@gmail.com>
2560 * progmodes/octave.el (octave-completion-at-point-function):
2561 Make use of inferior octave process.
2562 (octave-initialize-completions): Remove.
2563 (inferior-octave-completion-table): New function.
2564 (inferior-octave-completion-at-point): Use it.
2565 (octave-completion-alist): Remove.
2567 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2569 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2570 (opascal-mode-syntax-table): New var.
2571 (opascal-literal-kind, opascal-is-literal-end)
2572 (opascal-literal-token-at): Rewrite.
2573 (opascal--literal-start-re, opascal-font-lock-keywords)
2574 (opascal--syntax-propertize): New constants.
2575 (opascal-font-lock-defaults): Adjust.
2576 (opascal-mode): Use them. Set comment-<foo> variables as well.
2577 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2578 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2579 (delphi-other-face, opascal-other-face): Remove face variables.
2580 (opascal-save-state): Remove macro.
2581 (opascal-fontifying-progress-step): Remove constant.
2582 (opascal--ignore-changes): Remove var.
2583 (opascal-set-token-property, opascal-parse-next-literal)
2584 (opascal-is-stable-literal, opascal-complete-literal)
2585 (opascal-is-literal-start, opascal-face-of)
2586 (opascal-parse-region, opascal-parse-region-until-stable)
2587 (opascal-fontify-region, opascal-after-change)
2588 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2589 (opascal-debug-parse-region, opascal-debug-parse-window)
2590 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2591 (opascal-debug-fontify-buffer): Remove.
2592 (opascal-debug-mode-map): Adjust accordingly.
2594 2013-04-25 Leo Liu <sdl.web@gmail.com>
2596 Merge octave-mod.el and octave-inf.el into octave.el with some
2598 * progmodes/octave.el: New file renamed from octave-mod.el.
2599 * progmodes/octave-inf.el: Merged into octave.el.
2600 * progmodes/octave-mod.el: Renamed to octave.el.
2602 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2604 * textmodes/reftex-vars.el
2605 (reftex-label-ignored-macros-and-environments): New defcustom.
2607 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2609 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2611 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2612 (smie-indent-keyword): Improve the check to ensure that the next
2613 comment is really on the same line.
2614 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2616 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2617 semi-colons if the line is not otherwise empty (bug#14218).
2619 2013-04-25 Glenn Morris <rgm@gnu.org>
2621 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2623 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2625 * progmodes/opascal.el (opascal-set-token-property): Rename from
2626 opascal-set-text-properties and only set `token' (bug#14134).
2627 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2628 (opascal-literal-text-properties): Remove.
2629 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2632 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2634 * textmodes/remember.el (remember-handler-functions): Add an
2635 option for a new handler `remember-store-in-files'.
2636 (remember-data-directory, remember-directory-file-name-format):
2638 (remember-store-in-files): New function to store remember notes
2639 as separate files within a directory.
2641 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2643 * progmodes/compile.el (compilation-next-error-function):
2644 Pass "formats" to compilation-find-file (bug#11777).
2646 2013-04-24 Glenn Morris <rgm@gnu.org>
2648 * vc/vc-bzr.el (vc-bzr-print-log):
2649 * vc/vc-hg.el (vc-hg-print-log):
2650 * vc/vc-svn.el (vc-svn-print-log):
2651 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2653 * vc/vc-bzr.el (vc-bzr-print-log):
2654 * vc/vc-cvs.el (vc-cvs-print-log):
2655 * vc/vc-git.el (vc-git-print-log):
2656 * vc/vc-hg.el (vc-hg-print-log):
2657 * vc/vc-mtn.el (vc-mtn-print-log):
2658 * vc/vc-rcs.el (vc-rcs-print-log):
2659 * vc/vc-sccs.el (vc-sccs-print-log):
2660 * vc/vc-svn.el (vc-svn-print-log):
2661 * vc/vc.el (vc-print-log-internal): Doc fixes.
2663 2013-04-23 Glenn Morris <rgm@gnu.org>
2665 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2666 Remove venerable code attempting to avoid substitute-command-keys.
2668 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2670 * textmodes/reftex-vars.el (reftex-label-regexps):
2671 Call `reftex-compile-variables' after changes to this variable.
2673 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2676 Use lexical-binding.
2677 (jit-lock-force-redisplay): Use markers, check buffer's continued
2678 existence and beware narrowed buffers.
2679 (jit-lock-fontify-now): Adjust call accordingly.
2681 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2684 to avoid misleading the user.
2686 2013-04-22 Leo Liu <sdl.web@gmail.com>
2688 * info-look.el: Prefer latex2e.info. (Bug#14240)
2690 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2692 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2694 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2695 * net/tramp.el (tramp-call-process): ... here
2696 (tramp-set-completion-function, tramp-parse-putty):
2697 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2698 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2699 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2700 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2701 (tramp-call-local-coding-command): Use `tramp-call-process'
2702 instead of `tramp-compat-call-process'.
2704 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2705 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2706 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2707 (tramp-find-inline-compress): Improve traces.
2708 (tramp-maybe-send-script): Check for Perl binary.
2709 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2711 2013-04-22 Daiki Ueno <ueno@gnu.org>
2713 * epg.el (epg-context-pinentry-mode): New function.
2714 (epg-context-set-pinentry-mode): New function.
2715 (epg--start): Pass --pinentry-mode option to gpg command.
2717 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2719 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2720 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2721 `completion-at-point'. (Bug#13774)
2723 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2724 default key binding for `describe-distribution' has been moved to
2725 `C-h C-o'. (Bug#13970)
2727 2013-04-21 Glenn Morris <rgm@gnu.org>
2729 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2731 (vc-print-log): Clarify interactive prompt.
2733 2013-04-20 Glenn Morris <rgm@gnu.org>
2735 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2736 No longer include timestamp etc information.
2738 2013-04-20 Roland Winkler <winkler@gnu.org>
2740 * faces.el (read-face-name): Bug fix, return just one face if arg
2741 multiple is nil. (Bug#14209)
2743 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2746 (remove-function): Autoload.
2748 * comint.el (comint-redirect-original-filter-function): Remove.
2749 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2750 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2751 (vc-cvs-annotate-command):
2752 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2753 * progmodes/prolog.el (prolog-consult-compile):
2754 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2755 Use add/remove-function instead.
2756 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2757 (gud-tooltip-process-output, gud-tooltip-tips):
2758 Use add/remove-function instead.
2759 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2760 (scheme-interaction-mode, exit-scheme-interaction-mode):
2761 Use add/remove-function instead.
2763 * vc/vc-dispatcher.el: Use lexical-binding.
2764 (vc--process-sentinel): Rename from vc-process-sentinel.
2765 Change last arg to be the code to run. Don't use vc-previous-sentinel
2766 and vc-sentinel-commands any more.
2767 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2768 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2770 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2772 * progmodes/sh-script.el (sh-imenu-generic-expression):
2773 Handle function names with a single character. (Bug#14111)
2775 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2777 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2778 for subroutines defined in an eval (bug#14182).
2780 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2782 * bookmark.el (bookmark-completing-read): Improve handling of empty
2785 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2787 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2789 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2791 New faster Imenu implementation (bug#14058).
2792 * progmodes/python.el:
2793 (python-imenu-prev-index-position):
2794 (python-imenu-format-item-label-function)
2795 (python-imenu-format-parent-item-label-function)
2796 (python-imenu-format-parent-item-jump-label-function):
2798 (python-imenu-format-item-label)
2799 (python-imenu-format-parent-item-label)
2800 (python-imenu-format-parent-item-jump-label)
2801 (python-imenu--put-parent, python-imenu--build-tree)
2802 (python-imenu-create-index, python-imenu-create-flat-index)
2803 (python-util-popn): New functions.
2804 (python-mode): Set imenu-create-index-function to
2805 python-imenu-create-index.
2807 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * winner.el (winner-active-region): Use region-active-p, activate-mark
2810 and deactivate-mark (bug#14225).
2812 * simple.el (deactivate-mark): Don't inline it.
2814 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2816 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2818 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2820 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2821 file extensions from the archive-mode entry in order to prefer
2822 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2824 2013-04-18 Leo Liu <sdl.web@gmail.com>
2826 * bindings.el (help-event-list): Add ?\?.
2828 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * subr.el (with-wrapper-hook): Declare obsolete.
2831 * simple.el (filter-buffer-substring-function): New hook.
2832 (filter-buffer-substring): Use it.
2833 (filter-buffer-substring-functions): Mark obsolete.
2834 * minibuffer.el (completion-in-region-function): New hook.
2835 (completion-in-region): Use it.
2836 (completion-in-region-functions): Mark obsolete.
2837 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2838 * abbrev.el (abbrev-expand-function): New hook.
2839 (expand-abbrev): Use it.
2840 (abbrev-expand-functions): Mark obsolete.
2841 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2844 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2846 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2847 and do not care about match data.
2849 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2852 completion tables when completing error conditions and
2853 `declare' arguments.
2854 (lisp-complete-symbol, field-complete): Mark as obsolete.
2855 (check-parens): Unmatched parens are user errors.
2856 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2858 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2860 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2861 command changed buffer (ie. `flyspell-pre-buffer' is not current
2862 buffer), which prevents making decisions based on invalid value of
2863 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2864 cause an error when `flyspell-pre-point' was nil after switching
2866 (flyspell-post-command-hook): No longer needs to change buffers when
2867 checking pre-word. While at it remove unnecessary progn.
2869 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2871 * textmodes/ispell.el (ispell-add-per-file-word-list):
2872 Fix `flyspell-correct-word-before-point' error when accepting
2873 words and `coment-padding' is an integer by using
2874 `comment-normalize-vars' (Bug #14214).
2876 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2878 New defun movement commands.
2879 * progmodes/python.el (python-nav--syntactically)
2880 (python-nav--forward-defun, python-nav-backward-defun)
2881 (python-nav-forward-defun): New functions.
2883 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2885 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2886 (python-syntax-context): Use named compiler-macro for backwards
2887 compatibility with Emacs 24.x.
2889 2013-04-17 Leo Liu <sdl.web@gmail.com>
2891 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2892 octave-hide-process-buffer.
2894 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2899 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2901 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2902 Fix adjustment of offset when receiving incomplete responses from GDB
2905 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2908 python-mode-abbrev-table.
2909 (python-skeleton-define): Adjust accordingly.
2910 (python-mode-abbrev-table): New table that inherits from it so that
2911 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2913 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2914 (abbrev-symbol): Use it.
2915 (abbrev--before-point): Use it since we already handle inheritance.
2917 2013-04-16 Leo Liu <sdl.web@gmail.com>
2919 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2920 binding to info-lookup-symbol.
2922 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2924 * minibuffer.el (completion--twq-all):
2925 * term/ns-win.el (ns-initialize-window-system):
2926 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2928 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2930 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2933 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2935 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2937 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2938 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2940 (ruby-end-of-defun): Remove the unused arg, change the docstring
2941 to reflect that this function is only used as the value of
2942 `end-of-defun-function'.
2943 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2944 to reflect an earlier change that beginning/end-of-defun functions
2945 jump between methods in a class definition, as well as top-level
2948 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * minibuffer.el (minibuffer-complete): Don't just scroll
2951 a *Completions* that's been iconified.
2952 (minibuffer-force-complete): Make sure repetitions do cycle when going
2953 through completion-in-region -> minibuffer-complete.
2955 2013-04-15 Alan Mackenzie <acm@muc.de>
2957 Correct the placement of c-cpp-delimiters when there're #s not at
2960 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2961 place a submatch around the #.
2962 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2963 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2966 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2969 (advice--member-p): New arg `name'.
2970 (advice--add-function, advice-member-p): Use it (bug#14202).
2972 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2974 Reformulate java imenu-generic-expression.
2975 The old expression contained ill formed regexps.
2977 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2978 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2979 (cc-imenu-java-method-arg-regexp): New defconsts.
2980 (cc-imenu-java-build-type-args-regex): New defun.
2981 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2982 handling of spaces in the regexp.
2984 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2986 * textmodes/ispell.el (ispell-command-loop): Remove
2987 flyspell highlight of a word when ispell accepts it (bug #14178).
2989 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2991 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2992 uses code from the previous `ange-ftp-run-real-handler'.
2993 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2994 only in case that function exist. This is needed for proper
2997 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2999 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
3001 * textmodes/reftex.el (reftex-compile-variables): Use it.
3003 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3005 * files.el (normal-mode): Only use default major-mode if no other mode
3008 * emacs-lisp/trace.el (trace-values): New function.
3010 * files.el: Allow : in local variables (bug#14089).
3011 (hack-local-variable-regexp): New var.
3012 (hack-local-variables-prop-line, hack-local-variables): Use it.
3014 2013-04-13 Roland Winkler <winkler@gnu.org>
3016 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
3017 data before it gets modified by bibtex-beginning-of-entry.
3019 2013-04-13 Roland Winkler <winkler@gnu.org>
3021 * textmodes/bibtex.el (bibtex-url): Doc fix.
3023 2013-04-13 Roland Winkler <winkler@gnu.org>
3025 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
3026 does not visit a BibTeX file, exclude it from the list of buffers
3027 returned by bibtex-initialize.
3029 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
3031 * window.el (split-window): Remove interactive form, since as a
3032 command this function is a special case of split-window-below.
3035 2013-04-12 Roland Winkler <winkler@gnu.org>
3037 * faces.el (read-face-name): Do not override value of arg default.
3038 Allow single faces and strings as default values. Remove those
3039 elements from return value that are not faces.
3040 (describe-face): Simplify.
3041 (face-at-point): New optional args thing and multiple so that this
3042 function can provide the same functionality previously provided by
3044 (make-face-bold, make-face-unbold, make-face-italic)
3045 (make-face-unitalic, make-face-bold-italic, invert-face)
3046 (modify-face, read-face-and-attribute): Use face-at-point.
3048 * cus-edit.el (customize-face, customize-face-other-window)
3049 * cus-theme.el (custom-theme-add-face)
3050 * face-remap.el (buffer-face-set)
3051 * facemenu.el (facemenu-set-face): Use face-at-point.
3053 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
3055 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
3057 2013-04-10 Tassilo Horn <tsdh@gnu.org>
3059 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
3060 off leading { and trailing } from field values.
3062 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3064 * emacs-lisp/timer.el (timer--check): New function.
3065 (timer--time, timer-set-function, timer-event-handler): Use it.
3066 (timer-set-idle-time): Simplify.
3067 (timer--activate): CSE.
3068 (timer-event-handler): Give more info in error message.
3069 (internal-timer-start-idle): New function, moved from C.
3071 * mpc.el (mpc-proc): Add `restart' argument.
3072 (mpc-proc-cmd): Use it.
3073 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
3074 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
3077 2013-04-10 Masatake YAMATO <yamato@redhat.com>
3079 * progmodes/sh-script.el: Implement `sh-mode' own
3080 `add-log-current-defun-function' (bug#14112).
3081 (sh-current-defun-name): New function.
3082 (sh-mode): Use the function.
3084 2013-04-09 Bastien Guerry <bzg@gnu.org>
3086 * simple.el (choose-completion-string): Fix docstring (bug#14163).
3088 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3090 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
3092 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
3095 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
3097 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
3100 2013-04-07 Leo Liu <sdl.web@gmail.com>
3102 * pcmpl-x.el: New file.
3104 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
3106 Do not set x-display-name until X connection is established.
3107 This is needed to prevent from weird situation described at
3108 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
3109 * frame.el (make-frame): Set x-display-name after call to
3110 window system initialization function, not before.
3111 * term/x-win.el (x-initialize-window-system): Add optional
3112 display argument and use it.
3113 * term/w32-win.el (w32-initialize-window-system):
3114 * term/ns-win.el (ns-initialize-window-system):
3115 * term/pc-win.el (msdos-initialize-window-system):
3116 Add compatible optional display argument.
3118 2013-04-06 Eli Zaretskii <eliz@gnu.org>
3120 * files.el (normal-backup-enable-predicate): On MS-Windows and
3121 MS-DOS compare truenames of temporary-file-directory and of the
3122 file, so that 8+3 aliases (usually found in $TEMP on Windows)
3123 don't fail comparison by compare-strings. Also, compare file
3124 names case-insensitively on MS-Windows and MS-DOS.
3126 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3128 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
3129 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
3131 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
3133 * whitespace.el (whitespace-color-on, whitespace-color-off):
3134 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
3136 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
3138 * ispell.el (ispell-set-spellchecker-params):
3139 Really set `ispell-args' for all equivs.
3141 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3143 * ido.el (ido-completions): Use extra elements of ido-decorations
3145 (ido-decorations): Update docstring.
3147 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
3149 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3150 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
3151 nil during initialization, in order not to miss changes since the
3152 file was opened. (Bug#14140)
3154 2013-04-05 Leo Liu <sdl.web@gmail.com>
3156 * kmacro.el (kmacro-call-macro): Fix bug#14135.
3158 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
3160 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
3162 2013-04-04 Glenn Morris <rgm@gnu.org>
3164 * electric.el (electric-pair-inhibit-predicate): Add :version.
3166 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3168 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
3169 when a package is required several times (bug#14082).
3171 2013-04-04 Roland Winkler <winkler@gnu.org>
3173 * faces.el (read-face-name): Behave as promised by the docstring.
3174 Assume that arg default is a list of faces.
3175 (describe-face): Call read-face-name with list of default faces.
3177 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3179 * bookmark.el: Fix deletion of bookmarks (bug#13972).
3180 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
3181 (bookmark-bmenu-execute-deletions): Only skip first line if it's
3183 (bookmark-exit-hook-internal): Save even if list is empty.
3185 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
3187 * emacs-lisp/package.el (package-pinned-packages): New var.
3188 (package--add-to-archive-contents): Obey it (bug#14118).
3190 2013-04-03 Alan Mackenzie <acm@muc.de>
3192 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
3193 Also adapt to the new values of element 7 of a parse state.
3195 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
3196 parameter `not-in-delimiter'. Handle being inside comment opener.
3197 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
3198 character in case we're typing a '*' after a '/'.
3199 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
3200 instead by passing the parameter to c-state-pp-to-literal.
3202 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
3203 for elt. 7 of a parse state.
3205 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
3207 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
3208 * international/latin1-disp.el, international/mule-util.el:
3209 * language/cyril-util.el, language/european.el, language/ind-util.el:
3210 * language/lao-util.el, language/thai.el, language/tibet-util.el:
3211 * language/tibetan.el, language/viet-util.el:
3212 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
3214 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3216 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
3217 (electric-pair-post-self-insert-function): Use it.
3218 (electric-pair-default-inhibit): New function, extracted from
3219 electric-pair-post-self-insert-function.
3221 2013-03-31 Roland Winkler <winkler@gnu.org>
3223 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
3225 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3229 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
3231 Un-indent after "pass" and "return" statements (Bug#13888)
3232 * progmodes/python.el (python-indent-block-enders): New var.
3233 (python-indent-calculate-indentation): Use it.
3235 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3237 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3238 defun. Defining it as defalias could introduce too eager
3239 byte-compiler optimization. (Bug#14030)
3241 2013-03-30 Chong Yidong <cyd@gnu.org>
3243 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3245 2013-03-30 Leo Liu <sdl.web@gmail.com>
3247 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3248 (kmacro-execute-from-register): Pass the keyboard macro to
3249 kmacro-call-macro or repeating won't work correctly.
3251 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3253 * progmodes/subword.el: Back to using `forward-symbol'.
3255 * subr.el (forward-whitespace, forward-symbol)
3256 (forward-same-syntax): Move from thingatpt.el.
3258 2013-03-29 Leo Liu <sdl.web@gmail.com>
3260 * kmacro.el (kmacro-to-register): New command.
3261 (kmacro-execute-from-register): New function.
3262 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3264 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * mpc.el: Use defvar-local and setq-local.
3267 (mpc--proc-connect): Connection failures are not bugs.
3268 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3269 (mpc-volume-map): Bind to the up-events.
3271 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3273 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3274 instead of `forward-symbol'.
3276 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3279 (edebug--recursive-edit): Use it.
3280 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3281 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3283 2013-03-28 Leo Liu <sdl.web@gmail.com>
3285 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3287 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3289 * facemenu.el (list-colors-callback): New defvar.
3290 (list-colors-redisplay): New function.
3291 (list-colors-display): Install list-colors-redisplay as the
3292 revert-buffer-function. (Bug#14063)
3294 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3297 and suffixes don't overlap (bug#14061).
3299 * case-table.el: Use lexical-binding.
3300 (case-table-get-table): New function.
3301 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3303 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3305 * progmodes/subword.el: Add `superword-mode' to do word motion
3306 over symbol_words (parallels and leverages `subword-mode' which
3307 does word motion inside MixedCaseWords).
3309 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3311 * eshell/em-unix.el: Move su and sudo to...
3312 * eshell/em-tramp.el: ...Eshell tramp module.
3314 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3316 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3317 Change return value to be a sexp. Delay `get-buffer' to after
3318 restoring the desktop (bug#13951).
3320 2013-03-26 Leo Liu <sdl.web@gmail.com>
3322 * register.el: Move semantic tag handling back to
3323 cedet/semantic/senator.el. (Bug#14052)
3325 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3328 into the prompt either (bug#13963).
3330 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3332 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3333 part of "(error-foo)".
3335 2013-03-24 Juri Linkov <juri@jurta.org>
3337 * replace.el (list-matching-lines-prefix-face): New defcustom.
3338 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3339 `occur-engine' if `face-differs-from-default-p' returns t.
3340 (occur-engine): Add `,' inside backquote construct to evaluate
3341 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3342 Pass `prefix-face' to the functions `occur-context-lines' and
3343 `occur-engine-add-prefix'.
3344 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3345 `prefix-face' and propertize the prefix with `prefix-face'.
3348 2013-03-24 Leo Liu <sdl.web@gmail.com>
3350 * nxml/rng-valid.el (rng-validate-while-idle)
3351 (rng-validate-quick-while-idle): Guard against deleted buffer.
3354 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3355 is the last entry in kill-buffer-hook.
3357 * files.el (kill-buffer-hook): Doc fix.
3359 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3361 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3364 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3366 2013-03-23 Leo Liu <sdl.web@gmail.com>
3368 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3371 * nxml/rng-valid.el (rng-validate-mode)
3372 (rng-after-change-function, rng-do-some-validation):
3373 * nxml/rng-maint.el (rng-validate-buffer):
3374 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3375 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3376 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3377 (nxml-extend-after-change-region): Use with-silent-modifications.
3379 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3382 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3383 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3384 timer-idle-list. (Bug#13999)
3386 2013-03-23 Juri Linkov <juri@jurta.org>
3388 * info.el (info-index-match): New face.
3389 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3390 main pattern and add text properties with the new face to matches
3391 in index entries relative to the beginning of the index entry.
3394 2013-03-21 Eric Ludlam <zappo@gnu.org>
3396 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3397 Inhibit read only while inserting objects.
3399 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3401 * progmodes/cfengine.el: Update docs to mention
3402 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3403 symbol motion. Remove "_" from the word syntax.
3405 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3407 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3408 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3410 2013-03-20 Juri Linkov <juri@jurta.org>
3412 * info.el (Info-next-reference-or-link)
3413 (Info-prev-reference-or-link): New functions.
3414 (Info-next-reference, Info-prev-reference): Use them.
3415 (Info-try-follow-nearest-node): Handle footnote navigation.
3416 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3418 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3421 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3423 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3425 Suppress unnecessary non-ASCII chatter during build process.
3426 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3427 (batch-skkdic-convert): Suppress most of the chatter.
3428 It's not needed so much now that machines are faster,
3429 and its non-ASCII component was confusing; see Dmitry Gutov in
3430 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3432 2013-03-20 Leo Liu <sdl.web@gmail.com>
3434 * ido.el (ido-chop): Fix bug#10994.
3436 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3438 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3440 (whitespace-color-on, whitespace-color-off):
3441 Use `font-lock-fontify-buffer' (Bug#13817).
3443 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3445 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3446 remapping in mode-line.
3447 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3449 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3451 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3452 value for `whitespace-line' face (Bug#13875).
3453 (whitespace-font-lock-keywords): Change description.
3454 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3455 the constructed keywords instead.
3456 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3458 2013-03-19 Leo Liu <sdl.web@gmail.com>
3460 * progmodes/compile.el (compilation-display-error): New command.
3461 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3464 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3466 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3468 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3470 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3472 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3474 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3476 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3477 * net/tramp-gvfs.el (top):
3478 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3479 (tramp-handle-shell-command): Use it.
3480 (tramp-dissect-file-name): Raise an error when hostname is a
3481 method name, and neither method nor user is specified.
3483 * net/trampver.el: Update release number.
3485 2013-03-18 Leo Liu <sdl.web@gmail.com>
3487 Make sure eldoc can be turned off properly.
3488 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3490 (eldoc-display-message-p): Revert last change.
3491 (eldoc-display-message-no-interference-p)
3492 (eldoc-print-current-symbol-info): Tweak.
3494 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3496 * doc-view.el (doc-view-new-window-function): Check the new window
3497 overlay's display property instead the char property of the
3498 buffer's first char. Use `with-selected-window' instead of
3499 `save-window-excursion' with `select-window'.
3500 (doc-view-document->bitmap): Check the current doc-view overlay's
3501 display property instead the char property of the buffer's first char.
3503 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3505 Automate the build of ja-dic.el (Bug#13984).
3506 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3507 from the input, rather than assume that it's been done for us by the
3508 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3509 the current date into a ja-dic.el comment, as that complicates
3512 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * whitespace.el: Fix double evaluation.
3515 (whitespace-space, whitespace-hspace, whitespace-tab)
3516 (whitespace-newline, whitespace-trailing, whitespace-line)
3517 (whitespace-space-before-tab, whitespace-indentation)
3518 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3520 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3521 (whitespace-color-on): Use a single font-lock-add-keywords call.
3522 Fix double-evaluation of face variables.
3524 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3526 * net/tramp-adb.el (tramp-adb-parse-device-names):
3527 Use `start-process' instead of `call-process'. Otherwise, the
3528 function might be blocked under MS Windows. (Bug#13299)
3530 2013-03-17 Leo Liu <sdl.web@gmail.com>
3532 Extend eldoc to display info in the mode-line. (Bug#13978)
3533 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3534 (eldoc-mode-line-string): New variable.
3535 (eldoc-minibuffer-message): New function.
3536 (eldoc-message-function): New variable.
3537 (eldoc-message): Use it.
3538 (eldoc-display-message-p)
3539 (eldoc-display-message-no-interference-p):
3540 Support eldoc-post-insert-mode.
3542 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3543 (eval-expression): Run it.
3545 2013-03-17 Roland Winkler <winkler@gnu.org>
3547 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3548 strings in the list of return values.
3550 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3552 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3553 radix before checking for HMS forms.
3555 2013-03-16 Leo Liu <sdl.web@gmail.com>
3557 * progmodes/scheme.el: Add indentation and font-locking for λ.
3560 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3562 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3563 token before point (bug#13942).
3565 2013-03-16 Leo Liu <sdl.web@gmail.com>
3567 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3569 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3571 * startup.el (command-line-normalize-file-name): Fix handling of
3572 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3573 <xfq.free@gmail.com> in
3574 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3576 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3578 Sync with Tramp 2.2.7.
3580 * net/trampver.el: Update release number.
3582 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3584 * doc-view.el Fix bug#13887.
3585 (doc-view-insert-image): Don't modify overlay associated to
3586 non-live windows, and implement horizontal centering of image in
3587 case it's smaller than the window.
3588 (doc-view-new-window-function): Force redisplay of new windows on
3591 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3593 * saveplace.el (save-place-alist-to-file): Don't sort
3594 `save-place-alist', just pretty-print it (bug#13882).
3596 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3598 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3599 Check whether `default-file-name-coding-system' is bound.
3602 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3605 backquotes for `obsolete' (bug#13929).
3607 * international/mule.el (find-auto-coding): Include file name in
3608 obsolescence warning (bug#13922).
3610 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3612 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3613 for CFEngine 3-specific indentation.
3614 (cfengine3-indent-line): Use it. Fix up category regex.
3615 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3617 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * type-break.el (type-break-file-name):
3620 * textmodes/remember.el (remember-data-file):
3621 * strokes.el (strokes-file):
3622 * shadowfile.el (shadow-initialize):
3623 * saveplace.el (save-place-file):
3624 * ps-bdf.el (bdf-cache-file):
3625 * progmodes/idlwave.el (idlwave-config-directory):
3626 * net/quickurl.el (quickurl-url-file):
3627 * international/kkc.el (kkc-init-file-name):
3628 * ido.el (ido-save-directory-list-file):
3629 * emulation/viper.el (viper-custom-file-name):
3630 * emulation/vip.el (vip-startup-file):
3631 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3632 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3634 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3636 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3637 * language/thai-word.el: Switch to UTF-8.
3639 See ChangeLog.16 for earlier changes.
3645 Copyright (C) 2011-2013 Free Software Foundation, Inc.
3647 This file is part of GNU Emacs.
3649 GNU Emacs is free software: you can redistribute it and/or modify
3650 it under the terms of the GNU General Public License as published by
3651 the Free Software Foundation, either version 3 of the License, or
3652 (at your option) any later version.
3654 GNU Emacs is distributed in the hope that it will be useful,
3655 but WITHOUT ANY WARRANTY; without even the implied warranty of
3656 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3657 GNU General Public License for more details.
3659 You should have received a copy of the GNU General Public License
3660 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.