1 2013-06-15 Eli Zaretskii <eliz@gnu.org>
3 * simple.el (line-move-partial): Don't jump to the next screen
4 line as soon as it becomes visible. Instead, continue enlarging
5 the vscroll until the portion of a tall screen line that's left on
6 display is about the height of the frame's default font.
9 2013-06-15 Glenn Morris <rgm@gnu.org>
11 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12 compilation-error-regexp-alist void, or local while let-bound.
14 * progmodes/make-mode.el (makefile-mode-syntax-table):
15 Treat "=" as punctuation. (Bug#14614)
17 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
19 * help-fns.el (describe-variable):
20 Add extra line for permanent-local variables.
22 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
24 * progmodes/scheme.el (scheme-font-lock-keywords-2):
25 Add export, import, library. (Bug#9164)
26 (library): Set indent function.
28 2013-06-14 Glenn Morris <rgm@gnu.org>
30 * term/xterm.el (xterm--query):
31 Stop after first matching handler. (Bug#14615)
33 2013-06-14 Ivan Kanis <ivan@kanis.fr>
35 Add support for dired in saveplace.
36 * dired.el (dired-initial-position-hook): New variable.
37 (dired-initial-position): Call hook to place cursor position.
38 * saveplace.el (save-place-to-alist): Add dired position.
39 (save-place-dired-hook): New function.
41 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
43 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
44 through a symbol rather than letrec.
46 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
47 (package-desc): Add `dir' field.
48 (package-desc-full-name): New function.
49 (package-load-descriptor): Combine the two arguments. Don't use `load'.
50 (package-maybe-load-descriptor): Remove.
51 (package-load-all-descriptors): Just call package-load-descriptor.
52 (package--disabled-p): New function.
53 (package-desc-vers, package-desc-doc): Remove aliases.
54 (package--dir): Remove function.
55 (package-activate): Check if a package is disabled.
56 (package-process-define-package): New function, extracted from
58 (define-package): Turn into a place holder.
59 (package-unpack-single, package-tar-file-info):
60 Use package--description-file.
61 (package-compute-transaction): Use package--disabled-p.
62 (package-download-transaction): Don't call
63 package-maybe-load-descriptor since they're all loaded anyway.
64 (package-install): Change argument to be a pkg-desc.
65 (package-delete): Use a single pkg-desc argument.
66 (describe-package-1): Use package-desc-dir instead of package--dir.
67 Use package-desc property instead of package-symbol.
68 (package-install-button-action): Adjust accordingly.
69 (package--push): Rewrite.
70 (package-menu--print-info): Adjust accordingly. Change the ID format
72 (package-menu-describe-package, package-menu-get-status)
73 (package-menu--find-upgrades, package-menu-mark-upgrades)
74 (package-menu-execute, package-menu--name-predicate):
76 * startup.el (package--description-file): New function.
77 (command-line): Use it.
78 * emacs-lisp/package-x.el (package-upload-buffer-internal):
79 Use package-desc-version.
81 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
82 (byte-compile-preprocess): Use it.
83 (byte-compile-file-form-defalias): Try a bit harder to use macros we
84 can't quite recognize.
85 (byte-compile-add-to-list): Remove.
86 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
87 (cconv-closure-convert): Add assertion.
89 * emacs-lisp/map-ynp.el: Use lexical-binding.
90 (map-y-or-n-p): Remove unused vars `tail' and `object'.
91 Factor out some repeated code.
93 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
95 * subr.el (with-eval-after-load): New macro.
96 (eval-after-load): Allow form to be a function.
97 take advantage of lexical-binding.
98 (do-after-load-evaluation): Use dolist and adjust to new format.
99 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
101 2013-06-13 Juri Linkov <juri@jurta.org>
103 * replace.el (perform-replace): Display "symbol " and other search
104 modes from `isearch-message-prefix' in the *Help* buffer.
106 * isearch.el (isearch-query-replace): Add " symbol" and other
107 possible search modes from `isearch-message-prefix' to the prompt.
108 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
109 when reading a regexp to collect.
111 2013-06-13 Juri Linkov <juri@jurta.org>
113 * isearch.el (word-search-regexp): Match whitespace if the search
114 string begins or ends in whitespace. The LAX arg is applied to
115 both ends of the search string. Use `regexp-quote' and explicit
116 \< and \> instead of \b. Use \` and \' instead of ^ and $.
117 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
118 boundaries are replaced with symbol boundaries, and characters
119 between symbols match non-word non-symbol syntax. (Bug#14602)
121 2013-06-13 Juri Linkov <juri@jurta.org>
123 * isearch.el (isearch-del-char): Don't exceed the length of
124 `isearch-string' by the prefix arg. (Bug#14563)
126 2013-06-13 Juri Linkov <juri@jurta.org>
128 * isearch.el (isearch-yank-word, isearch-yank-line)
129 (isearch-char-by-name, isearch-quote-char)
130 (isearch-printing-char, isearch-process-search-char):
131 Add optional count prefix arg. (Bug#14563)
133 * international/isearch-x.el
134 (isearch-process-search-multibyte-characters):
135 Add optional count prefix arg.
137 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
139 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
140 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
143 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
145 * subr.el (set-temporary-overlay-map): Add on-exit argument.
147 2013-06-13 Glenn Morris <rgm@gnu.org>
149 * startup.el (tty-handle-args):
150 Don't just discard "--" and anything after. (Bug#14608)
152 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
154 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
156 Implement changes in Secret Service API. Make it backward compatible.
157 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
158 (secrets-create-item): Use it. Prefix properties with interface.
160 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
162 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
163 (term-emulate-terminal): Respect term-suppress-hard-newline.
165 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
167 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
168 Only remove a `thumb-file' overlay. (Bug#14548)
170 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
172 * mail/reporter.el (reporter-submit-bug-report):
173 Handle missing package-name. (Bug#14600)
175 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
177 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
178 (reftex-citation-prompt, reftex-default-bibliography)
179 (reftex-bib-or-thebib, reftex-get-bibfile-list)
180 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
181 (reftex-bib-sort-author, reftex-bib-sort-year)
182 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
183 (reftex-extract-bib-entries-from-thebibliography)
184 (reftex-get-bibkey-default, reftex-get-bib-names)
185 (reftex-parse-bibtex-entry, reftex-get-bib-field)
186 (reftex-format-bib-entry, reftex-parse-bibitem)
187 (reftex-format-bibitem, reftex-do-citation)
188 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
189 (reftex-restrict-bib-matches, reftex-extract-bib-file)
190 (reftex-insert-bib-matches, reftex-format-citation)
191 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
192 (reftex-create-bibtex-file): Add docstrings, mostly by converting
193 existing comments into docstrings.
195 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
197 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
199 2013-06-12 Andreas Schwab <schwab@suse.de>
201 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
204 2013-06-12 Glenn Morris <rgm@gnu.org>
206 * ido.el (ido-delete-ignored-files): Remove.
207 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
208 Go back to calling ido-ignore-item-p directly.
210 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
212 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
214 * ido.el (ido-delete-ignored-files): New function,
215 split from ido-make-file-list-1.
216 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
217 (ido-make-file-list-1): Use ido-delete-ignored-files.
219 2013-06-12 Leo Liu <sdl.web@gmail.com>
221 * progmodes/octave.el (inferior-octave-startup)
222 (inferior-octave-completion-table)
223 (inferior-octave-track-window-width-change)
224 (octave-eldoc-function-signatures, octave-help)
225 (octave-find-definition): Use single quoted strings.
226 (inferior-octave-startup-args): Change default value.
227 (inferior-octave-startup): Do not hard code "-i" and
229 (inferior-octave-resync-dirs): Add optional arg NOERROR.
230 (inferior-octave-directory-tracker): Use it.
231 (octave-goto-function-definition): Robustify.
232 (octave-help): Support highlighting operators in 'See also'.
233 (octave-find-definition): Find subfunctions only in Octave mode.
235 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
237 * help-fns.el (help-fns--compiler-macro): If the handler function is
238 named, then put a link to it.
239 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
240 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
242 (cl-eval-when): Simplify debug spec.
243 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
244 compiler-macro function instead of setting `compiler-macro-file'.
246 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
248 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
249 * vc/vc-hooks.el (vc-stay-local): Doc fix.
251 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
252 Daniel Hackney <dan@haxney.org>
254 First part of Daniel Hackney's patch to package.el.
255 * emacs-lisp/package.el: Use defstruct.
256 (package-desc): New, main struct.
257 (package--bi-desc, package--ac-desc): New structs, used to describe the
258 format in external files.
259 (package-desc-vers): Replace with package-desc-version accessor.
260 (package-desc-doc): Replace with package-desc-summary accessor.
261 (package-activate-1): Remove `package' arg since the pkg-vec now
263 (define-package): Use package-desc-from-define.
264 (package-unpack-single): Change file-name arg to be a symbol.
265 (package--add-to-archive-contents): Use package-desc-create and new
266 accessor functions to package--ac-desc.
267 (package-buffer-info, package-tar-file-info): Return a package-desc.
268 (package-install-from-buffer): Remove `type' argument. Change pkg-info
269 arg to be a package-desc.
270 (package-install-file): Adjust accordingly. Use \' to match EOS.
271 (package--from-builtin): New function.
272 (describe-package-1, package-menu--generate): Use it.
273 (package--make-autoloads-and-compile): Change name arg to be a symbol.
274 (package-generate-autoloads): Idem and return the name of the file.
275 * emacs-lisp/package-x.el (package-upload-buffer-internal):
276 Change pkg-info arg to be a package-desc.
277 Use package-make-ac-desc.
278 (package-upload-file): Use \' to match EOS.
279 * finder.el (finder-compile-keywords): Use package-make-builtin.
281 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
283 * vc/vc.el (vc-deduce-fileset): Change error message.
284 (vc-read-backend): New function.
285 (vc-next-action): Use it.
287 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
289 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
290 (prolog-font-lock-keywords): Use regexp-opt instead.
291 Don't manually highlight strings.
292 (prolog-mode-variables): Simplify comment-start-skip.
293 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
295 * emacs-lisp/generic.el (generic--normalise-comments)
296 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
297 (generic-mode-set-comments): Use them.
298 (generic-bracket-support): Use setq-local.
299 (generic-make-keywords-list): Declare obsolete.
301 2013-06-11 Glenn Morris <rgm@gnu.org>
303 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
304 Prettify after setting font-lock-defaults. (Bug#14574)
306 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
308 * replace.el (query-replace, occur-read-regexp-defaults-function)
310 * subr.el (declare-function, number-sequence, local-set-key)
311 (substitute-key-definition, locate-user-emacs-file)
312 (with-silent-modifications, split-string, eval-after-load):
313 Fix typos, remove unneeded backslashes and reflow some docstrings.
315 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
317 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
318 default for Elisp files.
320 2013-06-11 Glenn Morris <rgm@gnu.org>
322 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
323 although define-derived-mode was doing this anyway. (Bug#14583)
325 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
327 * allout.el (allout-encryption-plaintext-sanitization-regexps):
328 Fix make-variable-buffer-local call to refer to the correct variable.
330 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
332 * eshell/em-term.el (eshell-visual-commands)
333 (eshell-visual-subcommands, eshell-visual-options):
334 Add summary line to docstrings. Add cross-references.
336 2013-06-10 Glenn Morris <rgm@gnu.org>
338 * epa.el (epa-read-file-name): New function. (Bug#14510)
339 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
341 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
343 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
344 output redirection to be ignored with visual commands.
346 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
348 * eshell/em-term.el (eshell-visual-command-p): New function.
349 (eshell-term-initialize): Move long lambda to separate function
350 eshell-visual-command-p.
351 * eshell/em-dirs.el (eshell-dirs-initialise):
352 * eshell/em-script.el (eshell-script-initialize):
353 Add missing #' to lambda.
355 2013-06-08 Leo Liu <sdl.web@gmail.com>
357 * progmodes/octave.el (octave-add-log-current-defun): New function.
358 (octave-mode): Set add-log-current-defun-function.
359 (octave-goto-function-definition): Do not move point if not found.
360 (octave-find-definition): Enhance to try subfunctions first.
362 2013-06-08 Glenn Morris <rgm@gnu.org>
364 * emacs-lisp/bytecomp.el (byte-compile-char-before)
365 (byte-compile-backward-char, byte-compile-backward-word):
366 Improve previous change, to handle non-explicit nil.
368 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
370 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
371 (smie--opener/closer-at-point): New function.
372 (smie--matching-block-data): Use it. Don't match from right after an
373 opener or right before a closer. Obey smie-blink-matching-inners.
374 Don't signal a mismatch for repeated inners like "switch..case..case".
376 2013-06-07 Leo Liu <sdl.web@gmail.com>
378 * progmodes/octave.el (octave-mode): Set comment-use-global-state
380 (octave-function-header-regexp): Fix. (Bug#14570)
381 (octave-help-mode-finish-hook, octave-help-mode-finish):
382 Remove. Just use temp-buffer-show-hook.
384 * newcomment.el (comment-search-backward): Revert last change.
387 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
389 2013-06-07 Eli Zaretskii <eliz@gnu.org>
391 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
392 through xargs, to avoid failure due to MS-Windows limitations on
395 2013-06-06 Glenn Morris <rgm@gnu.org>
397 * font-lock.el (lisp-font-lock-keywords-2):
398 Treat user-error like error.
400 * emacs-lisp/bytecomp.el (byte-compile-char-before)
401 (byte-compile-backward-char, byte-compile-backward-word):
402 Handle explicit nil arguments. (Bug#14565)
404 2013-06-05 Alan Mackenzie <acm@muc.de>
406 * isearch.el (isearch-allow-prefix): New user option.
407 (isearch-other-meta-char): Don't exit isearch when a prefix
408 argument is typed whilst `isearch-allow-prefix' is non-nil.
411 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
413 * autorevert.el (auto-revert-notify-handler): Use memq.
414 Hide assertion failure.
416 * skeleton.el: Use cl-lib.
417 (skeleton-further-elements): Use defvar-local.
418 (skeleton-insert): Use cl-progv.
420 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
422 * progmodes/prog-mode.el (prog-prettify-symbols)
423 (prog-prettify-install): Update docstrings.
425 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
427 * simple.el: Move all the prog-mode code to prog-mode.el.
428 * progmodes/prog-mode.el: New file.
429 * loadup.el: Add prog-mode.el.
431 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
433 * simple.el (prog-prettify-symbols): Add version.
434 (prog-prettify-install): Add convenience function to prettify symbols.
436 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
437 (perl--augmented-font-lock-keywords-1)
438 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
439 variables and use it.
441 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
442 (cfengine3-mode): Remove unneeded variable and use it.
444 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
445 (lisp--augmented-font-lock-keywords-1)
446 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
447 Remove unneeded variables and use it.
449 2013-06-05 João Távora <joaotavora@gmail.com>
451 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
452 to point when opening the connection. (Bug#14380)
454 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
456 * subr.el (load-history-regexp, load-history-filename-element)
457 (eval-after-load, after-load-functions, do-after-load-evaluation)
458 (eval-next-after-load, display-delayed-warnings)
459 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
460 definition of save-match-data.
461 (overriding-local-map): Remove accidental obsolescence declaration.
463 * emacs-lisp/edebug.el (edebug-result): Move before first use.
465 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
467 Generalize symbol prettify support to prog-mode and implement it
468 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
469 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
470 (prog--prettify-font-lock-compose-symbol)
471 (prog-prettify-font-lock-symbols-keywords): New variables and
472 functions to support symbol prettification.
473 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
474 (lisp--augmented-font-lock-keywords-1)
475 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
476 (lisp--prettify-symbols-alist): Implement prettify of lambda.
477 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
478 (cfengine3--prettify-symbols-alist, cfengine3-mode):
479 Implement prettify of -> => :: strings.
480 * progmodes/perl-mode.el (perl-prettify-symbols)
481 (perl--font-lock-compose-symbol)
482 (perl--font-lock-symbols-keywords): Move to prog-mode.
483 (perl--prettify-symbols-alist): Prettify -> => :: strings.
484 (perl-font-lock-keywords-1)
485 (perl-font-lock-keywords-2): Remove explicit prettify support.
486 (perl--augmented-font-lock-keywords)
487 (perl--augmented-font-lock-keywords-1)
488 (perl--augmented-font-lock-keywords-2, perl-mode):
489 Implement prettify support.
491 2013-06-05 Leo Liu <sdl.web@gmail.com>
493 Re-implement smie matching block highlight using
494 show-paren-data-function. (Bug#14395)
495 * emacs-lisp/smie.el (smie-matching-block-highlight)
496 (smie--highlight-matching-block-overlay)
497 (smie--highlight-matching-block-lastpos)
498 (smie-highlight-matching-block)
499 (smie-highlight-matching-block-mode): Remove.
500 (smie--matching-block-data-cache): New variable.
501 (smie--matching-block-data): New function.
502 (smie-setup): Use smie--matching-block-data for
503 show-paren-data-function.
505 * progmodes/octave.el (octave-mode-menu): Fix.
506 (octave-find-definition): Skip garbage lines.
508 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
510 Fix compilation error with simultaneous dynamic+lexical scoping.
511 Add warning when a defvar appears after the first let-binding.
512 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
513 (byte-compile-close-variables): Initialize it.
514 (byte-compile--declare-var): New function.
515 (byte-compile-file-form-defvar)
516 (byte-compile-file-form-define-abbrev-table)
517 (byte-compile-file-form-custom-declare-variable): Use it.
518 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
519 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
520 (byte-compile-bind): Handle dynamic bindings that shadow
522 (byte-compile-unbind): Make arg non-optional.
523 (byte-compile-let): Simplify.
524 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
525 (cconv--analyse-function, cconv-analyse-form): Populate it.
526 Protect byte-compile-bound-variables to limit the scope of defvars.
527 (cconv-analyse-form): Add missing rule for (defvar <foo>).
528 Remove unneeded rule for `declare'.
530 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
531 so as to avoid depending on cl-adjoin at run-time.
532 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
534 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
535 (macroexp--warn-and-return): Use it.
537 2013-06-05 Leo Liu <sdl.web@gmail.com>
539 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
541 2013-06-04 Leo Liu <sdl.web@gmail.com>
543 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
544 (compilation-auto-jump): Suppress the "Mark set" message to give
547 2013-06-04 Alan Mackenzie <acm@muc.de>
549 Remove faulty optimisation from indentation calculation.
550 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
551 search limit based on 2000 characters back from indent-point.
553 2013-06-03 Tassilo Horn <tsdh@gnu.org>
555 * eshell/em-term.el (cl-lib): Require `cl-lib'.
557 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
559 * emacs-lisp/lisp.el: Use lexical-binding.
560 (lisp--local-variables-1, lisp--local-variables): New functions.
561 (lisp--local-variables-completion-table): New var.
562 (lisp-completion-at-point): Use it complete let-bound vars.
564 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
567 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
569 * autorevert.el (auto-revert-notify-enabled)
570 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
571 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
572 (auto-revert-notify-handler): Handle also gfilenotify.
574 * subr.el (file-notify-handle-event): New defun. Replacing ...
575 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
578 2013-06-03 Juri Linkov <juri@jurta.org>
580 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
581 `M-s h .'. (Bug#14427)
583 * hi-lock.el (highlight-symbol-at-point): New alias for the new
584 command `hi-lock-face-symbol-at-point'.
585 (hi-lock-face-symbol-at-point): New command.
586 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
587 (hi-lock-menu): Add `highlight-symbol-at-point'.
588 (hi-lock-mode): Doc fix.
590 * isearch.el (isearch-forward-symbol-at-point): New command.
591 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
592 (isearch-highlight-regexp): Add a regexp which matches
593 words/symbols for word/symbol mode.
595 * subr.el (find-tag-default-bounds): New function with the body
596 mostly moved from `find-tag-default'.
597 (find-tag-default): Move most code to `find-tag-default-bounds',
598 call it and apply `buffer-substring-no-properties' afterwards.
600 2013-06-03 Tassilo Horn <tsdh@gnu.org>
602 * eshell/em-term.el (eshell-term-initialize):
603 Use `cl-intersection' rather than `intersection'.
605 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
607 * vc/log-view.el: Doc fix.
608 (log-view-mode-map): Copy keymap from `special-mode-map'.
610 2013-06-02 Eric Ludlam <zappo@gnu.org>
612 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
613 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
614 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
615 (eieio-unbound, eieio-default-superclass)
616 (eieio--define-field-accessors, method-static, method-before)
617 (method-primary, method-after, method-num-lists)
618 (method-generic-before, method-generic-primary)
619 (method-generic-after, method-num-slots)
620 (eieio-specialized-key-to-generic-key)
621 (eieio--check-type, class-v, class-p)
622 (eieio-class-name, define-obsolete-function-alias)
623 (eieio-class-parents-fast, eieio-class-children-fast)
624 (same-class-fast-p, class-constructor, generic-p)
625 (generic-primary-only-p, generic-primary-only-one-p)
626 (class-option-assoc, class-option, eieio-object-p)
627 (class-abstract-p, class-method-invocation-order)
628 (eieio-defclass-autoload-map, eieio-defclass-autoload)
629 (eieio-class-un-autoload, eieio-defclass)
630 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
631 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
632 (eieio--defgeneric-init-form, eieio-defgeneric-form)
633 (eieio-defgeneric-reset-generic-form)
634 (eieio-defgeneric-form-primary-only)
635 (eieio-defgeneric-reset-generic-form-primary-only)
636 (eieio-defgeneric-form-primary-only-one)
637 (eieio-defgeneric-reset-generic-form-primary-only-one)
638 (eieio-unbind-method-implementations)
639 (eieio--defmethod, eieio--typep)
640 (eieio-perform-slot-validation, eieio-validate-slot-value)
641 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
642 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
643 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
644 (eieio-slot-name-index, eieio-class-slot-name-index)
645 (eieio-set-defaults, eieio-initarg-to-attribute)
646 (eieio-attribute-to-initarg, eieio-c3-candidate)
647 (eieio-c3-merge-lists, eieio-class-precedence-c3)
648 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
649 (eieio-class-precedence-list, eieio-generic-call-methodname)
650 (eieio-generic-call-arglst, eieio-generic-call-key)
651 (eieio-generic-call-next-method-list)
652 (eieio-pre-method-execution-functions, eieio-generic-call)
653 (eieio-generic-call-primary-only, eieiomt-method-list)
654 (eieiomt-optimizing-obarray, eieiomt-install)
655 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
656 (eieio-generic-form, eieio-defmethod, make-obsolete)
657 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
658 (defclass): Remove `eval-and-compile' from macro.
659 (call-next-method, shared-initialize): Instead of using
660 `scoped-class' variable, use new eieio--scoped-class, and
661 eieio--with-scoped-class.
662 (initialize-instance): Rename local variable 'scoped-class' to
663 'this-class' to remove ambiguitity from old global.
665 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
667 (eieio--scoped-class-stack): New variable
668 (eieio--scoped-class): New fcn
669 (eieio--with-scoped-class): New scoping macro.
670 (eieio-defclass): Use pushnew instead of add-to-list.
671 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
672 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
673 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
674 `scoped-class' variable, use new eieio--scoped-class, and
675 eieio--with-scoped-class.
677 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
679 2013-06-02 Tassilo Horn <tsdh@gnu.org>
681 * eshell/esh-ext.el (eshell-external-command): Pass args to
682 `eshell-find-interpreter'.
683 (eshell-find-interpreter): Add new second parameter ARGS.
685 * eshell/em-script.el (eshell-script-initialize): Add second arg
686 to the function added as MATCH to `eshell-interpreter-alist'.
688 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
689 the function added as MATCH to `eshell-interpreter-alist'.
691 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
692 (eshell-visual-options): New defcustom.
693 (eshell-escape-control-x): Adapt docstring.
694 (eshell-term-initialize): Test `eshell-visual-subcommands' and
695 `eshell-visual-options' in addition to `eshell-visual-commands'.
696 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
698 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
700 * progmodes/python.el (python-indent-block-enders): Add break,
701 continue and raise keywords.
703 2013-06-01 Glenn Morris <rgm@gnu.org>
705 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
707 Plain (f)boundp silences compilation warnings since Emacs 22.1.
708 * progmodes/cc-cmds.el (delete-forward-p):
709 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
710 * progmodes/cc-engine.el (buffer-syntactic-context):
711 * progmodes/cc-fonts.el (face-property-instance):
712 * progmodes/cc-mode.el (set-keymap-parents):
713 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
714 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
715 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
716 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
717 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
719 * progmodes/cc-vars.el (other): Emacs has this widget since
720 at least 21.1, so don't (re)define it.
722 * eshell/em-cmpl.el (eshell-cmpl-initialize):
723 Replace the obsolete alias pcomplete-arg-quote-list.
725 2013-06-01 Leo Liu <sdl.web@gmail.com>
727 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
729 (inferior-octave-minimal-columns)
730 (inferior-octave-last-column-width): New variables.
731 (inferior-octave-track-window-width-change): New function.
732 (inferior-octave-mode): Adjust column width so that Octave output,
733 for example from 'ls', can fit into the window nicely.
735 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
737 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
738 Highlight expansions inside regexp literals.
740 2013-05-31 Glenn Morris <rgm@gnu.org>
742 * obsolete/sym-comp.el (symbol-complete):
743 Replace obsolete completion-annotate-function.
745 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
747 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
749 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
750 New function, checks if point is inside a literal that allows
751 expression expansion.
752 (ruby-syntax-propertize-expansion): Use it.
753 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
756 2013-05-30 Juri Linkov <juri@jurta.org>
758 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
760 (isearch-invisible): New variable.
761 (isearch-forward): Doc fix.
762 (isearch-mode): Set `isearch-invisible'
763 to the value of `search-invisible'.
764 (isearch-toggle-case-fold): Doc fix.
765 (isearch-toggle-invisible): New command.
766 (isearch-query-replace): Let-bind `search-invisible'
767 to the value of `isearch-invisible'.
768 (isearch-search): Use `isearch-invisible' instead of
769 `search-invisible'. Let-bind `search-invisible'
770 to the value of `isearch-invisible'. (Bug#11378)
772 2013-05-30 Juri Linkov <juri@jurta.org>
774 * replace.el (perform-replace): Avoid `isearch-range-invisible'
775 call when `query-flag' is nil and `search-invisible' is non-nil.
778 2013-05-30 Glenn Morris <rgm@gnu.org>
780 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
782 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
783 (cc-require): Suppress spurious "noruntime" warnings.
784 (cc-require-when-compile): Use fboundp, for sake of compiler.
786 * progmodes/cc-mode.el: Move load of cc-vars before that of
787 cc-langs (which in turn loads cc-vars), to quieten compiler.
789 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
791 * paren.el: Simplify the code.
792 (show-paren-mode): Always start the timer.
793 (show-paren--idle-timer): Rename from show-paren-idle-timer.
794 (show-paren--overlay, show-paren--overlay-1): Rename from
795 show-paren-overlay and show-paren-overlay-1, and initialize to an
796 overlay rather than to nil.
797 (show-paren-function): Misc cleanup and simplifications.
799 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
801 * paren.el (show-paren-data-function): New hook.
802 (show-paren--default): New function, extracted from show-paren-function.
803 (show-paren-function): Use show-paren-data-function.
805 2013-05-30 Glenn Morris <rgm@gnu.org>
807 * ielm.el (ielm-map, ielm-complete-symbol):
808 Use completion-at-point rather than obsolete functions.
809 (inferior-emacs-lisp-mode): Doc fix.
810 Set completion-at-point-functions, rather than
811 comint-dynamic-complete-functions.
813 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
814 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
815 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
817 * image.el (image-animated-p): Tweak definition.
819 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
820 (rlogin-process-connection-type): Tweak default. Add set-after.
821 (rlogin-host): Doc fix.
822 (rlogin): Tweak prompt.
823 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
825 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
826 * progmodes/tcl.el (inferior-tcl-mode-map):
827 Use completion-at-point rather than obsolete alias.
829 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
831 * minibuffer.el (read-file-name-completion-ignore-case):
832 Move before completion--in-region, for eager macro expansion.
834 2013-05-29 Juri Linkov <juri@jurta.org>
836 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
837 for total count of matching lines. Add `global-matches' for total
838 count of matches. Rename `matches' to `lines' for count of
839 matching lines. Add `matches' for count of matches.
840 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
841 to `prev-line' for line number of prev match endpt.
842 Increment `matches' for every match. Print the number of
843 matching lines in the header.
844 (occur-context-lines): Rename `lines' to `curr-line'.
845 Rename `prev-lines' to `prev-line'. (Bug#14017)
847 2013-05-29 Juri Linkov <juri@jurta.org>
849 * replace.el (perform-replace): Add `skip-read-only-count',
850 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
851 Increment them for corresponding conditions and report the number
852 of skipped occurrences in the final message. (Bug#11746)
853 (query-replace, query-replace-regexp, query-replace-regexp-eval)
854 (replace-string, replace-regexp): Doc fix.
856 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
858 * emacs-lisp/trace.el (trace--read-args): Provide a default.
860 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
861 prog-mode-map (bug#14504).
863 2013-05-29 Leo Liu <sdl.web@gmail.com>
865 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
866 (octave-help): Small simplification.
868 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
869 off the highlight first.
871 2013-05-29 Glenn Morris <rgm@gnu.org>
873 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
874 Handle idlwave-last-system-routine-info-cons-cell being nil.
876 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
877 (idlwave-write-paths): Simplify via with-temp-buffer.
879 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
880 * emulation/cua-rect.el: Also load cua-base at run time.
882 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
883 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
884 (cperl-imenu-on-info): Require imenu.
886 2013-05-28 Alan Mackenzie <acm@muc.de>
888 Handle "capitalised keywords" correctly.
889 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
891 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
893 * eshell/em-unix.el: Add -r option to cp.
895 2013-05-28 Glenn Morris <rgm@gnu.org>
897 * vc/vc-arch.el (vc-exec-after): Declare.
898 (vc-switches): Autoload.
899 * vc/vc-bzr.el: No need to require vc when compiling.
900 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
901 (vc-resynch-buffer, vc-dir-refresh): Declare.
902 (vc-setup-buffer, vc-switches): Autoload.
903 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
904 (vc-resynch-buffer): Declare.
905 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
906 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
907 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
908 (grep-read-regexp, grep-read-files, grep-expand-template)
909 (vc-dir-refresh): Declare.
910 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
911 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
912 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
913 * vc/vc-mtn.el (vc-exec-after): Declare.
914 (vc-switches): Autoload.
915 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
916 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
917 (vc-file-tree-walk): Declare.
918 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
919 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
920 (vc-tag-precondition, vc-rename-master): Autoload.
921 * vc/vc-svn.el (vc-exec-after): Declare.
922 (vc-switches, vc-setup-buffer): Autoload.
923 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
925 (vc-resynch-buffer): Declare.
927 * obsolete/fast-lock.el (byte-compile-warnings):
928 Don't warn about obsolete features in this obsolete file.
930 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
931 Move definition before use.
933 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
934 (dun-unix-verbs): Remove dun-zippy.
935 (dun-zippy): Remove function.
937 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
939 2013-05-27 Juri Linkov <juri@jurta.org>
941 * replace.el (replace-search): New function with code moved out
942 from `perform-replace'.
943 (replace-highlight, replace-dehighlight): Move function definitions
944 up closer to `replace-search'. (Bug#11746)
946 2013-05-27 Juri Linkov <juri@jurta.org>
948 * replace.el (perform-replace): Ignore invisible matches.
949 In addition to checking `query-replace-skip-read-only', also
950 filter out matches by calling `run-hook-with-args-until-failure'
951 on `isearch-filter-predicates', and also check `search-invisible'
952 for t or call `isearch-range-invisible'.
953 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
955 2013-05-27 Juri Linkov <juri@jurta.org>
957 * isearch.el (isearch-filter-predicates): Rename from
958 `isearch-filter-predicate'. Doc fix. (Bug#11378)
959 (isearch-message-prefix): Display text from the property
960 `isearch-message-prefix' of the currently active filters.
961 (isearch-search): Don't compare `isearch-filter-predicate' with
962 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
963 on `isearch-filter-predicates'. Also check `search-invisible' for t
964 or call `isearch-range-invisible'.
965 (isearch-filter-visible): Make obsolete.
966 (isearch-lazy-highlight-search):
967 Call `run-hook-with-args-until-failure' on
968 `isearch-filter-predicates' and use `isearch-range-invisible'.
970 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
971 `isearch-filter-predicates' instead of `funcall'ing
972 `isearch-filter-predicate'.
973 (Info-mode): Set `Info-isearch-filter' to
974 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
976 * dired-aux.el (dired-isearch-filter-predicate-orig):
978 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
979 (dired-isearch-filenames-end): Add and remove
980 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
981 instead of changing the value of `isearch-filter-predicate'.
982 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
983 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
984 Put property `isearch-message-prefix' to "filename " on
985 `dired-isearch-filter-filenames'.
987 * wdired.el (wdired-change-to-wdired-mode):
988 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
989 locally instead of changing `isearch-filter-predicate'.
990 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
992 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
994 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
995 return the commit hash (Bug#14459). Also set the
996 `vc-git-detached' property.
997 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
998 (vc-git-mode-line-string): Use the same help-echo format whether
999 in detached mode or not, because we know the actual revision now.
1000 When in detached mode, shorten the revision to 7 chars.
1002 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * emacs-lisp/easy-mmode.el (define-minor-mode):
1005 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
1006 mode hook and provide a docstring.
1008 2013-05-27 Alan Mackenzie <acm@muc.de>
1010 Remove spurious syntax-table text properties inserted by C-y.
1011 * progmodes/cc-mode.el (c-after-change): Also clear hard
1012 syntax-table property with value nil.
1014 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
1016 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
1017 when reading the events; the buffer layout shall not be changed.
1019 2013-05-27 Leo Liu <sdl.web@gmail.com>
1021 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
1023 (inferior-octave-directory-tracker): Automatically re-sync
1025 (octave-help): Improve handling of 'See also'.
1027 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * doc-view.el: Minor naming convention tweaks.
1030 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
1032 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
1033 even if there's no `display' property yet (bug#14435).
1035 2013-05-25 Eli Zaretskii <eliz@gnu.org>
1037 * subr.el (unmsys--file-name): Rename from reveal-filename.
1039 * Makefile.in (custom-deps, finder-data, autoloads)
1040 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1041 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1042 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
1044 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
1047 error-completion on the first 2 args of condition-case (bug#14446).
1050 2013-05-25 Leo Liu <sdl.web@gmail.com>
1052 * comint.el (comint-previous-matching-input): Do not flood the
1053 *Messages* buffer with trivial messages.
1055 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * progmodes/flymake.el (flymake-nop): Don't return a string.
1058 (flymake-set-at): Fix typo.
1060 * simple.el (read--expression): New function, extracted from
1061 eval-expression. Set completion-at-point-functions (bug#14465).
1062 (eval-expression, eval-minibuffer): Use it.
1064 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
1066 * progmodes/flymake.el (flymake-save-buffer-in-file)
1067 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
1068 (flymake-selected-frame, flymake-log, flymake-ins-after)
1069 (flymake-set-at, flymake-get-buildfile-from-cache)
1070 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
1071 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
1072 Refine the doc string.
1073 (flymake-get-file-name-mode-and-masks): Reformat.
1074 (flymake-get-real-file-name-function): Fix a minor bug.
1076 2013-05-24 Juri Linkov <juri@jurta.org>
1078 * progmodes/grep.el (grep-mode-font-lock-keywords):
1079 Support =linenumber= format used by git-grep for lines with
1080 function names. (Bug#13549)
1082 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * progmodes/octave.el (octave-smie-rules): Return nil rather than
1085 0 after a semi-colon; it works better for smie-auto-fill.
1086 (octave--indent-new-comment-line): New function.
1087 (octave-indent-new-comment-line): Use it (indirectly).
1088 (octave-mode): Don't disable smie-auto-fill. Use add-function to
1089 modify comment-line-break-function.
1091 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
1092 (smie-setup): Use add-function to set it.
1094 2013-05-24 Sam Steingold <sds@gnu.org>
1096 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
1097 argument (before the `interactive' argument).
1099 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * image-mode.el (image-mode-winprops): Add winprops to
1102 image-mode-winprops-alist before running
1103 image-mode-new-window-functions.
1104 * doc-view.el (doc-view-new-window-function): Don't delay
1105 doc-view-goto-page via timers (bug#14435).
1107 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1109 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1110 (doc-view-desktop-save-buffer): New function.
1111 (doc-view-restore-desktop-buffer): New function.
1112 (desktop-buffer-mode-handlers):
1113 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1115 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1116 `desktop-save-buffer' function.
1118 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1120 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1121 (tramp-gvfs-file-name-handler): Raise a user error when
1122 `tramp-gvfs-enabled' is nil.
1123 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1124 Do not raise a user error when loading package. (Bug#14447)
1126 * net/xesam.el: Move to obsolete/.
1128 2013-05-24 Glenn Morris <rgm@gnu.org>
1130 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1132 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1134 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1135 (Info-find-node, Man-getpage-in-background): Declare.
1137 * mail/unrmail.el (unrmail):
1138 Replace obsolete detect-coding-with-priority.
1140 * net/socks.el (socks-split-string): Use this rather than split-string.
1141 (socks-nslookup-host): Update for above change.
1142 (dynamic-choice, s5-dynamic-choice-match)
1143 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1144 Comment out unused code.
1146 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1147 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1148 (gud-tooltip-echo-area): Make obsolete.
1149 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1151 * progmodes/js.el (js--optimize-arglist): Declare.
1153 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1155 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1156 (ediff-window-C): Declare.
1158 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1159 Tweak requires to silence compiler.
1161 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1162 (he-search-string, he-tried-table, he-expand-list)
1163 (he-init-string, he-string-member, he-substitute-string)
1164 (he-reset-string): Declare.
1166 * obsolete/options.el (list-options): Use custom-variable-p,
1167 rather than obsolete alias.
1169 2013-05-23 Sam Steingold <sds@gnu.org>
1171 * simple.el (shell-command-on-region): Pass the `replace' argument
1172 down to `call-process-region' to comply with the doc as reported on
1173 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1175 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * emacs-lisp/smie.el (smie-indent-forward-token)
1178 (smie-indent-backward-token): Handle string tokens (bug#14381).
1180 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1182 * ielm.el (ielm-menu): New menu.
1183 (inferior-emacs-lisp-mode): Set comment-start.
1185 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1187 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1188 Fix deactivate action.
1190 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1191 Add cleveref macros.
1193 * lisp/textmodes/reftex-parse.el
1194 (reftex-locate-bibliography-files): Accept options for
1195 bibliography commands.
1196 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1197 Add addbibresource. Basic Biblatex support.
1199 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1201 * net/tramp-gvfs.el (top):
1202 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1203 when loading package. (Bug#14447)
1205 2013-05-23 Glenn Morris <rgm@gnu.org>
1207 * progmodes/js.el: No need to load comint when compiling.
1208 (ring-insert, comint-send-string, comint-send-input)
1209 (comint-last-input-end, ido-chop): Declare.
1211 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1212 * vc/ediff-mult.el: Adjust requires.
1213 (ediff-directories-internal, ediff-directory-revisions-internal)
1214 (ediff-patch-file-internal): Declare.
1215 * vc/ediff-ptch.el: Adjust requires.
1216 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1217 (ediff-find-file): Autoload.
1218 * vc/ediff-util.el: No need to load ediff when compiling.
1219 (ediff-regions-internal): Declare.
1220 * vc/ediff-wind.el: Adjust requires.
1221 (ediff-compute-toolbar-width): Define when compiling.
1222 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1223 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1224 (dired-get-filename, dired-get-marked-files)
1225 (ediff-last-dir-patch, ediff-patch-default-directory)
1226 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1227 (ediff-patch-buffer-internal): Declare.
1229 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1230 (ispell-process, ispell-buffer-local-words, lm-summary)
1231 (lm-section-start, lm-section-end): Declare.
1232 (checkdoc-ispell-init): Simplify.
1234 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1235 (he-string-member, he-reset-string, he-substitute-string): Declare.
1237 * eshell/em-ls.el: Adjust requires.
1238 (eshell-glob-regexp): Declare.
1239 * eshell/em-tramp.el: Adjust requires.
1240 (eshell-parse-command): Autoload.
1241 * eshell/em-xtra.el: Adjust requires.
1242 (eshell-parse-command): Autoload.
1243 * eshell/esh-ext.el: Adjust requires.
1244 (eshell-parse-command, eshell-close-handles): Autoload.
1245 * eshell/esh-io.el: Adjust requires.
1246 (eshell-output-filter): Autoload.
1247 * eshell/esh-util.el: No need to load tramp when compiling.
1248 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1250 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1251 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1252 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1253 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1254 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1255 * eshell/esh-opt.el, eshell/esh-proc.el:
1256 * eshell/esh-var.el: Adjust requires.
1257 * eshell/eshell.el: Do not require esh-util twice.
1258 (eshell-add-input-to-history): Declare.
1259 (eshell-command): Check history module is active before using it.
1261 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1263 2013-05-22 Leo Liu <sdl.web@gmail.com>
1265 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1267 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1269 * autorevert.el (auto-revert-notify-add-watch)
1270 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1271 it indicates changes in file modification time.
1273 2013-05-22 Glenn Morris <rgm@gnu.org>
1275 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1276 Always delete the autoloaded function from the noruntime and
1277 unresolved functions lists.
1279 * allout.el: No need to load epa, epg, overlay when compiling.
1280 (epg-context-set-passphrase-callback, epg-list-keys)
1281 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1282 (epg-key-user-id-list): Declare.
1284 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1285 (viper-set-parsing-style-toggling-macro)
1286 (viper-set-emacs-state-searchstyle-macros):
1287 Use called-interactively-p on Emacs.
1288 (viper-looking-back): Make it an obsolete alias. Update callers.
1289 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1290 Use looking-back rather than viper-looking-back.
1291 (viper-tmp-insert-at-eob, viper-enlarge-region)
1292 (viper-read-string-with-history, viper-register-to-point)
1293 (viper-append-to-register, viper-change-state-to-vi)
1294 (viper-backward-char-carefully, viper-forward-char-carefully)
1295 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1296 (viper-change-state-to-emacs): Declare.
1297 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1298 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1299 * emulation/viper-mous.el: Do not load viper-cmd.
1300 (viper-backward-char-carefully, viper-forward-char-carefully)
1301 (viper-forward-word, viper-adjust-window): Declare.
1303 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1305 * progmodes/idlw-help.el (idlwave-help-fontify):
1306 Use called-interactively-p.
1308 * term/w32console.el (w32-get-console-codepage)
1309 (w32-get-console-output-codepage): Declare.
1311 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1312 Remove unnecessary declarations.
1313 (dframe-message): Doc fix.
1315 * info.el (dframe-select-attached-frame, dframe-current-frame):
1318 * speedbar.el (speedbar-message): Make it an obsolete alias.
1320 (speedbar-with-attached-buffer)
1321 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1322 (speedbar-with-writable): Use backquote.
1323 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1324 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1325 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1326 rather than speedbar- aliases.
1327 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1328 (speedbar-make-specialized-keymap, speedbar-insert-button)
1329 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1330 (speedbar-do-function-pointer): Declare.
1331 (rmail-speedbar-button, rmail-speedbar-find-file)
1332 (rmail-speedbar-move-message):
1333 Use dframe-with-attached-buffer rather than speedbar- alias.
1334 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1335 (dframe-message, speedbar-make-specialized-keymap)
1336 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1337 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1338 (speedbar-insert-button, dframe-select-attached-frame)
1339 (dframe-maybee-jump-to-attached-frame)
1340 (speedbar-change-initial-expansion-list)
1341 (speedbar-previously-used-expansion-list-name): Declare.
1342 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1343 Use dframe-message, dframe-with-attached-buffer rather than
1345 (gud-sentinel): Silence compiler.
1346 * progmodes/vhdl-mode.el (speedbar-refresh)
1347 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1348 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1349 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1350 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1351 (speedbar-file-lists, speedbar-make-tag-line)
1352 (speedbar-line-directory, speedbar-goto-this-file)
1353 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1354 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1355 (speedbar-make-button, speedbar-reset-scanners)
1356 (speedbar-files-item-info, speedbar-line-text)
1357 (speedbar-find-file-in-frame, speedbar-set-timer)
1358 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1359 (speedbar-with-writable): Do not (re)define it.
1360 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1361 rather than speedbar- alias.
1363 2013-05-21 Leo Liu <sdl.web@gmail.com>
1365 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1367 (octave-mode): Tweak fill-nobreak-predicate.
1368 (inferior-octave-startup): Check process to avoid infinite loop.
1369 (inferior-octave): Pop to buffer first to show abornmal process
1372 2013-05-21 Glenn Morris <rgm@gnu.org>
1374 * printing.el (pr-menu-bar): Define when compiling.
1376 2013-05-21 Leo Liu <sdl.web@gmail.com>
1378 * progmodes/octave.el (octave-auto-fill): Remove.
1379 (octave-indent-new-comment-line): Improve.
1380 (octave-mode): Use auto fill mode through
1381 comment-line-break-function and fill-nobreak-predicate
1382 (octave-goto-function-definition): Support DEFUN_DLD.
1383 (octave-beginning-of-defun): Small Tweak
1384 (octave-help): Show parent directory.
1386 2013-05-21 Glenn Morris <rgm@gnu.org>
1388 * files.el (dired-unmark):
1389 * progmodes/gud.el (gdb-input): Update declarations.
1391 * calculator.el (electric, ehelp): No need to load when compiling.
1392 (Electric-command-loop, electric-describe-mode): Declare.
1394 * doc-view.el (doc-view-current-converter-processes): Move before use.
1396 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1397 Move MODE-set-explicitly definition before use.
1399 * international/mule-diag.el (mule-diag):
1400 Don't use obsolete window-system-version.
1402 * mail/feedmail.el (smtpmail): No need to load when compiling.
1403 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1405 * mail/mail-utils.el (rfc822): No need to load when compiling.
1406 (rfc822-addresses): Autoload it.
1407 (mail-strip-quoted-names): Trivial simplification.
1409 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1410 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1412 * net/snmp-mode.el (tempo): Don't duplicate requires.
1414 * progmodes/prolog.el (info): No need to load when compiling.
1415 (comint): Require before shell requires it.
1416 (Info-goto-node): Autoload it.
1417 (Info-follow-nearest-node): Declare.
1418 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1420 * textmodes/artist.el (picture-mode-exit): Declare.
1422 * textmodes/reftex-parse.el (reftex-parse-from-file):
1423 Trivial rewrite so the compiler can parse it better.
1425 2013-05-20 Leo Liu <sdl.web@gmail.com>
1427 * progmodes/octave.el (octave-help-mode-map)
1428 (octave-help-mode-finish-hook): New variables.
1429 (octave-help-mode, octave-help-mode-finish): New functions.
1430 (octave-help): Use octave-help-mode.
1432 2013-05-20 Glenn Morris <rgm@gnu.org>
1434 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1436 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1438 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1439 start at point, so that expansion starting right after opening
1440 slash in a regexp is recognized.
1441 (ruby-syntax-before-regexp-re): New defvar, extracted from
1442 ruby-syntax-propertize-function. Since the value of this regexp
1443 is looked up at runtime now, we should be able to turn
1444 `ruby-syntax-methods-before-regexp' into a defcustom later.
1445 (ruby-syntax-propertize-function): Split regexp matching into two
1446 parts, for opening and closing slashes. That allows us to skip
1447 over string interpolations and support multiline regexps.
1448 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1449 for them, which calls `ruby-syntax-propertize-expansion'.
1450 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1451 call to `ruby-syntax-propertize-function'.
1452 (ruby-syntax-propertize-expansion): Extracted from
1453 `ruby-syntax-propertize-expansions'. Handles one expansion.
1454 (ruby-syntax-propertize-percent-literal): Leave point right after
1455 the percent symbol, so that the expression expansion rule can
1456 propertize the contents.
1457 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1459 (ruby-syntax-propertize-expansions): Remove.
1461 2013-05-18 Juri Linkov <juri@jurta.org>
1463 * man.el (Man-default-man-entry): Remove `-' from the end
1464 of the default value. (Bug#14400)
1466 2013-05-18 Glenn Morris <rgm@gnu.org>
1468 * comint.el (comint-password-prompt-regexp):
1469 Allow "password for XXX" where XXX contains colons (eg https://...).
1471 2013-05-18 Leo Liu <sdl.web@gmail.com>
1473 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1474 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1475 (octave-source-directories): Don't check process.
1476 (octave-source-directories, octave-find-definition): Doc fix.
1478 2013-05-18 Glenn Morris <rgm@gnu.org>
1480 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1481 Remove backspace/delete bindings. (Bug#14392)
1483 * cus-dep.el (custom-make-dependencies): Sort the output.
1484 (custom-versions-load-alist): Convert comment to doc.
1486 2013-05-17 Leo Liu <sdl.web@gmail.com>
1488 * newcomment.el (comment-search-backward): Stricter in finding
1489 comment start. (Bug#14303)
1491 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1492 (octave-comment-start-skip): Properly anchored.
1494 2013-05-17 Leo Liu <sdl.web@gmail.com>
1496 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1497 Clean up when turned off. (Bug#14395)
1498 (smie--highlight-matching-block-overlay): No longer buffer-local.
1499 (smie-highlight-matching-block): Adjust.
1501 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1503 Doc string fix for "nanoseconds" (Bug#14406).
1504 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1505 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1507 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1509 * calc/calc-units.el (math-extract-units): Preserve powers
1512 2013-05-17 Leo Liu <sdl.web@gmail.com>
1514 * subr.el (delete-consecutive-dups): New function.
1515 * ido.el (ido-set-matches-1): Use it.
1516 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1517 * ido.el (ido-remove-consecutive-dups): Remove.
1519 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1521 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1522 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1523 regexp-opt's `words'.
1525 2013-05-16 Leo Liu <sdl.web@gmail.com>
1527 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1528 (smie--highlight-matching-block-overlay)
1529 (smie--highlight-matching-block-lastpos)
1530 (smie--highlight-matching-block-timer): New variables.
1531 (smie-highlight-matching-block): New function.
1532 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1533 (smie-setup): Conditionally enable smie-blink-matching-open.
1535 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1537 Sync with upstream verilog-mode r840.
1538 * progmodes/verilog-mode.el (verilog-mode-version)
1539 (verilog-mode-release-date): Update.
1540 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1541 (verilog-sig-tieoff): Fix string error on
1542 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1543 (verilog-read-decls): Fix parameters confusing
1544 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1546 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1548 * subr.el (reveal-filename): New function.
1550 * loadup.el: Compute Emacs executable versions on MS-Windows,
1551 where executables have the .exe extension. Add a hard link
1552 emacs-XX.YY.ZZ.exe on MS-Windows.
1554 * Makefile.in (XARGS_LIMIT): New variable.
1555 (custom-deps, finder-data, autoloads)
1556 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1557 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1558 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1559 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1561 2013-05-16 Leo Liu <sdl.web@gmail.com>
1563 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1564 (octave-mode-menu, octave-mode-map): Remove its uses.
1566 2013-05-16 Reto Zimmermann <reto@gnu.org>
1568 Sync with upstream vhdl mode v3.34.2.
1569 * progmodes/vhdl-mode.el: Use `push' throughout.
1570 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1571 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1572 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1573 (vhdl-actual-generic-name): New option to derive actual generic name.
1574 (vhdl-port-paste-signals): Replace formal by actual generics.
1575 (vhdl-beautify): New name for old group vhdl-align. Update users.
1576 (vhdl-beautify-options): New option.
1577 (vhdl-last-input-event): New compat alias. Use throughout.
1578 (vhdl-goto-line): Replace user level function `goto-line'.
1579 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1580 vhdl-fix-statement-buffer.
1581 (vhdl-create-mode-menu): Add some entries.
1582 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1583 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1584 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1585 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1586 to force statements on one line.
1587 (vhdl-remove-trailing-spaces-region):
1588 New, split from vhdl-remove-trailing-spaces.
1589 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1590 Respect vhdl-beautify-options.
1591 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1592 (vhdl-update-sensitivity-list): Not add with index if exists without.
1593 Not include array index with signal. Ignore keywords in comments.
1594 (vhdl-get-visible-signals): Regexp tweaks.
1595 (vhdl-template-component-inst): Handle empty library.
1596 (vhdl-template-type): Add template for 'enum' type.
1597 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1598 Use vhdl-replace-string.
1599 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1600 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1601 (vhdl-speedbar-initialize): Update for above name change.
1602 (vhdl-compose-wire-components): Fix in handling of constants.
1603 (vhdl-error-regexp-emacs-alist): New variable.
1604 (vhdl-error-regexp-add-emacs): New function;
1605 adds support for new compile.el (Emacs 22+)
1606 (vhdl-generate-makefile-1): Change target order for single lib. units.
1607 Allow use of absolute file names.
1609 2013-05-16 Leo Liu <sdl.web@gmail.com>
1611 * simple.el (prog-indent-sexp): Indent enclosing defun.
1613 2013-05-15 Glenn Morris <rgm@gnu.org>
1615 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1616 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1617 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1618 (whitespace-highlight): Move to whitespace group.
1620 * comint.el (comint-source):
1621 * pcmpl-linux.el (pcmpl-linux):
1622 * shell.el (shell-faces):
1623 * eshell/esh-opt.el (eshell-opt):
1624 * international/ccl.el (ccl): Remove empty custom groups.
1626 * completion.el (dynamic-completion-mode):
1627 * jit-lock.el (jit-lock-debug-mode):
1628 * minibuffer.el (completion-in-region-mode):
1629 * type-break.el (type-break-mode-line-message-mode)
1630 (type-break-query-mode):
1631 * emulation/tpu-edt.el (tpu-edt-mode):
1632 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1633 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1634 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1636 * term/xterm.el (xterm): Change parent group to terminals.
1638 * master.el (master): Remove empty custom group.
1639 (master-mode): Remove unused :group argument.
1640 * textmodes/refill.el (refill): Remove empty custom group.
1641 (refill-mode): Remove unused :group argument.
1643 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1645 * cus-dep.el: Provide a feature.
1646 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1647 Don't mistakenly ignore files whose basenames match a basename
1648 from preloaded-file-list (eg cedet/ede/simple.el).
1649 Add a fallback method for getting :group.
1651 2013-05-15 Juri Linkov <juri@jurta.org>
1653 * isearch.el (isearch-char-by-name): Rename from
1654 `isearch-insert-char-by-name'. Doc fix.
1655 (isearch-forward): Mention `isearch-char-by-name' in
1656 the docstring. (Bug#13348)
1658 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1659 `exit-minibuffer' instead of
1660 `isearch-nonincremental-exit-minibuffer'.
1661 (isearch-edit-string): Remove mention of
1662 `isearch-nonincremental-exit-minibuffer' from docstring.
1663 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1664 (isearch-forward-exit-minibuffer)
1665 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1667 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * loadup.el: Just use unversioned DOC.
1671 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1672 literals as extending to EOB.
1673 (nxml-last-fontify-end): Remove unused variable.
1674 (nxml-after-change1): Use with-silent-modifications.
1675 (nxml-extend-after-change-region): Simplify.
1676 (nxml-extend-after-change-region1): Remove function.
1677 (nxml-after-change1): Don't adjust for dependent regions.
1678 (nxml-fontify-matcher): Simplify.
1679 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1680 (xmltok-add-dependent): Remove function.
1681 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1682 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1683 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1684 unclosed <[[, <?, comment, and other literals as extending to EOB.
1685 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1686 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1688 (rng-do-some-validation-1): Don't mark dependent regions.
1689 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1690 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1691 (nxml-clear-dependent-regions): Remove functions.
1692 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1693 (nxml-ensure-scan-up-to-date):
1694 Don't clear&mark dependent regions.
1696 2013-05-15 Leo Liu <sdl.web@gmail.com>
1698 * progmodes/octave.el (octave-goto-function-definition):
1699 Improve and fix callers.
1701 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1704 the setter (bug#14387).
1706 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1707 surrounding group (bug#14402).
1709 2013-05-14 Juri Linkov <juri@jurta.org>
1711 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1714 2013-05-14 Glenn Morris <rgm@gnu.org>
1716 * progmodes/f90.el (f90-imenu-generic-expression):
1717 Fix typo in 2013-05-08 change. (Bug#14402)
1719 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1721 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1722 Remove signals for which replies are never received.
1724 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1726 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1727 (gdb-handler-alist, gdb-handler-number): Remove variables.
1728 (gdb-handler-list): New variable.
1729 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1730 (gdb-pending-handler-p, gdb-handle-reply)
1731 (gdb-remove-all-pending-triggers): New functions.
1732 (gdb-discard-unordered-replies): New defcustom.
1733 (gdb-handler): New defstruct.
1734 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1735 instead of gdb-pending-triggers. Update docstring.
1736 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1737 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1738 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1739 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1740 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1741 (gdb-frame-handler): Pending triggers are now automatically managed.
1742 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1744 (gdb-input): Automatically handles pending triggers. Update docstring.
1745 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1746 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1748 (gdb-done-or-error): Now use gdb-handle-reply.
1750 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1752 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1755 2013-05-14 Glenn Morris <rgm@gnu.org>
1757 * subr.el (user-emacs-directory-warning): New option.
1758 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1760 2013-05-14 Leo Liu <sdl.web@gmail.com>
1762 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1764 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1765 (octave-font-lock-texinfo-comment): Fix invalid search bound
1766 error: wrong side of point.
1768 2013-05-14 Glenn Morris <rgm@gnu.org>
1770 * progmodes/flymake.el (flymake-xml-program): New option.
1771 (flymake-xml-init): Use it.
1773 * term/xterm.el: Provide a feature.
1775 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1777 2013-05-13 Glenn Morris <rgm@gnu.org>
1779 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1780 Add compat aliases as a hack workaround. (Bug#14384)
1782 2013-05-13 Leo Liu <sdl.web@gmail.com>
1784 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1786 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1788 (octave-comment-start-skip): Include %!.
1789 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1791 2013-05-12 Leo Liu <sdl.web@gmail.com>
1793 * progmodes/octave.el (inferior-octave-startup): Store the value
1794 of __octave_srcdir__ for octave-source-directories.
1795 (inferior-octave-check-process): New function refactored out of
1796 inferior-octave-send-list-and-digest.
1797 (octave-source-directories)
1798 (octave-find-definition-filename-function): New variables.
1799 (octave-source-directories)
1800 (octave-find-definition-default-filename): New functions.
1801 (octave-find-definition): Improve to find functions implemented in C++.
1803 2013-05-12 Glenn Morris <rgm@gnu.org>
1805 * calendar/diary-lib.el (diary-outlook-format-1):
1806 Don't include dayname in the output. (Bug#14349)
1808 2013-05-11 Glenn Morris <rgm@gnu.org>
1810 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1812 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1813 Treat cc-provide like provide.
1815 2013-05-11 Kevin Ryde <user42@zip.com.au>
1817 * cus-dep.el (custom-make-dependencies):
1818 Use generated-autoload-load-name for the sake of files such
1819 such cedet/semantic/bovine/c.el, where the base file name
1820 is not in load-path. (Bug#5277)
1822 2013-05-11 Glenn Morris <rgm@gnu.org>
1824 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1827 2013-05-11 Leo Liu <sdl.web@gmail.com>
1829 * progmodes/octave.el (octave-indent-comment): Improve.
1830 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1831 (octave-eldoc-function-signatures, octave-eldoc-function):
1833 (octave-mode, inferior-octave-mode): Add eldoc support.
1835 2013-05-11 Richard Stallman <rms@gnu.org>
1837 * epa.el (epa-decrypt-file): Take output file name as argument
1838 and read it using `interactive'.
1840 2013-05-11 Leo Liu <sdl.web@gmail.com>
1842 * progmodes/octave.el (octave-beginning-of-line)
1843 (octave-end-of-line): Check before using up-list because it jumps
1844 out of more syntactic contructs since moving to smie.
1845 (octave-indent-comment): New function.
1846 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1847 (octave-begin-keywords, octave-end-keywords)
1848 (octave-reserved-words, octave-smie-bnf-table)
1849 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1851 2013-05-11 Glenn Morris <rgm@gnu.org>
1853 * faces.el (internal-face-x-get-resource):
1854 * frame.el (ns-display-monitor-attributes-list):
1855 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1857 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1859 * calc/calc-menu.el: Make it loadable in isolation.
1861 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1862 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1863 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1864 (eudc-bbdb-query-internal): Require 'bbdb.
1866 * lpr.el (lpr-headers-switches):
1867 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1869 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1871 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1873 * term.el (term-set-escape-char): Make it idempotent.
1875 2013-05-10 Leo Liu <sdl.web@gmail.com>
1877 * progmodes/octave.el (inferior-octave-completion-table):
1878 No longer a function and all uses changed. Use cache to speed up
1879 completion due to bug#11906.
1880 (octave-beginning-of-defun): Re-write to be more general.
1882 2013-05-10 Glenn Morris <rgm@gnu.org>
1884 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1886 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * comint.el (comint-redirect-send-command-to-process): Use :around
1889 rather than :override for comint-redirect-filter.
1890 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1891 Call it instead of comint-redirect-original-filter-function (which
1892 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1894 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1896 * frame.el (display-monitor-attributes-list): Add NS case.
1897 (ns-display-monitor-attributes-list): Declare.
1899 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1901 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1903 2013-05-09 Glenn Morris <rgm@gnu.org>
1905 * international/fontset.el (vertical-centering-font-regexp):
1908 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1910 * bookmark.el (bookmark-search-delay):
1911 * cus-start.el (vertical-centering-font-regexp):
1912 * ps-mule.el (ps-mule-font-info-database-default):
1913 * ps-print.el (ps-default-fg, ps-default-bg):
1914 * type-break.el (type-break-good-break-interval):
1915 * whitespace.el (whitespace-indentation-regexp)
1916 (whitespace-space-after-tab-regexp):
1917 * emacs-lisp/testcover.el (testcover-1value-functions)
1918 (testcover-noreturn-functions, testcover-progn-functions)
1919 (testcover-prog1-functions):
1920 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1921 * eshell/em-glob.el (eshell-glob-translate-alist):
1922 * play/tetris.el (tetris-tty-colors):
1923 * progmodes/cpp.el (cpp-face-default-list):
1924 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1925 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1926 (idlwave-help-browser-generic-args):
1927 * progmodes/make-mode.el (makefile-special-targets-list):
1928 * progmodes/python.el (python-shell-virtualenv-path):
1929 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1930 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1931 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1932 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1933 * textmodes/reftex-vars.el (reftex-format-label-function):
1934 * textmodes/remember.el (remember-diary-file): Fix custom types.
1936 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1939 2013-05-09 Leo Liu <sdl.web@gmail.com>
1941 * progmodes/octave.el (inferior-octave-completion-at-point):
1942 Restore file completion. (Bug#14300)
1943 (inferior-octave-startup): Fix incorrect highlighting for the
1946 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1948 * progmodes/ruby-mode.el: First cut at SMIE support.
1949 (ruby-use-smie): New var.
1950 (ruby-smie-grammar): New constant.
1951 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1952 (ruby-smie--forward-token, ruby-smie--backward-token)
1953 (ruby-smie-rules): New functions.
1954 (ruby-mode-variables): Setup SMIE if applicable.
1956 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1958 * simple.el (line-move-visual): Signal beginning/end of buffer
1959 only if vertical-motion moved less than it was requested. Avoids
1960 silly incorrect error messages when there are display strings with
1961 multiple newlines at EOL.
1963 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1966 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1967 (prolog-char-quote-workaround):
1968 * progmodes/cperl-mode.el (cperl-under-as-char):
1969 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1971 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1973 (vhdl-mode-syntax-table-init): Remove.
1975 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1978 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1980 (ld-script-font-lock-keywords):
1981 Change regexps to use things like \_< and \_>.
1983 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1984 Change all regexps to use things like \_< and \_>.
1986 * progmodes/autoconf.el (autoconf-definition-regexp)
1987 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1988 Handle a _ with symbol syntax.
1989 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1991 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1992 Consolidate declaration.
1993 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1995 (ada-create-syntax-table): Remove.
1996 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1997 already has the right syntax nowadays.
1998 (ada-goto-next-word): Don't change the syntax of "_".
2000 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
2003 2013-05-08 Sam Steingold <sds@gnu.org>
2005 * thingatpt.el (thing-at-point): Accept optional second argument
2006 NO-PROPERTIES to strip the text properties from the return value.
2007 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
2008 to `thing-at-point' instead of stripping the properties ourselves.
2009 Also, when `thing-at-point' fails to find a url, prepend "http://"
2010 to the filename at point on the assumption that the user is
2011 pointing at something like gnu.org/gnu.
2013 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
2015 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2016 * faces.el (crm-separator):
2017 Silence byte-compiler.
2019 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
2020 (tool-bar-map): Remove unneeded defvars.
2022 2013-05-08 Leo Liu <sdl.web@gmail.com>
2024 Re-work a fix for bug#10994 based on Le Wang's patch.
2025 * ido.el (ido-remove-consecutive-dups): New helper.
2026 (ido-completing-read): Use it.
2027 (ido-chop): Revert fix for bug#10994.
2029 2013-05-08 Adam Spiers <emacs@adamspiers.org>
2031 * cus-edit.el (custom-save-variables):
2032 Pretty-print long values. (Bug#14187)
2034 2013-05-08 Glenn Morris <rgm@gnu.org>
2036 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
2037 (m4-mode-syntax-table): Init in the defvar.
2038 (m4-mode-abbrev-table): Let define-derived-mode define it.
2040 2013-05-08 Tom Tromey <tromey@redhat.com>
2042 * progmodes/m4-mode.el (m4-mode-syntax-table):
2043 Do not treat "_" as word constituent. (Bug#14167)
2045 2013-05-07 Glenn Morris <rgm@gnu.org>
2047 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
2048 Remove explicit eshell-isearch-cancel-map.
2050 * progmodes/f90.el (f90-smart-end-names): New option.
2051 (f90-smart-end): Doc fix.
2052 (f90-end-block-optional-name): New constant.
2053 (f90-block-match): Respect f90-smart-end-names.
2055 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * progmodes/octave.el (octave-smie-forward-token): Be more careful
2058 about implicit semi-colons (bug#14218).
2060 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2062 * frame.el (display-monitor-attributes-list)
2063 (frame-monitor-attributes): New functions.
2065 2013-05-06 Leo Liu <sdl.web@gmail.com>
2067 * progmodes/octave.el (octave-syntax-propertize-function): Change
2068 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
2069 (octave-font-lock-keywords): Use octave-operator-regexp.
2070 (octave-completion-at-point): Rename from
2071 octave-completion-at-point-function.
2072 (inferior-octave-directory-tracker): Robustify.
2073 (octave-text-functions): Remove and fix its uses. No such things
2076 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * emacs-lisp/trace.el (trace--display-buffer): New function.
2079 (trace-make-advice): Use it.
2081 2013-05-06 Juri Linkov <juri@jurta.org>
2083 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
2084 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
2086 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
2087 in the help string. (Bug#12985)
2089 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2091 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
2093 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2095 * progmodes/perl-mode.el: Add support for here documents.
2096 (perl-syntax-propertize-function): Match here-doc markers.
2097 (perl-syntax-propertize-special-constructs): Find their end.
2098 (perl-imenu-generic-expression): Use [:alnum:].
2100 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2101 (advice--add-function): Refresh the advice if already present
2104 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2106 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2108 2013-05-06 Glenn Morris <rgm@gnu.org>
2110 * w32-fns.el (w32-charset-info-alist): Declare.
2112 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2113 of its defcustom properties.
2114 (eshell-cmpl-initialize): No need to load pcomplete.
2116 * generic-x.el: No need to require comint when compiling.
2118 * net/eudc-export.el: Make it loadable without bbdb.
2119 (top-level): Use require rather than load-library.
2120 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2121 (eudc-batch-export-records-to-bbdb)
2122 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2125 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2127 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2128 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2129 some tweaks, instead.
2131 2013-05-05 Leo Liu <sdl.web@gmail.com>
2133 * progmodes/octave.el (octave-font-lock-keywords)
2134 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2135 (inferior-octave-send-list-and-digest): Improve error message.
2136 (octave-mode, inferior-octave-mode): Use setq-local.
2137 (octave-help): Set info-lookup-mode.
2139 2013-05-05 Richard Stallman <rms@gnu.org>
2141 * vc/compare-w.el (compare-windows-whitespace):
2142 Treat no-break space as whitespace.
2144 * mail/rmailsum.el (rmail-summary-rmail-update):
2145 Detect empty summary and don't change selected message.
2146 (rmail-summary-goto-msg): Likewise.
2148 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2149 Doc fixes, rename args.
2151 2013-05-05 Alan Mackenzie <acm@muc.de>
2153 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2155 2013-05-05 Juri Linkov <juri@jurta.org>
2157 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2158 to not add the length of the summary segment to the return value.
2161 2013-05-05 Leo Liu <sdl.web@gmail.com>
2163 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2164 (inferior-octave-output-filter): Remove.
2165 (octave-send-region, inferior-octave-startup): Fix callers.
2166 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2167 (octave-binary-file-extensions): New user variable.
2168 (octave-find-definition): Confirm if opening binary files.
2169 (octave-help-file): Use octave-find-definition to get the binary
2171 (octave-help): Adjust for octave-help-file change.
2173 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2176 Merge the two entries that handle function definitions.
2177 (pascal--syntax-propertize): New const.
2178 (pascal-mode): Use it. Use setq-local.
2180 2013-05-04 Glenn Morris <rgm@gnu.org>
2182 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2183 (diary-from-outlook): Respect diary-from-outlook-function.
2185 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2187 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2188 Move the declaration from C.
2189 (read-minibuffer, eval-minibuffer): Move from C.
2190 (completion-setup-function): Avoid minibuffer-completion-contents.
2192 2013-05-03 Leo Liu <sdl.web@gmail.com>
2194 * progmodes/octave.el (octave-font-lock-keywords): Do not
2195 dehighlight 'end' in comments or strings.
2196 (octave-completing-read, octave-goto-function-definition):
2198 (octave-help-buffer): New user variable.
2199 (octave-help-file, octave-help-function): New button types.
2200 (octave-help): New command and bind it to C-h ;.
2201 (octave-find-definition): New command and bind it to M-.
2202 (user-error): Alias to error if not defined.
2204 2013-05-02 Leo Liu <sdl.web@gmail.com>
2206 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2208 (octave-font-lock-keywords): Include [ and {.
2210 2013-05-02 Leo Liu <sdl.web@gmail.com>
2212 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2213 (inferior-octave): Remove calling comint-mode and return the buffer.
2214 (inferior-octave-startup): Cosmetic changes.
2216 2013-05-02 Leo Liu <sdl.web@gmail.com>
2218 * progmodes/octave.el (octave-syntax-propertize-function):
2219 Include the case when ' is at line beginning. (Bug#14336)
2221 2013-05-02 Glenn Morris <rgm@gnu.org>
2223 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2224 * desktop.el (vc-dir-mode): Just autoload it here.
2226 2013-05-02 Alan Mackenzie <acm@muc.de>
2228 Eliminate variable c-standard-font-lock-fontify-region-function.
2229 * progmodes/cc-mode.el
2230 (c-standard-font-lock-fontify-region-function): Remove.
2231 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2233 2013-05-01 Leo Liu <sdl.web@gmail.com>
2235 * progmodes/octave.el: Compatible with older emacs-24 releases.
2236 (inferior-octave-has-built-in-variables): Remove. Built-in
2237 variables were removed from Octave in 2007.
2238 (inferior-octave-startup): Fix uses.
2239 (comint-line-beginning-position): Remove compatibility code for
2242 2013-05-01 Juri Linkov <juri@jurta.org>
2244 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2246 2013-05-01 Juri Linkov <juri@jurta.org>
2248 * comint.el (comint-previous-matching-input): Don't print message
2249 "History item: %d" when `isearch-mode' is active.
2250 (comint-history-isearch-message): Print message "History item: %d"
2251 when `comint-input-ring-index' is not empty and this function is
2252 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2254 2013-05-01 Leo Liu <sdl.web@gmail.com>
2256 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2257 definitions. Use completion-at-point to insert keywords.
2258 (octave-abbrev-start): Remove.
2259 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2261 2013-04-30 Leo Liu <sdl.web@gmail.com>
2263 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2266 2013-04-30 Alan Mackenzie <acm@muc.de>
2268 Handle arbitrarily long C++ member initialisation lists.
2269 * progmodes/cc-engine.el (c-back-over-member-initializers):
2271 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2272 (most) member init lists.
2274 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2276 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2279 2013-04-30 Leo Liu <sdl.web@gmail.com>
2281 * progmodes/octave.el (octave-variables): Remove. No builtin
2282 variables any more. All converted to functions.
2283 (octave-font-lock-keywords, octave-completion-at-point-function):
2285 (octave-font-lock-texinfo-comment): New user variable.
2286 (octave-texinfo-font-lock-keywords): New variable for texinfo
2288 (octave-function-comment-block): New face.
2289 (octave-font-lock-texinfo-comment): New function.
2290 (octave-mode): Font lock texinfo comment block.
2292 2013-04-29 Leo Liu <sdl.web@gmail.com>
2294 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2295 indexing expression.
2296 (octave-continuation-string): Do not use \.
2297 (inferior-octave-complete-impossible): Remove.
2298 (inferior-octave-completion-table)
2299 (inferior-octave-completion-at-point): Remove its uses.
2300 (inferior-octave-startup): completion_matches was introduced to
2301 Octave in 1996 so safe to assume it.
2302 (octave-function-file-comment): Improve to follow how Octave does it.
2303 (octave-update-function-file-comment): Tweak.
2305 2013-04-29 Leo Liu <sdl.web@gmail.com>
2307 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2308 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2309 (octave-function-file-comment): Fix typo.
2310 (octave-sync-function-file-names): Use read-char-choice.
2312 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2314 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2315 to t for the less important warnings.
2317 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2319 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2321 2013-04-27 Glenn Morris <rgm@gnu.org>
2323 * vc/log-view.el (log-view-current-entry):
2324 Treat "---" separator lines as part of the following rev. (Bug#14169)
2326 2013-04-27 Juri Linkov <juri@jurta.org>
2328 * subr.el (read-number): Doc fix about using it by interactive
2329 code letter `n'. (Bug#14254)
2331 2013-04-27 Juri Linkov <juri@jurta.org>
2333 * desktop.el (desktop-auto-save-timeout): New option.
2334 (desktop-file-checksum): New variable.
2335 (desktop-save): Add optional arg `auto-save' and don't auto-save
2337 (desktop-auto-save-timer): New variable.
2338 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2339 (after-init-hook): Call `desktop-auto-save-set-timer'.
2340 Suggested by Reuben Thomas <rrt@sc3d.org> in
2341 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2343 2013-04-27 Leo Liu <sdl.web@gmail.com>
2345 * progmodes/octave.el (octave-function-file-p)
2346 (octave-skip-comment-forward, octave-function-file-comment)
2347 (octave-update-function-file-comment): New functions.
2348 (octave-mode-map): Bind C-c ; to
2349 octave-update-function-file-comment.
2350 (octave-mode-menu): Add octave-update-function-file-comment.
2351 (octave-mode, inferior-octave-mode): Fix doc-string.
2352 (octave-insert-defun): Conform to Octave's coding convention.
2355 * files.el (basic-save-buffer): Don't let errors in
2356 before-save-hook prevent saving buffer.
2358 2013-04-20 Roland Winkler <winkler@gnu.org>
2360 * faces.el (read-face-name): Use completing-read if arg multiple
2363 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2365 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2366 displayed, move point to after the totals line.
2367 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2370 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2373 Add current dir to the load-path.
2374 (package-generate-autoloads): Don't rely on
2375 autoload-ensure-default-file.
2377 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2379 * textmodes/remember.el (remember-store-in-files): Document that
2380 the file name format is passed to `format-time-string'.
2382 2013-04-26 Leo Liu <sdl.web@gmail.com>
2384 * progmodes/octave.el (octave-sync-function-file-names): New function.
2385 (octave-mode): Use it in before-save-hook.
2387 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2389 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2392 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2393 \n and comment, even if it's not an implicit ; (bug#14218).
2395 2013-04-26 Glenn Morris <rgm@gnu.org>
2397 * subr.el (read-number): Once more use `read' rather than
2398 `string-to-number', to trap non-numeric input. (Bug#14254)
2400 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2402 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2403 Use `syntax-multiline' text property consistently instead of
2404 `font-lock-multiline'. (Bug#14237)
2406 2013-04-26 Glenn Morris <rgm@gnu.org>
2408 * emacs-lisp/shadow.el (list-load-path-shadows):
2409 No longer necessary to check for duplicate simple.el, since
2410 2012-07-07 change to init_lread to not include installation lisp
2411 directories in load-path when running uninstalled. (Bug#14270)
2413 2013-04-26 Leo Liu <sdl.web@gmail.com>
2415 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2416 (octave-mode, inferior-octave-mode): Use setq-local.
2417 (octave-not-in-string-or-comment-p): Rename to
2418 octave-in-string-or-comment-p.
2419 (octave-in-comment-p, octave-in-string-p)
2420 (octave-in-string-or-comment-p): Replace defsubst with defun.
2422 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2424 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2426 2013-04-25 Bastien Guerry <bzg@gnu.org>
2428 * textmodes/remember.el (remember-data-directory)
2429 (remember-directory-file-name-format): Fix custom types.
2431 2013-04-25 Leo Liu <sdl.web@gmail.com>
2433 * progmodes/octave.el (octave-completion-at-point-function):
2434 Make use of inferior octave process.
2435 (octave-initialize-completions): Remove.
2436 (inferior-octave-completion-table): New function.
2437 (inferior-octave-completion-at-point): Use it.
2438 (octave-completion-alist): Remove.
2440 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2442 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2443 (opascal-mode-syntax-table): New var.
2444 (opascal-literal-kind, opascal-is-literal-end)
2445 (opascal-literal-token-at): Rewrite.
2446 (opascal--literal-start-re, opascal-font-lock-keywords)
2447 (opascal--syntax-propertize): New constants.
2448 (opascal-font-lock-defaults): Adjust.
2449 (opascal-mode): Use them. Set comment-<foo> variables as well.
2450 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2451 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2452 (delphi-other-face, opascal-other-face): Remove face variables.
2453 (opascal-save-state): Remove macro.
2454 (opascal-fontifying-progress-step): Remove constant.
2455 (opascal--ignore-changes): Remove var.
2456 (opascal-set-token-property, opascal-parse-next-literal)
2457 (opascal-is-stable-literal, opascal-complete-literal)
2458 (opascal-is-literal-start, opascal-face-of)
2459 (opascal-parse-region, opascal-parse-region-until-stable)
2460 (opascal-fontify-region, opascal-after-change)
2461 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2462 (opascal-debug-parse-region, opascal-debug-parse-window)
2463 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2464 (opascal-debug-fontify-buffer): Remove.
2465 (opascal-debug-mode-map): Adjust accordingly.
2467 2013-04-25 Leo Liu <sdl.web@gmail.com>
2469 Merge octave-mod.el and octave-inf.el into octave.el with some
2471 * progmodes/octave.el: New file renamed from octave-mod.el.
2472 * progmodes/octave-inf.el: Merged into octave.el.
2473 * progmodes/octave-mod.el: Renamed to octave.el.
2475 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2477 * textmodes/reftex-vars.el
2478 (reftex-label-ignored-macros-and-environments): New defcustom.
2480 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2482 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2485 (smie-indent-keyword): Improve the check to ensure that the next
2486 comment is really on the same line.
2487 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2489 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2490 semi-colons if the line is not otherwise empty (bug#14218).
2492 2013-04-25 Glenn Morris <rgm@gnu.org>
2494 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2496 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * progmodes/opascal.el (opascal-set-token-property): Rename from
2499 opascal-set-text-properties and only set `token' (bug#14134).
2500 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2501 (opascal-literal-text-properties): Remove.
2502 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2505 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2507 * textmodes/remember.el (remember-handler-functions): Add an
2508 option for a new handler `remember-store-in-files'.
2509 (remember-data-directory, remember-directory-file-name-format):
2511 (remember-store-in-files): New function to store remember notes
2512 as separate files within a directory.
2514 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2516 * progmodes/compile.el (compilation-next-error-function):
2517 Pass "formats" to compilation-find-file (bug#11777).
2519 2013-04-24 Glenn Morris <rgm@gnu.org>
2521 * vc/vc-bzr.el (vc-bzr-print-log):
2522 * vc/vc-hg.el (vc-hg-print-log):
2523 * vc/vc-svn.el (vc-svn-print-log):
2524 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2526 * vc/vc-bzr.el (vc-bzr-print-log):
2527 * vc/vc-cvs.el (vc-cvs-print-log):
2528 * vc/vc-git.el (vc-git-print-log):
2529 * vc/vc-hg.el (vc-hg-print-log):
2530 * vc/vc-mtn.el (vc-mtn-print-log):
2531 * vc/vc-rcs.el (vc-rcs-print-log):
2532 * vc/vc-sccs.el (vc-sccs-print-log):
2533 * vc/vc-svn.el (vc-svn-print-log):
2534 * vc/vc.el (vc-print-log-internal): Doc fixes.
2536 2013-04-23 Glenn Morris <rgm@gnu.org>
2538 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2539 Remove venerable code attempting to avoid substitute-command-keys.
2541 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2543 * textmodes/reftex-vars.el (reftex-label-regexps):
2544 Call `reftex-compile-variables' after changes to this variable.
2546 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2548 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2549 Use lexical-binding.
2550 (jit-lock-force-redisplay): Use markers, check buffer's continued
2551 existence and beware narrowed buffers.
2552 (jit-lock-fontify-now): Adjust call accordingly.
2554 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2557 to avoid misleading the user.
2559 2013-04-22 Leo Liu <sdl.web@gmail.com>
2561 * info-look.el: Prefer latex2e.info. (Bug#14240)
2563 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2565 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2567 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2568 * net/tramp.el (tramp-call-process): ... here
2569 (tramp-set-completion-function, tramp-parse-putty):
2570 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2571 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2572 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2573 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2574 (tramp-call-local-coding-command): Use `tramp-call-process'
2575 instead of `tramp-compat-call-process'.
2577 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2578 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2579 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2580 (tramp-find-inline-compress): Improve traces.
2581 (tramp-maybe-send-script): Check for Perl binary.
2582 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2584 2013-04-22 Daiki Ueno <ueno@gnu.org>
2586 * epg.el (epg-context-pinentry-mode): New function.
2587 (epg-context-set-pinentry-mode): New function.
2588 (epg--start): Pass --pinentry-mode option to gpg command.
2590 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2592 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2593 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2594 `completion-at-point'. (Bug#13774)
2596 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2597 default key binding for `describe-distribution' has been moved to
2598 `C-h C-o'. (Bug#13970)
2600 2013-04-21 Glenn Morris <rgm@gnu.org>
2602 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2604 (vc-print-log): Clarify interactive prompt.
2606 2013-04-20 Glenn Morris <rgm@gnu.org>
2608 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2609 No longer include timestamp etc information.
2611 2013-04-20 Roland Winkler <winkler@gnu.org>
2613 * faces.el (read-face-name): Bug fix, return just one face if arg
2614 multiple is nil. (Bug#14209)
2616 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2619 (remove-function): Autoload.
2621 * comint.el (comint-redirect-original-filter-function): Remove.
2622 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2623 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2624 (vc-cvs-annotate-command):
2625 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2626 * progmodes/prolog.el (prolog-consult-compile):
2627 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2628 Use add/remove-function instead.
2629 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2630 (gud-tooltip-process-output, gud-tooltip-tips):
2631 Use add/remove-function instead.
2632 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2633 (scheme-interaction-mode, exit-scheme-interaction-mode):
2634 Use add/remove-function instead.
2636 * vc/vc-dispatcher.el: Use lexical-binding.
2637 (vc--process-sentinel): Rename from vc-process-sentinel.
2638 Change last arg to be the code to run. Don't use vc-previous-sentinel
2639 and vc-sentinel-commands any more.
2640 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2641 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2643 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2645 * progmodes/sh-script.el (sh-imenu-generic-expression):
2646 Handle function names with a single character. (Bug#14111)
2648 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2650 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2651 for subroutines defined in an eval (bug#14182).
2653 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2655 * bookmark.el (bookmark-completing-read): Improve handling of empty
2658 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2662 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2664 New faster Imenu implementation (bug#14058).
2665 * progmodes/python.el:
2666 (python-imenu-prev-index-position):
2667 (python-imenu-format-item-label-function)
2668 (python-imenu-format-parent-item-label-function)
2669 (python-imenu-format-parent-item-jump-label-function):
2671 (python-imenu-format-item-label)
2672 (python-imenu-format-parent-item-label)
2673 (python-imenu-format-parent-item-jump-label)
2674 (python-imenu--put-parent, python-imenu--build-tree)
2675 (python-imenu-create-index, python-imenu-create-flat-index)
2676 (python-util-popn): New functions.
2677 (python-mode): Set imenu-create-index-function to
2678 python-imenu-create-index.
2680 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * winner.el (winner-active-region): Use region-active-p, activate-mark
2683 and deactivate-mark (bug#14225).
2685 * simple.el (deactivate-mark): Don't inline it.
2687 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2689 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2691 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2693 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2694 file extensions from the archive-mode entry in order to prefer
2695 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2697 2013-04-18 Leo Liu <sdl.web@gmail.com>
2699 * bindings.el (help-event-list): Add ?\?.
2701 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2703 * subr.el (with-wrapper-hook): Declare obsolete.
2704 * simple.el (filter-buffer-substring-function): New hook.
2705 (filter-buffer-substring): Use it.
2706 (filter-buffer-substring-functions): Mark obsolete.
2707 * minibuffer.el (completion-in-region-function): New hook.
2708 (completion-in-region): Use it.
2709 (completion-in-region-functions): Mark obsolete.
2710 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2711 * abbrev.el (abbrev-expand-function): New hook.
2712 (expand-abbrev): Use it.
2713 (abbrev-expand-functions): Mark obsolete.
2714 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2717 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2719 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2720 and do not care about match data.
2722 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2725 completion tables when completing error conditions and
2726 `declare' arguments.
2727 (lisp-complete-symbol, field-complete): Mark as obsolete.
2728 (check-parens): Unmatched parens are user errors.
2729 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2731 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2733 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2734 command changed buffer (ie. `flyspell-pre-buffer' is not current
2735 buffer), which prevents making decisions based on invalid value of
2736 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2737 cause an error when `flyspell-pre-point' was nil after switching
2739 (flyspell-post-command-hook): No longer needs to change buffers when
2740 checking pre-word. While at it remove unnecessary progn.
2742 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2744 * textmodes/ispell.el (ispell-add-per-file-word-list):
2745 Fix `flyspell-correct-word-before-point' error when accepting
2746 words and `coment-padding' is an integer by using
2747 `comment-normalize-vars' (Bug #14214).
2749 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2751 New defun movement commands.
2752 * progmodes/python.el (python-nav--syntactically)
2753 (python-nav--forward-defun, python-nav-backward-defun)
2754 (python-nav-forward-defun): New functions.
2756 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2758 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2759 (python-syntax-context): Use named compiler-macro for backwards
2760 compatibility with Emacs 24.x.
2762 2013-04-17 Leo Liu <sdl.web@gmail.com>
2764 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2765 octave-hide-process-buffer.
2767 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2769 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2772 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2774 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2775 Fix adjustment of offset when receiving incomplete responses from GDB
2778 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2780 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2781 python-mode-abbrev-table.
2782 (python-skeleton-define): Adjust accordingly.
2783 (python-mode-abbrev-table): New table that inherits from it so that
2784 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2786 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2787 (abbrev-symbol): Use it.
2788 (abbrev--before-point): Use it since we already handle inheritance.
2790 2013-04-16 Leo Liu <sdl.web@gmail.com>
2792 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2793 binding to info-lookup-symbol.
2795 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2797 * minibuffer.el (completion--twq-all):
2798 * term/ns-win.el (ns-initialize-window-system):
2799 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2801 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2803 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2806 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2808 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2810 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2811 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2813 (ruby-end-of-defun): Remove the unused arg, change the docstring
2814 to reflect that this function is only used as the value of
2815 `end-of-defun-function'.
2816 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2817 to reflect an earlier change that beginning/end-of-defun functions
2818 jump between methods in a class definition, as well as top-level
2821 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2823 * minibuffer.el (minibuffer-complete): Don't just scroll
2824 a *Completions* that's been iconified.
2825 (minibuffer-force-complete): Make sure repetitions do cycle when going
2826 through completion-in-region -> minibuffer-complete.
2828 2013-04-15 Alan Mackenzie <acm@muc.de>
2830 Correct the placement of c-cpp-delimiters when there're #s not at
2833 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2834 place a submatch around the #.
2835 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2836 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2839 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2842 (advice--member-p): New arg `name'.
2843 (advice--add-function, advice-member-p): Use it (bug#14202).
2845 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2847 Reformulate java imenu-generic-expression.
2848 The old expression contained ill formed regexps.
2850 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2851 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2852 (cc-imenu-java-method-arg-regexp): New defconsts.
2853 (cc-imenu-java-build-type-args-regex): New defun.
2854 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2855 handling of spaces in the regexp.
2857 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2859 * textmodes/ispell.el (ispell-command-loop): Remove
2860 flyspell highlight of a word when ispell accepts it (bug #14178).
2862 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2864 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2865 uses code from the previous `ange-ftp-run-real-handler'.
2866 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2867 only in case that function exist. This is needed for proper
2870 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2872 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2874 * textmodes/reftex.el (reftex-compile-variables): Use it.
2876 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2878 * files.el (normal-mode): Only use default major-mode if no other mode
2881 * emacs-lisp/trace.el (trace-values): New function.
2883 * files.el: Allow : in local variables (bug#14089).
2884 (hack-local-variable-regexp): New var.
2885 (hack-local-variables-prop-line, hack-local-variables): Use it.
2887 2013-04-13 Roland Winkler <winkler@gnu.org>
2889 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2890 data before it gets modified by bibtex-beginning-of-entry.
2892 2013-04-13 Roland Winkler <winkler@gnu.org>
2894 * textmodes/bibtex.el (bibtex-url): Doc fix.
2896 2013-04-13 Roland Winkler <winkler@gnu.org>
2898 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2899 does not visit a BibTeX file, exclude it from the list of buffers
2900 returned by bibtex-initialize.
2902 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2904 * window.el (split-window): Remove interactive form, since as a
2905 command this function is a special case of split-window-below.
2908 2013-04-12 Roland Winkler <winkler@gnu.org>
2910 * faces.el (read-face-name): Do not override value of arg default.
2911 Allow single faces and strings as default values. Remove those
2912 elements from return value that are not faces.
2913 (describe-face): Simplify.
2914 (face-at-point): New optional args thing and multiple so that this
2915 function can provide the same functionality previously provided by
2917 (make-face-bold, make-face-unbold, make-face-italic)
2918 (make-face-unitalic, make-face-bold-italic, invert-face)
2919 (modify-face, read-face-and-attribute): Use face-at-point.
2921 * cus-edit.el (customize-face, customize-face-other-window)
2922 * cus-theme.el (custom-theme-add-face)
2923 * face-remap.el (buffer-face-set)
2924 * facemenu.el (facemenu-set-face): Use face-at-point.
2926 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2928 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2930 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2932 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2933 off leading { and trailing } from field values.
2935 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * emacs-lisp/timer.el (timer--check): New function.
2938 (timer--time, timer-set-function, timer-event-handler): Use it.
2939 (timer-set-idle-time): Simplify.
2940 (timer--activate): CSE.
2941 (timer-event-handler): Give more info in error message.
2942 (internal-timer-start-idle): New function, moved from C.
2944 * mpc.el (mpc-proc): Add `restart' argument.
2945 (mpc-proc-cmd): Use it.
2946 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2947 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2950 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2952 * progmodes/sh-script.el: Implement `sh-mode' own
2953 `add-log-current-defun-function' (bug#14112).
2954 (sh-current-defun-name): New function.
2955 (sh-mode): Use the function.
2957 2013-04-09 Bastien Guerry <bzg@gnu.org>
2959 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2961 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2965 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2968 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2970 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2973 2013-04-07 Leo Liu <sdl.web@gmail.com>
2975 * pcmpl-x.el: New file.
2977 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2979 Do not set x-display-name until X connection is established.
2980 This is needed to prevent from weird situation described at
2981 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2982 * frame.el (make-frame): Set x-display-name after call to
2983 window system initialization function, not before.
2984 * term/x-win.el (x-initialize-window-system): Add optional
2985 display argument and use it.
2986 * term/w32-win.el (w32-initialize-window-system):
2987 * term/ns-win.el (ns-initialize-window-system):
2988 * term/pc-win.el (msdos-initialize-window-system):
2989 Add compatible optional display argument.
2991 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2993 * files.el (normal-backup-enable-predicate): On MS-Windows and
2994 MS-DOS compare truenames of temporary-file-directory and of the
2995 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2996 don't fail comparison by compare-strings. Also, compare file
2997 names case-insensitively on MS-Windows and MS-DOS.
2999 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3001 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
3002 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
3004 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
3006 * whitespace.el (whitespace-color-on, whitespace-color-off):
3007 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
3009 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
3011 * ispell.el (ispell-set-spellchecker-params):
3012 Really set `ispell-args' for all equivs.
3014 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * ido.el (ido-completions): Use extra elements of ido-decorations
3018 (ido-decorations): Update docstring.
3020 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
3022 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3023 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
3024 nil during initialization, in order not to miss changes since the
3025 file was opened. (Bug#14140)
3027 2013-04-05 Leo Liu <sdl.web@gmail.com>
3029 * kmacro.el (kmacro-call-macro): Fix bug#14135.
3031 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
3033 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
3035 2013-04-04 Glenn Morris <rgm@gnu.org>
3037 * electric.el (electric-pair-inhibit-predicate): Add :version.
3039 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3041 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
3042 when a package is required several times (bug#14082).
3044 2013-04-04 Roland Winkler <winkler@gnu.org>
3046 * faces.el (read-face-name): Behave as promised by the docstring.
3047 Assume that arg default is a list of faces.
3048 (describe-face): Call read-face-name with list of default faces.
3050 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3052 * bookmark.el: Fix deletion of bookmarks (bug#13972).
3053 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
3054 (bookmark-bmenu-execute-deletions): Only skip first line if it's
3056 (bookmark-exit-hook-internal): Save even if list is empty.
3058 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
3060 * emacs-lisp/package.el (package-pinned-packages): New var.
3061 (package--add-to-archive-contents): Obey it (bug#14118).
3063 2013-04-03 Alan Mackenzie <acm@muc.de>
3065 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
3066 Also adapt to the new values of element 7 of a parse state.
3068 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
3069 parameter `not-in-delimiter'. Handle being inside comment opener.
3070 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
3071 character in case we're typing a '*' after a '/'.
3072 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
3073 instead by passing the parameter to c-state-pp-to-literal.
3075 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
3076 for elt. 7 of a parse state.
3078 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
3080 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
3081 * international/latin1-disp.el, international/mule-util.el:
3082 * language/cyril-util.el, language/european.el, language/ind-util.el:
3083 * language/lao-util.el, language/thai.el, language/tibet-util.el:
3084 * language/tibetan.el, language/viet-util.el:
3085 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
3087 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
3090 (electric-pair-post-self-insert-function): Use it.
3091 (electric-pair-default-inhibit): New function, extracted from
3092 electric-pair-post-self-insert-function.
3094 2013-03-31 Roland Winkler <winkler@gnu.org>
3096 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
3098 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3100 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3102 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
3104 Un-indent after "pass" and "return" statements (Bug#13888)
3105 * progmodes/python.el (python-indent-block-enders): New var.
3106 (python-indent-calculate-indentation): Use it.
3108 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3110 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3111 defun. Defining it as defalias could introduce too eager
3112 byte-compiler optimization. (Bug#14030)
3114 2013-03-30 Chong Yidong <cyd@gnu.org>
3116 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3118 2013-03-30 Leo Liu <sdl.web@gmail.com>
3120 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3121 (kmacro-execute-from-register): Pass the keyboard macro to
3122 kmacro-call-macro or repeating won't work correctly.
3124 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3126 * progmodes/subword.el: Back to using `forward-symbol'.
3128 * subr.el (forward-whitespace, forward-symbol)
3129 (forward-same-syntax): Move from thingatpt.el.
3131 2013-03-29 Leo Liu <sdl.web@gmail.com>
3133 * kmacro.el (kmacro-to-register): New command.
3134 (kmacro-execute-from-register): New function.
3135 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3137 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3139 * mpc.el: Use defvar-local and setq-local.
3140 (mpc--proc-connect): Connection failures are not bugs.
3141 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3142 (mpc-volume-map): Bind to the up-events.
3144 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3146 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3147 instead of `forward-symbol'.
3149 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3152 (edebug--recursive-edit): Use it.
3153 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3154 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3156 2013-03-28 Leo Liu <sdl.web@gmail.com>
3158 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3160 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3162 * facemenu.el (list-colors-callback): New defvar.
3163 (list-colors-redisplay): New function.
3164 (list-colors-display): Install list-colors-redisplay as the
3165 revert-buffer-function. (Bug#14063)
3167 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3169 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3170 and suffixes don't overlap (bug#14061).
3172 * case-table.el: Use lexical-binding.
3173 (case-table-get-table): New function.
3174 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3176 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3178 * progmodes/subword.el: Add `superword-mode' to do word motion
3179 over symbol_words (parallels and leverages `subword-mode' which
3180 does word motion inside MixedCaseWords).
3182 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3184 * eshell/em-unix.el: Move su and sudo to...
3185 * eshell/em-tramp.el: ...Eshell tramp module.
3187 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3189 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3190 Change return value to be a sexp. Delay `get-buffer' to after
3191 restoring the desktop (bug#13951).
3193 2013-03-26 Leo Liu <sdl.web@gmail.com>
3195 * register.el: Move semantic tag handling back to
3196 cedet/semantic/senator.el. (Bug#14052)
3198 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3201 into the prompt either (bug#13963).
3203 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3206 part of "(error-foo)".
3208 2013-03-24 Juri Linkov <juri@jurta.org>
3210 * replace.el (list-matching-lines-prefix-face): New defcustom.
3211 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3212 `occur-engine' if `face-differs-from-default-p' returns t.
3213 (occur-engine): Add `,' inside backquote construct to evaluate
3214 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3215 Pass `prefix-face' to the functions `occur-context-lines' and
3216 `occur-engine-add-prefix'.
3217 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3218 `prefix-face' and propertize the prefix with `prefix-face'.
3221 2013-03-24 Leo Liu <sdl.web@gmail.com>
3223 * nxml/rng-valid.el (rng-validate-while-idle)
3224 (rng-validate-quick-while-idle): Guard against deleted buffer.
3227 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3228 is the last entry in kill-buffer-hook.
3230 * files.el (kill-buffer-hook): Doc fix.
3232 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3234 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3237 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3239 2013-03-23 Leo Liu <sdl.web@gmail.com>
3241 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3244 * nxml/rng-valid.el (rng-validate-mode)
3245 (rng-after-change-function, rng-do-some-validation):
3246 * nxml/rng-maint.el (rng-validate-buffer):
3247 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3248 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3249 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3250 (nxml-extend-after-change-region): Use with-silent-modifications.
3252 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3255 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3256 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3257 timer-idle-list. (Bug#13999)
3259 2013-03-23 Juri Linkov <juri@jurta.org>
3261 * info.el (info-index-match): New face.
3262 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3263 main pattern and add text properties with the new face to matches
3264 in index entries relative to the beginning of the index entry.
3267 2013-03-21 Eric Ludlam <zappo@gnu.org>
3269 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3270 Inhibit read only while inserting objects.
3272 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3274 * progmodes/cfengine.el: Update docs to mention
3275 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3276 symbol motion. Remove "_" from the word syntax.
3278 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3280 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3281 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3283 2013-03-20 Juri Linkov <juri@jurta.org>
3285 * info.el (Info-next-reference-or-link)
3286 (Info-prev-reference-or-link): New functions.
3287 (Info-next-reference, Info-prev-reference): Use them.
3288 (Info-try-follow-nearest-node): Handle footnote navigation.
3289 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3291 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3293 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3294 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3296 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3298 Suppress unnecessary non-ASCII chatter during build process.
3299 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3300 (batch-skkdic-convert): Suppress most of the chatter.
3301 It's not needed so much now that machines are faster,
3302 and its non-ASCII component was confusing; see Dmitry Gutov in
3303 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3305 2013-03-20 Leo Liu <sdl.web@gmail.com>
3307 * ido.el (ido-chop): Fix bug#10994.
3309 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3311 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3313 (whitespace-color-on, whitespace-color-off):
3314 Use `font-lock-fontify-buffer' (Bug#13817).
3316 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3319 remapping in mode-line.
3320 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3322 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3324 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3325 value for `whitespace-line' face (Bug#13875).
3326 (whitespace-font-lock-keywords): Change description.
3327 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3328 the constructed keywords instead.
3329 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3331 2013-03-19 Leo Liu <sdl.web@gmail.com>
3333 * progmodes/compile.el (compilation-display-error): New command.
3334 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3337 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3339 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3341 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3343 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3345 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3347 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3349 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3350 * net/tramp-gvfs.el (top):
3351 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3352 (tramp-handle-shell-command): Use it.
3353 (tramp-dissect-file-name): Raise an error when hostname is a
3354 method name, and neither method nor user is specified.
3356 * net/trampver.el: Update release number.
3358 2013-03-18 Leo Liu <sdl.web@gmail.com>
3360 Make sure eldoc can be turned off properly.
3361 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3363 (eldoc-display-message-p): Revert last change.
3364 (eldoc-display-message-no-interference-p)
3365 (eldoc-print-current-symbol-info): Tweak.
3367 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3369 * doc-view.el (doc-view-new-window-function): Check the new window
3370 overlay's display property instead the char property of the
3371 buffer's first char. Use `with-selected-window' instead of
3372 `save-window-excursion' with `select-window'.
3373 (doc-view-document->bitmap): Check the current doc-view overlay's
3374 display property instead the char property of the buffer's first char.
3376 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3378 Automate the build of ja-dic.el (Bug#13984).
3379 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3380 from the input, rather than assume that it's been done for us by the
3381 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3382 the current date into a ja-dic.el comment, as that complicates
3385 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * whitespace.el: Fix double evaluation.
3388 (whitespace-space, whitespace-hspace, whitespace-tab)
3389 (whitespace-newline, whitespace-trailing, whitespace-line)
3390 (whitespace-space-before-tab, whitespace-indentation)
3391 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3393 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3394 (whitespace-color-on): Use a single font-lock-add-keywords call.
3395 Fix double-evaluation of face variables.
3397 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3399 * net/tramp-adb.el (tramp-adb-parse-device-names):
3400 Use `start-process' instead of `call-process'. Otherwise, the
3401 function might be blocked under MS Windows. (Bug#13299)
3403 2013-03-17 Leo Liu <sdl.web@gmail.com>
3405 Extend eldoc to display info in the mode-line. (Bug#13978)
3406 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3407 (eldoc-mode-line-string): New variable.
3408 (eldoc-minibuffer-message): New function.
3409 (eldoc-message-function): New variable.
3410 (eldoc-message): Use it.
3411 (eldoc-display-message-p)
3412 (eldoc-display-message-no-interference-p):
3413 Support eldoc-post-insert-mode.
3415 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3416 (eval-expression): Run it.
3418 2013-03-17 Roland Winkler <winkler@gnu.org>
3420 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3421 strings in the list of return values.
3423 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3425 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3426 radix before checking for HMS forms.
3428 2013-03-16 Leo Liu <sdl.web@gmail.com>
3430 * progmodes/scheme.el: Add indentation and font-locking for λ.
3433 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3435 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3436 token before point (bug#13942).
3438 2013-03-16 Leo Liu <sdl.web@gmail.com>
3440 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3442 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3444 * startup.el (command-line-normalize-file-name): Fix handling of
3445 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3446 <xfq.free@gmail.com> in
3447 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3449 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3451 Sync with Tramp 2.2.7.
3453 * net/trampver.el: Update release number.
3455 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3457 * doc-view.el Fix bug#13887.
3458 (doc-view-insert-image): Don't modify overlay associated to
3459 non-live windows, and implement horizontal centering of image in
3460 case it's smaller than the window.
3461 (doc-view-new-window-function): Force redisplay of new windows on
3464 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3466 * saveplace.el (save-place-alist-to-file): Don't sort
3467 `save-place-alist', just pretty-print it (bug#13882).
3469 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3471 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3472 whether `default-file-name-coding-system' is bound. It isn't in
3475 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3478 backquotes for `obsolete' (bug#13929).
3480 * international/mule.el (find-auto-coding): Include file name in
3481 obsolescence warning (bug#13922).
3483 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3485 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3486 for CFEngine 3-specific indentation.
3487 (cfengine3-indent-line): Use it. Fix up category regex.
3488 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3490 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3492 * type-break.el (type-break-file-name):
3493 * textmodes/remember.el (remember-data-file):
3494 * strokes.el (strokes-file):
3495 * shadowfile.el (shadow-initialize):
3496 * saveplace.el (save-place-file):
3497 * ps-bdf.el (bdf-cache-file):
3498 * progmodes/idlwave.el (idlwave-config-directory):
3499 * net/quickurl.el (quickurl-url-file):
3500 * international/kkc.el (kkc-init-file-name):
3501 * ido.el (ido-save-directory-list-file):
3502 * emulation/viper.el (viper-custom-file-name):
3503 * emulation/vip.el (vip-startup-file):
3504 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3505 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3507 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3509 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3510 * language/thai-word.el: Switch to UTF-8.
3512 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3516 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3518 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3519 Use with-current-buffer and don't move point.
3520 (net-utils-run-simple): Remove useless code.
3521 (net-utils-remove-ctl-m): Remove unused custom.
3523 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3525 * international/characters.el (glyphless-set-char-table-range): New fun.
3526 (update-glyphless-char-display): Use it (bug#13744).
3528 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3530 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3531 namespaces in the syntax, indent closer for hanging brace
3532 correctly, allow single-quote delimited 'strings', and make
3533 `cfengine3-mode' the default.
3535 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3537 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3538 Use lexical-binding. Fix up docstring according to conventions.
3539 (gdbmi-debug-mode): New var.
3540 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3541 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3542 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3543 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3544 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3545 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3546 (gdbmi-bnf-incomplete-record-result): New functions.
3547 (gdb-car<): Remove function.
3548 (gdbmi-record-list): Remove variable.
3549 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3550 (gdbmi-bnf-result-state-configs): New const.
3551 (gud-gdbmi-marker-filter): Rewrite.
3552 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3553 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3554 Add `token' argument.
3555 (gdb-done, gdb-error): New functions.
3556 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3558 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * term/xterm.el (xterm--report-background-handler): Don't burp
3562 (xterm--version-handler): Extract from terminal-init-xterm.
3563 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3564 Allow multiple handlers.
3565 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3567 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3568 (xterm--report-background-handler, xterm--query): New functions.
3569 (terminal-init-xterm): Use them.
3571 2013-03-11 Michael R. Mauger <michael@mauger.com>
3573 * progmodes/sql.el Version 3.2
3574 Please note that my address changed to <michael@mauger.com>;
3575 the <mmaug@yahoo.com> address remains active.
3576 (sql-connection-alist): Updates documentation to fix bug#13715.
3577 (sql-connect): Handle missing `sql-connection-alist' correctly.
3578 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3579 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3581 (sql-default-value): New function.
3582 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3583 values were not used.
3584 (sql-rename-buffer): Make sure alternate buffer name has no text
3586 (sql-input-sender, sql-execute-feature): Fetch variable with
3587 `buffer-local-value' rather than `with-current-buffer'.
3588 (sql-*): Use #' function syntax consistently.
3589 (sql-*): Use message/error/user-error consistently.
3591 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3593 * xt-mouse.el (xterm-mouse-event-read): Remove.
3594 (xterm-mouse--read-event-sequence-1000)
3595 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3597 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * term/xterm.el (xterm-function-map): Support format used with
3600 formatOtherKeys=1 (bug#13839).
3602 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3603 (with-no-warnings): Use `declare'.
3605 * whitespace.el (whitespace-enable-predicate): New variable.
3606 (whitespace-enable-predicate): Use it.
3608 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3609 (comint-output-filter, comint-update-fence):
3610 Use with-silent-modifications.
3612 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3614 * replace.el (occur-read-regexp-defaults-function): New var.
3615 (occur-read-regexp-defaults): New defun.
3616 (occur-read-primary-args): Propagate above change (bug#13892).
3618 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3622 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3624 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3626 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3627 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3628 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3630 (tramp-gvfs-file-name-handler-alist) [directory-files]
3631 [directory-files-and-attributes, file-exists-p, file-modes]:
3632 Use Tramp default handler.
3633 [file-acl, file-selinux-context, process-file, set-file-acl]:
3634 [set-file-modes, set-file-selinux-context, shell-command]:
3635 [start-file-process]: Remove handler.
3636 [verify-visited-file-modtime]: New handler.
3637 (tramp-gvfs-dbus-string-to-byte-array)
3638 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3639 calls of `dbus-string-to-byte-array' and
3640 `tramp-gvfs-dbus-byte-array-to-string'.
3641 (tramp-gvfs-handle-copy-file)
3642 (tramp-gvfs-handle-delete-directory)
3643 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3644 (tramp-gvfs-handle-file-directory-p)
3645 (tramp-gvfs-handle-file-executable-p)
3646 (tramp-gvfs-handle-file-name-all-completions)
3647 (tramp-gvfs-handle-file-readable-p)
3648 (tramp-gvfs-handle-file-writable-p)
3649 (tramp-gvfs-handle-insert-directory)
3650 (tramp-gvfs-handle-insert-file-contents)
3651 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3652 (tramp-gvfs-handle-set-visited-file-modtime)
3653 (tramp-gvfs-handle-write-region): Rewrite.
3654 (tramp-gvfs-handle-file-acl)
3655 (tramp-gvfs-handle-file-selinux-context)
3656 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3657 (tramp-gvfs-handle-set-file-modes)
3658 (tramp-gvfs-handle-set-file-selinux-context)
3659 (tramp-gvfs-handle-shell-command)
3660 (tramp-gvfs-handle-start-file-process)
3661 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3662 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3663 over the symlinks. Fix user handling.
3664 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3665 of the D-Bus signals.
3666 (tramp-gvfs-connection-mounted-p): Handle different names of the
3668 (tramp-gvfs-mount-spec-entry): New defun.
3669 (tramp-gvfs-mount-spec): Use it.
3670 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3671 there is a share name. Handle different names of the D-Bus
3672 signals and methods. Set connection properties needed for
3673 `tramp-check-cached-permissions'.
3674 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3677 * net/tramp.el (tramp-backtrace): Move up.
3678 (tramp-error): Dump a backtrace into the debug buffer when
3680 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3681 (tramp-file-mode-permissions, tramp-get-local-uid)
3682 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3685 * net/tramp-sh.el (tramp-file-mode-type-map)
3686 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3687 (tramp-file-mode-permissions, tramp-get-local-uid)
3688 (tramp-get-local-gid): Move to tramp.el.
3690 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3692 Separate mouse-1-click-follows-link from mouse-drag-region.
3693 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3694 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3695 (mouse-drag-line, mouse-drag-track):
3696 Remove mouse-1-click-follows-link code.
3697 (mouse--remap-link-click-p): Remove.
3699 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3701 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3702 (hi-lock-read-regexp-defaults): New defun.
3703 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3704 (hi-lock-face-phrase-buffer): Propagate above change.
3705 Update docstring (bug#13892).
3707 * subr.el (find-tag-default-as-regexp): New defun.
3708 * replace.el (read-regexp): Propagate above change.
3710 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3712 * calc/calc-units.el (calc-convert-units): Fix the way that default
3713 new units are stored.
3715 2013-03-07 Matthias Meulien <orontee@gmail.com>
3717 * bookmark.el: Define a face to highlight bookmark names in
3718 bookmark menu buffers, where the default is a bold face similarly
3719 to buffer names in buffer menu buffers.
3720 (bookmark-menu-bookmark): New face to highlight bookmark names.
3721 (bookmark-insert-location): Remove duplicated text property to
3722 conform to buffer list (see `list-buffers').
3723 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3724 `bookmark-menu-bookmark' to bookmark names.
3726 2013-03-07 Matthias Meulien <orontee@gmail.com>
3727 Karl Fogel <kfogel@red-bean.com>
3729 * bookmark.el: Display the bookmark list header similarly to the
3730 buffer list header (see `list-buffers'), where the default is now
3731 an immovable/immutable header line.
3732 (bookmark-bmenu-use-header-line): New variable.
3733 (bookmark-bmenu-inline-header-height): New name for
3734 `bookmark-bmenu-header-height', to avoid confusion with the code
3735 for the new immovable header. All references changed.
3736 (bookmark-bmenu-set-header): New function.
3737 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3738 Conditionalize header construction accordingly.
3739 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3740 the inline header height.
3741 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3742 Conditionalize the skipping of the inline header height.
3744 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3746 * progmodes/js.el (js--multi-line-declaration-indentation):
3747 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3749 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3751 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3752 Only propertize regexp when not inside a string (Bug#13885).
3754 2013-03-06 Alan Mackenzie <acm@muc.de>
3756 Correct the position of point in some line-up functions.
3757 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3758 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3759 point at column 0 rather than at a random place in the line.
3761 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3763 * net/tramp-compat.el (tramp-compat-delete-directory):
3764 Implement TRASH argument.
3766 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3768 Keep pre-existing highlighting in completion candidates (Bug#13250).
3769 * minibuffer.el (completions-first-difference): State that the
3770 face is "added" in the docstring.
3771 (completions-common-part): Same. And don't inherit from default.
3772 (completion-hilit-commonality): Prepend 'completions-common-part
3773 and 'completion-first-difference faces to the 'face property,
3774 instead of replacing the value(s).
3775 (completion--insert-strings): Same with 'completions-annotations face.
3776 (completion-hilit-commonality): Use 'face instead of
3777 'font-lock-face, because it gets priority if the completion
3778 strings already have 'face set.
3780 2013-03-04 Alan Mackenzie <acm@muc.de>
3782 Replace `last-command-event' by `last-command-char' in XEmacs.
3783 * progmodes/cc-defs.el (c-last-command-char): New macro.
3784 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3785 (c-semi&comma-no-newlines-before-nonblanks)
3786 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3787 in place of `last-command-event'.
3788 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3789 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3790 (c-electric-paren, c-electric-continued-statement): Use the new
3791 macro in place of `last-command-event'.
3793 2013-03-04 Glenn Morris <rgm@gnu.org>
3795 * files.el (inhibit-local-variables-regexps):
3796 Add .diff and .patch. (Bug#13862)
3798 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3800 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3801 whether the "su" command is available on the device.
3803 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3805 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3806 (tramp-adb-handle-process-file): Remove superfluous setting.
3807 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3808 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3809 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3811 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3814 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3815 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3816 Use dict-key rather than dict-name for the error message.
3818 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3820 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3821 when reverting (bug#13831).
3823 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3825 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3826 Always expand affix-file before storing to protect against changed
3827 `default-directory'.
3828 (ispell-print-if-debug): Make sure message is printed at the end
3829 of the debug buffer.
3831 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp.el (tramp-obsolete-methods): New defconst.
3834 (tramp-warned-obsolete-methods): New defvar.
3835 (tramp-find-method): Check for obsolete methods. Map them to a
3836 replacement method if appropriate.
3838 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3840 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3841 "ssh2" and "plink1".
3843 2013-02-28 Dale Sedivec <dale@codefu.org>
3845 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3846 Return valid syntax-table property value when converting
3847 quotes within text from string syntax to punctuation syntax (bug#13844).
3849 2013-02-28 Juri Linkov <juri@jurta.org>
3851 * dired-aux.el (dired-diff): If file at point is a backup file,
3852 use its original as the default value, and reverse the order
3853 of arguments to the `diff' call. Doc fix. (Bug#13772)
3855 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3857 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3858 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3860 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3862 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3864 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3865 Ask hunspell about available and default dictionaries.
3866 (ispell-parse-hunspell-affix-file): Extract relevant info from
3867 hunspell affix file.
3868 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3869 `ispell-dictionary-alist' entry for given dictionary after info
3870 provided by `ispell-parse-hunspell-affix-file'.
3871 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3872 of parsed hunspell dicts and associated affix files.
3873 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3874 of parsed hunspell dicts and associated parameters.
3875 (ispell-set-spellchecker-params):
3876 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3878 (ispell-start-process):
3879 Call `ispell-hunspell-fill-dictionary-entry' for current
3880 dictionary if it is not initialized.
3882 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * imenu.el: Comment nitpicks.
3886 2013-02-28 Sam Steingold <sds@gnu.org>
3888 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3889 See <http://stackoverflow.com/questions/14720205>.
3891 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3893 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3894 (net-utils-mode): Use it.
3895 (net-utils--revert-cmd): New var.
3896 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3897 (traceroute): Use net-utils-run-simple.
3899 2013-02-28 Glenn Morris <rgm@gnu.org>
3901 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3903 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3905 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3906 (doc-view-fallback-mode): Remove overlays here.
3907 (doc-view-toggle-display): Instead of here. Don't throw away
3908 image-mode-winprops-alist.
3909 (doc-view-goto-page): Don't mess with hscroll.
3911 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3913 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3914 &optional (bug#13819).
3916 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3918 * net/tramp-adb.el (tramp-adb-parse-device-names)
3919 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3921 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3923 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3924 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3925 defined. POSIX environments fall back to the "C" locale then and
3926 emit a warning, which shall be suppressed.
3928 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3931 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3933 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3937 2013-02-25 Juri Linkov <juri@jurta.org>
3939 * replace.el (read-regexp): Let-bind `default' to the first
3940 element of `defaults' if it's a list, otherwise it should be
3941 a string or nil. Let-bind `suggestions' to `defaults' if it's
3942 a list, otherwise make a list with the string value. Doc fix.
3945 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3947 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3948 that match "\`\.#", to avoid compiling lock files, even if they
3949 are readable (as they are on MS-Windows).
3951 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3953 * files.el (basic-save-buffer): Remove redundant directory-creation.
3955 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3957 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3958 Add option to force `pi' to remain symbolic.
3959 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3960 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3961 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3962 derivatives, when necessary.
3964 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3966 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3967 (ps-mode-octal-region): Use string-make-unibyte.
3969 2013-02-23 Glenn Morris <rgm@gnu.org>
3971 * emulation/viper-cmd.el (viper-submit-report):
3972 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3973 * progmodes/vera-mode.el (vera-mode-help-address):
3974 * textmodes/artist.el (artist-maintainer-address):
3975 * textmodes/reftex.el (reftex-report-bug):
3976 * vc/ediff-util.el (ediff-submit-report):
3977 Add bug-gnu-emacs to bug report address.
3979 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3980 Remove bug report entries.
3981 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3983 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3984 (byte-compile-file, byte-compile-from-buffer):
3985 Use separate input/output buffers for each level of recursive
3986 byte-compile-file calls. (Bug#13787)
3988 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3990 * net/tramp.el (tramp-methods): Fix docstring.
3991 (tramp-ssh-controlmaster-options): Rename it from
3992 `tramp-ssh-controlmaster-template'. Return a string.
3993 (tramp-default-method): Adapt check for
3994 `tramp-ssh-controlmaster-options'.
3996 * net/tramp-sh.el (tramp-methods):
3997 Replace `tramp-ssh-controlmaster-template' by "%c".
3998 (tramp-do-copy-or-rename-file-out-of-band)
3999 (tramp-maybe-open-connection): Use it in format spec. Ensure,
4000 that it is applied for the first hop only.
4002 2013-02-22 Juri Linkov <juri@jurta.org>
4004 * isearch.el (isearch-lazy-highlight-new-loop):
4005 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
4006 to `isearch-other-end' if it is not nil. (Bug#13402)
4008 * replace.el (replace-highlight): Let-bind `isearch-other-end'
4011 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
4012 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
4013 and `isearch-error' to nil.
4015 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
4017 * progmodes/python.el (python-info-current-defun):
4018 Enhance match-data cluttering prevention.
4020 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
4022 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
4024 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4025 Handle multibyte file names.
4027 2013-02-22 Glenn Morris <rgm@gnu.org>
4029 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
4030 (sgml-transformation-function): Give it a :set function.
4031 (sgml-tag): Doc fix.
4033 * cmuscheme.el (scheme-buffer):
4034 * progmodes/inf-lisp.el (inferior-lisp-buffer):
4035 * progmodes/tcl.el (inferior-tcl-buffer):
4036 * textmodes/tex-mode.el (tex-command): Doc fixes.
4038 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
4040 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
4042 2013-02-21 Bastien Guerry <bzg@gnu.org>
4044 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
4046 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
4048 * progmodes/python.el (python-info-current-defun):
4049 Enhance match-data cluttering prevention.
4051 2013-02-21 Glenn Morris <rgm@gnu.org>
4053 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
4054 loaded while outline-regexp is let bound. (Bug#9584)
4056 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
4058 * progmodes/python.el (python-info-current-defun): Fix failed
4059 defun name retrieval because of unwanted match-data cluttering.
4061 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
4063 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
4064 defconst. Apply independent check for ControlPersist.
4066 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
4067 temporarily, via "env".
4069 2013-02-21 Glenn Morris <rgm@gnu.org>
4071 * info.el (Info-enable-edit): Remove.
4072 (Info-edit): Disable it rather than using Info-enable.
4073 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
4074 (Info-cease-edit): Make editing of Info files obsolete.
4076 * informat.el (Info-tagify):
4077 Handle buffers not visiting files. (Bug#13763)
4079 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
4081 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
4083 2013-02-21 Glenn Morris <rgm@gnu.org>
4085 * files.el (basic-save-buffer): Move check for existing parent
4086 directory after hooks. (Bug#13773)
4088 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * simple.el (command-execute): Move from C. Add obsolete check.
4091 (extended-command-history): Move from C.
4093 2013-02-20 Ulrich Müller <ulm@gentoo.org>
4095 * jka-cmpr-hook.el (jka-compr-compression-info-list)
4096 (jka-compr-mode-alist-additions): Handle .txz suffix for
4097 XZ-compressed tar archives (bug#13770).
4099 2013-02-20 Bastien Guerry <bzg@gnu.org>
4101 * outline.el (outline-regexp, outline-heading-end-regexp):
4102 Make variables, not options (bug#13731).
4104 2013-02-20 Glenn Morris <rgm@gnu.org>
4106 * image.el (image-current-frame): Change from variable to function.
4107 (image-show-frame): Rename from image-nth-frame. Update callers.
4108 * image-mode.el (image-multi-frame): New variable.
4109 (image-mode-map, image-mode, image-goto-frame):
4110 Use image-multi-frame rather than image-current-frame.
4111 (image-mode, image-goto-frame): Use image-current-frame as
4112 function rather than as variable.
4114 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
4115 * emacs-lisp/cl-macs.el (cl--make-type-test)
4116 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
4118 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4120 * net/tramp-cache.el (tramp-get-hash-table): New defun.
4121 (tramp-get-file-property, tramp-set-file-property)
4122 (tramp-get-connection-property, tramp-set-connection-property): Use it.
4123 (tramp-flush-file-property, tramp-flush-directory-property):
4124 Rename argument to KEY.
4125 (tramp-flush-connection-property): Simplify a little bit.
4126 (tramp-connection-property-p): New defun.
4127 (top): Reapply saved values only if there isn't a corresponding
4128 entry in `tramp-connection-properties'.
4130 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
4132 * progmodes/python.el (python-indent-context):
4133 Fix python-info-line-ends-backslash-p call.
4134 (python-info-line-ends-backslash-p)
4135 (python-info-beginning-of-backslash): Respect line-number argument.
4136 (python-info-current-line-comment-p):
4137 Fix behavior when not at beginning-of-line.
4138 (python-util-position): Remove function.
4139 (python-util-goto-line): New function.
4141 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4143 * eshell/em-unix.el (eshell/su): Require tramp.
4144 (eshell/sudo): Require tramp. Remove now unnecessary check.
4146 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
4147 `tramp-current-connection' in order to avoid an error when several
4148 commands are invoked in a short time in eshell and friends.
4150 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
4152 Cleanup some of EIEIO's namespace.
4153 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
4154 Use it to define all the class-* and object-* field accessors (renamed
4155 to eieio--class-* and eieio--object-*). Update all uses.
4156 (eieio--class-num-slots, eieio--object-num-slots): Rename from
4157 class-num-slots and object-num-slots.
4158 (eieio--check-type): New macro.
4159 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
4160 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
4161 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
4162 (object-assoc-list-safe): Use it.
4163 (eieio-defclass): Tighten regexp.
4164 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
4165 Remove unreachable code.
4166 (object-class-fast): Declare obsolete.
4167 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
4168 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
4169 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
4170 Rename from class-name, object-name, object-set-name-string,
4171 object-class, object-class-name, class-parents, class-children,
4172 class-precedence-list, class-parent; with obsolete alias.
4173 (class-of, class-direct-superclasses, class-direct-subclasses):
4175 (eieio-defmethod): Use `memq'; remove unreachable code.
4176 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4177 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
4178 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
4180 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
4182 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
4185 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
4187 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
4188 Use font-lock-keyword-face for macros and special forms (bug#8345).
4190 2013-02-17 Didier Verna <didier@didierverna.net>
4192 * net/network-stream.el (network-stream-open-starttls):
4193 Check that response to the starttls-command is non-nil. (Bug#13706)
4195 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4198 Don't assume all identifier chars have syntax word.
4199 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4200 Remove bar-not-symbol. Adjust callers.
4201 (lisp-mode-variables): Don't set a font-lock-syntax-table.
4203 2013-02-17 Leo Liu <sdl.web@gmail.com>
4205 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
4207 2013-02-17 Glenn Morris <rgm@gnu.org>
4209 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4211 * image-mode.el (image-mode-map): Add image-dired menu entry.
4213 * image-dired.el (tumme): Make this alias obsolete.
4215 2013-02-16 Glenn Morris <rgm@gnu.org>
4217 * image.el (image-animated-types): Remove.
4218 (image-multi-frame-p): Rename from image-animated-p, and generalize.
4219 (image-animated-p): Make obsolete alias.
4220 (image-animate, image-nth-frame, image-animate-timeout):
4221 Use image-multi-frame-p.
4222 (image-animate-timeout): If no delay, use image-default-frame-delay.
4223 * image-mode.el (image-mode, image-toggle-animation):
4224 Use image-multi-frame-p. (Bug#763, bug#10739)
4225 (image-mode): Adjust startup message for a multi-frame image.
4227 * image-mode.el (image-mode-map): Give it a menu.
4229 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
4231 * net/tramp-cache.el (tramp-connection-properties): New customer
4233 (tramp-get-connection-property): Use it.
4235 * net/tramp-compat.el (top): Require 'trampver.
4237 * net/tramp-sh.el (tramp-remote-process-environment):
4238 Set tramp-autoload cookie.
4240 2013-02-16 Kevin Ryde <user42@zip.com.au>
4242 * info-look.el (info-lookup-select-mode): If major-mode has no
4243 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
4245 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
4247 * replace.el (read-regexp): Tighten the regexp that matches tag.
4248 When tag is retrieved with `find-tag-default', use regexp that
4249 matches tag at point. Also update docstring (Bug#13687).
4251 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4253 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4254 add watch for the file, not its parent directory, since w32notify
4255 sets up the watch for the directory internally. (Bug#13725)
4257 2013-02-16 Glenn Morris <rgm@gnu.org>
4259 * image.el (image-default-frame-delay): New variable.
4260 (image-animated-p): Use image-default-frame-delay.
4261 (image-minimum-frame-delay): New constant.
4262 (image-animate-timeout): Use image-minimum-frame-delay.
4264 * image.el (image-nth-frame): New, split from image-animate-timeout.
4265 (image-animate-timeout): Use image-nth-frame.
4266 * image-mode.el (image-goto-frame, image-next-frame)
4267 (image-previous-frame): New commands.
4268 (image-mode-map): Add new frame commands.
4270 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4272 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4273 If col-desc already has help-echo, use it. (Bug#13563)
4275 2013-02-16 Glenn Morris <rgm@gnu.org>
4277 * image.el (image-current-frame): New variable.
4278 (image-animate-timeout): Set image-current-frame.
4279 * image-mode.el (image-mode): For animated images,
4280 display a frame counter via mode-line-process.
4282 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4284 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4286 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4288 2013-02-15 Alan Mackenzie <acm@muc.de>
4290 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4291 global minor mode has been enabled, call the minor mode function
4292 for a new buffer once only, after the major mode hook, whilst
4293 allowing that hook explicitly to disable the minor mode.
4294 (MODE-disable-in-buffer): New (generated) function.
4295 (disable-MODE): New (generated) buffer local variable.
4297 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4299 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4300 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4301 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4302 `ido-next-match' and `ido-prev-match' resply.
4303 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4304 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4305 `icomplete-backward-completions' (Bug#13708).
4307 2013-02-15 Glenn Morris <rgm@gnu.org>
4309 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4311 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4314 (goto-address-fontify-region): Use them instead of narrowing, so
4315 syntax-ppss has access to the whole buffer.
4317 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4319 * progmodes/python.el: Explain how to restore "cc-mode"-like
4320 forward-sexp movement in header documentation (Bug#13642).
4321 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4322 comments and strings (GH bug 114).
4324 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4326 * progmodes/python.el (python-info-current-defun): Fix current
4327 defun detection (Bug#13618).
4329 2013-02-15 Chong Yidong <cyd@gnu.org>
4331 * xml.el (xml-parse-string): Fix typo in handling of bad character
4334 2013-02-15 Glenn Morris <rgm@gnu.org>
4336 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4338 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4340 * net/tramp.el (tramp-debug-message):
4341 Add `tramp-condition-case-unless-debug'.
4342 (tramp-debug-on-error): New defvar.
4343 (tramp-condition-case-unless-debug): New defun.
4344 (tramp-file-name-handler): Use it.
4346 2013-02-14 Juri Linkov <juri@jurta.org>
4348 * info.el (Info-isearch-filter): Treat non-nil values of
4349 `search-invisible' including its default value `open'
4350 like the value `t' to match hidden text. (Bug#13402)
4352 2013-02-14 Glenn Morris <rgm@gnu.org>
4354 * help-fns.el (find-lisp-object-file-name): Give special treatment
4355 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4357 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4359 * net/quickurl.el (quickurl-save-urls):
4360 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4362 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4364 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4365 depth for unfinished percent literal. Not using it in the caller.
4366 (ruby-move-to-block): Jump over multiline literals of all types,
4367 ignoring code-looking contents inside them.
4368 (ruby-add-log-current-method): Improve performance at the expense
4369 of accuracy. `ruby-block-contains-point' is relatively slow, so
4370 only use it for method and singleton class blocks.
4372 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4374 Use ControlMaster where applicable. (Bug#13677)
4376 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4377 replacing `tramp-detect-ssh-controlmaster'.
4378 (tramp-default-method): Use it.
4380 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4381 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4383 [scpc, rsyncc]: Remove methods.
4384 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4386 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4387 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4389 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * emacs-lisp/package.el (package--initialized): Move before first use.
4393 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4395 * icomplete.el (icomplete-hide-common-prefix): New user option.
4396 (icomplete-first-match): New face.
4397 (icomplete-completions): Correct handling of "complete but not
4398 unique" (Bug#12638).
4400 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4402 * descr-text.el (describe-char): Display the script (bug#13698).
4404 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4406 * tmm.el: Use lexical-binding and current-active-maps.
4407 (tmm-menubar): Use map-keymap and pcase.
4408 (tmm--completion-table): New function.
4409 (tmm-prompt): Use it to fix the menu order.
4410 (tmm-get-keybind): Use current-active-maps.
4412 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4414 Add dired-hide-details-mode. (Bug#6799)
4416 * locate.el (locate-mode): Set parent mode property to dired-mode.
4418 * find-dired.el (find-dired): Call dired-insert-set-properties on
4419 initial information line. Set process mark on end of buffer.
4420 (find-dired-sentinel):
4421 Call dired-insert-set-properties on summary.
4423 * dired.el (dired-hide-details-hide-symlink-targets)
4424 (dired-hide-details-hide-information-lines): New options.
4425 (dired-insert-directory):
4426 Set properties after final treatment of output.
4427 (dired-insert-set-properties):
4428 Set dired-hide-details-* properties.
4429 (dired-mode-map): Bind dired-hide-details-mode.
4430 (dired-mode): Set buffer-invisibility-spec to a list.
4431 (dired-next-line): Skip hidden lines.
4432 (dired-previous-line): Use dired-next-line.
4433 (dired-hide-details-mode): New minor mode.
4434 (dired-hide-details-update-invisibility-spec): New function.
4436 2013-02-13 Glenn Morris <rgm@gnu.org>
4438 * play/yow.el: Move to obsolete/. (Bug#9384)
4440 2013-02-13 Juri Linkov <juri@jurta.org>
4442 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4443 to select `ediff-control-frame' and set input focus correctly on Xfce.
4446 2013-02-13 Juri Linkov <juri@jurta.org>
4448 * image-mode.el (image-mode-map):
4449 * doc-view.el (doc-view-mode-map):
4450 * vc/ediff-util.el (ediff-setup-keymap):
4451 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4453 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4455 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4456 performance. Instead of recalculating indentation fully for each
4457 line, sum up indentation depth based only on visited lines.
4458 (ruby-parse-partial): Increase the depth after "do" even when END
4460 (ruby-parse-partial): When END is in the middle of a percent
4461 literal, increase the depth if the delimiter chars belong to the
4464 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4466 * play/fortune.el (fortune-compile): Also make the compiled file
4467 if it does not exist at all, not just if it is old. (Bug#5338)
4469 2013-02-13 Glenn Morris <rgm@gnu.org>
4471 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4473 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4475 * lisp/emacs-lisp/package.el (package-menu-execute):
4476 Add optional noquery argument. (Bug#13625)
4478 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4480 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4481 if DIR exists and PARENTS is non-nil.
4483 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4485 * progmodes/js.el (js--multi-line-declaration-indentation):
4486 Silence byte-compiler warning.
4488 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4490 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4492 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4493 only if it doesn't exist.
4495 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4498 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4500 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4501 UserInstallation when calling soffice to work around LibreOffice
4504 2013-02-12 Glenn Morris <rgm@gnu.org>
4506 * files.el (basic-save-buffer):
4507 Offer to create a non-existing directory. (Bug#3016)
4509 * calc/calc-graph.el (calc-graph-show-dumb):
4510 * calendar/calendar.el (calendar-mode-map):
4511 * cus-edit.el (custom-mode-map):
4512 * ehelp.el (electric-help-map):
4513 * emulation/vip.el (vip-mode-map):
4514 * epa.el (epa-key-list-mode-map):
4515 * info.el (Info-mode-map):
4516 * mail/rmail.el (rmail-mode-map):
4517 * mail/rmailsum.el (rmail-summary-mode-map):
4518 * man.el (Man-mode-map):
4519 * net/newst-plainview.el (newsticker-mode-map):
4520 * progmodes/cpp.el (cpp-edit-mode-map):
4521 * progmodes/grep.el (grep-mode-map):
4522 * progmodes/idlw-help.el (idlwave-help-mode-map):
4523 * simple.el (special-mode-map):
4524 * startup.el (splash-screen-keymap):
4525 * view.el (view-mode-map):
4526 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4528 2013-02-11 Elias Pipping <pipping@lavabit.com>
4530 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4533 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4535 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4537 2013-02-11 Glenn Morris <rgm@gnu.org>
4539 * vc/diff.el (diff-use-labels): New variable.
4540 (diff-no-select): Use --label rather than -L, and first
4541 check that it is supported. (Bug#11067)
4543 * files.el (enable-dir-local-variables): New variable.
4544 (hack-dir-local-variables): Respect enable-dir-local-variables.
4545 * tutorial.el (help-with-tutorial):
4546 Ignore directory-local variables. (Bug#11127)
4548 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4549 (vc-svn-global-switches): ... to here. (Bug#13513)
4551 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4553 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4554 Handle "foo (bar, default: xxx): " prompts.
4556 2013-02-10 Chong Yidong <cyd@gnu.org>
4558 * files.el (basic-save-buffer-1): Do not set
4559 buffer-file-coding-system-explicit (Bug#4533).
4561 * mail/emacsbug.el (report-emacs-bug): Change binding of
4562 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4564 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4566 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4567 * calc/calc-units.el (calc-convert-units): Use new variable.
4569 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4571 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4573 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4576 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4577 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4578 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4579 coding-system-for-write instead.
4581 * jka-compr.el (jka-compr-write-region): Don't bind
4584 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4587 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4588 (insert-file-contents-literally): Remove reference to
4589 file-name-buffer-file-type-alist.
4591 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4593 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4594 (find-buffer-file-type-coding-system): Remove references to
4595 find-buffer-file-type-match, find-buffer-file-type, and
4597 Don't put find-buffer-file-type-coding-system into
4598 file-coding-system-alist.
4599 (find-file-binary, find-file-text): Bind coding-system-for-read
4600 instead of file-name-buffer-file-type-alist.
4602 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4604 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4605 converter (Bug#13622).
4606 (doc-view-unoconv-program): Make obsolete alias.
4607 (doc-view-odf->pdf-converter-program): New variable.
4608 (doc-view-odf->pdf-converter-function): New variable.
4609 (doc-view-mode-p): Use it.
4610 (doc-view-odf->pdf-converter-unoconv):
4611 Rename from `doc-view-odf->pdf-converter-unoconv'.
4612 (doc-view-odf->pdf-converter-soffice): New function.
4613 (doc-view-convert-current-doc):
4614 Use `doc-view-odf->pdf-converter-function'.
4616 2013-02-09 Chong Yidong <cyd@gnu.org>
4618 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4619 view-echo-area-messages (Bug#13340).
4621 * help.el (view-echo-area-messages): Use display-buffer.
4623 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4626 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4629 Eval body right away, now that we do eager macroexpansion (bug#13605).
4631 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4632 (fundamental-mode): Use run-mode-hooks.
4634 * eshell/esh-proc.el (eshell/kill): Fix last change.
4635 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4637 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4639 * eshell/esh-proc.el (eshell/kill): Rewrite.
4641 * eshell/em-ls.el (show-almost-all): Declare.
4642 (eshell-do-ls): Add support for -A argument.
4644 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4646 * icomplete.el (icomplete-forward-completions)
4647 (icomplete-backward-completions): Handle corner case (bug#13602).
4649 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4651 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4652 be nil. Handle this. (Bug#13636)
4654 2013-02-07 Richard Stallman <rms@gnu.org>
4656 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4657 `save-buffer-coding-system'.
4659 2013-02-07 Alan Mackenzie <acm@muc.de>
4661 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4662 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4663 (c-parse-state-get-strategy): Don't return 'BOD any more.
4664 (c-append-lower-brace-pair-to-state-cache):
4665 Extra parameter HERE instead of narrowing.
4666 Widen to top of buffer before searching backwards for a brace pair.
4667 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4668 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4669 Narrow to parameter HERE, in place of being called narrowed.
4670 (c-remove-stale-state-cache): Extra parameter HERE in place of
4671 narrowing. Check there's an open brace in the cache before
4672 searching for its match.
4673 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4674 (c-parse-state-1): Don't narrow here for 'forward strategy,
4675 instead passing extra parameter HERE to several functions.
4676 Remove 'BOD strategy.
4678 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4680 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4681 used to install the package.
4683 2013-02-06 Glenn Morris <rgm@gnu.org>
4685 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4686 if we can't get user input. (Bug#6567)
4688 * startup.el (command-line): If simple.el is missing,
4689 test and warn about for some possible causes.
4691 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4693 * cus-start.el (all): Add ns-use-native-fullscreen.
4695 2013-02-05 Glenn Morris <rgm@gnu.org>
4697 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4699 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4700 Fix directory creation in fallback case.
4702 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4704 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4705 (vc-update-change-log): Use dolist.
4707 2013-02-04 Chong Yidong <cyd@gnu.org>
4709 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4711 (thing-at-point-beginning-of-url-regexp): New var.
4712 (thing-at-point-uri-schemes): Update list of URI schemes.
4713 (thing-at-point-url-regexp): Variable deleted.
4714 (thing-at-point-markedup-url-regexp): Disallow newlines.
4715 (thing-at-point-newsgroup-regexp)
4716 (thing-at-point-newsgroup-heads)
4717 (thing-at-point-default-mail-uri-scheme): New variables.
4718 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4719 method to find the possible bounds of the URI at point.
4720 New optional argument to find ill-formed URIs.
4721 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4722 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4723 the scheme-adding heuristics from ffap-url-at-point.
4724 (thing-at-point--bounds-of-well-formed-url): New function.
4725 Do parens matching to decide whether to include parens in the URI
4728 * ffap.el: Require thingatpt.
4729 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4730 All URI-valid characters are now recognized (Bug#5673).
4731 (ffap-string-at-point): Use use-region-p.
4732 (ffap-url-regexp): Extra character is handled by thing-at-point.
4733 (ffap-string-at-point-mode-alist): Allow parentheses.
4734 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4735 Convert to aliases; code moved to thingatpt.el.
4736 (ffap-gnus-hook): Use setq-local.
4738 2013-02-04 Glenn Morris <rgm@gnu.org>
4740 * emacs-lisp/ert.el (ert--explain-format-atom):
4741 Don't try to print non-characters as characters. (Bug#13543)
4743 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4745 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4746 (tramp-backtrace): New defun.
4747 (tramp-handle-insert-file-contents): Use `visit' when inserting
4750 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4751 Use `remote-file-name-inhibit-cache'.
4753 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4755 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4758 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4759 current-load-list (bug#13366).
4761 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4764 Identify g++ template instantiation trace. (Bug#12287)
4765 (compilation-mode-hook, compilation-start-hook)
4766 (compilation-window-height): Simplify docstrings. (Bug#13379)
4768 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * mouse.el (mouse-drag-track): Always deactivate the mark before
4771 running the final event's command since that command is in charge of
4772 activating the mark if needed (bug#13523).
4774 2013-02-02 Juri Linkov <juri@jurta.org>
4776 * replace.el (perform-replace): Move let-bindings of isearch-*
4777 variables deeper to the loop that searches for the next match.
4778 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4779 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4782 * isearch.el (isearch-search-fun-default): Check for null
4783 first element of isearch-cmds as a precaution when it's used
4784 with inactive isearch.
4786 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4788 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4789 error when buffer in question is narrowed so position 1 is out of
4792 2013-02-02 Glenn Morris <rgm@gnu.org>
4794 * textmodes/remember.el (remember-clipboard): Doc fix.
4796 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4798 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4799 properties (bug#13179).
4801 2013-02-02 Juri Linkov <juri@jurta.org>
4803 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4804 instead of hard-coded default face `match'. (Bug#9438)
4806 2013-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4808 * vc/vc-arch.el (vc-arch-registered):
4809 * vc/vc-bzr.el (vc-bzr-registered):
4810 * vc/vc-cvs.el (vc-cvs-registered):
4811 * vc/vc-git.el (vc-git-registered):
4812 * vc/vc-hg.el (vc-hg-registered):
4813 * vc/vc-mtn.el (vc-mtn-registered):
4814 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4817 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4818 prefix argument. (Bug#11656)
4820 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4822 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4824 2013-02-01 Glenn Morris <rgm@gnu.org>
4826 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4827 if the backend is known not to support it.
4829 * imenu.el (imenu-default-create-index-function):
4830 Tweak infinite loop test to check for forward motion as well as none.
4832 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4834 * net/soap-client.el (soap-invoke): Encode the string for
4835 `url-request-data' as UTF-8.
4836 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4838 2013-02-01 Glenn Morris <rgm@gnu.org>
4840 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4842 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4844 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4846 * net/tramp.el (tramp-tramp-file-p): Comment check for
4847 `string-as-unibyte'. The function does not exist on XEmacs, and
4848 likely we need another approach.
4850 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4851 `tramp-gw-*' variables are bound.
4853 2013-01-31 Glenn Morris <rgm@gnu.org>
4855 * files.el (basic-save-buffer-2): Choose coding system for
4856 writing the file before backing it up, to reduce delay between
4857 backing up and writing the new version. (Bug#13522)
4859 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4861 * simple.el (cycle-spacing): New command.
4862 (just-one-space): Use it.
4864 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4867 (opascal-newline-always-indents): Remove custom.
4868 (opascal-tab, opascal-newline): Remove commands.
4869 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4870 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4871 (opascal-save-match-data): Remove, use save-match-data instead.
4872 (opascal-save-state): Use with-silent-modifications.
4874 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4877 2013-01-30 Juri Linkov <juri@jurta.org>
4879 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4880 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4881 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4883 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4885 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4886 column if we're just deleting the backslashes.
4887 (makefile-fill-paragraph): Use eolp.
4889 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4891 * autorevert.el (auto-revert-use-notify): Fix docstring.
4893 2013-01-30 Leo Liu <sdl.web@gmail.com>
4895 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4897 2013-01-30 Glenn Morris <rgm@gnu.org>
4899 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4900 unread-command-events twice in some cases. This tries to implement
4901 the 2012-07-26 changes in a different way. (Bug#13560)
4903 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4905 * progmodes/python.el
4906 (python-pdbtrack-comint-output-filter-function): Enhancements on
4907 stacktrace detection. (thanks @gnovak)
4909 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4911 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4912 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4914 (jit-lock-register): Use setq-local.
4916 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4918 * calc-units.el (math-default-units-table): Remove initial value.
4919 (calc-convert-units): Treat expressions where all the units cancel as
4920 if they didn't have units.
4922 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4924 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4925 (tramp-completion-reread-directory-timeout): Fix type.
4926 (tramp-connection-min-time-diff): New defcustom.
4928 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4930 2013-01-30 Glenn Morris <rgm@gnu.org>
4932 * imenu.el (imenu-default-create-index-function):
4933 Put back a version of the infinite loop test removed 2013-01-23.
4935 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4937 * progmodes/python.el (python-shell-parse-command):
4938 Find python-shell-interpreter with modified environment.
4940 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4944 2013-01-29 Alan Mackenzie <acm@muc.de>
4946 Amend to fontify /regexp/s in actions correctly.
4947 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4948 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4949 are no longer included.
4950 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4951 What used to be these variables without "-line" in the name.
4952 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4953 (c-awk-non-arith-op-bra-re): Now also matches {.
4954 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4955 "return", and "case".
4956 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4958 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4959 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4961 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4963 * autorevert.el (auto-revert-use-notify):
4964 Use `custom-initialize-default' for initialization. (Bug#13583)
4966 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4968 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4969 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4970 in `tramp-file-name-handler'.
4971 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4973 (tramp-compute-multi-hops): Check, whether
4974 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4976 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4981 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4983 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4984 checks made superfluous by the \_< operator.
4985 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4986 temporarily) broken indentation.
4987 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4988 Highlight nested constants, too. \_< broke that.
4990 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4992 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4995 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4997 * autorevert.el (auto-revert-handler): Notifications which result
4998 from a saved file shall not be taken into account. (Bug#13557)
5000 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
5002 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
5003 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
5004 (lisp-mode): Pass t for it. (Bug#13556)
5006 2013-01-25 Alan Mackenzie <acm@muc.de>
5008 AWK Mode: Fix indentation bug at top level. Bug #12274.
5010 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
5011 just before CASE 5D.
5013 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
5015 * net/socks.el (socks-nslookup-host): Use string-to-number.
5017 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
5019 * autorevert.el (auto-revert-remote-files)
5020 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
5021 (auto-revert-notify-enabled, auto-revert-use-notify)
5022 (auto-revert-notify-watch-descriptor-hash-list)
5023 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
5024 (auto-revert-notify-event-descriptor)
5025 (auto-revert-notify-event-action)
5026 (auto-revert-notify-event-file-name): Doc fix.
5027 (global-auto-revert-mode): Reorder checks.
5028 (auto-revert-notify-rm-watch): Respect changed values of
5029 `auto-revert-notify-watch-descriptor-hash-list'.
5030 (auto-revert-notify-add-watch): Check for
5031 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
5032 `inotify-add-watch'. Watch `default-directory' instead of
5033 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
5034 has a changed meaning now. (Bug#13540)
5035 (auto-revert-notify-handler): Change implementation wrt events
5036 returning from a directory.
5037 (auto-revert-handler): Reorder implementation for checks of remote
5039 (auto-revert-buffers): Fix parentheses error.
5041 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
5043 * progmodes/python.el: Enhancements to header documentation about
5044 skeletons. (Bug#5716)
5046 * imenu.el (imenu-default-create-index-function): Remove useless
5047 infinite loop check. (Bug#13438)
5049 2013-01-25 Alan Mackenzie <acm@muc.de>
5051 Fix a bug in the state cache mechanism. Refactor this a bit.
5053 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
5054 `cache-pos' element from the return value.
5055 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
5056 buffer to enable proper searching from beyond HERE. Amend the
5057 test for detecting the sought brace pair. Amend the value written
5058 to the "brace desert cache" when the brace isn't found.
5059 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
5060 and several other variables analogously.
5061 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
5062 parameter to a locally calculated variable.
5063 (c-parse-state-1): Change the calling conventions to the two
5064 defuns involving `cache-pos'.
5066 2013-01-25 Chong Yidong <cyd@gnu.org>
5068 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
5070 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
5072 * paren.el (show-paren-function): Make sure to set 'priority and
5073 'face only if the overlay does exist.
5075 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
5077 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
5079 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
5081 (tramp-sh-handle-set-file-acl): Improve error checking.
5083 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
5085 * doc-view.el (doc-view-display): Force mode line update until all
5086 document is converted. Suggested by Stefan Monnier (Bug#13164).
5088 2013-01-23 Bastien Guerry <bzg@gnu.org>
5090 * paren.el (show-paren-function): Make sure an overlay exists
5091 before trying to delete it. Also use `pos' as a position only
5092 when it is an integer.
5094 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
5096 * play/gametree.el (gametree-break-line-here): Use point-marker.
5098 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
5100 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5101 Mark descriptive parts with `display' property.
5103 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5105 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
5106 New variable to map standard dict names to hunspell ones.
5107 (ispell-set-spellchecker-params): Make sure specific dict names
5108 are used for standard dicts with hunspell.
5110 2013-01-21 Tassilo Horn <tsdh@gnu.org>
5112 * textmodes/reftex-cite.el (reftex-format-citation): Add format
5113 chars for note (%N) and url (%U).
5114 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
5116 2013-01-21 Juri Linkov <juri@jurta.org>
5118 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
5119 in addition to existing separate binding `meta f10' in `global-map'.
5122 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
5124 Improve XEmacs compatibility.
5126 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
5128 * net/tramp-adb.el (top): Require `time-date'.
5129 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
5130 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
5131 Use `tramp-file-name-handler'.
5132 (tramp-adb-maybe-open-connection):
5133 Use `tramp-compat-set-process-query-on-exit-flag'.
5135 * net/tramp-sh.el (tramp-sh-handle-file-acl):
5136 Use `tramp-compat-funcall'.
5138 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
5139 `tramp-compat-funcall'.
5141 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
5143 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
5144 reimplementation using "adb shell command ..." instead of running
5145 remote shell interactively.
5147 2013-01-20 Glenn Morris <rgm@gnu.org>
5149 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5150 Add native profiler menu entries.
5152 * profiler.el (profiler-running-p): New function.
5153 (profiler-cpu-profile): Use profiler-running-p.
5154 (profiler-report-mode-map): Add some more menu entries.
5156 2013-01-19 Glenn Morris <rgm@gnu.org>
5158 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
5159 fixes 2012-12-07 change. (Bug#13499)
5161 2013-01-19 Leo Liu <sdl.web@gmail.com>
5163 * dired.el (dired-get-marked-files): Prune erroneous values due to
5164 last change. (Bug#13152)
5166 2013-01-19 Glenn Morris <rgm@gnu.org>
5168 * progmodes/etags.el (tags-table-check-computed-list):
5169 Preserve point in tags buffer. (Bug#13412)
5171 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
5173 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
5174 Chong Yidong <cyd@gnu.org>
5176 * image-mode.el (image-next-file, image-previous-file):
5177 New commands (Bug#8453).
5178 (image-mode-map): Bind them to n and p.
5179 (image-mode--images-in-directory): New helper function.
5181 2013-01-19 Chong Yidong <cyd@gnu.org>
5183 * image-mode.el (image-mode-fit-frame): Add a frame argument.
5184 Suggested by Drew Adams (Bug#7730). Handle window decorations;
5185 save and restore the old window configuration.
5187 2013-01-18 Leo Liu <sdl.web@gmail.com>
5189 * progmodes/js.el: Tweak autoload cookie for alias.
5191 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5193 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
5194 buffer local, again. This was lost with the fix on 2013-01-12.
5196 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
5198 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
5199 order to support several eshell buffers in parallel.
5201 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5203 * autorevert.el (auto-revert-use-notify): In the :set function, do
5204 not modify `kill-buffer-hook'.
5205 (auto-revert-notify-rm-watch):
5206 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
5207 (auto-revert-notify-add-watch): Do not call
5208 `auto-revert-notify-rm-watch', but add it to a buffer local
5211 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5213 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
5214 call to `eval' rather than a backquoted lambda.
5216 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
5219 to return an explicit nil.
5220 (advice--remove-function): Change accordingly.
5222 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
5223 the use of nadvice.el.
5225 * progmodes/which-func.el (which-function): Silence imenu errors
5228 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5230 * progmodes/sql.el (sql-imenu-generic-expression):
5231 (sql-mode-font-lock-object-name): Match schema qualified names.
5232 (sql-connect): Use string keys.
5233 (sql-product-interactive): Wait for interpreter prompt.
5234 (sql-comint-oracle): Set process coding based on NLS_LANG.
5236 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5238 * progmodes/sql.el (sql-output-to-send): Remove, unused.
5239 (sql-interactive-remove-continuation-prompt):
5240 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
5242 2013-01-14 Leo Liu <sdl.web@gmail.com>
5244 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
5247 2013-01-14 Glenn Morris <rgm@gnu.org>
5249 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5250 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5252 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
5254 * progmodes/python.el (python-nav-end-of-statement):
5255 Fix cornercase when handling multiline strings.
5257 2013-01-13 Richard Stallman <rms@gnu.org>
5259 * mail/sendmail.el (mail-position-on-field): Add doc string.
5261 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5262 Get current message boundaries and pass them to
5263 message-forward-make-body-mime. Minor style changes.
5265 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5267 * cus-start.el (all): Avoid warnings about
5268 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5270 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5272 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5274 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5277 (jit-lock--debug-fontifying): New var.
5278 (jit-lock--debug-fontify): New function.
5279 * subr.el (condition-case-unless-debug): Don't prevent catching the
5280 error, just let the debbugger run.
5281 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5282 timer code and don't drop errors silently.
5284 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5286 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5287 `permanent-local' property.
5288 (auto-revert-notify-handler): Use `file-equal-p'.
5290 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5292 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5293 file notification by ACTION. For filtering by file name, compare
5294 only the non-directory part of the file name.
5296 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * autorevert.el: Use cl-lib instead of cl.
5300 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5301 (vc-bzr-checkin): Use it.
5302 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5303 will preserve match-data.
5305 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5307 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5308 (js--declaration-keyword-re): New var.
5309 (js--multi-line-declaration-indentation): New function.
5310 (js--proper-indentation): Use it.
5312 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5314 * calc/calc.el (calc-highlight-selections-with-faces)
5316 * comint.el (comint-history-isearch-message):
5317 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5318 * ffap.el (ffap-string-at-point-region, ffap-next)
5319 (ffap-string-at-point, ffap-string-around)
5320 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5322 * font-lock.el (font-lock-keywords-alist)
5323 (font-lock-removed-keywords-alist):
5324 * help-mode.el (help-xref-symbol-regexp):
5325 * info.el (Info-find-emacs-command-nodes):
5326 * international/mule.el (add-to-coding-system-list):
5327 * isearch.el (isearch-message-function, isearch-fail-pos):
5328 * misearch.el (multi-isearch-next-buffer-function):
5329 * newcomment.el (comment-box):
5330 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5331 (pr-setting-database):
5332 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5333 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5334 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5335 (pike-font-lock-keywords-3):
5336 * progmodes/compile.el (compile):
5337 * progmodes/etags.el (tags-table-files)
5338 (tags-table-files-function, tags-included-tables-function):
5339 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5340 (gdb-restore-windows):
5341 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5342 (ps-n-up-filling-database):
5343 * server.el (server-buffer, server-log):
5344 * simple.el (newline, delete-backward-char, delete-forward-char)
5345 (minibuffer-history-isearch-message, kill-line, track-eol)
5346 (temporary-goal-column):
5347 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5348 (flyspell-default-deplacement-commands):
5349 * textmodes/ispell.el (ispell-accept-output):
5350 * textmodes/sgml-mode.el (html-tag-help):
5351 * vc/compare-w.el (compare-ignore-whitespace)
5352 (compare-ignore-case, compare-windows-dehighlight):
5353 * vc/diff.el (diff):
5354 * whitespace.el (whitespace-point)
5355 (whitespace-font-lock-refontify, whitespace-bob-marker)
5356 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5358 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5360 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5361 (auto-revert-notify-rm-watch): Ignore errors.
5362 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5363 inotify, and '(size last-write-time) for w32notify.
5364 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5365 watch fails - this is a fallback to the file modification check.
5366 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5367 (auto-revert-notify-event-action)
5368 (auto-revert-notify-event-file-name): New defuns.
5369 (auto-revert-notify-handler): Use them. Implement first
5370 plausibility checks.
5371 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5373 2013-01-11 Julien Danjou <julien@danjou.info>
5375 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5376 max are almost equal. Also return the correct value for V which is
5377 already between 0 and 1.
5379 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5381 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5383 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5385 * autorevert.el (auto-revert-notify-rm-watch)
5386 (auto-revert-notify-add-watch): Fix typos in w32notify function
5389 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5391 * autorevert.el (auto-revert-notify-enabled): Move up.
5392 (auto-revert-use-notify): New defcustom.
5393 (auto-revert-mode, global-auto-revert-mode)
5394 (auto-revert-notify-add-watch, auto-revert-handler)
5395 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5396 `auto-revert-notify-enabled'.
5398 2013-01-10 Elias Pipping <pipping@exherbo.org>
5400 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5401 * doc-view.el (doc-view-document->bitmap):
5402 Use doc-view-single-page-converter-function instead of
5403 single-page-converter arg; adjust callers.
5405 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5407 * progmodes/which-func.el (which-function): Understand Semantic's use
5408 of overlays in imenu--index-alist.
5410 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5412 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5413 (Man-man-k-use-anchor): New var.
5414 (Man-parse-man-k): New function.
5415 (Man-completion-table): Use it.
5416 (man): Flush the completion cache between uses.
5418 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5420 * autorevert.el: Add file watch support.
5421 (auto-revert-notify-enabled): New defconst.
5422 (auto-revert-notify-watch-descriptor-hash-list)
5423 (auto-revert-notify-watch-descriptor)
5424 (auto-revert-notify-modified-p): New defvars.
5425 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5426 (auto-revert-notify-handler): New defuns.
5427 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5428 when mode is disabled.
5429 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5430 (auto-revert-buffers): Add file watches for active buffers.
5432 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5434 * cus-start.el (toplevel): Only allow float values for
5435 scroll-up-aggressively and scroll-down-aggressively.
5436 Allow any number for line-spacing.
5438 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5440 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5441 (doc-view-pdf->png-converter-function): Use mupdf if available.
5442 (doc-view-djvu->png-converter-function)
5443 (doc-view-ps->png-converter-function): Remove.
5444 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5445 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5446 (doc-view-already-converted-p): Adjust accordingly.
5447 (doc-view-mode-p): Simplify.
5448 (doc-view-enlarge): Use setq-local.
5449 (doc-view-pdf->png-converter-ghostscript)
5450 (doc-view-djvu->png-converter-ddjvu)
5451 (doc-view-pdf->png-converter-mupdf): Rework to call
5452 doc-view-start-process directly.
5453 (doc-view-pdf/ps->png): Simplify accordingly.
5454 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5455 (doc-view-document->bitmap): Rename from doc-view-document->png.
5456 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5457 (doc-view-set-slice-from-bounding-box): Fix completion table.
5458 (doc-view-mode): Use add-hook for after-revert-hook.
5460 2013-01-10 Glenn Morris <rgm@gnu.org>
5462 * emacs-lisp/authors.el (authors-ignored-files)
5463 (authors-valid-file-names, authors-renamed-files-alist):
5464 Add some more entries.
5466 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5468 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5469 `t' pseudo-window entry.
5471 2013-01-10 Alan Mackenzie <acm@muc.de>
5473 Fix bugs in the c-parse-state mechanism. Reuse some markers
5474 instead of continually generating new ones.
5476 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5477 (c-state-old-cpp-end-marker): New variables.
5478 (c-append-lower-brace-pair-to-state-cache): Start a backward
5479 search for "}" definitively outside CPP constructs.
5480 (c-remove-stale-state-cache): Inform the caller of a need to
5481 search back for a brace pair in certain circumstances.
5482 (c-state-maybe-marker): New macro.
5483 (c-parse-state): Reuse markers when appropriate.
5485 2013-01-10 Glenn Morris <rgm@gnu.org>
5487 * simple.el (execute-extended-command): Doc fix.
5488 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5490 2013-01-10 Chong Yidong <cyd@gnu.org>
5492 * faces.el (read-face-name): Doc fix.
5494 2013-01-10 Roland Winkler <winkler@gnu.org>
5496 * emacs-lisp/crm.el: Allow any regexp for separators.
5497 (crm-default-separator): All spaces around the default comma separator.
5498 (crm--completion-command): New macro.
5499 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5500 (crm-complete-and-exit): Handle non-single-char separators.
5502 2013-01-09 Elias Pipping <pipping@lavabit.com>
5504 * doc-view.el: Add support for DjVu (bug#13164).
5505 (doc-view-djvu->png-converter-function): New config var.
5506 (doc-view-single-page-converter-function, doc-view--image-type)
5507 (doc-view--image-file-extension): New vars.
5508 (doc-view-mode): Initialize them.
5509 (doc-view-goto-page): Use them.
5510 (doc-view-mode-p): Add support for ddjvu.
5511 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5512 (doc-view-set-up-single-converter): New funs.
5513 (doc-view-pdf/ps->png): Extend for djvu.
5514 (doc-view-document->png): Rename from doc-view-pdf->png.
5515 (doc-view-convert-current-doc): Handle djvu.
5516 (doc-view-insert-image, doc-view-display)
5517 (doc-view-already-converted-p): Don't hardcode png.
5518 (doc-view-set-doc-type): Recognize djvu docs.
5520 2013-01-09 Elias Pipping <pipping@lavabit.com>
5522 * doc-view.el: Add support for mupdf converter (bug#13164).
5523 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5524 (doc-view-ps->png-converter-function): New config vars.
5525 (doc-view-pdf->png-converter-ghostscript)
5526 (doc-view-ps->png-converter-ghostscript)
5527 (doc-view-pdf->png-converter-mupdf): New functions.
5528 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5530 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
5532 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5533 first in session cache: When `tramp-own-remote-path' is in
5534 `tramp-remote-path', the remote path is only set in the session
5537 2013-01-09 Glenn Morris <rgm@gnu.org>
5539 * emacs-lisp/trace.el (trace-function-foreground)
5540 (trace-function-background): Doc fix.
5542 2013-01-09 Juri Linkov <juri@jurta.org>
5544 * international/mule-cmds.el (read-char-by-name): Move let-binding
5545 of completion-ignore-case around completing-read to fix regression
5546 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5547 `string-match-p' using the nil value of `case-fold-search' and
5548 `completion-ignore-case' in `completion-pcm--all-completions'.
5551 2013-01-09 Glenn Morris <rgm@gnu.org>
5553 * progmodes/compile.el (compilation-parse-errors):
5554 Fix typo. (Bug#13369)
5556 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5558 * comint.el (comint-send-input): Check size of buffer before
5559 waiting for process output, in case already accepted. (Bug#13290)
5561 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5564 * net/tramp-adb.el (tramp-adb-get-toolbox):
5565 Fix misspelling of 'unknown'.
5567 2013-01-08 Juri Linkov <juri@jurta.org>
5569 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5570 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5571 Use underline style wave on terminals that support it. (Bug#13000)
5573 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5575 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5576 the predicate returns nil.
5578 * simple.el: Use lexical-binding.
5579 (primitive-undo): Use pcase.
5580 (minibuffer-history-isearch-push-state): Use a closure.
5582 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5584 * simple.el (primitive-undo): Move from undo.c.
5586 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5588 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5589 (cvs-mode-remove-handled): Use it (bug#13380).
5591 * emacs-lisp/nadvice.el (advice--tweak): New function.
5592 (advice--remove-function, advice--subst-main): Use it.
5594 * emacs-lisp/advice.el: Update commentary.
5596 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5598 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5599 Remove spurious entry.
5601 2013-01-08 Glenn Morris <rgm@gnu.org>
5603 * net/tramp.el (tramp-default-host-alist): Add :version.
5605 2013-01-08 Juri Linkov <juri@jurta.org>
5607 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5608 single completion. (Bug#12456)
5609 (info--manual-names): Expand node completions into an explicit list
5610 before appending it to another list. Filter out internal buffers
5611 with the leading space in the buffer name. (Bug#10771)
5613 2013-01-08 Juri Linkov <juri@jurta.org>
5615 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5616 that defaults to the Top node.
5617 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5618 the short format (FILENAME) goes to the Top node.
5619 (Info-build-node-completions): Rename arg `file' to `filename'.
5622 2013-01-07 Bastien Guerry <bzg@gnu.org>
5624 * menu-bar.el (menu-bar-search-documentation-menu):
5625 Use `apropos-user-option' and fix the help message.
5627 2013-01-07 Bastien Guerry <bzg@gnu.org>
5629 * apropos.el (apropos-do-all): Update docstring.
5630 (apropos-user-option-button): New face.
5631 (apropos-user-option): Rename from `apropos-variable' and update
5633 (apropos-variable): Rewrite, now show all variables by default.
5634 (apropos-print): Mention "User option" instead of "Variable" when
5635 printing doc for user options. (Bug#13276)
5637 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5639 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5640 Handle filename correctly, when parsing "source -> target" symlink
5642 (tramp-adb-handle-set-file-times): New defun.
5644 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5646 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5647 advice list when the interactive-spec of ad-Advice-* changes.
5649 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5651 * wid-edit.el (widget-default-get): Work for inlined elements.
5654 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5656 * net/tramp.el (tramp-default-host-alist): New defcustom.
5657 (tramp-find-host): Use it.
5658 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5659 `eshell-directory-change-hook'.
5661 * net/tramp-adb.el (top): Add adb specific entry in
5662 `tramp-default-host-alist'.
5663 (tramp-adb-file-name-host): Remove function.
5664 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5665 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5667 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5669 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5671 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5673 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5675 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5676 consist of more than one digit.
5677 (tramp-adb-file-name-handler-alist):
5678 Use `tramp-handle-file-exists-p' consistently.
5679 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5680 (tramp-adb-handle-file-exists-p): Remove function.
5681 (tramp-adb-file-name-host): New defun.
5682 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5684 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5686 2013-01-06 Chong Yidong <cyd@gnu.org>
5688 * vc/vc.el (vc-next-action): Detect buffer modifications
5689 conflicting with locking VCS operation (Bug#11490).
5691 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5693 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5695 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5696 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5698 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5700 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5701 parsing of ls output using regular expression (handle filenames
5702 with spaces). Use virtual device number.
5703 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5706 2013-01-04 Daiki Ueno <ueno@gnu.org>
5708 * epg.el: Silence byte-compiler warnings.
5709 (epg--start): Use delete-char instead of delete-backward-char.
5710 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5712 2013-01-04 Daiki Ueno <ueno@gnu.org>
5714 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5715 Suggested by Eli Zaretskii <eliz@gnu.org>.
5717 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5719 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5720 non-negative integers. Otherwise, the default values are used.
5721 (tramp-convert-file-attributes): Convert uid and gid to integers.
5723 2013-01-04 Glenn Morris <rgm@gnu.org>
5725 * term.el (term-handle-colors-array): Ensure face attributes
5726 are fully specified, not nil. (Bug#13337)
5728 * term.el (term-default-fg-color, term-default-bg-color):
5731 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5732 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5733 rather than 'jka-compr being loaded. (Bug#13338)
5735 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5737 * icomplete.el (icomplete-completions):
5738 Honor icomplete-prospects-height once more following
5739 2012-11-29 changes. (Bug#13224)
5741 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5744 of called-interactively-p as well (bug#13237).
5746 * view.el (view--enable, view--disable): Rename from view-mode-enable
5747 and view-mode-disable and assume it's called from view-mode.
5748 (view-mode-enable, view-mode-disable): Redefine as obsolete
5749 compatibility layer above view-mode.
5750 (view-mode-enter): Call `view-mode'.
5752 * files.el (after-find-file): Call `view-mode'.
5754 * doc-view.el (doc-view-scale-internally): New var.
5755 (doc-view-enlarge, doc-view-insert-image): Obey it.
5757 2013-01-03 Daiki Ueno <ueno@gnu.org>
5759 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5762 2013-01-03 Glenn Morris <rgm@gnu.org>
5764 * mail/rmail.el (rmail-set-header-1): Ignore case.
5765 Handle multi-line headers. (Bug#13330)
5767 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5768 Handle paragraph starting at beginning of buffer.
5770 * subr.el (eval-after-load): Don't purecopy the form, so that it
5771 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5773 * emacs-lisp/byte-run.el (defun): Place cl declarations
5774 after any interactive spec. (Bug#13265)
5776 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5778 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5779 defun. Don't check for DECL if DOCSTRING isn't a string.
5782 2013-01-02 Glenn Morris <rgm@gnu.org>
5784 * eshell/em-cmpl.el (eshell-pcomplete):
5785 More thoroughly imitate pcomplete. (Bug#13293)
5787 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5788 Return nil for empty path elements. (Bug#13296)
5790 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5792 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5793 order to improve efficiency (Based on Daniel Colascione's
5794 <dancol@dancol.org> patch). (Bug#13182)
5796 2013-01-02 Glenn Morris <rgm@gnu.org>
5798 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5800 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5802 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5803 neither DOCSTRING nor DECL was given. (Bug#13316)
5805 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5807 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5809 (tramp-do-copy-or-rename-file): Ignore errors when calling
5810 `set-file-extended-attributes'.
5812 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5813 Add handler for `file-acl'.
5814 (tramp-smb-handle-file-acl): New defun.
5816 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5818 * calc/README: Mention ISO 8601 week-numbering dates.
5820 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5822 * view.el (view-mode-enable): New argument run-view-mode-hook.
5823 Run view-mode-hook only when it's non-nil (Bug#13315).
5824 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5827 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5829 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5830 (No device connected, invalid device name). (Bug #13299)
5832 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5834 * window.el (window-resizable--p): Rename to window-resizable-p.
5835 (window-resize-no-error): New function.
5837 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5838 broken in fix from 2012-12-28.
5840 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * subr.el (special-form-p): Don't signal errors on undef aliases.
5844 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5846 * calc/calc-forms.el (math-parse-date): Try using
5847 `math-parse-iso-date' when it looks like it might be needed.
5848 Allow times of 24:00.
5849 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5852 2012-12-30 Glenn Morris <rgm@gnu.org>
5854 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5855 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5856 (rmail-summary-displayed, rmail-summary): Declare.
5857 (mairix-rmail-display): Just require rmail.
5859 2012-12-30 Chong Yidong <cyd@gnu.org>
5861 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5862 check for the tarball contents.
5864 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5866 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5867 tarfile content listings (Bug#13136).
5869 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5871 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5872 Insert the undecoded text of the message being forwarded. (Bug#9521)
5874 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5876 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5877 integers, if they are real numbers. (Bug#13282)
5879 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5880 Return `t' on success.
5882 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5883 Add handler for `set-file-selinux-context'.
5885 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5887 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5888 (tramp-sh-handle-set-file-acl): Return `t' on success.
5890 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5892 * files.el (backup-buffer-copy, basic-save-buffer-2):
5893 If set-file-extended-attributes fails, fall back on set-file-modes
5894 instead of signaling an error. (Bug#13298)
5895 (basic-save-buffer): Likewise.
5897 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5899 * progmodes/python.el: Support other commands triggering
5900 python-indent-line so indentation cycling continues to work.
5901 (python-indent-trigger-commands): New defcustom.
5902 (python-indent-line): Use it.
5904 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5906 * progmodes/python.el (python-shell-send-region): Add blank lines
5907 for non sent code so backtraces remain correct.
5909 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5911 * progmodes/python.el: Remove cl dependency.
5912 (python-syntax-count-quotes): Replace incf call.
5913 (python-fill-string): Replace setf call.
5915 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5917 * info.el (info-other-window): New arg, for consistency with info.
5919 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5921 * mail/rmail.el (rmail-maybe-display-summary):
5922 Rewrite (Bug#13066).
5924 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5926 * epg.el (epg--start): Modify process-environment locally.
5928 2012-12-28 Daiki Ueno <ueno@gnu.org>
5930 * epg.el: Support pinentry-curses.
5931 Suggested by Werner Koch in
5932 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5933 (epg-agent-file, epg-agent-mtime): New variable.
5934 (epg--start): Record the modified time of gpg-agent socket file,
5935 to restore Emacs frame after pinentry-curses termination.
5936 (epg-wait-for-completion): Restore Emacs frame here.
5938 2012-12-27 Juri Linkov <juri@jurta.org>
5940 * info.el (Info-file-completions): New variable.
5941 (Info-read-node-name-1): Complete node names in the Info file
5942 when a file name is given. Call `Info-build-node-completions'
5944 (Info-build-node-completions): Add new arg `file'. When it is
5945 non-nil, visit it in a temporary buffer and cache its completions in
5946 `Info-current-file-completions'. Move most of the function body to
5947 `Info-build-node-completions-1'.
5948 (Info-build-node-completions-1): New function with the body from
5949 `Info-build-node-completions'. (Bug#12456)
5951 2012-12-27 Juri Linkov <juri@jurta.org>
5953 * frame.el (frame-maximization-style): Remove user option.
5954 (cycle-frame-maximized): Remove function.
5955 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5956 (toggle-frame-fullscreen): New command bound to <f11> instead of
5957 `toggle-frame-maximized'.
5958 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5960 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5962 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5964 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5965 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5966 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5967 for `file-accessible-directory-p'. (Bug#13275)
5969 2012-12-27 Sam Steingold <sds@gnu.org>
5971 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5972 continuations, see <http://stackoverflow.com/questions/3582436>.
5974 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5976 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5977 "module" and "def" to have indentation before them.
5978 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5980 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5982 2012-12-27 Alan Mackenzie <acm@muc.de>
5984 Speed up fontification where there's large brace blocks.
5985 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5986 to a call of c-beginning-of-decl-1.
5988 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5990 * comint.el (comint-adjust-window-point): New function.
5991 (comint-postoutput-scroll-to-bottom):
5992 Call comint-adjust-window-point (Bug#13248).
5994 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5996 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5998 (auto-mode-alist): Associate .gemspec files with ruby-mode
5999 (https://bugs.ruby-lang.org/issues/5453).
6001 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
6003 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
6004 Suppress coloring, if possible (required for BusyBox based systems like
6006 (tramp-adb-handle-file-attributes)
6007 (tramp-adb-handle-insert-directory)
6008 (tramp-adb-handle-file-name-all-completions): Use it.
6009 (tramp-adb-get-toolbox): New defun. Check for remote shell
6010 implementation (BusyBox or Toolbox).
6012 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
6014 * startup.el (initial-buffer-choice): Allow function as value
6016 (command-line-1): Handle case where initial-buffer-choice
6017 specifies a function.
6018 * server.el (server-execute): Handle case where
6019 initial-buffer-choice specifies a function.
6021 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6023 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
6025 (smtpmail-try-auth-methods): Forget the user name/password if the
6026 login is unsuccessful (bug#12424).
6028 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
6030 * notifications.el (notifications-notify): Protect body with
6031 `with-demoted-errors'.
6033 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6034 Check properties of remote device. Restart connection, if there is a
6037 2012-12-21 Chong Yidong <cyd@gnu.org>
6039 * sort.el (sort-subr): Doc fix (Bug#13056).
6041 2012-12-21 Bastien Guerry <bzg@gnu.org>
6043 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
6045 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
6047 * simple.el (process-file): Overwrite stderr file, if exists.
6049 2012-12-21 Daiki Ueno <ueno@gnu.org>
6051 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
6052 (epg-error): Set `error-message' property.
6054 2012-12-21 Chong Yidong <cyd@gnu.org>
6056 * international/mule-cmds.el (read-char-by-name): Signal an error
6057 if the user does not supply a valid character (Bug#13177).
6059 * simple.el (transpose-subr-1): Preserve marker positions by
6060 changing the insertion sequence (Bug#13122).
6062 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6064 * simple.el (kill-region): Deactivate mark even for empty regions
6067 2012-12-21 Chong Yidong <cyd@gnu.org>
6069 * help-fns.el (describe-variable): Make sure we get the right
6070 buffer name (Bug#13105). Suggested by Kelly Dean.
6072 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
6074 * comint.el (comint-redirect-previous-input-string): New variable.
6075 (comint-redirect-setup, comint-redirect-cleanup)
6076 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
6077 (comint-redirect-preoutput-filter): Fix verbose message.
6079 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
6081 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
6082 is too long for Tramp. See discussion in
6083 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
6085 * progmodes/compile.el (compilation-start): Remove line escape
6088 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
6090 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
6093 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
6095 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
6096 following non-comment text (bug#13207).
6097 (lm-header-multiline): Continuation lines need to be indented more than
6099 (lm-homepage): New function.
6100 (lm-with-file): Don't be confused if narrowing is in effect.
6102 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
6105 very beginning of a hunk (e.g. killing the first line).
6107 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
6109 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
6110 and text properties from returned ACL string.
6111 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
6112 for "setfacl" command.
6114 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
6116 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
6117 `tramp-cleanup-this-connection', when the process has died.
6120 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6122 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
6124 2012-12-17 Kevin Ryde <user42@zip.com.au>
6126 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
6128 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
6130 Add support for preserving ACL entries of files.
6132 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
6133 `set-file-acl' handlers.
6135 * net/tramp-adb.el (tramp-adb-handle-copy-file):
6136 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6138 * net/tramp-compat.el (tramp-compat-copy-file):
6139 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6141 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6142 Add `file-acl' and `set-file-acl' handlers.
6143 (tramp-gvfs-handle-copy-file):
6144 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6145 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
6148 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6149 Add `file-acl' and `set-file-acl' handlers.
6150 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
6151 (tramp-sh-handle-set-file-acl): New defuns.
6152 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
6153 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6155 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6156 Add `file-acl' and `set-file-acl' handlers.
6157 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
6159 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6161 * help-macro.el (make-help-screen): Instead of switch-to-buffer
6162 use pop-to-buffer with NORECORD argument t. As buffer name, use
6163 *Metahelp* with a leading space (Bug#13190).
6165 2012-12-16 Romain Francoise <romain@orebokech.com>
6167 * files.el (file-extended-attributes)
6168 (set-file-extended-attributes): New functions.
6169 (backup-buffer): Use them to handle both SELinux context and ACL
6171 (backup-buffer-copy): Work with an alist of extended attributes,
6172 rather than an SELinux context.
6173 (basic-save-buffer-2): Ditto.
6175 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
6177 * battery.el (battery-bsd-apm): New function.
6179 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
6181 * calc/calc.el (calc-standard-date-formats): Adjust one of the
6182 standard date formats.
6184 2012-12-15 Juri Linkov <juri@jurta.org>
6186 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
6187 `isearch-insert-char-by-name'.
6188 (with-isearch-suspended): New defmacro with body mostly from
6189 `isearch-edit-string' except the part that sets
6190 `isearch-new-string' and `isearch-new-message'.
6191 (isearch-edit-string): Use new macro `with-isearch-suspended' with
6192 body that sets `isearch-new-string' and `isearch-new-message'.
6193 (isearch-insert-char-by-name): New command.
6194 * international/mule-cmds.el (read-char-by-name): Let-bind
6195 `enable-recursive-minibuffers' to t.
6196 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
6198 2012-12-15 Juri Linkov <juri@jurta.org>
6200 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
6203 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
6205 * dired-x.el (dired-guess-shell-command): Put colon at the end of
6206 the prompt. (Bug#13045)
6208 2012-12-14 Glenn Morris <rgm@gnu.org>
6210 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
6211 Try to include filename in non-bytecomp warning. (Bug#13132)
6213 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
6215 Fix permissions bugs with setgid directories etc. (Bug#13125)
6216 * files.el (backup-buffer): Don't rely on 9th output of
6217 file-attributes, as it's now a placeholder. Instead, use the new
6218 optional arg of file-ownership-preserved-p.
6219 (file-ownership-preserved-p): New optional arg GROUP.
6220 Fix mishandling of setuid directories that would cause this
6221 function to return t when it should have returned nil.
6222 Document what happens if the file does not exist, and when
6223 it's not known whether the ownership will be preserved.
6224 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
6226 (tramp-get-local-gid): Use group-gid for integer, as that's
6227 faster and more reliable.
6229 2012-12-14 Julien Danjou <julien@danjou.info>
6231 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
6232 Update keywords list, data type and PL/pgSQL.
6234 2012-12-14 Dave Abrahams <dave@boostpro.com>
6236 * vc/ediff-util.el (ediff-buffer-type): New function.
6237 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
6238 rather than taking it as as argument.
6239 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
6241 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
6243 * json.el: Add pretty-print option (bug#12634).
6244 (json-encoding-separator, json-encoding-default-indentation)
6245 (json--encoding-current-indentation, json-encoding-pretty-print)
6246 (json-encoding-lisp-style-closings): New vars.
6247 (json--with-indentation): New macro.
6248 (json-encode-hash-table, json-encode-alist, json-encode-plist)
6249 (json-encode-array): Use it to obey json-encoding-pretty-print.
6250 (json-pretty-print-buffer, json-pretty-print): New commands.
6252 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6254 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6255 Extract `ruby-syntax-propertize-expansions'.
6256 (ruby-syntax-propertize-expansions): Only change syntax on
6257 certain string delimiters, to punctuation. This way the common
6258 functions like forward-word and thing-at-point still work.
6259 (ruby-match-expression-expansion): Improve readability.
6260 (ruby-block-contains-point): New function.
6261 (ruby-add-log-current-method): Handle several edge cases.
6263 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6265 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6266 unload-feature finishes even when aborting an ongoing edebug session.
6267 Also, do not worry about edebug-mode, unload-feature takes care of it.
6269 2012-12-13 Andreas Schwab <schwab@suse.de>
6271 * net/tls.el (tls-program): Update customize type.
6273 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6275 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6276 (edebug-setup-hook, cl-read-load-hooks): Use it.
6277 (edebug-unload-function): New function. (Bug#13163)
6279 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6281 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6282 Otherwise, there could be errors in autoloading. (Bug#13151)
6284 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
6286 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6289 2012-12-13 Alan Mackenzie <acm@muc.de>
6291 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6292 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6293 around `forward-comment' not recognizing ^M as whitespace.
6295 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
6297 * progmodes/python.el (python-skeleton-class)
6298 (python-skeleton-def): Do not add space after defun name.
6300 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6303 (cl--symbol-function): Remove (now that funbound is like nil).
6305 2012-12-12 Glenn Morris <rgm@gnu.org>
6307 * button.el (button--area-button-p): Fix typo.
6309 2012-12-12 Sam Steingold <sds@gnu.org>
6311 * frame.el (frame-maximization-style): New user option.
6312 (toggle-frame-maximized): Toggle frame maximization according to
6313 `frame-maximization-style', bound to <f11>.
6314 (cycle-frame-maximized): Cycle between all maximization styles and
6315 non-maximized frame, bound to shift-<f11>.
6317 2012-12-12 David Cadé <codename68@gmail.com>
6319 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6321 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6323 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6324 (eieio-override-prin1): Don't quote kewords and booleans.
6325 (object-write) <eieio-default-superclass>: Don't put closing parens
6326 on new line, avoid needless empty lines, align values that are objects
6327 with the slot keyword (instead of beginning on the same line).
6328 (eieio-list-prin1): Align value with slot keyword; increase
6329 eieio-print-depth before printing members of the list.
6331 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6334 a display text-property.
6335 (report-emacs-bug-hook): Don't bother deleting it any more.
6337 * hilit-chg.el (highlight-save-buffer-state): Delete.
6338 Use with-silent-modifications instead.
6339 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6341 * button.el: Handle buttons in display text-properties.
6342 (button--area-button-p, button--area-button-string):
6343 Use (STRING . STRING-POS) representation instead of just STRING.
6345 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6347 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6348 subdirectory be skipped.
6350 2012-12-11 Glenn Morris <rgm@gnu.org>
6352 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6354 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6355 Treat preprocessor lines embedded in continuations like comments.
6356 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6358 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6360 * calc/calc.el (calc-standard-date-formats): Add more date
6362 * calc/calc-forms.el (math-parse-iso-date): New function.
6363 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6364 (math-parse-iso-date-validate): Add extra error checking.
6365 (calc-date-notation): Add ability to access new date formats.
6367 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6369 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6370 font-lock as well as when there's no text-property.
6372 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6374 * hi-lock.el: Refine the choice of default face.
6375 (hi-lock-keyword->face): New function. Use it wherever we used
6377 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6378 (hi-lock--last-face): Remove var.
6379 (hi-lock--unused-faces): New var to replace it.
6380 (hi-lock-read-face-name): Use/maintain it.
6381 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6382 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6383 if it has another face.
6385 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6387 * subr.el (w32notify-handle-event): New function.
6388 (inotify-handle-event): Doc fix.
6390 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6392 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6394 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6396 * simple.el (just-one-space): Doc fix.
6398 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6400 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6402 2012-12-10 Le Wang <l26wang@gmail.com>
6404 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6405 narrowed buffer (bug#12361).
6407 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6409 * vc/vc-hooks.el (vc-state): Doc fix.
6411 2012-12-10 Glenn Morris <rgm@gnu.org>
6413 * mail/rmail.el (rmail-maybe-display-summary):
6414 Preserve buffer, in case select-window changes it. (Bug#13066)
6416 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6418 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6419 cl-load-hook where they belong.
6421 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6425 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6427 Parallelize byte compilation on MS-Windows.
6428 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6429 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6430 (WINS_BASIC): Define as concatenation of the above.
6431 (compile): Subdivide into 4 separate and independent jobs that can
6433 (compile0-CMD, compile0-SH): New targets for compiling
6434 COMPILE_FIRST files, which are prerequisites for the rest of the
6436 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6437 New targets for parallel compilation with cmd.exe.
6438 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6439 compiling under a Unixy shell.
6441 2012-12-09 Chong Yidong <cyd@gnu.org>
6443 * simple.el (set-mark-default-inactive): Delete this
6444 accidentally-introduced option.
6445 (set-mark-command, exchange-point-and-mark): Remove calls.
6447 2012-12-09 Glenn Morris <rgm@gnu.org>
6449 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6450 Respect a defcustom's :set function, if appropriate. (Bug#109)
6451 (eval-defun): Doc fix.
6453 2012-12-08 Juri Linkov <juri@jurta.org>
6455 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6456 (Info-fontify-node, Info-bookmark-make-record): Remove the
6457 file extension from Info-current-file (Bug#13016).
6459 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6461 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6462 point, still provide some default.
6463 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6464 names, since we don't use it right now. Actually return the list.
6465 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6467 2012-12-07 Chong Yidong <cyd@gnu.org>
6469 * novice.el (disabled-command-function): Remove a spurious help
6470 xref (Bug#13043). Suggested by Kelly Dean.
6472 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6473 syntax is specified (Bug#13025).
6475 * info.el (Info-set-mode-line): Remove the file extension from
6476 Info-current-file if there is one (Bug#13016).
6478 2012-12-07 Glenn Morris <rgm@gnu.org>
6480 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6481 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6482 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6483 and rmail-mime-decoded. (Bug#9841)
6485 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6486 (batch-unrmail, unrmail): Doc fixes.
6487 (unrmail): Respect unrmail-mbox-format.
6488 * mail/rmail.el (rmail-mbox-format): New option.
6489 (rmail-show-message-1): Respect rmail-mbox-format.
6491 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6495 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6497 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6498 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6499 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6500 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6501 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6502 (cl-progv): Don't rely on dynamic scoping to find the body.
6503 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6504 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6505 (cl-declaim): Use backquotes.
6506 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6507 Use "cl--" prefix for the object's tag.
6509 * ses.el: Use advice-add/remove.
6510 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6511 (copy-region-as-kill, yank): Use advice-add.
6512 (ses-unload-function): Use advice-remove.
6514 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6516 * button.el: Make them work in header-lines (bug#12817).
6517 (button-map): Add bindings for header-line and mode-line use.
6518 (button-get, button-put, button-label): `button' may now be a string.
6519 (button-activate): Don't make it a defsubst.
6520 (button--area-button-p, button--area-button-string): New functions.
6521 (make-text-button): Fix the return value when `beg' was a string.
6522 (push-button): Handle the mode-line case.
6524 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6526 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6527 (sql-signum): Remove. Use `cl-signum' instead.
6528 (sql-read-passwd): Remove; use read-passwd instread.
6529 (sql-get-login-ext): Use read-string.
6530 (sql-get-login): Use dolist and pcase.
6531 (sql--completion-table): Rename from sql-try-completion.
6532 Use complete-with-action.
6533 (sql-mode): Don't change abbrev-all-caps globally.
6534 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6535 (sql-postgres-completion-object): Initialize vars in their `let'.
6536 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6537 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6538 (sql-comint-interbase): Use a single append, without setq.
6539 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6541 * hi-lock.el: Rework the default face and the serialize regexp code.
6542 (hi-lock--auto-select-face-defaults): Remove.
6543 (hi-lock-string-serialize-serial): Remove.
6544 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6546 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6548 (hi-lock-set-pattern): Adjust accordingly.
6549 (hi-lock--regexps-at-point): Simplify accordingly.
6550 (hi-lock--auto-select-face-defaults): Remove.
6551 (hi-lock--last-face): New var to replace it.
6552 (hi-lock-read-face-name): Rewrite (bug#11095).
6553 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6555 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6557 * net/tramp.el (tramp-replace-environment-variables):
6558 Hide compiler warning.
6559 (tramp-file-name-for-operation): Remove `executable-find',
6560 `start-process', `call-process' and `call-process-region'.
6562 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6564 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6567 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6569 2012-12-06 Chong Yidong <cyd@gnu.org>
6571 * ffap.el (ffap-replace-file-component): Fix typo.
6573 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6575 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6576 fix open-paren-like token test (bug#12785).
6578 2012-12-06 Glenn Morris <rgm@gnu.org>
6580 * mail/rmailsum.el (rmail-new-summary): Tweak for
6581 rmail-maybe-display-summary changing buffer. (Bug#13066)
6583 2012-12-06 Juri Linkov <juri@jurta.org>
6585 * info.el (Info-fontify-node): Don't hide the last newline.
6588 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6590 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6591 so as to enable message-read-from-minibuffer to expand mail aliases.
6593 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6595 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6596 the `intangible' property.
6597 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6599 2012-12-05 Deniz Dogan <deniz@dogan.se>
6601 * net/rcirc.el (rcirc-urls): Update documentation.
6602 (rcirc-condition-filter): New function.
6603 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6604 and exclude consecutive duplicate URLs (Bug#6082).
6606 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6608 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6609 Check return code of copy command.
6611 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6612 Use group `tramp'. Add version.
6614 2012-12-05 Chong Yidong <cyd@gnu.org>
6616 * ffap.el (ffap-url-regexp): Don't require matching at front of
6618 (ffap-url-p): If only a substring matches, return that.
6619 (ffap-url-at-point): Use the return value of ffap-url-p.
6620 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6621 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6622 (ffap-guess-file-name-at-point): Likewise.
6623 (ffap-replace-file-component): Fix typo.
6625 * info.el (info-display-manual): Add existing Info buffers, whose
6626 files may not be in Info-directory-list, to the completion.
6627 (info--manual-names): New helper function.
6629 2012-12-05 Glenn Morris <rgm@gnu.org>
6631 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6632 New functions, for detecting and resolving conflicts. (Bug#10709)
6634 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6636 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6637 (hi-lock-auto-select-face-defaults): New buffer local variable.
6638 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6639 (hi-lock-unface-buffer): Prompt user with useful defaults.
6640 With prefix arg, unhighlight all hi-lock patterns in buffer.
6642 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6644 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6646 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6648 * Makefile.in (TRAMP_SRC):
6649 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6651 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6653 * net/tramp-adb.el: New package.
6655 2012-12-04 Chong Yidong <cyd@gnu.org>
6657 * terminal.el: Move to obsolete/.
6659 * longlines.el: Move to obsolete/.
6661 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6662 Remove code referring to longlines mode.
6664 2012-12-03 Juri Linkov <juri@jurta.org>
6666 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6668 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6670 * textmodes/ispell.el (ispell-init-process)
6671 (ispell-start-process, ispell-internal-change-dictionary):
6672 Make sure personal dictionary name is expanded after initial
6673 `default-directory' value. Use expanded strings for
6674 keep/restart checks and for value (Bug#13019).
6676 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6678 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6680 2012-12-03 Leo Liu <sdl.web@gmail.com>
6682 * files.el (dir-locals-read-from-file): Check file non-empty
6683 before reading. (Bug#13038)
6685 2012-12-03 Glenn Morris <rgm@gnu.org>
6687 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6688 Remove any version extension before checking filename. (Bug#13006)
6689 (jka-compr-compression-info-list): Belated :version bump.
6691 2012-12-03 Chong Yidong <cyd@gnu.org>
6693 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6695 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6696 (buffer-menu): Doc fix (Bug#12294).
6698 2012-12-03 Roland Winkler <winkler@gnu.org>
6700 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6701 of diary-show-all-entries in the diary buffer (Bug#12994).
6703 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6705 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6706 "<STDIN>". This is binary safe.
6708 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6710 * calc/calc-forms.el (math-absolute-from-iso-dt)
6711 (math-date-to-iso-dt, math-parse-iso-date-validate)
6712 (math-iso-dt-to-date): New functions.
6713 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6714 (math-fd-isoweekday): New variables.
6715 (calc-date-notation, math-parse-standard-date, math-format-date)
6716 (math-format-date-part): Add support for more formatting codes.
6718 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6720 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6721 current buffer's file name when called interactively (Bug#12488).
6723 2012-12-02 Juri Linkov <juri@jurta.org>
6725 * info.el (info-display-manual): Don't clobber an existing Info
6726 buffer (Bug#10770). Add completion (Bug#10771).
6728 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6730 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6731 before using it for comparison (Bug#5297).
6733 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6735 * textmodes/css-mode.el (css-current-defun-name): New function.
6738 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6739 (html-mode): Use it.
6741 2012-12-01 Chong Yidong <cyd@gnu.org>
6743 Modularize add-log-current-defun (Bug#2224).
6744 Suggested by Jari Aalto.
6746 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6747 (add-log-current-defun): Move mode-specific code to other files.
6748 (add-log-lisp-like-modes, add-log-c-like-modes)
6749 (add-log-tex-like-modes): Variables deleted.
6751 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6752 (lisp-mode-variables): Use it.
6754 * progmodes/cc-mode.el (c-common-init):
6755 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6756 add-log-current-defun-function.
6758 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6761 * progmodes/perl-mode.el (perl-current-defun-name): New.
6762 (perl-mode): Use it.
6764 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6765 Use lisp-current-defun-name.
6767 * textmodes/tex-mode.el (tex-current-defun-name): New.
6768 (tex-common-initialization): Use it.
6770 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6771 (texinfo-mode): Use it.
6773 2012-12-01 Chong Yidong <cyd@gnu.org>
6775 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6776 * progmodes/autoconf.el (autoconf-mode):
6777 * progmodes/js.el (js-mode):
6778 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6779 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6780 * progmodes/perl-mode.el (perl-mode):
6781 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6782 * textmodes/css-mode.el (css-mode):
6783 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6784 (sgml-tags-invisible, sgml-guess-indent):
6785 * textmodes/tex-mode.el (tex-common-initialization)
6786 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6787 (doctex-mode, plain-tex-mode, latex-mode):
6788 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6790 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6792 * vc/vc-hg.el (vc-hg-next-revision):
6793 Ensure use of default "tip" output format. (Bug#6968)
6795 2012-12-01 Kim F. Storm <storm@cua.dk>
6797 * startup.el (fancy-startup-tail): Add a clickable link
6800 2012-12-01 Chong Yidong <cyd@gnu.org>
6802 * startup.el (fancy-startup-tail): Improve the message about
6803 auto-save files (Bug#2176).
6805 * files.el (recover-session): Improve the descriptive message, and
6806 use substitute-command-keys.
6808 2012-12-01 Glenn Morris <rgm@gnu.org>
6810 * ido.el (ido-file-internal):
6811 Handle other-window, other-frame for dired. (Bug#13036)
6813 2012-11-30 Glenn Morris <rgm@gnu.org>
6815 * icomplete.el (icomplete-separator): Fix :version.
6817 2012-11-30 Chong Yidong <cyd@gnu.org>
6819 * shell.el (shell): For C-u M-x shell, use an inactive shell
6820 buffer as the default (Bug#1975).
6821 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6822 (shell-mode): Use them to reapply ansi colorization if Shell mode
6825 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6827 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6829 2012-11-30 Samuel Bronson <naesten@gmail.com>
6831 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6832 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6834 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6836 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6837 by move-to-column (Bug#3234).
6839 2012-11-30 Chong Yidong <cyd@gnu.org>
6841 * longlines.el (longlines-wrap-line, longlines-encode-region):
6842 Preserve text properties (Bug#1425).
6844 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6846 * vc/vc.el (vc-register): Allow registering a file which is
6847 already registered with a different backend (Bug#10589).
6849 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6850 Stefan Monnier <monnier@iro.umontreal.ca>
6852 * icomplete.el: Change separator; add ido-style commands.
6853 (icomplete-show-key-bindings): Remove custom var.
6854 (icomplete-get-keys): Remove function.
6855 (icomplete-forward-completions, icomplete-backward-completions):
6857 (icomplete-minibuffer-map): New var.
6858 (icomplete-minibuffer-setup): Use it.
6859 (icomplete-exhibit): Don't delay if the list of completions is known.
6860 (icomplete-separator): New custom.
6861 (icomplete-completions): Use it.
6862 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6863 (minibuffer-force-complete-and-exit): New command.
6864 (minibuffer--complete-and-exit): New function extracted from
6865 minibuffer-complete-and-exit.
6866 (minibuffer-complete-and-exit): Use it.
6868 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6869 error message when the file doesn't exist (bug#12974).
6871 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6873 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6875 2012-11-29 Glenn Morris <rgm@gnu.org>
6877 * files.el (hack-dir-local-variables): Warn if try to set
6878 coding via dir-locals, since it doesn't work. (Bug#7169)
6880 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6881 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6882 Set buffer-local value of desktop-save-buffer.
6883 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6885 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6886 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6888 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6889 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6891 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6894 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6896 * calc/calc-forms.el (calc-date-notation): Fix regexp
6897 used to find time codes. Fix symbol for seconds.
6899 2012-11-27 Glenn Morris <rgm@gnu.org>
6901 * emacs-lisp/derived.el (derived-mode-make-docstring):
6902 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6904 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6906 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6907 lexically scoped variables (bug#13005).
6909 2012-11-27 Glenn Morris <rgm@gnu.org>
6911 * vc/vc-hooks.el (vc-mistrust-permissions):
6912 Default to t, to avoid data-loss. (Bug#11490)
6914 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6916 * progmodes/python.el (python-indent-guess-indent-offset):
6917 If indentation is guessed make python-indent-offset buffer-local.
6919 Fix Imenu regression.
6920 * progmodes/python.el (python-nav-beginning-of-defun):
6921 Fix forward movement when statement(s) separates point from defun.
6922 (python-imenu-prev-index-position): New function.
6924 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6926 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6928 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6929 Don't set buffer-file-type. Return nil. (Bug#12989)
6931 2012-11-27 Glenn Morris <rgm@gnu.org>
6933 * hippie-exp.el (hippie-expand-try-functions-list):
6934 Re-autoload it. (Bug#12982)
6936 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6938 * descr-text.el (describe-char-padded-string):
6939 Call internal-char-font only on GUI frames. (Bug#11964)
6941 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6943 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6944 and obsoletion message.
6946 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6949 the constructs to keep outside of the `cl-block' (bug#12977).
6951 2012-11-27 Chong Yidong <cyd@gnu.org>
6953 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6954 keep reading until we get the up-event anyway, in order to process
6955 the up-event for mouse-1-click-follows-link (Bug#12971).
6957 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6960 base function is not yet defined (bug#12965).
6961 (ad-activate-advised-definition): Use ad-compile-function.
6962 (ad-activate): Use cond.
6964 2012-11-25 Leo Liu <sdl.web@gmail.com>
6966 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6969 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6971 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6972 reftex-section-info-function in order to be compatible with
6973 Texinfo integration.
6975 * textmodes/reftex.el (reftex-section-pre-regexp)
6976 (reftex-section-post-regexp, reftex-section-info-function):
6978 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6979 reftex-section-post-regexp, and reftex-section-info-function in order
6980 to be compatible with Texinfo integration.
6982 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6983 use reftex-section-pre-regexp variable in order to be compatible with
6984 Texinfo integration.
6986 2012-11-25 Chong Yidong <cyd@gnu.org>
6988 * faces.el: Make face-spec-set more analogous to setq.
6989 (face-spec-set): Change the third arg to specify whether this
6990 function is being called via defface, customize, or a third party.
6991 Set the appropriate symbol properties. Clear the override spec if
6992 setting via Custom. Initialize face if necessary. (Bug#4988)
6993 (face-spec-recalc): Allow theme faces to completely replace the
6994 defface spec, in the same way as custom faces (Bug#8454).
6996 * cus-face.el (custom-declare-face): Move face initialization to
6998 (custom-theme-set-faces): Don't initialize the face name here, as
6999 that is now done in face-spec-set.
7001 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
7002 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
7003 Simplify by using the new arg to face-spec-set.
7005 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
7006 reset face-override-spec too, and use custom-declare-face.
7008 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
7010 * term/ns-win.el (ns-initialize-window-system): Move creation of
7011 fontsets here (Bug#11964).
7013 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7015 * ses.el (ses-rename-cell): Correct bug on mode-line update after
7018 2012-11-24 Chong Yidong <cyd@gnu.org>
7020 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
7023 * custom.el (custom-theme-set-variables): Use a topological sort
7024 for ordering by custom dependencies (Bug#12952).
7025 (custom--sort-vars, custom--sort-vars-1): New functions.
7027 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
7030 lexical-binding (bug#12938).
7032 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
7034 * image-mode.el (image-transform-check-size): Use assertions only
7035 for images of type imagemagick.
7037 Otherwise no error, image-transform-fit-to-{width,height} is
7038 silently ignored, as before. Doc fix.
7040 2012-11-24 Chong Yidong <cyd@gnu.org>
7042 * faces.el (color-defined-p): Doc fix (Bug#12853).
7044 2012-11-24 Juri Linkov <juri@jurta.org>
7046 * dired.el (dired-mark): Add optional arg `interactive'.
7047 Check for `use-region-p' if `interactive' is non-nil.
7048 (dired-unmark, dired-flag-file-deletion): Add optional arg
7049 `interactive'. Call `dired-mark' with the arg `interactive'.
7052 * wdired.el: Revert 2012-10-17 change partly and replace it with
7053 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
7054 (wdired-finish-edit): Add marks for new file names to
7055 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
7056 after `revert-buffer'.
7057 (wdired-do-renames): Remove calls to `dired-remove-file',
7058 `dired-add-file', `dired-add-entry'. (Bug#11795)
7060 2012-11-24 Alan Mackenzie <acm@muc.de>
7062 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
7064 Fix bugs in the state cache. Enhance a debugging mechanism.
7065 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
7066 "brace at column zero" strategy for C++.
7067 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
7068 (c-parse-state-point): New variable.
7069 (c-record-parse-state-state): Record old parse state with
7070 `copy-tree'. Record previous value of point.
7071 (c-debug-parse-state-double-cons): New debugging function.
7072 (c-debug-parse-state): Call the above new function.
7073 (c-toggle-parse-state-debug): Output a confirmatory message.
7075 * progmodes/cc-mode.el (c-before-change, c-after-change):
7076 Call c-invalidate-state-cache from `c-before-change' instead of
7079 2012-11-23 Chong Yidong <cyd@gnu.org>
7081 * find-cmd.el (find-constituents): Add executable, ipath,
7082 readable, samefile, writable, daystart, regextype (Bug#12856).
7084 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
7088 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
7090 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
7091 definition. This fixes a bootstrap failure.
7092 (calc-gregorian-switch): In menu, put dates before regions.
7093 This is easier to follow, lines up better in the menu, and lets us
7094 coalesce regions that switch at the same time. Give country
7095 names, not "Vatican", as that's better for non-expert users.
7096 Use names that are stable between the date of switch and now, e.g.,
7097 Bohemia and Moravia (which existed then and now) and not
7098 Czechoslovakia (which didn't exist then and doesn't exist now).
7099 What is now the U.S. mostly did not switch at the same time as
7100 Britain, so omit the U.S. Correct spelling of "Britain".
7101 Catholic Switzerland was too much of a mess, so omit it.
7103 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
7105 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
7106 after the variable is changed.
7108 2012-11-21 Daniel Colascione <dancol@dancol.org>
7110 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
7111 in SQL declarations for font-lock.
7112 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
7114 2012-11-21 Glenn Morris <rgm@gnu.org>
7116 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
7117 (face-italic-p): Add optional argument "inherit".
7119 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
7120 Remove -p suffix from names, for consistency with other set-face-*.
7121 (set-face-inverse-video): Fix interactive spec.
7122 * play/gamegrid.el (gamegrid-make-mono-tty-face):
7123 * textmodes/table.el (table--update-cell-face):
7124 Use set-face-inverse-video rather than now obsolete alias.
7126 2012-11-21 Eli Zaretskii <eliz@gnu.org>
7128 * simple.el (line-move): Don't call line-move-partial if
7129 scroll-conservatively is in effect. (Bug#12927)
7131 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
7134 Fallback on completion-at-point rather than
7135 pcomplete-expand-and-complete, and only if pcomplete actually failed.
7136 (eshell-cmpl-initialize): Setup completion-at-point.
7138 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
7140 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
7142 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
7144 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
7145 are remote, check out-of-band property for both.
7147 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * window.el (switch-to-buffer): Re-add the warning that was lost in the
7152 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
7154 More minor time fixes.
7155 * calendar/time-date.el: Commentary fix.
7156 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
7157 too much other code depends on (0 0) time stamps.
7158 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
7159 Add a couple of FIXME comments.
7161 Minor cleanup for times as lists of four integers.
7162 * files.el (dir-locals-directory-cache):
7163 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
7165 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7166 * ps-bdf.el (bdf-file-newer-than-time):
7167 Process four-integers time stamps, not two. Doc fixes.
7169 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * uniquify.el (uniquify-managed): Use defvar-local.
7172 (rename-buffer, create-file-buffer): Advise with advice-add.
7173 (uniquify-unload-function): Unadvise accordingly.
7175 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
7176 (trace-buffer): Don't purecopy.
7177 (trace-entry-message, trace-exit-message): Add `context' arg.
7178 (trace--timer): New var.
7179 (trace-make-advice): Adjust for use in nadvice.
7180 Add `context' argument. Delay `display-buffer' via a timer.
7181 (trace-function-internal): Use advice-add.
7182 (trace--read-args): New function.
7183 (trace-function-foreground, trace-function-background): Use it.
7184 (trace-function): Rename to trace-function-foreground and redefine as
7185 an alias to that new name.
7186 (untrace-function, untrace-all): Adjust to the use of nadvice.
7188 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
7190 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7192 * subr.el (called-interactively-p-functions): New var.
7193 (internal--called-interactively-p--get-frame): New macro.
7194 (called-interactively-p, interactive-p): Rewrite in Lisp.
7195 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
7196 (called-interactively-p-functions): Use it.
7197 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
7198 (called-interactively-p-functions): Use it.
7199 * allout.el (allout-called-interactively-p): Don't assume
7200 called-interactively-p is a subr.
7202 2012-11-20 Glenn Morris <rgm@gnu.org>
7204 * profiler.el (profiler-report-mode-map): Add a menu.
7205 No need to bind `q' because we derive from special-mode.
7206 (profiler-report-find-entry): Handle calls from the menu-bar.
7208 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
7210 * emacs-lisp/byte-run.el (defun-declarations-alist):
7211 Allow a compiler-macro to be a lambda expression.
7213 * progmodes/python.el: Use cl-lib. Move var declarations outside of
7215 (python-syntax-context): Add compiler-macro.
7216 (python-font-lock-keywords): Simplify with De Morgan.
7218 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
7220 * files.el (load-file): Require match in minibuffer selection, as was
7221 the case in Emacs-20 before we changed the spec to allow .elc files
7224 * json.el: Don't require cl since we don't use it.
7225 * color.el: Don't require cl.
7226 (color-complement): `caddr' -> `nth 2'.
7228 * calendar/time-date.el (time-to-seconds): De-obsolete.
7230 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
7232 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
7234 (math-date-to-julian-dt): Adjust the initial approximation for the
7235 year to deal with the new definition of the DATE.
7237 2012-11-19 Daniel Colascione <dancol@dancol.org>
7239 * term/w32-win.el (cygwin-convert-path-from-windows):
7240 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
7242 2012-11-18 Chong Yidong <cyd@gnu.org>
7244 * filecache.el (file-cache--read-list): New function.
7245 (file-cache-add-directory-list, file-cache-add-file-list)
7246 (file-cache-delete-file-list, file-cache-delete-directory-list):
7247 Use it to read a list of files or directories (Bug#12846).
7248 (file-cache-add-file, file-cache-add-directory)
7249 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7250 (file-cache-delete-directory): Print an message.
7252 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7254 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7255 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7257 2012-11-18 Glenn Morris <rgm@gnu.org>
7259 * image.el (insert-image, insert-sliced-image): Doc fix.
7261 2012-11-18 Chong Yidong <cyd@gnu.org>
7263 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7266 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7268 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7269 response when the target file is in a subdirectory (Bug#12757).
7271 2012-11-18 Chong Yidong <cyd@gnu.org>
7273 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7275 2012-11-18 Glenn Morris <rgm@gnu.org>
7277 * emacs-lisp/cl-lib.el (face-underline-p):
7278 Use set-face-underline rather than the alias set-face-underline-p.
7280 * window.el (with-temp-buffer-window): Doc fix.
7281 * subr.el (with-output-to-temp-buffer):
7282 Add doc xref to with-temp-buffer-window.
7284 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7286 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7287 * calc/calc.el (math-format-date-cache): Declare.
7289 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7291 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7292 It also uses January 1, 1 AD as its day number 1.
7293 * calc/calc-forms.el (math-julian-date-beginning)
7294 (math-julian-date-beginning-int): Implement this.
7296 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7298 * descr-text.el (quail-find-key):
7299 * dired.el (desktop-file-name):
7300 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7301 * generic-x.el (comint-mode, comint-exec):
7302 * image-dired.el (widget-forward):
7303 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7304 (speedbar-change-expand-button-char)
7305 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7306 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7307 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7308 (widget-field-action, widget-value-set):
7309 * speedbar.el (imenu--make-index-alist):
7310 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7311 (ring-length, ring-insert):
7312 * vcursor.el (compare-windows-skip-whitespace):
7313 * woman.el (dired-get-filename):
7316 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7318 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7320 * calc/calc.el (calc-gregorian-switch): New variable.
7322 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7323 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7324 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7325 (math-leap-year-p): Add option to distinguish between Julian
7326 and Gregorian calendars.
7327 (math-day-number): Use `math-day-in-year' to do the computations.
7328 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7329 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7330 to do the computations.
7331 (math-date-to-dt): Use `math-date-to-julian-dt' and
7332 `math-date-to-gregorian-dt' to do the computations.
7333 (calcFunc-weekday, math-format-date-part): Use the new version of
7334 the DATE to determine the weekday.
7335 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7338 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7340 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7341 Cygwin; otherwise use 'file:'. (Bug#12914)
7342 (cygwin-convert-path-from-windows): Declare, to avoid
7343 byte-compiler warnings.
7345 2012-11-17 Andreas Politz <politza@fh-trier.de>
7347 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7348 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7349 prefix and negative numeric prefix args (Bug#12795).
7351 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7353 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7354 Don't signal an error with a score that is too low to add to the
7355 list of top scores. (Bug#12779)
7357 2012-11-17 Chong Yidong <cyd@gnu.org>
7359 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7361 * filecache.el (file-cache-add-file): Handle relative file name in
7362 the argument (Bug#12694).
7364 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7366 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7368 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7372 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7374 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7376 * window.el (enlarge-window, shrink-window): Don't mention return
7377 value in doc-string (Bug#12896).
7378 (window--display-buffer): Don't resize frames - it won't work
7379 with all window managers and defeat pop-up-frame-alist.
7380 (display-buffer-alist): In doc-string explain that CONDITION can
7381 be a function and which arguments are passed to it (Bug#12854).
7382 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7383 expressions (Bug#12854).
7384 (display-buffer): Pass ACTION argument to
7385 display-buffer-assq-regexp.
7387 2012-11-16 Glenn Morris <rgm@gnu.org>
7389 * window.el (fit-frame-to-buffer-bottom-margin)
7390 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7392 * faces.el (face-underline-p): Use face-attribute-specified-or.
7394 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7396 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7398 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7402 2012-11-16 Glenn Morris <rgm@gnu.org>
7404 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7405 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7407 * faces.el (face-underline-p): Doc fix. Handle :underline being
7408 things other than `t' (a string, a list).
7409 (face-inverse-video-p): Doc fix.
7410 (set-face-underline): Rename it back from set-face-underline-p.
7411 Doc fix. Allow interactive input of values other than t.
7412 (read-face-attribute): Apply formatting to :underline,
7413 since like :box and :stipple it can take list values.
7415 * term.el (ansi-term): Don't let C-x escape-char binding
7416 clobber the more standard C-c binding. (Bug#12842)
7418 * subr.el (set-temporary-overlay-map): Doc fix.
7420 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7422 * window.el (record-window-buffer)
7423 (display-buffer-record-window): When copying the markers to
7424 window-point preserve window-point-insertion-type. (Bug#12588)
7426 2012-11-16 Glenn Morris <rgm@gnu.org>
7428 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7429 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7430 Use new names for hooks rather than obsolete aliases.
7432 2012-11-15 Daniel Colascione <dancol@dancol.org>
7434 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7435 prefix instead of "file:" so that when FILE-NAME begins with "//",
7436 as it does when the target file is on a network share, url-handler
7439 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7441 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7442 a preactivated advice from an old advice.el; they're not compatible!
7444 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7446 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7447 Fix string-spec case.
7449 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7451 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7454 (advice--buffer-local-function-sample): New var.
7455 (advice--set-buffer-local, advice--buffer-local): New functions.
7456 (add-function, remove-function): Use them.
7458 2012-11-15 Drew Adams <drew.adams@oracle.com>
7460 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7462 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7464 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7465 potential binding of print-gensym to t, and prettify (back)quotes in
7466 case they appear in args's default values (bug#12884).
7468 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7470 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7471 (advice-eval-interactive-spec): New function.
7472 (advice--make-interactive-form): Support around advice (bug#12844).
7474 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7476 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7477 more strict. Add docstring.
7478 (ruby-expression-expansion-re): Extract from
7479 `ruby-match-expression-expansion'.
7480 (ruby-syntax-propertize-function): After everything else, search
7481 for expansions in string literals, mark their insides as
7482 whitespace syntax and save match data for font-lock.
7483 (ruby-font-lock-keywords): Use the 2nd group from expression
7485 (ruby-match-expression-expansion): Use the match data saved to the
7486 text property in ruby-syntax-propertize-function.
7488 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7490 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7493 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7495 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7496 start/end keyword a bit harder. Works with different values of N.
7498 (ruby-end-of-block): Update accordingly.
7500 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7502 * woman.el (woman-file-name): Don't mess with unread-command-events
7505 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7506 Remove out of date self-require hack.
7507 (ad-do-advised-functions): Use simple `dolist'.
7508 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7509 (ad-advice-definition): Redefine as functions.
7510 (ad-advice-classes): Move before first use.
7511 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7512 (ad-make-mapped-call, ad-make-advised-docstring)
7513 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7514 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7515 (ad-get-orig-definition): Rewrite.
7516 (ad-make-advised-definition-docstring): Change base docstring.
7517 (ad-real-orig-definition): Rewrite.
7518 (ad-map-arglists): Change name of called function.
7519 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7520 (ad-make-advised-definition): Simplify.
7521 (ad-assemble-advised-definition): Tweak for new calling context.
7522 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7523 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7524 function and call ad-activate if needed.
7525 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7526 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7527 (ad-compile-function): Compile ad-Advice-*.
7528 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7529 (ad-start-advice, ad-stop-advice): Remove.
7531 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7533 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7534 period before class method names, not after. Remove handling of
7535 one impossible case. Add comments.
7537 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7539 * emacs-lisp/advice.el: Remove support for freezing.
7540 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7541 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7542 Remove support for `freeze'.
7544 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7545 override the default.
7546 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7548 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7551 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7553 (advice--strip-macro): New function.
7554 (advice--defalias-fset): Use them to handle macros.
7555 (advice-add): Use them.
7556 (advice-member-p): Correctly handle macros.
7558 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7560 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7561 Never font-lock the beginning of singleton class as heredoc.
7563 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7565 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7567 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7569 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7570 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7571 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7573 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
7575 Fix end-of-defun misbehavior.
7576 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7577 python-beginning-of-defun-function. Handle nested defuns
7579 (python-nav-end-of-defun): Rename from
7580 python-end-of-defun-function. Ensure forward movement.
7581 (python-info-current-defun): Reimplement to work as intended
7582 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7583 parent defuns as soon as possible.
7585 2012-11-13 Glenn Morris <rgm@gnu.org>
7587 * progmodes/flymake.el (flymake-error-bitmap)
7588 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7589 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7591 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7593 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7594 backward, always stop at indentation. Reverts the change from
7595 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7597 2012-11-13 Glenn Morris <rgm@gnu.org>
7599 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7600 Add ibuffer-filter-by-derived-mode.
7602 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7603 the same name shadowing each other.
7605 * window.el (with-temp-buffer-window): Doc tweak.
7607 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7609 * help.el (temp-buffer-max-height):
7610 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7611 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7613 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7615 * emacs-lisp/nadvice.el: New package.
7616 * subr.el (special-form-p): New function.
7617 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7618 (elp-all-instrumented-list): Remove var.
7619 (elp-not-profilable): Remove elp-wrapper.
7620 (elp-profilable-p): Use autoloadp and special-form-p.
7621 (elp--advice-name): New const.
7622 (elp-instrument-function): Use advice-add.
7623 (elp--instrumented-p): New predicate.
7624 (elp-restore-function): Use advice-remove.
7625 (elp-restore-all, elp-reset-all): Use mapatoms.
7626 (elp-set-master): Use elp--instrumented-p.
7627 (elp--make-wrapper): Rename from elp-wrapper, return a function
7628 suitable for advice-add. Use cl-inf.
7629 (elp-results): Use mapatoms+elp--instrumented-p.
7630 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7631 (debug-function-list): Remove var.
7632 (debug): Rename arg, and then let-bind it explicitly inside.
7633 (debugger-setup-buffer): Rename arg.
7634 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7635 (debugger-frame-number): Adjust to new debug-on-entry setup.
7636 (debug--implement-debug-on-entry): Rename from
7637 implement-debug-on-entry, add argument.
7638 (debugger-special-form-p): Remove, use special-form-p instead.
7639 (debug-on-entry): Use advice-add.
7640 (debug--function-list): New function.
7641 (cancel-debug-on-entry): Use it, along with advice-remove.
7642 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7643 (debugger-list-functions): Use debug--function-list instead of
7644 debug-function-list.
7645 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7646 (ad-special-form-p): Remove, use special-form-p instead.
7647 (ad-set-advice-info): Use add-function and remove-function.
7648 (ad--defalias-fset): Adjust accordingly.
7650 2012-11-10 Glenn Morris <rgm@gnu.org>
7652 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7653 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7654 (report-emacs-bug-create-existing-bugs-buffer)
7655 (report-emacs-bug-parse-query-results)
7656 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7658 * term.el (term-default-fg-color, term-default-bg-color):
7659 Make obsolete, rather than just saying "deprecated" in the doc.
7661 * term.el (term): Rename from `term-face'.
7662 (term-current-face, ansi-term-color-vector)
7663 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7666 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7668 * server.el (server-create-window-system-frame): Handle Nextstep
7669 specially (Bug#12780).
7671 2012-11-10 Glenn Morris <rgm@gnu.org>
7673 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7674 Unautoload, and make obsolete. (Bug#7449)
7676 2012-11-10 Chong Yidong <cyd@gnu.org>
7678 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7679 rename from diff-remove-trailing-whitespace (Bug#12831).
7681 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7684 miscompilation of trace.el.
7686 2012-11-10 Glenn Morris <rgm@gnu.org>
7688 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7690 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7695 2012-11-10 Chong Yidong <cyd@gnu.org>
7697 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7698 a defcustom with an appropriate :set function.
7699 (minibuffer-default--in-prompt-regexps): New function.
7701 2012-11-10 Glenn Morris <rgm@gnu.org>
7703 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7704 (define-modify-macro): Doc fixes.
7706 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7707 (gv-define-simple-setter): Update doc of `fix-return'.
7709 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7711 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7712 twice when `fix-return' is set (bug#12813).
7714 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7715 gv-define-simple-setter (bug#12812).
7717 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7720 2012-11-10 Glenn Morris <rgm@gnu.org>
7722 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7724 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7725 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7726 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7727 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7729 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7731 2012-11-10 Leo Liu <sdl.web@gmail.com>
7733 * ido.el (ido-set-matches-1): Improve flex matching performance by
7734 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7736 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7739 (ad--defalias-fset): New function.
7740 (ad-safe-fset): Remove.
7741 (ad-make-freeze-definition): Use cl-letf*.
7743 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7745 * subr.el (dolist): Don't bind VAR in RESULT.
7747 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7748 (fset, documentation): Don't save real def since we don't advise.
7749 (ad-do-advised-functions): Remove problematic `result-form'.
7750 (ad-safe-fset): `ad-real-fset' => `fset'.
7751 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7752 uses CL's dolist internally.
7753 (ad-arglist): Remove unused arg `name'.
7754 (ad-docstring, ad-make-advised-docstring):
7755 `ad-real-documentation' => `documentation'.
7756 (warning-suppress-types): Declare.
7757 (ad-set-arguments): Simple CSE.
7758 (ad-recover-normality): Sanity check.
7760 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7761 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7763 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7765 * ses.el: Symbol to coordinate mapping is made by symbol property
7766 `ses-cell'. This means that the same mapping is done for all SES
7767 sheets. That is good enough for cells with standard A1 names, but
7768 not for named cell. So a hash map is added for the latter.
7769 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7770 (ses-sym-rowcol): Use hashmap for named cell.
7771 (ses-is-cell-sym-p): New defun.
7772 (ses-decode-cell-symbol): New defun.
7773 (ses-create-cell-variable): Add cell to hashmap when name is not
7775 (ses-rename-cell): Check that cell new name is not already in
7776 spreadsheet with the use of ses-is-cell-sym-p
7777 (ses-rename-cell): Use hash map for named cells, but accept also
7778 renaming back to A1-like.
7780 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7782 * emacs-lisp/advice.el: Use new dynamic docstrings.
7783 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7784 Use dynamic-docstring-function instead of ad-advice-info.
7785 (ad--make-advised-docstring): New function extracted from
7786 ad-make-advised-docstring.
7787 (ad-make-advised-docstring): Use it.
7788 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7790 (sql-help): Use it with dynamic-docstring-function.
7792 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7794 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * files.el (hack-one-local-variable--obsolete): New function.
7797 (hack-one-local-variable): Use it for obsolete settings.
7799 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7802 * progmodes/js.el (js--filling-paragraph): New var.
7803 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7804 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7807 2012-11-08 Julien Danjou <julien@danjou.info>
7809 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7810 `auto-mode-alist' (Bug#12835).
7812 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7814 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7815 (perl--prettify-symbols-alist): New const.
7816 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7818 (perl-font-lock-keywords-2): Use them.
7819 (perl-electric-noindent-p): New function.
7820 (perl-mode): Use it to set up electric-indent-mode.
7821 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7822 (perl-mode-map): Remove bindings for them.
7823 (perl-imenu-generic-expression, perl-outline-level):
7824 Match functions&packages in column>0.
7826 * env.el (env--substitute-vars-regexp): New const.
7827 (substitute-env-vars): Use it. Add `only-defined' arg.
7828 * net/tramp.el (tramp-replace-environment-variables): Use it.
7830 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7831 Byte-compile *before* eval in eval-and-compile.
7832 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7833 (byte-compile-file-form-autoload): Don't hide actual definition.
7834 (byte-compile-maybe-guarded): Accept `functionp' as well.
7836 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7838 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7840 * notifications.el (notifications-get-server-information-method):
7842 (notifications-get-capabilities): Fix docstring.
7843 (notifications-get-server-information): New defun.
7845 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7847 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7850 * textmodes/ispell.el: Experimental support for support debugging.
7851 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7853 (ispell-print-if-debug): New function to print stuff to
7854 `ispell-debug-buffer' if debugging is enabled.
7855 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7856 show some debugging info.
7857 (ispell-buffer-with-debug): New function that creates a debugging
7858 buffer and calls `ispell-buffer' with debugging enabled.
7860 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7861 comment in autoconf mode. (Bug#12768)
7863 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7865 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7866 frame-first-window, frame-root-window, frame-selected-window,
7867 minibuffer-selected-window, minibuffer-window,
7868 window-absolute-pixel-edges, window-at, window-body-height,
7869 window-body-width, window-display-table, window-combination-limit,
7870 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7871 window-inside-edges, window-inside-pixel-edges, window-left-child,
7872 window-left-column, window-margins, window-next-buffers,
7873 window-next-sibling, window-new-normal, window-new-total,
7874 window-normal-size, window-parameter, window-parameters, window-parent,
7875 window-pixel-edges, window-point, window-prev-buffers,
7876 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7877 window-start, window-text-height, window-top-child, window-top-line,
7878 window-total-height, window-total-width and window-use-time to the list
7879 of functions without side-effects.
7880 (toplevel): Add window-valid-p to the list of error-free functions
7881 without side-effects.
7883 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7885 * textmodes/ispell.el (ispell-program-name):
7886 Update spellchecker parameters when customized.
7888 2012-11-04 Glenn Morris <rgm@gnu.org>
7890 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7892 2012-11-04 Chong Yidong <cyd@gnu.org>
7894 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7895 same-window-* variables.
7897 2012-11-04 Juri Linkov <juri@jurta.org>
7899 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7900 (isearch-describe-key, isearch-describe-mode): Use a display
7901 action instead of binding same-window-* variables (Bug#10040).
7903 2012-11-03 Glenn Morris <rgm@gnu.org>
7905 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7906 Rename handler properties back from cl-- to cl-. (Bug#12788)
7908 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7910 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7912 * term/pc-win.el: Don't load term/internal from here.
7914 * loadup.el: Load term/internal from here.
7916 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7918 * progmodes/python.el (inferior-python-mode): Fix hang in
7919 jit-lock (Bug#12645).
7921 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7923 * window.el (switch-to-visible-buffer)
7924 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7926 2012-11-03 Glenn Morris <rgm@gnu.org>
7928 * emacs-lisp/cl-lib.el (cl--random-time):
7929 Rename from cl-random-time. (Bug#12773)
7930 (cl--gensym-counter, cl--random-state): Update callers.
7931 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7933 2012-11-03 Chong Yidong <cyd@gnu.org>
7935 * cus-start.el: Make cursor-type customizable (Bug#11633).
7937 2012-11-02 Glenn Morris <rgm@gnu.org>
7939 * filecache.el: No need to load find-lisp when compiling.
7940 (find-lisp-find-files): Autoload it.
7941 (file-cache-add-directory-recursively): Don't require find-lisp.
7943 * image.el (image-type-from-file-name): Trivial simplification.
7945 * emacs-lisp/bytecomp.el (byte-compile-eval):
7946 Decouple "noruntime" and "cl-functions" warnings.
7948 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7950 * play/gomoku.el (gomoku-display-statistics): Update mode line
7951 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7953 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7955 * window.el (quit-restore-window): If the window has been
7956 created on an existing frame and ended up as the sole window on
7957 that frame, do not delete it (Bug#12764).
7959 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7961 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7962 Rename from sh--inside-arithmetic-expression, handle more cases
7965 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7966 (sh-font-lock-open-heredoc): Use it (bug#12770).
7968 2012-10-30 Glenn Morris <rgm@gnu.org>
7970 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7972 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7974 2012-10-29 Chong Yidong <cyd@gnu.org>
7976 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7977 function key is stored in a keyboard macro (Bug#4894).
7979 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7981 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7983 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7985 (diff-unified->context, diff-context->unified)
7986 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7988 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7990 * files.el (find-alternate-file): Only ask one question (bug#12487).
7992 2012-10-29 Chong Yidong <cyd@gnu.org>
7994 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7995 Suggested by Dan Nicolaescu (Bug#6326).
7997 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7999 * startup.el (fancy-about-screen): Don't message (Bug#12680).
8001 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
8003 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
8005 * face-remap.el (face-remap-add-relative): Handle the case where a
8006 face-remapping-alist entry is a cons cell (Bug#12762).
8008 2012-10-29 Kevin Ryde <user42@zip.com.au>
8010 * woman.el (woman-parse-numeric-value): Handle picas correctly
8013 2012-10-29 Glenn Morris <rgm@gnu.org>
8015 * emacs-lisp/cl.el (defsetf): Doc fix.
8017 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
8020 syntax to the matching opener, if any (bug#12547).
8021 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
8022 matching open as a "case-(".
8023 (sh-smie-rc-grammar): Add a corresponding rule for it.
8025 2012-10-28 Daniel Hackney <dan@haxney.org>
8027 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
8028 "PKGNAME-autoloads.el" in case we created it.
8030 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8032 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
8033 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
8034 (completion--twq-all): Disable too-strict assertions.
8036 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
8038 2012-10-27 Eli Zaretskii <eliz@gnu.org>
8040 * profiler.el (profiler-report-make-entry-part): Fix help-echo
8041 text to match the real keybindings.
8043 2012-10-27 Juri Linkov <juri@jurta.org>
8045 * wdired.el (wdired-keep-marker-rename): New defcustom.
8046 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
8049 * dired.el (dired-keep-marker-rename): Add reference to
8050 `wdired-keep-marker-rename' in the docstring.
8051 Add default character value ?R to display initially in
8052 Customization UI instead of ?@.
8054 2012-10-27 Martin Rudalics <rudalics@gmx.at>
8056 * window.el (display-buffer): In doc-string describe
8057 window-height and window-width alist entries.
8059 * time.el (display-time-world): Restore fit-window-to-buffer
8062 2012-10-27 Chong Yidong <cyd@gnu.org>
8064 * subr.el (insert-buffer-substring-as-yank): Doc fix.
8066 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
8068 * minibuffer.el (completion-category-overrides): New completion
8069 category `bookmark' (bug#11131).
8071 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8073 * emacs-lisp/advice.el (ad-assemble-advised-definition):
8074 Silence bogus compiler warnings for ad-do-it.
8076 * bookmark.el (bookmark-completing-read): Set the completion category
8077 to `bookmark' (bug#11131).
8079 2012-10-26 Bastien <bzg@altern.org>
8080 Stefan Monnier <monnier@iro.umontreal.ca>
8082 * face-remap.el: Use lexical-binding.
8083 (text-scale-adjust): Improve docstring. Use itself for the temporary
8084 overlay-map bindings, so as to repeat the "Use..." message each time.
8086 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8088 * emacs-lisp/macroexp.el (macroexp--expand-all):
8089 Obey byte-compile-warning-enabled-p (bug#12486).
8091 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
8092 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
8094 2012-10-26 Martin Rudalics <rudalics@gmx.at>
8096 * mouse.el (mouse-drag-line): Move last form into preceding when
8099 * help.el (resize-temp-buffer-window): Fix doc-string.
8101 2012-10-25 David Engster <deng@randomsample.de>
8103 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
8104 Remove. This feature is already integrated in imenu.
8106 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
8107 always loaded. Require `speedbar' unconditionally.
8109 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
8113 * minibuffer.el (minibuffer-force-complete): Fix thinko.
8115 * net/ldap.el (ldap-search-internal): The official ldif format starts
8116 with a "version: 1" header (bug#12724).
8118 * emacs-lisp/package.el (package-installed-p): Warn if not ready
8121 2012-10-25 Glenn Morris <rgm@gnu.org>
8123 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
8125 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * minibuffer.el (minibuffer-force-complete): Use one more marker
8128 for the temporary-overlay-map command (bug#12619).
8130 2012-10-24 Chong Yidong <cyd@gnu.org>
8132 * time.el (display-time-world-mode): Derive from special-mode.
8133 (display-time-world): Use display-buffer (Bug#12708).
8134 (display-time-world-mode-map): Variable deleted.
8135 (display-time-world-display): Wrap the final delete-char inside
8138 2012-10-24 Chong Yidong <cyd@gnu.org>
8140 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
8143 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
8145 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8147 * minibuffer.el (completion--all-sorted-completions-location): New var.
8148 (completion--cache-all-sorted-completions)
8149 (completion--flush-all-sorted-completions): Use it.
8150 (completion-in-region, completion-in-region--postch)
8151 (completion-at-point, completion-help-at-point): Use markers in
8152 completion-in-region--data (bug#12619).
8154 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8156 * progmodes/compile.el (compilation-start): Try to handle common
8157 quoting of `cd' argument (bug#12640).
8159 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
8162 2012-10-23 Glenn Morris <rgm@gnu.org>
8164 * progmodes/gud.el (gud-menu-map):
8165 Check gdb-active-process is bound. (Bug#12358)
8167 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8169 * repeat.el (repeat): Set real-this-command (bug#12232).
8171 * htmlfontify.el (hfy-post-html-hook):
8172 * filesets.el (filesets-cache-fill-content-hook):
8173 * arc-mode.el (archive-extract-hook):
8174 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
8175 * net/rcirc.el (rcirc-sentinel-functions)
8176 (rcirc-receive-message-functions, rcirc-activity-functions)
8177 (rcirc-print-functions):
8178 * net/dbus.el (dbus-event-error-functions):
8179 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
8180 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
8181 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
8182 * term/sun.el (sun-raw-prefix-hooks):
8183 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
8185 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
8187 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8188 Set `tramp-chunksize' to 1. This improves the performance.
8189 (tramp-smb-wait-for-output): Add timeout to
8190 `tramp-accept-process-output' calls.
8192 2012-10-23 Chong Yidong <cyd@gnu.org>
8194 * faces.el (font-list-limit): Define as an obsolete variable.
8196 * startup.el (command-line):
8197 * cus-start.el: Don't refer to font-list-limit.
8199 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
8201 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * subr.el (internal-temp-output-buffer-show): Rename from
8204 temp-output-buffer-show, since previously compiled files expect this name.
8206 2012-10-23 Glenn Morris <rgm@gnu.org>
8208 * image.el (image-type-from-file-name): If multiple types match,
8209 return the first one that is supported. (Bug#9045)
8211 2012-10-22 Glenn Morris <rgm@gnu.org>
8213 * image.el (imagemagick-enabled-types): Doc fix.
8215 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
8217 * progmodes/which-func.el (which-func-current): The hash-table may have
8218 an explicit nil (bug#12338).
8220 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8222 * electric.el (electric-pair-delete-selection-self-insert-function):
8223 Rename to electric-pair-will-use-region, return a boolean.
8224 (electric-pair-mode): Adjust accordingly. Don't require delsel.
8226 * delsel.el (delete-selection-helper): Use a function instead of a hook.
8227 (delete-selection-pre-hook): Use use-region-p.
8228 (delete-selection-self-insert-function): Remove.
8229 (self-insert-command): Obey self-insert-uses-region-functions.
8230 (self-insert-iso): Revert to previous setting, since we don't actually
8231 know what that command does.
8232 (delete-selection-self-insert-hooks): Remove.
8234 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
8236 * delsel.el (delete-selection-helper): New function, extracted from
8237 delete-selection-pre-hook.
8238 (delete-selection-pre-hook): Use it.
8239 (delete-selection-self-insert-function): New function.
8240 (delete-selection-self-insert-hooks): New hook.
8241 (self-insert-command, self-insert-iso): Use it.
8242 * electric.el (electric-pair-syntax): New function, extracted from
8243 electric-pair-post-self-insert-function.
8244 (electric-pair-post-self-insert-function): Use it.
8245 (electric-pair-delete-selection-self-insert-function): New function.
8246 (electric-pair-mode): Require delsel and setup
8247 delete-selection-self-insert-hooks (bug#11520).
8249 2012-10-20 Chong Yidong <cyd@gnu.org>
8251 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8252 no changes to show (Bug#12586).
8254 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8255 list explicitly (Bug#12571).
8257 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8259 * progmodes/flymake.el (flymake-create-temp-inplace):
8262 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8264 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8266 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8268 * calc/calc-units.el (math-extract-units): Properly extract powers
8271 2012-10-20 Daniel Colascione <dancol@dancol.org>
8273 * frame.el (make-frame): Set x-display-name as we used to in order
8274 to unbreak creating an X11 frame from an Emacs daemon started
8277 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8279 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8280 the same completion-field (bug#12221).
8282 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8284 * emacs-lisp/debug.el (debug): Record height of debugger window
8285 also when debugger will be back (Bug#8789).
8287 2012-10-18 Chong Yidong <cyd@gnu.org>
8289 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8290 Convert to defcustom.
8291 (gdb-get-source-file): Don't bind pop-up-windows.
8293 * progmodes/gud.el (gud-display-line): Don't specially re-use
8294 other frames for the gdb-mi case (Bug#12648).
8296 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8298 * emacs-lisp/advice.el: Clean up commentary a bit.
8299 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8300 (byte-code-function-p): Never redefine.
8302 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8304 2012-10-18 Glenn Morris <rgm@gnu.org>
8306 * dired.el (dired-sort-toggle): Some ls implementations only allow
8307 a single option string. (Bug#12666)
8309 * minibuffer.el (completion-cycle-threshold): Doc fix.
8311 2012-10-17 Kenichi Handa <handa@gnu.org>
8313 * international/mule.el (set-keyboard-coding-system):
8314 Recover input meta mode when the new coding system doesn not use 8-bit.
8315 Supply TERMINAL arg to set-input-meta-mode.
8317 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8319 * wdired.el (wdired-old-marks): New variable.
8320 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8321 (wdired-do-renames): Move point with renamed file and don't lose
8322 mark status (Bug#11795).
8324 2012-10-16 Juri Linkov <juri@jurta.org>
8326 * replace.el (query-replace-help): Mention multi-buffer replacement
8327 keys in the Help message. (Bug#12655)
8329 2012-10-15 Chong Yidong <cyd@gnu.org>
8331 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8333 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8335 * window.el (display-buffer): Doc fix.
8337 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8338 Adjust the msft regexp to the output of Studio 2010, and move msft
8339 before edg-1. See the discussion on emacs-devel,
8340 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8343 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8345 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8346 (oset): Move uses of object-class-fast macro after its definition.
8348 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8350 2012-10-13 Chong Yidong <cyd@gnu.org>
8352 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8353 enabled, re-enable it (Bug#11963).
8355 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8357 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8358 non-nil, restore window configuration (Bug#12623).
8360 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8362 * help-fns.el (describe-variable, describe-function-1):
8363 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8365 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8367 2012-10-12 Glenn Morris <rgm@gnu.org>
8369 * mail/rmailsum.el (rmail-header-summary):
8370 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8372 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
8374 * progmodes/python.el (python-mode-map):
8375 Replace subtitute-key-definition with proper command remapping.
8376 (python-nav--up-list): Fix behavior for blocks on the same level.
8378 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8380 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8382 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8383 changes to the format of load-history.
8385 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8386 completion-ignore-case in case that var is buffer-local (bug#12615).
8388 2012-10-11 Kenichi Handa <handa@gnu.org>
8390 * international/eucjp-ms.el: Re-generated.
8392 2012-10-10 Kenichi Handa <handa@gnu.org>
8394 * select.el (xselect--encode-string): If a coding is specified for
8395 selection, and that is compatible with COMPOUND_TEXT, use it.
8397 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8399 * window.el (switch-to-buffer-preserve-window-point): New option.
8401 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8403 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8405 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8406 Don't document nil as a useful value (bug#12583).
8408 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8410 * net/tramp.el (tramp-debug-message):
8411 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8412 (with-tramp-progress-reporter): Rename from
8413 `tramp-with-progress-reporter'.
8414 (with-tramp-file-property, with-tramp-connection-property):
8415 Move from tramp-cache.el, rename from `with-file-property' and
8416 `with-connection-property', respectively.
8418 * net/tramp-cache.el: Remove `with-file-property' and
8419 `with-connection-property'.
8422 * net/tramp-gvfs.el:
8424 * net/tramp-smb.el: Adapt callees.
8426 * net/trampver.el: Update release number.
8428 2012-10-09 Glenn Morris <rgm@gnu.org>
8430 * w32-fns.el (set-message-beep):
8431 * term/w32-win.el (set-message-beep): Update declarations.
8433 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8435 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8436 (mode-line-widen, mode-line-input-method-map)
8437 (mode-line-coding-system-map, mode-line-remote)
8438 (mode-line-unbury-buffer, mode-line-bury-buffer)
8439 (mode-line-next-buffer, mode-line-previous-buffer):
8440 Replace save-selected-window+select-window => with-selected-window.
8442 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8443 * progmodes/cc-vars.el (bq-process): Remove, unused.
8445 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8447 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
8449 Implemented `backward-up-list'-like navigation.
8450 * progmodes/python.el (python-nav-up-list)
8451 (python-nav-backward-up-list): New functions.
8452 (python-mode-map): Define substitute key for backward-up-list to
8453 python-nav-backward-up-list.
8455 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8457 * progmodes/python.el (python-fill-paragraph): Rename from
8458 python-fill-paragraph-function. Fixed fill-paragraph for
8459 decorators (Bug#12605).
8461 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8463 * progmodes/python.el (python-shell-output-filter): Handle extra
8464 carriage return in OSX (Bug#12409).
8466 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8468 Fix shell handling of unbalanced quotes and parens in output.
8469 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8470 (python-syntax-propertize-function): Use it.
8471 (python-shell-output-syntax-table): New var.
8472 (inferior-python-mode): Prevent unbalanced parens/quotes from
8473 previous output mess with current input context.
8475 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8477 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8478 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8480 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8482 * ffap.el (ffap-replace-file-component): Support Tramp file name
8483 syntax, not only ange-ftp's one.
8485 2012-10-08 Glenn Morris <rgm@gnu.org>
8487 * cus-start.el (message-log-max): Set :version.
8489 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8491 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8493 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8494 the minibuffer window (Bug#10851).
8496 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8498 Enhancements on forward-sexp movement.
8499 * progmodes/python.el (python-nav-beginning-of-statement)
8500 (python-nav-end-of-statement): Return point-marker.
8501 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8502 (python-info-current-symbol)
8503 (python-info-statement-starts-block-p): Rename from
8504 python-info-beginning-of-block-p.
8505 (python-info-statement-ends-block-p): Rename from
8506 python-info-end-of-block-p.
8507 (python-info-beginning-of-statement-p)
8508 (python-info-end-of-statement-p)
8509 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8512 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8514 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8515 frame-selected-windows.
8517 2012-10-08 Daniel Colascione <dancol@dancol.org>
8519 * battery.el (battery-status-function): Check for
8520 w32-battery-status itself, not system-time windows-nt.
8522 * frame.el: Require cl-lib.
8523 (display-format-alist): New variable mapping frame types to
8524 functions that initialize them.
8525 (window-system-for-display): New function: interprets
8526 display-format-alist.
8527 (make-frame-on-display): Remove existing display-selection logic
8528 and just forward to make-frame, which will now DTRT.
8529 (make-frame): Restructure to use window-system-for-display to
8530 figure out how to create a frame on a given display.
8531 (display-mouse-p): Look for frame-type w32, not a particular
8534 * loadup.el: Load w32 lisp code when we have the w32 feature.
8536 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8537 system-type windows-nt.
8539 * server.el (server-create-window-system-frame): Look for window
8541 (server-proces-filter): Only force a window system when windows-nt
8542 _and_ w32. Explain why.
8544 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8545 of window systems we configure for the mode.
8547 * startup.el (command-line): Mark window system is initialized
8548 after we've done it.
8550 * common-win.el (x-select-text): Look for w32, not windows-nt.
8552 * ns-win.el: Require cl-lib. Add ourselves to
8553 display-format-alist.
8554 (ns-initialize-window-system): Assert we're not initialized twice.
8556 * w32-win.el: Enable lexical binding; require cl-lib; add
8557 ourselves to display-format-alist.
8558 (w32-handle-dropped-file): Convert incoming dropped files from
8559 Windows paths to Cygwin ones before passing them on to the rest of
8561 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8562 (w32-initialize-window-system): Assert we're not initialized twice.
8564 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8565 (x-initialize-window-system): Assert we're not initialized twice.
8567 * w32-common-fns.el: New File.
8568 (w32-version, w32-using-nt, w32-get-clipboard-data)
8569 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8570 (w32-charset-info-alist, x-last-selected, text)
8571 (x-get-selection-value, x-selection-value): Move here.
8573 * w32-fns.el: Require w32-common-fns.
8574 (w32-version, w32-using-nt, w32-get-clipboard-data)
8575 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8576 (w32-charset-info-alist, x-last-selected, text)
8577 (x-get-selection-value, x-selection-value): Move to
8581 (w32-allow-system-shell, w32-system-shells): Define only in
8584 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8586 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8587 (read-passwd): Remove a few more potential sources of leaks.
8589 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8591 * progmodes/python.el (inferior-python-mode)
8592 (python-shell-make-comint): Fix initialization of local
8593 variables copied from parent buffer.
8595 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8597 * term/ns-win.el (ns-read-file-name): Update declaration to match
8599 (ns-respond-to-change-font): Change fontsize separately so we are sure
8600 it is set when font is acted upon.
8602 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8604 Enhancements to indentation.
8605 * progmodes/python.el (python-indent-context): Give priority to
8606 inside-string context. Make comments indentation markers.
8607 (python-indent-region): Do not mess with strings, unless it's the
8608 enclosing set of quotes.
8610 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * window.el (internal--before-save-selected-window)
8613 (internal--after-save-selected-window): New functions extracted from
8614 save-selected-window. Make sure we return the `alist' we construct.
8615 (save-selected-window): Use them.
8617 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8618 Use with-selected-window.
8620 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8621 forms that define macros (bug#12593).
8623 2012-10-07 Kenichi Handa <handa@gnu.org>
8625 * international/mule-conf.el (compound-text-with-extensions):
8626 Add :mime-charset property as x-ctext.
8628 2012-10-07 Stefan Merten <smerten@oekonux.de>
8630 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8631 (rst-indent-literal-normal, rst-indent-literal-minimized)
8632 (rst-indent-comment): Correct :version tag.
8633 (rst-official-cvs-rev): Correct version string.
8635 2012-10-07 Glenn Morris <rgm@gnu.org>
8637 * mail/rmailmm.el (rmail-mime-process-multipart):
8638 Do not confuse a multipart message with an epilogue
8639 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8641 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8643 Fix shell output retrieval and comint-prompt-regexp init.
8644 * progmodes/python.el (inferior-python-mode):
8645 (python-shell-make-comint): Fix initialization of
8646 comint-prompt-regexp from copied file local variables.
8647 (python-shell-fetched-lines): Remove var.
8648 (python-shell-output-filter-in-progress): Rename from
8649 python-shell-fetch-lines-in-progress.
8650 (python-shell-output-filter-buffer): Rename from
8651 python-shell-fetch-lines-string.
8652 (python-shell-fetch-lines-filter): Delete function.
8653 (python-shell-output-filter): New function.
8654 (python-shell-send-string-no-output): Use them.
8656 2012-10-07 Glenn Morris <rgm@gnu.org>
8658 * hi-lock.el (hi-lock-process-phrase):
8659 Try to make it less fragile. (Bug#7161)
8661 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8663 2012-10-06 Glenn Morris <rgm@gnu.org>
8665 * ehelp.el (electric-help-mode): Use help-mode rather than
8666 non-existent mode `help'.
8667 (electric-help-map): Use button-buffer-map. (Bug#10917)
8669 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8670 (reftex-create-bibtex-footer): Fix custom types.
8672 * progmodes/sh-script.el (sh-indent-after-continuation):
8673 Add explicit :group.
8675 * textmodes/rst.el (rst-preferred-decorations)
8676 (rst-shift-basic-offset): Clarify obsolescence versions.
8678 * profiler.el (profiler): Add missing group :version tag.
8679 * avoid.el (mouse-avoidance-banish-position):
8680 * proced.el (proced-renice-command):
8681 * calc/calc.el (calc-ensure-consistent-units):
8682 * calendar/icalendar.el (icalendar-import-format-uid):
8683 * net/tramp.el (tramp-save-ad-hoc-proxies):
8684 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8685 * progmodes/flymake.el (flymake-error-bitmap)
8686 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8687 * progmodes/sh-script.el (sh-indent-after-continuation):
8688 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8689 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8690 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8691 (vhdl-array-index-record-field-in-sensitivity-list)
8692 (vhdl-indent-comment-like-next-code-line):
8693 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8694 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8695 (reftex-cite-key-separator, reftex-create-bibtex-header)
8696 (reftex-create-bibtex-footer):
8697 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8698 (rst-indent-literal-normal, rst-indent-literal-minimized)
8699 (rst-indent-comment): Add missing custom :version tags.
8701 * calendar/timeclock.el (timeclock-modeline-display):
8702 Add missing obsolete alias for renamed user option.
8704 * strokes.el (strokes-modeline-string):
8705 * emulation/crisp.el (crisp-mode-modeline-string):
8706 * eshell/esh-mode.el (eshell-status-in-modeline):
8707 Aliases to defcustoms must come before the defcustom.
8709 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8710 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8711 (cal-tex-cursor-week-monday): Doc fixes.
8712 (cal-tex-cursor-week2-summary): Doc fix.
8713 Rename from cal-tex-cursor-week-at-a-glance.
8715 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8716 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8718 * calendar/calendar.el (calendar-mode-map):
8719 Add cal-tex-cursor-week2-summary.
8721 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8723 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8725 * subr.el (read-passwd-map): New var.
8726 (read-passwd): Use `read-string' again.
8727 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8729 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8731 * register.el (append-to-register, prepend-to-register):
8732 Deactivate mark, as does `copy-to-register' (bug#12389).
8734 2012-10-06 Chong Yidong <cyd@gnu.org>
8736 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8738 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8740 * international/characters.el: Fix simple mistake ((car chars) ->
8741 elt), delete duplicated code.
8743 2012-10-06 Glenn Morris <rgm@gnu.org>
8745 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8747 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8749 * color.el (color-hsl-to-rgb): Fix incorrect results for
8750 small and large hue values. (Bug#12559)
8752 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8754 Enhancements to docstring formatting when filling paragraphs.
8755 * progmodes/python.el (python-fill-docstring-style): Rename from
8756 python-fill-string-style. Added new style.
8757 (python-fill-string): Use new style. Better checks for
8760 2012-10-05 Glenn Morris <rgm@gnu.org>
8762 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8764 * color.el (color-name-to-rgb, color-rgb-to-hex)
8765 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8766 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8767 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8768 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8770 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8772 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8774 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8775 to get the correct size across symlinks.
8777 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8779 2012-10-04 Juri Linkov <juri@jurta.org>
8781 * replace.el (query-replace-interactive): Declare obsolete.
8782 (query-replace-read-from): Add the last incremental search string
8783 to the list of default values accessible via M-n.
8784 (map-query-replace-regexp): Use `read-regexp'.
8785 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8786 (map-query-replace-regexp, replace-string, replace-regexp):
8787 Fix docstrings to replace mentions of `query-replace-interactive'
8788 with alternatives. (Bug#12526)
8790 2012-10-04 Juri Linkov <juri@jurta.org>
8792 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8793 (dired-pop-to-buffer): Declare obsolete.
8794 (dired-mark-pop-up): Doc fix.
8796 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8798 Allow user to set docstring style for fill-paragraph.
8799 * progmodes/python.el
8800 (python-fill-comment-function, python-fill-string-function)
8801 (python-fill-decorator-function, python-fill-paren-function):
8802 Remove :safe for defcustoms.
8803 (python-fill-string-style): New defcustom
8804 (python-fill-paragraph-function): Enhance context detection.
8805 (python-fill-string): Honor python-fill-string-style settings.
8807 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8809 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8810 after setting its buffer (Bug#10805).
8812 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8814 Fix cornercase for string syntax.
8815 * progmodes/python.el (python-syntax-propertize-function):
8816 Simplify and enhance the regexp for unescaped quotes. Now it also
8817 matches quotes in weird situations like the single quote in
8819 (python-syntax-stringify): Simplify num-quotes detecting code.
8821 2012-10-03 Glenn Morris <rgm@gnu.org>
8823 * help-macro.el (three-step-help):
8824 Revert 2012-09-29 change. (Bug#12567)
8826 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8828 * menu-bar.el (kill-this-buffer): Don't do anything when
8829 `menu-frame' is not alive or visible (Bug#8184).
8831 * emacs-lisp/debug.el (debug): When quitting the debugger window
8832 restore current buffer (Bug#12502).
8834 2012-10-02 Chong Yidong <cyd@gnu.org>
8836 * progmodes/hideif.el (hif-lookup, hif-defined):
8837 Handle semantic-c-takeover-hideif.
8839 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8841 Change sampling interval units from ms to ns.
8842 * profiler.el (profiler-sampling-interval): Change units
8843 from ms to ns, multiplying the default by 1000000 so that
8845 (profiler-report-cpu-line-format): Give enough room for
8846 the maximum counters on 64-bit hosts.
8847 (profiler-report-render-calltree-1): Call them "CPU samples",
8848 not "Time (ms)", since they are not milliseconds now (and
8851 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8853 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8854 Fix querying BBDB for entries without a last name (Bug#11580).
8856 2012-10-02 Chong Yidong <cyd@gnu.org>
8858 * emacs-lisp/eieio.el: Restore Version header.
8860 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8862 * vc/diff-mode.el (diff--auto-refine-data): New var.
8863 (diff-hunk): Use it to delay refinement.
8864 (diff-mode): Remove overlays when we turn off font-lock.
8866 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8867 (table-initialize-table-fixed-width-mode)
8868 (table-set-table-fixed-width-mode): Remove functions.
8869 (table-command-list): Move initialization into declaration.
8870 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8871 (table-with-cache-buffer): Use `declare'.
8872 (table-span-cell): Simplify via CSE.
8873 (table-fixed-width-mode): Use define-minor-mode.
8874 (table-call-interactively, table-funcall, table-apply): Remove.
8875 (table-function): New function, to replace them.
8877 * bookmark.el (bookmark-search-pattern): Remove var.
8878 (bookmark-read-search-input): Remove function.
8879 (bookmark-bmenu-search): Reimplement using a minibuffer.
8881 * faces.el (modeline): Remove obsolete face name.
8883 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8884 and give a non-nil default value.
8885 (add-change-log-entry): Simplify accordingly.
8887 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8889 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8890 (vc-git-log-edit-toggle-amend): New function.
8891 (vc-git-log-edit-toggle-signoff): New function.
8892 (vc-git-log-edit-mode): New major mode.
8893 (vc-git-log-edit-mode-map): Keymap for it.
8894 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8896 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8898 (log-edit-toggle-header): New function.
8899 (log-edit-extract-headers): Accept function values in HEADERS alist.
8901 2012-10-01 David Engster <deng@randomsample.de>
8903 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8904 from symbol property and change message to be more consistent with
8906 (eieio-describe-generic): Add filename for each implementation.
8907 Fix indices for generic and normal methods.
8908 (eieio-method-def, eieio-class-def): New buttons.
8909 (eieio-help-find-method-definition)
8910 (eieio-help-find-class-definition): New functions.
8911 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8912 class, constructor and method definitions.
8914 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8915 information in symbol property.
8916 (scoped-class): Remove.
8917 (eieio-slot-name-index, call-next-method): Check if it is bound.
8919 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8921 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8922 (eieio-custom-mode): New major mode.
8923 (eieio-customize-object): Use it.
8925 2012-10-01 Eric Ludlam <zappo@gnu.org>
8927 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8928 specifying the expected class, and whether subclassing is allowed.
8929 (eieio-persistent-convert-list-to-object):
8930 (eieio-persistent-validate/fix-slot-value)
8931 (eieio-persistent-slot-type-is-class-p): New functions.
8932 (eieio-named::slot-missing): Doc fix.
8934 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8935 Stop using unused publd variable.
8937 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8938 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8939 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8940 (eieio-speedbar-handle-click): Do not specify a class for the
8941 method. Fixes method invocation order problems with EDE.
8943 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8945 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8946 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8948 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8950 * bookmark.el (bookmark-version-control): Give tags in the
8951 :type choices (Bug#12309), and improve doc string.
8952 (bookmark-write-file): Bind `print-circle' to `t' to allow
8953 circular custom bookmark types. (Bug#12503)
8955 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8957 Revert the FOLLOW-SYMLINKS change for file-attributes.
8958 * files.el (remote-file-name-inhibit-cache, after-find-file):
8959 * time.el (display-time-file-nonempty-p): Undo last change.
8961 * profiler.el (profiler-sampling-interval): Change default back to 1.
8962 See Stefan Monnier in
8963 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8965 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8967 Shell output catching a la gud-gdb.
8968 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8969 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8971 (python-shell-fetch-lines-filter): New function.
8972 (python-shell-send-string-no-output): Use them.
8974 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8976 * profiler.el (profiler-sampling-interval): Rename from
8977 profiler-sample-interval.
8978 (profiler-sampling-interval): Default to 10.
8979 (profiler-find-profile): New command (was profiler-find-log).
8980 (profiler-find-profile-other-window): New command.
8981 (profiler-find-profile-other-frame): New command.
8982 (profiler-profile): Introduce API-level data structure.
8984 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8986 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8987 * files.el (remote-file-name-inhibit-cache):
8988 * time.el (display-time-file-nonempty-p): Use it.
8989 * files.el (after-find-file): Don't chase links before calling
8990 file-exists-p, as file-exists-p already does the right thing.
8992 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8994 Merge from standalone RefTeX repository.
8996 The following ChangeLog entries are shortened versions of the
8997 original ones with file paths adapted. A not so strongly edited
8998 version of the original ChangeLog can be found in the commit log.
9000 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
9001 (reftex-arg-cite): Use `reftex-cite-key-separator'.
9002 Correctly handle new value type returned by `reftex-citation'.
9004 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
9005 that entries with whitespace at various places are found.
9006 Doc fix. Include entries that are cross-referenced from cited entries.
9007 Include @String definitions in the resulting bib file. Add header
9008 and footer defined in `reftex-create-bibtex-header' and
9009 `reftex-create-bibtex-footer'.
9010 (reftex-do-citation): Make it possible again to insert
9011 non-existent entries. Save match data when asking for optional
9012 arguments. Return all keys, not just the first one.
9013 (reftex-all-used-citation-keys): Fix regexp to correctly extract
9014 all citations in the same line.
9015 (reftex-parse-bibtex-entry): Accept additional optional argument
9016 `raw' and keep quotes or braces if it is non-nil. Match fields
9017 containing hyphens besides word constituents.
9018 (reftex-get-string-refs): New function.
9019 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
9020 and ask if it should be reread in case it did.
9021 (reftex-pop-to-bibtex-entry)
9022 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
9023 entries with spaces or tabs in front of arguments.
9024 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9025 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
9026 Match entries containing numbers and symbol constituents.
9027 (reftex-do-citation, reftex-figure-out-cite-format):
9028 Use `reftex-cite-key-separator'.
9030 * textmodes/reftex-dcr.el: Move provide statement to end of file.
9031 (reftex-mouse-view-crossref): Explain why point is set.
9033 * textmodes/reftex-global.el: Whitespace changes.
9035 * textmodes/reftex-index.el: Move provide statement to end of
9037 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
9038 (reftex-index-visit-phrases-buffer): Set marker when visiting
9039 buffer. This allows for returning from the phrases file to the
9040 file one was just editing instead of the file where the last
9041 phrases was added from.
9042 (reftex-index-phrases-syntax-table): New variable. Give ?\"
9043 punctuation syntax as it usually is not used as string quote in
9044 TeX-related modes and may occur unmatched. The change also
9045 prevents fontification of quoted content.
9046 (reftex-index-phrases-mode): Use it.
9048 * textmodes/reftex-parse.el (reftex-parse-from-file):
9049 Move backward one char if a `\' was matched after a section macro.
9050 (reftex-parse-from-file): Use beginning of match instead of end as
9053 * textmodes/reftex-ref.el: Adapt creation of
9054 `reftex-<package>-<macro>' functions to new structure of
9055 `reftex-ref-style-alist'.
9056 (reftex-reference): Use `reftex-ref-style-list' function.
9057 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
9058 reference macro if `reftex-ref-macro-prompt' is non-nil.
9059 (reftex-reference): Pass refstyle to `reftex-format-special'.
9060 Determine reference macro by looking at
9061 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
9062 Use only one special format function.
9063 (reftex-varioref-vref, reftex-fancyref-fref)
9064 (reftex-fancyref-Fref): Remove definitions. The functions are now
9065 generated from `reftex-ref-style-alist'.
9066 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
9068 (reftex-format-special): New function.
9070 * textmodes/reftex-sel.el
9071 (reftex-select-cycle-ref-style-internal): Adapt to new structure
9072 of `reftex-ref-style-alist'. Remove code for testing macro type.
9073 (reftex-select-toggle-varioref)
9074 (reftex-select-toggle-fancyref): Remove.
9075 (reftex-select-cycle-ref-style-internal)
9076 (reftex-select-cycle-ref-style-forward)
9077 (reftex-select-cycle-ref-style-backward): New functions.
9078 (reftex-select-label-map): Use `v' and `V' for general cycling
9079 through reference styles. Add `p' for switching between number
9080 and page reference types.
9082 * textmodes/reftex-toc.el (reftex-re-enlarge):
9083 Call `enlarge-window' only if there is something to do because in Emacs
9084 the horizontal version throws an error even if the parameter is 0.
9086 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
9087 (reftex-plug-into-AUCTeX): Doc fix.
9088 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
9089 string. Adapt to new name.
9090 (reftex-ref-style-alist): Change structure so that it is not
9091 possible to use multiple different package names within a style.
9092 Remove the symbols for symbols for macro type distinction.
9093 Add characters for macro selection.
9094 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
9095 (reftex-create-bibtex-footer): New variables.
9096 (reftex-format-ref-function): Mention third argument of special
9098 (reftex-ref-style-alist, reftex-ref-style-default-list):
9100 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
9101 to new implementation. Mark as obsolete. Add compatibility code
9102 for honoring the variable values in case they are set.
9103 (reftex-cite-format-builtin, reftex-bibliography-commands):
9104 Add support for ConTeXt.
9105 (reftex-format-ref-function, reftex-format-cite-function):
9107 (reftex-cite-key-separator): New variable.
9109 * textmodes/reftex.el (reftex-syntax-table-for-bib)
9110 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
9111 `reftex-syntax-table' because parens have to retain their paren
9112 syntax in order for parsing of BibTeX entries like @book(...) to
9114 (reftex-in-comment): Do not error out if `comment-start-skip' is
9115 not set. Deal correctly with escaped comment characters.
9116 (reftex-tie-multifile-symbols): Add doc string.
9117 Initialize `reftex-ref-style-list'.
9118 (reftex-untie-multifile-symbols): Add doc string.
9119 (reftex-add-index-macros): Doc fix.
9120 (reftex-ref-style-activate, reftex-ref-style-toggle)
9121 (reftex-ref-style-list): New functions.
9122 (reftex-mode-menu): Use them. Adapt to new structure of
9123 `reftex-ref-style-alist'.
9124 (reftex-select-with-char): Kill the RefTeX Select buffer when
9126 (reftex-remove-if): New function.
9127 (reftex-erase-all-selection-and-index-buffers)
9128 (reftex-mode-menu): Reference styles are now computed from
9129 `reftex-ref-style-alist'. Fix typo.
9130 (reftex-report-bug): New function.
9131 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
9132 algorithms with O(n log n). Introduce optional argument SORT (not
9135 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
9137 Enhancements for triple-quote string syntax.
9138 * progmodes/python.el (python-syntax-propertize-function):
9139 Match both quote cases in one regexp.
9140 (python-syntax-stringify): Handle matches properly.
9142 2012-09-30 Juri Linkov <juri@jurta.org>
9144 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
9145 to nil around the call to `insert' to prevent
9146 directory time modification by lock_file. (Bug#2295)
9147 * tar-mode.el (tar-summarize-buffer): Idem.
9149 2012-09-30 Juri Linkov <juri@jurta.org>
9151 * facemenu.el (list-colors-sort): Add option "Luminance".
9152 (list-colors-sort-key): Implement it.
9154 * vc/diff-mode.el (diff-refine-removed):
9155 * vc/ediff-init.el (ediff-fine-diff-A):
9156 * vc/smerge-mode.el (smerge-refined-removed):
9157 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
9159 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
9161 * term/ns-win.el (x-file-dialog): New function.
9163 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
9165 * ido.el (ido-max-directory-size): Default to nil; the current
9166 default is small for POSIX systems, and impractical on Windows 7
9167 now that lstat returns directory sizes for NTFS.
9169 2012-09-30 Martin Rudalics <rudalics@gmx.at>
9171 In buffer display functions handle window-height/window-width
9172 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
9173 * window.el (window--display-buffer): New argument ALIST.
9174 Obey window-height and window-width alist entries.
9175 (window--try-to-split-window): New argument ALIST.
9176 Bind window-combination-limit to t when the window's size shall be
9177 changed and window-combination-limit equals `window-size'.
9178 (display-buffer-in-atom-window)
9179 (display-buffer-in-major-side-window)
9180 (display-buffer-in-side-window, display-buffer-same-window)
9181 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9182 (display-buffer-pop-up-window, display-buffer-below-selected)
9183 (display-buffer-at-bottom, display-buffer-in-previous-window)
9184 (display-buffer-use-some-window): Adjust all callers of
9185 window--display-buffer and window--try-to-split-window.
9186 (fit-frame-to-buffer): New option.
9187 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
9189 (display-buffer-in-major-side-window): Evaluate window-height /
9190 window-width alist entries.
9192 * help.el (temp-buffer-resize-frames)
9193 (temp-buffer-resize-regexps): Remove options.
9194 (temp-buffer-resize-mode): Adjust doc-string.
9195 (resize-temp-buffer-window): Don't consult
9196 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
9197 temp-buffer-resize-frames.
9199 * dired.el (dired-mark-pop-up):
9200 Call display-buffer-below-selected with a fit-window-to-buffer alist
9203 2012-09-30 Chong Yidong <cyd@gnu.org>
9205 * server.el (server-host): Document the security implications.
9206 (server-auth-key): Doc fix.
9208 * startup.el (initial-buffer-choice): Doc fix.
9210 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
9212 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
9215 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
9217 * help-fns.el (help-fns--obsolete): Fix last change.
9219 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
9221 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
9222 (minor-mode-map-alist): Remove redundant code.
9224 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
9225 visited in a buffer.
9226 (cvs-insert-visited-file): New function.
9227 (find-file-hook): Use it.
9229 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
9231 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
9233 (log-edit-empty-buffer-p): Don't require a space after a header.
9235 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
9237 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
9239 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
9240 a proper minor-mode.
9242 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
9244 2012-09-29 Glenn Morris <rgm@gnu.org>
9246 * winner.el (winner-mode): Remove variable (let define-minor-mode
9248 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9250 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9251 (winner-mode): Use define-minor-mode.
9253 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9254 the full definition in loaddefs, rather than duplicating it.
9256 * help-macro.el (three-step-help): No need to autoload defcustom.
9258 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9259 (inferior-lisp-program, inferior-lisp-load-command)
9260 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9261 No need to autoload defcustoms.
9263 * hippie-exp.el (hippie-expand-try-functions-list)
9264 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9265 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9266 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9267 (hippie-expand-only-buffers): No need to autoload defcustoms.
9268 * progmodes/vhdl-mode.el (vhdl-line-expand):
9269 Explicitly load hippie-exp, so it does not get autoloaded
9270 while hippie-expand-try-functions-list is let-bound.
9272 2012-09-28 Glenn Morris <rgm@gnu.org>
9274 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9276 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9277 Only "cl.el" counts as cl these days.
9279 2012-09-28 Juri Linkov <juri@jurta.org>
9281 Display archive errors in the echo area instead of inserting
9284 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9285 to STDERR-TEST that can be a regexp matching a successful output.
9286 Create a temporary file and redirect stderr to it. Search for
9287 STDERR-TEST in the stderr output and display it in the echo area
9288 if no match is found.
9289 (archive-extract-by-file): New function like
9290 `archive-extract-by-stdout' but extracting archives to files
9291 and looking for successful matches in stdout. Function body is
9292 mostly copied from `archive-rar-extract'.
9293 (archive-rar-extract): Use `archive-extract-by-file'.
9294 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9296 2012-09-28 Leo Liu <sdl.web@gmail.com>
9298 * pcomplete.el (pcomplete-show-completions):
9299 Use minibuffer-message to make pcomplete usable in minibuffer.
9301 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9303 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * type-break.el: Use lexical-binding.
9306 (type-break-mode): Use define-minor-mode.
9308 * emacs-lisp/pcase.el (pcase--mark-used): New.
9309 (pcase--u1): Use it (bug#12512).
9311 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9312 in load-history with the right file name.
9314 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9316 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9317 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9318 (doc-view-get-bounding-box): Make bounding box slicing work for
9319 ODF and DVI documents.
9321 2012-09-28 Glenn Morris <rgm@gnu.org>
9323 * type-break.el (type-break-mode, type-break-interval)
9324 (type-break-good-rest-interval, type-break-keystroke-threshold):
9325 No need to autoload.
9326 (type-break-good-rest-interval, type-break-keystroke-threshold):
9329 2012-09-28 Chong Yidong <cyd@gnu.org>
9331 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9334 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9336 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9338 2012-09-27 Glenn Morris <rgm@gnu.org>
9340 * faces.el (x-display-name): Declare (for without-x builds).
9342 * linum.el (linum-format): Don't autoload it. Improve :type.
9344 * progmodes/tcl.el: Don't require outline when compiling.
9345 (outline-regexp, outline-level): Declare.
9346 * textmodes/sgml-mode.el: Don't require outline when compiling.
9347 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9349 * term.el (term-ansi-reset):
9350 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9352 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9353 files for RCS and SCCS. (Bug#9781)
9355 2012-09-27 Chong Yidong <cyd@gnu.org>
9357 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9358 change; value should be t.
9360 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9362 * image-mode.el: Use lexical-binding.
9363 (image-mode-winprops): Use t to stand for the window of
9364 a buffer that's not displayed.
9365 * doc-view.el (doc-view-new-window-function): Handle the new
9367 (doc-view-enlarge): Make it a real nop if the size is not changed.
9368 (doc-view-display): Handle the case where the buffer is not (yet?)
9369 displayed in any window.
9370 (doc-view-saved-settings): New var.
9371 (doc-view-mode): Use it.
9372 (doc-view-fallback-mode): Set it.
9374 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9375 Set lexical-binding.
9376 (minibuffer-eldef-shorten-default): New var.
9377 (minibuffer-default-in-prompt-regexps): Use it for new default.
9378 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9380 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9382 * international/uni-bidi.el:
9383 * international/uni-category.el:
9384 * international/uni-name.el:
9385 * international/uni-numeric.el: Regenerate.
9387 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9388 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * profiler.el: New file.
9392 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9394 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9395 (testcover-reinstrument): Simplify with CSE.
9397 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9399 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9401 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9403 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9404 (verilog-auto-input, verilog-auto-insert-lisp)
9405 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9406 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9407 (verilog-auto-unused, verilog-auto-wire)
9408 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9409 newline. Reported by Andrew Jones.
9410 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9411 Reported by Brad Dobbie.
9412 (verilog-batch-delete-trailing-whitespace):
9413 Create verilog-batch-delete-trailing-whitespace.
9414 Reported by Brad Dobbie.
9415 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9416 parameters from another module. Reported by Dan Katz.
9417 (verilog-auto, verilog-auto-assign-modport)
9418 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9419 AUTOINOUTMODPORT for UVM interface module shell generation.
9420 Reported by Brad Dobbie.
9421 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9423 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9424 Reported by Matt Martin.
9426 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9428 * window.el (window--resize-child-windows): When resizing child
9429 windows proportionally, process them in reverse order to
9430 preserve the "when splitting a window the new one gets the odd
9432 (window--resize-root-window-vertically): When resizing the
9433 minibuffer window try to affect only windows at the bottom of the
9436 2012-09-25 Chong Yidong <cyd@gnu.org>
9438 * subr.el (declare): Doc fix.
9440 * help-fns.el (help-fns--obsolete): Handle macros properly.
9442 2012-09-25 Chong Yidong <cyd@gnu.org>
9444 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9445 this function obsolete.
9447 * calendar/cal-x.el (calendar-two-frame-setup)
9448 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9449 * calendar/calendar.el (american-calendar, european-calendar)
9450 (calendar-for-loop):
9451 * comint.el (comint-dynamic-simple-complete)
9452 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9453 * desktop.el (desktop-load-default):
9454 * dired-x.el (dired-omit-here-always)
9455 (dired-hack-local-variables, dired-default-directory):
9456 * emacs-lisp/derived.el (derived-mode-class):
9457 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9458 * emacs-lock.el (toggle-emacs-lock):
9459 * epa.el (epa-display-verify-result):
9460 * epg.el (epg-sign-keys, epg-start-sign-keys)
9461 (epg-passphrase-callback-function):
9462 * eshell/esh-util.el (eshell-for):
9463 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9464 (eshell-add-to-window-buffer-names):
9465 * files.el (locate-file-completion):
9466 * imenu.el (imenu-example--create-c-index)
9467 (imenu-example--create-lisp-index)
9468 (imenu-example--lisp-extract-index-name)
9469 (imenu-example--name-and-position):
9470 * international/mule-cmds.el (princ-list):
9471 * international/mule-diag.el (decode-codepage-char):
9472 * international/mule-util.el (detect-coding-with-priority):
9473 * iswitchb.el (iswitchb-read-buffer):
9474 * mail/mailalias.el (mail-complete):
9475 * mail/sendmail.el (mail-sent-via):
9476 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9477 (mouse-major-mode-menu):
9478 * password-cache.el (password-read-and-add):
9479 * pcomplete.el (pcomplete-parse-comint-arguments):
9480 * progmodes/sh-script.el (sh-maybe-here-document):
9481 * replace.el (query-replace-regexp-eval):
9482 * savehist.el (savehist-load):
9483 * simple.el (choose-completion-delete-max-match):
9484 * term.el (term-dynamic-simple-complete):
9485 * vc/ediff-init.el (ediff-check-version):
9486 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9487 * vc/vc.el (vc-diff-switches-list):
9488 * view.el (view-return-to-alist-update): Likewise.
9490 * subr.el (eval-next-after-load, makehash, insert-string)
9491 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9493 (mode-line-inverse-video): Variable deleted.
9495 * international/mule-util.el (string-to-sequence): Remove.
9497 * calendar/calendar.el (calendar-version):
9498 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9499 (icalendar-convert-diary-to-ical):
9500 * cus-edit.el (custom-mode):
9501 * ansi-color.el (ansi-color-unfontify-region):
9502 * international/latin1-disp.el (latin1-char-displayable-p):
9503 * progmodes/cwarn.el (turn-on-cwarn-mode):
9504 * progmodes/which-func.el (which-func-update-1):
9505 Use define-obsolete-function-alias.
9507 * net/newst-backend.el (newsticker-cache-filename):
9508 * net/newst-treeview.el (newsticker-groups-filename):
9509 Fix incorrect obsolescence declaration.
9511 * allout.el (allout-passphrase-hint-string): Likewise.
9512 (allout-init): Use a declare form to mark obsolete.
9514 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9515 this applies to functions.
9517 * iswitchb.el (iswitchb-read-buffer): Move code of
9518 iswitchb-define-mode-map here, and delete that obsolete function.
9520 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9521 font-lock-reference-face.
9523 2012-09-25 Glenn Morris <rgm@gnu.org>
9525 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9528 * eshell/em-term.el (eshell-term-name):
9529 Default to term-term-name. (Bug#12485)
9531 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9533 * progmodes/python.el (python-shell-send-buffer): Better handling
9534 of "if __name__ == '__main__':" conditionals when sending the buffer.
9536 2012-09-24 Glenn Morris <rgm@gnu.org>
9538 * eshell/esh-cmd.el (eshell-find-alias-function):
9539 Tighten up file-name regexp. (Bug#12499)
9541 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9543 Enhancements for triple-quote string syntax.
9544 * progmodes/python.el (python-quote-syntax): Remove.
9545 (python-syntax-propertize-function): New value.
9546 (python-syntax-count-quotes, python-syntax-stringify):
9549 2012-09-24 Chong Yidong <cyd@gnu.org>
9551 * mail/supercite.el (sc-version): Remove obsolete function.
9552 (sc-describe): Don't mark as obsolete, since it is bound.
9553 (sc-submit-bug-report): Remove.
9555 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9556 (cvs-commit-buffer-require-final-newline): Remove.
9557 (log-edit-require-final-newline)
9558 (log-edit-changelog-full-paragraphs): Default to t.
9560 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9561 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9562 * vc/vc.el (vc-checkout-carefully): Likewise.
9564 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9565 (emerge-version): Remove.
9567 * progmodes/compile.el (compile-internal): Remove.
9568 (compilation-parse-errors-function): Fix typo.
9570 * international/mule.el (set-char-table-default): Remove.
9571 (set-coding-priority, make-coding-system, generic-char-p)
9572 (charset-list, charset-bytes, charset-id): Use declare to mark
9573 functions as obsolete.
9575 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9576 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9577 * vc/vc-hooks.el (vc-default-registered): Don't use
9578 vc-master-templates.
9580 * font-lock.el (font-lock-reference-face):
9581 Use define-obsolete-variable-alias.
9583 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9584 * calendar/calendar.el (calendar-font-lock-keywords):
9585 * calendar/diary-lib.el (diary-font-lock-keywords)
9586 (diary-fancy-font-lock-keywords):
9587 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9588 * textmodes/reftex-index.el (reftex-insert-index):
9589 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9590 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9591 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9592 * progmodes/prolog.el (prolog-font-lock-keywords):
9593 * progmodes/idlwave.el (idlwave-idl-keywords):
9594 * progmodes/ada-mode.el (ada-font-lock-keywords):
9595 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9597 2012-09-24 Glenn Morris <rgm@gnu.org>
9599 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9601 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9603 * progmodes/python.el (python-indent-line): More consistent cursor
9606 2012-09-23 Stefan Merten <smerten@oekonux.de>
9608 * textmodes/rst.el: Fix compiler warning.
9610 2012-09-23 Roland Winkler <winkler@gnu.org>
9612 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9613 Transcribe also LaTeX hyphenation.
9614 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9615 bibtex-reformat-previous-options.
9617 2012-09-23 Roland Winkler <winkler@gnu.org>
9619 * proced.el (proced-renice-command): New variable.
9620 (proced-marked-processes): New function.
9621 (proced-with-processes-buffer): New macro.
9622 (proced-send-signal): Use them.
9623 (proced-renice): New command bound to r.
9625 2012-09-23 Roland Winkler <winkler@gnu.org>
9627 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9628 ibuffer-saved-filter-groups has one element, shortcut the call of
9629 completing-read. (Bug#12331)
9631 2012-09-23 Chong Yidong <cyd@gnu.org>
9633 * bindings.el (mode-line-toggle-read-only):
9634 * bs.el (bs-toggle-readonly):
9635 * buff-menu.el (Buffer-menu-toggle-read-only):
9636 * dired.el (dired-toggle-read-only):
9637 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9639 2012-09-23 Chong Yidong <cyd@gnu.org>
9641 * image.el (image-type-available-p): Adapt to init-image-library
9644 2012-09-22 Juri Linkov <juri@jurta.org>
9646 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9647 `dired-toggle-read-only'. (Bug#12462)
9649 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9651 * subr.el (temp-output-buffer-show): New function.
9652 (with-output-to-temp-buffer): Call temp-output-buffer-show
9653 instead of internal-temp-output-buffer-show.
9655 2012-09-22 Chong Yidong <cyd@gnu.org>
9657 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9660 * repeat.el (repeat): Doc fix (Bug#12348).
9662 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9665 * simple.el (shell-command-on-region): Doc fix.
9666 (read-only-mode): Doc fix.
9668 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9670 * emacs-lisp/timer.el (run-with-idle-timer)
9671 (timer-activate-when-idle): Warn against reinvoking an idle timer
9672 from within its own timer action. (Bug#12447)
9674 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9676 * cus-start.el (window-combination-limit): Add new optional
9678 * window.el (temp-buffer-window-show)
9679 (window--try-to-split-window): Handle new values of
9680 window-combination-limit (Bug#1806).
9681 (split-window): Test window-combination-limit for t instead of
9683 (display-buffer-at-bottom): New buffer display action function.
9684 * help.el (temp-buffer-resize-regexps): New option.
9685 (temp-buffer-resize-mode): Rewrite doc-string.
9686 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9687 Don't resize reused window. Suggested by Glenn Morris.
9689 2012-09-22 Stefan Merten <smerten@oekonux.de>
9691 * textmodes/rst.el: Revamp section title faces.
9692 (rst-official-version)
9693 (rst-package-emacs-version-alist): Sync with official version
9695 (rst-faces-defaults, rst-set-level-default)
9696 (rst-level-face-max, rst-level-face-base-color)
9697 (rst-level-face-base-light, rst-level-face-format-light)
9698 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9699 (rst-adornment-faces-alist): Match new setup.
9700 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9701 (rst-level-5, rst-level-6): New faces.
9703 2012-09-22 Chong Yidong <cyd@gnu.org>
9705 * simple.el (undo): Handle indirect buffers (Bug#8207).
9707 2012-09-21 Leo Liu <sdl.web@gmail.com>
9709 IDO: Disable match re-ordering for buffer switching.
9710 * ido.el (ido-buffer-disable-smart-matches): New variable.
9711 (ido-set-matches-1): Use it. (Bug#2042)
9713 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9715 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9716 Fix 2011-05-17 change. (Bug#12418)
9718 2012-09-21 Leo Liu <sdl.web@gmail.com>
9720 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9722 2012-09-21 Glenn Morris <rgm@gnu.org>
9724 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9725 Be more robust about locating simple.el.
9727 2012-09-21 Glenn Morris <rgm@gnu.org>
9729 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9731 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9733 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9735 2012-09-20 Juri Linkov <juri@jurta.org>
9737 * replace.el (query-replace-read-from): Use `read-regexp' instead
9738 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9739 (occur-read-primary-args): Use `read-regexp' instead of
9741 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9742 `read-from-minibuffer'.
9743 * isearch.el (isearch-occur): Use `read-regexp' instead of
9745 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9746 `read-from-minibuffer'.
9747 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9748 of `read-string'. (Bug#7567)
9750 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9751 and allow accepting a list of strings prepended to a list of
9752 standard default values. Doc fix. (Bug#12321)
9754 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9756 * replace.el (read-regexp): Don't add ": " when PROMPT already
9757 ends with a colon and space. (Bug#12321)
9759 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9761 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9764 2012-09-20 Stefan Merten <smerten@oekonux.de>
9766 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9767 Fixes feature request bug#11711.
9768 (rst-mode): Create `imenu-create-index-function'.
9769 (rst-get-stripped-line): Delete after refactoring.
9770 (rst-section-tree, rst-section-tree-rec)
9771 (rst-section-tree-point): Refactor and document properly.
9772 (rst-imenu-find-adornments-for-position)
9773 (rst-imenu-convert-cell, rst-imenu-create-index):
9776 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9778 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9779 (macroexp--expand-all): Use it.
9780 (macroexp--funcall-and-return): Remove by folding it into its sole
9781 caller (macroexp--warn-and-return).
9782 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9783 Use macroexp--obsolete-warning.
9785 * calc/calc.el: Fix last change by removing the whole chunk, since it
9786 was only needed back when Calc was not bundled.
9788 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9790 * emacs-lisp/debug.el (debug): Restore assignment to
9791 debugger-old-buffer removed on 2012-09-08.
9793 2012-09-20 Juri Linkov <juri@jurta.org>
9795 * dired-aux.el (dired-diff): Remove (require 'diff) since
9796 `diff-latest-backup-file' is now autoloaded.
9798 2012-09-20 Chong Yidong <cyd@gnu.org>
9800 * vc/diff.el (diff-latest-backup-file): Autoload.
9802 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * calc/calc.el: Remove redundant autoload shape check.
9805 (sel-mode): Don't defvar.
9806 (calc-get-stack-element): Add `sel-mode' arg instead.
9807 (calc-top, calc-top-list): Pass it this additional argument.
9808 * calc/calc-store.el (calc-store-map):
9809 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9810 (calc-map-equation, calc-outer-product, calc-inner-product):
9811 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9813 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9815 2012-09-19 Juri Linkov <juri@jurta.org>
9817 * dired-aux.el (dired-diff): Add (require 'diff) because
9818 `diff-latest-backup-file' is not autoloaded.
9819 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9820 of `dired-get-filename' to t to not report error when there is
9821 no default file on the current line.
9823 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9825 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9826 macroexp--eval-if-compile.
9827 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9828 (macroexp--expand-all): Use them (bug#12371).
9830 * doc-view.el (doc-view-guess-paper-size)
9831 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9833 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9835 New feature: set optimal slice from BoundingBox information.
9836 * doc-view.el (doc-view-mode-map): Add keybinding.
9837 (doc-view-menu): Add menu entry.
9838 (doc-view-set-slice): Adapt docstring.
9839 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9840 (doc-view-scale-bounding-box)
9841 (doc-view-set-slice-from-bounding-box): New functions.
9842 (doc-view-paper-sizes): New defvar.
9844 2012-09-19 Glenn Morris <rgm@gnu.org>
9846 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9847 (byte-compile-log-warning): Autoload. (Bug#12371)
9849 * calendar/calendar.el (calendar-american-month-header)
9850 (calendar-european-month-header, calendar-iso-month-header)
9851 (calendar-month-header): New options.
9852 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9853 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9855 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9857 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9859 2012-09-18 Juri Linkov <juri@jurta.org>
9861 * dired-aux.el (dired-diff): Restore original functionality of
9862 getting the default value, but keep new feature of using the
9863 latest existing backup file (`diff-latest-backup-file').
9865 2012-09-18 Juri Linkov <juri@jurta.org>
9867 * dired.el (dired-mark): If the region is active in Transient Mark
9868 mode, mark all files in the active region. Doc fix.
9869 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9870 Doc fix. (Bug#10624)
9872 2012-09-18 Juri Linkov <juri@jurta.org>
9874 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9875 attributes for M-n are pulled from the file at point.
9876 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9877 Suggested by Drew Adams. (Bug#10624)
9879 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9881 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9882 whitespace after "end".
9883 (ruby-do-end-to-brace): Collapse block to one line if it fits
9886 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9888 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9890 (debug): Don't remove debugger window when debugger is expected
9893 2012-09-18 Chong Yidong <cyd@gnu.org>
9895 * custom.el (defface): Doc fix.
9897 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9899 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9901 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9902 to initialize query-on-exit; then test that instead (bug#12288).
9904 2012-09-17 Stefan Merten <smerten@oekonux.de>
9906 * textmodes/rst.el: Add support for `testcover'.
9907 (rst-defcustom-testcover, rst-testcover-add-compose)
9908 (rst-testcover-add-1value): New functions.
9909 (rst-portable-mark-active-p): Replace by `use-region-p'.
9910 (rst-update-section, rst-classify-adornment)
9911 (rst-find-title-line): Mark `1value' forms.
9912 (rst-classify-adornment): Remove superfluous form.
9913 (rst-update-section, rst-get-adornments-around)
9914 (rst-adornment-complete-p, rst-get-next-adornment)
9915 (rst-adjust, rst-promote-region)
9916 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9917 (rst-find-pfx-in-region, rst-section-tree-rec)
9918 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9919 (rst-toc-node, rst-toc, rst-forward-section)
9920 (rst-iterate-leftmost-paragraphs)
9921 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9922 (rst-bullet-list-region)
9923 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9924 (rst-compile-find-conf, rst-compile)
9925 (rst-repeat-last-character): Fix style.
9927 2012-09-17 Chong Yidong <cyd@gnu.org>
9929 * comint.el (comint--complete-file-name-data): Don't add a space
9930 if the status is `sole'; that adds a gratuitous space in the
9931 completion-cycling case (Bug#12092).
9933 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9935 2012-09-17 Richard Stallman <rms@gnu.org>
9937 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9938 only in the mime-shown mode, not in raw mode.
9939 (rmail-mime): Toggle off mime by displaying the message without
9940 mime processing. (Bug#12305)
9942 * mail/rmail.el (rmail-retry-failure):
9943 Turn off mime processing first. (Bug#12037)
9945 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9947 2012-09-17 Chong Yidong <cyd@gnu.org>
9949 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9950 (shell-dynamic-complete-functions): Convert to defcustom.
9951 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9953 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9954 * comint.el (comint-prompt-read-only):
9955 * custom.el (defcustom):
9956 * hi-lock.el (hi-lock-mode):
9957 * ibuffer.el (ibuffer-formats):
9958 * ielm.el (ielm-prompt-read-only):
9959 * novice.el (disable-command):
9960 * saveplace.el (toggle-save-place):
9961 * speedbar.el (speedbar-supported-extension-expressions):
9962 * startup.el (auto-save-list-file-prefix, init-file-user)
9963 (after-init-hook, inhibit-startup-echo-area-message):
9964 * strokes.el (strokes-help):
9965 * time-stamp.el (time-stamp):
9966 * calendar/calendar.el (calendar, diary-file):
9967 * calendar/diary-lib.el (diary-mail-entries, diary)
9968 (diary-list-entries-hook):
9969 * calendar/holidays.el (holidays, calendar-holidays):
9970 * calendar/lunar.el (lunar-phases):
9971 * calendar/solar.el (sunrise-sunset):
9972 * emulation/edt.el (edt-load-keys):
9973 * emulation/viper.el (viper-mode):
9974 * eshell/em-alias.el (eshell-command-aliases-list):
9975 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9976 * international/ogonek.el (ogonek-information):
9977 * net/tramp-cmds.el (tramp-bug):
9978 * net/quickurl.el (quickurl-reread-hook-postfix):
9979 * play/decipher.el (decipher-font-lock-keywords):
9980 * progmodes/cc-styles.el (c-set-style):
9981 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9982 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9983 * progmodes/octave-mod.el (octave-mode):
9984 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9985 * progmodes/verilog-mode.el (verilog-read-defines):
9986 * textmodes/two-column.el (2C-mode): Likewise.
9988 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9990 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9991 that holds many addresses.
9993 2012-09-16 Chong Yidong <cyd@gnu.org>
9995 * align.el (align-areas): Call the indication function with
9996 positions instead of markers for arguments (Bug#12343).
9998 * files.el (parse-colon-path): Use split-string (Bug#12351).
10000 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10001 (display-buffer-function): Mark as obsolete.
10003 * progmodes/compile.el (compilation-parse-errors): Accept list
10004 values similar to font-lock-keywords (Bug#12136).
10005 Suggested by Oleksandr Manzyuk.
10006 (compilation-error-regexp-alist): Doc fix.
10008 2012-09-15 Glenn Morris <rgm@gnu.org>
10010 * version.el (emacs-bzr-version-bzr): New function.
10011 (emacs-bzr-get-version): Add optional EXTERNAL argument.
10013 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
10014 checkouts, check the parent dirstate matches the branch.
10015 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
10018 * version.el (emacs-bzr-version): Doc fix.
10019 (emacs-bzr-version-dirstate): New function.
10020 (emacs-bzr-get-version): For lightweight checkouts, if the parent
10021 is local try and check that it matches the branch. If not, just
10022 use dirstate information. (Bug#12441)
10024 2012-09-14 Juri Linkov <juri@jurta.org>
10026 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
10029 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
10033 * emacs-lisp/edebug.el: Miscellaneous cleanup.
10034 Remove obsolete byte-compiler hack that tried to silence some warnings.
10035 (edebug-submit-bug-report): Remove.
10036 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
10037 Remove aliases, use the un-prefixed name instead.
10038 (edebug-pop-to-buffer): Consider other frames.
10039 (edebug-original-read):: Make it more obvious that it's always defined.
10040 (edebug--make-form-data-entry, edebug--form-data-name)
10041 (edebug--form-data-begin, edebug--form-data-end): Rename from the
10042 single-dashed name, and implement with cl-defstruct.
10043 (edebug-set-form-data-entry): Use the standard accessors.
10044 (edebug-make-top-form-data-entry): Use push.
10045 (edebug-no-match): Drop useless `funcall'.
10046 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
10048 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
10049 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
10050 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
10051 (easy-menu-define, with-custom-print): Remove redundant specs.
10052 (edebug-outside-overriding-local-map)
10053 (edebug-outside-overriding-terminal-local-map): Remove, unused.
10054 (edebug--display): Bind unread-command-events directly to nil rather
10055 than binding it to unread-command-events and later setting it to nil.
10056 (edebug--display): Kill edebug-eval-buffer here...
10057 (edebug--recursive-edit): ...rather than here.
10058 Bind standard-output and standard-input.
10059 (edebug-eval): Check cl-macroexpand-all is fboundp.
10060 (edebug-temp-display-freq-count): Fix last change.
10062 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
10063 * subr.el (noreturn, 1value): Add `debug' spec.
10064 * emacs-lisp/advice.el: Require cl-lib.
10065 (ad-copy-tree): Remove, use copy-tree instead.
10066 (ad-dolist): Remove use dolist or cl-dolist instead.
10067 (ad-do-return): Remove, use cl-return instead.
10068 (defadvice): Add `debug' spec.
10070 2012-09-13 Juri Linkov <juri@jurta.org>
10072 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
10075 2012-09-13 Glenn Morris <rgm@gnu.org>
10077 * calc/calc.el (math-compose-expr):
10078 * calc/calc-ext.el (math-compose-expr):
10079 * progmodes/cc-defs.el (cl-macroexpand-all):
10080 * progmodes/cc-langs.el (delete-duplicates, mapcan)
10081 (cl-macroexpand-all): Update declarations.
10083 * vc/vc.el: No need to require ediff.
10084 (ediff-load-version-control): Declare.
10085 (ediff-vc-internal): Fix declaration.
10086 (vc-version-ediff): Require ediff.
10088 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10090 Use a more backwards-compatible timer format (Bug#12430).
10091 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
10092 being right after USECS, as that better supports old code that
10093 inadvisedly looked directly at the timer vector.
10095 2012-09-13 Kenichi Handa <handa@gnu.org>
10097 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
10098 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
10099 `coding-priority' property of these language environment.
10101 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10103 Fix glitches caused by addition of psec to timers (Bug#12430).
10104 * image.el (image-animate-timer):
10105 * time.el (display-time-world-timer):
10106 Use timer--function and timer--args rather than raw access to
10109 2012-09-13 Glenn Morris <rgm@gnu.org>
10111 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
10112 If not compiling a file, try using load-file-name.
10114 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10116 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
10118 (edebug-update-eval-list): Use `push'.
10120 * emacs-lisp/edebug.el: Use lexical-binding.
10121 Remove the "edebug-" prefix from non-dynamically-scoped variables.
10122 Mark unused args with underscore.
10123 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
10124 (edebug-form-data): Use defvar-local.
10125 (edebug-make-before-and-after-form, edebug-make-after-form):
10127 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
10128 Not dynamically scoped any more.
10129 (edebug--enter-trace): Add arguments `function' and `args'.
10130 Rename from edebug-enter-trace.
10131 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
10132 (edebug--update-coverage): Add `after-index' and `value' args.
10133 Rename from edebug-update-coverage.
10134 (edebug-slow-after): Call it accordingly.
10135 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
10136 edebug-recursive-edit.
10137 (edebug--display): Call it accordingly. Add args `value',
10138 `offset-index', and `arg-mode'. Rename from edebug-display.
10139 (edebug-debugger, edebug): Call it accordingly.
10140 (edebug-eval-display-list): Use dolist.
10142 2012-09-12 Juri Linkov <juri@jurta.org>
10144 * info.el (Info-search): Don't check for isearch-mode and
10145 isearch-regexp before let-binding search-spaces-regexp to
10146 Info-search-whitespace-regexp.
10147 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
10148 search-whitespace-regexp if isearch-lax-whitespace or
10149 isearch-regexp-lax-whitespace is non-nil.
10150 (Info-mode): Don't set local variable search-whitespace-regexp.
10151 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
10153 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10155 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
10156 (debugger-env-macro): Remove support for unread-command-char.
10158 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
10159 the temporary map re-appearing on emulation-mode-map-alists.
10161 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
10164 * ehelp.el (with-electric-help): Accept functions in
10165 electric-help-form-to-execute.
10166 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
10167 And replace unread-command-char -> unread-command-events.
10169 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
10171 Sync with Tramp 2.2.6.
10173 * net/tramp.el (tramp-accept-process-output): Don't use
10174 JUST-THIS-ONE in the XEmacs case.
10176 * net/trampver.el: Update release number.
10178 2012-09-12 Martin Rudalics <rudalics@gmx.at>
10180 * emacs-lisp/debug.el (debugger-previous-window-height):
10182 (debug): When debugger-jumping-flag is non-nil try to restore
10183 height of debugger window. (Bug#8789)
10185 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10187 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
10188 overriding-local-map and pre/post-command-hook here.
10189 (edebug-recursive-edit): Do it here instead (bug#12345).
10190 (edebug-outside-unread-command-char): Remove all uses of
10191 unread-command-char.
10193 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
10194 inhibit-debugger is bound instead.
10196 2012-09-11 Bastien Guerry <bzg@gnu.org>
10198 * subr.el (set-temporary-overlay-map): Add a docstring.
10201 2012-09-11 Bastien Guerry <bzg@gnu.org>
10203 * minibuffer.el (completion-table-subvert): Fix docstring.
10206 2012-09-11 Bastien Guerry <bzg@gnu.org>
10208 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
10210 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
10212 * progmodes/sql.el: Version 3.1
10213 (sql-db2-escape-newlines): New variable.
10214 (sql-escape-newlines-filter): Use it.
10216 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
10218 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
10220 2012-09-10 Dan Nicolaescu <dann@gnu.org>
10222 * vc/diff-mode.el (diff-mode-menu):
10223 Bind diff-remove-trailing-whitespace.
10225 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
10228 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
10229 (emacs-lisp-byte-code-mode): New functions.
10230 (eval-sexp-add-defvars): Don't skip defvars in column >0.
10231 (eval-defun-2): Remove bogus interactive spec.
10232 (lisp-indent-line): Remove redundant whole-exp code, now done in
10233 indent-according-to-mode.
10234 (save-match-data): Remove redundant indent data.
10236 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
10239 2012-09-09 Juri Linkov <juri@jurta.org>
10241 * replace.el (replace-regexp-lax-whitespace): New defcustom.
10242 (replace-lax-whitespace, query-replace-regexp)
10243 (query-replace-regexp-eval, replace-regexp): Doc fix.
10244 (perform-replace, replace-highlight): Let-bind
10245 isearch-lax-whitespace to replace-lax-whitespace and
10246 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
10248 * isearch.el (isearch-query-replace): Let-bind
10249 replace-lax-whitespace to isearch-lax-whitespace and
10250 replace-regexp-lax-whitespace to
10251 isearch-regexp-lax-whitespace. (Bug#10885)
10253 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10257 2012-09-09 Alan Mackenzie <acm@muc.de>
10259 * progmodes/cc-engine.el (c-state-cache-init):
10260 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10261 (c-record-parse-state-state):
10262 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10264 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10266 * register.el (register-separator): Rename from
10267 separator-register. All uses changed. Doc fix.
10268 (register): Fix version.
10270 2012-09-09 Chong Yidong <cyd@gnu.org>
10272 * replace.el (query-replace-map): Bind four new symbols for
10273 requesting window scrolling.
10275 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10276 query-replace-map (Bug#8948).
10278 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10280 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10281 since they are now in query-replace-map.
10283 * window.el (scroll-other-window-down): Make the arg optional.
10285 2012-09-09 Chong Yidong <cyd@gnu.org>
10287 * files.el (hack-local-variables-confirm): Use quit-window to kill
10288 the *Local Variables* buffer.
10290 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10292 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10293 not just expect to be at its beginning. Adjust callees.
10294 Succeed when do-end block has no space before the pipe character.
10295 (ruby-brace-to-do-end): When the original block is one-liner,
10296 convert to multiline. Reindent the result.
10298 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10300 * register.el (register): New group.
10301 (separator-register): New user option.
10302 (increment-register): Route it to `append-to-register', if
10303 register contains text. Implication is that `C-x r +' can now be
10304 used for appending to a text register (bug#12217).
10305 (append-to-register, prepend-to-register): Add separator based on
10306 `separator-register'.
10308 2012-09-08 Alan Mackenzie <acm@muc.de>
10310 AWK Mode: make auto-newline work when there's "==" in the pattern.
10311 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10313 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10314 Test more rigorously for "=" token.
10316 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10318 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10319 Only fail when reached LIMIT.
10321 2012-09-08 Chong Yidong <cyd@gnu.org>
10323 * dired.el (dired-mode-map): Don't bind M-=.
10325 * dired-aux.el (dired-diff): Use backup file as default.
10327 2012-09-08 Drew Adams <drew.adams@oracle.com>
10329 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10331 2012-09-08 Chong Yidong <cyd@gnu.org>
10333 * subr.el (syntax-after, syntax-class): Doc fix.
10335 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10337 * window.el (display-buffer-in-previous-window): New buffer
10338 display action function.
10340 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10341 (debugger-previous-window): New variable.
10342 (debug): Rewrite using display-buffer-in-previous-window,
10343 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10345 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10347 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10349 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10351 * progmodes/python.el (python-shell-send-string):
10352 When default-directory is remote, create temp file on remote
10354 (python-shell-send-file): When file is remote, pass local view of
10355 file paths to remote Python interpreter. (Bug#12340)
10357 2012-09-07 Chong Yidong <cyd@gnu.org>
10359 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10361 * files.el (after-find-file): Don't fail on a read-only buffer if
10362 require-final-newline is `visit' or `visit-save' (Bug#11156).
10364 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10366 * userlock.el (ask-user-about-supersession-threat):
10367 Use read-char-choice (Bug#12093).
10369 2012-09-07 Chong Yidong <cyd@gnu.org>
10371 * subr.el (buffer-narrowed-p): New function.
10373 * ses.el (ses-widen):
10374 * simple.el (count-words--buffer-message):
10375 * net/browse-url.el (browse-url-of-buffer): Use it.
10377 * simple.el (count-words-region): Don't signal an error if there
10378 is a non-nil prefix arg and the mark is not set.
10380 * help.el (describe-key-briefly): Allow the message to be seen
10381 when invoked from the minibuffer (Bug#7014).
10383 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10385 * progmodes/ruby-mode.el (ruby-end-of-defun)
10386 (ruby-beginning-of-defun): Simplify, allow indentation before
10387 block beginning and end keywords.
10388 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10389 (ruby-end-of-defun): Expect that the point is at the beginning of
10392 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10394 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10396 (cl--make-usage-args): Strip _ from argument names.
10398 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10400 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10401 obsolete alias speedbar-key-map.
10402 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10403 (vhdl-index-menu-init): Don't use obsolete variable
10404 font-lock-maximum-size.
10406 2012-09-06 Chong Yidong <cyd@gnu.org>
10408 * frame.el (window-system-version): Mark as obsolete.
10410 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10411 of obsolete variable speedbar-key-map.
10413 2012-09-06 Juri Linkov <juri@jurta.org>
10415 * replace.el (replace-lax-whitespace): New defcustom.
10416 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10417 (replace-string, replace-regexp): Mention it in docstrings.
10418 (perform-replace, replace-highlight): Let-bind
10419 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10420 to the values of replace-lax-whitespace and regexp-flag.
10421 Don't let-bind search-whitespace-regexp. (Bug#10885)
10423 * isearch.el (isearch-query-replace): Let-bind
10424 replace-lax-whitespace instead of let-binding
10425 replace-search-function and replace-re-search-function.
10426 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10427 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10428 (isearch-toggle-symbol): Set isearch-regexp to nil
10429 in isearch-word mode (like in isearch-toggle-word).
10431 2012-09-06 Juri Linkov <juri@jurta.org>
10433 * replace.el (replace-search-function)
10434 (replace-re-search-function): Set default values to nil.
10435 (perform-replace): Let-bind isearch-related variables based on
10436 replace-related values, call `isearch-search-fun' and let-bind
10437 the result to `search-function'. Remove code that sets
10438 `search-function' and `search-string' separately for
10440 (replace-highlight): Add new argument `delimited-flag' and
10441 rename other arguments to the names used in `perform-replace'.
10442 Let-bind `isearch-word' to the argument `delimited-flag'.
10443 (Bug#10885, bug#10887)
10445 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10447 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10448 ruby-beginning-of-indent, simplify, allow all keywords to have
10449 indentation before them.
10450 (ruby-beginning-of-indent): Adjust for above. Search until the
10451 found point is not inside a string or comment.
10452 (ruby-font-lock-keywords): Allow symbols to start with "@"
10453 character, give them higher priority than variables.
10454 (ruby-syntax-propertize-function)
10455 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10456 matchers. Expression expansions are not comments when inside a
10457 string, and there comment syntax status is irrelevant.
10458 (ruby-match-expression-expansion): New function. Check that
10459 expression expansion is inside a string, and it's not escaped.
10460 (ruby-font-lock-keywords): Use it.
10462 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10464 * help.el (temp-buffer-max-height): New default value.
10465 (temp-buffer-resize-frames): New option.
10466 (resize-temp-buffer-window): Optionally resize frame.
10468 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10469 (fit-frame-to-buffer): New function.
10471 2012-09-05 Glenn Morris <rgm@gnu.org>
10473 * emulation/cua-rect.el (cua--init-rectangles):
10474 * textmodes/picture.el (picture-mode-map):
10475 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10476 like forward-char and backward-char. (Bug#12317)
10478 2012-09-05 Leo Liu <sdl.web@gmail.com>
10480 * progmodes/flymake.el (flymake-warning-re): New variable.
10481 (flymake-parse-line): Use it.
10483 2012-09-05 Glenn Morris <rgm@gnu.org>
10485 * calendar/holidays.el (holiday-christian-holidays):
10486 Rename an entry. (Bug#12289)
10488 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10490 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10493 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10495 * loadup.el: Load macroexp. Remove hack.
10496 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10497 (macroexp--expand-all): Use it to get better warnings.
10498 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10499 (internal-macroexpand-for-load): New functions.
10500 (macroexp--pending-eager-loads): New var.
10501 (emacs-startup-hook): New hack to replace one in loadup.el.
10502 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10503 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10504 (cl-psetf): Simplify.
10505 (cl-defstruct): Add indent rule.
10507 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10509 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10510 over `user-mail-address' for the SMTP MAIL FROM envelope.
10511 (smtpmail-via-smtp): Ditto.
10513 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10515 * progmodes/ruby-mode.el: Clean up keybindings.
10516 (ruby-mode-map): Don't bind ruby-electric-brace,
10517 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10518 backward-kill-word, reindent-then-newline-and-indent.
10519 (ruby-mark-defun): Remove.
10520 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10521 (ruby-mode): Set local beginning-of-defun-function and
10522 end-of-defun-function values.
10524 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10526 * window.el (temp-buffer-window-setup-hook)
10527 (temp-buffer-window-show-hook): New hooks.
10528 (temp-buffer-window-setup, temp-buffer-window-show)
10529 (with-temp-buffer-window): New functions.
10530 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10531 (special-display-popup-frame): Make sure the window used shows BUFFER.
10533 * help.el (temp-buffer-resize-mode): Fix doc-string.
10534 (resize-temp-buffer-window): New optional argument WINDOW.
10536 * files.el (recover-file, save-buffers-kill-emacs):
10537 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10539 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10541 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10542 remote definition of `default-directory', ensure we can connect.
10544 2012-09-02 Juri Linkov <juri@jurta.org>
10546 Toggle whitespace matching mode with M-s SPC.
10547 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10549 * isearch.el (search-whitespace-regexp): Doc fix.
10550 Remove cons cell customization.
10551 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10552 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10554 (isearch-forward, isearch-forward-regexp): Doc fix.
10555 (isearch-toggle-lax-whitespace): New command.
10556 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10557 (re-search-forward-lax-whitespace)
10558 (re-search-backward-lax-whitespace): New functions.
10559 (isearch-whitespace-regexp): Remove function.
10560 (isearch-query-replace): Let-bind replace-search-function and
10561 replace-re-search-function.
10562 (isearch-occur): Let-bind search-spaces-regexp according to the
10563 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10564 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10565 condition for C-q SPC.
10566 (isearch-search-fun-default): Use new functions mentioned above.
10567 (isearch-search-forward, isearch-search-backward): Remove functions.
10568 (isearch-search): Don't let-bind search-spaces-regexp.
10569 (isearch-lazy-highlight-space-regexp): Remove variable.
10570 (isearch-lazy-highlight-lax-whitespace)
10571 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10572 (isearch-lazy-highlight-new-loop): Use them.
10573 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10575 2012-09-02 Chong Yidong <cyd@gnu.org>
10577 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10579 2012-09-02 Glenn Morris <rgm@gnu.org>
10581 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10583 2012-09-01 Glenn Morris <rgm@gnu.org>
10585 * term.el: Tidy up menu definitions.
10586 (term-mode-map): Use easymenu for In/Out, Complete menus.
10587 (term-pager-break-map): Initialize in the defvar.
10588 (term-terminal-menu, term-signals-menu): Define with easymenu.
10589 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10590 (term-pager-menu): New, extracted from term-process-pager.
10591 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10592 (term-update-mode-line): Propertize line/char and page items.
10593 (term-process-pager): Move keymap initialization elsewhere.
10595 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10597 * window.el (switch-to-prev-buffer): Handle additional values of
10598 BURY-OR-KILL argument. Don't switch in minibuffer window.
10599 (switch-to-next-buffer): Don't switch in minibuffer window.
10600 (quit-restore-window): New function based on quit-window.
10601 Handle additional values of former KILL argument.
10602 (quit-window): Call quit-restore-window with appropriate
10603 interpretation of KILL argument.
10604 (display-buffer-below-selected): New buffer display action
10607 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * minibuffer.el (completion-at-point-functions): Complete docstring
10612 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10614 Better seed support for (random).
10615 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10616 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10617 * play/mpuz.el, play/tetris.el, play/zone.el:
10618 * calc/calc-comb.el (math-init-random-base):
10619 * play/blackbox.el (bb-init-board):
10620 * play/life.el (life):
10621 * server.el (server-use-tcp):
10622 * type-break.el (type-break):
10623 Remove unnecessary call to (random t).
10624 * net/sasl.el (sasl-unique-id-function):
10625 Change (random t) to (random), now that the latter is more random.
10626 * play/life.el (life-initialized): Remove no-longer-needed var.
10628 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10630 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10631 Consider frame's buffer predicate when choosing the buffer.
10634 2012-08-30 Richard Stallman <rms@gnu.org>
10636 * simple.el (special-mode-map): Delete binding for `z'.
10638 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10640 * progmodes/compile.el (compilation-always-kill): Doc fix.
10642 2012-08-30 Chong Yidong <cyd@gnu.org>
10644 * window.el (display-buffer-reuse-frames): Make the obsolescence
10645 message more informative.
10647 2012-08-30 Glenn Morris <rgm@gnu.org>
10649 * paren.el (show-paren-delay):
10650 Add a :set function. Doc fix. (Bug#12297)
10652 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10654 * progmodes/compile.el (compilation-always-kill): New var.
10655 (compilation-start): Use it.
10657 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10659 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10660 * files.el (read-only-mode): Move to simple.el.
10662 * files.el (read-only-mode): New minor mode.
10663 (toggle-read-only): Use it and mark obsolete.
10664 (find-file--read-only):
10665 * vc/vc.el (vc-next-action, vc-checkout):
10666 * vc/vc-cvs.el (vc-cvs-checkout):
10667 * obsolete/vc-mcvs.el (vc-mcvs-update):
10668 * ffap.el (ffap--toggle-read-only): Update callers.
10670 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10672 * eshell/esh-ext.el (eshell-external-command): Do not examine
10673 remote shell scripts.
10674 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10676 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10679 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10683 2012-08-28 Leo Liu <sdl.web@gmail.com>
10685 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10686 completion-at-point. (Bug#12220)
10688 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10690 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10692 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10694 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10695 be buffer-local; add delete-trailing-whitespace (bug#12259).
10697 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10699 * progmodes/hideif.el (hif-compress-define-list):
10700 Fix typo. (Bug#11951)
10702 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10704 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10705 buffer local setting.
10707 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10708 rcirc-encode-coding-system.
10710 2012-08-28 Leo Liu <sdl.web@gmail.com>
10712 * net/rcirc.el (rcirc-split-message): New function.
10713 (rcirc-send-message): Use it. (Bug#12051)
10715 2012-08-28 Juri Linkov <juri@jurta.org>
10717 * info.el (Info-fontify-node): Hide empty lines at the end of
10718 the node. (Bug#12272)
10720 2012-08-27 Drew Adams <drew.adams@oracle.com>
10722 * dired.el (dired-pop-to-buffer): Make window start at beginning
10723 of buffer (Bug#12281).
10725 2012-08-26 Chong Yidong <cyd@gnu.org>
10727 * window.el (special-display-regexps, special-display-frame-alist)
10728 (special-display-buffer-names, special-display-function)
10729 (display-buffer-reuse-frames): Mark as obsolete.
10731 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10733 * help.el (help-print-return-message): Don't treat
10734 display-buffer-reuse-frames specially.
10736 2012-08-26 Chong Yidong <cyd@gnu.org>
10738 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10739 New variable, replacing gdb-frame-parameters.
10740 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10741 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10742 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10743 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10744 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10745 the functions directly with gdb-display-buffer-other-frame-action.
10746 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10747 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10748 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10749 (gdb-display-registers-buffer): Define directly.
10750 (def-gdb-display-buffer): Macro deleted.
10751 (gdb-display-buffer): Remove second and third args, callers don't
10752 use them. Defer to the default display-buffer behavior, apart
10753 from making windows dedicated.
10754 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10756 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10758 * window.el (display-buffer-pop-up-frame): Handle a
10759 pop-up-frame-parameters alist entry.
10760 (display-buffer): Document it.
10762 2012-08-26 Chong Yidong <cyd@gnu.org>
10764 * isearch.el (search-whitespace-regexp): Make string and nil
10765 values apply to both ordinary and regexp search. Allow a cons
10766 cell value to distinguish between the two.
10767 (isearch-whitespace-regexp, isearch-search-forward)
10768 (isearch-search-backward): New functions.
10769 (isearch-occur, isearch-search-fun-default, isearch-search)
10770 (isearch-lazy-highlight-new-loop): Use them.
10771 (isearch-forward, isearch-forward-regexp): Doc fix.
10773 2012-08-26 Chong Yidong <cyd@gnu.org>
10775 * faces.el (help-argument-name): Always inherit from italic
10778 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10780 * window.el (window--even-window-heights): Even heights when
10781 WINDOW and the selected window form a vertical combination.
10782 (display-buffer-use-some-window): Provide that window used gets
10783 sized back by quit-window. (Bug#11880) and (Bug#12091)
10785 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10787 Fix file time stamp problem with bzr and CVS (Bug#12001).
10788 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10789 in the file's time stamp, since the version control system loses
10792 2012-08-22 Juri Linkov <juri@jurta.org>
10794 * info.el (Info-fontify-node): Hide the suffix of the
10795 Info file name in the header line. (Bug#12187)
10797 2012-08-22 Glenn Morris <rgm@gnu.org>
10799 * calendar/cal-tex.el (cal-tex-weekly-common):
10800 Restore leading blank page.
10802 2012-08-22 Le Wang <l26wang@gmail.com>
10804 * misc.el (forward-to-word, backward-to-word): Activate or extend
10805 the region under `shift-select-mode'. (Bug#12231)
10807 2012-08-22 Bastien Guerry <bzg@gnu.org>
10809 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10810 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10811 gives details on why the space is never needed.
10813 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10815 * window.el (walk-window-tree, window-with-parameter):
10816 New optional argument MINIBUF to control whether these functions
10817 should run on the minibuffer window.
10818 (window-at-side-list): Don't operate on minibuffer window.
10819 (window-in-direction): Simplify and rewrite doc-string.
10820 (window--size-ignore): Rename to window--size-ignore-p.
10822 (display-buffer-in-atom-window, window--major-non-side-window)
10823 (window--major-side-window, display-buffer-in-major-side-window)
10824 (delete-side-window, display-buffer-in-side-window):
10826 (window--side-check, window-deletable-p, delete-window)
10827 (delete-other-windows, split-window): Handle side windows and
10828 atomic windows appropriately.
10829 (window--display-buffer): Call display-buffer-record-window also
10830 when the window buffer did not change.
10832 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10834 * help-fns.el (help-fns--key-bindings):
10835 Abbreviate non-symbol remap targets. (Bug#12174)
10837 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10839 * dired.el (dired-mark-remembered): Don't clobber point.
10842 2012-08-22 Glenn Morris <rgm@gnu.org>
10844 * progmodes/bug-reference.el (bug-reference): New custom group.
10845 (bug-reference-bug-regexp): Make it a defcustom.
10847 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10849 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10850 (js-paren-indent-offset, js-square-indent-offset)
10851 (js-curly-indent-offset): Add :safe (Bug#12257).
10853 2012-08-22 Edward O'Connor <hober0@gmail.com>
10855 * json.el (json-key-format): Add error properties.
10856 (json-encode-key): New function.
10857 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10858 Use json-encode-key.
10860 2012-08-22 Glenn Morris <rgm@gnu.org>
10862 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10863 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10864 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10865 Update for above change.
10867 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10869 * cus-face.el (custom-face-attributes): Fix customize type for the
10870 :underline attribute. (Bug#11805)
10872 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10874 * window.el (window-point-1, set-window-point-1): Remove.
10875 (window-in-direction, record-window-buffer)
10876 (set-window-buffer-start-and-point, split-window-below)
10877 (window--state-get-1, display-buffer-record-window):
10878 Replace calls to window-point-1 and set-window-point-1 by calls to
10879 window-point and set-window-point respectively.
10881 2012-08-21 Glenn Morris <rgm@gnu.org>
10883 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10884 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10887 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10888 (cal-tex-shortday): New function.
10889 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10890 (cal-tex-cursor-filofax-daily): Use the above.
10892 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10894 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10895 (cal-tex-cursor-filofax-week): Use them.
10897 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10899 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10900 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10902 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10903 (cal-tex-end-document): Don't rely on buffer name.
10905 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10906 Use cal-tex-vspace.
10907 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10908 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10909 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10912 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10913 (cal-tex-cursor-week, cal-tex-cursor-week2)
10914 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10915 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10916 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10917 (cal-tex-insert-preamble, cal-tex-b-document)
10918 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10919 Improve cal-tex-cmd usage.
10921 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10922 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10923 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10924 (cal-tex-weekly-paper): New function.
10925 (cal-tex-cursor-week, cal-tex-cursor-week2)
10926 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10927 (cal-tex-cursor-day): Use it.
10929 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10930 (cal-tex-cursor-filofax-week): Remove leading blank page.
10932 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10933 Add autoload cookie. For now at least, don't use color, since
10934 no other cal-tex function does.
10936 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10937 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10938 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10940 2012-08-21 Juri Linkov <juri@jurta.org>
10942 * info.el (Info-file-attributes): New variable.
10943 (info-insert-file-contents): Add file attributes to
10944 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10945 `Info-toc-nodes' when previous modtime of the Info file is less
10947 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10948 of info.el. (Bug#12230)
10950 2012-08-20 Glenn Morris <rgm@gnu.org>
10952 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10953 * calendar/holidays.el (calendar-holiday-list):
10954 Report errors with display-warning rather than beep'n'sleep.
10956 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10958 * net/tramp.el (tramp-accept-process-output): Accept only output
10959 from PROC. Otherwise, process filters and sentinels might be
10960 confused. (Bug#12145)
10962 2012-08-20 Chong Yidong <cyd@gnu.org>
10964 * descr-text.el (describe-text-properties-1): Use overlays-in to
10965 report on empty overlays (Bug#3322).
10967 2012-08-20 Glenn Morris <rgm@gnu.org>
10969 * mail/rmailout.el (rmail-output-read-file-name):
10970 Trap and report errors in rmail-output-file-alist elements.
10972 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10973 since most non-font-lock faces are not also variables).
10975 2012-08-20 Edward Reingold <reingold@iit.edu>
10977 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10978 New function. (Bug12160)
10980 2012-08-19 Glenn Morris <rgm@gnu.org>
10982 * mail/rmailout.el (rmail-output-read-file-name):
10983 Fix previous change (when the alist is nil or does not match).
10985 2012-08-19 Chong Yidong <cyd@gnu.org>
10987 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10990 2012-08-18 Chong Yidong <cyd@gnu.org>
10992 * simple.el (yank-handled-properties): New defcustom.
10993 (yank-excluded-properties): Add font-lock-face and category.
10996 * subr.el (remove-yank-excluded-properties):
10997 Obey yank-handled-properties. The special handling of font-lock-face
10998 and category is now done this way, instead of being hard-coded.
10999 (insert-for-yank-1): Remove font-lock-face handling.
11000 (yank-handle-font-lock-face-property)
11001 (yank-handle-category-property): New function.
11003 2012-08-17 Glenn Morris <rgm@gnu.org>
11005 * mail/rmailout.el (rmail-output-read-file-name):
11006 Check rmail-output-file-alist against the full message body
11007 in the correct rmail buffer. (Bug#12214)
11009 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
11011 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11012 Eliminate superfluous prompt. (Bug#12203)
11014 2012-08-17 Chong Yidong <cyd@gnu.org>
11016 * mouse.el (mouse-appearance-menu): If x-select-font returns a
11017 font spec, set the font directly (Bug#3228).
11019 2012-08-17 Martin Rudalics <rudalics@gmx.at>
11021 * window.el (delete-window): Fix last fix.
11023 2012-08-16 Martin Rudalics <rudalics@gmx.at>
11025 * window.el (window-valid-p): Move to window.c.
11026 (window-child, window-child-count, window-last-child)
11027 (window-normalize-window, window-combined-p)
11028 (window-combinations, window-atom-root, window-min-size)
11029 (window-sizable, window-sizable-p, window-size-fixed-p)
11030 (window-min-delta, window-max-delta, window--resizable)
11031 (window--resizable-p, window-resizable, window-total-size)
11032 (window-full-height-p, window-full-width-p, window-body-size)
11033 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
11034 (minimize-window, window-deletable-p, delete-window)
11035 (delete-other-windows, set-window-buffer-start-and-point)
11036 (next-buffer, previous-buffer, split-window, balance-windows-2)
11037 (set-window-text-height, window-buffer-height)
11038 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
11039 (truncated-partial-width-window-p): Minor code adjustments.
11040 In doc-strings state whether the argument window has to denote a
11041 live, valid or any window.
11043 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
11045 * progmodes/subword.el (subword-forward-function)
11046 (subword-backward-function, subword-forward-regexp)
11047 (subword-backward-regexp): New variables.
11048 (subword-forward, subword-forward-internal, subword-backward-internal):
11049 Use new variables, eg so that different "word" definitions
11050 can be easily used. (Bug#11411)
11052 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11054 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
11055 for composite selectors.
11056 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
11057 operation just because we can't find a previous revision.
11059 2012-08-15 Chong Yidong <cyd@gnu.org>
11061 * frame.el (set-frame-font): Accept font objects.
11063 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
11067 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
11069 * man.el (Man-overstrike-face, Man-underline-face)
11070 (Man-reverse-face): Remove variables.
11071 (Man-overstrike, Man-underline, Man-reverse): New faces.
11072 (Man-fontify-manpage): Use them instead of the variables.
11073 (Man-cleanup-manpage): Comment change.
11074 (Man-ansi-color-map): New variable.
11075 (Man-fontify-manpage): Use it.
11076 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
11078 Implement ANSI SGR parameters 22-27 (bug#12146).
11079 * ansi-color.el (ansi-colors): Doc fix.
11080 (ansi-color-context, ansi-color-context-region): Doc fix.
11081 (ansi-color--find-face): New function.
11082 (ansi-color-apply, ansi-color-apply-on-region): Use it.
11083 Rename the local variable `face' to `codes' since it is now a list of
11084 ansi codes. Doc fix.
11085 (ansi-color-get-face): Remove.
11086 (ansi-color-parse-sequence): New function, derived from
11087 ansi-color-get-face.
11088 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
11091 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
11093 * subr.el (read-passwd): Allow use from a minibuffer.
11095 2012-08-14 Eli Zaretskii <eliz@gnu.org>
11097 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
11098 inside comments and strings as identifiers.
11100 * progmodes/gud.el (gud-tooltip-print-command): Quote the
11101 expression to evaluate. This allows to evaluate expressions with
11102 embedded whitespace.
11103 (gud-tooltip-tips): Add a blank before the newline in the
11104 message-box text, for the benefit of message-box emulation on
11107 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
11108 messages from GDB, pop them up in a tooltip to give feedback to
11110 (gdb-tooltip-print-1): Quote the expression to evaluate.
11111 This allows to evaluate expressions with embedded whitespace.
11112 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
11113 if the TTY name is nil or empty (which happens when communicating
11114 with the inferior via pipes, e.g. on MS-Windows).
11115 (gdb-internals): If GDB sends a "&\n" empty debugging message,
11116 don't send that to the GUD buffer.
11118 2012-08-14 Glenn Morris <rgm@gnu.org>
11120 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
11121 Optimize away setq-default with no args, as for setq. (Bug#12195)
11123 2012-08-14 Chong Yidong <cyd@gnu.org>
11125 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
11127 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
11130 2012-08-14 Glenn Morris <rgm@gnu.org>
11132 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
11134 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
11136 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
11137 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11138 Use cached shell name.
11140 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
11142 * progmodes/python.el (python-shell-send-string):
11143 (python-shell-send-setup-code): Do not use `format' with `message'.
11145 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
11147 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
11148 (ruby-percent-literal-beg-re): New constant.
11149 (ruby-syntax-general-delimiters-goto-beg): Rename to
11150 `ruby-syntax-enclosing-percent-literal', improve literal type check.
11151 (ruby-syntax-propertize-general-delimiters): Rename to
11152 `ruby-syntax-propertize-percent-literal', it's a shorter and more
11153 popular term. Adjust comments everywhere.
11154 (ruby-syntax-propertize-percent-literal): Only propertize when not
11155 inside a simple string or comment. When the literal is unclosed,
11156 leave the text after it unpropertized.
11157 (ruby-syntax-methods-before-regexp): New constant.
11158 (ruby-syntax-propertize-function): Use it to recognize regexps.
11159 Don't look at the text after regexp, just use the whitelist.
11161 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
11163 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
11164 non-nil always load the compiled file if it exists. (Bug#12197)
11166 2012-08-14 Chong Yidong <cyd@gnu.org>
11168 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
11169 (hi-lock-set-pattern): When deciding whether to use font lock or
11170 overlays, look at font-lock-mode instead of font-lock-fontified
11172 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
11173 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
11175 2012-08-14 Daiki Ueno <ueno@unixuser.org>
11177 * subr.el (internal--after-with-selected-window): Fix typo
11180 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
11182 Use `completion-table-dynamic' for completion functions.
11183 * progmodes/python.el
11184 (python-shell-completion--do-completion-at-point)
11185 (python-shell-completion--get-completions):
11187 (python-shell-completion-complete-at-point): New function.
11188 (python-completion-complete-at-point): Use it.
11190 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
11192 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
11193 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
11195 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11197 * subr.el (function-get): Refine `autoload' arg so it can also
11198 autoload functions for gv.el (bug#12191).
11199 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
11202 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
11203 Prefer pcase-let over destructuring-bind.
11204 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
11205 Also, remove whitespace as we go, rather than after accumulating the
11208 * subr.el (internal--before-with-selected-window)
11209 (internal--after-with-selected-window): Fix typo seleted->selected.
11210 (with-selected-window): Adjust callers.
11211 Reported by Dmitry Gutov <dgutov@yandex.ru>.
11213 2012-08-13 Bastien Guerry <bzg@gnu.org>
11215 * window.el (special-display-popup-frame): Minor docstring
11216 enhancement. (Bug#12172)
11218 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
11220 * tar-mode.el (tar-header-data-end): Only ignore size for files of
11222 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11225 * files.el (hack-local-variables-filter): Remove useless eval.
11227 2012-08-13 Martin Rudalics <rudalics@gmx.at>
11229 * subr.el (with-selected-window): Fix last change.
11231 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * subr.el (internal--before-with-seleted-window)
11234 (internal--after-with-seleted-window): New functions.
11235 (with-selected-window): Use them, to replace dependency on
11238 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
11240 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
11241 binding for `newline'.
11242 (ruby-move-to-block): When moving backward, stop at block opening,
11244 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
11245 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
11246 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11247 `ruby-toggle-block'.
11249 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * ibuffer.el (ibuffer-do-toggle-read-only):
11252 * dired.el (dired-toggle-read-only):
11253 * buff-menu.el (Buffer-menu-toggle-read-only):
11254 * bindings.el (mode-line-toggle-read-only):
11255 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11257 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11259 * descr-text.el (describe-char): Put the overlays over the
11260 "displayed as" character.
11262 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11264 * calc/calc-units.el (math-default-units-table): Give an
11266 (math-put-default-units): Add options to put composite units and
11267 unit systems in the default units table.
11268 (calc-convert-units): Send composite units to
11269 `math-put-default-units' when appropriate.
11271 2012-08-11 Glenn Morris <rgm@gnu.org>
11273 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11275 * tutorial.el (help-with-tutorial):
11276 * emacs-lisp/copyright.el (copyright-update-directory):
11277 * emacs-lisp/autoload.el (autoload-find-generated-file)
11278 (autoload-find-file): Disable local eval: (for insurance).
11280 * files.el (hack-local-variables-filter): If an eval: form is not
11281 known to be safe, and enable-local-variables is :safe, then ignore
11282 the form totally, as is done for non-eval forms. (Bug#12155)
11283 This is CVE-2012-3479.
11285 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11287 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11288 (rx-form): Simplify.
11290 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11292 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11293 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11294 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11295 (ruby-syntax-propertize-function): Adjust for changes in
11296 `ruby-syntax-propertize-heredoc'.
11298 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11300 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11301 binding (use `M-;' instead).
11302 (ruby-singleton-class-p): New function.
11303 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11305 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11307 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11309 2012-08-10 Chong Yidong <cyd@gnu.org>
11311 * progmodes/python.el (python-shell-get-process-name): Don't mess
11312 with same-window-buffer-names.
11314 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11315 (eshell-remove-from-window-buffer-names): Make obsolete.
11316 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11317 (eshell): Just use pop-to-buffer-same-window instead.
11319 2012-08-10 Chong Yidong <cyd@gnu.org>
11321 * bindings.el: Bind M-= back to count-words-region.
11323 * simple.el (count-words-region): Accept a prefix arg for acting
11324 on the entire buffer.
11325 (count-words--buffer-message): New helper function.
11327 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11329 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11330 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11331 (event-start, event-end): Use posn-at-point to return a more
11333 (posnp): New function.
11334 * mouse.el (popup-menu-normalize-position): Use it.
11336 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11338 * mouse.el (popup-menu-normalize-position): New function.
11339 (popup-menu): Use `popup-menu-normalize-position' to normalize
11340 the form for POSITION argument.
11342 * term/x-win.el (x-menu-bar-open):
11343 Use the value returend from (posn-at-point) as position
11344 passed to `popup-menu'.
11346 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11348 * calc/calccomp.el (math-compose-expr): Add extra argument
11349 indicating that parentheses should be put around products in
11350 denominators. Give multiplication precedence over division during
11353 2012-08-09 Chong Yidong <cyd@gnu.org>
11355 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11356 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11357 (Man-untabify-command, manual-program): Convert to defcustom
11360 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11362 * descr-text.el (describe-char): Don't insert extra newlines
11365 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11366 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11368 * align.el (align-region): Delete temporary markers (Bug#10047).
11369 Plus some code cleanups.
11371 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11373 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11374 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11375 (python-shell-internal-last-output): Use make-local-variable
11376 instead of make-variable-buffer-local.
11378 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11380 * progmodes/python.el: Enhancements to forward-sexp.
11381 (python-nav-forward-sexp): Rename from
11382 python-nav-forward-sexp-function.
11383 (python-nav--forward-sexp, python-nav--backward-sexp):
11386 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11388 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11389 modes and simplification modes.
11391 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11393 * delsel.el (delete-selection-pre-hook): Don't propagate the
11394 file-supersession signals (bug#12161).
11396 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11398 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11399 (cl-map-extents): Add compatibility aliases (bug#12135).
11401 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11403 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11404 tests by `ignore-error'.
11405 (tramp-find-shell): Open also a new shell, when cache is already
11406 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11408 2012-08-08 Juri Linkov <juri@jurta.org>
11410 * bookmark.el: Add `defaults' property to the bookmark record.
11411 (bookmark-current-buffer): Doc fix.
11412 (bookmark-make-record): Add `defaults' property with default values
11413 to the bookmark record.
11414 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11415 with `bookmark-insert-current-bookmark'.
11416 (bookmark-set): Get `defaults' property from the bookmark record
11417 and use it in `read-from-minibuffer'.
11418 (bookmark-insert-current-bookmark): Remove function.
11420 * info.el (Info-bookmark-make-record): Add `defaults' property
11421 with values of canonical Info node name, the current Info file
11422 name and the current Info node name. (Bug#12107)
11424 2012-08-08 Juri Linkov <juri@jurta.org>
11426 * files.el (basic-save-buffer): Use `buffer-name' as the default
11427 of `read-file-name' when buffer is not visiting a file (bug#12128).
11429 2012-08-08 Juri Linkov <juri@jurta.org>
11431 * info.el (Info-isearch-search): Doc fix.
11432 (Info-search): Change search-failed message from "initial node" to
11433 "end of node" (bug#12078).
11434 (Info-isearch-search): Change `isearch-string-state' to
11435 `isearch--state-string'.
11437 2012-08-08 Glenn Morris <rgm@gnu.org>
11439 * language/persian.el: Remove file.
11440 * language/misc-lang.el: Move unique part of persian.el here.
11441 * loadup.el: Remove language/persian.
11443 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
11445 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11447 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
11449 * progmodes/python.el: Fix defsubst warning.
11450 (python-syntax-context) Rename from python-info-ppss-context.
11451 (python-syntax-context-type): Rename from
11452 python-info-ppss-context-type.
11453 (python-syntax-comment-or-string-p): Rename from
11454 python-info-ppss-comment-or-string-p.
11456 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11458 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11460 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11462 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11463 a defcustom that is quoted with backquote.
11465 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11466 Fix handling of interactive spec when the body uses return.
11467 (math-do-arg-check, math-define-function-body): Use backquote forms.
11468 * calc/calc-ext.el (math-defcache): Likewise.
11469 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11470 * allout.el (allout-new-exposure): Likewise.
11471 * calc/calcalg2.el (math-tracing-integral): Likewise.
11472 * info.el (Info-last-menu-item): Likewise.
11473 * emulation/vip.el (vip-loop): Likewise.
11474 * textmodes/artist.el (artist-funcall): Likewise.
11475 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11476 Construct menu-item directly.
11478 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11481 2012-08-07 Chong Yidong <cyd@gnu.org>
11483 * simple.el (deactivate-mark): Preserve text properties when
11484 saving the primary selection (Bug#8384).
11486 2012-08-07 Kevin Ryde <user42@zip.com.au>
11488 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11489 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11490 and continue processing (Bug#12110).
11492 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11494 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11495 syntax-propertize-function (bug#10095).
11497 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11500 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11501 describe-function-1.
11502 (describe-function-1): Use them. Move compiler macro after sig.
11503 (help-fns--compiler-macro): Use function-get. Assume we're already in
11504 standard-output. Adjust layout to new call order.
11506 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11507 re-binding a symbol that has a symbol-macro (bug#12119).
11509 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11511 * language/persian.el: New file. (Bug#11812)
11512 * loadup.el: Add language/persian.el.
11514 2012-08-06 Chong Yidong <cyd@gnu.org>
11516 * window.el (window--maybe-raise-frame): New function.
11517 (window--display-buffer): Split off from here.
11518 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11519 (display-buffer-pop-up-window, display-buffer-use-some-window):
11520 Obey an inhibit-switch-frame action alist entry.
11521 (display-buffer): Update doc.
11523 * replace.el (occur-after-change-function): Avoid losing focus by
11524 using the inhibit-switch-frame display parameter (Bug#12139).
11526 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
11528 Make internal shell process buffer names start with space.
11529 * progmodes/python.el (python-shell-make-comint): Add optional
11531 (run-python-internal): Use it.
11532 (python-shell-internal-get-or-create-process): Check for new
11533 internal buffer names.
11535 2012-08-06 Glenn Morris <rgm@gnu.org>
11537 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11538 Do less getting and setting of environment variables.
11540 2012-08-05 Chong Yidong <cyd@gnu.org>
11542 * proced.el (proced): Add substitution string to docstring to
11543 trigger autoloading of the proced library on C-h f (Bug#1768).
11545 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11546 Don't show defvars which have no second argument (Bug#8638).
11548 * imenu.el (imenu-generic-expression): Move documentation here
11549 from imenu--generic-function.
11550 (imenu--generic-function): Refer to imenu-generic-expression.
11552 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
11554 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11555 indentation declaration.
11556 (viper-loop): Add indentation declaration (Bug#7025).
11558 2012-08-05 Chong Yidong <cyd@gnu.org>
11560 * help-fns.el (describe-variable): Add hyperlink for
11561 directory-local variables files. Improve buffer-local and
11562 permanent-local reporting; suggested by MON KEY (Bug#6644).
11564 * help-mode.el (help-dir-local-var-def): New button type.
11566 * files.el (kill-buffer-hook): Provide a defvar.
11568 2012-08-05 Glenn Morris <rgm@gnu.org>
11570 * eshell/esh-ext.el (eshell/addpath):
11571 Also update eshell-path-env. (Bug#12013)
11573 2012-08-05 Chong Yidong <cyd@gnu.org>
11575 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11577 * fringe.el (fringe-styles): Add docstring.
11578 (fringe--check-mode): New function.
11579 (set-fringe-mode, set-fringe-style): Use it.
11580 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11582 * files.el (set-auto-mode): Fix invalid setq call.
11584 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * isearch.el: Misc simplification; use defstruct.
11587 (isearch-mode-map): Dense maps now work like sparse ones.
11588 (isearch--state): New defstruct.
11589 (isearch-string-state, isearch-message-state, isearch-point-state)
11590 (isearch-success-state, isearch-forward-state)
11591 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11592 (isearch-wrapped-state, isearch-barrier-state)
11593 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11594 replaced by defstruct's accessors.
11595 (isearch--set-state): Rename from isearch-top-state and change
11596 calling convention.
11597 (isearch-push-state): Use new isearch--get-state.
11598 (isearch-toggle-word): Disable regexp when enabling word.
11599 (isearch-message-prefix): Remove unused arg _c-q-hack.
11600 (isearch-message-suffix): Remove unused arg _ellipsis.
11602 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11604 * simple.el (list-processes--refresh): For a server use :host or
11605 :local as the address.
11606 (list-processes): Doc fix.
11608 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11610 * lisp/mpc.el: Support password in host argument.
11611 (mpc--proc-connect): Parse and use new password element.
11612 Set mpc-proc variable instead of returning process.
11613 (mpc-proc): Adjust accordingly.
11615 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11617 * whitespace.el (whitespace-display-mappings): Use Unicode
11618 codepoints, instead of emacs-mule codepoints. See
11619 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11622 * files.el (file-truename): Don't skip symlink-chasing part on
11623 windows-nt. Incorporate the resolution of 8+3 short aliases on
11624 Windows into the loop that recursively chases symlinks.
11625 Compare directory and its parent case-insensitively on MS-Windows and
11628 2012-08-03 Chong Yidong <cyd@gnu.org>
11630 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11632 * sort.el (sort-regexp-fields): Doc fix.
11634 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11636 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11637 labels regex position point at the expected place.
11639 2012-08-03 MON KEY <monkey@sandpframing.com>
11641 * net/imap.el (imap-interactive-login, imap-authenticate)
11642 (imap-mailbox-lsub, imap-mailbox-list)
11643 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11644 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11645 (imap-parse-response): Doc fix.
11647 2012-08-03 João Távora <joaotavora@gmail.com>
11649 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11650 if sexp scanning does not move point (Bug#5734).
11652 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11654 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11655 Add listings, minted, and ctable packages.
11656 (reftex-label-alist-builtin): Move listings, minted, and ctable
11657 entries before LaTeX.
11658 (reftex-label-alist): Docfix.
11660 2012-08-02 Bastien Guerry <bzg@gnu.org>
11662 * replace.el (occur): Fix docstring (bug#12122).
11664 2012-08-02 Glenn Morris <rgm@gnu.org>
11666 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11668 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11670 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11671 * international/mule-cmds.el: Create
11672 inactivate-current-input-method-function as an obsolete alias for
11673 deactivate-current-input-method-function. See Katsumi Yamaoka in
11674 <http://bugs.gnu.org/10150#46>.
11676 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11678 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11681 2012-08-01 Glenn Morris <rgm@gnu.org>
11683 * progmodes/autoconf.el (autoconf-definition-regexp):
11684 Add AH_TEMPLATE, adjust submatch numbering.
11685 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11686 (autoconf-current-defun-function): Update for above change.
11687 (autoconf-current-defun-function): First skip to end of current word.
11689 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11691 * calendar/cal-html.el (cal-html-insert-agenda-days):
11692 Fix typo. (Bug#12018)
11694 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11696 Shell processes: enhancements to startup and CEDET compatibility.
11697 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11698 (python-shell-make-comint): accept-process-output at startup.
11699 (run-python-internal): Set inferior-python-mode-hook to nil.
11700 (python-shell-internal-get-or-create-process): Call sit-for.
11701 (python-preoutput-result): Add obsolete alias.
11702 (python-shell-internal-send-string): Use it.
11703 (python-shell-send-setup-code): Remove call to
11704 accept-process-output.
11706 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11708 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11711 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11713 * calc-mode.el (calc-basic-simplification-mode): Rename from
11714 `calc-limited-simplification-mode'.
11715 (calc-alg-simplification-mode): New function.
11716 (calc-set-simplify-mode): Adjust message.
11718 * calc.el (calc-set-mode-line): Adjust mode line display for
11719 basic simplification mode.
11721 * calc-help.el (calc-m-prefix-help): Update help message.
11723 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11724 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11726 2012-07-31 Bastien Guerry <bzg@gnu.org>
11728 * man.el (man): Fix comment. (bug#12101)
11730 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11732 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11733 Don't return a non-nil value when no suitable buffer was found.
11735 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11737 * progmodes/python.el (run-python-internal): Disable font lock for
11740 2012-07-30 Stefan Merten <smerten@oekonux.de>
11742 * textmodes/rst.el: Silence `checkdoc-ispell'.
11743 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11744 (rst-official-version, rst-official-cvs-rev)
11745 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11746 (rst-mode-map): New key binding.
11748 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11750 Update .PHONY listings in makefiles.
11751 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11752 autoloads, update-subdirs, updates, bzr-update, update-authors,
11753 compile-onefile, compile-calc, backup-compiled-files,
11754 compile-after-backup, compile-one-process, mh-autoloads,
11755 bootstrap-clean, distclean, maintainer-clean.
11757 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11759 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11760 (calc-set-mode-line): Don't display "AlgSimp ".
11762 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11763 (calc-lim-simplify-mode): New function.
11764 (calc-set-simplify-mode): Default to 'alg.
11765 (calc-default-simplify-mode): Make algebraic simplifications
11768 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11769 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11771 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11772 indicate new simplification modes.
11774 * calc/README: Mention new default simplification mode.
11776 * calc/calc.el (math-normalize-error): New variable.
11777 (math-normalize): Set `math-normalize-error' to t
11778 when there's an error.
11780 * calc/calc-alg.el (math-simplify): Don't simplify when
11781 `math-normalize' returns an error.
11783 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11785 * international/mule-cmds.el (set-locale-environment): Revert last
11786 change, since display-graphic-p returns nil when this function is
11787 called during startup. Instead...
11789 * term/w32console.el (terminal-init-w32console): ...setup the
11790 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11792 2012-07-29 Juri Linkov <juri@jurta.org>
11794 * simple.el (goto-line): Don't display default line number in the
11795 prompt because it should be displayed by `read-number' (bug#9952).
11796 Add the current line number to the defaults of `goto-line' to
11797 allow its easier modification by users with `M-n' (bug#9201).
11799 * subr.el (read-number): Support multiple default values like in
11800 other minibuffer reading functions. Replace `read' with
11801 `string-to-number' for consistency with `number-to-string'.
11803 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11805 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11806 * emulation/viper-init.el (viper-deactivate-input-method-action):
11807 Rename from viper-inactivate-input-method-action.
11808 (viper-deactivate-input-method):
11809 Rename from viper-inactivate-input-method.
11810 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11811 * international/mule-cmds.el (deactivate-input-method):
11812 Rename from inactivate-input-method.
11813 Also run input-method-deactivate-hook.
11814 (deactivate-current-input-method-function):
11815 Rename from inactivate-current-input-method-function.
11816 (input-method-deactivate-hook): New hook.
11817 (input-method-inactivate-hook): Mark obsolete.
11818 (inactivate-input-method): Mark obsolete.
11820 * international/quail.el (quail-activate):
11821 Also run quail-deactivate-hook.
11822 (quail-deactivate): Rename from quail-inactivate.
11823 * international/robin.el (robin-activate):
11824 Also run robin-deactivate-hook.
11825 (robin-deactivate): Rename from robin-inactivate.
11827 2012-07-29 Chong Yidong <cyd@gnu.org>
11829 * simple.el (indicate-copied-region): New function.
11830 (kill-ring-save): Split off from here.
11832 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11833 (kill-rectangle): Set deactivate-mark to t on read-only error.
11835 * register.el (copy-to-register, copy-rectangle-to-register):
11836 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11837 (append-to-register, prepend-to-register): Call indicate-copied-region.
11839 2012-07-29 Juri Linkov <juri@jurta.org>
11841 * simple.el (async-shell-command-buffer): New defcustom.
11842 (shell-command): Use it. (Bug#4719)
11844 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11846 * international/mule-cmds.el (set-locale-environment): In a
11847 console session on MS-Windows, set up keyboard and terminal
11848 encoding from the OEM codepage, not the ANSI codepage.
11851 2012-07-28 Chong Yidong <cyd@gnu.org>
11853 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11856 2012-07-28 Leo Liu <sdl.web@gmail.com>
11858 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11859 the alist (bug#12029).
11861 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11863 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11864 (compile-always, compile-first)
11865 ($(lisp)/calendar/cal-loaddefs.el)
11866 ($(lisp)/calendar/diary-loaddefs.el)
11867 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11868 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11869 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11870 instead of on update-subdirs.
11871 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11873 2012-07-28 Chong Yidong <cyd@gnu.org>
11875 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11876 directory if vc-deduce-backend returns nil (Bug#7350).
11878 * simple.el (delete-trailing-lines): New option.
11879 (delete-trailing-whitespace): Obey it (Bug#11879).
11881 2012-07-28 David Engster <deng@randomsample.de>
11883 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11884 Explanation of new 'symbol-qnames feature in doc-strings.
11885 (xml-maybe-do-ns): Return expanded names as plain symbols if
11886 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11887 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11889 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11891 Consistent completion in inferior python with emacs -nw.
11892 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11893 binding in inferior-python-mode-map with "\t".
11894 (python-shell-completion-complete-at-point)
11895 (python-completion-complete-at-point): Remove interactive spec.
11897 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11899 * calc/calccomp.el (math-compose-expr): Undo previous change.
11901 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11903 * progmodes/python.el (python-mode-map): Add keybinding for
11905 (python-shell-make-comint): Fix pop-to-buffer call.
11906 (run-python): Autoload. New arg SHOW.
11907 (python-shell-get-or-create-process): Do not pop python process
11910 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11912 * notifications.el (notifications-on-action-signal)
11913 (notifications-on-closed-signal): Use also the bus address for the map.
11914 (notifications-notify, notifications-close-notification)
11915 (notifications-get-capabilities): Add optional argument BUS.
11917 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11919 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11920 Add support for the lstlisting and minted environments, and for the
11922 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11923 labels written in keyvals syntax.
11925 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11927 * calc/calccomp.el (math-compose-expr): Use parentheses when
11928 there is a product in the denominator of a fraction.
11930 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11932 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11933 ($(lisp)/calendar/diary-loaddefs.el)
11934 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11935 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11936 Fixes failures in parallel bootstrap because subdirs.el is being
11937 rewritten while the autoload files are built at the same time,
11938 which needs to load subdirs.el.
11940 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11942 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11943 (mouse-drag-line): Don't exit tracking when a switch-frame or
11944 switch-window event occurs (Bug#12006).
11946 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11948 * mouse.el (popup-menu): Fix last change.
11950 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11952 Autoload from Lisp with more care. Follow aliases when looking for
11953 function properties.
11954 * subr.el (autoloadp): New function.
11955 (symbol-file): Use it.
11956 (function-get): New function.
11957 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11959 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11960 (lisp-indent-function):
11961 * emacs-lisp/gv.el (gv-get):
11962 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11963 * emacs-lisp/byte-opt.el (byte-optimize-form):
11964 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11965 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11967 * emacs-lisp/cl.el: Don't propagate function properties any more.
11969 * speedbar.el (speedbar-add-localized-speedbar-support):
11970 * emacs-lisp/disass.el (disassemble-internal):
11971 * desktop.el (desktop-load-file):
11972 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11973 (describe-function-1):
11974 * emacs-lisp/find-func.el (find-function-noselect):
11975 * emacs-lisp/elp.el (elp-instrument-function):
11976 * emacs-lisp/advice.el (ad-has-proper-definition):
11977 * apropos.el (apropos-safe-documentation, apropos-macrop):
11978 * emacs-lisp/debug.el (debug-on-entry):
11979 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11980 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11981 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11983 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11985 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11986 function, not an obsolete variable (Bug#12046).
11988 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11990 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11992 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11994 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11995 window only if it is still live (Bug#12034).
11997 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11999 * subr.el (redirect-frame-focus): Add advertised calling
12000 convention (Bug#12030).
12002 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
12004 Prefer typical American spelling for "acknowledgment".
12005 * vc/add-log.el (change-log-acknowledgment): Rename from
12006 change-log-acknowledgement, with an alias for the old name.
12008 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
12010 * calc-alg.el (math-simplify-divide): Don't cross multiply
12011 in an equation when the lhs is a variable.
12013 2012-07-24 Julien Danjou <julien@danjou.info>
12015 * net/netrc.el (netrc-find-service-number, netrc-store-data):
12018 2012-07-23 Eli Zaretskii <eliz@gnu.org>
12020 * startup.el (command-line): Don't display an empty user name in
12021 the error message about non-existent home directory, when
12022 init-file-user was set to an empty string. See
12023 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
12024 for the details and context.
12026 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
12028 * ses.el (ses-cell-formula-aset): New macro.
12029 (ses-cell-references-aset): New macro.
12030 (ses-cell-p): New function.
12031 (ses-rename-cell): Do no longer rely on complex operations like
12032 ses-cell-set-formula or ses-set-cell to change the cell and handle
12033 the undo at the same time, but rather use lower level new macros
12034 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
12035 the undo directly. Refresh the mode line.
12037 2012-07-21 Leo Liu <sdl.web@gmail.com>
12039 * progmodes/cc-cmds.el (c-defun-name):
12040 Use match-string-no-properties instead for consistency.
12042 2012-07-20 Leo Liu <sdl.web@gmail.com>
12044 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
12047 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
12049 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
12051 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
12052 * progmodes/bug-reference.el, misearch.el: Provide themselves
12055 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
12056 of narrowed buffer (bug#11966).
12058 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
12060 * ses.el (ses-rename-cell): Set new name also in reference list of
12061 cells of which the renamed cell depends.
12063 2012-07-20 Masatake YAMATO <yamato@redhat.com>
12065 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
12066 to check whether menu-bar is shown or not. If not shown,
12067 show the menu-bar as a popup menu instead of using tmm.
12068 * mouse.el (popup-menu): Accept `point' as `position' argument.
12070 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
12072 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
12073 up inside string symbol literal (bug#11923).
12075 2012-07-20 Eli Zaretskii <eliz@gnu.org>
12077 * startup.el (fancy-startup-text): Read the whole tutorial, not
12078 just its first 256 bytes. Prevents gibberish in display of the
12081 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
12083 Drop idle buffer compaction due to an absence of the
12085 * compact.el: Remove.
12087 2012-07-19 Sam Steingold <sds@gnu.org>
12089 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
12090 vc-bzr-pull & vc-bzr-merge-branch.
12091 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
12092 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
12093 for consistency with compilation-error-regexp-alist.
12094 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
12095 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
12096 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
12097 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
12099 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12101 * emacs-lisp/chart.el: Use lexical-binding.
12102 (chart-emacs-storage): Don't hardcode the list of entries.
12104 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12106 Next round of tweaks caused by Fgarbage_collect changes.
12107 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
12109 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12111 Compact buffers when idle.
12112 * compact.el: New file.
12114 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12116 * subr.el (eventp): Presume that if it looks vaguely like an event,
12117 it's an event (bug#10190).
12119 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
12121 Enhancements to ppss related code (thanks Stefan).
12122 * progmodes/python.el (python-indent-context)
12123 (python-indent-calculate-indentation, python-indent-dedent-line)
12124 (python-indent-electric-colon, python-nav-forward-block)
12125 (python-mode-abbrev-table)
12126 (python-info-assignment-continuation-line-p): Simplify checks
12128 (python-info-continuation-line-p): Cleanup.
12129 (python-info-ppss-context): Do not catch 'quote.
12130 (python-info-ppss-context-type)
12131 (python-info-ppss-comment-or-string-p): Simplify.
12133 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
12135 * progmodes/python.el: Enhancements to eldoc support.
12136 (python-info-current-symbol): New function.
12137 (python-eldoc-at-point): Use python-info-current-symbol.
12138 (python-info-current-defun): Fix cornercase on first defun scan.
12139 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
12140 and signal error when no inferior python process is available.
12142 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
12144 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
12145 assume it's always t.
12146 (vc-git-registered): Remove caching, the function is only called
12148 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
12150 2012-07-18 Chong Yidong <cyd@gnu.org>
12152 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
12154 * simple.el (count-words): Report on narrowing (Bug#9959).
12156 * bindings.el: Bind M-= to count-words.
12158 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
12160 2012-07-18 Masatake YAMATO <yamato@redhat.com>
12162 * progmodes/sh-script.el (sh-imenu-generic-expression):
12163 Capture a function with `function' keyword and without parentheses
12164 like "function FOO" (bug#11856).
12166 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
12168 * window.el (split-window-sensibly): Make WINDOW argument
12171 2012-07-18 Chong Yidong <cyd@gnu.org>
12173 * subr.el (keyboard-translate): Doc fix (Bug#7261).
12175 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
12176 and make C-x 8 RET exit isearch (Bug#11439).
12178 * international/iso-transl.el: Move isearch-mode-map key
12179 definitions to isearch.el.
12181 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
12183 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
12184 (eieio-defclass): Use gv-define-setter when possible.
12186 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
12188 Reflect recent changes in Fgarbage_collect.
12189 * emacs-lisp/chart.el (chart-emacs-storage): Change to
12190 reflect new format of data returned by Fgarbage_collect.
12192 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12194 New utility functions + python-info-ppss-context fix (Bug#11910).
12195 * progmodes/python.el (python-info-beginning-of-block-statement-p)
12196 (python-info-ppss-comment-or-string-p): New functions.
12197 (python-info-ppss-context): Small fix for string check.
12199 2012-07-17 Juri Linkov <juri@jurta.org>
12201 * dired-aux.el (dired-do-async-shell-command): Doc fix.
12202 (dired-do-async-shell-command): Don't add `*' at the end of the
12203 command (Bug#11815).
12204 (dired-do-shell-command): Doc fix.
12205 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
12206 Join the individual commands using either "&" or ";" as the
12207 separator depending on the values of these trailing characters.
12208 At the end re-add the trailing "&". (Bug#10598)
12210 * simple.el (async-shell-command): Sync the interactive spec with
12211 `shell-command'. Doc fix.
12212 (shell-command): Doc fix.
12214 2012-07-17 Juri Linkov <juri@jurta.org>
12216 * descr-text.el (describe-char): Fix format args. (Bug#10129)
12218 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12220 Final renames and doc fixes for movement commands (bug#11899).
12221 * progmodes/python.el (python-nav-beginning-of-statement):
12222 Rename from python-nav-statement-start.
12223 (python-nav-end-of-statement): Rename from
12224 python-nav-statement-end.
12225 (python-nav-beginning-of-block): Rename from
12226 python-nav-block-start.
12227 (python-nav-end-of-block): Rename from python-nav-block-end.
12229 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12231 * progmodes/python.el (python-shell-send-string-no-output):
12232 Allow accept-process-output to quit, keeping shell process ready for
12233 future interactions (Bug#11868).
12235 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12237 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
12239 * emacs-lisp/elint.el (elint-find-args-in-code):
12240 Use help-function-arglist, so as to handle lexical byte-code.
12242 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
12243 change (bug#11826).
12245 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12247 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
12248 Avoid spuriously marking the buffer as modified because of c-is-sws.
12250 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12251 as not-a-comment (bug#11946).
12253 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12254 for uninterned vars.
12256 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12257 Use read-event since we don't really want to read chars but bytes.
12259 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12260 $$..$$ but also $..$ using regexps (bug#11953).
12261 Use tex-verbatim for \url and \path.
12262 (tex-font-lock-keywords): Define as defconst like the others.
12263 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12265 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12267 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12268 alias for insert-char.
12270 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12272 * progmodes/python.el: Simplified imenu implementation.
12273 (python-nav-jump-to-defun): Remove command.
12274 (python-mode-map): Use `imenu' instead.
12275 (python-nav-list-defun-positions-cache)
12276 (python-imenu-include-defun-type, python-imenu-make-tree)
12277 (python-imenu-subtree-root-label, python-imenu-index-alist):
12279 (python-nav-list-defun-positions, python-nav-read-defun)
12280 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12281 (python-imenu-make-tree, python-imenu-create-index):
12283 (python-mode): Update to interact with imenu by setting
12284 `imenu-extract-index-name-function' only.
12286 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12288 * progmodes/python.el: Enhancements to navigation commands.
12289 (python-nav-backward-sentence)
12290 (python-nav-forward-sentence): Remove.
12291 (python-nav-backward-statement, python-nav-forward-statement)
12292 (python-nav-statement-start, python-nav-statement-end)
12293 (python-nav-backward-block, python-nav-forward-block)
12294 (python-nav-block-start, python-nav-block-end)
12295 (python-nav-forward-sexp-function)
12296 (python-info-current-line-comment-p)
12297 (python-info-current-line-empty-p): New functions.
12298 (python-indent-context): Use `python-nav-statement-start'.
12300 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12302 * eshell/em-ls.el (eshell/ls): Use `apply'.
12304 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12305 multi-hops, instead of Tramp internals.
12307 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12309 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12310 when F1 and F2 are located on different hosts.
12312 2012-07-14 Chong Yidong <cyd@gnu.org>
12314 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12315 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12316 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12317 (xterm-mouse--read-event-sequence-1000)
12318 (xterm-mouse--read-event-sequence-1006): New functions. For old
12319 mouse protocol, handle M-mouse-X events correctly.
12320 (xterm-mouse-event): New arg specifying mouse protocol.
12321 (turn-on-xterm-mouse-tracking-on-terminal)
12322 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12323 sequence to toggle extended coordinates on newer XTerms.
12324 This appears to be harmless on terminals which do not support this.
12326 2012-07-14 Leo Liu <sdl.web@gmail.com>
12328 Add fringe bitmap indicators for flymake. (Bug#11253)
12329 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12330 (flymake-make-overlay): New arg BITMAP.
12331 (flymake-error-bitmap, flymake-warning-bitmap)
12332 (flymake-fringe-indicator-position): New user variables.
12334 * fringe.el: New bitmap exclamation-mark.
12336 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12338 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12341 2012-07-14 Chong Yidong <cyd@gnu.org>
12343 * electric.el (electric-pair-post-self-insert-function): Fix pair
12344 insertion in empty-region case (Bug#11520).
12346 2012-07-14 Chong Yidong <cyd@gnu.org>
12348 * bindings.el: Consolidate ctl-x-r-map bindings.
12349 Bind copy-rectangle-as-kill to C-x r w.
12351 * rect.el, register.el: Move bindings to bindings.el.
12353 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12355 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12357 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12359 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12361 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12363 * bindings.el (top): Use `mapc' instead of `mapcar'.
12365 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12367 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12369 * progmodes/sql.el (sql-comint): Suppress the check for program on
12370 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12373 2012-07-13 Chong Yidong <cyd@gnu.org>
12375 * bindings.el: Assign a non-nil permanent-local property to
12376 per-buffer variables which lack a default value (Bug#11930).
12378 * help-fns.el (describe-variable): In the "automatically becomes
12379 local" notice, take note of permanent-local variables.
12381 2012-07-13 Chong Yidong <cyd@gnu.org>
12383 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12384 to allow printing the message when called from Lisp.
12386 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12387 Remove toggle-read-only.
12389 * bs.el (bs-toggle-readonly):
12390 * buff-menu.el (Buffer-menu-toggle-read-only):
12391 Remove with-no-warnings around toggle-read-only.
12393 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12394 Remove with-no-warnings around toggle-read-only.
12395 (ffap-read-only, ffap-read-only-other-window)
12396 (ffap-read-only-other-frame): Callers changed.
12398 * help-mode.el: Don't require view package.
12399 (help-mode-finish): Set buffer-read-only instead of calling
12402 * bindings.el (mode-line-toggle-read-only):
12403 * dired.el (dired-toggle-read-only):
12404 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12405 with non-nil second arg.
12407 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12408 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12411 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12413 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12416 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12418 More CL cleanups and reduction of use of cl.el.
12419 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12420 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12421 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12422 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12423 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12424 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12425 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12426 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12427 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12428 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12429 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12430 * eshell/em-cmpl.el, eshell/em-banner.el:
12431 * calendar/parse-time.el: Use cl-lib.
12432 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12433 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12434 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12435 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12436 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12437 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12438 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12439 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12440 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12441 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12442 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12443 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12444 `lambda' rather than with `quote'.
12445 (eshell-do-opt): Adjust accordingly.
12446 (eshell-process-option): Simplify.
12447 * eshell/esh-var.el:
12448 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12449 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12450 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12451 to `pcase--dontcare'.
12452 * emacs-lisp/cl.el (labels): Mark obsolete.
12453 (cl--letf, letf): Move to cl-lib.
12454 (cl--letf*, letf*): Remove.
12455 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12456 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12457 (cl-progv): Rewrite.
12458 (cl--letf, cl-letf): Move from cl.el.
12459 (cl-letf*): New macro.
12460 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12462 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12464 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12466 2012-07-11 Chong Yidong <cyd@gnu.org>
12468 * vc/log-edit.el (log-edit-vc-backend): New variable.
12469 (log-edit): Doc fix.
12471 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12472 argument of log-edit to set up all local variables.
12473 (vc-start-logentry): New optional arg specifying VC backend.
12475 * vc/vc.el (vc-checkin): Use it.
12476 (vc-deduce-fileset): Handle Log Edit buffers.
12477 (vc-diff): Make first argument optional too.
12479 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12481 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12483 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12484 command, just in case. The function is not needed anymore.
12485 (eshell-external-command): Do not call `eshell-remote-command'.
12487 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12489 Reduce use of (require 'cl).
12490 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12491 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12492 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12493 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12494 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12495 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12496 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12497 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12498 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12499 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12500 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12501 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12502 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12503 (byte-compile-unfold-bcf, byte-compile-check-variable):
12504 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12505 (byte-compile-nilconstp):
12506 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12507 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12509 * emacs-lisp/gv.el (cond): Make it a valid place.
12510 (if): Simplify slightly.
12512 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12513 (pcase--self-quoting-p): New function.
12514 (pcase--u1): Use it.
12516 2012-07-10 Glenn Morris <rgm@gnu.org>
12518 * emacs-lisp/authors.el (authors-fixed-entries):
12519 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12521 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12523 Rename configure.in to configure.ac (Bug#11603).
12524 * emacs-lisp/authors.el (authors-canonical-file-name):
12525 * progmodes/autoconf.el (autoconf-mode):
12526 Prefer configure.ac to configure.in.
12528 2012-07-08 Chong Yidong <cyd@gnu.org>
12530 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12531 Implement the mouse-1-click-follows-link handling properly.
12533 * info.el (Info-link-keymap): Use follow-link mechanism for
12534 header-line links (Bug#374).
12536 * simple.el (deactivate-mark): Do not set the primary selection
12537 if another program has acquired it (Bug#11772).
12539 2012-07-07 Kevin Ryde <user42@zip.com.au>
12541 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12542 (woman-decode-region): Replace escaped-escapes without destroying
12543 bold or underline (Bug#11552).
12544 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12546 2012-07-07 Chong Yidong <cyd@gnu.org>
12548 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12549 (interprogram-cut-function, interprogram-paste-function):
12550 Mention that we typically mean the clipboard.
12552 2012-07-06 Glenn Morris <rgm@gnu.org>
12554 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12556 * files.el (toggle-read-only): Restrict message to interactive use.
12558 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12560 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12562 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12564 2012-07-06 Glenn Morris <rgm@gnu.org>
12566 * Makefile.in (compile-one-process): Rename from "recompile".
12568 * Makefile.in (bzr-update): "compile" is the same as "recompile
12569 autoloads", but parallelizable, so use that instead.
12571 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12573 * window.el (quit-window): Always restore window height when
12574 it's saved in quit-restore parameter (Bug#11810).
12576 2012-07-06 Glenn Morris <rgm@gnu.org>
12578 * simple.el (kill-whole-line): Doc tweak.
12580 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12582 * files.el (file-relative-name): Compare file names
12583 case-insensitively if on MS-Windows or MS-DOS, or if
12584 read-file-name-completion-ignore-case is non-nil. Don't use
12585 case-fold-search for this purpose. (Bug#11827)
12587 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12589 * calendar/cal-dst.el (calendar-current-time-zone):
12590 Return calendar-current-time-zone-cache if non-nil.
12592 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12593 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12595 * calendar/cal-dst.el (calendar-current-time-zone):
12596 Return calendar-current-time-zone-cache if non-nil.
12598 2012-07-06 Glenn Morris <rgm@gnu.org>
12600 * Makefile.in (cvs-update): Remove old alias.
12602 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12604 Sync with Tramp 2.2.6-pre.
12606 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12607 compatible declaration.
12609 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12610 Protect `list-load-path-shadows' call.
12612 * net/tramp-compat.el (top): Require packages, which aren't
12613 autoloaded anymore for XEmacs. Protect call of
12614 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12615 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12616 it hurts at least for SXEmacs.
12617 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12618 standard-value for `temporary-file-directory'.
12620 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12621 Redirect stderr to /dev/null.
12622 (tramp-sh-handle-write-region): uid and gid can be floats.
12623 Reported by Russell Sim <russell.sim@gmail.com>.
12624 (tramp-sh-handle-vc-registered): Hide errors.
12625 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12626 and `start-file-process'.
12627 (tramp-maybe-open-connection): Check also whether `non-essential'
12630 2012-07-04 Chong Yidong <cyd@gnu.org>
12632 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12633 (xml-parse-tag): Likewise, and avoid changing entity tables.
12634 (xml-syntax-table): Define from scratch, making sure not to give
12635 x2000 and other Unicode spaces whitespace syntax, since those are
12637 (xml-parse-fragment): Delete unused function.
12638 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12639 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12640 (xml-entity-ref, xml-pe-reference-re)
12641 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12642 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12643 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12644 (xml-entity-value-re): Use syntax references in regexps where
12645 possible; no need to define inside a let-binding.
12646 (xml-parse-dtd): Use xml-pe-reference-re.
12647 (xml-entity-or-char-ref-re): New defconst.
12648 (xml-parse-string, xml-substitute-special): Use it.
12650 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12652 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12653 (find-file--read-only): New function.
12654 (find-file-read-only, find-file-read-only-other-window)
12655 (find-file-read-only-other-frame): Use it.
12656 (insert-file-contents-literally): Don't `fset'.
12657 (get-free-disk-space): Use locate-dominating-file.
12659 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12660 function is already compiled.
12662 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12664 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12666 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12667 files on the same host.
12669 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12671 * help-fns.el (describe-function-1): Only call
12672 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12674 2012-07-03 Chong Yidong <cyd@gnu.org>
12676 * xml.el: Protect parser against XML bombs.
12677 (xml-entity-expansion-limit): New variable.
12678 (xml-parse-string, xml-substitute-special): Use it.
12679 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12681 2012-07-03 Glenn Morris <rgm@gnu.org>
12683 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12684 Allow linking to specific messages in debbugs reports (eg 123#5).
12686 2012-07-02 Chong Yidong <cyd@gnu.org>
12688 * xml.el: Fix entity and character reference expansion, allowing
12689 them to expand into markup as per XML spec.
12690 (xml-default-ns): New variable.
12691 (xml-entity-alist): Use XML spec definitions for lt and amp.
12692 (xml-parse-region): Make first two arguments optional.
12693 Discard text properties.
12694 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12695 All callers changed.
12696 (xml-parse-tag): Call xml-parse-tag-1. For backward
12697 compatibility, this function should not modify buffer contents.
12698 (xml-parse-tag-1): Fix opening-tag regexp.
12699 (xml-parse-string): Rewrite, handling entity and character
12700 references properly.
12701 (xml--entity-replacement-text): Signal an error if a parameter
12702 entity is undefined.
12704 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12706 * comint.el (comint-output-filter): Filter out repeated prompts.
12708 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12709 and file-name-absolute-p.
12710 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12713 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12716 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12717 Rename from byte-compile--refiy-function. All uses changed.
12719 2012-07-01 Chong Yidong <cyd@gnu.org>
12721 * xml.el (xml--parse-buffer): New function. Move most of
12722 xml-parse-region here.
12723 (xml-parse-region): Copy region into a temporary buffer, since
12724 parameter entity substitution requires changing buffer contents.
12725 Use xml--parse-buffer.
12726 (xml-parse-file): Use xml--parse-buffer.
12727 (xml-parse-dtd): Make parameter entity substitution work right.
12728 Use proper regexps for ELEMENT declarations (Bug#7172).
12730 2012-06-30 Glenn Morris <rgm@gnu.org>
12732 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12734 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12735 Remove outdated and unnecessary dbus declarations.
12737 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12739 * emacs-lisp/timer.el (timer-until): Subtract results of
12740 float-time, instead of taking float-time of the result of
12741 time-subtract, since float-time signals an error for negative time
12744 2012-06-30 Chong Yidong <cyd@gnu.org>
12746 * xml.el (xml-*-re): Convert defvars into defconsts, and
12747 eval-and-compile them so eval-and-compile works on derivatives.
12748 (xml--entity-replacement-text): Use eval-and-comple.
12750 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12752 * vc/vc-git.el (vc-git-registered): Use cache property
12754 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12755 `vc-git-working-revision' in order to benefit from the cache.
12756 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12758 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12760 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12761 removed (likely outside Emacs). (Bug#11757)
12763 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12765 * emacs-lisp/cl-lib.el: Require macroexp.
12767 2012-06-30 Chong Yidong <cyd@gnu.org>
12769 * xml.el: Implement XML parameter entities.
12770 (xml-parameter-entity-alist): New variable.
12771 (xml-parse-region, xml-parse-fragment): Preserve previous values
12772 of xml-entity-alist and xml-parameter-entity-alist, so that
12773 repeated calls on different documents do not change them.
12774 (xml-parse-tag): Fix doctype regexp.
12775 (xml--entity-replacement-text): New function.
12776 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12777 properly requires url retrieval which is unimplemented.
12778 (xml-escape-string): Doc fix.
12780 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12784 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12786 * fringe.el (fringe-mode): Doc fix.
12788 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12790 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12792 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12793 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12795 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12797 * calendar/cal-dst.el (calendar-current-time-zone):
12798 Return calendar-current-time-zone-cache if non-nil.
12800 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12802 * progmodes/which-func.el (which-func-format):
12803 Add mouse-face. (Bug#11698)
12805 2012-06-29 Leo Liu <sdl.web@gmail.com>
12807 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12809 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12811 * minibuffer.el (minibuffer-confirm-exit-commands):
12812 Add completion-at-point (bug#11725).
12814 2012-06-29 Glenn Morris <rgm@gnu.org>
12816 * progmodes/f90.el (f90-font-lock-keywords-2):
12817 Add some preprocessor elements. (Bug#10499)
12819 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12822 Use syntax-propertize (bug#11739).
12824 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12826 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12828 2012-06-28 Julien Danjou <julien@danjou.info>
12830 * term.el (term-handle-colors-array): Use a set of new faces to
12831 color the terminal. Also uses :inverse-video property.
12832 (term-default-fg-color): Set to nil by default, deprecate in favor
12834 (term-default-bg-color): Set to nil by default, deprecate in favor
12836 (term-current-face): Use `term-face' by default.
12837 (term-bold-attribute): Variable deleted.
12839 2012-06-28 Glenn Morris <rgm@gnu.org>
12841 * simple.el (completion-list-mode-finish):
12842 Don't use toggle-read-only. (Since completion-list-mode has
12843 a special mode-class, it wasn't doing anything extra anyway.)
12845 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12847 Make inlining of other-mode interpreted functions work (bug#11799).
12848 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12849 (byte-compile): Use it to fix compilation of lexical-binding closures.
12850 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12851 function, if needed.
12853 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12855 * help-mode.el (help-make-xrefs): Don't just withstand
12856 cyclic-variable-indirection but any error in documentation-property.
12858 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12860 * bindings.el (bindings--define-key): New function.
12861 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12862 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12863 * bindings.el: Use it to purecopy define-key bindings.
12865 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12867 * emacs-lisp/cl.el (flet): Mark obsolete.
12868 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12869 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12870 * progmodes/js.el (js-c-fill-paragraph):
12871 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12872 (ebrowse-switch-member-buffer-to-derived-class):
12873 * play/5x5.el (5x5-solver): Use cl-flet.
12875 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12876 (cl--symbol-function): New macro.
12877 (cl--letf, cl--letf*): Use it.
12879 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12880 Strip "toggle-" if any.
12882 2012-06-27 Glenn Morris <rgm@gnu.org>
12884 * info.el (Info-default-directory-list): Move here from paths.el.
12885 * paths.el: Remove file, which is now empty.
12886 * loadup.el: No longer load "paths".
12888 * custom.el (custom-initialize-delay): Doc fix.
12890 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12891 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12892 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12893 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12894 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12895 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12896 * eshell/eshell.el (eshell-defgroup): Remove alias.
12898 2012-06-27 Chong Yidong <cyd@gnu.org>
12900 * help.el (help-enable-auto-load): New variable.
12902 * help-fns.el (help-fns--autoloaded-p): New function.
12903 (describe-function-1): Refer to a function as "autoloaded" if it
12904 was autoloaded at any time in the past. Perform autoloading if
12905 help-enable-auto-load is non-nil.
12907 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12909 * makefile.w32-in (compile, compile-always): Depend on
12910 update-subdirs, not on subdirs.el. Otherwise, several different
12911 sub-targets of 'bootstrap' running in parallel could
12912 simultaneously write to subdirs.el, producing a garbled file.
12914 2012-06-26 Sam Steingold <sds@gnu.org>
12916 * files.el (file-name-base): New convenience function.
12917 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12918 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12919 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12920 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12921 * textmodes/ispell.el, textmodes/reftex-ref.el:
12922 * textmodes/tex-mode.el: Use it.
12923 Did not touch cedet and org because they are maintained elsewhere.
12925 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12927 * calendar/calendar.el (calendar-exit): Don't try to delete or
12928 iconify last frame. See:
12929 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12931 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12933 * server.el (server-process-filter): Remember dir in the
12934 process's `server-client-directory' properties.
12936 2012-06-24 Chong Yidong <cyd@gnu.org>
12938 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12941 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12943 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12945 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12947 * help-fns.el (describe-variable): Don't croak when doc is not found.
12948 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12949 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12950 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12951 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12952 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12954 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12956 2012-06-23 Chong Yidong <cyd@gnu.org>
12958 * info.el (Info-mouse-follow-link): Accept symbol values of
12959 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12960 (Info-fontify-node): Use Info-link-keymap for all navigation
12961 buttons, with link-args property to perform the desired action.
12962 (Info-link-keymap): Doc fix.
12963 (Info-next-link-keymap, Info-prev-link-keymap)
12964 (Info-up-link-keymap): Delete now-unused keymaps.
12966 2012-06-23 Chong Yidong <cyd@gnu.org>
12968 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12970 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12973 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12975 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12977 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12980 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12981 the requote function doesn't work properly (bug#11714).
12983 2012-06-23 Glenn Morris <rgm@gnu.org>
12985 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12987 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12989 Further GV/CL cleanups.
12990 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12992 (gv--defun-declaration): New function.
12993 (defun-declarations-alist): Use it.
12994 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12995 (gv-place): Autoload.
12996 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12997 original definition of dotimes and dolist.
12998 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12999 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
13000 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
13001 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13002 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
13003 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
13004 to the function's definition.
13005 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
13009 * env.el: Don't use CL.
13011 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
13013 Support higher-resolution time stamps (Bug#9000).
13015 * calendar/time-date.el (with-decoded-time-value): New arg
13016 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
13017 (encode-time-value): New optional arg PICO. New type 3.
13018 (time-to-seconds) [!float-time]: Support the new picoseconds
13019 component if it's used.
13020 (seconds-to-time, time-subtract, time-add):
13021 Support ps-resolution time stamps as well.
13023 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
13024 (timerp): Timer vectors now have length 9, not 8.
13025 (timer--time): Support new-style (4-part) time stamps.
13026 (timer-next-integral-multiple-of-time): Time stamps now have
13027 picosecond resolution, so take a bit more care about rounding.
13028 (timer-relative-time, timer-inc-time): New optional arg psecs.
13029 (timer-set-time-with-usecs): Set psecs to 0.
13030 (timer--activate): Check psecs component, too.
13032 * proced.el (proced-time-lessp): Support ps-resolution stamps.
13034 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
13037 Move the non-essential binding to the post/pre-command-hook where it is
13038 more obviously correct.
13040 * subr.el (read-passwd): Don't use a history at all.
13041 * savehist.el (savehist-save): Remove password saved accidentally
13042 because of the above bug.
13044 2012-06-22 Bastien Guerry <bzg@gnu.org>
13046 * files.el (toggle-read-only): Display a message telling whether
13047 the buffer is read-only or not (bug#11726).
13049 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13051 * emacs-lisp/gv.el: New file.
13052 * subr.el (push, pop): Extend to generalized variables.
13053 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
13054 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
13055 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
13056 gv-define-simple-setter, and gv-define-expander.
13057 Remove setf-methods defined in gv. Rename cl-setf -> setf.
13058 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
13059 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
13060 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
13061 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
13063 (cl-defstruct): Don't define setf-method any more.
13064 * emacs-lisp/cl.el (flet): Don't autoload.
13065 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
13066 (define-setf-expander, defsetf, define-modify-macro)
13067 (cl-struct-setf-expander): Move from cl-lib.el.
13068 * emacs-lisp/syntax.el:
13069 * emacs-lisp/ewoc.el:
13070 * emacs-lisp/smie.el:
13071 * emacs-lisp/cconv.el:
13072 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
13073 (timer--time): Use gv-define-simple-setter.
13074 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
13075 to avoid coding-system problems in subr.el. Adjust all users.
13076 (macroexp--maxsize, macroexp-small-p): New functions.
13077 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
13078 * scroll-bar.el (scroll-bar-mode):
13079 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
13080 (normal-erase-is-backspace-mode): Don't use the `eq' place.
13081 * winner.el (winner-configuration, winner-make-point-alist)
13082 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
13083 * files.el (locate-file-completion-table): Avoid list*.
13085 2012-06-22 Chong Yidong <cyd@gnu.org>
13087 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
13088 (dired-create-files): Doc fix (Bug#11329).
13089 (dired-do-copy): Doc fix (Bug#11334).
13090 (dired-mark-read-string): Doc fix (Bug#11553).
13092 * dired.el (dired-recursive-copies, dired-recursive-deletes):
13093 Doc fix (Bug#11326).
13094 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
13095 (dired-dwim-target): Doc fix.
13097 * wdired.el (wdired-mode): Doc fix.
13099 2012-06-22 Glenn Morris <rgm@gnu.org>
13101 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
13102 (pcmpl-rpm-cache-stamp-file): New constant.
13103 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
13104 (pcmpl-rpm-packages): Optionally cache list of packages.
13106 * pcmpl-rpm.el (pcmpl-rpm): New group.
13107 (pcmpl-rpm-query-options): New option.
13108 (pcmpl-rpm-packages): No need to inline it.
13109 Use pcmpl-rpm-query-options.
13111 * calendar/calendar.el (calendar-in-read-only-buffer):
13112 Avoid some needless mode changes.
13114 2012-06-21 Chong Yidong <cyd@gnu.org>
13116 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
13117 (desktop-path): Remove . from the default value (Bug#10977).
13118 (desktop-read): Use user-emacs-directory if desktop-path is nil.
13120 2012-06-20 Chong Yidong <cyd@gnu.org>
13122 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
13124 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
13126 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
13129 2012-06-20 Chong Yidong <cyd@gnu.org>
13131 * term.el (term-window-width): Handle the case of a missing right
13133 (term-check-size): Use window-text-height (Bug#5445).
13134 (term-mode): Use define-derived-mode. Minor cleanups.
13135 Set font-lock-defaults (Bug#7692).
13136 (term-move-columns, term-insert-char, term-emulate-terminal)
13137 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
13139 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
13141 * net/ange-ftp.el (ange-ftp-get-passwd):
13142 Bind `enable-recursive-minibuffers'.
13143 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
13145 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
13147 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
13149 2012-06-19 Glenn Morris <rgm@gnu.org>
13151 * progmodes/python.el (python-mode): Derive from prog-mode.
13153 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
13155 * emulation/edt.el (edt-default-menu-bar-update-buffers)
13156 (edt-user-menu-bar-update-buffers): New functions.
13157 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
13159 2012-06-19 Chong Yidong <cyd@gnu.org>
13161 * subr.el (with-selected-window): Preserve the selected window's
13162 terminal's top-frame (Bug#4702).
13164 * window.el (save-selected-window): Likewise.
13166 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13168 * progmodes/python.el (python-rx-constituents): Move backquote.
13169 (python-skeleton-define, python-define-auxiliary-skeleton):
13172 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
13174 * minibuffer.el (read-file-name-default): Revert the patch from
13177 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13179 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
13180 (pcase--u1, pcase--q1): Don't use apply-partially.
13182 2012-06-18 Glenn Morris <rgm@gnu.org>
13184 * progmodes/python.el (python-proc, python-buffer)
13185 (python-send-receive, python-send-string): Fix obsolete versions.
13187 2012-06-18 Martin Rudalics <rudalics@gmx.at>
13189 * window.el (special-display-p): Completely remove stringp
13190 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13192 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
13194 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
13196 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
13198 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
13199 * net/tramp-sh.el (tramp-maybe-open-connection):
13200 Throw if `non-essential' is non-nil.
13202 2012-06-17 Martin Rudalics <rudalics@gmx.at>
13204 * window.el (special-display-p): Signal an error if BUFFER-NAME
13205 is not a string (Bug#11713).
13207 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
13209 * progmodes/python.el (python-info-beginning-of-backslash):
13210 Rename from python-info-beginning-of-backlash, as a spelling fix.
13212 2012-06-17 Chong Yidong <cyd@gnu.org>
13214 * term.el (term-emulate-terminal): If term-check-size is called,
13215 move point to the process mark without resetting point (Bug#4635).
13217 2012-06-17 Glenn Morris <rgm@gnu.org>
13219 * international/mule-cmds.el (mule-menu-keymap)
13220 (set-language-environment, set-locale-environment): Doc tweaks.
13222 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
13224 * cus-face.el (custom-face-attributes): Add wave-style underline
13226 * faces.el (set-face-attribute): Update docstring to describe
13227 wave-style underline attribute.
13229 2012-06-16 Chong Yidong <cyd@gnu.org>
13231 * term/xterm.el (terminal-init-xterm): Discard input before
13232 querying background mode (Bug#10959).
13234 2012-06-16 Stefan Merten <smerten@oekonux.de>
13236 * textmodes/rst.el: Added and corrected some comments.
13237 (rst-re-alist-def): Improve symbol syntax.
13238 (rst-mode-syntax-table): Correct syntax entries.
13239 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
13240 (rst-official-version, rst-official-cvs-rev): Update version
13243 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
13245 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13246 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
13248 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
13250 * progmodes/python.el: New python.el merge.
13251 (python-guess-indent): Obsolete var.
13252 (python-indent-guess-indent-offset): New defcustom.
13253 (python-indent): Obsolete var.
13254 (python-indent-offset): New defcustom.
13255 (python-python-command, python-jython-command): Delete var.
13256 (python-shell-interpreter): New defcustom.
13257 (python-pdbtrack-do-tracking-p): Delete var.
13258 (python-pdbtrack-activate): New defcustom.
13259 (python-use-skeletons): Obsolete var.
13260 (python-skeleton-autoinsert): New defcustom.
13261 (inferior-python-filter-regexp, python-continuation-offset)
13262 (python-honour-comment-indentation, python-indent-string-contents)
13263 (python-jython-packages, python-mode-hook)
13264 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13265 (python-shell-prompt-alist)
13266 (python-source-modes): Delete defcustoms.
13267 (python-check-buffer-name, python-eldoc-setup-code)
13268 (python-eldoc-string-code, python-ffap-setup-code)
13269 (python-ffap-string-code, python-fill-comment-function)
13270 (python-fill-decorator-function, python-fill-paren-function)
13271 (python-fill-string-function, python-imenu-include-defun-type)
13272 (python-imenu-make-tree, python-imenu-subtree-root-label)
13273 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13274 (python-shell-compilation-regexp-alist)
13275 (python-shell-completion-module-string-code)
13276 (python-shell-completion-pdb-string-code)
13277 (python-shell-completion-setup-code)
13278 (python-shell-completion-string-code)
13279 (python-shell-enable-font-lock, python-shell-exec-path)
13280 (python-shell-extra-pythonpaths)
13281 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13282 (python-shell-process-environment)
13283 (python-shell-prompt-block-regexp)
13284 (python-shell-prompt-output-regexp)
13285 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13286 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13287 (python-shell-virtualenv-path): New defcustoms.
13288 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13289 (inferior-python-mode-syntax-table, python--prompt-regexp)
13290 (python-buffer, python-command python-python-command)
13291 (python-default-template, python-imports, python-indent-index)
13292 (python-indent-list, python-indent-list-length)
13293 (python-mode-running, python-pdbtrack-is-tracking-p)
13294 (python-preoutput-continuation, python-preoutput-leftover)
13295 (python-preoutput-result, python-preoutput-skip-next-prompt)
13296 (python-prev-dir/file, python-recursing)
13297 (python-saved-check-command, python-version-checked)
13298 (python-which-func-length-limit)
13299 (view-return-to-alist): Delete vars.
13300 (python-check-custom-command, python-dotty-syntax-table)
13301 (python-imenu-index-alist, python-indent-current-level)
13302 (python-indent-dedenters, python-indent-levels)
13303 (python-nav-beginning-of-defun-regexp)
13304 (python-nav-list-defun-positions-cache)
13305 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13306 (python-shell-internal-buffer)
13307 (python-skeleton-available): New vars.
13308 (def-python-skeleton): Delete macro.
13309 (python-skeleton-define): New macro.
13310 (python-define-auxiliary-skeleton, python-rx): New macros.
13311 (python-insert-class): Delete command.
13312 (python-skeleton-class): New command.
13313 (python-insert-def): Delete command.
13314 (python-skeleton-def): New command.
13315 (python-insert-for): Delete command.
13316 (python-skeleton-for): New command.
13317 (python-insert-if): Delete command.
13318 (python-skeleton-if): New command.
13319 (python-insert-try/except, python-insert-try/finally): Delete commands.
13320 (python-skeleton-try): New command.
13321 (python-insert-while): Delete command.
13322 (python-skeleton-while): New command.
13323 (python-backspace): Delete command.
13324 (python-indent-dedent-line-backspace): New command.
13325 (python-electric-colon): Delete command.
13326 (python-indent-electric-colon): New command.
13327 (python-guess-indent): Delete command.
13328 (python-indent-guess-indent-offset): New command.
13329 (python-shift-left): Delete command.
13330 (python-indent-shift-left): New command.
13331 (python-shift-right): Delete command.
13332 (python-indent-shift-right): New command.
13333 (python-find-function): Delete command.
13334 (python-nav-jump-to-defun): New command.
13335 (python-next-statement): Delete command.
13336 (python-nav-forward-sentence): New command.
13337 (python-previous-statement): Delete command.
13338 (python-nav-backward-sentence): New command.
13339 (python-fill-paragraph): Delete command.
13340 (python-fill-paragraph-function): New command.
13341 (python-send-buffer): Delete command.
13342 (python-shell-send-buffer): New command.
13343 (python-send-defun): Delete command.
13344 (python-shell-send-defun): New command.
13345 (python-send-region, python-send-region-and-go): Delete commands.
13346 (python-shell-send-region)
13347 (python-shell-switch-to-shell): New commands.
13348 (python-send-string): Delete command.
13349 (python-shell-send-string): New command.
13350 (python-switch-to-python): Delete command.
13351 (python-shell-switch-to-shell): New command.
13352 (python-describe-symbol): Delete command.
13353 (python-eldoc-at-point): New command.
13354 (python--set-prompt-regexp, python-args-to-list)
13355 (python-after-info-look, python-check-version)
13356 (python-check-comint-prompt, python-find-imports)
13357 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13358 (python-unload-function, python-expand-template)
13359 (python-maybe-jython, python-preoutput-filter)
13360 (python-pdbtrack-get-source-buffer)
13361 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13362 (python-pdbtrack-toggle-stack-tracking)
13363 (python-pdbtrack-track-stack-file, python-initial-text)
13364 (python-first-word, python-comment-line-p, python-send-command)
13365 (python-setup-brm, python-sentinel, python-set-proc)
13366 (python-skip-out, python-input-filter, python-outdent-p)
13367 (python-outline-level, python-backslash-continuation-line-p)
13368 (python-end-of-block, python-end-of-statement, python-mark-block)
13369 (python-beginning-of-block, python-beginning-of-statement)
13370 (python-blank-line-p, python-beginning-of-string)
13371 (python-open-block-statement-p): Delete functions.
13372 (python-indent-line, python-indent-line-1): Delete functions.
13373 (python-indent-line): New function.
13374 (python-indentation-levels): Delete function.
13375 (python-indent-calculate-levels): New function.
13376 (python-proc): Delete function.
13377 (python-shell-get-process): New function.
13378 (python-send-receive): Delete function.
13379 (python-shell-send-string-no-output): New function.
13380 (python-module-path): Delete function.
13381 (python-ffap-module-path): New function.
13382 (python-completion-at-point)
13383 (python-symbol-completions): Delete functions.
13384 (python-completion-complete-at-point): New function.
13385 (python-load-file): Delete function.
13386 (python-shell-send-file): New function.
13387 (python-calculate-indentation): Delete function.
13388 (python-indent-calculate-indentation): New function.
13389 (python-skip-comments/blanks): Delete function.
13390 (python-util-forward-comment): New function.
13391 (python-continuation-line-p): Delete function.
13392 (python-info-continuation-line-p): New function.
13393 (python-which-func, python-current-defun): Delete function.
13394 (python-info-current-defun): New function.
13395 (python-beginning-of-defun): Delete function.
13396 (python-nav-beginning-of-defun): New function.
13397 (python-close-block-statement-p)
13398 (python-block-end-p): Delete function.
13399 (python-info-closing-block): New function.
13400 (python-comint-output-filter-function)
13401 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13402 (python-fill-comment, python-fill-decorator, python-fill-paren)
13403 (python-fill-string, python-imenu-make-element-tree)
13404 (python-imenu-make-tree, python-imenu-tree-assoc)
13405 (python-indent-context, python-indent-dedent-line)
13406 (python-indent-line-function)
13407 (python-indent-post-self-insert-function)
13408 (python-indent-toggle-levels)
13409 (python-info-assignment-continuation-line-p)
13410 (python-info-beginning-of-backlash)
13411 (python-info-block-continuation-line-p)
13412 (python-info-closing-block-message)
13413 (python-info-line-ends-backslash-p)
13414 (python-info-looking-at-beginning-of-defun)
13415 (python-info-ppss-context, python-info-ppss-context-type)
13416 (python-nav-list-defun-positions, python-nav-read-defun)
13417 (python-nav-sentence-end, python-nav-sentence-start)
13418 (python-pdbtrack-comint-output-filter-function)
13419 (python-pdbtrack-set-tracked-buffer)
13420 (python-shell-calculate-exec-path)
13421 (python-shell-calculate-process-environment)
13422 (python-shell-completion--do-completion-at-point)
13423 (python-shell-completion--get-completions)
13424 (python-shell-completion-complete-at-point)
13425 (python-shell-completion-complete-or-indent)
13426 (python-shell-get-or-create-process)
13427 (python-shell-get-process-name)
13428 (python-shell-internal-get-or-create-process)
13429 (python-shell-internal-get-process-name)
13430 (python-shell-internal-send-string, python-shell-make-comint)
13431 (python-shell-parse-command, python-shell-send-setup-code)
13432 (python-skeleton-add-menu-items)
13433 (python-util-clone-local-variables, python-util-position)
13434 (run-python-internal, python-indentation-levels)
13435 (python-nav-beginning-of-defun)
13436 (python-completion-complete-at-point): New functions.
13437 (run-python): Change arguments. New API requirements.
13439 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13441 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13444 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13445 (macroexp--expand-all): Use it.
13447 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13448 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13449 Use `cl-function' instead.
13451 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13453 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13454 Suggested by Stefan Monnier while discussing bug#11657.
13456 2012-06-14 Sam Steingold <sds@gnu.org>
13458 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13460 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13462 * play/doctor.el (doctor-doc): Remove parameter and use
13463 doctor-sent instead of sent.
13464 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13466 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13468 * files.el: Require cl-lib.
13469 (file-name-non-special): Replace case -> cl-case.
13471 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13473 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13474 mapping from #' to function*.
13476 2012-06-13 Chong Yidong <cyd@gnu.org>
13478 * mouse.el (mouse-drag-track): Do not set the mark if the user
13479 releases the mouse without selecting anything (Bug#11588).
13481 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13483 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13484 as well (bug#11646).
13486 * loadup.el: Count byte-code functions as well.
13488 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13489 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13491 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13492 (bug#11649). Add cl-defun and cl-defmacro.
13494 2012-06-13 Drew Adams <drew.adams@oracle.com>
13496 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13499 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13501 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13502 Otherwise, it blocks in batch mode.
13504 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13506 * help-mode.el (bookmark-make-record-default): Declare.
13508 2012-06-13 Chong Yidong <cyd@gnu.org>
13510 * emacs-lisp/package.el (list-packages): Compute a list of
13511 packages that are newly-available since the last list-packages
13513 (package-menu--new-package-list): New var.
13514 (package-menu--generate, package-menu--print-info)
13515 (package-menu--status-predicate, package-menu-mark-install):
13516 Handle new status label "new".
13518 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13520 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13521 conversion to backquotes.
13523 2012-06-12 Chong Yidong <cyd@gnu.org>
13525 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13526 Rename from gud-inhibit-global-bindings.
13528 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13530 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13531 hook from nxml-glyph-set-hook.
13533 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13536 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13538 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13539 Convert to defcustom.
13541 2012-06-12 Drew Adams <drew.adams@oracle.com>
13543 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13545 (help-mode): Use them.
13547 2012-06-11 Glenn Morris <rgm@gnu.org>
13549 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13550 Use preprocessor face for directives.
13551 (fortran-directive-re): Doc fix.
13553 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13555 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13556 conversion to backquotes (bug#11652).
13558 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13559 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13560 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13561 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13562 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13563 (cl-ninth, cl-tenth): Mark them as inlinable.
13564 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13565 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13566 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13567 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13568 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13569 (cl-list*, cl-adjoin): Don't put an autoload manually.
13570 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13571 (cl--compiler-macro-list*): Add autoload cookie.
13572 (cl--compiler-macro-cXXr): New function.
13574 * help-fns.el (help-fns--compiler-macro): New function extracted from
13575 describe-function-1; follow aliases and use `compiler-macro' property.
13576 (describe-function-1): Use it.
13578 2012-06-11 Chong Yidong <cyd@gnu.org>
13580 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13581 is uninstalled, if imagemagick is installed.
13583 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13585 * emacs-lisp/cl-lib.el: Use lexical-binding.
13586 (cl-map-extents, cl-maclisp-member): Remove.
13587 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13588 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13589 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13590 * emacs-lisp/cl-extra.el: Use lexical-binding.
13591 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13592 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13593 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13594 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13595 * emacs-lisp/cl-seq.el: Use lexical-binding.
13596 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13597 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13598 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13599 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13600 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13603 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13605 Sync with Tramp 2.2.6-pre.
13607 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13608 `print-length' and `print-level' to nil, in order to avoid
13609 truncation. Reported by Christopher Schmidt
13610 <christopher@ristopher.com>.
13612 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13614 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13616 (tramp-compat-copy-directory): Add optional argument
13617 COPY-CONTENTS. It is not handled yet.
13619 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13620 (tramp-ftp-file-name-p): Simplify.
13622 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13623 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13626 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13627 (tramp-methods): Do not use `tramp-password-end-of-line'.
13628 (tramp-completion-function-alist-putty): Handle UNIX case.
13629 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13630 (tramp-do-file-attributes-with-stat)
13631 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13632 gid as real numbers. They could run out of integer range on cygwin.
13633 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13634 (tramp-sh-handle-expand-file-name): Handle hops.
13635 (tramp-open-connection-setup-interactive-shell):
13636 Use `tramp-cleanup'. Move check for busyboxes ...
13637 (tramp-find-shell): ... here. Simplify implementation.
13638 Set "remote-shell" property also for alternative shells.
13639 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13640 If failing, a regular file would be written otherwise.
13641 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13642 (tramp-find-inline-encoding): Cache the coding commands in the
13643 process cache. Apply test command on the remote side, if defined.
13644 (tramp-find-inline-compress): Cache the compress commands in the
13646 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13647 when requested. Handle hops.
13648 (tramp-current-connection): New defvar.
13649 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13650 Throw `suppress', if there was a failed connection shortly before.
13651 Handle user interrupt. (Bug#10187)
13652 (tramp-get-inline-compress, tramp-get-inline-coding):
13653 Read connection properties from the process cache.
13655 * net/tramp-smb.el (tramp-smb-server-version)
13656 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13658 (tramp-smb-prompt): Extend for powershell prompt.
13659 (tramp-smb-file-name-handler-alist): Add handlers for
13660 `process-file', `shell-command' and `start-file-process'.
13661 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13662 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13663 (tramp-smb-file-name-p): Simplify.
13664 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13665 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13666 (tramp-smb-shell-quote-argument): New defuns.
13667 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13668 Implement using "tar". By this, time-stamps are preserved.
13669 (tramp-smb-handle-copy-file): Handle also the case of directories.
13670 (tramp-smb-do-file-attributes-with-stat)
13671 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13672 Use `tramp-get-connection-buffer').
13673 (tramp-smb-handle-rename-file): Use "rename", when source and
13674 target are on the same share.
13675 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13676 Use `tramp-smb-server-version'.
13677 (tramp-smb-wait-for-output): Remove prompt.
13679 * net/tramp.el (top): Require 'cl.
13680 (tramp-methods, tramp-rsh-end-of-line):
13681 Remove `tramp-password-end-of-line' from docstring.
13682 (tramp-save-ad-hoc-proxies): New defcustom.
13683 (tramp-completion-function-alist): Adapt docstring.
13684 (tramp-default-password-end-of-line): Remove defcustom.
13685 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13686 (tramp-user-regexp, tramp-file-name-regexp-unified)
13687 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13688 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13689 (tramp-remote-file-name-spec-regexp): New defconst.
13690 (tramp-file-name-structure): Extend structure for hops.
13691 (tramp-get-method-parameter): Move up.
13692 (tramp-file-name-p, tramp-dissect-file-name)
13693 (with-parsed-tramp-file-name): Handle hops.
13694 (tramp-file-name-hop): New defun.
13695 (tramp-make-tramp-file-name): New optional arg HOP.
13696 (tramp-message-show-progress-reporter-message): New defvar.
13697 (tramp-with-progress-reporter): Use it. We cannot use
13698 `tramp-message-show-message' here, because this suppresses also
13700 (tramp-error-with-buffer): Suppress buffer view, if
13701 `tramp-message-show-message' is nil.
13702 Use `tramp-get-connection-buffer'.
13703 (tramp-cleanup): New defun.
13704 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13705 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13706 an error unchanged.
13707 (tramp-completion-handle-file-name-all-completions): Handle hops.
13708 Fix an error when called from ido.
13709 (tramp-completion-dissect-file-name): Use better local variable
13710 name. Add hop to the vector.
13711 (tramp-handle-insert-file-contents): Use progress-reporter for the
13713 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13715 (tramp-check-for-regexp): Simplify search.
13716 (tramp-enter-password): Remove it. Move implementation ...
13717 (tramp-action-password): ... here.
13718 (tramp-mode-string-to-int, tramp-local-host-p)
13719 (tramp-make-tramp-temp-file, tramp-read-passwd)
13720 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13721 Set tramp-autoload cookie.
13723 * net/trampver.el: Update release number.
13725 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13726 Michael Albinus <michael.albinus@gmx.de>
13728 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13729 (tramp-parse-group, tramp-parse-file)
13730 (tramp-parse-shostkeys-sknownhosts): New defuns.
13731 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13732 (tramp-parse-shosts-group, tramp-parse-sconfig)
13733 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13734 (tramp-parse-sknownhosts, tramp-parse-hosts)
13735 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13737 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13738 (tramp-parse-putty-group): Don't narrow.
13739 (tramp-parse-putty): Make a loop.
13740 (tramp-file-name-handler): Catch the `suppress' signal.
13742 2012-06-11 Chong Yidong <cyd@gnu.org>
13744 * image.el (imagemagick-register-types): Put the ImageMagick entry
13745 at the end of image-type-file-name-regexps.
13747 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13749 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13750 (pcase, pcase-let*, pcase-dolist): Use them.
13752 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13754 * emacs-lisp/pcase.el (pcase--let*): New function.
13755 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13756 (pcase--expand): Use macroexp-let².
13758 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13760 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13761 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13762 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13763 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13764 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13765 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13767 2012-06-10 Glenn Morris <rgm@gnu.org>
13769 * mail/rmail.el (rmail-yank-current-message): Leave point at
13770 correct position. (Bug#11660)
13772 2012-06-10 Chong Yidong <cyd@gnu.org>
13774 * allout-widgets.el: Fix code header.
13776 2012-06-10 Chong Yidong <cyd@gnu.org>
13778 * cus-edit.el (customize-changed-options-previous-release):
13781 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13783 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13785 2012-06-09 Chong Yidong <cyd@gnu.org>
13787 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13789 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13791 * window.el (special-display-popup-frame): Don't use
13792 window--display-buffer (Bug#11651).
13794 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13796 Fix parallel builds: make sure loaddefs.el is not being written
13797 while Lisp files are compiled.
13798 (compile): Don't depend on 'mh-autoloads'.
13799 (compile-CMD, compile-SH): Depend on 'autoloads'.
13800 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13802 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13804 2012-06-09 Chong Yidong <cyd@gnu.org>
13806 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13807 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13808 Doc fixes (Bug#11225).
13810 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13812 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13813 a function if there's a clear indication that it has a compiler-macro.
13814 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13815 (macro-declarations-alist): Add arglist to declaration functions.
13816 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13817 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13818 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13819 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13820 Also add autoload to find the compiler macro.
13821 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13822 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13823 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13824 (cl--compiler-macro-get): New functions, replacing calls to
13825 cl-define-compiler-macro.
13826 (cl-typep) [compiler-macro]: Use macroexp-let².
13828 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13830 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13831 string properly, fixes Bug#11473.
13833 2012-06-08 Chong Yidong <cyd@gnu.org>
13835 * faces.el (set-face-attribute): Doc fix.
13836 (modify-face): Don't use :bold and :italic.
13837 (error, warning, success): Tweak definitions.
13839 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13840 (custom-modified, custom-set, custom-changed, custom-themed)
13841 (custom-saved, custom-button, custom-button-mouse)
13842 (custom-button-pressed, custom-state, custom-comment-tag)
13843 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13844 (custom-group-subtitle): Use new-style face specs.
13845 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13846 (custom-set-face, custom-changed-face, custom-saved-face)
13847 (custom-button-face, custom-button-pressed-face)
13848 (custom-documentation-face, custom-state-face)
13849 (custom-comment-face, custom-comment-tag-face)
13850 (custom-variable-tag-face, custom-variable-button-face)
13851 (custom-face-tag-face, custom-group-tag-face-1)
13852 (custom-group-tag-face): Remove obsolete face alias.
13854 * epa.el (epa-validity-high, epa-validity-medium)
13855 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13856 (epa-field-name, epa-field-body):
13857 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13858 (font-lock-keyword-face, font-lock-builtin-face)
13859 (font-lock-function-name-face, font-lock-variable-name-face)
13860 (font-lock-type-face, font-lock-constant-face):
13861 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13862 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13863 * speedbar.el (speedbar-button-face, speedbar-file-face)
13864 (speedbar-directory-face, speedbar-tag-face)
13865 (speedbar-selected-face, speedbar-highlight-face)
13866 (speedbar-separator-face):
13867 * whitespace.el (whitespace-newline, whitespace-space)
13868 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13869 (whitespace-line, whitespace-space-before-tab)
13870 (whitespace-space-after-tab, whitespace-indentation)
13871 (whitespace-empty):
13872 * emulation/cua-base.el (cua-global-mark):
13873 * eshell/em-prompt.el (eshell-prompt):
13874 * net/newst-plainview.el (newsticker-new-item-face)
13875 (newsticker-old-item-face, newsticker-immortal-item-face)
13876 (newsticker-obsolete-item-face, newsticker-date-face)
13877 (newsticker-statistics-face, newsticker-default-face):
13878 * net/newst-reader.el (newsticker-feed-face)
13879 (newsticker-extra-face, newsticker-enclosure-face):
13880 * net/newst-treeview.el (newsticker-treeview-face)
13881 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13882 (newsticker-treeview-immortal-face)
13883 (newsticker-treeview-obsolete-face)
13884 (newsticker-treeview-selection-face):
13885 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13886 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13887 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13888 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13889 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13890 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13891 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13893 * progmodes/vera-mode.el (vera-font-lock-number)
13894 (vera-font-lock-function, vera-font-lock-interface):
13895 * textmodes/table.el (table-cell): Use new-style face specs, and
13896 don't use the old :bold and :italic attributes.
13898 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13899 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13900 (ebrowse-member-class, ebrowse-progress): Likewise.
13901 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13902 (ebrowse-file-name-face, ebrowse-default-face)
13903 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13904 (ebrowse-progress-face): Remove obsolete faces.
13906 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13907 Inherit from error and warning faces respectively.
13909 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13911 (flyspell-incorrect-face, flyspell-duplicate-face):
13912 Remove obsolete aliases.
13914 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13916 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13919 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13921 * startup.el (argv, argi): Make lexically scoped.
13922 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13923 * emacs-lisp/cl-macs.el: Use lexical-binding.
13924 Rename cl-bind-* to cl--bind-*.
13925 * files.el: Don't require `cl' since it doesn't use it.
13926 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13928 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13930 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13931 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13932 instead of calling external sort utility.
13933 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13935 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13937 * descr-text.el (describe-char): Mention how to insert the
13938 character, if the current input method doesn't support it.
13939 See the discussion in this thread for the details:
13940 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13942 2012-06-08 Sam Steingold <sds@gnu.org>
13944 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13945 XF86Back to previous-buffer.
13946 (minibuffer-local-map): Bind them to next-history-element and
13947 previous-history-element respectively.
13948 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13949 help-go-back respectively.
13950 * info.el (Info-mode-map): Bind them to Info-history-forward and
13951 Info-history-back respectively.
13952 These are the keys next to Up on the ThinkPad keyboard.
13954 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13956 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13957 * emacs-lisp/cl-macs.el: Provide itself.
13958 (cl--labels-convert-cache): New var.
13959 (cl--labels-convert): New function.
13960 (cl-flet, cl-labels): New implementation with new semantics, relying on
13962 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13963 (cl-closure-vars, cl--function-convert-cache)
13964 (cl--function-convert): Move from cl-macs.el.
13965 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13966 rename by removing the "cl-" prefix.
13967 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13969 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13971 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13972 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13973 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13974 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13975 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13976 (cl-hash-table-count): Add old compatibility aliases.
13978 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13979 Use macroexpand-all-environment instead.
13980 (cl--old-macroexpand): New var.
13981 (cl--sm-macroexpand): New function.
13982 (cl-symbol-macrolet): Use it during macro expansion.
13983 (cl--function-convert-cache): New var.
13984 (cl--function-convert): New function, extracted from
13985 cl-macroexpand-all.
13986 (cl-lexical-let): Use it.
13988 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13989 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13990 (cl-member): Remove old alias.
13992 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13993 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13994 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13995 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13996 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13997 (cl-macroexpand-cmacs): Remove var.
13998 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13999 Use macroexpand-all instead.
14001 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
14003 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
14004 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
14005 (macroexp-copyable-p): New functions and macros.
14006 * emacs-lisp/edebug.el (edebug-unwrap):
14007 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
14008 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
14009 (pcase--let*): Remove.
14010 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
14011 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
14012 macroexp-const-p instead.
14013 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
14015 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
14016 instead of "cl-" for internal definitions. Use macroexp-const-p.
14017 (cl-old-bc-file-form): Remove var.
14018 (cl-const-exprs-p): Remove fun.
14019 (cl-labels, cl-macrolet): Use backquote.
14020 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
14021 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
14022 (cl-define-setf-expander): Rename from cl-define-setf-method.
14023 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
14025 * international/mule-cmds.el: Don't require CL.
14026 (view-hello-file): Don't use `letf'.
14028 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
14030 * tmm.el (tmm-prompt): Use string-prefix-p.
14031 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
14032 (tmm-add-prompt): Use minibuffer-completion-help.
14033 (tmm-delete-map): Remove.
14035 * subr.el (kbd): Make it its own function.
14037 2012-06-07 Stefan Merten <smerten@oekonux.de>
14039 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
14040 Silence compiler warnings. Fix versions.
14041 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
14042 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
14043 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
14044 (rst-package-emacs-version-alist): Correct Emacs version to
14045 represent major merge with upstream.
14046 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
14048 2012-06-06 Glenn Morris <rgm@gnu.org>
14050 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
14051 Only print environment variables if set.
14053 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
14055 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
14056 (macroexp--cons): Rename from maybe-cons.
14057 (macroexp--accumulate): Rename from macroexp-accumulate.
14058 (macroexp--all-forms): Rename from macroexpand-all-forms.
14059 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
14060 (macroexp--expand-all): Rename from macroexpand-all-1.
14062 2012-06-06 Sam Steingold <sds@gnu.org>
14064 * calendar/calendar.el (calendar-in-read-only-buffer):
14065 Call `special-mode' to enable the standard read-only keybindings.
14067 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
14069 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
14070 with "loading" messages (bug#11635).
14072 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
14074 * files.el (enable-remote-dir-locals): New option.
14075 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
14077 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
14078 Ensure, that the temp directory is local.
14080 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
14081 `temporary-file-directory'.
14083 * progmodes/python.el (python-send-region): Ensure, that the
14084 temporary file is created also in the remote case.
14086 2012-06-06 Glenn Morris <rgm@gnu.org>
14088 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
14089 (vc-rcs-update-changelog): Use it.
14091 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
14093 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
14094 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
14095 (vc-sccs-diff): Replace use of the external vcdiff script.
14097 2012-06-05 Glenn Morris <rgm@gnu.org>
14099 * ledit.el: Move to obsolete/.
14101 2012-06-05 Sam Steingold <sds@gnu.org>
14103 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
14106 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14108 * emacs-lisp/cust-print.el: Move to obsolete.
14110 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
14111 compiler-macro expansion.
14113 Add native compiler-macro support.
14114 * emacs-lisp/macroexp.el (macroexpand-all-1):
14115 Support compiler-macros directly. Properly follow aliases and apply
14116 the compiler macros more thoroughly.
14117 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
14118 macroexpand now properly follows aliases.
14119 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
14120 (cl-compiler-macroexpand): Use new prop.
14121 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
14123 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
14125 2012-06-05 Martin Rudalics <rudalics@gmx.at>
14127 * window.el (get-lru-window, get-mru-window, get-largest-window):
14128 New argument NOT-SELECTED to avoid picking the selected window.
14129 (window--display-buffer-1, window--display-buffer-2): Replace by
14130 new function window--display-buffer
14131 (display-buffer-same-window, display-buffer-reuse-window)
14132 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14133 Use window--display-buffer.
14134 (display-buffer-use-some-window): Remove temporary dedication
14135 hack by calling get-lru-window and get-largest-window with
14136 NOT-SELECTED argument non-nil. Call window--display-buffer.
14138 2012-06-05 Glenn Morris <rgm@gnu.org>
14140 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
14141 Replace external vcdiff script.
14143 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14145 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
14147 2012-06-04 Chong Yidong <cyd@gnu.org>
14149 * image.el (imagemagick-types-inhibit): Revert last change.
14151 (imagemagick-enabled-types): Remove CIN and EPS*.
14153 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14155 * emacs-lisp/cl-lib.el: Rename from cl.el.
14156 * emacs-lisp/cl.el: New compatibility file.
14157 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
14158 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
14159 to obey the "cl-" prefix.
14160 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
14162 2012-06-03 Glenn Morris <rgm@gnu.org>
14164 * emacs-lisp/authors.el (authors-aliases): Addition.
14166 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
14169 2012-06-03 Stefan Merten <smerten@oekonux.de>
14171 * textmodes/rst.el: Add comments.
14172 (rst-transition, rst-adornment): New faces.
14173 (rst-adornment-faces-alist): Make default safe to reevaluate.
14175 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
14176 Improve customization tags.
14177 (rst-define-level-faces): Clarify meaning.
14179 2012-06-03 Chong Yidong <cyd@gnu.org>
14181 * progmodes/compile.el (compilation-mode-line-fail)
14182 (compilation-mode-line-run, compilation-mode-line-exit):
14184 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
14186 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
14188 * progmodes/which-func.el (which-func-update-ediff-windows):
14189 New function. Use it in ediff-select-hook (Bug#11478).
14191 2012-06-03 Chong Yidong <cyd@gnu.org>
14193 * bindings.el: Remove explicit help text from format-mode-line.
14194 It is now supplied by mode-line-default-help-echo.
14195 (mode-line-front-space, mode-line-end-spaces)
14196 (mode-line-misc-info): New variables.
14197 (mode-line-modes, mode-line-position): Move the default value to
14198 the variable definition.
14199 (mode-line-default-help-echo): New defcustom.
14200 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
14201 (mode-line-modified-help-echo): New functions.
14202 (mode-line-mule-info, mode-line-modified): Use them.
14203 (mode-line-eol-desc, propertized-buffer-identification):
14204 Consistency fixes for help text.
14205 (mode-line-coding-system-map): Allow using mouse-3 to invoke
14206 set-buffer-file-coding-system (Bug#289).
14207 (mode-line-mule-info-help-echo): Update help text.
14209 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14211 * simple.el (execute-extended-command): Set real-this-command
14214 2012-06-02 Chong Yidong <cyd@gnu.org>
14216 Remove incorrect uses of "modeline" in comments, docstrings, and
14217 function/variable names (Bug#10329).
14219 * cus-edit.el (mode-line):
14220 * dframe.el (dframe-mouse-hscroll):
14221 * emacs-lisp/re-builder.el:
14222 * emacs-lisp/easy-mmode.el (define-minor-mode):
14223 * frame.el (set-frame-name):
14224 * help.el (lookup-minor-mode-from-indicator):
14225 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
14226 * progmodes/cc-cmds.el (c-toggle-auto-newline)
14227 (c-toggle-hungry-state):
14228 * progmodes/antlr-mode.el (antlr-language-alist):
14229 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
14230 * progmodes/vhdl-mode.el (vhdl-mode):
14231 * progmodes/which-func.el (which-func, which-func-cleanup-function):
14232 * term/ns-win.el (ns-face-at-pos):
14233 * term/sup-mouse.el (sup-mouse-report):
14234 * textmodes/flyspell.el (flyspell-mode-line-string):
14235 * textmodes/ispell.el (ispell-highlight-face):
14236 * textmodes/reftex-global.el:
14237 * vc/vc-arch.el (vc-arch-mode-line-string):
14238 * vc/vc-cvs.el (vc-cvs-mode-line-string):
14239 * vc/vc-git.el (vc-git-mode-line-string):
14240 * vc/vc-hooks.el (vc-display-status)
14241 (vc-default-mode-line-string):
14242 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
14244 * ansi-color.el (ansi-color-faces-vector): Change default faces.
14246 * dired.el (dired-sort-set-mode-line): Rename from
14247 dired-sort-set-modeline. All callers changed.
14249 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14250 eshell-status-in-modeline.
14252 * foldout.el (foldout-mode-line-string): Rename from
14253 foldout-modeline-string. All callers changed.
14254 (foldout-update-mode-line): Rename from foldout-update-modeline.
14256 * subr.el (redraw-modeline): Make into obsolete alias.
14258 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14259 timeclock-modeline-display. Make old name an alias.
14260 (timeclock-update-mode-line): Likewise. All callers changed.
14261 (timeclock-mode-line-display): No need to check before using
14263 (timeclock-relative, timeclock-day-over-hook)
14264 (timeclock-use-elapsed, timeclock-mode-string)
14265 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14267 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14268 crisp-mode-modeline-string.
14270 * play/solitaire.el (solitaire-build-mode-line): Rename from
14271 solitaire-build-modeline. All callers changed.
14273 * play/zone.el (zone-hiding-mode-line): Rename from
14274 zone-hiding-modeline. All callers changed.
14275 (zone): Remove unusued `modeline-hidden-level' property.
14277 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14278 xscheme-modeline-initialize. All callers changed.
14280 * strokes.el (strokes-lighter): Rename from
14281 strokes-modeline-string.
14283 * textmodes/sgml-mode.el (html-face-tag-alist)
14284 (html-tag-face-alist): Use mode-line face instead of obsolete
14287 2012-06-02 Stefan Merten <smerten@oekonux.de>
14289 * textmodes/rst.el: Always require `cl'.
14290 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14292 2012-06-02 Chong Yidong <cyd@gnu.org>
14294 * image.el (imagemagick-enabled-types): Rename from
14295 imagemagick-types-enable. Add many more types.
14296 (imagemagick-types-inhibit): Change default to nil.
14297 (imagemagick-filter-types): Caller changed.
14299 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14301 * emacs-lisp/cl-macs.el: Use backquotes.
14302 (cl-transform-function-property): Use eval-and-compile rather than
14304 (defstruct): Use declare-function instead of with-no-warnings.
14306 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14307 (byte-compile-output-docform): Re-add the print-circle bindings.
14308 (byte-compile-fix-header): Use #$ just because it's shorter.
14309 (byte-compile-output-file-form): Remove defun/defmacro.
14311 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14313 * simple.el (choose-completion): Remove now obsolete binding for
14316 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14318 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14319 in order to avoid "Stack overflow in regexp matcher".
14321 2012-05-31 Glenn Morris <rgm@gnu.org>
14323 * image.el: For clarity, call imagemagick-register-types at
14324 top-level, rather than relying on a custom :initialize.
14325 (imagemagick-types-enable): New option. (Bug#11557)
14326 (imagemagick-filter-types): New function. (Bug#7406)
14327 (imagemagick-register-types): Use imagemagick-filter-types.
14328 If disabling support, remove elements altogether rather
14329 than using an impossible regexp.
14330 (imagemagick-types-inhibit): Give it the default init function.
14332 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14334 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14335 Handle arbitrary file name lengths (Bug#11585).
14337 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14339 * desktop.el (desktop-read): Clear previous and next buffers for
14340 all windows and bury *Messages* buffer (bug#11556).
14342 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14344 Add `declare' for `defun'. Align `defmacro's with it.
14345 * emacs-lisp/easy-mmode.el (define-minor-mode)
14346 (define-globalized-minor-mode): Don't autoload the var definitions.
14347 * emacs-lisp/byte-run.el: Use lexical-binding.
14348 (defun-declarations-alist, macro-declarations-alist): New vars.
14349 (defmacro, defun): Use them.
14350 (make-obsolete, define-obsolete-function-alias)
14351 (make-obsolete-variable, define-obsolete-variable-alias):
14353 (macro-declaration-function): Mark obsolete.
14354 * emacs-lisp/autoload.el: Use lexical-binding.
14355 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14357 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14359 * textmodes/ispell.el (ispell-with-no-warnings):
14361 (ispell-kill-ispell, ispell-change-dictionary):
14362 Use `called-interactively-p' for Emacs instead of obsolete
14365 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14367 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14368 (macro-declaration-function): Move var from C code.
14369 (macro-declaration-function): Define function with defalias.
14370 * emacs-lisp/macroexp.el (macroexpand-all-1):
14371 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14372 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14373 defun/defmacro any more.
14374 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14375 Provide fallback for unknown arglist.
14376 (byte-compile-arglist-warn): Change calling convention.
14377 (byte-compile-output-file-form): Move print-vars binding.
14378 (byte-compile-output-docform): Simplify accordingly.
14379 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14380 (byte-compile-defmacro-declaration): Remove.
14381 (byte-compile-file-form-defmumble): Generalize to defalias.
14382 (byte-compile-output-as-comment): Return byte-positions.
14383 Simplify callers accordingly.
14384 (byte-compile-lambda): Use `assert'.
14385 (byte-compile-defun, byte-compile-defmacro): Remove.
14386 (byte-compile-file-form-defalias):
14387 Use byte-compile-file-form-defmumble.
14388 (byte-compile-defalias-warn): Remove.
14390 2012-05-29 Stefan Merten <smerten@oekonux.de>
14392 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14393 possible. Fix authors. Improve comments. Improve loading of `cl'.
14395 (rst-mode-abbrev-table): Merge definition.
14396 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14397 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14399 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14401 * calendar/icalendar.el
14402 (icalendar-export-region): Export UID properly.
14404 2012-05-29 Leo Liu <sdl.web@gmail.com>
14405 * calendar/icalendar.el (icalendar-import-format):
14406 Add `icalendar-import-format-uid' (Bug#11525).
14407 (icalendar-import-format-uid): New.
14408 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14411 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14413 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14414 different alternative patterns.
14415 (pcase-codegen): Be more careful to preserve identity.
14416 (pcase--u1): Don't forget to mark vars as used.
14418 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14419 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14420 (byte-compile-from-buffer): ...rather than here.
14422 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14423 functions from byte-compile-function-environment.
14425 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14427 * window.el (window-deletable-p): Avoid deleting the root window
14428 of a frame with an active minibuffer.
14430 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14432 * simple.el (choose-completion): Use quit-window (Bug#11567).
14434 2012-05-29 Chong Yidong <cyd@gnu.org>
14436 * whitespace.el (whitespace-cleanup): Fix usage of
14437 whitespace-empty-at-bob-regexp (Bug#11492).
14439 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14441 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14442 revert (Bug#11488).
14444 2012-05-29 Juri Linkov <juri@jurta.org>
14446 * isearch.el (isearch-mode-map): Bind `M-s _' to
14447 `isearch-toggle-symbol'. Bind `M-s c' to
14448 `isearch-toggle-case-fold'.
14449 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14450 (isearch-forward): Add `M-s _' to the docstring.
14451 (isearch-forward-symbol, isearch-toggle-case-fold)
14452 (isearch-symbol-regexp): New functions. (Bug#11381)
14454 2012-05-29 Juri Linkov <juri@jurta.org>
14456 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14457 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14458 a function, call it to get the regexp.
14459 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14460 property `isearch-message-prefix' instead of the string "word ".
14461 (isearch-search-fun-default): For the case of `isearch-word',
14462 return a lambda that calls re-search-forward/re-search-backward
14463 with a regexp returned by `word-search-regexp' or by the function
14466 2012-05-29 Juri Linkov <juri@jurta.org>
14468 * isearch.el (isearch-search-fun-default): New function.
14469 (isearch-search-fun): Move default part to the new function
14470 `isearch-search-fun-default'.
14471 (isearch-search-fun-function): Set the default value to
14472 `isearch-search-fun-default'. (Bug#11381)
14474 * comint.el (comint-history-isearch-end):
14475 Use `isearch-search-fun-default'.
14476 (comint-history-isearch-search): Use `isearch-search-fun-default'
14477 and remove spacial case for `isearch-word'.
14478 (comint-history-isearch-wrap): Remove spacial case for
14481 * hexl.el (hexl-isearch-search-function):
14482 Use `isearch-search-fun-default'.
14484 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14485 Use `word-search-regexp' for `isearch-word'.
14487 * misearch.el (multi-isearch-search-fun):
14488 Use `isearch-search-fun-default'.
14490 * simple.el (minibuffer-history-isearch-search):
14491 Use `isearch-search-fun-default' and remove spacial case for
14493 (minibuffer-history-isearch-wrap): Remove spacial case for
14496 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14497 Remove spacial case for `isearch-word'.
14498 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14500 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14502 Decrease XEmacs incompatibilities.
14503 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14504 Use `string-match'.
14505 (flyspell-delete-region-overlays): Use alternative definition for
14507 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14508 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14509 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14510 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14511 `define-obsolete-face-alias' under XEmacs, but old method.
14513 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14514 `with-no-warnings' definition or Emacs alias.
14515 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14516 (ispell-word): Do not use `region-p' if XEmacs.
14518 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14520 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14521 Check for `ispell-dictionary-base-alist' instead of full
14522 `ispell-dictionary-alist'.
14523 (ispell-init-process): Show spellchecker when starting new Ispell
14526 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14528 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14529 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14531 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14533 * version.el (motif-version-string, gtk-version-string)
14534 (ns-version-string): Declare.
14536 2012-05-27 Juri Linkov <juri@jurta.org>
14538 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14539 after the `eval-defun-1' specialcaseing
14540 like in `edebug-eval-defun' (bug#10181).
14542 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14543 like in `eval-defun-1'.
14545 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14547 * mail/sendmail.el (mail-yank-region):
14548 Recognize rmail-yank-current-message in addition to insert-buffer.
14549 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14550 a *mail* buffer created through rmail-start-mail with sendmail as
14553 2012-05-27 Chong Yidong <cyd@gnu.org>
14555 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14556 Default to 256 (Bug#11267).
14558 * help.el (describe-mode): Doc fix.
14560 2012-05-26 Glenn Morris <rgm@gnu.org>
14562 * w32-fns.el (w32-init-info): Remove.
14563 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14565 * info.el (info-initialize): For self-contained NS builds, put the
14566 included info/ directory at the front. (Bug#2791)
14568 * paths.el (Info-default-directory-list): Make it a defcustom,
14569 mainly so that we can use custom-initialize-delay.
14571 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14573 * subr.el (buffer-has-markers-at): Mark obsolete.
14575 * subr.el (lambda): Use declare.
14577 * emacs-lisp/lisp-mode.el (lambda):
14578 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14580 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14582 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14584 2012-05-26 Glenn Morris <rgm@gnu.org>
14586 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14588 2012-05-25 Glenn Morris <rgm@gnu.org>
14590 * paths.el: Remove no-byte-compile.
14591 * loadup.el: No need to load paths.el uncompiled.
14593 * image.el (imagemagick-types-inhibit): Doc fix.
14595 * version.el: Remove no-byte-compile and associated formatting.
14596 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14597 is ancient code from when there was an "inc-vers.el".
14599 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14601 * progmodes/gdb-mi.el: Minor style changes.
14602 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14603 Turn into minor modes.
14604 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14605 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14606 (gdb-shell): Remove unneeded let-binding.
14607 (gdb-get-many-fields): Eliminate O(n²) behavior.
14609 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14611 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14612 platforms that don't link in fontset.c.
14614 2012-05-25 Juri Linkov <juri@jurta.org>
14616 Use the same diff color scheme as in modern VCSes (bug#10181).
14618 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14619 to avoid confusion with `diff-added' that now uses green colors.
14620 (diff-removed): Use shades of red.
14621 (diff-added): Use shades of green.
14622 (diff-changed): Leave just the yellow color.
14623 (diff-use-changed-face): New variable.
14624 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14625 how to highlight context diff changes.
14626 (diff-refine-change): Use shades of yellow.
14627 (diff-refine-removed): New face that uses shades of red.
14628 (diff-refine-added): New face that uses shades of green.
14629 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14630 `diff-refine-removed' in the call to `smerge-refine-subst'
14631 depending on the value of `diff-use-changed-face'.
14633 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14634 (smerge-other): Use shades of green.
14635 (smerge-base): Use shades of yellow.
14636 (smerge-refined-change): Empty face.
14637 (smerge-refined-removed): New face that uses shades of red.
14638 (smerge-refined-added): New face that uses shades of green.
14639 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14640 args `props-r' and `props-a', and use them. Doc fix.
14641 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14642 on its value use different faces `smerge-refined-change',
14643 `smerge-refined-removed', `smerge-refined-added' in the call to
14644 `smerge-refine-subst'.
14646 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14647 Add face condition `min-colors 88' with shades of red.
14648 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14649 `min-colors 88' with shades of green.
14650 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14651 `min-colors 88' with shades of yellow.
14653 2012-05-24 Glenn Morris <rgm@gnu.org>
14655 * paths.el (prune-directory-list, remote-shell-program): Move to...
14656 * files.el (prune-directory-list, remote-shell-program): ...here.
14657 For the latter, delay initialization, prefer ssh, just search PATH.
14659 * paths.el (term-file-prefix): Move to faces.el (the only user).
14660 * faces.el (term-file-prefix): Move here, make it a defcustom.
14662 * paths.el (news-directory, news-path, news-inews-program):
14663 Move to gnus/nnspool.el.
14665 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14667 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14668 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14669 Make the latter a defcustom, with a delayed initialization.
14671 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14672 These were deleted from Gnus itself late 2010.
14674 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14676 * progmodes/which-func.el (which-func-ff-hook):
14677 Check against user-error, not error.
14679 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14680 cl-specs.el, which no longer exists.
14682 2012-05-22 Glenn Morris <rgm@gnu.org>
14684 * info.el (info-emacs-bug): New command.
14685 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14686 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14688 2012-05-21 Glenn Morris <rgm@gnu.org>
14690 * makefile.w32-in (update-subdirs-SH):
14691 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14693 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14695 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14697 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14698 Simplify Maven regexp, and make sure the file can't start with a space
14701 2012-05-21 Glenn Morris <rgm@gnu.org>
14703 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14704 Scrap superfluous subshells.
14706 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14708 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14709 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14711 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14713 * calc/calc.el (calc-ensure-consistent-units): New variable.
14715 * calc/calc-units.el (math-consistent-units-p)
14716 (math-check-unit-consistency): New functions.
14717 (calc-quick-units, calc-convert-units):
14718 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14720 (calc-extract-units): Fix typo.
14722 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14726 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14727 (flyspell-default-deplacement-commands): Don't spell check after
14728 repeated window/frame switches (e.g. triggered by mouse-movement).
14729 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14730 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14731 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14732 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14733 Remove unused vars.
14734 (flyspell-get-casechars, flyspell-get-not-casechars):
14735 Simplify; Don't bother removing a ] just to add it back.
14736 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14738 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14740 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14742 (math-function-table): Add support for more C functions.
14744 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14746 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14747 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14748 Protect delay handling for otherchars against empty otherchars.
14750 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14752 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14753 their respective macro declarations.
14754 * skeleton.el (define-skeleton):
14755 * progmodes/compile.el (define-compilation-mode):
14756 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14757 (define-ibuffer-filter):
14758 * emacs-lisp/generic.el (define-generic-mode):
14759 * emacs-lisp/easy-mmode.el (define-minor-mode)
14760 (define-globalized-minor-mode):
14761 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14762 * emacs-lisp/byte-run.el (defsubst):
14763 * custom.el (deftheme): Add doc-string metadata.
14765 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14767 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14769 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14771 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14773 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14774 * emacs-lisp/cl-macs.el: Idem.
14775 * emacs-lisp/cl-specs.el: Remove.
14777 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14779 Minor renaming of internal CL functions and variables.
14780 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14781 (cl--position): Rename from cl-position.
14782 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14783 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14784 (cl--random-state): Rename from *random-state*.
14786 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14788 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14789 parens around the arg list (bug#11499).
14791 2012-05-17 Juri Linkov <juri@jurta.org>
14793 * isearch.el (word-search-regexp, word-search-backward)
14794 (word-search-forward, word-search-backward-lax)
14795 (word-search-forward-lax): Move functions from search.c
14796 (bug#10145, bug#11381).
14798 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14800 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14801 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14802 Delay for otherchars as for normal word components.
14804 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14806 * minibuffer.el (completion--sifn-requote): Fix last change.
14807 (minibuffer-local-must-match-filename-map):
14808 Move define-obsolete-variable-alias before its var.
14810 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14814 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14816 (completion--string-equal-p): New function.
14817 (completion--twq-all): Use it to get better assertion failure data.
14819 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14820 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14821 (shell--requote-argument): New functions.
14822 (shell-completion-vars): Use them.
14823 (shell--parse-pcomplete-arguments): Rename from
14824 shell-parse-pcomplete-arguments.
14825 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14826 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14827 Obey comint-file-name-quote-list.
14829 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14830 (smie-indent-keyword): Use it.
14832 2012-05-14 Stefan Merten <smerten@oekonux.de>
14834 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14836 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14838 * net/rlogin.el (rlogin-mode-map): Fix last change.
14840 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14842 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14843 the following \r\n using a single `process-send-string', since the
14844 Lotus SMTP server refuses to accept any commands if they are sent
14845 with two `process-send-string's (Bug#11444).
14847 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14849 * shell.el (shell-parse-pcomplete-arguments):
14850 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14852 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14854 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14855 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14856 (image-transform-width, image-transform-fit-width): New functions.
14857 (image-transform-properties): Use them.
14858 (image-transform-check-size): New function.
14859 (image-toggle-display-image): Use it (for testing).
14860 (image-transform-set-rotation): Reduce angle mod 360.
14861 Delete obsolete comment.
14863 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14865 * image-mode.el: Fix scaling (bug#11399).
14866 (image-transform-resize): Doc fix.
14867 (image-transform-properties): Default scale is 1 and height should
14870 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14872 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14873 than hard-coding `car', to fix misbehavior when moving forward.
14875 2012-05-13 Chong Yidong <cyd@gnu.org>
14877 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14878 (tabulated-list-entries, tabulated-list-padding)
14879 (tabulated-list-sort-key): Make permanent-local.
14881 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14882 (electric-buffer-list): Put electric buffer menu
14883 command descriptions in this docstring, instead of the docstring
14884 of electric-buffer-menu-mode. Code cleanups.
14885 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14886 Electric-buffer-menu-mode.
14887 (electric-buffer-update-highlight): Minor code cleanup.
14889 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14891 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14894 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14896 Move define-obsolete-variable-alias before the var's definition.
14897 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14898 * tooltip.el (tooltip-hook):
14899 * textmodes/reftex-toc.el (reftex-toc-map):
14900 * textmodes/reftex-sel.el (reftex-select-label-map)
14901 (reftex-select-bib-map):
14902 * textmodes/reftex-index.el (reftex-index-map)
14903 (reftex-index-phrases-map):
14904 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14905 * progmodes/meta-mode.el (meta-mode-map):
14906 * novice.el (disabled-command-hook):
14907 * loadhist.el (unload-hook-features-list):
14908 * frame.el (blink-cursor):
14909 * files.el (find-file-not-found-hooks, write-file-hooks)
14910 (write-contents-hooks):
14911 * emulation/tpu-edt.el (GOLD-map):
14912 * emacs-lock.el (emacs-lock-from-exiting):
14913 * emacs-lisp/generic.el (generic-font-lock-defaults):
14914 * emacs-lisp/chart.el (chart-map):
14915 * dos-fns.el (register-name-alist):
14916 * dired-x.el (dired-omit-files-p):
14917 * desktop.el (desktop-enable):
14918 * cus-edit.el (custom-mode-hook):
14919 * buff-menu.el (buffer-menu-mode-hook):
14920 * bookmark.el (bookmark-read-annotation-text-func)
14921 (bookmark-exit-hooks):
14922 * allout.el (allout-mode-deactivate-hook)
14923 (allout-exposure-change-hook, allout-structure-added-hook)
14924 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14925 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14926 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14927 comes before the corresponding variable's definition.
14929 2012-05-12 Chong Yidong <cyd@gnu.org>
14931 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14932 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14933 (Buffer-menu-mode-map): Bind it.
14934 (Buffer-menu--pretty-name): Add a mouse-face property.
14936 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14938 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14939 (prolog-upper-case-string, prolog-lower-case-string)
14940 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14941 (prolog-use-smie, prolog-smie-grammar): New vars.
14942 (prolog-smie-forward-token, prolog-smie-backward-token)
14943 (prolog-smie-rules): New funs.
14944 (prolog-comment-indent): Remove.
14945 (prolog-mode-variables): Use default comment indentation instead.
14947 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14948 (prolog-mode): Don't call them any more.
14949 (prolog-electric-colon, prolog-electric-dash)
14950 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14952 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14954 * minibuffer.el (completion--twq-all): Again, allow case differences.
14956 * term.el: Move keymap initialization code to be more idiomatic.
14957 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14958 (term-terminal-menu): Move initialization into declaration.
14959 (term-escape-char): Let the user set it in her .emacs.
14961 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14962 Provide SMIE-based indentation (not enabled by default yet).
14963 (sh-mode-map): Don't bind electric keys.
14964 Use electric-pair-mode instead of skeleton-pair.
14965 (sh-assignment-regexp): Fit within 80 columns.
14966 (sh-indent-supported): Specify actual shell name instead of boolean.
14967 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14968 (sh-maybe-here-document): Use it. Make obsolete.
14969 (sh-electric-here-document-mode) New minor mode.
14970 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14971 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14972 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14973 (sh-smie-rc-grammar, sh-use-smie): New vars.
14974 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14975 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14976 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14977 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14978 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14979 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14980 (sh-set-shell): Use smie-setup if requested.
14982 * term.el (term-set-escape-char): Properly set term-escape-char.
14983 See http://stackoverflow.com/questions/10524656.
14985 2012-05-10 Chong Yidong <cyd@gnu.org>
14987 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14988 Use url-generic-parse-url, and handle host names and Windows
14989 filenames properly.
14990 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14991 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14992 URL schemes to work on.
14993 (ffap--toggle-read-only): New function.
14994 (ffap-read-only, ffap-read-only-other-window)
14995 (ffap-read-only-other-frame): Use it.
14996 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14997 necessary for ffap-url-unwrap-remote.
14999 2012-05-10 Dave Abrahams <dave@boostpro.com>
15001 * cus-start.el (create-lockfiles): Add it.
15003 2012-05-09 Chong Yidong <cyd@gnu.org>
15005 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
15006 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
15008 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15010 * shell.el (shell-completion-vars): Fix last change (bug#11348).
15012 2012-05-09 Chong Yidong <cyd@gnu.org>
15014 * ansi-color.el (ansi-color-process-output): Check for validity of
15015 comint-last-output-start before using it. This avoids a bad
15016 interaction with gdb-mi's input/output buffer.
15018 2012-05-09 Glenn Morris <rgm@gnu.org>
15020 * files.el (dir-locals-read-from-file):
15021 Mention dir-locals in any error message.
15023 2012-05-09 Chong Yidong <cyd@gnu.org>
15025 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
15026 package (Bug#11410).
15028 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
15029 variables into description.
15031 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15033 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
15034 shell-delimiter-argument-list (bug#11348).
15035 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
15037 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
15039 * textmodes/rst.el: Silence byte-compiler warnings.
15040 (rst-re-alist, rst-reset-section-caches): Move around.
15041 (rst-re): Use `characterp', not `char-valid-p'.
15042 (font-lock-beg, font-lock-end): Declare.
15044 * progmodes/idlw-shell.el (specs): Remove reference to deleted
15045 variable `idlwave-shell-activate-alt-keybindings' and simplify.
15047 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
15049 2012-05-08 Glenn Morris <rgm@gnu.org>
15051 * files.el (auto-mode-alist): Treat ".make" like ".mk".
15053 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15055 * vc/log-edit.el: Add GNU coding standards highlighting.
15056 (log-edit-font-lock-gnu-style)
15057 (log-edit-font-lock-gnu-keywords): New vars.
15058 (log-edit-font-lock-keywords): New fun.
15059 (log-edit-mode): Don't fold case in font-lock.
15060 (log-edit-font-lock-keywords): Do not assume case-folding.
15062 * imenu.el: Misc cleanup. Make docstrings out of comments.
15063 Use lexical-binding.
15064 (imenu--index-alist, imenu--last-menubar-index-alist)
15065 (imenu-menubar-modified-tick): Use defvar-local.
15066 (imenu--split-menu): Remove unused var.
15067 (imenu--cleanup-seen): Declare as global.
15068 (imenu--cleanup): Use dolist.
15070 * subr.el (defvar-local): Add debug spec and doc-string position.
15072 2012-05-08 Glenn Morris <rgm@gnu.org>
15074 * language/burmese.el, language/cham.el, language/czech.el:
15075 * language/english.el, language/georgian.el, language/greek.el:
15076 * language/japanese.el, language/khmer.el, language/korean.el:
15077 * language/lao.el, language/misc-lang.el, language/romanian.el:
15078 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
15079 * language/thai.el, language/utf-8-lang.el:
15080 Remove no-byte-compile setting.
15082 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
15084 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15086 * progmodes/make-mode.el (makefile-browse):
15087 Remove unnecessary interactive. (Bug#11324)
15089 2012-05-07 Glenn Morris <rgm@gnu.org>
15091 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
15093 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
15095 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15097 * loadup.el: Preload newcomment.el.
15098 * newcomment.el: Move autoload-only code to toplevel.
15100 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
15101 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15102 Handle new :right-align column property.
15103 (tabulated-list-print-col): Idem, plus use `display' text-property to
15104 try and preserve alignment for variable pitch fonts.
15106 2012-05-07 Chong Yidong <cyd@gnu.org>
15108 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
15109 (tabulated-list-use-header-line): New var.
15110 (tabulated-list-init-header): Use it.
15111 (tabulated-list-print-fake-header): New function.
15112 (tabulated-list-print): Use it.
15113 (tabulated-list-sort-button-map): Add non-header-line commands.
15114 (tabulated-list-init-header): Add column name property to basic
15116 (tabulated-list-col-sort): Handle non-header-line button case.
15117 (tabulated-list--sort-by-column-name): Fix a corner case.
15119 * buff-menu.el (list-buffers--refresh):
15120 Handle Buffer-menu-use-header-line.
15122 2012-05-06 Chong Yidong <cyd@gnu.org>
15124 * buff-menu.el: Convert to Tabulated List mode.
15125 (Buffer-menu-buffer+size-width): Make obsolete.
15126 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
15127 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
15128 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
15129 documentation into docstring of buffer-menu.
15130 (Buffer-menu-toggle-files-only): Add an informative message.
15131 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
15132 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
15133 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
15134 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
15135 (Buffer-menu-execute, Buffer-menu-select)
15136 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
15137 (Buffer-menu-bury): Use Tabulated List machinery.
15138 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
15139 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
15141 (list-buffers--refresh): New function.
15142 (list-buffers-noselect): Use it.
15143 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
15144 (Buffer-menu--pretty-file-name): New helper functions.
15146 * loadup.el: Preload tabulated-list.
15148 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
15149 tabulated-list-sort-column.
15150 (tabulated-list-init-header): Add the initial aligning space even
15151 if tabulated-list-padding is zero.
15153 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
15155 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
15156 whose cdr is not a cons cell correctly (bug#11038).
15158 2012-05-06 Chong Yidong <cyd@gnu.org>
15160 * emacs-lisp/tabulated-list.el (tabulated-list-format):
15161 Accept additional plist in column descriptors.
15162 (tabulated-list-init-header): Obey it.
15163 (tabulated-list-get-entry): New function.
15164 (tabulated-list-put-tag): Use it. Use string-width instead of
15166 (tabulated-list--column-number): New function.
15167 (tabulated-list-print): Use it.
15168 (tabulated-list-print-col): New function.
15169 Set `tabulated-list-column-name' property on each column's text.
15170 (tabulated-list-print-entry): Use it.
15171 (tabulated-list-delete-entry, tabulated-list-set-col):
15173 (tabulated-list-sort-column): New command (Bug#11337).
15175 * buff-menu.el (list-buffers): Move C-x C-b binding from
15176 buff-menu.el to bindings.el.
15178 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
15179 :advertised-binding feature.
15181 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
15183 * progmodes/compile.el (compilation-internal-error-properties):
15184 Calculate start position correctly when end-col is set but
15185 end-line is not (Bug#11382).
15187 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
15189 * man.el (Man-unindent): Use text-property-default-nonsticky to
15190 prevent untabify from inheriting face properties (Bug#11408).
15192 2012-05-05 Stefan Merten <smerten@oekonux.de>
15194 * textmodes/rst.el: Major merge with upstream development up to
15195 Docutils SVN r7399 / rst.el V1.2.1.
15197 Clarify maintainership and authors.
15199 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
15200 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
15201 (rst-official-version, rst-official-cvs-rev, rst-version)
15202 (rst-package-emacs-version-alist): New functions and variables
15203 for version information.
15205 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
15206 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
15207 (rst-mode-syntax-table, rst-mode): New and corrected functions
15208 and variables representing reStructuredText features.
15210 (rst-re): New function for reStructuredText regexes. Use in
15213 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
15214 (rst-mode-map): Rebind keys.
15216 (rst-mode-lazy, rst-font-lock-keywords)
15217 (rst-font-lock-extend-region)
15218 (rst-font-lock-extend-region-internal)
15219 (rst-font-lock-extend-region-extend)
15220 (rst-font-lock-find-unindented-line-limit)
15221 (rst-font-lock-find-unindented-line-match)
15222 (rst-adornment-level, rst-font-lock-adornment-level)
15223 (rst-font-lock-adornment-match)
15224 (rst-font-lock-handle-adornment-pre-match-form)
15225 (rst-font-lock-handle-adornment-matcher): Major revision of
15226 font-locking. Integrate with other code. Use `jit-lock-mode'.
15228 (rst-preferred-adornments, rst-adjust-hook)
15229 (rst-new-adornment-down, rst-preferred-bullets)
15230 (rst-preferred-bullets, rst-indent, rst-indent-width)
15231 (rst-indent-field, rst-indent-literal-normal)
15232 (rst-indent-literal-minimized, rst-indent-comment): Change,
15233 extend and improve customization.
15235 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
15236 (rst-normalize-cursor-position, rst-get-decoration)
15237 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
15238 (rst-rstrip, rst-toc-insert-find-delete-contents)
15239 (rst-shift-fill-region, rst-compute-bullet-tabs)
15240 (rst-debug-print-tabs, rst-debug-mark-found)
15241 (rst-shift-region-guts, rst-shift-region-right)
15242 (rst-shift-region-left, rst-use-char-classes)
15243 (rst-font-lock-keywords-function)
15244 (rst-font-lock-indentation-point)
15245 (rst-font-lock-find-unindented-line-begin)
15246 (rst-font-lock-find-unindented-line-end)
15247 (rst-font-lock-find-unindented-line)
15248 (rst-font-lock-adornment-point, rst-font-lock-level)
15249 (rst-adornment-level-alist): Remove functions and variables.
15251 (rst-compare-adornments, rst-get-adornment-match)
15252 (rst-suggest-new-adornment, rst-get-adornments-around)
15253 (rst-adornment-complete-p, rst-get-next-adornment)
15254 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15255 (rst-straighten-adornments): Standardize function names to
15256 use "adornment" instead of "decoration". Correct callers.
15257 Similar standardizing in many places.
15259 (rst-update-section, rst-adjust, rst-promote-region)
15260 (rst-enumerate-region, rst-bullet-list-region)
15261 (rst-repeat-last-character): Correct use of `interactive'.
15263 (rst-classify-adornment, rst-find-all-adornments)
15264 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15265 (rst-find-leftmost-column, rst-repeat-last-character):
15266 Refactor functions.
15268 (rst-find-title-line, rst-reset-section-caches)
15269 (rst-get-adornments-around, rst-adjust-adornment-work)
15270 (rst-arabic-to-roman, rst-roman-to-arabic)
15271 (rst-insert-list-pos, rst-insert-list-new-item)
15272 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15275 (rst-all-sections, rst-section-hierarchy)
15276 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15279 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15280 configuration instead of only buffer. Change where necessary.
15282 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15283 (rst-shift-region, rst-adaptive-fill): New functions for
15284 indentation and filling.
15286 (rst-comment-line-break, rst-comment-indent)
15287 (rst-comment-insert-comment, rst-comment-region)
15288 (rst-uncomment-region): New functions for handling comments.
15290 (rst-compile): Quote shell arguments.
15292 (rst-compile-pdf-preview, rst-compile-slides-preview):
15293 Delete temporary files after use.
15295 2012-05-05 Glenn Morris <rgm@gnu.org>
15297 * calendar/cal-html.el: Optionally include holidays in the output.
15298 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15299 (cal-html-holidays): New option.
15300 (cal-html-css-default): Add holiday entry.
15301 (holiday-in-range): Autoload it.
15302 (cal-html-htmlify-entry): Add optional class argument.
15303 (cal-html-htmlify-list): Add optional holidays argument.
15304 (cal-html-insert-agenda-days): Include holidays in the output.
15305 (cal-html-one-month): Maybe include holidays.
15307 * calendar/holidays.el (holiday-in-range):
15308 Move here from cal-tex-list-holidays.
15309 * calendar/cal-tex.el (cal-tex-list-holidays):
15310 Make it an obsolete alias for holiday-in-range. Update all callers.
15312 2012-05-05 Chong Yidong <cyd@gnu.org>
15314 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15317 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15319 * files.el (file-auto-mode-skip): New var.
15320 (set-auto-mode-1): Use it.
15322 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15324 * repeat.el: Use lexical-binding.
15325 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15326 (repeat-undo-count): Remove.
15328 * progmodes/octave-mod.el (octave-abbrev-start):
15329 * progmodes/f90.el (f90-abbrev-start):
15330 * face-remap.el (text-scale-adjust):
15331 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15333 * emacs-lisp/pcase.el (pcase--let*): New function.
15334 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15336 (pcase--split-pred): Be more clever about ruling out overlap between
15337 a predicate and some constant pattern.
15338 (pcase--q1): Use `null' instead of (eq foo nil).
15340 * subr.el (setq-local, defvar-local): New macros.
15341 (kbd): Redefine as an alias.
15342 (with-selected-window): Leave unrelated frames alone.
15343 (set-temporary-overlay-map): New function.
15345 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15347 * subr.el (user-error): New function.
15348 * window.el (switch-to-buffer):
15349 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15350 (smerge-match-conflict):
15351 * simple.el (previous-matching-history-element)
15352 (next-matching-history-element, goto-history-element, undo-more)
15354 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15355 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15356 (next-file, tags-loop-scan, list-tags, complete-tag):
15357 * progmodes/compile.el (compilation-loop):
15358 * mouse.el (mouse-minibuffer-check):
15359 * man.el (Man-bgproc-sentinel, Man-goto-page):
15360 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15361 (Info-history-forward, Info-follow-reference, Info-menu)
15362 (Info-extract-menu-item, Info-extract-menu-counting)
15363 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15364 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15365 (Info-next-reference, Info-prev-reference, Info-index)
15366 (Info-index-next, Info-follow-nearest-node)
15367 (Info-copy-current-node-name):
15368 * imenu.el (imenu--make-index-alist)
15369 (imenu-default-create-index-function, imenu-add-to-menubar):
15370 * files.el (basic-save-buffer, recover-file):
15371 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15372 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15373 (checkdoc-message-text, checkdoc-defun):
15374 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15375 * cus-edit.el (customize-changed-options, customize-rogue)
15376 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15377 (custom-variable-mark-to-reset-standard)
15378 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15380 * completion.el (check-completion-length):
15381 * comint.el (comint-search-arg)
15382 (comint-previous-matching-input-string-position)
15383 (comint-previous-matching-input)
15384 (comint-replace-by-expanded-history-before-point, comint-send-input)
15385 (comint-copy-old-input, comint-backward-matching-input)
15386 (comint-goto-process-mark, comint-set-process-mark):
15387 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15388 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15390 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15392 * dabbrev.el (dabbrev--ignore-case-p): New function.
15393 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15396 * files.el (automount-dir-prefix): Mark as obsolete.
15398 2012-05-04 Glenn Morris <rgm@gnu.org>
15400 * patcomp.el, play/bruce.el: Move to obsolete/.
15402 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15404 Fix minor Y10k bugs.
15405 * arc-mode.el (archive-unixdate):
15406 * autoinsert.el (auto-insert-alist):
15407 * calc/calc-forms.el (math-this-year):
15408 * emacs-lisp/copyright.el (copyright-current-year)
15409 (copyright-update-year, copyright):
15410 * tar-mode.el (tar-clip-time-string):
15411 * time.el (display-time-update):
15412 Don't assume years have 4 digits.
15414 2012-05-04 Chong Yidong <cyd@gnu.org>
15416 * dos-w32.el (file-name-buffer-file-type-alist)
15417 (direct-print-region-use-command-dot-com):
15418 * ffap.el (ffap-menu-regexp):
15419 * find-file.el (ff-special-constructs):
15420 * follow.el (follow-debug):
15421 * forms.el (forms--debug):
15422 * iswitchb.el (iswitchb-all-frames):
15423 * ido.el (ido-all-frames):
15424 * emacs-lisp/timer.el (timer-max-repeats):
15425 * mail/feedmail.el (feedmail-mail-send-hook)
15426 (feedmail-mail-send-hook-queued):
15427 * mail/footnote.el (footnote-signature-separator):
15428 * mail/mailabbrev.el (mail-alias-separator-string)
15429 (mail-abbrev-mode-regexp):
15430 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15431 * progmodes/idlwave.el (idlwave-libinfo-file)
15432 (idlwave-default-completion-case-is-down)
15433 (idlwave-library-routines): Convert defvars to defcustoms.
15435 * mail/rmail.el (rmail-decode-mime-charset):
15436 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15437 (idlwave-shell-fix-inserted-breaks)
15438 (idlwave-shell-activate-alt-keybindings)
15439 (idlwave-shell-use-breakpoint-glyph):
15440 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15442 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15444 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15446 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15448 * progmodes/verilog-mode.el (font-lock-keywords):
15449 Fix mis-highligting auto. Reported by Craig Barner.
15450 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15451 defines from global name space. Reported by Dan Dever.
15452 (verilog-auto-reset, verilog-auto-reset-widths)
15453 (verilog-auto-tieoff): Support using unbased numbers for
15454 AUTORESET and AUTOTIEOFF.
15455 (verilog-submit-bug-report): Update variable list.
15456 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15457 parenthesis from not matching. Reported by Michael Rytting.
15458 (verilog-auto-template-lint): Fix hash error when linting modules
15459 with no used templates.
15460 (verilog-warn, verilog-warn-error)
15461 (verilog-warn-fatal): When non-interactive report multiple
15462 warnings before exiting. Suggested by Brad Dobbie.
15463 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15464 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15465 to report unused template errors. Reported by Brad Dobbie.
15466 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15467 nets, bug438. Reported by Vns Blore.
15468 (verilog-auto-inout-module, verilog-auto-reg)
15469 (verilog-read-decls, verilog-read-sub-decls-sig)
15470 (verilog-signals-edit-wire-reg, verilog-signals-with):
15471 Fix passing of Verilog data types in ANSI input/output ports
15472 such as "output logic" into the AUTOs. Special case "wire" and
15473 "reg" for backwards compatibility presuming Verilog 2001.
15474 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15475 (verilog-preprocess): Fix replication of preprocess output.
15476 Reported by Brad Dobbie.
15477 (verilog-auto-inst-interfaced-ports):
15478 Create verilog-auto-inst-interfaced-ports, bug429.
15479 Reported by Julian Gorfajn.
15480 (verilog-after-save-font-hook)
15481 (verilog-before-save-font-hook): New variable.
15482 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15483 (verilog-save-font-mods): Wrap disabling fontification, reported
15485 (verilog-do-indent, verilog-pretty-declarations-auto)
15486 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15487 Reported by Pierre-David Pfister.
15488 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15489 of class declarations, bug292. Reported by Kevin Heilman.
15490 (verilog-read-decls): Fix 'parameter type' not appearing in
15491 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15492 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15493 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15494 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15495 Reported by David Kravitz.
15497 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15499 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15500 assignment with tests in ifs and for loops.
15501 (verilog-extended-complete-re, verilog-complete-reg): Change so
15502 that DPI inport functions don't look like fuction declarations.
15503 (verilog-pretty-expr): Don't line up assignment
15504 operations to the test and increment in if and for loops
15505 (verilog-extended-complete-re, verilog-complete-reg): Change so
15506 that DPI inport functions don't look like fuction declarations.
15508 2012-05-03 Kenichi Handa <handa@m17n.org>
15510 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15511 decoding, and show a warning message without signaling an error
15514 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15516 * emacs-lisp/bytecomp.el
15517 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15518 since cconv.el might have introduced :fun-body, internal-make-closure,
15519 and friends for bytecomp to handle (bug#11391).
15520 * custom.el (defcustom): Avoid ((λ ..) ..).
15522 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15524 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15526 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15528 * notifications.el (dbus-debug):
15529 * term/linux.el (gpm-mouse-enable):
15530 * term/screen.el (xterm-register-default-colors): Declare.
15532 2012-05-02 Chong Yidong <cyd@gnu.org>
15534 * cus-start.el (gc-cons-percentage, exec-suffixes)
15535 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15536 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15537 (make-cursor-line-fully-visible, void-text-area-pointer)
15538 (font-list-limit): Add customization data.
15540 * allout.el (allout-exposure-change-functions)
15541 (allout-structure-added-functions)
15542 (allout-structure-deleted-functions)
15543 (allout-structure-shifted-functions): Rename abnormal hooks from
15544 *-hook, and convert to defcustoms.
15545 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15546 Convert to defcustoms.
15547 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15549 * allout-widgets.el: Hook callers changed.
15551 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15553 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15554 the yanked message in preference to the default value of
15555 buffer-file-coding-system.
15557 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15559 * window.el (display-buffer--action-function-custom-type):
15562 2012-05-02 Alan Mackenzie <acm@muc.de>
15564 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15566 2012-05-01 Glenn Morris <rgm@gnu.org>
15568 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15570 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15572 * cus-edit.el (custom-variable-documentation): Simplify with format.
15574 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15575 Stefan Monnier <monnier@iro.umontreal.ca>
15577 * simple.el (suggest-key-bindings, execute-extended-command):
15578 Move from keyboard.c.
15580 2012-05-01 Chong Yidong <cyd@gnu.org>
15582 * follow.el: Eliminate advice.
15583 (set-process-filter, process-filter, sit-for): Advice deleted.
15584 (follow-mode-off-hook): Obsolete hook removed.
15585 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15587 (follow-auto): Use a :set function.
15588 (follow-mode): Rewritten. Don't advise process filters.
15589 (follow-switch-to-current-buffer-all, follow-scroll-up)
15590 (follow-scroll-down): Assume follow-mode is bound.
15591 (follow-comint-scroll-to-bottom)
15592 (follow-align-compilation-windows): New functions.
15593 (follow--window-sorter): New function.
15594 (follow-all-followers): Use it to explicitly sort windows by their
15595 positions; don't make assumptions about next-window order.
15596 (follow-windows-start-end, follow-delete-other-windows-and-split)
15597 (follow-calc-win-start): Doc fix.
15598 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15599 vertical-motion unnecessarily.
15600 (follow-adjust-window): New function.
15601 (follow-post-command-hook): Use it.
15602 (follow-call-set-process-filter, follow-call-process-filter)
15603 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15604 (follow-stop-intercept-process-output, follow-generic-filter):
15606 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15607 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15608 New functions, replacing advice on scroll-bar-* commands.
15609 (follow-mwheel-scroll): New function (Bug#4112).
15611 * comint.el (comint-adjust-point): New function.
15612 (comint-postoutput-scroll-to-bottom): Use it.
15613 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15615 2012-05-01 Glenn Morris <rgm@gnu.org>
15617 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15618 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15619 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15620 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15621 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15622 Remove no-byte-compile setting.
15624 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15627 all-completions code to not return a number in the last cdr.
15629 2012-04-30 Leo Liu <sdl.web@gmail.com>
15631 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15634 2012-04-29 Chong Yidong <cyd@gnu.org>
15636 * follow.el (follow-calc-win-end): Rewrite to handle partial
15637 screen lines correctly (Bug#8390).
15638 (follow-avoid-tail-recenter): Minor cleanup.
15640 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15642 Avoid the obsolete `assoc' package.
15643 * speedbar.el (speedbar-refresh): Avoid adelete.
15644 (speedbar-file-lists): Simplify and avoid aput.
15645 * man.el (Man--sections, Man--refpages): New vars, replacing
15646 Man-sections-alist and Man-refpages-alist.
15647 (Man-build-section-alist, Man-build-references-alist):
15648 Use them; avoid aput.
15649 (Man--last-section, Man--last-refpage): New vars.
15650 (Man-follow-manual-reference): Use them.
15651 Use the `default' arg of completing-read.
15652 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15654 2012-04-27 Chong Yidong <cyd@gnu.org>
15656 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15658 * startup.el (x-apply-session-resources): New function.
15660 * term/ns-win.el (ns-initialize-window-system):
15661 * term/w32-win.el (w32-initialize-window-system):
15662 * term/x-win.el (x-initialize-window-system): Use it to properly
15663 set menu-bar-mode and other vars from X resources, even if the
15664 initial frame is not a window-system frame (Bug#2299).
15666 * subr.el (read-key): Avoid running filter function when setting
15667 up temporary tool bar entries (Bug#9922).
15669 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15671 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15674 2012-04-27 Chong Yidong <cyd@gnu.org>
15676 * select.el (xselect--encode-string): New function, split from
15677 xselect-convert-to-string.
15678 (xselect-convert-to-string): Use it.
15679 (xselect-convert-to-filename, xselect-convert-to-os)
15680 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15681 returned strings are properly encoded (Bug#11315).
15683 2012-04-27 Chong Yidong <cyd@gnu.org>
15685 * simple.el (delete-active-region): Move to killing custom group.
15687 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15689 * progmodes/which-func.el (which-func-current): Quote %
15690 characters for mode-line processing.
15692 2012-04-27 Chong Yidong <cyd@gnu.org>
15694 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15695 reaching eob (Bug#11286).
15697 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15699 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15700 (gdb): Make it buffer-local and init to zero.
15701 (gdb-control-commands-regexp): New variable.
15702 (gdb-send): Don't wrap in "-interpreter-exec console" if
15703 gdb-control-level is positive. Increment gdb-control-level
15704 whenever the command matches gdb-control-commands-regexp, and
15705 decrement it each time the command is "end". (Bug#11279)
15707 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15709 * window.el (adjust-window-trailing-edge, enlarge-window)
15710 (shrink-window, window-resize):
15711 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15712 windows (Bug#11276).
15714 2012-04-27 Chong Yidong <cyd@gnu.org>
15716 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15717 fix "missing prefix" warning. All callers changed.
15719 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15721 * emacs-lisp/assoc.el: Move to obsolete/.
15723 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15725 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15727 * term/ns-win.el (ns-define-service):
15728 * progmodes/pascal.el (pascal-goto-defun):
15729 * progmodes/js.el (js--read-tab):
15730 * progmodes/etags.el (tags-lazy-completion-table):
15731 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15732 * emacs-lisp/ewoc.el (ewoc--wrap):
15733 * emacs-lisp/assoc.el (aput, adelete, amake):
15734 * doc-view.el (doc-view-convert-current-doc):
15735 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15737 2012-04-26 Chong Yidong <cyd@gnu.org>
15739 * image.el (image-type-from-buffer): Only return supported image
15742 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15743 value, for symmetry with diff-end-of-hunk.
15744 (diff-split-hunk, diff-find-source-location)
15745 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15746 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15747 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15748 compute the relevant hunk or file properly (Bug#6005).
15749 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15751 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15760 * vc/vc.el: Replace lexical-let by lexical-binding.
15761 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15762 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15763 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15765 2012-04-26 Chong Yidong <cyd@gnu.org>
15767 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15768 (diff-mode-shared-map): Bind it to / and [remap undo].
15770 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15771 (ediff-window-setup-function): Use it as the default, to set up
15772 windows based on whether the current frame is graphical (Bug#2138).
15773 (ediff-choose-window-setup-function-automatically): Make obsolete.
15775 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15777 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * ffap.el: Remove old code for obsolete package.
15780 (ffap-complete-as-file-p): Remove.
15782 Use completion-table-with-quoting for comint and pcomplete.
15783 * comint.el (comint--unquote&requote-argument)
15784 (comint--unquote-argument, comint--requote-argument): New functions.
15785 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15786 (comint-quote-filename): Use regexp-opt-charset.
15787 (comint--common-suffix, comint--common-quoted-suffix)
15788 (comint--table-subvert): Remove.
15789 (comint-unquote-function, comint-requote-function): New vars.
15790 (comint--complete-file-name-data): Use them with
15791 completion-table-with-quoting.
15792 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15793 * pcomplete.el (pcomplete-arg-quote-list)
15794 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15795 (pcomplete-unquote-argument-function): Default to non-nil.
15796 (pcomplete-unquote-argument): Simplify.
15797 (pcomplete--common-quoted-suffix): Remove.
15798 (pcomplete-requote-argument-function): New var.
15799 (pcomplete--common-suffix): New function.
15800 (pcomplete-completions-at-point): Use completion-table-with-quoting
15801 and completion-table-subvert.
15803 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15804 (minibuffer--double-dollars): Preserve properties.
15805 (completion--sifn-requote): New function.
15806 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15808 * minibuffer.el: Add support for completion of quoted/escaped data.
15809 (completion-table-with-quoting, completion-table-subvert): New funs.
15810 (completion--twq-try, completion--twq-all): New functions.
15811 (completion--nth-completion): New function.
15812 (completion-try-completion, completion-all-completions): Use it.
15814 2012-04-25 Leo Liu <sdl.web@gmail.com>
15816 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15817 Use compilation-message if available to find real filename.
15819 2012-04-25 Chong Yidong <cyd@gnu.org>
15821 * vc/diff-mode.el (diff-setup-whitespace): New function.
15822 (diff-mode): Use it.
15824 * vc/diff.el (diff-sentinel):
15825 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15826 Whitespace mode variables based on diff style (Bug#8612).
15828 2012-04-25 Leo Liu <sdl.web@gmail.com>
15830 * progmodes/python.el (python-send-region): Add suffix .py to the
15833 * files.el (auto-mode-alist): Use javascript-mode instead.
15835 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15837 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15839 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15840 (soap-resolve-references-for-array-type): Hack to prevent self
15841 references, see Bug#9.
15842 (soap-parse-envelope): Report the contents of the 'detail' node
15843 when receiving a fault reply.
15844 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15846 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15847 (soap-inspect-simple-type): New function.
15849 * net/soap-client.el (soap-simple-type): New struct.
15850 (soap-default-xsd-types, soap-default-soapenc-types)
15851 (soap-decode-basic-type, soap-encode-basic-type):
15852 support unsignedInt and double basic types.
15853 (soap-resolve-references-for-simple-type)
15854 (soap-parse-simple-type, soap-encode-simple-type): New function.
15855 (soap-parse-schema): Parse xsd:simpleType declarations.
15857 * net/soap-client.el (soap-default-xsd-types)
15858 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15859 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15860 the local name of "soapenc:Array".
15861 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15862 decoding integer, byte and anyURI xsd types.
15864 2012-04-25 Chong Yidong <cyd@gnu.org>
15866 * cus-edit.el (custom-buffer-create-internal): Update header text.
15868 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15870 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15871 settings on 'system-type', not on 'window-system'. On MS-Windows,
15872 set interactive-mode on in GDB.
15874 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15876 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15877 (ruby-syntax-propertize-regexp): Remove.
15878 (ruby-syntax-propertize-function): Split regexp into chunks.
15879 Match following code directly.
15881 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15883 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15884 (ruby-syntax-propertize-regexp): New function.
15885 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15886 by a special keyword.
15888 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15889 (ruby-syntax-general-delimiters-goto-beg)
15890 (ruby-syntax-propertize-general-delimiters): New functions.
15891 (ruby-syntax-propertize-function): Use them to handle GDL.
15892 (ruby-font-lock-keywords): Move old handling of GDL...
15893 (ruby-font-lock-syntactic-keywords): .. to here.
15894 (ruby-calculate-indent): Adjust indentation for GDL.
15896 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15898 * notifications.el (top): Remove unneeded declarations.
15899 (notifications-specification-version): Change to "1.2".
15900 (notifications-interface, notifications-notify-method)
15901 (notifications-close-notification-method): Fix docstring.
15902 (notifications-get-capabilities-method): New defconst.
15903 (notifications-notify): Add :action-items, :resident and
15904 :transient hints. Change "image_data" to "image-data" and
15905 "image_path" to "image-path".
15906 (notifications-get-capabilities): New defun.
15908 2012-04-24 Leo Liu <sdl.web@gmail.com>
15910 * progmodes/python.el: Move hideshow setup to the end.
15912 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15914 * window.el (handle-select-window): Clear echo area since this is
15915 no more done by read_char (Bug#11304).
15917 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15920 and `/ M' to filter-derived-mode.
15921 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15922 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15923 (ibuffer-mark-by-mode): Use default rather than initial-input.
15924 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15926 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15928 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15929 (ibuffer-filter-by-derived-mode): New filter.
15930 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15932 2012-04-23 Andreas Politz <politza@fh-trier.de>
15934 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15936 2012-04-23 Chong Yidong <cyd@gnu.org>
15938 * cus-edit.el (customize-apropos, customize-apropos-options):
15939 Disable matching of non-option variables (Bug#11176).
15940 (customize-option, customize-option-other-window)
15941 (customize-changed-options): Doc fix.
15942 (customize-apropos-options, customize-apropos-faces)
15943 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15945 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15946 Fix word list splitting (Bug#11132).
15947 (apropos-symbol, apropos-keybinding, apropos-label)
15948 (apropos-property, apropos-function-button)
15949 (apropos-variable-button, apropos-misc-button): New faces.
15950 (apropos-symbol-face, apropos-keybinding-face)
15951 (apropos-label-face, apropos-property-face, apropos-match-face):
15952 Variables removed (Bug#8396).
15953 (apropos-library-button, apropos-format-plist, apropos-print)
15954 (apropos-print-doc, apropos-describe-plist): Callers changed.
15956 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15958 * net/xesam.el (xesam-mode-map): Use let-bound map in
15959 initialization. (Bug#11292)
15961 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15963 Preserve ispell session localwords when switching back to
15966 * textmodes/ispell.el (ispell-buffer-session-localwords):
15967 New buffer-local variable to hold buffer session localwords.
15968 (ispell-kill-ispell): Add option 'clear to delete session
15970 (ispell-command-loop, ispell-change-dictionary)
15971 (ispell-buffer-local-words): Preserve session localwords when
15974 * textmodes/flyspell.el (flyspell-process-localwords)
15975 (flyspell-do-correct): Preserve session localwords when needed.
15977 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15979 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15980 using obsolete `translation-table-for-input'.
15981 (ispell-word, ispell-process-line, ispell-complete-word):
15982 Use plain `insert' instead of removed `ispell-insert-word'.
15984 2012-04-22 Chong Yidong <cyd@gnu.org>
15986 * cus-edit.el (custom-variable-menu)
15987 (custom-variable-reset-saved, custom-face-menu)
15988 (custom-face-reset-saved): If there is no saved value, make the
15989 "reset-saved" operation bring back the default (Bug#9509).
15990 (custom-face-state): Properly detect themed faces.
15992 * faces.el (face-spec-set): Stop supporting deprecated form of
15995 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15997 Move functions from C to Lisp. Make non-blocking method calls
15998 the default. Implement further D-Bus standard interfaces.
16000 * net/dbus.el (dbus-message-internal): Declare function.
16001 Remove unneeded function declarations.
16002 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
16003 (dbus-message-type-method-return, dbus-message-type-error)
16004 (dbus-message-type-signal): Declare variables. Remove local
16006 (dbus-interface-dbus, dbus-interface-peer)
16007 (dbus-interface-introspectable, dbus-interface-properties)
16008 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
16010 (dbus-interface-objectmanager): New defconst.
16011 (dbus-call-method, dbus-call-method-asynchronously)
16012 (dbus-send-signal, dbus-method-return-internal)
16013 (dbus-method-error-internal, dbus-register-service)
16014 (dbus-register-signal, dbus-register-method): New defuns, moved
16016 (dbus-call-method-handler, dbus-setenv)
16017 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
16019 (dbus-call-method-non-blocking): Make it an obsolete function.
16020 (dbus-unregister-object, dbus-unregister-service)
16021 (dbus-handle-event, dbus-register-property)
16022 (dbus-property-handler): Obey the new structure of
16023 `bus-registered-objects'.
16024 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
16025 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16026 Use `dbus-call-method'.
16028 2012-04-22 Chong Yidong <cyd@gnu.org>
16030 * cus-edit.el (custom-commands, custom-reset-menu)
16031 (Custom-reset-standard): Tweak labels.
16032 (custom-reset-button-menu): Change default to t.
16033 (custom-buffer-create-internal): For the custom-reset-button-menu
16034 case, put the revert button first.
16035 (custom-group-subtitle): New face.
16036 (custom-group-value-create): Align docstring to a specific column.
16038 * wid-edit.el (widget-documentation-link-add): Don't handle
16039 indentation in this function.
16040 (widget-documentation-string-indent-to): New function.
16041 (widget-documentation-string-value-create): Use it.
16043 * autorevert.el (auto-revert):
16044 * epg-config.el (epg):
16045 * ibuffer.el (ibuffer):
16048 * eshell/eshell.el (eshell):
16049 * net/ange-ftp.el (ange-ftp):
16050 * progmodes/ebnf2ps.el (postscript):
16051 * progmodes/flymake.el (flymake):
16052 * progmodes/prolog.el (prolog):
16053 * progmodes/verilog-mode.el (verilog-mode):
16054 * progmodes/which-func.el (which-func):
16055 * term/xterm.el (xterm):
16056 * textmodes/picture.el (picture):
16057 * textmodes/tildify.el (tildify):
16058 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
16059 customization buffers.
16061 2012-04-22 Alan Mackenzie <acm@muc.de>
16063 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16064 Adding a ) can hide the resulting (..) from searches. Fix it.
16065 Bound the backward search to the position of the existing (.
16067 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
16069 * progmodes/verilog-mode.el (verilog-mode): Check whether
16070 which-func-modes is t before adding verilog-mode.
16071 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16073 2012-04-21 Leo Liu <sdl.web@gmail.com>
16075 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
16077 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
16079 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
16080 filling of the last column of a table (Bug#5635).
16081 (woman-find-next-control-line): New arg, specifying an additional
16082 regexp component for the control line.
16083 (woman2-roff-buffer): Use it.
16084 (woman-break-table): New function.
16085 (woman2-TS): Use it.
16087 2012-04-21 Chong Yidong <cyd@gnu.org>
16089 * woman.el (woman-set-buffer-display-table, woman-decode-region)
16090 (woman-horizontal-escapes, woman-negative-vertical-space)
16091 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
16092 (WoMan-warn-ignored): Use ?\s instead of ?\ .
16094 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16096 * minibuffer.el (completion-file-name-table): Complete user names.
16098 2012-04-20 Leo Liu <sdl.web@gmail.com>
16100 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
16103 2012-04-20 Chong Yidong <cyd@gnu.org>
16105 * server.el (server-execute): Respect initial-buffer-choice if it
16106 is a string and there are no files to open (Bug#2825).
16107 (server-create-window-system-frame, server-create-tty-frame):
16108 Don't switch buffers here.
16109 (server-process-filter): Only try to open a window system frame if
16110 compiled with graphical support (Bug#8314).
16112 2012-04-20 Dan Nicolaescu <dann@gnu.org>
16114 * battery.el (battery-echo-area-format): Display remaining time
16115 for sysfs backend too (Bug#11269).
16116 (battery-linux-sysfs): Fix conditional for the charge.
16118 2012-04-20 Chong Yidong <cyd@gnu.org>
16120 * progmodes/gdb-mi.el (gdb): Revert previous change.
16121 (gdb-inferior-io--init-proc): New function.
16122 (gdb-init-1): Use it.
16123 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
16124 responsible for allocating a new pty and hooking it to gdb when
16125 the old pty gets an EIO due to process exit.
16126 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
16127 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
16128 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
16130 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16132 * window.el (window-min-size, window-sizable, window-min-delta)
16133 (window-max-delta, window--resizable, window-resizable)
16134 (window-total-size, window-full-height-p, window-full-width-p)
16135 (window-in-direction, window--resize-mini-window, window-resize)
16136 (window--resize-child-windows-normal)
16137 (window--resize-child-windows, window--resize-siblings)
16138 (window--resize-this-window, adjust-window-trailing-edge)
16139 (enlarge-window, shrink-window): Doc fixes.
16141 2012-04-20 Chong Yidong <cyd@gnu.org>
16143 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
16144 New function to call delete-process on the gdb-inferior buffer's pty.
16145 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
16146 pty process (Bug#11273).
16147 (gdb-update): New arg to suppress talking to the gdb process.
16148 (gdb-done-or-error): Use it.
16149 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
16150 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
16151 sentinel not being called.
16153 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
16155 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
16157 2012-04-20 Glenn Morris <rgm@gnu.org>
16159 * net/network-stream.el (open-network-stream): Doc fix.
16161 2012-04-20 Chong Yidong <cyd@gnu.org>
16163 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
16165 2012-04-20 Alan Mackenzie <acm@muc.de>
16167 Ensure searching for keywords is case sensitive.
16169 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
16170 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
16171 (c-defun-name, c-mark-function, c-cpp-define-name)
16172 (c-comment-indent, c-scan-conditionals, c-indent-defun)
16173 (c-context-line-break): Bind case-fold-search to nil.
16175 * progmodes/cc-mode.el (c-font-lock-fontify-region):
16176 Bind case-fold-search to nil.
16178 2012-04-20 Chong Yidong <cyd@gnu.org>
16180 * mail/sendmail.el (mail-bury): Call return action with the right
16181 Rmail buffer (Bug#11242).
16183 * server.el (server-process-filter): Handle corner case where both
16184 tty and nowait options are present (Bug#11102).
16186 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16188 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
16189 (top level): Put into the executable the ident-style '$Id:' tag on
16190 windows-nt as well.
16192 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16194 * electric.el (electric-indent-post-self-insert-function): Check that
16195 electric-indent-mode is enabled in current buffer.
16197 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16199 * imenu.el (imenu-progress-message): Restore; it is "used" in
16200 erc/erc-imenu.el and net/snmp-mode.el.
16202 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16204 * avoid.el (mouse-avoidance-mode): Mark unused arg.
16205 (mouse-avoidance-nudge-mouse): Remove unused binding.
16207 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
16209 * descr-text.el (describe-char):
16210 * progmodes/python.el (python-describe-symbol):
16211 Don't call `toggle-read-only', set `buffer-read-only'.
16213 * imenu.el (imenu-default-goto-function): Mark unused args.
16214 (imenu-progress-message): Remove obsolete macro; all callers changed.
16216 * subr.el (keymap-canonicalize): Remove unused binding.
16217 (read-passwd): Mark unused arg.
16219 * tutorial.el (tutorial--display-changes): Remove unused binding.
16220 (tutorial--save-tutorial-to): Remove unused variable.
16222 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
16223 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
16224 (package-generate-autoloads, package-menu--generate)
16225 (package-menu--find-upgrades): Remove unused bindings.
16227 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
16228 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
16229 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
16230 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
16231 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
16232 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
16233 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
16234 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
16235 (cua-delete-char-rectangle): Mark unused args.
16236 (cua-align-rectangle): Remove unused binding.
16238 * mail/rmail.el (compilation--message->loc)
16239 (epa--find-coding-system-for-mime-charset): Declare.
16241 * net/dbus.el (dbus-register-service): Declare.
16242 (dbus-name-owner-changed-handler): Remove unused binding.
16244 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
16245 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
16246 (nxml-scan-backward-within): Mark unused arg.
16247 (nxml-dynamic-markup-word): Remove unused binding.
16249 * mouse.el (mouse-menu-major-mode-map):
16250 * emacs-lisp/authors.el (authors-scan-change-log)
16251 (authors-add-to-author-list):
16252 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16253 * emacs-lisp/smie.el (smie-auto-fill):
16254 * mail/sendmail.el (mail-bury):
16255 * mail/unrmail.el (unrmail):
16256 * net/tls.el (open-tls-stream):
16257 * textmodes/picture.el (picture-mouse-set-point):
16258 Remove unused bindings.
16260 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16262 * net/tramp.el (tramp-action-password): Let-bind
16263 `enable-recursive-minibuffers' to t.
16265 2012-04-18 Sam Steingold <sds@gnu.org>
16267 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16268 instead of 'string to accommodate values like [f11].
16269 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16270 * progmodes/gdb-mi.el: Likewise.
16272 2012-04-18 Leo Liu <sdl.web@gmail.com>
16274 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16276 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16279 2012-04-18 Chong Yidong <cyd@gnu.org>
16281 * simple.el (line-move): Use forward-line if in batch mode
16284 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16286 * files.el (after-find-file): Do not try to add a final newline if
16287 the buffer is read-only (Bug#11156).
16289 2012-04-17 Richard Stallman <rms@gnu.org>
16291 * mail/rmail.el (rmail-start-mail):
16292 Pass (rmail-mail-return...) for the return-action.
16293 Pass (rmail-yank-current-message...) for the yank-action.
16294 (rmail-yank-current-message): New function.
16295 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16296 (rmail-reply): Likewise.
16297 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16299 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16300 buffer, not the last. Reject temp buffers. Use the rmail-mode
16301 buffer, not newbuf.
16303 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16305 * server.el (server-ensure-safe-dir): Simplify.
16307 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16309 * emacs-lisp/smie.el: Provide smarter auto-filling.
16310 (smie-auto-fill): New function.
16311 (smie-setup): Use it.
16313 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16315 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16317 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16318 (comment-indent): Use it.
16320 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
16322 * ses.el: The overall change is to add cell renaming, that is
16323 setting fancy names for cell symbols other than name matching
16324 "\\`[A-Z]+[0-9]+\\'" regexp .
16325 (ses-localvars): Add ses--renamed-cell-symb-list.
16326 (ses-create-cell-variable): New defun.
16327 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16328 (ses-relocate-formula): Relocate formulas only for cells the
16329 symbols of which are not renamed, i.e. symbols whose names do not
16330 match regexp "\\`[A-Z]+[0-9]+\\'".
16331 (ses-relocate-all): Relocate values only for cells the symbols of
16332 which are not renamed.
16333 (ses-load): Create cells variables as the (ses-cell ...) are read,
16334 in order to check row col consistency with cell symbol name only
16335 for cells that are not renamed.
16336 (ses-replace-name-in-formula): New defun.
16337 (ses-rename-cell): New defun.
16339 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16341 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16342 New option (bug#11118).
16343 (perl-calculate-indent): Respect it.
16345 2012-04-17 Glenn Morris <rgm@gnu.org>
16347 * dired-aux.el (dired-mark-read-string): Doc fix.
16349 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16351 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16352 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16354 2012-04-17 Glenn Morris <rgm@gnu.org>
16356 * mouse.el (mouse-drag-track):
16357 * speedbar.el (speedbar-frame-mode):
16358 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16360 2012-04-16 Leo Liu <sdl.web@gmail.com>
16362 * progmodes/python.el: Trivial cleanup.
16364 2012-04-16 Glenn Morris <rgm@gnu.org>
16366 * vc/vc.el (vc-string-prefix-p):
16367 * vc/pcvs-util.el (cvs-string-prefix-p):
16368 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16369 * mpc.el (mpc-string-prefix-p):
16370 Make all of these into obsolete aliases for string-prefix-p.
16372 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16374 * textmodes/two-column.el: Move custom options to the start.
16375 (frame-width): Remove compat definition.
16376 (2C-associate-buffer, 2C-dissociate):
16377 Use with-current-buffer rather than save-excursion.
16378 (2C-dissociate): Force a mode-line update.
16379 (2C-autoscroll): Use ignore-errors.
16381 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16384 * emacs-lisp/cl-extra.el (*random-state*):
16385 Remove unnecessary declaration.
16387 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16389 * play/cookie1.el (cookie-snarf):
16390 Give an explicit error if input file cannot be read.
16392 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16394 * progmodes/perl-mode.el (c-macro-expand):
16395 Remove unnecessary autoload (it is in loaddefs.el).
16397 * textmodes/picture.el (picture-desired-column)
16398 (picture-update-desired-column): Convert comments to doc-strings.
16399 (picture-substitute): Remove function.
16400 (picture-mode-map): Initialize in the defvar.
16402 * woman.el: Remove eval-after-load for tar-mode.
16403 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16404 (woman-tar-extract-file): Autoload it.
16406 * frame.el (automatic-hscrolling): Make this alias obsolete.
16408 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16410 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16411 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16412 (ispell-dictionary-base-alist): Revert to original XEmacs
16413 friendly version for default. [:alpha:] will be added in
16414 `ispell-set-spellchecker-params' if needed.
16416 2012-04-16 Chong Yidong <cyd@gnu.org>
16418 * image.el (imagemagick--file-regexp): New variable.
16419 (imagemagick-register-types): Use it.
16420 (imagemagick-types-inhibit): Add :set function. Allow new value
16421 of t to inhibit all types.
16423 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16424 so we can preload it.
16426 * loadup.el (fboundp): Preload regexp-opt, needed by
16427 imagemagick-register-types.
16429 2012-04-15 Chong Yidong <cyd@gnu.org>
16431 * frame.el (scrolling): Remove nearly unused customization group.
16433 * scroll-all.el (scroll-all-mode): Move to windows group.
16435 2012-04-15 Chong Yidong <cyd@gnu.org>
16437 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16439 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16441 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16442 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16444 2012-04-15 Glenn Morris <rgm@gnu.org>
16446 * simple.el (process-file-side-effects): Doc fix.
16448 2012-04-15 Glenn Morris <rgm@gnu.org>
16450 * international/mule-cmds.el (set-language-environment): Doc fix.
16452 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16454 * server.el (server-auth-key, server-generate-key): Doc fixes.
16455 (server-get-auth-key): Doc fix. Use `string-match-p'.
16456 (server-start): Reflow docstring.
16458 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16460 * server.el (server-generate-key): `called-interactively-p'
16461 requires a parameter.
16463 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16465 * server.el (server-auth-key): New variable.
16466 (server-generate-key, server-get-auth-key): New function.
16467 (server-start): Use the new variable and functions to allow
16468 setting a permanent server key (bug#9423).
16470 2012-04-14 Leo Liu <sdl.web@gmail.com>
16472 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16474 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16477 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16478 Emacs uses American spelling.
16480 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16482 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16483 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16484 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16485 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16487 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16489 * progmodes/which-func.el (which-func-modes): Change default.
16491 2012-04-14 Kim F. Storm <storm@cua.dk>
16493 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16494 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16496 2012-04-14 Chong Yidong <cyd@gnu.org>
16498 * custom.el (custom-theme-set-variables): Doc fix.
16500 2012-04-14 Glenn Morris <rgm@gnu.org>
16502 * international/mule.el (set-auto-coding-for-load): Doc fix.
16504 2012-04-14 Alan Mackenzie <acm@muc.de>
16506 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16507 imenu work again for Objective C Mode. Correct the *-index values,
16508 these having been disturbed by a previous change in 2011-08.
16510 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16511 Correct two search limits.
16513 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16517 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16519 * international/characters.el: Fix sorting.
16521 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16523 * international/characters.el: Add more missing Latin case pairs.
16525 2012-04-14 Glenn Morris <rgm@gnu.org>
16527 * files.el (dir-locals-set-class-variables): Doc fix.
16529 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16531 * international/characters.el: Add set-case-syntax-pair call for
16532 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16533 counterpart. (Bug#11209)
16535 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16537 2012-04-14 Glenn Morris <rgm@gnu.org>
16539 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16541 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16543 * textmodes/ispell.el (ispell-dictionary-base-alist):
16544 Add data for Hebrew.
16546 2012-04-14 Chong Yidong <cyd@gnu.org>
16548 * net/rcirc.el (rcirc-cmd-quit):
16549 Revert 2012-03-18 change (Bug#11192).
16551 2012-04-14 Glenn Morris <rgm@gnu.org>
16553 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16555 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16557 * minibuffer.el (completion-in-region-mode-map):
16558 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16560 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16562 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16564 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16566 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16567 to allow `C-M-f' and `C-M-b' to move to the nearest path
16568 separator (bug#9511).
16570 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16572 * avoid.el: Require cl when compiling. And also move the
16573 `provide' to the end.
16575 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16577 * avoid.el (mouse-avoidance-banish-position): New variable.
16578 (mouse-avoidance-banish-destination): Use it (bug#10165).
16580 2012-04-13 Leo Liu <sdl.web@gmail.com>
16582 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16584 2012-04-13 Ken Brown <kbrown@cornell.edu>
16586 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16587 this is no longer needed now that cygstart understands file:// URLs.
16588 (browse-url-filename-alist): For the same reason, don't modify
16589 file:// URLs on Cygwin.
16591 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16593 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16594 the region on shift if the binding is already shifted (bug#11221).
16596 2012-04-12 Glenn Morris <rgm@gnu.org>
16598 * mail/mailpost.el: Move to obsolete/.
16600 2012-04-12 Drew Adams <drew.adams@oracle.com>
16602 * imenu.el (imenu--generic-function): Ignore invisible definitions
16605 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16607 * hexl.el (hexl-bits): New variable.
16608 (hexl-options): Mention the variable in the doc string.
16609 (hexl-rulerise, hexl-line-displen): New functions.
16610 (hexl-mode): Mention the new variable.
16611 (hexl-mode, hexl-current-address, hexl-current-address):
16613 (hexl-ascii-start-column): New function.
16614 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16615 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16617 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16619 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16620 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16621 the encoding, as expected by hunspell.
16623 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16625 * battery.el (battery--linux-sysfs-regexp): New const.
16626 (battery-status-function): Use it. Remove yeeloong special case.
16627 (battery-yeeloong-sysfs): Remove.
16628 (battery-echo-area-format): Remove yeeloong special case.
16630 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16632 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16633 Reported by Noah Friedman.
16635 * subr.el (read-passwd): Use read-string.
16637 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16639 * vcursor.el (vcursor-move): Increase the priority of the overlay
16642 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16644 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16645 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16647 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16649 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16650 define-minor-mode (bug#10760).
16652 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16654 * progmodes/grep.el (rgrep): Tweak the find command line so
16655 that directories matching `grep-find-ignored-files' won't be
16656 pruned (bug#10351).
16658 2012-04-11 Chong Yidong <cyd@gnu.org>
16660 * startup.el (command-line): Remove support for long-obsolete
16661 variable font-lock-face-attributes.
16663 2012-04-11 Glenn Morris <rgm@gnu.org>
16665 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16667 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16669 * window.el (window--state-get-1): Obey window-point-insertion-type.
16671 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16673 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16674 to previous function when point is on the first character of a
16675 function. Take care of that in `narrow-to-defun' (bug#6157).
16677 2012-04-11 Glenn Morris <rgm@gnu.org>
16679 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16680 not just file-errors.
16682 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16683 (vc-bzr-sha1): Use internal sha1.
16685 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16689 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16691 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16692 that start in the middle of the line (bug#10496).
16694 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16696 * battery.el (battery-linux-proc-acpi): Only one battery is
16697 discharged at a time, but that seems to confuse battery.el when
16698 computing `rate-type' for the battery not being discharged
16701 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16705 * international/quail.el: Use dolist and simplify.
16706 (quail-define-package, quail-update-keyboard-layout)
16707 (quail-define-rules): Use dolist.
16708 (quail-insert-kbd-layout, quail-get-translation): CSE.
16710 * tmm.el: Use dolist, remove left over hook.
16711 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16713 (calendar-load-hook): Don't mess with it.
16715 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16716 Use derived-mode-p. Run the diff asynchronously.
16718 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16720 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16722 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16724 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16725 (list-dynamic-libraries--loaded): New function.
16726 (list-dynamic-libraries--refresh): Use it.
16728 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16730 * progmodes/python.el (python-fill-paragraph):
16731 Make python-fill-region in a multiline string work when font-lock is
16732 disabled (bug#7018).
16734 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16736 * language/european.el (cp775): Add oem/legacy (en)coding on
16737 DOS/MS Windows for the Baltic languages. There are still plenty
16738 of texts written in this encoding/codepage (bug#6519).
16740 2012-04-10 Glenn Morris <rgm@gnu.org>
16742 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16743 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16745 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16747 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16748 next-line "n" and previous-line "p" in order to make recentf more
16749 consistent with ibuffer, dired or org-mode (bug#9387).
16751 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16753 * image.el (put-image): Return the overlay created instead of the
16754 optional input string (bug#7834). Note that this may break code
16755 that is (for some reason or other) depending on `put-image'
16756 returning the string.
16758 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16760 * simple.el (zap-to-char): Allow zapping using input methods
16763 * textmodes/fill.el (fill-region): Leave point and mark where they
16764 were before filling (bug#5399).
16766 2012-04-09 Glenn Morris <rgm@gnu.org>
16768 * version.el (emacs-bzr-get-version):
16769 Handle lightweight checkouts of local branches.
16771 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16773 * international/characters.el: Recover lost case pairs. (Bug#11209)
16775 2012-04-09 Chong Yidong <cyd@gnu.org>
16777 * custom.el (custom-variable-p): Return nil for non-symbol
16778 arguments instead of signaling an error.
16779 (user-variable-p): Obsolete alias for custom-variable-p.
16781 * apropos.el (apropos-variable):
16782 * files-x.el (read-file-local-variable):
16783 * simple.el (set-variable):
16784 * woman.el (woman-mini-help):
16785 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16787 2012-04-09 Glenn Morris <rgm@gnu.org>
16789 * startup.el (normal-top-level): Don't look for leim-list.el
16790 in places where it will not be found. (Bug#910)
16792 * international/mule-cmds.el (set-default-coding-systems):
16793 * files.el (normal-mode):
16794 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16795 This function was removed with ucs-tables.el in 2008.
16797 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16799 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16800 ispell-encoding8-command to "-i", without a trailing space.
16801 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16802 separate command-line arguments, to specify the encoding, since
16803 that's how hunspell expects it.
16805 2012-04-08 Glenn Morris <rgm@gnu.org>
16807 * loadup.el: Load bindings before cus-start.
16808 This reduces somewhat the number of "rogue" settings in emacs -Q.
16810 2012-04-07 Glenn Morris <rgm@gnu.org>
16812 * version.el (emacs-bzr-get-version): New function.
16813 (emacs-bzr-version): New variable.
16814 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16815 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16817 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16819 * international/uni-bidi.el, international/uni-category.el:
16820 * international/uni-combining.el, international/uni-decimal.el:
16821 * international/uni-decomposition.el, international/uni-digit.el:
16822 * international/uni-lowercase.el, international/uni-mirrored.el:
16823 * international/uni-name.el, international/uni-numeric.el:
16824 * international/uni-titlecase.el, international/uni-uppercase.el:
16825 Update for Unicode 6.1.
16827 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16829 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16831 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16833 * window.el (shrink-window): Mention the `window-min-height'
16834 variable in the doc string.
16836 2012-04-05 Bastien Guerry <bzg@altern.org>
16838 * color.el (color-lighten-name): Fix typo.
16840 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16842 * server.el (server--on-display-p): New function.
16843 (server--on-display-p): Use it.
16845 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16847 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16850 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16852 * comint.el (comint--common-quoted-suffix): Check string boundary
16853 before comparing (bug#11158).
16854 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16856 2012-04-04 Chong Yidong <cyd@gnu.org>
16858 * minibuffer.el (completion-extra-properties): Doc fix.
16860 * subr.el (delayed-warnings-hook): Doc fix.
16862 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16864 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16865 selection (Bug#11159).
16866 (epa-insert-keys): Inform that the default public key will be
16867 exported if no key is selected.
16869 2012-04-04 Richard Stallman <rms@gnu.org>
16871 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16873 2012-04-03 Chong Yidong <cyd@gnu.org>
16875 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16876 mail-insert-file, not its obsolete alias mail-attach-file.
16878 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16880 * notifications.el (notifications-notify): Fix docstring.
16882 2012-04-02 Glenn Morris <rgm@gnu.org>
16884 * emacs-lisp/authors.el (authors-aliases): Another addition.
16886 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16888 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16889 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16890 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16892 2012-04-01 Chong Yidong <cyd@gnu.org>
16894 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16895 Handle root directory properly.
16896 (copy-directory): Caller changed.
16898 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16899 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16901 2012-03-31 Glenn Morris <rgm@gnu.org>
16903 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16905 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16907 * calendar/calendar.el (calendar-window-list)
16908 (calendar-hide-window): Restore. (Bug#11140)
16909 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16911 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16913 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16915 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16916 Check if file is a symlink (Bug#10489).
16918 * files.el (copy-directory): Likewise.
16920 2012-03-30 Chong Yidong <cyd@gnu.org>
16922 * image.el (imagemagick-types-inhibit)
16923 (imagemagick-register-types): Doc fix.
16925 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16927 * textmodes/ispell.el (ispell-get-extended-character-mode):
16928 Disable extended-char-mode for hunspell. hunspell does not support it
16929 and treats ~word as ordinary words in pipe mode.
16931 2012-03-30 Glenn Morris <rgm@gnu.org>
16933 * tutorial.el (help-with-tutorial): Ensure local variables don't
16934 happen to make the buffer read-only. (Bug#11127)
16936 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16938 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16939 (perl-calculate-indent): Return `noindent' in strings.
16941 2012-03-28 Sam Steingold <sds@gnu.org>
16943 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16944 instead of the broken adhockery which does not prevent calendar
16945 buffers from being displayed at random after exit.
16946 (calendar-window-list, calendar-hide-window): Remove the broken
16949 2012-03-28 Glenn Morris <rgm@gnu.org>
16951 * replace.el (query-replace-map): Doc fix.
16953 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16955 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16956 contents. (Bug#11109)
16958 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16960 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16962 (avl-tree--check, avl-tree--check-node): New funs.
16964 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16966 * window.el (switch-to-visible-buffer): New option.
16967 (switch-to-prev-buffer, switch-to-next-buffer):
16968 Observe switch-to-visible-buffer. Make sure that checking for a window
16969 showing a buffer already is done on the same frame.
16971 2012-03-27 Glenn Morris <rgm@gnu.org>
16973 * startup.el (mail-host-address): Doc fix.
16975 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16977 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16978 than 197 variables.
16980 2012-03-26 Ami Fischman <ami@fischman.org>
16982 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16984 2012-03-26 Glenn Morris <rgm@gnu.org>
16986 * files.el (save-buffers-kill-emacs): Doc fix.
16988 * startup.el (normal-top-level, command-line, command-line-1):
16989 Give them doc strings.
16991 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16993 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16994 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16996 2012-03-25 Chong Yidong <cyd@gnu.org>
16998 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16999 theme if it was previously enabled before (Bug#11031).
17001 * cus-theme.el (custom-theme-write-faces): Retrieve current face
17002 spec with custom-face-get-current-spec if its :shown-value is not
17003 determined yet (Bug#9337).
17004 (customize-create-theme, custom-theme-revert): Doc fixes.
17006 * button.el (button-at): Minor addition to docstring.
17008 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
17010 * vc/vc.el (vc-merge): Fix a prompt.
17012 2012-03-24 Chong Yidong <cyd@gnu.org>
17014 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
17017 * button.el (button-at): Minor addition to docstring.
17019 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
17021 * newcomment.el (comment-choose-indent): No space after BOL.
17023 2012-03-22 Sam Steingold <sds@gnu.org>
17025 * window.el (switch-to-prev-buffer): Revert last patch because the
17026 bug turned out to be an advertised feature (Elisp manual 28.14).
17028 2012-03-22 Glenn Morris <rgm@gnu.org>
17030 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
17031 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
17033 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17035 * net/network-stream.el (network-stream-open-starttls): Make error
17036 message under Windows be less misleading.
17038 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
17040 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
17041 understands (bug#9942).
17043 2012-03-22 Chong Yidong <cyd@gnu.org>
17045 * simple.el (end-of-visible-line): Handle return value of
17046 next-single-property-change properly (Bug#9371).
17048 2012-03-22 Kenichi Handa <handa@m17n.org>
17050 * international/quail.el (quail-insert-kbd-layout): Fix previous
17051 change. To avoid unwanted bidi reordering, use
17052 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
17054 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
17056 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
17057 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
17058 (ruby-beginning-of-indent): Be more careful with the difference
17059 between word-boundary and symbol boundary.
17060 (ruby-mode-syntax-table): Make : a symbol constituent.
17062 2012-03-21 Andreas Politz <politza@fh-trier.de>
17064 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
17066 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17068 * progmodes/etags.el (tags-completion-at-point-function):
17071 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
17073 2012-03-21 Sam Steingold <sds@gnu.org>
17075 * progmodes/etags.el (tags-completion-at-point-function):
17076 Avoid the error when point is inside the pattern.
17078 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
17080 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
17083 2012-03-21 Drew Adams <drew.adams@oracle.com>
17085 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
17087 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
17089 * ido.el (ido-set-current-directory, ido-read-internal)
17090 (ido-choose-completion-string, ido-completion-help): Handle nil
17091 value of ido-completion-buffer (Bug#11008).
17093 2012-03-21 Sam Steingold <sds@gnu.org>
17095 * window.el (switch-to-prev-buffer): Do not switch to a visible
17096 window previous buffer, just like with the frame previous buffers.
17098 2012-03-21 Chong Yidong <cyd@gnu.org>
17100 * faces.el (make-face, make-empty-face, copy-face):
17101 * face-remap.el (face-remap-add-relative, face-remap-set-base):
17104 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17106 * wid-edit.el (widget-complete-field): Remove (bug#11051).
17107 (widget-complete): Remove broken use of it.
17109 2012-03-20 Chong Yidong <cyd@gnu.org>
17111 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17112 Use string-width and truncate-string-width to handle arbitrary
17115 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
17117 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
17118 to draw rectangles, not squares. (Regression introduced by revno
17119 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
17121 2012-03-18 Chong Yidong <cyd@gnu.org>
17123 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
17124 it is not yet defined (for temacs).
17126 2012-03-18 Leo Liu <sdl.web@gmail.com>
17128 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
17131 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17133 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
17134 (ispell-choices-win-default-height, ispell-silently-savep)
17135 (ispell-dictionary-alist, ispell-encoding8-command)
17136 (ispell-check-version, ispell-aspell-find-dictionary)
17137 (ispell-valid-dictionary-list, ispell-words-keyword)
17138 (ispell-get-word, ispell-internal-change-dictionary)
17139 (ispell-region, ispell-skip-region-list)
17140 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
17141 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
17142 (ispell-message-text-end, ispell-message)
17143 (ispell-buffer-local-parsing): Doc fix.
17145 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
17147 * htmlfontify.el: Add support for code block fontification for ODT
17148 export (Bug #9914).
17149 (hfy-optimisations): Define new option
17151 (hfy-fontify-buffer): Honor above setting.
17152 (hfy-begin-span, hfy-end-span): New routines factored out form
17153 `hfy-fontify-buffer'.
17154 (hfy-begin-span-handler, hfy-end-span-handler): New variables
17155 that permit insertion of custom tags.
17156 (hfy-fontify-buffer): Use above handlers.
17157 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
17158 (hfy-face-to-css): Re-defined to be a variable.
17159 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
17160 over multiple runs. This is made possible by having the caller let
17161 bind a special variable `hfy-user-sheet-assoc'.
17162 (htmlfontify-string): New defun.
17163 (hfy-compile-face-map): Make sure that the last char in the
17164 buffer is correctly fontified.
17165 (hfy-face-resolve-face): Whitespace only change.
17167 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17169 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
17170 message more clear.
17172 2012-03-16 Leo Liu <sdl.web@gmail.com>
17174 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
17176 2012-03-16 Alan Mackenzie <acm@muc.de>
17178 Further optimize the handling of large macros.
17180 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
17181 limit to a call of `c-literal-limits'.
17182 (c-determine-+ve-limit): New function.
17183 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
17184 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
17185 In CASE 5B, restrict a search limit to 500.
17186 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
17188 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
17189 Restrict macro bounds to +-500 from after-change's BEG END.
17191 2012-03-16 Leo Liu <sdl.web@gmail.com>
17193 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
17195 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
17197 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
17198 `special-mode' setting of `buffer-read-only'. (Bug#11010)
17200 2012-03-16 Glenn Morris <rgm@gnu.org>
17202 * view.el (view-buffer, view-buffer-other-window)
17203 (view-buffer-other-frame): Doc fixes re special mode-class.
17205 * subr.el (eval-after-load): If named feature is provided not from
17206 a file, run after-load forms. (Bug#10946)
17208 * calendar/calendar.el (calendar-insert-at-column):
17209 Handle non-unit-width characters a bit better. (Bug#10978)
17211 2012-03-15 Chong Yidong <cyd@gnu.org>
17213 * emacs-lisp/ring.el (ring-extend): New function.
17214 (ring-insert+extend): Extend the ring correctly (Bug#11019).
17216 * comint.el (comint-read-input-ring)
17217 (comint-add-to-input-history): Grow comint-input-ring lazily.
17219 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17221 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
17222 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
17224 * imenu.el: Fix multiple inheritance breakage (bug#9199).
17225 (imenu-add-to-menubar): Don't add a redundant index.
17226 (imenu-update-menubar): Handle a dynamically composed keymap.
17228 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
17230 * mail/sendmail.el (mail-encode-header):
17231 Bind rfc2047-encode-encoded-words to nil.
17233 2012-03-13 Glenn Morris <rgm@gnu.org>
17235 * calendar/calendar.el (calendar-string-spread):
17236 Handle non-unit-width characters a bit better. (Bug#10978)
17238 2012-03-13 Leo Liu <sdl.web@gmail.com>
17240 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
17241 directory and file as argument (Bug#10822).
17243 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17245 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
17246 For dynamically generated code, follow $PC.
17247 (gdb-disassembly-handler-custom): Handle no function name case.
17249 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17251 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17252 * emulation/ws-mode.el (ws-query-replace):
17253 * sort.el (sort-regexp-fields):
17254 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17256 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17258 * dabbrev.el: Fix cycle completion order (bug#10963).
17259 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17260 (dabbrev-completion): Don't use an obarray; provide
17261 a cycle-sort-function.
17263 2012-03-12 Leo Liu <sdl.web@gmail.com>
17265 * simple.el (kill-new): Use equal-including-properties for comparison.
17266 (kill-do-not-save-duplicates): Doc fix.
17268 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17270 * dabbrev.el: Fix cycle completion (bug#10963).
17271 Use lexical binding and wrap to 80 columns.
17272 (dabbrev-completion): Delay computing the list of completions.
17274 2012-03-12 Kenichi Handa <handa@m17n.org>
17276 * international/quail.el (quail-insert-kbd-layout): Surround each
17277 row by LRO and PDF instead of inserting many LRMs. Pad the left
17278 and right of each non-spacing marks. Insert invisible space
17279 between lower and upper characters to prevent composition.
17281 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17283 * minibuffer.el (minibuffer-complete): Don't get confused when the
17284 function is run twice via different commands (bug#10958).
17285 (complete-with-action): Fix docstring.
17287 2012-03-12 Chong Yidong <cyd@gnu.org>
17289 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17290 (nxml-completion-at-point-function): New function.
17291 (nxml-mode): Use it.
17292 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17294 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17295 Load generated autoloads file before byte compiling (Bug#10970).
17296 (package--make-autoloads-and-compile): New helper fun.
17298 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17300 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17302 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17304 * autorevert.el (auto-revert-handler): Ensure, that
17305 file-readable-p is applied only for local files or in
17306 auto-revert-tail-mode.
17308 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17310 * server.el (server-eval-at): Handle non-tcp connections.
17311 Decode result string.
17313 * server.el (server-msg-size): New constant.
17314 (server-reply-print): New function.
17315 (server-eval-and-print): Use it.
17316 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17317 Handle -print-nonl.
17319 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17321 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17324 2012-03-11 Chong Yidong <cyd@gnu.org>
17326 * simple.el (goto-line): Doc fix (Bug#9938).
17328 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17330 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17331 when finished (Bug#10963).
17333 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17335 * window.el (split-window-below): Fix bug in case where
17336 split-window-keep-point is nil (Bug#10971).
17338 2012-03-11 Juri Linkov <juri@jurta.org>
17340 * replace.el (replace-highlight): Set isearch-word to nil
17341 unconditionally. (Bug#10887)
17343 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17345 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17346 mairix-replace-illegal-chars; all callers changed. Don't remove
17347 ^, ~, and = characters: they are meaningful in mairix search specs.
17348 (mairix-widget-create-query): Add usage information about mairix
17349 search forms: negating words, searching for substrings, etc.
17351 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17353 * international/fontset.el (font-encoding-alist): Add an entry for
17354 ksx1001 (Bug#5667).
17356 2012-03-10 Richard Stallman <rms@gnu.org>
17358 * mail/sendmail.el (mail-encode-header):
17359 Set rfc2047-encode-encoded-words.
17361 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17363 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17364 view buffer means not swapped.
17365 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17366 (rmail-write-region-annotate): Error if real text has disappeared.
17368 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17370 2012-03-10 Chong Yidong <cyd@gnu.org>
17372 * emulation/cua-rect.el (cua--init-rectangles):
17373 * emulation/cua-base.el (cua--init-keymaps):
17374 Add delete-forward-char to remappings (Bug#9666).
17376 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17378 * speedbar.el (speedbar-unhighlight-one-tag-line):
17379 Avoid unhighlighting due to frame switching (Bug#10275).
17381 2012-03-10 Chong Yidong <cyd@gnu.org>
17383 * minibuffer.el (completion-in-region, completion-help-at-point):
17384 Give the completion field overlay a high priority (Bug#6830).
17386 * dired.el (dired-goto-file): Recognize absolute file name
17387 listings (Bug#7126).
17388 (dired-goto-file-1): New helper function.
17389 (dired-toggle-read-only): Inhibit warnings.
17391 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17393 * net/dbus.el (dbus-property-handler): Return empty array if
17394 there are no properties.
17396 2012-03-09 Leo Liu <sdl.web@gmail.com>
17398 * savehist.el (savehist-printable): Stricter check for string
17401 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17403 * mail/smtpmail.el (smtpmail-send-it):
17404 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17407 2012-03-09 Glenn Morris <rgm@gnu.org>
17409 * files.el (dir-locals-find-file):
17410 Don't check result is regular, readable.
17411 (dir-locals-read-from-file): Demote errors.
17413 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17415 * international/quail.el (quail-insert-kbd-layout):
17416 Insert invisible LRM characters before each character in a keyboard
17417 layout cell, to prevent their reordering by bidi display engine.
17418 For details, see the discussion in
17419 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17421 2012-03-08 Alan Mackenzie <acm@muc.de>
17423 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17424 the starting position; make it extend the marked region when
17425 invoked repeatedly - all under appropriate circumstances.
17426 Fixes bugs #5525, #10906.
17428 2012-03-08 Glenn Morris <rgm@gnu.org>
17430 * files.el (locate-dominating-file, dir-locals-find-file):
17431 Undo 2012-03-06 change.
17433 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17435 * international/quail.el (quail-help):
17436 Force bidi-paragraph-direction be left-to-right. See discussion in
17437 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17440 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17442 Avoid superfluous registering of signals. (Bug#10807)
17444 * notifications.el (notifications-on-action-object)
17445 (notifications-on-close-object): New defvars.
17446 (notifications-on-action-signal, notifications-on-closed-signal):
17447 Unregister the signal if not needed any longer.
17448 (notifications-notify): Register `notifications-action-signal' or
17449 `notifications-closed-signal', if :on-action or :on-close has been
17450 passed as argument.
17452 2012-03-07 Chong Yidong <cyd@gnu.org>
17454 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17457 2012-03-06 Glenn Morris <rgm@gnu.org>
17459 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17460 (x-disown-selection-internal, x-get-selection-internal):
17461 Doc fix (add arglist signatures). (Bug#10783)
17463 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17465 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17466 Handle breakpoints with no "type".
17468 2012-03-06 Glenn Morris <rgm@gnu.org>
17470 * files.el (locate-dominating-file): Add optional predicate argument.
17471 (dir-locals-find-file): Make use of above change.
17473 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17475 * info.el (Info-insert-dir): Also try "dir.gz".
17477 2012-03-06 Glenn Morris <rgm@gnu.org>
17479 * files.el (dir-locals-find-file):
17480 Ignore non-readable or non-regular files. (Bug#10928)
17482 * files.el (locate-dominating-file): Doc fix.
17484 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17486 * calendar/calendar.el (calendar-set-mode-line):
17487 `getenv' returns a string. (Bug#10951)
17489 2012-03-05 Leo Liu <sdl.web@gmail.com>
17491 * simple.el (backward-delete-char-untabify): Constrain point to
17494 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17496 2012-03-05 Chong Yidong <cyd@gnu.org>
17498 * simple.el (count-words): If called from Lisp, return the word
17499 count, for symmetry with `count-lines'. Arglist changed.
17500 (count-words--message): Args changed. Consolidate counting code
17501 from count-words and count-words-region.
17502 (count-words-region): Caller changed.
17503 (count-lines-region): Make it an obsolete alias.
17505 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17507 * saveplace.el (save-place-to-alist)
17508 (save-place-ignore-files-regexp): Allow value nil to disable this
17511 2012-03-04 Chong Yidong <cyd@gnu.org>
17513 * faces.el (face-spec-reset-face): For the default face, reset the
17514 attributes to default values (Bug#10748).
17516 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17518 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17519 previous patch: Check `message-send-mail-function', and not the
17520 default function (bug#10897).
17522 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17524 * notifications.el (notifications-on-action-signal)
17525 (notifications-on-closed-signal): Check for unique service name of
17526 incoming event. Fix error in removing entry.
17527 (top): Register for signals with wildcard service name.
17528 (notifications-notify): Use daemon unique service name for map entries.
17530 2012-03-04 Chong Yidong <cyd@gnu.org>
17532 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17534 2012-03-04 Glenn Morris <rgm@gnu.org>
17536 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17537 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17538 (expand-abbrev, define-abbrev-table): Doc fixes.
17540 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17542 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17543 `message-default-send-mail-function' and not `send-mail-function'
17544 when doing the prompting for `sendmail-query-once' before sending
17545 in Message buffers (bug#10897).
17547 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17548 This is inconsistent with all the other stream functions, which leave
17549 the setting up to the higher levels (if so wanted) (bug#10931).
17551 2012-03-02 Alan Mackenzie <acm@muc.de>
17553 Depessimize the handling of very large macros.
17555 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17556 (c-macro-cache-syntactic): New variables to implement a one
17557 element macro cache.
17558 (c-invalidate-macro-cache): New function.
17559 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17560 Adapt to use the new cache.
17561 (c-state-safe-place): Use better the cache of safe positions.
17562 (c-state-semi-nonlit-pos-cache)
17563 (c-state-semi-nonlit-pos-cache-limit):
17564 New variables for...
17565 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17566 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17567 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17568 Use c-state-semi-safe-place.
17570 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17571 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17573 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17575 * jka-compr.el (jka-compr-call-process):
17576 Apply `file-accessible-directory-p' only when the default directory is
17579 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17581 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17582 access of FILE2, if FILE1 does not exist.
17584 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17585 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17587 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17588 Add "PAGER=" to `process-environment'.
17590 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17592 * progmodes/sql.el: Bug fix
17593 (sql-get-login-ext): Save login values in globals.
17594 (sql-get-login): Use new version of `sql-get-login-ext'.
17595 (sql-interactive-mode): Set global `sql-connection' to nil.
17596 (sql-connect): Set global values for connection.
17597 (sql-product-interactive): Save global values as buffer local.
17599 2012-02-29 Leo Liu <sdl.web@gmail.com>
17601 * abbrev.el (define-abbrevs): Reset sys to nil.
17603 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17605 * files.el (file-equal-p): Rename from `files-equal-p'.
17606 Return nil when one or both files don't exist.
17607 (file-subdir-of-p): Now only top directory must exists,
17608 return nil if it doesn't.
17609 (copy-directory): No need to test with `file-subdir-of-p' after
17611 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17614 2012-02-28 Glenn Morris <rgm@gnu.org>
17616 * shell.el (shell-mode):
17617 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17618 * play/landmark.el (landmark-font-lock-face-O):
17619 * play/handwrite.el (handwrite):
17620 * play/gomoku.el (gomoku-O):
17621 * net/browse-url.el (browse-url-browser-display):
17622 * international/mule.el (define-charset):
17623 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17624 * filesets.el (filesets-find-file-delay):
17625 * eshell/em-xtra.el (eshell-xtra):
17626 * eshell/em-unix.el (eshell-grep):
17627 * emulation/viper.el (viper-mode):
17628 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17629 * emacs-lisp/easymenu.el (easy-menu-define):
17630 * calendar/timeclock.el (timeclock-use-display-time):
17632 * bookmark.el (bookmark-save-flag):
17633 Doc fix (standardize possessive apostrophe usage).
17635 2012-02-27 Chong Yidong <cyd@gnu.org>
17637 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17638 Fix key-binding lookup for ESC key (Bug#9146).
17640 * font-lock.el (font-lock-specified-p): Rename from
17641 font-lock-spec-present. Callers changed.
17643 2012-02-27 Daniel Hackney <dan@haxney.org>
17645 * emacs-lisp/package.el (package-compute-transaction):
17646 Handle holding a package version to t in package-load-list.
17648 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17650 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17651 (tramp-get-inode, tramp-get-device): Use cached values.
17653 2012-02-26 Alan Mackenzie <acm@muc.de>
17655 Check there is a font-lock specification before doing initial
17658 * font-core.el (font-lock-mode): Move the conditional from
17659 :after-hook to font-lock-initial-fontify.
17660 (font-lock-default-function): Move the check for a specification
17661 to font-lock-spec-present.
17663 * font-lock.el (font-lock-initial-fontify): Call ...
17664 (font-lock-spec-present): New function.
17666 2012-02-26 Jim Blandy <jimb@red-bean.com>
17668 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17669 (gdb-send): Apply it to the operand of the '-interpreter-exec
17670 console' command, so that we can pass arguments with (say) quotes
17671 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17673 2012-02-26 Chong Yidong <cyd@gnu.org>
17675 * help-fns.el (describe-function-1): Clarify description of
17676 remapping (Bug#10844).
17678 * files.el (files-equal-p): Doc fix.
17679 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17680 and quit the loop once a mismatch is found.
17682 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17684 * bs.el (bs--show-with-configuration): Don't throw an error
17685 if the window cannot be split; otherwise, subsequent calls to
17686 bs-show fail, restoring a stale window config. (Bug#10882)
17688 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17690 * term/ns-win.el (global-map): Bind ns-drag-file to
17691 ns-find-file (Bug#5855, Bug#10050).
17693 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17695 * calendar/parse-time.el (parse-time-string): Allow extractor to
17698 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17700 * net/tramp.el (tramp-file-name-for-operation):
17701 Add `files-equal-p' and `file-subdir-of-p'.
17703 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17704 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17705 Add COPY-CONTENTS argument.
17707 2012-02-25 Chong Yidong <cyd@gnu.org>
17709 Add custom groups for VC backends, for consistency with vc-bzr.
17711 * vc/vc-arch.el (vc-arch):
17712 * vc/vc-cvs.el (vc-cvs):
17713 * vc/vc-git.el (vc-git):
17714 * vc/vc-hg.el (vc-hg):
17715 * vc/vc-mtn.el (vc-mtn):
17716 * vc/vc-rcs.el (vc-rcs):
17717 * vc/vc-sccs.el (vc-sccs):
17718 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17719 All relevant defcustoms reassigned.
17721 2012-02-25 Chong Yidong <cyd@gnu.org>
17723 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17725 * term/x-win.el (x-initialize-window-system): Reduce default for
17726 x-selection-timeout to 5 seconds (Bug#8869).
17728 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17730 * files.el (files-equal-p, file-subdir-of-p): New functions.
17731 (copy-directory): Error when trying to copy a directory on itself.
17732 Add missing copy-contents arg to tramp handler.
17733 * dired-aux.el (dired-copy-file-recursive): Same.
17734 (dired-create-files): Modify destination when source is equal to
17735 dest when copying files.
17736 Return also when dest is a subdir of source. (Bug#10489)
17738 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17740 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17743 2012-02-23 Alan Mackenzie <acm@muc.de>
17745 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17746 parameter "after-hook:" to allow the expansion to run code after
17747 the execution of the mode hooks.
17749 * font-lock.el (font-lock-initial-fontify): New function extracted
17750 from font-lock-mode-internal.
17752 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17755 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17757 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17758 (completion--cache-all-sorted-completions): New function.
17759 (completion-all-sorted-completions): Use it.
17760 (completion--do-completion, minibuffer-force-complete):
17761 Use it to re-instate the flush hook.
17763 * icomplete.el (icomplete-completions): Replace last fix with a better
17766 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17768 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17769 when it might call us back infinitely (bug#10797).
17771 2012-02-23 Glenn Morris <rgm@gnu.org>
17773 * minibuffer.el (completion-category-overrides): Doc fix.
17775 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17777 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17778 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17780 2012-02-23 Glenn Morris <rgm@gnu.org>
17782 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17783 (authors-obsolete-files-regexps, authors-ignored-files)
17784 (authors-ambiguous-files, authors-renamed-files-alist):
17787 2012-02-23 Juri Linkov <juri@jurta.org>
17789 * isearch.el (isearch-occur): Sync interactive spec with occur's
17790 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17792 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17794 2012-02-22 Juri Linkov <juri@jurta.org>
17796 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17797 (ucs-insert): Doc fix. Check for hex digits in the string.
17798 Don't display `nil' in the error message. (Bug#10857)
17800 2012-02-22 Alan Mackenzie <acm@muc.de>
17802 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17804 2012-02-22 Glenn Morris <rgm@gnu.org>
17806 * ffap.el (ffap-c-path):
17807 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17809 2012-02-22 Chong Yidong <cyd@gnu.org>
17811 * custom.el (load-theme): Doc fix.
17813 2012-02-22 Glenn Morris <rgm@gnu.org>
17815 * dired-x.el (dired-guess-shell-alist-default):
17816 Remove escape sequences from nroff output. (Bug#172)
17818 2012-02-21 Glenn Morris <rgm@gnu.org>
17820 * vc/emerge.el (emerge-defvar-local):
17821 Set `permanent-local' property rather than unused `preserved'.
17823 * textmodes/picture.el (picture-delete-char): New alias.
17824 (picture-mode-map): Use it. (Bug#10860)
17825 (picture-mode): Doc fix.
17827 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17829 * newcomment.el (uncomment-region-default): Remove unused binding.
17831 2012-02-21 Glenn Morris <rgm@gnu.org>
17833 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17834 (picture-self-insert, picture-tab-chars): Doc fix.
17835 (picture-mode-map): Fix C-a, C-e.
17837 2012-02-20 Glenn Morris <rgm@gnu.org>
17839 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17841 2012-02-20 Leo Liu <sdl.web@gmail.com>
17843 * icomplete.el (icomplete-completions): Check FROM arg before
17844 passing to substring (Bug#10850).
17846 2012-02-19 Chong Yidong <cyd@gnu.org>
17848 * comint.el: Require ansi-color.
17849 (comint-output-filter-functions): Add ansi-color-process-output.
17851 * ansi-color.el: Don't set comint-output-filter-functions; it is
17852 now in the initial value defined in comint.el.
17853 (ansi-color-apply-face-function): New variable.
17854 (ansi-color-apply-on-region): Use it.
17855 (ansi-color-apply-overlay-face): New function.
17857 * shell.el (shell): No need to require ansi-color.
17858 (shell-mode): Use ansi-color-apply-face-function to highlight
17859 color escapes using font-lock-face property (Bug#10835).
17861 2012-02-19 Chong Yidong <cyd@gnu.org>
17863 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17864 mode-line formats (Bug#10839).
17866 2012-02-18 Glenn Morris <rgm@gnu.org>
17868 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17870 * mail/undigest.el (unforward-rmail-message): Doc fix.
17872 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17874 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17876 * international/characters.el (script-list): Sync with the latest
17877 Unicode Character Database.
17879 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17881 * international/titdic-cnv.el: Remove duplicate coding tag.
17882 * language/cham.el: Likewise.
17883 * language/tai-viet.el: Likewise.
17885 2012-02-18 Glenn Morris <rgm@gnu.org>
17887 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17888 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17889 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17890 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17891 * calendar/holidays.el (holiday-bahai-holidays)
17892 (calendar-holidays, list-holidays):
17893 Use utf-8 Bahá'í in doc-strings, menus, etc.
17895 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17897 * saveplace.el (save-place-ignore-files-regexp): New variable
17898 allowing for excluding files from saving their location of point.
17899 The default value matches the temporary commit message editing
17900 files from Git, SVN, Bazaar, and Mercurial.
17901 (save-place-to-alist): Use it.
17903 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17904 Stefan Monnier <monnier@iro.umontreal.ca>
17906 * newcomment.el (uncomment-region-default): Don't leave extra space
17907 when an arg is provided (bug#8150).
17909 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17911 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17913 2012-02-17 Glenn Morris <rgm@gnu.org>
17915 * net/socks.el: Require network-stream. (Bug#10599)
17917 2012-02-17 Kenichi Handa <handa@m17n.org>
17919 * international/charprop.el:
17920 * international/uni-name.el:
17921 * international/uni-old-name.el:
17922 * international/uni-comment.el: Regenerate.
17924 2012-02-16 Glenn Morris <rgm@gnu.org>
17926 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17927 Interactively in calendar buffer, give an error if not on a date.
17929 2012-02-15 Glenn Morris <rgm@gnu.org>
17931 * shell.el (shell-delimiter-argument-list):
17932 Revert 2011-02-17 change. (Bug#8027)
17934 2012-02-15 Chong Yidong <cyd@gnu.org>
17936 * minibuffer.el (completion-at-point-functions): Doc fix.
17938 * custom.el (defcustom): Doc fix; note use of defvar.
17940 2012-02-15 Glenn Morris <rgm@gnu.org>
17942 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17945 2012-02-14 Glenn Morris <rgm@gnu.org>
17947 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17949 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17951 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17952 way the ports list is computed.
17953 (smtpmail-query-smtp-server): Prompt the user for a port number if
17954 we can't connect to any of the standard ports (bug#10810).
17956 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17958 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17960 2012-02-13 Glenn Morris <rgm@gnu.org>
17962 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17964 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17966 * net/gnutls.el (gnutls-trustfiles): New variable.
17967 (gnutls-negotiate): Use it.
17969 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17971 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17972 does its stuff if Gnus is running.
17974 2012-02-13 Alan Mackenzie <acm@muc.de>
17976 Fix a loop in c-set-fl-decl-start.
17978 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17979 c-backward-syntactic-ws actually moves backwards.
17981 2012-02-13 Leo Liu <sdl.web@gmail.com>
17983 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17984 beginning so that all \C-o chars are removed.
17986 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17988 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17990 2012-02-12 Alan Mackenzie <acm@muc.de>
17992 Fix infinite loop with long macros.
17993 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17995 2012-02-12 Chong Yidong <cyd@gnu.org>
17997 * window.el (display-buffer): Doc fix (Bug#10785).
17999 2012-02-12 Glenn Morris <rgm@gnu.org>
18001 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18002 (x-disown-selection-internal, x-get-selection-internal):
18003 Sync docs with the xselect.c versions.
18005 * allout-widgets.el: Add missing license notice.
18007 2012-02-11 Glenn Morris <rgm@gnu.org>
18009 * select.el (x-get-selection-internal, x-own-selection-internal)
18010 (x-disown-selection-internal):
18011 * x-dnd.el (x-get-selection-internal): Update declarations.
18013 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
18015 * window.el (window-sides-slots):
18016 * tool-bar.el (tool-bar-position):
18017 * term/xterm.el (xterm-extra-capabilities):
18018 * ses.el (ses-self-reference-early-detection):
18019 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
18020 (verilog-auto-wire-type)
18021 (verilog-auto-delete-trailing-whitespace)
18022 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
18023 (verilog-auto-tieoff-declaration):
18024 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
18025 (sql-oracle-statement-starters, sql-oracle-scan-on):
18026 * progmodes/prolog.el (prolog-align-comments-flag)
18027 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
18028 (prolog-left-indent-regexp, prolog-paren-indent-p)
18029 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
18030 (prolog-types, prolog-mode-specificators)
18031 (prolog-determinism-specificators, prolog-directives)
18032 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
18033 (prolog-electric-dot-flag)
18034 (prolog-electric-dot-full-predicate-template)
18035 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
18036 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
18037 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
18038 (prolog-program-switches, prolog-prompt-regexp)
18039 (prolog-debug-on-string, prolog-debug-off-string)
18040 (prolog-trace-on-string, prolog-trace-off-string)
18041 (prolog-zip-on-string, prolog-zip-off-string)
18042 (prolog-use-standard-consult-compile-method-flag)
18043 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
18044 (prolog-imenu-max-lines, prolog-info-predicate-index)
18045 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
18046 (prolog-char-quote-workaround):
18047 * progmodes/cc-vars.el (c-defun-tactic):
18048 * net/tramp.el (tramp-encoding-command-interactive)
18049 (tramp-local-end-of-line):
18050 * net/soap-client.el (soap-client):
18051 * net/netrc.el (netrc-file):
18052 * net/gnutls.el (gnutls):
18053 * minibuffer.el (completion-category-overrides)
18054 (completion-cycle-threshold)
18055 (completion-pcm-complete-word-inserts-delimiters):
18056 * man.el (Man-name-local-regexp):
18057 * mail/feedmail.el (feedmail-display-full-frame):
18058 * international/characters.el (glyphless-char-display-control):
18059 * eshell/em-ls.el (eshell-ls-date-format):
18060 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
18061 (lisp-lambda-list-keyword-parameter-indentation)
18062 (lisp-lambda-list-keyword-parameter-alignment):
18063 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
18064 * dired-x.el (dired-omit-verbose):
18065 * cus-theme.el (custom-theme-allow-multiple-selections):
18066 * calc/calc.el (calc-highlight-selections-with-faces)
18067 (calc-lu-field-reference, calc-lu-power-reference)
18068 (calc-note-threshold):
18069 * battery.el (battery-mode-line-limit):
18070 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
18071 (archive-7z-update):
18072 * allout.el (allout-prefixed-keybindings)
18073 (allout-unprefixed-keybindings)
18074 (allout-inhibit-auto-fill-on-headline)
18075 (allout-flattened-numbering-abbreviation):
18076 * allout-widgets.el (allout-widgets-auto-activation)
18077 (allout-widgets-icons-dark-subdir)
18078 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
18079 (allout-widgets-theme-dark-background)
18080 (allout-widgets-theme-light-background)
18081 (allout-widgets-item-image-properties-emacs)
18082 (allout-widgets-item-image-properties-xemacs)
18083 (allout-widgets-run-unit-tests-on-load)
18084 (allout-widgets-time-decoration-activity)
18085 (allout-widgets-hook-error-post-time)
18086 (allout-widgets-track-decoration):
18087 Add missing :version tags to new defcustoms and defgroups.
18089 * progmodes/sql.el (sql-ansi-statement-starters)
18090 (sql-oracle-statement-starters): Add custom type.
18092 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
18093 (prolog-system-version): Give it a type.
18095 2012-02-11 Eli Zaretskii <eliz@gnu.org>
18097 * term/pc-win.el (x-select-text, x-selection-owner-p)
18098 (x-own-selection-internal, x-disown-selection-internal)
18099 (x-get-selection-internal): Sync doc strings and argument lists
18100 with xselect.c, common-win.el and x-win.el. (Bug#10783)
18102 2012-02-11 Leo Liu <sdl.web@gmail.com>
18104 * progmodes/python.el (python-end-of-statement): Fix infinite
18107 2012-02-10 Glenn Morris <rgm@gnu.org>
18109 * international/mule-cmds.el (unify-8859-on-encoding-mode)
18110 (unify-8859-on-decoding-mode): Properly mark as obsolete.
18112 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
18114 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
18115 about SMTP before checking the From header.
18117 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
18118 into own function for reuse by emacsbug.el.
18120 2012-02-10 Leo Liu <sdl.web@gmail.com>
18122 * subr.el (condition-case-unless-debug): Rename from
18123 condition-case-no-debug. All callers changed.
18124 (with-demoted-errors): Fix caller.
18126 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
18127 * nxml/rng-valid.el (rng-do-some-validation):
18128 * emacs-lisp/package.el (package-refresh-contents)
18129 (package-menu-execute):
18130 * desktop.el (desktop-create-buffer):
18131 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
18133 2012-02-10 Glenn Morris <rgm@gnu.org>
18135 * textmodes/bibtex.el:
18136 Add missing :version tags for new/changed defcustoms.
18138 * files.el (remote-file-name-inhibit-cache): Doc fixes.
18140 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
18142 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
18143 (smtpmail-via-smtp): Use it, or fall back on the From address.
18144 (smtpmail-send-it): Ditto.
18146 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
18148 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
18149 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
18150 (byte-compile-tmp-var): New const.
18151 (byte-compile-defvar): Use it to minimize .elc size.
18152 Just use `defvar' rather than simulate it (bug#10761).
18154 2012-02-09 Glenn Morris <rgm@gnu.org>
18156 * files.el (rename-uniquely): Doc fix. (Bug#3806)
18158 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
18161 * progmodes/compile.el (compilation-error-screen-columns)
18162 (compilation-first-column, compilation-filter-start): Doc fixes.
18164 * vc/log-view.el (log-view-toggle-entry-display):
18165 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
18167 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
18168 (report-emacs-bug-can-use-xdg-email):
18169 (report-emacs-bug-insert-to-mailer): Doc fixes.
18170 (report-emacs-bug): Message fix.
18172 * net/browse-url.el (browse-url-can-use-xdg-open)
18173 (browse-url-xdg-open): Doc fixes.
18175 * electric.el (electric-indent-mode, electric-pair-mode)
18176 (electric-layout-rules, electric-layout-mode): Doc fixes.
18177 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
18179 2012-02-08 Martin Rudalics <rudalics@gmx.at>
18181 * server.el (server-unselect-display): Don't inadvertently kill
18182 the current buffer. (Bug#10729)
18184 2012-02-08 Glenn Morris <rgm@gnu.org>
18186 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
18187 (sql-list-table): Doc fixes.
18189 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
18190 Comment out (does nothing).
18192 * completion.el (dynamic-completion-mode):
18193 * dirtrack.el (dirtrack-debug-mode):
18194 * electric.el (electric-layout-mode):
18195 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
18196 * face-remap.el (text-scale-mode, buffer-face-mode):
18197 * iimage.el (iimage-mode):
18198 * image-mode.el (image-transform-mode):
18199 * minibuffer.el (completion-in-region-mode):
18200 * scroll-lock.el (scroll-lock-mode):
18201 * simple.el (next-error-follow-minor-mode):
18202 * tar-mode.el (tar-subfile-mode):
18203 * tooltip.el (tooltip-mode):
18204 * vcursor.el (vcursor-use-vcursor-map):
18205 * wid-browse.el (widget-minor-mode):
18206 * emulation/tpu-edt.el (tpu-edt-mode):
18207 * emulation/tpu-extras.el (tpu-cursor-free-mode):
18208 * international/iso-ascii.el (iso-ascii-mode):
18209 * language/thai-util.el (thai-word-mode):
18210 * mail/supercite.el (sc-minor-mode):
18211 * net/goto-addr.el (goto-address-mode):
18212 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
18213 * progmodes/cwarn.el (cwarn-mode):
18214 * progmodes/flymake.el (flymake-mode):
18215 * progmodes/glasses.el (glasses-mode):
18216 * progmodes/hideshow.el (hs-minor-mode):
18217 * progmodes/pascal.el (pascal-outline-mode):
18218 * textmodes/enriched.el (enriched-mode):
18219 * vc/smerge-mode.el (smerge-mode):
18220 Doc fixes (minor mode argument).
18222 2012-02-07 Eli Zaretskii <eliz@gnu.org>
18224 * ls-lisp.el (ls-lisp-sanitize): New function.
18225 (ls-lisp-insert-directory): Use it to fix or remove any elements
18226 in file-alist with missing attributes. (Bug#4673)
18228 2012-02-07 Alan Mackenzie <acm@muc.de>
18230 Fix spurious recognition of c-in-knr-argdecl.
18232 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
18233 putative K&R region.
18235 2012-02-07 Alan Mackenzie <acm@muc.de>
18237 * progmodes/cc-engine.el (c-forward-objc-directive):
18238 Prevent looping in "#pragma mark @implementation".
18240 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
18242 * notifications.el (notifications-on-closed-signal): Make `reason'
18243 optional. (Bug#10744)
18245 2012-02-07 Glenn Morris <rgm@gnu.org>
18247 * emacs-lisp/easy-mmode.el (define-minor-mode):
18248 Doc fixes for the macro and the mode it defines.
18250 * image.el (imagemagick-types-inhibit): Doc fix.
18252 * cus-start.el (imagemagick-render-type): Add it.
18254 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18256 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18257 Set the default at load time, too, so that `font-lock-fontify-buffer'
18258 can be called without setting up the entire mode first. This fixes
18259 a bug in `mm-inline-text' with C MIME parts.
18261 2012-02-06 Chong Yidong <cyd@gnu.org>
18263 * simple.el (list-processes--refresh): Delete exited processes
18266 * comint.el (comint-next-prompt): next-single-char-property-change
18267 and prev-single-char-property-change never return nil (Bug#8657).
18269 * custom.el (defcustom): Doc fix (Bug#9711).
18271 2012-02-05 Chong Yidong <cyd@gnu.org>
18273 * cus-edit.el (custom-variable-reset-backup): Quote the value
18274 before storing it in the customized-value property (Bug#6712).
18275 (custom-display): Add a customization type tag.
18276 (custom-buffer-create-internal): Improve tooltip message.
18278 * wid-edit.el (widget-field-value-get): New optional arg to
18279 suppress trailing whitespace truncation.
18280 (character): Use it (Bug#2689).
18282 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18284 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18285 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18287 2012-02-05 Chong Yidong <cyd@gnu.org>
18289 * cus-edit.el (custom-variable-value-create): For mismatched
18290 types, show the current value (Bug#7600).
18292 * custom.el (defcustom): Doc fix.
18294 2012-02-05 Glenn Morris <rgm@gnu.org>
18296 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18298 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18300 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18301 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18302 (pp-last-sexp): Use `looking-at-p'.
18304 2012-02-04 Glenn Morris <rgm@gnu.org>
18306 * files.el (revert-buffer):
18307 Doc fix (mention revert-buffer-in-progress-p).
18309 * emacs-lisp/ert-x.el (ert-simulate-command):
18310 Check deferred-action-list (which is obsolete) is bound.
18312 * subr.el (with-wrapper-hook): Doc fixes.
18314 * simple.el (filter-buffer-substring-functions)
18315 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18317 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18319 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18320 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18322 2012-02-04 Leo Liu <sdl.web@gmail.com>
18324 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18326 2012-02-04 Glenn Morris <rgm@gnu.org>
18328 * image.el (image-extension-data): Add obsolete alias.
18330 * isearch.el (isearch-update): Doc fix.
18332 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18334 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18336 2012-02-03 Glenn Morris <rgm@gnu.org>
18338 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18339 (image-animate-timeout): Doc fix.
18341 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18343 2012-02-02 Glenn Morris <rgm@gnu.org>
18345 * server.el (server-auth-dir): Doc fix.
18346 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18348 * subr.el (run-mode-hooks): Doc fix.
18350 2012-02-02 Juri Linkov <juri@jurta.org>
18352 * image-mode.el (image-toggle-display-image): Remove tautological
18353 `major-mode' from the `derived-mode-p' test.
18355 2012-02-02 Kenichi Handa <handa@m17n.org>
18357 * composite.el (compose-region): Cancel previous change.
18359 2012-02-02 Kenichi Handa <handa@m17n.org>
18361 * composite.el (compose-region, compose-string): Signal error for
18362 a null string component (Bug#6988).
18364 2012-02-01 Chong Yidong <cyd@gnu.org>
18366 * view.el (view-buffer-other-window, view-buffer-other-frame):
18367 Handle special modes like view-buffer (Bug#10650).
18368 (view-buffer): Simplify.
18370 * frame.el (set-frame-font): Tweak meaning of third argument.
18372 * dynamic-setting.el (font-setting-change-default-font):
18373 Use set-frame-font (Bug#9982).
18375 2012-02-01 Glenn Morris <rgm@gnu.org>
18377 * progmodes/compile.el (compilation-internal-error-properties):
18378 Respect compilation-first-column in the "*compilation*" buffer.
18380 * emacs-lisp/easy-mmode.el (define-minor-mode):
18381 Relax :variable's test for a named function.
18383 2012-01-31 Alan Mackenzie <acm@muc.de>
18385 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18388 2012-01-31 Chong Yidong <cyd@gnu.org>
18390 * frame.el (set-frame-font): New arg ALL-FRAMES.
18392 * menu-bar.el (menu-set-font): Use set-frame-font.
18394 * faces.el (face-spec-reset-face): Don't apply unspecified
18395 attribute values to the default face.
18397 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18399 * progmodes/cwarn.el (cwarn): Remove dead link.
18400 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18401 Remove * from defcustom docstrings.
18402 (turn-on-cwarn-mode): Make obsolete.
18403 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18404 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18406 2012-01-31 Glenn Morris <rgm@gnu.org>
18408 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18409 Fix :variable handling of mode a symbol not equal to modefun.
18410 Allow named functions to be used as the cdr of :variable.
18412 2012-01-30 Glenn Morris <rgm@gnu.org>
18414 * emacs-lisp/authors.el (authors-fixed-entries):
18415 Remove reference to deleted file rnewspost.el.
18417 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18419 * window.el (window-with-parameter): Remove unused variable `windows'.
18420 (window--side-check): Remove unused variable `code'.
18421 (window--resize-siblings): Remove unused variable `first'.
18422 (adjust-window-trailing-edge): Remove unused variable `failed'.
18423 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18424 Use `let', not `let*'.
18425 (balance-windows-2): Remove unused variable `found'.
18426 (window--state-put-2): Remove unused variable `splits'.
18427 (window-state-put): Remove unused variable `selected'.
18428 (same-window-p): Use `string-match-p'.
18429 (display-buffer-assq-regexp): Remove unused variable `value'.
18430 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18431 Mark argument ALIST as ignored.
18432 (pop-to-buffer): Remove unused variable `old-window'.
18434 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18436 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18437 and .lzma compressed files.
18439 2012-01-29 Chong Yidong <cyd@gnu.org>
18441 * frame.el (window-system-default-frame-alist): Doc fix.
18443 * dynamic-setting.el (font-setting-change-default-font): Don't
18444 change the default face if SET-FONT argument is non-nil (Bug#9982).
18446 2012-01-29 Samuel Bronson <naesten@gmail.com>
18448 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18450 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18452 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18453 breakpoints in files outside current directory (Bug#6098).
18455 2012-01-29 Chong Yidong <cyd@gnu.org>
18457 * progmodes/python.el: Require ansi-color at top-level.
18459 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18460 Define and use in Emacs Lisp mode (Bug#9360).
18461 (lisp-mode-abbrev-table): Add doc.
18462 (lisp-mode-variables): Don't set local-abbrev-table.
18463 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18465 2012-01-28 Roland Winkler <winkler@gnu.org>
18467 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18469 2012-01-28 Roland Winkler <winkler@gnu.org>
18471 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18472 (bibtex-set-dialect): Use it. Either set global values of
18473 dialect-dependent variables or bind these variables buffer-locally
18475 (bibtex-mode): Call bibtex-set-dialect via
18476 hack-local-variables-hook.
18477 (bibtex-dialect): Update docstring.
18478 Add safe-local-variable predicate.
18479 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18480 bibtex-set-dialect.
18481 (bibtex-mode-map): Define menu for each dialect.
18482 (bibtex-entry): Fix docstring.
18484 2012-01-28 Chong Yidong <cyd@gnu.org>
18486 * eshell/esh-arg.el (eshell-quote-argument): New function.
18488 * eshell/esh-ext.el (eshell-invoke-batch-file):
18489 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18490 first arg to eshell-parse-command (Bug#10523).
18492 2012-01-28 Drew Adams <drew.adams@oracle.com>
18494 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18495 `default-directory' is non-nil.
18497 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18499 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18500 line that displays system-configuration-options. (Bug#9924)
18502 2012-01-28 Drew Adams <drew.adams@oracle.com>
18504 * descr-text.el (describe-char): Show information about POS, in
18505 addition to information about the character at POS. Improve and
18506 update the doc string. Change "code point" to "code point in
18507 charset", to avoid confusion with the character's Unicode code
18508 point shown above that. (Bug#10129)
18510 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18512 * descr-text.el (describe-char): Show the raw character, not only
18513 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18514 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18517 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18519 * emacs-lisp/package.el (package-install):
18520 Run package-refresh-contents if there is no archive yet (Bug#9798).
18522 2012-01-28 Chong Yidong <cyd@gnu.org>
18524 * emacs-lisp/package.el (package-maybe-load-descriptor):
18525 New function, split from package-maybe-load-descriptor.
18526 (package-maybe-load-descriptor): Use it.
18527 (package-download-transaction): Fully load required packages
18528 inside the loop, so that `require' calls work (Bug#10593).
18529 (package-install): No need to call package-initialize now.
18531 2012-01-28 Chong Yidong <cyd@gnu.org>
18533 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18535 * tooltip.el (tooltip-mode): Doc fix.
18536 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18538 * frame.el (set-cursor-color): Doc fix (Bug#352).
18540 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18541 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18543 * cus-edit.el (custom-buffer-create-internal): Fix search button
18544 action (Bug#10542).
18545 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18547 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18549 * dired.el (dired-mark-files-regexp):
18550 Include any subdirectory components. (Bug#10445)
18552 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18554 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18555 Handle [host]:port syntax. (Bug#10533)
18557 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18559 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18561 2012-01-26 Glenn Morris <rgm@gnu.org>
18563 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18564 * term.el (term-raw-escape-map): Use Control-X-prefix.
18565 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18567 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18569 * window.el (window-state-get, window--state-get-1): Don't deal
18570 with fixed-sizeness of windows. Simplify code.
18572 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18574 * window.el (window--state-get-1, window--state-put-2):
18575 Don't save and restore the mark.
18577 2012-01-25 Chong Yidong <cyd@gnu.org>
18579 * custom.el (custom-variable-p): Doc fix.
18581 2012-01-25 Glenn Morris <rgm@gnu.org>
18583 * dired.el (dired-goto-file): Handle some of the more common
18584 characters that `ls -b' escapes. (Bug#10596)
18586 * progmodes/compile.el (compilation-next-error-function):
18587 Respect compilation-first-column in the "*compilation*" buffer.
18588 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18590 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18592 2012-01-24 Glenn Morris <rgm@gnu.org>
18594 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18596 2012-01-24 Julien Danjou <julien@danjou.info>
18598 * color.el (color-rgb-to-hsl): Fix value computing.
18599 (color-hue-to-rgb): New function.
18600 (color-hsl-to-rgb): New function.
18601 (color-clamp, color-saturate-hsl, color-saturate-name)
18602 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18603 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18605 2012-01-24 Glenn Morris <rgm@gnu.org>
18607 * vc/vc-rcs.el (vc-rcs-create-tag):
18608 * vc/vc-sccs.el (vc-sccs-create-tag):
18609 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18611 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18613 * eshell/esh-util.el (eshell-read-hosts-file):
18614 Skip comment lines. (Bug#10549)
18616 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18618 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18620 * subr.el (display-delayed-warnings): Doc fix.
18621 (collapse-delayed-warnings): New function to collapse identical
18623 (delayed-warnings-hook): Add it.
18625 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18627 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18629 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18630 (tramp-default-user-alist): Don't add "pscp".
18631 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18632 property "login-as", if set. (Bug#10530)
18634 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18636 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18637 "plink1" and "psftp". (Bug#10530)
18639 2012-01-21 Kenichi Handa <handa@m17n.org>
18641 * international/mule-cmds.el (prefer-coding-system): Show a
18642 warning message if the default value of file-name-coding-system
18645 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18647 * windmove.el (windmove-reference-loc):
18648 Fix windmove-reference-loc miscalculation.
18650 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18652 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18655 2012-01-21 Glenn Morris <rgm@gnu.org>
18657 * international/mule.el (auto-coding-alist): Add .tbz.
18659 * files.el (local-enable-local-variables): Doc fix.
18660 (inhibit-local-variables-regexps): Rename from
18661 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18662 Doc fix. Add some extensions from auto-coding-alist.
18663 (inhibit-local-variables-suffixes):
18664 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18665 (inhibit-local-variables-p):
18666 New function, extracted from set-auto-mode-1.
18667 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18668 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18669 (hack-local-variables): Doc fix. Make the mode-only case
18670 respect enable-local-variables and friends.
18671 Respect inhibit-local-variables-regexps for file-locals, but
18672 not for directory-locals.
18673 (set-visited-file-name):
18674 Take account of inhibit-local-variables-regexps.
18675 Whether it applies may change as the file name is changed.
18676 * jka-cmpr-hook.el (jka-compr-install):
18677 * jka-compr.el (jka-compr-uninstall):
18678 Update for inhibit-first-line-modes-suffixes name change.
18680 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18682 * help-macro.el (make-help-screen): Temporarily restore original
18683 binding for minor-mode-map-alist (Bug#10454).
18685 2012-01-19 Julien Danjou <julien@danjou.info>
18687 * color.el (color-name-to-rgb): Use the white color to find the max
18688 color component value and return correctly computed values.
18689 (color-name-to-rgb): Add missing float conversion for max value.
18691 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18693 * window.el (window--state-get-1, window-state-get): Do not use
18694 special state value for window-persistent-parameters.
18695 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18696 (window--state-put-2): Reset all window parameters to nil before
18697 assigning values of persistent parameters.
18699 2012-01-18 Alan Mackenzie <acm@muc.de>
18701 Eliminate sluggishness and hangs in fontification of "semicolon
18704 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18705 Change value 10000 -> 3000.
18706 (c-state-safe-place): Reformulate so it doesn't stack up an
18707 infinite number of wrong entries in c-state-nonlit-pos-cache.
18708 (c-determine-limit-get-base, c-determine-limit): New functions to
18709 determine backward search limits disregarding literals.
18710 (c-find-decl-spots): Amend commenting.
18711 (c-cheap-inside-bracelist-p): New function which detects "={".
18713 * progmodes/cc-fonts.el
18714 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18716 (c-font-lock-declarations): Fix an occurrence of point being
18717 undefined. Check additionally for point being in a bracelist or
18718 near a macro invocation without a semicolon so as to avoid a
18719 fruitless time consuming search for a declarator. Give a more
18720 precise search limit for declarators using the new
18723 2012-01-18 Glenn Morris <rgm@gnu.org>
18725 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18726 (set-auto-mode): Doc fixes.
18728 2012-01-17 Glenn Morris <rgm@gnu.org>
18730 * isearch.el (search-nonincremental-instead): Fix doc typo.
18732 * dired.el (dired-insert-directory): Handle newlines in directory name.
18733 (dired-build-subdir-alist): Unescape newlines in directory name.
18735 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18737 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18738 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18739 (tramp-action-terminal): Use it. (Bug#10530)
18741 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18743 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18745 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18747 * window.el (window-state-ignored-parameters): Remove variable.
18748 (window--state-get-1): Rename argument MARKERS to IGNORE.
18749 Handle persistent window parameters. Make copy of clone-of
18750 parameter only if requested. (Bug#10348)
18751 (window--state-put-2): Install a window parameter only if it has
18752 a non-nil value or an existing parameter shall be overwritten.
18754 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18756 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18758 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18760 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18761 don't pass the (nil) value of `upnode' to string-match.
18763 2012-01-14 Chong Yidong <cyd@gnu.org>
18765 * startup.el (command-line): Fix X resource class for cursorColor.
18766 Fix values recognized by the cursorBlink resource.
18768 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18770 * epg.el (epg--make-temp-file): Avoid permission race condition
18771 when running on old Emacs versions (bug#10403).
18773 2012-01-14 Glenn Morris <rgm@gnu.org>
18775 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18777 2012-01-13 Alan Mackenzie <acm@muc.de>
18779 Fix filling for when filladapt mode is enabled.
18781 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18782 c-mask-paragraph, pass in `fill-paragraph' rather than
18783 `fill-region-as-paragraph'. (This is a reversion of a previous
18785 * progmodes/cc-mode.el (c-basic-common-init):
18786 Make fill-paragraph-handle-comment buffer local and set it to nil.
18788 2012-01-13 Glenn Morris <rgm@gnu.org>
18790 * dired.el (dired-switches-escape-p): New function.
18791 (dired-insert-directory): Use dired-switches-escape-p.
18792 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18794 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18796 2012-01-12 Glenn Morris <rgm@gnu.org>
18798 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18799 changes in adaptive-fill-regexp. (Bug#10276)
18801 2012-01-11 Alan Mackenzie <acm@muc.de>
18803 Fix Emacs bug #10463 - put `widen's around the critical spots.
18805 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18806 widen around each invocation of c-state-pp-to-literal. Remove an
18807 unused let variable.
18809 2012-01-11 Glenn Morris <rgm@gnu.org>
18811 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18814 2012-01-10 Chong Yidong <cyd@gnu.org>
18816 * net/network-stream.el (network-stream-open-starttls):
18817 Avoid emitting a confusing error message when the server gives a bad
18818 response to the capability command.
18820 2012-01-10 Glenn Morris <rgm@gnu.org>
18822 * mail/unrmail.el (unrmail): Tweak previous change.
18824 2012-01-09 Chong Yidong <cyd@gnu.org>
18826 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18828 2012-01-08 Alan Mackenzie <acm@muc.de>
18830 Optimize font locking in long enum definitions.
18832 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18833 arm to a cond form to handle enums.
18834 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18835 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18837 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18839 * files.el (move-file-to-trash): Preserve default file modes on error.
18842 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18844 * faces.el (set-face-attribute): Clarify the meaning of the nil
18847 * subr.el (with-selected-frame): Mention that the selected frame
18848 is restored (bug#9980).
18850 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18853 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18854 (password-read): Don't autoload unused function.
18856 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18858 * progmodes/which-func.el (which-func-mode): Turn into a
18859 non-interactive function and mark as obsolete (bug#10428).
18861 2012-01-06 Chong Yidong <cyd@gnu.org>
18863 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18864 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18865 functions, along with 1 and -1.
18867 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18869 * time.el (display-time-load-average)
18870 (display-time-default-load-average): Doc fixes. See the thread
18872 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18875 2012-01-06 Glenn Morris <rgm@gnu.org>
18877 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18878 has no messages. (Bug#10377)
18880 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18881 than Info-edit. (Bug#10385)
18883 * time.el (display-time-load-average, display-time-next-load-average):
18886 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18887 local setting of buffer-read-only to the input buffer. (Bug#10419)
18889 * calendar/calendar.el (calendar-mode):
18890 Locally set scroll-margin to 0. (Bug#10379)
18892 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18894 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18896 2012-01-05 Glenn Morris <rgm@gnu.org>
18898 * eshell/em-unix.el (diff-no-select): Autoload it.
18899 (eshell/diff): Use diff-no-select. (Bug#10420)
18901 2012-01-05 Chong Yidong <cyd@gnu.org>
18903 * shell.el (shell-dynamic-complete-functions): Revert last change.
18904 (shell-command-completion-function): New function.
18905 (shell-completion-vars): Use it to implement
18906 shell-completion-execonly (Bug#10417).
18908 * custom.el (enable-theme): Don't set custom-safe-themes.
18910 * cus-theme.el (custom-theme-merge-theme):
18911 Ignore custom-enabled-themes and custom-safe-themes.
18913 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18915 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18916 first prompt in `sql-interacive-mode'.
18917 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18919 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18920 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18921 context of original buffer. Invoke `sql-login-hook'.
18923 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18925 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18926 letters in cite-prefix.
18928 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18930 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18932 2012-01-03 Chong Yidong <cyd@gnu.org>
18934 * shell.el (shell-dynamic-complete-functions):
18935 Put pcomplete-completions-at-point, so as to try
18936 comint-filename-completion first (Bug#10417).
18938 2012-01-02 Richard Stallman <rms@gnu.org>
18940 * battery.el (battery-status-function):
18941 Detect when to use battery-yeeloong-sysfs.
18942 (battery-echo-area-format): Add string for Yeeloong.
18943 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18944 (battery-yeeloong-sysfs): New function.
18946 2012-01-02 Chong Yidong <cyd@gnu.org>
18948 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18949 (dirtrack): Merge code for handling relative filenames in prompt
18950 from shell-dir-cookie-watcher.
18951 (dirtrack-debug-message): New arg to avoid excess format calls.
18953 * shell.el (shell-dir-cookie-re): Variable deleted.
18954 (shell-dir-cookie-watcher): Function deleted.
18955 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18956 with dirtrack-mode.
18958 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18960 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18961 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18964 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18966 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18968 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18970 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18971 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18973 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18975 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18976 also for alternative shells.
18977 (tramp-open-connection-setup-interactive-shell): Check, whether
18978 the shell is a busybox.
18979 (tramp-send-command): Don't suppress multiple prompts for
18980 busyboxes, it hurts.
18982 2011-12-28 Chong Yidong <cyd@gnu.org>
18984 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18985 (gdb-get-source-file): Move mode line update to
18986 gdb-get-source-file (Bug#10087).
18988 2011-12-25 Chong Yidong <cyd@gnu.org>
18990 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18991 gud-gdb-marker-filter without taking it as an argument.
18992 (gud-gdb-run-command-fetch-lines): Caller changed.
18993 (gud-gdb-completion-function): New variable.
18994 (gud-gdb-completion-at-point): Use it.
18995 (gud-gdb-completions-1): Split from gud-gdb-completions.
18997 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18998 function as separate arguments.
18999 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
19000 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
19001 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
19002 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
19003 (gdb-stopped, def-gdb-auto-update-trigger)
19004 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
19005 (gdb-get-changed-registers, gdb-get-main-selected-frame):
19007 (gud-gdbmi-completions): New function.
19008 (gdb): Use it for generating the completion table.
19010 2011-12-24 Alan Mackenzie <acm@muc.de>
19012 Introduce a mechanism to widen the region used in context font
19013 locking. Use this to protect declarations from losing their contexts.
19015 * progmodes/cc-langs.el (c-before-font-lock-functions):
19016 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
19017 (c-before-context-fontification-functions): New defvar, a list of
19018 functions to be run just before context (etc.) font locking.
19020 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
19021 New, functionality extracted from
19022 c-neutralize-syntax-in-and-mark-CPP.
19023 (c-in-after-change-fontification): New variable.
19024 (c-after-change): Set c-in-after-change-fontification.
19025 (c-set-fl-decl-start): Rejig its interface, so it can be called
19026 from both after-change and context fontifying.
19027 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
19029 (c-standard-font-lock-fontify-region-function): New variable.
19030 (c-font-lock-fontify-region): New function.
19032 2011-12-24 Juri Linkov <juri@jurta.org>
19034 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
19037 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
19039 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
19040 existence of source file. (Bug#10325)
19042 2011-12-23 Alan Mackenzie <acm@muc.de>
19044 Fix unstable fontification inside templates.
19046 * progmodes/cc-langs.el (c-before-font-lock-functions):
19047 Newly created from the singular version. The (c c++ objc) entry now
19048 additionally has c-set-fl-decl-start. The other languages (apart
19049 from AWK) have that as a single entry.
19051 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19052 The functionality for "local" declarations has been extracted to
19053 c-set-fl-decl-start.
19055 * progmodes/cc-mode.el (c-common-init, c-after-change):
19056 Changes due to pluralisation of c-before-font-lock-functions.
19057 (c-set-fl-decl-start): New function, extracted from
19058 c-font-lock-enclosing-decls and enhanced.
19060 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
19062 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
19064 2011-12-22 Juri Linkov <juri@jurta.org>
19066 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
19068 2011-12-22 Chong Yidong <cyd@gnu.org>
19070 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
19072 2011-12-21 Drew Adams <drew.adams@oracle.com>
19074 * files.el (file-remote-p): Fix docstring. (Bug#10319)
19076 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
19078 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
19080 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
19082 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
19083 highlighting and support. Fix up comments for capitalization.
19084 (cfengine-mode-debug): New var.
19085 (cfengine3-mode): Change the modeline indicator to "CFE3".
19086 (cfengine3-font-lock-keywords): Improve defun highlighting.
19087 (cfengine2-actions): Rename from `cfengine-actions'.
19088 (cfengine2-font-lock-keywords): Rename from
19089 `cfengine-font-lock-keywords'.
19090 (cfengine2-imenu-expression): Rename from
19091 `cfengine-imenu-expression'.
19092 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
19093 (cfengine2-beginning-of-defun): Rename from
19094 `cfengine-beginning-of-defun'.
19095 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
19096 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
19097 (cfengine2-mode): Rename from `cfengine-mode'. Change the
19098 modeline indicator to "CFE2".
19099 (cfengine-mode): Defalias to `cfengine-auto-mode'.
19100 (cfengine-mode-abbrevs): Mark obsolete.
19102 2011-12-21 Chong Yidong <cyd@gnu.org>
19104 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
19107 2011-12-20 Martin Rudalics <rudalics@gmx.at>
19109 * window.el (window-normalize-buffer-to-display): Remove.
19110 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
19112 2011-12-19 Chong Yidong <cyd@gnu.org>
19114 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
19115 Don't signal an error in a predicate function; return non-nil.
19116 (vc-dir-mark-file): Move the error here.
19117 (vc-dir-mark-unmark): If acting on the region, keep going if one
19118 of the entries cannot be marked/unmarked.
19119 (vc-dir-mark-all-files): If current entry is a directory, mark
19120 only child files, as documented.
19122 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
19124 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
19125 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
19128 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
19130 * term/ns-win.el (ns-get-selection-internal)
19131 (ns-store-selection-internal): Declare.
19132 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
19133 Declare as obsolete.
19134 (ns-get-pasteboard, ns-paste-secondary):
19135 Use ns-get-selection-internal.
19136 (ns-set-pasteboard, ns-copy-including-secondary):
19137 Use ns-store-selection-internal.
19139 2011-12-17 Chong Yidong <cyd@gnu.org>
19141 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
19142 (vc-deduce-fileset): Doc fix.
19144 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
19146 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
19148 2011-12-13 Sam Steingold <sds@gnu.org>
19150 * man.el (Man-getpage-in-background): When running under a
19151 window-system, ignore $MANWIDTH and $COLUMNS.
19153 2011-12-15 Kenichi Handa <handa@m17n.org>
19155 * language/ethio-util.el: Change coding tag to utf-8-emacs.
19156 (setup-ethiopic-environment-internal): Comment out key-binding for
19157 ethio-toggle-punctuation.
19159 2011-12-13 Alan Mackenzie <acm@muc.de>
19161 Add the switch statement to AWK Mode.
19163 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
19164 "default" to the keywords regexp.
19166 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
19167 expression as the rest.
19168 (c-nonlabel-token-key): Allow string literals for AWK.
19169 Refactor for the other modes.
19171 Large brace-block initialisation makes CC Mode slow: Fix.
19172 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
19173 routines. Limit backward searching in c-font-lock-enclosing.decl.
19175 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
19176 pp-state and literal type in addition to the limits.
19177 (c-state-safe-place): New defun, extracted from c-state-literal-at.
19178 (c-state-literal-at): Use the above new defun.
19179 (c-slow-in-literal, c-fast-in-literal): Remove.
19180 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
19182 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
19183 being in a literal. Add a limit for backward searching.
19185 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
19188 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
19190 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
19192 2011-12-13 Martin Rudalics <rudalics@gmx.at>
19194 * window.el (delete-other-windows): Use correct frame in call to
19195 window-with-parameter.
19197 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
19199 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
19200 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
19201 (makefile-gmake-statements, makefile-makepp-statements):
19202 Use it and add new makepp keywords.
19203 (makefile-makepp-font-lock-keywords): Add new patterns.
19204 (makefile-match-function-end): Match new [...] and [[...]].
19206 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
19208 * ses.el (ses-call-printer-return, ses-cell-property-get)
19209 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
19210 (ses-create-cell-variable, ses-reset-header-string)
19211 (ses-cell-set-formula, ses-repair-cell-reference-all)
19212 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
19213 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
19214 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
19215 (ses-aset-with-undo, ses-load, ses-truncate-cell)
19216 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
19217 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
19218 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
19219 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
19220 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
19221 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
19222 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
19223 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
19225 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
19227 * ses.el: The overall change is to add cell renaming, that is
19228 setting fancy names for cell symbols other than name matching
19229 "\\`[A-Z]+[0-9]+\\'" regexp .
19230 (ses-create-cell-variable): New defun.
19231 (ses-relocate-formula): Relocate formulas only for cells the
19232 symbols of which are not renamed, i.e. symbols whose names do not
19233 match regexp "\\`[A-Z]+[0-9]+\\'".
19234 (ses-relocate-all): Relocate values only for cells the symbols of
19235 which are not renamed.
19236 (ses-load): Create cells variables as the (ses-cell ...) are read,
19237 in order to check row col consistency with cell symbol name only
19238 for cells that are not renamed.
19239 (ses-replace-name-in-formula): New defun.
19240 (ses-rename-cell): New defun.
19242 2011-12-11 Chong Yidong <cyd@gnu.org>
19244 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
19245 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
19247 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
19249 * window.el (other-window): Fix docstring.
19251 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19253 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19254 `from' or `to' address before taking its substring.
19255 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19256 encoded name is chopped in the middle of the encoded string, and
19257 thus displayed encoded.
19259 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19261 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19263 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19265 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19266 to use texinfo-update-node and commands that call it if the
19267 Texinfo file uses @node lines without next/prev/up pointers.
19268 Correct outdated description about texinfo-master-menu.
19269 (texinfo-all-menus-update, texinfo-master-menu)
19270 (texinfo-update-node, texinfo-every-node-update)
19271 (texinfo-multiple-files-update): Doc fix. Warn against updating
19272 all the @node lines.
19273 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19274 argument is numeric. Explain better in the doc string what the
19275 function really does.
19276 (texinfo-insert-master-menu-list): Improve the error message
19277 displayed if there's no menu in the Top node.
19278 (Bug#2975) See also this thread:
19279 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19281 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
19283 * speedbar.el (speedbar-supported-extension-expressions):
19284 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19286 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19288 * printing.el (pr-mode-alist):
19289 * simple.el (filter-buffer-substring-functions)
19290 (completion-list-insert-choice-function):
19291 * window.el (window-with-parameter, window-atom-root)
19292 (window-sides-slots, window-size-fixed, window-min-delta)
19293 (window-max-delta, window--resize-mini-window)
19294 (window--resize-child-windows-normal, window-tree)
19295 (delete-other-windows, quit-window, split-window)
19296 (display-buffer-record-window, special-display-buffer-names)
19297 (special-display-regexps, special-display-popup-frame)
19298 (same-window-p, split-window-sensibly)
19299 (display-buffer-overriding-action, display-buffer-alist)
19300 (display-buffer-base-action, display-buffer, switch-to-buffer)
19301 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19302 (fit-window-to-buffer, recenter-positions)
19303 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19304 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19305 and remove unneeded backslashes in docstrings.
19307 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19309 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19311 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19312 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19314 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19315 when reading the makefile (bug#10116).
19317 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19319 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19322 2011-12-06 Glenn Morris <rgm@gnu.org>
19324 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19326 2011-12-06 Chong Yidong <cyd@gnu.org>
19328 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19330 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19332 * textmodes/table.el (table-shorten-cell): Fix typo.
19334 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19336 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19338 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19340 * descr-text.el (describe-char): Fix display of strong
19341 right-to-left characters and directional embeddings and overrides.
19343 * simple.el (what-cursor-position): Fix display of codepoints of
19344 strong right-to-left characters.
19346 2011-12-05 Chong Yidong <cyd@gnu.org>
19348 * faces.el (read-color): Doc fix.
19350 2011-12-05 Glenn Morris <rgm@gnu.org>
19352 * align.el (align--set-marker): Add doc-string.
19353 Don't try to move something that is not a marker. (Bug#10216)
19355 2011-12-04 Glenn Morris <rgm@gnu.org>
19357 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19358 overly zealous deletion of trailing whitespace.
19360 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19362 * server.el (server-delete-client): On Windows, do not try to delete
19364 (server-process-filter): On Windows, treat requests for a tty frame as
19365 if they were for a GUI frame if the running server is in GUI mode.
19367 2011-12-03 Glenn Morris <rgm@gnu.org>
19369 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19371 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19373 * electric.el: Streamline electric-indent's hook.
19374 (electric-indent-chars): Revert to simple list.
19375 (electric-indent-functions): New var.
19376 (electric-indent-post-self-insert-function): Use it.
19378 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19379 there's no inferior buffer (bug#10196).
19380 (prolog-consult-compile): Don't use toggle-read-only.
19382 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19384 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19385 interrupt. (Bug#10187)
19387 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19389 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19392 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19395 2011-12-02 Juri Linkov <juri@jurta.org>
19397 * info.el (Info-search): Display "end of manual" when Isearch
19398 reaches the end of single-file Info manual. (Bug#9918)
19400 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19402 * isearch.el (isearch-message-prefix): Run the input method part
19403 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19405 2011-12-02 Juri Linkov <juri@jurta.org>
19407 * isearch.el (isearch-occur): Use `word-search-regexp' for
19409 (isearch-search-and-update): Add condition for `isearch-word' and
19410 call `word-search-regexp'. (Bug#10145)
19412 2011-12-01 Glenn Morris <rgm@gnu.org>
19414 * eshell/em-hist.el (eshell-hist-initialize):
19415 Handle eshell-history-size nil and HISTSIZE set or unset.
19416 (eshell-history-file-name, eshell-history-size): Fix custom type.
19418 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19420 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19422 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19424 * progmodes/verilog-mode.el (verilog-pretty-expr):
19425 Rework verilog-pretty-expr to handle new assignment operators in system
19426 verilog, such as += *= and the like.
19427 (verilog-assignment-operator-re): Regular expression to find the
19428 assigment operator in a verilog assignment.
19429 (verilog-assignment-operation-re): Regular expression to find an
19430 assignment statement for pretty-expr.
19431 (verilog-in-attribute-p): Query returns true if point is in an
19432 attribute context; used to skip these for expression line up from
19434 (verilog-in-parameter-p): Query returns true if point is in an
19435 parameter definition context; used to skip these for expression
19436 line up from pretty-expr.
19437 (verilog-in-parenthesis-p): Query returns true if point is in a
19438 parenthetical expression, specifically ( ) but not [ ] or { };
19439 used by pretty-expr.
19440 (verilog-just-one-space): If there is no space, don't add one.
19441 (verilog-get-lineup-indent-2): Specifically skip just attribute
19442 contexts for expression lineup, rather than skipping all
19443 parenthetical expressions.
19444 (verilog-calculate-indent): Fix comment, and fix indent.
19445 (verilog-do-indent): Indent declarations in lists (suggested by
19447 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19449 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19452 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19454 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19455 parameters with embedded comments. Reported by Ray Stevens.
19456 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19457 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19458 Reported by Tim Holt.
19459 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19460 instantiated by upper module causing wrong expansion until AUTOed a
19461 second time. Reported by K C Buckenmaier.
19462 (verilog-diff-auto): Fix showing .* as a difference when
19463 `verilog-auto-star-save' off. Reported by Dan Dever.
19464 (verilog-auto-reset, verilog-read-always-signals)
19465 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19466 temporary signals in reset list if
19467 verilog-auto-reset-blocking-in-non is nil, and match assignment
19468 style to each signal's assignment type, bug381.
19469 Reported by Thomas Esposito.
19470 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19471 (verilog-uvm-statement-re): Support UVM indentation and
19472 highlighting, with old OVM keywords only.
19473 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19474 Support AUTOTIEOFF creating non-wire data types.
19475 Suggested by Jonathan Greenlaw.
19476 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19477 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19478 (verilog-inject-sense, verilog-read-inst-pins)
19479 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19480 Fix mismatching parenthesis inside commented out code when deleting
19481 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19482 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19483 non-numeric vector width. Reported by Alex Reed.
19484 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19485 detecting signals with parameter widths. Reported by Alex Reed.
19486 (verilog-auto-delete-trailing-whitespace):
19487 With `verilog-auto-delete-trailing-whitespace' remove trailing
19488 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19489 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19490 Fix verilog-scan-cache corruption when running user AUTO expansion
19491 hooks that call indentation routines.
19492 (verilog-simplify-range-expression): Fix typo ignoring lower case
19494 (verilog-delete-auto): Fix delete-autos to also remove user created
19495 automatics, as long as they start with AUTO.
19496 (verilog-batch-diff-auto, verilog-diff-auto)
19497 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19498 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19499 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19500 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19501 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19502 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19503 is disabled and its cache will get corrupt, causing AUTOS not to
19504 expand. Instead use only -quick functions.
19505 (verilog-scan-region): Fix scanning over escaped quotes.
19506 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19507 (verilog-re-search-backward-quick)
19508 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19509 related functions now ignore strings, to fix misparsing of strings
19510 with magic comments embedded in them.
19511 (verilog-read-auto-template):
19512 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19513 Reported by Brad Dobbie.
19514 (verilog-read-auto-template):
19515 Fix 'verilog-auto-inst-template-numbers' with comments.
19516 Reported by Brad Dobbie.
19517 (verilog-auto-inst, verilog-auto-inst-param)
19518 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19519 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19520 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19521 debugging templates without merge conflicts, bug357.
19522 Reported by Brad Dobbie.
19523 (verilog-read-auto-template):
19524 Fix verilog-auto-inst-template-numbers with multiple templates.
19525 Reported by Brad Dobbie.
19526 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19527 abbrevs so user won't be asked to save.
19528 (verilog-read-auto-lisp-present): Fix to start at beginning of
19529 buffer in case called outside of verilog-auto.
19530 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19531 to "X-2". Reported by Matthew Myers.
19532 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19533 all inputs from module templates. Reported by Leith Johnson.
19534 (verilog-module-inside-filename-p): Fix locating programs as with
19536 (verilog-auto-inst-port): Fix vl-width expressions when using
19537 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19538 (verilog-decls-get-regs, verilog-decls-get-signals,
19539 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19540 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19541 verilog-read-decls): Combine reg and wire structures into one var
19542 structure to represent SystemVerilog concepts.
19543 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19544 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19545 (verilog-auto-wire-type, verilog-insert-definition):
19546 Add verilog-auto-wire-type and AUTOLOGIC to support using
19547 SystemVerilog "logic" keyword instead of "wire"/"reg".
19548 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19549 to declares outputs that also have assignments (presumably in an
19550 ifdef or generate if so there's not a driver conflict).
19551 Reported by Matthew Myers.
19552 (verilog-auto-declare-nettype, verilog-insert-definition):
19553 Add verilog-auto-declare-nettype to fix declarations using
19554 `default_nettype none. Reported by Julian Gorfajn.
19555 (verilog-read-always-signals-recurse, verilog-read-decls)
19556 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19557 malformed end statement, bug325. Reported by Joshua Wise and
19559 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19560 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19561 when expanding .* in interfaces, bug320.
19562 Reported by Pierre-David Pfister.
19563 (verilog-read-module-name): Fix import statements between module
19564 name and open parenthesis, bug317.
19565 Reported by Pierre-David Pfister.
19566 (verilog-simplify-range-expression): Fix simplification of
19567 multiplications inside AUTOWIRE connections, bug303.
19568 (verilog-auto-inst-port): Support parameter expansion in
19569 multidimensional arrays.
19570 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19571 after "assert property". Reported by Julian Gorfajn.
19572 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19573 with multiplication, bug303.
19574 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19575 Reported by Jan Frode Lonnum.
19577 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19579 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19580 (hfy-shell-file-name, hfy-shell):
19581 * international/fontset.el (x-decompose-font-name): Fix typos.
19583 2011-11-29 Ken Brown <kbrown@cornell.edu>
19585 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19586 (gdb-version): Remove defvar.
19587 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19588 (gdb-gud-context-command, gdb-non-stop-handler)
19589 (gdb-current-context-command, gdb-stopped): Use it.
19590 (gdb-init-1): Enable pretty printing here.
19591 (gdb-non-stop-handler): Don't enable pretty-printing here.
19592 Check to see if the target supports non-stop mode; if not, turn off
19593 non-stop mode. Use the following.
19594 (gdb-check-target-async): New defun.
19595 (gud-watch, gdb-stopped): Fix whitespace.
19596 (gdb-get-source-file): Don't try to display the source file if
19597 `gdb-main-file' is nil.
19599 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19601 * align.el: Try to generate fewer markers (bug#10047).
19602 (align--set-marker): New macro.
19603 (align-region): Use it.
19605 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19607 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19609 2011-11-29 Chong Yidong <cyd@gnu.org>
19611 * indent.el (indent-for-tab-command, indent-according-to-mode):
19613 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19615 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19617 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19618 aware of remote file names. (Bug#10124)
19620 2011-11-29 Chong Yidong <cyd@gnu.org>
19622 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19624 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19626 * files.el (find-file): Don't use force-same-window (bug#10144).
19627 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19628 use pop-to-buffer if the selected window can't be used.
19629 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19631 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19633 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19636 2011-11-28 Chong Yidong <cyd@gnu.org>
19638 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19640 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19642 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19643 gdb-get-source-file-list on gdb-create-source-file-list.
19645 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19647 * whitespace.el (whitespace-newline): Use a different foreground
19648 color for 16-color light-background displays.
19650 2011-11-24 Chong Yidong <cyd@gnu.org>
19652 * window.el (display-buffer--special-action): Doc fix.
19654 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19656 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19657 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19658 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19659 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19660 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19661 (avl-tree-stack-first):
19662 * emacs-lisp/cconv.el (cconv--analyse-use):
19663 * net/gnutls.el (gnutls-negotiate): Fix typos.
19665 2011-11-24 Glenn Morris <rgm@gnu.org>
19667 * lpr.el (lpr-windows-system, lpr-lp-system):
19668 * mail/binhex.el (binhex-begin-line):
19669 * progmodes/grep.el (grep-history, grep-find-history):
19670 * textmodes/flyspell.el:
19671 * vc/pcvs-defs.el (cvs-global-menu):
19672 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19673 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19674 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19676 * net/tls.el: Fix case of "GnuTLS".
19678 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19680 * version.el (emacs-build-system): Give it a doc-string.
19682 2011-11-24 Juri Linkov <juri@jurta.org>
19684 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19686 2011-11-24 Glenn Morris <rgm@gnu.org>
19688 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19689 if called on a non-mime message just toggle the headers. (Bug#8006)
19691 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19693 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19694 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19695 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19696 (allout-rebullet-heading, allout-open-sibtopic)
19697 (allout-toggle-current-subtree-encryption)
19698 (allout-toggle-subtree-encryption, allout-encrypt-string)
19699 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19700 (allout-distinctive-bullets-string, allout-auto-activation):
19701 * window.el (window-normalize-buffer-to-display):
19702 * progmodes/verilog-mode.el (verilog-batch-indent):
19703 * textmodes/bibtex.el (bibtex-field-braces-opt)
19704 (bibtex-field-strings-opt):
19705 * vc/cvs-status.el (cvs-tree-merge):
19708 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19710 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19711 `non-essential' to t, in order to avoid remote connections.
19713 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19715 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19716 On MS-DOS and MS-Windows, compare with loaddefs.el
19717 case-insensitively.
19719 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19721 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19723 2011-11-23 Glenn Morris <rgm@gnu.org>
19725 * paths.el (rmail-file-name): Reformat the doc-string so that it
19728 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19729 (rmail-auto-file): Ignore case in the "special" field names,
19730 as mail-fetch-field does for all others.
19732 * mail/rmail.el (rmail-forward):
19733 * mail/rmailkwd.el (rmail-set-label):
19734 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19735 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19737 * mail/rmail.el (rmail-current-message): Doc fix.
19739 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19741 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19743 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19745 2011-11-22 Glenn Morris <rgm@gnu.org>
19747 * mail/rmailmm.el (test-rmail-mime-handler)
19748 (test-rmail-mime-bulk-handler)
19749 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19751 2011-11-21 Juri Linkov <juri@jurta.org>
19753 * calc/calc.el (calc-read-key-sequence):
19754 Let-bind `input-method-function' to nil. (Bug#10018)
19756 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19758 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19759 Tell the caller that the next line needs recomputation, even
19760 though it doesn't start a sexp (bug#10094).
19762 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19764 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19766 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19768 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19769 Use force-same-window.
19771 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19773 * descr-text.el (describe-char-unicode-data):
19774 * json.el (json-string-escape):
19775 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19776 (Footnote-unicode, Footnote-style-p):
19777 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19779 2011-11-20 Chong Yidong <cyd@gnu.org>
19781 * window.el (replace-buffer-in-windows): Restore interactive spec.
19783 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19785 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19787 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19788 (byte-compile-global-not-obsolete-vars): New var.
19789 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19791 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19793 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19795 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19796 * progmodes/pascal.el (electric-pascal-equal):
19797 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19798 * xml.el (xml-substitute-special): Fix typos.
19800 2011-11-20 Glenn Morris <rgm@gnu.org>
19802 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19803 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19805 (rmail-decode-mime-charset): Mark as obsolete.
19807 * mail/rmailsum.el (rmail-message-regexp-p-1):
19808 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19809 Before using mime functions, check they are set. (Bug#10077)
19811 2011-11-19 Juri Linkov <juri@jurta.org>
19813 * info.el (Info-finder-find-node): Use `package--builtins' instead
19814 of `package-alist'. Use node names formed by the pattern "Keyword "
19815 and the keyword name.
19817 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19819 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19821 2011-11-19 Juri Linkov <juri@jurta.org>
19823 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19824 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19825 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19826 `old-history', `old-history-forward'. Add let-binding
19827 `window-selected'. Remove calls to `kill-buffer',
19828 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19829 before calling `Info-find-node', so `Info-find-node-2' will reread
19830 the Info file. Restore window positions only when `window-selected'
19833 2011-11-19 Juri Linkov <juri@jurta.org>
19835 * isearch.el (isearch-lazy-highlight-new-loop):
19836 Remove condition `(not isearch-error)'. (Bug#9918)
19838 * misearch.el (multi-isearch-search-fun): Add condition
19839 `(not bound)' to ignore lazy-highlighting search.
19840 Add the search-failed message "end of multi" when the end of
19841 multi-sequence is reached. Uncapitalize the search-failed
19842 message "Repeat for next buffer".
19844 * info.el (Info-search): Add the search-failed message
19845 "end of the manual" when the end of the manual is reached
19848 2011-11-19 Juri Linkov <juri@jurta.org>
19850 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19851 Use non-destructive `remove' instead of `delete' because
19852 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19853 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19855 2011-11-19 Juri Linkov <juri@jurta.org>
19857 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19858 to nil instead of binding `search-ring' and `regexp-search-ring'.
19861 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19863 * simple.el (line-move): Force movement by logical lines for any
19864 hscrolled window, not only when auto-hscroll-mode is on.
19865 (line-move-visual): Update doc string to that effect. (Bug#10076)
19867 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19869 * language/european.el (macintosh): Define as alias for mac-roman.
19871 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19873 * mail/rmailmm.el (rmail-mime-display-header)
19874 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19875 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19876 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19877 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19878 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19880 (rmail-mime-entity-segment): To get past the tagline, move forward
19881 2 more lines, to account for the 2 empty lines that precede and
19882 follow the line with the buttons.
19883 (rmail-mime-update-tagline): Move one more line, to get past the
19884 empty line that follows the buttons in the tagline. (Bug#9520)
19886 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19888 * window.el (window-max-delta-1, window-min-delta-1)
19889 (window-min-size-1, window-state-get-1, window-state-put-1)
19890 (window-state-put-2): Use "window--" prefix.
19892 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19894 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19895 (smie-warning-count): New var.
19896 (smie-set-prec2tab): Use it.
19897 (smie-bnf->prec2): Improve warnings. Add docstring.
19898 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19899 (smie-bnf--set-class): New function.
19900 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19903 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19904 (compilation-error-properties, compilation-move-to-column):
19905 Handle compilation-first-column while in the target buffer.
19907 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19908 Don't hardcode point-min==1.
19910 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19911 (eshell-rewrite-for-command): Remove workaround.
19912 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19913 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19914 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19916 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19918 2011-11-17 Glenn Morris <rgm@gnu.org>
19920 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19921 Ignore buffer-local generated-autoload-file if it is the same
19922 as the global value. (Bug#10049)
19924 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19926 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19927 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19928 (reftex-toc-previous-heading, reftex-toc-max-level)
19929 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19930 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19931 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19932 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19933 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19934 (reftex-toc-rename-label, reftex-toc-visit-location)
19935 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19936 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19937 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19938 leaving "*toc*" only for references to the buffer.
19940 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19942 * window.el (window-resize, delete-window, split-window):
19943 Replace window-splits by window-combination-resize.
19944 * cus-start.el (window-splits): Replace by window-combination-resize.
19946 2011-11-17 Glenn Morris <rgm@gnu.org>
19948 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19949 Make bash entry derive from sh entry, not shell entry.
19951 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19953 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19956 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19958 * menu-bar.el (menu-bar-file-menu):
19959 * printing.el (pr-ps-utility):
19960 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19961 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19962 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19963 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19964 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19965 (icalendar--convert-cyclic-to-ical)
19966 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19967 (icalendar--convert-ical-to-diary)
19968 (icalendar--convert-recurring-to-diary)
19969 (icalendar--convert-non-recurring-all-day-to-diary)
19970 (icalendar-import-format-sample):
19971 * progmodes/idlw-shell.el (idlwave-shell-mode):
19972 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19973 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19974 (vhdl-ps-print-init): Fix typos.
19976 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19978 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19979 FSF and collapse date sequence, obscure author/maintainer email address
19980 better, remove extra version line, track relocation of author's webpage.
19982 * progmodes/python.el (python-pdbtrack-input-prompt)
19983 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19984 regular python pdb prompts. Adjustments shamelessly taken exactly as
19985 suggested in EmacsWiki page (tiny change):
19986 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19988 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19990 * expand.el (expand-pos, expand-index, expand-point):
19991 Remove redundant info from docstring.
19992 (expand-add-abbrevs): Doc fix.
19993 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19994 (expand-sample-perl-mode-expand-list): Fix typos.
19996 * net/dbus.el (dbus-event-member-name):
19997 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19998 * term/pc-win.el (msdos-create-frame-with-faces):
19999 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
20001 2011-11-16 Martin Rudalics <rudalics@gmx.at>
20003 * window.el (split-window, window-state-get-1)
20004 (window-state-put-1, window-state-put-2): Rename occurrences of
20005 window-nest to window-combination-limit.
20006 * cus-start.el (window-nest): Rename to window-combination-limit.
20008 2011-11-16 Chong Yidong <cyd@gnu.org>
20010 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
20011 regexp (Bug#10033).
20013 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
20015 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
20016 `completing-read' will remove *Completions* and will preserve
20017 current-buffer for us.
20018 (tmm-add-prompt): Users of *Completions* will always (re)set its
20020 (tmm-old-comp-map): Remove.
20022 2011-11-16 Glenn Morris <rgm@gnu.org>
20024 * mail/rmailedit.el: Require rmailmm when compiling.
20025 (rmail-old-mime-state): New declaration.
20026 (rmail-edit-current-message): If editing a mime message,
20027 edit the "raw" message from the mbox buffer.
20028 (rmail-cease-edit): Handle mime messages. (Bug#9840)
20030 2011-11-15 Glenn Morris <rgm@gnu.org>
20032 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
20033 which wasn't being used. Add optional arg to force given state.
20034 (rmail-mime): Add optional arg to force given state.
20036 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
20038 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20039 * frame.el (display-mm-dimensions-alist):
20040 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
20041 (outline-move-subtree-down):
20042 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
20043 (newsticker--treeview-do-get-node):
20044 * net/quickurl.el (quickurl-list-buffer-name):
20045 * progmodes/dcl-mode.el (dcl-mode):
20046 * progmodes/gdb-mi.el (gdb-mapcar*):
20047 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
20049 2011-11-15 Glenn Morris <rgm@gnu.org>
20051 * mail/rmail.el (rmail-file-coding-system): It's only ever used
20052 in a boolean sense, so just make it a boolean, and fix the doc.
20053 (rmail-show-mime-function, rmail-mime-feature)
20054 (rmail-require-mime-maybe): Doc fixes.
20055 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
20057 * mail/rmailmm.el (rmail-show-mime): Doc fix.
20059 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
20061 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
20062 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
20063 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
20064 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
20066 2011-11-15 Glenn Morris <rgm@gnu.org>
20068 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
20069 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
20070 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
20071 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
20072 (rmail-mime, rmail-show-mime): Doc fixes.
20074 * term/ns-win.el (mode-line-frame-identification):
20075 Leave it alone. (Bug#10051)
20077 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
20079 * mail/rmailout.el (rmail-output-to-rmail-buffer):
20080 Handle empty buffers. (Bug#9978)
20082 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
20084 * international/mule.el (define-charset):
20085 * mail/rmailmm.el (rmail-mime-find-header-encoding):
20086 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
20087 * progmodes/verilog-mode.el (verilog-backward-token):
20088 * textmodes/ispell.el (lookup-words):
20089 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
20091 2011-11-14 Glenn Morris <rgm@gnu.org>
20093 * progmodes/executable.el
20094 (executable-make-buffer-file-executable-if-script-p):
20095 Handle file-modes returning nil.
20097 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
20098 message - not necessary, and causes problems. (Bug#9831)
20100 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
20102 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
20104 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
20105 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
20106 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
20108 2011-11-12 Martin Rudalics <rudalics@gmx.at>
20110 * window.el (window-resize, delete-window): Use window-splits
20111 variable instead of function.
20112 (window-state-get-1, window-state-put-2, window-state-put):
20113 Don't deal with windows' splits status.
20115 2011-11-12 Glenn Morris <rgm@gnu.org>
20117 * apropos.el (apropos-do-all, apropos-library, apropos-value)
20118 (apropos-documentation): Doc fixes.
20120 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
20122 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
20123 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
20125 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
20127 * electric.el (electric-indent-post-self-insert-function): Make it
20128 possible for a char to only indent in some circumstances.
20129 (electric-indent-mode): Simplify.
20131 2011-11-11 Martin Rudalics <rudalics@gmx.at>
20133 * window.el (windows-with-parameter): Remove unused function.
20134 (windows-at-side): Rename to window-at-side-list.
20135 (window-check, window-atom-check, window-atom-check-1)
20136 (window-side-check, window-size-ignore, window-size-fixed-1)
20137 (window-in-direction-2): Prefix with "window--".
20138 (window-tree-1): Rename to window--subtree, fix doc-string.
20140 2011-11-11 Glenn Morris <rgm@gnu.org>
20142 * subr.el (eval-after-load): If FILE is already loaded,
20143 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
20145 2011-11-10 Glenn Morris <rgm@gnu.org>
20147 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
20148 Call svn via vc-svn-command rather than vc-do-command.
20149 (vc-svn-command): Add --non-interactive. (Bug#9993)
20150 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
20152 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20153 Add toggle-read-only. (Bug#7292)
20154 * files.el (toggle-read-only): Mention that it should only
20155 be used interactively. (Bug#10006)
20157 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
20159 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20160 Adjust regexp for OCaml warnings.
20162 * electric.el (electric-pair-post-self-insert-function): Let user
20163 turn it off buffer-locally (bug#9932).
20165 * progmodes/python.el (python-beginning-of-statement):
20166 Rewrite (bug#2703).
20168 * progmodes/compile.el: Better handle TABs (bug#9749).
20169 (compilation-internal-error-properties)
20170 (compilation-next-error-function): Obey the target buffer's
20171 compilation-error-screen-columns.
20173 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
20175 * progmodes/meta-mode.el: Remove obsolete comments.
20176 (meta-right-comment-regexp, meta-ignore-comment-regexp):
20177 Fix typos in docstrings.
20179 2011-11-09 Martin Rudalics <rudalics@gmx.at>
20181 * window.el (window-size-fixed-p): Rewrite doc-string.
20182 (window-resizable-p): Rename to window--resizable-p. Update callers.
20183 (window--resizable): New function. Make all callers of
20184 window-resizable call window--resizable instead.
20185 (window-resizable): Rewrite in terms of window--resizable.
20187 2011-11-08 Glenn Morris <rgm@gnu.org>
20189 * progmodes/delphi.el (delphi-mode-syntax-table):
20190 Let define-derived-mode define a proper syntax table. (Bug#9994)
20192 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20194 * window.el: Stay away from defsubst.
20195 (window-list-no-nils): Remove.
20196 (window-state-get-1, window-state-get): Use backquote instead.
20198 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20200 * emacs-lisp/find-func.el (find-function-read):
20201 Fix incorrect use of default argument in `completing-read'.
20203 2011-11-08 Martin Rudalics <rudalics@gmx.at>
20205 * window.el (display-buffer-function, special-display-function):
20206 Mention display-buffer-record-window but do not mention
20207 help-setup parameter in doc-strings.
20208 (window-min-delta): Fix doc-string typo.
20210 2011-11-08 Chong Yidong <cyd@gnu.org>
20212 * window.el (window-total-height, window-total-width): Doc fix.
20213 (window-body-size): Move from C.
20214 (window-body-height, window-body-width): Move to C.
20216 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20218 * window.el: Make special-display like display-buffer-alist (bug#9532).
20219 (display-buffer--special-action): New function, morphed
20220 from display-buffer--special.
20221 (display-buffer): Use it to handle special-display-buffers at higher
20222 priority (just after display-buffer-alist).
20223 (display-buffer-fallback-action, display-buffer--other-frame-action)
20224 (pop-to-buffer-same-window): Remove display-buffer--special.
20226 2011-11-07 Glenn Morris <rgm@gnu.org>
20228 * calendar/cal-menu.el (cal-menu-set-date-title):
20229 Do nothing if not in a calendar. (Bug#9976)
20231 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
20233 * files.el (find-file): Always use selected-window.
20235 2011-11-07 Martin Rudalics <rudalics@gmx.at>
20237 * window.el (window-combinations): Make WINDOW argument
20238 mandatory. Rewrite doc-string.
20239 (walk-window-subtree, window-atom-check, window-min-delta)
20240 (window-max-delta, window--resize-this-window)
20241 (window--resize-root-window-vertically, window-tree)
20242 (balance-windows, window-state-put): Rewrite doc-strings as to
20243 not mention the term "subwindow".
20244 (window--resize-subwindows-skip-p): Rename to
20245 window--resize-child-windows-skip-p.
20246 (window--resize-subwindows-normal): Rename to
20247 window--resize-child-windows-normal.
20248 (window--resize-subwindows): Rename to
20249 window--resize-child-windows.
20250 (window-or-subwindow-p): Rename to window--in-subtree-p.
20252 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20254 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20255 Ensure that mbox format messages end in two newlines (Bug#9974).
20257 2011-11-06 Chong Yidong <cyd@gnu.org>
20259 * window.el (window-combination-p): Function deleted; its
20260 side-effect is not used in any existing code.
20261 (window-combinations, window-combined-p): Call window-*-child
20264 2011-11-05 Chong Yidong <cyd@gnu.org>
20266 * window.el (window-valid-p): Rename from window-any-p.
20267 (window-size-ignore, window-state-get): Callers changed.
20268 (window-normalize-window): Rename from window-normalize-any-window.
20269 New arg LIVE-ONLY, replacing window-normalize-live-window.
20270 (window-normalize-live-window): Delete.
20271 (window-combination-p, window-combined-p, window-combinations)
20272 (walk-window-subtree, window-atom-root, window-min-size)
20273 (window-sizable, window-sizable-p, window-size-fixed-p)
20274 (window-min-delta, window-max-delta, window-resizable)
20275 (window-resizable-p, window-full-height-p, window-full-width-p)
20276 (window-current-scroll-bars, window-point-1, set-window-point-1)
20277 (window-at-side-p, window-in-direction, window-resize)
20278 (adjust-window-trailing-edge, maximize-window, minimize-window)
20279 (window-deletable-p, delete-window, delete-other-windows)
20280 (record-window-buffer, unrecord-window-buffer)
20281 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20282 (quit-window, split-window, window-state-put)
20283 (set-window-text-height, fit-window-to-buffer)
20284 (shrink-window-if-larger-than-buffer): Callers changed.
20286 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20288 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20289 rfc2047-decode-string.
20290 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20293 * window.el (window-body-height, window-body-width): Mention in
20294 the doc string that the return values are in frame's canonical
20297 2011-11-03 Alan Mackenzie <acm@muc.de>
20299 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20300 change in cc-engine.el.
20302 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20304 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20306 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20308 * window.el (quit-window): Call unrecord-window-buffer after
20309 showing another buffer in the window. (Bug#9937)
20310 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20312 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20314 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20315 Accept status with more than 9 shelves. (Bug#9935)
20316 Reported by Colin D Bennett <colin@gibibit.com>.
20318 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20320 * help.el (with-help-window): Don't reference
20321 temp-buffer-show-specifiers in doc-string.
20323 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20325 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20328 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20330 * whitespace.el: New version 13.2.2.
20331 (whitespace-newline-mode): Disable properly. Reported by Sarah
20334 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20336 * net/newst-treeview.el: Remove "Time-stamp".
20337 (newsticker--group-manage-orphan-feeds): Do not call
20338 newsticker--treeview-tree-update.
20339 (newsticker-treeview-update, newsticker-treeview):
20340 Call newsticker--treeview-tree-update if necessary.
20342 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20344 * window.el (window-iso-combination-p, window-iso-combined-p)
20345 (window-iso-combinations): Remove "iso-" infix.
20346 Suggested by Chong Yidong.
20347 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20348 (window-max-delta-1, window-resize, window--resize-siblings)
20349 (window--resize-this-window, adjust-window-trailing-edge)
20350 (split-window, balance-windows-1)
20351 (shrink-window-if-larger-than-buffer):
20352 * calendar/calendar.el (calendar-generate-window):
20353 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20355 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20357 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20358 in place (bug#9907).
20359 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20360 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20361 (eshell-structure-basic-command, eshell-rewrite-while-command)
20362 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20363 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20364 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20365 (eshell-do-pipelines-synchronously, eshell-eval-command):
20366 Use backquotes and prefer setq to set.
20367 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20368 (eshell-macrop): Use functionp.
20369 (eshell-do-eval): Handle multiple expressions in `while' body.
20371 2011-10-30 Chong Yidong <cyd@gnu.org>
20373 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20374 instead of set-mark (Bug#9810).
20376 2011-10-30 Chong Yidong <cyd@gnu.org>
20378 * window.el (split-window-below, split-window-right): Rename from
20379 split-window-above-each-other and split-window-side-by-side
20380 respectively. All callers changed.
20381 (split-window-sensibly, split-window-sensibly): Use them.
20382 (split-window-keep-point): Doc fix.
20384 * isearch.el: Add isearch-scroll property to split-window-below
20385 and split-window-right.
20387 * follow.el (follow-mode):
20388 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20389 * progmodes/ada-xref.el (ada-gdb-application):
20390 * emulation/vip.el (vip-buffer-in-two-windows):
20391 * image-dired.el (image-dired-dired-with-window-configuration):
20392 * dired-x.el (dired-do-find-marked-files):
20393 * dired.el (dired-pop-to-buffer):
20394 * bs.el (bs--show-with-configuration):
20395 * vc/emerge.el (emerge-setup-windows):
20396 * textmodes/two-column.el (2C-two-columns):
20397 * textmodes/reftex-toc.el (reftex-toc):
20398 * progmodes/gdb-mi.el (gdb-setup-windows):
20399 * progmodes/fortran.el (fortran-window-create):
20400 * net/newst-treeview.el (newsticker--treeview-window-init):
20401 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20402 * emulation/tpu-edt.el (tpu-gold-map):
20403 * emulation/crisp.el (crisp-mode-map):
20404 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20406 2011-10-29 Chong Yidong <cyd@gnu.org>
20408 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20410 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20412 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20413 forged Ispell output (Bug#7904).
20415 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20417 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20419 * doc-view.el: Avoid ugly errors about not finding nil.
20420 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20421 (doc-view-dvipdf-program, doc-view-unoconv-program)
20422 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20423 Avoid nil or absolute file name as default value.
20424 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20426 2011-10-28 Alan Mackenzie <acm@muc.de>
20428 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20430 2011-10-28 Alan Mackenzie <acm@muc.de>
20432 Amend the handling of c-beginning/end-of-defun in nested declaration
20435 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20436 cc-langs.el. Change it to a defcustom.
20438 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20441 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20442 Prevent "class foo : bar" being spuriously recognized as a label.
20444 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20445 Add parameter `inclusive' (to include enclosing braces in the region).
20446 (c-widen-to-enclosing-decl-scope): New function.
20447 (c-while-widening-to-decl-block): New macro.
20448 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20449 outward for defun boundaries, and correspondingly change symbol
20450 `respect-enclosure' to `go-outward'.
20451 (c-declaration-limits): Change algorithm to report only the "innermost"
20452 defun's boundaries.
20454 2011-10-28 Deniz Dogan <deniz@dogan.se>
20456 * net/rcirc.el (rcirc-mode): Use hard newlines.
20458 2011-10-28 Alan Mackenzie <acm@muc.de>
20460 Amend to indent and fontify macros "which include their own semicolon"
20461 correctly, using the "virtual semicolon" mechanism.
20463 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20465 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20466 Recode to scan one line at a time rather than having \n and \r
20467 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20468 (c-forward-label): Amend for virtual semicolons.
20469 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20471 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20472 of the new C macros.
20474 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20475 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20476 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20477 (c-opt-cpp-macro-define): Make into a full language variable.
20478 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20479 AWK Mode (including \n, \r) removed, no longer needed.
20481 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20482 Invoke c-make-macro-with-semi-re.
20484 * progmodes/cc-vars.el (c-macro-with-semi-re):
20485 (c-macro-names-with-semicolon): New variables.
20486 (c-make-macro-with-semi-re): New function.
20488 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20490 * vc/log-edit.el: Fill empty field rather than adding new one.
20491 (log-edit-add-field): New function.
20492 (log-edit-insert-changelog): Use it.
20494 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20496 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20498 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20500 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20501 (gdb--check-interpreter): New function.
20504 2011-10-27 Glenn Morris <rgm@gnu.org>
20506 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20507 (least-positive-float, least-negative-float)
20508 (least-positive-normalized-float, least-negative-normalized-float)
20509 (float-epsilon, float-negative-epsilon):
20510 Remove unnecessary declarations.
20512 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20513 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20514 (least-positive-float, least-negative-float)
20515 (least-positive-normalized-float, least-negative-normalized-float)
20516 (float-epsilon, float-negative-epsilon): Add doc-strings,
20517 based on those in cl.texi.
20519 * files.el (set-visited-file-name): If the major-mode changed,
20520 reload the local variables. (Bug#9796)
20522 2011-10-27 Chong Yidong <cyd@gnu.org>
20524 * subr.el (change-major-mode-after-body-hook): New hook.
20525 (run-mode-hooks): Run it.
20527 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20528 Use change-major-mode-before-body-hook.
20530 * simple.el (fundamental-mode):
20531 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20532 change introducing fundamental-mode-hook.
20534 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20536 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20538 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20540 * ido.el (ido-file-name-all-completions-1): Do not require
20541 tramp.el explicitly. (Bug#7583)
20543 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20545 * progmodes/octave-mod.el:
20546 * progmodes/octave-inf.el: Update maintainer.
20548 2011-10-26 Chong Yidong <cyd@gnu.org>
20550 * subr.el (with-wrapper-hook): Rewrite doc.
20552 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20554 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20555 filenames "/method:foo:". (Bug#9793)
20557 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20559 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20562 2011-10-24 Glenn Morris <rgm@gnu.org>
20564 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20566 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20568 * notifications.el: Add the requirement of a running D-Bus session
20569 bus to the Commentary.
20571 2011-10-24 Juri Linkov <juri@jurta.org>
20573 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20574 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20577 2011-10-24 Juri Linkov <juri@jurta.org>
20579 * info.el (Info-following-node-name-re): Add newline to the list
20580 of allowed characters for leading space. (Bug#9824)
20582 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20584 * progmodes/octave-inf.el (inferior-octave-mode-map):
20585 Fix C-c C-h binding.
20586 * progmodes/octave-mod.el (octave-help): Remove.
20588 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20590 Sync with Tramp 2.2.3.
20592 * net/tramp-cache.el (top): Pacify byte-compiler using
20593 `init-file-user' and `site-run-file'.
20595 * net/trampver.el: Update release number.
20597 2011-10-23 Chong Yidong <cyd@gnu.org>
20599 * files.el (toggle-read-only): Remove obsolete comment about
20602 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20603 for toggle-read-only. Note that this hasn't called vc-next-action
20604 since 2008-05-02, though it wasn't documented at the time.
20606 * vc/ediff-init.el (ediff-toggle-read-only-function):
20607 Use toggle-read-only.
20609 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20611 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20614 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20615 correct faulty logical expression.
20616 (c-parse-state-state, c-record-parse-state-state):
20617 (c-replay-parse-state-state): New defvar/defuns.
20618 (c-debug-parse-state): Use new functions.
20620 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20622 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20623 last fix. Use window-in-direction correctly.
20625 2011-10-21 Chong Yidong <cyd@gnu.org>
20627 * progmodes/idlwave.el (idlwave-mode):
20628 * progmodes/vera-mode.el (vera-mode): No need to set
20629 require-final-newline; that's done in prog-mode.
20630 Suggested by Stefan Monnier.
20632 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20634 * mouse.el (mouse-drag-window-above)
20635 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20636 (mouse-drag-mode-line-1, mouse-drag-header-line)
20637 (mouse-drag-vertical-line-rightward-window): Remove.
20638 (mouse-drag-line): New function.
20639 (mouse-drag-mode-line, mouse-drag-header-line)
20640 (mouse-drag-vertical-line): Call mouse-drag-line.
20641 * window.el (window-at-side-p, windows-at-side): New functions.
20643 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20645 * tar-mode.el (tar-grind-file-mode):
20646 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20648 2011-10-21 Chong Yidong <cyd@gnu.org>
20650 * progmodes/idlwave.el (idlwave-mode):
20651 * progmodes/vera-mode.el (vera-mode):
20652 Use mode-require-final-newline.
20654 2011-10-20 Glenn Morris <rgm@gnu.org>
20656 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20658 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20660 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20662 2011-10-20 Chong Yidong <cyd@gnu.org>
20664 * emulation/cua-base.el (cua-mode):
20665 * mail/footnote.el (footnote-mode):
20666 * mail/mailabbrev.el (mail-abbrevs-mode):
20667 * net/xesam.el (xesam-minor-mode):
20668 * progmodes/bug-reference.el (bug-reference-mode):
20669 * progmodes/cap-words.el (capitalized-words-mode):
20670 * progmodes/compile.el (compilation-minor-mode)
20671 (compilation-shell-minor-mode):
20672 * progmodes/gud.el (gud-tooltip-mode):
20673 * progmodes/hideif.el (hide-ifdef-mode):
20674 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20675 * progmodes/subword.el (subword-mode):
20676 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20677 * progmodes/which-func.el (which-function-mode):
20678 * term/tvi970.el (tvi970-set-keypad-mode):
20679 * term/vt100.el (vt100-wide-mode):
20680 * textmodes/flyspell.el (flyspell-mode):
20681 * textmodes/ispell.el (ispell-minor-mode):
20682 * textmodes/nroff-mode.el (nroff-electric-mode):
20683 * textmodes/paragraphs.el (use-hard-newlines):
20684 * textmodes/refill.el (refill-mode):
20685 * textmodes/reftex.el (reftex-mode):
20686 * textmodes/rst.el (rst-minor-mode):
20687 * textmodes/sgml-mode.el (html-autoview-mode)
20688 (sgml-electric-tag-pair-mode):
20689 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20690 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20691 * emulation/crisp.el (crisp-mode):
20692 * emacs-lisp/eldoc.el (eldoc-mode):
20693 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20694 minor mode behavior.
20696 2011-10-19 Juri Linkov <juri@jurta.org>
20698 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20699 the list of hard-coded chars with escape-glyph face.
20701 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20703 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20705 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20707 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20710 2011-10-19 Glenn Morris <rgm@gnu.org>
20712 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20713 Ignore ignored files. (Bug#9726)
20715 2011-10-19 Chong Yidong <cyd@gnu.org>
20717 Doc fix for minor modes, stating that an omitted argument enables
20718 the mode unconditionally when called from Lisp.
20720 * abbrev.el (abbrev-mode):
20721 * allout.el (allout-mode):
20722 * autoinsert.el (auto-insert-mode):
20723 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20724 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20725 (global-auto-revert-mode):
20726 * battery.el (display-battery-mode):
20727 * composite.el (global-auto-composition-mode)
20728 (auto-composition-mode):
20729 * delsel.el (delete-selection-mode):
20730 * desktop.el (desktop-save-mode):
20731 * dired-x.el (dired-omit-mode):
20732 * dirtrack.el (dirtrack-mode):
20733 * doc-view.el (doc-view-minor-mode):
20734 * double.el (double-mode):
20735 * electric.el (electric-indent-mode, electric-pair-mode):
20736 * emacs-lock.el (emacs-lock-mode):
20737 * epa-hook.el (auto-encryption-mode):
20738 * follow.el (follow-mode):
20739 * font-core.el (font-lock-mode):
20740 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20741 * help.el (temp-buffer-resize-mode):
20742 * hilit-chg.el (highlight-changes-mode)
20743 (highlight-changes-visible-mode):
20744 * hi-lock.el (hi-lock-mode):
20745 * hl-line.el (hl-line-mode, global-hl-line-mode):
20746 * icomplete.el (icomplete-mode):
20747 * ido.el (ido-everywhere):
20748 * image-file.el (auto-image-file-mode):
20749 * image-mode.el (image-minor-mode):
20750 * iswitchb.el (iswitchb-mode):
20751 * jka-cmpr-hook.el (auto-compression-mode):
20752 * linum.el (linum-mode):
20753 * longlines.el (longlines-mode):
20754 * master.el (master-mode):
20755 * mb-depth.el (minibuffer-depth-indicate-mode):
20756 * menu-bar.el (menu-bar-mode):
20757 * minibuf-eldef.el (minibuffer-electric-default-mode):
20758 * mouse-sel.el (mouse-sel-mode):
20759 * msb.el (msb-mode):
20760 * mwheel.el (mouse-wheel-mode):
20761 * outline.el (outline-minor-mode):
20762 * paren.el (show-paren-mode):
20763 * recentf.el (recentf-mode):
20764 * reveal.el (reveal-mode, global-reveal-mode):
20765 * rfn-eshadow.el (file-name-shadow-mode):
20766 * ruler-mode.el (ruler-mode):
20767 * savehist.el (savehist-mode):
20768 * scroll-all.el (scroll-all-mode):
20769 * scroll-bar.el (scroll-bar-mode):
20770 * server.el (server-mode):
20771 * shell.el (shell-dirtrack-mode):
20772 * simple.el (auto-fill-mode, transient-mark-mode)
20773 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20774 (line-number-mode, column-number-mode, size-indication-mode)
20775 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20776 * strokes.el (strokes-mode):
20777 * time.el (display-time-mode):
20778 * t-mouse.el (gpm-mouse-mode):
20779 * tool-bar.el (tool-bar-mode):
20780 * tooltip.el (tooltip-mode):
20781 * type-break.el (type-break-mode-line-message-mode)
20782 (type-break-query-mode):
20783 * view.el (view-mode):
20784 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20785 (global-whitespace-mode, global-whitespace-newline-mode):
20786 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20788 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20789 Fix autogenerated docstring.
20791 2011-10-19 Juri Linkov <juri@jurta.org>
20793 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20794 by checking environment variables "DESKTOP_SESSION" and
20795 "XDG_CURRENT_DESKTOP". (Bug#9779)
20797 2011-10-19 Juri Linkov <juri@jurta.org>
20799 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20800 (browse-url-chromium-program, browse-url-chromium-arguments):
20802 (browse-url-default-browser): Check for `browse-url-chromium' and
20803 call `browse-url-chromium-program'.
20804 (browse-url-chromium): New command. (Bug#9779)
20806 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20808 * facemenu.el (list-colors-duplicates): On Windows, detect more
20809 duplicates by assuming that only colors matching "^System" are
20810 special "system colors". (Bug#9722)
20812 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20814 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20815 to distinguish the author from the committer.
20817 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20819 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20821 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20823 * international/mule.el (sgml-html-meta-auto-coding-function):
20824 Add support for detecting encoding in HTML5 specified only as
20825 <meta charset="UTF-8">. Implementation just makes http-equiv and
20826 content-type parts from HTML4 encoding string optional. (Bug#9716)
20828 2011-10-18 Glenn Morris <rgm@gnu.org>
20830 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20832 2011-10-18 Chong Yidong <cyd@gnu.org>
20834 * faces.el (cursor): Doc fix.
20836 2011-10-17 Chong Yidong <cyd@gnu.org>
20838 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20840 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20842 * dirtrack.el (dirtrack): Support shell buffers with path
20843 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20845 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20847 * json.el: Bump version to 1.3 and note change in History.
20848 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20850 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20852 * comint.el (comint-insert-input, comint-send-input)
20853 (comint-get-old-input-default, comint-backward-matching-input)
20854 (comint-next-prompt): Use nil instead of `input' for field property of
20855 past user input (bug#114).
20857 * minibuffer.el (completion--replace): Inherit surrounding properties
20859 (minibuffer-complete-and-exit): Use it.
20861 * comint.el (comint--table-subvert): Quote the all-completions output
20864 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20866 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20868 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20869 window on right of selected. (Bug#9350) Reword other window
20870 entries and separate them from frame entries.
20872 2011-10-15 Glenn Morris <rgm@gnu.org>
20874 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20877 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20879 * net/network-stream.el (network-stream-open-starttls):
20880 Improve detection of failure due to lack of TLS support.
20882 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20883 putting the input text in front and in bold.
20885 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20887 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20889 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20892 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20893 unread-command-events rather than pushing yet-another event.
20895 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20897 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20898 the explanation of the possible choices. Make the options passed
20899 to completing-read shorter.
20901 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20903 * textmodes/flyspell.el (flyspell-large-region): Make sure
20904 extended character mode is used if defined (Bug#1339).
20906 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20908 * simple.el (what-cursor-position): Fix the display of the
20909 character info for LRE, LRO, RLE, and RLO characters by appending
20912 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20914 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20915 even in case of error; add debug spec; simplify data flow.
20916 (with-timeout-handler): Remove.
20918 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20920 Fix Bug#6019, Bug#9315.
20922 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20923 complete `buffer-file-name', the local file name part could look
20924 remotely (for example on VMS).
20926 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20927 `tramp-run-real-handler'.
20928 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20929 already quoted by '"'.
20931 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20932 Let `file-name-handler-alist' be nil, the local file name part
20933 could look remotely (for example on VMS).
20935 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20937 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20939 (flyspell-post-command-hook): ...to here.
20941 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20943 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20945 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20946 using completion. Protect against "slow" callers.
20947 Remove the "message hack".
20949 2011-10-11 Juri Linkov <juri@jurta.org>
20951 * isearch.el (isearch-lazy-highlight-word): New variable.
20952 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20955 2011-10-11 Glenn Morris <rgm@gnu.org>
20957 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20958 like f90-previous-statement does.
20960 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20962 * eshell/eshell.el (eshell-command): History should be saved
20963 only in interactive use, to avoid error.
20965 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20967 * minibuffer.el (completion-file-name-table): Fix last change,
20968 i.e. ignore normal errors but not the other ones.
20970 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20972 * window.el (special-display-buffer-names)
20973 (special-display-regexps): Remove some remnants of earlier
20974 changes from doc-strings.
20975 (quit-windows-on): New function.
20977 * vc/vc.el (vc-revert, vc-rollback):
20978 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20979 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20980 (Bug#6183) (Bug#7074) (Bug#7447)
20982 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20984 * window.el (frame-auto-hide-function): Add version tag.
20987 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20989 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20992 2011-10-09 Leo Liu <sdl.web@gmail.com>
20994 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20997 2011-10-08 Glenn Morris <rgm@gnu.org>
20999 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
21000 before the first code statement zero indent. (Bug#9690)
21002 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
21004 * simple.el (count-words-region): Always count in the region.
21005 Report the number of lines and characters too.
21006 (count-words): New command, which counts in the buffer if the
21007 region is inactive, as count-words-region used to.
21008 (count-words--message): New function. Handle plurals.
21009 (count-lines-region): Make it an alias for count-words-region.
21011 * bindings.el (esc-map): Replace count-lines-region with
21012 count-words-region.
21014 2011-10-08 Martin Rudalics <rudalics@gmx.at>
21016 * window.el (window--delete): Delete dedicated frame
21017 unconditionally when argument KILL is non-nil. (Bug#9699)
21018 (switch-to-buffer): Fix doc-string typo.
21020 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21022 * eshell/eshell.el (eshell-command): Avoid using hooks.
21024 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
21026 * bindings.el ([M-left], [M-right]): Bind to left-word and
21027 right-word respectively.
21029 2011-10-07 Glenn Morris <rgm@gnu.org>
21031 * cus-start.el (debug-on-quit): Fix custom type.
21033 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21035 * subr.el (define-key-after): Clarify that the function is not
21036 useful for non-menu keymaps.
21038 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
21040 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21042 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
21043 in current minibuffer (Fix bug with recursive minibuffers).
21045 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
21047 * progmodes/gdb-mi.el (gdb): Doc fix.
21049 2011-10-05 Martin Rudalics <rudalics@gmx.at>
21051 * window.el (frame-auto-hide-function): New option replacing
21052 frame-auto-delete. Suggested by Stefan Monnier.
21053 (window--delete): Call frame-auto-hide-function instead of
21054 investigating frame-auto-delete.
21055 (window-point-1, set-window-point-1): New functions.
21056 (window-in-direction, record-window-buffer, window-state-get-1)
21057 (display-buffer-record-window): Use window-point-1 instead of
21059 (set-window-buffer-start-and-point): Use set-window-point-1.
21061 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
21063 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
21065 2011-10-05 Glenn Morris <rgm@gnu.org>
21067 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
21068 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
21070 2011-10-05 Leo Liu <sdl.web@gmail.com>
21072 * subr.el (read-char-choice): Fix argument to buffer-live-p which
21073 works with buffer object.
21075 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
21077 * mpc.el (mpc-tool-bar-map): Add labels.
21079 2011-10-04 Glenn Morris <rgm@gnu.org>
21081 * calendar/holidays.el (calendar-check-holidays): Doc fix.
21083 2011-10-04 Martin Rudalics <rudalics@gmx.at>
21085 * window.el (window--delete): New function.
21086 (frame-auto-delete): Resuscitate option.
21087 (bury-buffer, replace-buffer-in-windows)
21088 (quit-window): Rewrite using window--delete.
21089 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21090 Pass display-buffer-mark-dedicated to window--display-buffer-2
21093 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21095 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
21096 returns a list (bug#9554). Add remote file name completion.
21097 * comint.el (comint--table-subvert): Curry and get quote&unquote
21098 functions as arguments.
21099 (comint--complete-file-name-data): Adjust call accordingly.
21100 * pcomplete.el (pcomplete--table-subvert): Remove.
21101 (pcomplete-completions-at-point): Use comint--table-subvert instead.
21103 * minibuffer.el (completion-table-case-fold): Use currying.
21104 (completion--styles-type, completion--cycling-threshold-type):
21106 (completion-styles, completion-category-overrides)
21107 (completion-cycle-threshold): Use them.
21108 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
21109 completion-table-case-fold.
21111 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
21113 * minibuffer.el (completion-category-overrides): Fix type of styles
21114 and add more user friendly tags (bug#9660).
21116 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21118 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
21119 (mule-input-method-string): New widget.
21120 (default-input-method, language-info-custom-alist): Use it.
21122 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
21124 * pcomplete.el: Require comint.
21125 (pcomplete--common-suffix): Remove.
21126 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
21127 (pcomplete--table-subvert): Sync with comint--table-subvert.
21128 (pcomplete--entries): Use comint-completion-file-name-table.
21129 * comint.el (comint-unquote-filename): Simplify.
21130 (comint-completion-file-name-table): New function (bug#9616).
21131 (comint--complete-file-name-data): Use it.
21133 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
21134 (pcmpl-gnu-tar-buffer): Remove.
21135 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
21136 around. Make sure pcomplete-suffix-list is only changed temporarily.
21137 Don't look inside the tar's file if it's too large.
21139 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
21141 * cus-edit.el (custom-mode-map):
21142 * epa.el (epa-key-list-mode-map):
21143 * man.el (Man-mode-map):
21144 * startup.el (splash-screen-keymap):
21145 * simple.el (special-mode-map): Use scroll-up-command and
21146 scroll-down-command.
21148 * progmodes/idlw-help.el (idlwave-help-mode-map):
21149 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
21150 * net/newst-plainview.el (newsticker-mode-map):
21151 * emulation/ws-mode.el (wordstar-mode-map):
21152 * emulation/vi.el (vi-com-map):
21153 * calc/calc-graph.el (calc-graph-show-dumb):
21154 * term/sun.el (terminal-init-sun):
21155 * term/ns-win.el (global-map):
21156 * progmodes/grep.el (grep-mode-map):
21157 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
21158 * mail/rmail.el (rmail-mode-map):
21159 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
21161 * custom.el (custom-safe-themes, load-theme): Treat value of t for
21162 custom-safe-themes as special.
21164 2011-10-01 Julien Danjou <julien@danjou.info>
21166 * notifications.el (notifications-notify): Fix docstring.
21168 2011-10-01 Per Starbäck <per@starback.se>
21170 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
21172 2011-09-30 Martin Rudalics <rudalics@gmx.at>
21174 * startup.el (command-line-1): Fix last fix by inserting
21175 initial-scratch-message into *scratch* before displaying it.
21176 (Bug#9605) and (Bug#9636)
21178 2011-09-29 Eli Zaretskii <eliz@gnu.org>
21180 * simple.el (line-move): If auto-hscroll-mode is disabled and the
21181 window is hscrolled, move by logical lines. (Bug#9607)
21182 (line-move-visual): Update the doc string to the above effect.
21184 2011-09-29 Martin Rudalics <rudalics@gmx.at>
21186 * window.el (display-buffer-record-window): When WINDOW is the
21187 selected window use `point' instead of `window-point'. (Bug#9626)
21189 * startup.el (command-line-1): Use insert-before-markers when
21190 inserting initial-scratch-message. (Bug#9605)
21192 * help.el (help-window): Remove variable.
21194 2011-09-29 Glenn Morris <rgm@gnu.org>
21196 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
21198 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
21200 * descr-text.el (describe-char-categories): Accept category
21201 descriptions more than one line long.
21203 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21205 * simple.el (delete-trailing-whitespace): Fix last change.
21207 * progmodes/perl-mode.el (perl-syntax-propertize-function):
21208 Don't confuse "y => 3" as the beginning of a `y' operation.
21210 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
21211 object has more than 4 slots (bug#9613).
21213 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
21215 * subr.el (with-output-to-temp-buffer):
21216 * net/quickurl.el (quickurl, quickurl-browse-url):
21217 Fix typos in docstrings.
21219 2011-09-27 Eli Zaretskii <eliz@gnu.org>
21221 * minibuffer.el (completion-styles)
21222 (completion-category-overrides): Cross reference each other in doc
21225 2011-09-27 Glenn Morris <rgm@gnu.org>
21227 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
21228 to split-string. (Bug#9606)
21230 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21232 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
21235 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
21237 * emacs-lisp/package.el (list-packages): Fix echo area message.
21239 2011-09-27 Leo Liu <sdl.web@gmail.com>
21241 * ido.el (ido-read-internal): Accept cons cell HIST arg.
21243 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
21245 * net/dbus.el (dbus-unregister-object): Don't release services for
21246 registered signals. (Bug#9581)
21248 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21250 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21251 function that picks between cfengine 2 and 3 support
21252 automatically. Update docs accordingly.
21254 2011-09-22 Kenichi Handa <handa@m17n.org>
21256 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21258 (indian-itrans-v5-table-for-tamil): New variable.
21259 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21261 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21263 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21264 that's true if the current command involved collapsing of text.
21265 It's reset to false at the beginning of the next command.
21266 (allout-post-command-business): Move the cursor to the beginning
21267 of entry if the cursor is hidden and collapsing activity just
21270 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21272 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21273 tracking (Bug#9541).
21275 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21277 * net/newst-reader.el (newsticker-html-renderer)
21278 (newsticker-show-news): Automatically load html rendering package
21279 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21280 because w3m-fill-column is let-bound" and the error "Symbol's value
21281 as variable is void: w3m-fill-column".
21283 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21285 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21286 Release services only if they are defined. (Bug#9581)
21288 2011-09-23 Richard Stallman <rms@gnu.org>
21290 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21291 distinguish start of paragraph from start of its text.
21293 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21295 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21296 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21297 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21299 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21301 * international/mule-diag.el (mule-diag): Insert a newline after
21302 each fontset description.
21304 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21306 * simple.el (delete-trailing-whitespace):
21307 Document last change; simplify.
21309 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21311 * simple.el (delete-trailing-whitespace): Also delete
21312 extra newlines at the end of the buffer.
21314 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21315 (picture-newline): Use forward-line so as to ignore fields.
21317 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21319 * subr.el (with-wrapper-hook): Fix edebug spec.
21321 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21323 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21326 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21328 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21329 Fix nasty bug using wrong cached values.
21331 2011-09-23 Alan Mackenzie <acm@muc.de>
21333 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21335 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21337 * window.el (pop-to-buffer): Ensure right window is selected if we
21338 chose another frame.
21340 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21342 * simple.el (what-cursor-position): Use get-char-property-change
21343 and next-single-char-property-change, to be able to show display
21344 properties that come from overlays as well as text properties.
21346 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21348 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21350 * cmuscheme.el (run-scheme, switch-to-scheme):
21351 * cus-edit.el (customize-group, custom-buffer-create)
21352 (customize-browse):
21354 * shell.el (shell):
21355 * mail/sendmail.el (mail):
21356 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21358 2011-09-22 Richard Stallman <rms@gnu.org>
21360 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21361 move back only to line beg, don't move back over blank lines.
21363 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21365 * files.el (copy-directory): Set directory attributes only in case
21366 they could be retrieved from the source directory. (Bug#9565)
21368 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21370 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21371 (hs-find-block-beginning, hs-hide-level-recursive):
21372 Ignore strings as well as comments. (Bug#9502)
21374 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21376 * progmodes/sql.el (sql-comint-postgres):
21377 Convert port number to a string. (Bug#9566)
21379 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21381 * window.el (quit-window): Undedicate window when switching to
21382 previous buffer. Reported by Thierry Volpiatto
21383 <thierry.volpiatto@gmail.com>.
21384 (special-display-popup-frame): When popping up a new frame reset
21385 its previous buffers to nil. Simplify code.
21387 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21389 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21390 and process filter, as done also in `shell-command'.
21392 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21394 * window.el (set-window-buffer-start-and-point):
21395 Call set-window-start with NOFORCE argument t.
21396 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21397 (quit-window): Reword doc-string. Handle new format of
21398 quit-restore parameter. Don't delete window if it has a
21399 previous buffer we can show instead of the present one.
21400 (display-buffer-record-window): Rewrite using a new format for
21401 the quit-restore window parameter
21402 (special-display-popup-frame, display-buffer-same-window)
21403 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21404 (display-buffer-pop-up-window, display-buffer-use-some-window):
21405 Adapt symbol passed to display-buffer-record-window.
21406 * help.el (help-window-setup): Handle new format of quit-restore
21409 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21411 * faces.el (face-list): Fix docstring (bug#9564).
21413 * window.el (display-buffer--action-function-custom-type):
21414 Don't include internal functions in the Custom interface.
21416 2011-09-20 Juri Linkov <juri@jurta.org>
21418 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21419 (Info-forward-node, Info-backward-node, Info-next-preorder)
21420 (Info-last-preorder): Use it. (Bug#9528)
21422 2011-09-20 Juri Linkov <juri@jurta.org>
21424 * info.el (Info-last-preorder): Visit last menu item only when
21425 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21427 2011-09-20 Julien Danjou <julien@danjou.info>
21429 * password-cache.el (password-cache-remove): Remove entries even if the
21430 value is nil, so that password with a nil value (negative caching) is
21431 possible to invalidate.
21433 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21435 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21436 all whitespace around breakpoint. (Bug#9553)
21437 (f90-find-breakpoint): Only break at whitespace inside a comment.
21439 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21441 * minibuffer.el (completion-file-name-table): Keep track of errors.
21442 (completion-table-with-predicate): Handle the case where pred1 is nil.
21443 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21445 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21447 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21448 (debugger-return-value): Signal an error if the debugging context does
21449 not await any return value.
21451 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21452 * image-mode.el (image-toggle-display-text)
21453 (image-toggle-display-image): Stay away from evil `intangible'.
21455 2011-09-19 Leo Liu <sdl.web@gmail.com>
21457 * replace.el (occur-revert-arguments): Make it permanent-local.
21458 (occur-mode): Don't call font-lock-defontify.
21460 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21462 * net/ldap.el (ldap-search-internal): Don't push empty search
21465 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21467 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21469 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21471 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21472 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21474 2011-09-18 Juri Linkov <juri@jurta.org>
21476 * buff-menu.el (Buffer-menu-mode-map):
21477 * dired.el (dired-mode-map):
21478 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21479 (lisp-interaction-mode-map):
21480 * emacs-lisp/package.el (package-menu-mode-map):
21481 * epa.el (epa-key-list-mode-map):
21482 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21483 (menu-bar-options-menu):
21484 * outline.el (outline-mode-menu-bar-map):
21485 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21486 * vc/vc-dir.el (vc-dir-menu-map):
21487 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21488 Capitalize non-function content words in menu item strings.
21490 * dired.el (dired-mode-map): Add menu item for
21491 `image-dired-dired-toggle-marked-thumbs'.
21493 2011-09-18 Juri Linkov <juri@jurta.org>
21495 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21496 to `isearch-case-fold-search' and restore its original value
21497 after the `isearch-mode' call.
21499 2011-09-18 Juri Linkov <juri@jurta.org>
21501 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21502 because `zgrep' returns 1 for successful matches (bug#9226).
21504 2011-09-18 Juri Linkov <juri@jurta.org>
21506 * info.el (Info-extract-menu-node-name): Check the second match
21507 for empty string (second test-case of bug#9528).
21508 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21509 intermediate nodes to the history (first test-case of bug#9528).
21511 2011-09-18 Juri Linkov <juri@jurta.org>
21513 * info.el (Info-mode-syntax-table): New variable.
21514 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21516 2011-09-18 Juri Linkov <juri@jurta.org>
21518 * info.el (Info-file-supports-index-cookies):
21519 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21520 outputs one more line for long file names (bug#4142).
21522 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21524 * newcomment.el (comment-normalize-vars): If prompting for
21525 comment-start, set comment-start-skip too (Bug#8424).
21527 2011-09-18 Johan Bockgård <bojohan@gnu.org>
21529 * icomplete.el: Fix previous fix of Bug#5849.
21530 (icomplete-mode): Don't set completion-show-inline-help.
21531 (icomplete-minibuffer-setup): Set completion-show-inline-help
21532 locally during icompletion.
21534 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21536 * woman.el (woman2-process-escapes): Don't delete unrecognized
21537 escapes (Bug#7843).
21539 * files.el (inhibit-first-line-modes-regexps): Add image files.
21540 (hack-local-variables-prop-line): Return nil for malformed
21541 prop-lines (Bug#9044).
21543 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21545 * net/tramp.el (top): Don't require 'shell.
21546 (tramp-methods): Fix docstring.
21547 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21548 Return complete remote file name. Handle "smb" case.
21549 Use `tramp-tmpdir', if defined for the respective method.
21550 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21552 * net/tramp-compat.el (top): Require 'shell.
21554 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21555 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21556 `tramp-current-host'.
21557 (tramp-get-remote-tmpdir): Remove.
21559 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21560 `tramp-tmpdir' entries.
21561 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21562 (tramp-smb-handle-file-attributes): Ignore errors.
21563 (tramp-smb-wait-for-output): Check also for process end.
21565 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21567 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21568 when sending QUIT (bug#9312).
21570 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21572 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21573 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21574 occur-mode-display-occurrence.
21575 (occur-edit-mode): Add usage message.
21576 (occur-cease-edit): New command.
21577 (occur-after-change-function): Use text properties to find the
21578 position of the prefix text.
21579 (occur-engine): Set stickiness of prefix text properties.
21581 2011-09-17 Glenn Morris <rgm@gnu.org>
21583 * progmodes/etags.el (complete-tag):
21584 Fix call to completion-in-region. (Bug#9526)
21586 2011-09-17 Juri Linkov <juri@jurta.org>
21588 * textmodes/ispell.el (ispell-word): Add to the error message
21589 the word, ispell program name and current dictionary (bug#9121).
21590 (ispell-tex-arg-end): Capitalize "error" in the error message.
21592 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21594 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21597 2011-09-17 Juri Linkov <juri@jurta.org>
21599 * window.el (window-safe-min-height, window-safe-min-width):
21600 Fix typos (followup to bug#9522).
21602 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21604 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21606 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21608 * simple.el (line-move): If goal-column is set, move by logical
21609 lines, not by display lines. (Bug#971)
21610 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21611 to reflect the above change.
21613 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21615 * image.el (imagemagick-register-types): Use regexp-opt.
21617 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21619 * window.el (display-buffer-base-action): Rename from
21620 display-buffer-default-action. Make default value empty.
21621 (display-buffer-overriding-action): Convert to defvar.
21622 (display-buffer-fallback-action): New var.
21624 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21626 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21628 (package--add-to-archive-contents): If there is a duplicate entry
21629 with an older version, remove it.
21630 (package-menu-mark-delete, package-menu-mark-install)
21631 (package-menu-mark-unmark): Make unused args optional.
21632 (package-menu-mark-obsolete-for-deletion):
21633 Use package-menu-get-status instead of a regexp search.
21634 (package-menu-get-status): Use tabulated-list-entry.
21635 (package-menu-mark-upgrades): New command.
21636 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21637 (package-menu-execute): Do installation before deletion.
21638 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21639 instead of checking major-mode.
21640 (package-menu--find-upgrades): New function.
21642 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21644 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21645 passwords in the log buffer.
21646 (smtpmail-process-filter): Update the process marker so that the
21647 "broken by peer" status message is inserted in the right place.
21649 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21651 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21652 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21653 bibtex-completion-at-point-function.
21654 (bibtex-completion-at-point-function): Use them.
21656 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21658 * mpc.el (mpc-constraints-tag-lookup): New function.
21659 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21660 also to browser "album|playlist".
21662 2011-09-14 Juri Linkov <juri@jurta.org>
21664 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21665 (isearch-edit-string): Use length of `isearch-string' when
21666 `isearch-fail-pos' returns nil.
21667 (isearch-message): Remove duplicate code and call
21668 `isearch-fail-pos' with arg `t'.
21670 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21672 * replace.el (occur-mode-goto-occurrence): Don't force using other
21675 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21677 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21679 * window.el (display-buffer-window): Remove.
21680 (display-buffer-record-window): Use help-setup window parameter
21681 instead of variable display-buffer-window.
21682 (display-buffer-function, special-display-buffer-names)
21683 (special-display-function): Mention help-setup parameter instead
21684 of display-buffer-window in doc-string.
21685 * help.el (help-window-setup): New argument help-window.
21686 Use help-window-setup parameter instead of display-buffer-window.
21687 Reword some messages.
21688 (with-help-window): Pass window used for displaying the buffer
21689 to help-window-setup. Don't set display-buffer-window.
21691 2011-09-13 Glenn Morris <rgm@gnu.org>
21693 * emacs-lisp/debug.el (debugger-make-xrefs):
21694 Preserve point. (Bug#9462)
21696 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21698 * window.el (window-deletable-p): Use next-frame.
21700 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21702 * window.el (window-auto-delete): Remove.
21703 (window-deletable-p): Remove argument FORCE. Don't deal with
21704 dedication and previous buffers.
21705 (switch-to-prev-buffer): Don't delete window.
21706 (delete-windows-on): Delete a window's frame if and only if the
21707 window is dedicated.
21708 (replace-buffer-in-windows): Delete buffer's window or frame if
21709 and only if window is dedicated.
21710 (quit-window): Handle quit-restore as before last change.
21711 (bury-buffer): Delete window only if window-deletable-p returns t.
21713 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21715 * window.el (window-deletable-p): Never delete the last frame on a
21718 2011-09-13 Glenn Morris <rgm@gnu.org>
21720 * help.el (describe-key-briefly): Copy previous standard-output change.
21722 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21724 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21726 2011-09-13 Glenn Morris <rgm@gnu.org>
21728 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21729 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21731 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21733 * dired-aux.el (dired-mark-read-string): Don't return default
21734 value on empty input (Bug#9361).
21735 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21736 Omit initial minibuffer contents.
21737 (dired-do-chmod): Signal an error on empty input.
21738 (dired-mark-read-string): Don't return default on empty input.
21740 * files.el (file-modes-symbolic-to-number): Doc fix.
21742 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21744 * international/mule-cmds.el (ucs-completions): Remove.
21745 (read-char-by-name): Use complete-with-action instead; add metadata.
21747 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21749 * window.el (display-buffer--action-function-custom-type)
21750 (display-buffer--action-custom-type): New vars.
21751 (display-buffer-alist, display-buffer-default-action)
21752 (display-buffer-overriding-action): Add defcustom types.
21754 * frame.el (delete-other-frames): Doc fix (Bug#276).
21756 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21758 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21760 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21762 Change modes that used same-window-* vars to use switch-to-buffer.
21764 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21765 Use switch-to-buffer.
21767 * cus-edit.el (customize-group, custom-buffer-create)
21768 (customize-browse, custom-buffer-create-other-window):
21769 Use switch-to-buffer or switch-to-buffer-other-window.
21771 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21772 (Info-prev, Info-up, Info-speedbar-goto-node)
21773 (info-display-manual): Use switch-to-buffer.
21774 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21776 * mail/sendmail.el (mail): Use switch-to-buffer.
21777 (mail-recover): Use switch-to-buffer-other-window.
21779 * cmuscheme.el (run-scheme, switch-to-scheme):
21781 * shell.el (shell):
21782 * net/rlogin.el (rlogin):
21783 * net/telnet.el (telnet, rsh):
21784 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21786 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21788 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21790 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21792 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21793 so don't mention it (bug#9301).
21794 (dired-sort-toggle-or-edit): Clarify string further.
21796 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21797 match `x', `w32' and `ns', like the manual says (bug#9029).
21799 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21800 (process-kill-buffer-query-function): Mention the buffer name in
21803 * image-mode.el (image-next-line): The line parameter is mandatory
21806 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21807 which can be useful (bug#9301).
21809 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21811 * subr.el (match-string): Mention that the current buffer should
21812 be the same as the search was done in (bug#9282).
21814 * facemenu.el: Disable the remove-* commands if the mark isn't
21817 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21819 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21821 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21823 * replace.el (occur-mode-goto-occurrence)
21824 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21825 and display-buffer.
21827 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21830 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21831 special-display and same-window variables.
21832 (mail-other-window): Use switch-to-buffer-other-window.
21833 (mail-other-frame): USe switch-to-buffer-other-frame.
21835 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21836 Use display-buffer-other-frame.
21837 (gdb-display-gdb-buffer): Use pop-to-buffer.
21839 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21841 * progmodes/python.el: Don't set same-window-buffer-names.
21843 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21845 * window.el (display-buffer-alist): Add *Python*.
21847 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21849 * window.el (display-buffer-alist): Add entry for buffers
21850 previously handled same-window-*.
21851 (display-buffer-alist, display-buffer-default-action)
21852 (display-buffer-overriding-action): Mark as risky.
21853 (display-buffer-alist): Document action function changes.
21854 (display-buffer--same-window-action)
21855 (display-buffer--other-frame-action): New variables.
21856 (switch-to-buffer, display-buffer-other-frame): Use them.
21857 (display-buffer): Rename reuse-frame entry to reusable-frames.
21858 (display-buffer-reuse-selected-window): Function deleted.
21859 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21860 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21861 (display-buffer-special): New function.
21862 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21863 display-buffer-reuse-or-pop-window. Split off special-display
21864 part into display-buffer-special.
21865 (display-buffer-use-some-window): Don't perform any special
21866 pop-up-frames handling.
21867 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21868 (display-buffer--maybe-same-window): Rename from
21869 display-buffer-maybe-same-window.
21871 * info.el: Don't set same-window-regexps.
21872 (info-setup): New function.
21873 (info-other-window, info): Call it.
21875 * cus-edit.el: Don't set same-window-regexps.
21876 (customize-group): New argument.
21877 (customize-group-other-window): Use it.
21878 (customize-face, customize-face-other-window): Likewise.
21879 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21883 * progmodes/gud.el: Don't set same-window-regexps.
21888 * mail/sendmail.el:
21889 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21891 2011-09-10 Juri Linkov <juri@jurta.org>
21893 * isearch.el (isearch-edit-string): Remove obsolete mention of
21894 `C-w' (`isearch-yank-word-or-char') from docstring.
21895 (isearch-query-replace): Fix typo in docstring (bug#9466).
21897 2011-09-10 Juri Linkov <juri@jurta.org>
21899 * paren.el (show-paren-function): Don't show escaped parens.
21900 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21902 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21904 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21905 (mm-default-file-encoding): Remove autoload forms, they are
21906 replaced with autoload cookies in mml.el and mm-encode.el.
21907 (mail-add-attachment): New command.
21908 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21909 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21911 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21913 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21915 * simple.el (count-words-region): Use buffer if there's no region
21918 2011-09-09 Juri Linkov <juri@jurta.org>
21920 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21921 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21922 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21924 2011-09-09 Alan Mackenzie <acm@muc.de>
21926 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21927 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21929 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21931 Fix for Savannah bug#9392.
21932 * simple.el (mail-encode-mml): New defvar.
21934 * mail/rmail.el (mail-encode-mml): Add a defvar.
21935 (rmail-enable-mime-composing): Default to t.
21936 (rmail-forward): Use MIME method of forwarding only if both
21937 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21938 Set mail-encode-mml non-nil if the MIME method was used.
21940 * mail/sendmail.el (mml-to-mime): Add autoload form.
21941 (mail-encode-mml): Add a defvar.
21942 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21944 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21945 message through mml-to-mime, and reset mail-encode-mml to nil.
21947 2011-09-09 Glenn Morris <rgm@gnu.org>
21949 * woman.el (woman-if-body): When processing an .el block,
21950 do not delete the next .el block as well. (Bug#9447)
21951 (woman-special-characters): Add oq, cq, and hy characters.
21953 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21955 * window.el (window-deletable-p): Make sure window is live before
21956 invoking window-prev-buffers.
21958 2011-09-08 Leo Liu <sdl.web@gmail.com>
21960 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21962 2011-09-08 Juri Linkov <juri@jurta.org>
21964 * progmodes/compile.el (compilation-environment): Make it
21965 a defcustom (bug#8340).
21967 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21969 * window.el (frame-auto-delete): Rename to window-auto-delete.
21970 Make it control auto-deletion of windows and/or frames.
21971 (window-deletable-p): New argument FORCE. Rewrite conditions
21972 for deleting window/frame. (Bug#9419)
21973 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21974 Rewrite handling of case when window/frame can be deleted.
21975 (delete-windows-on): Call window-deletable-p with new FORCE
21976 argument t. (Bug#9456)
21978 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21980 * help-mode.el (help-mode): Restore autoload.
21982 2011-09-07 Juri Linkov <juri@jurta.org>
21984 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21985 `compilation-environment'. Set buffer-local
21986 `compilation-environment' to `thisenv' later after (funcall mode).
21989 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21990 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21991 instead of replacing its value. (Bug#8340)
21993 2011-09-07 Juri Linkov <juri@jurta.org>
21995 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21996 based on text properties put by `grep-filter' instead of matching
21998 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21999 to the value of `grep-error-screen-columns' (bug#9438).
22001 2011-09-07 Juri Linkov <juri@jurta.org>
22003 * simple.el (next-error-highlight, next-error-highlight-no-select):
22004 Doc fix (bug#9432).
22006 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
22008 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22009 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
22011 2011-09-07 Leo Liu <sdl.web@gmail.com>
22013 * net/rcirc.el (rcirc-mode): Conditionally initialize
22016 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
22018 * emacs-lisp/find-func.el (find-function-C-source): Only set
22019 find-function-C-source-directory after checking that we found a source
22020 file there (bug#9440).
22022 2011-09-06 Alan Mackenzie <acm@muc.de>
22024 * isearch.el (isearch-other-meta-char): Wherever a key list is
22025 unread, "unread" the prefix arg, too. This fixes bug #8901.
22027 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
22029 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
22031 2011-09-05 Juri Linkov <juri@jurta.org>
22033 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
22035 2011-09-05 Juri Linkov <juri@jurta.org>
22037 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
22038 keeping point where processing of grep matches begins, and
22039 continue to delete remaining escape sequences from the same point.
22040 (grep-filter): Make leading zero optional in "0?1;31m" because
22041 git-grep emits "\033[1;31m" escape sequences unlike expected
22042 "\033[01;31m" as GNU Grep does (bug#9408).
22043 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
22045 2011-09-05 Juri Linkov <juri@jurta.org>
22047 * subr.el (y-or-n-p): Capitalize "yes".
22049 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
22051 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
22052 `tramp-cache-unload-hook' where appropriate.
22053 (tramp-methods): Rename `tramp-remote-sh' to
22054 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
22055 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
22057 * net/tramp-sh.el (top): Don't require 'shell.
22058 (tramp-methods): Add `tramp-remote-shell' and
22059 `tramp-remote-shell-args' entries.
22060 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
22061 (tramp-sh-handle-shell-command): Remove.
22062 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22063 Use `tramp-remote-shell'.
22065 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
22067 * mail/sendmail.el (sendmail-query-once-function): Delete.
22068 (sendmail-query-once): Save directly to send-mail-function.
22069 Update message-send-mail-function too.
22071 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
22073 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22075 * progmodes/python.el (python-mode-map): Use correct function to
22076 start python interpreter from menu-bar (as reported by Geert
22078 (inferior-python-mode-map): Fix typo.
22079 (python-shell-map): Remove.
22081 2011-09-03 Deniz Dogan <deniz@dogan.se>
22083 * net/rcirc.el (rcirc-print): Simplify code for
22084 rcirc-scroll-show-maximum-output. There is no need to walk
22085 through all windows to find the right one.
22087 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22089 * help.el (help-return-method): Doc fix.
22091 2011-09-03 Martin Rudalics <rudalics@gmx.at>
22093 * window.el (window-deletable-p): Don't return a non-nil value
22094 when there's a buffer that was shown in the window before.
22096 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
22097 Set window's previous buffers to nil.
22099 2011-09-03 Eli Zaretskii <eliz@gnu.org>
22101 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
22102 newline before and after the tag line, so it doesn't interfere
22103 with determining the paragraph direction of bidirectional text.
22105 2011-09-03 Leo Liu <sdl.web@gmail.com>
22107 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
22109 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22111 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
22112 (pop-to-buffer): Change interactive spec. Pass second argument
22113 directly to display-buffer.
22114 (display-buffer): Fix interactive spec. Use functionp to
22115 distinguish between a function and a list of functions.
22117 * abbrev.el (edit-abbrevs):
22118 * arc-mode.el (archive-extract):
22119 * autoinsert.el (auto-insert):
22120 * bookmark.el (bookmark-bmenu-list):
22121 * files.el (find-file):
22122 * view.el (view-buffer):
22123 * progmodes/compile.el (compilation-goto-locus):
22124 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
22126 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22128 * window.el (display-buffer-alist): Doc fix.
22129 (display-buffer): Add docstring. Don't treat
22130 display-buffer-default specially.
22131 (display-buffer-reuse-selected-window)
22132 (display-buffer-same-window, display-buffer-maybe-same-window)
22133 (display-buffer-reuse-window, display-buffer-pop-up-frame)
22134 (display-buffer-pop-up-window)
22135 (display-buffer-reuse-or-pop-window)
22136 (display-buffer-use-some-window): New functions.
22137 (display-buffer-default-action): Use them.
22138 (display-buffer-default): Delete.
22139 (pop-to-buffer-1): Fix choice of actions.
22141 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
22143 * minibuffer.el (completion--insert-strings): Don't get confused by
22144 completion entries that end with an LF char.
22146 2011-09-01 Eli Zaretskii <eliz@gnu.org>
22148 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
22150 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
22152 * window.el (display-buffer): Restore interactive spec.
22153 (display-buffer-same-window, display-buffer-other-window):
22155 (pop-to-buffer-1): New function. Use the above.
22156 (pop-to-buffer, pop-to-buffer-same-window): Use it.
22157 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
22159 * view.el (view-buffer-other-window, view-buffer-other-frame):
22160 Just use pop-to-buffer.
22162 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22164 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
22166 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
22168 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
22170 2011-08-31 Richard Stallman <rms@gnu.org>
22172 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
22173 of the separation of rmail-view-buffer from rmail-buffer.
22174 If you say no to "replace original", the decrypt is in the
22175 view buffer. If you say yes, the decrypt goes into the
22178 2011-08-31 Martin Rudalics <rudalics@gmx.at>
22180 * window.el (display-buffer-window): Rewrite doc-string.
22181 (display-buffer-record-window): New function.
22182 (display-buffer-macro-specifiers)
22183 (display-buffer-even-window-sizes, display-buffer-set-height)
22184 (display-buffer-set-width, display-buffer-in-window)
22185 (display-buffer-reuse-window, display-buffer-split-specifiers)
22186 (display-buffer-side-specifiers, display-buffer-split-window-1)
22187 (display-buffer-split-window, display-buffer-split-atom-window)
22188 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22189 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
22190 (display-buffer-other-window-means-other-frame)
22191 (display-buffer-normalize-special)
22192 (display-buffer-normalize-default)
22193 (display-buffer-normalize-argument)
22194 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
22195 (display-buffer-normalize-specifiers, display-buffer-frame)
22196 (display-buffer-same-window, display-buffer-same-frame)
22197 (display-buffer-other-window)
22198 (display-buffer-same-frame-other-window)
22199 (display-buffer-other-frame, pop-to-buffer-same-window)
22200 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
22201 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
22202 (switch-to-buffer-same-frame)
22203 (switch-to-buffer-other-window-same-frame)
22204 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
22205 (display-buffer-alist-set-1, display-buffer-alist-set-2)
22206 (display-buffer-alist-set): Remove.
22207 (display-buffer-function, special-display-buffer-names)
22208 (special-display-regexps, special-display-function):
22209 In doc-string refer to display-buffer-window and quit-restore
22211 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
22212 (special-display-frame-alist, special-display-popup-frame)
22213 (same-window-buffer-names, same-window-regexps, same-window-p)
22214 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22215 (split-window-preferred-function, split-height-threshold)
22216 (split-width-threshold, window-splittable-p)
22217 (split-window-sensibly, window--try-to-split-window)
22218 (window--frame-usable-p, even-window-heights)
22219 (window--even-window-heights, window--display-buffer-1)
22220 (window--display-buffer-2, display-buffer-other-frame):
22221 Restore old Emacs 23 code, order and doc-strings where applicable.
22222 (display-buffer-default, display-buffer-assq-regexp): New functions.
22223 (display-buffer-alist): Rewrite doc-string.
22224 (display-buffer-default-action)
22225 (display-buffer-overriding-action): New variables.
22226 (display-buffer, switch-to-buffer): Rewrite.
22227 (pop-to-buffer): Restore Emacs 23 behavior but use
22228 window-normalize-buffer-to-display.
22229 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
22230 Restore Emacs 23 behavior but use
22231 window-normalize-buffer-to-switch-to.
22232 (pop-to-buffer-same-window): Rewrite.
22233 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
22234 Rewrite using Emacs 23 options.
22236 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
22238 * net/tramp.el (tramp-root-regexp): Remove.
22239 (tramp-completion-file-name-regexp-unified)
22240 (tramp-completion-file-name-regexp-separate)
22241 (tramp-completion-file-name-regexp-url): Don't use leading volume
22242 letter on w32 systems. (Bug#5303, Bug#9311)
22243 (tramp-drop-volume-letter): Simplify definition.
22244 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
22246 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
22248 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22251 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22253 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22255 2011-08-29 Juri Linkov <juri@jurta.org>
22257 * isearch.el (isearch-done): Don't display message "Mark saved"
22258 when arg `edit' is non-nil to prevent its flicker in the echo area.
22260 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22262 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22263 obsolete packages for deletion.
22265 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22267 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22268 (help-mode): Derive help-mode from special-mode. Don't invoke
22269 view-mode from help-mode.
22270 (help-xref-override-view-map): Remove.
22271 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22272 view-mode is not used anymore.
22274 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22276 * server.el (server-port): Doc fix.
22278 * cus-theme.el (custom-theme-choose-mode): Inherit from
22279 special-mode (Bug#9124).
22280 (custom-theme-choose-mode-map): Add special-mode to parent.
22282 2011-08-28 Alan Mackenzie <acm@muc.de>
22284 * progmodes/cc-fonts.el
22285 (c-make-font-lock-BO-decl-search-function): New function.
22286 (c-basic-matchers-after - "Fontify the clauses after various
22287 keywords"): Extract the three keyword lists for the 3 erroneous
22288 constructs from the list of four, and use the new function above
22289 in place of an old one.
22291 2011-08-28 Deniz Dogan <deniz@dogan.se>
22293 * net/rcirc.el (rcirc-insert-prev-input)
22294 (rcirc-insert-next-input): Remove unused argument.
22296 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22298 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22300 2011-08-27 Alan Mackenzie <acm@muc.de>
22302 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22303 handle function pointer parameters properly.
22305 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22307 * window.el (display-buffer-reuse-window): Fix case where
22308 selected window was reused with non-nil OTHER-WINDOW argument.
22311 2011-08-27 Deniz Dogan <deniz@dogan.se>
22313 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22314 oftc's NickServ messages.
22316 2011-08-27 Glenn Morris <rgm@gnu.org>
22318 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22320 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22322 * emacs-lisp/package.el (package-install): Call package-initialize
22323 if called interactively.
22325 2011-08-26 Leo Liu <sdl.web@gmail.com>
22327 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22329 2011-08-25 Juri Linkov <juri@jurta.org>
22331 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22332 `search-whitespace-regexp' (bug#9364).
22334 2011-08-25 Juri Linkov <juri@jurta.org>
22336 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22337 `regexp-search-ring' to their global values to protect from
22338 updating by `read-from-minibuffer' (bug#9185).
22340 2011-08-25 Juri Linkov <juri@jurta.org>
22342 * textmodes/ispell.el (ispell-command-loop): Add newline
22343 at the end of the "Use option `i'..." line.
22345 2011-08-25 Juri Linkov <juri@jurta.org>
22347 * battery.el (display-battery-mode): If `battery-status-function'
22348 or `battery-mode-line-format' is nil, display the message and set
22349 `display-battery-mode' to nil (bug#9363).
22351 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22353 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22354 bidi-string-mark-left-to-right; they are unnecessary now.
22356 2011-08-25 Deniz Dogan <deniz@dogan.se>
22358 * net/quickurl.el: Documentation typo fixes.
22360 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22362 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22364 2011-08-25 Glenn Morris <rgm@gnu.org>
22366 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22368 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22369 (smtpmail-via-smtp): Handle nil response from smtp.
22371 2011-08-24 Juri Linkov <juri@jurta.org>
22373 * proced.el (proced-marked): Inherit from `error' instead of
22374 `font-lock-warning-face'.
22376 * ibuffer.el (ibuffer-marked-face): Change default face from
22377 `font-lock-warning-face' to `warning'.
22378 (ibuffer-deletion-face): Change default face from
22379 `font-lock-type-face' to `error'.
22381 * battery.el (battery-update): Use the face `error' instead of
22382 `font-lock-warning-face' (bug#6117).
22384 2011-08-24 Juri Linkov <juri@jurta.org>
22386 * faces.el (success): Change face color from "Green3" to
22387 "ForestGreen" on light background (bug#9353).
22389 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22391 * window.el (quit-window): Rename from quit-restore-window.
22392 Use same arglist as old quit-window.
22393 (frame-auto-delete): Doc fix.
22395 * view.el (view-mode-exit): Use quit-window.
22397 2011-08-24 Juri Linkov <juri@jurta.org>
22399 * isearch.el (isearch-ring-adjust1): Start visiting previous
22400 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22401 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22402 for empty search string (when the last search string is reused
22403 automatically) to adjust the isearch ring to the last element and
22404 prepare the correct index for further M-p commands (bug#9185).
22406 2011-08-24 Kenichi Handa <handa@m17n.org>
22408 * international/ucs-normalize.el: If decomposition property of
22409 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22411 (nfd, nfkd): Likewise.
22413 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22415 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22416 from process filters aren't reliably transmitted to the surrounding
22417 accept-process-output.
22418 (mpc-proc-check): New function.
22419 (mpc-proc-sync): Use it (bug#8293)
22421 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22423 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22424 Add compatibility functions (bug#9313).
22426 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22428 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22430 * international/uni-bidi.el: Regenerate.
22432 2011-08-23 Kenichi Handa <handa@m17n.org>
22434 * international/charprop.el:
22435 * international/uni-bidi.el:
22436 * international/uni-category.el:
22437 * international/uni-combining.el:
22438 * international/uni-comment.el:
22439 * international/uni-decimal.el:
22440 * international/uni-decomposition.el:
22441 * international/uni-digit.el:
22442 * international/uni-lowercase.el:
22443 * international/uni-mirrored.el:
22444 * international/uni-name.el:
22445 * international/uni-numeric.el:
22446 * international/uni-old-name.el:
22447 * international/uni-titlecase.el:
22448 * international/uni-uppercase.el: Regenerate.
22450 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22452 * help.el (help-window-setup): Fix message displayed when other
22453 window is reused. (Bug#9341)
22455 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22457 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22458 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22460 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22462 * shell.el (shell-parse-pcomplete-arguments): New function.
22463 (shell-completion-vars): Use it instead (bug#9160).
22465 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22467 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22468 strings and comments (bug#9333).
22470 * emacs-lisp/debug.el (debug-arglist): New function.
22471 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22472 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22474 2011-08-22 Juri Linkov <juri@jurta.org>
22476 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22477 Revert regexp that highlights output switches to its old
22478 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22480 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22481 to check for empty output (bug#9226).
22483 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22485 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22486 symbol-constituent as the default, as that stops font-lock from
22487 working properly (Bug#8843).
22489 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22491 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22492 `coding-system-for-*' around the process open call to avoid
22493 auth-source side effects.
22494 (smtpmail-try-auth-methods): Expand the secret password.
22495 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22498 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22500 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22502 * emacs-lisp/find-func.el (find-function-noselect): New arg
22505 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22506 signal an error for built-in functions (Bug#6664).
22508 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22510 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22511 (smtpmail-try-auth-methods): Use it.
22513 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22515 * font-lock.el (font-lock-fontify-region)
22516 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22517 (font-lock-default-unfontify-buffer)
22518 (font-lock-default-fontify-region)
22519 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22521 * progmodes/compile.el (compilation-error-properties):
22522 Fix confusion between file struct and message struct (Bug#9319).
22523 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22526 * net/browse-url.el (browse-url-firefox): Don't call
22527 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22529 2011-08-20 Glenn Morris <rgm@gnu.org>
22531 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22533 * tutorial.el (tutorial--default-keys): Update some default bindings.
22535 * files.el (hack-local-variables): Fully ignore case for "mode:".
22537 2011-08-20 Alan Mackenzie <acm@muc.de>
22539 Resolve invalid use of a regexp in regexp-opt.
22541 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22542 detection for a java annotation.
22544 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22545 detection for a java annotation.
22547 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22549 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22551 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22553 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22556 2011-08-20 Alan Mackenzie <acm@muc.de>
22558 Fontify CPP expressions correctly when starting in the middle of
22559 such a construct. Mainly for when jit-lock etc. starts a chunk
22562 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22564 (c-make-font-lock-search-form): New function, extracted from
22565 c-make-font-lock-search-function.
22566 (c-make-font-lock-search-function): Use the above function.
22567 (c-make-font-lock-context-search-function): New function.
22568 (c-cpp-matchers): Enhance the preprocessor expression case with
22570 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22571 which takes an expression.
22573 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22575 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22577 * window.el (display-buffer-reuse-window)
22578 (display-buffer-pop-up-window): Don't reuse or split a side
22581 2011-08-19 Glenn Morris <rgm@gnu.org>
22583 * files.el (hack-local-variables-prop-line, hack-local-variables):
22584 Downcase "Mode:". (Bug#9331)
22586 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22588 * international/characters.el: Add L and R categories.
22590 * subr.el (bidi-string-mark-left-to-right): Rename from
22591 string-mark-left-to-right. Use category search.
22593 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22595 2011-08-18 Juri Linkov <juri@jurta.org>
22597 * faces.el (error, warning, success): New faces with definitions
22598 copied from old default values of `font-lock-warning-face',
22599 `compilation-warning', `compilation-info' (bug#6117).
22601 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22603 * progmodes/compile.el (compilation-error): Inherit from `error'.
22604 (compilation-warning): Inherit from `warning'.
22605 (compilation-info): Inherit from `success'.
22607 * dired.el (dired-marked): Inherit from `warning'.
22608 (dired-flagged): Inherit from `error'.
22610 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22612 * mail/smtpmail.el (auth-source): Require to avoid problems with
22613 binding variables (bug#9298). Also clean up some unused
22616 * net/network-stream.el (network-stream-open-starttls):
22617 Support using starttls.el without using gnutls-cli.
22619 2011-08-17 Juri Linkov <juri@jurta.org>
22621 * progmodes/grep.el (rgrep): Handle the case when
22622 `grep-find-command' is a cons cell (bug#9278).
22624 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22626 * window.el (display-buffer-pop-up-frame): Run frame creation
22627 function with BUFFER current (as special-display-popup-frame
22628 does). Reported by Drew Adams.
22630 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22632 * epa-mail.el: Simplify GnuPG group expansion using
22634 (epa-mail-group-alist, epa-mail-group-modtime)
22635 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22636 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22637 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22640 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22642 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22644 2011-08-16 Alan Mackenzie <acm@muc.de>
22646 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22647 Correct, to avoid the inside of macros.
22649 2011-08-16 Richard Stallman <rms@gnu.org>
22651 * epa-mail.el: Handle GnuPG group definitions.
22652 (epa-mail-group-alist, epa-mail-group-modtime)
22653 (epa-mail-gnupg-conf-file): New variables.
22654 (epa-mail-parse-groups, epa-mail-sync-groups)
22655 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22656 (epa-mail-expand-recipients): New functions.
22657 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22659 * mail/rmail.el (rmail-epa-decrypt): New command.
22661 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22662 Don't bind buffer-read-only, just inhibit-read-only.
22663 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22664 (epa-decrypt-armor-in-region): Make error message clearer.
22666 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22668 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22669 and "a2b" to "ab" for `prefix'.
22671 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22673 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22675 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22676 Fourquet (Bug#8804).
22678 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22680 * startup.el (argi): Declare as global variable (bug#9275).
22682 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22684 * subr.el (string-mark-left-to-right): Search the entire string
22685 for RTL script, not just the terminating character. Doc fix.
22687 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22689 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22691 (js--regexp-literal, js-syntax-propertize-function): Remove.
22692 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22693 (js-mode-map): Don't rebind electric keys.
22694 (js-insert-and-indent): Remove.
22695 (js-mode): Setup electric-layout and electric-indent instead.
22697 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22699 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22701 * epa.el (epa-progress-callback-function): Fix the logic of
22702 displaying progress.
22703 * epa-file.el (epa-file-insert-file-contents): Make progress
22704 display more user-friendly.
22705 (epa-file-write-region): Ditto.
22707 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22709 * subr.el (string-mark-left-to-right): New function.
22711 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22712 Use string-mark-left-to-right.
22713 (list-buffers-noselect): Caller changed.
22715 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22716 Use string-mark-left-to-right.
22717 (tabulated-list-print): Recenter after moving point.
22719 2011-08-10 Juri Linkov <juri@jurta.org>
22721 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22722 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22723 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22725 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22727 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22730 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22732 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22733 character. (Bug#6594)
22735 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22737 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22738 (image-dired--with-db-file): New macro.
22739 (image-dired-write-tags, image-dired-remove-tag)
22740 (image-dired-create-gallery-lists, image-dired-write-comments)
22741 (image-dired-get-comment, image-dired-mark-tagged-files)
22742 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22743 (image-dired-gallery-generate): Use insert-file-contents.
22745 * time.el (display-time-world-list, display-time-world-display):
22746 * time-stamp.el (time-stamp-string):
22747 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22748 set-time-zone-rule (Bug#7337).
22750 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22752 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22753 (epg-error-to-string, epg-errors-to-string): New function.
22754 (epg-wait-for-completion): Reverse errors list.
22755 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22756 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22757 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22758 (epg-sign-keys, epg-generate-key-from-file)
22759 (epg-generate-key-from-string): Format errors by using
22760 epg-errors-to-string (bug#9255).
22761 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22763 2011-08-07 Juri Linkov <juri@jurta.org>
22765 * faces.el (list-faces-display): Remove extra angle bracket
22766 from `help-mode-map'.
22768 * info.el (Info-history-toc-nodes): Doc fix.
22770 * longlines.el (longlines-mode): Doc fix.
22772 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22774 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22775 of statements and in a few more cases (bug#9183).
22777 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22779 (cl-transform-lambda): Use them (bug#9239).
22781 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22783 * window.el (display-buffer-same-window)
22784 (display-buffer-same-frame, display-buffer-other-window)
22785 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22786 (pop-to-buffer-other-window)
22787 (pop-to-buffer-same-frame-other-window)
22788 (pop-to-buffer-other-frame): Make them defuns.
22789 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22791 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22793 * subr.el (make-composed-keymap): Move from C. Change calling
22794 convention, and improve docstring to bring attention to a subtle point.
22795 * minibuffer.el (completing-read-default): Adjust accordingly.
22797 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22799 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22800 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22802 * net/trampver.el: Update release number.
22804 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22806 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22809 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22811 * mail/sendmail.el (sendmail-query-once): Restore the current
22812 buffer after querying (bug#9074).
22814 * dired.el (dired-flagged): Use different faces for marked and
22815 flagged files (bug#6117).
22817 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22820 * ido.el (ido-mode): Switch off the message if called
22823 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22824 before 587, since it appears that that's more likely to work for
22827 * cus-edit.el (custom-file): When running under emacs -q, always
22828 refuse to save the customizations, even if the .emacs file doesn't
22831 * info.el: Remove the `Info-beginning-of-buffer' function
22834 * net/network-stream.el (network-stream-open-starttls):
22835 Use `starttls-available-p' to see whether starttls.el can be used.
22837 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22839 * window.el (display-buffer-in-window): Don't set dedicated status
22840 of window here (Bug#9215).
22841 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22842 (display-buffer-pop-up-side-window)
22843 (display-buffer-in-side-window): Set dedicated status of window here.
22845 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22847 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22848 before binding generated-autoload-file.
22850 2011-08-01 Deniz Dogan <deniz@dogan.se>
22852 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22854 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22856 Sync with Tramp 2.2.2.
22858 * net/trampver.el: Update release number.
22860 2011-07-30 Juri Linkov <juri@jurta.org>
22862 * dired-aux.el (dired-touch-initial): Remove function.
22863 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22864 current time, and `default' to the last modification time of the
22865 current marked file (bug#6887).
22867 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22869 * simple.el (goto-line): Use string-to-number to provide a
22870 numeric argument to read-number (bug#9163).
22872 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22874 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22875 connection process, it could be nil.
22877 2011-07-27 Leo Liu <sdl.web@gmail.com>
22879 Simplify url handling in rcirc-mode.
22881 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22882 (rcirc-browse-url-at-mouse): Remove.
22883 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22885 2011-07-26 Alan Mackenzie <acm@muc.de>
22887 Fontify bitfield declarations properly.
22889 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22890 (c-symbol-chars): Now exported as a lang variable.
22891 (c-not-primitive-type-keywords): New lang variable.
22893 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22894 QT keyword "more" to prevent "more slots: ...." being spuriously
22895 parsed as a bitfield declaration.
22897 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22898 Refactor and enhance to handle bitfield declarations.
22899 (c-punctuation-in): New function.
22900 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22901 declarations properly.
22903 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22905 * calendar/icalendar.el (icalendar--all-events): Take care of
22906 multiple vcalendars in a single file.
22907 (icalendar--convert-float-to-ical): Checkdoc fixes.
22909 2011-07-25 Deniz Dogan <deniz@dogan.se>
22911 * image.el (insert-image): Clarifying docstring.
22913 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22915 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22916 `tramp-send-command-and-check' if there is no error.
22917 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22919 2011-07-22 Alan Mackenzie <acm@muc.de>
22921 Prevent cc-langs.elc being loaded at run time.
22923 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22926 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22927 "(require 'cc-langs)". Quote a form so it will evaluate at
22928 (cc-mode's) compilation time.
22930 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22932 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22933 loading. (Bug#9114)
22935 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22937 * window.el (display-buffer-pop-up-window)
22938 (display-buffer-pop-up-side-window)
22939 (display-buffer-in-side-window): Call display-buffer-set-height
22940 and display-buffer-set-width after setting the new window's
22941 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22943 2011-07-20 Sam Steingold <sds@gnu.org>
22945 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22946 (etags-tags-included-tables): Call `convert-standard-filename' on
22947 the file names contained in TAGS so that windows Emacs can handle
22948 TAGS files created by cygwin ctags.
22950 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22952 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22953 which apparently didn't work.
22955 2011-07-19 Roland Winkler <winkler@gnu.org>
22957 * proced.el (proced-send-signal): For *Marked Processes* buffer
22958 put point at beginning of buffer.
22960 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22962 * proced.el (proced-format): Make header lines align with the text
22965 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22967 * view.el (view-buffer): Allow running in `special' modes if we're
22968 visiting a file (bug#8615).
22970 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22972 * window.el (display-buffer-alist-of-strings-p)
22973 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22975 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22978 2011-07-18 Alan Mackenzie <acm@muc.de>
22980 Fontify declarators properly when, e.g., a jit-lock chunk begins
22981 inside a declaration.
22983 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22985 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22987 (c-complex-decl-matchers): Insert reference to
22988 c-font-lock-enclosing-decls.
22990 * progmodes/cc-engine.el (c-backward-single-comment):
22991 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22992 to nil around calls to (forward-comment -1).
22994 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22996 * image.el (put-image): Doc typo fix.
22998 * progmodes/etags.el (tags-search): Doc typo fix.
23000 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
23001 password if we get errors 550 to 554.
23003 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
23005 * net/gnutls.el (gnutls-log-level): Remove.
23007 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
23008 indentation character (bug#6380).
23010 * files.el (buffer-offer-save): Made permanently local (bug#6241).
23012 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
23013 to clarify what the problem is (bug#4291).
23015 * simple.el (current-kill): Clarify what
23016 `interprogram-paste-function' does (bug#7500).
23017 (auto-fill-mode): Document `auto-fill-function' in relation to
23018 `auto-fill-mode' (bug#2470).
23020 2011-07-16 Lawrence Mitchell <wence@gmx.li>
23022 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
23023 method if slot is read-only (bug#9035).
23025 2011-07-16 Martin Rudalics <rudalics@gmx.at>
23027 * frame.el (select-frame-set-input-focus): New argument NORECORD.
23028 * window.el (pop-to-buffer): Select window used even if it was
23029 selected before, see discussion of (Bug#8615), (Bug#6954).
23030 Pass argument NORECORD on to select-frame-set-input-focus.
23032 2011-07-15 Glenn Morris <rgm@gnu.org>
23034 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
23037 2011-07-09 Lawrence Mitchell <wence@gmx.li>
23039 * net/gnutls.el (gnutls-min-prime-bits): New variable.
23040 (gnutls-negotiate): Use it.
23042 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23044 * net/gnutls.el (gnutls-negotiate):
23045 Upcase `gnutls-algorithm-priority'.
23047 2011-07-15 Glenn Morris <rgm@gnu.org>
23049 * jka-compr.el (jka-compr-verbose): Move from here...
23050 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
23051 Add missing :version tag.
23052 * info.el: No need to require jka-compr when compiling.
23054 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23056 * net/gnutls.el (gnutls-algorithm-priority): New variable.
23057 (gnutls-negotiate): Use it.
23059 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
23061 * info.el (Info-beginning-of-buffer): New command.
23062 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
23063 announcing `b' as the key (bug#8325).
23064 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
23066 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
23068 * international/mule-cmds.el
23069 (describe-specified-language-support): Make the error message
23070 clearer (bug#8905).
23072 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
23074 * isearch.el (isearch-barrier): Add a doc string, since it's
23075 mentioned in a function doc string (bug#8678).
23077 2011-07-15 Martin Rudalics <rudalics@gmx.at>
23079 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
23080 buffer argument (Bug#9083) and self-identifying label argument.
23082 2011-07-15 Glenn Morris <rgm@gnu.org>
23084 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
23086 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23088 * man.el (Man-fontify-manpage): Fix message when formatting the
23089 man page (bug#7929).
23091 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23093 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
23094 argument LRM; if non-nil, append an invisible LRM character to the
23096 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
23097 last argument non-nil, when formatting buffer names.
23098 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
23099 paragraph direction.
23101 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23103 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
23104 the man page name (bug#7929).
23106 * image.el (put-image): Mention the `put-image' overlay property
23109 * scroll-bar.el (set-scroll-bar-mode): Mention that
23110 `scroll-bar-mode' lists the values (bug#7772).
23112 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
23113 command (bug#7729).
23115 * rect.el (apply-on-rectangle): Return the point after the last
23117 (string-rectangle): Go to the point after the last operation
23120 * printing.el (pr-toggle-region): Clarify the documentation
23121 slightly (bug#7493).
23123 * time.el (display-time-update):
23124 Allow `display-time-mail-function' to return nil (bug#7158).
23125 Fix suggested by Detlev Zundel.
23127 * vc/diff.el (diff): Clarify the order the file names are read
23130 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
23131 the doc string (bug#7015).
23133 * font-lock.el (font-lock-maximum-decoration): Mention what
23134 numeric levels mean (bug#6935).
23136 * startup.el (initial-buffer-choice): Don't mention the `none'
23137 selection, which is against policy.
23139 2011-07-14 Martin Rudalics <rudalics@gmx.at>
23141 * window.el (display-buffer-normalize-special):
23142 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
23144 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23146 * subr.el (version<, version<=, version=): Mention "-CVS" and
23147 "-12345" alpha version numbers.
23149 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23151 * bindings.el: Add advertised binding for set-mark-command
23154 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23156 * bindings.el (mode-line-other-buffer):
23157 * bookmark.el (bookmark-bmenu-2-window):
23158 * bs.el (bs-cycle-next, bs-cycle-previous):
23159 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
23162 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23165 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
23167 * follow.el (follow-debug-message, follow-redisplay):
23168 * jka-cmpr-hook.el (with-auto-compression-mode):
23169 Fix typos in docstrings.
23171 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23173 * subr.el (with-silent-modifications): Clarify somewhat what the
23174 macro inhibits (bug#6525).
23176 * simple.el (eval-expression): Note what it does if called
23177 interactively (bug#6495).
23179 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23181 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
23182 Use pop-to-buffer buffer-or-name if it is nil.
23184 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23185 Remove switch-to-buffer.
23187 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23189 * files.el (make-directory): Clarify that an error will be raised
23190 if there's an error (bug#6397).
23192 * startup.el (initial-buffer-choice): Add `none' as a choice
23195 * subr.el (add-hook): Clarify section about buffer-local hooks
23198 * dired.el (dired-flagged): Clarify doc string (bug#6117).
23200 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23202 * tabify.el (untabify): Preserve the current column so that point
23203 doesn't move (bug#6032).
23205 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23207 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
23208 Rewrite to avoid awkward possessive "s" (bug#5986).
23210 2011-07-13 Glenn Morris <rgm@gnu.org>
23212 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
23213 (dired-insert-directory): Give a message the first time
23214 if ls is found not to support --dired.
23216 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23218 * simple.el (toggle-truncate-lines): Clarify what is toggled
23219 (bug#5580). Text by Drew Adams.
23221 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23223 * simple.el (blink-matching-open): Make the error message from the
23224 last change less verbose.
23226 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
23228 * font-lock.el (font-lock-comment-face): Use the high contrast
23229 "yellow" color for font-lock-comment-face on low color terminals
23230 using a dark background color (bug#4221).
23232 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23234 * dired.el (dired-insert-set-properties): Make the doc string
23235 reflect what it does now (bug#5325).
23237 * simple.el (blink-matching-open): Say that we were unable to find
23238 the match within the limit, if we're limited (bug#5122).
23240 * international/mule-cmds.el (prefer-coding-system): Add an
23241 example (bug#4869).
23243 * progmodes/etags.el (tags-search): Document `file-list-form'
23246 2011-07-13 Lawrence Mitchell <wence@gmx.li>
23248 * net/browse-url.el (browse-url-default-browser)
23249 (browse-url-browser-function): Make the default browser choice a
23250 bit more logical (bug#4300). Also clean up the doc string.
23252 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23254 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23255 binary endings (bug#4440).
23257 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23259 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23260 which can be pretty annoying (bug#8971).
23262 * jka-compr.el (jka-compr-verbose): New variable, and use
23263 throughout (bug#8971).
23265 * info.el (Info-find-file): Fall back on the installation
23266 directory if we can't find the info node anywhere else.
23268 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23270 * vc/vc.el (vc-revert-file):
23271 Don't set file time-stamp in the past. (Bug#5181)
23273 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23275 * files.el (after-find-file): Give a better error message when
23276 trying to find a symlink that points to a file that doesn't exist
23279 * progmodes/cc-vars.el: Remove (probably) misleading comment
23282 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23284 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23286 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23288 * mouse-sel.el: Hack restoring functionality, while keeping
23289 compatibility with 2010-07-03 changes to mouse selection.
23290 (mouse-sel-primary-overlay): New var.
23291 (mouse-sel-selection-alist): Use it.
23292 (mouse-sel-mode): Doc fix; remove points that are default features
23295 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23297 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23298 Fix previous fix (bug#2490).
23300 2011-07-12 Roland Winkler <winkler@gnu.org>
23302 * textmodes/bibtex.el (bibtex-initialize):
23303 Use pop-to-buffer-same-window.
23304 (bibtex-search-entries): Fix interactive call.
23306 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23308 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23309 Fontise bytecomp Error lines more correctly (bug#2490).
23310 Fix suggested by Johan Bockgård.
23312 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23314 * dired-x.el (dired-guess-default): Use `delete-dups'.
23316 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23318 * dired.el (dired-mark-prompt):
23319 * dired-aux.el (dired-read-shell-command): Doc fix.
23321 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23323 * mail/sendmail.el (sendmail-query-once):
23324 Use `customize-save-variable' unconditionally, now that it works under
23327 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23329 * cus-edit.el (custom-file): Take an optional no-error variable.
23330 (customize-save-variable): Set the variable, and give a warning if
23331 running under "emacs -q".
23333 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23335 * loadhist.el (unload-feature-special-hooks):
23336 Add `auto-coding-functions', `fill-nobreak-predicate' and
23337 `find-directory-functions' (bug#5327).
23339 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23341 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23343 * cus-edit.el (custom-guess-name-alist): -alist variables should
23344 use the `alist' type (bug#3120). Suggested by Drew Adams.
23346 * printing.el: Add documentation to all the `pr-toggle-' commands.
23348 2011-07-11 Leo Liu <sdl.web@gmail.com>
23350 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23351 backends where it makes sense (bug#2623).
23353 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23355 * dired-x.el (dired-guess-default): Remove duplicate shell command
23356 entries (bug#2028).
23357 (dired-guess-default): Fix grammar in doc string (bug#2028).
23358 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23360 * subr.el (remove-duplicates): New conveniency function.
23362 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23364 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23367 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23369 * window.el (display-buffer-normalize-default): Don't invert
23370 meaning of even-window-heights. Reported by Eli Zaretskii
23373 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23375 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23377 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23379 * window.el (display-buffer): Fix arguments to
23380 display-buffer-reuse-window in last change.
23382 * faces.el (link): Use a less saturated blue on light backgrounds.
23384 * startup.el (fancy-startup-text, fancy-about-text)
23385 (fancy-startup-tail): Use font-lock faces, for background safety.
23387 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23389 * emulation/viper-cmd.el (viper-change-state-to-vi):
23390 Limit triggering of abbrev expansion (Bug#9038).
23392 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23394 * window.el (display-buffer-default-specifiers): Remove.
23395 (display-buffer-macro-specifiers): Remove default specifiers.
23396 (display-buffer-alist): Default to nil.
23397 (display-buffer-reuse-window): New optional argument other-window.
23398 (display-buffer-pop-up-window): Allow splitting internal
23399 windows. Check whether a live window was created.
23400 (display-buffer-other-window-means-other-frame)
23401 (display-buffer-normalize-arguments): Rename to
23402 display-buffer-normalize-argument and rewrite. Set the
23403 other-window specifier.
23404 (display-buffer-normalize-special): New function.
23405 (display-buffer-normalize-options): Rename to
23406 display-buffer-normalize-default and rewrite.
23407 (display-buffer-normalize-options-inhibit): Remove.
23408 (display-buffer-normalize-specifiers): Rewrite.
23409 (display-buffer): Process other-window specifier and call
23410 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23412 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23413 (display-buffer-alist-set): Don't handle 'unset default values.
23414 (display-buffer-in-window, display-buffer-alist-set):
23415 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23416 <tassilo@member.fsf.org>.
23418 2011-07-09 Leo Liu <sdl.web@gmail.com>
23420 * register.el (insert-register): Restore accidental change on
23421 2011-06-26. (Bug#9028)
23423 2011-07-09 Glenn Morris <rgm@gnu.org>
23425 * subr.el (remq): Handle the empty list. (Bug#9024)
23427 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23429 * mail/sendmail.el (send-mail-function): No longer delay custom
23431 * custom.el (custom-initialize-delay): Doc fix.
23433 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23435 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23437 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23439 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23440 human-friendly prompt.
23442 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23444 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23445 provided by a particular plugin.
23447 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23449 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23450 save customizations (with "emacs -Q"), just set the variable
23451 instead of erroring out.
23453 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23455 2011-07-08 Juri Linkov <juri@jurta.org>
23457 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23458 (archive-zip-update-case): Use 7z if found by `executable-find'.
23459 The order of searching the available programs is the same as in
23460 `archive-zip-extract' (bug#8968).
23462 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23464 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23465 (menu-bar-options-menu): Tweak descriptions.
23467 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23469 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23470 menu items into verb phrases (bug#1421). Also refill to fit under
23473 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23475 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23476 (Info-read-node-name): Doc fix (Bug#1084).
23478 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23479 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23480 (end-of-sexp, beginning-of-sexp)
23481 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23482 (forward-symbol, forward-same-syntax, word-at-point)
23483 (sentence-at-point): Doc fix (Bug#1144).
23485 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23487 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23488 should cover it (bug#1281).
23490 * cus-edit.el (custom-show): Mark as obsolete.
23492 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23493 negotiation fails, then possibly try again with a non-encrypted
23494 connection (bug#9017).
23496 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23499 2011-07-07 Richard Stallman <rms@gnu.org>
23501 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23502 property, and handle its changed format.
23503 Look for the correct line number.
23504 Use file's line contents (but not past first =) to find
23505 correct line in message.
23507 2011-07-07 Kenichi Handa <handa@m17n.org>
23509 * international/characters.el (build-unicode-category-table):
23511 (unicode-category-table): Set it by unicode-property-table-internal.
23513 * international/mule-cmds.el (char-code-property-alist): Move to
23515 (get-char-code-property): Call unicode-property-table-internal to
23516 load a file. Call get-unicode-property-internal where necessary.
23517 (put-char-code-property): Call unicode-property-table-internal to
23518 load a file. Call put-unicode-property-internal where necessary.
23519 put-unicode-property-internal where necessary.
23520 (char-code-property-description):
23521 Call unicode-property-table-internal to load a file.
23523 * international/charprop.el:
23524 * international/uni-bidi.el:
23525 * international/uni-category.el:
23526 * international/uni-combining.el:
23527 * international/uni-comment.el:
23528 * international/uni-decimal.el:
23529 * international/uni-decomposition.el:
23530 * international/uni-digit.el:
23531 * international/uni-lowercase.el:
23532 * international/uni-mirrored.el:
23533 * international/uni-name.el:
23534 * international/uni-numeric.el:
23535 * international/uni-old-name.el:
23536 * international/uni-titlecase.el:
23537 * international/uni-uppercase.el: Regenerate.
23539 * loadup.el: Load international/charprop.el before
23540 international/characters.
23542 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23544 * window.el (next-buffer, previous-buffer): Signal an error if
23545 called from a minibuffer window.
23547 * bindings.el: Revert 2011-07-04 change.
23549 2011-07-06 Richard Stallman <rms@gnu.org>
23551 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23552 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23553 Treat markers like ints.
23554 (rmail-mime-entity): Doc fix.
23556 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23558 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23559 defcustom again for backwards compatibility.
23561 * simple.el (shell-command-on-region): Fill.
23563 * dired-aux.el (dired-kill-line): Add a doc string.
23565 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23566 to "\\sw\\|\\s_" (bug#358).
23568 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23569 (dired-unmark-backward): Ditto.
23570 (dired-flag-backup-files): Ditto.
23572 * dired-x.el (dired-mark-sexp): Ditto.
23574 2011-07-06 Richard Stallman <rms@gnu.org>
23576 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23577 (rmail-mime-entity): New arg TRUNCATED.
23578 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23580 (rmail-mime-save): Warn if entity is truncated.
23581 (rmail-mime-toggle-hidden): Likewise, for showing.
23582 (rmail-mime-process-multipart): Record when an entity is truncated.
23584 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23585 if ENTITY is a string.
23587 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23589 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23590 of faces when `M-C-x'-ing their definitions (bug#8378).
23591 Also clean up the code slightly.
23593 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23594 because that makes the colors go away.
23596 * mail/sendmail.el (send-mail-function): Change the default to
23597 `sendmail-query-once'.
23598 (sendmail-query-once): Add an autoload cookie.
23600 * net/network-stream.el (network-stream-open-starttls): Try using
23601 a plain connection even if the server offered STARTTLS, and we
23602 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23603 capability. This should make smtpmail.el work in slightly more
23606 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23608 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23610 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23612 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23614 * progmodes/sql.el: Version 3.0
23615 (sql-product-alist): Add product :completion-object,
23616 :completion-column, and :statement attributes.
23617 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23618 (sql-mode-syntax-table): Mark all punctuation.
23619 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23621 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23622 (sql-mode-oracle-font-lock-keywords): Improve.
23623 (sql-oracle-show-reserved-words): New function for development.
23624 (sql-product-font-lock): Simplify for source code buffers.
23625 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23627 (sql-highlight-product): Set product specific syntax table.
23628 (sql-mode-map): Add statement movement functions.
23629 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23631 (sql-statement-regexp, sql-beginning-of-statement)
23632 (sql-end-of-statement, sql-signum): New functions.
23633 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23634 (sql-show-sqli-buffer): Bug fix.
23635 (sql-interactive-mode): Store connection data as buffer local.
23636 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23637 with sql-interactive-mode.
23638 (sql-save-connection): Save buffer local settings.
23639 (sql-connection-menu-filter): Change menu entry name.
23640 (sql-product-interactive): Bug fix.
23641 (sql-preoutput-hold): New variable.
23642 (sql-interactive-remove-continuation-prompt): Bug fixes.
23643 (sql-debug-redirect): New variable.
23644 (sql-str-literal): New function.
23645 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23647 (sql-oracle-save-settings, sql-oracle-restore-settings)
23648 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23649 (sql-completion-object, sql-completion-column)
23650 (sql-completion-sqlbuf): New variables.
23651 (sql-build-completions-1, sql-build-completions)
23652 (sql-try-completion): New functions.
23653 (sql-read-table-name): Use them.
23654 (sql-contains-names): New buffer local variable.
23655 (sql-list-all, sql-list-table): Use it.
23656 (sql-oracle-completion-types): New variable.
23657 (sql-oracle-completion-object, sql-sqlite-completion-object)
23658 (sql-postgres-completion-object): New functions.
23660 2011-07-06 Glenn Morris <rgm@gnu.org>
23662 * window.el (pop-to-buffer): Doc fix.
23664 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23666 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23668 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23670 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23672 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23674 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23676 * button.el (button): Inherit from link face. Suggested by Dan
23679 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23681 * progmodes/gdb-mi.el: Fit in 80 columns.
23682 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23685 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23686 if imenu is simply not configured (bug#8941).
23688 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23690 * allout.el (allout-post-undo-hook): New allout outline-change
23691 event hook to signal undo activity.
23692 (allout-post-command-business): Run allout-post-undo-hook if an
23693 undo just occurred.
23694 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23695 * allout-widgets.el (allout-widgets-after-undo-function):
23696 Ensure the integrity of the current item's decoration after it has been
23697 in the vicinity of an undo.
23698 (allout-widgets-mode): Include allout-widgets-after-undo-function
23699 on the new allout-post-undo-hook.
23701 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23703 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23704 Let define-derived-mode define it.
23705 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23706 cycles of abbrev-table inheritance (bug#8998).
23708 2011-07-05 Roland Winkler <winkler@gnu.org>
23710 * textmodes/bibtex.el: Add support for biblatex.
23711 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23712 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23713 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23714 (bibtex-entry-alist, bibtex-field-alist): New variables.
23715 (bibtex-entry-field-alist): Obsolete alias for
23716 bibtex-BibTeX-entry-alist.
23717 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23718 (bibtex-set-dialect): New command.
23719 (bibtex-entry-type, bibtex-entry-head)
23720 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23721 Bind via bibtex-set-dialect.
23722 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23723 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23724 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23725 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23726 Define via bibtex-set-dialect.
23727 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23728 Obey bibtex-no-opt-remove-re.
23729 (bibtex-vec-push, bibtex-vec-incr): New functions.
23730 (bibtex-format-entry, bibtex-field-list)
23731 (bibtex-print-help-message, bibtex-validate)
23732 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23734 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23736 * progmodes/compile.el (compilation-goto-locus):
23737 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23738 * bs.el (bs-cycle-next, bs-cycle-previous):
23739 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23740 * bindings.el (mode-line-other-buffer):
23741 * autoinsert.el (auto-insert):
23742 * arc-mode.el (archive-extract):
23743 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23745 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23747 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23748 Fix check of `emacs-lock-unlockable-modes'.
23749 Coerce true values of `emacs-lock--try-unlocking' to t.
23751 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23753 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23754 * emacs-lock.el: New file.
23756 2011-07-05 Julien Danjou <julien@danjou.info>
23758 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23759 than `boundp' to check if face is set.
23761 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23763 * register.el (registerv-make):
23764 * window.el (window-min-height): Fix typos in docstrings.
23766 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23768 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23771 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23773 * server.el (server-execute): Catch quit and call
23774 `server-return-error' to pass the error back to emacsclient and
23775 close the connection (bug#8942).
23777 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23779 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23780 insecure exception for current topic. Also note that auto-saves
23781 are handled differently.
23783 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23784 State variables for tracking auto-save inhibition situation.
23786 (allout-write-contents-hook-handler): Rename from
23787 'allout-write-file-hook-handler', and describe how it depends on
23788 write-contents-functions sensitivity to non-nil value to prevent
23791 (allout-auto-save-hook-handler): Remove. auto-save does not check
23792 this in individual buffers, only in the starting buffer, so this
23793 is not the right way for us to inhibit auto-save in a buffer
23794 according to its condition.
23796 (allout-mode): Use new allout-write-contents-hook-handler, and
23797 only with write-contents-functions. Remove auto-save provisions -
23798 they're implemented elsewhere.
23800 (allout-before-change-handler): If undo is in progress, note that
23801 for attention of allout-post-command-business.
23803 (allout-post-command-business): If the command we're following was
23804 an undo, check for change in the status of encrypted items and
23805 adjust auto-save inhibitions accordingly.
23807 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23808 according to whether there are or aren't any plain-text topics
23809 pending encryption.
23811 (allout-inhibit-auto-save-info-for-decryption):
23812 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23813 if there are plain-text topics pending encryption.
23815 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23816 buffer-saved-size and some allout state to not inhibit auto-saves
23817 if there are no longer any plain-text topics pending encryption.
23819 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23820 No longer provide for exemption of the current topic.
23822 2011-07-04 Juri Linkov <juri@jurta.org>
23824 Add 7z operations to delete and save changed members (bug#8968).
23825 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23827 (archive-7z-write-file-member): New function.
23828 (archive-7z-summarize): Fix the number of dashes in the
23831 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23833 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23836 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23838 * bindings.el: Ignore next-buffer and previous-buffer in
23839 minibuffer-local-map.
23841 * font-lock.el (font-lock-builtin-face): Change light background
23842 color to dark slate blue (Bug#6693).
23844 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23846 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23848 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23850 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23851 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23852 Add switch-to-buffer.
23854 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23856 * isearch.el (isearch-search-fun-function): Clarify further the
23857 meaning of the function returned.
23859 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23861 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23863 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23864 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23866 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23867 `tramp-default-remote-path' does not exist.
23868 (tramp-send-command-and-read): New optional argument NOERROR.
23869 (tramp-open-connection-setup-interactive-shell)
23870 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23871 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23872 (tramp-process-sentinel): Flush also process' connection property.
23873 (tramp-sh-handle-start-file-process): Do not set process
23874 sentinel. It is done now ...
23875 (tramp-maybe-open-connection): ... here. (Bug#8929)
23877 2011-07-04 MON KEY <monkey@sandpframing.com>
23879 * play/animate.el (animate-string): Doc fixes and allow changing
23880 the buffer name (bug#5417).
23882 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23884 * play/animate.el (animation-buffer-name): Rename from *animate*.
23886 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23888 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23889 This is simpler and helps future-proof the code.
23890 (timer-until): Use time-subtract and float-time.
23891 (timer--time-less-p): Use time-less-p.
23893 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23895 * type-break.el (timep): Use the value of `float-time' to avoid a
23896 byte-compiler warning.
23898 * server.el (server-eval-and-print): Return any result, even nil.
23900 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23902 * type-break.el: Accept time formats that the builtins accept.
23903 (timep, type-break-time-difference): Accept any format that
23904 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23905 This is simpler and helps future-proof the code.
23906 (type-break-time-difference): Round rather than ignoring
23907 subseconds components.
23909 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23911 * info.el (Info-apropos-matches): Make non-interactive, since it
23912 doesn't seem to do anything useful as a command (bug#8829).
23914 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23916 * frame.el (frame-background-mode, frame-set-background-mode):
23917 Move from faces.el.
23918 (frame-default-terminal-background): New function.
23920 * custom.el (custom-push-theme): Don't record faces in `changed'
23921 theme; this doesn't work correctly for per-frame face settings.
23922 (disable-theme): Use face-set-after-frame-default to reset faces.
23923 (custom--frame-color-default): New function.
23925 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23927 * dired.el (dired-flagging-regexp): Remove unused variable
23930 2011-03-29 Kevin Ryde <user42@zip.com.au>
23932 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23933 `perl-Test2' extend to match possible "fail #N" rep count
23936 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23938 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23939 `smtpmail-via-smtp' now returns the error instead of nil.
23941 * isearch.el (isearch-search-fun-function): Clarify the doc string
23944 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23946 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23947 unnecessary spaces (bug#8987).
23949 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23951 * net/network-stream.el (open-network-stream): Use the
23952 :end-of-capability command thoughout.
23954 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23956 * net/network-stream.el (open-network-stream): Add the
23957 :end-of-capability command parameter, used by pop3.el.
23959 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23961 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23963 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23964 for list)" (bug#6475).
23966 * files.el (file-expand-wildcards): Ignore non-readable
23967 sub-directories while trying to find matches instead of signaling
23968 an error (bug#6297).
23970 * man.el (Man-reference-regexp): Allow matching possible
23971 word-wrapped references (bug#6289).
23973 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23974 for consistency with the other vc buffers (bug#6197).
23975 (vc-checkin): Ditto.
23977 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23979 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23981 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23983 * custom.el (defcustom): Clarify that :set is only used in the
23984 Customize user interface (bug#6089).
23986 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23987 associated with a file, refuse to run instead of erroring out
23990 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23991 the doc string, since it appears that using `fill-column' always
23992 controls the width (bug#7845).
23994 * simple.el (shell-command-on-region): Say where the error output
23995 went if `shell-command-default-error-buffer' is set (bug#6857).
23997 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23999 * allout.el (allout-yank-processing): Adjust cursor position for
24000 backwards-deleted space.
24002 (allout-rebullet-heading): Register changes with
24003 allout-exposure-changed-hook, so the modified topic is properly
24006 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24008 * minibuffer.el (completion-in-region): Document PREDICATE
24011 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
24012 of keyword/argument pairs (bug#6904).
24014 * replace.el (multi-occur):
24015 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
24017 2011-07-02 Drew Adams <drew.adams@oracle.com>
24019 * dired.el (dired-mark-if): Make the message about whether it's
24020 marking or unmarking clearer (bug#8523).
24022 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24024 * disp-table.el (display-table-print-array): New function.
24025 (describe-display-table): Use it to print the vectors more pretty
24028 2011-07-02 Martin Rudalics <rudalics@gmx.at>
24030 * window.el (window-state-get-1): Don't assign clone numbers.
24031 Add clone-of item to list of window parameters.
24032 (window-state-put-2): Don't process clone numbers.
24033 (display-buffer-alist): Fix doc-string.
24035 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
24037 * subr.el (remq): Don't allocate if it's not needed.
24038 (keymap--menu-item-binding, keymap--menu-item-with-binding)
24039 (keymap--merge-bindings): New functions.
24040 (keymap-canonicalize): Use them to refine the canonicalization.
24041 * minibuffer.el (minibuffer-local-completion-map)
24042 (minibuffer-local-must-match-map): Move initialization from C.
24043 (minibuffer-local-filename-completion-map): Move initialization from C;
24044 don't inherit from anything here.
24045 (minibuffer-local-filename-must-match-map): Make obsolete.
24046 (completing-read-default): Use make-composed-keymap to combine
24047 minibuffer-local-filename-completion-map with either
24048 minibuffer-local-must-match-map or
24049 minibuffer-local-filename-completion-map.
24051 2011-07-01 Glenn Morris <rgm@gnu.org>
24053 * type-break.el (type-break-time-sum): Use dolist.
24055 * textmodes/flyspell.el (flyspell-word-search-backward):
24056 Replace CL function.
24058 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24060 * mouse.el (mouse--strip-first-event): New function.
24061 (function-key-map): Use it to map fringe clicks to normal clicks
24064 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
24065 (vc-bzr-revision-completion-table): Add support for annotate and date.
24067 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
24068 inherit from parent.
24070 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24072 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
24073 (dired-show-file-type): Doc fixup (bug#8818).
24075 * dired.el (dired-mode): Fix up the doc string as suggested by
24076 Drew Adams (bug#8817).
24078 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
24079 cookie, since the manual says that it should be possible to add
24080 this function to `find-file-hook' (bug#8709).
24082 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24084 * progmodes/cfengine.el: Moved all cfengine3.el functionality
24085 here. Noted Ted Zlatanov as the maintainer.
24086 (cfengine-common-settings, cfengine-common-syntax): New functions
24087 to set up common things between `cfengine-mode' and
24089 (cfengine3-mode): New mode.
24090 (cfengine3-defuns cfengine3-defuns-regex
24091 (cfengine3-class-selector-regex cfengine3-category-regex)
24092 (cfengine3-vartypes cfengine3-font-lock-keywords)
24093 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
24094 (cfengine3-indent-line): Add from cfengine3.el.
24096 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
24098 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
24100 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
24102 2011-07-01 Martin Rudalics <rudalics@gmx.at>
24104 * window.el (same-window-buffer-names, same-window-regexps)
24105 (same-window-p, special-display-frame-alist)
24106 (special-display-popup-frame, special-display-function)
24107 (special-display-buffer-names, special-display-regexps)
24108 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
24109 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24110 (split-window-preferred-function, split-height-threshold)
24111 (split-width-threshold, even-window-heights)
24112 (display-buffer-mark-dedicated, window-splittable-p)
24113 (split-window-sensibly, window-safely-shrinkable-p):
24115 (display-buffer): Don't spread args with function specifier
24116 because special-display-popup-frame won't like it.
24118 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
24120 Time-stamp simplifications and fixes.
24121 These improve accuracy slightly, and future-proof the code
24122 against some potential changes to current-time format.
24124 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
24125 by using time-since and float-time.
24127 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
24128 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
24129 + NNN microseconds".
24131 * type-break.el (type-break-time-sum): Rewrite using time-add.
24133 * play/hanoi.el (hanoi-current-time-float): Remove.
24134 All uses replaced by float-time.
24136 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
24137 This yields a more-accurate answer.
24138 (rng-time-to-float): Remove; no longer needed.
24140 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
24142 * calendar/timeclock.el (timeclock-seconds-to-time):
24143 Defalias to seconds-to-time, since they're the same thing.
24145 * emacs-lisp/elp.el (elp-elapsed-time):
24146 * emacs-lisp/benchmark.el (benchmark-elapse):
24147 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
24149 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24151 * window.el (bury-buffer): Don't iconify the only frame.
24152 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
24153 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
24155 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
24157 * eshell/em-smart.el (eshell-smart-display-navigate-list):
24158 Add mouse-yank-primary.
24160 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24162 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
24164 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24166 * emacs-lisp/find-func.el (find-library--load-name): New fun.
24167 (find-library-name): Use it to find relative load names when provided
24168 absolute file name (bug#8803).
24170 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24172 * textmodes/flyspell.el (flyspell-word): Consider words that
24173 differ only in case as potential doublons (bug#5687).
24175 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
24176 Remove two rather uninteresting debugging-like messages to make
24177 debbugs.el more silent.
24179 * comint.el (comint-password-prompt-regexp): Accept "Response" as
24180 a password-like phrase.
24182 2011-06-30 Masatake YAMATO <yamato@redhat.com>
24184 * progmodes/cc-guess.el: New file.
24186 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
24188 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
24189 derived from `c-basic-common-init'.
24191 * progmodes/cc-mode.el (top-level): Require cc-guess.
24192 (c-basic-common-init): Use `cc-choose-style-for-mode'.
24194 2011-06-30 Lawrence Mitchell <wence@gmx.li>
24196 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
24198 2011-06-30 Alan Mackenzie <acm@muc.de>
24200 * progmodes/cc-engine.el (c-guess-continued-construct):
24201 Correct the handling of template-args-cont, particularly for when font
24202 lock is disabled. Name this case as "CASE G".
24204 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
24206 * allout.el (allout-yank-processing): Fix injection of extra space
24207 between bullet and non-whitespace character in first topic when
24208 pasting, ensuring that the actual spacing in the pasted topic
24209 following the bullet char is preserved. This extra space was
24210 causing pasted encrypted topics to get a decrypted status even
24211 when the content was actually still encrypted. Now the decryption
24212 status from before the paste is preserved.
24214 (allout-flag-region): Set all allout overlays so they evaporate
24215 when reduced to zero length (evanescent), to prevent overlay
24218 2011-06-30 Glenn Morris <rgm@gnu.org>
24220 * w32-fns.el (w32-charset-info-alist): Declare.
24222 * find-dired.el (find-grep-options): Simplify.
24224 * term/ns-win.el (ns-set-resource): Declare.
24226 * ses.el (row, col): Declare dynamic variables honestly.
24228 * textmodes/reftex-parse.el (index-tags): Declare.
24230 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
24232 * cus-edit.el (customize-push-and-save): New function.
24234 * files.el (hack-local-variables-confirm): Use it.
24236 * custom.el (load-theme): New arg NO-CONFIRM.
24237 Use customize-push-and-save (Bug#8720).
24238 (custom-enabled-themes): Doc fix.
24240 * cus-theme.el (customize-create-theme)
24241 (custom-theme-merge-theme): Callers to load-theme changed.
24243 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24245 * thingatpt.el (thing-at-point-short-url-regexp): Require that
24246 short URLs have at least one dot in them (bug #7614).
24248 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
24249 nil, because using a pty is apparently too slow (bug #895).
24251 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24253 * mail/sendmail.el (sendmail-query-once): New function.
24254 (sendmail-query-once-function): New variable.
24256 2011-06-29 Glenn Morris <rgm@gnu.org>
24258 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24260 * ses.el (top-level): Require cl when compiling.
24261 (ses-set-localvars): Fix error statement.
24262 Call it at compile time to silence a storm of warnings.
24264 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24266 * window.el (normalize-live-buffer): Rename to
24267 window-normalize-buffer.
24268 (normalize-live-frame): Rename to window-normalize-frame.
24269 (normalize-any-window): Rename to window-normalize-any-window.
24270 (normalize-live-window): Rename to window-normalize-live-window.
24271 (make-window-atom): Rename to window-make-atom.
24272 (window-resize-reset): Rename to window--resize-reset.
24273 (window-resize-reset-1): Rename to window--resize-reset-1.
24274 (resize-mini-window): Rename to window--resize-mini-window.
24275 (resize-subwindows-skip-p): Rename to
24276 window--resize-subwindows-skip-p.
24277 (resize-subwindows-normal): Rename to
24278 window--resize-subwindows-normal.
24279 (resize-subwindows): Rename to window--resize-subwindows.
24280 (resize-other-windows): Rename to window--resize-siblings.
24281 (resize-this-window): Rename to window--resize-this-window.
24282 (resize-root-window): Rename to window--resize-root-window.
24283 (resize-root-window-vertically): Rename to
24284 window--resize-root-window-vertically.
24285 (normalize-buffer-to-display): Rename to
24286 window-normalize-buffer-to-display.
24287 (normalize-buffer-to-switch-to): Rename to
24288 window-normalize-buffer-to-switch-to.
24289 Correspondingly update all callers of the functions listed
24291 (display-buffer-alist, display-buffer-normalize-arguments)
24292 (display-buffer-normalize-options, display-buffer)
24293 (display-buffer-alist-set): Use "function" instead of
24296 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24298 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24299 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24300 debbugs.gnu.org. Mention acknowledgment email.
24302 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24304 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24305 buffer multibyteness, since it shouldn't matter.
24307 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24309 * window.el (display-buffer-in-side-window): Handle dedicated
24310 windows as in display-buffer-reuse-window.
24311 (display-buffer-normalize-alist): Use value of override
24313 (display-buffer-normalize-specifiers): Use value of
24314 other-window-means-other-frame specifier.
24315 (display-buffer-alist): Rewrite some texts in widgets.
24316 (display-buffer): Spread arguments when calling function
24317 specified by fun-with-args.
24319 2011-06-28 Deniz Dogan <deniz@dogan.se>
24321 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24324 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24325 selectors (Bug#5732).
24326 (css-proprietary-nmstart-re): Use `regexp-opt'.
24328 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24330 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24331 (eshell-ls-date-format): New defcustom.
24332 (eshell-ls-file): Use it.
24334 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24336 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24338 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24340 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24341 (ange-ftp-make-tmp-name): New arg.
24342 (ange-ftp-file-local-copy): Use it.
24344 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24346 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24347 no-conversion (Bug#8870).
24349 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24351 * window.el (window-right, window-left, window-child)
24352 (window-child-count, window-last-child)
24353 (window-iso-combination-p, walk-window-tree-1)
24354 (window-atom-check-1, window-tree-1, delete-window)
24355 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24356 new naming conventions - window-vchild, window-hchild,
24357 window-next and window-prev are now called window-top-child,
24358 window-left-child, window-next-sibling and window-prev-sibling
24360 (resize-window-reset): Rename to window-resize-reset.
24361 (resize-window-reset-1): Rename to window-resize-reset-1.
24362 (resize-window): Rename to window-resize.
24363 (window-min-height, window-min-width)
24364 (resize-mini-window, resize-this-window, resize-root-window)
24365 (resize-root-window-vertically, adjust-window-trailing-edge)
24366 (enlarge-window, shrink-window, maximize-window)
24367 (minimize-window, delete-window, quit-restore-window)
24368 (split-window, balance-windows, balance-windows-area-adjust)
24369 (balance-windows-area, window-state-put-2)
24370 (display-buffer-even-window-sizes, display-buffer-set-height)
24371 (display-buffer-set-width, set-window-text-height)
24372 (fit-window-to-buffer): Rename all "resize-window" prefixed
24373 calls to use the "window-resize" prefix convention.
24374 (display-buffer-alist): Fix symbol for label specifier.
24375 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24376 corresponding specifier.
24377 Reported by Juanma Barranquero <lekktu@gmail.com>.
24379 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24381 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24383 (ses-call-printer): Does not pass an empty string to formatter when the
24384 cell is empty to keep from barking printer Calc math-format-value.
24386 2011-06-27 Richard Stallman <rms@gnu.org>
24388 * battery.el (battery-mode-line-limit): New variable.
24389 (battery-update): Handle it.
24391 * mail/rmailmm.el (rmail-mime-process-multipart):
24392 Handle truncated messages.
24394 2011-06-27 Glenn Morris <rgm@gnu.org>
24396 * progmodes/flymake.el (flymake-err-line-patterns):
24397 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24399 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24401 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24402 (ses--clean-!, ses--clean-_): New functions.
24403 (ses-range): Add configurability of readout order, and conversion
24406 * ses.el (ses-repair-cell-reference-all): New function.
24407 (ses-cell-symbol): Set macro as safe, so that it can be used in
24410 * ses.el: Update cycle detection algorithm.
24411 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24412 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24413 (ses-set-localvars): New function.
24414 (ses-make-cell): Add property-list as a cell element.
24415 (ses-cell-property-get-fun, ses-cell-property-get)
24416 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24417 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24419 (ses-cell-property-set, ses-cell-property-pop)
24420 (ses-cell-property-get-handle): New macro.
24421 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24422 New aliases, used for code readability.
24423 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24425 (ses-self-reference-early-detection): New defcustom.
24426 (ses-formula-references): Robustify against self-referring cells.
24427 (ses-mode): Use ses-set-localvars.
24428 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24429 before lauching the update processing.
24430 (ses-initialize-Dijkstra-attempt): New function.
24431 (ses-recalculate-cell): Update for cycle detection based on
24432 Dijkstra algorithm.
24434 * ses.el: Fix commenting and indenting convention.
24436 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24438 * bs.el (bs-cycle-next): Complete last change.
24440 2011-06-27 Drew Adams <drew.adams@oracle.com>
24442 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24444 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24446 * net/network-stream.el (network-stream-open-starttls):
24447 Don't re-get capabilities unless we've reestablished connection.
24448 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24450 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24451 to binary to possibly avoid line encoding issues on Windows (among
24454 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24456 * net/network-stream.el (open-network-stream): Return an :error
24457 saying what the problem was, if possible.
24459 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24462 * net/network-stream.el (network-stream-open-starttls): If we
24463 wanted to use STARTTLS, and the server offered it, but we weren't
24464 able to because we had no STARTTLS support, then close the connection.
24465 (open-network-stream): Return an :error element, if present.
24467 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24469 * hl-line.el (hl-line-sticky-flag): Doc fix.
24470 (global-hl-line-sticky-flag): New option (Bug#8323).
24471 (global-hl-line-highlight): Obey it.
24473 * vc/vc.el (vc-revert-show-diff): Default to t.
24475 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24477 * allout-widgets.el (allout-widgets-post-command-business):
24478 Stop decorating intermediate isearch matches. They're not being
24479 undecorated when an isearch is continued past, and isearch
24480 automatically collapses them. This leads to "widget leaks", where
24481 decorated items accumulate in collapsed areas. Lines with lots of
24482 hidden widgets can slow down cursor travel, substantially.
24483 Too much complicated machinery would be needed to ensure undecoration,
24484 so we're doing without this nicety.
24486 (allout-widgets-tally-string): Don't try to do a hash-table-count
24487 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24488 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24489 *Messages* when allout-widgets-maintain-tally is t.
24491 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24493 * window.el (display-buffer-normalize-argument): Rename to
24494 display-buffer-normalize-arguments. Handle special meaning of
24495 LABEL argument. Respect special-display-function when popping up
24496 a new frame. Fix code searching for a window showing the buffer
24498 (display-buffer-normalize-specifiers):
24499 Call display-buffer-normalize-arguments.
24500 (display-buffer-in-window): Don't undedicate the window if its
24501 buffer remains the same.
24502 Reported by Drew Adams <drew.adams@oracle.com>.
24503 (display-buffer-alist): Add choice for same-window macro
24505 (display-buffer): Mention special meaning of LABEL argument in
24506 doc-string. Fix quoting. Don't pop up a new frame even as
24509 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24511 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24512 avoid deleting the current window in some cases (bug#8911).
24514 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24516 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24519 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24521 * net/network-stream.el (network-stream-open-starttls):
24522 Use built-in TLS support if `gnutls-available-p' is true.
24523 (network-stream-open-tls): Ditto.
24525 2011-06-26 Leo Liu <sdl.web@gmail.com>
24527 * register.el (registerv): New struct.
24528 (registerv-make): New function.
24529 (jump-to-register, describe-register-1, insert-register):
24530 Support the jump-func, print-func and insert-func slot of a registerv
24533 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24535 * vc/vc.el (vc-revert-show-diff): New defcustom.
24536 (vc-diff-internal): New arg specifying diff buffer.
24537 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24538 reuse an existing *vc-diff* buffer (Bug#8927).
24540 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24542 2011-06-26 Glenn Morris <rgm@gnu.org>
24544 * progmodes/f90.el (f90-critical-indent): New option.
24545 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24546 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24547 (f90-mode): Doc fix.
24548 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24549 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24550 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24551 (f90-match-end): Handle block, critical.
24553 2011-06-25 Glenn Morris <rgm@gnu.org>
24555 * calendar/diary-lib.el (diary-included-files): Doc fix.
24556 (diary-include-files): New function, extracted from
24557 diary-include-other-diary-files and diary-mark-included-diary-files.
24558 (diary-include-other-diary-files, diary-mark-included-diary-files):
24559 Just call diary-include-files.
24560 (diary-mark-entries): Reset diary-included-files on first call.
24562 * calendar/diary-lib.el (diary-mark-entries)
24563 (diary-mark-included-diary-files):
24564 Visit included diary-files in temp buffers.
24566 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24567 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24568 (f90-start-block-re, f90-imenu-generic-expression)
24569 (f90-looking-at-program-block-start, f90-no-block-limit):
24570 Add support for submodules.
24572 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24573 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24575 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24577 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24578 buffer-file-type before setting its value, to avoid disastrous
24579 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24581 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24583 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24585 * ses.el (ses-unload-function):
24586 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24588 * proced.el (proced-unload-function):
24589 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24591 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24593 * server.el (server-create-window-system-frame): Add parameters arg.
24594 (server-process-filter): Doc fix. Handle frame-parameters.
24596 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24598 Fix bug#8730, bug#8781.
24600 * loadhist.el (unload--set-major-mode): New function.
24601 (unload-feature): Use it.
24603 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24604 (python-unload-function): New function.
24606 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24608 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24610 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24612 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24613 the candidates list.
24615 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24617 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24619 2011-06-23 Richard Stallman <rms@gnu.org>
24621 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24622 (rmail-variables): Set next-error-move-function.
24623 (rmail-what-message): Take argument POS.
24624 (rmail-next-error-move): New function.
24626 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24628 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24629 messages for adjacent non-terminals.
24631 2011-06-23 Richard Stallman <rms@gnu.org>
24633 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24634 (rmail-show-message-1): Preserve buffer modified flag.
24635 (rmail-start-mail): Don't specify use of rmail-mail-return;
24636 that's done by mail-bury now.
24637 (rmail-mail-return): Handle arg NEWBUF.
24639 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24641 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24644 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24646 * window.el (get-lru-window, get-mru-window)
24647 (get-largest-window): Never return a minibuffer window.
24648 (display-buffer-pop-up-window): Fix a bug that could lead to
24649 reusing the minibuffer window.
24650 (display-buffer): Pass original specifier argument to
24651 display-buffer-function instead of the normalized one.
24652 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24654 2011-06-22 Leo Liu <sdl.web@gmail.com>
24656 * minibuffer.el (completing-read-function)
24657 (completing-read-default): Move from minibuf.c.
24659 2011-06-22 Richard Stallman <rms@gnu.org>
24661 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24662 to Rmail even if not started by a special Rmail command.
24664 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24665 Copy the buffer currently showing just one message.
24667 2011-06-22 Roland Winkler <winkler@gnu.org>
24669 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24670 (bibtex-clean-entry): First delete the old key so that a
24671 customized algorithm for generating the new key does not get
24672 confused by the old key.
24673 (bibtex-url): Obey regexp of first step.
24674 (bibtex-search-entries): Do not use add-to-list with local
24677 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24679 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24680 stored a user name, then query for the password first, instead of
24681 waiting for SMTP to give an error message and the trying again.
24683 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24685 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24686 BUFFER in call-process.
24688 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24690 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24692 (smtpmail-try-auth-methods): Require user name and password from
24695 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24697 * window.el (display-buffer-default-specifiers)
24698 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24699 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24700 (split-window): Normalize SIDE argument (Bug#8916).
24702 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24703 (special-display-frame-alist, special-display-popup-frame):
24704 Remove duplicate declarations. These are now in window.el.
24706 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24708 * mail/smtpmail.el (smtpmail-via-smtp):
24709 Set :use-starttls-if-possible so that we always use STARTTLS if the
24710 server supports it. SMTP servers that support STARTTLS commonly
24713 * net/network-stream.el (network-stream-open-starttls): Support
24714 upgrading to STARTTLS always, even if we don't have built-in support.
24715 (open-network-stream): Add the :always-query-capabilities keyword.
24717 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24718 upgrades with `open-network-stream', and rely solely on
24719 auth-source for all credentials. Big changes throughout the file,
24721 (smtpmail-auth-credentials): Remove.
24722 (smtpmail-starttls-credentials): Remove.
24723 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24726 * net/network-stream.el (network-stream-open-starttls):
24727 Provide support for client certificates both for external and built-in
24729 (auth-source): Require.
24730 (open-network-stream): Document the :client-certificate keyword.
24731 (network-stream-certificate): Change cert-cert to cert and
24734 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24736 * net/tramp-cache.el (top): Don't load the persistency file when
24737 "emacs -Q" has been called.
24739 2011-06-21 Tim Harper <timcharper@gmail.com>
24741 * term/ns-win.el (ns-initialize-window-system):
24742 Set application-specific `ApplePressAndHoldEnabled' system
24743 resource to NO as it is not yet supported by the NS port.
24745 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24747 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24748 (list-dynamic-libraries): ...not here.
24750 2011-06-21 Leo Liu <sdl.web@gmail.com>
24752 * subr.el (sha1): Implement sha1 using secure-hash.
24754 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24756 * window.el (display-buffer-alist): In default value do not
24757 enforce searching a window on any but the selected frame.
24758 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24759 (display-buffer-select-window): Remove function.
24760 (display-buffer-in-window): When a window on another frame gets
24761 reused, do not select it any more but just raise its frame if
24762 necessary (Bug#8851) and (Bug#8856).
24763 (display-buffer-normalize-options): Handle pop-up-frames related
24764 options more faithfully.
24765 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24766 window if it is on another frame.
24767 (display-buffer-alist, display-buffer-default-specifiers):
24768 Don't make new frame unsplittable by default.
24769 (display-buffer-normalize-argument): Fix doc-string typo and use
24770 'same-frame-other-window instead of 'other-window when associating
24771 with display-buffer-macro-specifiers.
24773 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24775 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24777 (5x5-mode-map, 5x5-mode-menu): Bind them.
24778 (5x5-draw-grid): Tweak the solver's rendering.
24780 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24782 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24783 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24785 2011-06-21 Drew Adams <drew.adams@oracle.com>
24787 * menu-bar.el: Use function variable instead of switch-to-buffer.
24788 (menu-bar-select-buffer-function): New variable.
24789 (menu-bar-update-buffers): Use it (bug#8876).
24791 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24793 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24796 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24798 * x-dnd.el (x-dnd-version-from-flags)
24799 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24800 and long as number (Bug#8899).
24801 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24803 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24805 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24806 (completion-try-completion, completion-all-completions): Compute the
24807 metadata argument if it's missing; make it optional (bug#8795).
24809 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24810 (widget-complete): Use new :completion-function property.
24811 (widget-completions-at-point): New function.
24812 (default): Use :completion-function instead of :complete.
24813 (widget-default-completions): Rename from widget-default-complete;
24815 (widget-string-complete, widget-file-complete, widget-color-complete):
24817 (file, symbol, function, variable, coding-system, color):
24818 * international/mule-cmds.el (default-input-method, charset)
24819 (language-info-custom-alist):
24820 * cus-edit.el (face): Use new property :completions.
24822 * progmodes/pascal.el (pascal-completions-at-point): New function.
24823 (pascal-mode): Use it.
24824 (pascal-mode-map): Use completion-at-point.
24825 (pascal-toggle-completions): Make obsolete.
24826 (pascal-complete-word, pascal-show-completions):
24827 * progmodes/octave-mod.el (octave-complete-symbol):
24828 Redefine as obsolete alias.
24829 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24830 Signal absence of completion info for old Octave,
24831 (inferior-octave-complete): Redefine as obsolete alias.
24832 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24833 (meta-completions-at-point): Rename from meta-complete-symbol and
24834 adapt it for use on completion-at-point-functions.
24835 (meta-common-mode): Use it.
24836 (meta-looking-at-backward, meta-match-buffer): Remove.
24837 (meta-complete-symbol): Redefine as obsolete alias.
24838 (meta-common-mode-map): Use completion-at-point.
24839 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24840 (makefile-mode-map): Use completion-at-point.
24841 (makefile-completions-at-point): Rename from makefile-complete and
24842 adapt it for use on completion-at-point-functions.
24843 (makefile-mode): Use it.
24844 (makefile-complete): Redefine as obsolete alias.
24846 2011-06-20 Deniz Dogan <deniz@dogan.se>
24848 * net/rcirc.el: Delete trailing whitespaces once and for all.
24850 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24852 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24854 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24856 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24858 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24860 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24862 * window.el (display-buffer-other-window-means-other-frame):
24863 Call display-buffer-normalize-alist.
24864 (display-buffer-normalize-specifiers-1): Rename to
24865 display-buffer-normalize-argument. New argument other-frame.
24867 (display-buffer-normalize-specifiers-2): Rename to
24868 display-buffer-normalize-options.
24869 (display-buffer-normalize-alist-1): New function.
24870 (display-buffer-normalize-specifiers-3): Rename to
24871 display-buffer-normalize-alist.
24872 Call display-buffer-normalize-alist-1.
24873 (display-buffer-normalize-options-inhibit): New variable.
24874 (display-buffer-normalize-specifiers): Rewrite calling
24875 display-buffer-normalize-alist,
24876 display-buffer-normalize-argument, and
24877 display-buffer-normalize-options. Don't call the latter if
24878 display-buffer-normalize-options-inhibit is non-nil.
24879 (frame-auto-delete): New option.
24880 (window-deletable-p): Use frame-auto-delete.
24881 (window-list-no-nils, window-state-ignored-parameters)
24882 (window-state-get-1, window-state-get, window-state-put-list)
24883 (window-state-put-1, window-state-put-2, window-state-put):
24885 (display-buffer-normalize-options): Move special-display-p group
24886 after pop-up-frame group (Bug#8851) and (Bug#8856).
24888 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24890 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24892 (rx-submatch-n): New function.
24895 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24898 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24900 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24902 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24903 anytime existing face settings are present (Bug#8889).
24905 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24906 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24907 Remove unused argument.
24909 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24911 * window.el (display-buffer-default-specifiers):
24912 Remove pop-up-frame. Add pop-up-window-min-height,
24913 pop-up-window-min-width, and another reuse-window specifier
24914 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24915 (display-buffer-normalize-specifiers-2):
24916 Handle split-height-threshold and split-width-threshold also when
24917 pop-up-windows is unset. Add a reuse-window specifier for the
24918 case popping up a new window fails.
24919 (special-display-popup-frame): Remove double quoting.
24920 (display-buffer-normalize-specifiers-1): Fix thinko.
24922 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24924 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24925 according to comint-completion-addsuffix.
24927 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24928 (pcomplete-suffix-list): Mark as obsolete.
24929 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24930 pcomplete-seen in the closure.
24931 (pcomplete-comint-setup): Setup completion-at-point as well.
24932 (pcomplete--entries): New function.
24933 (pcomplete--env-regexp): New var.
24934 (pcomplete-entries): Rewrite to work with partial-completion and
24935 without relying on pcomplete-suffix-list.
24936 (pcomplete-pare-list): Remove, unused.
24938 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24940 * window.el (display-buffer-alist): Set pop-up-window-min-height
24941 and pop-up-window-min-width in default value. Reported by
24942 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24943 other-window-means-other-frame.
24944 (display-buffer-macro-specifiers): Comment out entry for
24945 other-window specifier.
24946 (display-buffer-other-window-means-other-frame): New function.
24947 (display-buffer-normalize-specifiers-1): New arguments
24948 buffer-name and label. Treat other-window case specially.
24949 (display-buffer-normalize-specifiers-2): Treat other-window case
24951 (display-buffer-normalize-specifiers-3): New function.
24952 (display-buffer-normalize-specifiers):
24953 Call display-buffer-normalize-specifiers-3.
24955 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24957 * window.el (same-window-p): Fix two typos introduced when
24958 adding with-no-warnings.
24959 (display-buffer-normalize-specifiers-1): Don't check
24960 pop-up-frames for 'unset initialization.
24961 (display-buffer-normalize-specifiers-2): Major rewrite using
24962 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24963 (pop-up-frames, display-buffer-reuse-frames)
24964 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24965 Suggested by David Engster <deng@randomsample.de>.
24966 (even-window-heights): Initialize to 'unset.
24967 (display-buffer-alist-set): Handle new 'unset initializations.
24968 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24971 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24973 * window.el (display-buffer-normalize-specifiers-1):
24974 Respect current value of pop-up-frames for most reasonable values of
24975 second argument of display-buffer (Bug#8865).
24976 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24977 (switch-to-buffer-other-window-same-frame)
24978 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24980 (display-buffer): Don't check noninteractive when calling
24981 display-buffer-pop-up-frame.
24982 (display-buffer-pop-up-frame): Never pop up a frame in
24983 noninteractive mode (Bug#8857).
24984 (enlarge-window, shrink-window): Don't report an error when the
24985 window can't be resized as requested (Bug#8862).
24987 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24989 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24991 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24993 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24995 2011-06-15 Alan Mackenzie <acm@muc.de>
24997 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24998 for declarators, disable knr checking to speed up for normal files.
24999 2: Refactor, replacing a sequence of nested if forms by a cond form.
25001 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
25003 * net/network-stream.el (open-network-stream): Add the keyword
25004 :always-query-capabilities for the case where you want to force a
25005 `plain' network connection, but the protocol still requires the
25006 capabilitiy command (i.e., SMTP and EHLO).
25008 * subr.el (process-live-p): Rename from `process-alive-p' for
25009 consistency with other `-live-p' functions.
25011 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
25013 * window.el (same-window-buffer-names, same-window-regexps)
25014 (special-display-frame-alist, special-display-popup-frame)
25015 (special-display-function, special-display-buffer-names)
25016 (special-display-regexps, pop-up-frame-alist)
25017 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
25018 (pop-up-windows, split-window-preferred-function)
25019 (split-height-threshold, split-width-threshold, even-window-heights)
25020 (display-buffer-mark-dedicated): Don't encourage the use of
25021 display-buffer-alist from Elisp code.
25023 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
25025 * progmodes/python.el (python-mode): Derive from prog-mode.
25026 * progmodes/ps-mode.el (ps-mode):
25027 * progmodes/mixal-mode.el (mixal-mode):
25028 * progmodes/cfengine.el (cfengine-mode):
25029 * progmodes/ld-script.el (ld-script-mode): Likewise.
25031 2011-06-15 Martin Rudalics <rudalics@gmx.at>
25033 * window.el (display-buffer-alist): Trim default value to avoid
25034 popping up a new frame (Bug#8857) or reusing an arbitrary window
25036 (display-buffer): Do not fall back on popping up a new frame in
25037 batch mode (Bug#8857).
25039 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
25041 * cus-theme.el (describe-theme-1): Use custom-theme-p.
25042 (custom-theme-summary): New function.
25043 (customize-themes): Use it.
25045 2011-06-13 Glenn Morris <rgm@gnu.org>
25047 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
25049 2011-06-13 Martin Rudalics <rudalics@gmx.at>
25051 * help.el (help-window): Remove variable.
25052 (help-window-point-marker, temp-buffer-max-height)
25053 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
25054 (help-print-return-message): Don't set help-window.
25055 (resize-temp-buffer-window): Rewrite cod eand doc-string.
25056 (help-window-setup-finish): Remove.
25057 (help-window-display-message, help-window-setup)
25058 (with-help-window): Major rewrite based on new
25059 display-buffer-window variable.
25061 * help-mode.el (help-mode-finish): Remove help-window related
25064 * view.el (view-exits-all-viewing-windows): Remove reference to
25065 view-return-to-alist in doc-string.
25066 (view-return-to-alist): Make obsolete.
25067 (view-buffer): Call pop-to-buffer-same-window and remove
25069 (view-buffer-other-window): Call pop-to-buffer-other-window and
25070 simplify code. Ignore second argument.
25071 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
25072 simplify code. Ignore second argument.
25073 (view-return-to-alist-update): Make obsolete.
25074 (view-mode-enter): Rename second argument to QUIT-RESTORE.
25075 Rewrite using quit-restore window parameters.
25076 (view-mode-exit): Rename second argument to EXIT-ONLY.
25077 Rewrite using quit-restore-window.
25078 (View-exit, View-exit-and-edit, View-leave, View-quit)
25079 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
25080 appropriate arguments.
25081 (view-end-message): Use quit-restore window parameter.
25083 * window.el (display-buffer-function): Rewrite doc-string.
25084 (display-buffer-window, display-buffer-alist): New variables.
25085 (display-buffer-split-specifiers)
25086 (display-buffer-side-specifiers)
25087 (display-buffer-macro-specifiers): New constants.
25088 (display-buffer-even-window-sizes, display-buffer-set-height)
25089 (display-buffer-set-width, display-buffer-select-window)
25090 (display-buffer-in-window, display-buffer-reuse-window)
25091 (display-buffer-split-window-1, display-buffer-split-window)
25092 (display-buffer-split-atom-window, display-buffer-pop-up-window)
25093 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
25094 (display-buffer-in-side-window, normalize-buffer-to-display)
25095 (display-buffer-normalize-specifiers-1)
25096 (display-buffer-normalize-specifiers-2)
25097 (display-buffer-normalize-specifiers, display-buffer-frame):
25099 (display-buffer): Major rewrite.
25100 (display-buffer-other-window, display-buffer-other-frame)
25101 (pop-to-buffer, switch-to-buffer-other-window)
25102 (switch-to-buffer-other-frame): Rewrite.
25103 (display-buffer-same-window, display-buffer-same-frame)
25104 (display-buffer-same-frame-other-window)
25105 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
25106 (pop-to-buffer-other-window)
25107 (pop-to-buffer-same-frame-other-window)
25108 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
25109 (switch-to-buffer-other-window-same-frame): New functions.
25110 (same-window-p, special-display-p): Rewrite disabling warnings.
25112 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
25113 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
25115 (same-window-buffer-names, same-window-regexps)
25116 (special-display-frame-alist, special-display-popup-frame)
25117 (special-display-function, special-display-buffer-names)
25118 (special-display-regexps, pop-up-frame-alist)
25119 (pop-up-frame-function, split-window-preferred-function)
25120 (split-height-threshold, split-width-threshold)
25121 (even-window-heights): Make obsolete.
25123 2011-06-12 Glenn Morris <rgm@gnu.org>
25125 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
25126 Misc simplifications.
25128 2011-06-12 Martin Rudalics <rudalics@gmx.at>
25130 * window.el (window-safely-shrinkable-p): Restore function which
25131 was inadvertently removed in change from 2011-06-11. Declare as
25134 * calendar/calendar.el (calendar-generate-window):
25135 Use window-iso-combined-p instead of combination of one-window-p and
25136 window-safely-shrinkable-p.
25138 2011-06-12 Glenn Morris <rgm@gnu.org>
25140 * progmodes/fortran.el (fortran-mode-syntax-table):
25141 * progmodes/f90.el (f90-mode-syntax-table):
25142 Set % to punctuation. (Bug#8820)
25143 (f90-find-tag-default): Remove, no longer needed.
25145 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
25147 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
25149 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
25151 * image.el (image-animated-p): Return animation delay in seconds.
25152 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
25153 (image-animate-timeout): Remove DELAY argument. Don't assume
25154 every subimage has the same delay; get it from image-animated-p.
25155 (image-animate): Caller changed.
25157 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
25159 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
25160 to ignored backtrace functions.
25162 2011-06-11 Glenn Morris <rgm@gnu.org>
25164 * calendar/appt.el (appt-disp-window-function): Doc fix.
25165 (appt-check): Handle overlapping appointments. (Bug#8337)
25167 2011-06-11 Martin Rudalics <rudalics@gmx.at>
25169 * window.el (window-tree-1, window-tree): New functions, moving
25170 the latter to window.el.
25171 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
25172 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
25173 (bw-refresh-edges): Remove.
25174 (balance-windows-1, balance-windows-2): New functions.
25175 (balance-windows): Rewrite in terms of window tree functions,
25176 balance-windows-1 and balance-windows-2.
25177 (bw-adjust-window): Remove.
25178 (balance-windows-area-adjust): New function with functionality of
25179 bw-adjust-window but using resize-window.
25180 (set-window-text-height): Rewrite doc-string.
25181 Use normalize-live-window and resize-window.
25182 (enlarge-window-horizontally, shrink-window-horizontally):
25183 Rename argument to DELTA.
25184 (window-buffer-height): New function.
25185 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
25186 Rewrite using new window resize routines.
25187 (kill-buffer-and-window, mouse-autoselect-window-select):
25188 Use ignore-errors instead of condition-case.
25189 (quit-window): Call delete-frame instead of delete-windows-on
25190 for the only buffer on frame.
25192 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25194 * loadup.el (top-level): Load window before files for the sake
25195 of replace-buffer-in-windows.
25197 * files.el (read-buffer-to-switch)
25198 (switch-to-buffer-other-window)
25199 (switch-to-buffer-other-frame, display-buffer-other-frame):
25202 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
25203 (previous-buffer): Move to window.el.
25205 * bindings.el (unbury-buffer): Move to window.el.
25207 * window.el (delete-other-windows-vertically): Move after
25208 definition of delete-other-windows.
25209 (other-window, delete-windows-on, replace-buffer-in-windows):
25210 Move here from window.c.
25211 (record-window-buffer, unrecord-window-buffer)
25212 (set-window-buffer-start-and-point, switch-to-prev-buffer)
25213 (switch-to-next-buffer): New functions.
25214 (get-next-valid-buffer, last-buffer, next-buffer): Move here
25215 from simple.el. Call switch-to-next-buffer.
25216 (previous-buffer): Move here from simple.el.
25217 Call switch-to-prev-buffer.
25218 (bury-buffer): Move here from buffer.c. Switch to previous
25219 buffer when window cannot be deleted.
25220 (unbury-buffer): Move here from bindings.el.
25221 (ctl-x-map): Move binding for other-window from window.c to
25223 (read-buffer-to-switch, switch-to-buffer-other-window)
25224 (switch-to-buffer-other-frame): Move here from files.el.
25225 (normalize-buffer-to-switch-to): New functions.
25226 (switch-to-buffer): Move here from buffer.c.
25227 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
25229 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25231 * window.el (window-min-height, window-min-width): Move here
25232 from window.c. Add defcustoms and rewrite doc-strings.
25233 (resize-mini-window, resize-window): New functions.
25234 (adjust-window-trailing-edge, enlarge-window, shrink-window):
25235 Move here from window.c.
25236 (maximize-window, minimize-window): New functions.
25237 (delete-window, delete-other-windows, split-window): Move here
25239 (window-split-min-size): New function.
25240 (split-window-keep-point): Mention split-window-above-each-other
25241 instead of split-window-vertically.
25242 (split-window-above-each-other, split-window-vertically):
25243 Rename split-window-vertically to split-window-above-each-other
25244 and provide defalias for old definition.
25245 (split-window-side-by-side, split-window-horizontally):
25246 Rename split-window-horizontally to split-window-side-by-side
25247 and provide defalias for the old definition.
25248 (ctl-x-map): Move bindings for delete-window,
25249 delete-other-windows and enlarge-window here from window.c.
25250 Replace bindings for split-window-vertically and
25251 split-window-horizontally by bindings for
25252 split-window-above-each-other and split-window-side-by-side.
25254 * cus-start.el (all): Remove entries for window-min-height and
25255 window-min-width. Add entries for window-splits and
25258 2011-06-09 Glenn Morris <rgm@gnu.org>
25260 * calendar/appt.el (appt-mode-line): New function.
25261 (appt-check, appt-disp-window): Use it.
25263 * files.el (hack-one-local-variable-eval-safep):
25264 Allow minor-modes with explicit +/-1 arguments.
25266 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25268 * term/xterm.el (xterm): Add defgroup.
25269 (xterm-extra-capabilities): Add defcustom to supply known xterm
25270 capabilities, skip querying them, or query them (default).
25271 (terminal-init-xterm): Use it.
25272 (terminal-init-xterm-modify-other-keys): New function to set up
25273 modifyOtherKeys support to simplify `terminal-init-xterm'.
25275 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25277 * window.el (resize-window-reset, resize-window-reset-1)
25278 (resize-subwindows-skip-p, resize-subwindows-normal)
25279 (resize-subwindows, resize-other-windows, resize-this-window)
25280 (resize-root-window, resize-root-window-vertically)
25281 (window-deletable-p, window-or-subwindow-p)
25282 (frame-root-window-p): New functions.
25284 2011-06-09 Glenn Morris <rgm@gnu.org>
25286 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25287 (ange-ftp-get-files): Use it.
25289 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25291 * mail/sendmail.el (mail-recover-1, mail-recover):
25292 * files.el (recover-file, recover-session):
25293 Handle dired-listing-switches not being just a single short option.
25295 2011-06-09 Glenn Morris <rgm@gnu.org>
25297 * calendar/appt.el (appt-display-message, appt-disp-window):
25298 Handle lists of appointments.
25300 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25302 * window.el (one-window-p): Move down in code.
25303 Rewrite doc-string.
25304 (window-current-scroll-bars): Rewrite doc-string.
25305 Normalize live window argument.
25306 (walk-windows, get-window-with-predicate, count-windows):
25307 Rewrite doc-string. Use window-list-1.
25308 (window-in-direction-2, window-in-direction, get-mru-window):
25311 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25313 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25314 Doc fix (Bug#8713).
25316 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25318 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25320 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25322 * loadhist.el (unload-feature-special-hooks):
25323 Add `comint-output-filter-functions'.
25325 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25327 * calendar/appt.el (appt-check): Move some initializations into the let.
25329 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25331 * window.el (window-height): Defalias to window-total-height.
25332 (window-width): Defalias to window-body-width.
25334 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25336 * image-mode.el (image-toggle-animation): New command.
25337 (image-mode-map): Bind it to RET.
25338 (image-mode): Update message.
25339 (image-toggle-display-image): Avoid a spurious cache flush.
25340 (image-transform-rotation): Doc fix.
25341 (image-transform-properties): Return quickly in the normal case.
25342 (image-animate-loop): Rename from image-animate-max-time.
25344 * image.el (image-animate-max-time): Move to image-mode.el.
25345 (create-animated-image): Remove unnecessary function.
25346 (image-animate): Rename from image-animate-start. New arg.
25347 (image-animate-stop): Remove; just use image-animate-timer.
25348 (image-animate-timer): Use car-safe.
25349 (image-animate-timeout): Rename argument.
25351 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25353 * window.el (get-lru-window, get-largest-window): Move here from
25354 window.c. Rename first argument to ALL-FRAMES.
25355 Rephrase doc-strings.
25356 (get-buffer-window-list): Rewrite using window-list-1.
25357 Rephrase doc-string.
25358 (window-safe-min-height, window-safe-min-width): New constants.
25359 (window-size-ignore, window-min-size, window-min-size-1)
25360 (window-sizable, window-sizable-p, window-size-fixed-1)
25361 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25362 (window-max-delta-1, window-max-delta, window-resizable)
25363 (window-resizable-p, window-total-height, window-total-width)
25364 (window-body-width): New functions.
25365 (window-full-height-p, window-full-width-p): Rewrite using
25367 (window-body-height): Rewrite using window-body-size.
25369 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25371 * window.el (window-right, window-left, window-child)
25372 (window-child-count, window-last-child, window-any-p)
25373 (normalize-live-buffer, normalize-live-frame)
25374 (normalize-any-window, normalize-live-window)
25375 (window-iso-combination-p, window-iso-combined-p)
25376 (window-iso-combinations)
25377 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25378 (windows-with-parameter, window-with-parameter)
25379 (window-atom-root, make-window-atom, window-atom-check-1)
25380 (window-atom-check, window-side-check, window-check):
25382 (ignore-window-parameters, window-sides, window-sides-vertical)
25383 (window-sides-slots): New variables.
25384 (window-size-fixed): Move down in code. Minor doc-string fix.
25386 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25388 * comint.el (comint-dynamic-complete-as-filename)
25389 (comint-dynamic-complete-filename): Correctly call
25390 completion-in-region.
25392 2011-06-05 Deniz Dogan <deniz@dogan.se>
25394 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25397 2011-06-05 Deniz Dogan <deniz@dogan.se>
25399 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25400 (rcirc): Use it to prompt for encryption.
25402 2011-06-05 Roland Winkler <winkler@gnu.org>
25404 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25405 (bibtex-search-entries): New command bound to C-c C-a.
25406 (bibtex-display-entries): New function.
25408 2011-06-05 Roland Winkler <winkler@gnu.org>
25410 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25411 (bibtex-insert-kill): After yanking insert newline if necessary.
25412 (bibtex-initialize): Call bibtex-string-files-init only once.
25413 (bibtex-mode): Do not call easy-menu-add.
25414 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25415 (bibtex-yank): Set arg properly if nil.
25417 2011-06-05 Roland Winkler <winkler@gnu.org>
25419 * textmodes/bibtex.el (bibtex-search-entry-globally):
25421 (bibtex-search-entry): Use it.
25423 2011-06-05 Roland Winkler <winkler@gnu.org>
25425 * textmodes/bibtex.el (bibtex-entry-format): New option
25427 (bibtex-format-entry, bibtex-reformat): Honor this option.
25428 (bibtex-parse-entry): Return fields in proper order.
25430 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25432 * doc-view.el (doc-view-remove-if): Move computation of result out
25433 of `dolist' to silence misleading lexical-binding warning.
25435 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25437 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25438 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25440 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25442 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25445 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25447 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25448 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25449 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25450 (tramp-parse-putty):
25451 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25452 (tramp-completion-function-alist-ssh)
25453 (tramp-completion-function-alist-telnet)
25454 (tramp-completion-function-alist-su)
25455 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25458 * net/tramp-ftp.el:
25460 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25461 load "tramp.el" `tramp-set-completion-function'.
25463 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25465 * shell.el: Require and use pcomplete.
25466 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25467 (shell-completion-vars): Set pcomplete-default-completion-function.
25469 2011-06-04 Deniz Dogan <deniz@dogan.se>
25471 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25474 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25476 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25478 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25480 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25481 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25482 * vc/log-view.el (log-view-beginning-of-defun):
25483 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25484 (smerge-refine-forward, smerge-refine-chopup-region):
25485 Silence warning for unused `dotimes' counter variables.
25487 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25489 * net/tramp.el (tramp-with-progress-reporter): Rename from
25490 with-progress-reporter. Use `declare'.
25491 * net/tramp-smb.el:
25493 * net/tramp-gvfs.el: Update all uses.
25495 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25497 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25498 buffer isn't killed before making it current.
25500 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25502 Silence various byte-compiler warnings.
25503 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25504 `access-type' and new obsolescence format.
25505 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25507 (byte-compile-check-variable): New `access-type' argument.
25508 Only warn if the access-type is obsolete.
25509 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25510 (byte-compile-variable-set): Adjust callers.
25511 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25512 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25513 setting it as obsolete.
25514 * simple.el (minibuffer-completing-symbol):
25515 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25516 access as obsolete.
25517 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25519 * international/quail.el (quail-mouse-choose-completion): Remove unused
25520 code referring to obsolete var.
25521 (quail-choose-completion-string): Remove.
25522 * server.el (server-clients-with, server-kill-buffer-query-function)
25523 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25524 * proced.el (proced-send-signal):
25525 * emacs-lisp/lisp.el (lisp-complete-symbol):
25526 Replace completion-annotate-function with completion-extra-properties.
25528 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25530 * simple.el (goto-line): Use read-number.
25531 (overriding-map-is-bound): Remove.
25532 (saved-overriding-map): Change default.
25533 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25534 Take the map as argument.
25535 (universal-argument, negative-argument, digit-argument): Use it.
25536 (restore-overriding-map): Adjust.
25537 (do-auto-fill): Use fill-forward-paragraph.
25538 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25540 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25541 (minibuffer-inactive-mode): New major mode.
25542 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25543 the *Messages* buffer" hack.
25544 (mouse-popup-menubar): Don't burp if the event is a normal key.
25546 Miscellaneous tweaks.
25547 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25548 lexical scoping as in subr.el's dolist and dotimes.
25549 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25550 Silence compiler warning.
25551 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25552 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25553 * international/ccl.el (ccl-compile): Trivial simplification.
25554 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25555 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25556 `printflag' argument.
25557 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25558 Purecopy the whole obsolescence data.
25560 2011-06-01 Leo Liu <sdl.web@gmail.com>
25562 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25563 improve doc-string as suggested by Marco Pessotto
25564 <melmothx@gmail.com>.
25565 (rcirc-print): Fix last change.
25567 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25569 * minibuffer.el (complete-with-action): Return nil for the metadata and
25570 boundaries of non-functional tables.
25571 (completion-table-dynamic): Return nil for the metadata.
25572 (completion-table-with-terminator): Add default case, using
25573 complete-with-action.
25574 (completion--metadata): New function.
25575 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25576 to try and avoid pathological performance problems.
25577 (completion--embedded-envvar-table): Return `category' metadata.
25579 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25581 * subr.el (process-alive-p): New tiny convenience function.
25583 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25585 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25586 content but also its previous major mode.
25588 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25590 * emacs-lisp/debug.el (debug): Restore the previous content of the
25591 *Backtrace* buffer when we exit with C-M-c.
25593 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25595 * minibuffer.el: Add metadata method to completion tables.
25596 (completion-category-overrides): New defcustom.
25597 (completion-metadata, completion--field-metadata)
25598 (completion-metadata-get, completion--styles)
25599 (completion--cycle-threshold): New functions.
25600 (completion-try-completion, completion-all-completions):
25601 Add `metadata' argument to choose completion-styles.
25602 (completion--do-completion): Use metadata to choose cycling.
25603 (completion-all-sorted-completions): Use metadata for sorting.
25604 Remove :completion-cycle-penalty which is not needed any more.
25605 (completion--try-word-completion): Add `metadata' argument.
25606 (minibuffer-completion-help): Check metadata for annotation function
25608 (completion-file-name-table): Return `category' metadata.
25609 (minibuffer-completing-file-name): Make obsolete.
25610 * simple.el (minibuffer-completing-symbol): Make obsolete.
25611 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25612 completion-try-completion.
25614 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25616 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25618 2011-05-30 Leo Liu <sdl.web@gmail.com>
25620 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25621 (rcirc-print): Decode all incoming messages (bug#8744).
25622 (rcirc-decode-coding-system): Allow value nil for automatic coding
25625 2011-06-01 Glenn Morris <rgm@gnu.org>
25627 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25629 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25631 * image.el (image-animate-max-time): Allow nil and t values.
25633 (create-animated-image): Doc fix.
25634 (image-animate-start): Remove second arg; just use
25635 image-animate-max-time.
25636 (image-animate-timeout): Doc fix. Args changed.
25638 * image-mode.el (image-toggle-display-image): Ensure that the
25639 image spec passed to the animate timer is the same object as in
25640 the buffer's display property (Bug#6981).
25641 (image-transform-properties): Doc fix.
25643 * image.el (image-animate-max-time): Default to nil.
25645 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25647 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25648 entire buffer list (Bug#8184).
25650 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25652 * image.el (imagemagick-types-inhibit)
25653 (imagemagick-register-types): Doc fix.
25655 2011-05-29 Deniz Dogan <deniz@dogan.se>
25657 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25660 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25662 * select.el: Don't perform clipboard-manager saving in hooks;
25663 leave the hooks empty.
25665 2011-05-28 Leo Liu <sdl.web@gmail.com>
25667 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25668 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25669 (occur-edit-mode): New major mode (Bug#8463).
25670 (occur-after-change-function): New function.
25671 (occur-engine): Give Occur tags a read-only property.
25673 2011-05-28 Kevin Ryde <user42@zip.com.au>
25675 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25677 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25679 * bindings.el (help-echo): Make the initial non-indicator dash
25680 empty on graphical terminals (Bug#7295).
25682 * files.el (auto-mode-alist): Move config rule after the
25683 in-stripping one (Bug#8547).
25685 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25687 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25688 setting (Bug#8740).
25690 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25692 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25693 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25696 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25698 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25700 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25702 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25703 (hs-hide-block-at-point, hs-find-block-beginning)
25704 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25707 2011-05-28 Glenn Morris <rgm@gnu.org>
25709 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25711 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25713 * help-fns.el (describe-function-1): If the function is a derived
25714 major mode, print the parent mode.
25716 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25717 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25719 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25721 * minibuffer.el (completion--capf-wrapper): Check applicability before
25722 returning non-nil for non-exclusive completion data.
25723 * progmodes/etags.el (tags-completion-at-point-function):
25724 * info-look.el (info-lookup-completions-at-point): Mark as
25726 (info-complete): Adjust accordingly.
25728 * info-look.el: Convert to lexical-binding and completion-at-point.
25729 (info-lookup-completions-at-point): New function.
25730 (info-complete): Use it and completion-in-region.
25732 2011-05-28 Drew Adams <drew.adams@oracle.com>
25734 * isearch.el: Let M-e start with point at the first mismatched char.
25735 (isearch-fail-pos): New function.
25736 (isearch-edit-string): Use it.
25738 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25740 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25742 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25744 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25745 traversal functions for avl-trees.
25746 (avl-tree--stack): New struct.
25747 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25748 (avl-tree-enter): Add optional `updatefun' arg.
25749 (avl-tree--do-enter): Add optional `updatefun' arg.
25750 Change return value.
25751 (avl-tree-delete): Add optional `test' and `nilflag' args.
25752 (avl-tree--do-delete): Add `test' and `nilflag' args.
25753 Change return value.
25754 (avl-tree-member): Add optional `nilflag'
25755 (avl-tree-member-p): New function.
25756 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25757 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25758 (avl-tree-stack-empty-p): New functions.
25760 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25761 avl-tree--del-balance1 and make it work both ways.
25762 (avl-tree--del-balance2): Remove.
25763 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25764 make it work both ways.
25765 (avl-tree--enter-balance2): Remove.
25766 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25768 (avl-tree--mapc, avl-tree-map): Add direction argument.
25770 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25772 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25774 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25776 * select.el: Support clipboard managers with built-in function
25777 x-clipboard-manager-save, via delete-frame-functions and
25779 (xselect-convert-to-targets): Add MULTIPLE target to list.
25780 (xselect-convert-to-save-targets): New function.
25782 2011-05-27 Kenichi Handa <handa@m17n.org>
25784 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25785 let-binding rfc2047-encode-encoded-words to nil.
25787 2011-05-27 Glenn Morris <rgm@gnu.org>
25789 * mail/emacsbug.el: Don't require url-util.
25791 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25793 * files.el (set-auto-mode):
25794 Also respect mode: entries at the end of the file. (Bug#8586)
25796 2011-05-26 Glenn Morris <rgm@gnu.org>
25798 * files.el (hack-local-variables-prop-line, hack-local-variables):
25799 Downcase mode names, as seems to be traditional.
25800 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25802 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25803 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25805 2011-05-25 Julien Danjou <julien@danjou.info>
25807 * textmodes/rst.el (rst-define-level-faces): Do not define face
25808 symbol if it is already defined.
25810 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25812 * play/5x5.el (5x5-new-game, 5x5-randomize):
25813 Reset 5x5-solver-output to nil when a new grid is cast.
25814 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25815 these debugging traces, as defmacro breaks the compiled code.
25817 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25819 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25821 2011-05-24 Leo Liu <sdl.web@gmail.com>
25823 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25824 (vc-bzr-sha1): Adapt.
25826 * sha1.el: Remove. Function `sha1' is now builtin.
25828 * bindings.el: Provide sha1 feature.
25830 2011-05-24 Kenichi Handa <handa@m17n.org>
25832 * mail/sendmail.el: Require `rfc2047'.
25833 (mail-insert-from-field): Do not perform RFC2047 encoding.
25834 (mail-encode-header): New function.
25835 (sendmail-send-it): Set buffer-file-coding-system of the work
25836 buffer to the return value of select-message-coding-system.
25837 Call mail-encode-header.
25839 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25841 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25843 * mail/supercite.el (sc-default-cite-frame):
25844 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25846 2011-05-24 Glenn Morris <rgm@gnu.org>
25848 * progmodes/python.el (brm-menu): Declare.
25850 * emulation/viper.el (viper-set-hooks): Declare.
25852 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25853 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25854 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25855 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25856 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25857 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25859 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25861 Add an :exit-function for completion-at-point.
25863 * minibuffer.el (completion--done): New fun.
25864 (completion--do-completion): Use it. New arg `expect-exact'.
25865 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25866 since completion--do-completion does it for us now.
25867 (minibuffer-force-complete): Use completion--done and
25868 completion--replace. Handle sole-completion case with more care.
25869 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25870 (completion-extra-properties): New var.
25871 (completion-annotate-function): Make obsolete.
25872 (minibuffer-completion-help): Adjust accordingly.
25873 Use completion-list-insert-choice-function.
25874 (completion-at-point, completion-help-at-point):
25875 Bind completion-extra-properties.
25876 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25877 * simple.el (completion-list-insert-choice-function): New var.
25878 (completion-setup-function): Preserve it.
25879 (choose-completion): Pay attention to it, shuffle the code a bit.
25880 (choose-completion-string): New arg `insert-function'.
25882 * textmodes/bibtex.el: Convert to lexical binding.
25883 (bibtex-mode-map): Use completion-at-point.
25884 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25885 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25886 (bibtex-complete): Define as obsolete alias.
25887 (bibtex-complete-internal): Remove.
25888 (bibtex-format-entry): Remove unused sub-group in regexp.
25889 * shell.el (shell--command-completion-data)
25890 (shell-environment-variable-completion):
25891 * pcomplete.el (pcomplete-completions-at-point):
25892 * comint.el (comint--complete-file-name-data): Use :exit-function
25893 instead of completion-table-with-terminator so it also works for
25896 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25898 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25900 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25903 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25905 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25907 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25908 customization variable and implement: If non-nil, auto-fill will
25909 be inhibited while on topic's header line.
25911 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25913 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25914 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25915 always have a solution in grid size = 5 cases.
25916 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25917 (5x5-solver-output, 5x5-log-buffer): New vars.
25918 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25919 Make these variables buffer local to achieve 5x5 multi-session-ness.
25920 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25921 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25922 (5x5-solve-suggest): New funs.
25923 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25924 randomize a grid so that we ensure that there is always a solution.
25925 (5x5-make-random-grid): Allow other movement than flipping.
25927 2011-05-23 Kevin Ryde <user42@zip.com.au>
25929 * emacs-lisp/advice.el (ad-read-advised-function):
25930 Use `function-called-at-point' as the default, if it has
25931 advice and passes PREDICATE.
25933 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25935 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25936 byte-compile-lambda if it's actually a lambda.
25938 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25939 Fix function quoting. Use backquote better.
25941 2011-05-22 Yuanle Song <sylecn@gmail.com>
25943 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25944 matching (Bug#8516).
25946 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25948 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25949 different face (Bug#8178).
25951 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25953 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25954 defface (Bug#8144).
25956 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25958 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25959 funcall as well (bug#8712). Warn when performing those conversions.
25960 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25962 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25964 2011-05-22 Glenn Morris <rgm@gnu.org>
25966 * files.el (hack-local-variables-prop-line): Small simplifications.
25967 (hack-local-variables, hack-local-variables-prop-line):
25968 If MODE-ONLY, return the mode, rather than just `t'.
25970 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25972 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25974 2011-05-21 Glenn Morris <rgm@gnu.org>
25976 * files.el (hack-local-variables-prop-line, hack-local-variables):
25977 If only interested in the mode, don't bother doing the other stuff.
25979 * image-mode.el (image-after-revert-hook):
25980 Redraw all frames on which the image is visible. (Bug#8567)
25982 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25984 * wid-edit.el (widget-checklist-match-inline):
25985 Fix 2011-04-19 change. (Bug#8649)
25987 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25989 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25990 Also allow singlespace after single-letter capitals followed by a dot.
25992 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25993 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25995 2011-05-20 Nix <nix@esperi.org.uk>
25997 * files.el (basic-save-buffer-2):
25998 Fix handling of break-hardlink-on-save with non-existent files.
26000 2011-05-19 Deniz Dogan <deniz@dogan.se>
26002 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
26003 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
26005 2011-05-19 Glenn Morris <rgm@gnu.org>
26007 * progmodes/f90.el (f90-type-def-re):
26008 Handle "type, bind(c)". (Bug#8691)
26010 * emacs-lisp/autoload.el (batch-update-autoloads):
26011 Set autoload-excludes by parsing loadup.el rather than Makefiles.
26013 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
26015 * net/tramp.el (tramp-process-actions): Set "first-password-request"
26016 property for the correct connection in case of multihops.
26018 2011-05-18 Glenn Morris <rgm@gnu.org>
26020 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
26021 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
26023 Rationalize calendar handling of day and month abbrev-arrays.
26024 * calendar/calendar.el (calendar-customized-p): New function.
26025 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
26026 (calendar-day-name-array, calendar-month-name-array): Doc fix.
26028 (calendar-abbrev-length, calendar-day-abbrev-array)
26029 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
26030 (calendar-day-abbrev-array, calendar-month-abbrev-array):
26031 Elements may no longer be nil.
26032 (calendar-day-name, calendar-month-name):
26033 Update for changed nature of abbrev arrays.
26034 * calendar/diary-lib.el (diary-name-pattern):
26035 Update for changed nature of abbrev arrays.
26036 (diary-mark-entries-1): Update calendar-make-alist calls.
26037 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
26038 * calendar/cal-html.el (cal-html-day-abbrev-array):
26039 Simply inherit from calendar-day-abbrev-array.
26041 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
26043 * progmodes/grep.el (grep-mode): Disable default
26044 compilation-directory-matcher setting (bug#8684).
26046 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
26048 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
26049 instead of "head" and "tail". There were problems with SunOS 5.9,
26050 and it performs better.
26052 2011-05-17 Glenn Morris <rgm@gnu.org>
26054 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
26056 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
26057 Replace obsolete function.
26059 * shell.el (pcomplete-parse-arguments-function): Declare.
26061 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
26062 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
26063 (appt-check): Doc fixes.
26064 (appt-disp-window-function, appt-delete-window-function):
26065 Remove needless special case in custom :type.
26066 (appt-display-count): Default to 0, not nil.
26067 (appt-check): Reset appt-display-count to 0, not nil.
26069 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
26071 * progmodes/python.el (python-font-lock-keywords):
26072 Add the Python 3.X keyword "nonlocal" (bug#8639).
26074 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
26076 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
26078 2011-05-16 Kevin Ryde <user42@zip.com.au>
26080 * info-look.el (makefile-automake-mode): New setups, looking in
26081 automake manual, then makefile-mode.
26082 (makefile-mode): Remove automake manual, have it just in
26083 makefile-automake-mode since there's various things different or
26084 not relevant to plain make.
26085 (makefile-mode): Remove "other-modes" non-existent automake-mode,
26086 believe a hypothetical automake-mode would go to makefile-mode,
26087 not the other way around.
26089 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
26091 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
26092 hunk-end tags (Bug#8672).
26094 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
26095 vc-annotate-show-diff-revision-at-line (Bug#8671).
26097 2011-05-14 Glenn Morris <rgm@gnu.org>
26099 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
26100 in the middle of an existing one with multiple authors. (Bug#8645)
26101 (change-log-font-lock-keywords): Also handle multiple author lines
26102 with leading tabs. (Bug#8644)
26104 * calendar/appt.el (appt-check): Rename some local variables.
26105 Some simplification/reordering.
26107 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
26108 (feedmail-sendmail-f-doesnt-sell-me-out)
26109 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26110 (feedmail-debug-sit-for, feedmail-queue-express-hook)
26111 (feedmail-queue-runner-message-sender): Set :version.
26112 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
26113 (bbdb-dwim-net-address, vm-mail): Declare.
26114 (feedmail-binmail-gnulinuxish-template):
26115 Rename from feedmail-binmail-linuxish-template.
26116 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
26117 Use insert-buffer-substring.
26119 2011-05-14 Bill Carpenter <bill@carpenter.org>
26121 * mail/feedmail.el (feedmail-patch-level): Increase.
26122 (feedmail-debug): New custom group.
26123 (feedmail-confirm-outgoing-timeout)
26124 (feedmail-sendmail-f-doesnt-sell-me-out)
26125 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26126 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
26127 (feedmail-sender-line, feedmail-from-line)
26128 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
26129 (feedmail-spray-this-address)
26130 (feedmail-spray-address-fiddle-plex-list)
26131 (feedmail-queue-use-send-time-for-date)
26132 (feedmail-queue-use-send-time-for-message-id)
26133 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
26134 (feedmail-buffer-eating-function):
26136 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
26137 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
26138 (feedmail-message-action-scroll-down): New functions.
26139 (feedmail-queue-directory, feedmail-queue-draft-directory):
26140 Use expand-file-name.
26141 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
26142 Remove C-v help entry.
26143 (feedmail-queue-buffer-file-name): New variable.
26144 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
26145 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
26146 (feedmail-message-action-send-strong, feedmail-message-action-edit)
26147 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
26148 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
26149 (feedmail-message-action-toggle-spray)
26150 (feedmail-run-the-queue-no-prompts)
26151 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
26152 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
26153 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
26154 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
26155 (feedmail-envelope-deducer, feedmail-fiddle-from)
26156 (feedmail-fiddle-sender, feedmail-default-date-generator)
26157 (feedmail-fiddle-date, feedmail-fiddle-message-id)
26158 (feedmail-fiddle-spray-address)
26159 (feedmail-fiddle-list-of-spray-fiddle-plexes)
26160 (feedmail-fiddle-list-of-fiddle-plexes)
26161 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
26162 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
26163 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
26164 Change default. Doc fix.
26165 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
26166 (feedmail-binmail-linuxish-template): New constant.
26167 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
26168 Respect feedmail-sendmail-f-doesnt-sell-me-out.
26169 (feedmail-send-it): Add debug call.
26170 Use feedmail-queue-buffer-file-name, and
26171 feedmail-send-it-immediately-wrapper.
26172 (feedmail-message-action-send): Add debug call.
26173 Use feedmail-send-it-immediately-wrapper.
26174 (feedmail-queue-express-to-queue): Add debug call.
26175 Run feedmail-queue-express-hook.
26176 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
26177 (feedmail-message-action-help-blat):
26178 Rename from feedmail-queue-send-edit-prompt-help-first.
26179 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
26180 Check line-endings. Handle errors better.
26181 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
26182 Doc fix. Add debug call.
26183 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
26184 Use feedmail-queue-send-edit-prompt-inner.
26185 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
26186 (feedmail-queue-send-edit-prompt-inner): New function, extracted
26187 from feedmail-queue-send-edit-prompt.
26188 (feedmail-queue-send-edit-prompt-help)
26189 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
26190 (feedmail-tidy-up-slug): Add debug call.
26191 Respect feedmail-queue-slug-suspect-regexp.
26192 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
26193 (feedmail-dump-message-to-queue): Add debug call.
26194 Expand queue-directory.
26195 (feedmail-dump-message-to-queue): Change message slightly.
26196 Use feedmail-say-chatter.
26197 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
26198 (feedmail-send-it-immediately-wrapper): New function.
26199 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
26200 Insert empty string rather than newline. Handle full-frame case.
26201 Use catch/throw. Use feedmail-say-chatter.
26202 (feedmail-fiddle-from): Try mail-host-address.
26203 (feedmail-default-message-id-generator): Doc fix.
26204 Bind system-time-locale. Handle missing end.
26205 (feedmail-fiddle-x-mailer): Add debug call.
26206 Handle feedmail-x-mailer-line being nil.
26207 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
26208 Add debug call. Use buffer-substring-no-properties.
26209 (feedmail-say-debug, feedmail-say-chatter): New functions.
26210 (feedmail-find-eoh): Give an explicit error.
26212 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
26214 * net/newst-treeview.el (newsticker-treeview-face): Change default
26215 family from helvetica to sans.
26216 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
26217 etc/images/newsticker.
26219 * net/newst-reader.el (newsticker-feed-face): Change default
26220 family from helvetica to sans.
26222 * net/newst-plainview.el (newsticker-new-item-face)
26223 (newsticker-old-item-face, newsticker-immortal-item-face)
26224 (newsticker-obsolete-item-face, newsticker-date-face)
26225 (newsticker-statistics-face): Change default family from
26227 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
26228 etc/images/newsticker.
26230 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
26231 (newsticker--process-auto-mark-filter-match): Tell user about
26234 2011-05-13 Didier Verna <didier@xemacs.org>
26236 Common Lisp indentation improvements on defmethod and lambda-lists.
26237 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
26239 (lisp-lambda-list-keyword-parameter-indentation)
26240 (lisp-lambda-list-keyword-parameter-alignment)
26241 (lisp-lambda-list-keyword-alignment): New customizable user options.
26242 (lisp-indent-defun-method): Improve docstring.
26243 (extended-loop-p): Fix comment.
26244 (lisp-indent-lambda-list-keywords-regexp): New variable.
26245 (lisp-indent-lambda-list): New function.
26246 (lisp-indent-259): Use it.
26247 (lisp-indent-defmethod): Support for more than one
26248 method qualifier and properly indent methods lambda-lists.
26249 (defgeneric): Provide a missing common-lisp-indent-function property.
26251 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26253 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26254 bounds for the empty string (bug#8667).
26256 2011-05-13 Glenn Morris <rgm@gnu.org>
26258 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26260 * mail/sendmail.el (sendmail-program): Try executable-find first.
26261 (sendmail-send-it): `sendmail-program' cannot be unbound.
26263 * calendar/appt.el (appt-make-list): Simplify.
26264 (appt-time-msg-list): Doc fix.
26265 (appt-check): Change mode-line message at the time of the appointment.
26267 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26269 * progmodes/ld-script.el (ld-script-keywords)
26270 (ld-script-builtins): Update keywords list.
26272 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26274 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26276 * shell.el (shell-completion-vars): New function.
26278 * simple.el (read-shell-command): Use it.
26279 (blink-matching-open): No need for " [...]" in minibuffer-message.
26281 2011-05-12 Glenn Morris <rgm@gnu.org>
26283 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26284 (appt-check): Simplify.
26286 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26288 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26289 literal "/dev/null".
26291 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26293 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26296 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26298 * progmodes/which-func.el (which-function):
26299 Use add-log-current-defun instead of add-log-current-defun-function,
26300 which might not be defined (Bug#8260).
26302 2011-05-12 Glenn Morris <rgm@gnu.org>
26304 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26305 Let byte-compile-initial-macro-environment always take precedence.
26307 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26309 * net/rcirc.el: Add support for SSL/TLS connections.
26310 (rcirc-server-alist): New field `encryption'.
26311 (rcirc): Check `encryption' settings.
26312 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26313 Merge make-local-variable into `set'.
26314 (rcirc--connection-open-p): New function.
26315 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26316 the process is not a network process (e.g. running gnutls-cli).
26317 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26318 Make rcirc-(en|de)code-coding-system local here.
26319 (rcirc-mode): Merge make-local-variable into `set'.
26320 (rcirc-parent-buffer): Make permanent buffer-local.
26321 (rcirc-multiline-minor-mode): Don't do it here.
26322 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26323 there's no server buffer.
26325 2011-05-11 Glenn Morris <rgm@gnu.org>
26327 * newcomment.el (comment-kill): Prefix "unused" local.
26329 * term/w32console.el (get-screen-color): Declare.
26331 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26332 Handle symbol elements of byte-compile-initial-macro-environment.
26334 2011-05-10 Leo Liu <sdl.web@gmail.com>
26336 * bookmark.el (bookmark-bmenu-mode-map):
26337 Bind bookmark-bmenu-search to `/'.
26339 * mail/footnote.el: Convert to utf-8 encoding.
26340 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26341 (Footnote-unicode): New function.
26342 (footnote-style-alist): Add unicode style to the list.
26343 (footnote-style): Doc fix.
26345 2011-05-10 Jim Meyering <meyering@redhat.com>
26347 Fix doubled-word typos.
26348 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26349 * kermit.el: and and -> and.
26350 * net/ldap.el (ldap-search-internal): to to -> to.
26351 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26352 * progmodes/js.el (js-mode): and and -> and.
26353 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26354 (artist-draw-region-trim-line-endings): if if -> if.
26355 And Safetyc -> Safety.
26356 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26358 2011-05-10 Glenn Morris <rgm@gnu.org>
26359 Stefan Monnier <monnier@iro.umontreal.ca>
26361 * files.el (hack-one-local-variable-eval-safep):
26362 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26364 2011-05-10 Glenn Morris <rgm@gnu.org>
26366 * calendar/diary-lib.el (diary-list-entries-hook)
26367 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26368 (diary-nongregorian-marking-hook, diary-list-entries)
26369 (diary-include-other-diary-files, diary-mark-entries)
26370 (diary-mark-included-diary-files): Doc fixes.
26372 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26374 * misc.el: Require tabulated-list.el during compilation.
26376 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26378 * progmodes/compile.el (compilation-start):
26379 Run compilation-filter-hook for the async case too.
26380 (compilation-filter-hook): Doc fix.
26382 2011-05-09 Deniz Dogan <deniz@dogan.se>
26384 * wdired.el: Remove outdated installation comment. Fix usage
26387 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26389 * misc.el: Implement new command `list-dynamic-libraries'.
26390 (list-dynamic-libraries--loaded-only-p): New variable.
26391 (list-dynamic-libraries--refresh): New function.
26392 (list-dynamic-libraries): New command.
26394 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26396 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26397 Fix the ant regexp to handle end-line and end-column info from jikes.
26398 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26399 higher priority to avoid clobbering by gnu.
26401 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26403 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26404 if the face has existing theme settings (Bug#8454).
26406 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26408 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26409 Only match variables declared via `my' or `our' (Bug#8261).
26411 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26412 special file names `.' and `..' (Bug#8259).
26414 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26416 * progmodes/grep.el (grep-mode-font-lock-keywords):
26417 Remove buffer-changing entries.
26418 (grep-filter): New function.
26419 (grep-mode): Add it to compilation-filter-hook.
26421 * progmodes/compile.el (compilation-filter-hook)
26422 (compilation-filter-start): New defvars.
26423 (compilation-filter): Call compilation-filter-hook prior to
26424 updating the process mark.
26426 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26428 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26430 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26432 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26433 mailclient-send-it even if window-system is nil. (Bug#8595)
26435 * term/w32console.el (terminal-init-w32console):
26436 Call get-screen-color and use its output to set the frame
26437 background-mode. (Bug#8597)
26439 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26441 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26442 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26444 (defgeneric, eieio--defmethod): Use them.
26445 (eieio-defgeneric): Remove.
26446 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26448 2011-05-07 Glenn Morris <rgm@gnu.org>
26450 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26451 Use let rather than let*.
26452 (timeclock-find-discrep): Remove unused local.
26454 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26456 * calendar/appt.el (appt-time-msg-list): Doc fix.
26458 2011-05-06 Noah Friedman <friedman@splode.com>
26460 * apropos.el (apropos-print-doc): Only use
26461 emacs-lisp-docstring-fill-column when it is bound to an integer,
26462 per that variable's documentation.
26464 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26466 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26467 and warnings are not silently discarded (e.g. use -d instead of -P).
26469 2011-05-06 Glenn Morris <rgm@gnu.org>
26471 * calendar/appt.el (appt-message-warning-time): Doc fix.
26472 (appt-warning-time-regexp): New option.
26473 (appt-make-list): Respect appt-message-warning-time.
26475 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26477 (diary-add-to-list): Strip comments from the displayed string.
26478 (diary-mode): Set comment-start and comment-end.
26480 * vc/diff-mode.el (smerge-refine-subst): Declare.
26481 (diff-refine-hunk): Don't require smerge-mode when compiling.
26483 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26485 * simple.el (list-processes): Return nil as the docstring says.
26487 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26489 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26491 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26492 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26493 determining of binary transfer. (Bug#7383)
26495 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26497 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26498 Fix port computation bug. (Bug#8618)
26500 2011-05-05 Glenn Morris <rgm@gnu.org>
26502 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26504 * simple.el (shell-dynamic-complete-functions)
26505 (comint-dynamic-complete-functions): Declare.
26507 * net/network-stream.el (gnutls-negotiate):
26508 * simple.el (tabulated-list-print): Fix declarations.
26510 * progmodes/gud.el (syntax-symbol, syntax-point):
26511 Remove unnecessary and incorrect declarations.
26513 * emacs-lisp/check-declare.el (check-declare-scan):
26514 Handle byte-compile-initial-macro-environment in bytecomp.el.
26516 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26518 Fix earlier half-done eieio-defmethod change (bug#8338).
26519 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26520 Streamline and change calling convention.
26521 (defmethod): Adjust accordingly and simplify.
26522 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26523 new eieio--defmethod.
26524 (slot-boundp): Minor CSE simplification.
26526 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26528 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26529 (glasses-make-readable): Use glasses-separate-capital-groups.
26531 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26533 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26534 (warning-series): Doc fix.
26535 (display-warning): Don't try to create the buffer if we just found it.
26537 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26539 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26540 (autoload-find-generated-file): New function.
26541 (generate-file-autoloads): Bind generated-autoload-file to
26543 (update-file-autoloads, update-directory-autoloads):
26544 Use autoload-find-generated-file. If called interactively, prompt for
26545 output file (Bug#7989).
26546 (batch-update-autoloads): Doc fix.
26548 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26550 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26552 2011-05-04 Glenn Morris <rgm@gnu.org>
26554 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26555 function, so it follows changes in calendar-date-style.
26556 (diary-fancy-date-matcher): New function.
26557 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26558 (diary-fancy-font-lock-fontify-region-function):
26559 Use diary-fancy-date-pattern as a function.
26561 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26562 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26564 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26566 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26567 instead of positional arguments. Allow :keylist and :crlfiles
26569 (open-gnutls-stream): Call it.
26571 * net/network-stream.el (network-stream-open-starttls): Adjust to
26572 call `gnutls-negotiate' with :process and :hostname arguments.
26574 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26576 * minibuffer.el (completion--message): New function.
26577 (completion--do-completion, minibuffer-complete)
26578 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26579 (completion--do-completion): Don't ignore completion-auto-help when in
26582 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26583 internal encoding (e.g. tibetan zero is not whitespace).
26584 (global-whitespace-mode): Prefer save-current-buffer.
26585 (whitespace-trailing-regexp): Remove useless save-match-data.
26586 (whitespace-empty-at-bob-regexp): Minor simplification.
26588 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26590 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26592 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26594 * textmodes/ispell.el (ispell-add-per-file-word-list):
26595 Use `concat' to create string for insertion.
26597 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26599 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26600 Avoid open-line which runs post-self-insert-hook.
26601 (bibtex-fill-entry): Remove unused `end' var.
26603 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26605 * textmodes/ispell.el (ispell-add-per-file-word-list):
26606 Protect against `nil' value of `comment-start' (Bug#8579).
26608 2011-05-03 Leo Liu <sdl.web@gmail.com>
26610 * isearch.el (isearch-yank-pop): New command.
26611 (isearch-mode-map): Bind it to `M-y'.
26612 (isearch-forward): Mention it.
26614 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26616 * simple.el (minibuffer-complete-shell-command): Remove.
26617 (minibuffer-local-shell-command-map): Use completion-at-point.
26618 (read-shell-command): Setup completion vars here instead.
26619 (read-expression-map): Bind TAB to symbol completion.
26621 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26622 error directly rather via storing it into `results'.
26624 2011-05-02 Leo Liu <sdl.web@gmail.com>
26626 * vc/diff.el: Fix description.
26628 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26630 * server.el (server-eval-at): New function.
26632 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26634 * net/network-stream.el (open-network-stream): Take a :nowait
26635 parameter and pass it on to `make-network-process'.
26636 (network-stream-open-plain): Ditto.
26638 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26640 * faces.el (face-spec-set-match-display): Don't match toolkit
26641 options on terminal frames.
26643 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26645 * progmodes/pascal.el: Use lexical binding.
26646 (pascal-mode-map): Remove author preferences.
26648 * pcomplete.el (pcomplete-std-complete): Don't abuse
26649 completion-at-point.
26651 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26653 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26654 removing code that has been dead since 1991 or so.
26656 * startup.el (command-line): When warning about "_emacs", use a
26657 delayed warning to allow the user to filter it out.
26659 2011-04-28 Deniz Dogan <deniz@dogan.se>
26661 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26662 user has not joined.
26664 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26666 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26667 aren't any completions at point.
26669 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26671 * subr.el (display-delayed-warnings): New function.
26672 (delayed-warnings-hook): New variable.
26674 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26676 * minibuffer.el (completion-at-point, completion-help-at-point):
26677 Don't presume that a given completion-at-point-function will always
26678 use the same calling convention.
26680 * pcomplete.el (pcomplete-completions-at-point):
26681 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26682 pcomplete-seen is non-nil.
26683 (pcomplete-comint-setup): Also recognize the new comint/shell
26684 completion functions.
26685 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26686 pcomplete-seen is non-nil.
26688 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26690 * calendar/icalendar.el (diary-lib): Add require statement.
26691 (icalendar--create-uid): Read out a uid from a text-property on
26692 the first character in the entry. This allows for code to add its
26693 own uid to the entry.
26694 (icalendar--convert-float-to-ical): Add export of
26695 `diary-float'-entries save for those with the optional DAY
26698 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26700 * subr.el (shell-quote-argument): Use alternate escaping strategy
26701 when we spot a variable reference in a string.
26703 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26705 * cus-start.el (all): Define customization for debug-on-event.
26707 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26709 * subr.el (shell-quote-argument): Escape correctly under Windows.
26711 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26713 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26715 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26717 * net/tramp.el (tramp-process-actions): Add POS argument.
26718 Delete region between POS and (pos).
26720 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26721 Use `nil' position in `tramp-process-actions' call.
26722 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26724 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26725 position in `tramp-process-actions' call.
26727 * net/trampver.el: Update release number.
26729 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26731 * custom.el (defcustom): Obey lexical-binding.
26733 Fix octave-inf completion problems reported by Alexander Klimov.
26734 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26735 Inherit from octave-mode-syntax-table.
26736 (inferior-octave-mode): Set info-lookup-mode.
26737 (inferior-octave-completion-at-point): New function.
26738 (inferior-octave-complete): Use it and completion-in-region.
26739 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26740 comint-filename-completion.
26741 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26742 symbol elements which shouldn't be word elements.
26743 (octave-font-lock-keywords, octave-beginning-of-defun)
26744 (octave-function-header-regexp): Adjust regexps accordingly.
26745 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26747 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26749 * net/gnutls.el (gnutls-errorp): Declare before first use.
26751 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26753 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26754 verify-error, and verify-hostname-error parameters. Check whether
26755 default trustfile exists before going to use it. Add missing
26756 argument to gnutls-message-maybe call. Return value.
26757 Reported by Claudio Bley <claudio.bley@gmail.com>.
26758 (open-gnutls-stream): Add usage example.
26760 * net/network-stream.el (network-stream-open-starttls): Give host
26761 parameter to `gnutls-negotiate'.
26762 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26763 * subr.el (shell-quote-argument): Escape correctly under Windows.
26765 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26767 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26768 Use correct match group (bug#8438).
26770 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26772 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26773 (package-menu--generate): New arg specifying packages to show.
26774 (package-menu-refresh, package-menu-execute, list-packages):
26776 (package-show-package-list): New function, replacing deleted
26777 package--list-packages (renamed because it is non-internal).
26779 * finder.el (finder-list-matches): Use package-show-package-list
26780 instead of deleted package--list-packages.
26782 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26783 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26784 (vc-annotate-mode-map): Bind it to RET.
26786 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26788 * progmodes/etags.el (next-file): Don't use set-buffer to change
26789 buffers (Bug#8478).
26791 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26793 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26795 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26796 (apropos-accumulator): Doc fix.
26797 (apropos-function, apropos-macro, apropos-command)
26798 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26799 (apropos-plist): Add face property.
26800 (apropos-symbols-internal): Fix indentation.
26801 (apropos-print): Simplify help, and recognize apropos-multi-type.
26802 (apropos-print-doc): Use button-type-get to extract the button's
26803 face property. Fill docstring (Bug#8352).
26805 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26807 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26809 * play/mpuz.el (mpuz-silent): Doc fix.
26810 (mpuz-mode-map): Use mapc.
26811 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26812 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26813 Fix typos in docstrings.
26815 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26816 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26818 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26820 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26822 * minibuffer.el (completion--do-completion): Avoid the "Next char
26823 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26825 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26826 mouse-2 into unread-command-events, it is interpreted correctly.
26828 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26829 (image-toggle-display): Doc fix.
26831 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26833 * textmodes/page.el (what-page): Use line-number-at-pos to
26834 calculate line number (Bug#6825).
26836 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26838 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26839 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26840 Pass argument NO-DEFAULT to `find-tag-interactive'.
26842 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26844 Lexical-binding cleanup.
26846 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26847 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26848 * progmodes/ada-prj.el (ada-prj-initialize-values)
26849 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26850 (ada-prj-show-value):
26851 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26852 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26853 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26854 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26855 * progmodes/bug-reference.el (bug-reference-push-button):
26856 * progmodes/fortran.el (fortran-line-length):
26857 * progmodes/glasses.el (glasses-change):
26858 * progmodes/octave-mod.el (octave-fill-paragraph):
26859 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26860 (python-pdbtrack-grub-for-buffer, python-sentinel):
26861 * progmodes/sql.el (sql-save-connection):
26862 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26863 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26864 Mark unused parameters.
26866 * progmodes/compile.el (compilation--flush-directory-cache)
26867 (compilation--flush-parse, compile-internal): Mark unused parameters.
26868 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26869 (compilation-next-error-function): Remove unused variable `timestamp'.
26871 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26872 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26874 * progmodes/dcl-mode.el (dcl-end-of-command):
26875 Remove unused variable `start'.
26876 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26877 (dcl-option-value-basic, dcl-option-value-offset)
26878 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26879 Mark unused parameters.
26880 (dcl-save-local-variable): Remove unused variable `val'.
26883 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26884 Mark unused parameters.
26885 (delphi-ignore-changes): Move before first use.
26886 (delphi-charset-token-at): Remove unused variable `start'.
26887 (delphi-else-start): Remove unused variable `if-count'.
26888 (delphi-comment-block-start, delphi-comment-block-end):
26889 Remove unused variable `kind'.
26890 (delphi-indent-line): Remove unused variable `new-point'.
26892 * progmodes/ebrowse.el (ebrowse-files-list)
26893 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26894 Mark unused parameters. Don't quote `lambda'.
26895 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26896 Don't quote `lambda'.
26897 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26898 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26899 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26900 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26901 Use `ignore-errors'.
26902 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26903 (ebrowse-view/find-file-and-search-pattern)
26904 (ebrowse-view/find-member-declaration/definition):
26905 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26906 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26907 Rename parameter PREFIX-ARG to PREFIX.
26908 (ebrowse-tags-read-name): Remove unused variables `start' and
26910 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26913 * progmodes/etags.el (local-find-tag-hook): Declare.
26914 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26915 Mark unused parameters.
26917 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26918 (executable-interpret): Mark unused parameter.
26920 * progmodes/flymake.el (flymake-process-sentinel)
26921 (flymake-after-change-function)
26922 (flymake-create-temp-with-folder-structure)
26923 (flymake-get-include-dirs-dot): Mark unused parameters.
26924 (flymake-safe-delete-directory): Remove unused variable `err'.
26926 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26927 (speedbar-timer-fn, speedbar-line-text)
26928 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26929 (speedbar-center-buffer-smartly): Declare functions.
26930 (gdb-find-watch-expression): Remove unused variable `array'.
26931 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26932 (gdb-starting): Mark unused parameters.
26933 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26934 (gdb-table-string): Remove unused variable `res'.
26935 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26936 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26937 (gdb-display-buffer): Remove unused variable `cur-size'.
26939 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26940 allow lexical-binding compilation.
26941 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26942 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26943 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26944 Mark unused parameters.
26945 (gud-gdb-marker-filter): Remove unused variable `match'.
26946 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26947 lambda expressions and funcall them, instead of using `fset'.
26949 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26950 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26952 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26953 variable `header-beg'; use `let'.
26955 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26956 `restart', `last-sexp' and `at-do'.
26958 * progmodes/js.el (js--debug): Mark unused parameter.
26959 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26960 (js--splice-into-items): Remove unused variable `item'.
26961 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26963 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26964 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26965 (makefile-complete): Remove unused variable `try'.
26966 (makefile-fill-paragraph, makefile-match-function-end):
26967 Mark unused parameters.
26969 * progmodes/octave-inf.el (inferior-octave-complete):
26970 Remove unused variable `proc'.
26971 (inferior-octave-output-digest): Mark unused parameter.
26973 * progmodes/perl-mode.el (perl-calculate-indent):
26974 Remove unused variable `err'.
26976 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26977 (prolog-indent-line): Mark unused parameters.
26978 (prolog-indent-line): Remove unused variable `beg'.
26980 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26981 (reporter-dont-compact-list): Declare.
26983 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26984 Remove unused variable `char'.
26985 (sh-debug): Mark unused parameter.
26986 (sh-get-indent-info): Remove unused variable `start'.
26987 (sh-calculate-indent): Remove unused variable `var'.
26989 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26990 (simula-electric-keyword): Remove unused variable `null'.
26991 (simula-search-backward, simula-search-forward): Remove unused
26992 variables `begin' and `end'.
26994 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26995 Remove unused variable `pos'.
26996 (vera-electric-tab, vera-comment-uncomment-region):
26997 Mark unused parameters.
26998 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
27000 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
27002 * emacs-lisp/package.el (package--builtins, package-alist)
27003 (package-load-descriptor, package-built-in-p, package-activate)
27004 (define-package, package-installed-p)
27005 (package-compute-transaction, package-buffer-info)
27006 (package--push): Doc fix. Distinguish more clearly between
27007 version strings and version lists.
27009 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
27011 Lexical-binding cleanup.
27013 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
27014 (5x5-make-mutate-best):
27015 * play/fortune.el (fortune-in-buffer):
27016 * play/gomoku.el (gomoku-init-display):
27017 * play/solitaire.el (solitaire, solitaire-do-check):
27018 * play/tetris.el (tetris-default-update-speed-function):
27019 Mark unused parameters.
27021 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
27022 (bubbles--shift): Remove unused variable `char-org'.
27023 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
27024 (bubbles--show-images): Remove unused variable `char'.
27026 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
27027 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
27028 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
27029 (decipher-analyze-buffer): Use ?\s.
27030 (decipher-make-checkpoint): Remove unused variable `mapping'.
27032 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
27034 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
27035 Remove unused variable `result'; use `let'.
27037 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
27038 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
27039 (gametree-children-shown-p, gametree-compute-reduced-score):
27040 Use `ignore-errors'.
27042 * play/handwrite.el (ps-lpr-switches): Declare.
27043 (handwrite): Remove unused variables `pmin' and `lastp'.
27045 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
27047 * play/landmark.el (landmark-init-display)
27048 (landmark-update-naught-weights): Mark unused parameters.
27049 (landmark-y): Remove unused variable `noise'. Simplify.
27050 (landmark-human-plays): Remove unused variable `score'.
27052 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
27053 (mpuz-try-proposal): Remove unused variable `game'.
27055 * play/zone.el (life-patterns): Declare.
27057 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
27059 * vc/vc.el (ediff-vc-internal): Declare function.
27061 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27063 * shell.el: Use lexical-binding and std completion UI.
27064 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
27065 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
27066 comint-preoutput-filter-functions rather than on
27067 comint-output-filter-functions.
27068 (shell-command-completion, shell--command-completion-data)
27069 (shell-filename-completion, shell-environment-variable-completion)
27070 (shell-c-a-p-replace-by-expanded-directory): New functions.
27071 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
27072 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
27073 (shell-dynamic-complete-environment-variable): Use them.
27074 (shell-dynamic-complete-as-environment-variable)
27075 (shell-dynamic-complete-as-command): Remove.
27076 (shell-match-partial-variable): Match past point.
27077 * comint.el: Clean up use of completion-at-point-functions.
27078 (comint-completion-at-point): New function.
27079 (comint-mode): Use it completion-at-point-functions.
27080 (comint-dynamic-complete): Make it obsolete.
27081 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
27082 (comint-c-a-p-replace-by-expanded-history): New function.
27083 (comint-dynamic-complete-functions)
27084 (comint-replace-by-expanded-history): Use it.
27085 * minibuffer.el (completion-table-with-terminator): Allow dynamic
27086 termination strings. Try harder to avoid second try-completion.
27087 (completion-in-region-mode-map): Disable bindings that don't work yet.
27089 * comint.el: Use lexical-binding. Require CL.
27090 (comint-dynamic-complete-functions): Use comint-filename-completion.
27091 (comint-completion-addsuffix): Tweak custom type.
27092 (comint-filename-completion, comint--common-suffix)
27093 (comint--common-quoted-suffix, comint--table-subvert)
27094 (comint--complete-file-name-data): New functions.
27095 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
27096 (comint-dynamic-list-filename-completions): Use them.
27097 (comint-dynamic-simple-complete): Make obsolete.
27099 * minibuffer.el (completion-in-region-mode):
27100 Keep completion-in-region-mode--predicate global.
27101 (completion-in-region--postch):
27102 Assume completion-in-region-mode--predicate is not null.
27104 * progmodes/flymake.el (flymake-start-syntax-check-process):
27105 Obey `dir'. Simplify.
27107 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
27108 we're in VC after all.
27110 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
27112 * vc/vc.el (vc-diff-build-argument-list-internal)
27113 (vc-version-ediff, vc-ediff): New commands.
27114 (vc-version-diff): Use vc-diff-build-argument-list-internal.
27116 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27118 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
27121 * obsolete/erc-hecomplete.el: Make obsolete.
27122 * obsolete/: Standardize obsolescence info in the header.
27124 2011-04-20 Glenn Morris <rgm@gnu.org>
27126 * calendar/solar.el (solar-horizontal-coordinates):
27127 Use the longitude argument rather than `calendar-longitude'.
27128 (solar-date-next-longitude): Remove unused locals.
27130 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
27132 * whitespace.el: New version 13.2.1.
27134 2011-04-20 felix <EmacsWiki> (tiny change)
27136 * whitespace.el (global-whitespace-mode): Keep highlight when
27137 switching between major modes on a file.
27139 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
27141 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
27142 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
27143 multi-line comments as well.
27145 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
27147 Lexical-binding cleanup.
27149 * arc-mode.el (archive-mode-revert):
27150 * cmuscheme.el (scheme-interactively-start-process):
27151 * custom.el (custom-initialize-delay):
27152 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
27153 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
27154 * emacs-lock.el (emacs-lock-clear-sentinel):
27155 * ezimage.el (defezimage):
27156 * follow.el (follow-avoid-tail-recenter):
27157 * fringe.el (set-fringe-mode-1):
27158 * generic-x.el (bat-generic-mode-compile):
27159 * help-mode.el (help-info-variable, help-do-xref)
27160 (help-mode-revert-buffer):
27161 * help.el (view-emacs-todo):
27162 * iswitchb.el (iswitchb-completion-help):
27163 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
27164 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
27165 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
27166 * locate.el (locate-update):
27167 * longlines.el (longlines-encode-region)
27168 (longlines-after-change-function):
27169 * outline.el (outline-isearch-open-invisible):
27170 * ps-def.el (declare-function, charset-dimension, char-width)
27172 * ps-mule.el (ps-mule-plot-string):
27173 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
27174 (recentf-edit-list-select, recentf-edit-list-validate)
27175 (recentf-open-files-action):
27176 * rect.el (delete-whitespace-rectangle-line)
27177 (rectangle-number-line-callback):
27178 * register.el (window-configuration-to-register)
27179 (frame-configuration-to-register):
27180 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
27181 * select.el (xselect-convert-to-string, xselect-convert-to-length)
27182 (xselect-convert-to-targets, xselect-convert-to-delete)
27183 (xselect-convert-to-filename, xselect-convert-to-charpos)
27184 (xselect-convert-to-lineno, xselect-convert-to-colno)
27185 (xselect-convert-to-os, xselect-convert-to-host)
27186 (xselect-convert-to-user, xselect-convert-to-class)
27187 (xselect-convert-to-name, xselect-convert-to-integer)
27188 (xselect-convert-to-atom, xselect-convert-to-identity):
27189 * subr.el (declare, ignore, process-kill-without-query)
27190 (text-clone-maintain):
27191 * terminal.el (te-get-char, te-tic-sentinel):
27192 * tool-bar.el (tool-bar-make-keymap):
27193 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
27194 * type-break.el (type-break-mode, type-break-noninteractive-query):
27195 * view.el (View-back-to-mark):
27196 * wid-browse.el (widget-browse-action, widget-browse-widget)
27197 (widget-browse-widgets, widget-browse-sexp):
27198 * widget.el (define-widget-keywords):
27199 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
27200 Mark unused parameters.
27202 * align.el (align-adjust-col-for-rule): Mark unused parameter.
27203 (align-areas): Remove unused variable `look'.
27204 (align-region): Remove unused variables `real-end' and `pos-list'.
27206 * apropos.el (apropos-score-doc): Remove unused variable `i'.
27208 * bindings.el (mode-line-modified, mode-line-remote):
27209 Mark unused parameters.
27210 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
27212 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
27213 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
27215 * comint.el (comint-history-isearch-pop-state)
27216 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
27217 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
27218 (comint-substitute-in-file-name): Doc fix.
27220 * completion.el (cmpl-statistics-block): Mark unused parameter.
27221 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
27222 (save-completions-to-file, load-completions-from-file):
27223 Remove unused local variable `e'.
27225 * composite.el (compose-chars): Remove unused variable `len'.
27226 (lgstring-insert-glyph): Remove unused variable `g'.
27227 (compose-glyph-string): Remove unused variables `ascent',
27228 `descent', `lbearing' and `rbearing'.
27229 (compose-glyph-string-relative): Remove unused variables
27230 `lbearing', `rbearing' and `wadjust'.
27231 (compose-gstring-for-graphic): Remove unused variables `header',
27232 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
27233 (compose-gstring-for-terminal): Remove unused variables `header'
27234 and `nchars'. Use `let', not `let*'.
27236 * cus-edit.el (Custom-set, Custom-save, custom-reset)
27237 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
27238 (Custom-buffer-done, custom-buffer-create-internal)
27239 (custom-browse-visibility-action, custom-browse-group-tag-action)
27240 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
27241 (widget-magic-mouse-down-action, custom-toggle-parent)
27242 (custom-add-parent-links, custom-toggle-hide-variable)
27243 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
27244 (custom-toggle-hide-face, face, hook, custom-group-link-action)
27245 (custom-face-menu-create, custom-variable-menu-create, get)
27246 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
27247 (custom-reset-standard-save-and-update): Remove unused variable `value'.
27248 (customize-apropos): Remove unused variable `tests'.
27249 (custom-group-value-create): Remove unused variable `hidden-p'.
27250 (sort-fold-case): Declare.
27252 * cus-theme.el (custom-reset-standard-faces-list)
27253 (custom-reset-standard-variables-list): Declare.
27254 (customize-create-theme, custom-theme-revert, custom-theme-write)
27255 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27256 Mark unused parameters.
27258 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27260 * delim-col.el (delimit-columns-max): Move defvar before first use.
27262 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27263 (describe-char): Don't quote `lambda'. Mark unused parameter.
27265 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27266 (auto-insert): Declare.
27267 (desktop-restore-file-buffer): Rename desktop-* parameters;
27269 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27270 (desktop-buffer): Rename desktop-* parameters.
27272 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27273 (dframe-reposition-frame-xemacs, dframe-help-echo)
27274 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27275 Mark unused parameters.
27277 * dired-aux.el (backup-extract-version-start, overwrite-query)
27278 (overwrite-backup-query, rename-regexp-query)
27279 (rename-non-directory-query): Declare.
27280 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27281 (dired-add-entry): Remove unused variable `orig-file-name'.
27282 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27283 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27284 `dired-copy-preserve-time' directly.
27285 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27286 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27288 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27289 (dired-virtual-revert, dired-make-relative-symlink):
27290 Mark unused parameters.
27291 (manual-program): Declare.
27292 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27293 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27294 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27296 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27298 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27300 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27303 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27305 * electric.el (Electric-command-loop): Rename parameter
27306 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27308 * expand.el (expand-in-literal): Remove unused variable `here'.
27310 * facemenu.el (facemenu-add-new-color):
27311 Remove unused variable `docstring'.
27313 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27314 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27315 (face-attr-construct): Mark unused parameter. Doc fix.
27316 (read-color): Remove unused variable `hex-string'.
27318 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27319 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27320 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27321 (display-buffer-other-frame): Remove unused variable `old-window'.
27322 (kill-buffer-hook): Declare.
27323 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27324 Mark unused parameters.
27325 (after-find-file): Pass 1 to `auto-save-mode', not t.
27327 * files-x.el (auto-insert): Declare.
27328 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27330 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27331 variable `buf'. Mark unused parameter.
27332 (find-lisp-insert-directory): Mark unused parameter.
27334 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27335 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27336 (format-common-tail): Remove, unused.
27337 (format-deannotate-region): Remove unused variable `loc'.
27338 (format-annotate-region): Remove unused variable `p'.
27339 (format-annotate-single-property-change): Remove unused variables
27340 `default' and `tail'.
27342 * forms.el (read-file-filter): Declare.
27343 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27345 * frame.el (frame-creation-function-alist): Mark unused parameter.
27346 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27348 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27349 Remove unused parameters.
27350 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27351 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27353 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27354 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27355 (hfy-prepare-tag-map): Mark unused parameters.
27356 (htmlfontify-buffer): Use `called-interactively-p'.
27358 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27359 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27360 (ibuffer-do-occur): Mark unused parameters.
27361 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27362 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27364 * ibuffer.el: Don't quote `lambda'.
27365 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27366 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27367 Mark unused parameters.
27369 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27370 (ido-completing-read): Mark unused parameters.
27371 (ido-copy-current-word): Mark unused parameters;
27372 remove unused variable `name'.
27373 (ido-sort-merged-list): Remove unused parameter `dirs'.
27375 * ielm.el (ielm-input-sender): Mark unused parameter.
27376 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27377 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27378 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27379 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27380 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27382 * image-dired.el (image-dired-display-thumbs): Remove unused
27383 variables `curr-file' and `count'.
27384 (image-dired-remove-tag): Remove unused variable `start'.
27385 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27386 variable `curr-file'
27387 (image-dired-rotate-original): Remove unused variable `temp-file'.
27388 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27389 Remove unused variable `file'.
27390 (image-dired-gallery-generate): Remove unused variable `curr'.
27391 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27393 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27395 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27397 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27399 * isearch.el (minibuffer-history-symbol): Declare.
27400 (isearch-edit-string): Remove unused variable `err'.
27401 (isearch-message-prefix, isearch-message-suffix):
27402 Mark unused parameters.
27404 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27406 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27408 * makesum.el (double-column): Remove unused variable `cnt'.
27410 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27411 (ido-ignore-item-temp-list): Declare.
27413 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27414 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27415 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27416 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27419 * mouse-sel.el (mouse-extend-internal):
27420 Remove unused variable `orig-window-frame'.
27422 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27423 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27424 Move declarations before first use.
27425 (pcomplete-opt): Mark unused parameters; doc fix.
27427 * proced.el (proced-revert): Mark unused parameter.
27428 (proced-send-signal): Remove unused variable `err'.
27430 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27431 Rename parameter PREFIX-ARG to ARG.
27432 (ps-basic-plot-string, ps-basic-plot-whitespace):
27433 Mark unused parameters.
27435 * replace.el (replace-count): Define.
27436 (occur-revert-function): Mark unused parameters.
27437 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27438 (isearch-case-fold-search, isearch-string): Declare.
27439 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27440 bind `case-fold-search'. Remove unused variables `beg' and `end',
27442 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27443 COUNT and bind `replace-count'.
27444 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27447 * savehist.el (print-readably, print-string-length): Declare.
27449 * shadowfile.el (shadow-expand-cluster-in-file-name):
27450 Remove unused variable `cluster'.
27451 (shadow-copy-file): Remove unused variable `i'.
27452 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27453 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27454 (shadow-define-literal-group, shadow-define-regexp-group)
27455 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27457 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27458 (shell): Use `called-interactively-p'.
27459 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27461 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27462 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27463 (delete-backward-char): Remove unused variable `ocol'.
27464 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27465 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27466 (event-apply-hyper-modifier, event-apply-shift-modifier)
27467 (event-apply-control-modifier, event-apply-meta-modifier):
27468 Mark unused parameters.
27469 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27470 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27472 * speedbar.el (speedbar-ignored-directory-expressions)
27473 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27474 (speedbar-find-file, speedbar-dir-follow)
27475 (speedbar-directory-buttons-follow, speedbar-tag-find)
27476 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27477 (speedbar-buffers-line-directory, speedbar-buffer-click):
27478 Mark unused parameters.
27479 (speedbar-tag-file): Remove unused variable `mode'.
27480 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27482 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27484 * talk.el (talk): Remove unused variable `display'.
27486 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27487 (tar-write-region-annotate): Mark unused parameter.
27489 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27490 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27491 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27492 warning by another.
27494 * time-stamp.el (time-stamp-string-preprocess):
27495 Remove unused variable `require-padding'.
27497 * tree-widget.el (widget-glyph-enable): Declare.
27498 (tree-widget-action): Mark unused parameter.
27500 * w32-fns.el (x-get-selection): Mark unused parameter.
27501 (autoload-make-program, generated-autoload-file): Declare.
27503 * wdired.el (wdired-revert): Mark unused parameters.
27504 (wdired-xcase-word): Remove unused variable `err'.
27506 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27507 (whitespace-help-scroll): Remove unused variable `data-help'.
27509 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27510 (widget-image-insert, widget-after-change, default)
27511 (widget-default-format-handler, widget-default-notify)
27512 (widget-default-prompt-value, widget-info-link-action)
27513 (widget-url-link-action, widget-function-link-action)
27514 (widget-variable-link-action, widget-file-link-action)
27515 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27516 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27517 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27518 (widget-insert-button-action, widget-delete-button-action, visibility)
27519 (widget-documentation-link-action, widget-documentation-string-action)
27520 (widget-const-prompt-value, widget-regexp-match, symbol)
27521 (widget-coding-system-prompt-value)
27522 (widget-key-sequence-value-to-external, sexp)
27523 (widget-sexp-value-to-internal, character, vector, cons)
27524 (widget-choice-prompt-value, widget-boolean-prompt-value)
27525 (widget-color--choose-action): Mark unused parameters.
27526 (widget-item-match-inline, widget-choice-match-inline)
27527 (widget-checklist-match, widget-checklist-match-inline)
27528 (widget-group-match): Rename parameter VALUES to VALS.
27529 (widget-field-value-set): Remove unused variable `size'.
27530 (widget-color-action): Remove unused variables `value' and `start'.
27532 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27533 variable `dir'. Doc fix.
27534 (windmove-find-other-window): Don't pass it.
27536 * window.el (count-windows): Mark unused parameter.
27537 (bw-adjust-window): Remove unused variable `err'.
27539 * woman.el (woman-file-name): Remove unused variable `default'.
27540 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27541 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27542 (global-font-lock-mode): Declare.
27543 (woman-decode-region): Mark unused parameter.
27544 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27546 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27547 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27548 (x-dnd-handle-moz-url): Remove unused variable `title'.
27549 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27551 * xml.el (xml-parse-tag, xml-parse-attlist):
27552 Remove unused variable `pos'.
27554 2011-04-19 Glenn Morris <rgm@gnu.org>
27556 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27557 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27558 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27559 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27560 * calendar/cal-html.el (cal-html-insert-minical):
27561 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27562 (calendar-mark-date-pattern):
27563 Prefix "unused" locals.
27565 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27566 optional argument `style'.
27568 * calendar/appt.el (appt-make-list):
27569 * calendar/cal-china.el (calendar-chinese-date-string):
27570 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27571 (diary-hebrew-yahrzeit):
27572 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27573 * calendar/calendar.el (calendar-generate-window):
27574 * calendar/time-date.el (time-to-days):
27575 Remove unused local variables.
27577 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27579 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27580 glyphless-char-display table.
27581 (tabulated-list-glyphless-char-display): New var.
27583 2011-04-18 Sam Steingold <sds@gnu.org>
27585 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27586 to acknowledgments.
27588 2011-04-17 Glenn Morris <rgm@gnu.org>
27590 * calendar/diary-lib.el (diary-sexp-entry):
27591 * calendar/holidays.el (holiday-sexp):
27592 Set debug-on-error rather than the removed stack-trace-on-error.
27594 2011-04-16 Glenn Morris <rgm@gnu.org>
27596 * progmodes/f90.el: Use lexical-binding.
27597 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27599 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27601 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27602 (mail-mode): Setup mailalias completion here instead.
27603 * mail/mailalias.el: Use lexical-binding.
27604 (pattern, mailalias-done): Declare dynamic.
27605 (mail-completion-at-point-function): New function, from mail-complete.
27606 (mail-complete): Use it.
27607 (mail-completion-expand): New function.
27608 (mail-get-names): Use it.
27609 (mail-directory, mail-directory-process, mail-directory-stream):
27610 Don't use `pattern' for lexically bound arg.
27612 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27614 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27615 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27616 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27618 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27619 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27620 (byte-interactive-p): Define them again, for use when inlining
27623 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27625 * loadup.el: Use `string-to-number', not `string-to-int'.
27627 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27629 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27630 gud-gdb-complete-command.
27631 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27632 (gud-gdb-completion-at-point): New function.
27633 (gud-gdb-completions): Remove.
27635 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27637 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27638 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27639 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27640 whether `executable-find' is bound.
27642 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27644 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27646 * minibuffer.el (completion-in-region-mode-predicate)
27647 (completion-in-region-mode--predicate): New vars.
27648 (completion-in-region, completion-in-region--postch)
27649 (completion-in-region-mode): Use them.
27650 (completion--capf-wrapper): Also return the hook function.
27651 (completion-at-point, completion-help-at-point):
27652 Adjust and provide a predicate.
27654 Preserve arg names for advice of subr and lexical functions (bug#8457).
27655 * help-fns.el (help-function-arglist): Consolidate the subr and
27656 new-byte-code cases. Add argument `preserve-names' to extract names
27657 from the docstring when needed.
27658 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27659 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27660 (ad-arglist): Use help-function-arglist's new arg.
27661 (ad-definition-type): Use cond.
27663 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27665 * autorevert.el (auto-revert-handler):
27666 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27667 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27668 Don't quote lambda.
27670 * image-mode.el (image-transform-set-scale):
27671 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27673 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27675 * net/network-stream.el (network-stream-open-starttls): Only do
27676 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27677 Upgrades via gnutls-cli are too slow to be done opportunistically.
27679 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27681 * dframe.el (dframe-current-frame): Remove spurious quote.
27683 2011-04-12 Glenn Morris <rgm@gnu.org>
27685 * calendar/cal-tex.el (cal-tex-end-document):
27686 Try to automatically use latin1 input if needed.
27688 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27689 Don't try to cons a mark onto an empty element.
27691 2011-04-11 Leo Liu <sdl.web@gmail.com>
27693 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27695 (ido-kill-buffer-at-head): Support killing virtual buffers.
27697 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27699 * minibuffer.el (completion-show-inline-help): New var.
27700 (completion--do-completion, minibuffer-complete)
27701 (minibuffer-force-complete, minibuffer-complete-word):
27702 Inhibit minibuffer messages if completion-show-inline-help is nil.
27704 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27705 to avoid interference from inline help (Bug#5849).
27707 2011-04-10 Leo Liu <sdl.web@gmail.com>
27709 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27712 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27714 * image-mode.el (image-toggle-display-image): Signal an error if
27716 (image-transform-mode, image-transform-resize)
27717 (image-transform-set-rotation): Doc fix.
27718 (image-transform-set-resize): Delete.
27719 (image-transform-set-scale, image-transform-fit-to-height)
27720 (image-transform-fit-to-width): Handle image-toggle-display-image
27721 and image-transform-resize directly.
27723 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27725 * doc-view.el (doc-view-fit-width-to-window)
27726 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27727 New functions for fitting the shown image to the Emacs window size.
27728 (doc-view-mode-map): Add bindings for the new functions.
27730 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27732 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27733 Fix typo in docstring.
27735 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27737 * files.el (file-size-human-readable): Produce one digit after
27738 decimal, like "ls -lh" does.
27740 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27741 the file size representation.
27743 * simple.el (list-processes): If async subprocesses are not
27744 available, error out with a clear error message.
27746 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27748 * help.el (help-form-show): New function, to be called from C.
27749 Put help-form output in a buffer named differently than *Help*.
27751 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27753 * files.el (file-size-human-readable): New function.
27755 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27756 computing the representation inline. Don't require `cl'.
27758 2011-04-08 Glenn Morris <rgm@gnu.org>
27760 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27762 * net/browse-url.el (browse-url-firefox):
27763 Test system-type, not system-configuration.
27765 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27766 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27767 Use log-edit-empty-buffer-p. (Bug#7598)
27769 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27770 (rlogin-mode-map): Initialize in the defvar.
27771 (rlogin): Use ignore-errors.
27773 * replace.el (occur-mode-map): Some fixes for menu items.
27775 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27777 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27779 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27781 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27782 issuing unused warnings.
27784 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27787 * simple.el: Lisp reimplement of list-processes. Based on an
27788 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27789 (process-menu-mode): New major mode.
27790 (list-processes--refresh, list-processes):
27791 (process-menu-visit-buffer): New functions.
27793 * files.el (save-buffers-kill-emacs): Don't assume any return
27794 value of list-processes, which is undocumented anyway.
27796 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27798 * emacs-lisp/tabulated-list.el: New file.
27800 * emacs-lisp/package.el: Use Tabulated List mode.
27801 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27802 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27803 table format using Tabulated List mode variables.
27804 (package--push): New macro, replacing package-list-maybe-add.
27805 (package-menu--generate): Use package--push. Renamed from
27806 package--generate-package-list.
27807 (package-menu-refresh, list-packages): Use it.
27808 (package-menu--print-info): Rename from package-print-package.
27809 Return insertion data instead of inserting it directly.
27810 (package-menu-describe-package, package-menu-execute):
27811 Use tabulated-list-get-id.
27812 (package-menu-mark-delete, package-menu-mark-install)
27813 (package-menu-mark-unmark, package-menu-backup-unmark)
27814 (package-menu-mark-obsolete-for-deletion):
27815 Use tabulated-list-put-tag.
27816 (package--list-packages, package-menu-revert)
27817 (package-menu-get-package, package-menu-get-version)
27818 (package-menu-sort-by-column): Functions deleted.
27819 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27820 (package-menu--status-predicate, package-menu--version-predicate)
27821 (package-menu--name-predicate)
27822 (package-menu--description-predicate): Handle arguments in the
27823 Tabulated List format.
27824 (package-list-packages-no-fetch): Call list-packages.
27826 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27828 * files.el (after-find-file-from-revert-buffer): Remove variable.
27829 (after-find-file): Don't bind it.
27830 (revert-buffer-in-progress-p): New variable.
27831 (revert-buffer): Bind it.
27832 Pass nil for `after-find-file-from-revert-buffer'.
27834 * saveplace.el (save-place-find-file-hook): Use new variable
27835 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27837 2011-04-06 Glenn Morris <rgm@gnu.org>
27839 * Makefile.in (AUTOGEN_VCS): New variable.
27840 (autoloads): Use $AUTOGEN_VCS.
27842 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27843 * calendar/calendar.el (calendar-mode-map):
27844 Check for toolkit scroll bars. (Bug#8305)
27846 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27848 * minibuffer.el (completion-in-region--postch)
27849 (completion-in-region-mode): Remove unnecessary messages.
27851 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27853 * font-lock.el (font-lock-refresh-defaults):
27854 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27855 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27857 * info.el (Info-directory-list, Info-read-node-name-2)
27858 (Info-split-parameter-string): Doc fixes.
27859 (Info-virtual-nodes): Reflow docstring.
27860 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27861 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27862 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27863 Fix typos in docstrings.
27864 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27865 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27866 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27867 (Info-restore-desktop-buffer): Mark unused parameters.
27868 (Info-directory-find-file, Info-directory-find-node)
27869 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27870 (Info-virtual-index-find-node, Info-apropos-find-file)
27871 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27872 Mark unused parameters; fix typos in docstrings.
27873 (Info-virtual-index): Remove unused local variable `nodename'.
27875 2011-04-05 Deniz Dogan <deniz@dogan.se>
27877 * net/rcirc.el: Update my e-mail address.
27878 (rcirc-mode-map): Remove M-o binding.
27880 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27882 * startup.el (command-line): Save the cursor's theme-face
27883 directly, instead of using face-override-spec.
27885 * custom.el (load-theme): Minor optimization in assigning faces.
27887 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27889 * help-fns.el (describe-variable): Complete all variables having
27890 documentation, including keywords.
27891 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27893 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27895 Convert to lexical-binding.
27897 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27898 (bs--get-marked-string, bs--get-modified-string)
27899 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27900 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27901 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27903 * ehelp.el (electric-help-execute-extended)
27904 (electric-help-ctrl-x-prefix):
27905 * hexl.el (hexl-revert-buffer-function):
27906 * linum.el (linum-after-change, linum-after-scroll):
27907 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27909 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27911 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27918 * epg.el: Use lexical binding.
27920 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27922 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27924 * textmodes/flyspell.el (flyspell-word): Recognize default
27925 dictionary case for flyspell-mark-duplications-exceptions.
27926 Use regexp matching for languages.
27927 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27928 default dictionary (Bug#7926).
27930 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27932 * emacs-lisp/package.el (package--with-work-buffer):
27933 Recognize https URLs.
27935 * net/network-stream.el: Move from gnus/proto-stream.el.
27936 Change prefix to network-stream throughout.
27937 (open-protocol-stream): Merge into open-network-stream, leaving
27938 open-protocol-stream as an alias. Handle nil BUFFER args.
27940 * subr.el (open-network-stream): Move to net/network-stream.el.
27942 2011-04-02 Glenn Morris <rgm@gnu.org>
27944 * find-dired.el (find-exec-terminator): New option.
27945 (find-ls-option): Test for -ls support.
27946 (find-ls-subdir-switches): Test for -b in find-ls-option.
27947 (find-dired, find-grep-dired): Doc fixes.
27948 (find-dired): Use find-exec-terminator.
27950 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27951 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27952 (find-name-arg): Remove purecopy.
27954 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27955 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27956 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27957 accordingly. Don't add the null-device if not needed.
27959 * files.el (save-some-buffers): Doc fix.
27961 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27963 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27965 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27967 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27968 Use `dolist' rather than `mapcar'.
27970 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27972 Add lexical binding.
27974 * subr.el (apply-partially): Use new closures rather than CL.
27975 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27976 (dolist, dotimes): Use slightly different expansion for lexical code.
27977 (functionp): Move to C.
27978 (letrec): New macro.
27979 (with-wrapper-hook): Use it and apply-partially instead of CL.
27980 (eval-after-load): Preserve lexical-binding.
27981 (save-window-excursion, with-output-to-temp-buffer): Turn them
27984 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27986 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27988 (help-add-fundoc-usage): Don't add `Not documented'.
27989 (help-function-arglist): Handle closures, subroutines, and new
27990 byte-code-functions.
27991 (help-make-usage): Remove leading underscores.
27992 (describe-function-1): Handle closures.
27993 (describe-variable): Use special-variable-p for completion.
27995 * files.el (lexical-binding): Declare safe.
27997 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27998 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27999 (pcase): Add `let' pattern.
28000 Change memoization so it actually works.
28001 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
28002 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
28005 * emacs-lisp/macroexp.el: Use lexical binding.
28006 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
28007 Don't convert ' to #' without checking that it's indeed quoting
28010 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
28011 Use eval-sexp-add-defvars.
28012 (eval-sexp-add-defvars): New fun.
28014 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
28016 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
28018 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
28019 than the internal `byte-compile-lambda'.
28020 (defmethod): Don't hide code under quotes.
28021 (eieio-defmethod): New `code' argument.
28023 * emacs-lisp/eieio-comp.el: Remove.
28025 * emacs-lisp/edebug.el (edebug-eval-defun)
28026 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
28027 (edebug-toggle): Avoid `eval'.
28029 * emacs-lisp/disass.el (disassemble-internal): Handle new
28031 (disassemble-1): Handle new byte codes.
28033 * emacs-lisp/cl.el (pushnew): Silence warning.
28035 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
28036 (cl-byte-compile-throw): Remove.
28037 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
28039 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
28042 * emacs-lisp/cconv.el: New file.
28044 * emacs-lisp/bytecomp.el: Use lexical binding instead of
28045 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
28046 (byte-compile-initial-macro-environment):
28047 Handle declare-function here.
28048 (byte-compile--lexical-environment): New var.
28049 (byte-stack-ref, byte-stack-set, byte-discardN)
28050 (byte-discardN-preserve-tos): New lap codes.
28051 (byte-interactive-p): Don't use any more.
28052 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
28054 (byte-compile-lapcode): Use them and handle new lap codes.
28055 (byte-compile-obsolete): Remove.
28056 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
28057 (byte-compile-arglist-warn): Check late def of inlinable funs.
28058 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
28059 since they should have been expanded by now.
28060 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
28061 (byte-compile-from-buffer): Remove unused second arg.
28062 (byte-compile-preprocess): New function.
28063 (byte-compile-toplevel-file-form): New function to distinguish
28064 file-form calls from outside from file-form calls from hunk-handlers.
28065 (byte-compile-file-form): Simplify.
28066 (byte-compile-file-form-defsubst): Remove.
28067 (byte-compile-file-form-defmumble): Simplify now that
28068 byte-compile-lambda always returns a byte-code-function.
28069 (byte-compile): Preprocess.
28070 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
28071 Remove, not used any more.
28072 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
28073 (byte-compile-make-args-desc): New funs.
28074 (byte-compile-lambda): Handle lexical functions. Always return
28075 a byte-code-function.
28076 (byte-compile-reserved-constants): New var, to make up room for
28077 closed-over variables.
28078 (byte-compile-constants-vector): Obey it.
28079 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
28080 (byte-compile-macroexpand-declare-function): New function.
28081 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
28082 byte-code-functions.
28083 (byte-compile-form): Check obsolescence here.
28084 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
28085 (byte-compile-variable-ref): Remove.
28086 (byte-compile-dynamic-variable-op): New fun.
28087 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
28088 (byte-compile-variable-set): New funs.
28089 (byte-compile-discard): Add 2 args.
28090 (byte-compile-stack-ref, byte-compile-stack-set)
28091 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
28092 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
28093 macroexpand-all instead.
28094 (byte-compile-quote-form): Remove.
28095 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
28096 (byte-compile-bind, byte-compile-unbind): New funs.
28097 (byte-compile-let): Handle let* and lexical binding.
28098 (byte-compile-let*): Remove.
28099 (byte-compile-catch, byte-compile-unwind-protect)
28100 (byte-compile-track-mouse, byte-compile-condition-case):
28101 Handle a new :fun-body form, used for lexical scoping.
28102 (byte-compile-save-window-excursion)
28103 (byte-compile-with-output-to-temp-buffer): Remove.
28104 (byte-compile-defun): Simplify.
28105 (byte-compile-stack-adjustment): New fun.
28106 (byte-compile-out): Use it.
28107 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
28109 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
28112 * emacs-lisp/byte-opt.el: Use lexical binding.
28113 (byte-inline-lapcode): Remove (to bytecomp).
28114 (byte-compile-inline-expand): Pay attention to inlining to/from
28115 lexically bound code.
28116 (byte-compile-unfold-lambda): Don't handle byte-code-functions
28118 (byte-optimize-form-code-walker): Don't handle save-window-excursion
28119 any more and don't call compiler-macros.
28120 (byte-compile-splice-in-already-compiled-code): Remove.
28121 (byte-code): Don't inline any more.
28122 (disassemble-offset): Receive `bytes' as argument rather than via
28124 (byte-compile-tag-number): Declare before first use.
28125 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
28126 `return' even if make-spliceable.
28127 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
28128 obsolete interactive-p.
28129 (byte-optimize-lapcode): Optimize new lap-codes.
28130 Don't trip up on new form of `byte-constant' lap code.
28132 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
28134 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
28136 * custom.el (custom-initialize-default, custom-declare-variable):
28139 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
28141 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
28142 (COMPILE_FIRST): Add macroexp and cconv.
28143 * makefile.w32-in: Mirror changes in Makefile.in.
28145 * vc/cvs-status.el:
28149 * vc/smerge-mode.el:
28150 * textmodes/bibtex-style.el:
28151 * textmodes/css-mode.el:
28159 * emacs-lisp/smie.el:
28162 * abbrev.el: Use lexical binding.
28164 2011-04-01 Eli Zaretskii <eliz@gnu.org>
28166 * info.el (info-display-manual): New function.
28168 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28170 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
28172 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
28174 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
28175 an entry for that server in rcirc-authinfo. (Bug#8385)
28177 2011-03-31 Glenn Morris <rgm@gnu.org>
28179 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
28181 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
28183 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
28185 * progmodes/python.el (python-default-interpreter)
28186 (python-python-command-args, python-jython-command-args)
28187 (python-which-shell, python-which-args, python-which-bufname)
28188 (python-file-queue, python-comint-output-filter-function)
28189 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
28190 variables and functions.
28192 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
28194 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
28195 (completion-in-region-mode): New minor mode.
28196 (completion-in-region): Use it.
28197 (completion-in-region--data, completion-in-region-mode-map): New vars.
28198 (completion-in-region--postch): New function.
28199 (completion--capf-misbehave-funs, completion--capf-safe-funs):
28201 (completion--capf-wrapper): New function.
28202 (completion-at-point): Use it to track well-behavedness of
28204 (completion-help-at-point): New command.
28206 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
28208 * vc/add-log.el (add-change-log-entry): Don't use whitespace
28209 syntax class to search for whitespace on a single line
28210 (Message-ID: <4D938140.4030905@redhat.com>).
28212 2011-03-30 Leo Liu <sdl.web@gmail.com>
28214 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
28216 (edit-abbrevs-map): Bind them here.
28217 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
28219 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
28221 * allout.el (allout-hide-by-annotation, allout-flag-region):
28222 Reduce possibility of overlay leakage by making them volatile.
28224 * allout-widgets.el (allout-widgets-tally): Define as nil so the
28225 hash is not shared between buffers. Mode initialization is
28226 responsible for giving it a useful starting value.
28227 (allout-item-span): Reduce possibility of overlay leakage by
28228 making them volatile.
28229 (allout-widgets-count-buttons-in-region): Add diagnostic function
28230 for tracking down button overlay leaks.
28232 2011-03-29 Leo Liu <sdl.web@gmail.com>
28234 * ido.el (ido-read-internal): Use the default history var
28235 minibuffer-history if no HISTORY is specified.
28237 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
28239 * net/imap.el (imap-shell-open, imap-process-connection-type):
28240 Use imap-process-connection-type for 'shell' streams as well as
28241 Kerberos, SSL, other subprocesses.
28243 2011-03-28 Leo Liu <sdl.web@gmail.com>
28245 * abbrev.el (abbrev-table-empty-p): New function.
28246 (prepare-abbrev-list-buffer): Place empty abbrev tables after
28247 nonempty ones. (Bug#5937)
28249 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28251 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28253 2011-03-27 Leo Liu <sdl.web@gmail.com>
28255 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28256 for foreground and background colors.
28257 (ansi-color-make-color-map): Adapt.
28259 2011-03-25 Leo Liu <sdl.web@gmail.com>
28261 * midnight.el (midnight-time-float): Remove. Note it calculates
28262 the microsecond component incorrectly and seconds-to-time does the
28264 Remove redundant (require 'timer).
28266 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28267 (ido-completions): Remove unused arguments. (Bug#8329)
28269 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28271 * minibuffer.el (completion--flush-all-sorted-completions):
28272 Remove itself from hook.
28273 (completion-at-point): Let the functions perform the completion
28274 immediately and return nil or t.
28275 * comint.el (comint-dynamic-complete-functions): Now identical to
28276 completion-at-point-functions.
28277 (comint-dynamic-list-input-ring): Remove unused var `index'.
28278 (comint--match-partial-filename, comint--unquote&expand-filename):
28279 New funs, split from comint-match-partial-filename.
28280 (comint-dynamic-complete): Use completion-at-point.
28281 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28283 2011-03-24 Drew Adams <drew.adams@oracle.com>
28285 * thingatpt.el: Support `defun'.
28287 2011-03-23 Leo Liu <sdl.web@gmail.com>
28289 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28291 * help-mode.el (help-mode-finish): Tweak regexp.
28293 2011-03-23 Glenn Morris <rgm@gnu.org>
28295 * eshell/esh-opt.el (eshell-eval-using-options):
28296 Do not bind unused local variable `eshell-option-stub'.
28298 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28300 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28302 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28303 keymap variable in `with-no-warnings' to avoid a warning when the
28304 keymap has been already `defconst'ed.
28306 2011-03-22 Leo Liu <sdl.web@gmail.com>
28308 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28309 encode all chars in abbrevs; otherwise use emacs-mule or
28310 utf-8-emacs. (Bug#8308)
28312 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28314 * simple.el (backward-delete-char-untabify):
28315 Avoid warning about using `delete-backward-char'.
28317 * image.el (image-type-file-name-regexps): Make it variable.
28318 `imagemagick-register-types' modifies it, and the user may want
28319 to add new extensions for known image types.
28320 (imagemagick-register-types): Throw error if not using ImageMagick.
28322 2011-03-22 Leo Liu <sdl.web@gmail.com>
28324 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28325 located before rcirc-prompt-end-marker.
28326 (rcirc-complete): Error if point is not after rcirc prompt.
28327 Handle the case when table is nil.
28328 (rcirc-user-authenticated): Define to fix compiler warning.
28330 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28332 * custom.el (custom--inhibit-theme-enable): Make it affect only
28333 custom-theme-set-variables and custom-theme-set-faces.
28334 (provide-theme): Ignore custom--inhibit-theme-enable.
28335 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28336 (custom-enabling-themes): Delete variable.
28337 (enable-theme): Accept only loaded themes as arguments.
28338 Ignore the special custom-enabled-themes variable.
28339 (custom-enabled-themes): Forbid themes from setting this.
28340 Eliminate use of custom-enabling-themes.
28341 (custom-push-theme): Quote "changed" custom var entry.
28343 2011-03-21 Leo Liu <sdl.web@gmail.com>
28345 * ido.el (ido-read-internal): Add ido-selected to history instead
28348 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28350 * subr.el (deferred-action-list, deferred-action-function):
28353 2011-03-21 Leo Liu <sdl.web@gmail.com>
28355 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28356 change on 2011-02-13 (bug#8309).
28358 * minibuffer.el (read-file-name-function): Change default value.
28359 (read-file-name--defaults): Rename from read-file-name-defaults.
28360 (read-file-name-default): Rename from read-file-name.
28361 (read-file-name): Call read-file-name-function.
28363 2011-03-21 Glenn Morris <rgm@gnu.org>
28365 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28368 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28370 * cus-theme.el: Add missing provide statement.
28371 (customize-create-theme): Extract theme value correctly.
28372 (custom-theme-visit-theme): Autoload.
28373 (customize-create-theme): Prompt before inserting default faces.
28375 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28377 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28378 units and musical notes.
28380 2011-03-20 Leo Liu <sdl.web@gmail.com>
28382 * ido.el (ido-read-internal): Use completing-read-default.
28383 (ido-completing-read): Fix compatibility with completing-read.
28385 2011-03-20 Christian Ohler <ohler@gnu.org>
28387 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28388 (ert-delete-all-tests): Use `called-interactively-p' rather than
28390 (ert--make-xrefs-region): Respect END.
28392 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28394 * dired-aux.el (dired-create-directory): Signal an error if the
28395 directory already exists (Bug#8246).
28397 * facemenu.el (list-colors-display): Call list-faces-display
28398 inside with-help-window.
28399 (list-colors-print): Use display property to align the final
28400 column, instead of checking window-width.
28402 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28404 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28405 windows-nt systems.
28406 (emerge-protect-metachars): Quote correctly for ms-dos and
28407 windows-nt systems.
28409 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28411 * info.el (info-initialize): Replace all uses of `:' with
28412 path-separator for compatibility with non-Unix systems.
28413 Cache quoting of path-separator. (Bug#8258)
28415 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28417 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28418 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28419 (mouse-avoidance-mode): Fix typos in docstrings.
28421 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28423 * startup.el (package-subdirectory-regexp): Move from package.el.
28424 Omit \\` and \\', and let callers add them.
28426 * emacs-lisp/package.el (package-strip-version)
28427 (package-load-all-descriptors): Add \\` and \\' to
28428 package-subdirectory-regexp before using it.
28429 (package-untar-buffer): New arg DIR; ensure that file untars only
28430 into this expected directory. Remove superfluous delete-region.
28431 (package-unpack): Caller changed.
28432 (package-tar-file-info): Use package-subdirectory-regexp.
28434 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28436 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28437 diff-mode-shared-map (bug#8284).
28438 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28440 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28442 * calendar/time-date.el (format-seconds): Use assoc instead of
28443 assoc-string, since assoc-string doesn't exist in XEmacs.
28445 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28447 * custom.el (custom-known-themes): Reflow docstring.
28448 (custom-theme-load-path): Fix typo in docstring.
28449 (load-theme): Fix typo in error message.
28450 (custom-available-themes, custom-variable-theme-value):
28451 Use `let', not `let*'.
28453 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28455 * calc/README: Mention inclusion of musical notes.
28457 * calc/calc-units.el (calc-lu-quant): Rename from
28458 `calc-logunits-quantity'.
28459 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28460 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28461 (calc-db): Rename from `calc-dblevel'.
28462 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28463 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28464 (calc-np): Rename from `calc-nplevel'.
28465 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28466 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28467 (calc-lu-plus): Rename from `calc-logunits-add'.
28468 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28469 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28470 (calc-lu-minus): Rename from `calc-logunits-sub'.
28471 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28472 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28473 (calc-lu-times): Rename from `calc-logunits-mul'.
28474 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28475 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28476 (calc-lu-divide): Rename from `calc-logunits-div'.
28477 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28478 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28480 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28481 functions being autoloaded.
28483 * calc/calc.el (calc-lu-power-reference): Rename from
28484 `calc-logunits-power-reference'.
28485 (calc-lu-field-reference): Rename from
28486 `calc-logunits-field-reference'.
28488 * calc/calc-help.el (calc-l-prefix-help):
28489 Mention musical note functions.
28491 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28493 * minibuffer.el (completion-all-sorted-completions):
28494 Use :completion-cycle-penalty text property if present.
28496 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28498 * allout.el (allout-yank-processing): Adjust for new rebulleting
28499 regime so bullet being yanked is used without prompting the user
28502 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28504 * startup.el (command-line): Warn the user that _emacs is deprecated.
28506 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28508 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28509 (delphi-verbose, delphi-comment-face, delphi-string-face)
28510 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28511 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28512 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28513 (delphi-new-comment-line, delphi-font-lock-defaults)
28514 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28515 Fix typos in docstrings.
28517 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28519 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28520 Invert the roles of character and string values for INSTEAD, so a
28521 string is used for the more common case of a defaulting prompt.
28523 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28525 * progmodes/ruby-mode.el (ruby-backward-sexp):
28526 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28527 * play/gamegrid.el (gamegrid-make-face):
28528 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28529 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28530 * notifications.el (notifications-notify):
28531 * net/xesam.el (xesam-search-engines):
28532 * net/quickurl.el (quickurl-list-insert):
28533 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28535 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28537 * startup.el (command-line): Update package subdirectory regexp.
28539 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28541 * allout.el (allout-abbreviate-flattened-numbering)
28542 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28544 * subr.el (read-char-choice): Only show the cursor after the prompt,
28545 not after the answer.
28547 2011-03-15 Kevin Ryde <user42@zip.com.au>
28549 * help-fns.el (variable-at-point): Skip leading quotes, if any
28552 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28554 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28557 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28559 * shell.el (shell): When called interactively, offer to change the
28560 shell file name on remote hosts.
28562 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28564 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28565 integration for LDAP parameters. The host, base, user or binddn,
28566 and secret tokens can be specified in a netrc file, for instance.
28567 This is optional because an `auth-source' parameter must be
28568 specified in the search attributes.
28570 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28572 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28574 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28576 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28577 into declaration. Remove redundant and harmful binding.
28579 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28581 * files.el (file-ownership-preserved-p): Pass `integer' as an
28582 explicit 2nd argument to `file-attributes'. If the file's owner
28583 is the Administrators group on Windows, and the current user is
28584 Administrator, consider that a match.
28586 * server.el (server-ensure-safe-dir): Consider server directory
28587 safe on MS-Windows if its owner is the Administrators group while
28588 the current Emacs user is Administrator. Use `=' to compare
28589 numerical UIDs, since they could be integers or floats.
28591 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28593 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28595 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28597 Sync with Tramp 2.2.1.
28599 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28601 * net/trampver.el: Update release number.
28603 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28605 * progmodes/compile.el (compilation--previous-directory): Fix up
28606 various nil/dead-marker mismatches (bug#8014).
28607 (compilation-directory-properties, compilation-error-properties):
28608 Don't call it at a position past the one we're about to change.
28610 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28611 Disable obsolescence warnings in the file that declares it.
28613 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28615 * allout-widgets.el (allout-widgets-tally):
28616 Initialize allout-widgets-tally as a hash table rather than nil to
28617 prevent mode-line redisplay warnings. Also, clarify the module
28618 description and fix a comment typo.
28620 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28622 * help-fns.el (describe-variable): Don't complete keywords.
28623 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28625 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28627 * emacs-lisp/package.el (package-version-join): Impose a standard
28628 string representation for pre/alpha/beta version lists.
28629 (package-unpack-single): Standardize the directory name by passing
28630 it through package-version-join.
28631 (package-strip-rcs-id): Accept any version string that does not
28632 signal an error in version-to-list.
28634 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28636 * simple.el (delete-trailing-whitespace): Return nil for the
28637 benefit of `write-file-functions'.
28639 2011-03-10 Glenn Morris <rgm@gnu.org>
28641 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28643 * vc/vc-git.el (vc-git-program): New option.
28644 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28645 (vc-git--call): Use it.
28647 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28649 * cus-edit.el (Custom-newline): If no button at point, look
28650 for a subgroup button at start-of-line. (Bug#2298)
28652 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28654 2011-03-10 Julien Danjou <julien@danjou.info>
28656 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28657 `cursor-type' is nil.
28659 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28661 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28663 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28665 * allout.el: Change so yank of distinctive-bullet items
28666 preserves the existing header prefix, rebulleting it if necessary,
28667 rather than replacing it. This is necessary for proper operation
28668 of cooperative addons like allout-widgets.
28669 (allout-make-topic-prefix, allout-rebullet-heading):
28670 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28671 value as alternate bullet to be used, instead of prompting the user
28672 for a bullet character.
28674 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28676 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28677 Do not use `tramp-file-name-port', because this returns also
28678 `tramp-default-port'.
28680 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28682 * net/rcirc.el (rcirc-handler-001): Remove useless
28683 with-rcirc-process-buffer.
28684 (rcirc-check-auth-status): Swap arguments to string-match.
28686 2011-03-09 Glenn Morris <rgm@gnu.org>
28688 * shell.el (shell-mode):
28689 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28691 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28692 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28694 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28696 * emacs-lisp/package.el (package-refresh-contents)
28697 (package-menu-execute): Use condition-case-no-debug.
28699 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28701 * simple.el (shell-command-to-string): Use `process-file'.
28703 * emacs-lisp/package.el (package-tar-file-info): Handle also
28706 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28707 Use `equal' for upload base check.
28709 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28711 * textmodes/texinfo.el (texinfo-environments):
28712 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28714 2011-03-08 Glenn Morris <rgm@gnu.org>
28716 * cus-start.el (cursor-in-non-selected-windows):
28717 Fix :set quoting oddness. (Bug#8192)
28719 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28720 in some setf expressions. (Bug#2159)
28722 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28724 * custom.el (custom-available-themes): Return themes in
28725 alphabetical order.
28727 See ChangeLog.15 for earlier changes.
28729 ;; Local Variables:
28733 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28735 This file is part of GNU Emacs.
28737 GNU Emacs is free software: you can redistribute it and/or modify
28738 it under the terms of the GNU General Public License as published by
28739 the Free Software Foundation, either version 3 of the License, or
28740 (at your option) any later version.
28742 GNU Emacs is distributed in the hope that it will be useful,
28743 but WITHOUT ANY WARRANTY; without even the implied warranty of
28744 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28745 GNU General Public License for more details.
28747 You should have received a copy of the GNU General Public License
28748 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.