1 2013-06-13 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7 Implement changes in Secret Service API. Make it backward compatible.
8 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9 (secrets-create-item): Use it. Prefix properties with interface.
11 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
14 (term-emulate-terminal): Respect term-suppress-hard-newline.
16 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
18 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
19 Only remove a `thumb-file' overlay. (Bug#14548)
21 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
23 * mail/reporter.el (reporter-submit-bug-report):
24 Handle missing package-name. (Bug#14600)
26 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
28 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
29 (reftex-citation-prompt, reftex-default-bibliography)
30 (reftex-bib-or-thebib, reftex-get-bibfile-list)
31 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
32 (reftex-bib-sort-author, reftex-bib-sort-year)
33 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
34 (reftex-extract-bib-entries-from-thebibliography)
35 (reftex-get-bibkey-default, reftex-get-bib-names)
36 (reftex-parse-bibtex-entry, reftex-get-bib-field)
37 (reftex-format-bib-entry, reftex-parse-bibitem)
38 (reftex-format-bibitem, reftex-do-citation)
39 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
40 (reftex-restrict-bib-matches, reftex-extract-bib-file)
41 (reftex-insert-bib-matches, reftex-format-citation)
42 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
43 (reftex-create-bibtex-file): Add docstrings, mostly by converting
44 existing comments into docstrings.
46 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
48 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
50 2013-06-12 Andreas Schwab <schwab@suse.de>
52 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
55 2013-06-12 Glenn Morris <rgm@gnu.org>
57 * ido.el (ido-delete-ignored-files): Remove.
58 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
59 Go back to calling ido-ignore-item-p directly.
61 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
63 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
65 * ido.el (ido-delete-ignored-files): New function,
66 split from ido-make-file-list-1.
67 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
68 (ido-make-file-list-1): Use ido-delete-ignored-files.
70 2013-06-12 Leo Liu <sdl.web@gmail.com>
72 * progmodes/octave.el (inferior-octave-startup)
73 (inferior-octave-completion-table)
74 (inferior-octave-track-window-width-change)
75 (octave-eldoc-function-signatures, octave-help)
76 (octave-find-definition): Use single quoted strings.
77 (inferior-octave-startup-args): Change default value.
78 (inferior-octave-startup): Do not hard code "-i" and
80 (inferior-octave-resync-dirs): Add optional arg NOERROR.
81 (inferior-octave-directory-tracker): Use it.
82 (octave-goto-function-definition): Robustify.
83 (octave-help): Support highlighting operators in 'See also'.
84 (octave-find-definition): Find subfunctions only in Octave mode.
86 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
88 * help-fns.el (help-fns--compiler-macro): If the handler function is
89 named, then put a link to it.
90 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
91 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
93 (cl-eval-when): Simplify debug spec.
94 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
95 compiler-macro function instead of setting `compiler-macro-file'.
97 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
98 Daniel Hackney <dan@haxney.org>
100 First part of Daniel Hackney's patch to package.el.
101 * emacs-lisp/package.el: Use defstruct.
102 (package-desc): New, main struct.
103 (package--bi-desc, package--ac-desc): New structs, used to describe the
104 format in external files.
105 (package-desc-vers): Replace with package-desc-version accessor.
106 (package-desc-doc): Replace with package-desc-summary accessor.
107 (package-activate-1): Remove `package' arg since the pkg-vec now
109 (define-package): Use package-desc-from-define.
110 (package-unpack-single): Change file-name arg to be a symbol.
111 (package--add-to-archive-contents): Use package-desc-create and new
112 accessor functions to package--ac-desc.
113 (package-buffer-info, package-tar-file-info): Return a package-desc.
114 (package-install-from-buffer): Remove `type' argument. Change pkg-info
115 arg to be a package-desc.
116 (package-install-file): Adjust accordingly. Use \' to match EOS.
117 (package--from-builtin): New function.
118 (describe-package-1, package-menu--generate): Use it.
119 (package--make-autoloads-and-compile): Change name arg to be a symbol.
120 (package-generate-autoloads): Idem and return the name of the file.
121 * emacs-lisp/package-x.el (package-upload-buffer-internal):
122 Change pkg-info arg to be a package-desc.
123 Use package-make-ac-desc.
124 (package-upload-file): Use \' to match EOS.
125 * finder.el (finder-compile-keywords): Use package-make-builtin.
127 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
129 * vc/vc.el (vc-deduce-fileset): Change error message.
130 (vc-read-backend): New function.
131 (vc-next-action): Use it.
133 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
135 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
136 (prolog-font-lock-keywords): Use regexp-opt instead.
137 Don't manually highlight strings.
138 (prolog-mode-variables): Simplify comment-start-skip.
139 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
141 * emacs-lisp/generic.el (generic--normalise-comments)
142 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
143 (generic-mode-set-comments): Use them.
144 (generic-bracket-support): Use setq-local.
145 (generic-make-keywords-list): Declare obsolete.
147 2013-06-11 Glenn Morris <rgm@gnu.org>
149 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
150 Prettify after setting font-lock-defaults. (Bug#14574)
152 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
154 * replace.el (query-replace, occur-read-regexp-defaults-function)
156 * subr.el (declare-function, number-sequence, local-set-key)
157 (substitute-key-definition, locate-user-emacs-file)
158 (with-silent-modifications, split-string, eval-after-load):
159 Fix typos, remove unneeded backslashes and reflow some docstrings.
161 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
163 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
164 default for Elisp files.
166 2013-06-11 Glenn Morris <rgm@gnu.org>
168 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
169 although define-derived-mode was doing this anyway. (Bug#14583)
171 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
173 * allout.el (allout-encryption-plaintext-sanitization-regexps):
174 Fix make-variable-buffer-local call to refer to the correct variable.
176 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
178 * eshell/em-term.el (eshell-visual-commands)
179 (eshell-visual-subcommands, eshell-visual-options):
180 Add summary line to docstrings. Add cross-references.
182 2013-06-10 Glenn Morris <rgm@gnu.org>
184 * epa.el (epa-read-file-name): New function. (Bug#14510)
185 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
187 2013-06-09 Xue Fuqiao <xfq.free@gmail.com>
189 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
190 * vc/vc-hooks.el (vc-stay-local): Doc fix.
192 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
194 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
195 output redirection to be ignored with visual commands.
197 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
199 * eshell/em-term.el (eshell-visual-command-p): New function.
200 (eshell-term-initialize): Move long lambda to separate function
201 eshell-visual-command-p.
202 * eshell/em-dirs.el (eshell-dirs-initialise):
203 * eshell/em-script.el (eshell-script-initialize):
204 Add missing #' to lambda.
206 2013-06-08 Leo Liu <sdl.web@gmail.com>
208 * progmodes/octave.el (octave-add-log-current-defun): New function.
209 (octave-mode): Set add-log-current-defun-function.
210 (octave-goto-function-definition): Do not move point if not found.
211 (octave-find-definition): Enhance to try subfunctions first.
213 2013-06-08 Glenn Morris <rgm@gnu.org>
215 * emacs-lisp/bytecomp.el (byte-compile-char-before)
216 (byte-compile-backward-char, byte-compile-backward-word):
217 Improve previous change, to handle non-explicit nil.
219 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
221 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
222 (smie--opener/closer-at-point): New function.
223 (smie--matching-block-data): Use it. Don't match from right after an
224 opener or right before a closer. Obey smie-blink-matching-inners.
225 Don't signal a mismatch for repeated inners like "switch..case..case".
227 2013-06-07 Leo Liu <sdl.web@gmail.com>
229 * progmodes/octave.el (octave-mode): Set comment-use-global-state
231 (octave-function-header-regexp): Fix. (Bug#14570)
232 (octave-help-mode-finish-hook, octave-help-mode-finish):
233 Remove. Just use temp-buffer-show-hook.
235 * newcomment.el (comment-search-backward): Revert last change.
238 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
240 2013-06-07 Eli Zaretskii <eliz@gnu.org>
242 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
243 through xargs, to avoid failure due to MS-Windows limitations on
246 2013-06-06 Glenn Morris <rgm@gnu.org>
248 * font-lock.el (lisp-font-lock-keywords-2):
249 Treat user-error like error.
251 * emacs-lisp/bytecomp.el (byte-compile-char-before)
252 (byte-compile-backward-char, byte-compile-backward-word):
253 Handle explicit nil arguments. (Bug#14565)
255 2013-06-05 Alan Mackenzie <acm@muc.de>
257 * isearch.el (isearch-allow-prefix): New user option.
258 (isearch-other-meta-char): Don't exit isearch when a prefix
259 argument is typed whilst `isearch-allow-prefix' is non-nil.
262 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
264 * autorevert.el (auto-revert-notify-handler): Use memq.
265 Hide assertion failure.
267 * skeleton.el: Use cl-lib.
268 (skeleton-further-elements): Use defvar-local.
269 (skeleton-insert): Use cl-progv.
271 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
273 * progmodes/prog-mode.el (prog-prettify-symbols)
274 (prog-prettify-install): Update docstrings.
276 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
278 * simple.el: Move all the prog-mode code to prog-mode.el.
279 * progmodes/prog-mode.el: New file.
280 * loadup.el: Add prog-mode.el.
282 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
284 * simple.el (prog-prettify-symbols): Add version.
285 (prog-prettify-install): Add convenience function to prettify symbols.
287 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
288 (perl--augmented-font-lock-keywords-1)
289 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
290 variables and use it.
292 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
293 (cfengine3-mode): Remove unneeded variable and use it.
295 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
296 (lisp--augmented-font-lock-keywords-1)
297 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
298 Remove unneeded variables and use it.
300 2013-06-05 João Távora <joaotavora@gmail.com>
302 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
303 to point when opening the connection. (Bug#14380)
305 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
307 * subr.el (load-history-regexp, load-history-filename-element)
308 (eval-after-load, after-load-functions, do-after-load-evaluation)
309 (eval-next-after-load, display-delayed-warnings)
310 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
311 definition of save-match-data.
312 (overriding-local-map): Remove accidental obsolescence declaration.
314 * emacs-lisp/edebug.el (edebug-result): Move before first use.
316 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
318 Generalize symbol prettify support to prog-mode and implement it
319 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
320 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
321 (prog--prettify-font-lock-compose-symbol)
322 (prog-prettify-font-lock-symbols-keywords): New variables and
323 functions to support symbol prettification.
324 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
325 (lisp--augmented-font-lock-keywords-1)
326 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
327 (lisp--prettify-symbols-alist): Implement prettify of lambda.
328 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
329 (cfengine3--prettify-symbols-alist, cfengine3-mode):
330 Implement prettify of -> => :: strings.
331 * progmodes/perl-mode.el (perl-prettify-symbols)
332 (perl--font-lock-compose-symbol)
333 (perl--font-lock-symbols-keywords): Move to prog-mode.
334 (perl--prettify-symbols-alist): Prettify -> => :: strings.
335 (perl-font-lock-keywords-1)
336 (perl-font-lock-keywords-2): Remove explicit prettify support.
337 (perl--augmented-font-lock-keywords)
338 (perl--augmented-font-lock-keywords-1)
339 (perl--augmented-font-lock-keywords-2, perl-mode):
340 Implement prettify support.
342 2013-06-05 Leo Liu <sdl.web@gmail.com>
344 Re-implement smie matching block highlight using
345 show-paren-data-function. (Bug#14395)
346 * emacs-lisp/smie.el (smie-matching-block-highlight)
347 (smie--highlight-matching-block-overlay)
348 (smie--highlight-matching-block-lastpos)
349 (smie-highlight-matching-block)
350 (smie-highlight-matching-block-mode): Remove.
351 (smie--matching-block-data-cache): New variable.
352 (smie--matching-block-data): New function.
353 (smie-setup): Use smie--matching-block-data for
354 show-paren-data-function.
356 * progmodes/octave.el (octave-mode-menu): Fix.
357 (octave-find-definition): Skip garbage lines.
359 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
361 Fix compilation error with simultaneous dynamic+lexical scoping.
362 Add warning when a defvar appears after the first let-binding.
363 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
364 (byte-compile-close-variables): Initialize it.
365 (byte-compile--declare-var): New function.
366 (byte-compile-file-form-defvar)
367 (byte-compile-file-form-define-abbrev-table)
368 (byte-compile-file-form-custom-declare-variable): Use it.
369 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
370 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
371 (byte-compile-bind): Handle dynamic bindings that shadow
373 (byte-compile-unbind): Make arg non-optional.
374 (byte-compile-let): Simplify.
375 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
376 (cconv--analyse-function, cconv-analyse-form): Populate it.
377 Protect byte-compile-bound-variables to limit the scope of defvars.
378 (cconv-analyse-form): Add missing rule for (defvar <foo>).
379 Remove unneeded rule for `declare'.
381 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
382 so as to avoid depending on cl-adjoin at run-time.
383 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
385 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
386 (macroexp--warn-and-return): Use it.
388 2013-06-05 Leo Liu <sdl.web@gmail.com>
390 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
392 2013-06-04 Leo Liu <sdl.web@gmail.com>
394 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
395 (compilation-auto-jump): Suppress the "Mark set" message to give
398 2013-06-04 Alan Mackenzie <acm@muc.de>
400 Remove faulty optimisation from indentation calculation.
401 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
402 search limit based on 2000 characters back from indent-point.
404 2013-06-03 Tassilo Horn <tsdh@gnu.org>
406 * eshell/em-term.el (cl-lib): Require `cl-lib'.
408 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
410 * emacs-lisp/lisp.el: Use lexical-binding.
411 (lisp--local-variables-1, lisp--local-variables): New functions.
412 (lisp--local-variables-completion-table): New var.
413 (lisp-completion-at-point): Use it complete let-bound vars.
415 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
418 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
420 * autorevert.el (auto-revert-notify-enabled)
421 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
422 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
423 (auto-revert-notify-handler): Handle also gfilenotify.
425 * subr.el (file-notify-handle-event): New defun. Replacing ...
426 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
429 2013-06-03 Juri Linkov <juri@jurta.org>
431 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
432 `M-s h .'. (Bug#14427)
434 * hi-lock.el (highlight-symbol-at-point): New alias for the new
435 command `hi-lock-face-symbol-at-point'.
436 (hi-lock-face-symbol-at-point): New command.
437 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
438 (hi-lock-menu): Add `highlight-symbol-at-point'.
439 (hi-lock-mode): Doc fix.
441 * isearch.el (isearch-forward-symbol-at-point): New command.
442 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
443 (isearch-highlight-regexp): Add a regexp which matches
444 words/symbols for word/symbol mode.
446 * subr.el (find-tag-default-bounds): New function with the body
447 mostly moved from `find-tag-default'.
448 (find-tag-default): Move most code to `find-tag-default-bounds',
449 call it and apply `buffer-substring-no-properties' afterwards.
451 2013-06-03 Tassilo Horn <tsdh@gnu.org>
453 * eshell/em-term.el (eshell-term-initialize):
454 Use `cl-intersection' rather than `intersection'.
456 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
458 * vc/log-view.el: Doc fix.
459 (log-view-mode-map): Copy keymap from `special-mode-map'.
461 2013-06-02 Eric Ludlam <zappo@gnu.org>
463 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
464 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
465 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
466 (eieio-unbound, eieio-default-superclass)
467 (eieio--define-field-accessors, method-static, method-before)
468 (method-primary, method-after, method-num-lists)
469 (method-generic-before, method-generic-primary)
470 (method-generic-after, method-num-slots)
471 (eieio-specialized-key-to-generic-key)
472 (eieio--check-type, class-v, class-p)
473 (eieio-class-name, define-obsolete-function-alias)
474 (eieio-class-parents-fast, eieio-class-children-fast)
475 (same-class-fast-p, class-constructor, generic-p)
476 (generic-primary-only-p, generic-primary-only-one-p)
477 (class-option-assoc, class-option, eieio-object-p)
478 (class-abstract-p, class-method-invocation-order)
479 (eieio-defclass-autoload-map, eieio-defclass-autoload)
480 (eieio-class-un-autoload, eieio-defclass)
481 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
482 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
483 (eieio--defgeneric-init-form, eieio-defgeneric-form)
484 (eieio-defgeneric-reset-generic-form)
485 (eieio-defgeneric-form-primary-only)
486 (eieio-defgeneric-reset-generic-form-primary-only)
487 (eieio-defgeneric-form-primary-only-one)
488 (eieio-defgeneric-reset-generic-form-primary-only-one)
489 (eieio-unbind-method-implementations)
490 (eieio--defmethod, eieio--typep)
491 (eieio-perform-slot-validation, eieio-validate-slot-value)
492 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
493 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
494 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
495 (eieio-slot-name-index, eieio-class-slot-name-index)
496 (eieio-set-defaults, eieio-initarg-to-attribute)
497 (eieio-attribute-to-initarg, eieio-c3-candidate)
498 (eieio-c3-merge-lists, eieio-class-precedence-c3)
499 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
500 (eieio-class-precedence-list, eieio-generic-call-methodname)
501 (eieio-generic-call-arglst, eieio-generic-call-key)
502 (eieio-generic-call-next-method-list)
503 (eieio-pre-method-execution-functions, eieio-generic-call)
504 (eieio-generic-call-primary-only, eieiomt-method-list)
505 (eieiomt-optimizing-obarray, eieiomt-install)
506 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
507 (eieio-generic-form, eieio-defmethod, make-obsolete)
508 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
509 (defclass): Remove `eval-and-compile' from macro.
510 (call-next-method, shared-initialize): Instead of using
511 `scoped-class' variable, use new eieio--scoped-class, and
512 eieio--with-scoped-class.
513 (initialize-instance): Rename local variable 'scoped-class' to
514 'this-class' to remove ambiguitity from old global.
516 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
518 (eieio--scoped-class-stack): New variable
519 (eieio--scoped-class): New fcn
520 (eieio--with-scoped-class): New scoping macro.
521 (eieio-defclass): Use pushnew instead of add-to-list.
522 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
523 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
524 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
525 `scoped-class' variable, use new eieio--scoped-class, and
526 eieio--with-scoped-class.
528 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
530 2013-06-02 Tassilo Horn <tsdh@gnu.org>
532 * eshell/esh-ext.el (eshell-external-command): Pass args to
533 `eshell-find-interpreter'.
534 (eshell-find-interpreter): Add new second parameter ARGS.
536 * eshell/em-script.el (eshell-script-initialize): Add second arg
537 to the function added as MATCH to `eshell-interpreter-alist'.
539 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
540 the function added as MATCH to `eshell-interpreter-alist'.
542 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
543 (eshell-visual-options): New defcustom.
544 (eshell-escape-control-x): Adapt docstring.
545 (eshell-term-initialize): Test `eshell-visual-subcommands' and
546 `eshell-visual-options' in addition to `eshell-visual-commands'.
547 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
549 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
551 * progmodes/python.el (python-indent-block-enders): Add break,
552 continue and raise keywords.
554 2013-06-01 Glenn Morris <rgm@gnu.org>
556 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
558 Plain (f)boundp silences compilation warnings since Emacs 22.1.
559 * progmodes/cc-cmds.el (delete-forward-p):
560 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
561 * progmodes/cc-engine.el (buffer-syntactic-context):
562 * progmodes/cc-fonts.el (face-property-instance):
563 * progmodes/cc-mode.el (set-keymap-parents):
564 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
565 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
566 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
567 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
568 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
570 * progmodes/cc-vars.el (other): Emacs has this widget since
571 at least 21.1, so don't (re)define it.
573 * eshell/em-cmpl.el (eshell-cmpl-initialize):
574 Replace the obsolete alias pcomplete-arg-quote-list.
576 2013-06-01 Leo Liu <sdl.web@gmail.com>
578 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
580 (inferior-octave-minimal-columns)
581 (inferior-octave-last-column-width): New variables.
582 (inferior-octave-track-window-width-change): New function.
583 (inferior-octave-mode): Adjust column width so that Octave output,
584 for example from 'ls', can fit into the window nicely.
586 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
588 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
589 Highlight expansions inside regexp literals.
591 2013-05-31 Glenn Morris <rgm@gnu.org>
593 * obsolete/sym-comp.el (symbol-complete):
594 Replace obsolete completion-annotate-function.
596 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
598 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
600 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
601 New function, checks if point is inside a literal that allows
602 expression expansion.
603 (ruby-syntax-propertize-expansion): Use it.
604 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
607 2013-05-30 Juri Linkov <juri@jurta.org>
609 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
611 (isearch-invisible): New variable.
612 (isearch-forward): Doc fix.
613 (isearch-mode): Set `isearch-invisible'
614 to the value of `search-invisible'.
615 (isearch-toggle-case-fold): Doc fix.
616 (isearch-toggle-invisible): New command.
617 (isearch-query-replace): Let-bind `search-invisible'
618 to the value of `isearch-invisible'.
619 (isearch-search): Use `isearch-invisible' instead of
620 `search-invisible'. Let-bind `search-invisible'
621 to the value of `isearch-invisible'. (Bug#11378)
623 2013-05-30 Juri Linkov <juri@jurta.org>
625 * replace.el (perform-replace): Avoid `isearch-range-invisible'
626 call when `query-flag' is nil and `search-invisible' is non-nil.
629 2013-05-30 Glenn Morris <rgm@gnu.org>
631 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
633 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
634 (cc-require): Suppress spurious "noruntime" warnings.
635 (cc-require-when-compile): Use fboundp, for sake of compiler.
637 * progmodes/cc-mode.el: Move load of cc-vars before that of
638 cc-langs (which in turn loads cc-vars), to quieten compiler.
640 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
642 * paren.el: Simplify the code.
643 (show-paren-mode): Always start the timer.
644 (show-paren--idle-timer): Rename from show-paren-idle-timer.
645 (show-paren--overlay, show-paren--overlay-1): Rename from
646 show-paren-overlay and show-paren-overlay-1, and initialize to an
647 overlay rather than to nil.
648 (show-paren-function): Misc cleanup and simplifications.
650 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
652 * paren.el (show-paren-data-function): New hook.
653 (show-paren--default): New function, extracted from show-paren-function.
654 (show-paren-function): Use show-paren-data-function.
656 2013-05-30 Glenn Morris <rgm@gnu.org>
658 * ielm.el (ielm-map, ielm-complete-symbol):
659 Use completion-at-point rather than obsolete functions.
660 (inferior-emacs-lisp-mode): Doc fix.
661 Set completion-at-point-functions, rather than
662 comint-dynamic-complete-functions.
664 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
665 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
666 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
668 * image.el (image-animated-p): Tweak definition.
670 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
671 (rlogin-process-connection-type): Tweak default. Add set-after.
672 (rlogin-host): Doc fix.
673 (rlogin): Tweak prompt.
674 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
676 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
677 * progmodes/tcl.el (inferior-tcl-mode-map):
678 Use completion-at-point rather than obsolete alias.
680 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
682 * minibuffer.el (read-file-name-completion-ignore-case):
683 Move before completion--in-region, for eager macro expansion.
685 2013-05-29 Juri Linkov <juri@jurta.org>
687 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
688 for total count of matching lines. Add `global-matches' for total
689 count of matches. Rename `matches' to `lines' for count of
690 matching lines. Add `matches' for count of matches.
691 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
692 to `prev-line' for line number of prev match endpt.
693 Increment `matches' for every match. Print the number of
694 matching lines in the header.
695 (occur-context-lines): Rename `lines' to `curr-line'.
696 Rename `prev-lines' to `prev-line'. (Bug#14017)
698 2013-05-29 Juri Linkov <juri@jurta.org>
700 * replace.el (perform-replace): Add `skip-read-only-count',
701 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
702 Increment them for corresponding conditions and report the number
703 of skipped occurrences in the final message. (Bug#11746)
704 (query-replace, query-replace-regexp, query-replace-regexp-eval)
705 (replace-string, replace-regexp): Doc fix.
707 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
709 * emacs-lisp/trace.el (trace--read-args): Provide a default.
711 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
712 prog-mode-map (bug#14504).
714 2013-05-29 Leo Liu <sdl.web@gmail.com>
716 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
717 (octave-help): Small simplification.
719 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
720 off the highlight first.
722 2013-05-29 Glenn Morris <rgm@gnu.org>
724 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
725 Handle idlwave-last-system-routine-info-cons-cell being nil.
727 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
728 (idlwave-write-paths): Simplify via with-temp-buffer.
730 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
731 * emulation/cua-rect.el: Also load cua-base at run time.
733 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
734 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
735 (cperl-imenu-on-info): Require imenu.
737 2013-05-28 Alan Mackenzie <acm@muc.de>
739 Handle "capitalised keywords" correctly.
740 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
742 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
744 * eshell/em-unix.el: Add -r option to cp.
746 2013-05-28 Glenn Morris <rgm@gnu.org>
748 * vc/vc-arch.el (vc-exec-after): Declare.
749 (vc-switches): Autoload.
750 * vc/vc-bzr.el: No need to require vc when compiling.
751 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
752 (vc-resynch-buffer, vc-dir-refresh): Declare.
753 (vc-setup-buffer, vc-switches): Autoload.
754 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
755 (vc-resynch-buffer): Declare.
756 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
757 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
758 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
759 (grep-read-regexp, grep-read-files, grep-expand-template)
760 (vc-dir-refresh): Declare.
761 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
762 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
763 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
764 * vc/vc-mtn.el (vc-exec-after): Declare.
765 (vc-switches): Autoload.
766 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
767 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
768 (vc-file-tree-walk): Declare.
769 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
770 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
771 (vc-tag-precondition, vc-rename-master): Autoload.
772 * vc/vc-svn.el (vc-exec-after): Declare.
773 (vc-switches, vc-setup-buffer): Autoload.
774 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
776 (vc-resynch-buffer): Declare.
778 * obsolete/fast-lock.el (byte-compile-warnings):
779 Don't warn about obsolete features in this obsolete file.
781 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
782 Move definition before use.
784 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
785 (dun-unix-verbs): Remove dun-zippy.
786 (dun-zippy): Remove function.
788 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
790 2013-05-27 Juri Linkov <juri@jurta.org>
792 * replace.el (replace-search): New function with code moved out
793 from `perform-replace'.
794 (replace-highlight, replace-dehighlight): Move function definitions
795 up closer to `replace-search'. (Bug#11746)
797 2013-05-27 Juri Linkov <juri@jurta.org>
799 * replace.el (perform-replace): Ignore invisible matches.
800 In addition to checking `query-replace-skip-read-only', also
801 filter out matches by calling `run-hook-with-args-until-failure'
802 on `isearch-filter-predicates', and also check `search-invisible'
803 for t or call `isearch-range-invisible'.
804 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
806 2013-05-27 Juri Linkov <juri@jurta.org>
808 * isearch.el (isearch-filter-predicates): Rename from
809 `isearch-filter-predicate'. Doc fix. (Bug#11378)
810 (isearch-message-prefix): Display text from the property
811 `isearch-message-prefix' of the currently active filters.
812 (isearch-search): Don't compare `isearch-filter-predicate' with
813 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
814 on `isearch-filter-predicates'. Also check `search-invisible' for t
815 or call `isearch-range-invisible'.
816 (isearch-filter-visible): Make obsolete.
817 (isearch-lazy-highlight-search):
818 Call `run-hook-with-args-until-failure' on
819 `isearch-filter-predicates' and use `isearch-range-invisible'.
821 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
822 `isearch-filter-predicates' instead of `funcall'ing
823 `isearch-filter-predicate'.
824 (Info-mode): Set `Info-isearch-filter' to
825 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
827 * dired-aux.el (dired-isearch-filter-predicate-orig):
829 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
830 (dired-isearch-filenames-end): Add and remove
831 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
832 instead of changing the value of `isearch-filter-predicate'.
833 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
834 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
835 Put property `isearch-message-prefix' to "filename " on
836 `dired-isearch-filter-filenames'.
838 * wdired.el (wdired-change-to-wdired-mode):
839 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
840 locally instead of changing `isearch-filter-predicate'.
841 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
843 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
845 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
846 return the commit hash (Bug#14459). Also set the
847 `vc-git-detached' property.
848 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
849 (vc-git-mode-line-string): Use the same help-echo format whether
850 in detached mode or not, because we know the actual revision now.
851 When in detached mode, shorten the revision to 7 chars.
853 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
855 * emacs-lisp/easy-mmode.el (define-minor-mode):
856 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
857 mode hook and provide a docstring.
859 2013-05-27 Alan Mackenzie <acm@muc.de>
861 Remove spurious syntax-table text properties inserted by C-y.
862 * progmodes/cc-mode.el (c-after-change): Also clear hard
863 syntax-table property with value nil.
865 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
867 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
868 when reading the events; the buffer layout shall not be changed.
870 2013-05-27 Leo Liu <sdl.web@gmail.com>
872 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
874 (inferior-octave-directory-tracker): Automatically re-sync
876 (octave-help): Improve handling of 'See also'.
878 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
880 * doc-view.el: Minor naming convention tweaks.
881 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
883 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
884 even if there's no `display' property yet (bug#14435).
886 2013-05-25 Eli Zaretskii <eliz@gnu.org>
888 * subr.el (unmsys--file-name): Rename from reveal-filename.
890 * Makefile.in (custom-deps, finder-data, autoloads)
891 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
892 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
893 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
895 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
897 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
898 error-completion on the first 2 args of condition-case (bug#14446).
901 2013-05-25 Leo Liu <sdl.web@gmail.com>
903 * comint.el (comint-previous-matching-input): Do not flood the
904 *Messages* buffer with trivial messages.
906 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
908 * progmodes/flymake.el (flymake-nop): Don't return a string.
909 (flymake-set-at): Fix typo.
911 * simple.el (read--expression): New function, extracted from
912 eval-expression. Set completion-at-point-functions (bug#14465).
913 (eval-expression, eval-minibuffer): Use it.
915 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
917 * progmodes/flymake.el (flymake-save-buffer-in-file)
918 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
919 (flymake-selected-frame, flymake-log, flymake-ins-after)
920 (flymake-set-at, flymake-get-buildfile-from-cache)
921 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
922 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
923 Refine the doc string.
924 (flymake-get-file-name-mode-and-masks): Reformat.
925 (flymake-get-real-file-name-function): Fix a minor bug.
927 2013-05-24 Juri Linkov <juri@jurta.org>
929 * progmodes/grep.el (grep-mode-font-lock-keywords):
930 Support =linenumber= format used by git-grep for lines with
931 function names. (Bug#13549)
933 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
935 * progmodes/octave.el (octave-smie-rules): Return nil rather than
936 0 after a semi-colon; it works better for smie-auto-fill.
937 (octave--indent-new-comment-line): New function.
938 (octave-indent-new-comment-line): Use it (indirectly).
939 (octave-mode): Don't disable smie-auto-fill. Use add-function to
940 modify comment-line-break-function.
942 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
943 (smie-setup): Use add-function to set it.
945 2013-05-24 Sam Steingold <sds@gnu.org>
947 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
948 argument (before the `interactive' argument).
950 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
952 * image-mode.el (image-mode-winprops): Add winprops to
953 image-mode-winprops-alist before running
954 image-mode-new-window-functions.
955 * doc-view.el (doc-view-new-window-function): Don't delay
956 doc-view-goto-page via timers (bug#14435).
958 2013-05-24 Tassilo Horn <tsdh@gnu.org>
960 * doc-view.el: Integrate with desktop.el. (Bug#14435)
961 (doc-view-desktop-save-buffer): New function.
962 (doc-view-restore-desktop-buffer): New function.
963 (desktop-buffer-mode-handlers):
964 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
966 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
967 `desktop-save-buffer' function.
969 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
971 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
972 (tramp-gvfs-file-name-handler): Raise a user error when
973 `tramp-gvfs-enabled' is nil.
974 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
975 Do not raise a user error when loading package. (Bug#14447)
977 * net/xesam.el: Move to obsolete/.
979 2013-05-24 Glenn Morris <rgm@gnu.org>
981 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
983 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
985 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
986 (Info-find-node, Man-getpage-in-background): Declare.
988 * mail/unrmail.el (unrmail):
989 Replace obsolete detect-coding-with-priority.
991 * net/socks.el (socks-split-string): Use this rather than split-string.
992 (socks-nslookup-host): Update for above change.
993 (dynamic-choice, s5-dynamic-choice-match)
994 (s5-dynamic-choice-match-inline, s5-widget-value-create):
995 Comment out unused code.
997 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
998 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
999 (gud-tooltip-echo-area): Make obsolete.
1000 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1002 * progmodes/js.el (js--optimize-arglist): Declare.
1004 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1006 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1007 (ediff-window-C): Declare.
1009 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1010 Tweak requires to silence compiler.
1012 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1013 (he-search-string, he-tried-table, he-expand-list)
1014 (he-init-string, he-string-member, he-substitute-string)
1015 (he-reset-string): Declare.
1017 * obsolete/options.el (list-options): Use custom-variable-p,
1018 rather than obsolete alias.
1020 2013-05-23 Sam Steingold <sds@gnu.org>
1022 * simple.el (shell-command-on-region): Pass the `replace' argument
1023 down to `call-process-region' to comply with the doc as reported on
1024 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1026 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * emacs-lisp/smie.el (smie-indent-forward-token)
1029 (smie-indent-backward-token): Handle string tokens (bug#14381).
1031 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1033 * ielm.el (ielm-menu): New menu.
1034 (inferior-emacs-lisp-mode): Set comment-start.
1036 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1038 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1039 Fix deactivate action.
1041 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1042 Add cleveref macros.
1044 * lisp/textmodes/reftex-parse.el
1045 (reftex-locate-bibliography-files): Accept options for
1046 bibliography commands.
1047 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1048 Add addbibresource. Basic Biblatex support.
1050 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1052 * net/tramp-gvfs.el (top):
1053 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1054 when loading package. (Bug#14447)
1056 2013-05-23 Glenn Morris <rgm@gnu.org>
1058 * progmodes/js.el: No need to load comint when compiling.
1059 (ring-insert, comint-send-string, comint-send-input)
1060 (comint-last-input-end, ido-chop): Declare.
1062 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1063 * vc/ediff-mult.el: Adjust requires.
1064 (ediff-directories-internal, ediff-directory-revisions-internal)
1065 (ediff-patch-file-internal): Declare.
1066 * vc/ediff-ptch.el: Adjust requires.
1067 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1068 (ediff-find-file): Autoload.
1069 * vc/ediff-util.el: No need to load ediff when compiling.
1070 (ediff-regions-internal): Declare.
1071 * vc/ediff-wind.el: Adjust requires.
1072 (ediff-compute-toolbar-width): Define when compiling.
1073 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1074 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1075 (dired-get-filename, dired-get-marked-files)
1076 (ediff-last-dir-patch, ediff-patch-default-directory)
1077 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1078 (ediff-patch-buffer-internal): Declare.
1080 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1081 (ispell-process, ispell-buffer-local-words, lm-summary)
1082 (lm-section-start, lm-section-end): Declare.
1083 (checkdoc-ispell-init): Simplify.
1085 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1086 (he-string-member, he-reset-string, he-substitute-string): Declare.
1088 * eshell/em-ls.el: Adjust requires.
1089 (eshell-glob-regexp): Declare.
1090 * eshell/em-tramp.el: Adjust requires.
1091 (eshell-parse-command): Autoload.
1092 * eshell/em-xtra.el: Adjust requires.
1093 (eshell-parse-command): Autoload.
1094 * eshell/esh-ext.el: Adjust requires.
1095 (eshell-parse-command, eshell-close-handles): Autoload.
1096 * eshell/esh-io.el: Adjust requires.
1097 (eshell-output-filter): Autoload.
1098 * eshell/esh-util.el: No need to load tramp when compiling.
1099 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1101 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1102 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1103 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1104 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1105 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1106 * eshell/esh-opt.el, eshell/esh-proc.el:
1107 * eshell/esh-var.el: Adjust requires.
1108 * eshell/eshell.el: Do not require esh-util twice.
1109 (eshell-add-input-to-history): Declare.
1110 (eshell-command): Check history module is active before using it.
1112 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1114 2013-05-22 Leo Liu <sdl.web@gmail.com>
1116 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1118 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1120 * autorevert.el (auto-revert-notify-add-watch)
1121 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1122 it indicates changes in file modification time.
1124 2013-05-22 Glenn Morris <rgm@gnu.org>
1126 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1127 Always delete the autoloaded function from the noruntime and
1128 unresolved functions lists.
1130 * allout.el: No need to load epa, epg, overlay when compiling.
1131 (epg-context-set-passphrase-callback, epg-list-keys)
1132 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1133 (epg-key-user-id-list): Declare.
1135 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1136 (viper-set-parsing-style-toggling-macro)
1137 (viper-set-emacs-state-searchstyle-macros):
1138 Use called-interactively-p on Emacs.
1139 (viper-looking-back): Make it an obsolete alias. Update callers.
1140 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1141 Use looking-back rather than viper-looking-back.
1142 (viper-tmp-insert-at-eob, viper-enlarge-region)
1143 (viper-read-string-with-history, viper-register-to-point)
1144 (viper-append-to-register, viper-change-state-to-vi)
1145 (viper-backward-char-carefully, viper-forward-char-carefully)
1146 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1147 (viper-change-state-to-emacs): Declare.
1148 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1149 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1150 * emulation/viper-mous.el: Do not load viper-cmd.
1151 (viper-backward-char-carefully, viper-forward-char-carefully)
1152 (viper-forward-word, viper-adjust-window): Declare.
1154 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1156 * progmodes/idlw-help.el (idlwave-help-fontify):
1157 Use called-interactively-p.
1159 * term/w32console.el (w32-get-console-codepage)
1160 (w32-get-console-output-codepage): Declare.
1162 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1163 Remove unnecessary declarations.
1164 (dframe-message): Doc fix.
1166 * info.el (dframe-select-attached-frame, dframe-current-frame):
1169 * speedbar.el (speedbar-message): Make it an obsolete alias.
1171 (speedbar-with-attached-buffer)
1172 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1173 (speedbar-with-writable): Use backquote.
1174 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1175 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1176 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1177 rather than speedbar- aliases.
1178 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1179 (speedbar-make-specialized-keymap, speedbar-insert-button)
1180 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1181 (speedbar-do-function-pointer): Declare.
1182 (rmail-speedbar-button, rmail-speedbar-find-file)
1183 (rmail-speedbar-move-message):
1184 Use dframe-with-attached-buffer rather than speedbar- alias.
1185 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1186 (dframe-message, speedbar-make-specialized-keymap)
1187 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1188 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1189 (speedbar-insert-button, dframe-select-attached-frame)
1190 (dframe-maybee-jump-to-attached-frame)
1191 (speedbar-change-initial-expansion-list)
1192 (speedbar-previously-used-expansion-list-name): Declare.
1193 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1194 Use dframe-message, dframe-with-attached-buffer rather than
1196 (gud-sentinel): Silence compiler.
1197 * progmodes/vhdl-mode.el (speedbar-refresh)
1198 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1199 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1200 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1201 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1202 (speedbar-file-lists, speedbar-make-tag-line)
1203 (speedbar-line-directory, speedbar-goto-this-file)
1204 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1205 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1206 (speedbar-make-button, speedbar-reset-scanners)
1207 (speedbar-files-item-info, speedbar-line-text)
1208 (speedbar-find-file-in-frame, speedbar-set-timer)
1209 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1210 (speedbar-with-writable): Do not (re)define it.
1211 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1212 rather than speedbar- alias.
1214 2013-05-21 Leo Liu <sdl.web@gmail.com>
1216 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1218 (octave-mode): Tweak fill-nobreak-predicate.
1219 (inferior-octave-startup): Check process to avoid infinite loop.
1220 (inferior-octave): Pop to buffer first to show abornmal process
1223 2013-05-21 Glenn Morris <rgm@gnu.org>
1225 * printing.el (pr-menu-bar): Define when compiling.
1227 2013-05-21 Leo Liu <sdl.web@gmail.com>
1229 * progmodes/octave.el (octave-auto-fill): Remove.
1230 (octave-indent-new-comment-line): Improve.
1231 (octave-mode): Use auto fill mode through
1232 comment-line-break-function and fill-nobreak-predicate
1233 (octave-goto-function-definition): Support DEFUN_DLD.
1234 (octave-beginning-of-defun): Small Tweak
1235 (octave-help): Show parent directory.
1237 2013-05-21 Glenn Morris <rgm@gnu.org>
1239 * files.el (dired-unmark):
1240 * progmodes/gud.el (gdb-input): Update declarations.
1242 * calculator.el (electric, ehelp): No need to load when compiling.
1243 (Electric-command-loop, electric-describe-mode): Declare.
1245 * doc-view.el (doc-view-current-converter-processes): Move before use.
1247 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1248 Move MODE-set-explicitly definition before use.
1250 * international/mule-diag.el (mule-diag):
1251 Don't use obsolete window-system-version.
1253 * mail/feedmail.el (smtpmail): No need to load when compiling.
1254 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1256 * mail/mail-utils.el (rfc822): No need to load when compiling.
1257 (rfc822-addresses): Autoload it.
1258 (mail-strip-quoted-names): Trivial simplification.
1260 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1261 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1263 * net/snmp-mode.el (tempo): Don't duplicate requires.
1265 * progmodes/prolog.el (info): No need to load when compiling.
1266 (comint): Require before shell requires it.
1267 (Info-goto-node): Autoload it.
1268 (Info-follow-nearest-node): Declare.
1269 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1271 * textmodes/artist.el (picture-mode-exit): Declare.
1273 * textmodes/reftex-parse.el (reftex-parse-from-file):
1274 Trivial rewrite so the compiler can parse it better.
1276 2013-05-20 Leo Liu <sdl.web@gmail.com>
1278 * progmodes/octave.el (octave-help-mode-map)
1279 (octave-help-mode-finish-hook): New variables.
1280 (octave-help-mode, octave-help-mode-finish): New functions.
1281 (octave-help): Use octave-help-mode.
1283 2013-05-20 Glenn Morris <rgm@gnu.org>
1285 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1287 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1289 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1290 start at point, so that expansion starting right after opening
1291 slash in a regexp is recognized.
1292 (ruby-syntax-before-regexp-re): New defvar, extracted from
1293 ruby-syntax-propertize-function. Since the value of this regexp
1294 is looked up at runtime now, we should be able to turn
1295 `ruby-syntax-methods-before-regexp' into a defcustom later.
1296 (ruby-syntax-propertize-function): Split regexp matching into two
1297 parts, for opening and closing slashes. That allows us to skip
1298 over string interpolations and support multiline regexps.
1299 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1300 for them, which calls `ruby-syntax-propertize-expansion'.
1301 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1302 call to `ruby-syntax-propertize-function'.
1303 (ruby-syntax-propertize-expansion): Extracted from
1304 `ruby-syntax-propertize-expansions'. Handles one expansion.
1305 (ruby-syntax-propertize-percent-literal): Leave point right after
1306 the percent symbol, so that the expression expansion rule can
1307 propertize the contents.
1308 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1310 (ruby-syntax-propertize-expansions): Remove.
1312 2013-05-18 Juri Linkov <juri@jurta.org>
1314 * man.el (Man-default-man-entry): Remove `-' from the end
1315 of the default value. (Bug#14400)
1317 2013-05-18 Glenn Morris <rgm@gnu.org>
1319 * comint.el (comint-password-prompt-regexp):
1320 Allow "password for XXX" where XXX contains colons (eg https://...).
1322 2013-05-18 Leo Liu <sdl.web@gmail.com>
1324 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1325 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1326 (octave-source-directories): Don't check process.
1327 (octave-source-directories, octave-find-definition): Doc fix.
1329 2013-05-18 Glenn Morris <rgm@gnu.org>
1331 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1332 Remove backspace/delete bindings. (Bug#14392)
1334 * cus-dep.el (custom-make-dependencies): Sort the output.
1335 (custom-versions-load-alist): Convert comment to doc.
1337 2013-05-17 Leo Liu <sdl.web@gmail.com>
1339 * newcomment.el (comment-search-backward): Stricter in finding
1340 comment start. (Bug#14303)
1342 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1343 (octave-comment-start-skip): Properly anchored.
1345 2013-05-17 Leo Liu <sdl.web@gmail.com>
1347 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1348 Clean up when turned off. (Bug#14395)
1349 (smie--highlight-matching-block-overlay): No longer buffer-local.
1350 (smie-highlight-matching-block): Adjust.
1352 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1354 Doc string fix for "nanoseconds" (Bug#14406).
1355 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1356 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1358 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1360 * calc/calc-units.el (math-extract-units): Preserve powers
1363 2013-05-17 Leo Liu <sdl.web@gmail.com>
1365 * subr.el (delete-consecutive-dups): New function.
1366 * ido.el (ido-set-matches-1): Use it.
1367 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1368 * ido.el (ido-remove-consecutive-dups): Remove.
1370 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1373 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1374 regexp-opt's `words'.
1376 2013-05-16 Leo Liu <sdl.web@gmail.com>
1378 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1379 (smie--highlight-matching-block-overlay)
1380 (smie--highlight-matching-block-lastpos)
1381 (smie--highlight-matching-block-timer): New variables.
1382 (smie-highlight-matching-block): New function.
1383 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1384 (smie-setup): Conditionally enable smie-blink-matching-open.
1386 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1388 Sync with upstream verilog-mode r840.
1389 * progmodes/verilog-mode.el (verilog-mode-version)
1390 (verilog-mode-release-date): Update.
1391 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1392 (verilog-sig-tieoff): Fix string error on
1393 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1394 (verilog-read-decls): Fix parameters confusing
1395 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1397 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1399 * subr.el (reveal-filename): New function.
1401 * loadup.el: Compute Emacs executable versions on MS-Windows,
1402 where executables have the .exe extension. Add a hard link
1403 emacs-XX.YY.ZZ.exe on MS-Windows.
1405 * Makefile.in (XARGS_LIMIT): New variable.
1406 (custom-deps, finder-data, autoloads)
1407 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1408 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1409 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1410 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1412 2013-05-16 Leo Liu <sdl.web@gmail.com>
1414 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1415 (octave-mode-menu, octave-mode-map): Remove its uses.
1417 2013-05-16 Reto Zimmermann <reto@gnu.org>
1419 Sync with upstream vhdl mode v3.34.2.
1420 * progmodes/vhdl-mode.el: Use `push' throughout.
1421 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1422 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1423 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1424 (vhdl-actual-generic-name): New option to derive actual generic name.
1425 (vhdl-port-paste-signals): Replace formal by actual generics.
1426 (vhdl-beautify): New name for old group vhdl-align. Update users.
1427 (vhdl-beautify-options): New option.
1428 (vhdl-last-input-event): New compat alias. Use throughout.
1429 (vhdl-goto-line): Replace user level function `goto-line'.
1430 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1431 vhdl-fix-statement-buffer.
1432 (vhdl-create-mode-menu): Add some entries.
1433 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1434 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1435 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1436 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1437 to force statements on one line.
1438 (vhdl-remove-trailing-spaces-region):
1439 New, split from vhdl-remove-trailing-spaces.
1440 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1441 Respect vhdl-beautify-options.
1442 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1443 (vhdl-update-sensitivity-list): Not add with index if exists without.
1444 Not include array index with signal. Ignore keywords in comments.
1445 (vhdl-get-visible-signals): Regexp tweaks.
1446 (vhdl-template-component-inst): Handle empty library.
1447 (vhdl-template-type): Add template for 'enum' type.
1448 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1449 Use vhdl-replace-string.
1450 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1451 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1452 (vhdl-speedbar-initialize): Update for above name change.
1453 (vhdl-compose-wire-components): Fix in handling of constants.
1454 (vhdl-error-regexp-emacs-alist): New variable.
1455 (vhdl-error-regexp-add-emacs): New function;
1456 adds support for new compile.el (Emacs 22+)
1457 (vhdl-generate-makefile-1): Change target order for single lib. units.
1458 Allow use of absolute file names.
1460 2013-05-16 Leo Liu <sdl.web@gmail.com>
1462 * simple.el (prog-indent-sexp): Indent enclosing defun.
1464 2013-05-15 Glenn Morris <rgm@gnu.org>
1466 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1467 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1468 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1469 (whitespace-highlight): Move to whitespace group.
1471 * comint.el (comint-source):
1472 * pcmpl-linux.el (pcmpl-linux):
1473 * shell.el (shell-faces):
1474 * eshell/esh-opt.el (eshell-opt):
1475 * international/ccl.el (ccl): Remove empty custom groups.
1477 * completion.el (dynamic-completion-mode):
1478 * jit-lock.el (jit-lock-debug-mode):
1479 * minibuffer.el (completion-in-region-mode):
1480 * type-break.el (type-break-mode-line-message-mode)
1481 (type-break-query-mode):
1482 * emulation/tpu-edt.el (tpu-edt-mode):
1483 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1484 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1485 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1487 * term/xterm.el (xterm): Change parent group to terminals.
1489 * master.el (master): Remove empty custom group.
1490 (master-mode): Remove unused :group argument.
1491 * textmodes/refill.el (refill): Remove empty custom group.
1492 (refill-mode): Remove unused :group argument.
1494 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1496 * cus-dep.el: Provide a feature.
1497 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1498 Don't mistakenly ignore files whose basenames match a basename
1499 from preloaded-file-list (eg cedet/ede/simple.el).
1500 Add a fallback method for getting :group.
1502 2013-05-15 Juri Linkov <juri@jurta.org>
1504 * isearch.el (isearch-char-by-name): Rename from
1505 `isearch-insert-char-by-name'. Doc fix.
1506 (isearch-forward): Mention `isearch-char-by-name' in
1507 the docstring. (Bug#13348)
1509 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1510 `exit-minibuffer' instead of
1511 `isearch-nonincremental-exit-minibuffer'.
1512 (isearch-edit-string): Remove mention of
1513 `isearch-nonincremental-exit-minibuffer' from docstring.
1514 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1515 (isearch-forward-exit-minibuffer)
1516 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1518 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1520 * loadup.el: Just use unversioned DOC.
1522 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1523 literals as extending to EOB.
1524 (nxml-last-fontify-end): Remove unused variable.
1525 (nxml-after-change1): Use with-silent-modifications.
1526 (nxml-extend-after-change-region): Simplify.
1527 (nxml-extend-after-change-region1): Remove function.
1528 (nxml-after-change1): Don't adjust for dependent regions.
1529 (nxml-fontify-matcher): Simplify.
1530 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1531 (xmltok-add-dependent): Remove function.
1532 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1533 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1534 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1535 unclosed <[[, <?, comment, and other literals as extending to EOB.
1536 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1537 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1539 (rng-do-some-validation-1): Don't mark dependent regions.
1540 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1541 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1542 (nxml-clear-dependent-regions): Remove functions.
1543 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1544 (nxml-ensure-scan-up-to-date):
1545 Don't clear&mark dependent regions.
1547 2013-05-15 Leo Liu <sdl.web@gmail.com>
1549 * progmodes/octave.el (octave-goto-function-definition):
1550 Improve and fix callers.
1552 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1554 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1555 the setter (bug#14387).
1557 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1558 surrounding group (bug#14402).
1560 2013-05-14 Juri Linkov <juri@jurta.org>
1562 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1565 2013-05-14 Glenn Morris <rgm@gnu.org>
1567 * progmodes/f90.el (f90-imenu-generic-expression):
1568 Fix typo in 2013-05-08 change. (Bug#14402)
1570 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1572 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1573 Remove signals for which replies are never received.
1575 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1577 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1578 (gdb-handler-alist, gdb-handler-number): Remove variables.
1579 (gdb-handler-list): New variable.
1580 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1581 (gdb-pending-handler-p, gdb-handle-reply)
1582 (gdb-remove-all-pending-triggers): New functions.
1583 (gdb-discard-unordered-replies): New defcustom.
1584 (gdb-handler): New defstruct.
1585 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1586 instead of gdb-pending-triggers. Update docstring.
1587 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1588 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1589 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1590 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1591 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1592 (gdb-frame-handler): Pending triggers are now automatically managed.
1593 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1595 (gdb-input): Automatically handles pending triggers. Update docstring.
1596 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1597 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1599 (gdb-done-or-error): Now use gdb-handle-reply.
1601 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1603 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1606 2013-05-14 Glenn Morris <rgm@gnu.org>
1608 * subr.el (user-emacs-directory-warning): New option.
1609 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1611 2013-05-14 Leo Liu <sdl.web@gmail.com>
1613 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1615 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1616 (octave-font-lock-texinfo-comment): Fix invalid search bound
1617 error: wrong side of point.
1619 2013-05-14 Glenn Morris <rgm@gnu.org>
1621 * progmodes/flymake.el (flymake-xml-program): New option.
1622 (flymake-xml-init): Use it.
1624 * term/xterm.el: Provide a feature.
1626 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1628 2013-05-13 Glenn Morris <rgm@gnu.org>
1630 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1631 Add compat aliases as a hack workaround. (Bug#14384)
1633 2013-05-13 Leo Liu <sdl.web@gmail.com>
1635 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1637 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1639 (octave-comment-start-skip): Include %!.
1640 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1642 2013-05-12 Leo Liu <sdl.web@gmail.com>
1644 * progmodes/octave.el (inferior-octave-startup): Store the value
1645 of __octave_srcdir__ for octave-source-directories.
1646 (inferior-octave-check-process): New function refactored out of
1647 inferior-octave-send-list-and-digest.
1648 (octave-source-directories)
1649 (octave-find-definition-filename-function): New variables.
1650 (octave-source-directories)
1651 (octave-find-definition-default-filename): New functions.
1652 (octave-find-definition): Improve to find functions implemented in C++.
1654 2013-05-12 Glenn Morris <rgm@gnu.org>
1656 * calendar/diary-lib.el (diary-outlook-format-1):
1657 Don't include dayname in the output. (Bug#14349)
1659 2013-05-11 Glenn Morris <rgm@gnu.org>
1661 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1663 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1664 Treat cc-provide like provide.
1666 2013-05-11 Kevin Ryde <user42@zip.com.au>
1668 * cus-dep.el (custom-make-dependencies):
1669 Use generated-autoload-load-name for the sake of files such
1670 such cedet/semantic/bovine/c.el, where the base file name
1671 is not in load-path. (Bug#5277)
1673 2013-05-11 Glenn Morris <rgm@gnu.org>
1675 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1678 2013-05-11 Leo Liu <sdl.web@gmail.com>
1680 * progmodes/octave.el (octave-indent-comment): Improve.
1681 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1682 (octave-eldoc-function-signatures, octave-eldoc-function):
1684 (octave-mode, inferior-octave-mode): Add eldoc support.
1686 2013-05-11 Richard Stallman <rms@gnu.org>
1688 * epa.el (epa-decrypt-file): Take output file name as argument
1689 and read it using `interactive'.
1691 2013-05-11 Leo Liu <sdl.web@gmail.com>
1693 * progmodes/octave.el (octave-beginning-of-line)
1694 (octave-end-of-line): Check before using up-list because it jumps
1695 out of more syntactic contructs since moving to smie.
1696 (octave-indent-comment): New function.
1697 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1698 (octave-begin-keywords, octave-end-keywords)
1699 (octave-reserved-words, octave-smie-bnf-table)
1700 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1702 2013-05-11 Glenn Morris <rgm@gnu.org>
1704 * faces.el (internal-face-x-get-resource):
1705 * frame.el (ns-display-monitor-attributes-list):
1706 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1708 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1710 * calc/calc-menu.el: Make it loadable in isolation.
1712 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1713 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1714 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1715 (eudc-bbdb-query-internal): Require 'bbdb.
1717 * lpr.el (lpr-headers-switches):
1718 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1720 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1722 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1724 * term.el (term-set-escape-char): Make it idempotent.
1726 2013-05-10 Leo Liu <sdl.web@gmail.com>
1728 * progmodes/octave.el (inferior-octave-completion-table):
1729 No longer a function and all uses changed. Use cache to speed up
1730 completion due to bug#11906.
1731 (octave-beginning-of-defun): Re-write to be more general.
1733 2013-05-10 Glenn Morris <rgm@gnu.org>
1735 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1737 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * comint.el (comint-redirect-send-command-to-process): Use :around
1740 rather than :override for comint-redirect-filter.
1741 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1742 Call it instead of comint-redirect-original-filter-function (which
1743 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1745 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1747 * frame.el (display-monitor-attributes-list): Add NS case.
1748 (ns-display-monitor-attributes-list): Declare.
1750 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1752 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1754 2013-05-09 Glenn Morris <rgm@gnu.org>
1756 * international/fontset.el (vertical-centering-font-regexp):
1759 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1761 * bookmark.el (bookmark-search-delay):
1762 * cus-start.el (vertical-centering-font-regexp):
1763 * ps-mule.el (ps-mule-font-info-database-default):
1764 * ps-print.el (ps-default-fg, ps-default-bg):
1765 * type-break.el (type-break-good-break-interval):
1766 * whitespace.el (whitespace-indentation-regexp)
1767 (whitespace-space-after-tab-regexp):
1768 * emacs-lisp/testcover.el (testcover-1value-functions)
1769 (testcover-noreturn-functions, testcover-progn-functions)
1770 (testcover-prog1-functions):
1771 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1772 * eshell/em-glob.el (eshell-glob-translate-alist):
1773 * play/tetris.el (tetris-tty-colors):
1774 * progmodes/cpp.el (cpp-face-default-list):
1775 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1776 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1777 (idlwave-help-browser-generic-args):
1778 * progmodes/make-mode.el (makefile-special-targets-list):
1779 * progmodes/python.el (python-shell-virtualenv-path):
1780 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1781 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1782 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1783 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1784 * textmodes/reftex-vars.el (reftex-format-label-function):
1785 * textmodes/remember.el (remember-diary-file): Fix custom types.
1787 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1790 2013-05-09 Leo Liu <sdl.web@gmail.com>
1792 * progmodes/octave.el (inferior-octave-completion-at-point):
1793 Restore file completion. (Bug#14300)
1794 (inferior-octave-startup): Fix incorrect highlighting for the
1797 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * progmodes/ruby-mode.el: First cut at SMIE support.
1800 (ruby-use-smie): New var.
1801 (ruby-smie-grammar): New constant.
1802 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1803 (ruby-smie--forward-token, ruby-smie--backward-token)
1804 (ruby-smie-rules): New functions.
1805 (ruby-mode-variables): Setup SMIE if applicable.
1807 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1809 * simple.el (line-move-visual): Signal beginning/end of buffer
1810 only if vertical-motion moved less than it was requested. Avoids
1811 silly incorrect error messages when there are display strings with
1812 multiple newlines at EOL.
1814 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1817 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1818 (prolog-char-quote-workaround):
1819 * progmodes/cperl-mode.el (cperl-under-as-char):
1820 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1822 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1824 (vhdl-mode-syntax-table-init): Remove.
1826 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1829 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1831 (ld-script-font-lock-keywords):
1832 Change regexps to use things like \_< and \_>.
1834 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1835 Change all regexps to use things like \_< and \_>.
1837 * progmodes/autoconf.el (autoconf-definition-regexp)
1838 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1839 Handle a _ with symbol syntax.
1840 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1842 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1843 Consolidate declaration.
1844 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1846 (ada-create-syntax-table): Remove.
1847 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1848 already has the right syntax nowadays.
1849 (ada-goto-next-word): Don't change the syntax of "_".
1851 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1854 2013-05-08 Sam Steingold <sds@gnu.org>
1856 * thingatpt.el (thing-at-point): Accept optional second argument
1857 NO-PROPERTIES to strip the text properties from the return value.
1858 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1859 to `thing-at-point' instead of stripping the properties ourselves.
1860 Also, when `thing-at-point' fails to find a url, prepend "http://"
1861 to the filename at point on the assumption that the user is
1862 pointing at something like gnu.org/gnu.
1864 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1866 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1867 * faces.el (crm-separator):
1868 Silence byte-compiler.
1870 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1871 (tool-bar-map): Remove unneeded defvars.
1873 2013-05-08 Leo Liu <sdl.web@gmail.com>
1875 Re-work a fix for bug#10994 based on Le Wang's patch.
1876 * ido.el (ido-remove-consecutive-dups): New helper.
1877 (ido-completing-read): Use it.
1878 (ido-chop): Revert fix for bug#10994.
1880 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1882 * cus-edit.el (custom-save-variables):
1883 Pretty-print long values. (Bug#14187)
1885 2013-05-08 Glenn Morris <rgm@gnu.org>
1887 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1888 (m4-mode-syntax-table): Init in the defvar.
1889 (m4-mode-abbrev-table): Let define-derived-mode define it.
1891 2013-05-08 Tom Tromey <tromey@redhat.com>
1893 * progmodes/m4-mode.el (m4-mode-syntax-table):
1894 Do not treat "_" as word constituent. (Bug#14167)
1896 2013-05-07 Glenn Morris <rgm@gnu.org>
1898 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1899 Remove explicit eshell-isearch-cancel-map.
1901 * progmodes/f90.el (f90-smart-end-names): New option.
1902 (f90-smart-end): Doc fix.
1903 (f90-end-block-optional-name): New constant.
1904 (f90-block-match): Respect f90-smart-end-names.
1906 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1909 about implicit semi-colons (bug#14218).
1911 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1913 * frame.el (display-monitor-attributes-list)
1914 (frame-monitor-attributes): New functions.
1916 2013-05-06 Leo Liu <sdl.web@gmail.com>
1918 * progmodes/octave.el (octave-syntax-propertize-function): Change
1919 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1920 (octave-font-lock-keywords): Use octave-operator-regexp.
1921 (octave-completion-at-point): Rename from
1922 octave-completion-at-point-function.
1923 (inferior-octave-directory-tracker): Robustify.
1924 (octave-text-functions): Remove and fix its uses. No such things
1927 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * emacs-lisp/trace.el (trace--display-buffer): New function.
1930 (trace-make-advice): Use it.
1932 2013-05-06 Juri Linkov <juri@jurta.org>
1934 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1935 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1937 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1938 in the help string. (Bug#12985)
1940 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1942 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1944 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * progmodes/perl-mode.el: Add support for here documents.
1947 (perl-syntax-propertize-function): Match here-doc markers.
1948 (perl-syntax-propertize-special-constructs): Find their end.
1949 (perl-imenu-generic-expression): Use [:alnum:].
1951 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1952 (advice--add-function): Refresh the advice if already present
1955 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1957 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1959 2013-05-06 Glenn Morris <rgm@gnu.org>
1961 * w32-fns.el (w32-charset-info-alist): Declare.
1963 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1964 of its defcustom properties.
1965 (eshell-cmpl-initialize): No need to load pcomplete.
1967 * generic-x.el: No need to require comint when compiling.
1969 * net/eudc-export.el: Make it loadable without bbdb.
1970 (top-level): Use require rather than load-library.
1971 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1972 (eudc-batch-export-records-to-bbdb)
1973 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1976 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1979 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1980 some tweaks, instead.
1982 2013-05-05 Leo Liu <sdl.web@gmail.com>
1984 * progmodes/octave.el (octave-font-lock-keywords)
1985 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1986 (inferior-octave-send-list-and-digest): Improve error message.
1987 (octave-mode, inferior-octave-mode): Use setq-local.
1988 (octave-help): Set info-lookup-mode.
1990 2013-05-05 Richard Stallman <rms@gnu.org>
1992 * vc/compare-w.el (compare-windows-whitespace):
1993 Treat no-break space as whitespace.
1995 * mail/rmailsum.el (rmail-summary-rmail-update):
1996 Detect empty summary and don't change selected message.
1997 (rmail-summary-goto-msg): Likewise.
1999 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2000 Doc fixes, rename args.
2002 2013-05-05 Alan Mackenzie <acm@muc.de>
2004 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2006 2013-05-05 Juri Linkov <juri@jurta.org>
2008 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2009 to not add the length of the summary segment to the return value.
2012 2013-05-05 Leo Liu <sdl.web@gmail.com>
2014 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2015 (inferior-octave-output-filter): Remove.
2016 (octave-send-region, inferior-octave-startup): Fix callers.
2017 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2018 (octave-binary-file-extensions): New user variable.
2019 (octave-find-definition): Confirm if opening binary files.
2020 (octave-help-file): Use octave-find-definition to get the binary
2022 (octave-help): Adjust for octave-help-file change.
2024 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2027 Merge the two entries that handle function definitions.
2028 (pascal--syntax-propertize): New const.
2029 (pascal-mode): Use it. Use setq-local.
2031 2013-05-04 Glenn Morris <rgm@gnu.org>
2033 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2034 (diary-from-outlook): Respect diary-from-outlook-function.
2036 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2039 Move the declaration from C.
2040 (read-minibuffer, eval-minibuffer): Move from C.
2041 (completion-setup-function): Avoid minibuffer-completion-contents.
2043 2013-05-03 Leo Liu <sdl.web@gmail.com>
2045 * progmodes/octave.el (octave-font-lock-keywords): Do not
2046 dehighlight 'end' in comments or strings.
2047 (octave-completing-read, octave-goto-function-definition):
2049 (octave-help-buffer): New user variable.
2050 (octave-help-file, octave-help-function): New button types.
2051 (octave-help): New command and bind it to C-h ;.
2052 (octave-find-definition): New command and bind it to M-.
2053 (user-error): Alias to error if not defined.
2055 2013-05-02 Leo Liu <sdl.web@gmail.com>
2057 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2059 (octave-font-lock-keywords): Include [ and {.
2061 2013-05-02 Leo Liu <sdl.web@gmail.com>
2063 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2064 (inferior-octave): Remove calling comint-mode and return the buffer.
2065 (inferior-octave-startup): Cosmetic changes.
2067 2013-05-02 Leo Liu <sdl.web@gmail.com>
2069 * progmodes/octave.el (octave-syntax-propertize-function):
2070 Include the case when ' is at line beginning. (Bug#14336)
2072 2013-05-02 Glenn Morris <rgm@gnu.org>
2074 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2075 * desktop.el (vc-dir-mode): Just autoload it here.
2077 2013-05-02 Alan Mackenzie <acm@muc.de>
2079 Eliminate variable c-standard-font-lock-fontify-region-function.
2080 * progmodes/cc-mode.el
2081 (c-standard-font-lock-fontify-region-function): Remove.
2082 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2084 2013-05-01 Leo Liu <sdl.web@gmail.com>
2086 * progmodes/octave.el: Compatible with older emacs-24 releases.
2087 (inferior-octave-has-built-in-variables): Remove. Built-in
2088 variables were removed from Octave in 2007.
2089 (inferior-octave-startup): Fix uses.
2090 (comint-line-beginning-position): Remove compatibility code for
2093 2013-05-01 Juri Linkov <juri@jurta.org>
2095 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2097 2013-05-01 Juri Linkov <juri@jurta.org>
2099 * comint.el (comint-previous-matching-input): Don't print message
2100 "History item: %d" when `isearch-mode' is active.
2101 (comint-history-isearch-message): Print message "History item: %d"
2102 when `comint-input-ring-index' is not empty and this function is
2103 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2105 2013-05-01 Leo Liu <sdl.web@gmail.com>
2107 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2108 definitions. Use completion-at-point to insert keywords.
2109 (octave-abbrev-start): Remove.
2110 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2112 2013-04-30 Leo Liu <sdl.web@gmail.com>
2114 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2117 2013-04-30 Alan Mackenzie <acm@muc.de>
2119 Handle arbitrarily long C++ member initialisation lists.
2120 * progmodes/cc-engine.el (c-back-over-member-initializers):
2122 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2123 (most) member init lists.
2125 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2127 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2130 2013-04-30 Leo Liu <sdl.web@gmail.com>
2132 * progmodes/octave.el (octave-variables): Remove. No builtin
2133 variables any more. All converted to functions.
2134 (octave-font-lock-keywords, octave-completion-at-point-function):
2136 (octave-font-lock-texinfo-comment): New user variable.
2137 (octave-texinfo-font-lock-keywords): New variable for texinfo
2139 (octave-function-comment-block): New face.
2140 (octave-font-lock-texinfo-comment): New function.
2141 (octave-mode): Font lock texinfo comment block.
2143 2013-04-29 Leo Liu <sdl.web@gmail.com>
2145 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2146 indexing expression.
2147 (octave-continuation-string): Do not use \.
2148 (inferior-octave-complete-impossible): Remove.
2149 (inferior-octave-completion-table)
2150 (inferior-octave-completion-at-point): Remove its uses.
2151 (inferior-octave-startup): completion_matches was introduced to
2152 Octave in 1996 so safe to assume it.
2153 (octave-function-file-comment): Improve to follow how Octave does it.
2154 (octave-update-function-file-comment): Tweak.
2156 2013-04-29 Leo Liu <sdl.web@gmail.com>
2158 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2159 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2160 (octave-function-file-comment): Fix typo.
2161 (octave-sync-function-file-names): Use read-char-choice.
2163 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2165 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2166 to t for the less important warnings.
2168 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2170 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2172 2013-04-27 Glenn Morris <rgm@gnu.org>
2174 * vc/log-view.el (log-view-current-entry):
2175 Treat "---" separator lines as part of the following rev. (Bug#14169)
2177 2013-04-27 Juri Linkov <juri@jurta.org>
2179 * subr.el (read-number): Doc fix about using it by interactive
2180 code letter `n'. (Bug#14254)
2182 2013-04-27 Juri Linkov <juri@jurta.org>
2184 * desktop.el (desktop-auto-save-timeout): New option.
2185 (desktop-file-checksum): New variable.
2186 (desktop-save): Add optional arg `auto-save' and don't auto-save
2188 (desktop-auto-save-timer): New variable.
2189 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2190 (after-init-hook): Call `desktop-auto-save-set-timer'.
2191 Suggested by Reuben Thomas <rrt@sc3d.org> in
2192 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2194 2013-04-27 Leo Liu <sdl.web@gmail.com>
2196 * progmodes/octave.el (octave-function-file-p)
2197 (octave-skip-comment-forward, octave-function-file-comment)
2198 (octave-update-function-file-comment): New functions.
2199 (octave-mode-map): Bind C-c ; to
2200 octave-update-function-file-comment.
2201 (octave-mode-menu): Add octave-update-function-file-comment.
2202 (octave-mode, inferior-octave-mode): Fix doc-string.
2203 (octave-insert-defun): Conform to Octave's coding convention.
2206 * files.el (basic-save-buffer): Don't let errors in
2207 before-save-hook prevent saving buffer.
2209 2013-04-20 Roland Winkler <winkler@gnu.org>
2211 * faces.el (read-face-name): Use completing-read if arg multiple
2214 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2216 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2217 displayed, move point to after the totals line.
2218 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2221 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2224 Add current dir to the load-path.
2225 (package-generate-autoloads): Don't rely on
2226 autoload-ensure-default-file.
2228 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2230 * textmodes/remember.el (remember-store-in-files): Document that
2231 the file name format is passed to `format-time-string'.
2233 2013-04-26 Leo Liu <sdl.web@gmail.com>
2235 * progmodes/octave.el (octave-sync-function-file-names): New function.
2236 (octave-mode): Use it in before-save-hook.
2238 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2240 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2243 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2244 \n and comment, even if it's not an implicit ; (bug#14218).
2246 2013-04-26 Glenn Morris <rgm@gnu.org>
2248 * subr.el (read-number): Once more use `read' rather than
2249 `string-to-number', to trap non-numeric input. (Bug#14254)
2251 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2253 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2254 Use `syntax-multiline' text property consistently instead of
2255 `font-lock-multiline'. (Bug#14237)
2257 2013-04-26 Glenn Morris <rgm@gnu.org>
2259 * emacs-lisp/shadow.el (list-load-path-shadows):
2260 No longer necessary to check for duplicate simple.el, since
2261 2012-07-07 change to init_lread to not include installation lisp
2262 directories in load-path when running uninstalled. (Bug#14270)
2264 2013-04-26 Leo Liu <sdl.web@gmail.com>
2266 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2267 (octave-mode, inferior-octave-mode): Use setq-local.
2268 (octave-not-in-string-or-comment-p): Rename to
2269 octave-in-string-or-comment-p.
2270 (octave-in-comment-p, octave-in-string-p)
2271 (octave-in-string-or-comment-p): Replace defsubst with defun.
2273 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2275 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2277 2013-04-25 Bastien Guerry <bzg@gnu.org>
2279 * textmodes/remember.el (remember-data-directory)
2280 (remember-directory-file-name-format): Fix custom types.
2282 2013-04-25 Leo Liu <sdl.web@gmail.com>
2284 * progmodes/octave.el (octave-completion-at-point-function):
2285 Make use of inferior octave process.
2286 (octave-initialize-completions): Remove.
2287 (inferior-octave-completion-table): New function.
2288 (inferior-octave-completion-at-point): Use it.
2289 (octave-completion-alist): Remove.
2291 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2293 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2294 (opascal-mode-syntax-table): New var.
2295 (opascal-literal-kind, opascal-is-literal-end)
2296 (opascal-literal-token-at): Rewrite.
2297 (opascal--literal-start-re, opascal-font-lock-keywords)
2298 (opascal--syntax-propertize): New constants.
2299 (opascal-font-lock-defaults): Adjust.
2300 (opascal-mode): Use them. Set comment-<foo> variables as well.
2301 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2302 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2303 (delphi-other-face, opascal-other-face): Remove face variables.
2304 (opascal-save-state): Remove macro.
2305 (opascal-fontifying-progress-step): Remove constant.
2306 (opascal--ignore-changes): Remove var.
2307 (opascal-set-token-property, opascal-parse-next-literal)
2308 (opascal-is-stable-literal, opascal-complete-literal)
2309 (opascal-is-literal-start, opascal-face-of)
2310 (opascal-parse-region, opascal-parse-region-until-stable)
2311 (opascal-fontify-region, opascal-after-change)
2312 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2313 (opascal-debug-parse-region, opascal-debug-parse-window)
2314 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2315 (opascal-debug-fontify-buffer): Remove.
2316 (opascal-debug-mode-map): Adjust accordingly.
2318 2013-04-25 Leo Liu <sdl.web@gmail.com>
2320 Merge octave-mod.el and octave-inf.el into octave.el with some
2322 * progmodes/octave.el: New file renamed from octave-mod.el.
2323 * progmodes/octave-inf.el: Merged into octave.el.
2324 * progmodes/octave-mod.el: Renamed to octave.el.
2326 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2328 * textmodes/reftex-vars.el
2329 (reftex-label-ignored-macros-and-environments): New defcustom.
2331 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2333 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2336 (smie-indent-keyword): Improve the check to ensure that the next
2337 comment is really on the same line.
2338 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2340 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2341 semi-colons if the line is not otherwise empty (bug#14218).
2343 2013-04-25 Glenn Morris <rgm@gnu.org>
2345 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2347 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2349 * progmodes/opascal.el (opascal-set-token-property): Rename from
2350 opascal-set-text-properties and only set `token' (bug#14134).
2351 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2352 (opascal-literal-text-properties): Remove.
2353 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2356 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2358 * textmodes/remember.el (remember-handler-functions): Add an
2359 option for a new handler `remember-store-in-files'.
2360 (remember-data-directory, remember-directory-file-name-format):
2362 (remember-store-in-files): New function to store remember notes
2363 as separate files within a directory.
2365 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2367 * progmodes/compile.el (compilation-next-error-function):
2368 Pass "formats" to compilation-find-file (bug#11777).
2370 2013-04-24 Glenn Morris <rgm@gnu.org>
2372 * vc/vc-bzr.el (vc-bzr-print-log):
2373 * vc/vc-hg.el (vc-hg-print-log):
2374 * vc/vc-svn.el (vc-svn-print-log):
2375 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2377 * vc/vc-bzr.el (vc-bzr-print-log):
2378 * vc/vc-cvs.el (vc-cvs-print-log):
2379 * vc/vc-git.el (vc-git-print-log):
2380 * vc/vc-hg.el (vc-hg-print-log):
2381 * vc/vc-mtn.el (vc-mtn-print-log):
2382 * vc/vc-rcs.el (vc-rcs-print-log):
2383 * vc/vc-sccs.el (vc-sccs-print-log):
2384 * vc/vc-svn.el (vc-svn-print-log):
2385 * vc/vc.el (vc-print-log-internal): Doc fixes.
2387 2013-04-23 Glenn Morris <rgm@gnu.org>
2389 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2390 Remove venerable code attempting to avoid substitute-command-keys.
2392 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2394 * textmodes/reftex-vars.el (reftex-label-regexps):
2395 Call `reftex-compile-variables' after changes to this variable.
2397 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2399 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2400 Use lexical-binding.
2401 (jit-lock-force-redisplay): Use markers, check buffer's continued
2402 existence and beware narrowed buffers.
2403 (jit-lock-fontify-now): Adjust call accordingly.
2405 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2408 to avoid misleading the user.
2410 2013-04-22 Leo Liu <sdl.web@gmail.com>
2412 * info-look.el: Prefer latex2e.info. (Bug#14240)
2414 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2416 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2418 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2419 * net/tramp.el (tramp-call-process): ... here
2420 (tramp-set-completion-function, tramp-parse-putty):
2421 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2422 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2423 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2424 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2425 (tramp-call-local-coding-command): Use `tramp-call-process'
2426 instead of `tramp-compat-call-process'.
2428 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2429 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2430 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2431 (tramp-find-inline-compress): Improve traces.
2432 (tramp-maybe-send-script): Check for Perl binary.
2433 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2435 2013-04-22 Daiki Ueno <ueno@gnu.org>
2437 * epg.el (epg-context-pinentry-mode): New function.
2438 (epg-context-set-pinentry-mode): New function.
2439 (epg--start): Pass --pinentry-mode option to gpg command.
2441 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2443 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2444 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2445 `completion-at-point'. (Bug#13774)
2447 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2448 default key binding for `describe-distribution' has been moved to
2449 `C-h C-o'. (Bug#13970)
2451 2013-04-21 Glenn Morris <rgm@gnu.org>
2453 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2455 (vc-print-log): Clarify interactive prompt.
2457 2013-04-20 Glenn Morris <rgm@gnu.org>
2459 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2460 No longer include timestamp etc information.
2462 2013-04-20 Roland Winkler <winkler@gnu.org>
2464 * faces.el (read-face-name): Bug fix, return just one face if arg
2465 multiple is nil. (Bug#14209)
2467 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2469 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2470 (remove-function): Autoload.
2472 * comint.el (comint-redirect-original-filter-function): Remove.
2473 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2474 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2475 (vc-cvs-annotate-command):
2476 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2477 * progmodes/prolog.el (prolog-consult-compile):
2478 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2479 Use add/remove-function instead.
2480 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2481 (gud-tooltip-process-output, gud-tooltip-tips):
2482 Use add/remove-function instead.
2483 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2484 (scheme-interaction-mode, exit-scheme-interaction-mode):
2485 Use add/remove-function instead.
2487 * vc/vc-dispatcher.el: Use lexical-binding.
2488 (vc--process-sentinel): Rename from vc-process-sentinel.
2489 Change last arg to be the code to run. Don't use vc-previous-sentinel
2490 and vc-sentinel-commands any more.
2491 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2492 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2494 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2496 * progmodes/sh-script.el (sh-imenu-generic-expression):
2497 Handle function names with a single character. (Bug#14111)
2499 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2501 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2502 for subroutines defined in an eval (bug#14182).
2504 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2506 * bookmark.el (bookmark-completing-read): Improve handling of empty
2509 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2511 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2513 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2515 New faster Imenu implementation (bug#14058).
2516 * progmodes/python.el:
2517 (python-imenu-prev-index-position):
2518 (python-imenu-format-item-label-function)
2519 (python-imenu-format-parent-item-label-function)
2520 (python-imenu-format-parent-item-jump-label-function):
2522 (python-imenu-format-item-label)
2523 (python-imenu-format-parent-item-label)
2524 (python-imenu-format-parent-item-jump-label)
2525 (python-imenu--put-parent, python-imenu--build-tree)
2526 (python-imenu-create-index, python-imenu-create-flat-index)
2527 (python-util-popn): New functions.
2528 (python-mode): Set imenu-create-index-function to
2529 python-imenu-create-index.
2531 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2533 * winner.el (winner-active-region): Use region-active-p, activate-mark
2534 and deactivate-mark (bug#14225).
2536 * simple.el (deactivate-mark): Don't inline it.
2538 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2540 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2542 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2544 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2545 file extensions from the archive-mode entry in order to prefer
2546 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2548 2013-04-18 Leo Liu <sdl.web@gmail.com>
2550 * bindings.el (help-event-list): Add ?\?.
2552 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * subr.el (with-wrapper-hook): Declare obsolete.
2555 * simple.el (filter-buffer-substring-function): New hook.
2556 (filter-buffer-substring): Use it.
2557 (filter-buffer-substring-functions): Mark obsolete.
2558 * minibuffer.el (completion-in-region-function): New hook.
2559 (completion-in-region): Use it.
2560 (completion-in-region-functions): Mark obsolete.
2561 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2562 * abbrev.el (abbrev-expand-function): New hook.
2563 (expand-abbrev): Use it.
2564 (abbrev-expand-functions): Mark obsolete.
2565 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2568 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2570 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2571 and do not care about match data.
2573 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2576 completion tables when completing error conditions and
2577 `declare' arguments.
2578 (lisp-complete-symbol, field-complete): Mark as obsolete.
2579 (check-parens): Unmatched parens are user errors.
2580 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2582 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2584 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2585 command changed buffer (ie. `flyspell-pre-buffer' is not current
2586 buffer), which prevents making decisions based on invalid value of
2587 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2588 cause an error when `flyspell-pre-point' was nil after switching
2590 (flyspell-post-command-hook): No longer needs to change buffers when
2591 checking pre-word. While at it remove unnecessary progn.
2593 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2595 * textmodes/ispell.el (ispell-add-per-file-word-list):
2596 Fix `flyspell-correct-word-before-point' error when accepting
2597 words and `coment-padding' is an integer by using
2598 `comment-normalize-vars' (Bug #14214).
2600 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2602 New defun movement commands.
2603 * progmodes/python.el (python-nav--syntactically)
2604 (python-nav--forward-defun, python-nav-backward-defun)
2605 (python-nav-forward-defun): New functions.
2607 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2609 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2610 (python-syntax-context): Use named compiler-macro for backwards
2611 compatibility with Emacs 24.x.
2613 2013-04-17 Leo Liu <sdl.web@gmail.com>
2615 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2616 octave-hide-process-buffer.
2618 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2623 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2625 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2626 Fix adjustment of offset when receiving incomplete responses from GDB
2629 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2631 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2632 python-mode-abbrev-table.
2633 (python-skeleton-define): Adjust accordingly.
2634 (python-mode-abbrev-table): New table that inherits from it so that
2635 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2637 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2638 (abbrev-symbol): Use it.
2639 (abbrev--before-point): Use it since we already handle inheritance.
2641 2013-04-16 Leo Liu <sdl.web@gmail.com>
2643 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2644 binding to info-lookup-symbol.
2646 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2648 * minibuffer.el (completion--twq-all):
2649 * term/ns-win.el (ns-initialize-window-system):
2650 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2652 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2657 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2659 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2661 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2662 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2664 (ruby-end-of-defun): Remove the unused arg, change the docstring
2665 to reflect that this function is only used as the value of
2666 `end-of-defun-function'.
2667 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2668 to reflect an earlier change that beginning/end-of-defun functions
2669 jump between methods in a class definition, as well as top-level
2672 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * minibuffer.el (minibuffer-complete): Don't just scroll
2675 a *Completions* that's been iconified.
2676 (minibuffer-force-complete): Make sure repetitions do cycle when going
2677 through completion-in-region -> minibuffer-complete.
2679 2013-04-15 Alan Mackenzie <acm@muc.de>
2681 Correct the placement of c-cpp-delimiters when there're #s not at
2684 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2685 place a submatch around the #.
2686 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2687 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2690 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2692 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2693 (advice--member-p): New arg `name'.
2694 (advice--add-function, advice-member-p): Use it (bug#14202).
2696 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2698 Reformulate java imenu-generic-expression.
2699 The old expression contained ill formed regexps.
2701 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2702 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2703 (cc-imenu-java-method-arg-regexp): New defconsts.
2704 (cc-imenu-java-build-type-args-regex): New defun.
2705 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2706 handling of spaces in the regexp.
2708 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2710 * textmodes/ispell.el (ispell-command-loop): Remove
2711 flyspell highlight of a word when ispell accepts it (bug #14178).
2713 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2715 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2716 uses code from the previous `ange-ftp-run-real-handler'.
2717 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2718 only in case that function exist. This is needed for proper
2721 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2723 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2725 * textmodes/reftex.el (reftex-compile-variables): Use it.
2727 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * files.el (normal-mode): Only use default major-mode if no other mode
2732 * emacs-lisp/trace.el (trace-values): New function.
2734 * files.el: Allow : in local variables (bug#14089).
2735 (hack-local-variable-regexp): New var.
2736 (hack-local-variables-prop-line, hack-local-variables): Use it.
2738 2013-04-13 Roland Winkler <winkler@gnu.org>
2740 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2741 data before it gets modified by bibtex-beginning-of-entry.
2743 2013-04-13 Roland Winkler <winkler@gnu.org>
2745 * textmodes/bibtex.el (bibtex-url): Doc fix.
2747 2013-04-13 Roland Winkler <winkler@gnu.org>
2749 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2750 does not visit a BibTeX file, exclude it from the list of buffers
2751 returned by bibtex-initialize.
2753 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2755 * window.el (split-window): Remove interactive form, since as a
2756 command this function is a special case of split-window-below.
2759 2013-04-12 Roland Winkler <winkler@gnu.org>
2761 * faces.el (read-face-name): Do not override value of arg default.
2762 Allow single faces and strings as default values. Remove those
2763 elements from return value that are not faces.
2764 (describe-face): Simplify.
2765 (face-at-point): New optional args thing and multiple so that this
2766 function can provide the same functionality previously provided by
2768 (make-face-bold, make-face-unbold, make-face-italic)
2769 (make-face-unitalic, make-face-bold-italic, invert-face)
2770 (modify-face, read-face-and-attribute): Use face-at-point.
2772 * cus-edit.el (customize-face, customize-face-other-window)
2773 * cus-theme.el (custom-theme-add-face)
2774 * face-remap.el (buffer-face-set)
2775 * facemenu.el (facemenu-set-face): Use face-at-point.
2777 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2779 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2781 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2783 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2784 off leading { and trailing } from field values.
2786 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2788 * emacs-lisp/timer.el (timer--check): New function.
2789 (timer--time, timer-set-function, timer-event-handler): Use it.
2790 (timer-set-idle-time): Simplify.
2791 (timer--activate): CSE.
2792 (timer-event-handler): Give more info in error message.
2793 (internal-timer-start-idle): New function, moved from C.
2795 * mpc.el (mpc-proc): Add `restart' argument.
2796 (mpc-proc-cmd): Use it.
2797 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2798 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2801 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2803 * progmodes/sh-script.el: Implement `sh-mode' own
2804 `add-log-current-defun-function' (bug#14112).
2805 (sh-current-defun-name): New function.
2806 (sh-mode): Use the function.
2808 2013-04-09 Bastien Guerry <bzg@gnu.org>
2810 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2812 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2816 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2819 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2821 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2824 2013-04-07 Leo Liu <sdl.web@gmail.com>
2826 * pcmpl-x.el: New file.
2828 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2830 Do not set x-display-name until X connection is established.
2831 This is needed to prevent from weird situation described at
2832 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2833 * frame.el (make-frame): Set x-display-name after call to
2834 window system initialization function, not before.
2835 * term/x-win.el (x-initialize-window-system): Add optional
2836 display argument and use it.
2837 * term/w32-win.el (w32-initialize-window-system):
2838 * term/ns-win.el (ns-initialize-window-system):
2839 * term/pc-win.el (msdos-initialize-window-system):
2840 Add compatible optional display argument.
2842 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2844 * files.el (normal-backup-enable-predicate): On MS-Windows and
2845 MS-DOS compare truenames of temporary-file-directory and of the
2846 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2847 don't fail comparison by compare-strings. Also, compare file
2848 names case-insensitively on MS-Windows and MS-DOS.
2850 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2852 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2853 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2855 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2857 * whitespace.el (whitespace-color-on, whitespace-color-off):
2858 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2860 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2862 * ispell.el (ispell-set-spellchecker-params):
2863 Really set `ispell-args' for all equivs.
2865 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * ido.el (ido-completions): Use extra elements of ido-decorations
2869 (ido-decorations): Update docstring.
2871 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2873 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2874 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2875 nil during initialization, in order not to miss changes since the
2876 file was opened. (Bug#14140)
2878 2013-04-05 Leo Liu <sdl.web@gmail.com>
2880 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2882 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2884 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2886 2013-04-04 Glenn Morris <rgm@gnu.org>
2888 * electric.el (electric-pair-inhibit-predicate): Add :version.
2890 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2893 when a package is required several times (bug#14082).
2895 2013-04-04 Roland Winkler <winkler@gnu.org>
2897 * faces.el (read-face-name): Behave as promised by the docstring.
2898 Assume that arg default is a list of faces.
2899 (describe-face): Call read-face-name with list of default faces.
2901 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2903 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2904 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2905 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2907 (bookmark-exit-hook-internal): Save even if list is empty.
2909 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2911 * emacs-lisp/package.el (package-pinned-packages): New var.
2912 (package--add-to-archive-contents): Obey it (bug#14118).
2914 2013-04-03 Alan Mackenzie <acm@muc.de>
2916 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2917 Also adapt to the new values of element 7 of a parse state.
2919 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2920 parameter `not-in-delimiter'. Handle being inside comment opener.
2921 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2922 character in case we're typing a '*' after a '/'.
2923 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2924 instead by passing the parameter to c-state-pp-to-literal.
2926 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2927 for elt. 7 of a parse state.
2929 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2931 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2932 * international/latin1-disp.el, international/mule-util.el:
2933 * language/cyril-util.el, language/european.el, language/ind-util.el:
2934 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2935 * language/tibetan.el, language/viet-util.el:
2936 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2938 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2941 (electric-pair-post-self-insert-function): Use it.
2942 (electric-pair-default-inhibit): New function, extracted from
2943 electric-pair-post-self-insert-function.
2945 2013-03-31 Roland Winkler <winkler@gnu.org>
2947 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2949 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2951 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2953 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2955 Un-indent after "pass" and "return" statements (Bug#13888)
2956 * progmodes/python.el (python-indent-block-enders): New var.
2957 (python-indent-calculate-indentation): Use it.
2959 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2961 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2962 defun. Defining it as defalias could introduce too eager
2963 byte-compiler optimization. (Bug#14030)
2965 2013-03-30 Chong Yidong <cyd@gnu.org>
2967 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2969 2013-03-30 Leo Liu <sdl.web@gmail.com>
2971 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2972 (kmacro-execute-from-register): Pass the keyboard macro to
2973 kmacro-call-macro or repeating won't work correctly.
2975 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2977 * progmodes/subword.el: Back to using `forward-symbol'.
2979 * subr.el (forward-whitespace, forward-symbol)
2980 (forward-same-syntax): Move from thingatpt.el.
2982 2013-03-29 Leo Liu <sdl.web@gmail.com>
2984 * kmacro.el (kmacro-to-register): New command.
2985 (kmacro-execute-from-register): New function.
2986 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2988 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * mpc.el: Use defvar-local and setq-local.
2991 (mpc--proc-connect): Connection failures are not bugs.
2992 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2993 (mpc-volume-map): Bind to the up-events.
2995 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2997 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2998 instead of `forward-symbol'.
3000 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3002 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3003 (edebug--recursive-edit): Use it.
3004 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3005 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3007 2013-03-28 Leo Liu <sdl.web@gmail.com>
3009 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3011 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3013 * facemenu.el (list-colors-callback): New defvar.
3014 (list-colors-redisplay): New function.
3015 (list-colors-display): Install list-colors-redisplay as the
3016 revert-buffer-function. (Bug#14063)
3018 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3021 and suffixes don't overlap (bug#14061).
3023 * case-table.el: Use lexical-binding.
3024 (case-table-get-table): New function.
3025 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3027 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3029 * progmodes/subword.el: Add `superword-mode' to do word motion
3030 over symbol_words (parallels and leverages `subword-mode' which
3031 does word motion inside MixedCaseWords).
3033 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3035 * eshell/em-unix.el: Move su and sudo to...
3036 * eshell/em-tramp.el: ...Eshell tramp module.
3038 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3041 Change return value to be a sexp. Delay `get-buffer' to after
3042 restoring the desktop (bug#13951).
3044 2013-03-26 Leo Liu <sdl.web@gmail.com>
3046 * register.el: Move semantic tag handling back to
3047 cedet/semantic/senator.el. (Bug#14052)
3049 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3052 into the prompt either (bug#13963).
3054 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3056 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3057 part of "(error-foo)".
3059 2013-03-24 Juri Linkov <juri@jurta.org>
3061 * replace.el (list-matching-lines-prefix-face): New defcustom.
3062 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3063 `occur-engine' if `face-differs-from-default-p' returns t.
3064 (occur-engine): Add `,' inside backquote construct to evaluate
3065 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3066 Pass `prefix-face' to the functions `occur-context-lines' and
3067 `occur-engine-add-prefix'.
3068 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3069 `prefix-face' and propertize the prefix with `prefix-face'.
3072 2013-03-24 Leo Liu <sdl.web@gmail.com>
3074 * nxml/rng-valid.el (rng-validate-while-idle)
3075 (rng-validate-quick-while-idle): Guard against deleted buffer.
3078 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3079 is the last entry in kill-buffer-hook.
3081 * files.el (kill-buffer-hook): Doc fix.
3083 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3085 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3088 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3090 2013-03-23 Leo Liu <sdl.web@gmail.com>
3092 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3095 * nxml/rng-valid.el (rng-validate-mode)
3096 (rng-after-change-function, rng-do-some-validation):
3097 * nxml/rng-maint.el (rng-validate-buffer):
3098 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3099 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3100 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3101 (nxml-extend-after-change-region): Use with-silent-modifications.
3103 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3106 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3107 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3108 timer-idle-list. (Bug#13999)
3110 2013-03-23 Juri Linkov <juri@jurta.org>
3112 * info.el (info-index-match): New face.
3113 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3114 main pattern and add text properties with the new face to matches
3115 in index entries relative to the beginning of the index entry.
3118 2013-03-21 Eric Ludlam <zappo@gnu.org>
3120 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3121 Inhibit read only while inserting objects.
3123 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3125 * progmodes/cfengine.el: Update docs to mention
3126 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3127 symbol motion. Remove "_" from the word syntax.
3129 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3131 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3132 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3134 2013-03-20 Juri Linkov <juri@jurta.org>
3136 * info.el (Info-next-reference-or-link)
3137 (Info-prev-reference-or-link): New functions.
3138 (Info-next-reference, Info-prev-reference): Use them.
3139 (Info-try-follow-nearest-node): Handle footnote navigation.
3140 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3142 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3145 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3147 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3149 Suppress unnecessary non-ASCII chatter during build process.
3150 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3151 (batch-skkdic-convert): Suppress most of the chatter.
3152 It's not needed so much now that machines are faster,
3153 and its non-ASCII component was confusing; see Dmitry Gutov in
3154 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3156 2013-03-20 Leo Liu <sdl.web@gmail.com>
3158 * ido.el (ido-chop): Fix bug#10994.
3160 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3162 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3164 (whitespace-color-on, whitespace-color-off):
3165 Use `font-lock-fontify-buffer' (Bug#13817).
3167 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3169 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3170 remapping in mode-line.
3171 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3173 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3175 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3176 value for `whitespace-line' face (Bug#13875).
3177 (whitespace-font-lock-keywords): Change description.
3178 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3179 the constructed keywords instead.
3180 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3182 2013-03-19 Leo Liu <sdl.web@gmail.com>
3184 * progmodes/compile.el (compilation-display-error): New command.
3185 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3188 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3190 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3192 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3194 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3196 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3198 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3200 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3201 * net/tramp-gvfs.el (top):
3202 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3203 (tramp-handle-shell-command): Use it.
3204 (tramp-dissect-file-name): Raise an error when hostname is a
3205 method name, and neither method nor user is specified.
3207 * net/trampver.el: Update release number.
3209 2013-03-18 Leo Liu <sdl.web@gmail.com>
3211 Make sure eldoc can be turned off properly.
3212 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3214 (eldoc-display-message-p): Revert last change.
3215 (eldoc-display-message-no-interference-p)
3216 (eldoc-print-current-symbol-info): Tweak.
3218 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3220 * doc-view.el (doc-view-new-window-function): Check the new window
3221 overlay's display property instead the char property of the
3222 buffer's first char. Use `with-selected-window' instead of
3223 `save-window-excursion' with `select-window'.
3224 (doc-view-document->bitmap): Check the current doc-view overlay's
3225 display property instead the char property of the buffer's first char.
3227 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3229 Automate the build of ja-dic.el (Bug#13984).
3230 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3231 from the input, rather than assume that it's been done for us by the
3232 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3233 the current date into a ja-dic.el comment, as that complicates
3236 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3238 * whitespace.el: Fix double evaluation.
3239 (whitespace-space, whitespace-hspace, whitespace-tab)
3240 (whitespace-newline, whitespace-trailing, whitespace-line)
3241 (whitespace-space-before-tab, whitespace-indentation)
3242 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3244 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3245 (whitespace-color-on): Use a single font-lock-add-keywords call.
3246 Fix double-evaluation of face variables.
3248 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3250 * net/tramp-adb.el (tramp-adb-parse-device-names):
3251 Use `start-process' instead of `call-process'. Otherwise, the
3252 function might be blocked under MS Windows. (Bug#13299)
3254 2013-03-17 Leo Liu <sdl.web@gmail.com>
3256 Extend eldoc to display info in the mode-line. (Bug#13978)
3257 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3258 (eldoc-mode-line-string): New variable.
3259 (eldoc-minibuffer-message): New function.
3260 (eldoc-message-function): New variable.
3261 (eldoc-message): Use it.
3262 (eldoc-display-message-p)
3263 (eldoc-display-message-no-interference-p):
3264 Support eldoc-post-insert-mode.
3266 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3267 (eval-expression): Run it.
3269 2013-03-17 Roland Winkler <winkler@gnu.org>
3271 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3272 strings in the list of return values.
3274 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3276 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3277 radix before checking for HMS forms.
3279 2013-03-16 Leo Liu <sdl.web@gmail.com>
3281 * progmodes/scheme.el: Add indentation and font-locking for λ.
3284 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3287 token before point (bug#13942).
3289 2013-03-16 Leo Liu <sdl.web@gmail.com>
3291 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3293 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3295 * startup.el (command-line-normalize-file-name): Fix handling of
3296 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3297 <xfq.free@gmail.com> in
3298 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3300 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3302 Sync with Tramp 2.2.7.
3304 * net/trampver.el: Update release number.
3306 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3308 * doc-view.el Fix bug#13887.
3309 (doc-view-insert-image): Don't modify overlay associated to
3310 non-live windows, and implement horizontal centering of image in
3311 case it's smaller than the window.
3312 (doc-view-new-window-function): Force redisplay of new windows on
3315 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3317 * saveplace.el (save-place-alist-to-file): Don't sort
3318 `save-place-alist', just pretty-print it (bug#13882).
3320 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3322 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3323 whether `default-file-name-coding-system' is bound. It isn't in
3326 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3328 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3329 backquotes for `obsolete' (bug#13929).
3331 * international/mule.el (find-auto-coding): Include file name in
3332 obsolescence warning (bug#13922).
3334 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3336 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3337 for CFEngine 3-specific indentation.
3338 (cfengine3-indent-line): Use it. Fix up category regex.
3339 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3341 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3343 * type-break.el (type-break-file-name):
3344 * textmodes/remember.el (remember-data-file):
3345 * strokes.el (strokes-file):
3346 * shadowfile.el (shadow-initialize):
3347 * saveplace.el (save-place-file):
3348 * ps-bdf.el (bdf-cache-file):
3349 * progmodes/idlwave.el (idlwave-config-directory):
3350 * net/quickurl.el (quickurl-url-file):
3351 * international/kkc.el (kkc-init-file-name):
3352 * ido.el (ido-save-directory-list-file):
3353 * emulation/viper.el (viper-custom-file-name):
3354 * emulation/vip.el (vip-startup-file):
3355 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3356 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3358 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3360 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3361 * language/thai-word.el: Switch to UTF-8.
3363 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3365 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3367 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3369 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3370 Use with-current-buffer and don't move point.
3371 (net-utils-run-simple): Remove useless code.
3372 (net-utils-remove-ctl-m): Remove unused custom.
3374 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3376 * international/characters.el (glyphless-set-char-table-range): New fun.
3377 (update-glyphless-char-display): Use it (bug#13744).
3379 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3381 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3382 namespaces in the syntax, indent closer for hanging brace
3383 correctly, allow single-quote delimited 'strings', and make
3384 `cfengine3-mode' the default.
3386 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3388 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3389 Use lexical-binding. Fix up docstring according to conventions.
3390 (gdbmi-debug-mode): New var.
3391 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3392 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3393 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3394 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3395 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3396 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3397 (gdbmi-bnf-incomplete-record-result): New functions.
3398 (gdb-car<): Remove function.
3399 (gdbmi-record-list): Remove variable.
3400 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3401 (gdbmi-bnf-result-state-configs): New const.
3402 (gud-gdbmi-marker-filter): Rewrite.
3403 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3404 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3405 Add `token' argument.
3406 (gdb-done, gdb-error): New functions.
3407 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3409 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * term/xterm.el (xterm--report-background-handler): Don't burp
3413 (xterm--version-handler): Extract from terminal-init-xterm.
3414 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3415 Allow multiple handlers.
3416 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3418 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3419 (xterm--report-background-handler, xterm--query): New functions.
3420 (terminal-init-xterm): Use them.
3422 2013-03-11 Michael R. Mauger <michael@mauger.com>
3424 * progmodes/sql.el Version 3.2
3425 Please note that my address changed to <michael@mauger.com>;
3426 the <mmaug@yahoo.com> address remains active.
3427 (sql-connection-alist): Updates documentation to fix bug#13715.
3428 (sql-connect): Handle missing `sql-connection-alist' correctly.
3429 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3430 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3432 (sql-default-value): New function.
3433 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3434 values were not used.
3435 (sql-rename-buffer): Make sure alternate buffer name has no text
3437 (sql-input-sender, sql-execute-feature): Fetch variable with
3438 `buffer-local-value' rather than `with-current-buffer'.
3439 (sql-*): Use #' function syntax consistently.
3440 (sql-*): Use message/error/user-error consistently.
3442 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * xt-mouse.el (xterm-mouse-event-read): Remove.
3445 (xterm-mouse--read-event-sequence-1000)
3446 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3448 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * term/xterm.el (xterm-function-map): Support format used with
3451 formatOtherKeys=1 (bug#13839).
3453 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3454 (with-no-warnings): Use `declare'.
3456 * whitespace.el (whitespace-enable-predicate): New variable.
3457 (whitespace-enable-predicate): Use it.
3459 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3460 (comint-output-filter, comint-update-fence):
3461 Use with-silent-modifications.
3463 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3465 * replace.el (occur-read-regexp-defaults-function): New var.
3466 (occur-read-regexp-defaults): New defun.
3467 (occur-read-primary-args): Propagate above change (bug#13892).
3469 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3473 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3475 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3477 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3478 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3479 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3481 (tramp-gvfs-file-name-handler-alist) [directory-files]
3482 [directory-files-and-attributes, file-exists-p, file-modes]:
3483 Use Tramp default handler.
3484 [file-acl, file-selinux-context, process-file, set-file-acl]:
3485 [set-file-modes, set-file-selinux-context, shell-command]:
3486 [start-file-process]: Remove handler.
3487 [verify-visited-file-modtime]: New handler.
3488 (tramp-gvfs-dbus-string-to-byte-array)
3489 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3490 calls of `dbus-string-to-byte-array' and
3491 `tramp-gvfs-dbus-byte-array-to-string'.
3492 (tramp-gvfs-handle-copy-file)
3493 (tramp-gvfs-handle-delete-directory)
3494 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3495 (tramp-gvfs-handle-file-directory-p)
3496 (tramp-gvfs-handle-file-executable-p)
3497 (tramp-gvfs-handle-file-name-all-completions)
3498 (tramp-gvfs-handle-file-readable-p)
3499 (tramp-gvfs-handle-file-writable-p)
3500 (tramp-gvfs-handle-insert-directory)
3501 (tramp-gvfs-handle-insert-file-contents)
3502 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3503 (tramp-gvfs-handle-set-visited-file-modtime)
3504 (tramp-gvfs-handle-write-region): Rewrite.
3505 (tramp-gvfs-handle-file-acl)
3506 (tramp-gvfs-handle-file-selinux-context)
3507 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3508 (tramp-gvfs-handle-set-file-modes)
3509 (tramp-gvfs-handle-set-file-selinux-context)
3510 (tramp-gvfs-handle-shell-command)
3511 (tramp-gvfs-handle-start-file-process)
3512 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3513 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3514 over the symlinks. Fix user handling.
3515 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3516 of the D-Bus signals.
3517 (tramp-gvfs-connection-mounted-p): Handle different names of the
3519 (tramp-gvfs-mount-spec-entry): New defun.
3520 (tramp-gvfs-mount-spec): Use it.
3521 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3522 there is a share name. Handle different names of the D-Bus
3523 signals and methods. Set connection properties needed for
3524 `tramp-check-cached-permissions'.
3525 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3528 * net/tramp.el (tramp-backtrace): Move up.
3529 (tramp-error): Dump a backtrace into the debug buffer when
3531 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3532 (tramp-file-mode-permissions, tramp-get-local-uid)
3533 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3536 * net/tramp-sh.el (tramp-file-mode-type-map)
3537 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3538 (tramp-file-mode-permissions, tramp-get-local-uid)
3539 (tramp-get-local-gid): Move to tramp.el.
3541 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3543 Separate mouse-1-click-follows-link from mouse-drag-region.
3544 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3545 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3546 (mouse-drag-line, mouse-drag-track):
3547 Remove mouse-1-click-follows-link code.
3548 (mouse--remap-link-click-p): Remove.
3550 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3552 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3553 (hi-lock-read-regexp-defaults): New defun.
3554 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3555 (hi-lock-face-phrase-buffer): Propagate above change.
3556 Update docstring (bug#13892).
3558 * subr.el (find-tag-default-as-regexp): New defun.
3559 * replace.el (read-regexp): Propagate above change.
3561 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3563 * calc/calc-units.el (calc-convert-units): Fix the way that default
3564 new units are stored.
3566 2013-03-07 Matthias Meulien <orontee@gmail.com>
3568 * bookmark.el: Define a face to highlight bookmark names in
3569 bookmark menu buffers, where the default is a bold face similarly
3570 to buffer names in buffer menu buffers.
3571 (bookmark-menu-bookmark): New face to highlight bookmark names.
3572 (bookmark-insert-location): Remove duplicated text property to
3573 conform to buffer list (see `list-buffers').
3574 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3575 `bookmark-menu-bookmark' to bookmark names.
3577 2013-03-07 Matthias Meulien <orontee@gmail.com>
3578 Karl Fogel <kfogel@red-bean.com>
3580 * bookmark.el: Display the bookmark list header similarly to the
3581 buffer list header (see `list-buffers'), where the default is now
3582 an immovable/immutable header line.
3583 (bookmark-bmenu-use-header-line): New variable.
3584 (bookmark-bmenu-inline-header-height): New name for
3585 `bookmark-bmenu-header-height', to avoid confusion with the code
3586 for the new immovable header. All references changed.
3587 (bookmark-bmenu-set-header): New function.
3588 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3589 Conditionalize header construction accordingly.
3590 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3591 the inline header height.
3592 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3593 Conditionalize the skipping of the inline header height.
3595 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3597 * progmodes/js.el (js--multi-line-declaration-indentation):
3598 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3600 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3602 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3603 Only propertize regexp when not inside a string (Bug#13885).
3605 2013-03-06 Alan Mackenzie <acm@muc.de>
3607 Correct the position of point in some line-up functions.
3608 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3609 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3610 point at column 0 rather than at a random place in the line.
3612 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3614 * net/tramp-compat.el (tramp-compat-delete-directory):
3615 Implement TRASH argument.
3617 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3619 Keep pre-existing highlighting in completion candidates (Bug#13250).
3620 * minibuffer.el (completions-first-difference): State that the
3621 face is "added" in the docstring.
3622 (completions-common-part): Same. And don't inherit from default.
3623 (completion-hilit-commonality): Prepend 'completions-common-part
3624 and 'completion-first-difference faces to the 'face property,
3625 instead of replacing the value(s).
3626 (completion--insert-strings): Same with 'completions-annotations face.
3627 (completion-hilit-commonality): Use 'face instead of
3628 'font-lock-face, because it gets priority if the completion
3629 strings already have 'face set.
3631 2013-03-04 Alan Mackenzie <acm@muc.de>
3633 Replace `last-command-event' by `last-command-char' in XEmacs.
3634 * progmodes/cc-defs.el (c-last-command-char): New macro.
3635 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3636 (c-semi&comma-no-newlines-before-nonblanks)
3637 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3638 in place of `last-command-event'.
3639 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3640 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3641 (c-electric-paren, c-electric-continued-statement): Use the new
3642 macro in place of `last-command-event'.
3644 2013-03-04 Glenn Morris <rgm@gnu.org>
3646 * files.el (inhibit-local-variables-regexps):
3647 Add .diff and .patch. (Bug#13862)
3649 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3651 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3652 whether the "su" command is available on the device.
3654 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3656 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3657 (tramp-adb-handle-process-file): Remove superfluous setting.
3658 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3659 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3660 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3662 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3664 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3665 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3666 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3667 Use dict-key rather than dict-name for the error message.
3669 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3671 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3672 when reverting (bug#13831).
3674 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3676 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3677 Always expand affix-file before storing to protect against changed
3678 `default-directory'.
3679 (ispell-print-if-debug): Make sure message is printed at the end
3680 of the debug buffer.
3682 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3684 * net/tramp.el (tramp-obsolete-methods): New defconst.
3685 (tramp-warned-obsolete-methods): New defvar.
3686 (tramp-find-method): Check for obsolete methods. Map them to a
3687 replacement method if appropriate.
3689 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3691 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3692 "ssh2" and "plink1".
3694 2013-02-28 Dale Sedivec <dale@codefu.org>
3696 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3697 Return valid syntax-table property value when converting
3698 quotes within text from string syntax to punctuation syntax (bug#13844).
3700 2013-02-28 Juri Linkov <juri@jurta.org>
3702 * dired-aux.el (dired-diff): If file at point is a backup file,
3703 use its original as the default value, and reverse the order
3704 of arguments to the `diff' call. Doc fix. (Bug#13772)
3706 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3708 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3709 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3711 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3713 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3715 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3716 Ask hunspell about available and default dictionaries.
3717 (ispell-parse-hunspell-affix-file): Extract relevant info from
3718 hunspell affix file.
3719 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3720 `ispell-dictionary-alist' entry for given dictionary after info
3721 provided by `ispell-parse-hunspell-affix-file'.
3722 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3723 of parsed hunspell dicts and associated affix files.
3724 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3725 of parsed hunspell dicts and associated parameters.
3726 (ispell-set-spellchecker-params):
3727 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3729 (ispell-start-process):
3730 Call `ispell-hunspell-fill-dictionary-entry' for current
3731 dictionary if it is not initialized.
3733 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * imenu.el: Comment nitpicks.
3737 2013-02-28 Sam Steingold <sds@gnu.org>
3739 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3740 See <http://stackoverflow.com/questions/14720205>.
3742 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3744 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3745 (net-utils-mode): Use it.
3746 (net-utils--revert-cmd): New var.
3747 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3748 (traceroute): Use net-utils-run-simple.
3750 2013-02-28 Glenn Morris <rgm@gnu.org>
3752 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3754 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3757 (doc-view-fallback-mode): Remove overlays here.
3758 (doc-view-toggle-display): Instead of here. Don't throw away
3759 image-mode-winprops-alist.
3760 (doc-view-goto-page): Don't mess with hscroll.
3762 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3764 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3765 &optional (bug#13819).
3767 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3769 * net/tramp-adb.el (tramp-adb-parse-device-names)
3770 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3772 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3774 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3775 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3776 defined. POSIX environments fall back to the "C" locale then and
3777 emit a warning, which shall be suppressed.
3779 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3782 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3784 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3786 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3788 2013-02-25 Juri Linkov <juri@jurta.org>
3790 * replace.el (read-regexp): Let-bind `default' to the first
3791 element of `defaults' if it's a list, otherwise it should be
3792 a string or nil. Let-bind `suggestions' to `defaults' if it's
3793 a list, otherwise make a list with the string value. Doc fix.
3796 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3798 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3799 that match "\`\.#", to avoid compiling lock files, even if they
3800 are readable (as they are on MS-Windows).
3802 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3804 * files.el (basic-save-buffer): Remove redundant directory-creation.
3806 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3808 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3809 Add option to force `pi' to remain symbolic.
3810 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3811 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3812 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3813 derivatives, when necessary.
3815 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3817 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3818 (ps-mode-octal-region): Use string-make-unibyte.
3820 2013-02-23 Glenn Morris <rgm@gnu.org>
3822 * emulation/viper-cmd.el (viper-submit-report):
3823 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3824 * progmodes/vera-mode.el (vera-mode-help-address):
3825 * textmodes/artist.el (artist-maintainer-address):
3826 * textmodes/reftex.el (reftex-report-bug):
3827 * vc/ediff-util.el (ediff-submit-report):
3828 Add bug-gnu-emacs to bug report address.
3830 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3831 Remove bug report entries.
3832 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3834 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3835 (byte-compile-file, byte-compile-from-buffer):
3836 Use separate input/output buffers for each level of recursive
3837 byte-compile-file calls. (Bug#13787)
3839 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3841 * net/tramp.el (tramp-methods): Fix docstring.
3842 (tramp-ssh-controlmaster-options): Rename it from
3843 `tramp-ssh-controlmaster-template'. Return a string.
3844 (tramp-default-method): Adapt check for
3845 `tramp-ssh-controlmaster-options'.
3847 * net/tramp-sh.el (tramp-methods):
3848 Replace `tramp-ssh-controlmaster-template' by "%c".
3849 (tramp-do-copy-or-rename-file-out-of-band)
3850 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3851 that it is applied for the first hop only.
3853 2013-02-22 Juri Linkov <juri@jurta.org>
3855 * isearch.el (isearch-lazy-highlight-new-loop):
3856 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3857 to `isearch-other-end' if it is not nil. (Bug#13402)
3859 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3862 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3863 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3864 and `isearch-error' to nil.
3866 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3868 * progmodes/python.el (python-info-current-defun):
3869 Enhance match-data cluttering prevention.
3871 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3873 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3875 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3876 Handle multibyte file names.
3878 2013-02-22 Glenn Morris <rgm@gnu.org>
3880 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3881 (sgml-transformation-function): Give it a :set function.
3882 (sgml-tag): Doc fix.
3884 * cmuscheme.el (scheme-buffer):
3885 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3886 * progmodes/tcl.el (inferior-tcl-buffer):
3887 * textmodes/tex-mode.el (tex-command): Doc fixes.
3889 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3891 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3893 2013-02-21 Bastien Guerry <bzg@gnu.org>
3895 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3897 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3899 * progmodes/python.el (python-info-current-defun):
3900 Enhance match-data cluttering prevention.
3902 2013-02-21 Glenn Morris <rgm@gnu.org>
3904 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3905 loaded while outline-regexp is let bound. (Bug#9584)
3907 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3909 * progmodes/python.el (python-info-current-defun): Fix failed
3910 defun name retrieval because of unwanted match-data cluttering.
3912 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3914 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3915 defconst. Apply independent check for ControlPersist.
3917 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3918 temporarily, via "env".
3920 2013-02-21 Glenn Morris <rgm@gnu.org>
3922 * info.el (Info-enable-edit): Remove.
3923 (Info-edit): Disable it rather than using Info-enable.
3924 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3925 (Info-cease-edit): Make editing of Info files obsolete.
3927 * informat.el (Info-tagify):
3928 Handle buffers not visiting files. (Bug#13763)
3930 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3932 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3934 2013-02-21 Glenn Morris <rgm@gnu.org>
3936 * files.el (basic-save-buffer): Move check for existing parent
3937 directory after hooks. (Bug#13773)
3939 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * simple.el (command-execute): Move from C. Add obsolete check.
3942 (extended-command-history): Move from C.
3944 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3946 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3947 (jka-compr-mode-alist-additions): Handle .txz suffix for
3948 XZ-compressed tar archives (bug#13770).
3950 2013-02-20 Bastien Guerry <bzg@gnu.org>
3952 * outline.el (outline-regexp, outline-heading-end-regexp):
3953 Make variables, not options (bug#13731).
3955 2013-02-20 Glenn Morris <rgm@gnu.org>
3957 * image.el (image-current-frame): Change from variable to function.
3958 (image-show-frame): Rename from image-nth-frame. Update callers.
3959 * image-mode.el (image-multi-frame): New variable.
3960 (image-mode-map, image-mode, image-goto-frame):
3961 Use image-multi-frame rather than image-current-frame.
3962 (image-mode, image-goto-frame): Use image-current-frame as
3963 function rather than as variable.
3965 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3966 * emacs-lisp/cl-macs.el (cl--make-type-test)
3967 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3969 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3971 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3972 (tramp-get-file-property, tramp-set-file-property)
3973 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3974 (tramp-flush-file-property, tramp-flush-directory-property):
3975 Rename argument to KEY.
3976 (tramp-flush-connection-property): Simplify a little bit.
3977 (tramp-connection-property-p): New defun.
3978 (top): Reapply saved values only if there isn't a corresponding
3979 entry in `tramp-connection-properties'.
3981 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3983 * progmodes/python.el (python-indent-context):
3984 Fix python-info-line-ends-backslash-p call.
3985 (python-info-line-ends-backslash-p)
3986 (python-info-beginning-of-backslash): Respect line-number argument.
3987 (python-info-current-line-comment-p):
3988 Fix behavior when not at beginning-of-line.
3989 (python-util-position): Remove function.
3990 (python-util-goto-line): New function.
3992 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3994 * eshell/em-unix.el (eshell/su): Require tramp.
3995 (eshell/sudo): Require tramp. Remove now unnecessary check.
3997 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3998 `tramp-current-connection' in order to avoid an error when several
3999 commands are invoked in a short time in eshell and friends.
4001 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
4003 Cleanup some of EIEIO's namespace.
4004 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
4005 Use it to define all the class-* and object-* field accessors (renamed
4006 to eieio--class-* and eieio--object-*). Update all uses.
4007 (eieio--class-num-slots, eieio--object-num-slots): Rename from
4008 class-num-slots and object-num-slots.
4009 (eieio--check-type): New macro.
4010 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
4011 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
4012 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
4013 (object-assoc-list-safe): Use it.
4014 (eieio-defclass): Tighten regexp.
4015 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
4016 Remove unreachable code.
4017 (object-class-fast): Declare obsolete.
4018 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
4019 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
4020 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
4021 Rename from class-name, object-name, object-set-name-string,
4022 object-class, object-class-name, class-parents, class-children,
4023 class-precedence-list, class-parent; with obsolete alias.
4024 (class-of, class-direct-superclasses, class-direct-subclasses):
4026 (eieio-defmethod): Use `memq'; remove unreachable code.
4027 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4028 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
4029 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
4031 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
4033 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
4036 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
4038 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
4039 Use font-lock-keyword-face for macros and special forms (bug#8345).
4041 2013-02-17 Didier Verna <didier@didierverna.net>
4043 * net/network-stream.el (network-stream-open-starttls):
4044 Check that response to the starttls-command is non-nil. (Bug#13706)
4046 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4049 Don't assume all identifier chars have syntax word.
4050 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4051 Remove bar-not-symbol. Adjust callers.
4052 (lisp-mode-variables): Don't set a font-lock-syntax-table.
4054 2013-02-17 Leo Liu <sdl.web@gmail.com>
4056 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
4058 2013-02-17 Glenn Morris <rgm@gnu.org>
4060 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4062 * image-mode.el (image-mode-map): Add image-dired menu entry.
4064 * image-dired.el (tumme): Make this alias obsolete.
4066 2013-02-16 Glenn Morris <rgm@gnu.org>
4068 * image.el (image-animated-types): Remove.
4069 (image-multi-frame-p): Rename from image-animated-p, and generalize.
4070 (image-animated-p): Make obsolete alias.
4071 (image-animate, image-nth-frame, image-animate-timeout):
4072 Use image-multi-frame-p.
4073 (image-animate-timeout): If no delay, use image-default-frame-delay.
4074 * image-mode.el (image-mode, image-toggle-animation):
4075 Use image-multi-frame-p. (Bug#763, bug#10739)
4076 (image-mode): Adjust startup message for a multi-frame image.
4078 * image-mode.el (image-mode-map): Give it a menu.
4080 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
4082 * net/tramp-cache.el (tramp-connection-properties): New customer
4084 (tramp-get-connection-property): Use it.
4086 * net/tramp-compat.el (top): Require 'trampver.
4088 * net/tramp-sh.el (tramp-remote-process-environment):
4089 Set tramp-autoload cookie.
4091 2013-02-16 Kevin Ryde <user42@zip.com.au>
4093 * info-look.el (info-lookup-select-mode): If major-mode has no
4094 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
4096 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
4098 * replace.el (read-regexp): Tighten the regexp that matches tag.
4099 When tag is retrieved with `find-tag-default', use regexp that
4100 matches tag at point. Also update docstring (Bug#13687).
4102 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4104 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4105 add watch for the file, not its parent directory, since w32notify
4106 sets up the watch for the directory internally. (Bug#13725)
4108 2013-02-16 Glenn Morris <rgm@gnu.org>
4110 * image.el (image-default-frame-delay): New variable.
4111 (image-animated-p): Use image-default-frame-delay.
4112 (image-minimum-frame-delay): New constant.
4113 (image-animate-timeout): Use image-minimum-frame-delay.
4115 * image.el (image-nth-frame): New, split from image-animate-timeout.
4116 (image-animate-timeout): Use image-nth-frame.
4117 * image-mode.el (image-goto-frame, image-next-frame)
4118 (image-previous-frame): New commands.
4119 (image-mode-map): Add new frame commands.
4121 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4123 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4124 If col-desc already has help-echo, use it. (Bug#13563)
4126 2013-02-16 Glenn Morris <rgm@gnu.org>
4128 * image.el (image-current-frame): New variable.
4129 (image-animate-timeout): Set image-current-frame.
4130 * image-mode.el (image-mode): For animated images,
4131 display a frame counter via mode-line-process.
4133 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4135 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4139 2013-02-15 Alan Mackenzie <acm@muc.de>
4141 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4142 global minor mode has been enabled, call the minor mode function
4143 for a new buffer once only, after the major mode hook, whilst
4144 allowing that hook explicitly to disable the minor mode.
4145 (MODE-disable-in-buffer): New (generated) function.
4146 (disable-MODE): New (generated) buffer local variable.
4148 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4150 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4151 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4152 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4153 `ido-next-match' and `ido-prev-match' resply.
4154 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4155 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4156 `icomplete-backward-completions' (Bug#13708).
4158 2013-02-15 Glenn Morris <rgm@gnu.org>
4160 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4162 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4165 (goto-address-fontify-region): Use them instead of narrowing, so
4166 syntax-ppss has access to the whole buffer.
4168 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4170 * progmodes/python.el: Explain how to restore "cc-mode"-like
4171 forward-sexp movement in header documentation (Bug#13642).
4172 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4173 comments and strings (GH bug 114).
4175 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4177 * progmodes/python.el (python-info-current-defun): Fix current
4178 defun detection (Bug#13618).
4180 2013-02-15 Chong Yidong <cyd@gnu.org>
4182 * xml.el (xml-parse-string): Fix typo in handling of bad character
4185 2013-02-15 Glenn Morris <rgm@gnu.org>
4187 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4189 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4191 * net/tramp.el (tramp-debug-message):
4192 Add `tramp-condition-case-unless-debug'.
4193 (tramp-debug-on-error): New defvar.
4194 (tramp-condition-case-unless-debug): New defun.
4195 (tramp-file-name-handler): Use it.
4197 2013-02-14 Juri Linkov <juri@jurta.org>
4199 * info.el (Info-isearch-filter): Treat non-nil values of
4200 `search-invisible' including its default value `open'
4201 like the value `t' to match hidden text. (Bug#13402)
4203 2013-02-14 Glenn Morris <rgm@gnu.org>
4205 * help-fns.el (find-lisp-object-file-name): Give special treatment
4206 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4208 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4210 * net/quickurl.el (quickurl-save-urls):
4211 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4213 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4215 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4216 depth for unfinished percent literal. Not using it in the caller.
4217 (ruby-move-to-block): Jump over multiline literals of all types,
4218 ignoring code-looking contents inside them.
4219 (ruby-add-log-current-method): Improve performance at the expense
4220 of accuracy. `ruby-block-contains-point' is relatively slow, so
4221 only use it for method and singleton class blocks.
4223 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4225 Use ControlMaster where applicable. (Bug#13677)
4227 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4228 replacing `tramp-detect-ssh-controlmaster'.
4229 (tramp-default-method): Use it.
4231 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4232 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4234 [scpc, rsyncc]: Remove methods.
4235 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4237 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4238 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4240 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4242 * emacs-lisp/package.el (package--initialized): Move before first use.
4244 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4246 * icomplete.el (icomplete-hide-common-prefix): New user option.
4247 (icomplete-first-match): New face.
4248 (icomplete-completions): Correct handling of "complete but not
4249 unique" (Bug#12638).
4251 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4253 * descr-text.el (describe-char): Display the script (bug#13698).
4255 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * tmm.el: Use lexical-binding and current-active-maps.
4258 (tmm-menubar): Use map-keymap and pcase.
4259 (tmm--completion-table): New function.
4260 (tmm-prompt): Use it to fix the menu order.
4261 (tmm-get-keybind): Use current-active-maps.
4263 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4265 Add dired-hide-details-mode. (Bug#6799)
4267 * locate.el (locate-mode): Set parent mode property to dired-mode.
4269 * find-dired.el (find-dired): Call dired-insert-set-properties on
4270 initial information line. Set process mark on end of buffer.
4271 (find-dired-sentinel):
4272 Call dired-insert-set-properties on summary.
4274 * dired.el (dired-hide-details-hide-symlink-targets)
4275 (dired-hide-details-hide-information-lines): New options.
4276 (dired-insert-directory):
4277 Set properties after final treatment of output.
4278 (dired-insert-set-properties):
4279 Set dired-hide-details-* properties.
4280 (dired-mode-map): Bind dired-hide-details-mode.
4281 (dired-mode): Set buffer-invisibility-spec to a list.
4282 (dired-next-line): Skip hidden lines.
4283 (dired-previous-line): Use dired-next-line.
4284 (dired-hide-details-mode): New minor mode.
4285 (dired-hide-details-update-invisibility-spec): New function.
4287 2013-02-13 Glenn Morris <rgm@gnu.org>
4289 * play/yow.el: Move to obsolete/. (Bug#9384)
4291 2013-02-13 Juri Linkov <juri@jurta.org>
4293 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4294 to select `ediff-control-frame' and set input focus correctly on Xfce.
4297 2013-02-13 Juri Linkov <juri@jurta.org>
4299 * image-mode.el (image-mode-map):
4300 * doc-view.el (doc-view-mode-map):
4301 * vc/ediff-util.el (ediff-setup-keymap):
4302 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4304 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4306 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4307 performance. Instead of recalculating indentation fully for each
4308 line, sum up indentation depth based only on visited lines.
4309 (ruby-parse-partial): Increase the depth after "do" even when END
4311 (ruby-parse-partial): When END is in the middle of a percent
4312 literal, increase the depth if the delimiter chars belong to the
4315 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4317 * play/fortune.el (fortune-compile): Also make the compiled file
4318 if it does not exist at all, not just if it is old. (Bug#5338)
4320 2013-02-13 Glenn Morris <rgm@gnu.org>
4322 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4324 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4326 * lisp/emacs-lisp/package.el (package-menu-execute):
4327 Add optional noquery argument. (Bug#13625)
4329 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4331 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4332 if DIR exists and PARENTS is non-nil.
4334 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4336 * progmodes/js.el (js--multi-line-declaration-indentation):
4337 Silence byte-compiler warning.
4339 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4341 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4343 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4344 only if it doesn't exist.
4346 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4349 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4351 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4352 UserInstallation when calling soffice to work around LibreOffice
4355 2013-02-12 Glenn Morris <rgm@gnu.org>
4357 * files.el (basic-save-buffer):
4358 Offer to create a non-existing directory. (Bug#3016)
4360 * calc/calc-graph.el (calc-graph-show-dumb):
4361 * calendar/calendar.el (calendar-mode-map):
4362 * cus-edit.el (custom-mode-map):
4363 * ehelp.el (electric-help-map):
4364 * emulation/vip.el (vip-mode-map):
4365 * epa.el (epa-key-list-mode-map):
4366 * info.el (Info-mode-map):
4367 * mail/rmail.el (rmail-mode-map):
4368 * mail/rmailsum.el (rmail-summary-mode-map):
4369 * man.el (Man-mode-map):
4370 * net/newst-plainview.el (newsticker-mode-map):
4371 * progmodes/cpp.el (cpp-edit-mode-map):
4372 * progmodes/grep.el (grep-mode-map):
4373 * progmodes/idlw-help.el (idlwave-help-mode-map):
4374 * simple.el (special-mode-map):
4375 * startup.el (splash-screen-keymap):
4376 * view.el (view-mode-map):
4377 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4379 2013-02-11 Elias Pipping <pipping@lavabit.com>
4381 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4384 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4388 2013-02-11 Glenn Morris <rgm@gnu.org>
4390 * vc/diff.el (diff-use-labels): New variable.
4391 (diff-no-select): Use --label rather than -L, and first
4392 check that it is supported. (Bug#11067)
4394 * files.el (enable-dir-local-variables): New variable.
4395 (hack-dir-local-variables): Respect enable-dir-local-variables.
4396 * tutorial.el (help-with-tutorial):
4397 Ignore directory-local variables. (Bug#11127)
4399 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4400 (vc-svn-global-switches): ... to here. (Bug#13513)
4402 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4404 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4405 Handle "foo (bar, default: xxx): " prompts.
4407 2013-02-10 Chong Yidong <cyd@gnu.org>
4409 * files.el (basic-save-buffer-1): Do not set
4410 buffer-file-coding-system-explicit (Bug#4533).
4412 * mail/emacsbug.el (report-emacs-bug): Change binding of
4413 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4415 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4417 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4418 * calc/calc-units.el (calc-convert-units): Use new variable.
4420 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4422 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4424 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4427 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4428 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4429 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4430 coding-system-for-write instead.
4432 * jka-compr.el (jka-compr-write-region): Don't bind
4435 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4438 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4439 (insert-file-contents-literally): Remove reference to
4440 file-name-buffer-file-type-alist.
4442 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4444 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4445 (find-buffer-file-type-coding-system): Remove references to
4446 find-buffer-file-type-match, find-buffer-file-type, and
4448 Don't put find-buffer-file-type-coding-system into
4449 file-coding-system-alist.
4450 (find-file-binary, find-file-text): Bind coding-system-for-read
4451 instead of file-name-buffer-file-type-alist.
4453 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4455 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4456 converter (Bug#13622).
4457 (doc-view-unoconv-program): Make obsolete alias.
4458 (doc-view-odf->pdf-converter-program): New variable.
4459 (doc-view-odf->pdf-converter-function): New variable.
4460 (doc-view-mode-p): Use it.
4461 (doc-view-odf->pdf-converter-unoconv):
4462 Rename from `doc-view-odf->pdf-converter-unoconv'.
4463 (doc-view-odf->pdf-converter-soffice): New function.
4464 (doc-view-convert-current-doc):
4465 Use `doc-view-odf->pdf-converter-function'.
4467 2013-02-09 Chong Yidong <cyd@gnu.org>
4469 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4470 view-echo-area-messages (Bug#13340).
4472 * help.el (view-echo-area-messages): Use display-buffer.
4474 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4477 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4479 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4480 Eval body right away, now that we do eager macroexpansion (bug#13605).
4482 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4483 (fundamental-mode): Use run-mode-hooks.
4485 * eshell/esh-proc.el (eshell/kill): Fix last change.
4486 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4488 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4490 * eshell/esh-proc.el (eshell/kill): Rewrite.
4492 * eshell/em-ls.el (show-almost-all): Declare.
4493 (eshell-do-ls): Add support for -A argument.
4495 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4497 * icomplete.el (icomplete-forward-completions)
4498 (icomplete-backward-completions): Handle corner case (bug#13602).
4500 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4502 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4503 be nil. Handle this. (Bug#13636)
4505 2013-02-07 Richard Stallman <rms@gnu.org>
4507 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4508 `save-buffer-coding-system'.
4510 2013-02-07 Alan Mackenzie <acm@muc.de>
4512 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4513 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4514 (c-parse-state-get-strategy): Don't return 'BOD any more.
4515 (c-append-lower-brace-pair-to-state-cache):
4516 Extra parameter HERE instead of narrowing.
4517 Widen to top of buffer before searching backwards for a brace pair.
4518 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4519 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4520 Narrow to parameter HERE, in place of being called narrowed.
4521 (c-remove-stale-state-cache): Extra parameter HERE in place of
4522 narrowing. Check there's an open brace in the cache before
4523 searching for its match.
4524 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4525 (c-parse-state-1): Don't narrow here for 'forward strategy,
4526 instead passing extra parameter HERE to several functions.
4527 Remove 'BOD strategy.
4529 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4531 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4532 used to install the package.
4534 2013-02-06 Glenn Morris <rgm@gnu.org>
4536 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4537 if we can't get user input. (Bug#6567)
4539 * startup.el (command-line): If simple.el is missing,
4540 test and warn about for some possible causes.
4542 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4544 * cus-start.el (all): Add ns-use-native-fullscreen.
4546 2013-02-05 Glenn Morris <rgm@gnu.org>
4548 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4550 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4551 Fix directory creation in fallback case.
4553 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4555 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4556 (vc-update-change-log): Use dolist.
4558 2013-02-04 Chong Yidong <cyd@gnu.org>
4560 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4562 (thing-at-point-beginning-of-url-regexp): New var.
4563 (thing-at-point-uri-schemes): Update list of URI schemes.
4564 (thing-at-point-url-regexp): Variable deleted.
4565 (thing-at-point-markedup-url-regexp): Disallow newlines.
4566 (thing-at-point-newsgroup-regexp)
4567 (thing-at-point-newsgroup-heads)
4568 (thing-at-point-default-mail-uri-scheme): New variables.
4569 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4570 method to find the possible bounds of the URI at point.
4571 New optional argument to find ill-formed URIs.
4572 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4573 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4574 the scheme-adding heuristics from ffap-url-at-point.
4575 (thing-at-point--bounds-of-well-formed-url): New function.
4576 Do parens matching to decide whether to include parens in the URI
4579 * ffap.el: Require thingatpt.
4580 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4581 All URI-valid characters are now recognized (Bug#5673).
4582 (ffap-string-at-point): Use use-region-p.
4583 (ffap-url-regexp): Extra character is handled by thing-at-point.
4584 (ffap-string-at-point-mode-alist): Allow parentheses.
4585 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4586 Convert to aliases; code moved to thingatpt.el.
4587 (ffap-gnus-hook): Use setq-local.
4589 2013-02-04 Glenn Morris <rgm@gnu.org>
4591 * emacs-lisp/ert.el (ert--explain-format-atom):
4592 Don't try to print non-characters as characters. (Bug#13543)
4594 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4596 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4597 (tramp-backtrace): New defun.
4598 (tramp-handle-insert-file-contents): Use `visit' when inserting
4601 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4602 Use `remote-file-name-inhibit-cache'.
4604 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4609 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4610 current-load-list (bug#13366).
4612 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4614 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4615 Identify g++ template instantiation trace. (Bug#12287)
4616 (compilation-mode-hook, compilation-start-hook)
4617 (compilation-window-height): Simplify docstrings. (Bug#13379)
4619 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * mouse.el (mouse-drag-track): Always deactivate the mark before
4622 running the final event's command since that command is in charge of
4623 activating the mark if needed (bug#13523).
4625 2013-02-02 Juri Linkov <juri@jurta.org>
4627 * replace.el (perform-replace): Move let-bindings of isearch-*
4628 variables deeper to the loop that searches for the next match.
4629 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4630 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4633 * isearch.el (isearch-search-fun-default): Check for null
4634 first element of isearch-cmds as a precaution when it's used
4635 with inactive isearch.
4637 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4639 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4640 error when buffer in question is narrowed so position 1 is out of
4643 2013-02-02 Glenn Morris <rgm@gnu.org>
4645 * textmodes/remember.el (remember-clipboard): Doc fix.
4647 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4649 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4650 properties (bug#13179).
4652 2013-02-02 Juri Linkov <juri@jurta.org>
4654 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4655 instead of hard-coded default face `match'. (Bug#9438)
4657 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4659 * vc/vc-arch.el (vc-arch-registered):
4660 * vc/vc-bzr.el (vc-bzr-registered):
4661 * vc/vc-cvs.el (vc-cvs-registered):
4662 * vc/vc-git.el (vc-git-registered):
4663 * vc/vc-hg.el (vc-hg-registered):
4664 * vc/vc-mtn.el (vc-mtn-registered):
4665 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4668 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4669 prefix argument. (Bug#11656)
4671 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4675 2013-02-01 Glenn Morris <rgm@gnu.org>
4677 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4678 if the backend is known not to support it.
4680 * imenu.el (imenu-default-create-index-function):
4681 Tweak infinite loop test to check for forward motion as well as none.
4683 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4685 * net/soap-client.el (soap-invoke): Encode the string for
4686 `url-request-data' as UTF-8.
4687 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4689 2013-02-01 Glenn Morris <rgm@gnu.org>
4691 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4693 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4695 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4697 * net/tramp.el (tramp-tramp-file-p): Comment check for
4698 `string-as-unibyte'. The function does not exist on XEmacs, and
4699 likely we need another approach.
4701 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4702 `tramp-gw-*' variables are bound.
4704 2013-01-31 Glenn Morris <rgm@gnu.org>
4706 * files.el (basic-save-buffer-2): Choose coding system for
4707 writing the file before backing it up, to reduce delay between
4708 backing up and writing the new version. (Bug#13522)
4710 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4712 * simple.el (cycle-spacing): New command.
4713 (just-one-space): Use it.
4715 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4717 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4718 (opascal-newline-always-indents): Remove custom.
4719 (opascal-tab, opascal-newline): Remove commands.
4720 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4721 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4722 (opascal-save-match-data): Remove, use save-match-data instead.
4723 (opascal-save-state): Use with-silent-modifications.
4725 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4728 2013-01-30 Juri Linkov <juri@jurta.org>
4730 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4731 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4732 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4734 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4737 column if we're just deleting the backslashes.
4738 (makefile-fill-paragraph): Use eolp.
4740 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4742 * autorevert.el (auto-revert-use-notify): Fix docstring.
4744 2013-01-30 Leo Liu <sdl.web@gmail.com>
4746 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4748 2013-01-30 Glenn Morris <rgm@gnu.org>
4750 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4751 unread-command-events twice in some cases. This tries to implement
4752 the 2012-07-26 changes in a different way. (Bug#13560)
4754 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4756 * progmodes/python.el
4757 (python-pdbtrack-comint-output-filter-function): Enhancements on
4758 stacktrace detection. (thanks @gnovak)
4760 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4763 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4765 (jit-lock-register): Use setq-local.
4767 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4769 * calc-units.el (math-default-units-table): Remove initial value.
4770 (calc-convert-units): Treat expressions where all the units cancel as
4771 if they didn't have units.
4773 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4775 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4776 (tramp-completion-reread-directory-timeout): Fix type.
4777 (tramp-connection-min-time-diff): New defcustom.
4779 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4781 2013-01-30 Glenn Morris <rgm@gnu.org>
4783 * imenu.el (imenu-default-create-index-function):
4784 Put back a version of the infinite loop test removed 2013-01-23.
4786 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4788 * progmodes/python.el (python-shell-parse-command):
4789 Find python-shell-interpreter with modified environment.
4791 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4793 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4795 2013-01-29 Alan Mackenzie <acm@muc.de>
4797 Amend to fontify /regexp/s in actions correctly.
4798 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4799 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4800 are no longer included.
4801 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4802 What used to be these variables without "-line" in the name.
4803 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4804 (c-awk-non-arith-op-bra-re): Now also matches {.
4805 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4806 "return", and "case".
4807 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4809 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4810 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4812 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4814 * autorevert.el (auto-revert-use-notify):
4815 Use `custom-initialize-default' for initialization. (Bug#13583)
4817 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4819 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4820 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4821 in `tramp-file-name-handler'.
4822 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4824 (tramp-compute-multi-hops): Check, whether
4825 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4827 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4832 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4834 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4835 checks made superfluous by the \_< operator.
4836 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4837 temporarily) broken indentation.
4838 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4839 Highlight nested constants, too. \_< broke that.
4841 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4843 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4846 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4848 * autorevert.el (auto-revert-handler): Notifications which result
4849 from a saved file shall not be taken into account. (Bug#13557)
4851 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4853 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4854 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4855 (lisp-mode): Pass t for it. (Bug#13556)
4857 2013-01-25 Alan Mackenzie <acm@muc.de>
4859 AWK Mode: Fix indentation bug at top level. Bug #12274.
4861 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4862 just before CASE 5D.
4864 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4866 * net/socks.el (socks-nslookup-host): Use string-to-number.
4868 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4870 * autorevert.el (auto-revert-remote-files)
4871 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4872 (auto-revert-notify-enabled, auto-revert-use-notify)
4873 (auto-revert-notify-watch-descriptor-hash-list)
4874 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4875 (auto-revert-notify-event-descriptor)
4876 (auto-revert-notify-event-action)
4877 (auto-revert-notify-event-file-name): Doc fix.
4878 (global-auto-revert-mode): Reorder checks.
4879 (auto-revert-notify-rm-watch): Respect changed values of
4880 `auto-revert-notify-watch-descriptor-hash-list'.
4881 (auto-revert-notify-add-watch): Check for
4882 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4883 `inotify-add-watch'. Watch `default-directory' instead of
4884 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4885 has a changed meaning now. (Bug#13540)
4886 (auto-revert-notify-handler): Change implementation wrt events
4887 returning from a directory.
4888 (auto-revert-handler): Reorder implementation for checks of remote
4890 (auto-revert-buffers): Fix parentheses error.
4892 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4894 * progmodes/python.el: Enhancements to header documentation about
4895 skeletons. (Bug#5716)
4897 * imenu.el (imenu-default-create-index-function): Remove useless
4898 infinite loop check. (Bug#13438)
4900 2013-01-25 Alan Mackenzie <acm@muc.de>
4902 Fix a bug in the state cache mechanism. Refactor this a bit.
4904 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4905 `cache-pos' element from the return value.
4906 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4907 buffer to enable proper searching from beyond HERE. Amend the
4908 test for detecting the sought brace pair. Amend the value written
4909 to the "brace desert cache" when the brace isn't found.
4910 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4911 and several other variables analogously.
4912 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4913 parameter to a locally calculated variable.
4914 (c-parse-state-1): Change the calling conventions to the two
4915 defuns involving `cache-pos'.
4917 2013-01-25 Chong Yidong <cyd@gnu.org>
4919 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4921 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4923 * paren.el (show-paren-function): Make sure to set 'priority and
4924 'face only if the overlay does exist.
4926 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4928 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4930 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4932 (tramp-sh-handle-set-file-acl): Improve error checking.
4934 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4936 * doc-view.el (doc-view-display): Force mode line update until all
4937 document is converted. Suggested by Stefan Monnier (Bug#13164).
4939 2013-01-23 Bastien Guerry <bzg@gnu.org>
4941 * paren.el (show-paren-function): Make sure an overlay exists
4942 before trying to delete it. Also use `pos' as a position only
4943 when it is an integer.
4945 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4947 * play/gametree.el (gametree-break-line-here): Use point-marker.
4949 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4951 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4952 Mark descriptive parts with `display' property.
4954 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4956 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4957 New variable to map standard dict names to hunspell ones.
4958 (ispell-set-spellchecker-params): Make sure specific dict names
4959 are used for standard dicts with hunspell.
4961 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4963 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4964 chars for note (%N) and url (%U).
4965 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4967 2013-01-21 Juri Linkov <juri@jurta.org>
4969 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4970 in addition to existing separate binding `meta f10' in `global-map'.
4973 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4975 Improve XEmacs compatibility.
4977 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4979 * net/tramp-adb.el (top): Require `time-date'.
4980 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4981 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4982 Use `tramp-file-name-handler'.
4983 (tramp-adb-maybe-open-connection):
4984 Use `tramp-compat-set-process-query-on-exit-flag'.
4986 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4987 Use `tramp-compat-funcall'.
4989 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4990 `tramp-compat-funcall'.
4992 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4994 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4995 reimplementation using "adb shell command ..." instead of running
4996 remote shell interactively.
4998 2013-01-20 Glenn Morris <rgm@gnu.org>
5000 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5001 Add native profiler menu entries.
5003 * profiler.el (profiler-running-p): New function.
5004 (profiler-cpu-profile): Use profiler-running-p.
5005 (profiler-report-mode-map): Add some more menu entries.
5007 2013-01-19 Glenn Morris <rgm@gnu.org>
5009 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
5010 fixes 2012-12-07 change. (Bug#13499)
5012 2013-01-19 Leo Liu <sdl.web@gmail.com>
5014 * dired.el (dired-get-marked-files): Prune erroneous values due to
5015 last change. (Bug#13152)
5017 2013-01-19 Glenn Morris <rgm@gnu.org>
5019 * progmodes/etags.el (tags-table-check-computed-list):
5020 Preserve point in tags buffer. (Bug#13412)
5022 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
5024 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
5025 Chong Yidong <cyd@gnu.org>
5027 * image-mode.el (image-next-file, image-previous-file):
5028 New commands (Bug#8453).
5029 (image-mode-map): Bind them to n and p.
5030 (image-mode--images-in-directory): New helper function.
5032 2013-01-19 Chong Yidong <cyd@gnu.org>
5034 * image-mode.el (image-mode-fit-frame): Add a frame argument.
5035 Suggested by Drew Adams (Bug#7730). Handle window decorations;
5036 save and restore the old window configuration.
5038 2013-01-18 Leo Liu <sdl.web@gmail.com>
5040 * progmodes/js.el: Tweak autoload cookie for alias.
5042 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5044 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
5045 buffer local, again. This was lost with the fix on 2013-01-12.
5047 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
5049 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
5050 order to support several eshell buffers in parallel.
5052 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5054 * autorevert.el (auto-revert-use-notify): In the :set function, do
5055 not modify `kill-buffer-hook'.
5056 (auto-revert-notify-rm-watch):
5057 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
5058 (auto-revert-notify-add-watch): Do not call
5059 `auto-revert-notify-rm-watch', but add it to a buffer local
5062 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
5065 call to `eval' rather than a backquoted lambda.
5067 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
5070 to return an explicit nil.
5071 (advice--remove-function): Change accordingly.
5073 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
5074 the use of nadvice.el.
5076 * progmodes/which-func.el (which-function): Silence imenu errors
5079 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5081 * progmodes/sql.el (sql-imenu-generic-expression):
5082 (sql-mode-font-lock-object-name): Match schema qualified names.
5083 (sql-connect): Use string keys.
5084 (sql-product-interactive): Wait for interpreter prompt.
5085 (sql-comint-oracle): Set process coding based on NLS_LANG.
5087 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5089 * progmodes/sql.el (sql-output-to-send): Remove, unused.
5090 (sql-interactive-remove-continuation-prompt):
5091 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
5093 2013-01-14 Leo Liu <sdl.web@gmail.com>
5095 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
5098 2013-01-14 Glenn Morris <rgm@gnu.org>
5100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5101 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5103 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
5105 * progmodes/python.el (python-nav-end-of-statement):
5106 Fix cornercase when handling multiline strings.
5108 2013-01-13 Richard Stallman <rms@gnu.org>
5110 * mail/sendmail.el (mail-position-on-field): Add doc string.
5112 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5113 Get current message boundaries and pass them to
5114 message-forward-make-body-mime. Minor style changes.
5116 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5118 * cus-start.el (all): Avoid warnings about
5119 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5121 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5123 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5125 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5128 (jit-lock--debug-fontifying): New var.
5129 (jit-lock--debug-fontify): New function.
5130 * subr.el (condition-case-unless-debug): Don't prevent catching the
5131 error, just let the debbugger run.
5132 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5133 timer code and don't drop errors silently.
5135 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5137 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5138 `permanent-local' property.
5139 (auto-revert-notify-handler): Use `file-equal-p'.
5141 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5143 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5144 file notification by ACTION. For filtering by file name, compare
5145 only the non-directory part of the file name.
5147 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5149 * autorevert.el: Use cl-lib instead of cl.
5151 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5152 (vc-bzr-checkin): Use it.
5153 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5154 will preserve match-data.
5156 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5158 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5159 (js--declaration-keyword-re): New var.
5160 (js--multi-line-declaration-indentation): New function.
5161 (js--proper-indentation): Use it.
5163 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5165 * calc/calc.el (calc-highlight-selections-with-faces)
5167 * comint.el (comint-history-isearch-message):
5168 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5169 * ffap.el (ffap-string-at-point-region, ffap-next)
5170 (ffap-string-at-point, ffap-string-around)
5171 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5173 * font-lock.el (font-lock-keywords-alist)
5174 (font-lock-removed-keywords-alist):
5175 * help-mode.el (help-xref-symbol-regexp):
5176 * info.el (Info-find-emacs-command-nodes):
5177 * international/mule.el (add-to-coding-system-list):
5178 * isearch.el (isearch-message-function, isearch-fail-pos):
5179 * misearch.el (multi-isearch-next-buffer-function):
5180 * newcomment.el (comment-box):
5181 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5182 (pr-setting-database):
5183 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5184 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5185 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5186 (pike-font-lock-keywords-3):
5187 * progmodes/compile.el (compile):
5188 * progmodes/etags.el (tags-table-files)
5189 (tags-table-files-function, tags-included-tables-function):
5190 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5191 (gdb-restore-windows):
5192 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5193 (ps-n-up-filling-database):
5194 * server.el (server-buffer, server-log):
5195 * simple.el (newline, delete-backward-char, delete-forward-char)
5196 (minibuffer-history-isearch-message, kill-line, track-eol)
5197 (temporary-goal-column):
5198 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5199 (flyspell-default-deplacement-commands):
5200 * textmodes/ispell.el (ispell-accept-output):
5201 * textmodes/sgml-mode.el (html-tag-help):
5202 * vc/compare-w.el (compare-ignore-whitespace)
5203 (compare-ignore-case, compare-windows-dehighlight):
5204 * vc/diff.el (diff):
5205 * whitespace.el (whitespace-point)
5206 (whitespace-font-lock-refontify, whitespace-bob-marker)
5207 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5209 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5211 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5212 (auto-revert-notify-rm-watch): Ignore errors.
5213 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5214 inotify, and '(size last-write-time) for w32notify.
5215 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5216 watch fails - this is a fallback to the file modification check.
5217 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5218 (auto-revert-notify-event-action)
5219 (auto-revert-notify-event-file-name): New defuns.
5220 (auto-revert-notify-handler): Use them. Implement first
5221 plausibility checks.
5222 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5224 2013-01-11 Julien Danjou <julien@danjou.info>
5226 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5227 max are almost equal. Also return the correct value for V which is
5228 already between 0 and 1.
5230 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5232 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5234 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5236 * autorevert.el (auto-revert-notify-rm-watch)
5237 (auto-revert-notify-add-watch): Fix typos in w32notify function
5240 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5242 * autorevert.el (auto-revert-notify-enabled): Move up.
5243 (auto-revert-use-notify): New defcustom.
5244 (auto-revert-mode, global-auto-revert-mode)
5245 (auto-revert-notify-add-watch, auto-revert-handler)
5246 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5247 `auto-revert-notify-enabled'.
5249 2013-01-10 Elias Pipping <pipping@exherbo.org>
5251 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5252 * doc-view.el (doc-view-document->bitmap):
5253 Use doc-view-single-page-converter-function instead of
5254 single-page-converter arg; adjust callers.
5256 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5258 * progmodes/which-func.el (which-function): Understand Semantic's use
5259 of overlays in imenu--index-alist.
5261 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5263 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5264 (Man-man-k-use-anchor): New var.
5265 (Man-parse-man-k): New function.
5266 (Man-completion-table): Use it.
5267 (man): Flush the completion cache between uses.
5269 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5271 * autorevert.el: Add file watch support.
5272 (auto-revert-notify-enabled): New defconst.
5273 (auto-revert-notify-watch-descriptor-hash-list)
5274 (auto-revert-notify-watch-descriptor)
5275 (auto-revert-notify-modified-p): New defvars.
5276 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5277 (auto-revert-notify-handler): New defuns.
5278 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5279 when mode is disabled.
5280 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5281 (auto-revert-buffers): Add file watches for active buffers.
5283 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5285 * cus-start.el (toplevel): Only allow float values for
5286 scroll-up-aggressively and scroll-down-aggressively.
5287 Allow any number for line-spacing.
5289 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5291 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5292 (doc-view-pdf->png-converter-function): Use mupdf if available.
5293 (doc-view-djvu->png-converter-function)
5294 (doc-view-ps->png-converter-function): Remove.
5295 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5296 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5297 (doc-view-already-converted-p): Adjust accordingly.
5298 (doc-view-mode-p): Simplify.
5299 (doc-view-enlarge): Use setq-local.
5300 (doc-view-pdf->png-converter-ghostscript)
5301 (doc-view-djvu->png-converter-ddjvu)
5302 (doc-view-pdf->png-converter-mupdf): Rework to call
5303 doc-view-start-process directly.
5304 (doc-view-pdf/ps->png): Simplify accordingly.
5305 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5306 (doc-view-document->bitmap): Rename from doc-view-document->png.
5307 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5308 (doc-view-set-slice-from-bounding-box): Fix completion table.
5309 (doc-view-mode): Use add-hook for after-revert-hook.
5311 2013-01-10 Glenn Morris <rgm@gnu.org>
5313 * emacs-lisp/authors.el (authors-ignored-files)
5314 (authors-valid-file-names, authors-renamed-files-alist):
5315 Add some more entries.
5317 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5320 `t' pseudo-window entry.
5322 2013-01-10 Alan Mackenzie <acm@muc.de>
5324 Fix bugs in the c-parse-state mechanism. Reuse some markers
5325 instead of continually generating new ones.
5327 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5328 (c-state-old-cpp-end-marker): New variables.
5329 (c-append-lower-brace-pair-to-state-cache): Start a backward
5330 search for "}" definitively outside CPP constructs.
5331 (c-remove-stale-state-cache): Inform the caller of a need to
5332 search back for a brace pair in certain circumstances.
5333 (c-state-maybe-marker): New macro.
5334 (c-parse-state): Reuse markers when appropriate.
5336 2013-01-10 Glenn Morris <rgm@gnu.org>
5338 * simple.el (execute-extended-command): Doc fix.
5339 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5341 2013-01-10 Chong Yidong <cyd@gnu.org>
5343 * faces.el (read-face-name): Doc fix.
5345 2013-01-10 Roland Winkler <winkler@gnu.org>
5347 * emacs-lisp/crm.el: Allow any regexp for separators.
5348 (crm-default-separator): All spaces around the default comma separator.
5349 (crm--completion-command): New macro.
5350 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5351 (crm-complete-and-exit): Handle non-single-char separators.
5353 2013-01-09 Elias Pipping <pipping@lavabit.com>
5355 * doc-view.el: Add support for DjVu (bug#13164).
5356 (doc-view-djvu->png-converter-function): New config var.
5357 (doc-view-single-page-converter-function, doc-view--image-type)
5358 (doc-view--image-file-extension): New vars.
5359 (doc-view-mode): Initialize them.
5360 (doc-view-goto-page): Use them.
5361 (doc-view-mode-p): Add support for ddjvu.
5362 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5363 (doc-view-set-up-single-converter): New funs.
5364 (doc-view-pdf/ps->png): Extend for djvu.
5365 (doc-view-document->png): Rename from doc-view-pdf->png.
5366 (doc-view-convert-current-doc): Handle djvu.
5367 (doc-view-insert-image, doc-view-display)
5368 (doc-view-already-converted-p): Don't hardcode png.
5369 (doc-view-set-doc-type): Recognize djvu docs.
5371 2013-01-09 Elias Pipping <pipping@lavabit.com>
5373 * doc-view.el: Add support for mupdf converter (bug#13164).
5374 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5375 (doc-view-ps->png-converter-function): New config vars.
5376 (doc-view-pdf->png-converter-ghostscript)
5377 (doc-view-ps->png-converter-ghostscript)
5378 (doc-view-pdf->png-converter-mupdf): New functions.
5379 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5381 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
5383 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5384 first in session cache: When `tramp-own-remote-path' is in
5385 `tramp-remote-path', the remote path is only set in the session
5388 2013-01-09 Glenn Morris <rgm@gnu.org>
5390 * emacs-lisp/trace.el (trace-function-foreground)
5391 (trace-function-background): Doc fix.
5393 2013-01-09 Juri Linkov <juri@jurta.org>
5395 * international/mule-cmds.el (read-char-by-name): Move let-binding
5396 of completion-ignore-case around completing-read to fix regression
5397 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5398 `string-match-p' using the nil value of `case-fold-search' and
5399 `completion-ignore-case' in `completion-pcm--all-completions'.
5402 2013-01-09 Glenn Morris <rgm@gnu.org>
5404 * progmodes/compile.el (compilation-parse-errors):
5405 Fix typo. (Bug#13369)
5407 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5409 * comint.el (comint-send-input): Check size of buffer before
5410 waiting for process output, in case already accepted. (Bug#13290)
5412 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5415 * net/tramp-adb.el (tramp-adb-get-toolbox):
5416 Fix misspelling of 'unknown'.
5418 2013-01-08 Juri Linkov <juri@jurta.org>
5420 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5421 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5422 Use underline style wave on terminals that support it. (Bug#13000)
5424 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5427 the predicate returns nil.
5429 * simple.el: Use lexical-binding.
5430 (primitive-undo): Use pcase.
5431 (minibuffer-history-isearch-push-state): Use a closure.
5433 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5435 * simple.el (primitive-undo): Move from undo.c.
5437 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5439 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5440 (cvs-mode-remove-handled): Use it (bug#13380).
5442 * emacs-lisp/nadvice.el (advice--tweak): New function.
5443 (advice--remove-function, advice--subst-main): Use it.
5445 * emacs-lisp/advice.el: Update commentary.
5447 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5449 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5450 Remove spurious entry.
5452 2013-01-08 Glenn Morris <rgm@gnu.org>
5454 * net/tramp.el (tramp-default-host-alist): Add :version.
5456 2013-01-08 Juri Linkov <juri@jurta.org>
5458 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5459 single completion. (Bug#12456)
5460 (info--manual-names): Expand node completions into an explicit list
5461 before appending it to another list. Filter out internal buffers
5462 with the leading space in the buffer name. (Bug#10771)
5464 2013-01-08 Juri Linkov <juri@jurta.org>
5466 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5467 that defaults to the Top node.
5468 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5469 the short format (FILENAME) goes to the Top node.
5470 (Info-build-node-completions): Rename arg `file' to `filename'.
5473 2013-01-07 Bastien Guerry <bzg@gnu.org>
5475 * menu-bar.el (menu-bar-search-documentation-menu):
5476 Use `apropos-user-option' and fix the help message.
5478 2013-01-07 Bastien Guerry <bzg@gnu.org>
5480 * apropos.el (apropos-do-all): Update docstring.
5481 (apropos-user-option-button): New face.
5482 (apropos-user-option): Rename from `apropos-variable' and update
5484 (apropos-variable): Rewrite, now show all variables by default.
5485 (apropos-print): Mention "User option" instead of "Variable" when
5486 printing doc for user options. (Bug#13276)
5488 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5490 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5491 Handle filename correctly, when parsing "source -> target" symlink
5493 (tramp-adb-handle-set-file-times): New defun.
5495 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5497 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5498 advice list when the interactive-spec of ad-Advice-* changes.
5500 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5502 * wid-edit.el (widget-default-get): Work for inlined elements.
5505 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5507 * net/tramp.el (tramp-default-host-alist): New defcustom.
5508 (tramp-find-host): Use it.
5509 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5510 `eshell-directory-change-hook'.
5512 * net/tramp-adb.el (top): Add adb specific entry in
5513 `tramp-default-host-alist'.
5514 (tramp-adb-file-name-host): Remove function.
5515 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5516 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5518 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5520 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5522 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5524 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5526 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5527 consist of more than one digit.
5528 (tramp-adb-file-name-handler-alist):
5529 Use `tramp-handle-file-exists-p' consistently.
5530 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5531 (tramp-adb-handle-file-exists-p): Remove function.
5532 (tramp-adb-file-name-host): New defun.
5533 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5535 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5537 2013-01-06 Chong Yidong <cyd@gnu.org>
5539 * vc/vc.el (vc-next-action): Detect buffer modifications
5540 conflicting with locking VCS operation (Bug#11490).
5542 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5544 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5546 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5547 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5549 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5551 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5552 parsing of ls output using regular expression (handle filenames
5553 with spaces). Use virtual device number.
5554 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5557 2013-01-04 Daiki Ueno <ueno@gnu.org>
5559 * epg.el: Silence byte-compiler warnings.
5560 (epg--start): Use delete-char instead of delete-backward-char.
5561 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5563 2013-01-04 Daiki Ueno <ueno@gnu.org>
5565 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5566 Suggested by Eli Zaretskii <eliz@gnu.org>.
5568 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5570 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5571 non-negative integers. Otherwise, the default values are used.
5572 (tramp-convert-file-attributes): Convert uid and gid to integers.
5574 2013-01-04 Glenn Morris <rgm@gnu.org>
5576 * term.el (term-handle-colors-array): Ensure face attributes
5577 are fully specified, not nil. (Bug#13337)
5579 * term.el (term-default-fg-color, term-default-bg-color):
5582 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5583 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5584 rather than 'jka-compr being loaded. (Bug#13338)
5586 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5588 * icomplete.el (icomplete-completions):
5589 Honor icomplete-prospects-height once more following
5590 2012-11-29 changes. (Bug#13224)
5592 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5595 of called-interactively-p as well (bug#13237).
5597 * view.el (view--enable, view--disable): Rename from view-mode-enable
5598 and view-mode-disable and assume it's called from view-mode.
5599 (view-mode-enable, view-mode-disable): Redefine as obsolete
5600 compatibility layer above view-mode.
5601 (view-mode-enter): Call `view-mode'.
5603 * files.el (after-find-file): Call `view-mode'.
5605 * doc-view.el (doc-view-scale-internally): New var.
5606 (doc-view-enlarge, doc-view-insert-image): Obey it.
5608 2013-01-03 Daiki Ueno <ueno@gnu.org>
5610 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5613 2013-01-03 Glenn Morris <rgm@gnu.org>
5615 * mail/rmail.el (rmail-set-header-1): Ignore case.
5616 Handle multi-line headers. (Bug#13330)
5618 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5619 Handle paragraph starting at beginning of buffer.
5621 * subr.el (eval-after-load): Don't purecopy the form, so that it
5622 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5624 * emacs-lisp/byte-run.el (defun): Place cl declarations
5625 after any interactive spec. (Bug#13265)
5627 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5629 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5630 defun. Don't check for DECL if DOCSTRING isn't a string.
5633 2013-01-02 Glenn Morris <rgm@gnu.org>
5635 * eshell/em-cmpl.el (eshell-pcomplete):
5636 More thoroughly imitate pcomplete. (Bug#13293)
5638 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5639 Return nil for empty path elements. (Bug#13296)
5641 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5643 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5644 order to improve efficiency (Based on Daniel Colascione's
5645 <dancol@dancol.org> patch). (Bug#13182)
5647 2013-01-02 Glenn Morris <rgm@gnu.org>
5649 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5651 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5653 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5654 neither DOCSTRING nor DECL was given. (Bug#13316)
5656 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5658 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5660 (tramp-do-copy-or-rename-file): Ignore errors when calling
5661 `set-file-extended-attributes'.
5663 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5664 Add handler for `file-acl'.
5665 (tramp-smb-handle-file-acl): New defun.
5667 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5669 * calc/README: Mention ISO 8601 week-numbering dates.
5671 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5673 * view.el (view-mode-enable): New argument run-view-mode-hook.
5674 Run view-mode-hook only when it's non-nil (Bug#13315).
5675 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5678 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5680 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5681 (No device connected, invalid device name). (Bug #13299)
5683 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5685 * window.el (window-resizable--p): Rename to window-resizable-p.
5686 (window-resize-no-error): New function.
5688 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5689 broken in fix from 2012-12-28.
5691 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5693 * subr.el (special-form-p): Don't signal errors on undef aliases.
5695 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5697 * calc/calc-forms.el (math-parse-date): Try using
5698 `math-parse-iso-date' when it looks like it might be needed.
5699 Allow times of 24:00.
5700 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5703 2012-12-30 Glenn Morris <rgm@gnu.org>
5705 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5706 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5707 (rmail-summary-displayed, rmail-summary): Declare.
5708 (mairix-rmail-display): Just require rmail.
5710 2012-12-30 Chong Yidong <cyd@gnu.org>
5712 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5713 check for the tarball contents.
5715 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5717 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5718 tarfile content listings (Bug#13136).
5720 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5722 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5723 Insert the undecoded text of the message being forwarded. (Bug#9521)
5725 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5727 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5728 integers, if they are real numbers. (Bug#13282)
5730 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5731 Return `t' on success.
5733 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5734 Add handler for `set-file-selinux-context'.
5736 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5738 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5739 (tramp-sh-handle-set-file-acl): Return `t' on success.
5741 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5743 * files.el (backup-buffer-copy, basic-save-buffer-2):
5744 If set-file-extended-attributes fails, fall back on set-file-modes
5745 instead of signaling an error. (Bug#13298)
5746 (basic-save-buffer): Likewise.
5748 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5750 * progmodes/python.el: Support other commands triggering
5751 python-indent-line so indentation cycling continues to work.
5752 (python-indent-trigger-commands): New defcustom.
5753 (python-indent-line): Use it.
5755 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5757 * progmodes/python.el (python-shell-send-region): Add blank lines
5758 for non sent code so backtraces remain correct.
5760 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5762 * progmodes/python.el: Remove cl dependency.
5763 (python-syntax-count-quotes): Replace incf call.
5764 (python-fill-string): Replace setf call.
5766 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5768 * info.el (info-other-window): New arg, for consistency with info.
5770 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5772 * mail/rmail.el (rmail-maybe-display-summary):
5773 Rewrite (Bug#13066).
5775 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5777 * epg.el (epg--start): Modify process-environment locally.
5779 2012-12-28 Daiki Ueno <ueno@gnu.org>
5781 * epg.el: Support pinentry-curses.
5782 Suggested by Werner Koch in
5783 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5784 (epg-agent-file, epg-agent-mtime): New variable.
5785 (epg--start): Record the modified time of gpg-agent socket file,
5786 to restore Emacs frame after pinentry-curses termination.
5787 (epg-wait-for-completion): Restore Emacs frame here.
5789 2012-12-27 Juri Linkov <juri@jurta.org>
5791 * info.el (Info-file-completions): New variable.
5792 (Info-read-node-name-1): Complete node names in the Info file
5793 when a file name is given. Call `Info-build-node-completions'
5795 (Info-build-node-completions): Add new arg `file'. When it is
5796 non-nil, visit it in a temporary buffer and cache its completions in
5797 `Info-current-file-completions'. Move most of the function body to
5798 `Info-build-node-completions-1'.
5799 (Info-build-node-completions-1): New function with the body from
5800 `Info-build-node-completions'. (Bug#12456)
5802 2012-12-27 Juri Linkov <juri@jurta.org>
5804 * frame.el (frame-maximization-style): Remove user option.
5805 (cycle-frame-maximized): Remove function.
5806 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5807 (toggle-frame-fullscreen): New command bound to <f11> instead of
5808 `toggle-frame-maximized'.
5809 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5811 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5813 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5815 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5816 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5817 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5818 for `file-accessible-directory-p'. (Bug#13275)
5820 2012-12-27 Sam Steingold <sds@gnu.org>
5822 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5823 continuations, see <http://stackoverflow.com/questions/3582436>.
5825 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5827 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5828 "module" and "def" to have indentation before them.
5829 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5831 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5833 2012-12-27 Alan Mackenzie <acm@muc.de>
5835 Speed up fontification where there's large brace blocks.
5836 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5837 to a call of c-beginning-of-decl-1.
5839 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5841 * comint.el (comint-adjust-window-point): New function.
5842 (comint-postoutput-scroll-to-bottom):
5843 Call comint-adjust-window-point (Bug#13248).
5845 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5847 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5849 (auto-mode-alist): Associate .gemspec files with ruby-mode
5850 (https://bugs.ruby-lang.org/issues/5453).
5852 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5854 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5855 Suppress coloring, if possible (required for BusyBox based systems like
5857 (tramp-adb-handle-file-attributes)
5858 (tramp-adb-handle-insert-directory)
5859 (tramp-adb-handle-file-name-all-completions): Use it.
5860 (tramp-adb-get-toolbox): New defun. Check for remote shell
5861 implementation (BusyBox or Toolbox).
5863 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5865 * startup.el (initial-buffer-choice): Allow function as value
5867 (command-line-1): Handle case where initial-buffer-choice
5868 specifies a function.
5869 * server.el (server-execute): Handle case where
5870 initial-buffer-choice specifies a function.
5872 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5874 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5876 (smtpmail-try-auth-methods): Forget the user name/password if the
5877 login is unsuccessful (bug#12424).
5879 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5881 * notifications.el (notifications-notify): Protect body with
5882 `with-demoted-errors'.
5884 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5885 Check properties of remote device. Restart connection, if there is a
5888 2012-12-21 Chong Yidong <cyd@gnu.org>
5890 * sort.el (sort-subr): Doc fix (Bug#13056).
5892 2012-12-21 Bastien Guerry <bzg@gnu.org>
5894 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5896 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5898 * simple.el (process-file): Overwrite stderr file, if exists.
5900 2012-12-21 Daiki Ueno <ueno@gnu.org>
5902 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5903 (epg-error): Set `error-message' property.
5905 2012-12-21 Chong Yidong <cyd@gnu.org>
5907 * international/mule-cmds.el (read-char-by-name): Signal an error
5908 if the user does not supply a valid character (Bug#13177).
5910 * simple.el (transpose-subr-1): Preserve marker positions by
5911 changing the insertion sequence (Bug#13122).
5913 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5915 * simple.el (kill-region): Deactivate mark even for empty regions
5918 2012-12-21 Chong Yidong <cyd@gnu.org>
5920 * help-fns.el (describe-variable): Make sure we get the right
5921 buffer name (Bug#13105). Suggested by Kelly Dean.
5923 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5925 * comint.el (comint-redirect-previous-input-string): New variable.
5926 (comint-redirect-setup, comint-redirect-cleanup)
5927 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5928 (comint-redirect-preoutput-filter): Fix verbose message.
5930 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5932 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5933 is too long for Tramp. See discussion in
5934 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5936 * progmodes/compile.el (compilation-start): Remove line escape
5939 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5941 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5944 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5946 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5947 following non-comment text (bug#13207).
5948 (lm-header-multiline): Continuation lines need to be indented more than
5950 (lm-homepage): New function.
5951 (lm-with-file): Don't be confused if narrowing is in effect.
5953 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5955 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5956 very beginning of a hunk (e.g. killing the first line).
5958 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5960 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5961 and text properties from returned ACL string.
5962 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5963 for "setfacl" command.
5965 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5967 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5968 `tramp-cleanup-this-connection', when the process has died.
5971 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5975 2012-12-17 Kevin Ryde <user42@zip.com.au>
5977 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5979 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5981 Add support for preserving ACL entries of files.
5983 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5984 `set-file-acl' handlers.
5986 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5987 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5989 * net/tramp-compat.el (tramp-compat-copy-file):
5990 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5992 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5993 Add `file-acl' and `set-file-acl' handlers.
5994 (tramp-gvfs-handle-copy-file):
5995 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5996 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5999 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6000 Add `file-acl' and `set-file-acl' handlers.
6001 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
6002 (tramp-sh-handle-set-file-acl): New defuns.
6003 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
6004 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6007 Add `file-acl' and `set-file-acl' handlers.
6008 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
6010 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6012 * help-macro.el (make-help-screen): Instead of switch-to-buffer
6013 use pop-to-buffer with NORECORD argument t. As buffer name, use
6014 *Metahelp* with a leading space (Bug#13190).
6016 2012-12-16 Romain Francoise <romain@orebokech.com>
6018 * files.el (file-extended-attributes)
6019 (set-file-extended-attributes): New functions.
6020 (backup-buffer): Use them to handle both SELinux context and ACL
6022 (backup-buffer-copy): Work with an alist of extended attributes,
6023 rather than an SELinux context.
6024 (basic-save-buffer-2): Ditto.
6026 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
6028 * battery.el (battery-bsd-apm): New function.
6030 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
6032 * calc/calc.el (calc-standard-date-formats): Adjust one of the
6033 standard date formats.
6035 2012-12-15 Juri Linkov <juri@jurta.org>
6037 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
6038 `isearch-insert-char-by-name'.
6039 (with-isearch-suspended): New defmacro with body mostly from
6040 `isearch-edit-string' except the part that sets
6041 `isearch-new-string' and `isearch-new-message'.
6042 (isearch-edit-string): Use new macro `with-isearch-suspended' with
6043 body that sets `isearch-new-string' and `isearch-new-message'.
6044 (isearch-insert-char-by-name): New command.
6045 * international/mule-cmds.el (read-char-by-name): Let-bind
6046 `enable-recursive-minibuffers' to t.
6047 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
6049 2012-12-15 Juri Linkov <juri@jurta.org>
6051 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
6054 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
6056 * dired-x.el (dired-guess-shell-command): Put colon at the end of
6057 the prompt. (Bug#13045)
6059 2012-12-14 Glenn Morris <rgm@gnu.org>
6061 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
6062 Try to include filename in non-bytecomp warning. (Bug#13132)
6064 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
6066 Fix permissions bugs with setgid directories etc. (Bug#13125)
6067 * files.el (backup-buffer): Don't rely on 9th output of
6068 file-attributes, as it's now a placeholder. Instead, use the new
6069 optional arg of file-ownership-preserved-p.
6070 (file-ownership-preserved-p): New optional arg GROUP.
6071 Fix mishandling of setuid directories that would cause this
6072 function to return t when it should have returned nil.
6073 Document what happens if the file does not exist, and when
6074 it's not known whether the ownership will be preserved.
6075 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
6077 (tramp-get-local-gid): Use group-gid for integer, as that's
6078 faster and more reliable.
6080 2012-12-14 Julien Danjou <julien@danjou.info>
6082 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
6083 Update keywords list, data type and PL/pgSQL.
6085 2012-12-14 Dave Abrahams <dave@boostpro.com>
6087 * vc/ediff-util.el (ediff-buffer-type): New function.
6088 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
6089 rather than taking it as as argument.
6090 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
6092 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
6094 * json.el: Add pretty-print option (bug#12634).
6095 (json-encoding-separator, json-encoding-default-indentation)
6096 (json--encoding-current-indentation, json-encoding-pretty-print)
6097 (json-encoding-lisp-style-closings): New vars.
6098 (json--with-indentation): New macro.
6099 (json-encode-hash-table, json-encode-alist, json-encode-plist)
6100 (json-encode-array): Use it to obey json-encoding-pretty-print.
6101 (json-pretty-print-buffer, json-pretty-print): New commands.
6103 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6105 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6106 Extract `ruby-syntax-propertize-expansions'.
6107 (ruby-syntax-propertize-expansions): Only change syntax on
6108 certain string delimiters, to punctuation. This way the common
6109 functions like forward-word and thing-at-point still work.
6110 (ruby-match-expression-expansion): Improve readability.
6111 (ruby-block-contains-point): New function.
6112 (ruby-add-log-current-method): Handle several edge cases.
6114 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6116 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6117 unload-feature finishes even when aborting an ongoing edebug session.
6118 Also, do not worry about edebug-mode, unload-feature takes care of it.
6120 2012-12-13 Andreas Schwab <schwab@suse.de>
6122 * net/tls.el (tls-program): Update customize type.
6124 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6126 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6127 (edebug-setup-hook, cl-read-load-hooks): Use it.
6128 (edebug-unload-function): New function. (Bug#13163)
6130 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6132 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6133 Otherwise, there could be errors in autoloading. (Bug#13151)
6135 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
6137 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6140 2012-12-13 Alan Mackenzie <acm@muc.de>
6142 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6143 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6144 around `forward-comment' not recognizing ^M as whitespace.
6146 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
6148 * progmodes/python.el (python-skeleton-class)
6149 (python-skeleton-def): Do not add space after defun name.
6151 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6154 (cl--symbol-function): Remove (now that funbound is like nil).
6156 2012-12-12 Glenn Morris <rgm@gnu.org>
6158 * button.el (button--area-button-p): Fix typo.
6160 2012-12-12 Sam Steingold <sds@gnu.org>
6162 * frame.el (frame-maximization-style): New user option.
6163 (toggle-frame-maximized): Toggle frame maximization according to
6164 `frame-maximization-style', bound to <f11>.
6165 (cycle-frame-maximized): Cycle between all maximization styles and
6166 non-maximized frame, bound to shift-<f11>.
6168 2012-12-12 David Cadé <codename68@gmail.com>
6170 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6172 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6174 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6175 (eieio-override-prin1): Don't quote kewords and booleans.
6176 (object-write) <eieio-default-superclass>: Don't put closing parens
6177 on new line, avoid needless empty lines, align values that are objects
6178 with the slot keyword (instead of beginning on the same line).
6179 (eieio-list-prin1): Align value with slot keyword; increase
6180 eieio-print-depth before printing members of the list.
6182 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6185 a display text-property.
6186 (report-emacs-bug-hook): Don't bother deleting it any more.
6188 * hilit-chg.el (highlight-save-buffer-state): Delete.
6189 Use with-silent-modifications instead.
6190 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6192 * button.el: Handle buttons in display text-properties.
6193 (button--area-button-p, button--area-button-string):
6194 Use (STRING . STRING-POS) representation instead of just STRING.
6196 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6198 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6199 subdirectory be skipped.
6201 2012-12-11 Glenn Morris <rgm@gnu.org>
6203 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6205 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6206 Treat preprocessor lines embedded in continuations like comments.
6207 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6209 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6211 * calc/calc.el (calc-standard-date-formats): Add more date
6213 * calc/calc-forms.el (math-parse-iso-date): New function.
6214 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6215 (math-parse-iso-date-validate): Add extra error checking.
6216 (calc-date-notation): Add ability to access new date formats.
6218 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6220 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6221 font-lock as well as when there's no text-property.
6223 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6225 * hi-lock.el: Refine the choice of default face.
6226 (hi-lock-keyword->face): New function. Use it wherever we used
6228 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6229 (hi-lock--last-face): Remove var.
6230 (hi-lock--unused-faces): New var to replace it.
6231 (hi-lock-read-face-name): Use/maintain it.
6232 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6233 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6234 if it has another face.
6236 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6238 * subr.el (w32notify-handle-event): New function.
6239 (inotify-handle-event): Doc fix.
6241 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6243 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6245 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6247 * simple.el (just-one-space): Doc fix.
6249 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6251 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6253 2012-12-10 Le Wang <l26wang@gmail.com>
6255 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6256 narrowed buffer (bug#12361).
6258 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6260 * vc/vc-hooks.el (vc-state): Doc fix.
6262 2012-12-10 Glenn Morris <rgm@gnu.org>
6264 * mail/rmail.el (rmail-maybe-display-summary):
6265 Preserve buffer, in case select-window changes it. (Bug#13066)
6267 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6269 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6270 cl-load-hook where they belong.
6272 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6276 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6278 Parallelize byte compilation on MS-Windows.
6279 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6280 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6281 (WINS_BASIC): Define as concatenation of the above.
6282 (compile): Subdivide into 4 separate and independent jobs that can
6284 (compile0-CMD, compile0-SH): New targets for compiling
6285 COMPILE_FIRST files, which are prerequisites for the rest of the
6287 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6288 New targets for parallel compilation with cmd.exe.
6289 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6290 compiling under a Unixy shell.
6292 2012-12-09 Chong Yidong <cyd@gnu.org>
6294 * simple.el (set-mark-default-inactive): Delete this
6295 accidentally-introduced option.
6296 (set-mark-command, exchange-point-and-mark): Remove calls.
6298 2012-12-09 Glenn Morris <rgm@gnu.org>
6300 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6301 Respect a defcustom's :set function, if appropriate. (Bug#109)
6302 (eval-defun): Doc fix.
6304 2012-12-08 Juri Linkov <juri@jurta.org>
6306 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6307 (Info-fontify-node, Info-bookmark-make-record): Remove the
6308 file extension from Info-current-file (Bug#13016).
6310 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6312 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6313 point, still provide some default.
6314 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6315 names, since we don't use it right now. Actually return the list.
6316 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6318 2012-12-07 Chong Yidong <cyd@gnu.org>
6320 * novice.el (disabled-command-function): Remove a spurious help
6321 xref (Bug#13043). Suggested by Kelly Dean.
6323 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6324 syntax is specified (Bug#13025).
6326 * info.el (Info-set-mode-line): Remove the file extension from
6327 Info-current-file if there is one (Bug#13016).
6329 2012-12-07 Glenn Morris <rgm@gnu.org>
6331 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6332 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6333 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6334 and rmail-mime-decoded. (Bug#9841)
6336 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6337 (batch-unrmail, unrmail): Doc fixes.
6338 (unrmail): Respect unrmail-mbox-format.
6339 * mail/rmail.el (rmail-mbox-format): New option.
6340 (rmail-show-message-1): Respect rmail-mbox-format.
6342 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6346 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6348 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6349 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6350 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6351 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6352 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6353 (cl-progv): Don't rely on dynamic scoping to find the body.
6354 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6355 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6356 (cl-declaim): Use backquotes.
6357 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6358 Use "cl--" prefix for the object's tag.
6360 * ses.el: Use advice-add/remove.
6361 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6362 (copy-region-as-kill, yank): Use advice-add.
6363 (ses-unload-function): Use advice-remove.
6365 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6367 * button.el: Make them work in header-lines (bug#12817).
6368 (button-map): Add bindings for header-line and mode-line use.
6369 (button-get, button-put, button-label): `button' may now be a string.
6370 (button-activate): Don't make it a defsubst.
6371 (button--area-button-p, button--area-button-string): New functions.
6372 (make-text-button): Fix the return value when `beg' was a string.
6373 (push-button): Handle the mode-line case.
6375 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6377 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6378 (sql-signum): Remove. Use `cl-signum' instead.
6379 (sql-read-passwd): Remove; use read-passwd instread.
6380 (sql-get-login-ext): Use read-string.
6381 (sql-get-login): Use dolist and pcase.
6382 (sql--completion-table): Rename from sql-try-completion.
6383 Use complete-with-action.
6384 (sql-mode): Don't change abbrev-all-caps globally.
6385 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6386 (sql-postgres-completion-object): Initialize vars in their `let'.
6387 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6388 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6389 (sql-comint-interbase): Use a single append, without setq.
6390 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6392 * hi-lock.el: Rework the default face and the serialize regexp code.
6393 (hi-lock--auto-select-face-defaults): Remove.
6394 (hi-lock-string-serialize-serial): Remove.
6395 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6397 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6399 (hi-lock-set-pattern): Adjust accordingly.
6400 (hi-lock--regexps-at-point): Simplify accordingly.
6401 (hi-lock--auto-select-face-defaults): Remove.
6402 (hi-lock--last-face): New var to replace it.
6403 (hi-lock-read-face-name): Rewrite (bug#11095).
6404 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6406 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6408 * net/tramp.el (tramp-replace-environment-variables):
6409 Hide compiler warning.
6410 (tramp-file-name-for-operation): Remove `executable-find',
6411 `start-process', `call-process' and `call-process-region'.
6413 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6415 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6418 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6420 2012-12-06 Chong Yidong <cyd@gnu.org>
6422 * ffap.el (ffap-replace-file-component): Fix typo.
6424 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6427 fix open-paren-like token test (bug#12785).
6429 2012-12-06 Glenn Morris <rgm@gnu.org>
6431 * mail/rmailsum.el (rmail-new-summary): Tweak for
6432 rmail-maybe-display-summary changing buffer. (Bug#13066)
6434 2012-12-06 Juri Linkov <juri@jurta.org>
6436 * info.el (Info-fontify-node): Don't hide the last newline.
6439 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6441 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6442 so as to enable message-read-from-minibuffer to expand mail aliases.
6444 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6446 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6447 the `intangible' property.
6448 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6450 2012-12-05 Deniz Dogan <deniz@dogan.se>
6452 * net/rcirc.el (rcirc-urls): Update documentation.
6453 (rcirc-condition-filter): New function.
6454 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6455 and exclude consecutive duplicate URLs (Bug#6082).
6457 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6460 Check return code of copy command.
6462 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6463 Use group `tramp'. Add version.
6465 2012-12-05 Chong Yidong <cyd@gnu.org>
6467 * ffap.el (ffap-url-regexp): Don't require matching at front of
6469 (ffap-url-p): If only a substring matches, return that.
6470 (ffap-url-at-point): Use the return value of ffap-url-p.
6471 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6472 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6473 (ffap-guess-file-name-at-point): Likewise.
6474 (ffap-replace-file-component): Fix typo.
6476 * info.el (info-display-manual): Add existing Info buffers, whose
6477 files may not be in Info-directory-list, to the completion.
6478 (info--manual-names): New helper function.
6480 2012-12-05 Glenn Morris <rgm@gnu.org>
6482 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6483 New functions, for detecting and resolving conflicts. (Bug#10709)
6485 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6487 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6488 (hi-lock-auto-select-face-defaults): New buffer local variable.
6489 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6490 (hi-lock-unface-buffer): Prompt user with useful defaults.
6491 With prefix arg, unhighlight all hi-lock patterns in buffer.
6493 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6497 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6499 * Makefile.in (TRAMP_SRC):
6500 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6502 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6504 * net/tramp-adb.el: New package.
6506 2012-12-04 Chong Yidong <cyd@gnu.org>
6508 * terminal.el: Move to obsolete/.
6510 * longlines.el: Move to obsolete/.
6512 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6513 Remove code referring to longlines mode.
6515 2012-12-03 Juri Linkov <juri@jurta.org>
6517 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6519 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6521 * textmodes/ispell.el (ispell-init-process)
6522 (ispell-start-process, ispell-internal-change-dictionary):
6523 Make sure personal dictionary name is expanded after initial
6524 `default-directory' value. Use expanded strings for
6525 keep/restart checks and for value (Bug#13019).
6527 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6529 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6531 2012-12-03 Leo Liu <sdl.web@gmail.com>
6533 * files.el (dir-locals-read-from-file): Check file non-empty
6534 before reading. (Bug#13038)
6536 2012-12-03 Glenn Morris <rgm@gnu.org>
6538 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6539 Remove any version extension before checking filename. (Bug#13006)
6540 (jka-compr-compression-info-list): Belated :version bump.
6542 2012-12-03 Chong Yidong <cyd@gnu.org>
6544 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6546 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6547 (buffer-menu): Doc fix (Bug#12294).
6549 2012-12-03 Roland Winkler <winkler@gnu.org>
6551 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6552 of diary-show-all-entries in the diary buffer (Bug#12994).
6554 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6556 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6557 "<STDIN>". This is binary safe.
6559 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6561 * calc/calc-forms.el (math-absolute-from-iso-dt)
6562 (math-date-to-iso-dt, math-parse-iso-date-validate)
6563 (math-iso-dt-to-date): New functions.
6564 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6565 (math-fd-isoweekday): New variables.
6566 (calc-date-notation, math-parse-standard-date, math-format-date)
6567 (math-format-date-part): Add support for more formatting codes.
6569 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6571 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6572 current buffer's file name when called interactively (Bug#12488).
6574 2012-12-02 Juri Linkov <juri@jurta.org>
6576 * info.el (info-display-manual): Don't clobber an existing Info
6577 buffer (Bug#10770). Add completion (Bug#10771).
6579 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6581 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6582 before using it for comparison (Bug#5297).
6584 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6586 * textmodes/css-mode.el (css-current-defun-name): New function.
6589 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6590 (html-mode): Use it.
6592 2012-12-01 Chong Yidong <cyd@gnu.org>
6594 Modularize add-log-current-defun (Bug#2224).
6595 Suggested by Jari Aalto.
6597 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6598 (add-log-current-defun): Move mode-specific code to other files.
6599 (add-log-lisp-like-modes, add-log-c-like-modes)
6600 (add-log-tex-like-modes): Variables deleted.
6602 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6603 (lisp-mode-variables): Use it.
6605 * progmodes/cc-mode.el (c-common-init):
6606 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6607 add-log-current-defun-function.
6609 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6612 * progmodes/perl-mode.el (perl-current-defun-name): New.
6613 (perl-mode): Use it.
6615 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6616 Use lisp-current-defun-name.
6618 * textmodes/tex-mode.el (tex-current-defun-name): New.
6619 (tex-common-initialization): Use it.
6621 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6622 (texinfo-mode): Use it.
6624 2012-12-01 Chong Yidong <cyd@gnu.org>
6626 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6627 * progmodes/autoconf.el (autoconf-mode):
6628 * progmodes/js.el (js-mode):
6629 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6630 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6631 * progmodes/perl-mode.el (perl-mode):
6632 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6633 * textmodes/css-mode.el (css-mode):
6634 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6635 (sgml-tags-invisible, sgml-guess-indent):
6636 * textmodes/tex-mode.el (tex-common-initialization)
6637 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6638 (doctex-mode, plain-tex-mode, latex-mode):
6639 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6641 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6643 * vc/vc-hg.el (vc-hg-next-revision):
6644 Ensure use of default "tip" output format. (Bug#6968)
6646 2012-12-01 Kim F. Storm <storm@cua.dk>
6648 * startup.el (fancy-startup-tail): Add a clickable link
6651 2012-12-01 Chong Yidong <cyd@gnu.org>
6653 * startup.el (fancy-startup-tail): Improve the message about
6654 auto-save files (Bug#2176).
6656 * files.el (recover-session): Improve the descriptive message, and
6657 use substitute-command-keys.
6659 2012-12-01 Glenn Morris <rgm@gnu.org>
6661 * ido.el (ido-file-internal):
6662 Handle other-window, other-frame for dired. (Bug#13036)
6664 2012-11-30 Glenn Morris <rgm@gnu.org>
6666 * icomplete.el (icomplete-separator): Fix :version.
6668 2012-11-30 Chong Yidong <cyd@gnu.org>
6670 * shell.el (shell): For C-u M-x shell, use an inactive shell
6671 buffer as the default (Bug#1975).
6672 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6673 (shell-mode): Use them to reapply ansi colorization if Shell mode
6676 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6678 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6680 2012-11-30 Samuel Bronson <naesten@gmail.com>
6682 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6683 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6685 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6687 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6688 by move-to-column (Bug#3234).
6690 2012-11-30 Chong Yidong <cyd@gnu.org>
6692 * longlines.el (longlines-wrap-line, longlines-encode-region):
6693 Preserve text properties (Bug#1425).
6695 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6697 * vc/vc.el (vc-register): Allow registering a file which is
6698 already registered with a different backend (Bug#10589).
6700 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6701 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * icomplete.el: Change separator; add ido-style commands.
6704 (icomplete-show-key-bindings): Remove custom var.
6705 (icomplete-get-keys): Remove function.
6706 (icomplete-forward-completions, icomplete-backward-completions):
6708 (icomplete-minibuffer-map): New var.
6709 (icomplete-minibuffer-setup): Use it.
6710 (icomplete-exhibit): Don't delay if the list of completions is known.
6711 (icomplete-separator): New custom.
6712 (icomplete-completions): Use it.
6713 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6714 (minibuffer-force-complete-and-exit): New command.
6715 (minibuffer--complete-and-exit): New function extracted from
6716 minibuffer-complete-and-exit.
6717 (minibuffer-complete-and-exit): Use it.
6719 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6720 error message when the file doesn't exist (bug#12974).
6722 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6724 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6726 2012-11-29 Glenn Morris <rgm@gnu.org>
6728 * files.el (hack-dir-local-variables): Warn if try to set
6729 coding via dir-locals, since it doesn't work. (Bug#7169)
6731 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6732 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6733 Set buffer-local value of desktop-save-buffer.
6734 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6736 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6737 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6739 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6740 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6742 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6745 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6747 * calc/calc-forms.el (calc-date-notation): Fix regexp
6748 used to find time codes. Fix symbol for seconds.
6750 2012-11-27 Glenn Morris <rgm@gnu.org>
6752 * emacs-lisp/derived.el (derived-mode-make-docstring):
6753 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6755 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6758 lexically scoped variables (bug#13005).
6760 2012-11-27 Glenn Morris <rgm@gnu.org>
6762 * vc/vc-hooks.el (vc-mistrust-permissions):
6763 Default to t, to avoid data-loss. (Bug#11490)
6765 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6767 * progmodes/python.el (python-indent-guess-indent-offset):
6768 If indentation is guessed make python-indent-offset buffer-local.
6770 Fix Imenu regression.
6771 * progmodes/python.el (python-nav-beginning-of-defun):
6772 Fix forward movement when statement(s) separates point from defun.
6773 (python-imenu-prev-index-position): New function.
6775 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6777 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6779 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6780 Don't set buffer-file-type. Return nil. (Bug#12989)
6782 2012-11-27 Glenn Morris <rgm@gnu.org>
6784 * hippie-exp.el (hippie-expand-try-functions-list):
6785 Re-autoload it. (Bug#12982)
6787 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6789 * descr-text.el (describe-char-padded-string):
6790 Call internal-char-font only on GUI frames. (Bug#11964)
6792 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6794 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6795 and obsoletion message.
6797 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6799 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6800 the constructs to keep outside of the `cl-block' (bug#12977).
6802 2012-11-27 Chong Yidong <cyd@gnu.org>
6804 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6805 keep reading until we get the up-event anyway, in order to process
6806 the up-event for mouse-1-click-follows-link (Bug#12971).
6808 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6810 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6811 base function is not yet defined (bug#12965).
6812 (ad-activate-advised-definition): Use ad-compile-function.
6813 (ad-activate): Use cond.
6815 2012-11-25 Leo Liu <sdl.web@gmail.com>
6817 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6820 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6822 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6823 reftex-section-info-function in order to be compatible with
6824 Texinfo integration.
6826 * textmodes/reftex.el (reftex-section-pre-regexp)
6827 (reftex-section-post-regexp, reftex-section-info-function):
6829 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6830 reftex-section-post-regexp, and reftex-section-info-function in order
6831 to be compatible with Texinfo integration.
6833 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6834 use reftex-section-pre-regexp variable in order to be compatible with
6835 Texinfo integration.
6837 2012-11-25 Chong Yidong <cyd@gnu.org>
6839 * faces.el: Make face-spec-set more analogous to setq.
6840 (face-spec-set): Change the third arg to specify whether this
6841 function is being called via defface, customize, or a third party.
6842 Set the appropriate symbol properties. Clear the override spec if
6843 setting via Custom. Initialize face if necessary. (Bug#4988)
6844 (face-spec-recalc): Allow theme faces to completely replace the
6845 defface spec, in the same way as custom faces (Bug#8454).
6847 * cus-face.el (custom-declare-face): Move face initialization to
6849 (custom-theme-set-faces): Don't initialize the face name here, as
6850 that is now done in face-spec-set.
6852 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6853 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6854 Simplify by using the new arg to face-spec-set.
6856 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6857 reset face-override-spec too, and use custom-declare-face.
6859 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6861 * term/ns-win.el (ns-initialize-window-system): Move creation of
6862 fontsets here (Bug#11964).
6864 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6866 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6869 2012-11-24 Chong Yidong <cyd@gnu.org>
6871 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6874 * custom.el (custom-theme-set-variables): Use a topological sort
6875 for ordering by custom dependencies (Bug#12952).
6876 (custom--sort-vars, custom--sort-vars-1): New functions.
6878 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6881 lexical-binding (bug#12938).
6883 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6885 * image-mode.el (image-transform-check-size): Use assertions only
6886 for images of type imagemagick.
6888 Otherwise no error, image-transform-fit-to-{width,height} is
6889 silently ignored, as before. Doc fix.
6891 2012-11-24 Chong Yidong <cyd@gnu.org>
6893 * faces.el (color-defined-p): Doc fix (Bug#12853).
6895 2012-11-24 Juri Linkov <juri@jurta.org>
6897 * dired.el (dired-mark): Add optional arg `interactive'.
6898 Check for `use-region-p' if `interactive' is non-nil.
6899 (dired-unmark, dired-flag-file-deletion): Add optional arg
6900 `interactive'. Call `dired-mark' with the arg `interactive'.
6903 * wdired.el: Revert 2012-10-17 change partly and replace it with
6904 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6905 (wdired-finish-edit): Add marks for new file names to
6906 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6907 after `revert-buffer'.
6908 (wdired-do-renames): Remove calls to `dired-remove-file',
6909 `dired-add-file', `dired-add-entry'. (Bug#11795)
6911 2012-11-24 Alan Mackenzie <acm@muc.de>
6913 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6915 Fix bugs in the state cache. Enhance a debugging mechanism.
6916 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6917 "brace at column zero" strategy for C++.
6918 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6919 (c-parse-state-point): New variable.
6920 (c-record-parse-state-state): Record old parse state with
6921 `copy-tree'. Record previous value of point.
6922 (c-debug-parse-state-double-cons): New debugging function.
6923 (c-debug-parse-state): Call the above new function.
6924 (c-toggle-parse-state-debug): Output a confirmatory message.
6926 * progmodes/cc-mode.el (c-before-change, c-after-change):
6927 Call c-invalidate-state-cache from `c-before-change' instead of
6930 2012-11-23 Chong Yidong <cyd@gnu.org>
6932 * find-cmd.el (find-constituents): Add executable, ipath,
6933 readable, samefile, writable, daystart, regextype (Bug#12856).
6935 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6939 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6941 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6942 definition. This fixes a bootstrap failure.
6943 (calc-gregorian-switch): In menu, put dates before regions.
6944 This is easier to follow, lines up better in the menu, and lets us
6945 coalesce regions that switch at the same time. Give country
6946 names, not "Vatican", as that's better for non-expert users.
6947 Use names that are stable between the date of switch and now, e.g.,
6948 Bohemia and Moravia (which existed then and now) and not
6949 Czechoslovakia (which didn't exist then and doesn't exist now).
6950 What is now the U.S. mostly did not switch at the same time as
6951 Britain, so omit the U.S. Correct spelling of "Britain".
6952 Catholic Switzerland was too much of a mess, so omit it.
6954 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6956 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6957 after the variable is changed.
6959 2012-11-21 Daniel Colascione <dancol@dancol.org>
6961 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6962 in SQL declarations for font-lock.
6963 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6965 2012-11-21 Glenn Morris <rgm@gnu.org>
6967 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6968 (face-italic-p): Add optional argument "inherit".
6970 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6971 Remove -p suffix from names, for consistency with other set-face-*.
6972 (set-face-inverse-video): Fix interactive spec.
6973 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6974 * textmodes/table.el (table--update-cell-face):
6975 Use set-face-inverse-video rather than now obsolete alias.
6977 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6979 * simple.el (line-move): Don't call line-move-partial if
6980 scroll-conservatively is in effect. (Bug#12927)
6982 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6984 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6985 Fallback on completion-at-point rather than
6986 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6987 (eshell-cmpl-initialize): Setup completion-at-point.
6989 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6991 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6993 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6995 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6996 are remote, check out-of-band property for both.
6998 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7000 * window.el (switch-to-buffer): Re-add the warning that was lost in the
7003 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
7005 More minor time fixes.
7006 * calendar/time-date.el: Commentary fix.
7007 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
7008 too much other code depends on (0 0) time stamps.
7009 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
7010 Add a couple of FIXME comments.
7012 Minor cleanup for times as lists of four integers.
7013 * files.el (dir-locals-directory-cache):
7014 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
7016 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7017 * ps-bdf.el (bdf-file-newer-than-time):
7018 Process four-integers time stamps, not two. Doc fixes.
7020 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7022 * uniquify.el (uniquify-managed): Use defvar-local.
7023 (rename-buffer, create-file-buffer): Advise with advice-add.
7024 (uniquify-unload-function): Unadvise accordingly.
7026 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
7027 (trace-buffer): Don't purecopy.
7028 (trace-entry-message, trace-exit-message): Add `context' arg.
7029 (trace--timer): New var.
7030 (trace-make-advice): Adjust for use in nadvice.
7031 Add `context' argument. Delay `display-buffer' via a timer.
7032 (trace-function-internal): Use advice-add.
7033 (trace--read-args): New function.
7034 (trace-function-foreground, trace-function-background): Use it.
7035 (trace-function): Rename to trace-function-foreground and redefine as
7036 an alias to that new name.
7037 (untrace-function, untrace-all): Adjust to the use of nadvice.
7039 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
7041 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7043 * subr.el (called-interactively-p-functions): New var.
7044 (internal--called-interactively-p--get-frame): New macro.
7045 (called-interactively-p, interactive-p): Rewrite in Lisp.
7046 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
7047 (called-interactively-p-functions): Use it.
7048 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
7049 (called-interactively-p-functions): Use it.
7050 * allout.el (allout-called-interactively-p): Don't assume
7051 called-interactively-p is a subr.
7053 2012-11-20 Glenn Morris <rgm@gnu.org>
7055 * profiler.el (profiler-report-mode-map): Add a menu.
7056 No need to bind `q' because we derive from special-mode.
7057 (profiler-report-find-entry): Handle calls from the menu-bar.
7059 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * emacs-lisp/byte-run.el (defun-declarations-alist):
7062 Allow a compiler-macro to be a lambda expression.
7064 * progmodes/python.el: Use cl-lib. Move var declarations outside of
7066 (python-syntax-context): Add compiler-macro.
7067 (python-font-lock-keywords): Simplify with De Morgan.
7069 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
7071 * files.el (load-file): Require match in minibuffer selection, as was
7072 the case in Emacs-20 before we changed the spec to allow .elc files
7075 * json.el: Don't require cl since we don't use it.
7076 * color.el: Don't require cl.
7077 (color-complement): `caddr' -> `nth 2'.
7079 * calendar/time-date.el (time-to-seconds): De-obsolete.
7081 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
7083 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
7085 (math-date-to-julian-dt): Adjust the initial approximation for the
7086 year to deal with the new definition of the DATE.
7088 2012-11-19 Daniel Colascione <dancol@dancol.org>
7090 * term/w32-win.el (cygwin-convert-path-from-windows):
7091 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
7093 2012-11-18 Chong Yidong <cyd@gnu.org>
7095 * filecache.el (file-cache--read-list): New function.
7096 (file-cache-add-directory-list, file-cache-add-file-list)
7097 (file-cache-delete-file-list, file-cache-delete-directory-list):
7098 Use it to read a list of files or directories (Bug#12846).
7099 (file-cache-add-file, file-cache-add-directory)
7100 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7101 (file-cache-delete-directory): Print an message.
7103 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7105 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7106 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7108 2012-11-18 Glenn Morris <rgm@gnu.org>
7110 * image.el (insert-image, insert-sliced-image): Doc fix.
7112 2012-11-18 Chong Yidong <cyd@gnu.org>
7114 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7117 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7119 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7120 response when the target file is in a subdirectory (Bug#12757).
7122 2012-11-18 Chong Yidong <cyd@gnu.org>
7124 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7126 2012-11-18 Glenn Morris <rgm@gnu.org>
7128 * emacs-lisp/cl-lib.el (face-underline-p):
7129 Use set-face-underline rather than the alias set-face-underline-p.
7131 * window.el (with-temp-buffer-window): Doc fix.
7132 * subr.el (with-output-to-temp-buffer):
7133 Add doc xref to with-temp-buffer-window.
7135 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7137 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7138 * calc/calc.el (math-format-date-cache): Declare.
7140 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7142 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7143 It also uses January 1, 1 AD as its day number 1.
7144 * calc/calc-forms.el (math-julian-date-beginning)
7145 (math-julian-date-beginning-int): Implement this.
7147 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7149 * descr-text.el (quail-find-key):
7150 * dired.el (desktop-file-name):
7151 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7152 * generic-x.el (comint-mode, comint-exec):
7153 * image-dired.el (widget-forward):
7154 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7155 (speedbar-change-expand-button-char)
7156 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7157 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7158 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7159 (widget-field-action, widget-value-set):
7160 * speedbar.el (imenu--make-index-alist):
7161 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7162 (ring-length, ring-insert):
7163 * vcursor.el (compare-windows-skip-whitespace):
7164 * woman.el (dired-get-filename):
7167 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7169 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7171 * calc/calc.el (calc-gregorian-switch): New variable.
7173 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7174 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7175 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7176 (math-leap-year-p): Add option to distinguish between Julian
7177 and Gregorian calendars.
7178 (math-day-number): Use `math-day-in-year' to do the computations.
7179 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7180 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7181 to do the computations.
7182 (math-date-to-dt): Use `math-date-to-julian-dt' and
7183 `math-date-to-gregorian-dt' to do the computations.
7184 (calcFunc-weekday, math-format-date-part): Use the new version of
7185 the DATE to determine the weekday.
7186 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7189 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7191 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7192 Cygwin; otherwise use 'file:'. (Bug#12914)
7193 (cygwin-convert-path-from-windows): Declare, to avoid
7194 byte-compiler warnings.
7196 2012-11-17 Andreas Politz <politza@fh-trier.de>
7198 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7199 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7200 prefix and negative numeric prefix args (Bug#12795).
7202 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7204 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7205 Don't signal an error with a score that is too low to add to the
7206 list of top scores. (Bug#12779)
7208 2012-11-17 Chong Yidong <cyd@gnu.org>
7210 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7212 * filecache.el (file-cache-add-file): Handle relative file name in
7213 the argument (Bug#12694).
7215 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7217 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7219 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7223 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7225 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7227 * window.el (enlarge-window, shrink-window): Don't mention return
7228 value in doc-string (Bug#12896).
7229 (window--display-buffer): Don't resize frames - it won't work
7230 with all window managers and defeat pop-up-frame-alist.
7231 (display-buffer-alist): In doc-string explain that CONDITION can
7232 be a function and which arguments are passed to it (Bug#12854).
7233 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7234 expressions (Bug#12854).
7235 (display-buffer): Pass ACTION argument to
7236 display-buffer-assq-regexp.
7238 2012-11-16 Glenn Morris <rgm@gnu.org>
7240 * window.el (fit-frame-to-buffer-bottom-margin)
7241 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7243 * faces.el (face-underline-p): Use face-attribute-specified-or.
7245 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7247 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7249 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7251 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7253 2012-11-16 Glenn Morris <rgm@gnu.org>
7255 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7256 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7258 * faces.el (face-underline-p): Doc fix. Handle :underline being
7259 things other than `t' (a string, a list).
7260 (face-inverse-video-p): Doc fix.
7261 (set-face-underline): Rename it back from set-face-underline-p.
7262 Doc fix. Allow interactive input of values other than t.
7263 (read-face-attribute): Apply formatting to :underline,
7264 since like :box and :stipple it can take list values.
7266 * term.el (ansi-term): Don't let C-x escape-char binding
7267 clobber the more standard C-c binding. (Bug#12842)
7269 * subr.el (set-temporary-overlay-map): Doc fix.
7271 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7273 * window.el (record-window-buffer)
7274 (display-buffer-record-window): When copying the markers to
7275 window-point preserve window-point-insertion-type. (Bug#12588)
7277 2012-11-16 Glenn Morris <rgm@gnu.org>
7279 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7280 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7281 Use new names for hooks rather than obsolete aliases.
7283 2012-11-15 Daniel Colascione <dancol@dancol.org>
7285 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7286 prefix instead of "file:" so that when FILE-NAME begins with "//",
7287 as it does when the target file is on a network share, url-handler
7290 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7293 a preactivated advice from an old advice.el; they're not compatible!
7295 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7297 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7298 Fix string-spec case.
7300 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7302 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7304 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7305 (advice--buffer-local-function-sample): New var.
7306 (advice--set-buffer-local, advice--buffer-local): New functions.
7307 (add-function, remove-function): Use them.
7309 2012-11-15 Drew Adams <drew.adams@oracle.com>
7311 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7313 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7316 potential binding of print-gensym to t, and prettify (back)quotes in
7317 case they appear in args's default values (bug#12884).
7319 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7322 (advice-eval-interactive-spec): New function.
7323 (advice--make-interactive-form): Support around advice (bug#12844).
7325 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7327 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7328 more strict. Add docstring.
7329 (ruby-expression-expansion-re): Extract from
7330 `ruby-match-expression-expansion'.
7331 (ruby-syntax-propertize-function): After everything else, search
7332 for expansions in string literals, mark their insides as
7333 whitespace syntax and save match data for font-lock.
7334 (ruby-font-lock-keywords): Use the 2nd group from expression
7336 (ruby-match-expression-expansion): Use the match data saved to the
7337 text property in ruby-syntax-propertize-function.
7339 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7344 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7346 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7347 start/end keyword a bit harder. Works with different values of N.
7349 (ruby-end-of-block): Update accordingly.
7351 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * woman.el (woman-file-name): Don't mess with unread-command-events
7356 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7357 Remove out of date self-require hack.
7358 (ad-do-advised-functions): Use simple `dolist'.
7359 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7360 (ad-advice-definition): Redefine as functions.
7361 (ad-advice-classes): Move before first use.
7362 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7363 (ad-make-mapped-call, ad-make-advised-docstring)
7364 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7365 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7366 (ad-get-orig-definition): Rewrite.
7367 (ad-make-advised-definition-docstring): Change base docstring.
7368 (ad-real-orig-definition): Rewrite.
7369 (ad-map-arglists): Change name of called function.
7370 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7371 (ad-make-advised-definition): Simplify.
7372 (ad-assemble-advised-definition): Tweak for new calling context.
7373 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7374 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7375 function and call ad-activate if needed.
7376 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7377 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7378 (ad-compile-function): Compile ad-Advice-*.
7379 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7380 (ad-start-advice, ad-stop-advice): Remove.
7382 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7384 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7385 period before class method names, not after. Remove handling of
7386 one impossible case. Add comments.
7388 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * emacs-lisp/advice.el: Remove support for freezing.
7391 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7392 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7393 Remove support for `freeze'.
7395 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7396 override the default.
7397 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7399 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7402 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7404 (advice--strip-macro): New function.
7405 (advice--defalias-fset): Use them to handle macros.
7406 (advice-add): Use them.
7407 (advice-member-p): Correctly handle macros.
7409 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7411 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7412 Never font-lock the beginning of singleton class as heredoc.
7414 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7418 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7420 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7421 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7422 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7424 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
7426 Fix end-of-defun misbehavior.
7427 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7428 python-beginning-of-defun-function. Handle nested defuns
7430 (python-nav-end-of-defun): Rename from
7431 python-end-of-defun-function. Ensure forward movement.
7432 (python-info-current-defun): Reimplement to work as intended
7433 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7434 parent defuns as soon as possible.
7436 2012-11-13 Glenn Morris <rgm@gnu.org>
7438 * progmodes/flymake.el (flymake-error-bitmap)
7439 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7440 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7442 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7444 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7445 backward, always stop at indentation. Reverts the change from
7446 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7448 2012-11-13 Glenn Morris <rgm@gnu.org>
7450 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7451 Add ibuffer-filter-by-derived-mode.
7453 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7454 the same name shadowing each other.
7456 * window.el (with-temp-buffer-window): Doc tweak.
7458 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7460 * help.el (temp-buffer-max-height):
7461 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7462 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7464 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * emacs-lisp/nadvice.el: New package.
7467 * subr.el (special-form-p): New function.
7468 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7469 (elp-all-instrumented-list): Remove var.
7470 (elp-not-profilable): Remove elp-wrapper.
7471 (elp-profilable-p): Use autoloadp and special-form-p.
7472 (elp--advice-name): New const.
7473 (elp-instrument-function): Use advice-add.
7474 (elp--instrumented-p): New predicate.
7475 (elp-restore-function): Use advice-remove.
7476 (elp-restore-all, elp-reset-all): Use mapatoms.
7477 (elp-set-master): Use elp--instrumented-p.
7478 (elp--make-wrapper): Rename from elp-wrapper, return a function
7479 suitable for advice-add. Use cl-inf.
7480 (elp-results): Use mapatoms+elp--instrumented-p.
7481 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7482 (debug-function-list): Remove var.
7483 (debug): Rename arg, and then let-bind it explicitly inside.
7484 (debugger-setup-buffer): Rename arg.
7485 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7486 (debugger-frame-number): Adjust to new debug-on-entry setup.
7487 (debug--implement-debug-on-entry): Rename from
7488 implement-debug-on-entry, add argument.
7489 (debugger-special-form-p): Remove, use special-form-p instead.
7490 (debug-on-entry): Use advice-add.
7491 (debug--function-list): New function.
7492 (cancel-debug-on-entry): Use it, along with advice-remove.
7493 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7494 (debugger-list-functions): Use debug--function-list instead of
7495 debug-function-list.
7496 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7497 (ad-special-form-p): Remove, use special-form-p instead.
7498 (ad-set-advice-info): Use add-function and remove-function.
7499 (ad--defalias-fset): Adjust accordingly.
7501 2012-11-10 Glenn Morris <rgm@gnu.org>
7503 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7504 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7505 (report-emacs-bug-create-existing-bugs-buffer)
7506 (report-emacs-bug-parse-query-results)
7507 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7509 * term.el (term-default-fg-color, term-default-bg-color):
7510 Make obsolete, rather than just saying "deprecated" in the doc.
7512 * term.el (term): Rename from `term-face'.
7513 (term-current-face, ansi-term-color-vector)
7514 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7517 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7519 * server.el (server-create-window-system-frame): Handle Nextstep
7520 specially (Bug#12780).
7522 2012-11-10 Glenn Morris <rgm@gnu.org>
7524 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7525 Unautoload, and make obsolete. (Bug#7449)
7527 2012-11-10 Chong Yidong <cyd@gnu.org>
7529 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7530 rename from diff-remove-trailing-whitespace (Bug#12831).
7532 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7534 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7535 miscompilation of trace.el.
7537 2012-11-10 Glenn Morris <rgm@gnu.org>
7539 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7541 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7546 2012-11-10 Chong Yidong <cyd@gnu.org>
7548 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7549 a defcustom with an appropriate :set function.
7550 (minibuffer-default--in-prompt-regexps): New function.
7552 2012-11-10 Glenn Morris <rgm@gnu.org>
7554 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7555 (define-modify-macro): Doc fixes.
7557 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7558 (gv-define-simple-setter): Update doc of `fix-return'.
7560 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7563 twice when `fix-return' is set (bug#12813).
7565 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7566 gv-define-simple-setter (bug#12812).
7568 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7571 2012-11-10 Glenn Morris <rgm@gnu.org>
7573 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7575 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7576 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7577 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7578 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7580 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7582 2012-11-10 Leo Liu <sdl.web@gmail.com>
7584 * ido.el (ido-set-matches-1): Improve flex matching performance by
7585 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7587 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7589 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7590 (ad--defalias-fset): New function.
7591 (ad-safe-fset): Remove.
7592 (ad-make-freeze-definition): Use cl-letf*.
7594 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7596 * subr.el (dolist): Don't bind VAR in RESULT.
7598 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7599 (fset, documentation): Don't save real def since we don't advise.
7600 (ad-do-advised-functions): Remove problematic `result-form'.
7601 (ad-safe-fset): `ad-real-fset' => `fset'.
7602 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7603 uses CL's dolist internally.
7604 (ad-arglist): Remove unused arg `name'.
7605 (ad-docstring, ad-make-advised-docstring):
7606 `ad-real-documentation' => `documentation'.
7607 (warning-suppress-types): Declare.
7608 (ad-set-arguments): Simple CSE.
7609 (ad-recover-normality): Sanity check.
7611 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7612 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7614 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7616 * ses.el: Symbol to coordinate mapping is made by symbol property
7617 `ses-cell'. This means that the same mapping is done for all SES
7618 sheets. That is good enough for cells with standard A1 names, but
7619 not for named cell. So a hash map is added for the latter.
7620 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7621 (ses-sym-rowcol): Use hashmap for named cell.
7622 (ses-is-cell-sym-p): New defun.
7623 (ses-decode-cell-symbol): New defun.
7624 (ses-create-cell-variable): Add cell to hashmap when name is not
7626 (ses-rename-cell): Check that cell new name is not already in
7627 spreadsheet with the use of ses-is-cell-sym-p
7628 (ses-rename-cell): Use hash map for named cells, but accept also
7629 renaming back to A1-like.
7631 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7633 * emacs-lisp/advice.el: Use new dynamic docstrings.
7634 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7635 Use dynamic-docstring-function instead of ad-advice-info.
7636 (ad--make-advised-docstring): New function extracted from
7637 ad-make-advised-docstring.
7638 (ad-make-advised-docstring): Use it.
7639 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7641 (sql-help): Use it with dynamic-docstring-function.
7643 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7645 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * files.el (hack-one-local-variable--obsolete): New function.
7648 (hack-one-local-variable): Use it for obsolete settings.
7650 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7653 * progmodes/js.el (js--filling-paragraph): New var.
7654 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7655 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7658 2012-11-08 Julien Danjou <julien@danjou.info>
7660 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7661 `auto-mode-alist' (Bug#12835).
7663 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7665 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7666 (perl--prettify-symbols-alist): New const.
7667 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7669 (perl-font-lock-keywords-2): Use them.
7670 (perl-electric-noindent-p): New function.
7671 (perl-mode): Use it to set up electric-indent-mode.
7672 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7673 (perl-mode-map): Remove bindings for them.
7674 (perl-imenu-generic-expression, perl-outline-level):
7675 Match functions&packages in column>0.
7677 * env.el (env--substitute-vars-regexp): New const.
7678 (substitute-env-vars): Use it. Add `only-defined' arg.
7679 * net/tramp.el (tramp-replace-environment-variables): Use it.
7681 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7682 Byte-compile *before* eval in eval-and-compile.
7683 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7684 (byte-compile-file-form-autoload): Don't hide actual definition.
7685 (byte-compile-maybe-guarded): Accept `functionp' as well.
7687 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7689 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7691 * notifications.el (notifications-get-server-information-method):
7693 (notifications-get-capabilities): Fix docstring.
7694 (notifications-get-server-information): New defun.
7696 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7698 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7701 * textmodes/ispell.el: Experimental support for support debugging.
7702 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7704 (ispell-print-if-debug): New function to print stuff to
7705 `ispell-debug-buffer' if debugging is enabled.
7706 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7707 show some debugging info.
7708 (ispell-buffer-with-debug): New function that creates a debugging
7709 buffer and calls `ispell-buffer' with debugging enabled.
7711 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7712 comment in autoconf mode. (Bug#12768)
7714 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7716 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7717 frame-first-window, frame-root-window, frame-selected-window,
7718 minibuffer-selected-window, minibuffer-window,
7719 window-absolute-pixel-edges, window-at, window-body-height,
7720 window-body-width, window-display-table, window-combination-limit,
7721 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7722 window-inside-edges, window-inside-pixel-edges, window-left-child,
7723 window-left-column, window-margins, window-next-buffers,
7724 window-next-sibling, window-new-normal, window-new-total,
7725 window-normal-size, window-parameter, window-parameters, window-parent,
7726 window-pixel-edges, window-point, window-prev-buffers,
7727 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7728 window-start, window-text-height, window-top-child, window-top-line,
7729 window-total-height, window-total-width and window-use-time to the list
7730 of functions without side-effects.
7731 (toplevel): Add window-valid-p to the list of error-free functions
7732 without side-effects.
7734 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7736 * textmodes/ispell.el (ispell-program-name):
7737 Update spellchecker parameters when customized.
7739 2012-11-04 Glenn Morris <rgm@gnu.org>
7741 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7743 2012-11-04 Chong Yidong <cyd@gnu.org>
7745 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7746 same-window-* variables.
7748 2012-11-04 Juri Linkov <juri@jurta.org>
7750 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7751 (isearch-describe-key, isearch-describe-mode): Use a display
7752 action instead of binding same-window-* variables (Bug#10040).
7754 2012-11-03 Glenn Morris <rgm@gnu.org>
7756 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7757 Rename handler properties back from cl-- to cl-. (Bug#12788)
7759 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7761 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7763 * term/pc-win.el: Don't load term/internal from here.
7765 * loadup.el: Load term/internal from here.
7767 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7769 * progmodes/python.el (inferior-python-mode): Fix hang in
7770 jit-lock (Bug#12645).
7772 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7774 * window.el (switch-to-visible-buffer)
7775 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7777 2012-11-03 Glenn Morris <rgm@gnu.org>
7779 * emacs-lisp/cl-lib.el (cl--random-time):
7780 Rename from cl-random-time. (Bug#12773)
7781 (cl--gensym-counter, cl--random-state): Update callers.
7782 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7784 2012-11-03 Chong Yidong <cyd@gnu.org>
7786 * cus-start.el: Make cursor-type customizable (Bug#11633).
7788 2012-11-02 Glenn Morris <rgm@gnu.org>
7790 * filecache.el: No need to load find-lisp when compiling.
7791 (find-lisp-find-files): Autoload it.
7792 (file-cache-add-directory-recursively): Don't require find-lisp.
7794 * image.el (image-type-from-file-name): Trivial simplification.
7796 * emacs-lisp/bytecomp.el (byte-compile-eval):
7797 Decouple "noruntime" and "cl-functions" warnings.
7799 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7801 * play/gomoku.el (gomoku-display-statistics): Update mode line
7802 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7804 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7806 * window.el (quit-restore-window): If the window has been
7807 created on an existing frame and ended up as the sole window on
7808 that frame, do not delete it (Bug#12764).
7810 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7813 Rename from sh--inside-arithmetic-expression, handle more cases
7816 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7817 (sh-font-lock-open-heredoc): Use it (bug#12770).
7819 2012-10-30 Glenn Morris <rgm@gnu.org>
7821 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7823 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7825 2012-10-29 Chong Yidong <cyd@gnu.org>
7827 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7828 function key is stored in a keyboard macro (Bug#4894).
7830 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7832 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7834 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7836 (diff-unified->context, diff-context->unified)
7837 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7839 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7841 * files.el (find-alternate-file): Only ask one question (bug#12487).
7843 2012-10-29 Chong Yidong <cyd@gnu.org>
7845 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7846 Suggested by Dan Nicolaescu (Bug#6326).
7848 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7850 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7852 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7854 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7856 * face-remap.el (face-remap-add-relative): Handle the case where a
7857 face-remapping-alist entry is a cons cell (Bug#12762).
7859 2012-10-29 Kevin Ryde <user42@zip.com.au>
7861 * woman.el (woman-parse-numeric-value): Handle picas correctly
7864 2012-10-29 Glenn Morris <rgm@gnu.org>
7866 * emacs-lisp/cl.el (defsetf): Doc fix.
7868 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7870 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7871 syntax to the matching opener, if any (bug#12547).
7872 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7873 matching open as a "case-(".
7874 (sh-smie-rc-grammar): Add a corresponding rule for it.
7876 2012-10-28 Daniel Hackney <dan@haxney.org>
7878 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7879 "PKGNAME-autoloads.el" in case we created it.
7881 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7883 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7884 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7885 (completion--twq-all): Disable too-strict assertions.
7887 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7889 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7891 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7892 text to match the real keybindings.
7894 2012-10-27 Juri Linkov <juri@jurta.org>
7896 * wdired.el (wdired-keep-marker-rename): New defcustom.
7897 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7900 * dired.el (dired-keep-marker-rename): Add reference to
7901 `wdired-keep-marker-rename' in the docstring.
7902 Add default character value ?R to display initially in
7903 Customization UI instead of ?@.
7905 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7907 * window.el (display-buffer): In doc-string describe
7908 window-height and window-width alist entries.
7910 * time.el (display-time-world): Restore fit-window-to-buffer
7913 2012-10-27 Chong Yidong <cyd@gnu.org>
7915 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7917 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7919 * minibuffer.el (completion-category-overrides): New completion
7920 category `bookmark' (bug#11131).
7922 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7925 Silence bogus compiler warnings for ad-do-it.
7927 * bookmark.el (bookmark-completing-read): Set the completion category
7928 to `bookmark' (bug#11131).
7930 2012-10-26 Bastien <bzg@altern.org>
7931 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * face-remap.el: Use lexical-binding.
7934 (text-scale-adjust): Improve docstring. Use itself for the temporary
7935 overlay-map bindings, so as to repeat the "Use..." message each time.
7937 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7939 * emacs-lisp/macroexp.el (macroexp--expand-all):
7940 Obey byte-compile-warning-enabled-p (bug#12486).
7942 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7943 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7945 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7947 * mouse.el (mouse-drag-line): Move last form into preceding when
7950 * help.el (resize-temp-buffer-window): Fix doc-string.
7952 2012-10-25 David Engster <deng@randomsample.de>
7954 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7955 Remove. This feature is already integrated in imenu.
7957 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7958 always loaded. Require `speedbar' unconditionally.
7960 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7962 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7964 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7966 * net/ldap.el (ldap-search-internal): The official ldif format starts
7967 with a "version: 1" header (bug#12724).
7969 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7972 2012-10-25 Glenn Morris <rgm@gnu.org>
7974 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7976 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * minibuffer.el (minibuffer-force-complete): Use one more marker
7979 for the temporary-overlay-map command (bug#12619).
7981 2012-10-24 Chong Yidong <cyd@gnu.org>
7983 * time.el (display-time-world-mode): Derive from special-mode.
7984 (display-time-world): Use display-buffer (Bug#12708).
7985 (display-time-world-mode-map): Variable deleted.
7986 (display-time-world-display): Wrap the final delete-char inside
7989 2012-10-24 Chong Yidong <cyd@gnu.org>
7991 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7994 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7996 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7998 * minibuffer.el (completion--all-sorted-completions-location): New var.
7999 (completion--cache-all-sorted-completions)
8000 (completion--flush-all-sorted-completions): Use it.
8001 (completion-in-region, completion-in-region--postch)
8002 (completion-at-point, completion-help-at-point): Use markers in
8003 completion-in-region--data (bug#12619).
8005 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * progmodes/compile.el (compilation-start): Try to handle common
8008 quoting of `cd' argument (bug#12640).
8010 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
8013 2012-10-23 Glenn Morris <rgm@gnu.org>
8015 * progmodes/gud.el (gud-menu-map):
8016 Check gdb-active-process is bound. (Bug#12358)
8018 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8020 * repeat.el (repeat): Set real-this-command (bug#12232).
8022 * htmlfontify.el (hfy-post-html-hook):
8023 * filesets.el (filesets-cache-fill-content-hook):
8024 * arc-mode.el (archive-extract-hook):
8025 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
8026 * net/rcirc.el (rcirc-sentinel-functions)
8027 (rcirc-receive-message-functions, rcirc-activity-functions)
8028 (rcirc-print-functions):
8029 * net/dbus.el (dbus-event-error-functions):
8030 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
8031 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
8032 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
8033 * term/sun.el (sun-raw-prefix-hooks):
8034 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
8036 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
8038 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8039 Set `tramp-chunksize' to 1. This improves the performance.
8040 (tramp-smb-wait-for-output): Add timeout to
8041 `tramp-accept-process-output' calls.
8043 2012-10-23 Chong Yidong <cyd@gnu.org>
8045 * faces.el (font-list-limit): Define as an obsolete variable.
8047 * startup.el (command-line):
8048 * cus-start.el: Don't refer to font-list-limit.
8050 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
8052 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * subr.el (internal-temp-output-buffer-show): Rename from
8055 temp-output-buffer-show, since previously compiled files expect this name.
8057 2012-10-23 Glenn Morris <rgm@gnu.org>
8059 * image.el (image-type-from-file-name): If multiple types match,
8060 return the first one that is supported. (Bug#9045)
8062 2012-10-22 Glenn Morris <rgm@gnu.org>
8064 * image.el (imagemagick-enabled-types): Doc fix.
8066 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
8068 * progmodes/which-func.el (which-func-current): The hash-table may have
8069 an explicit nil (bug#12338).
8071 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8073 * electric.el (electric-pair-delete-selection-self-insert-function):
8074 Rename to electric-pair-will-use-region, return a boolean.
8075 (electric-pair-mode): Adjust accordingly. Don't require delsel.
8077 * delsel.el (delete-selection-helper): Use a function instead of a hook.
8078 (delete-selection-pre-hook): Use use-region-p.
8079 (delete-selection-self-insert-function): Remove.
8080 (self-insert-command): Obey self-insert-uses-region-functions.
8081 (self-insert-iso): Revert to previous setting, since we don't actually
8082 know what that command does.
8083 (delete-selection-self-insert-hooks): Remove.
8085 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
8087 * delsel.el (delete-selection-helper): New function, extracted from
8088 delete-selection-pre-hook.
8089 (delete-selection-pre-hook): Use it.
8090 (delete-selection-self-insert-function): New function.
8091 (delete-selection-self-insert-hooks): New hook.
8092 (self-insert-command, self-insert-iso): Use it.
8093 * electric.el (electric-pair-syntax): New function, extracted from
8094 electric-pair-post-self-insert-function.
8095 (electric-pair-post-self-insert-function): Use it.
8096 (electric-pair-delete-selection-self-insert-function): New function.
8097 (electric-pair-mode): Require delsel and setup
8098 delete-selection-self-insert-hooks (bug#11520).
8100 2012-10-20 Chong Yidong <cyd@gnu.org>
8102 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8103 no changes to show (Bug#12586).
8105 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8106 list explicitly (Bug#12571).
8108 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8110 * progmodes/flymake.el (flymake-create-temp-inplace):
8113 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8115 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8117 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8119 * calc/calc-units.el (math-extract-units): Properly extract powers
8122 2012-10-20 Daniel Colascione <dancol@dancol.org>
8124 * frame.el (make-frame): Set x-display-name as we used to in order
8125 to unbreak creating an X11 frame from an Emacs daemon started
8128 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8130 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8131 the same completion-field (bug#12221).
8133 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8135 * emacs-lisp/debug.el (debug): Record height of debugger window
8136 also when debugger will be back (Bug#8789).
8138 2012-10-18 Chong Yidong <cyd@gnu.org>
8140 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8141 Convert to defcustom.
8142 (gdb-get-source-file): Don't bind pop-up-windows.
8144 * progmodes/gud.el (gud-display-line): Don't specially re-use
8145 other frames for the gdb-mi case (Bug#12648).
8147 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * emacs-lisp/advice.el: Clean up commentary a bit.
8150 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8151 (byte-code-function-p): Never redefine.
8153 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8155 2012-10-18 Glenn Morris <rgm@gnu.org>
8157 * dired.el (dired-sort-toggle): Some ls implementations only allow
8158 a single option string. (Bug#12666)
8160 * minibuffer.el (completion-cycle-threshold): Doc fix.
8162 2012-10-17 Kenichi Handa <handa@gnu.org>
8164 * international/mule.el (set-keyboard-coding-system):
8165 Recover input meta mode when the new coding system doesn not use 8-bit.
8166 Supply TERMINAL arg to set-input-meta-mode.
8168 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8170 * wdired.el (wdired-old-marks): New variable.
8171 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8172 (wdired-do-renames): Move point with renamed file and don't lose
8173 mark status (Bug#11795).
8175 2012-10-16 Juri Linkov <juri@jurta.org>
8177 * replace.el (query-replace-help): Mention multi-buffer replacement
8178 keys in the Help message. (Bug#12655)
8180 2012-10-15 Chong Yidong <cyd@gnu.org>
8182 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8184 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8186 * window.el (display-buffer): Doc fix.
8188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8189 Adjust the msft regexp to the output of Studio 2010, and move msft
8190 before edg-1. See the discussion on emacs-devel,
8191 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8194 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8196 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8197 (oset): Move uses of object-class-fast macro after its definition.
8199 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8201 2012-10-13 Chong Yidong <cyd@gnu.org>
8203 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8204 enabled, re-enable it (Bug#11963).
8206 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8208 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8209 non-nil, restore window configuration (Bug#12623).
8211 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8213 * help-fns.el (describe-variable, describe-function-1):
8214 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8216 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8218 2012-10-12 Glenn Morris <rgm@gnu.org>
8220 * mail/rmailsum.el (rmail-header-summary):
8221 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8223 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
8225 * progmodes/python.el (python-mode-map):
8226 Replace subtitute-key-definition with proper command remapping.
8227 (python-nav--up-list): Fix behavior for blocks on the same level.
8229 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8233 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8234 changes to the format of load-history.
8236 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8237 completion-ignore-case in case that var is buffer-local (bug#12615).
8239 2012-10-11 Kenichi Handa <handa@gnu.org>
8241 * international/eucjp-ms.el: Re-generated.
8243 2012-10-10 Kenichi Handa <handa@gnu.org>
8245 * select.el (xselect--encode-string): If a coding is specified for
8246 selection, and that is compatible with COMPOUND_TEXT, use it.
8248 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8250 * window.el (switch-to-buffer-preserve-window-point): New option.
8252 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8254 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8256 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8257 Don't document nil as a useful value (bug#12583).
8259 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8261 * net/tramp.el (tramp-debug-message):
8262 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8263 (with-tramp-progress-reporter): Rename from
8264 `tramp-with-progress-reporter'.
8265 (with-tramp-file-property, with-tramp-connection-property):
8266 Move from tramp-cache.el, rename from `with-file-property' and
8267 `with-connection-property', respectively.
8269 * net/tramp-cache.el: Remove `with-file-property' and
8270 `with-connection-property'.
8273 * net/tramp-gvfs.el:
8275 * net/tramp-smb.el: Adapt callees.
8277 * net/trampver.el: Update release number.
8279 2012-10-09 Glenn Morris <rgm@gnu.org>
8281 * w32-fns.el (set-message-beep):
8282 * term/w32-win.el (set-message-beep): Update declarations.
8284 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8287 (mode-line-widen, mode-line-input-method-map)
8288 (mode-line-coding-system-map, mode-line-remote)
8289 (mode-line-unbury-buffer, mode-line-bury-buffer)
8290 (mode-line-next-buffer, mode-line-previous-buffer):
8291 Replace save-selected-window+select-window => with-selected-window.
8293 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8294 * progmodes/cc-vars.el (bq-process): Remove, unused.
8296 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8298 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
8300 Implemented `backward-up-list'-like navigation.
8301 * progmodes/python.el (python-nav-up-list)
8302 (python-nav-backward-up-list): New functions.
8303 (python-mode-map): Define substitute key for backward-up-list to
8304 python-nav-backward-up-list.
8306 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8308 * progmodes/python.el (python-fill-paragraph): Rename from
8309 python-fill-paragraph-function. Fixed fill-paragraph for
8310 decorators (Bug#12605).
8312 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8314 * progmodes/python.el (python-shell-output-filter): Handle extra
8315 carriage return in OSX (Bug#12409).
8317 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8319 Fix shell handling of unbalanced quotes and parens in output.
8320 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8321 (python-syntax-propertize-function): Use it.
8322 (python-shell-output-syntax-table): New var.
8323 (inferior-python-mode): Prevent unbalanced parens/quotes from
8324 previous output mess with current input context.
8326 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8328 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8329 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8331 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8333 * ffap.el (ffap-replace-file-component): Support Tramp file name
8334 syntax, not only ange-ftp's one.
8336 2012-10-08 Glenn Morris <rgm@gnu.org>
8338 * cus-start.el (message-log-max): Set :version.
8340 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8342 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8344 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8345 the minibuffer window (Bug#10851).
8347 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8349 Enhancements on forward-sexp movement.
8350 * progmodes/python.el (python-nav-beginning-of-statement)
8351 (python-nav-end-of-statement): Return point-marker.
8352 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8353 (python-info-current-symbol)
8354 (python-info-statement-starts-block-p): Rename from
8355 python-info-beginning-of-block-p.
8356 (python-info-statement-ends-block-p): Rename from
8357 python-info-end-of-block-p.
8358 (python-info-beginning-of-statement-p)
8359 (python-info-end-of-statement-p)
8360 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8363 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8365 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8366 frame-selected-windows.
8368 2012-10-08 Daniel Colascione <dancol@dancol.org>
8370 * battery.el (battery-status-function): Check for
8371 w32-battery-status itself, not system-time windows-nt.
8373 * frame.el: Require cl-lib.
8374 (display-format-alist): New variable mapping frame types to
8375 functions that initialize them.
8376 (window-system-for-display): New function: interprets
8377 display-format-alist.
8378 (make-frame-on-display): Remove existing display-selection logic
8379 and just forward to make-frame, which will now DTRT.
8380 (make-frame): Restructure to use window-system-for-display to
8381 figure out how to create a frame on a given display.
8382 (display-mouse-p): Look for frame-type w32, not a particular
8385 * loadup.el: Load w32 lisp code when we have the w32 feature.
8387 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8388 system-type windows-nt.
8390 * server.el (server-create-window-system-frame): Look for window
8392 (server-proces-filter): Only force a window system when windows-nt
8393 _and_ w32. Explain why.
8395 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8396 of window systems we configure for the mode.
8398 * startup.el (command-line): Mark window system is initialized
8399 after we've done it.
8401 * common-win.el (x-select-text): Look for w32, not windows-nt.
8403 * ns-win.el: Require cl-lib. Add ourselves to
8404 display-format-alist.
8405 (ns-initialize-window-system): Assert we're not initialized twice.
8407 * w32-win.el: Enable lexical binding; require cl-lib; add
8408 ourselves to display-format-alist.
8409 (w32-handle-dropped-file): Convert incoming dropped files from
8410 Windows paths to Cygwin ones before passing them on to the rest of
8412 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8413 (w32-initialize-window-system): Assert we're not initialized twice.
8415 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8416 (x-initialize-window-system): Assert we're not initialized twice.
8418 * w32-common-fns.el: New File.
8419 (w32-version, w32-using-nt, w32-get-clipboard-data)
8420 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8421 (w32-charset-info-alist, x-last-selected, text)
8422 (x-get-selection-value, x-selection-value): Move here.
8424 * w32-fns.el: Require w32-common-fns.
8425 (w32-version, w32-using-nt, w32-get-clipboard-data)
8426 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8427 (w32-charset-info-alist, x-last-selected, text)
8428 (x-get-selection-value, x-selection-value): Move to
8432 (w32-allow-system-shell, w32-system-shells): Define only in
8435 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8437 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8438 (read-passwd): Remove a few more potential sources of leaks.
8440 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8442 * progmodes/python.el (inferior-python-mode)
8443 (python-shell-make-comint): Fix initialization of local
8444 variables copied from parent buffer.
8446 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8448 * term/ns-win.el (ns-read-file-name): Update declaration to match
8450 (ns-respond-to-change-font): Change fontsize separately so we are sure
8451 it is set when font is acted upon.
8453 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8455 Enhancements to indentation.
8456 * progmodes/python.el (python-indent-context): Give priority to
8457 inside-string context. Make comments indentation markers.
8458 (python-indent-region): Do not mess with strings, unless it's the
8459 enclosing set of quotes.
8461 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * window.el (internal--before-save-selected-window)
8464 (internal--after-save-selected-window): New functions extracted from
8465 save-selected-window. Make sure we return the `alist' we construct.
8466 (save-selected-window): Use them.
8468 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8469 Use with-selected-window.
8471 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8472 forms that define macros (bug#12593).
8474 2012-10-07 Kenichi Handa <handa@gnu.org>
8476 * international/mule-conf.el (compound-text-with-extensions):
8477 Add :mime-charset property as x-ctext.
8479 2012-10-07 Stefan Merten <smerten@oekonux.de>
8481 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8482 (rst-indent-literal-normal, rst-indent-literal-minimized)
8483 (rst-indent-comment): Correct :version tag.
8484 (rst-official-cvs-rev): Correct version string.
8486 2012-10-07 Glenn Morris <rgm@gnu.org>
8488 * mail/rmailmm.el (rmail-mime-process-multipart):
8489 Do not confuse a multipart message with an epilogue
8490 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8492 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8494 Fix shell output retrieval and comint-prompt-regexp init.
8495 * progmodes/python.el (inferior-python-mode):
8496 (python-shell-make-comint): Fix initialization of
8497 comint-prompt-regexp from copied file local variables.
8498 (python-shell-fetched-lines): Remove var.
8499 (python-shell-output-filter-in-progress): Rename from
8500 python-shell-fetch-lines-in-progress.
8501 (python-shell-output-filter-buffer): Rename from
8502 python-shell-fetch-lines-string.
8503 (python-shell-fetch-lines-filter): Delete function.
8504 (python-shell-output-filter): New function.
8505 (python-shell-send-string-no-output): Use them.
8507 2012-10-07 Glenn Morris <rgm@gnu.org>
8509 * hi-lock.el (hi-lock-process-phrase):
8510 Try to make it less fragile. (Bug#7161)
8512 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8514 2012-10-06 Glenn Morris <rgm@gnu.org>
8516 * ehelp.el (electric-help-mode): Use help-mode rather than
8517 non-existent mode `help'.
8518 (electric-help-map): Use button-buffer-map. (Bug#10917)
8520 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8521 (reftex-create-bibtex-footer): Fix custom types.
8523 * progmodes/sh-script.el (sh-indent-after-continuation):
8524 Add explicit :group.
8526 * textmodes/rst.el (rst-preferred-decorations)
8527 (rst-shift-basic-offset): Clarify obsolescence versions.
8529 * profiler.el (profiler): Add missing group :version tag.
8530 * avoid.el (mouse-avoidance-banish-position):
8531 * proced.el (proced-renice-command):
8532 * calc/calc.el (calc-ensure-consistent-units):
8533 * calendar/icalendar.el (icalendar-import-format-uid):
8534 * net/tramp.el (tramp-save-ad-hoc-proxies):
8535 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8536 * progmodes/flymake.el (flymake-error-bitmap)
8537 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8538 * progmodes/sh-script.el (sh-indent-after-continuation):
8539 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8540 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8541 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8542 (vhdl-array-index-record-field-in-sensitivity-list)
8543 (vhdl-indent-comment-like-next-code-line):
8544 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8545 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8546 (reftex-cite-key-separator, reftex-create-bibtex-header)
8547 (reftex-create-bibtex-footer):
8548 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8549 (rst-indent-literal-normal, rst-indent-literal-minimized)
8550 (rst-indent-comment): Add missing custom :version tags.
8552 * calendar/timeclock.el (timeclock-modeline-display):
8553 Add missing obsolete alias for renamed user option.
8555 * strokes.el (strokes-modeline-string):
8556 * emulation/crisp.el (crisp-mode-modeline-string):
8557 * eshell/esh-mode.el (eshell-status-in-modeline):
8558 Aliases to defcustoms must come before the defcustom.
8560 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8561 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8562 (cal-tex-cursor-week-monday): Doc fixes.
8563 (cal-tex-cursor-week2-summary): Doc fix.
8564 Rename from cal-tex-cursor-week-at-a-glance.
8566 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8567 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8569 * calendar/calendar.el (calendar-mode-map):
8570 Add cal-tex-cursor-week2-summary.
8572 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8576 * subr.el (read-passwd-map): New var.
8577 (read-passwd): Use `read-string' again.
8578 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8580 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8582 * register.el (append-to-register, prepend-to-register):
8583 Deactivate mark, as does `copy-to-register' (bug#12389).
8585 2012-10-06 Chong Yidong <cyd@gnu.org>
8587 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8589 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8591 * international/characters.el: Fix simple mistake ((car chars) ->
8592 elt), delete duplicated code.
8594 2012-10-06 Glenn Morris <rgm@gnu.org>
8596 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8598 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8600 * color.el (color-hsl-to-rgb): Fix incorrect results for
8601 small and large hue values. (Bug#12559)
8603 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8605 Enhancements to docstring formatting when filling paragraphs.
8606 * progmodes/python.el (python-fill-docstring-style): Rename from
8607 python-fill-string-style. Added new style.
8608 (python-fill-string): Use new style. Better checks for
8611 2012-10-05 Glenn Morris <rgm@gnu.org>
8613 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8615 * color.el (color-name-to-rgb, color-rgb-to-hex)
8616 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8617 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8618 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8619 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8621 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8623 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8625 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8626 to get the correct size across symlinks.
8628 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8630 2012-10-04 Juri Linkov <juri@jurta.org>
8632 * replace.el (query-replace-interactive): Declare obsolete.
8633 (query-replace-read-from): Add the last incremental search string
8634 to the list of default values accessible via M-n.
8635 (map-query-replace-regexp): Use `read-regexp'.
8636 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8637 (map-query-replace-regexp, replace-string, replace-regexp):
8638 Fix docstrings to replace mentions of `query-replace-interactive'
8639 with alternatives. (Bug#12526)
8641 2012-10-04 Juri Linkov <juri@jurta.org>
8643 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8644 (dired-pop-to-buffer): Declare obsolete.
8645 (dired-mark-pop-up): Doc fix.
8647 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8649 Allow user to set docstring style for fill-paragraph.
8650 * progmodes/python.el
8651 (python-fill-comment-function, python-fill-string-function)
8652 (python-fill-decorator-function, python-fill-paren-function):
8653 Remove :safe for defcustoms.
8654 (python-fill-string-style): New defcustom
8655 (python-fill-paragraph-function): Enhance context detection.
8656 (python-fill-string): Honor python-fill-string-style settings.
8658 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8660 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8661 after setting its buffer (Bug#10805).
8663 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8665 Fix cornercase for string syntax.
8666 * progmodes/python.el (python-syntax-propertize-function):
8667 Simplify and enhance the regexp for unescaped quotes. Now it also
8668 matches quotes in weird situations like the single quote in
8670 (python-syntax-stringify): Simplify num-quotes detecting code.
8672 2012-10-03 Glenn Morris <rgm@gnu.org>
8674 * help-macro.el (three-step-help):
8675 Revert 2012-09-29 change. (Bug#12567)
8677 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8679 * menu-bar.el (kill-this-buffer): Don't do anything when
8680 `menu-frame' is not alive or visible (Bug#8184).
8682 * emacs-lisp/debug.el (debug): When quitting the debugger window
8683 restore current buffer (Bug#12502).
8685 2012-10-02 Chong Yidong <cyd@gnu.org>
8687 * progmodes/hideif.el (hif-lookup, hif-defined):
8688 Handle semantic-c-takeover-hideif.
8690 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8692 Change sampling interval units from ms to ns.
8693 * profiler.el (profiler-sampling-interval): Change units
8694 from ms to ns, multiplying the default by 1000000 so that
8696 (profiler-report-cpu-line-format): Give enough room for
8697 the maximum counters on 64-bit hosts.
8698 (profiler-report-render-calltree-1): Call them "CPU samples",
8699 not "Time (ms)", since they are not milliseconds now (and
8702 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8704 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8705 Fix querying BBDB for entries without a last name (Bug#11580).
8707 2012-10-02 Chong Yidong <cyd@gnu.org>
8709 * emacs-lisp/eieio.el: Restore Version header.
8711 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8713 * vc/diff-mode.el (diff--auto-refine-data): New var.
8714 (diff-hunk): Use it to delay refinement.
8715 (diff-mode): Remove overlays when we turn off font-lock.
8717 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8718 (table-initialize-table-fixed-width-mode)
8719 (table-set-table-fixed-width-mode): Remove functions.
8720 (table-command-list): Move initialization into declaration.
8721 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8722 (table-with-cache-buffer): Use `declare'.
8723 (table-span-cell): Simplify via CSE.
8724 (table-fixed-width-mode): Use define-minor-mode.
8725 (table-call-interactively, table-funcall, table-apply): Remove.
8726 (table-function): New function, to replace them.
8728 * bookmark.el (bookmark-search-pattern): Remove var.
8729 (bookmark-read-search-input): Remove function.
8730 (bookmark-bmenu-search): Reimplement using a minibuffer.
8732 * faces.el (modeline): Remove obsolete face name.
8734 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8735 and give a non-nil default value.
8736 (add-change-log-entry): Simplify accordingly.
8738 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8740 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8741 (vc-git-log-edit-toggle-amend): New function.
8742 (vc-git-log-edit-toggle-signoff): New function.
8743 (vc-git-log-edit-mode): New major mode.
8744 (vc-git-log-edit-mode-map): Keymap for it.
8745 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8747 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8749 (log-edit-toggle-header): New function.
8750 (log-edit-extract-headers): Accept function values in HEADERS alist.
8752 2012-10-01 David Engster <deng@randomsample.de>
8754 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8755 from symbol property and change message to be more consistent with
8757 (eieio-describe-generic): Add filename for each implementation.
8758 Fix indices for generic and normal methods.
8759 (eieio-method-def, eieio-class-def): New buttons.
8760 (eieio-help-find-method-definition)
8761 (eieio-help-find-class-definition): New functions.
8762 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8763 class, constructor and method definitions.
8765 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8766 information in symbol property.
8767 (scoped-class): Remove.
8768 (eieio-slot-name-index, call-next-method): Check if it is bound.
8770 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8772 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8773 (eieio-custom-mode): New major mode.
8774 (eieio-customize-object): Use it.
8776 2012-10-01 Eric Ludlam <zappo@gnu.org>
8778 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8779 specifying the expected class, and whether subclassing is allowed.
8780 (eieio-persistent-convert-list-to-object):
8781 (eieio-persistent-validate/fix-slot-value)
8782 (eieio-persistent-slot-type-is-class-p): New functions.
8783 (eieio-named::slot-missing): Doc fix.
8785 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8786 Stop using unused publd variable.
8788 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8789 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8790 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8791 (eieio-speedbar-handle-click): Do not specify a class for the
8792 method. Fixes method invocation order problems with EDE.
8794 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8796 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8797 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8799 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8801 * bookmark.el (bookmark-version-control): Give tags in the
8802 :type choices (Bug#12309), and improve doc string.
8803 (bookmark-write-file): Bind `print-circle' to `t' to allow
8804 circular custom bookmark types. (Bug#12503)
8806 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8808 Revert the FOLLOW-SYMLINKS change for file-attributes.
8809 * files.el (remote-file-name-inhibit-cache, after-find-file):
8810 * time.el (display-time-file-nonempty-p): Undo last change.
8812 * profiler.el (profiler-sampling-interval): Change default back to 1.
8813 See Stefan Monnier in
8814 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8816 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8818 Shell output catching a la gud-gdb.
8819 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8820 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8822 (python-shell-fetch-lines-filter): New function.
8823 (python-shell-send-string-no-output): Use them.
8825 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8827 * profiler.el (profiler-sampling-interval): Rename from
8828 profiler-sample-interval.
8829 (profiler-sampling-interval): Default to 10.
8830 (profiler-find-profile): New command (was profiler-find-log).
8831 (profiler-find-profile-other-window): New command.
8832 (profiler-find-profile-other-frame): New command.
8833 (profiler-profile): Introduce API-level data structure.
8835 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8837 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8838 * files.el (remote-file-name-inhibit-cache):
8839 * time.el (display-time-file-nonempty-p): Use it.
8840 * files.el (after-find-file): Don't chase links before calling
8841 file-exists-p, as file-exists-p already does the right thing.
8843 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8845 Merge from standalone RefTeX repository.
8847 The following ChangeLog entries are shortened versions of the
8848 original ones with file paths adapted. A not so strongly edited
8849 version of the original ChangeLog can be found in the commit log.
8851 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8852 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8853 Correctly handle new value type returned by `reftex-citation'.
8855 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8856 that entries with whitespace at various places are found.
8857 Doc fix. Include entries that are cross-referenced from cited entries.
8858 Include @String definitions in the resulting bib file. Add header
8859 and footer defined in `reftex-create-bibtex-header' and
8860 `reftex-create-bibtex-footer'.
8861 (reftex-do-citation): Make it possible again to insert
8862 non-existent entries. Save match data when asking for optional
8863 arguments. Return all keys, not just the first one.
8864 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8865 all citations in the same line.
8866 (reftex-parse-bibtex-entry): Accept additional optional argument
8867 `raw' and keep quotes or braces if it is non-nil. Match fields
8868 containing hyphens besides word constituents.
8869 (reftex-get-string-refs): New function.
8870 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8871 and ask if it should be reread in case it did.
8872 (reftex-pop-to-bibtex-entry)
8873 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8874 entries with spaces or tabs in front of arguments.
8875 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8876 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8877 Match entries containing numbers and symbol constituents.
8878 (reftex-do-citation, reftex-figure-out-cite-format):
8879 Use `reftex-cite-key-separator'.
8881 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8882 (reftex-mouse-view-crossref): Explain why point is set.
8884 * textmodes/reftex-global.el: Whitespace changes.
8886 * textmodes/reftex-index.el: Move provide statement to end of
8888 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8889 (reftex-index-visit-phrases-buffer): Set marker when visiting
8890 buffer. This allows for returning from the phrases file to the
8891 file one was just editing instead of the file where the last
8892 phrases was added from.
8893 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8894 punctuation syntax as it usually is not used as string quote in
8895 TeX-related modes and may occur unmatched. The change also
8896 prevents fontification of quoted content.
8897 (reftex-index-phrases-mode): Use it.
8899 * textmodes/reftex-parse.el (reftex-parse-from-file):
8900 Move backward one char if a `\' was matched after a section macro.
8901 (reftex-parse-from-file): Use beginning of match instead of end as
8904 * textmodes/reftex-ref.el: Adapt creation of
8905 `reftex-<package>-<macro>' functions to new structure of
8906 `reftex-ref-style-alist'.
8907 (reftex-reference): Use `reftex-ref-style-list' function.
8908 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8909 reference macro if `reftex-ref-macro-prompt' is non-nil.
8910 (reftex-reference): Pass refstyle to `reftex-format-special'.
8911 Determine reference macro by looking at
8912 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8913 Use only one special format function.
8914 (reftex-varioref-vref, reftex-fancyref-fref)
8915 (reftex-fancyref-Fref): Remove definitions. The functions are now
8916 generated from `reftex-ref-style-alist'.
8917 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8919 (reftex-format-special): New function.
8921 * textmodes/reftex-sel.el
8922 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8923 of `reftex-ref-style-alist'. Remove code for testing macro type.
8924 (reftex-select-toggle-varioref)
8925 (reftex-select-toggle-fancyref): Remove.
8926 (reftex-select-cycle-ref-style-internal)
8927 (reftex-select-cycle-ref-style-forward)
8928 (reftex-select-cycle-ref-style-backward): New functions.
8929 (reftex-select-label-map): Use `v' and `V' for general cycling
8930 through reference styles. Add `p' for switching between number
8931 and page reference types.
8933 * textmodes/reftex-toc.el (reftex-re-enlarge):
8934 Call `enlarge-window' only if there is something to do because in Emacs
8935 the horizontal version throws an error even if the parameter is 0.
8937 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8938 (reftex-plug-into-AUCTeX): Doc fix.
8939 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8940 string. Adapt to new name.
8941 (reftex-ref-style-alist): Change structure so that it is not
8942 possible to use multiple different package names within a style.
8943 Remove the symbols for symbols for macro type distinction.
8944 Add characters for macro selection.
8945 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8946 (reftex-create-bibtex-footer): New variables.
8947 (reftex-format-ref-function): Mention third argument of special
8949 (reftex-ref-style-alist, reftex-ref-style-default-list):
8951 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8952 to new implementation. Mark as obsolete. Add compatibility code
8953 for honoring the variable values in case they are set.
8954 (reftex-cite-format-builtin, reftex-bibliography-commands):
8955 Add support for ConTeXt.
8956 (reftex-format-ref-function, reftex-format-cite-function):
8958 (reftex-cite-key-separator): New variable.
8960 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8961 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8962 `reftex-syntax-table' because parens have to retain their paren
8963 syntax in order for parsing of BibTeX entries like @book(...) to
8965 (reftex-in-comment): Do not error out if `comment-start-skip' is
8966 not set. Deal correctly with escaped comment characters.
8967 (reftex-tie-multifile-symbols): Add doc string.
8968 Initialize `reftex-ref-style-list'.
8969 (reftex-untie-multifile-symbols): Add doc string.
8970 (reftex-add-index-macros): Doc fix.
8971 (reftex-ref-style-activate, reftex-ref-style-toggle)
8972 (reftex-ref-style-list): New functions.
8973 (reftex-mode-menu): Use them. Adapt to new structure of
8974 `reftex-ref-style-alist'.
8975 (reftex-select-with-char): Kill the RefTeX Select buffer when
8977 (reftex-remove-if): New function.
8978 (reftex-erase-all-selection-and-index-buffers)
8979 (reftex-mode-menu): Reference styles are now computed from
8980 `reftex-ref-style-alist'. Fix typo.
8981 (reftex-report-bug): New function.
8982 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8983 algorithms with O(n log n). Introduce optional argument SORT (not
8986 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8988 Enhancements for triple-quote string syntax.
8989 * progmodes/python.el (python-syntax-propertize-function):
8990 Match both quote cases in one regexp.
8991 (python-syntax-stringify): Handle matches properly.
8993 2012-09-30 Juri Linkov <juri@jurta.org>
8995 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8996 to nil around the call to `insert' to prevent
8997 directory time modification by lock_file. (Bug#2295)
8998 * tar-mode.el (tar-summarize-buffer): Idem.
9000 2012-09-30 Juri Linkov <juri@jurta.org>
9002 * facemenu.el (list-colors-sort): Add option "Luminance".
9003 (list-colors-sort-key): Implement it.
9005 * vc/diff-mode.el (diff-refine-removed):
9006 * vc/ediff-init.el (ediff-fine-diff-A):
9007 * vc/smerge-mode.el (smerge-refined-removed):
9008 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
9010 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
9012 * term/ns-win.el (x-file-dialog): New function.
9014 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
9016 * ido.el (ido-max-directory-size): Default to nil; the current
9017 default is small for POSIX systems, and impractical on Windows 7
9018 now that lstat returns directory sizes for NTFS.
9020 2012-09-30 Martin Rudalics <rudalics@gmx.at>
9022 In buffer display functions handle window-height/window-width
9023 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
9024 * window.el (window--display-buffer): New argument ALIST.
9025 Obey window-height and window-width alist entries.
9026 (window--try-to-split-window): New argument ALIST.
9027 Bind window-combination-limit to t when the window's size shall be
9028 changed and window-combination-limit equals `window-size'.
9029 (display-buffer-in-atom-window)
9030 (display-buffer-in-major-side-window)
9031 (display-buffer-in-side-window, display-buffer-same-window)
9032 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9033 (display-buffer-pop-up-window, display-buffer-below-selected)
9034 (display-buffer-at-bottom, display-buffer-in-previous-window)
9035 (display-buffer-use-some-window): Adjust all callers of
9036 window--display-buffer and window--try-to-split-window.
9037 (fit-frame-to-buffer): New option.
9038 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
9040 (display-buffer-in-major-side-window): Evaluate window-height /
9041 window-width alist entries.
9043 * help.el (temp-buffer-resize-frames)
9044 (temp-buffer-resize-regexps): Remove options.
9045 (temp-buffer-resize-mode): Adjust doc-string.
9046 (resize-temp-buffer-window): Don't consult
9047 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
9048 temp-buffer-resize-frames.
9050 * dired.el (dired-mark-pop-up):
9051 Call display-buffer-below-selected with a fit-window-to-buffer alist
9054 2012-09-30 Chong Yidong <cyd@gnu.org>
9056 * server.el (server-host): Document the security implications.
9057 (server-auth-key): Doc fix.
9059 * startup.el (initial-buffer-choice): Doc fix.
9061 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
9063 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
9066 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
9068 * help-fns.el (help-fns--obsolete): Fix last change.
9070 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
9072 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
9073 (minor-mode-map-alist): Remove redundant code.
9075 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
9076 visited in a buffer.
9077 (cvs-insert-visited-file): New function.
9078 (find-file-hook): Use it.
9080 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
9082 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
9084 (log-edit-empty-buffer-p): Don't require a space after a header.
9086 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
9088 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
9090 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
9091 a proper minor-mode.
9093 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
9095 2012-09-29 Glenn Morris <rgm@gnu.org>
9097 * winner.el (winner-mode): Remove variable (let define-minor-mode
9099 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9101 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9102 (winner-mode): Use define-minor-mode.
9104 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9105 the full definition in loaddefs, rather than duplicating it.
9107 * help-macro.el (three-step-help): No need to autoload defcustom.
9109 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9110 (inferior-lisp-program, inferior-lisp-load-command)
9111 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9112 No need to autoload defcustoms.
9114 * hippie-exp.el (hippie-expand-try-functions-list)
9115 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9116 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9117 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9118 (hippie-expand-only-buffers): No need to autoload defcustoms.
9119 * progmodes/vhdl-mode.el (vhdl-line-expand):
9120 Explicitly load hippie-exp, so it does not get autoloaded
9121 while hippie-expand-try-functions-list is let-bound.
9123 2012-09-28 Glenn Morris <rgm@gnu.org>
9125 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9127 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9128 Only "cl.el" counts as cl these days.
9130 2012-09-28 Juri Linkov <juri@jurta.org>
9132 Display archive errors in the echo area instead of inserting
9135 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9136 to STDERR-TEST that can be a regexp matching a successful output.
9137 Create a temporary file and redirect stderr to it. Search for
9138 STDERR-TEST in the stderr output and display it in the echo area
9139 if no match is found.
9140 (archive-extract-by-file): New function like
9141 `archive-extract-by-stdout' but extracting archives to files
9142 and looking for successful matches in stdout. Function body is
9143 mostly copied from `archive-rar-extract'.
9144 (archive-rar-extract): Use `archive-extract-by-file'.
9145 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9147 2012-09-28 Leo Liu <sdl.web@gmail.com>
9149 * pcomplete.el (pcomplete-show-completions):
9150 Use minibuffer-message to make pcomplete usable in minibuffer.
9152 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9154 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * type-break.el: Use lexical-binding.
9157 (type-break-mode): Use define-minor-mode.
9159 * emacs-lisp/pcase.el (pcase--mark-used): New.
9160 (pcase--u1): Use it (bug#12512).
9162 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9163 in load-history with the right file name.
9165 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9167 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9168 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9169 (doc-view-get-bounding-box): Make bounding box slicing work for
9170 ODF and DVI documents.
9172 2012-09-28 Glenn Morris <rgm@gnu.org>
9174 * type-break.el (type-break-mode, type-break-interval)
9175 (type-break-good-rest-interval, type-break-keystroke-threshold):
9176 No need to autoload.
9177 (type-break-good-rest-interval, type-break-keystroke-threshold):
9180 2012-09-28 Chong Yidong <cyd@gnu.org>
9182 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9185 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9187 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9189 2012-09-27 Glenn Morris <rgm@gnu.org>
9191 * faces.el (x-display-name): Declare (for without-x builds).
9193 * linum.el (linum-format): Don't autoload it. Improve :type.
9195 * progmodes/tcl.el: Don't require outline when compiling.
9196 (outline-regexp, outline-level): Declare.
9197 * textmodes/sgml-mode.el: Don't require outline when compiling.
9198 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9200 * term.el (term-ansi-reset):
9201 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9203 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9204 files for RCS and SCCS. (Bug#9781)
9206 2012-09-27 Chong Yidong <cyd@gnu.org>
9208 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9209 change; value should be t.
9211 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9213 * image-mode.el: Use lexical-binding.
9214 (image-mode-winprops): Use t to stand for the window of
9215 a buffer that's not displayed.
9216 * doc-view.el (doc-view-new-window-function): Handle the new
9218 (doc-view-enlarge): Make it a real nop if the size is not changed.
9219 (doc-view-display): Handle the case where the buffer is not (yet?)
9220 displayed in any window.
9221 (doc-view-saved-settings): New var.
9222 (doc-view-mode): Use it.
9223 (doc-view-fallback-mode): Set it.
9225 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9226 Set lexical-binding.
9227 (minibuffer-eldef-shorten-default): New var.
9228 (minibuffer-default-in-prompt-regexps): Use it for new default.
9229 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9231 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9233 * international/uni-bidi.el:
9234 * international/uni-category.el:
9235 * international/uni-name.el:
9236 * international/uni-numeric.el: Regenerate.
9238 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9239 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * profiler.el: New file.
9243 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9246 (testcover-reinstrument): Simplify with CSE.
9248 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9250 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9252 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9254 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9255 (verilog-auto-input, verilog-auto-insert-lisp)
9256 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9257 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9258 (verilog-auto-unused, verilog-auto-wire)
9259 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9260 newline. Reported by Andrew Jones.
9261 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9262 Reported by Brad Dobbie.
9263 (verilog-batch-delete-trailing-whitespace):
9264 Create verilog-batch-delete-trailing-whitespace.
9265 Reported by Brad Dobbie.
9266 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9267 parameters from another module. Reported by Dan Katz.
9268 (verilog-auto, verilog-auto-assign-modport)
9269 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9270 AUTOINOUTMODPORT for UVM interface module shell generation.
9271 Reported by Brad Dobbie.
9272 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9274 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9275 Reported by Matt Martin.
9277 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9279 * window.el (window--resize-child-windows): When resizing child
9280 windows proportionally, process them in reverse order to
9281 preserve the "when splitting a window the new one gets the odd
9283 (window--resize-root-window-vertically): When resizing the
9284 minibuffer window try to affect only windows at the bottom of the
9287 2012-09-25 Chong Yidong <cyd@gnu.org>
9289 * subr.el (declare): Doc fix.
9291 * help-fns.el (help-fns--obsolete): Handle macros properly.
9293 2012-09-25 Chong Yidong <cyd@gnu.org>
9295 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9296 this function obsolete.
9298 * calendar/cal-x.el (calendar-two-frame-setup)
9299 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9300 * calendar/calendar.el (american-calendar, european-calendar)
9301 (calendar-for-loop):
9302 * comint.el (comint-dynamic-simple-complete)
9303 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9304 * desktop.el (desktop-load-default):
9305 * dired-x.el (dired-omit-here-always)
9306 (dired-hack-local-variables, dired-default-directory):
9307 * emacs-lisp/derived.el (derived-mode-class):
9308 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9309 * emacs-lock.el (toggle-emacs-lock):
9310 * epa.el (epa-display-verify-result):
9311 * epg.el (epg-sign-keys, epg-start-sign-keys)
9312 (epg-passphrase-callback-function):
9313 * eshell/esh-util.el (eshell-for):
9314 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9315 (eshell-add-to-window-buffer-names):
9316 * files.el (locate-file-completion):
9317 * imenu.el (imenu-example--create-c-index)
9318 (imenu-example--create-lisp-index)
9319 (imenu-example--lisp-extract-index-name)
9320 (imenu-example--name-and-position):
9321 * international/mule-cmds.el (princ-list):
9322 * international/mule-diag.el (decode-codepage-char):
9323 * international/mule-util.el (detect-coding-with-priority):
9324 * iswitchb.el (iswitchb-read-buffer):
9325 * mail/mailalias.el (mail-complete):
9326 * mail/sendmail.el (mail-sent-via):
9327 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9328 (mouse-major-mode-menu):
9329 * password-cache.el (password-read-and-add):
9330 * pcomplete.el (pcomplete-parse-comint-arguments):
9331 * progmodes/sh-script.el (sh-maybe-here-document):
9332 * replace.el (query-replace-regexp-eval):
9333 * savehist.el (savehist-load):
9334 * simple.el (choose-completion-delete-max-match):
9335 * term.el (term-dynamic-simple-complete):
9336 * vc/ediff-init.el (ediff-check-version):
9337 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9338 * vc/vc.el (vc-diff-switches-list):
9339 * view.el (view-return-to-alist-update): Likewise.
9341 * subr.el (eval-next-after-load, makehash, insert-string)
9342 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9344 (mode-line-inverse-video): Variable deleted.
9346 * international/mule-util.el (string-to-sequence): Remove.
9348 * calendar/calendar.el (calendar-version):
9349 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9350 (icalendar-convert-diary-to-ical):
9351 * cus-edit.el (custom-mode):
9352 * ansi-color.el (ansi-color-unfontify-region):
9353 * international/latin1-disp.el (latin1-char-displayable-p):
9354 * progmodes/cwarn.el (turn-on-cwarn-mode):
9355 * progmodes/which-func.el (which-func-update-1):
9356 Use define-obsolete-function-alias.
9358 * net/newst-backend.el (newsticker-cache-filename):
9359 * net/newst-treeview.el (newsticker-groups-filename):
9360 Fix incorrect obsolescence declaration.
9362 * allout.el (allout-passphrase-hint-string): Likewise.
9363 (allout-init): Use a declare form to mark obsolete.
9365 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9366 this applies to functions.
9368 * iswitchb.el (iswitchb-read-buffer): Move code of
9369 iswitchb-define-mode-map here, and delete that obsolete function.
9371 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9372 font-lock-reference-face.
9374 2012-09-25 Glenn Morris <rgm@gnu.org>
9376 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9379 * eshell/em-term.el (eshell-term-name):
9380 Default to term-term-name. (Bug#12485)
9382 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9384 * progmodes/python.el (python-shell-send-buffer): Better handling
9385 of "if __name__ == '__main__':" conditionals when sending the buffer.
9387 2012-09-24 Glenn Morris <rgm@gnu.org>
9389 * eshell/esh-cmd.el (eshell-find-alias-function):
9390 Tighten up file-name regexp. (Bug#12499)
9392 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9394 Enhancements for triple-quote string syntax.
9395 * progmodes/python.el (python-quote-syntax): Remove.
9396 (python-syntax-propertize-function): New value.
9397 (python-syntax-count-quotes, python-syntax-stringify):
9400 2012-09-24 Chong Yidong <cyd@gnu.org>
9402 * mail/supercite.el (sc-version): Remove obsolete function.
9403 (sc-describe): Don't mark as obsolete, since it is bound.
9404 (sc-submit-bug-report): Remove.
9406 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9407 (cvs-commit-buffer-require-final-newline): Remove.
9408 (log-edit-require-final-newline)
9409 (log-edit-changelog-full-paragraphs): Default to t.
9411 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9412 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9413 * vc/vc.el (vc-checkout-carefully): Likewise.
9415 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9416 (emerge-version): Remove.
9418 * progmodes/compile.el (compile-internal): Remove.
9419 (compilation-parse-errors-function): Fix typo.
9421 * international/mule.el (set-char-table-default): Remove.
9422 (set-coding-priority, make-coding-system, generic-char-p)
9423 (charset-list, charset-bytes, charset-id): Use declare to mark
9424 functions as obsolete.
9426 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9427 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9428 * vc/vc-hooks.el (vc-default-registered): Don't use
9429 vc-master-templates.
9431 * font-lock.el (font-lock-reference-face):
9432 Use define-obsolete-variable-alias.
9434 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9435 * calendar/calendar.el (calendar-font-lock-keywords):
9436 * calendar/diary-lib.el (diary-font-lock-keywords)
9437 (diary-fancy-font-lock-keywords):
9438 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9439 * textmodes/reftex-index.el (reftex-insert-index):
9440 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9441 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9442 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9443 * progmodes/prolog.el (prolog-font-lock-keywords):
9444 * progmodes/idlwave.el (idlwave-idl-keywords):
9445 * progmodes/ada-mode.el (ada-font-lock-keywords):
9446 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9448 2012-09-24 Glenn Morris <rgm@gnu.org>
9450 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9452 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9454 * progmodes/python.el (python-indent-line): More consistent cursor
9457 2012-09-23 Stefan Merten <smerten@oekonux.de>
9459 * textmodes/rst.el: Fix compiler warning.
9461 2012-09-23 Roland Winkler <winkler@gnu.org>
9463 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9464 Transcribe also LaTeX hyphenation.
9465 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9466 bibtex-reformat-previous-options.
9468 2012-09-23 Roland Winkler <winkler@gnu.org>
9470 * proced.el (proced-renice-command): New variable.
9471 (proced-marked-processes): New function.
9472 (proced-with-processes-buffer): New macro.
9473 (proced-send-signal): Use them.
9474 (proced-renice): New command bound to r.
9476 2012-09-23 Roland Winkler <winkler@gnu.org>
9478 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9479 ibuffer-saved-filter-groups has one element, shortcut the call of
9480 completing-read. (Bug#12331)
9482 2012-09-23 Chong Yidong <cyd@gnu.org>
9484 * bindings.el (mode-line-toggle-read-only):
9485 * bs.el (bs-toggle-readonly):
9486 * buff-menu.el (Buffer-menu-toggle-read-only):
9487 * dired.el (dired-toggle-read-only):
9488 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9490 2012-09-23 Chong Yidong <cyd@gnu.org>
9492 * image.el (image-type-available-p): Adapt to init-image-library
9495 2012-09-22 Juri Linkov <juri@jurta.org>
9497 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9498 `dired-toggle-read-only'. (Bug#12462)
9500 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9502 * subr.el (temp-output-buffer-show): New function.
9503 (with-output-to-temp-buffer): Call temp-output-buffer-show
9504 instead of internal-temp-output-buffer-show.
9506 2012-09-22 Chong Yidong <cyd@gnu.org>
9508 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9511 * repeat.el (repeat): Doc fix (Bug#12348).
9513 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9516 * simple.el (shell-command-on-region): Doc fix.
9517 (read-only-mode): Doc fix.
9519 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9521 * emacs-lisp/timer.el (run-with-idle-timer)
9522 (timer-activate-when-idle): Warn against reinvoking an idle timer
9523 from within its own timer action. (Bug#12447)
9525 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9527 * cus-start.el (window-combination-limit): Add new optional
9529 * window.el (temp-buffer-window-show)
9530 (window--try-to-split-window): Handle new values of
9531 window-combination-limit (Bug#1806).
9532 (split-window): Test window-combination-limit for t instead of
9534 (display-buffer-at-bottom): New buffer display action function.
9535 * help.el (temp-buffer-resize-regexps): New option.
9536 (temp-buffer-resize-mode): Rewrite doc-string.
9537 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9538 Don't resize reused window. Suggested by Glenn Morris.
9540 2012-09-22 Stefan Merten <smerten@oekonux.de>
9542 * textmodes/rst.el: Revamp section title faces.
9543 (rst-official-version)
9544 (rst-package-emacs-version-alist): Sync with official version
9546 (rst-faces-defaults, rst-set-level-default)
9547 (rst-level-face-max, rst-level-face-base-color)
9548 (rst-level-face-base-light, rst-level-face-format-light)
9549 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9550 (rst-adornment-faces-alist): Match new setup.
9551 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9552 (rst-level-5, rst-level-6): New faces.
9554 2012-09-22 Chong Yidong <cyd@gnu.org>
9556 * simple.el (undo): Handle indirect buffers (Bug#8207).
9558 2012-09-21 Leo Liu <sdl.web@gmail.com>
9560 IDO: Disable match re-ordering for buffer switching.
9561 * ido.el (ido-buffer-disable-smart-matches): New variable.
9562 (ido-set-matches-1): Use it. (Bug#2042)
9564 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9566 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9567 Fix 2011-05-17 change. (Bug#12418)
9569 2012-09-21 Leo Liu <sdl.web@gmail.com>
9571 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9573 2012-09-21 Glenn Morris <rgm@gnu.org>
9575 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9576 Be more robust about locating simple.el.
9578 2012-09-21 Glenn Morris <rgm@gnu.org>
9580 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9582 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9584 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9586 2012-09-20 Juri Linkov <juri@jurta.org>
9588 * replace.el (query-replace-read-from): Use `read-regexp' instead
9589 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9590 (occur-read-primary-args): Use `read-regexp' instead of
9592 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9593 `read-from-minibuffer'.
9594 * isearch.el (isearch-occur): Use `read-regexp' instead of
9596 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9597 `read-from-minibuffer'.
9598 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9599 of `read-string'. (Bug#7567)
9601 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9602 and allow accepting a list of strings prepended to a list of
9603 standard default values. Doc fix. (Bug#12321)
9605 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9607 * replace.el (read-regexp): Don't add ": " when PROMPT already
9608 ends with a colon and space. (Bug#12321)
9610 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9612 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9615 2012-09-20 Stefan Merten <smerten@oekonux.de>
9617 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9618 Fixes feature request bug#11711.
9619 (rst-mode): Create `imenu-create-index-function'.
9620 (rst-get-stripped-line): Delete after refactoring.
9621 (rst-section-tree, rst-section-tree-rec)
9622 (rst-section-tree-point): Refactor and document properly.
9623 (rst-imenu-find-adornments-for-position)
9624 (rst-imenu-convert-cell, rst-imenu-create-index):
9627 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9629 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9630 (macroexp--expand-all): Use it.
9631 (macroexp--funcall-and-return): Remove by folding it into its sole
9632 caller (macroexp--warn-and-return).
9633 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9634 Use macroexp--obsolete-warning.
9636 * calc/calc.el: Fix last change by removing the whole chunk, since it
9637 was only needed back when Calc was not bundled.
9639 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9641 * emacs-lisp/debug.el (debug): Restore assignment to
9642 debugger-old-buffer removed on 2012-09-08.
9644 2012-09-20 Juri Linkov <juri@jurta.org>
9646 * dired-aux.el (dired-diff): Remove (require 'diff) since
9647 `diff-latest-backup-file' is now autoloaded.
9649 2012-09-20 Chong Yidong <cyd@gnu.org>
9651 * vc/diff.el (diff-latest-backup-file): Autoload.
9653 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9655 * calc/calc.el: Remove redundant autoload shape check.
9656 (sel-mode): Don't defvar.
9657 (calc-get-stack-element): Add `sel-mode' arg instead.
9658 (calc-top, calc-top-list): Pass it this additional argument.
9659 * calc/calc-store.el (calc-store-map):
9660 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9661 (calc-map-equation, calc-outer-product, calc-inner-product):
9662 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9664 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9666 2012-09-19 Juri Linkov <juri@jurta.org>
9668 * dired-aux.el (dired-diff): Add (require 'diff) because
9669 `diff-latest-backup-file' is not autoloaded.
9670 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9671 of `dired-get-filename' to t to not report error when there is
9672 no default file on the current line.
9674 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9677 macroexp--eval-if-compile.
9678 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9679 (macroexp--expand-all): Use them (bug#12371).
9681 * doc-view.el (doc-view-guess-paper-size)
9682 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9684 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9686 New feature: set optimal slice from BoundingBox information.
9687 * doc-view.el (doc-view-mode-map): Add keybinding.
9688 (doc-view-menu): Add menu entry.
9689 (doc-view-set-slice): Adapt docstring.
9690 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9691 (doc-view-scale-bounding-box)
9692 (doc-view-set-slice-from-bounding-box): New functions.
9693 (doc-view-paper-sizes): New defvar.
9695 2012-09-19 Glenn Morris <rgm@gnu.org>
9697 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9698 (byte-compile-log-warning): Autoload. (Bug#12371)
9700 * calendar/calendar.el (calendar-american-month-header)
9701 (calendar-european-month-header, calendar-iso-month-header)
9702 (calendar-month-header): New options.
9703 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9704 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9706 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9708 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9710 2012-09-18 Juri Linkov <juri@jurta.org>
9712 * dired-aux.el (dired-diff): Restore original functionality of
9713 getting the default value, but keep new feature of using the
9714 latest existing backup file (`diff-latest-backup-file').
9716 2012-09-18 Juri Linkov <juri@jurta.org>
9718 * dired.el (dired-mark): If the region is active in Transient Mark
9719 mode, mark all files in the active region. Doc fix.
9720 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9721 Doc fix. (Bug#10624)
9723 2012-09-18 Juri Linkov <juri@jurta.org>
9725 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9726 attributes for M-n are pulled from the file at point.
9727 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9728 Suggested by Drew Adams. (Bug#10624)
9730 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9732 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9733 whitespace after "end".
9734 (ruby-do-end-to-brace): Collapse block to one line if it fits
9737 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9739 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9741 (debug): Don't remove debugger window when debugger is expected
9744 2012-09-18 Chong Yidong <cyd@gnu.org>
9746 * custom.el (defface): Doc fix.
9748 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9750 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9752 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9753 to initialize query-on-exit; then test that instead (bug#12288).
9755 2012-09-17 Stefan Merten <smerten@oekonux.de>
9757 * textmodes/rst.el: Add support for `testcover'.
9758 (rst-defcustom-testcover, rst-testcover-add-compose)
9759 (rst-testcover-add-1value): New functions.
9760 (rst-portable-mark-active-p): Replace by `use-region-p'.
9761 (rst-update-section, rst-classify-adornment)
9762 (rst-find-title-line): Mark `1value' forms.
9763 (rst-classify-adornment): Remove superfluous form.
9764 (rst-update-section, rst-get-adornments-around)
9765 (rst-adornment-complete-p, rst-get-next-adornment)
9766 (rst-adjust, rst-promote-region)
9767 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9768 (rst-find-pfx-in-region, rst-section-tree-rec)
9769 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9770 (rst-toc-node, rst-toc, rst-forward-section)
9771 (rst-iterate-leftmost-paragraphs)
9772 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9773 (rst-bullet-list-region)
9774 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9775 (rst-compile-find-conf, rst-compile)
9776 (rst-repeat-last-character): Fix style.
9778 2012-09-17 Chong Yidong <cyd@gnu.org>
9780 * comint.el (comint--complete-file-name-data): Don't add a space
9781 if the status is `sole'; that adds a gratuitous space in the
9782 completion-cycling case (Bug#12092).
9784 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9786 2012-09-17 Richard Stallman <rms@gnu.org>
9788 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9789 only in the mime-shown mode, not in raw mode.
9790 (rmail-mime): Toggle off mime by displaying the message without
9791 mime processing. (Bug#12305)
9793 * mail/rmail.el (rmail-retry-failure):
9794 Turn off mime processing first. (Bug#12037)
9796 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9798 2012-09-17 Chong Yidong <cyd@gnu.org>
9800 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9801 (shell-dynamic-complete-functions): Convert to defcustom.
9802 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9804 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9805 * comint.el (comint-prompt-read-only):
9806 * custom.el (defcustom):
9807 * hi-lock.el (hi-lock-mode):
9808 * ibuffer.el (ibuffer-formats):
9809 * ielm.el (ielm-prompt-read-only):
9810 * novice.el (disable-command):
9811 * saveplace.el (toggle-save-place):
9812 * speedbar.el (speedbar-supported-extension-expressions):
9813 * startup.el (auto-save-list-file-prefix, init-file-user)
9814 (after-init-hook, inhibit-startup-echo-area-message):
9815 * strokes.el (strokes-help):
9816 * time-stamp.el (time-stamp):
9817 * calendar/calendar.el (calendar, diary-file):
9818 * calendar/diary-lib.el (diary-mail-entries, diary)
9819 (diary-list-entries-hook):
9820 * calendar/holidays.el (holidays, calendar-holidays):
9821 * calendar/lunar.el (lunar-phases):
9822 * calendar/solar.el (sunrise-sunset):
9823 * emulation/edt.el (edt-load-keys):
9824 * emulation/viper.el (viper-mode):
9825 * eshell/em-alias.el (eshell-command-aliases-list):
9826 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9827 * international/ogonek.el (ogonek-information):
9828 * net/tramp-cmds.el (tramp-bug):
9829 * net/quickurl.el (quickurl-reread-hook-postfix):
9830 * play/decipher.el (decipher-font-lock-keywords):
9831 * progmodes/cc-styles.el (c-set-style):
9832 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9833 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9834 * progmodes/octave-mod.el (octave-mode):
9835 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9836 * progmodes/verilog-mode.el (verilog-read-defines):
9837 * textmodes/two-column.el (2C-mode): Likewise.
9839 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9841 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9842 that holds many addresses.
9844 2012-09-16 Chong Yidong <cyd@gnu.org>
9846 * align.el (align-areas): Call the indication function with
9847 positions instead of markers for arguments (Bug#12343).
9849 * files.el (parse-colon-path): Use split-string (Bug#12351).
9851 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9852 (display-buffer-function): Mark as obsolete.
9854 * progmodes/compile.el (compilation-parse-errors): Accept list
9855 values similar to font-lock-keywords (Bug#12136).
9856 Suggested by Oleksandr Manzyuk.
9857 (compilation-error-regexp-alist): Doc fix.
9859 2012-09-15 Glenn Morris <rgm@gnu.org>
9861 * version.el (emacs-bzr-version-bzr): New function.
9862 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9864 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9865 checkouts, check the parent dirstate matches the branch.
9866 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9869 * version.el (emacs-bzr-version): Doc fix.
9870 (emacs-bzr-version-dirstate): New function.
9871 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9872 is local try and check that it matches the branch. If not, just
9873 use dirstate information. (Bug#12441)
9875 2012-09-14 Juri Linkov <juri@jurta.org>
9877 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9880 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9882 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9884 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9885 Remove obsolete byte-compiler hack that tried to silence some warnings.
9886 (edebug-submit-bug-report): Remove.
9887 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9888 Remove aliases, use the un-prefixed name instead.
9889 (edebug-pop-to-buffer): Consider other frames.
9890 (edebug-original-read):: Make it more obvious that it's always defined.
9891 (edebug--make-form-data-entry, edebug--form-data-name)
9892 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9893 single-dashed name, and implement with cl-defstruct.
9894 (edebug-set-form-data-entry): Use the standard accessors.
9895 (edebug-make-top-form-data-entry): Use push.
9896 (edebug-no-match): Drop useless `funcall'.
9897 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9899 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9900 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9901 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9902 (easy-menu-define, with-custom-print): Remove redundant specs.
9903 (edebug-outside-overriding-local-map)
9904 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9905 (edebug--display): Bind unread-command-events directly to nil rather
9906 than binding it to unread-command-events and later setting it to nil.
9907 (edebug--display): Kill edebug-eval-buffer here...
9908 (edebug--recursive-edit): ...rather than here.
9909 Bind standard-output and standard-input.
9910 (edebug-eval): Check cl-macroexpand-all is fboundp.
9911 (edebug-temp-display-freq-count): Fix last change.
9913 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9914 * subr.el (noreturn, 1value): Add `debug' spec.
9915 * emacs-lisp/advice.el: Require cl-lib.
9916 (ad-copy-tree): Remove, use copy-tree instead.
9917 (ad-dolist): Remove use dolist or cl-dolist instead.
9918 (ad-do-return): Remove, use cl-return instead.
9919 (defadvice): Add `debug' spec.
9921 2012-09-13 Juri Linkov <juri@jurta.org>
9923 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9926 2012-09-13 Glenn Morris <rgm@gnu.org>
9928 * calc/calc.el (math-compose-expr):
9929 * calc/calc-ext.el (math-compose-expr):
9930 * progmodes/cc-defs.el (cl-macroexpand-all):
9931 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9932 (cl-macroexpand-all): Update declarations.
9934 * vc/vc.el: No need to require ediff.
9935 (ediff-load-version-control): Declare.
9936 (ediff-vc-internal): Fix declaration.
9937 (vc-version-ediff): Require ediff.
9939 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9941 Use a more backwards-compatible timer format (Bug#12430).
9942 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9943 being right after USECS, as that better supports old code that
9944 inadvisedly looked directly at the timer vector.
9946 2012-09-13 Kenichi Handa <handa@gnu.org>
9948 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9949 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9950 `coding-priority' property of these language environment.
9952 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9954 Fix glitches caused by addition of psec to timers (Bug#12430).
9955 * image.el (image-animate-timer):
9956 * time.el (display-time-world-timer):
9957 Use timer--function and timer--args rather than raw access to
9960 2012-09-13 Glenn Morris <rgm@gnu.org>
9962 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9963 If not compiling a file, try using load-file-name.
9965 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9969 (edebug-update-eval-list): Use `push'.
9971 * emacs-lisp/edebug.el: Use lexical-binding.
9972 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9973 Mark unused args with underscore.
9974 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9975 (edebug-form-data): Use defvar-local.
9976 (edebug-make-before-and-after-form, edebug-make-after-form):
9978 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9979 Not dynamically scoped any more.
9980 (edebug--enter-trace): Add arguments `function' and `args'.
9981 Rename from edebug-enter-trace.
9982 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9983 (edebug--update-coverage): Add `after-index' and `value' args.
9984 Rename from edebug-update-coverage.
9985 (edebug-slow-after): Call it accordingly.
9986 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9987 edebug-recursive-edit.
9988 (edebug--display): Call it accordingly. Add args `value',
9989 `offset-index', and `arg-mode'. Rename from edebug-display.
9990 (edebug-debugger, edebug): Call it accordingly.
9991 (edebug-eval-display-list): Use dolist.
9993 2012-09-12 Juri Linkov <juri@jurta.org>
9995 * info.el (Info-search): Don't check for isearch-mode and
9996 isearch-regexp before let-binding search-spaces-regexp to
9997 Info-search-whitespace-regexp.
9998 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9999 search-whitespace-regexp if isearch-lax-whitespace or
10000 isearch-regexp-lax-whitespace is non-nil.
10001 (Info-mode): Don't set local variable search-whitespace-regexp.
10002 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
10004 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10006 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
10007 (debugger-env-macro): Remove support for unread-command-char.
10009 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
10010 the temporary map re-appearing on emulation-mode-map-alists.
10012 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
10015 * ehelp.el (with-electric-help): Accept functions in
10016 electric-help-form-to-execute.
10017 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
10018 And replace unread-command-char -> unread-command-events.
10020 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
10022 Sync with Tramp 2.2.6.
10024 * net/tramp.el (tramp-accept-process-output): Don't use
10025 JUST-THIS-ONE in the XEmacs case.
10027 * net/trampver.el: Update release number.
10029 2012-09-12 Martin Rudalics <rudalics@gmx.at>
10031 * emacs-lisp/debug.el (debugger-previous-window-height):
10033 (debug): When debugger-jumping-flag is non-nil try to restore
10034 height of debugger window. (Bug#8789)
10036 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10038 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
10039 overriding-local-map and pre/post-command-hook here.
10040 (edebug-recursive-edit): Do it here instead (bug#12345).
10041 (edebug-outside-unread-command-char): Remove all uses of
10042 unread-command-char.
10044 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
10045 inhibit-debugger is bound instead.
10047 2012-09-11 Bastien Guerry <bzg@gnu.org>
10049 * subr.el (set-temporary-overlay-map): Add a docstring.
10052 2012-09-11 Bastien Guerry <bzg@gnu.org>
10054 * minibuffer.el (completion-table-subvert): Fix docstring.
10057 2012-09-11 Bastien Guerry <bzg@gnu.org>
10059 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
10061 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
10063 * progmodes/sql.el: Version 3.1
10064 (sql-db2-escape-newlines): New variable.
10065 (sql-escape-newlines-filter): Use it.
10067 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
10069 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
10071 2012-09-10 Dan Nicolaescu <dann@gnu.org>
10073 * vc/diff-mode.el (diff-mode-menu):
10074 Bind diff-remove-trailing-whitespace.
10076 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10078 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
10079 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
10080 (emacs-lisp-byte-code-mode): New functions.
10081 (eval-sexp-add-defvars): Don't skip defvars in column >0.
10082 (eval-defun-2): Remove bogus interactive spec.
10083 (lisp-indent-line): Remove redundant whole-exp code, now done in
10084 indent-according-to-mode.
10085 (save-match-data): Remove redundant indent data.
10087 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
10090 2012-09-09 Juri Linkov <juri@jurta.org>
10092 * replace.el (replace-regexp-lax-whitespace): New defcustom.
10093 (replace-lax-whitespace, query-replace-regexp)
10094 (query-replace-regexp-eval, replace-regexp): Doc fix.
10095 (perform-replace, replace-highlight): Let-bind
10096 isearch-lax-whitespace to replace-lax-whitespace and
10097 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
10099 * isearch.el (isearch-query-replace): Let-bind
10100 replace-lax-whitespace to isearch-lax-whitespace and
10101 replace-regexp-lax-whitespace to
10102 isearch-regexp-lax-whitespace. (Bug#10885)
10104 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10106 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10108 2012-09-09 Alan Mackenzie <acm@muc.de>
10110 * progmodes/cc-engine.el (c-state-cache-init):
10111 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10112 (c-record-parse-state-state):
10113 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10115 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10117 * register.el (register-separator): Rename from
10118 separator-register. All uses changed. Doc fix.
10119 (register): Fix version.
10121 2012-09-09 Chong Yidong <cyd@gnu.org>
10123 * replace.el (query-replace-map): Bind four new symbols for
10124 requesting window scrolling.
10126 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10127 query-replace-map (Bug#8948).
10129 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10131 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10132 since they are now in query-replace-map.
10134 * window.el (scroll-other-window-down): Make the arg optional.
10136 2012-09-09 Chong Yidong <cyd@gnu.org>
10138 * files.el (hack-local-variables-confirm): Use quit-window to kill
10139 the *Local Variables* buffer.
10141 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10143 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10144 not just expect to be at its beginning. Adjust callees.
10145 Succeed when do-end block has no space before the pipe character.
10146 (ruby-brace-to-do-end): When the original block is one-liner,
10147 convert to multiline. Reindent the result.
10149 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10151 * register.el (register): New group.
10152 (separator-register): New user option.
10153 (increment-register): Route it to `append-to-register', if
10154 register contains text. Implication is that `C-x r +' can now be
10155 used for appending to a text register (bug#12217).
10156 (append-to-register, prepend-to-register): Add separator based on
10157 `separator-register'.
10159 2012-09-08 Alan Mackenzie <acm@muc.de>
10161 AWK Mode: make auto-newline work when there's "==" in the pattern.
10162 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10164 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10165 Test more rigorously for "=" token.
10167 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10169 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10170 Only fail when reached LIMIT.
10172 2012-09-08 Chong Yidong <cyd@gnu.org>
10174 * dired.el (dired-mode-map): Don't bind M-=.
10176 * dired-aux.el (dired-diff): Use backup file as default.
10178 2012-09-08 Drew Adams <drew.adams@oracle.com>
10180 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10182 2012-09-08 Chong Yidong <cyd@gnu.org>
10184 * subr.el (syntax-after, syntax-class): Doc fix.
10186 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10188 * window.el (display-buffer-in-previous-window): New buffer
10189 display action function.
10191 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10192 (debugger-previous-window): New variable.
10193 (debug): Rewrite using display-buffer-in-previous-window,
10194 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10196 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10198 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10200 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10202 * progmodes/python.el (python-shell-send-string):
10203 When default-directory is remote, create temp file on remote
10205 (python-shell-send-file): When file is remote, pass local view of
10206 file paths to remote Python interpreter. (Bug#12340)
10208 2012-09-07 Chong Yidong <cyd@gnu.org>
10210 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10212 * files.el (after-find-file): Don't fail on a read-only buffer if
10213 require-final-newline is `visit' or `visit-save' (Bug#11156).
10215 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10217 * userlock.el (ask-user-about-supersession-threat):
10218 Use read-char-choice (Bug#12093).
10220 2012-09-07 Chong Yidong <cyd@gnu.org>
10222 * subr.el (buffer-narrowed-p): New function.
10224 * ses.el (ses-widen):
10225 * simple.el (count-words--buffer-message):
10226 * net/browse-url.el (browse-url-of-buffer): Use it.
10228 * simple.el (count-words-region): Don't signal an error if there
10229 is a non-nil prefix arg and the mark is not set.
10231 * help.el (describe-key-briefly): Allow the message to be seen
10232 when invoked from the minibuffer (Bug#7014).
10234 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10236 * progmodes/ruby-mode.el (ruby-end-of-defun)
10237 (ruby-beginning-of-defun): Simplify, allow indentation before
10238 block beginning and end keywords.
10239 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10240 (ruby-end-of-defun): Expect that the point is at the beginning of
10243 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10247 (cl--make-usage-args): Strip _ from argument names.
10249 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10251 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10252 obsolete alias speedbar-key-map.
10253 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10254 (vhdl-index-menu-init): Don't use obsolete variable
10255 font-lock-maximum-size.
10257 2012-09-06 Chong Yidong <cyd@gnu.org>
10259 * frame.el (window-system-version): Mark as obsolete.
10261 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10262 of obsolete variable speedbar-key-map.
10264 2012-09-06 Juri Linkov <juri@jurta.org>
10266 * replace.el (replace-lax-whitespace): New defcustom.
10267 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10268 (replace-string, replace-regexp): Mention it in docstrings.
10269 (perform-replace, replace-highlight): Let-bind
10270 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10271 to the values of replace-lax-whitespace and regexp-flag.
10272 Don't let-bind search-whitespace-regexp. (Bug#10885)
10274 * isearch.el (isearch-query-replace): Let-bind
10275 replace-lax-whitespace instead of let-binding
10276 replace-search-function and replace-re-search-function.
10277 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10278 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10279 (isearch-toggle-symbol): Set isearch-regexp to nil
10280 in isearch-word mode (like in isearch-toggle-word).
10282 2012-09-06 Juri Linkov <juri@jurta.org>
10284 * replace.el (replace-search-function)
10285 (replace-re-search-function): Set default values to nil.
10286 (perform-replace): Let-bind isearch-related variables based on
10287 replace-related values, call `isearch-search-fun' and let-bind
10288 the result to `search-function'. Remove code that sets
10289 `search-function' and `search-string' separately for
10291 (replace-highlight): Add new argument `delimited-flag' and
10292 rename other arguments to the names used in `perform-replace'.
10293 Let-bind `isearch-word' to the argument `delimited-flag'.
10294 (Bug#10885, bug#10887)
10296 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10298 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10299 ruby-beginning-of-indent, simplify, allow all keywords to have
10300 indentation before them.
10301 (ruby-beginning-of-indent): Adjust for above. Search until the
10302 found point is not inside a string or comment.
10303 (ruby-font-lock-keywords): Allow symbols to start with "@"
10304 character, give them higher priority than variables.
10305 (ruby-syntax-propertize-function)
10306 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10307 matchers. Expression expansions are not comments when inside a
10308 string, and there comment syntax status is irrelevant.
10309 (ruby-match-expression-expansion): New function. Check that
10310 expression expansion is inside a string, and it's not escaped.
10311 (ruby-font-lock-keywords): Use it.
10313 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10315 * help.el (temp-buffer-max-height): New default value.
10316 (temp-buffer-resize-frames): New option.
10317 (resize-temp-buffer-window): Optionally resize frame.
10319 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10320 (fit-frame-to-buffer): New function.
10322 2012-09-05 Glenn Morris <rgm@gnu.org>
10324 * emulation/cua-rect.el (cua--init-rectangles):
10325 * textmodes/picture.el (picture-mode-map):
10326 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10327 like forward-char and backward-char. (Bug#12317)
10329 2012-09-05 Leo Liu <sdl.web@gmail.com>
10331 * progmodes/flymake.el (flymake-warning-re): New variable.
10332 (flymake-parse-line): Use it.
10334 2012-09-05 Glenn Morris <rgm@gnu.org>
10336 * calendar/holidays.el (holiday-christian-holidays):
10337 Rename an entry. (Bug#12289)
10339 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10344 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10346 * loadup.el: Load macroexp. Remove hack.
10347 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10348 (macroexp--expand-all): Use it to get better warnings.
10349 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10350 (internal-macroexpand-for-load): New functions.
10351 (macroexp--pending-eager-loads): New var.
10352 (emacs-startup-hook): New hack to replace one in loadup.el.
10353 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10354 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10355 (cl-psetf): Simplify.
10356 (cl-defstruct): Add indent rule.
10358 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10360 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10361 over `user-mail-address' for the SMTP MAIL FROM envelope.
10362 (smtpmail-via-smtp): Ditto.
10364 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10366 * progmodes/ruby-mode.el: Clean up keybindings.
10367 (ruby-mode-map): Don't bind ruby-electric-brace,
10368 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10369 backward-kill-word, reindent-then-newline-and-indent.
10370 (ruby-mark-defun): Remove.
10371 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10372 (ruby-mode): Set local beginning-of-defun-function and
10373 end-of-defun-function values.
10375 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10377 * window.el (temp-buffer-window-setup-hook)
10378 (temp-buffer-window-show-hook): New hooks.
10379 (temp-buffer-window-setup, temp-buffer-window-show)
10380 (with-temp-buffer-window): New functions.
10381 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10382 (special-display-popup-frame): Make sure the window used shows BUFFER.
10384 * help.el (temp-buffer-resize-mode): Fix doc-string.
10385 (resize-temp-buffer-window): New optional argument WINDOW.
10387 * files.el (recover-file, save-buffers-kill-emacs):
10388 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10390 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10392 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10393 remote definition of `default-directory', ensure we can connect.
10395 2012-09-02 Juri Linkov <juri@jurta.org>
10397 Toggle whitespace matching mode with M-s SPC.
10398 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10400 * isearch.el (search-whitespace-regexp): Doc fix.
10401 Remove cons cell customization.
10402 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10403 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10405 (isearch-forward, isearch-forward-regexp): Doc fix.
10406 (isearch-toggle-lax-whitespace): New command.
10407 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10408 (re-search-forward-lax-whitespace)
10409 (re-search-backward-lax-whitespace): New functions.
10410 (isearch-whitespace-regexp): Remove function.
10411 (isearch-query-replace): Let-bind replace-search-function and
10412 replace-re-search-function.
10413 (isearch-occur): Let-bind search-spaces-regexp according to the
10414 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10415 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10416 condition for C-q SPC.
10417 (isearch-search-fun-default): Use new functions mentioned above.
10418 (isearch-search-forward, isearch-search-backward): Remove functions.
10419 (isearch-search): Don't let-bind search-spaces-regexp.
10420 (isearch-lazy-highlight-space-regexp): Remove variable.
10421 (isearch-lazy-highlight-lax-whitespace)
10422 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10423 (isearch-lazy-highlight-new-loop): Use them.
10424 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10426 2012-09-02 Chong Yidong <cyd@gnu.org>
10428 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10430 2012-09-02 Glenn Morris <rgm@gnu.org>
10432 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10434 2012-09-01 Glenn Morris <rgm@gnu.org>
10436 * term.el: Tidy up menu definitions.
10437 (term-mode-map): Use easymenu for In/Out, Complete menus.
10438 (term-pager-break-map): Initialize in the defvar.
10439 (term-terminal-menu, term-signals-menu): Define with easymenu.
10440 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10441 (term-pager-menu): New, extracted from term-process-pager.
10442 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10443 (term-update-mode-line): Propertize line/char and page items.
10444 (term-process-pager): Move keymap initialization elsewhere.
10446 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10448 * window.el (switch-to-prev-buffer): Handle additional values of
10449 BURY-OR-KILL argument. Don't switch in minibuffer window.
10450 (switch-to-next-buffer): Don't switch in minibuffer window.
10451 (quit-restore-window): New function based on quit-window.
10452 Handle additional values of former KILL argument.
10453 (quit-window): Call quit-restore-window with appropriate
10454 interpretation of KILL argument.
10455 (display-buffer-below-selected): New buffer display action
10458 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10460 * minibuffer.el (completion-at-point-functions): Complete docstring
10463 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10465 Better seed support for (random).
10466 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10467 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10468 * play/mpuz.el, play/tetris.el, play/zone.el:
10469 * calc/calc-comb.el (math-init-random-base):
10470 * play/blackbox.el (bb-init-board):
10471 * play/life.el (life):
10472 * server.el (server-use-tcp):
10473 * type-break.el (type-break):
10474 Remove unnecessary call to (random t).
10475 * net/sasl.el (sasl-unique-id-function):
10476 Change (random t) to (random), now that the latter is more random.
10477 * play/life.el (life-initialized): Remove no-longer-needed var.
10479 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10481 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10482 Consider frame's buffer predicate when choosing the buffer.
10485 2012-08-30 Richard Stallman <rms@gnu.org>
10487 * simple.el (special-mode-map): Delete binding for `z'.
10489 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10491 * progmodes/compile.el (compilation-always-kill): Doc fix.
10493 2012-08-30 Chong Yidong <cyd@gnu.org>
10495 * window.el (display-buffer-reuse-frames): Make the obsolescence
10496 message more informative.
10498 2012-08-30 Glenn Morris <rgm@gnu.org>
10500 * paren.el (show-paren-delay):
10501 Add a :set function. Doc fix. (Bug#12297)
10503 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10505 * progmodes/compile.el (compilation-always-kill): New var.
10506 (compilation-start): Use it.
10508 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10511 * files.el (read-only-mode): Move to simple.el.
10513 * files.el (read-only-mode): New minor mode.
10514 (toggle-read-only): Use it and mark obsolete.
10515 (find-file--read-only):
10516 * vc/vc.el (vc-next-action, vc-checkout):
10517 * vc/vc-cvs.el (vc-cvs-checkout):
10518 * obsolete/vc-mcvs.el (vc-mcvs-update):
10519 * ffap.el (ffap--toggle-read-only): Update callers.
10521 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10523 * eshell/esh-ext.el (eshell-external-command): Do not examine
10524 remote shell scripts.
10525 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10527 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10530 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10532 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10534 2012-08-28 Leo Liu <sdl.web@gmail.com>
10536 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10537 completion-at-point. (Bug#12220)
10539 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10541 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10543 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10545 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10546 be buffer-local; add delete-trailing-whitespace (bug#12259).
10548 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10550 * progmodes/hideif.el (hif-compress-define-list):
10551 Fix typo. (Bug#11951)
10553 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10555 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10556 buffer local setting.
10558 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10559 rcirc-encode-coding-system.
10561 2012-08-28 Leo Liu <sdl.web@gmail.com>
10563 * net/rcirc.el (rcirc-split-message): New function.
10564 (rcirc-send-message): Use it. (Bug#12051)
10566 2012-08-28 Juri Linkov <juri@jurta.org>
10568 * info.el (Info-fontify-node): Hide empty lines at the end of
10569 the node. (Bug#12272)
10571 2012-08-27 Drew Adams <drew.adams@oracle.com>
10573 * dired.el (dired-pop-to-buffer): Make window start at beginning
10574 of buffer (Bug#12281).
10576 2012-08-26 Chong Yidong <cyd@gnu.org>
10578 * window.el (special-display-regexps, special-display-frame-alist)
10579 (special-display-buffer-names, special-display-function)
10580 (display-buffer-reuse-frames): Mark as obsolete.
10582 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10584 * help.el (help-print-return-message): Don't treat
10585 display-buffer-reuse-frames specially.
10587 2012-08-26 Chong Yidong <cyd@gnu.org>
10589 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10590 New variable, replacing gdb-frame-parameters.
10591 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10592 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10593 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10594 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10595 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10596 the functions directly with gdb-display-buffer-other-frame-action.
10597 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10598 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10599 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10600 (gdb-display-registers-buffer): Define directly.
10601 (def-gdb-display-buffer): Macro deleted.
10602 (gdb-display-buffer): Remove second and third args, callers don't
10603 use them. Defer to the default display-buffer behavior, apart
10604 from making windows dedicated.
10605 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10607 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10609 * window.el (display-buffer-pop-up-frame): Handle a
10610 pop-up-frame-parameters alist entry.
10611 (display-buffer): Document it.
10613 2012-08-26 Chong Yidong <cyd@gnu.org>
10615 * isearch.el (search-whitespace-regexp): Make string and nil
10616 values apply to both ordinary and regexp search. Allow a cons
10617 cell value to distinguish between the two.
10618 (isearch-whitespace-regexp, isearch-search-forward)
10619 (isearch-search-backward): New functions.
10620 (isearch-occur, isearch-search-fun-default, isearch-search)
10621 (isearch-lazy-highlight-new-loop): Use them.
10622 (isearch-forward, isearch-forward-regexp): Doc fix.
10624 2012-08-26 Chong Yidong <cyd@gnu.org>
10626 * faces.el (help-argument-name): Always inherit from italic
10629 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10631 * window.el (window--even-window-heights): Even heights when
10632 WINDOW and the selected window form a vertical combination.
10633 (display-buffer-use-some-window): Provide that window used gets
10634 sized back by quit-window. (Bug#11880) and (Bug#12091)
10636 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10638 Fix file time stamp problem with bzr and CVS (Bug#12001).
10639 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10640 in the file's time stamp, since the version control system loses
10643 2012-08-22 Juri Linkov <juri@jurta.org>
10645 * info.el (Info-fontify-node): Hide the suffix of the
10646 Info file name in the header line. (Bug#12187)
10648 2012-08-22 Glenn Morris <rgm@gnu.org>
10650 * calendar/cal-tex.el (cal-tex-weekly-common):
10651 Restore leading blank page.
10653 2012-08-22 Le Wang <l26wang@gmail.com>
10655 * misc.el (forward-to-word, backward-to-word): Activate or extend
10656 the region under `shift-select-mode'. (Bug#12231)
10658 2012-08-22 Bastien Guerry <bzg@gnu.org>
10660 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10661 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10662 gives details on why the space is never needed.
10664 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10666 * window.el (walk-window-tree, window-with-parameter):
10667 New optional argument MINIBUF to control whether these functions
10668 should run on the minibuffer window.
10669 (window-at-side-list): Don't operate on minibuffer window.
10670 (window-in-direction): Simplify and rewrite doc-string.
10671 (window--size-ignore): Rename to window--size-ignore-p.
10673 (display-buffer-in-atom-window, window--major-non-side-window)
10674 (window--major-side-window, display-buffer-in-major-side-window)
10675 (delete-side-window, display-buffer-in-side-window):
10677 (window--side-check, window-deletable-p, delete-window)
10678 (delete-other-windows, split-window): Handle side windows and
10679 atomic windows appropriately.
10680 (window--display-buffer): Call display-buffer-record-window also
10681 when the window buffer did not change.
10683 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10685 * help-fns.el (help-fns--key-bindings):
10686 Abbreviate non-symbol remap targets. (Bug#12174)
10688 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10690 * dired.el (dired-mark-remembered): Don't clobber point.
10693 2012-08-22 Glenn Morris <rgm@gnu.org>
10695 * progmodes/bug-reference.el (bug-reference): New custom group.
10696 (bug-reference-bug-regexp): Make it a defcustom.
10698 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10700 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10701 (js-paren-indent-offset, js-square-indent-offset)
10702 (js-curly-indent-offset): Add :safe (Bug#12257).
10704 2012-08-22 Edward O'Connor <hober0@gmail.com>
10706 * json.el (json-key-format): Add error properties.
10707 (json-encode-key): New function.
10708 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10709 Use json-encode-key.
10711 2012-08-22 Glenn Morris <rgm@gnu.org>
10713 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10714 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10715 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10716 Update for above change.
10718 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10720 * cus-face.el (custom-face-attributes): Fix customize type for the
10721 :underline attribute. (Bug#11805)
10723 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10725 * window.el (window-point-1, set-window-point-1): Remove.
10726 (window-in-direction, record-window-buffer)
10727 (set-window-buffer-start-and-point, split-window-below)
10728 (window--state-get-1, display-buffer-record-window):
10729 Replace calls to window-point-1 and set-window-point-1 by calls to
10730 window-point and set-window-point respectively.
10732 2012-08-21 Glenn Morris <rgm@gnu.org>
10734 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10735 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10738 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10739 (cal-tex-shortday): New function.
10740 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10741 (cal-tex-cursor-filofax-daily): Use the above.
10743 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10745 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10746 (cal-tex-cursor-filofax-week): Use them.
10748 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10750 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10751 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10753 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10754 (cal-tex-end-document): Don't rely on buffer name.
10756 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10757 Use cal-tex-vspace.
10758 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10759 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10760 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10763 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10764 (cal-tex-cursor-week, cal-tex-cursor-week2)
10765 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10766 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10767 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10768 (cal-tex-insert-preamble, cal-tex-b-document)
10769 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10770 Improve cal-tex-cmd usage.
10772 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10773 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10774 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10775 (cal-tex-weekly-paper): New function.
10776 (cal-tex-cursor-week, cal-tex-cursor-week2)
10777 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10778 (cal-tex-cursor-day): Use it.
10780 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10781 (cal-tex-cursor-filofax-week): Remove leading blank page.
10783 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10784 Add autoload cookie. For now at least, don't use color, since
10785 no other cal-tex function does.
10787 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10788 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10789 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10791 2012-08-21 Juri Linkov <juri@jurta.org>
10793 * info.el (Info-file-attributes): New variable.
10794 (info-insert-file-contents): Add file attributes to
10795 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10796 `Info-toc-nodes' when previous modtime of the Info file is less
10798 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10799 of info.el. (Bug#12230)
10801 2012-08-20 Glenn Morris <rgm@gnu.org>
10803 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10804 * calendar/holidays.el (calendar-holiday-list):
10805 Report errors with display-warning rather than beep'n'sleep.
10807 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10809 * net/tramp.el (tramp-accept-process-output): Accept only output
10810 from PROC. Otherwise, process filters and sentinels might be
10811 confused. (Bug#12145)
10813 2012-08-20 Chong Yidong <cyd@gnu.org>
10815 * descr-text.el (describe-text-properties-1): Use overlays-in to
10816 report on empty overlays (Bug#3322).
10818 2012-08-20 Glenn Morris <rgm@gnu.org>
10820 * mail/rmailout.el (rmail-output-read-file-name):
10821 Trap and report errors in rmail-output-file-alist elements.
10823 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10824 since most non-font-lock faces are not also variables).
10826 2012-08-20 Edward Reingold <reingold@iit.edu>
10828 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10829 New function. (Bug12160)
10831 2012-08-19 Glenn Morris <rgm@gnu.org>
10833 * mail/rmailout.el (rmail-output-read-file-name):
10834 Fix previous change (when the alist is nil or does not match).
10836 2012-08-19 Chong Yidong <cyd@gnu.org>
10838 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10841 2012-08-18 Chong Yidong <cyd@gnu.org>
10843 * simple.el (yank-handled-properties): New defcustom.
10844 (yank-excluded-properties): Add font-lock-face and category.
10847 * subr.el (remove-yank-excluded-properties):
10848 Obey yank-handled-properties. The special handling of font-lock-face
10849 and category is now done this way, instead of being hard-coded.
10850 (insert-for-yank-1): Remove font-lock-face handling.
10851 (yank-handle-font-lock-face-property)
10852 (yank-handle-category-property): New function.
10854 2012-08-17 Glenn Morris <rgm@gnu.org>
10856 * mail/rmailout.el (rmail-output-read-file-name):
10857 Check rmail-output-file-alist against the full message body
10858 in the correct rmail buffer. (Bug#12214)
10860 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10862 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10863 Eliminate superfluous prompt. (Bug#12203)
10865 2012-08-17 Chong Yidong <cyd@gnu.org>
10867 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10868 font spec, set the font directly (Bug#3228).
10870 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10872 * window.el (delete-window): Fix last fix.
10874 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10876 * window.el (window-valid-p): Move to window.c.
10877 (window-child, window-child-count, window-last-child)
10878 (window-normalize-window, window-combined-p)
10879 (window-combinations, window-atom-root, window-min-size)
10880 (window-sizable, window-sizable-p, window-size-fixed-p)
10881 (window-min-delta, window-max-delta, window--resizable)
10882 (window--resizable-p, window-resizable, window-total-size)
10883 (window-full-height-p, window-full-width-p, window-body-size)
10884 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10885 (minimize-window, window-deletable-p, delete-window)
10886 (delete-other-windows, set-window-buffer-start-and-point)
10887 (next-buffer, previous-buffer, split-window, balance-windows-2)
10888 (set-window-text-height, window-buffer-height)
10889 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10890 (truncated-partial-width-window-p): Minor code adjustments.
10891 In doc-strings state whether the argument window has to denote a
10892 live, valid or any window.
10894 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10896 * progmodes/subword.el (subword-forward-function)
10897 (subword-backward-function, subword-forward-regexp)
10898 (subword-backward-regexp): New variables.
10899 (subword-forward, subword-forward-internal, subword-backward-internal):
10900 Use new variables, eg so that different "word" definitions
10901 can be easily used. (Bug#11411)
10903 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10906 for composite selectors.
10907 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10908 operation just because we can't find a previous revision.
10910 2012-08-15 Chong Yidong <cyd@gnu.org>
10912 * frame.el (set-frame-font): Accept font objects.
10914 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10916 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10918 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10920 * man.el (Man-overstrike-face, Man-underline-face)
10921 (Man-reverse-face): Remove variables.
10922 (Man-overstrike, Man-underline, Man-reverse): New faces.
10923 (Man-fontify-manpage): Use them instead of the variables.
10924 (Man-cleanup-manpage): Comment change.
10925 (Man-ansi-color-map): New variable.
10926 (Man-fontify-manpage): Use it.
10927 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10929 Implement ANSI SGR parameters 22-27 (bug#12146).
10930 * ansi-color.el (ansi-colors): Doc fix.
10931 (ansi-color-context, ansi-color-context-region): Doc fix.
10932 (ansi-color--find-face): New function.
10933 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10934 Rename the local variable `face' to `codes' since it is now a list of
10935 ansi codes. Doc fix.
10936 (ansi-color-get-face): Remove.
10937 (ansi-color-parse-sequence): New function, derived from
10938 ansi-color-get-face.
10939 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10942 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10944 * subr.el (read-passwd): Allow use from a minibuffer.
10946 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10948 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10949 inside comments and strings as identifiers.
10951 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10952 expression to evaluate. This allows to evaluate expressions with
10953 embedded whitespace.
10954 (gud-tooltip-tips): Add a blank before the newline in the
10955 message-box text, for the benefit of message-box emulation on
10958 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10959 messages from GDB, pop them up in a tooltip to give feedback to
10961 (gdb-tooltip-print-1): Quote the expression to evaluate.
10962 This allows to evaluate expressions with embedded whitespace.
10963 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10964 if the TTY name is nil or empty (which happens when communicating
10965 with the inferior via pipes, e.g. on MS-Windows).
10966 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10967 don't send that to the GUD buffer.
10969 2012-08-14 Glenn Morris <rgm@gnu.org>
10971 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10972 Optimize away setq-default with no args, as for setq. (Bug#12195)
10974 2012-08-14 Chong Yidong <cyd@gnu.org>
10976 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10978 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10981 2012-08-14 Glenn Morris <rgm@gnu.org>
10983 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10985 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10987 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10988 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10989 Use cached shell name.
10991 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10993 * progmodes/python.el (python-shell-send-string):
10994 (python-shell-send-setup-code): Do not use `format' with `message'.
10996 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10998 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10999 (ruby-percent-literal-beg-re): New constant.
11000 (ruby-syntax-general-delimiters-goto-beg): Rename to
11001 `ruby-syntax-enclosing-percent-literal', improve literal type check.
11002 (ruby-syntax-propertize-general-delimiters): Rename to
11003 `ruby-syntax-propertize-percent-literal', it's a shorter and more
11004 popular term. Adjust comments everywhere.
11005 (ruby-syntax-propertize-percent-literal): Only propertize when not
11006 inside a simple string or comment. When the literal is unclosed,
11007 leave the text after it unpropertized.
11008 (ruby-syntax-methods-before-regexp): New constant.
11009 (ruby-syntax-propertize-function): Use it to recognize regexps.
11010 Don't look at the text after regexp, just use the whitelist.
11012 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
11014 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
11015 non-nil always load the compiled file if it exists. (Bug#12197)
11017 2012-08-14 Chong Yidong <cyd@gnu.org>
11019 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
11020 (hi-lock-set-pattern): When deciding whether to use font lock or
11021 overlays, look at font-lock-mode instead of font-lock-fontified
11023 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
11024 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
11026 2012-08-14 Daiki Ueno <ueno@unixuser.org>
11028 * subr.el (internal--after-with-selected-window): Fix typo
11031 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
11033 Use `completion-table-dynamic' for completion functions.
11034 * progmodes/python.el
11035 (python-shell-completion--do-completion-at-point)
11036 (python-shell-completion--get-completions):
11038 (python-shell-completion-complete-at-point): New function.
11039 (python-completion-complete-at-point): Use it.
11041 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
11043 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
11044 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
11046 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11048 * subr.el (function-get): Refine `autoload' arg so it can also
11049 autoload functions for gv.el (bug#12191).
11050 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
11053 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
11054 Prefer pcase-let over destructuring-bind.
11055 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
11056 Also, remove whitespace as we go, rather than after accumulating the
11059 * subr.el (internal--before-with-selected-window)
11060 (internal--after-with-selected-window): Fix typo seleted->selected.
11061 (with-selected-window): Adjust callers.
11062 Reported by Dmitry Gutov <dgutov@yandex.ru>.
11064 2012-08-13 Bastien Guerry <bzg@gnu.org>
11066 * window.el (special-display-popup-frame): Minor docstring
11067 enhancement. (Bug#12172)
11069 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
11071 * tar-mode.el (tar-header-data-end): Only ignore size for files of
11073 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11076 * files.el (hack-local-variables-filter): Remove useless eval.
11078 2012-08-13 Martin Rudalics <rudalics@gmx.at>
11080 * subr.el (with-selected-window): Fix last change.
11082 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * subr.el (internal--before-with-seleted-window)
11085 (internal--after-with-seleted-window): New functions.
11086 (with-selected-window): Use them, to replace dependency on
11089 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
11091 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
11092 binding for `newline'.
11093 (ruby-move-to-block): When moving backward, stop at block opening,
11095 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
11096 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
11097 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11098 `ruby-toggle-block'.
11100 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11102 * ibuffer.el (ibuffer-do-toggle-read-only):
11103 * dired.el (dired-toggle-read-only):
11104 * buff-menu.el (Buffer-menu-toggle-read-only):
11105 * bindings.el (mode-line-toggle-read-only):
11106 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11108 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11110 * descr-text.el (describe-char): Put the overlays over the
11111 "displayed as" character.
11113 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11115 * calc/calc-units.el (math-default-units-table): Give an
11117 (math-put-default-units): Add options to put composite units and
11118 unit systems in the default units table.
11119 (calc-convert-units): Send composite units to
11120 `math-put-default-units' when appropriate.
11122 2012-08-11 Glenn Morris <rgm@gnu.org>
11124 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11126 * tutorial.el (help-with-tutorial):
11127 * emacs-lisp/copyright.el (copyright-update-directory):
11128 * emacs-lisp/autoload.el (autoload-find-generated-file)
11129 (autoload-find-file): Disable local eval: (for insurance).
11131 * files.el (hack-local-variables-filter): If an eval: form is not
11132 known to be safe, and enable-local-variables is :safe, then ignore
11133 the form totally, as is done for non-eval forms. (Bug#12155)
11134 This is CVE-2012-3479.
11136 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11138 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11139 (rx-form): Simplify.
11141 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11143 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11144 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11145 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11146 (ruby-syntax-propertize-function): Adjust for changes in
11147 `ruby-syntax-propertize-heredoc'.
11149 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11151 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11152 binding (use `M-;' instead).
11153 (ruby-singleton-class-p): New function.
11154 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11156 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11158 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11160 2012-08-10 Chong Yidong <cyd@gnu.org>
11162 * progmodes/python.el (python-shell-get-process-name): Don't mess
11163 with same-window-buffer-names.
11165 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11166 (eshell-remove-from-window-buffer-names): Make obsolete.
11167 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11168 (eshell): Just use pop-to-buffer-same-window instead.
11170 2012-08-10 Chong Yidong <cyd@gnu.org>
11172 * bindings.el: Bind M-= back to count-words-region.
11174 * simple.el (count-words-region): Accept a prefix arg for acting
11175 on the entire buffer.
11176 (count-words--buffer-message): New helper function.
11178 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11181 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11182 (event-start, event-end): Use posn-at-point to return a more
11184 (posnp): New function.
11185 * mouse.el (popup-menu-normalize-position): Use it.
11187 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11189 * mouse.el (popup-menu-normalize-position): New function.
11190 (popup-menu): Use `popup-menu-normalize-position' to normalize
11191 the form for POSITION argument.
11193 * term/x-win.el (x-menu-bar-open):
11194 Use the value returend from (posn-at-point) as position
11195 passed to `popup-menu'.
11197 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11199 * calc/calccomp.el (math-compose-expr): Add extra argument
11200 indicating that parentheses should be put around products in
11201 denominators. Give multiplication precedence over division during
11204 2012-08-09 Chong Yidong <cyd@gnu.org>
11206 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11207 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11208 (Man-untabify-command, manual-program): Convert to defcustom
11211 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11213 * descr-text.el (describe-char): Don't insert extra newlines
11216 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11217 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11219 * align.el (align-region): Delete temporary markers (Bug#10047).
11220 Plus some code cleanups.
11222 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11224 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11225 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11226 (python-shell-internal-last-output): Use make-local-variable
11227 instead of make-variable-buffer-local.
11229 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11231 * progmodes/python.el: Enhancements to forward-sexp.
11232 (python-nav-forward-sexp): Rename from
11233 python-nav-forward-sexp-function.
11234 (python-nav--forward-sexp, python-nav--backward-sexp):
11237 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11239 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11240 modes and simplification modes.
11242 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * delsel.el (delete-selection-pre-hook): Don't propagate the
11245 file-supersession signals (bug#12161).
11247 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11249 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11250 (cl-map-extents): Add compatibility aliases (bug#12135).
11252 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11254 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11255 tests by `ignore-error'.
11256 (tramp-find-shell): Open also a new shell, when cache is already
11257 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11259 2012-08-08 Juri Linkov <juri@jurta.org>
11261 * bookmark.el: Add `defaults' property to the bookmark record.
11262 (bookmark-current-buffer): Doc fix.
11263 (bookmark-make-record): Add `defaults' property with default values
11264 to the bookmark record.
11265 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11266 with `bookmark-insert-current-bookmark'.
11267 (bookmark-set): Get `defaults' property from the bookmark record
11268 and use it in `read-from-minibuffer'.
11269 (bookmark-insert-current-bookmark): Remove function.
11271 * info.el (Info-bookmark-make-record): Add `defaults' property
11272 with values of canonical Info node name, the current Info file
11273 name and the current Info node name. (Bug#12107)
11275 2012-08-08 Juri Linkov <juri@jurta.org>
11277 * files.el (basic-save-buffer): Use `buffer-name' as the default
11278 of `read-file-name' when buffer is not visiting a file (bug#12128).
11280 2012-08-08 Juri Linkov <juri@jurta.org>
11282 * info.el (Info-isearch-search): Doc fix.
11283 (Info-search): Change search-failed message from "initial node" to
11284 "end of node" (bug#12078).
11285 (Info-isearch-search): Change `isearch-string-state' to
11286 `isearch--state-string'.
11288 2012-08-08 Glenn Morris <rgm@gnu.org>
11290 * language/persian.el: Remove file.
11291 * language/misc-lang.el: Move unique part of persian.el here.
11292 * loadup.el: Remove language/persian.
11294 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
11296 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11298 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
11300 * progmodes/python.el: Fix defsubst warning.
11301 (python-syntax-context) Rename from python-info-ppss-context.
11302 (python-syntax-context-type): Rename from
11303 python-info-ppss-context-type.
11304 (python-syntax-comment-or-string-p): Rename from
11305 python-info-ppss-comment-or-string-p.
11307 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11309 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11311 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11313 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11314 a defcustom that is quoted with backquote.
11316 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11317 Fix handling of interactive spec when the body uses return.
11318 (math-do-arg-check, math-define-function-body): Use backquote forms.
11319 * calc/calc-ext.el (math-defcache): Likewise.
11320 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11321 * allout.el (allout-new-exposure): Likewise.
11322 * calc/calcalg2.el (math-tracing-integral): Likewise.
11323 * info.el (Info-last-menu-item): Likewise.
11324 * emulation/vip.el (vip-loop): Likewise.
11325 * textmodes/artist.el (artist-funcall): Likewise.
11326 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11327 Construct menu-item directly.
11329 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11332 2012-08-07 Chong Yidong <cyd@gnu.org>
11334 * simple.el (deactivate-mark): Preserve text properties when
11335 saving the primary selection (Bug#8384).
11337 2012-08-07 Kevin Ryde <user42@zip.com.au>
11339 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11340 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11341 and continue processing (Bug#12110).
11343 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11345 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11346 syntax-propertize-function (bug#10095).
11348 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11350 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11351 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11352 describe-function-1.
11353 (describe-function-1): Use them. Move compiler macro after sig.
11354 (help-fns--compiler-macro): Use function-get. Assume we're already in
11355 standard-output. Adjust layout to new call order.
11357 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11358 re-binding a symbol that has a symbol-macro (bug#12119).
11360 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11362 * language/persian.el: New file. (Bug#11812)
11363 * loadup.el: Add language/persian.el.
11365 2012-08-06 Chong Yidong <cyd@gnu.org>
11367 * window.el (window--maybe-raise-frame): New function.
11368 (window--display-buffer): Split off from here.
11369 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11370 (display-buffer-pop-up-window, display-buffer-use-some-window):
11371 Obey an inhibit-switch-frame action alist entry.
11372 (display-buffer): Update doc.
11374 * replace.el (occur-after-change-function): Avoid losing focus by
11375 using the inhibit-switch-frame display parameter (Bug#12139).
11377 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
11379 Make internal shell process buffer names start with space.
11380 * progmodes/python.el (python-shell-make-comint): Add optional
11382 (run-python-internal): Use it.
11383 (python-shell-internal-get-or-create-process): Check for new
11384 internal buffer names.
11386 2012-08-06 Glenn Morris <rgm@gnu.org>
11388 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11389 Do less getting and setting of environment variables.
11391 2012-08-05 Chong Yidong <cyd@gnu.org>
11393 * proced.el (proced): Add substitution string to docstring to
11394 trigger autoloading of the proced library on C-h f (Bug#1768).
11396 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11397 Don't show defvars which have no second argument (Bug#8638).
11399 * imenu.el (imenu-generic-expression): Move documentation here
11400 from imenu--generic-function.
11401 (imenu--generic-function): Refer to imenu-generic-expression.
11403 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
11405 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11406 indentation declaration.
11407 (viper-loop): Add indentation declaration (Bug#7025).
11409 2012-08-05 Chong Yidong <cyd@gnu.org>
11411 * help-fns.el (describe-variable): Add hyperlink for
11412 directory-local variables files. Improve buffer-local and
11413 permanent-local reporting; suggested by MON KEY (Bug#6644).
11415 * help-mode.el (help-dir-local-var-def): New button type.
11417 * files.el (kill-buffer-hook): Provide a defvar.
11419 2012-08-05 Glenn Morris <rgm@gnu.org>
11421 * eshell/esh-ext.el (eshell/addpath):
11422 Also update eshell-path-env. (Bug#12013)
11424 2012-08-05 Chong Yidong <cyd@gnu.org>
11426 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11428 * fringe.el (fringe-styles): Add docstring.
11429 (fringe--check-mode): New function.
11430 (set-fringe-mode, set-fringe-style): Use it.
11431 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11433 * files.el (set-auto-mode): Fix invalid setq call.
11435 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11437 * isearch.el: Misc simplification; use defstruct.
11438 (isearch-mode-map): Dense maps now work like sparse ones.
11439 (isearch--state): New defstruct.
11440 (isearch-string-state, isearch-message-state, isearch-point-state)
11441 (isearch-success-state, isearch-forward-state)
11442 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11443 (isearch-wrapped-state, isearch-barrier-state)
11444 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11445 replaced by defstruct's accessors.
11446 (isearch--set-state): Rename from isearch-top-state and change
11447 calling convention.
11448 (isearch-push-state): Use new isearch--get-state.
11449 (isearch-toggle-word): Disable regexp when enabling word.
11450 (isearch-message-prefix): Remove unused arg _c-q-hack.
11451 (isearch-message-suffix): Remove unused arg _ellipsis.
11453 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11455 * simple.el (list-processes--refresh): For a server use :host or
11456 :local as the address.
11457 (list-processes): Doc fix.
11459 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11461 * lisp/mpc.el: Support password in host argument.
11462 (mpc--proc-connect): Parse and use new password element.
11463 Set mpc-proc variable instead of returning process.
11464 (mpc-proc): Adjust accordingly.
11466 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11468 * whitespace.el (whitespace-display-mappings): Use Unicode
11469 codepoints, instead of emacs-mule codepoints. See
11470 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11473 * files.el (file-truename): Don't skip symlink-chasing part on
11474 windows-nt. Incorporate the resolution of 8+3 short aliases on
11475 Windows into the loop that recursively chases symlinks.
11476 Compare directory and its parent case-insensitively on MS-Windows and
11479 2012-08-03 Chong Yidong <cyd@gnu.org>
11481 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11483 * sort.el (sort-regexp-fields): Doc fix.
11485 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11487 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11488 labels regex position point at the expected place.
11490 2012-08-03 MON KEY <monkey@sandpframing.com>
11492 * net/imap.el (imap-interactive-login, imap-authenticate)
11493 (imap-mailbox-lsub, imap-mailbox-list)
11494 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11495 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11496 (imap-parse-response): Doc fix.
11498 2012-08-03 João Távora <joaotavora@gmail.com>
11500 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11501 if sexp scanning does not move point (Bug#5734).
11503 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11505 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11506 Add listings, minted, and ctable packages.
11507 (reftex-label-alist-builtin): Move listings, minted, and ctable
11508 entries before LaTeX.
11509 (reftex-label-alist): Docfix.
11511 2012-08-02 Bastien Guerry <bzg@gnu.org>
11513 * replace.el (occur): Fix docstring (bug#12122).
11515 2012-08-02 Glenn Morris <rgm@gnu.org>
11517 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11519 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11521 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11522 * international/mule-cmds.el: Create
11523 inactivate-current-input-method-function as an obsolete alias for
11524 deactivate-current-input-method-function. See Katsumi Yamaoka in
11525 <http://bugs.gnu.org/10150#46>.
11527 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11529 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11532 2012-08-01 Glenn Morris <rgm@gnu.org>
11534 * progmodes/autoconf.el (autoconf-definition-regexp):
11535 Add AH_TEMPLATE, adjust submatch numbering.
11536 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11537 (autoconf-current-defun-function): Update for above change.
11538 (autoconf-current-defun-function): First skip to end of current word.
11540 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11542 * calendar/cal-html.el (cal-html-insert-agenda-days):
11543 Fix typo. (Bug#12018)
11545 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11547 Shell processes: enhancements to startup and CEDET compatibility.
11548 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11549 (python-shell-make-comint): accept-process-output at startup.
11550 (run-python-internal): Set inferior-python-mode-hook to nil.
11551 (python-shell-internal-get-or-create-process): Call sit-for.
11552 (python-preoutput-result): Add obsolete alias.
11553 (python-shell-internal-send-string): Use it.
11554 (python-shell-send-setup-code): Remove call to
11555 accept-process-output.
11557 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11559 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11562 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11564 * calc-mode.el (calc-basic-simplification-mode): Rename from
11565 `calc-limited-simplification-mode'.
11566 (calc-alg-simplification-mode): New function.
11567 (calc-set-simplify-mode): Adjust message.
11569 * calc.el (calc-set-mode-line): Adjust mode line display for
11570 basic simplification mode.
11572 * calc-help.el (calc-m-prefix-help): Update help message.
11574 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11575 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11577 2012-07-31 Bastien Guerry <bzg@gnu.org>
11579 * man.el (man): Fix comment. (bug#12101)
11581 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11583 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11584 Don't return a non-nil value when no suitable buffer was found.
11586 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11588 * progmodes/python.el (run-python-internal): Disable font lock for
11591 2012-07-30 Stefan Merten <smerten@oekonux.de>
11593 * textmodes/rst.el: Silence `checkdoc-ispell'.
11594 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11595 (rst-official-version, rst-official-cvs-rev)
11596 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11597 (rst-mode-map): New key binding.
11599 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11601 Update .PHONY listings in makefiles.
11602 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11603 autoloads, update-subdirs, updates, bzr-update, update-authors,
11604 compile-onefile, compile-calc, backup-compiled-files,
11605 compile-after-backup, compile-one-process, mh-autoloads,
11606 bootstrap-clean, distclean, maintainer-clean.
11608 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11610 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11611 (calc-set-mode-line): Don't display "AlgSimp ".
11613 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11614 (calc-lim-simplify-mode): New function.
11615 (calc-set-simplify-mode): Default to 'alg.
11616 (calc-default-simplify-mode): Make algebraic simplifications
11619 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11620 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11622 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11623 indicate new simplification modes.
11625 * calc/README: Mention new default simplification mode.
11627 * calc/calc.el (math-normalize-error): New variable.
11628 (math-normalize): Set `math-normalize-error' to t
11629 when there's an error.
11631 * calc/calc-alg.el (math-simplify): Don't simplify when
11632 `math-normalize' returns an error.
11634 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11636 * international/mule-cmds.el (set-locale-environment): Revert last
11637 change, since display-graphic-p returns nil when this function is
11638 called during startup. Instead...
11640 * term/w32console.el (terminal-init-w32console): ...setup the
11641 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11643 2012-07-29 Juri Linkov <juri@jurta.org>
11645 * simple.el (goto-line): Don't display default line number in the
11646 prompt because it should be displayed by `read-number' (bug#9952).
11647 Add the current line number to the defaults of `goto-line' to
11648 allow its easier modification by users with `M-n' (bug#9201).
11650 * subr.el (read-number): Support multiple default values like in
11651 other minibuffer reading functions. Replace `read' with
11652 `string-to-number' for consistency with `number-to-string'.
11654 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11656 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11657 * emulation/viper-init.el (viper-deactivate-input-method-action):
11658 Rename from viper-inactivate-input-method-action.
11659 (viper-deactivate-input-method):
11660 Rename from viper-inactivate-input-method.
11661 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11662 * international/mule-cmds.el (deactivate-input-method):
11663 Rename from inactivate-input-method.
11664 Also run input-method-deactivate-hook.
11665 (deactivate-current-input-method-function):
11666 Rename from inactivate-current-input-method-function.
11667 (input-method-deactivate-hook): New hook.
11668 (input-method-inactivate-hook): Mark obsolete.
11669 (inactivate-input-method): Mark obsolete.
11671 * international/quail.el (quail-activate):
11672 Also run quail-deactivate-hook.
11673 (quail-deactivate): Rename from quail-inactivate.
11674 * international/robin.el (robin-activate):
11675 Also run robin-deactivate-hook.
11676 (robin-deactivate): Rename from robin-inactivate.
11678 2012-07-29 Chong Yidong <cyd@gnu.org>
11680 * simple.el (indicate-copied-region): New function.
11681 (kill-ring-save): Split off from here.
11683 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11684 (kill-rectangle): Set deactivate-mark to t on read-only error.
11686 * register.el (copy-to-register, copy-rectangle-to-register):
11687 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11688 (append-to-register, prepend-to-register): Call indicate-copied-region.
11690 2012-07-29 Juri Linkov <juri@jurta.org>
11692 * simple.el (async-shell-command-buffer): New defcustom.
11693 (shell-command): Use it. (Bug#4719)
11695 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11697 * international/mule-cmds.el (set-locale-environment): In a
11698 console session on MS-Windows, set up keyboard and terminal
11699 encoding from the OEM codepage, not the ANSI codepage.
11702 2012-07-28 Chong Yidong <cyd@gnu.org>
11704 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11707 2012-07-28 Leo Liu <sdl.web@gmail.com>
11709 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11710 the alist (bug#12029).
11712 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11714 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11715 (compile-always, compile-first)
11716 ($(lisp)/calendar/cal-loaddefs.el)
11717 ($(lisp)/calendar/diary-loaddefs.el)
11718 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11719 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11720 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11721 instead of on update-subdirs.
11722 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11724 2012-07-28 Chong Yidong <cyd@gnu.org>
11726 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11727 directory if vc-deduce-backend returns nil (Bug#7350).
11729 * simple.el (delete-trailing-lines): New option.
11730 (delete-trailing-whitespace): Obey it (Bug#11879).
11732 2012-07-28 David Engster <deng@randomsample.de>
11734 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11735 Explanation of new 'symbol-qnames feature in doc-strings.
11736 (xml-maybe-do-ns): Return expanded names as plain symbols if
11737 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11738 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11740 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11742 Consistent completion in inferior python with emacs -nw.
11743 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11744 binding in inferior-python-mode-map with "\t".
11745 (python-shell-completion-complete-at-point)
11746 (python-completion-complete-at-point): Remove interactive spec.
11748 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11750 * calc/calccomp.el (math-compose-expr): Undo previous change.
11752 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11754 * progmodes/python.el (python-mode-map): Add keybinding for
11756 (python-shell-make-comint): Fix pop-to-buffer call.
11757 (run-python): Autoload. New arg SHOW.
11758 (python-shell-get-or-create-process): Do not pop python process
11761 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11763 * notifications.el (notifications-on-action-signal)
11764 (notifications-on-closed-signal): Use also the bus address for the map.
11765 (notifications-notify, notifications-close-notification)
11766 (notifications-get-capabilities): Add optional argument BUS.
11768 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11770 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11771 Add support for the lstlisting and minted environments, and for the
11773 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11774 labels written in keyvals syntax.
11776 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11778 * calc/calccomp.el (math-compose-expr): Use parentheses when
11779 there is a product in the denominator of a fraction.
11781 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11783 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11784 ($(lisp)/calendar/diary-loaddefs.el)
11785 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11786 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11787 Fixes failures in parallel bootstrap because subdirs.el is being
11788 rewritten while the autoload files are built at the same time,
11789 which needs to load subdirs.el.
11791 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11793 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11794 (mouse-drag-line): Don't exit tracking when a switch-frame or
11795 switch-window event occurs (Bug#12006).
11797 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11799 * mouse.el (popup-menu): Fix last change.
11801 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11803 Autoload from Lisp with more care. Follow aliases when looking for
11804 function properties.
11805 * subr.el (autoloadp): New function.
11806 (symbol-file): Use it.
11807 (function-get): New function.
11808 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11810 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11811 (lisp-indent-function):
11812 * emacs-lisp/gv.el (gv-get):
11813 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11814 * emacs-lisp/byte-opt.el (byte-optimize-form):
11815 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11816 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11818 * emacs-lisp/cl.el: Don't propagate function properties any more.
11820 * speedbar.el (speedbar-add-localized-speedbar-support):
11821 * emacs-lisp/disass.el (disassemble-internal):
11822 * desktop.el (desktop-load-file):
11823 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11824 (describe-function-1):
11825 * emacs-lisp/find-func.el (find-function-noselect):
11826 * emacs-lisp/elp.el (elp-instrument-function):
11827 * emacs-lisp/advice.el (ad-has-proper-definition):
11828 * apropos.el (apropos-safe-documentation, apropos-macrop):
11829 * emacs-lisp/debug.el (debug-on-entry):
11830 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11831 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11832 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11834 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11836 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11837 function, not an obsolete variable (Bug#12046).
11839 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11841 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11843 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11845 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11846 window only if it is still live (Bug#12034).
11848 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11850 * subr.el (redirect-frame-focus): Add advertised calling
11851 convention (Bug#12030).
11853 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11855 Prefer typical American spelling for "acknowledgment".
11856 * vc/add-log.el (change-log-acknowledgment): Rename from
11857 change-log-acknowledgement, with an alias for the old name.
11859 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11861 * calc-alg.el (math-simplify-divide): Don't cross multiply
11862 in an equation when the lhs is a variable.
11864 2012-07-24 Julien Danjou <julien@danjou.info>
11866 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11869 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11871 * startup.el (command-line): Don't display an empty user name in
11872 the error message about non-existent home directory, when
11873 init-file-user was set to an empty string. See
11874 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11875 for the details and context.
11877 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11879 * ses.el (ses-cell-formula-aset): New macro.
11880 (ses-cell-references-aset): New macro.
11881 (ses-cell-p): New function.
11882 (ses-rename-cell): Do no longer rely on complex operations like
11883 ses-cell-set-formula or ses-set-cell to change the cell and handle
11884 the undo at the same time, but rather use lower level new macros
11885 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11886 the undo directly. Refresh the mode line.
11888 2012-07-21 Leo Liu <sdl.web@gmail.com>
11890 * progmodes/cc-cmds.el (c-defun-name):
11891 Use match-string-no-properties instead for consistency.
11893 2012-07-20 Leo Liu <sdl.web@gmail.com>
11895 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11898 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11900 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11902 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11903 * progmodes/bug-reference.el, misearch.el: Provide themselves
11906 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11907 of narrowed buffer (bug#11966).
11909 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11911 * ses.el (ses-rename-cell): Set new name also in reference list of
11912 cells of which the renamed cell depends.
11914 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11916 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11917 to check whether menu-bar is shown or not. If not shown,
11918 show the menu-bar as a popup menu instead of using tmm.
11919 * mouse.el (popup-menu): Accept `point' as `position' argument.
11921 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11923 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11924 up inside string symbol literal (bug#11923).
11926 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11928 * startup.el (fancy-startup-text): Read the whole tutorial, not
11929 just its first 256 bytes. Prevents gibberish in display of the
11932 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11934 Drop idle buffer compaction due to an absence of the
11936 * compact.el: Remove.
11938 2012-07-19 Sam Steingold <sds@gnu.org>
11940 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11941 vc-bzr-pull & vc-bzr-merge-branch.
11942 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11943 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11944 for consistency with compilation-error-regexp-alist.
11945 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11946 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11947 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11948 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11950 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11952 * emacs-lisp/chart.el: Use lexical-binding.
11953 (chart-emacs-storage): Don't hardcode the list of entries.
11955 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11957 Next round of tweaks caused by Fgarbage_collect changes.
11958 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11960 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11962 Compact buffers when idle.
11963 * compact.el: New file.
11965 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * subr.el (eventp): Presume that if it looks vaguely like an event,
11968 it's an event (bug#10190).
11970 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11972 Enhancements to ppss related code (thanks Stefan).
11973 * progmodes/python.el (python-indent-context)
11974 (python-indent-calculate-indentation, python-indent-dedent-line)
11975 (python-indent-electric-colon, python-nav-forward-block)
11976 (python-mode-abbrev-table)
11977 (python-info-assignment-continuation-line-p): Simplify checks
11979 (python-info-continuation-line-p): Cleanup.
11980 (python-info-ppss-context): Do not catch 'quote.
11981 (python-info-ppss-context-type)
11982 (python-info-ppss-comment-or-string-p): Simplify.
11984 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11986 * progmodes/python.el: Enhancements to eldoc support.
11987 (python-info-current-symbol): New function.
11988 (python-eldoc-at-point): Use python-info-current-symbol.
11989 (python-info-current-defun): Fix cornercase on first defun scan.
11990 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11991 and signal error when no inferior python process is available.
11993 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11995 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11996 assume it's always t.
11997 (vc-git-registered): Remove caching, the function is only called
11999 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
12001 2012-07-18 Chong Yidong <cyd@gnu.org>
12003 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
12005 * simple.el (count-words): Report on narrowing (Bug#9959).
12007 * bindings.el: Bind M-= to count-words.
12009 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
12011 2012-07-18 Masatake YAMATO <yamato@redhat.com>
12013 * progmodes/sh-script.el (sh-imenu-generic-expression):
12014 Capture a function with `function' keyword and without parentheses
12015 like "function FOO" (bug#11856).
12017 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
12019 * window.el (split-window-sensibly): Make WINDOW argument
12022 2012-07-18 Chong Yidong <cyd@gnu.org>
12024 * subr.el (keyboard-translate): Doc fix (Bug#7261).
12026 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
12027 and make C-x 8 RET exit isearch (Bug#11439).
12029 * international/iso-transl.el: Move isearch-mode-map key
12030 definitions to isearch.el.
12032 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
12034 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
12035 (eieio-defclass): Use gv-define-setter when possible.
12037 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
12039 Reflect recent changes in Fgarbage_collect.
12040 * emacs-lisp/chart.el (chart-emacs-storage): Change to
12041 reflect new format of data returned by Fgarbage_collect.
12043 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12045 New utility functions + python-info-ppss-context fix (Bug#11910).
12046 * progmodes/python.el (python-info-beginning-of-block-statement-p)
12047 (python-info-ppss-comment-or-string-p): New functions.
12048 (python-info-ppss-context): Small fix for string check.
12050 2012-07-17 Juri Linkov <juri@jurta.org>
12052 * dired-aux.el (dired-do-async-shell-command): Doc fix.
12053 (dired-do-async-shell-command): Don't add `*' at the end of the
12054 command (Bug#11815).
12055 (dired-do-shell-command): Doc fix.
12056 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
12057 Join the individual commands using either "&" or ";" as the
12058 separator depending on the values of these trailing characters.
12059 At the end re-add the trailing "&". (Bug#10598)
12061 * simple.el (async-shell-command): Sync the interactive spec with
12062 `shell-command'. Doc fix.
12063 (shell-command): Doc fix.
12065 2012-07-17 Juri Linkov <juri@jurta.org>
12067 * descr-text.el (describe-char): Fix format args. (Bug#10129)
12069 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12071 Final renames and doc fixes for movement commands (bug#11899).
12072 * progmodes/python.el (python-nav-beginning-of-statement):
12073 Rename from python-nav-statement-start.
12074 (python-nav-end-of-statement): Rename from
12075 python-nav-statement-end.
12076 (python-nav-beginning-of-block): Rename from
12077 python-nav-block-start.
12078 (python-nav-end-of-block): Rename from python-nav-block-end.
12080 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12082 * progmodes/python.el (python-shell-send-string-no-output):
12083 Allow accept-process-output to quit, keeping shell process ready for
12084 future interactions (Bug#11868).
12086 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12088 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
12090 * emacs-lisp/elint.el (elint-find-args-in-code):
12091 Use help-function-arglist, so as to handle lexical byte-code.
12093 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
12094 change (bug#11826).
12096 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12098 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
12099 Avoid spuriously marking the buffer as modified because of c-is-sws.
12101 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12102 as not-a-comment (bug#11946).
12104 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12105 for uninterned vars.
12107 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12108 Use read-event since we don't really want to read chars but bytes.
12110 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12111 $$..$$ but also $..$ using regexps (bug#11953).
12112 Use tex-verbatim for \url and \path.
12113 (tex-font-lock-keywords): Define as defconst like the others.
12114 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12116 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12118 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12119 alias for insert-char.
12121 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12123 * progmodes/python.el: Simplified imenu implementation.
12124 (python-nav-jump-to-defun): Remove command.
12125 (python-mode-map): Use `imenu' instead.
12126 (python-nav-list-defun-positions-cache)
12127 (python-imenu-include-defun-type, python-imenu-make-tree)
12128 (python-imenu-subtree-root-label, python-imenu-index-alist):
12130 (python-nav-list-defun-positions, python-nav-read-defun)
12131 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12132 (python-imenu-make-tree, python-imenu-create-index):
12134 (python-mode): Update to interact with imenu by setting
12135 `imenu-extract-index-name-function' only.
12137 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12139 * progmodes/python.el: Enhancements to navigation commands.
12140 (python-nav-backward-sentence)
12141 (python-nav-forward-sentence): Remove.
12142 (python-nav-backward-statement, python-nav-forward-statement)
12143 (python-nav-statement-start, python-nav-statement-end)
12144 (python-nav-backward-block, python-nav-forward-block)
12145 (python-nav-block-start, python-nav-block-end)
12146 (python-nav-forward-sexp-function)
12147 (python-info-current-line-comment-p)
12148 (python-info-current-line-empty-p): New functions.
12149 (python-indent-context): Use `python-nav-statement-start'.
12151 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12153 * eshell/em-ls.el (eshell/ls): Use `apply'.
12155 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12156 multi-hops, instead of Tramp internals.
12158 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12160 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12161 when F1 and F2 are located on different hosts.
12163 2012-07-14 Chong Yidong <cyd@gnu.org>
12165 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12166 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12167 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12168 (xterm-mouse--read-event-sequence-1000)
12169 (xterm-mouse--read-event-sequence-1006): New functions. For old
12170 mouse protocol, handle M-mouse-X events correctly.
12171 (xterm-mouse-event): New arg specifying mouse protocol.
12172 (turn-on-xterm-mouse-tracking-on-terminal)
12173 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12174 sequence to toggle extended coordinates on newer XTerms.
12175 This appears to be harmless on terminals which do not support this.
12177 2012-07-14 Leo Liu <sdl.web@gmail.com>
12179 Add fringe bitmap indicators for flymake. (Bug#11253)
12180 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12181 (flymake-make-overlay): New arg BITMAP.
12182 (flymake-error-bitmap, flymake-warning-bitmap)
12183 (flymake-fringe-indicator-position): New user variables.
12185 * fringe.el: New bitmap exclamation-mark.
12187 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12189 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12192 2012-07-14 Chong Yidong <cyd@gnu.org>
12194 * electric.el (electric-pair-post-self-insert-function): Fix pair
12195 insertion in empty-region case (Bug#11520).
12197 2012-07-14 Chong Yidong <cyd@gnu.org>
12199 * bindings.el: Consolidate ctl-x-r-map bindings.
12200 Bind copy-rectangle-as-kill to C-x r w.
12202 * rect.el, register.el: Move bindings to bindings.el.
12204 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12206 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12208 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12210 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12212 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12214 * bindings.el (top): Use `mapc' instead of `mapcar'.
12216 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12218 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12220 * progmodes/sql.el (sql-comint): Suppress the check for program on
12221 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12224 2012-07-13 Chong Yidong <cyd@gnu.org>
12226 * bindings.el: Assign a non-nil permanent-local property to
12227 per-buffer variables which lack a default value (Bug#11930).
12229 * help-fns.el (describe-variable): In the "automatically becomes
12230 local" notice, take note of permanent-local variables.
12232 2012-07-13 Chong Yidong <cyd@gnu.org>
12234 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12235 to allow printing the message when called from Lisp.
12237 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12238 Remove toggle-read-only.
12240 * bs.el (bs-toggle-readonly):
12241 * buff-menu.el (Buffer-menu-toggle-read-only):
12242 Remove with-no-warnings around toggle-read-only.
12244 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12245 Remove with-no-warnings around toggle-read-only.
12246 (ffap-read-only, ffap-read-only-other-window)
12247 (ffap-read-only-other-frame): Callers changed.
12249 * help-mode.el: Don't require view package.
12250 (help-mode-finish): Set buffer-read-only instead of calling
12253 * bindings.el (mode-line-toggle-read-only):
12254 * dired.el (dired-toggle-read-only):
12255 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12256 with non-nil second arg.
12258 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12259 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12262 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12264 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12267 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12269 More CL cleanups and reduction of use of cl.el.
12270 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12271 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12272 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12273 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12274 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12275 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12276 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12277 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12278 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12279 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12280 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12281 * eshell/em-cmpl.el, eshell/em-banner.el:
12282 * calendar/parse-time.el: Use cl-lib.
12283 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12284 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12285 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12286 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12287 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12288 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12289 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12290 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12291 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12292 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12293 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12294 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12295 `lambda' rather than with `quote'.
12296 (eshell-do-opt): Adjust accordingly.
12297 (eshell-process-option): Simplify.
12298 * eshell/esh-var.el:
12299 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12300 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12301 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12302 to `pcase--dontcare'.
12303 * emacs-lisp/cl.el (labels): Mark obsolete.
12304 (cl--letf, letf): Move to cl-lib.
12305 (cl--letf*, letf*): Remove.
12306 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12307 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12308 (cl-progv): Rewrite.
12309 (cl--letf, cl-letf): Move from cl.el.
12310 (cl-letf*): New macro.
12311 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12313 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12315 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12317 2012-07-11 Chong Yidong <cyd@gnu.org>
12319 * vc/log-edit.el (log-edit-vc-backend): New variable.
12320 (log-edit): Doc fix.
12322 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12323 argument of log-edit to set up all local variables.
12324 (vc-start-logentry): New optional arg specifying VC backend.
12326 * vc/vc.el (vc-checkin): Use it.
12327 (vc-deduce-fileset): Handle Log Edit buffers.
12328 (vc-diff): Make first argument optional too.
12330 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12332 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12334 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12335 command, just in case. The function is not needed anymore.
12336 (eshell-external-command): Do not call `eshell-remote-command'.
12338 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12340 Reduce use of (require 'cl).
12341 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12342 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12343 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12344 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12345 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12346 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12347 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12348 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12349 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12350 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12351 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12352 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12353 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12354 (byte-compile-unfold-bcf, byte-compile-check-variable):
12355 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12356 (byte-compile-nilconstp):
12357 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12358 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12360 * emacs-lisp/gv.el (cond): Make it a valid place.
12361 (if): Simplify slightly.
12363 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12364 (pcase--self-quoting-p): New function.
12365 (pcase--u1): Use it.
12367 2012-07-10 Glenn Morris <rgm@gnu.org>
12369 * emacs-lisp/authors.el (authors-fixed-entries):
12370 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12372 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12374 Rename configure.in to configure.ac (Bug#11603).
12375 * emacs-lisp/authors.el (authors-canonical-file-name):
12376 * progmodes/autoconf.el (autoconf-mode):
12377 Prefer configure.ac to configure.in.
12379 2012-07-08 Chong Yidong <cyd@gnu.org>
12381 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12382 Implement the mouse-1-click-follows-link handling properly.
12384 * info.el (Info-link-keymap): Use follow-link mechanism for
12385 header-line links (Bug#374).
12387 * simple.el (deactivate-mark): Do not set the primary selection
12388 if another program has acquired it (Bug#11772).
12390 2012-07-07 Kevin Ryde <user42@zip.com.au>
12392 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12393 (woman-decode-region): Replace escaped-escapes without destroying
12394 bold or underline (Bug#11552).
12395 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12397 2012-07-07 Chong Yidong <cyd@gnu.org>
12399 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12400 (interprogram-cut-function, interprogram-paste-function):
12401 Mention that we typically mean the clipboard.
12403 2012-07-06 Glenn Morris <rgm@gnu.org>
12405 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12407 * files.el (toggle-read-only): Restrict message to interactive use.
12409 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12411 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12413 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12415 2012-07-06 Glenn Morris <rgm@gnu.org>
12417 * Makefile.in (compile-one-process): Rename from "recompile".
12419 * Makefile.in (bzr-update): "compile" is the same as "recompile
12420 autoloads", but parallelizable, so use that instead.
12422 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12424 * window.el (quit-window): Always restore window height when
12425 it's saved in quit-restore parameter (Bug#11810).
12427 2012-07-06 Glenn Morris <rgm@gnu.org>
12429 * simple.el (kill-whole-line): Doc tweak.
12431 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12433 * files.el (file-relative-name): Compare file names
12434 case-insensitively if on MS-Windows or MS-DOS, or if
12435 read-file-name-completion-ignore-case is non-nil. Don't use
12436 case-fold-search for this purpose. (Bug#11827)
12438 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12440 * calendar/cal-dst.el (calendar-current-time-zone):
12441 Return calendar-current-time-zone-cache if non-nil.
12443 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12444 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12446 * calendar/cal-dst.el (calendar-current-time-zone):
12447 Return calendar-current-time-zone-cache if non-nil.
12449 2012-07-06 Glenn Morris <rgm@gnu.org>
12451 * Makefile.in (cvs-update): Remove old alias.
12453 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12455 Sync with Tramp 2.2.6-pre.
12457 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12458 compatible declaration.
12460 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12461 Protect `list-load-path-shadows' call.
12463 * net/tramp-compat.el (top): Require packages, which aren't
12464 autoloaded anymore for XEmacs. Protect call of
12465 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12466 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12467 it hurts at least for SXEmacs.
12468 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12469 standard-value for `temporary-file-directory'.
12471 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12472 Redirect stderr to /dev/null.
12473 (tramp-sh-handle-write-region): uid and gid can be floats.
12474 Reported by Russell Sim <russell.sim@gmail.com>.
12475 (tramp-sh-handle-vc-registered): Hide errors.
12476 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12477 and `start-file-process'.
12478 (tramp-maybe-open-connection): Check also whether `non-essential'
12481 2012-07-04 Chong Yidong <cyd@gnu.org>
12483 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12484 (xml-parse-tag): Likewise, and avoid changing entity tables.
12485 (xml-syntax-table): Define from scratch, making sure not to give
12486 x2000 and other Unicode spaces whitespace syntax, since those are
12488 (xml-parse-fragment): Delete unused function.
12489 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12490 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12491 (xml-entity-ref, xml-pe-reference-re)
12492 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12493 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12494 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12495 (xml-entity-value-re): Use syntax references in regexps where
12496 possible; no need to define inside a let-binding.
12497 (xml-parse-dtd): Use xml-pe-reference-re.
12498 (xml-entity-or-char-ref-re): New defconst.
12499 (xml-parse-string, xml-substitute-special): Use it.
12501 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12503 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12504 (find-file--read-only): New function.
12505 (find-file-read-only, find-file-read-only-other-window)
12506 (find-file-read-only-other-frame): Use it.
12507 (insert-file-contents-literally): Don't `fset'.
12508 (get-free-disk-space): Use locate-dominating-file.
12510 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12511 function is already compiled.
12513 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12515 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12517 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12518 files on the same host.
12520 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12522 * help-fns.el (describe-function-1): Only call
12523 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12525 2012-07-03 Chong Yidong <cyd@gnu.org>
12527 * xml.el: Protect parser against XML bombs.
12528 (xml-entity-expansion-limit): New variable.
12529 (xml-parse-string, xml-substitute-special): Use it.
12530 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12532 2012-07-03 Glenn Morris <rgm@gnu.org>
12534 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12535 Allow linking to specific messages in debbugs reports (eg 123#5).
12537 2012-07-02 Chong Yidong <cyd@gnu.org>
12539 * xml.el: Fix entity and character reference expansion, allowing
12540 them to expand into markup as per XML spec.
12541 (xml-default-ns): New variable.
12542 (xml-entity-alist): Use XML spec definitions for lt and amp.
12543 (xml-parse-region): Make first two arguments optional.
12544 Discard text properties.
12545 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12546 All callers changed.
12547 (xml-parse-tag): Call xml-parse-tag-1. For backward
12548 compatibility, this function should not modify buffer contents.
12549 (xml-parse-tag-1): Fix opening-tag regexp.
12550 (xml-parse-string): Rewrite, handling entity and character
12551 references properly.
12552 (xml--entity-replacement-text): Signal an error if a parameter
12553 entity is undefined.
12555 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * comint.el (comint-output-filter): Filter out repeated prompts.
12559 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12560 and file-name-absolute-p.
12561 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12564 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12567 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12568 Rename from byte-compile--refiy-function. All uses changed.
12570 2012-07-01 Chong Yidong <cyd@gnu.org>
12572 * xml.el (xml--parse-buffer): New function. Move most of
12573 xml-parse-region here.
12574 (xml-parse-region): Copy region into a temporary buffer, since
12575 parameter entity substitution requires changing buffer contents.
12576 Use xml--parse-buffer.
12577 (xml-parse-file): Use xml--parse-buffer.
12578 (xml-parse-dtd): Make parameter entity substitution work right.
12579 Use proper regexps for ELEMENT declarations (Bug#7172).
12581 2012-06-30 Glenn Morris <rgm@gnu.org>
12583 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12585 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12586 Remove outdated and unnecessary dbus declarations.
12588 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12590 * emacs-lisp/timer.el (timer-until): Subtract results of
12591 float-time, instead of taking float-time of the result of
12592 time-subtract, since float-time signals an error for negative time
12595 2012-06-30 Chong Yidong <cyd@gnu.org>
12597 * xml.el (xml-*-re): Convert defvars into defconsts, and
12598 eval-and-compile them so eval-and-compile works on derivatives.
12599 (xml--entity-replacement-text): Use eval-and-comple.
12601 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12603 * vc/vc-git.el (vc-git-registered): Use cache property
12605 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12606 `vc-git-working-revision' in order to benefit from the cache.
12607 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12609 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12611 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12612 removed (likely outside Emacs). (Bug#11757)
12614 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12616 * emacs-lisp/cl-lib.el: Require macroexp.
12618 2012-06-30 Chong Yidong <cyd@gnu.org>
12620 * xml.el: Implement XML parameter entities.
12621 (xml-parameter-entity-alist): New variable.
12622 (xml-parse-region, xml-parse-fragment): Preserve previous values
12623 of xml-entity-alist and xml-parameter-entity-alist, so that
12624 repeated calls on different documents do not change them.
12625 (xml-parse-tag): Fix doctype regexp.
12626 (xml--entity-replacement-text): New function.
12627 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12628 properly requires url retrieval which is unimplemented.
12629 (xml-escape-string): Doc fix.
12631 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12635 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12637 * fringe.el (fringe-mode): Doc fix.
12639 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12641 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12643 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12644 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12646 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12648 * calendar/cal-dst.el (calendar-current-time-zone):
12649 Return calendar-current-time-zone-cache if non-nil.
12651 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12653 * progmodes/which-func.el (which-func-format):
12654 Add mouse-face. (Bug#11698)
12656 2012-06-29 Leo Liu <sdl.web@gmail.com>
12658 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12660 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12662 * minibuffer.el (minibuffer-confirm-exit-commands):
12663 Add completion-at-point (bug#11725).
12665 2012-06-29 Glenn Morris <rgm@gnu.org>
12667 * progmodes/f90.el (f90-font-lock-keywords-2):
12668 Add some preprocessor elements. (Bug#10499)
12670 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12673 Use syntax-propertize (bug#11739).
12675 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12677 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12679 2012-06-28 Julien Danjou <julien@danjou.info>
12681 * term.el (term-handle-colors-array): Use a set of new faces to
12682 color the terminal. Also uses :inverse-video property.
12683 (term-default-fg-color): Set to nil by default, deprecate in favor
12685 (term-default-bg-color): Set to nil by default, deprecate in favor
12687 (term-current-face): Use `term-face' by default.
12688 (term-bold-attribute): Variable deleted.
12690 2012-06-28 Glenn Morris <rgm@gnu.org>
12692 * simple.el (completion-list-mode-finish):
12693 Don't use toggle-read-only. (Since completion-list-mode has
12694 a special mode-class, it wasn't doing anything extra anyway.)
12696 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12698 Make inlining of other-mode interpreted functions work (bug#11799).
12699 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12700 (byte-compile): Use it to fix compilation of lexical-binding closures.
12701 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12702 function, if needed.
12704 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12706 * help-mode.el (help-make-xrefs): Don't just withstand
12707 cyclic-variable-indirection but any error in documentation-property.
12709 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12711 * bindings.el (bindings--define-key): New function.
12712 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12713 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12714 * bindings.el: Use it to purecopy define-key bindings.
12716 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12718 * emacs-lisp/cl.el (flet): Mark obsolete.
12719 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12720 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12721 * progmodes/js.el (js-c-fill-paragraph):
12722 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12723 (ebrowse-switch-member-buffer-to-derived-class):
12724 * play/5x5.el (5x5-solver): Use cl-flet.
12726 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12727 (cl--symbol-function): New macro.
12728 (cl--letf, cl--letf*): Use it.
12730 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12731 Strip "toggle-" if any.
12733 2012-06-27 Glenn Morris <rgm@gnu.org>
12735 * info.el (Info-default-directory-list): Move here from paths.el.
12736 * paths.el: Remove file, which is now empty.
12737 * loadup.el: No longer load "paths".
12739 * custom.el (custom-initialize-delay): Doc fix.
12741 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12742 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12743 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12744 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12745 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12746 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12747 * eshell/eshell.el (eshell-defgroup): Remove alias.
12749 2012-06-27 Chong Yidong <cyd@gnu.org>
12751 * help.el (help-enable-auto-load): New variable.
12753 * help-fns.el (help-fns--autoloaded-p): New function.
12754 (describe-function-1): Refer to a function as "autoloaded" if it
12755 was autoloaded at any time in the past. Perform autoloading if
12756 help-enable-auto-load is non-nil.
12758 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12760 * makefile.w32-in (compile, compile-always): Depend on
12761 update-subdirs, not on subdirs.el. Otherwise, several different
12762 sub-targets of 'bootstrap' running in parallel could
12763 simultaneously write to subdirs.el, producing a garbled file.
12765 2012-06-26 Sam Steingold <sds@gnu.org>
12767 * files.el (file-name-base): New convenience function.
12768 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12769 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12770 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12771 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12772 * textmodes/ispell.el, textmodes/reftex-ref.el:
12773 * textmodes/tex-mode.el: Use it.
12774 Did not touch cedet and org because they are maintained elsewhere.
12776 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12778 * calendar/calendar.el (calendar-exit): Don't try to delete or
12779 iconify last frame. See:
12780 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12782 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12784 * server.el (server-process-filter): Remember dir in the
12785 process's `server-client-directory' properties.
12787 2012-06-24 Chong Yidong <cyd@gnu.org>
12789 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12792 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12794 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12796 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12798 * help-fns.el (describe-variable): Don't croak when doc is not found.
12799 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12800 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12801 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12802 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12803 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12805 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12807 2012-06-23 Chong Yidong <cyd@gnu.org>
12809 * info.el (Info-mouse-follow-link): Accept symbol values of
12810 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12811 (Info-fontify-node): Use Info-link-keymap for all navigation
12812 buttons, with link-args property to perform the desired action.
12813 (Info-link-keymap): Doc fix.
12814 (Info-next-link-keymap, Info-prev-link-keymap)
12815 (Info-up-link-keymap): Delete now-unused keymaps.
12817 2012-06-23 Chong Yidong <cyd@gnu.org>
12819 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12821 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12824 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12826 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12828 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12831 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12832 the requote function doesn't work properly (bug#11714).
12834 2012-06-23 Glenn Morris <rgm@gnu.org>
12836 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12838 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12840 Further GV/CL cleanups.
12841 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12843 (gv--defun-declaration): New function.
12844 (defun-declarations-alist): Use it.
12845 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12846 (gv-place): Autoload.
12847 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12848 original definition of dotimes and dolist.
12849 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12850 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12851 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12852 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12853 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12854 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12855 to the function's definition.
12856 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12860 * env.el: Don't use CL.
12862 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12864 Support higher-resolution time stamps (Bug#9000).
12866 * calendar/time-date.el (with-decoded-time-value): New arg
12867 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12868 (encode-time-value): New optional arg PICO. New type 3.
12869 (time-to-seconds) [!float-time]: Support the new picoseconds
12870 component if it's used.
12871 (seconds-to-time, time-subtract, time-add):
12872 Support ps-resolution time stamps as well.
12874 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12875 (timerp): Timer vectors now have length 9, not 8.
12876 (timer--time): Support new-style (4-part) time stamps.
12877 (timer-next-integral-multiple-of-time): Time stamps now have
12878 picosecond resolution, so take a bit more care about rounding.
12879 (timer-relative-time, timer-inc-time): New optional arg psecs.
12880 (timer-set-time-with-usecs): Set psecs to 0.
12881 (timer--activate): Check psecs component, too.
12883 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12885 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12887 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12888 Move the non-essential binding to the post/pre-command-hook where it is
12889 more obviously correct.
12891 * subr.el (read-passwd): Don't use a history at all.
12892 * savehist.el (savehist-save): Remove password saved accidentally
12893 because of the above bug.
12895 2012-06-22 Bastien Guerry <bzg@gnu.org>
12897 * files.el (toggle-read-only): Display a message telling whether
12898 the buffer is read-only or not (bug#11726).
12900 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12902 * emacs-lisp/gv.el: New file.
12903 * subr.el (push, pop): Extend to generalized variables.
12904 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12905 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12906 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12907 gv-define-simple-setter, and gv-define-expander.
12908 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12909 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12910 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12911 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12912 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12914 (cl-defstruct): Don't define setf-method any more.
12915 * emacs-lisp/cl.el (flet): Don't autoload.
12916 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12917 (define-setf-expander, defsetf, define-modify-macro)
12918 (cl-struct-setf-expander): Move from cl-lib.el.
12919 * emacs-lisp/syntax.el:
12920 * emacs-lisp/ewoc.el:
12921 * emacs-lisp/smie.el:
12922 * emacs-lisp/cconv.el:
12923 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12924 (timer--time): Use gv-define-simple-setter.
12925 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12926 to avoid coding-system problems in subr.el. Adjust all users.
12927 (macroexp--maxsize, macroexp-small-p): New functions.
12928 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12929 * scroll-bar.el (scroll-bar-mode):
12930 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12931 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12932 * winner.el (winner-configuration, winner-make-point-alist)
12933 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12934 * files.el (locate-file-completion-table): Avoid list*.
12936 2012-06-22 Chong Yidong <cyd@gnu.org>
12938 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12939 (dired-create-files): Doc fix (Bug#11329).
12940 (dired-do-copy): Doc fix (Bug#11334).
12941 (dired-mark-read-string): Doc fix (Bug#11553).
12943 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12944 Doc fix (Bug#11326).
12945 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12946 (dired-dwim-target): Doc fix.
12948 * wdired.el (wdired-mode): Doc fix.
12950 2012-06-22 Glenn Morris <rgm@gnu.org>
12952 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12953 (pcmpl-rpm-cache-stamp-file): New constant.
12954 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12955 (pcmpl-rpm-packages): Optionally cache list of packages.
12957 * pcmpl-rpm.el (pcmpl-rpm): New group.
12958 (pcmpl-rpm-query-options): New option.
12959 (pcmpl-rpm-packages): No need to inline it.
12960 Use pcmpl-rpm-query-options.
12962 * calendar/calendar.el (calendar-in-read-only-buffer):
12963 Avoid some needless mode changes.
12965 2012-06-21 Chong Yidong <cyd@gnu.org>
12967 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12968 (desktop-path): Remove . from the default value (Bug#10977).
12969 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12971 2012-06-20 Chong Yidong <cyd@gnu.org>
12973 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12975 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12977 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12980 2012-06-20 Chong Yidong <cyd@gnu.org>
12982 * term.el (term-window-width): Handle the case of a missing right
12984 (term-check-size): Use window-text-height (Bug#5445).
12985 (term-mode): Use define-derived-mode. Minor cleanups.
12986 Set font-lock-defaults (Bug#7692).
12987 (term-move-columns, term-insert-char, term-emulate-terminal)
12988 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12990 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12992 * net/ange-ftp.el (ange-ftp-get-passwd):
12993 Bind `enable-recursive-minibuffers'.
12994 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12996 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12998 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
13000 2012-06-19 Glenn Morris <rgm@gnu.org>
13002 * progmodes/python.el (python-mode): Derive from prog-mode.
13004 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
13006 * emulation/edt.el (edt-default-menu-bar-update-buffers)
13007 (edt-user-menu-bar-update-buffers): New functions.
13008 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
13010 2012-06-19 Chong Yidong <cyd@gnu.org>
13012 * subr.el (with-selected-window): Preserve the selected window's
13013 terminal's top-frame (Bug#4702).
13015 * window.el (save-selected-window): Likewise.
13017 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13019 * progmodes/python.el (python-rx-constituents): Move backquote.
13020 (python-skeleton-define, python-define-auxiliary-skeleton):
13023 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
13025 * minibuffer.el (read-file-name-default): Revert the patch from
13028 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13030 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
13031 (pcase--u1, pcase--q1): Don't use apply-partially.
13033 2012-06-18 Glenn Morris <rgm@gnu.org>
13035 * progmodes/python.el (python-proc, python-buffer)
13036 (python-send-receive, python-send-string): Fix obsolete versions.
13038 2012-06-18 Martin Rudalics <rudalics@gmx.at>
13040 * window.el (special-display-p): Completely remove stringp
13041 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13043 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
13045 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
13047 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
13049 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
13050 * net/tramp-sh.el (tramp-maybe-open-connection):
13051 Throw if `non-essential' is non-nil.
13053 2012-06-17 Martin Rudalics <rudalics@gmx.at>
13055 * window.el (special-display-p): Signal an error if BUFFER-NAME
13056 is not a string (Bug#11713).
13058 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
13060 * progmodes/python.el (python-info-beginning-of-backslash):
13061 Rename from python-info-beginning-of-backlash, as a spelling fix.
13063 2012-06-17 Chong Yidong <cyd@gnu.org>
13065 * term.el (term-emulate-terminal): If term-check-size is called,
13066 move point to the process mark without resetting point (Bug#4635).
13068 2012-06-17 Glenn Morris <rgm@gnu.org>
13070 * international/mule-cmds.el (mule-menu-keymap)
13071 (set-language-environment, set-locale-environment): Doc tweaks.
13073 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
13075 * cus-face.el (custom-face-attributes): Add wave-style underline
13077 * faces.el (set-face-attribute): Update docstring to describe
13078 wave-style underline attribute.
13080 2012-06-16 Chong Yidong <cyd@gnu.org>
13082 * term/xterm.el (terminal-init-xterm): Discard input before
13083 querying background mode (Bug#10959).
13085 2012-06-16 Stefan Merten <smerten@oekonux.de>
13087 * textmodes/rst.el: Added and corrected some comments.
13088 (rst-re-alist-def): Improve symbol syntax.
13089 (rst-mode-syntax-table): Correct syntax entries.
13090 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
13091 (rst-official-version, rst-official-cvs-rev): Update version
13094 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
13096 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13097 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
13099 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
13101 * progmodes/python.el: New python.el merge.
13102 (python-guess-indent): Obsolete var.
13103 (python-indent-guess-indent-offset): New defcustom.
13104 (python-indent): Obsolete var.
13105 (python-indent-offset): New defcustom.
13106 (python-python-command, python-jython-command): Delete var.
13107 (python-shell-interpreter): New defcustom.
13108 (python-pdbtrack-do-tracking-p): Delete var.
13109 (python-pdbtrack-activate): New defcustom.
13110 (python-use-skeletons): Obsolete var.
13111 (python-skeleton-autoinsert): New defcustom.
13112 (inferior-python-filter-regexp, python-continuation-offset)
13113 (python-honour-comment-indentation, python-indent-string-contents)
13114 (python-jython-packages, python-mode-hook)
13115 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13116 (python-shell-prompt-alist)
13117 (python-source-modes): Delete defcustoms.
13118 (python-check-buffer-name, python-eldoc-setup-code)
13119 (python-eldoc-string-code, python-ffap-setup-code)
13120 (python-ffap-string-code, python-fill-comment-function)
13121 (python-fill-decorator-function, python-fill-paren-function)
13122 (python-fill-string-function, python-imenu-include-defun-type)
13123 (python-imenu-make-tree, python-imenu-subtree-root-label)
13124 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13125 (python-shell-compilation-regexp-alist)
13126 (python-shell-completion-module-string-code)
13127 (python-shell-completion-pdb-string-code)
13128 (python-shell-completion-setup-code)
13129 (python-shell-completion-string-code)
13130 (python-shell-enable-font-lock, python-shell-exec-path)
13131 (python-shell-extra-pythonpaths)
13132 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13133 (python-shell-process-environment)
13134 (python-shell-prompt-block-regexp)
13135 (python-shell-prompt-output-regexp)
13136 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13137 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13138 (python-shell-virtualenv-path): New defcustoms.
13139 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13140 (inferior-python-mode-syntax-table, python--prompt-regexp)
13141 (python-buffer, python-command python-python-command)
13142 (python-default-template, python-imports, python-indent-index)
13143 (python-indent-list, python-indent-list-length)
13144 (python-mode-running, python-pdbtrack-is-tracking-p)
13145 (python-preoutput-continuation, python-preoutput-leftover)
13146 (python-preoutput-result, python-preoutput-skip-next-prompt)
13147 (python-prev-dir/file, python-recursing)
13148 (python-saved-check-command, python-version-checked)
13149 (python-which-func-length-limit)
13150 (view-return-to-alist): Delete vars.
13151 (python-check-custom-command, python-dotty-syntax-table)
13152 (python-imenu-index-alist, python-indent-current-level)
13153 (python-indent-dedenters, python-indent-levels)
13154 (python-nav-beginning-of-defun-regexp)
13155 (python-nav-list-defun-positions-cache)
13156 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13157 (python-shell-internal-buffer)
13158 (python-skeleton-available): New vars.
13159 (def-python-skeleton): Delete macro.
13160 (python-skeleton-define): New macro.
13161 (python-define-auxiliary-skeleton, python-rx): New macros.
13162 (python-insert-class): Delete command.
13163 (python-skeleton-class): New command.
13164 (python-insert-def): Delete command.
13165 (python-skeleton-def): New command.
13166 (python-insert-for): Delete command.
13167 (python-skeleton-for): New command.
13168 (python-insert-if): Delete command.
13169 (python-skeleton-if): New command.
13170 (python-insert-try/except, python-insert-try/finally): Delete commands.
13171 (python-skeleton-try): New command.
13172 (python-insert-while): Delete command.
13173 (python-skeleton-while): New command.
13174 (python-backspace): Delete command.
13175 (python-indent-dedent-line-backspace): New command.
13176 (python-electric-colon): Delete command.
13177 (python-indent-electric-colon): New command.
13178 (python-guess-indent): Delete command.
13179 (python-indent-guess-indent-offset): New command.
13180 (python-shift-left): Delete command.
13181 (python-indent-shift-left): New command.
13182 (python-shift-right): Delete command.
13183 (python-indent-shift-right): New command.
13184 (python-find-function): Delete command.
13185 (python-nav-jump-to-defun): New command.
13186 (python-next-statement): Delete command.
13187 (python-nav-forward-sentence): New command.
13188 (python-previous-statement): Delete command.
13189 (python-nav-backward-sentence): New command.
13190 (python-fill-paragraph): Delete command.
13191 (python-fill-paragraph-function): New command.
13192 (python-send-buffer): Delete command.
13193 (python-shell-send-buffer): New command.
13194 (python-send-defun): Delete command.
13195 (python-shell-send-defun): New command.
13196 (python-send-region, python-send-region-and-go): Delete commands.
13197 (python-shell-send-region)
13198 (python-shell-switch-to-shell): New commands.
13199 (python-send-string): Delete command.
13200 (python-shell-send-string): New command.
13201 (python-switch-to-python): Delete command.
13202 (python-shell-switch-to-shell): New command.
13203 (python-describe-symbol): Delete command.
13204 (python-eldoc-at-point): New command.
13205 (python--set-prompt-regexp, python-args-to-list)
13206 (python-after-info-look, python-check-version)
13207 (python-check-comint-prompt, python-find-imports)
13208 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13209 (python-unload-function, python-expand-template)
13210 (python-maybe-jython, python-preoutput-filter)
13211 (python-pdbtrack-get-source-buffer)
13212 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13213 (python-pdbtrack-toggle-stack-tracking)
13214 (python-pdbtrack-track-stack-file, python-initial-text)
13215 (python-first-word, python-comment-line-p, python-send-command)
13216 (python-setup-brm, python-sentinel, python-set-proc)
13217 (python-skip-out, python-input-filter, python-outdent-p)
13218 (python-outline-level, python-backslash-continuation-line-p)
13219 (python-end-of-block, python-end-of-statement, python-mark-block)
13220 (python-beginning-of-block, python-beginning-of-statement)
13221 (python-blank-line-p, python-beginning-of-string)
13222 (python-open-block-statement-p): Delete functions.
13223 (python-indent-line, python-indent-line-1): Delete functions.
13224 (python-indent-line): New function.
13225 (python-indentation-levels): Delete function.
13226 (python-indent-calculate-levels): New function.
13227 (python-proc): Delete function.
13228 (python-shell-get-process): New function.
13229 (python-send-receive): Delete function.
13230 (python-shell-send-string-no-output): New function.
13231 (python-module-path): Delete function.
13232 (python-ffap-module-path): New function.
13233 (python-completion-at-point)
13234 (python-symbol-completions): Delete functions.
13235 (python-completion-complete-at-point): New function.
13236 (python-load-file): Delete function.
13237 (python-shell-send-file): New function.
13238 (python-calculate-indentation): Delete function.
13239 (python-indent-calculate-indentation): New function.
13240 (python-skip-comments/blanks): Delete function.
13241 (python-util-forward-comment): New function.
13242 (python-continuation-line-p): Delete function.
13243 (python-info-continuation-line-p): New function.
13244 (python-which-func, python-current-defun): Delete function.
13245 (python-info-current-defun): New function.
13246 (python-beginning-of-defun): Delete function.
13247 (python-nav-beginning-of-defun): New function.
13248 (python-close-block-statement-p)
13249 (python-block-end-p): Delete function.
13250 (python-info-closing-block): New function.
13251 (python-comint-output-filter-function)
13252 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13253 (python-fill-comment, python-fill-decorator, python-fill-paren)
13254 (python-fill-string, python-imenu-make-element-tree)
13255 (python-imenu-make-tree, python-imenu-tree-assoc)
13256 (python-indent-context, python-indent-dedent-line)
13257 (python-indent-line-function)
13258 (python-indent-post-self-insert-function)
13259 (python-indent-toggle-levels)
13260 (python-info-assignment-continuation-line-p)
13261 (python-info-beginning-of-backlash)
13262 (python-info-block-continuation-line-p)
13263 (python-info-closing-block-message)
13264 (python-info-line-ends-backslash-p)
13265 (python-info-looking-at-beginning-of-defun)
13266 (python-info-ppss-context, python-info-ppss-context-type)
13267 (python-nav-list-defun-positions, python-nav-read-defun)
13268 (python-nav-sentence-end, python-nav-sentence-start)
13269 (python-pdbtrack-comint-output-filter-function)
13270 (python-pdbtrack-set-tracked-buffer)
13271 (python-shell-calculate-exec-path)
13272 (python-shell-calculate-process-environment)
13273 (python-shell-completion--do-completion-at-point)
13274 (python-shell-completion--get-completions)
13275 (python-shell-completion-complete-at-point)
13276 (python-shell-completion-complete-or-indent)
13277 (python-shell-get-or-create-process)
13278 (python-shell-get-process-name)
13279 (python-shell-internal-get-or-create-process)
13280 (python-shell-internal-get-process-name)
13281 (python-shell-internal-send-string, python-shell-make-comint)
13282 (python-shell-parse-command, python-shell-send-setup-code)
13283 (python-skeleton-add-menu-items)
13284 (python-util-clone-local-variables, python-util-position)
13285 (run-python-internal, python-indentation-levels)
13286 (python-nav-beginning-of-defun)
13287 (python-completion-complete-at-point): New functions.
13288 (run-python): Change arguments. New API requirements.
13290 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13292 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13295 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13296 (macroexp--expand-all): Use it.
13298 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13299 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13300 Use `cl-function' instead.
13302 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13304 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13305 Suggested by Stefan Monnier while discussing bug#11657.
13307 2012-06-14 Sam Steingold <sds@gnu.org>
13309 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13311 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13313 * play/doctor.el (doctor-doc): Remove parameter and use
13314 doctor-sent instead of sent.
13315 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13317 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13319 * files.el: Require cl-lib.
13320 (file-name-non-special): Replace case -> cl-case.
13322 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13324 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13325 mapping from #' to function*.
13327 2012-06-13 Chong Yidong <cyd@gnu.org>
13329 * mouse.el (mouse-drag-track): Do not set the mark if the user
13330 releases the mouse without selecting anything (Bug#11588).
13332 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13334 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13335 as well (bug#11646).
13337 * loadup.el: Count byte-code functions as well.
13339 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13340 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13342 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13343 (bug#11649). Add cl-defun and cl-defmacro.
13345 2012-06-13 Drew Adams <drew.adams@oracle.com>
13347 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13350 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13352 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13353 Otherwise, it blocks in batch mode.
13355 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13357 * help-mode.el (bookmark-make-record-default): Declare.
13359 2012-06-13 Chong Yidong <cyd@gnu.org>
13361 * emacs-lisp/package.el (list-packages): Compute a list of
13362 packages that are newly-available since the last list-packages
13364 (package-menu--new-package-list): New var.
13365 (package-menu--generate, package-menu--print-info)
13366 (package-menu--status-predicate, package-menu-mark-install):
13367 Handle new status label "new".
13369 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13371 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13372 conversion to backquotes.
13374 2012-06-12 Chong Yidong <cyd@gnu.org>
13376 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13377 Rename from gud-inhibit-global-bindings.
13379 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13381 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13382 hook from nxml-glyph-set-hook.
13384 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13387 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13389 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13390 Convert to defcustom.
13392 2012-06-12 Drew Adams <drew.adams@oracle.com>
13394 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13396 (help-mode): Use them.
13398 2012-06-11 Glenn Morris <rgm@gnu.org>
13400 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13401 Use preprocessor face for directives.
13402 (fortran-directive-re): Doc fix.
13404 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13406 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13407 conversion to backquotes (bug#11652).
13409 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13410 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13411 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13412 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13413 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13414 (cl-ninth, cl-tenth): Mark them as inlinable.
13415 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13416 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13417 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13418 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13419 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13420 (cl-list*, cl-adjoin): Don't put an autoload manually.
13421 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13422 (cl--compiler-macro-list*): Add autoload cookie.
13423 (cl--compiler-macro-cXXr): New function.
13425 * help-fns.el (help-fns--compiler-macro): New function extracted from
13426 describe-function-1; follow aliases and use `compiler-macro' property.
13427 (describe-function-1): Use it.
13429 2012-06-11 Chong Yidong <cyd@gnu.org>
13431 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13432 is uninstalled, if imagemagick is installed.
13434 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * emacs-lisp/cl-lib.el: Use lexical-binding.
13437 (cl-map-extents, cl-maclisp-member): Remove.
13438 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13439 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13440 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13441 * emacs-lisp/cl-extra.el: Use lexical-binding.
13442 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13443 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13444 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13445 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13446 * emacs-lisp/cl-seq.el: Use lexical-binding.
13447 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13448 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13449 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13450 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13451 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13454 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13456 Sync with Tramp 2.2.6-pre.
13458 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13459 `print-length' and `print-level' to nil, in order to avoid
13460 truncation. Reported by Christopher Schmidt
13461 <christopher@ristopher.com>.
13463 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13465 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13467 (tramp-compat-copy-directory): Add optional argument
13468 COPY-CONTENTS. It is not handled yet.
13470 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13471 (tramp-ftp-file-name-p): Simplify.
13473 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13474 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13477 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13478 (tramp-methods): Do not use `tramp-password-end-of-line'.
13479 (tramp-completion-function-alist-putty): Handle UNIX case.
13480 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13481 (tramp-do-file-attributes-with-stat)
13482 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13483 gid as real numbers. They could run out of integer range on cygwin.
13484 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13485 (tramp-sh-handle-expand-file-name): Handle hops.
13486 (tramp-open-connection-setup-interactive-shell):
13487 Use `tramp-cleanup'. Move check for busyboxes ...
13488 (tramp-find-shell): ... here. Simplify implementation.
13489 Set "remote-shell" property also for alternative shells.
13490 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13491 If failing, a regular file would be written otherwise.
13492 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13493 (tramp-find-inline-encoding): Cache the coding commands in the
13494 process cache. Apply test command on the remote side, if defined.
13495 (tramp-find-inline-compress): Cache the compress commands in the
13497 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13498 when requested. Handle hops.
13499 (tramp-current-connection): New defvar.
13500 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13501 Throw `suppress', if there was a failed connection shortly before.
13502 Handle user interrupt. (Bug#10187)
13503 (tramp-get-inline-compress, tramp-get-inline-coding):
13504 Read connection properties from the process cache.
13506 * net/tramp-smb.el (tramp-smb-server-version)
13507 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13509 (tramp-smb-prompt): Extend for powershell prompt.
13510 (tramp-smb-file-name-handler-alist): Add handlers for
13511 `process-file', `shell-command' and `start-file-process'.
13512 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13513 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13514 (tramp-smb-file-name-p): Simplify.
13515 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13516 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13517 (tramp-smb-shell-quote-argument): New defuns.
13518 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13519 Implement using "tar". By this, time-stamps are preserved.
13520 (tramp-smb-handle-copy-file): Handle also the case of directories.
13521 (tramp-smb-do-file-attributes-with-stat)
13522 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13523 Use `tramp-get-connection-buffer').
13524 (tramp-smb-handle-rename-file): Use "rename", when source and
13525 target are on the same share.
13526 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13527 Use `tramp-smb-server-version'.
13528 (tramp-smb-wait-for-output): Remove prompt.
13530 * net/tramp.el (top): Require 'cl.
13531 (tramp-methods, tramp-rsh-end-of-line):
13532 Remove `tramp-password-end-of-line' from docstring.
13533 (tramp-save-ad-hoc-proxies): New defcustom.
13534 (tramp-completion-function-alist): Adapt docstring.
13535 (tramp-default-password-end-of-line): Remove defcustom.
13536 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13537 (tramp-user-regexp, tramp-file-name-regexp-unified)
13538 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13539 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13540 (tramp-remote-file-name-spec-regexp): New defconst.
13541 (tramp-file-name-structure): Extend structure for hops.
13542 (tramp-get-method-parameter): Move up.
13543 (tramp-file-name-p, tramp-dissect-file-name)
13544 (with-parsed-tramp-file-name): Handle hops.
13545 (tramp-file-name-hop): New defun.
13546 (tramp-make-tramp-file-name): New optional arg HOP.
13547 (tramp-message-show-progress-reporter-message): New defvar.
13548 (tramp-with-progress-reporter): Use it. We cannot use
13549 `tramp-message-show-message' here, because this suppresses also
13551 (tramp-error-with-buffer): Suppress buffer view, if
13552 `tramp-message-show-message' is nil.
13553 Use `tramp-get-connection-buffer'.
13554 (tramp-cleanup): New defun.
13555 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13556 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13557 an error unchanged.
13558 (tramp-completion-handle-file-name-all-completions): Handle hops.
13559 Fix an error when called from ido.
13560 (tramp-completion-dissect-file-name): Use better local variable
13561 name. Add hop to the vector.
13562 (tramp-handle-insert-file-contents): Use progress-reporter for the
13564 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13566 (tramp-check-for-regexp): Simplify search.
13567 (tramp-enter-password): Remove it. Move implementation ...
13568 (tramp-action-password): ... here.
13569 (tramp-mode-string-to-int, tramp-local-host-p)
13570 (tramp-make-tramp-temp-file, tramp-read-passwd)
13571 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13572 Set tramp-autoload cookie.
13574 * net/trampver.el: Update release number.
13576 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13577 Michael Albinus <michael.albinus@gmx.de>
13579 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13580 (tramp-parse-group, tramp-parse-file)
13581 (tramp-parse-shostkeys-sknownhosts): New defuns.
13582 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13583 (tramp-parse-shosts-group, tramp-parse-sconfig)
13584 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13585 (tramp-parse-sknownhosts, tramp-parse-hosts)
13586 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13588 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13589 (tramp-parse-putty-group): Don't narrow.
13590 (tramp-parse-putty): Make a loop.
13591 (tramp-file-name-handler): Catch the `suppress' signal.
13593 2012-06-11 Chong Yidong <cyd@gnu.org>
13595 * image.el (imagemagick-register-types): Put the ImageMagick entry
13596 at the end of image-type-file-name-regexps.
13598 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13600 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13601 (pcase, pcase-let*, pcase-dolist): Use them.
13603 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13605 * emacs-lisp/pcase.el (pcase--let*): New function.
13606 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13607 (pcase--expand): Use macroexp-let².
13609 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13611 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13612 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13613 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13614 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13615 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13616 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13618 2012-06-10 Glenn Morris <rgm@gnu.org>
13620 * mail/rmail.el (rmail-yank-current-message): Leave point at
13621 correct position. (Bug#11660)
13623 2012-06-10 Chong Yidong <cyd@gnu.org>
13625 * allout-widgets.el: Fix code header.
13627 2012-06-10 Chong Yidong <cyd@gnu.org>
13629 * cus-edit.el (customize-changed-options-previous-release):
13632 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13634 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13636 2012-06-09 Chong Yidong <cyd@gnu.org>
13638 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13640 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13642 * window.el (special-display-popup-frame): Don't use
13643 window--display-buffer (Bug#11651).
13645 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13647 Fix parallel builds: make sure loaddefs.el is not being written
13648 while Lisp files are compiled.
13649 (compile): Don't depend on 'mh-autoloads'.
13650 (compile-CMD, compile-SH): Depend on 'autoloads'.
13651 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13653 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13655 2012-06-09 Chong Yidong <cyd@gnu.org>
13657 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13658 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13659 Doc fixes (Bug#11225).
13661 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13663 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13664 a function if there's a clear indication that it has a compiler-macro.
13665 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13666 (macro-declarations-alist): Add arglist to declaration functions.
13667 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13668 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13669 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13670 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13671 Also add autoload to find the compiler macro.
13672 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13673 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13674 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13675 (cl--compiler-macro-get): New functions, replacing calls to
13676 cl-define-compiler-macro.
13677 (cl-typep) [compiler-macro]: Use macroexp-let².
13679 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13681 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13682 string properly, fixes Bug#11473.
13684 2012-06-08 Chong Yidong <cyd@gnu.org>
13686 * faces.el (set-face-attribute): Doc fix.
13687 (modify-face): Don't use :bold and :italic.
13688 (error, warning, success): Tweak definitions.
13690 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13691 (custom-modified, custom-set, custom-changed, custom-themed)
13692 (custom-saved, custom-button, custom-button-mouse)
13693 (custom-button-pressed, custom-state, custom-comment-tag)
13694 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13695 (custom-group-subtitle): Use new-style face specs.
13696 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13697 (custom-set-face, custom-changed-face, custom-saved-face)
13698 (custom-button-face, custom-button-pressed-face)
13699 (custom-documentation-face, custom-state-face)
13700 (custom-comment-face, custom-comment-tag-face)
13701 (custom-variable-tag-face, custom-variable-button-face)
13702 (custom-face-tag-face, custom-group-tag-face-1)
13703 (custom-group-tag-face): Remove obsolete face alias.
13705 * epa.el (epa-validity-high, epa-validity-medium)
13706 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13707 (epa-field-name, epa-field-body):
13708 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13709 (font-lock-keyword-face, font-lock-builtin-face)
13710 (font-lock-function-name-face, font-lock-variable-name-face)
13711 (font-lock-type-face, font-lock-constant-face):
13712 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13713 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13714 * speedbar.el (speedbar-button-face, speedbar-file-face)
13715 (speedbar-directory-face, speedbar-tag-face)
13716 (speedbar-selected-face, speedbar-highlight-face)
13717 (speedbar-separator-face):
13718 * whitespace.el (whitespace-newline, whitespace-space)
13719 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13720 (whitespace-line, whitespace-space-before-tab)
13721 (whitespace-space-after-tab, whitespace-indentation)
13722 (whitespace-empty):
13723 * emulation/cua-base.el (cua-global-mark):
13724 * eshell/em-prompt.el (eshell-prompt):
13725 * net/newst-plainview.el (newsticker-new-item-face)
13726 (newsticker-old-item-face, newsticker-immortal-item-face)
13727 (newsticker-obsolete-item-face, newsticker-date-face)
13728 (newsticker-statistics-face, newsticker-default-face):
13729 * net/newst-reader.el (newsticker-feed-face)
13730 (newsticker-extra-face, newsticker-enclosure-face):
13731 * net/newst-treeview.el (newsticker-treeview-face)
13732 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13733 (newsticker-treeview-immortal-face)
13734 (newsticker-treeview-obsolete-face)
13735 (newsticker-treeview-selection-face):
13736 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13737 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13738 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13739 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13740 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13741 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13742 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13744 * progmodes/vera-mode.el (vera-font-lock-number)
13745 (vera-font-lock-function, vera-font-lock-interface):
13746 * textmodes/table.el (table-cell): Use new-style face specs, and
13747 don't use the old :bold and :italic attributes.
13749 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13750 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13751 (ebrowse-member-class, ebrowse-progress): Likewise.
13752 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13753 (ebrowse-file-name-face, ebrowse-default-face)
13754 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13755 (ebrowse-progress-face): Remove obsolete faces.
13757 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13758 Inherit from error and warning faces respectively.
13760 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13762 (flyspell-incorrect-face, flyspell-duplicate-face):
13763 Remove obsolete aliases.
13765 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13767 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13770 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13772 * startup.el (argv, argi): Make lexically scoped.
13773 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13774 * emacs-lisp/cl-macs.el: Use lexical-binding.
13775 Rename cl-bind-* to cl--bind-*.
13776 * files.el: Don't require `cl' since it doesn't use it.
13777 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13779 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13781 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13782 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13783 instead of calling external sort utility.
13784 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13786 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13788 * descr-text.el (describe-char): Mention how to insert the
13789 character, if the current input method doesn't support it.
13790 See the discussion in this thread for the details:
13791 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13793 2012-06-08 Sam Steingold <sds@gnu.org>
13795 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13796 XF86Back to previous-buffer.
13797 (minibuffer-local-map): Bind them to next-history-element and
13798 previous-history-element respectively.
13799 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13800 help-go-back respectively.
13801 * info.el (Info-mode-map): Bind them to Info-history-forward and
13802 Info-history-back respectively.
13803 These are the keys next to Up on the ThinkPad keyboard.
13805 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13807 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13808 * emacs-lisp/cl-macs.el: Provide itself.
13809 (cl--labels-convert-cache): New var.
13810 (cl--labels-convert): New function.
13811 (cl-flet, cl-labels): New implementation with new semantics, relying on
13813 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13814 (cl-closure-vars, cl--function-convert-cache)
13815 (cl--function-convert): Move from cl-macs.el.
13816 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13817 rename by removing the "cl-" prefix.
13818 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13820 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13822 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13823 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13824 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13825 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13826 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13827 (cl-hash-table-count): Add old compatibility aliases.
13829 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13830 Use macroexpand-all-environment instead.
13831 (cl--old-macroexpand): New var.
13832 (cl--sm-macroexpand): New function.
13833 (cl-symbol-macrolet): Use it during macro expansion.
13834 (cl--function-convert-cache): New var.
13835 (cl--function-convert): New function, extracted from
13836 cl-macroexpand-all.
13837 (cl-lexical-let): Use it.
13839 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13840 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13841 (cl-member): Remove old alias.
13843 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13844 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13845 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13846 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13847 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13848 (cl-macroexpand-cmacs): Remove var.
13849 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13850 Use macroexpand-all instead.
13852 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13854 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13855 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13856 (macroexp-copyable-p): New functions and macros.
13857 * emacs-lisp/edebug.el (edebug-unwrap):
13858 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13859 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13860 (pcase--let*): Remove.
13861 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13862 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13863 macroexp-const-p instead.
13864 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13866 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13867 instead of "cl-" for internal definitions. Use macroexp-const-p.
13868 (cl-old-bc-file-form): Remove var.
13869 (cl-const-exprs-p): Remove fun.
13870 (cl-labels, cl-macrolet): Use backquote.
13871 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13872 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13873 (cl-define-setf-expander): Rename from cl-define-setf-method.
13874 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13876 * international/mule-cmds.el: Don't require CL.
13877 (view-hello-file): Don't use `letf'.
13879 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13881 * tmm.el (tmm-prompt): Use string-prefix-p.
13882 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13883 (tmm-add-prompt): Use minibuffer-completion-help.
13884 (tmm-delete-map): Remove.
13886 * subr.el (kbd): Make it its own function.
13888 2012-06-07 Stefan Merten <smerten@oekonux.de>
13890 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13891 Silence compiler warnings. Fix versions.
13892 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13893 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13894 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13895 (rst-package-emacs-version-alist): Correct Emacs version to
13896 represent major merge with upstream.
13897 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13899 2012-06-06 Glenn Morris <rgm@gnu.org>
13901 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13902 Only print environment variables if set.
13904 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13906 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13907 (macroexp--cons): Rename from maybe-cons.
13908 (macroexp--accumulate): Rename from macroexp-accumulate.
13909 (macroexp--all-forms): Rename from macroexpand-all-forms.
13910 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13911 (macroexp--expand-all): Rename from macroexpand-all-1.
13913 2012-06-06 Sam Steingold <sds@gnu.org>
13915 * calendar/calendar.el (calendar-in-read-only-buffer):
13916 Call `special-mode' to enable the standard read-only keybindings.
13918 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13920 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13921 with "loading" messages (bug#11635).
13923 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13925 * files.el (enable-remote-dir-locals): New option.
13926 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13928 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13929 Ensure, that the temp directory is local.
13931 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13932 `temporary-file-directory'.
13934 * progmodes/python.el (python-send-region): Ensure, that the
13935 temporary file is created also in the remote case.
13937 2012-06-06 Glenn Morris <rgm@gnu.org>
13939 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13940 (vc-rcs-update-changelog): Use it.
13942 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13944 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13945 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13946 (vc-sccs-diff): Replace use of the external vcdiff script.
13948 2012-06-05 Glenn Morris <rgm@gnu.org>
13950 * ledit.el: Move to obsolete/.
13952 2012-06-05 Sam Steingold <sds@gnu.org>
13954 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13957 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * emacs-lisp/cust-print.el: Move to obsolete.
13961 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13962 compiler-macro expansion.
13964 Add native compiler-macro support.
13965 * emacs-lisp/macroexp.el (macroexpand-all-1):
13966 Support compiler-macros directly. Properly follow aliases and apply
13967 the compiler macros more thoroughly.
13968 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13969 macroexpand now properly follows aliases.
13970 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13971 (cl-compiler-macroexpand): Use new prop.
13972 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13974 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13976 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13978 * window.el (get-lru-window, get-mru-window, get-largest-window):
13979 New argument NOT-SELECTED to avoid picking the selected window.
13980 (window--display-buffer-1, window--display-buffer-2): Replace by
13981 new function window--display-buffer
13982 (display-buffer-same-window, display-buffer-reuse-window)
13983 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13984 Use window--display-buffer.
13985 (display-buffer-use-some-window): Remove temporary dedication
13986 hack by calling get-lru-window and get-largest-window with
13987 NOT-SELECTED argument non-nil. Call window--display-buffer.
13989 2012-06-05 Glenn Morris <rgm@gnu.org>
13991 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13992 Replace external vcdiff script.
13994 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13996 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13998 2012-06-04 Chong Yidong <cyd@gnu.org>
14000 * image.el (imagemagick-types-inhibit): Revert last change.
14002 (imagemagick-enabled-types): Remove CIN and EPS*.
14004 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14006 * emacs-lisp/cl-lib.el: Rename from cl.el.
14007 * emacs-lisp/cl.el: New compatibility file.
14008 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
14009 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
14010 to obey the "cl-" prefix.
14011 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
14013 2012-06-03 Glenn Morris <rgm@gnu.org>
14015 * emacs-lisp/authors.el (authors-aliases): Addition.
14017 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
14020 2012-06-03 Stefan Merten <smerten@oekonux.de>
14022 * textmodes/rst.el: Add comments.
14023 (rst-transition, rst-adornment): New faces.
14024 (rst-adornment-faces-alist): Make default safe to reevaluate.
14026 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
14027 Improve customization tags.
14028 (rst-define-level-faces): Clarify meaning.
14030 2012-06-03 Chong Yidong <cyd@gnu.org>
14032 * progmodes/compile.el (compilation-mode-line-fail)
14033 (compilation-mode-line-run, compilation-mode-line-exit):
14035 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
14037 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
14039 * progmodes/which-func.el (which-func-update-ediff-windows):
14040 New function. Use it in ediff-select-hook (Bug#11478).
14042 2012-06-03 Chong Yidong <cyd@gnu.org>
14044 * bindings.el: Remove explicit help text from format-mode-line.
14045 It is now supplied by mode-line-default-help-echo.
14046 (mode-line-front-space, mode-line-end-spaces)
14047 (mode-line-misc-info): New variables.
14048 (mode-line-modes, mode-line-position): Move the default value to
14049 the variable definition.
14050 (mode-line-default-help-echo): New defcustom.
14051 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
14052 (mode-line-modified-help-echo): New functions.
14053 (mode-line-mule-info, mode-line-modified): Use them.
14054 (mode-line-eol-desc, propertized-buffer-identification):
14055 Consistency fixes for help text.
14056 (mode-line-coding-system-map): Allow using mouse-3 to invoke
14057 set-buffer-file-coding-system (Bug#289).
14058 (mode-line-mule-info-help-echo): Update help text.
14060 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14062 * simple.el (execute-extended-command): Set real-this-command
14065 2012-06-02 Chong Yidong <cyd@gnu.org>
14067 Remove incorrect uses of "modeline" in comments, docstrings, and
14068 function/variable names (Bug#10329).
14070 * cus-edit.el (mode-line):
14071 * dframe.el (dframe-mouse-hscroll):
14072 * emacs-lisp/re-builder.el:
14073 * emacs-lisp/easy-mmode.el (define-minor-mode):
14074 * frame.el (set-frame-name):
14075 * help.el (lookup-minor-mode-from-indicator):
14076 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
14077 * progmodes/cc-cmds.el (c-toggle-auto-newline)
14078 (c-toggle-hungry-state):
14079 * progmodes/antlr-mode.el (antlr-language-alist):
14080 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
14081 * progmodes/vhdl-mode.el (vhdl-mode):
14082 * progmodes/which-func.el (which-func, which-func-cleanup-function):
14083 * term/ns-win.el (ns-face-at-pos):
14084 * term/sup-mouse.el (sup-mouse-report):
14085 * textmodes/flyspell.el (flyspell-mode-line-string):
14086 * textmodes/ispell.el (ispell-highlight-face):
14087 * textmodes/reftex-global.el:
14088 * vc/vc-arch.el (vc-arch-mode-line-string):
14089 * vc/vc-cvs.el (vc-cvs-mode-line-string):
14090 * vc/vc-git.el (vc-git-mode-line-string):
14091 * vc/vc-hooks.el (vc-display-status)
14092 (vc-default-mode-line-string):
14093 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
14095 * ansi-color.el (ansi-color-faces-vector): Change default faces.
14097 * dired.el (dired-sort-set-mode-line): Rename from
14098 dired-sort-set-modeline. All callers changed.
14100 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14101 eshell-status-in-modeline.
14103 * foldout.el (foldout-mode-line-string): Rename from
14104 foldout-modeline-string. All callers changed.
14105 (foldout-update-mode-line): Rename from foldout-update-modeline.
14107 * subr.el (redraw-modeline): Make into obsolete alias.
14109 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14110 timeclock-modeline-display. Make old name an alias.
14111 (timeclock-update-mode-line): Likewise. All callers changed.
14112 (timeclock-mode-line-display): No need to check before using
14114 (timeclock-relative, timeclock-day-over-hook)
14115 (timeclock-use-elapsed, timeclock-mode-string)
14116 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14118 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14119 crisp-mode-modeline-string.
14121 * play/solitaire.el (solitaire-build-mode-line): Rename from
14122 solitaire-build-modeline. All callers changed.
14124 * play/zone.el (zone-hiding-mode-line): Rename from
14125 zone-hiding-modeline. All callers changed.
14126 (zone): Remove unusued `modeline-hidden-level' property.
14128 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14129 xscheme-modeline-initialize. All callers changed.
14131 * strokes.el (strokes-lighter): Rename from
14132 strokes-modeline-string.
14134 * textmodes/sgml-mode.el (html-face-tag-alist)
14135 (html-tag-face-alist): Use mode-line face instead of obsolete
14138 2012-06-02 Stefan Merten <smerten@oekonux.de>
14140 * textmodes/rst.el: Always require `cl'.
14141 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14143 2012-06-02 Chong Yidong <cyd@gnu.org>
14145 * image.el (imagemagick-enabled-types): Rename from
14146 imagemagick-types-enable. Add many more types.
14147 (imagemagick-types-inhibit): Change default to nil.
14148 (imagemagick-filter-types): Caller changed.
14150 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14152 * emacs-lisp/cl-macs.el: Use backquotes.
14153 (cl-transform-function-property): Use eval-and-compile rather than
14155 (defstruct): Use declare-function instead of with-no-warnings.
14157 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14158 (byte-compile-output-docform): Re-add the print-circle bindings.
14159 (byte-compile-fix-header): Use #$ just because it's shorter.
14160 (byte-compile-output-file-form): Remove defun/defmacro.
14162 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14164 * simple.el (choose-completion): Remove now obsolete binding for
14167 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14169 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14170 in order to avoid "Stack overflow in regexp matcher".
14172 2012-05-31 Glenn Morris <rgm@gnu.org>
14174 * image.el: For clarity, call imagemagick-register-types at
14175 top-level, rather than relying on a custom :initialize.
14176 (imagemagick-types-enable): New option. (Bug#11557)
14177 (imagemagick-filter-types): New function. (Bug#7406)
14178 (imagemagick-register-types): Use imagemagick-filter-types.
14179 If disabling support, remove elements altogether rather
14180 than using an impossible regexp.
14181 (imagemagick-types-inhibit): Give it the default init function.
14183 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14186 Handle arbitrary file name lengths (Bug#11585).
14188 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14190 * desktop.el (desktop-read): Clear previous and next buffers for
14191 all windows and bury *Messages* buffer (bug#11556).
14193 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14195 Add `declare' for `defun'. Align `defmacro's with it.
14196 * emacs-lisp/easy-mmode.el (define-minor-mode)
14197 (define-globalized-minor-mode): Don't autoload the var definitions.
14198 * emacs-lisp/byte-run.el: Use lexical-binding.
14199 (defun-declarations-alist, macro-declarations-alist): New vars.
14200 (defmacro, defun): Use them.
14201 (make-obsolete, define-obsolete-function-alias)
14202 (make-obsolete-variable, define-obsolete-variable-alias):
14204 (macro-declaration-function): Mark obsolete.
14205 * emacs-lisp/autoload.el: Use lexical-binding.
14206 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14208 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14210 * textmodes/ispell.el (ispell-with-no-warnings):
14212 (ispell-kill-ispell, ispell-change-dictionary):
14213 Use `called-interactively-p' for Emacs instead of obsolete
14216 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14218 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14219 (macro-declaration-function): Move var from C code.
14220 (macro-declaration-function): Define function with defalias.
14221 * emacs-lisp/macroexp.el (macroexpand-all-1):
14222 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14223 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14224 defun/defmacro any more.
14225 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14226 Provide fallback for unknown arglist.
14227 (byte-compile-arglist-warn): Change calling convention.
14228 (byte-compile-output-file-form): Move print-vars binding.
14229 (byte-compile-output-docform): Simplify accordingly.
14230 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14231 (byte-compile-defmacro-declaration): Remove.
14232 (byte-compile-file-form-defmumble): Generalize to defalias.
14233 (byte-compile-output-as-comment): Return byte-positions.
14234 Simplify callers accordingly.
14235 (byte-compile-lambda): Use `assert'.
14236 (byte-compile-defun, byte-compile-defmacro): Remove.
14237 (byte-compile-file-form-defalias):
14238 Use byte-compile-file-form-defmumble.
14239 (byte-compile-defalias-warn): Remove.
14241 2012-05-29 Stefan Merten <smerten@oekonux.de>
14243 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14244 possible. Fix authors. Improve comments. Improve loading of `cl'.
14246 (rst-mode-abbrev-table): Merge definition.
14247 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14248 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14250 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14252 * calendar/icalendar.el
14253 (icalendar-export-region): Export UID properly.
14255 2012-05-29 Leo Liu <sdl.web@gmail.com>
14256 * calendar/icalendar.el (icalendar-import-format):
14257 Add `icalendar-import-format-uid' (Bug#11525).
14258 (icalendar-import-format-uid): New.
14259 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14262 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14264 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14265 different alternative patterns.
14266 (pcase-codegen): Be more careful to preserve identity.
14267 (pcase--u1): Don't forget to mark vars as used.
14269 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14270 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14271 (byte-compile-from-buffer): ...rather than here.
14273 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14274 functions from byte-compile-function-environment.
14276 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14278 * window.el (window-deletable-p): Avoid deleting the root window
14279 of a frame with an active minibuffer.
14281 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14283 * simple.el (choose-completion): Use quit-window (Bug#11567).
14285 2012-05-29 Chong Yidong <cyd@gnu.org>
14287 * whitespace.el (whitespace-cleanup): Fix usage of
14288 whitespace-empty-at-bob-regexp (Bug#11492).
14290 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14292 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14293 revert (Bug#11488).
14295 2012-05-29 Juri Linkov <juri@jurta.org>
14297 * isearch.el (isearch-mode-map): Bind `M-s _' to
14298 `isearch-toggle-symbol'. Bind `M-s c' to
14299 `isearch-toggle-case-fold'.
14300 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14301 (isearch-forward): Add `M-s _' to the docstring.
14302 (isearch-forward-symbol, isearch-toggle-case-fold)
14303 (isearch-symbol-regexp): New functions. (Bug#11381)
14305 2012-05-29 Juri Linkov <juri@jurta.org>
14307 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14308 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14309 a function, call it to get the regexp.
14310 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14311 property `isearch-message-prefix' instead of the string "word ".
14312 (isearch-search-fun-default): For the case of `isearch-word',
14313 return a lambda that calls re-search-forward/re-search-backward
14314 with a regexp returned by `word-search-regexp' or by the function
14317 2012-05-29 Juri Linkov <juri@jurta.org>
14319 * isearch.el (isearch-search-fun-default): New function.
14320 (isearch-search-fun): Move default part to the new function
14321 `isearch-search-fun-default'.
14322 (isearch-search-fun-function): Set the default value to
14323 `isearch-search-fun-default'. (Bug#11381)
14325 * comint.el (comint-history-isearch-end):
14326 Use `isearch-search-fun-default'.
14327 (comint-history-isearch-search): Use `isearch-search-fun-default'
14328 and remove spacial case for `isearch-word'.
14329 (comint-history-isearch-wrap): Remove spacial case for
14332 * hexl.el (hexl-isearch-search-function):
14333 Use `isearch-search-fun-default'.
14335 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14336 Use `word-search-regexp' for `isearch-word'.
14338 * misearch.el (multi-isearch-search-fun):
14339 Use `isearch-search-fun-default'.
14341 * simple.el (minibuffer-history-isearch-search):
14342 Use `isearch-search-fun-default' and remove spacial case for
14344 (minibuffer-history-isearch-wrap): Remove spacial case for
14347 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14348 Remove spacial case for `isearch-word'.
14349 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14351 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14353 Decrease XEmacs incompatibilities.
14354 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14355 Use `string-match'.
14356 (flyspell-delete-region-overlays): Use alternative definition for
14358 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14359 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14360 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14361 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14362 `define-obsolete-face-alias' under XEmacs, but old method.
14364 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14365 `with-no-warnings' definition or Emacs alias.
14366 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14367 (ispell-word): Do not use `region-p' if XEmacs.
14369 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14371 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14372 Check for `ispell-dictionary-base-alist' instead of full
14373 `ispell-dictionary-alist'.
14374 (ispell-init-process): Show spellchecker when starting new Ispell
14377 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14379 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14380 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14382 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14384 * version.el (motif-version-string, gtk-version-string)
14385 (ns-version-string): Declare.
14387 2012-05-27 Juri Linkov <juri@jurta.org>
14389 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14390 after the `eval-defun-1' specialcaseing
14391 like in `edebug-eval-defun' (bug#10181).
14393 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14394 like in `eval-defun-1'.
14396 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14398 * mail/sendmail.el (mail-yank-region):
14399 Recognize rmail-yank-current-message in addition to insert-buffer.
14400 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14401 a *mail* buffer created through rmail-start-mail with sendmail as
14404 2012-05-27 Chong Yidong <cyd@gnu.org>
14406 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14407 Default to 256 (Bug#11267).
14409 * help.el (describe-mode): Doc fix.
14411 2012-05-26 Glenn Morris <rgm@gnu.org>
14413 * w32-fns.el (w32-init-info): Remove.
14414 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14416 * info.el (info-initialize): For self-contained NS builds, put the
14417 included info/ directory at the front. (Bug#2791)
14419 * paths.el (Info-default-directory-list): Make it a defcustom,
14420 mainly so that we can use custom-initialize-delay.
14422 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14424 * subr.el (buffer-has-markers-at): Mark obsolete.
14426 * subr.el (lambda): Use declare.
14428 * emacs-lisp/lisp-mode.el (lambda):
14429 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14431 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14433 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14435 2012-05-26 Glenn Morris <rgm@gnu.org>
14437 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14439 2012-05-25 Glenn Morris <rgm@gnu.org>
14441 * paths.el: Remove no-byte-compile.
14442 * loadup.el: No need to load paths.el uncompiled.
14444 * image.el (imagemagick-types-inhibit): Doc fix.
14446 * version.el: Remove no-byte-compile and associated formatting.
14447 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14448 is ancient code from when there was an "inc-vers.el".
14450 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14452 * progmodes/gdb-mi.el: Minor style changes.
14453 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14454 Turn into minor modes.
14455 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14456 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14457 (gdb-shell): Remove unneeded let-binding.
14458 (gdb-get-many-fields): Eliminate O(n²) behavior.
14460 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14462 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14463 platforms that don't link in fontset.c.
14465 2012-05-25 Juri Linkov <juri@jurta.org>
14467 Use the same diff color scheme as in modern VCSes (bug#10181).
14469 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14470 to avoid confusion with `diff-added' that now uses green colors.
14471 (diff-removed): Use shades of red.
14472 (diff-added): Use shades of green.
14473 (diff-changed): Leave just the yellow color.
14474 (diff-use-changed-face): New variable.
14475 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14476 how to highlight context diff changes.
14477 (diff-refine-change): Use shades of yellow.
14478 (diff-refine-removed): New face that uses shades of red.
14479 (diff-refine-added): New face that uses shades of green.
14480 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14481 `diff-refine-removed' in the call to `smerge-refine-subst'
14482 depending on the value of `diff-use-changed-face'.
14484 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14485 (smerge-other): Use shades of green.
14486 (smerge-base): Use shades of yellow.
14487 (smerge-refined-change): Empty face.
14488 (smerge-refined-removed): New face that uses shades of red.
14489 (smerge-refined-added): New face that uses shades of green.
14490 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14491 args `props-r' and `props-a', and use them. Doc fix.
14492 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14493 on its value use different faces `smerge-refined-change',
14494 `smerge-refined-removed', `smerge-refined-added' in the call to
14495 `smerge-refine-subst'.
14497 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14498 Add face condition `min-colors 88' with shades of red.
14499 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14500 `min-colors 88' with shades of green.
14501 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14502 `min-colors 88' with shades of yellow.
14504 2012-05-24 Glenn Morris <rgm@gnu.org>
14506 * paths.el (prune-directory-list, remote-shell-program): Move to...
14507 * files.el (prune-directory-list, remote-shell-program): ...here.
14508 For the latter, delay initialization, prefer ssh, just search PATH.
14510 * paths.el (term-file-prefix): Move to faces.el (the only user).
14511 * faces.el (term-file-prefix): Move here, make it a defcustom.
14513 * paths.el (news-directory, news-path, news-inews-program):
14514 Move to gnus/nnspool.el.
14516 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14518 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14519 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14520 Make the latter a defcustom, with a delayed initialization.
14522 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14523 These were deleted from Gnus itself late 2010.
14525 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14527 * progmodes/which-func.el (which-func-ff-hook):
14528 Check against user-error, not error.
14530 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14531 cl-specs.el, which no longer exists.
14533 2012-05-22 Glenn Morris <rgm@gnu.org>
14535 * info.el (info-emacs-bug): New command.
14536 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14537 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14539 2012-05-21 Glenn Morris <rgm@gnu.org>
14541 * makefile.w32-in (update-subdirs-SH):
14542 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14544 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14546 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14549 Simplify Maven regexp, and make sure the file can't start with a space
14552 2012-05-21 Glenn Morris <rgm@gnu.org>
14554 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14555 Scrap superfluous subshells.
14557 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14559 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14560 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14562 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14564 * calc/calc.el (calc-ensure-consistent-units): New variable.
14566 * calc/calc-units.el (math-consistent-units-p)
14567 (math-check-unit-consistency): New functions.
14568 (calc-quick-units, calc-convert-units):
14569 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14571 (calc-extract-units): Fix typo.
14573 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14575 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14577 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14578 (flyspell-default-deplacement-commands): Don't spell check after
14579 repeated window/frame switches (e.g. triggered by mouse-movement).
14580 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14581 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14582 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14583 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14584 Remove unused vars.
14585 (flyspell-get-casechars, flyspell-get-not-casechars):
14586 Simplify; Don't bother removing a ] just to add it back.
14587 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14589 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14591 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14593 (math-function-table): Add support for more C functions.
14595 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14597 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14598 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14599 Protect delay handling for otherchars against empty otherchars.
14601 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14603 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14604 their respective macro declarations.
14605 * skeleton.el (define-skeleton):
14606 * progmodes/compile.el (define-compilation-mode):
14607 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14608 (define-ibuffer-filter):
14609 * emacs-lisp/generic.el (define-generic-mode):
14610 * emacs-lisp/easy-mmode.el (define-minor-mode)
14611 (define-globalized-minor-mode):
14612 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14613 * emacs-lisp/byte-run.el (defsubst):
14614 * custom.el (deftheme): Add doc-string metadata.
14616 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14618 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14620 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14622 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14624 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14625 * emacs-lisp/cl-macs.el: Idem.
14626 * emacs-lisp/cl-specs.el: Remove.
14628 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14630 Minor renaming of internal CL functions and variables.
14631 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14632 (cl--position): Rename from cl-position.
14633 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14634 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14635 (cl--random-state): Rename from *random-state*.
14637 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14639 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14640 parens around the arg list (bug#11499).
14642 2012-05-17 Juri Linkov <juri@jurta.org>
14644 * isearch.el (word-search-regexp, word-search-backward)
14645 (word-search-forward, word-search-backward-lax)
14646 (word-search-forward-lax): Move functions from search.c
14647 (bug#10145, bug#11381).
14649 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14651 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14652 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14653 Delay for otherchars as for normal word components.
14655 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14657 * minibuffer.el (completion--sifn-requote): Fix last change.
14658 (minibuffer-local-must-match-filename-map):
14659 Move define-obsolete-variable-alias before its var.
14661 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14663 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14665 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14667 (completion--string-equal-p): New function.
14668 (completion--twq-all): Use it to get better assertion failure data.
14670 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14671 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14672 (shell--requote-argument): New functions.
14673 (shell-completion-vars): Use them.
14674 (shell--parse-pcomplete-arguments): Rename from
14675 shell-parse-pcomplete-arguments.
14676 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14677 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14678 Obey comint-file-name-quote-list.
14680 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14681 (smie-indent-keyword): Use it.
14683 2012-05-14 Stefan Merten <smerten@oekonux.de>
14685 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14687 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14689 * net/rlogin.el (rlogin-mode-map): Fix last change.
14691 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14693 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14694 the following \r\n using a single `process-send-string', since the
14695 Lotus SMTP server refuses to accept any commands if they are sent
14696 with two `process-send-string's (Bug#11444).
14698 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14700 * shell.el (shell-parse-pcomplete-arguments):
14701 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14703 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14705 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14706 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14707 (image-transform-width, image-transform-fit-width): New functions.
14708 (image-transform-properties): Use them.
14709 (image-transform-check-size): New function.
14710 (image-toggle-display-image): Use it (for testing).
14711 (image-transform-set-rotation): Reduce angle mod 360.
14712 Delete obsolete comment.
14714 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14716 * image-mode.el: Fix scaling (bug#11399).
14717 (image-transform-resize): Doc fix.
14718 (image-transform-properties): Default scale is 1 and height should
14721 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14723 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14724 than hard-coding `car', to fix misbehavior when moving forward.
14726 2012-05-13 Chong Yidong <cyd@gnu.org>
14728 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14729 (tabulated-list-entries, tabulated-list-padding)
14730 (tabulated-list-sort-key): Make permanent-local.
14732 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14733 (electric-buffer-list): Put electric buffer menu
14734 command descriptions in this docstring, instead of the docstring
14735 of electric-buffer-menu-mode. Code cleanups.
14736 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14737 Electric-buffer-menu-mode.
14738 (electric-buffer-update-highlight): Minor code cleanup.
14740 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14742 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14745 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14747 Move define-obsolete-variable-alias before the var's definition.
14748 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14749 * tooltip.el (tooltip-hook):
14750 * textmodes/reftex-toc.el (reftex-toc-map):
14751 * textmodes/reftex-sel.el (reftex-select-label-map)
14752 (reftex-select-bib-map):
14753 * textmodes/reftex-index.el (reftex-index-map)
14754 (reftex-index-phrases-map):
14755 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14756 * progmodes/meta-mode.el (meta-mode-map):
14757 * novice.el (disabled-command-hook):
14758 * loadhist.el (unload-hook-features-list):
14759 * frame.el (blink-cursor):
14760 * files.el (find-file-not-found-hooks, write-file-hooks)
14761 (write-contents-hooks):
14762 * emulation/tpu-edt.el (GOLD-map):
14763 * emacs-lock.el (emacs-lock-from-exiting):
14764 * emacs-lisp/generic.el (generic-font-lock-defaults):
14765 * emacs-lisp/chart.el (chart-map):
14766 * dos-fns.el (register-name-alist):
14767 * dired-x.el (dired-omit-files-p):
14768 * desktop.el (desktop-enable):
14769 * cus-edit.el (custom-mode-hook):
14770 * buff-menu.el (buffer-menu-mode-hook):
14771 * bookmark.el (bookmark-read-annotation-text-func)
14772 (bookmark-exit-hooks):
14773 * allout.el (allout-mode-deactivate-hook)
14774 (allout-exposure-change-hook, allout-structure-added-hook)
14775 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14776 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14777 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14778 comes before the corresponding variable's definition.
14780 2012-05-12 Chong Yidong <cyd@gnu.org>
14782 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14783 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14784 (Buffer-menu-mode-map): Bind it.
14785 (Buffer-menu--pretty-name): Add a mouse-face property.
14787 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14789 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14790 (prolog-upper-case-string, prolog-lower-case-string)
14791 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14792 (prolog-use-smie, prolog-smie-grammar): New vars.
14793 (prolog-smie-forward-token, prolog-smie-backward-token)
14794 (prolog-smie-rules): New funs.
14795 (prolog-comment-indent): Remove.
14796 (prolog-mode-variables): Use default comment indentation instead.
14798 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14799 (prolog-mode): Don't call them any more.
14800 (prolog-electric-colon, prolog-electric-dash)
14801 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14803 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14805 * minibuffer.el (completion--twq-all): Again, allow case differences.
14807 * term.el: Move keymap initialization code to be more idiomatic.
14808 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14809 (term-terminal-menu): Move initialization into declaration.
14810 (term-escape-char): Let the user set it in her .emacs.
14812 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14813 Provide SMIE-based indentation (not enabled by default yet).
14814 (sh-mode-map): Don't bind electric keys.
14815 Use electric-pair-mode instead of skeleton-pair.
14816 (sh-assignment-regexp): Fit within 80 columns.
14817 (sh-indent-supported): Specify actual shell name instead of boolean.
14818 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14819 (sh-maybe-here-document): Use it. Make obsolete.
14820 (sh-electric-here-document-mode) New minor mode.
14821 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14822 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14823 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14824 (sh-smie-rc-grammar, sh-use-smie): New vars.
14825 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14826 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14827 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14828 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14829 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14830 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14831 (sh-set-shell): Use smie-setup if requested.
14833 * term.el (term-set-escape-char): Properly set term-escape-char.
14834 See http://stackoverflow.com/questions/10524656.
14836 2012-05-10 Chong Yidong <cyd@gnu.org>
14838 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14839 Use url-generic-parse-url, and handle host names and Windows
14840 filenames properly.
14841 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14842 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14843 URL schemes to work on.
14844 (ffap--toggle-read-only): New function.
14845 (ffap-read-only, ffap-read-only-other-window)
14846 (ffap-read-only-other-frame): Use it.
14847 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14848 necessary for ffap-url-unwrap-remote.
14850 2012-05-10 Dave Abrahams <dave@boostpro.com>
14852 * cus-start.el (create-lockfiles): Add it.
14854 2012-05-09 Chong Yidong <cyd@gnu.org>
14856 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14857 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14859 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14861 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14863 2012-05-09 Chong Yidong <cyd@gnu.org>
14865 * ansi-color.el (ansi-color-process-output): Check for validity of
14866 comint-last-output-start before using it. This avoids a bad
14867 interaction with gdb-mi's input/output buffer.
14869 2012-05-09 Glenn Morris <rgm@gnu.org>
14871 * files.el (dir-locals-read-from-file):
14872 Mention dir-locals in any error message.
14874 2012-05-09 Chong Yidong <cyd@gnu.org>
14876 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14877 package (Bug#11410).
14879 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14880 variables into description.
14882 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14884 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14885 shell-delimiter-argument-list (bug#11348).
14886 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14888 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14890 * textmodes/rst.el: Silence byte-compiler warnings.
14891 (rst-re-alist, rst-reset-section-caches): Move around.
14892 (rst-re): Use `characterp', not `char-valid-p'.
14893 (font-lock-beg, font-lock-end): Declare.
14895 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14896 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14898 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14900 2012-05-08 Glenn Morris <rgm@gnu.org>
14902 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14904 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14906 * vc/log-edit.el: Add GNU coding standards highlighting.
14907 (log-edit-font-lock-gnu-style)
14908 (log-edit-font-lock-gnu-keywords): New vars.
14909 (log-edit-font-lock-keywords): New fun.
14910 (log-edit-mode): Don't fold case in font-lock.
14911 (log-edit-font-lock-keywords): Do not assume case-folding.
14913 * imenu.el: Misc cleanup. Make docstrings out of comments.
14914 Use lexical-binding.
14915 (imenu--index-alist, imenu--last-menubar-index-alist)
14916 (imenu-menubar-modified-tick): Use defvar-local.
14917 (imenu--split-menu): Remove unused var.
14918 (imenu--cleanup-seen): Declare as global.
14919 (imenu--cleanup): Use dolist.
14921 * subr.el (defvar-local): Add debug spec and doc-string position.
14923 2012-05-08 Glenn Morris <rgm@gnu.org>
14925 * language/burmese.el, language/cham.el, language/czech.el:
14926 * language/english.el, language/georgian.el, language/greek.el:
14927 * language/japanese.el, language/khmer.el, language/korean.el:
14928 * language/lao.el, language/misc-lang.el, language/romanian.el:
14929 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14930 * language/thai.el, language/utf-8-lang.el:
14931 Remove no-byte-compile setting.
14933 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14935 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14937 * progmodes/make-mode.el (makefile-browse):
14938 Remove unnecessary interactive. (Bug#11324)
14940 2012-05-07 Glenn Morris <rgm@gnu.org>
14942 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14944 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14946 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14948 * loadup.el: Preload newcomment.el.
14949 * newcomment.el: Move autoload-only code to toplevel.
14951 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14952 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14953 Handle new :right-align column property.
14954 (tabulated-list-print-col): Idem, plus use `display' text-property to
14955 try and preserve alignment for variable pitch fonts.
14957 2012-05-07 Chong Yidong <cyd@gnu.org>
14959 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14960 (tabulated-list-use-header-line): New var.
14961 (tabulated-list-init-header): Use it.
14962 (tabulated-list-print-fake-header): New function.
14963 (tabulated-list-print): Use it.
14964 (tabulated-list-sort-button-map): Add non-header-line commands.
14965 (tabulated-list-init-header): Add column name property to basic
14967 (tabulated-list-col-sort): Handle non-header-line button case.
14968 (tabulated-list--sort-by-column-name): Fix a corner case.
14970 * buff-menu.el (list-buffers--refresh):
14971 Handle Buffer-menu-use-header-line.
14973 2012-05-06 Chong Yidong <cyd@gnu.org>
14975 * buff-menu.el: Convert to Tabulated List mode.
14976 (Buffer-menu-buffer+size-width): Make obsolete.
14977 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14978 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14979 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14980 documentation into docstring of buffer-menu.
14981 (Buffer-menu-toggle-files-only): Add an informative message.
14982 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14983 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14984 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14985 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14986 (Buffer-menu-execute, Buffer-menu-select)
14987 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14988 (Buffer-menu-bury): Use Tabulated List machinery.
14989 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14990 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14992 (list-buffers--refresh): New function.
14993 (list-buffers-noselect): Use it.
14994 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14995 (Buffer-menu--pretty-file-name): New helper functions.
14997 * loadup.el: Preload tabulated-list.
14999 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
15000 tabulated-list-sort-column.
15001 (tabulated-list-init-header): Add the initial aligning space even
15002 if tabulated-list-padding is zero.
15004 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
15006 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
15007 whose cdr is not a cons cell correctly (bug#11038).
15009 2012-05-06 Chong Yidong <cyd@gnu.org>
15011 * emacs-lisp/tabulated-list.el (tabulated-list-format):
15012 Accept additional plist in column descriptors.
15013 (tabulated-list-init-header): Obey it.
15014 (tabulated-list-get-entry): New function.
15015 (tabulated-list-put-tag): Use it. Use string-width instead of
15017 (tabulated-list--column-number): New function.
15018 (tabulated-list-print): Use it.
15019 (tabulated-list-print-col): New function.
15020 Set `tabulated-list-column-name' property on each column's text.
15021 (tabulated-list-print-entry): Use it.
15022 (tabulated-list-delete-entry, tabulated-list-set-col):
15024 (tabulated-list-sort-column): New command (Bug#11337).
15026 * buff-menu.el (list-buffers): Move C-x C-b binding from
15027 buff-menu.el to bindings.el.
15029 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
15030 :advertised-binding feature.
15032 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
15034 * progmodes/compile.el (compilation-internal-error-properties):
15035 Calculate start position correctly when end-col is set but
15036 end-line is not (Bug#11382).
15038 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
15040 * man.el (Man-unindent): Use text-property-default-nonsticky to
15041 prevent untabify from inheriting face properties (Bug#11408).
15043 2012-05-05 Stefan Merten <smerten@oekonux.de>
15045 * textmodes/rst.el: Major merge with upstream development up to
15046 Docutils SVN r7399 / rst.el V1.2.1.
15048 Clarify maintainership and authors.
15050 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
15051 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
15052 (rst-official-version, rst-official-cvs-rev, rst-version)
15053 (rst-package-emacs-version-alist): New functions and variables
15054 for version information.
15056 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
15057 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
15058 (rst-mode-syntax-table, rst-mode): New and corrected functions
15059 and variables representing reStructuredText features.
15061 (rst-re): New function for reStructuredText regexes. Use in
15064 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
15065 (rst-mode-map): Rebind keys.
15067 (rst-mode-lazy, rst-font-lock-keywords)
15068 (rst-font-lock-extend-region)
15069 (rst-font-lock-extend-region-internal)
15070 (rst-font-lock-extend-region-extend)
15071 (rst-font-lock-find-unindented-line-limit)
15072 (rst-font-lock-find-unindented-line-match)
15073 (rst-adornment-level, rst-font-lock-adornment-level)
15074 (rst-font-lock-adornment-match)
15075 (rst-font-lock-handle-adornment-pre-match-form)
15076 (rst-font-lock-handle-adornment-matcher): Major revision of
15077 font-locking. Integrate with other code. Use `jit-lock-mode'.
15079 (rst-preferred-adornments, rst-adjust-hook)
15080 (rst-new-adornment-down, rst-preferred-bullets)
15081 (rst-preferred-bullets, rst-indent, rst-indent-width)
15082 (rst-indent-field, rst-indent-literal-normal)
15083 (rst-indent-literal-minimized, rst-indent-comment): Change,
15084 extend and improve customization.
15086 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
15087 (rst-normalize-cursor-position, rst-get-decoration)
15088 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
15089 (rst-rstrip, rst-toc-insert-find-delete-contents)
15090 (rst-shift-fill-region, rst-compute-bullet-tabs)
15091 (rst-debug-print-tabs, rst-debug-mark-found)
15092 (rst-shift-region-guts, rst-shift-region-right)
15093 (rst-shift-region-left, rst-use-char-classes)
15094 (rst-font-lock-keywords-function)
15095 (rst-font-lock-indentation-point)
15096 (rst-font-lock-find-unindented-line-begin)
15097 (rst-font-lock-find-unindented-line-end)
15098 (rst-font-lock-find-unindented-line)
15099 (rst-font-lock-adornment-point, rst-font-lock-level)
15100 (rst-adornment-level-alist): Remove functions and variables.
15102 (rst-compare-adornments, rst-get-adornment-match)
15103 (rst-suggest-new-adornment, rst-get-adornments-around)
15104 (rst-adornment-complete-p, rst-get-next-adornment)
15105 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15106 (rst-straighten-adornments): Standardize function names to
15107 use "adornment" instead of "decoration". Correct callers.
15108 Similar standardizing in many places.
15110 (rst-update-section, rst-adjust, rst-promote-region)
15111 (rst-enumerate-region, rst-bullet-list-region)
15112 (rst-repeat-last-character): Correct use of `interactive'.
15114 (rst-classify-adornment, rst-find-all-adornments)
15115 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15116 (rst-find-leftmost-column, rst-repeat-last-character):
15117 Refactor functions.
15119 (rst-find-title-line, rst-reset-section-caches)
15120 (rst-get-adornments-around, rst-adjust-adornment-work)
15121 (rst-arabic-to-roman, rst-roman-to-arabic)
15122 (rst-insert-list-pos, rst-insert-list-new-item)
15123 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15126 (rst-all-sections, rst-section-hierarchy)
15127 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15130 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15131 configuration instead of only buffer. Change where necessary.
15133 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15134 (rst-shift-region, rst-adaptive-fill): New functions for
15135 indentation and filling.
15137 (rst-comment-line-break, rst-comment-indent)
15138 (rst-comment-insert-comment, rst-comment-region)
15139 (rst-uncomment-region): New functions for handling comments.
15141 (rst-compile): Quote shell arguments.
15143 (rst-compile-pdf-preview, rst-compile-slides-preview):
15144 Delete temporary files after use.
15146 2012-05-05 Glenn Morris <rgm@gnu.org>
15148 * calendar/cal-html.el: Optionally include holidays in the output.
15149 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15150 (cal-html-holidays): New option.
15151 (cal-html-css-default): Add holiday entry.
15152 (holiday-in-range): Autoload it.
15153 (cal-html-htmlify-entry): Add optional class argument.
15154 (cal-html-htmlify-list): Add optional holidays argument.
15155 (cal-html-insert-agenda-days): Include holidays in the output.
15156 (cal-html-one-month): Maybe include holidays.
15158 * calendar/holidays.el (holiday-in-range):
15159 Move here from cal-tex-list-holidays.
15160 * calendar/cal-tex.el (cal-tex-list-holidays):
15161 Make it an obsolete alias for holiday-in-range. Update all callers.
15163 2012-05-05 Chong Yidong <cyd@gnu.org>
15165 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15168 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15170 * files.el (file-auto-mode-skip): New var.
15171 (set-auto-mode-1): Use it.
15173 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15175 * repeat.el: Use lexical-binding.
15176 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15177 (repeat-undo-count): Remove.
15179 * progmodes/octave-mod.el (octave-abbrev-start):
15180 * progmodes/f90.el (f90-abbrev-start):
15181 * face-remap.el (text-scale-adjust):
15182 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15184 * emacs-lisp/pcase.el (pcase--let*): New function.
15185 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15187 (pcase--split-pred): Be more clever about ruling out overlap between
15188 a predicate and some constant pattern.
15189 (pcase--q1): Use `null' instead of (eq foo nil).
15191 * subr.el (setq-local, defvar-local): New macros.
15192 (kbd): Redefine as an alias.
15193 (with-selected-window): Leave unrelated frames alone.
15194 (set-temporary-overlay-map): New function.
15196 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15198 * subr.el (user-error): New function.
15199 * window.el (switch-to-buffer):
15200 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15201 (smerge-match-conflict):
15202 * simple.el (previous-matching-history-element)
15203 (next-matching-history-element, goto-history-element, undo-more)
15205 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15206 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15207 (next-file, tags-loop-scan, list-tags, complete-tag):
15208 * progmodes/compile.el (compilation-loop):
15209 * mouse.el (mouse-minibuffer-check):
15210 * man.el (Man-bgproc-sentinel, Man-goto-page):
15211 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15212 (Info-history-forward, Info-follow-reference, Info-menu)
15213 (Info-extract-menu-item, Info-extract-menu-counting)
15214 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15215 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15216 (Info-next-reference, Info-prev-reference, Info-index)
15217 (Info-index-next, Info-follow-nearest-node)
15218 (Info-copy-current-node-name):
15219 * imenu.el (imenu--make-index-alist)
15220 (imenu-default-create-index-function, imenu-add-to-menubar):
15221 * files.el (basic-save-buffer, recover-file):
15222 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15223 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15224 (checkdoc-message-text, checkdoc-defun):
15225 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15226 * cus-edit.el (customize-changed-options, customize-rogue)
15227 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15228 (custom-variable-mark-to-reset-standard)
15229 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15231 * completion.el (check-completion-length):
15232 * comint.el (comint-search-arg)
15233 (comint-previous-matching-input-string-position)
15234 (comint-previous-matching-input)
15235 (comint-replace-by-expanded-history-before-point, comint-send-input)
15236 (comint-copy-old-input, comint-backward-matching-input)
15237 (comint-goto-process-mark, comint-set-process-mark):
15238 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15239 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15241 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15243 * dabbrev.el (dabbrev--ignore-case-p): New function.
15244 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15247 * files.el (automount-dir-prefix): Mark as obsolete.
15249 2012-05-04 Glenn Morris <rgm@gnu.org>
15251 * patcomp.el, play/bruce.el: Move to obsolete/.
15253 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15255 Fix minor Y10k bugs.
15256 * arc-mode.el (archive-unixdate):
15257 * autoinsert.el (auto-insert-alist):
15258 * calc/calc-forms.el (math-this-year):
15259 * emacs-lisp/copyright.el (copyright-current-year)
15260 (copyright-update-year, copyright):
15261 * tar-mode.el (tar-clip-time-string):
15262 * time.el (display-time-update):
15263 Don't assume years have 4 digits.
15265 2012-05-04 Chong Yidong <cyd@gnu.org>
15267 * dos-w32.el (file-name-buffer-file-type-alist)
15268 (direct-print-region-use-command-dot-com):
15269 * ffap.el (ffap-menu-regexp):
15270 * find-file.el (ff-special-constructs):
15271 * follow.el (follow-debug):
15272 * forms.el (forms--debug):
15273 * iswitchb.el (iswitchb-all-frames):
15274 * ido.el (ido-all-frames):
15275 * emacs-lisp/timer.el (timer-max-repeats):
15276 * mail/feedmail.el (feedmail-mail-send-hook)
15277 (feedmail-mail-send-hook-queued):
15278 * mail/footnote.el (footnote-signature-separator):
15279 * mail/mailabbrev.el (mail-alias-separator-string)
15280 (mail-abbrev-mode-regexp):
15281 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15282 * progmodes/idlwave.el (idlwave-libinfo-file)
15283 (idlwave-default-completion-case-is-down)
15284 (idlwave-library-routines): Convert defvars to defcustoms.
15286 * mail/rmail.el (rmail-decode-mime-charset):
15287 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15288 (idlwave-shell-fix-inserted-breaks)
15289 (idlwave-shell-activate-alt-keybindings)
15290 (idlwave-shell-use-breakpoint-glyph):
15291 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15293 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15295 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15297 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15299 * progmodes/verilog-mode.el (font-lock-keywords):
15300 Fix mis-highligting auto. Reported by Craig Barner.
15301 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15302 defines from global name space. Reported by Dan Dever.
15303 (verilog-auto-reset, verilog-auto-reset-widths)
15304 (verilog-auto-tieoff): Support using unbased numbers for
15305 AUTORESET and AUTOTIEOFF.
15306 (verilog-submit-bug-report): Update variable list.
15307 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15308 parenthesis from not matching. Reported by Michael Rytting.
15309 (verilog-auto-template-lint): Fix hash error when linting modules
15310 with no used templates.
15311 (verilog-warn, verilog-warn-error)
15312 (verilog-warn-fatal): When non-interactive report multiple
15313 warnings before exiting. Suggested by Brad Dobbie.
15314 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15315 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15316 to report unused template errors. Reported by Brad Dobbie.
15317 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15318 nets, bug438. Reported by Vns Blore.
15319 (verilog-auto-inout-module, verilog-auto-reg)
15320 (verilog-read-decls, verilog-read-sub-decls-sig)
15321 (verilog-signals-edit-wire-reg, verilog-signals-with):
15322 Fix passing of Verilog data types in ANSI input/output ports
15323 such as "output logic" into the AUTOs. Special case "wire" and
15324 "reg" for backwards compatibility presuming Verilog 2001.
15325 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15326 (verilog-preprocess): Fix replication of preprocess output.
15327 Reported by Brad Dobbie.
15328 (verilog-auto-inst-interfaced-ports):
15329 Create verilog-auto-inst-interfaced-ports, bug429.
15330 Reported by Julian Gorfajn.
15331 (verilog-after-save-font-hook)
15332 (verilog-before-save-font-hook): New variable.
15333 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15334 (verilog-save-font-mods): Wrap disabling fontification, reported
15336 (verilog-do-indent, verilog-pretty-declarations-auto)
15337 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15338 Reported by Pierre-David Pfister.
15339 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15340 of class declarations, bug292. Reported by Kevin Heilman.
15341 (verilog-read-decls): Fix 'parameter type' not appearing in
15342 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15343 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15344 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15345 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15346 Reported by David Kravitz.
15348 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15350 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15351 assignment with tests in ifs and for loops.
15352 (verilog-extended-complete-re, verilog-complete-reg): Change so
15353 that DPI inport functions don't look like fuction declarations.
15354 (verilog-pretty-expr): Don't line up assignment
15355 operations to the test and increment in if and for loops
15356 (verilog-extended-complete-re, verilog-complete-reg): Change so
15357 that DPI inport functions don't look like fuction declarations.
15359 2012-05-03 Kenichi Handa <handa@m17n.org>
15361 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15362 decoding, and show a warning message without signaling an error
15365 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15367 * emacs-lisp/bytecomp.el
15368 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15369 since cconv.el might have introduced :fun-body, internal-make-closure,
15370 and friends for bytecomp to handle (bug#11391).
15371 * custom.el (defcustom): Avoid ((λ ..) ..).
15373 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15375 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15377 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15379 * notifications.el (dbus-debug):
15380 * term/linux.el (gpm-mouse-enable):
15381 * term/screen.el (xterm-register-default-colors): Declare.
15383 2012-05-02 Chong Yidong <cyd@gnu.org>
15385 * cus-start.el (gc-cons-percentage, exec-suffixes)
15386 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15387 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15388 (make-cursor-line-fully-visible, void-text-area-pointer)
15389 (font-list-limit): Add customization data.
15391 * allout.el (allout-exposure-change-functions)
15392 (allout-structure-added-functions)
15393 (allout-structure-deleted-functions)
15394 (allout-structure-shifted-functions): Rename abnormal hooks from
15395 *-hook, and convert to defcustoms.
15396 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15397 Convert to defcustoms.
15398 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15400 * allout-widgets.el: Hook callers changed.
15402 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15404 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15405 the yanked message in preference to the default value of
15406 buffer-file-coding-system.
15408 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15410 * window.el (display-buffer--action-function-custom-type):
15413 2012-05-02 Alan Mackenzie <acm@muc.de>
15415 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15417 2012-05-01 Glenn Morris <rgm@gnu.org>
15419 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15421 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15423 * cus-edit.el (custom-variable-documentation): Simplify with format.
15425 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15426 Stefan Monnier <monnier@iro.umontreal.ca>
15428 * simple.el (suggest-key-bindings, execute-extended-command):
15429 Move from keyboard.c.
15431 2012-05-01 Chong Yidong <cyd@gnu.org>
15433 * follow.el: Eliminate advice.
15434 (set-process-filter, process-filter, sit-for): Advice deleted.
15435 (follow-mode-off-hook): Obsolete hook removed.
15436 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15438 (follow-auto): Use a :set function.
15439 (follow-mode): Rewritten. Don't advise process filters.
15440 (follow-switch-to-current-buffer-all, follow-scroll-up)
15441 (follow-scroll-down): Assume follow-mode is bound.
15442 (follow-comint-scroll-to-bottom)
15443 (follow-align-compilation-windows): New functions.
15444 (follow--window-sorter): New function.
15445 (follow-all-followers): Use it to explicitly sort windows by their
15446 positions; don't make assumptions about next-window order.
15447 (follow-windows-start-end, follow-delete-other-windows-and-split)
15448 (follow-calc-win-start): Doc fix.
15449 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15450 vertical-motion unnecessarily.
15451 (follow-adjust-window): New function.
15452 (follow-post-command-hook): Use it.
15453 (follow-call-set-process-filter, follow-call-process-filter)
15454 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15455 (follow-stop-intercept-process-output, follow-generic-filter):
15457 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15458 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15459 New functions, replacing advice on scroll-bar-* commands.
15460 (follow-mwheel-scroll): New function (Bug#4112).
15462 * comint.el (comint-adjust-point): New function.
15463 (comint-postoutput-scroll-to-bottom): Use it.
15464 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15466 2012-05-01 Glenn Morris <rgm@gnu.org>
15468 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15469 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15470 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15471 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15472 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15473 Remove no-byte-compile setting.
15475 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15477 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15478 all-completions code to not return a number in the last cdr.
15480 2012-04-30 Leo Liu <sdl.web@gmail.com>
15482 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15485 2012-04-29 Chong Yidong <cyd@gnu.org>
15487 * follow.el (follow-calc-win-end): Rewrite to handle partial
15488 screen lines correctly (Bug#8390).
15489 (follow-avoid-tail-recenter): Minor cleanup.
15491 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15493 Avoid the obsolete `assoc' package.
15494 * speedbar.el (speedbar-refresh): Avoid adelete.
15495 (speedbar-file-lists): Simplify and avoid aput.
15496 * man.el (Man--sections, Man--refpages): New vars, replacing
15497 Man-sections-alist and Man-refpages-alist.
15498 (Man-build-section-alist, Man-build-references-alist):
15499 Use them; avoid aput.
15500 (Man--last-section, Man--last-refpage): New vars.
15501 (Man-follow-manual-reference): Use them.
15502 Use the `default' arg of completing-read.
15503 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15505 2012-04-27 Chong Yidong <cyd@gnu.org>
15507 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15509 * startup.el (x-apply-session-resources): New function.
15511 * term/ns-win.el (ns-initialize-window-system):
15512 * term/w32-win.el (w32-initialize-window-system):
15513 * term/x-win.el (x-initialize-window-system): Use it to properly
15514 set menu-bar-mode and other vars from X resources, even if the
15515 initial frame is not a window-system frame (Bug#2299).
15517 * subr.el (read-key): Avoid running filter function when setting
15518 up temporary tool bar entries (Bug#9922).
15520 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15522 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15525 2012-04-27 Chong Yidong <cyd@gnu.org>
15527 * select.el (xselect--encode-string): New function, split from
15528 xselect-convert-to-string.
15529 (xselect-convert-to-string): Use it.
15530 (xselect-convert-to-filename, xselect-convert-to-os)
15531 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15532 returned strings are properly encoded (Bug#11315).
15534 2012-04-27 Chong Yidong <cyd@gnu.org>
15536 * simple.el (delete-active-region): Move to killing custom group.
15538 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15540 * progmodes/which-func.el (which-func-current): Quote %
15541 characters for mode-line processing.
15543 2012-04-27 Chong Yidong <cyd@gnu.org>
15545 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15546 reaching eob (Bug#11286).
15548 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15550 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15551 (gdb): Make it buffer-local and init to zero.
15552 (gdb-control-commands-regexp): New variable.
15553 (gdb-send): Don't wrap in "-interpreter-exec console" if
15554 gdb-control-level is positive. Increment gdb-control-level
15555 whenever the command matches gdb-control-commands-regexp, and
15556 decrement it each time the command is "end". (Bug#11279)
15558 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15560 * window.el (adjust-window-trailing-edge, enlarge-window)
15561 (shrink-window, window-resize):
15562 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15563 windows (Bug#11276).
15565 2012-04-27 Chong Yidong <cyd@gnu.org>
15567 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15568 fix "missing prefix" warning. All callers changed.
15570 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15572 * emacs-lisp/assoc.el: Move to obsolete/.
15574 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15576 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15578 * term/ns-win.el (ns-define-service):
15579 * progmodes/pascal.el (pascal-goto-defun):
15580 * progmodes/js.el (js--read-tab):
15581 * progmodes/etags.el (tags-lazy-completion-table):
15582 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15583 * emacs-lisp/ewoc.el (ewoc--wrap):
15584 * emacs-lisp/assoc.el (aput, adelete, amake):
15585 * doc-view.el (doc-view-convert-current-doc):
15586 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15588 2012-04-26 Chong Yidong <cyd@gnu.org>
15590 * image.el (image-type-from-buffer): Only return supported image
15593 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15594 value, for symmetry with diff-end-of-hunk.
15595 (diff-split-hunk, diff-find-source-location)
15596 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15597 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15598 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15599 compute the relevant hunk or file properly (Bug#6005).
15600 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15602 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15611 * vc/vc.el: Replace lexical-let by lexical-binding.
15612 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15613 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15614 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15616 2012-04-26 Chong Yidong <cyd@gnu.org>
15618 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15619 (diff-mode-shared-map): Bind it to / and [remap undo].
15621 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15622 (ediff-window-setup-function): Use it as the default, to set up
15623 windows based on whether the current frame is graphical (Bug#2138).
15624 (ediff-choose-window-setup-function-automatically): Make obsolete.
15626 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15628 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15630 * ffap.el: Remove old code for obsolete package.
15631 (ffap-complete-as-file-p): Remove.
15633 Use completion-table-with-quoting for comint and pcomplete.
15634 * comint.el (comint--unquote&requote-argument)
15635 (comint--unquote-argument, comint--requote-argument): New functions.
15636 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15637 (comint-quote-filename): Use regexp-opt-charset.
15638 (comint--common-suffix, comint--common-quoted-suffix)
15639 (comint--table-subvert): Remove.
15640 (comint-unquote-function, comint-requote-function): New vars.
15641 (comint--complete-file-name-data): Use them with
15642 completion-table-with-quoting.
15643 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15644 * pcomplete.el (pcomplete-arg-quote-list)
15645 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15646 (pcomplete-unquote-argument-function): Default to non-nil.
15647 (pcomplete-unquote-argument): Simplify.
15648 (pcomplete--common-quoted-suffix): Remove.
15649 (pcomplete-requote-argument-function): New var.
15650 (pcomplete--common-suffix): New function.
15651 (pcomplete-completions-at-point): Use completion-table-with-quoting
15652 and completion-table-subvert.
15654 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15655 (minibuffer--double-dollars): Preserve properties.
15656 (completion--sifn-requote): New function.
15657 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15659 * minibuffer.el: Add support for completion of quoted/escaped data.
15660 (completion-table-with-quoting, completion-table-subvert): New funs.
15661 (completion--twq-try, completion--twq-all): New functions.
15662 (completion--nth-completion): New function.
15663 (completion-try-completion, completion-all-completions): Use it.
15665 2012-04-25 Leo Liu <sdl.web@gmail.com>
15667 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15668 Use compilation-message if available to find real filename.
15670 2012-04-25 Chong Yidong <cyd@gnu.org>
15672 * vc/diff-mode.el (diff-setup-whitespace): New function.
15673 (diff-mode): Use it.
15675 * vc/diff.el (diff-sentinel):
15676 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15677 Whitespace mode variables based on diff style (Bug#8612).
15679 2012-04-25 Leo Liu <sdl.web@gmail.com>
15681 * progmodes/python.el (python-send-region): Add suffix .py to the
15684 * files.el (auto-mode-alist): Use javascript-mode instead.
15686 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15688 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15690 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15691 (soap-resolve-references-for-array-type): Hack to prevent self
15692 references, see Bug#9.
15693 (soap-parse-envelope): Report the contents of the 'detail' node
15694 when receiving a fault reply.
15695 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15697 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15698 (soap-inspect-simple-type): New function.
15700 * net/soap-client.el (soap-simple-type): New struct.
15701 (soap-default-xsd-types, soap-default-soapenc-types)
15702 (soap-decode-basic-type, soap-encode-basic-type):
15703 support unsignedInt and double basic types.
15704 (soap-resolve-references-for-simple-type)
15705 (soap-parse-simple-type, soap-encode-simple-type): New function.
15706 (soap-parse-schema): Parse xsd:simpleType declarations.
15708 * net/soap-client.el (soap-default-xsd-types)
15709 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15710 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15711 the local name of "soapenc:Array".
15712 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15713 decoding integer, byte and anyURI xsd types.
15715 2012-04-25 Chong Yidong <cyd@gnu.org>
15717 * cus-edit.el (custom-buffer-create-internal): Update header text.
15719 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15721 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15722 settings on 'system-type', not on 'window-system'. On MS-Windows,
15723 set interactive-mode on in GDB.
15725 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15727 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15728 (ruby-syntax-propertize-regexp): Remove.
15729 (ruby-syntax-propertize-function): Split regexp into chunks.
15730 Match following code directly.
15732 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15734 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15735 (ruby-syntax-propertize-regexp): New function.
15736 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15737 by a special keyword.
15739 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15740 (ruby-syntax-general-delimiters-goto-beg)
15741 (ruby-syntax-propertize-general-delimiters): New functions.
15742 (ruby-syntax-propertize-function): Use them to handle GDL.
15743 (ruby-font-lock-keywords): Move old handling of GDL...
15744 (ruby-font-lock-syntactic-keywords): .. to here.
15745 (ruby-calculate-indent): Adjust indentation for GDL.
15747 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15749 * notifications.el (top): Remove unneeded declarations.
15750 (notifications-specification-version): Change to "1.2".
15751 (notifications-interface, notifications-notify-method)
15752 (notifications-close-notification-method): Fix docstring.
15753 (notifications-get-capabilities-method): New defconst.
15754 (notifications-notify): Add :action-items, :resident and
15755 :transient hints. Change "image_data" to "image-data" and
15756 "image_path" to "image-path".
15757 (notifications-get-capabilities): New defun.
15759 2012-04-24 Leo Liu <sdl.web@gmail.com>
15761 * progmodes/python.el: Move hideshow setup to the end.
15763 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15765 * window.el (handle-select-window): Clear echo area since this is
15766 no more done by read_char (Bug#11304).
15768 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15771 and `/ M' to filter-derived-mode.
15772 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15773 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15774 (ibuffer-mark-by-mode): Use default rather than initial-input.
15775 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15777 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15779 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15780 (ibuffer-filter-by-derived-mode): New filter.
15781 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15783 2012-04-23 Andreas Politz <politza@fh-trier.de>
15785 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15787 2012-04-23 Chong Yidong <cyd@gnu.org>
15789 * cus-edit.el (customize-apropos, customize-apropos-options):
15790 Disable matching of non-option variables (Bug#11176).
15791 (customize-option, customize-option-other-window)
15792 (customize-changed-options): Doc fix.
15793 (customize-apropos-options, customize-apropos-faces)
15794 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15796 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15797 Fix word list splitting (Bug#11132).
15798 (apropos-symbol, apropos-keybinding, apropos-label)
15799 (apropos-property, apropos-function-button)
15800 (apropos-variable-button, apropos-misc-button): New faces.
15801 (apropos-symbol-face, apropos-keybinding-face)
15802 (apropos-label-face, apropos-property-face, apropos-match-face):
15803 Variables removed (Bug#8396).
15804 (apropos-library-button, apropos-format-plist, apropos-print)
15805 (apropos-print-doc, apropos-describe-plist): Callers changed.
15807 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15809 * net/xesam.el (xesam-mode-map): Use let-bound map in
15810 initialization. (Bug#11292)
15812 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15814 Preserve ispell session localwords when switching back to
15817 * textmodes/ispell.el (ispell-buffer-session-localwords):
15818 New buffer-local variable to hold buffer session localwords.
15819 (ispell-kill-ispell): Add option 'clear to delete session
15821 (ispell-command-loop, ispell-change-dictionary)
15822 (ispell-buffer-local-words): Preserve session localwords when
15825 * textmodes/flyspell.el (flyspell-process-localwords)
15826 (flyspell-do-correct): Preserve session localwords when needed.
15828 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15830 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15831 using obsolete `translation-table-for-input'.
15832 (ispell-word, ispell-process-line, ispell-complete-word):
15833 Use plain `insert' instead of removed `ispell-insert-word'.
15835 2012-04-22 Chong Yidong <cyd@gnu.org>
15837 * cus-edit.el (custom-variable-menu)
15838 (custom-variable-reset-saved, custom-face-menu)
15839 (custom-face-reset-saved): If there is no saved value, make the
15840 "reset-saved" operation bring back the default (Bug#9509).
15841 (custom-face-state): Properly detect themed faces.
15843 * faces.el (face-spec-set): Stop supporting deprecated form of
15846 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15848 Move functions from C to Lisp. Make non-blocking method calls
15849 the default. Implement further D-Bus standard interfaces.
15851 * net/dbus.el (dbus-message-internal): Declare function.
15852 Remove unneeded function declarations.
15853 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15854 (dbus-message-type-method-return, dbus-message-type-error)
15855 (dbus-message-type-signal): Declare variables. Remove local
15857 (dbus-interface-dbus, dbus-interface-peer)
15858 (dbus-interface-introspectable, dbus-interface-properties)
15859 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15861 (dbus-interface-objectmanager): New defconst.
15862 (dbus-call-method, dbus-call-method-asynchronously)
15863 (dbus-send-signal, dbus-method-return-internal)
15864 (dbus-method-error-internal, dbus-register-service)
15865 (dbus-register-signal, dbus-register-method): New defuns, moved
15867 (dbus-call-method-handler, dbus-setenv)
15868 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15870 (dbus-call-method-non-blocking): Make it an obsolete function.
15871 (dbus-unregister-object, dbus-unregister-service)
15872 (dbus-handle-event, dbus-register-property)
15873 (dbus-property-handler): Obey the new structure of
15874 `bus-registered-objects'.
15875 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15876 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15877 Use `dbus-call-method'.
15879 2012-04-22 Chong Yidong <cyd@gnu.org>
15881 * cus-edit.el (custom-commands, custom-reset-menu)
15882 (Custom-reset-standard): Tweak labels.
15883 (custom-reset-button-menu): Change default to t.
15884 (custom-buffer-create-internal): For the custom-reset-button-menu
15885 case, put the revert button first.
15886 (custom-group-subtitle): New face.
15887 (custom-group-value-create): Align docstring to a specific column.
15889 * wid-edit.el (widget-documentation-link-add): Don't handle
15890 indentation in this function.
15891 (widget-documentation-string-indent-to): New function.
15892 (widget-documentation-string-value-create): Use it.
15894 * autorevert.el (auto-revert):
15895 * epg-config.el (epg):
15896 * ibuffer.el (ibuffer):
15899 * eshell/eshell.el (eshell):
15900 * net/ange-ftp.el (ange-ftp):
15901 * progmodes/ebnf2ps.el (postscript):
15902 * progmodes/flymake.el (flymake):
15903 * progmodes/prolog.el (prolog):
15904 * progmodes/verilog-mode.el (verilog-mode):
15905 * progmodes/which-func.el (which-func):
15906 * term/xterm.el (xterm):
15907 * textmodes/picture.el (picture):
15908 * textmodes/tildify.el (tildify):
15909 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15910 customization buffers.
15912 2012-04-22 Alan Mackenzie <acm@muc.de>
15914 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15915 Adding a ) can hide the resulting (..) from searches. Fix it.
15916 Bound the backward search to the position of the existing (.
15918 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15920 * progmodes/verilog-mode.el (verilog-mode): Check whether
15921 which-func-modes is t before adding verilog-mode.
15922 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15924 2012-04-21 Leo Liu <sdl.web@gmail.com>
15926 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15928 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15930 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15931 filling of the last column of a table (Bug#5635).
15932 (woman-find-next-control-line): New arg, specifying an additional
15933 regexp component for the control line.
15934 (woman2-roff-buffer): Use it.
15935 (woman-break-table): New function.
15936 (woman2-TS): Use it.
15938 2012-04-21 Chong Yidong <cyd@gnu.org>
15940 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15941 (woman-horizontal-escapes, woman-negative-vertical-space)
15942 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15943 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15945 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15947 * minibuffer.el (completion-file-name-table): Complete user names.
15949 2012-04-20 Leo Liu <sdl.web@gmail.com>
15951 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15954 2012-04-20 Chong Yidong <cyd@gnu.org>
15956 * server.el (server-execute): Respect initial-buffer-choice if it
15957 is a string and there are no files to open (Bug#2825).
15958 (server-create-window-system-frame, server-create-tty-frame):
15959 Don't switch buffers here.
15960 (server-process-filter): Only try to open a window system frame if
15961 compiled with graphical support (Bug#8314).
15963 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15965 * battery.el (battery-echo-area-format): Display remaining time
15966 for sysfs backend too (Bug#11269).
15967 (battery-linux-sysfs): Fix conditional for the charge.
15969 2012-04-20 Chong Yidong <cyd@gnu.org>
15971 * progmodes/gdb-mi.el (gdb): Revert previous change.
15972 (gdb-inferior-io--init-proc): New function.
15973 (gdb-init-1): Use it.
15974 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15975 responsible for allocating a new pty and hooking it to gdb when
15976 the old pty gets an EIO due to process exit.
15977 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15978 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15979 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15981 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15983 * window.el (window-min-size, window-sizable, window-min-delta)
15984 (window-max-delta, window--resizable, window-resizable)
15985 (window-total-size, window-full-height-p, window-full-width-p)
15986 (window-in-direction, window--resize-mini-window, window-resize)
15987 (window--resize-child-windows-normal)
15988 (window--resize-child-windows, window--resize-siblings)
15989 (window--resize-this-window, adjust-window-trailing-edge)
15990 (enlarge-window, shrink-window): Doc fixes.
15992 2012-04-20 Chong Yidong <cyd@gnu.org>
15994 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15995 New function to call delete-process on the gdb-inferior buffer's pty.
15996 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15997 pty process (Bug#11273).
15998 (gdb-update): New arg to suppress talking to the gdb process.
15999 (gdb-done-or-error): Use it.
16000 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
16001 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
16002 sentinel not being called.
16004 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
16006 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
16008 2012-04-20 Glenn Morris <rgm@gnu.org>
16010 * net/network-stream.el (open-network-stream): Doc fix.
16012 2012-04-20 Chong Yidong <cyd@gnu.org>
16014 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
16016 2012-04-20 Alan Mackenzie <acm@muc.de>
16018 Ensure searching for keywords is case sensitive.
16020 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
16021 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
16022 (c-defun-name, c-mark-function, c-cpp-define-name)
16023 (c-comment-indent, c-scan-conditionals, c-indent-defun)
16024 (c-context-line-break): Bind case-fold-search to nil.
16026 * progmodes/cc-mode.el (c-font-lock-fontify-region):
16027 Bind case-fold-search to nil.
16029 2012-04-20 Chong Yidong <cyd@gnu.org>
16031 * mail/sendmail.el (mail-bury): Call return action with the right
16032 Rmail buffer (Bug#11242).
16034 * server.el (server-process-filter): Handle corner case where both
16035 tty and nowait options are present (Bug#11102).
16037 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16039 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
16040 (top level): Put into the executable the ident-style '$Id:' tag on
16041 windows-nt as well.
16043 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * electric.el (electric-indent-post-self-insert-function): Check that
16046 electric-indent-mode is enabled in current buffer.
16048 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16050 * imenu.el (imenu-progress-message): Restore; it is "used" in
16051 erc/erc-imenu.el and net/snmp-mode.el.
16053 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16055 * avoid.el (mouse-avoidance-mode): Mark unused arg.
16056 (mouse-avoidance-nudge-mouse): Remove unused binding.
16058 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
16060 * descr-text.el (describe-char):
16061 * progmodes/python.el (python-describe-symbol):
16062 Don't call `toggle-read-only', set `buffer-read-only'.
16064 * imenu.el (imenu-default-goto-function): Mark unused args.
16065 (imenu-progress-message): Remove obsolete macro; all callers changed.
16067 * subr.el (keymap-canonicalize): Remove unused binding.
16068 (read-passwd): Mark unused arg.
16070 * tutorial.el (tutorial--display-changes): Remove unused binding.
16071 (tutorial--save-tutorial-to): Remove unused variable.
16073 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
16074 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
16075 (package-generate-autoloads, package-menu--generate)
16076 (package-menu--find-upgrades): Remove unused bindings.
16078 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
16079 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
16080 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
16081 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
16082 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
16083 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
16084 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
16085 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
16086 (cua-delete-char-rectangle): Mark unused args.
16087 (cua-align-rectangle): Remove unused binding.
16089 * mail/rmail.el (compilation--message->loc)
16090 (epa--find-coding-system-for-mime-charset): Declare.
16092 * net/dbus.el (dbus-register-service): Declare.
16093 (dbus-name-owner-changed-handler): Remove unused binding.
16095 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
16096 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
16097 (nxml-scan-backward-within): Mark unused arg.
16098 (nxml-dynamic-markup-word): Remove unused binding.
16100 * mouse.el (mouse-menu-major-mode-map):
16101 * emacs-lisp/authors.el (authors-scan-change-log)
16102 (authors-add-to-author-list):
16103 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16104 * emacs-lisp/smie.el (smie-auto-fill):
16105 * mail/sendmail.el (mail-bury):
16106 * mail/unrmail.el (unrmail):
16107 * net/tls.el (open-tls-stream):
16108 * textmodes/picture.el (picture-mouse-set-point):
16109 Remove unused bindings.
16111 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16113 * net/tramp.el (tramp-action-password): Let-bind
16114 `enable-recursive-minibuffers' to t.
16116 2012-04-18 Sam Steingold <sds@gnu.org>
16118 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16119 instead of 'string to accommodate values like [f11].
16120 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16121 * progmodes/gdb-mi.el: Likewise.
16123 2012-04-18 Leo Liu <sdl.web@gmail.com>
16125 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16127 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16130 2012-04-18 Chong Yidong <cyd@gnu.org>
16132 * simple.el (line-move): Use forward-line if in batch mode
16135 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16137 * files.el (after-find-file): Do not try to add a final newline if
16138 the buffer is read-only (Bug#11156).
16140 2012-04-17 Richard Stallman <rms@gnu.org>
16142 * mail/rmail.el (rmail-start-mail):
16143 Pass (rmail-mail-return...) for the return-action.
16144 Pass (rmail-yank-current-message...) for the yank-action.
16145 (rmail-yank-current-message): New function.
16146 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16147 (rmail-reply): Likewise.
16148 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16150 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16151 buffer, not the last. Reject temp buffers. Use the rmail-mode
16152 buffer, not newbuf.
16154 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16156 * server.el (server-ensure-safe-dir): Simplify.
16158 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16160 * emacs-lisp/smie.el: Provide smarter auto-filling.
16161 (smie-auto-fill): New function.
16162 (smie-setup): Use it.
16164 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16166 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16168 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16169 (comment-indent): Use it.
16171 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
16173 * ses.el: The overall change is to add cell renaming, that is
16174 setting fancy names for cell symbols other than name matching
16175 "\\`[A-Z]+[0-9]+\\'" regexp .
16176 (ses-localvars): Add ses--renamed-cell-symb-list.
16177 (ses-create-cell-variable): New defun.
16178 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16179 (ses-relocate-formula): Relocate formulas only for cells the
16180 symbols of which are not renamed, i.e. symbols whose names do not
16181 match regexp "\\`[A-Z]+[0-9]+\\'".
16182 (ses-relocate-all): Relocate values only for cells the symbols of
16183 which are not renamed.
16184 (ses-load): Create cells variables as the (ses-cell ...) are read,
16185 in order to check row col consistency with cell symbol name only
16186 for cells that are not renamed.
16187 (ses-replace-name-in-formula): New defun.
16188 (ses-rename-cell): New defun.
16190 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16192 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16193 New option (bug#11118).
16194 (perl-calculate-indent): Respect it.
16196 2012-04-17 Glenn Morris <rgm@gnu.org>
16198 * dired-aux.el (dired-mark-read-string): Doc fix.
16200 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16202 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16203 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16205 2012-04-17 Glenn Morris <rgm@gnu.org>
16207 * mouse.el (mouse-drag-track):
16208 * speedbar.el (speedbar-frame-mode):
16209 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16211 2012-04-16 Leo Liu <sdl.web@gmail.com>
16213 * progmodes/python.el: Trivial cleanup.
16215 2012-04-16 Glenn Morris <rgm@gnu.org>
16217 * vc/vc.el (vc-string-prefix-p):
16218 * vc/pcvs-util.el (cvs-string-prefix-p):
16219 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16220 * mpc.el (mpc-string-prefix-p):
16221 Make all of these into obsolete aliases for string-prefix-p.
16223 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16225 * textmodes/two-column.el: Move custom options to the start.
16226 (frame-width): Remove compat definition.
16227 (2C-associate-buffer, 2C-dissociate):
16228 Use with-current-buffer rather than save-excursion.
16229 (2C-dissociate): Force a mode-line update.
16230 (2C-autoscroll): Use ignore-errors.
16232 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16235 * emacs-lisp/cl-extra.el (*random-state*):
16236 Remove unnecessary declaration.
16238 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16240 * play/cookie1.el (cookie-snarf):
16241 Give an explicit error if input file cannot be read.
16243 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16245 * progmodes/perl-mode.el (c-macro-expand):
16246 Remove unnecessary autoload (it is in loaddefs.el).
16248 * textmodes/picture.el (picture-desired-column)
16249 (picture-update-desired-column): Convert comments to doc-strings.
16250 (picture-substitute): Remove function.
16251 (picture-mode-map): Initialize in the defvar.
16253 * woman.el: Remove eval-after-load for tar-mode.
16254 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16255 (woman-tar-extract-file): Autoload it.
16257 * frame.el (automatic-hscrolling): Make this alias obsolete.
16259 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16261 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16262 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16263 (ispell-dictionary-base-alist): Revert to original XEmacs
16264 friendly version for default. [:alpha:] will be added in
16265 `ispell-set-spellchecker-params' if needed.
16267 2012-04-16 Chong Yidong <cyd@gnu.org>
16269 * image.el (imagemagick--file-regexp): New variable.
16270 (imagemagick-register-types): Use it.
16271 (imagemagick-types-inhibit): Add :set function. Allow new value
16272 of t to inhibit all types.
16274 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16275 so we can preload it.
16277 * loadup.el (fboundp): Preload regexp-opt, needed by
16278 imagemagick-register-types.
16280 2012-04-15 Chong Yidong <cyd@gnu.org>
16282 * frame.el (scrolling): Remove nearly unused customization group.
16284 * scroll-all.el (scroll-all-mode): Move to windows group.
16286 2012-04-15 Chong Yidong <cyd@gnu.org>
16288 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16290 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16292 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16293 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16295 2012-04-15 Glenn Morris <rgm@gnu.org>
16297 * simple.el (process-file-side-effects): Doc fix.
16299 2012-04-15 Glenn Morris <rgm@gnu.org>
16301 * international/mule-cmds.el (set-language-environment): Doc fix.
16303 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16305 * server.el (server-auth-key, server-generate-key): Doc fixes.
16306 (server-get-auth-key): Doc fix. Use `string-match-p'.
16307 (server-start): Reflow docstring.
16309 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16311 * server.el (server-generate-key): `called-interactively-p'
16312 requires a parameter.
16314 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16316 * server.el (server-auth-key): New variable.
16317 (server-generate-key, server-get-auth-key): New function.
16318 (server-start): Use the new variable and functions to allow
16319 setting a permanent server key (bug#9423).
16321 2012-04-14 Leo Liu <sdl.web@gmail.com>
16323 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16325 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16328 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16329 Emacs uses American spelling.
16331 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16333 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16334 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16335 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16336 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16338 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16340 * progmodes/which-func.el (which-func-modes): Change default.
16342 2012-04-14 Kim F. Storm <storm@cua.dk>
16344 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16345 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16347 2012-04-14 Chong Yidong <cyd@gnu.org>
16349 * custom.el (custom-theme-set-variables): Doc fix.
16351 2012-04-14 Glenn Morris <rgm@gnu.org>
16353 * international/mule.el (set-auto-coding-for-load): Doc fix.
16355 2012-04-14 Alan Mackenzie <acm@muc.de>
16357 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16358 imenu work again for Objective C Mode. Correct the *-index values,
16359 these having been disturbed by a previous change in 2011-08.
16361 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16362 Correct two search limits.
16364 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16366 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16368 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16370 * international/characters.el: Fix sorting.
16372 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16374 * international/characters.el: Add more missing Latin case pairs.
16376 2012-04-14 Glenn Morris <rgm@gnu.org>
16378 * files.el (dir-locals-set-class-variables): Doc fix.
16380 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16382 * international/characters.el: Add set-case-syntax-pair call for
16383 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16384 counterpart. (Bug#11209)
16386 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16388 2012-04-14 Glenn Morris <rgm@gnu.org>
16390 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16392 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16394 * textmodes/ispell.el (ispell-dictionary-base-alist):
16395 Add data for Hebrew.
16397 2012-04-14 Chong Yidong <cyd@gnu.org>
16399 * net/rcirc.el (rcirc-cmd-quit):
16400 Revert 2012-03-18 change (Bug#11192).
16402 2012-04-14 Glenn Morris <rgm@gnu.org>
16404 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16406 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16408 * minibuffer.el (completion-in-region-mode-map):
16409 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16411 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16413 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16415 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16417 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16418 to allow `C-M-f' and `C-M-b' to move to the nearest path
16419 separator (bug#9511).
16421 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16423 * avoid.el: Require cl when compiling. And also move the
16424 `provide' to the end.
16426 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16428 * avoid.el (mouse-avoidance-banish-position): New variable.
16429 (mouse-avoidance-banish-destination): Use it (bug#10165).
16431 2012-04-13 Leo Liu <sdl.web@gmail.com>
16433 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16435 2012-04-13 Ken Brown <kbrown@cornell.edu>
16437 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16438 this is no longer needed now that cygstart understands file:// URLs.
16439 (browse-url-filename-alist): For the same reason, don't modify
16440 file:// URLs on Cygwin.
16442 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16444 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16445 the region on shift if the binding is already shifted (bug#11221).
16447 2012-04-12 Glenn Morris <rgm@gnu.org>
16449 * mail/mailpost.el: Move to obsolete/.
16451 2012-04-12 Drew Adams <drew.adams@oracle.com>
16453 * imenu.el (imenu--generic-function): Ignore invisible definitions
16456 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16458 * hexl.el (hexl-bits): New variable.
16459 (hexl-options): Mention the variable in the doc string.
16460 (hexl-rulerise, hexl-line-displen): New functions.
16461 (hexl-mode): Mention the new variable.
16462 (hexl-mode, hexl-current-address, hexl-current-address):
16464 (hexl-ascii-start-column): New function.
16465 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16466 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16468 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16470 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16471 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16472 the encoding, as expected by hunspell.
16474 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16476 * battery.el (battery--linux-sysfs-regexp): New const.
16477 (battery-status-function): Use it. Remove yeeloong special case.
16478 (battery-yeeloong-sysfs): Remove.
16479 (battery-echo-area-format): Remove yeeloong special case.
16481 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16483 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16484 Reported by Noah Friedman.
16486 * subr.el (read-passwd): Use read-string.
16488 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16490 * vcursor.el (vcursor-move): Increase the priority of the overlay
16493 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16495 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16496 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16498 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16500 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16501 define-minor-mode (bug#10760).
16503 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16505 * progmodes/grep.el (rgrep): Tweak the find command line so
16506 that directories matching `grep-find-ignored-files' won't be
16507 pruned (bug#10351).
16509 2012-04-11 Chong Yidong <cyd@gnu.org>
16511 * startup.el (command-line): Remove support for long-obsolete
16512 variable font-lock-face-attributes.
16514 2012-04-11 Glenn Morris <rgm@gnu.org>
16516 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16518 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16520 * window.el (window--state-get-1): Obey window-point-insertion-type.
16522 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16524 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16525 to previous function when point is on the first character of a
16526 function. Take care of that in `narrow-to-defun' (bug#6157).
16528 2012-04-11 Glenn Morris <rgm@gnu.org>
16530 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16531 not just file-errors.
16533 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16534 (vc-bzr-sha1): Use internal sha1.
16536 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16538 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16540 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16542 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16543 that start in the middle of the line (bug#10496).
16545 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16547 * battery.el (battery-linux-proc-acpi): Only one battery is
16548 discharged at a time, but that seems to confuse battery.el when
16549 computing `rate-type' for the battery not being discharged
16552 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16554 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16556 * international/quail.el: Use dolist and simplify.
16557 (quail-define-package, quail-update-keyboard-layout)
16558 (quail-define-rules): Use dolist.
16559 (quail-insert-kbd-layout, quail-get-translation): CSE.
16561 * tmm.el: Use dolist, remove left over hook.
16562 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16564 (calendar-load-hook): Don't mess with it.
16566 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16567 Use derived-mode-p. Run the diff asynchronously.
16569 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16571 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16573 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16575 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16576 (list-dynamic-libraries--loaded): New function.
16577 (list-dynamic-libraries--refresh): Use it.
16579 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16581 * progmodes/python.el (python-fill-paragraph):
16582 Make python-fill-region in a multiline string work when font-lock is
16583 disabled (bug#7018).
16585 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16587 * language/european.el (cp775): Add oem/legacy (en)coding on
16588 DOS/MS Windows for the Baltic languages. There are still plenty
16589 of texts written in this encoding/codepage (bug#6519).
16591 2012-04-10 Glenn Morris <rgm@gnu.org>
16593 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16594 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16596 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16598 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16599 next-line "n" and previous-line "p" in order to make recentf more
16600 consistent with ibuffer, dired or org-mode (bug#9387).
16602 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16604 * image.el (put-image): Return the overlay created instead of the
16605 optional input string (bug#7834). Note that this may break code
16606 that is (for some reason or other) depending on `put-image'
16607 returning the string.
16609 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16611 * simple.el (zap-to-char): Allow zapping using input methods
16614 * textmodes/fill.el (fill-region): Leave point and mark where they
16615 were before filling (bug#5399).
16617 2012-04-09 Glenn Morris <rgm@gnu.org>
16619 * version.el (emacs-bzr-get-version):
16620 Handle lightweight checkouts of local branches.
16622 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16624 * international/characters.el: Recover lost case pairs. (Bug#11209)
16626 2012-04-09 Chong Yidong <cyd@gnu.org>
16628 * custom.el (custom-variable-p): Return nil for non-symbol
16629 arguments instead of signaling an error.
16630 (user-variable-p): Obsolete alias for custom-variable-p.
16632 * apropos.el (apropos-variable):
16633 * files-x.el (read-file-local-variable):
16634 * simple.el (set-variable):
16635 * woman.el (woman-mini-help):
16636 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16638 2012-04-09 Glenn Morris <rgm@gnu.org>
16640 * startup.el (normal-top-level): Don't look for leim-list.el
16641 in places where it will not be found. (Bug#910)
16643 * international/mule-cmds.el (set-default-coding-systems):
16644 * files.el (normal-mode):
16645 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16646 This function was removed with ucs-tables.el in 2008.
16648 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16650 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16651 ispell-encoding8-command to "-i", without a trailing space.
16652 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16653 separate command-line arguments, to specify the encoding, since
16654 that's how hunspell expects it.
16656 2012-04-08 Glenn Morris <rgm@gnu.org>
16658 * loadup.el: Load bindings before cus-start.
16659 This reduces somewhat the number of "rogue" settings in emacs -Q.
16661 2012-04-07 Glenn Morris <rgm@gnu.org>
16663 * version.el (emacs-bzr-get-version): New function.
16664 (emacs-bzr-version): New variable.
16665 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16666 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16668 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16670 * international/uni-bidi.el, international/uni-category.el:
16671 * international/uni-combining.el, international/uni-decimal.el:
16672 * international/uni-decomposition.el, international/uni-digit.el:
16673 * international/uni-lowercase.el, international/uni-mirrored.el:
16674 * international/uni-name.el, international/uni-numeric.el:
16675 * international/uni-titlecase.el, international/uni-uppercase.el:
16676 Update for Unicode 6.1.
16678 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16680 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16682 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16684 * window.el (shrink-window): Mention the `window-min-height'
16685 variable in the doc string.
16687 2012-04-05 Bastien Guerry <bzg@altern.org>
16689 * color.el (color-lighten-name): Fix typo.
16691 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16693 * server.el (server--on-display-p): New function.
16694 (server--on-display-p): Use it.
16696 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16698 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16701 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * comint.el (comint--common-quoted-suffix): Check string boundary
16704 before comparing (bug#11158).
16705 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16707 2012-04-04 Chong Yidong <cyd@gnu.org>
16709 * minibuffer.el (completion-extra-properties): Doc fix.
16711 * subr.el (delayed-warnings-hook): Doc fix.
16713 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16715 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16716 selection (Bug#11159).
16717 (epa-insert-keys): Inform that the default public key will be
16718 exported if no key is selected.
16720 2012-04-04 Richard Stallman <rms@gnu.org>
16722 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16724 2012-04-03 Chong Yidong <cyd@gnu.org>
16726 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16727 mail-insert-file, not its obsolete alias mail-attach-file.
16729 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16731 * notifications.el (notifications-notify): Fix docstring.
16733 2012-04-02 Glenn Morris <rgm@gnu.org>
16735 * emacs-lisp/authors.el (authors-aliases): Another addition.
16737 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16739 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16740 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16741 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16743 2012-04-01 Chong Yidong <cyd@gnu.org>
16745 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16746 Handle root directory properly.
16747 (copy-directory): Caller changed.
16749 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16750 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16752 2012-03-31 Glenn Morris <rgm@gnu.org>
16754 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16756 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16758 * calendar/calendar.el (calendar-window-list)
16759 (calendar-hide-window): Restore. (Bug#11140)
16760 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16762 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16764 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16766 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16767 Check if file is a symlink (Bug#10489).
16769 * files.el (copy-directory): Likewise.
16771 2012-03-30 Chong Yidong <cyd@gnu.org>
16773 * image.el (imagemagick-types-inhibit)
16774 (imagemagick-register-types): Doc fix.
16776 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16778 * textmodes/ispell.el (ispell-get-extended-character-mode):
16779 Disable extended-char-mode for hunspell. hunspell does not support it
16780 and treats ~word as ordinary words in pipe mode.
16782 2012-03-30 Glenn Morris <rgm@gnu.org>
16784 * tutorial.el (help-with-tutorial): Ensure local variables don't
16785 happen to make the buffer read-only. (Bug#11127)
16787 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16789 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16790 (perl-calculate-indent): Return `noindent' in strings.
16792 2012-03-28 Sam Steingold <sds@gnu.org>
16794 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16795 instead of the broken adhockery which does not prevent calendar
16796 buffers from being displayed at random after exit.
16797 (calendar-window-list, calendar-hide-window): Remove the broken
16800 2012-03-28 Glenn Morris <rgm@gnu.org>
16802 * replace.el (query-replace-map): Doc fix.
16804 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16806 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16807 contents. (Bug#11109)
16809 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16811 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16813 (avl-tree--check, avl-tree--check-node): New funs.
16815 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16817 * window.el (switch-to-visible-buffer): New option.
16818 (switch-to-prev-buffer, switch-to-next-buffer):
16819 Observe switch-to-visible-buffer. Make sure that checking for a window
16820 showing a buffer already is done on the same frame.
16822 2012-03-27 Glenn Morris <rgm@gnu.org>
16824 * startup.el (mail-host-address): Doc fix.
16826 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16828 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16829 than 197 variables.
16831 2012-03-26 Ami Fischman <ami@fischman.org>
16833 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16835 2012-03-26 Glenn Morris <rgm@gnu.org>
16837 * files.el (save-buffers-kill-emacs): Doc fix.
16839 * startup.el (normal-top-level, command-line, command-line-1):
16840 Give them doc strings.
16842 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16844 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16845 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16847 2012-03-25 Chong Yidong <cyd@gnu.org>
16849 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16850 theme if it was previously enabled before (Bug#11031).
16852 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16853 spec with custom-face-get-current-spec if its :shown-value is not
16854 determined yet (Bug#9337).
16855 (customize-create-theme, custom-theme-revert): Doc fixes.
16857 * button.el (button-at): Minor addition to docstring.
16859 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16861 * vc/vc.el (vc-merge): Fix a prompt.
16863 2012-03-24 Chong Yidong <cyd@gnu.org>
16865 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16868 * button.el (button-at): Minor addition to docstring.
16870 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16872 * newcomment.el (comment-choose-indent): No space after BOL.
16874 2012-03-22 Sam Steingold <sds@gnu.org>
16876 * window.el (switch-to-prev-buffer): Revert last patch because the
16877 bug turned out to be an advertised feature (Elisp manual 28.14).
16879 2012-03-22 Glenn Morris <rgm@gnu.org>
16881 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16882 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16884 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16886 * net/network-stream.el (network-stream-open-starttls): Make error
16887 message under Windows be less misleading.
16889 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16891 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16892 understands (bug#9942).
16894 2012-03-22 Chong Yidong <cyd@gnu.org>
16896 * simple.el (end-of-visible-line): Handle return value of
16897 next-single-property-change properly (Bug#9371).
16899 2012-03-22 Kenichi Handa <handa@m17n.org>
16901 * international/quail.el (quail-insert-kbd-layout): Fix previous
16902 change. To avoid unwanted bidi reordering, use
16903 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16905 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16907 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16908 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16909 (ruby-beginning-of-indent): Be more careful with the difference
16910 between word-boundary and symbol boundary.
16911 (ruby-mode-syntax-table): Make : a symbol constituent.
16913 2012-03-21 Andreas Politz <politza@fh-trier.de>
16915 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16917 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16919 * progmodes/etags.el (tags-completion-at-point-function):
16922 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16924 2012-03-21 Sam Steingold <sds@gnu.org>
16926 * progmodes/etags.el (tags-completion-at-point-function):
16927 Avoid the error when point is inside the pattern.
16929 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16931 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16934 2012-03-21 Drew Adams <drew.adams@oracle.com>
16936 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16938 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16940 * ido.el (ido-set-current-directory, ido-read-internal)
16941 (ido-choose-completion-string, ido-completion-help): Handle nil
16942 value of ido-completion-buffer (Bug#11008).
16944 2012-03-21 Sam Steingold <sds@gnu.org>
16946 * window.el (switch-to-prev-buffer): Do not switch to a visible
16947 window previous buffer, just like with the frame previous buffers.
16949 2012-03-21 Chong Yidong <cyd@gnu.org>
16951 * faces.el (make-face, make-empty-face, copy-face):
16952 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16955 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16957 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16958 (widget-complete): Remove broken use of it.
16960 2012-03-20 Chong Yidong <cyd@gnu.org>
16962 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16963 Use string-width and truncate-string-width to handle arbitrary
16966 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16968 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16969 to draw rectangles, not squares. (Regression introduced by revno
16970 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16972 2012-03-18 Chong Yidong <cyd@gnu.org>
16974 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16975 it is not yet defined (for temacs).
16977 2012-03-18 Leo Liu <sdl.web@gmail.com>
16979 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16982 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16984 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16985 (ispell-choices-win-default-height, ispell-silently-savep)
16986 (ispell-dictionary-alist, ispell-encoding8-command)
16987 (ispell-check-version, ispell-aspell-find-dictionary)
16988 (ispell-valid-dictionary-list, ispell-words-keyword)
16989 (ispell-get-word, ispell-internal-change-dictionary)
16990 (ispell-region, ispell-skip-region-list)
16991 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16992 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16993 (ispell-message-text-end, ispell-message)
16994 (ispell-buffer-local-parsing): Doc fix.
16996 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16998 * htmlfontify.el: Add support for code block fontification for ODT
16999 export (Bug #9914).
17000 (hfy-optimisations): Define new option
17002 (hfy-fontify-buffer): Honor above setting.
17003 (hfy-begin-span, hfy-end-span): New routines factored out form
17004 `hfy-fontify-buffer'.
17005 (hfy-begin-span-handler, hfy-end-span-handler): New variables
17006 that permit insertion of custom tags.
17007 (hfy-fontify-buffer): Use above handlers.
17008 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
17009 (hfy-face-to-css): Re-defined to be a variable.
17010 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
17011 over multiple runs. This is made possible by having the caller let
17012 bind a special variable `hfy-user-sheet-assoc'.
17013 (htmlfontify-string): New defun.
17014 (hfy-compile-face-map): Make sure that the last char in the
17015 buffer is correctly fontified.
17016 (hfy-face-resolve-face): Whitespace only change.
17018 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17020 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
17021 message more clear.
17023 2012-03-16 Leo Liu <sdl.web@gmail.com>
17025 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
17027 2012-03-16 Alan Mackenzie <acm@muc.de>
17029 Further optimize the handling of large macros.
17031 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
17032 limit to a call of `c-literal-limits'.
17033 (c-determine-+ve-limit): New function.
17034 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
17035 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
17036 In CASE 5B, restrict a search limit to 500.
17037 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
17039 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
17040 Restrict macro bounds to +-500 from after-change's BEG END.
17042 2012-03-16 Leo Liu <sdl.web@gmail.com>
17044 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
17046 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
17048 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
17049 `special-mode' setting of `buffer-read-only'. (Bug#11010)
17051 2012-03-16 Glenn Morris <rgm@gnu.org>
17053 * view.el (view-buffer, view-buffer-other-window)
17054 (view-buffer-other-frame): Doc fixes re special mode-class.
17056 * subr.el (eval-after-load): If named feature is provided not from
17057 a file, run after-load forms. (Bug#10946)
17059 * calendar/calendar.el (calendar-insert-at-column):
17060 Handle non-unit-width characters a bit better. (Bug#10978)
17062 2012-03-15 Chong Yidong <cyd@gnu.org>
17064 * emacs-lisp/ring.el (ring-extend): New function.
17065 (ring-insert+extend): Extend the ring correctly (Bug#11019).
17067 * comint.el (comint-read-input-ring)
17068 (comint-add-to-input-history): Grow comint-input-ring lazily.
17070 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17072 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
17073 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
17075 * imenu.el: Fix multiple inheritance breakage (bug#9199).
17076 (imenu-add-to-menubar): Don't add a redundant index.
17077 (imenu-update-menubar): Handle a dynamically composed keymap.
17079 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
17081 * mail/sendmail.el (mail-encode-header):
17082 Bind rfc2047-encode-encoded-words to nil.
17084 2012-03-13 Glenn Morris <rgm@gnu.org>
17086 * calendar/calendar.el (calendar-string-spread):
17087 Handle non-unit-width characters a bit better. (Bug#10978)
17089 2012-03-13 Leo Liu <sdl.web@gmail.com>
17091 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
17092 directory and file as argument (Bug#10822).
17094 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17096 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
17097 For dynamically generated code, follow $PC.
17098 (gdb-disassembly-handler-custom): Handle no function name case.
17100 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17102 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17103 * emulation/ws-mode.el (ws-query-replace):
17104 * sort.el (sort-regexp-fields):
17105 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17107 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17109 * dabbrev.el: Fix cycle completion order (bug#10963).
17110 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17111 (dabbrev-completion): Don't use an obarray; provide
17112 a cycle-sort-function.
17114 2012-03-12 Leo Liu <sdl.web@gmail.com>
17116 * simple.el (kill-new): Use equal-including-properties for comparison.
17117 (kill-do-not-save-duplicates): Doc fix.
17119 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17121 * dabbrev.el: Fix cycle completion (bug#10963).
17122 Use lexical binding and wrap to 80 columns.
17123 (dabbrev-completion): Delay computing the list of completions.
17125 2012-03-12 Kenichi Handa <handa@m17n.org>
17127 * international/quail.el (quail-insert-kbd-layout): Surround each
17128 row by LRO and PDF instead of inserting many LRMs. Pad the left
17129 and right of each non-spacing marks. Insert invisible space
17130 between lower and upper characters to prevent composition.
17132 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17134 * minibuffer.el (minibuffer-complete): Don't get confused when the
17135 function is run twice via different commands (bug#10958).
17136 (complete-with-action): Fix docstring.
17138 2012-03-12 Chong Yidong <cyd@gnu.org>
17140 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17141 (nxml-completion-at-point-function): New function.
17142 (nxml-mode): Use it.
17143 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17145 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17146 Load generated autoloads file before byte compiling (Bug#10970).
17147 (package--make-autoloads-and-compile): New helper fun.
17149 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17151 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17153 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17155 * autorevert.el (auto-revert-handler): Ensure, that
17156 file-readable-p is applied only for local files or in
17157 auto-revert-tail-mode.
17159 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17161 * server.el (server-eval-at): Handle non-tcp connections.
17162 Decode result string.
17164 * server.el (server-msg-size): New constant.
17165 (server-reply-print): New function.
17166 (server-eval-and-print): Use it.
17167 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17168 Handle -print-nonl.
17170 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17172 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17175 2012-03-11 Chong Yidong <cyd@gnu.org>
17177 * simple.el (goto-line): Doc fix (Bug#9938).
17179 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17181 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17182 when finished (Bug#10963).
17184 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17186 * window.el (split-window-below): Fix bug in case where
17187 split-window-keep-point is nil (Bug#10971).
17189 2012-03-11 Juri Linkov <juri@jurta.org>
17191 * replace.el (replace-highlight): Set isearch-word to nil
17192 unconditionally. (Bug#10887)
17194 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17196 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17197 mairix-replace-illegal-chars; all callers changed. Don't remove
17198 ^, ~, and = characters: they are meaningful in mairix search specs.
17199 (mairix-widget-create-query): Add usage information about mairix
17200 search forms: negating words, searching for substrings, etc.
17202 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17204 * international/fontset.el (font-encoding-alist): Add an entry for
17205 ksx1001 (Bug#5667).
17207 2012-03-10 Richard Stallman <rms@gnu.org>
17209 * mail/sendmail.el (mail-encode-header):
17210 Set rfc2047-encode-encoded-words.
17212 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17214 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17215 view buffer means not swapped.
17216 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17217 (rmail-write-region-annotate): Error if real text has disappeared.
17219 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17221 2012-03-10 Chong Yidong <cyd@gnu.org>
17223 * emulation/cua-rect.el (cua--init-rectangles):
17224 * emulation/cua-base.el (cua--init-keymaps):
17225 Add delete-forward-char to remappings (Bug#9666).
17227 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17229 * speedbar.el (speedbar-unhighlight-one-tag-line):
17230 Avoid unhighlighting due to frame switching (Bug#10275).
17232 2012-03-10 Chong Yidong <cyd@gnu.org>
17234 * minibuffer.el (completion-in-region, completion-help-at-point):
17235 Give the completion field overlay a high priority (Bug#6830).
17237 * dired.el (dired-goto-file): Recognize absolute file name
17238 listings (Bug#7126).
17239 (dired-goto-file-1): New helper function.
17240 (dired-toggle-read-only): Inhibit warnings.
17242 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17244 * net/dbus.el (dbus-property-handler): Return empty array if
17245 there are no properties.
17247 2012-03-09 Leo Liu <sdl.web@gmail.com>
17249 * savehist.el (savehist-printable): Stricter check for string
17252 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17254 * mail/smtpmail.el (smtpmail-send-it):
17255 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17258 2012-03-09 Glenn Morris <rgm@gnu.org>
17260 * files.el (dir-locals-find-file):
17261 Don't check result is regular, readable.
17262 (dir-locals-read-from-file): Demote errors.
17264 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17266 * international/quail.el (quail-insert-kbd-layout):
17267 Insert invisible LRM characters before each character in a keyboard
17268 layout cell, to prevent their reordering by bidi display engine.
17269 For details, see the discussion in
17270 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17272 2012-03-08 Alan Mackenzie <acm@muc.de>
17274 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17275 the starting position; make it extend the marked region when
17276 invoked repeatedly - all under appropriate circumstances.
17277 Fixes bugs #5525, #10906.
17279 2012-03-08 Glenn Morris <rgm@gnu.org>
17281 * files.el (locate-dominating-file, dir-locals-find-file):
17282 Undo 2012-03-06 change.
17284 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17286 * international/quail.el (quail-help):
17287 Force bidi-paragraph-direction be left-to-right. See discussion in
17288 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17291 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17293 Avoid superfluous registering of signals. (Bug#10807)
17295 * notifications.el (notifications-on-action-object)
17296 (notifications-on-close-object): New defvars.
17297 (notifications-on-action-signal, notifications-on-closed-signal):
17298 Unregister the signal if not needed any longer.
17299 (notifications-notify): Register `notifications-action-signal' or
17300 `notifications-closed-signal', if :on-action or :on-close has been
17301 passed as argument.
17303 2012-03-07 Chong Yidong <cyd@gnu.org>
17305 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17308 2012-03-06 Glenn Morris <rgm@gnu.org>
17310 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17311 (x-disown-selection-internal, x-get-selection-internal):
17312 Doc fix (add arglist signatures). (Bug#10783)
17314 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17316 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17317 Handle breakpoints with no "type".
17319 2012-03-06 Glenn Morris <rgm@gnu.org>
17321 * files.el (locate-dominating-file): Add optional predicate argument.
17322 (dir-locals-find-file): Make use of above change.
17324 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17326 * info.el (Info-insert-dir): Also try "dir.gz".
17328 2012-03-06 Glenn Morris <rgm@gnu.org>
17330 * files.el (dir-locals-find-file):
17331 Ignore non-readable or non-regular files. (Bug#10928)
17333 * files.el (locate-dominating-file): Doc fix.
17335 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17337 * calendar/calendar.el (calendar-set-mode-line):
17338 `getenv' returns a string. (Bug#10951)
17340 2012-03-05 Leo Liu <sdl.web@gmail.com>
17342 * simple.el (backward-delete-char-untabify): Constrain point to
17345 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17347 2012-03-05 Chong Yidong <cyd@gnu.org>
17349 * simple.el (count-words): If called from Lisp, return the word
17350 count, for symmetry with `count-lines'. Arglist changed.
17351 (count-words--message): Args changed. Consolidate counting code
17352 from count-words and count-words-region.
17353 (count-words-region): Caller changed.
17354 (count-lines-region): Make it an obsolete alias.
17356 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17358 * saveplace.el (save-place-to-alist)
17359 (save-place-ignore-files-regexp): Allow value nil to disable this
17362 2012-03-04 Chong Yidong <cyd@gnu.org>
17364 * faces.el (face-spec-reset-face): For the default face, reset the
17365 attributes to default values (Bug#10748).
17367 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17369 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17370 previous patch: Check `message-send-mail-function', and not the
17371 default function (bug#10897).
17373 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17375 * notifications.el (notifications-on-action-signal)
17376 (notifications-on-closed-signal): Check for unique service name of
17377 incoming event. Fix error in removing entry.
17378 (top): Register for signals with wildcard service name.
17379 (notifications-notify): Use daemon unique service name for map entries.
17381 2012-03-04 Chong Yidong <cyd@gnu.org>
17383 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17385 2012-03-04 Glenn Morris <rgm@gnu.org>
17387 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17388 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17389 (expand-abbrev, define-abbrev-table): Doc fixes.
17391 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17393 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17394 `message-default-send-mail-function' and not `send-mail-function'
17395 when doing the prompting for `sendmail-query-once' before sending
17396 in Message buffers (bug#10897).
17398 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17399 This is inconsistent with all the other stream functions, which leave
17400 the setting up to the higher levels (if so wanted) (bug#10931).
17402 2012-03-02 Alan Mackenzie <acm@muc.de>
17404 Depessimize the handling of very large macros.
17406 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17407 (c-macro-cache-syntactic): New variables to implement a one
17408 element macro cache.
17409 (c-invalidate-macro-cache): New function.
17410 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17411 Adapt to use the new cache.
17412 (c-state-safe-place): Use better the cache of safe positions.
17413 (c-state-semi-nonlit-pos-cache)
17414 (c-state-semi-nonlit-pos-cache-limit):
17415 New variables for...
17416 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17417 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17418 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17419 Use c-state-semi-safe-place.
17421 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17422 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17424 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17426 * jka-compr.el (jka-compr-call-process):
17427 Apply `file-accessible-directory-p' only when the default directory is
17430 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17432 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17433 access of FILE2, if FILE1 does not exist.
17435 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17436 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17438 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17439 Add "PAGER=" to `process-environment'.
17441 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17443 * progmodes/sql.el: Bug fix
17444 (sql-get-login-ext): Save login values in globals.
17445 (sql-get-login): Use new version of `sql-get-login-ext'.
17446 (sql-interactive-mode): Set global `sql-connection' to nil.
17447 (sql-connect): Set global values for connection.
17448 (sql-product-interactive): Save global values as buffer local.
17450 2012-02-29 Leo Liu <sdl.web@gmail.com>
17452 * abbrev.el (define-abbrevs): Reset sys to nil.
17454 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17456 * files.el (file-equal-p): Rename from `files-equal-p'.
17457 Return nil when one or both files don't exist.
17458 (file-subdir-of-p): Now only top directory must exists,
17459 return nil if it doesn't.
17460 (copy-directory): No need to test with `file-subdir-of-p' after
17462 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17465 2012-02-28 Glenn Morris <rgm@gnu.org>
17467 * shell.el (shell-mode):
17468 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17469 * play/landmark.el (landmark-font-lock-face-O):
17470 * play/handwrite.el (handwrite):
17471 * play/gomoku.el (gomoku-O):
17472 * net/browse-url.el (browse-url-browser-display):
17473 * international/mule.el (define-charset):
17474 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17475 * filesets.el (filesets-find-file-delay):
17476 * eshell/em-xtra.el (eshell-xtra):
17477 * eshell/em-unix.el (eshell-grep):
17478 * emulation/viper.el (viper-mode):
17479 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17480 * emacs-lisp/easymenu.el (easy-menu-define):
17481 * calendar/timeclock.el (timeclock-use-display-time):
17483 * bookmark.el (bookmark-save-flag):
17484 Doc fix (standardize possessive apostrophe usage).
17486 2012-02-27 Chong Yidong <cyd@gnu.org>
17488 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17489 Fix key-binding lookup for ESC key (Bug#9146).
17491 * font-lock.el (font-lock-specified-p): Rename from
17492 font-lock-spec-present. Callers changed.
17494 2012-02-27 Daniel Hackney <dan@haxney.org>
17496 * emacs-lisp/package.el (package-compute-transaction):
17497 Handle holding a package version to t in package-load-list.
17499 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17501 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17502 (tramp-get-inode, tramp-get-device): Use cached values.
17504 2012-02-26 Alan Mackenzie <acm@muc.de>
17506 Check there is a font-lock specification before doing initial
17509 * font-core.el (font-lock-mode): Move the conditional from
17510 :after-hook to font-lock-initial-fontify.
17511 (font-lock-default-function): Move the check for a specification
17512 to font-lock-spec-present.
17514 * font-lock.el (font-lock-initial-fontify): Call ...
17515 (font-lock-spec-present): New function.
17517 2012-02-26 Jim Blandy <jimb@red-bean.com>
17519 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17520 (gdb-send): Apply it to the operand of the '-interpreter-exec
17521 console' command, so that we can pass arguments with (say) quotes
17522 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17524 2012-02-26 Chong Yidong <cyd@gnu.org>
17526 * help-fns.el (describe-function-1): Clarify description of
17527 remapping (Bug#10844).
17529 * files.el (files-equal-p): Doc fix.
17530 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17531 and quit the loop once a mismatch is found.
17533 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17535 * bs.el (bs--show-with-configuration): Don't throw an error
17536 if the window cannot be split; otherwise, subsequent calls to
17537 bs-show fail, restoring a stale window config. (Bug#10882)
17539 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17541 * term/ns-win.el (global-map): Bind ns-drag-file to
17542 ns-find-file (Bug#5855, Bug#10050).
17544 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17546 * calendar/parse-time.el (parse-time-string): Allow extractor to
17549 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17551 * net/tramp.el (tramp-file-name-for-operation):
17552 Add `files-equal-p' and `file-subdir-of-p'.
17554 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17555 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17556 Add COPY-CONTENTS argument.
17558 2012-02-25 Chong Yidong <cyd@gnu.org>
17560 Add custom groups for VC backends, for consistency with vc-bzr.
17562 * vc/vc-arch.el (vc-arch):
17563 * vc/vc-cvs.el (vc-cvs):
17564 * vc/vc-git.el (vc-git):
17565 * vc/vc-hg.el (vc-hg):
17566 * vc/vc-mtn.el (vc-mtn):
17567 * vc/vc-rcs.el (vc-rcs):
17568 * vc/vc-sccs.el (vc-sccs):
17569 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17570 All relevant defcustoms reassigned.
17572 2012-02-25 Chong Yidong <cyd@gnu.org>
17574 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17576 * term/x-win.el (x-initialize-window-system): Reduce default for
17577 x-selection-timeout to 5 seconds (Bug#8869).
17579 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17581 * files.el (files-equal-p, file-subdir-of-p): New functions.
17582 (copy-directory): Error when trying to copy a directory on itself.
17583 Add missing copy-contents arg to tramp handler.
17584 * dired-aux.el (dired-copy-file-recursive): Same.
17585 (dired-create-files): Modify destination when source is equal to
17586 dest when copying files.
17587 Return also when dest is a subdir of source. (Bug#10489)
17589 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17591 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17594 2012-02-23 Alan Mackenzie <acm@muc.de>
17596 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17597 parameter "after-hook:" to allow the expansion to run code after
17598 the execution of the mode hooks.
17600 * font-lock.el (font-lock-initial-fontify): New function extracted
17601 from font-lock-mode-internal.
17603 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17606 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17608 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17609 (completion--cache-all-sorted-completions): New function.
17610 (completion-all-sorted-completions): Use it.
17611 (completion--do-completion, minibuffer-force-complete):
17612 Use it to re-instate the flush hook.
17614 * icomplete.el (icomplete-completions): Replace last fix with a better
17617 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17619 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17620 when it might call us back infinitely (bug#10797).
17622 2012-02-23 Glenn Morris <rgm@gnu.org>
17624 * minibuffer.el (completion-category-overrides): Doc fix.
17626 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17628 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17629 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17631 2012-02-23 Glenn Morris <rgm@gnu.org>
17633 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17634 (authors-obsolete-files-regexps, authors-ignored-files)
17635 (authors-ambiguous-files, authors-renamed-files-alist):
17638 2012-02-23 Juri Linkov <juri@jurta.org>
17640 * isearch.el (isearch-occur): Sync interactive spec with occur's
17641 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17643 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17645 2012-02-22 Juri Linkov <juri@jurta.org>
17647 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17648 (ucs-insert): Doc fix. Check for hex digits in the string.
17649 Don't display `nil' in the error message. (Bug#10857)
17651 2012-02-22 Alan Mackenzie <acm@muc.de>
17653 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17655 2012-02-22 Glenn Morris <rgm@gnu.org>
17657 * ffap.el (ffap-c-path):
17658 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17660 2012-02-22 Chong Yidong <cyd@gnu.org>
17662 * custom.el (load-theme): Doc fix.
17664 2012-02-22 Glenn Morris <rgm@gnu.org>
17666 * dired-x.el (dired-guess-shell-alist-default):
17667 Remove escape sequences from nroff output. (Bug#172)
17669 2012-02-21 Glenn Morris <rgm@gnu.org>
17671 * vc/emerge.el (emerge-defvar-local):
17672 Set `permanent-local' property rather than unused `preserved'.
17674 * textmodes/picture.el (picture-delete-char): New alias.
17675 (picture-mode-map): Use it. (Bug#10860)
17676 (picture-mode): Doc fix.
17678 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17680 * newcomment.el (uncomment-region-default): Remove unused binding.
17682 2012-02-21 Glenn Morris <rgm@gnu.org>
17684 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17685 (picture-self-insert, picture-tab-chars): Doc fix.
17686 (picture-mode-map): Fix C-a, C-e.
17688 2012-02-20 Glenn Morris <rgm@gnu.org>
17690 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17692 2012-02-20 Leo Liu <sdl.web@gmail.com>
17694 * icomplete.el (icomplete-completions): Check FROM arg before
17695 passing to substring (Bug#10850).
17697 2012-02-19 Chong Yidong <cyd@gnu.org>
17699 * comint.el: Require ansi-color.
17700 (comint-output-filter-functions): Add ansi-color-process-output.
17702 * ansi-color.el: Don't set comint-output-filter-functions; it is
17703 now in the initial value defined in comint.el.
17704 (ansi-color-apply-face-function): New variable.
17705 (ansi-color-apply-on-region): Use it.
17706 (ansi-color-apply-overlay-face): New function.
17708 * shell.el (shell): No need to require ansi-color.
17709 (shell-mode): Use ansi-color-apply-face-function to highlight
17710 color escapes using font-lock-face property (Bug#10835).
17712 2012-02-19 Chong Yidong <cyd@gnu.org>
17714 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17715 mode-line formats (Bug#10839).
17717 2012-02-18 Glenn Morris <rgm@gnu.org>
17719 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17721 * mail/undigest.el (unforward-rmail-message): Doc fix.
17723 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17725 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17727 * international/characters.el (script-list): Sync with the latest
17728 Unicode Character Database.
17730 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17732 * international/titdic-cnv.el: Remove duplicate coding tag.
17733 * language/cham.el: Likewise.
17734 * language/tai-viet.el: Likewise.
17736 2012-02-18 Glenn Morris <rgm@gnu.org>
17738 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17739 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17740 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17741 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17742 * calendar/holidays.el (holiday-bahai-holidays)
17743 (calendar-holidays, list-holidays):
17744 Use utf-8 Bahá'í in doc-strings, menus, etc.
17746 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17748 * saveplace.el (save-place-ignore-files-regexp): New variable
17749 allowing for excluding files from saving their location of point.
17750 The default value matches the temporary commit message editing
17751 files from Git, SVN, Bazaar, and Mercurial.
17752 (save-place-to-alist): Use it.
17754 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17755 Stefan Monnier <monnier@iro.umontreal.ca>
17757 * newcomment.el (uncomment-region-default): Don't leave extra space
17758 when an arg is provided (bug#8150).
17760 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17762 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17764 2012-02-17 Glenn Morris <rgm@gnu.org>
17766 * net/socks.el: Require network-stream. (Bug#10599)
17768 2012-02-17 Kenichi Handa <handa@m17n.org>
17770 * international/charprop.el:
17771 * international/uni-name.el:
17772 * international/uni-old-name.el:
17773 * international/uni-comment.el: Regenerate.
17775 2012-02-16 Glenn Morris <rgm@gnu.org>
17777 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17778 Interactively in calendar buffer, give an error if not on a date.
17780 2012-02-15 Glenn Morris <rgm@gnu.org>
17782 * shell.el (shell-delimiter-argument-list):
17783 Revert 2011-02-17 change. (Bug#8027)
17785 2012-02-15 Chong Yidong <cyd@gnu.org>
17787 * minibuffer.el (completion-at-point-functions): Doc fix.
17789 * custom.el (defcustom): Doc fix; note use of defvar.
17791 2012-02-15 Glenn Morris <rgm@gnu.org>
17793 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17796 2012-02-14 Glenn Morris <rgm@gnu.org>
17798 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17800 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17802 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17803 way the ports list is computed.
17804 (smtpmail-query-smtp-server): Prompt the user for a port number if
17805 we can't connect to any of the standard ports (bug#10810).
17807 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17809 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17811 2012-02-13 Glenn Morris <rgm@gnu.org>
17813 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17815 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17817 * net/gnutls.el (gnutls-trustfiles): New variable.
17818 (gnutls-negotiate): Use it.
17820 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17822 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17823 does its stuff if Gnus is running.
17825 2012-02-13 Alan Mackenzie <acm@muc.de>
17827 Fix a loop in c-set-fl-decl-start.
17829 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17830 c-backward-syntactic-ws actually moves backwards.
17832 2012-02-13 Leo Liu <sdl.web@gmail.com>
17834 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17835 beginning so that all \C-o chars are removed.
17837 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17839 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17841 2012-02-12 Alan Mackenzie <acm@muc.de>
17843 Fix infinite loop with long macros.
17844 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17846 2012-02-12 Chong Yidong <cyd@gnu.org>
17848 * window.el (display-buffer): Doc fix (Bug#10785).
17850 2012-02-12 Glenn Morris <rgm@gnu.org>
17852 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17853 (x-disown-selection-internal, x-get-selection-internal):
17854 Sync docs with the xselect.c versions.
17856 * allout-widgets.el: Add missing license notice.
17858 2012-02-11 Glenn Morris <rgm@gnu.org>
17860 * select.el (x-get-selection-internal, x-own-selection-internal)
17861 (x-disown-selection-internal):
17862 * x-dnd.el (x-get-selection-internal): Update declarations.
17864 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17866 * window.el (window-sides-slots):
17867 * tool-bar.el (tool-bar-position):
17868 * term/xterm.el (xterm-extra-capabilities):
17869 * ses.el (ses-self-reference-early-detection):
17870 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17871 (verilog-auto-wire-type)
17872 (verilog-auto-delete-trailing-whitespace)
17873 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17874 (verilog-auto-tieoff-declaration):
17875 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17876 (sql-oracle-statement-starters, sql-oracle-scan-on):
17877 * progmodes/prolog.el (prolog-align-comments-flag)
17878 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17879 (prolog-left-indent-regexp, prolog-paren-indent-p)
17880 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17881 (prolog-types, prolog-mode-specificators)
17882 (prolog-determinism-specificators, prolog-directives)
17883 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17884 (prolog-electric-dot-flag)
17885 (prolog-electric-dot-full-predicate-template)
17886 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17887 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17888 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17889 (prolog-program-switches, prolog-prompt-regexp)
17890 (prolog-debug-on-string, prolog-debug-off-string)
17891 (prolog-trace-on-string, prolog-trace-off-string)
17892 (prolog-zip-on-string, prolog-zip-off-string)
17893 (prolog-use-standard-consult-compile-method-flag)
17894 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17895 (prolog-imenu-max-lines, prolog-info-predicate-index)
17896 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17897 (prolog-char-quote-workaround):
17898 * progmodes/cc-vars.el (c-defun-tactic):
17899 * net/tramp.el (tramp-encoding-command-interactive)
17900 (tramp-local-end-of-line):
17901 * net/soap-client.el (soap-client):
17902 * net/netrc.el (netrc-file):
17903 * net/gnutls.el (gnutls):
17904 * minibuffer.el (completion-category-overrides)
17905 (completion-cycle-threshold)
17906 (completion-pcm-complete-word-inserts-delimiters):
17907 * man.el (Man-name-local-regexp):
17908 * mail/feedmail.el (feedmail-display-full-frame):
17909 * international/characters.el (glyphless-char-display-control):
17910 * eshell/em-ls.el (eshell-ls-date-format):
17911 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17912 (lisp-lambda-list-keyword-parameter-indentation)
17913 (lisp-lambda-list-keyword-parameter-alignment):
17914 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17915 * dired-x.el (dired-omit-verbose):
17916 * cus-theme.el (custom-theme-allow-multiple-selections):
17917 * calc/calc.el (calc-highlight-selections-with-faces)
17918 (calc-lu-field-reference, calc-lu-power-reference)
17919 (calc-note-threshold):
17920 * battery.el (battery-mode-line-limit):
17921 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17922 (archive-7z-update):
17923 * allout.el (allout-prefixed-keybindings)
17924 (allout-unprefixed-keybindings)
17925 (allout-inhibit-auto-fill-on-headline)
17926 (allout-flattened-numbering-abbreviation):
17927 * allout-widgets.el (allout-widgets-auto-activation)
17928 (allout-widgets-icons-dark-subdir)
17929 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17930 (allout-widgets-theme-dark-background)
17931 (allout-widgets-theme-light-background)
17932 (allout-widgets-item-image-properties-emacs)
17933 (allout-widgets-item-image-properties-xemacs)
17934 (allout-widgets-run-unit-tests-on-load)
17935 (allout-widgets-time-decoration-activity)
17936 (allout-widgets-hook-error-post-time)
17937 (allout-widgets-track-decoration):
17938 Add missing :version tags to new defcustoms and defgroups.
17940 * progmodes/sql.el (sql-ansi-statement-starters)
17941 (sql-oracle-statement-starters): Add custom type.
17943 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17944 (prolog-system-version): Give it a type.
17946 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17948 * term/pc-win.el (x-select-text, x-selection-owner-p)
17949 (x-own-selection-internal, x-disown-selection-internal)
17950 (x-get-selection-internal): Sync doc strings and argument lists
17951 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17953 2012-02-11 Leo Liu <sdl.web@gmail.com>
17955 * progmodes/python.el (python-end-of-statement): Fix infinite
17958 2012-02-10 Glenn Morris <rgm@gnu.org>
17960 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17961 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17963 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17965 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17966 about SMTP before checking the From header.
17968 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17969 into own function for reuse by emacsbug.el.
17971 2012-02-10 Leo Liu <sdl.web@gmail.com>
17973 * subr.el (condition-case-unless-debug): Rename from
17974 condition-case-no-debug. All callers changed.
17975 (with-demoted-errors): Fix caller.
17977 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17978 * nxml/rng-valid.el (rng-do-some-validation):
17979 * emacs-lisp/package.el (package-refresh-contents)
17980 (package-menu-execute):
17981 * desktop.el (desktop-create-buffer):
17982 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17984 2012-02-10 Glenn Morris <rgm@gnu.org>
17986 * textmodes/bibtex.el:
17987 Add missing :version tags for new/changed defcustoms.
17989 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17991 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17993 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17994 (smtpmail-via-smtp): Use it, or fall back on the From address.
17995 (smtpmail-send-it): Ditto.
17997 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17999 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
18000 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
18001 (byte-compile-tmp-var): New const.
18002 (byte-compile-defvar): Use it to minimize .elc size.
18003 Just use `defvar' rather than simulate it (bug#10761).
18005 2012-02-09 Glenn Morris <rgm@gnu.org>
18007 * files.el (rename-uniquely): Doc fix. (Bug#3806)
18009 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
18012 * progmodes/compile.el (compilation-error-screen-columns)
18013 (compilation-first-column, compilation-filter-start): Doc fixes.
18015 * vc/log-view.el (log-view-toggle-entry-display):
18016 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
18018 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
18019 (report-emacs-bug-can-use-xdg-email):
18020 (report-emacs-bug-insert-to-mailer): Doc fixes.
18021 (report-emacs-bug): Message fix.
18023 * net/browse-url.el (browse-url-can-use-xdg-open)
18024 (browse-url-xdg-open): Doc fixes.
18026 * electric.el (electric-indent-mode, electric-pair-mode)
18027 (electric-layout-rules, electric-layout-mode): Doc fixes.
18028 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
18030 2012-02-08 Martin Rudalics <rudalics@gmx.at>
18032 * server.el (server-unselect-display): Don't inadvertently kill
18033 the current buffer. (Bug#10729)
18035 2012-02-08 Glenn Morris <rgm@gnu.org>
18037 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
18038 (sql-list-table): Doc fixes.
18040 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
18041 Comment out (does nothing).
18043 * completion.el (dynamic-completion-mode):
18044 * dirtrack.el (dirtrack-debug-mode):
18045 * electric.el (electric-layout-mode):
18046 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
18047 * face-remap.el (text-scale-mode, buffer-face-mode):
18048 * iimage.el (iimage-mode):
18049 * image-mode.el (image-transform-mode):
18050 * minibuffer.el (completion-in-region-mode):
18051 * scroll-lock.el (scroll-lock-mode):
18052 * simple.el (next-error-follow-minor-mode):
18053 * tar-mode.el (tar-subfile-mode):
18054 * tooltip.el (tooltip-mode):
18055 * vcursor.el (vcursor-use-vcursor-map):
18056 * wid-browse.el (widget-minor-mode):
18057 * emulation/tpu-edt.el (tpu-edt-mode):
18058 * emulation/tpu-extras.el (tpu-cursor-free-mode):
18059 * international/iso-ascii.el (iso-ascii-mode):
18060 * language/thai-util.el (thai-word-mode):
18061 * mail/supercite.el (sc-minor-mode):
18062 * net/goto-addr.el (goto-address-mode):
18063 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
18064 * progmodes/cwarn.el (cwarn-mode):
18065 * progmodes/flymake.el (flymake-mode):
18066 * progmodes/glasses.el (glasses-mode):
18067 * progmodes/hideshow.el (hs-minor-mode):
18068 * progmodes/pascal.el (pascal-outline-mode):
18069 * textmodes/enriched.el (enriched-mode):
18070 * vc/smerge-mode.el (smerge-mode):
18071 Doc fixes (minor mode argument).
18073 2012-02-07 Eli Zaretskii <eliz@gnu.org>
18075 * ls-lisp.el (ls-lisp-sanitize): New function.
18076 (ls-lisp-insert-directory): Use it to fix or remove any elements
18077 in file-alist with missing attributes. (Bug#4673)
18079 2012-02-07 Alan Mackenzie <acm@muc.de>
18081 Fix spurious recognition of c-in-knr-argdecl.
18083 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
18084 putative K&R region.
18086 2012-02-07 Alan Mackenzie <acm@muc.de>
18088 * progmodes/cc-engine.el (c-forward-objc-directive):
18089 Prevent looping in "#pragma mark @implementation".
18091 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
18093 * notifications.el (notifications-on-closed-signal): Make `reason'
18094 optional. (Bug#10744)
18096 2012-02-07 Glenn Morris <rgm@gnu.org>
18098 * emacs-lisp/easy-mmode.el (define-minor-mode):
18099 Doc fixes for the macro and the mode it defines.
18101 * image.el (imagemagick-types-inhibit): Doc fix.
18103 * cus-start.el (imagemagick-render-type): Add it.
18105 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18107 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18108 Set the default at load time, too, so that `font-lock-fontify-buffer'
18109 can be called without setting up the entire mode first. This fixes
18110 a bug in `mm-inline-text' with C MIME parts.
18112 2012-02-06 Chong Yidong <cyd@gnu.org>
18114 * simple.el (list-processes--refresh): Delete exited processes
18117 * comint.el (comint-next-prompt): next-single-char-property-change
18118 and prev-single-char-property-change never return nil (Bug#8657).
18120 * custom.el (defcustom): Doc fix (Bug#9711).
18122 2012-02-05 Chong Yidong <cyd@gnu.org>
18124 * cus-edit.el (custom-variable-reset-backup): Quote the value
18125 before storing it in the customized-value property (Bug#6712).
18126 (custom-display): Add a customization type tag.
18127 (custom-buffer-create-internal): Improve tooltip message.
18129 * wid-edit.el (widget-field-value-get): New optional arg to
18130 suppress trailing whitespace truncation.
18131 (character): Use it (Bug#2689).
18133 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18135 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18136 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18138 2012-02-05 Chong Yidong <cyd@gnu.org>
18140 * cus-edit.el (custom-variable-value-create): For mismatched
18141 types, show the current value (Bug#7600).
18143 * custom.el (defcustom): Doc fix.
18145 2012-02-05 Glenn Morris <rgm@gnu.org>
18147 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18149 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18151 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18152 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18153 (pp-last-sexp): Use `looking-at-p'.
18155 2012-02-04 Glenn Morris <rgm@gnu.org>
18157 * files.el (revert-buffer):
18158 Doc fix (mention revert-buffer-in-progress-p).
18160 * emacs-lisp/ert-x.el (ert-simulate-command):
18161 Check deferred-action-list (which is obsolete) is bound.
18163 * subr.el (with-wrapper-hook): Doc fixes.
18165 * simple.el (filter-buffer-substring-functions)
18166 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18168 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18170 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18171 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18173 2012-02-04 Leo Liu <sdl.web@gmail.com>
18175 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18177 2012-02-04 Glenn Morris <rgm@gnu.org>
18179 * image.el (image-extension-data): Add obsolete alias.
18181 * isearch.el (isearch-update): Doc fix.
18183 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18185 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18187 2012-02-03 Glenn Morris <rgm@gnu.org>
18189 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18190 (image-animate-timeout): Doc fix.
18192 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18194 2012-02-02 Glenn Morris <rgm@gnu.org>
18196 * server.el (server-auth-dir): Doc fix.
18197 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18199 * subr.el (run-mode-hooks): Doc fix.
18201 2012-02-02 Juri Linkov <juri@jurta.org>
18203 * image-mode.el (image-toggle-display-image): Remove tautological
18204 `major-mode' from the `derived-mode-p' test.
18206 2012-02-02 Kenichi Handa <handa@m17n.org>
18208 * composite.el (compose-region): Cancel previous change.
18210 2012-02-02 Kenichi Handa <handa@m17n.org>
18212 * composite.el (compose-region, compose-string): Signal error for
18213 a null string component (Bug#6988).
18215 2012-02-01 Chong Yidong <cyd@gnu.org>
18217 * view.el (view-buffer-other-window, view-buffer-other-frame):
18218 Handle special modes like view-buffer (Bug#10650).
18219 (view-buffer): Simplify.
18221 * frame.el (set-frame-font): Tweak meaning of third argument.
18223 * dynamic-setting.el (font-setting-change-default-font):
18224 Use set-frame-font (Bug#9982).
18226 2012-02-01 Glenn Morris <rgm@gnu.org>
18228 * progmodes/compile.el (compilation-internal-error-properties):
18229 Respect compilation-first-column in the "*compilation*" buffer.
18231 * emacs-lisp/easy-mmode.el (define-minor-mode):
18232 Relax :variable's test for a named function.
18234 2012-01-31 Alan Mackenzie <acm@muc.de>
18236 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18239 2012-01-31 Chong Yidong <cyd@gnu.org>
18241 * frame.el (set-frame-font): New arg ALL-FRAMES.
18243 * menu-bar.el (menu-set-font): Use set-frame-font.
18245 * faces.el (face-spec-reset-face): Don't apply unspecified
18246 attribute values to the default face.
18248 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18250 * progmodes/cwarn.el (cwarn): Remove dead link.
18251 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18252 Remove * from defcustom docstrings.
18253 (turn-on-cwarn-mode): Make obsolete.
18254 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18255 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18257 2012-01-31 Glenn Morris <rgm@gnu.org>
18259 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18260 Fix :variable handling of mode a symbol not equal to modefun.
18261 Allow named functions to be used as the cdr of :variable.
18263 2012-01-30 Glenn Morris <rgm@gnu.org>
18265 * emacs-lisp/authors.el (authors-fixed-entries):
18266 Remove reference to deleted file rnewspost.el.
18268 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18270 * window.el (window-with-parameter): Remove unused variable `windows'.
18271 (window--side-check): Remove unused variable `code'.
18272 (window--resize-siblings): Remove unused variable `first'.
18273 (adjust-window-trailing-edge): Remove unused variable `failed'.
18274 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18275 Use `let', not `let*'.
18276 (balance-windows-2): Remove unused variable `found'.
18277 (window--state-put-2): Remove unused variable `splits'.
18278 (window-state-put): Remove unused variable `selected'.
18279 (same-window-p): Use `string-match-p'.
18280 (display-buffer-assq-regexp): Remove unused variable `value'.
18281 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18282 Mark argument ALIST as ignored.
18283 (pop-to-buffer): Remove unused variable `old-window'.
18285 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18287 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18288 and .lzma compressed files.
18290 2012-01-29 Chong Yidong <cyd@gnu.org>
18292 * frame.el (window-system-default-frame-alist): Doc fix.
18294 * dynamic-setting.el (font-setting-change-default-font): Don't
18295 change the default face if SET-FONT argument is non-nil (Bug#9982).
18297 2012-01-29 Samuel Bronson <naesten@gmail.com>
18299 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18301 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18303 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18304 breakpoints in files outside current directory (Bug#6098).
18306 2012-01-29 Chong Yidong <cyd@gnu.org>
18308 * progmodes/python.el: Require ansi-color at top-level.
18310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18311 Define and use in Emacs Lisp mode (Bug#9360).
18312 (lisp-mode-abbrev-table): Add doc.
18313 (lisp-mode-variables): Don't set local-abbrev-table.
18314 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18316 2012-01-28 Roland Winkler <winkler@gnu.org>
18318 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18320 2012-01-28 Roland Winkler <winkler@gnu.org>
18322 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18323 (bibtex-set-dialect): Use it. Either set global values of
18324 dialect-dependent variables or bind these variables buffer-locally
18326 (bibtex-mode): Call bibtex-set-dialect via
18327 hack-local-variables-hook.
18328 (bibtex-dialect): Update docstring.
18329 Add safe-local-variable predicate.
18330 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18331 bibtex-set-dialect.
18332 (bibtex-mode-map): Define menu for each dialect.
18333 (bibtex-entry): Fix docstring.
18335 2012-01-28 Chong Yidong <cyd@gnu.org>
18337 * eshell/esh-arg.el (eshell-quote-argument): New function.
18339 * eshell/esh-ext.el (eshell-invoke-batch-file):
18340 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18341 first arg to eshell-parse-command (Bug#10523).
18343 2012-01-28 Drew Adams <drew.adams@oracle.com>
18345 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18346 `default-directory' is non-nil.
18348 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18350 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18351 line that displays system-configuration-options. (Bug#9924)
18353 2012-01-28 Drew Adams <drew.adams@oracle.com>
18355 * descr-text.el (describe-char): Show information about POS, in
18356 addition to information about the character at POS. Improve and
18357 update the doc string. Change "code point" to "code point in
18358 charset", to avoid confusion with the character's Unicode code
18359 point shown above that. (Bug#10129)
18361 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18363 * descr-text.el (describe-char): Show the raw character, not only
18364 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18365 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18368 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18370 * emacs-lisp/package.el (package-install):
18371 Run package-refresh-contents if there is no archive yet (Bug#9798).
18373 2012-01-28 Chong Yidong <cyd@gnu.org>
18375 * emacs-lisp/package.el (package-maybe-load-descriptor):
18376 New function, split from package-maybe-load-descriptor.
18377 (package-maybe-load-descriptor): Use it.
18378 (package-download-transaction): Fully load required packages
18379 inside the loop, so that `require' calls work (Bug#10593).
18380 (package-install): No need to call package-initialize now.
18382 2012-01-28 Chong Yidong <cyd@gnu.org>
18384 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18386 * tooltip.el (tooltip-mode): Doc fix.
18387 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18389 * frame.el (set-cursor-color): Doc fix (Bug#352).
18391 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18392 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18394 * cus-edit.el (custom-buffer-create-internal): Fix search button
18395 action (Bug#10542).
18396 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18398 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18400 * dired.el (dired-mark-files-regexp):
18401 Include any subdirectory components. (Bug#10445)
18403 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18405 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18406 Handle [host]:port syntax. (Bug#10533)
18408 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18410 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18412 2012-01-26 Glenn Morris <rgm@gnu.org>
18414 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18415 * term.el (term-raw-escape-map): Use Control-X-prefix.
18416 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18418 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18420 * window.el (window-state-get, window--state-get-1): Don't deal
18421 with fixed-sizeness of windows. Simplify code.
18423 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18425 * window.el (window--state-get-1, window--state-put-2):
18426 Don't save and restore the mark.
18428 2012-01-25 Chong Yidong <cyd@gnu.org>
18430 * custom.el (custom-variable-p): Doc fix.
18432 2012-01-25 Glenn Morris <rgm@gnu.org>
18434 * dired.el (dired-goto-file): Handle some of the more common
18435 characters that `ls -b' escapes. (Bug#10596)
18437 * progmodes/compile.el (compilation-next-error-function):
18438 Respect compilation-first-column in the "*compilation*" buffer.
18439 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18441 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18443 2012-01-24 Glenn Morris <rgm@gnu.org>
18445 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18447 2012-01-24 Julien Danjou <julien@danjou.info>
18449 * color.el (color-rgb-to-hsl): Fix value computing.
18450 (color-hue-to-rgb): New function.
18451 (color-hsl-to-rgb): New function.
18452 (color-clamp, color-saturate-hsl, color-saturate-name)
18453 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18454 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18456 2012-01-24 Glenn Morris <rgm@gnu.org>
18458 * vc/vc-rcs.el (vc-rcs-create-tag):
18459 * vc/vc-sccs.el (vc-sccs-create-tag):
18460 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18462 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18464 * eshell/esh-util.el (eshell-read-hosts-file):
18465 Skip comment lines. (Bug#10549)
18467 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18469 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18471 * subr.el (display-delayed-warnings): Doc fix.
18472 (collapse-delayed-warnings): New function to collapse identical
18474 (delayed-warnings-hook): Add it.
18476 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18478 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18480 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18481 (tramp-default-user-alist): Don't add "pscp".
18482 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18483 property "login-as", if set. (Bug#10530)
18485 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18487 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18488 "plink1" and "psftp". (Bug#10530)
18490 2012-01-21 Kenichi Handa <handa@m17n.org>
18492 * international/mule-cmds.el (prefer-coding-system): Show a
18493 warning message if the default value of file-name-coding-system
18496 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18498 * windmove.el (windmove-reference-loc):
18499 Fix windmove-reference-loc miscalculation.
18501 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18503 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18506 2012-01-21 Glenn Morris <rgm@gnu.org>
18508 * international/mule.el (auto-coding-alist): Add .tbz.
18510 * files.el (local-enable-local-variables): Doc fix.
18511 (inhibit-local-variables-regexps): Rename from
18512 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18513 Doc fix. Add some extensions from auto-coding-alist.
18514 (inhibit-local-variables-suffixes):
18515 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18516 (inhibit-local-variables-p):
18517 New function, extracted from set-auto-mode-1.
18518 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18519 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18520 (hack-local-variables): Doc fix. Make the mode-only case
18521 respect enable-local-variables and friends.
18522 Respect inhibit-local-variables-regexps for file-locals, but
18523 not for directory-locals.
18524 (set-visited-file-name):
18525 Take account of inhibit-local-variables-regexps.
18526 Whether it applies may change as the file name is changed.
18527 * jka-cmpr-hook.el (jka-compr-install):
18528 * jka-compr.el (jka-compr-uninstall):
18529 Update for inhibit-first-line-modes-suffixes name change.
18531 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18533 * help-macro.el (make-help-screen): Temporarily restore original
18534 binding for minor-mode-map-alist (Bug#10454).
18536 2012-01-19 Julien Danjou <julien@danjou.info>
18538 * color.el (color-name-to-rgb): Use the white color to find the max
18539 color component value and return correctly computed values.
18540 (color-name-to-rgb): Add missing float conversion for max value.
18542 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18544 * window.el (window--state-get-1, window-state-get): Do not use
18545 special state value for window-persistent-parameters.
18546 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18547 (window--state-put-2): Reset all window parameters to nil before
18548 assigning values of persistent parameters.
18550 2012-01-18 Alan Mackenzie <acm@muc.de>
18552 Eliminate sluggishness and hangs in fontification of "semicolon
18555 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18556 Change value 10000 -> 3000.
18557 (c-state-safe-place): Reformulate so it doesn't stack up an
18558 infinite number of wrong entries in c-state-nonlit-pos-cache.
18559 (c-determine-limit-get-base, c-determine-limit): New functions to
18560 determine backward search limits disregarding literals.
18561 (c-find-decl-spots): Amend commenting.
18562 (c-cheap-inside-bracelist-p): New function which detects "={".
18564 * progmodes/cc-fonts.el
18565 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18567 (c-font-lock-declarations): Fix an occurrence of point being
18568 undefined. Check additionally for point being in a bracelist or
18569 near a macro invocation without a semicolon so as to avoid a
18570 fruitless time consuming search for a declarator. Give a more
18571 precise search limit for declarators using the new
18574 2012-01-18 Glenn Morris <rgm@gnu.org>
18576 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18577 (set-auto-mode): Doc fixes.
18579 2012-01-17 Glenn Morris <rgm@gnu.org>
18581 * isearch.el (search-nonincremental-instead): Fix doc typo.
18583 * dired.el (dired-insert-directory): Handle newlines in directory name.
18584 (dired-build-subdir-alist): Unescape newlines in directory name.
18586 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18588 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18589 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18590 (tramp-action-terminal): Use it. (Bug#10530)
18592 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18594 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18596 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18598 * window.el (window-state-ignored-parameters): Remove variable.
18599 (window--state-get-1): Rename argument MARKERS to IGNORE.
18600 Handle persistent window parameters. Make copy of clone-of
18601 parameter only if requested. (Bug#10348)
18602 (window--state-put-2): Install a window parameter only if it has
18603 a non-nil value or an existing parameter shall be overwritten.
18605 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18607 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18609 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18611 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18612 don't pass the (nil) value of `upnode' to string-match.
18614 2012-01-14 Chong Yidong <cyd@gnu.org>
18616 * startup.el (command-line): Fix X resource class for cursorColor.
18617 Fix values recognized by the cursorBlink resource.
18619 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18621 * epg.el (epg--make-temp-file): Avoid permission race condition
18622 when running on old Emacs versions (bug#10403).
18624 2012-01-14 Glenn Morris <rgm@gnu.org>
18626 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18628 2012-01-13 Alan Mackenzie <acm@muc.de>
18630 Fix filling for when filladapt mode is enabled.
18632 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18633 c-mask-paragraph, pass in `fill-paragraph' rather than
18634 `fill-region-as-paragraph'. (This is a reversion of a previous
18636 * progmodes/cc-mode.el (c-basic-common-init):
18637 Make fill-paragraph-handle-comment buffer local and set it to nil.
18639 2012-01-13 Glenn Morris <rgm@gnu.org>
18641 * dired.el (dired-switches-escape-p): New function.
18642 (dired-insert-directory): Use dired-switches-escape-p.
18643 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18645 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18647 2012-01-12 Glenn Morris <rgm@gnu.org>
18649 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18650 changes in adaptive-fill-regexp. (Bug#10276)
18652 2012-01-11 Alan Mackenzie <acm@muc.de>
18654 Fix Emacs bug #10463 - put `widen's around the critical spots.
18656 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18657 widen around each invocation of c-state-pp-to-literal. Remove an
18658 unused let variable.
18660 2012-01-11 Glenn Morris <rgm@gnu.org>
18662 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18665 2012-01-10 Chong Yidong <cyd@gnu.org>
18667 * net/network-stream.el (network-stream-open-starttls):
18668 Avoid emitting a confusing error message when the server gives a bad
18669 response to the capability command.
18671 2012-01-10 Glenn Morris <rgm@gnu.org>
18673 * mail/unrmail.el (unrmail): Tweak previous change.
18675 2012-01-09 Chong Yidong <cyd@gnu.org>
18677 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18679 2012-01-08 Alan Mackenzie <acm@muc.de>
18681 Optimize font locking in long enum definitions.
18683 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18684 arm to a cond form to handle enums.
18685 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18686 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18688 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18690 * files.el (move-file-to-trash): Preserve default file modes on error.
18693 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18695 * faces.el (set-face-attribute): Clarify the meaning of the nil
18698 * subr.el (with-selected-frame): Mention that the selected frame
18699 is restored (bug#9980).
18701 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18704 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18705 (password-read): Don't autoload unused function.
18707 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18709 * progmodes/which-func.el (which-func-mode): Turn into a
18710 non-interactive function and mark as obsolete (bug#10428).
18712 2012-01-06 Chong Yidong <cyd@gnu.org>
18714 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18715 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18716 functions, along with 1 and -1.
18718 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18720 * time.el (display-time-load-average)
18721 (display-time-default-load-average): Doc fixes. See the thread
18723 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18726 2012-01-06 Glenn Morris <rgm@gnu.org>
18728 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18729 has no messages. (Bug#10377)
18731 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18732 than Info-edit. (Bug#10385)
18734 * time.el (display-time-load-average, display-time-next-load-average):
18737 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18738 local setting of buffer-read-only to the input buffer. (Bug#10419)
18740 * calendar/calendar.el (calendar-mode):
18741 Locally set scroll-margin to 0. (Bug#10379)
18743 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18745 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18747 2012-01-05 Glenn Morris <rgm@gnu.org>
18749 * eshell/em-unix.el (diff-no-select): Autoload it.
18750 (eshell/diff): Use diff-no-select. (Bug#10420)
18752 2012-01-05 Chong Yidong <cyd@gnu.org>
18754 * shell.el (shell-dynamic-complete-functions): Revert last change.
18755 (shell-command-completion-function): New function.
18756 (shell-completion-vars): Use it to implement
18757 shell-completion-execonly (Bug#10417).
18759 * custom.el (enable-theme): Don't set custom-safe-themes.
18761 * cus-theme.el (custom-theme-merge-theme):
18762 Ignore custom-enabled-themes and custom-safe-themes.
18764 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18766 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18767 first prompt in `sql-interacive-mode'.
18768 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18770 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18771 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18772 context of original buffer. Invoke `sql-login-hook'.
18774 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18776 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18777 letters in cite-prefix.
18779 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18781 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18783 2012-01-03 Chong Yidong <cyd@gnu.org>
18785 * shell.el (shell-dynamic-complete-functions):
18786 Put pcomplete-completions-at-point, so as to try
18787 comint-filename-completion first (Bug#10417).
18789 2012-01-02 Richard Stallman <rms@gnu.org>
18791 * battery.el (battery-status-function):
18792 Detect when to use battery-yeeloong-sysfs.
18793 (battery-echo-area-format): Add string for Yeeloong.
18794 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18795 (battery-yeeloong-sysfs): New function.
18797 2012-01-02 Chong Yidong <cyd@gnu.org>
18799 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18800 (dirtrack): Merge code for handling relative filenames in prompt
18801 from shell-dir-cookie-watcher.
18802 (dirtrack-debug-message): New arg to avoid excess format calls.
18804 * shell.el (shell-dir-cookie-re): Variable deleted.
18805 (shell-dir-cookie-watcher): Function deleted.
18806 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18807 with dirtrack-mode.
18809 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18811 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18812 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18815 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18817 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18819 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18821 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18822 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18824 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18826 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18827 also for alternative shells.
18828 (tramp-open-connection-setup-interactive-shell): Check, whether
18829 the shell is a busybox.
18830 (tramp-send-command): Don't suppress multiple prompts for
18831 busyboxes, it hurts.
18833 2011-12-28 Chong Yidong <cyd@gnu.org>
18835 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18836 (gdb-get-source-file): Move mode line update to
18837 gdb-get-source-file (Bug#10087).
18839 2011-12-25 Chong Yidong <cyd@gnu.org>
18841 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18842 gud-gdb-marker-filter without taking it as an argument.
18843 (gud-gdb-run-command-fetch-lines): Caller changed.
18844 (gud-gdb-completion-function): New variable.
18845 (gud-gdb-completion-at-point): Use it.
18846 (gud-gdb-completions-1): Split from gud-gdb-completions.
18848 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18849 function as separate arguments.
18850 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18851 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18852 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18853 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18854 (gdb-stopped, def-gdb-auto-update-trigger)
18855 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18856 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18858 (gud-gdbmi-completions): New function.
18859 (gdb): Use it for generating the completion table.
18861 2011-12-24 Alan Mackenzie <acm@muc.de>
18863 Introduce a mechanism to widen the region used in context font
18864 locking. Use this to protect declarations from losing their contexts.
18866 * progmodes/cc-langs.el (c-before-font-lock-functions):
18867 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18868 (c-before-context-fontification-functions): New defvar, a list of
18869 functions to be run just before context (etc.) font locking.
18871 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18872 New, functionality extracted from
18873 c-neutralize-syntax-in-and-mark-CPP.
18874 (c-in-after-change-fontification): New variable.
18875 (c-after-change): Set c-in-after-change-fontification.
18876 (c-set-fl-decl-start): Rejig its interface, so it can be called
18877 from both after-change and context fontifying.
18878 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18880 (c-standard-font-lock-fontify-region-function): New variable.
18881 (c-font-lock-fontify-region): New function.
18883 2011-12-24 Juri Linkov <juri@jurta.org>
18885 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18888 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18890 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18891 existence of source file. (Bug#10325)
18893 2011-12-23 Alan Mackenzie <acm@muc.de>
18895 Fix unstable fontification inside templates.
18897 * progmodes/cc-langs.el (c-before-font-lock-functions):
18898 Newly created from the singular version. The (c c++ objc) entry now
18899 additionally has c-set-fl-decl-start. The other languages (apart
18900 from AWK) have that as a single entry.
18902 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18903 The functionality for "local" declarations has been extracted to
18904 c-set-fl-decl-start.
18906 * progmodes/cc-mode.el (c-common-init, c-after-change):
18907 Changes due to pluralisation of c-before-font-lock-functions.
18908 (c-set-fl-decl-start): New function, extracted from
18909 c-font-lock-enclosing-decls and enhanced.
18911 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18913 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18915 2011-12-22 Juri Linkov <juri@jurta.org>
18917 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18919 2011-12-22 Chong Yidong <cyd@gnu.org>
18921 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18923 2011-12-21 Drew Adams <drew.adams@oracle.com>
18925 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18927 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18929 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18931 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18933 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18934 highlighting and support. Fix up comments for capitalization.
18935 (cfengine-mode-debug): New var.
18936 (cfengine3-mode): Change the modeline indicator to "CFE3".
18937 (cfengine3-font-lock-keywords): Improve defun highlighting.
18938 (cfengine2-actions): Rename from `cfengine-actions'.
18939 (cfengine2-font-lock-keywords): Rename from
18940 `cfengine-font-lock-keywords'.
18941 (cfengine2-imenu-expression): Rename from
18942 `cfengine-imenu-expression'.
18943 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18944 (cfengine2-beginning-of-defun): Rename from
18945 `cfengine-beginning-of-defun'.
18946 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18947 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18948 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18949 modeline indicator to "CFE2".
18950 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18951 (cfengine-mode-abbrevs): Mark obsolete.
18953 2011-12-21 Chong Yidong <cyd@gnu.org>
18955 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18958 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18960 * window.el (window-normalize-buffer-to-display): Remove.
18961 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18963 2011-12-19 Chong Yidong <cyd@gnu.org>
18965 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18966 Don't signal an error in a predicate function; return non-nil.
18967 (vc-dir-mark-file): Move the error here.
18968 (vc-dir-mark-unmark): If acting on the region, keep going if one
18969 of the entries cannot be marked/unmarked.
18970 (vc-dir-mark-all-files): If current entry is a directory, mark
18971 only child files, as documented.
18973 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18975 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18976 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18979 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18981 * term/ns-win.el (ns-get-selection-internal)
18982 (ns-store-selection-internal): Declare.
18983 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18984 Declare as obsolete.
18985 (ns-get-pasteboard, ns-paste-secondary):
18986 Use ns-get-selection-internal.
18987 (ns-set-pasteboard, ns-copy-including-secondary):
18988 Use ns-store-selection-internal.
18990 2011-12-17 Chong Yidong <cyd@gnu.org>
18992 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18993 (vc-deduce-fileset): Doc fix.
18995 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18997 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18999 2011-12-13 Sam Steingold <sds@gnu.org>
19001 * man.el (Man-getpage-in-background): When running under a
19002 window-system, ignore $MANWIDTH and $COLUMNS.
19004 2011-12-15 Kenichi Handa <handa@m17n.org>
19006 * language/ethio-util.el: Change coding tag to utf-8-emacs.
19007 (setup-ethiopic-environment-internal): Comment out key-binding for
19008 ethio-toggle-punctuation.
19010 2011-12-13 Alan Mackenzie <acm@muc.de>
19012 Add the switch statement to AWK Mode.
19014 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
19015 "default" to the keywords regexp.
19017 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
19018 expression as the rest.
19019 (c-nonlabel-token-key): Allow string literals for AWK.
19020 Refactor for the other modes.
19022 Large brace-block initialisation makes CC Mode slow: Fix.
19023 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
19024 routines. Limit backward searching in c-font-lock-enclosing.decl.
19026 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
19027 pp-state and literal type in addition to the limits.
19028 (c-state-safe-place): New defun, extracted from c-state-literal-at.
19029 (c-state-literal-at): Use the above new defun.
19030 (c-slow-in-literal, c-fast-in-literal): Remove.
19031 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
19033 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
19034 being in a literal. Add a limit for backward searching.
19036 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
19039 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
19041 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
19043 2011-12-13 Martin Rudalics <rudalics@gmx.at>
19045 * window.el (delete-other-windows): Use correct frame in call to
19046 window-with-parameter.
19048 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
19050 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
19051 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
19052 (makefile-gmake-statements, makefile-makepp-statements):
19053 Use it and add new makepp keywords.
19054 (makefile-makepp-font-lock-keywords): Add new patterns.
19055 (makefile-match-function-end): Match new [...] and [[...]].
19057 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
19059 * ses.el (ses-call-printer-return, ses-cell-property-get)
19060 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
19061 (ses-create-cell-variable, ses-reset-header-string)
19062 (ses-cell-set-formula, ses-repair-cell-reference-all)
19063 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
19064 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
19065 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
19066 (ses-aset-with-undo, ses-load, ses-truncate-cell)
19067 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
19068 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
19069 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
19070 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
19071 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
19072 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
19073 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
19074 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
19076 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
19078 * ses.el: The overall change is to add cell renaming, that is
19079 setting fancy names for cell symbols other than name matching
19080 "\\`[A-Z]+[0-9]+\\'" regexp .
19081 (ses-create-cell-variable): New defun.
19082 (ses-relocate-formula): Relocate formulas only for cells the
19083 symbols of which are not renamed, i.e. symbols whose names do not
19084 match regexp "\\`[A-Z]+[0-9]+\\'".
19085 (ses-relocate-all): Relocate values only for cells the symbols of
19086 which are not renamed.
19087 (ses-load): Create cells variables as the (ses-cell ...) are read,
19088 in order to check row col consistency with cell symbol name only
19089 for cells that are not renamed.
19090 (ses-replace-name-in-formula): New defun.
19091 (ses-rename-cell): New defun.
19093 2011-12-11 Chong Yidong <cyd@gnu.org>
19095 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
19096 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
19098 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
19100 * window.el (other-window): Fix docstring.
19102 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19104 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19105 `from' or `to' address before taking its substring.
19106 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19107 encoded name is chopped in the middle of the encoded string, and
19108 thus displayed encoded.
19110 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19112 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19114 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19116 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19117 to use texinfo-update-node and commands that call it if the
19118 Texinfo file uses @node lines without next/prev/up pointers.
19119 Correct outdated description about texinfo-master-menu.
19120 (texinfo-all-menus-update, texinfo-master-menu)
19121 (texinfo-update-node, texinfo-every-node-update)
19122 (texinfo-multiple-files-update): Doc fix. Warn against updating
19123 all the @node lines.
19124 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19125 argument is numeric. Explain better in the doc string what the
19126 function really does.
19127 (texinfo-insert-master-menu-list): Improve the error message
19128 displayed if there's no menu in the Top node.
19129 (Bug#2975) See also this thread:
19130 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19132 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
19134 * speedbar.el (speedbar-supported-extension-expressions):
19135 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19137 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19139 * printing.el (pr-mode-alist):
19140 * simple.el (filter-buffer-substring-functions)
19141 (completion-list-insert-choice-function):
19142 * window.el (window-with-parameter, window-atom-root)
19143 (window-sides-slots, window-size-fixed, window-min-delta)
19144 (window-max-delta, window--resize-mini-window)
19145 (window--resize-child-windows-normal, window-tree)
19146 (delete-other-windows, quit-window, split-window)
19147 (display-buffer-record-window, special-display-buffer-names)
19148 (special-display-regexps, special-display-popup-frame)
19149 (same-window-p, split-window-sensibly)
19150 (display-buffer-overriding-action, display-buffer-alist)
19151 (display-buffer-base-action, display-buffer, switch-to-buffer)
19152 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19153 (fit-window-to-buffer, recenter-positions)
19154 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19155 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19156 and remove unneeded backslashes in docstrings.
19158 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19160 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19162 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19163 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19165 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19166 when reading the makefile (bug#10116).
19168 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19170 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19173 2011-12-06 Glenn Morris <rgm@gnu.org>
19175 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19177 2011-12-06 Chong Yidong <cyd@gnu.org>
19179 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19181 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19183 * textmodes/table.el (table-shorten-cell): Fix typo.
19185 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19187 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19189 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19191 * descr-text.el (describe-char): Fix display of strong
19192 right-to-left characters and directional embeddings and overrides.
19194 * simple.el (what-cursor-position): Fix display of codepoints of
19195 strong right-to-left characters.
19197 2011-12-05 Chong Yidong <cyd@gnu.org>
19199 * faces.el (read-color): Doc fix.
19201 2011-12-05 Glenn Morris <rgm@gnu.org>
19203 * align.el (align--set-marker): Add doc-string.
19204 Don't try to move something that is not a marker. (Bug#10216)
19206 2011-12-04 Glenn Morris <rgm@gnu.org>
19208 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19209 overly zealous deletion of trailing whitespace.
19211 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19213 * server.el (server-delete-client): On Windows, do not try to delete
19215 (server-process-filter): On Windows, treat requests for a tty frame as
19216 if they were for a GUI frame if the running server is in GUI mode.
19218 2011-12-03 Glenn Morris <rgm@gnu.org>
19220 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19222 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19224 * electric.el: Streamline electric-indent's hook.
19225 (electric-indent-chars): Revert to simple list.
19226 (electric-indent-functions): New var.
19227 (electric-indent-post-self-insert-function): Use it.
19229 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19230 there's no inferior buffer (bug#10196).
19231 (prolog-consult-compile): Don't use toggle-read-only.
19233 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19235 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19236 interrupt. (Bug#10187)
19238 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19240 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19243 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19246 2011-12-02 Juri Linkov <juri@jurta.org>
19248 * info.el (Info-search): Display "end of manual" when Isearch
19249 reaches the end of single-file Info manual. (Bug#9918)
19251 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19253 * isearch.el (isearch-message-prefix): Run the input method part
19254 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19256 2011-12-02 Juri Linkov <juri@jurta.org>
19258 * isearch.el (isearch-occur): Use `word-search-regexp' for
19260 (isearch-search-and-update): Add condition for `isearch-word' and
19261 call `word-search-regexp'. (Bug#10145)
19263 2011-12-01 Glenn Morris <rgm@gnu.org>
19265 * eshell/em-hist.el (eshell-hist-initialize):
19266 Handle eshell-history-size nil and HISTSIZE set or unset.
19267 (eshell-history-file-name, eshell-history-size): Fix custom type.
19269 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19271 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19273 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19275 * progmodes/verilog-mode.el (verilog-pretty-expr):
19276 Rework verilog-pretty-expr to handle new assignment operators in system
19277 verilog, such as += *= and the like.
19278 (verilog-assignment-operator-re): Regular expression to find the
19279 assigment operator in a verilog assignment.
19280 (verilog-assignment-operation-re): Regular expression to find an
19281 assignment statement for pretty-expr.
19282 (verilog-in-attribute-p): Query returns true if point is in an
19283 attribute context; used to skip these for expression line up from
19285 (verilog-in-parameter-p): Query returns true if point is in an
19286 parameter definition context; used to skip these for expression
19287 line up from pretty-expr.
19288 (verilog-in-parenthesis-p): Query returns true if point is in a
19289 parenthetical expression, specifically ( ) but not [ ] or { };
19290 used by pretty-expr.
19291 (verilog-just-one-space): If there is no space, don't add one.
19292 (verilog-get-lineup-indent-2): Specifically skip just attribute
19293 contexts for expression lineup, rather than skipping all
19294 parenthetical expressions.
19295 (verilog-calculate-indent): Fix comment, and fix indent.
19296 (verilog-do-indent): Indent declarations in lists (suggested by
19298 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19300 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19303 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19305 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19306 parameters with embedded comments. Reported by Ray Stevens.
19307 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19308 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19309 Reported by Tim Holt.
19310 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19311 instantiated by upper module causing wrong expansion until AUTOed a
19312 second time. Reported by K C Buckenmaier.
19313 (verilog-diff-auto): Fix showing .* as a difference when
19314 `verilog-auto-star-save' off. Reported by Dan Dever.
19315 (verilog-auto-reset, verilog-read-always-signals)
19316 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19317 temporary signals in reset list if
19318 verilog-auto-reset-blocking-in-non is nil, and match assignment
19319 style to each signal's assignment type, bug381.
19320 Reported by Thomas Esposito.
19321 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19322 (verilog-uvm-statement-re): Support UVM indentation and
19323 highlighting, with old OVM keywords only.
19324 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19325 Support AUTOTIEOFF creating non-wire data types.
19326 Suggested by Jonathan Greenlaw.
19327 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19328 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19329 (verilog-inject-sense, verilog-read-inst-pins)
19330 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19331 Fix mismatching parenthesis inside commented out code when deleting
19332 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19333 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19334 non-numeric vector width. Reported by Alex Reed.
19335 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19336 detecting signals with parameter widths. Reported by Alex Reed.
19337 (verilog-auto-delete-trailing-whitespace):
19338 With `verilog-auto-delete-trailing-whitespace' remove trailing
19339 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19340 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19341 Fix verilog-scan-cache corruption when running user AUTO expansion
19342 hooks that call indentation routines.
19343 (verilog-simplify-range-expression): Fix typo ignoring lower case
19345 (verilog-delete-auto): Fix delete-autos to also remove user created
19346 automatics, as long as they start with AUTO.
19347 (verilog-batch-diff-auto, verilog-diff-auto)
19348 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19349 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19350 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19351 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19352 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19353 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19354 is disabled and its cache will get corrupt, causing AUTOS not to
19355 expand. Instead use only -quick functions.
19356 (verilog-scan-region): Fix scanning over escaped quotes.
19357 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19358 (verilog-re-search-backward-quick)
19359 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19360 related functions now ignore strings, to fix misparsing of strings
19361 with magic comments embedded in them.
19362 (verilog-read-auto-template):
19363 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19364 Reported by Brad Dobbie.
19365 (verilog-read-auto-template):
19366 Fix 'verilog-auto-inst-template-numbers' with comments.
19367 Reported by Brad Dobbie.
19368 (verilog-auto-inst, verilog-auto-inst-param)
19369 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19370 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19371 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19372 debugging templates without merge conflicts, bug357.
19373 Reported by Brad Dobbie.
19374 (verilog-read-auto-template):
19375 Fix verilog-auto-inst-template-numbers with multiple templates.
19376 Reported by Brad Dobbie.
19377 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19378 abbrevs so user won't be asked to save.
19379 (verilog-read-auto-lisp-present): Fix to start at beginning of
19380 buffer in case called outside of verilog-auto.
19381 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19382 to "X-2". Reported by Matthew Myers.
19383 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19384 all inputs from module templates. Reported by Leith Johnson.
19385 (verilog-module-inside-filename-p): Fix locating programs as with
19387 (verilog-auto-inst-port): Fix vl-width expressions when using
19388 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19389 (verilog-decls-get-regs, verilog-decls-get-signals,
19390 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19391 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19392 verilog-read-decls): Combine reg and wire structures into one var
19393 structure to represent SystemVerilog concepts.
19394 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19395 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19396 (verilog-auto-wire-type, verilog-insert-definition):
19397 Add verilog-auto-wire-type and AUTOLOGIC to support using
19398 SystemVerilog "logic" keyword instead of "wire"/"reg".
19399 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19400 to declares outputs that also have assignments (presumably in an
19401 ifdef or generate if so there's not a driver conflict).
19402 Reported by Matthew Myers.
19403 (verilog-auto-declare-nettype, verilog-insert-definition):
19404 Add verilog-auto-declare-nettype to fix declarations using
19405 `default_nettype none. Reported by Julian Gorfajn.
19406 (verilog-read-always-signals-recurse, verilog-read-decls)
19407 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19408 malformed end statement, bug325. Reported by Joshua Wise and
19410 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19411 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19412 when expanding .* in interfaces, bug320.
19413 Reported by Pierre-David Pfister.
19414 (verilog-read-module-name): Fix import statements between module
19415 name and open parenthesis, bug317.
19416 Reported by Pierre-David Pfister.
19417 (verilog-simplify-range-expression): Fix simplification of
19418 multiplications inside AUTOWIRE connections, bug303.
19419 (verilog-auto-inst-port): Support parameter expansion in
19420 multidimensional arrays.
19421 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19422 after "assert property". Reported by Julian Gorfajn.
19423 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19424 with multiplication, bug303.
19425 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19426 Reported by Jan Frode Lonnum.
19428 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19430 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19431 (hfy-shell-file-name, hfy-shell):
19432 * international/fontset.el (x-decompose-font-name): Fix typos.
19434 2011-11-29 Ken Brown <kbrown@cornell.edu>
19436 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19437 (gdb-version): Remove defvar.
19438 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19439 (gdb-gud-context-command, gdb-non-stop-handler)
19440 (gdb-current-context-command, gdb-stopped): Use it.
19441 (gdb-init-1): Enable pretty printing here.
19442 (gdb-non-stop-handler): Don't enable pretty-printing here.
19443 Check to see if the target supports non-stop mode; if not, turn off
19444 non-stop mode. Use the following.
19445 (gdb-check-target-async): New defun.
19446 (gud-watch, gdb-stopped): Fix whitespace.
19447 (gdb-get-source-file): Don't try to display the source file if
19448 `gdb-main-file' is nil.
19450 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19452 * align.el: Try to generate fewer markers (bug#10047).
19453 (align--set-marker): New macro.
19454 (align-region): Use it.
19456 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19458 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19460 2011-11-29 Chong Yidong <cyd@gnu.org>
19462 * indent.el (indent-for-tab-command, indent-according-to-mode):
19464 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19466 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19468 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19469 aware of remote file names. (Bug#10124)
19471 2011-11-29 Chong Yidong <cyd@gnu.org>
19473 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19475 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19477 * files.el (find-file): Don't use force-same-window (bug#10144).
19478 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19479 use pop-to-buffer if the selected window can't be used.
19480 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19482 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19484 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19487 2011-11-28 Chong Yidong <cyd@gnu.org>
19489 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19491 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19493 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19494 gdb-get-source-file-list on gdb-create-source-file-list.
19496 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19498 * whitespace.el (whitespace-newline): Use a different foreground
19499 color for 16-color light-background displays.
19501 2011-11-24 Chong Yidong <cyd@gnu.org>
19503 * window.el (display-buffer--special-action): Doc fix.
19505 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19507 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19508 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19509 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19510 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19511 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19512 (avl-tree-stack-first):
19513 * emacs-lisp/cconv.el (cconv--analyse-use):
19514 * net/gnutls.el (gnutls-negotiate): Fix typos.
19516 2011-11-24 Glenn Morris <rgm@gnu.org>
19518 * lpr.el (lpr-windows-system, lpr-lp-system):
19519 * mail/binhex.el (binhex-begin-line):
19520 * progmodes/grep.el (grep-history, grep-find-history):
19521 * textmodes/flyspell.el:
19522 * vc/pcvs-defs.el (cvs-global-menu):
19523 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19524 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19525 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19527 * net/tls.el: Fix case of "GnuTLS".
19529 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19531 * version.el (emacs-build-system): Give it a doc-string.
19533 2011-11-24 Juri Linkov <juri@jurta.org>
19535 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19537 2011-11-24 Glenn Morris <rgm@gnu.org>
19539 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19540 if called on a non-mime message just toggle the headers. (Bug#8006)
19542 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19544 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19545 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19546 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19547 (allout-rebullet-heading, allout-open-sibtopic)
19548 (allout-toggle-current-subtree-encryption)
19549 (allout-toggle-subtree-encryption, allout-encrypt-string)
19550 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19551 (allout-distinctive-bullets-string, allout-auto-activation):
19552 * window.el (window-normalize-buffer-to-display):
19553 * progmodes/verilog-mode.el (verilog-batch-indent):
19554 * textmodes/bibtex.el (bibtex-field-braces-opt)
19555 (bibtex-field-strings-opt):
19556 * vc/cvs-status.el (cvs-tree-merge):
19559 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19561 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19562 `non-essential' to t, in order to avoid remote connections.
19564 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19566 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19567 On MS-DOS and MS-Windows, compare with loaddefs.el
19568 case-insensitively.
19570 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19572 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19574 2011-11-23 Glenn Morris <rgm@gnu.org>
19576 * paths.el (rmail-file-name): Reformat the doc-string so that it
19579 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19580 (rmail-auto-file): Ignore case in the "special" field names,
19581 as mail-fetch-field does for all others.
19583 * mail/rmail.el (rmail-forward):
19584 * mail/rmailkwd.el (rmail-set-label):
19585 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19586 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19588 * mail/rmail.el (rmail-current-message): Doc fix.
19590 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19592 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19594 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19596 2011-11-22 Glenn Morris <rgm@gnu.org>
19598 * mail/rmailmm.el (test-rmail-mime-handler)
19599 (test-rmail-mime-bulk-handler)
19600 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19602 2011-11-21 Juri Linkov <juri@jurta.org>
19604 * calc/calc.el (calc-read-key-sequence):
19605 Let-bind `input-method-function' to nil. (Bug#10018)
19607 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19609 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19610 Tell the caller that the next line needs recomputation, even
19611 though it doesn't start a sexp (bug#10094).
19613 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19615 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19617 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19619 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19620 Use force-same-window.
19622 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19624 * descr-text.el (describe-char-unicode-data):
19625 * json.el (json-string-escape):
19626 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19627 (Footnote-unicode, Footnote-style-p):
19628 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19630 2011-11-20 Chong Yidong <cyd@gnu.org>
19632 * window.el (replace-buffer-in-windows): Restore interactive spec.
19634 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19636 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19638 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19639 (byte-compile-global-not-obsolete-vars): New var.
19640 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19642 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19644 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19646 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19647 * progmodes/pascal.el (electric-pascal-equal):
19648 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19649 * xml.el (xml-substitute-special): Fix typos.
19651 2011-11-20 Glenn Morris <rgm@gnu.org>
19653 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19654 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19656 (rmail-decode-mime-charset): Mark as obsolete.
19658 * mail/rmailsum.el (rmail-message-regexp-p-1):
19659 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19660 Before using mime functions, check they are set. (Bug#10077)
19662 2011-11-19 Juri Linkov <juri@jurta.org>
19664 * info.el (Info-finder-find-node): Use `package--builtins' instead
19665 of `package-alist'. Use node names formed by the pattern "Keyword "
19666 and the keyword name.
19668 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19670 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19672 2011-11-19 Juri Linkov <juri@jurta.org>
19674 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19675 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19676 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19677 `old-history', `old-history-forward'. Add let-binding
19678 `window-selected'. Remove calls to `kill-buffer',
19679 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19680 before calling `Info-find-node', so `Info-find-node-2' will reread
19681 the Info file. Restore window positions only when `window-selected'
19684 2011-11-19 Juri Linkov <juri@jurta.org>
19686 * isearch.el (isearch-lazy-highlight-new-loop):
19687 Remove condition `(not isearch-error)'. (Bug#9918)
19689 * misearch.el (multi-isearch-search-fun): Add condition
19690 `(not bound)' to ignore lazy-highlighting search.
19691 Add the search-failed message "end of multi" when the end of
19692 multi-sequence is reached. Uncapitalize the search-failed
19693 message "Repeat for next buffer".
19695 * info.el (Info-search): Add the search-failed message
19696 "end of the manual" when the end of the manual is reached
19699 2011-11-19 Juri Linkov <juri@jurta.org>
19701 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19702 Use non-destructive `remove' instead of `delete' because
19703 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19704 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19706 2011-11-19 Juri Linkov <juri@jurta.org>
19708 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19709 to nil instead of binding `search-ring' and `regexp-search-ring'.
19712 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19714 * simple.el (line-move): Force movement by logical lines for any
19715 hscrolled window, not only when auto-hscroll-mode is on.
19716 (line-move-visual): Update doc string to that effect. (Bug#10076)
19718 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19720 * language/european.el (macintosh): Define as alias for mac-roman.
19722 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19724 * mail/rmailmm.el (rmail-mime-display-header)
19725 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19726 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19727 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19728 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19729 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19731 (rmail-mime-entity-segment): To get past the tagline, move forward
19732 2 more lines, to account for the 2 empty lines that precede and
19733 follow the line with the buttons.
19734 (rmail-mime-update-tagline): Move one more line, to get past the
19735 empty line that follows the buttons in the tagline. (Bug#9520)
19737 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19739 * window.el (window-max-delta-1, window-min-delta-1)
19740 (window-min-size-1, window-state-get-1, window-state-put-1)
19741 (window-state-put-2): Use "window--" prefix.
19743 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19745 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19746 (smie-warning-count): New var.
19747 (smie-set-prec2tab): Use it.
19748 (smie-bnf->prec2): Improve warnings. Add docstring.
19749 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19750 (smie-bnf--set-class): New function.
19751 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19754 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19755 (compilation-error-properties, compilation-move-to-column):
19756 Handle compilation-first-column while in the target buffer.
19758 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19759 Don't hardcode point-min==1.
19761 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19762 (eshell-rewrite-for-command): Remove workaround.
19763 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19764 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19765 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19767 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19769 2011-11-17 Glenn Morris <rgm@gnu.org>
19771 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19772 Ignore buffer-local generated-autoload-file if it is the same
19773 as the global value. (Bug#10049)
19775 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19777 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19778 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19779 (reftex-toc-previous-heading, reftex-toc-max-level)
19780 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19781 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19782 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19783 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19784 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19785 (reftex-toc-rename-label, reftex-toc-visit-location)
19786 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19787 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19788 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19789 leaving "*toc*" only for references to the buffer.
19791 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19793 * window.el (window-resize, delete-window, split-window):
19794 Replace window-splits by window-combination-resize.
19795 * cus-start.el (window-splits): Replace by window-combination-resize.
19797 2011-11-17 Glenn Morris <rgm@gnu.org>
19799 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19800 Make bash entry derive from sh entry, not shell entry.
19802 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19804 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19807 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19809 * menu-bar.el (menu-bar-file-menu):
19810 * printing.el (pr-ps-utility):
19811 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19812 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19813 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19814 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19815 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19816 (icalendar--convert-cyclic-to-ical)
19817 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19818 (icalendar--convert-ical-to-diary)
19819 (icalendar--convert-recurring-to-diary)
19820 (icalendar--convert-non-recurring-all-day-to-diary)
19821 (icalendar-import-format-sample):
19822 * progmodes/idlw-shell.el (idlwave-shell-mode):
19823 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19824 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19825 (vhdl-ps-print-init): Fix typos.
19827 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19829 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19830 FSF and collapse date sequence, obscure author/maintainer email address
19831 better, remove extra version line, track relocation of author's webpage.
19833 * progmodes/python.el (python-pdbtrack-input-prompt)
19834 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19835 regular python pdb prompts. Adjustments shamelessly taken exactly as
19836 suggested in EmacsWiki page (tiny change):
19837 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19839 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19841 * expand.el (expand-pos, expand-index, expand-point):
19842 Remove redundant info from docstring.
19843 (expand-add-abbrevs): Doc fix.
19844 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19845 (expand-sample-perl-mode-expand-list): Fix typos.
19847 * net/dbus.el (dbus-event-member-name):
19848 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19849 * term/pc-win.el (msdos-create-frame-with-faces):
19850 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19852 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19854 * window.el (split-window, window-state-get-1)
19855 (window-state-put-1, window-state-put-2): Rename occurrences of
19856 window-nest to window-combination-limit.
19857 * cus-start.el (window-nest): Rename to window-combination-limit.
19859 2011-11-16 Chong Yidong <cyd@gnu.org>
19861 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19862 regexp (Bug#10033).
19864 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19866 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19867 `completing-read' will remove *Completions* and will preserve
19868 current-buffer for us.
19869 (tmm-add-prompt): Users of *Completions* will always (re)set its
19871 (tmm-old-comp-map): Remove.
19873 2011-11-16 Glenn Morris <rgm@gnu.org>
19875 * mail/rmailedit.el: Require rmailmm when compiling.
19876 (rmail-old-mime-state): New declaration.
19877 (rmail-edit-current-message): If editing a mime message,
19878 edit the "raw" message from the mbox buffer.
19879 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19881 2011-11-15 Glenn Morris <rgm@gnu.org>
19883 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19884 which wasn't being used. Add optional arg to force given state.
19885 (rmail-mime): Add optional arg to force given state.
19887 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19889 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19890 * frame.el (display-mm-dimensions-alist):
19891 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19892 (outline-move-subtree-down):
19893 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19894 (newsticker--treeview-do-get-node):
19895 * net/quickurl.el (quickurl-list-buffer-name):
19896 * progmodes/dcl-mode.el (dcl-mode):
19897 * progmodes/gdb-mi.el (gdb-mapcar*):
19898 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19900 2011-11-15 Glenn Morris <rgm@gnu.org>
19902 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19903 in a boolean sense, so just make it a boolean, and fix the doc.
19904 (rmail-show-mime-function, rmail-mime-feature)
19905 (rmail-require-mime-maybe): Doc fixes.
19906 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19908 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19910 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19912 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19913 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19914 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19915 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19917 2011-11-15 Glenn Morris <rgm@gnu.org>
19919 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19920 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19921 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19922 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19923 (rmail-mime, rmail-show-mime): Doc fixes.
19925 * term/ns-win.el (mode-line-frame-identification):
19926 Leave it alone. (Bug#10051)
19928 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19930 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19931 Handle empty buffers. (Bug#9978)
19933 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19935 * international/mule.el (define-charset):
19936 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19937 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19938 * progmodes/verilog-mode.el (verilog-backward-token):
19939 * textmodes/ispell.el (lookup-words):
19940 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19942 2011-11-14 Glenn Morris <rgm@gnu.org>
19944 * progmodes/executable.el
19945 (executable-make-buffer-file-executable-if-script-p):
19946 Handle file-modes returning nil.
19948 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19949 message - not necessary, and causes problems. (Bug#9831)
19951 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19953 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19955 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19956 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19957 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19959 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19961 * window.el (window-resize, delete-window): Use window-splits
19962 variable instead of function.
19963 (window-state-get-1, window-state-put-2, window-state-put):
19964 Don't deal with windows' splits status.
19966 2011-11-12 Glenn Morris <rgm@gnu.org>
19968 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19969 (apropos-documentation): Doc fixes.
19971 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19973 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19974 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19976 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19978 * electric.el (electric-indent-post-self-insert-function): Make it
19979 possible for a char to only indent in some circumstances.
19980 (electric-indent-mode): Simplify.
19982 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19984 * window.el (windows-with-parameter): Remove unused function.
19985 (windows-at-side): Rename to window-at-side-list.
19986 (window-check, window-atom-check, window-atom-check-1)
19987 (window-side-check, window-size-ignore, window-size-fixed-1)
19988 (window-in-direction-2): Prefix with "window--".
19989 (window-tree-1): Rename to window--subtree, fix doc-string.
19991 2011-11-11 Glenn Morris <rgm@gnu.org>
19993 * subr.el (eval-after-load): If FILE is already loaded,
19994 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19996 2011-11-10 Glenn Morris <rgm@gnu.org>
19998 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19999 Call svn via vc-svn-command rather than vc-do-command.
20000 (vc-svn-command): Add --non-interactive. (Bug#9993)
20001 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
20003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20004 Add toggle-read-only. (Bug#7292)
20005 * files.el (toggle-read-only): Mention that it should only
20006 be used interactively. (Bug#10006)
20008 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
20010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20011 Adjust regexp for OCaml warnings.
20013 * electric.el (electric-pair-post-self-insert-function): Let user
20014 turn it off buffer-locally (bug#9932).
20016 * progmodes/python.el (python-beginning-of-statement):
20017 Rewrite (bug#2703).
20019 * progmodes/compile.el: Better handle TABs (bug#9749).
20020 (compilation-internal-error-properties)
20021 (compilation-next-error-function): Obey the target buffer's
20022 compilation-error-screen-columns.
20024 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
20026 * progmodes/meta-mode.el: Remove obsolete comments.
20027 (meta-right-comment-regexp, meta-ignore-comment-regexp):
20028 Fix typos in docstrings.
20030 2011-11-09 Martin Rudalics <rudalics@gmx.at>
20032 * window.el (window-size-fixed-p): Rewrite doc-string.
20033 (window-resizable-p): Rename to window--resizable-p. Update callers.
20034 (window--resizable): New function. Make all callers of
20035 window-resizable call window--resizable instead.
20036 (window-resizable): Rewrite in terms of window--resizable.
20038 2011-11-08 Glenn Morris <rgm@gnu.org>
20040 * progmodes/delphi.el (delphi-mode-syntax-table):
20041 Let define-derived-mode define a proper syntax table. (Bug#9994)
20043 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20045 * window.el: Stay away from defsubst.
20046 (window-list-no-nils): Remove.
20047 (window-state-get-1, window-state-get): Use backquote instead.
20049 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20051 * emacs-lisp/find-func.el (find-function-read):
20052 Fix incorrect use of default argument in `completing-read'.
20054 2011-11-08 Martin Rudalics <rudalics@gmx.at>
20056 * window.el (display-buffer-function, special-display-function):
20057 Mention display-buffer-record-window but do not mention
20058 help-setup parameter in doc-strings.
20059 (window-min-delta): Fix doc-string typo.
20061 2011-11-08 Chong Yidong <cyd@gnu.org>
20063 * window.el (window-total-height, window-total-width): Doc fix.
20064 (window-body-size): Move from C.
20065 (window-body-height, window-body-width): Move to C.
20067 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20069 * window.el: Make special-display like display-buffer-alist (bug#9532).
20070 (display-buffer--special-action): New function, morphed
20071 from display-buffer--special.
20072 (display-buffer): Use it to handle special-display-buffers at higher
20073 priority (just after display-buffer-alist).
20074 (display-buffer-fallback-action, display-buffer--other-frame-action)
20075 (pop-to-buffer-same-window): Remove display-buffer--special.
20077 2011-11-07 Glenn Morris <rgm@gnu.org>
20079 * calendar/cal-menu.el (cal-menu-set-date-title):
20080 Do nothing if not in a calendar. (Bug#9976)
20082 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
20084 * files.el (find-file): Always use selected-window.
20086 2011-11-07 Martin Rudalics <rudalics@gmx.at>
20088 * window.el (window-combinations): Make WINDOW argument
20089 mandatory. Rewrite doc-string.
20090 (walk-window-subtree, window-atom-check, window-min-delta)
20091 (window-max-delta, window--resize-this-window)
20092 (window--resize-root-window-vertically, window-tree)
20093 (balance-windows, window-state-put): Rewrite doc-strings as to
20094 not mention the term "subwindow".
20095 (window--resize-subwindows-skip-p): Rename to
20096 window--resize-child-windows-skip-p.
20097 (window--resize-subwindows-normal): Rename to
20098 window--resize-child-windows-normal.
20099 (window--resize-subwindows): Rename to
20100 window--resize-child-windows.
20101 (window-or-subwindow-p): Rename to window--in-subtree-p.
20103 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20105 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20106 Ensure that mbox format messages end in two newlines (Bug#9974).
20108 2011-11-06 Chong Yidong <cyd@gnu.org>
20110 * window.el (window-combination-p): Function deleted; its
20111 side-effect is not used in any existing code.
20112 (window-combinations, window-combined-p): Call window-*-child
20115 2011-11-05 Chong Yidong <cyd@gnu.org>
20117 * window.el (window-valid-p): Rename from window-any-p.
20118 (window-size-ignore, window-state-get): Callers changed.
20119 (window-normalize-window): Rename from window-normalize-any-window.
20120 New arg LIVE-ONLY, replacing window-normalize-live-window.
20121 (window-normalize-live-window): Delete.
20122 (window-combination-p, window-combined-p, window-combinations)
20123 (walk-window-subtree, window-atom-root, window-min-size)
20124 (window-sizable, window-sizable-p, window-size-fixed-p)
20125 (window-min-delta, window-max-delta, window-resizable)
20126 (window-resizable-p, window-full-height-p, window-full-width-p)
20127 (window-current-scroll-bars, window-point-1, set-window-point-1)
20128 (window-at-side-p, window-in-direction, window-resize)
20129 (adjust-window-trailing-edge, maximize-window, minimize-window)
20130 (window-deletable-p, delete-window, delete-other-windows)
20131 (record-window-buffer, unrecord-window-buffer)
20132 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20133 (quit-window, split-window, window-state-put)
20134 (set-window-text-height, fit-window-to-buffer)
20135 (shrink-window-if-larger-than-buffer): Callers changed.
20137 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20139 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20140 rfc2047-decode-string.
20141 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20144 * window.el (window-body-height, window-body-width): Mention in
20145 the doc string that the return values are in frame's canonical
20148 2011-11-03 Alan Mackenzie <acm@muc.de>
20150 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20151 change in cc-engine.el.
20153 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20155 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20157 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20159 * window.el (quit-window): Call unrecord-window-buffer after
20160 showing another buffer in the window. (Bug#9937)
20161 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20163 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20165 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20166 Accept status with more than 9 shelves. (Bug#9935)
20167 Reported by Colin D Bennett <colin@gibibit.com>.
20169 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20171 * help.el (with-help-window): Don't reference
20172 temp-buffer-show-specifiers in doc-string.
20174 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20176 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20179 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20181 * whitespace.el: New version 13.2.2.
20182 (whitespace-newline-mode): Disable properly. Reported by Sarah
20185 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20187 * net/newst-treeview.el: Remove "Time-stamp".
20188 (newsticker--group-manage-orphan-feeds): Do not call
20189 newsticker--treeview-tree-update.
20190 (newsticker-treeview-update, newsticker-treeview):
20191 Call newsticker--treeview-tree-update if necessary.
20193 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20195 * window.el (window-iso-combination-p, window-iso-combined-p)
20196 (window-iso-combinations): Remove "iso-" infix.
20197 Suggested by Chong Yidong.
20198 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20199 (window-max-delta-1, window-resize, window--resize-siblings)
20200 (window--resize-this-window, adjust-window-trailing-edge)
20201 (split-window, balance-windows-1)
20202 (shrink-window-if-larger-than-buffer):
20203 * calendar/calendar.el (calendar-generate-window):
20204 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20206 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20208 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20209 in place (bug#9907).
20210 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20211 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20212 (eshell-structure-basic-command, eshell-rewrite-while-command)
20213 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20214 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20215 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20216 (eshell-do-pipelines-synchronously, eshell-eval-command):
20217 Use backquotes and prefer setq to set.
20218 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20219 (eshell-macrop): Use functionp.
20220 (eshell-do-eval): Handle multiple expressions in `while' body.
20222 2011-10-30 Chong Yidong <cyd@gnu.org>
20224 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20225 instead of set-mark (Bug#9810).
20227 2011-10-30 Chong Yidong <cyd@gnu.org>
20229 * window.el (split-window-below, split-window-right): Rename from
20230 split-window-above-each-other and split-window-side-by-side
20231 respectively. All callers changed.
20232 (split-window-sensibly, split-window-sensibly): Use them.
20233 (split-window-keep-point): Doc fix.
20235 * isearch.el: Add isearch-scroll property to split-window-below
20236 and split-window-right.
20238 * follow.el (follow-mode):
20239 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20240 * progmodes/ada-xref.el (ada-gdb-application):
20241 * emulation/vip.el (vip-buffer-in-two-windows):
20242 * image-dired.el (image-dired-dired-with-window-configuration):
20243 * dired-x.el (dired-do-find-marked-files):
20244 * dired.el (dired-pop-to-buffer):
20245 * bs.el (bs--show-with-configuration):
20246 * vc/emerge.el (emerge-setup-windows):
20247 * textmodes/two-column.el (2C-two-columns):
20248 * textmodes/reftex-toc.el (reftex-toc):
20249 * progmodes/gdb-mi.el (gdb-setup-windows):
20250 * progmodes/fortran.el (fortran-window-create):
20251 * net/newst-treeview.el (newsticker--treeview-window-init):
20252 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20253 * emulation/tpu-edt.el (tpu-gold-map):
20254 * emulation/crisp.el (crisp-mode-map):
20255 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20257 2011-10-29 Chong Yidong <cyd@gnu.org>
20259 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20261 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20263 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20264 forged Ispell output (Bug#7904).
20266 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20268 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20270 * doc-view.el: Avoid ugly errors about not finding nil.
20271 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20272 (doc-view-dvipdf-program, doc-view-unoconv-program)
20273 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20274 Avoid nil or absolute file name as default value.
20275 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20277 2011-10-28 Alan Mackenzie <acm@muc.de>
20279 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20281 2011-10-28 Alan Mackenzie <acm@muc.de>
20283 Amend the handling of c-beginning/end-of-defun in nested declaration
20286 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20287 cc-langs.el. Change it to a defcustom.
20289 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20292 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20293 Prevent "class foo : bar" being spuriously recognized as a label.
20295 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20296 Add parameter `inclusive' (to include enclosing braces in the region).
20297 (c-widen-to-enclosing-decl-scope): New function.
20298 (c-while-widening-to-decl-block): New macro.
20299 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20300 outward for defun boundaries, and correspondingly change symbol
20301 `respect-enclosure' to `go-outward'.
20302 (c-declaration-limits): Change algorithm to report only the "innermost"
20303 defun's boundaries.
20305 2011-10-28 Deniz Dogan <deniz@dogan.se>
20307 * net/rcirc.el (rcirc-mode): Use hard newlines.
20309 2011-10-28 Alan Mackenzie <acm@muc.de>
20311 Amend to indent and fontify macros "which include their own semicolon"
20312 correctly, using the "virtual semicolon" mechanism.
20314 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20316 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20317 Recode to scan one line at a time rather than having \n and \r
20318 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20319 (c-forward-label): Amend for virtual semicolons.
20320 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20322 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20323 of the new C macros.
20325 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20326 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20327 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20328 (c-opt-cpp-macro-define): Make into a full language variable.
20329 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20330 AWK Mode (including \n, \r) removed, no longer needed.
20332 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20333 Invoke c-make-macro-with-semi-re.
20335 * progmodes/cc-vars.el (c-macro-with-semi-re):
20336 (c-macro-names-with-semicolon): New variables.
20337 (c-make-macro-with-semi-re): New function.
20339 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20341 * vc/log-edit.el: Fill empty field rather than adding new one.
20342 (log-edit-add-field): New function.
20343 (log-edit-insert-changelog): Use it.
20345 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20347 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20349 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20351 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20352 (gdb--check-interpreter): New function.
20355 2011-10-27 Glenn Morris <rgm@gnu.org>
20357 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20358 (least-positive-float, least-negative-float)
20359 (least-positive-normalized-float, least-negative-normalized-float)
20360 (float-epsilon, float-negative-epsilon):
20361 Remove unnecessary declarations.
20363 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20364 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20365 (least-positive-float, least-negative-float)
20366 (least-positive-normalized-float, least-negative-normalized-float)
20367 (float-epsilon, float-negative-epsilon): Add doc-strings,
20368 based on those in cl.texi.
20370 * files.el (set-visited-file-name): If the major-mode changed,
20371 reload the local variables. (Bug#9796)
20373 2011-10-27 Chong Yidong <cyd@gnu.org>
20375 * subr.el (change-major-mode-after-body-hook): New hook.
20376 (run-mode-hooks): Run it.
20378 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20379 Use change-major-mode-before-body-hook.
20381 * simple.el (fundamental-mode):
20382 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20383 change introducing fundamental-mode-hook.
20385 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20387 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20389 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20391 * ido.el (ido-file-name-all-completions-1): Do not require
20392 tramp.el explicitly. (Bug#7583)
20394 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20396 * progmodes/octave-mod.el:
20397 * progmodes/octave-inf.el: Update maintainer.
20399 2011-10-26 Chong Yidong <cyd@gnu.org>
20401 * subr.el (with-wrapper-hook): Rewrite doc.
20403 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20405 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20406 filenames "/method:foo:". (Bug#9793)
20408 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20410 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20413 2011-10-24 Glenn Morris <rgm@gnu.org>
20415 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20417 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20419 * notifications.el: Add the requirement of a running D-Bus session
20420 bus to the Commentary.
20422 2011-10-24 Juri Linkov <juri@jurta.org>
20424 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20425 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20428 2011-10-24 Juri Linkov <juri@jurta.org>
20430 * info.el (Info-following-node-name-re): Add newline to the list
20431 of allowed characters for leading space. (Bug#9824)
20433 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20435 * progmodes/octave-inf.el (inferior-octave-mode-map):
20436 Fix C-c C-h binding.
20437 * progmodes/octave-mod.el (octave-help): Remove.
20439 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20441 Sync with Tramp 2.2.3.
20443 * net/tramp-cache.el (top): Pacify byte-compiler using
20444 `init-file-user' and `site-run-file'.
20446 * net/trampver.el: Update release number.
20448 2011-10-23 Chong Yidong <cyd@gnu.org>
20450 * files.el (toggle-read-only): Remove obsolete comment about
20453 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20454 for toggle-read-only. Note that this hasn't called vc-next-action
20455 since 2008-05-02, though it wasn't documented at the time.
20457 * vc/ediff-init.el (ediff-toggle-read-only-function):
20458 Use toggle-read-only.
20460 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20462 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20465 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20466 correct faulty logical expression.
20467 (c-parse-state-state, c-record-parse-state-state):
20468 (c-replay-parse-state-state): New defvar/defuns.
20469 (c-debug-parse-state): Use new functions.
20471 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20473 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20474 last fix. Use window-in-direction correctly.
20476 2011-10-21 Chong Yidong <cyd@gnu.org>
20478 * progmodes/idlwave.el (idlwave-mode):
20479 * progmodes/vera-mode.el (vera-mode): No need to set
20480 require-final-newline; that's done in prog-mode.
20481 Suggested by Stefan Monnier.
20483 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20485 * mouse.el (mouse-drag-window-above)
20486 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20487 (mouse-drag-mode-line-1, mouse-drag-header-line)
20488 (mouse-drag-vertical-line-rightward-window): Remove.
20489 (mouse-drag-line): New function.
20490 (mouse-drag-mode-line, mouse-drag-header-line)
20491 (mouse-drag-vertical-line): Call mouse-drag-line.
20492 * window.el (window-at-side-p, windows-at-side): New functions.
20494 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20496 * tar-mode.el (tar-grind-file-mode):
20497 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20499 2011-10-21 Chong Yidong <cyd@gnu.org>
20501 * progmodes/idlwave.el (idlwave-mode):
20502 * progmodes/vera-mode.el (vera-mode):
20503 Use mode-require-final-newline.
20505 2011-10-20 Glenn Morris <rgm@gnu.org>
20507 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20509 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20511 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20513 2011-10-20 Chong Yidong <cyd@gnu.org>
20515 * emulation/cua-base.el (cua-mode):
20516 * mail/footnote.el (footnote-mode):
20517 * mail/mailabbrev.el (mail-abbrevs-mode):
20518 * net/xesam.el (xesam-minor-mode):
20519 * progmodes/bug-reference.el (bug-reference-mode):
20520 * progmodes/cap-words.el (capitalized-words-mode):
20521 * progmodes/compile.el (compilation-minor-mode)
20522 (compilation-shell-minor-mode):
20523 * progmodes/gud.el (gud-tooltip-mode):
20524 * progmodes/hideif.el (hide-ifdef-mode):
20525 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20526 * progmodes/subword.el (subword-mode):
20527 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20528 * progmodes/which-func.el (which-function-mode):
20529 * term/tvi970.el (tvi970-set-keypad-mode):
20530 * term/vt100.el (vt100-wide-mode):
20531 * textmodes/flyspell.el (flyspell-mode):
20532 * textmodes/ispell.el (ispell-minor-mode):
20533 * textmodes/nroff-mode.el (nroff-electric-mode):
20534 * textmodes/paragraphs.el (use-hard-newlines):
20535 * textmodes/refill.el (refill-mode):
20536 * textmodes/reftex.el (reftex-mode):
20537 * textmodes/rst.el (rst-minor-mode):
20538 * textmodes/sgml-mode.el (html-autoview-mode)
20539 (sgml-electric-tag-pair-mode):
20540 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20541 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20542 * emulation/crisp.el (crisp-mode):
20543 * emacs-lisp/eldoc.el (eldoc-mode):
20544 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20545 minor mode behavior.
20547 2011-10-19 Juri Linkov <juri@jurta.org>
20549 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20550 the list of hard-coded chars with escape-glyph face.
20552 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20554 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20556 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20558 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20561 2011-10-19 Glenn Morris <rgm@gnu.org>
20563 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20564 Ignore ignored files. (Bug#9726)
20566 2011-10-19 Chong Yidong <cyd@gnu.org>
20568 Doc fix for minor modes, stating that an omitted argument enables
20569 the mode unconditionally when called from Lisp.
20571 * abbrev.el (abbrev-mode):
20572 * allout.el (allout-mode):
20573 * autoinsert.el (auto-insert-mode):
20574 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20575 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20576 (global-auto-revert-mode):
20577 * battery.el (display-battery-mode):
20578 * composite.el (global-auto-composition-mode)
20579 (auto-composition-mode):
20580 * delsel.el (delete-selection-mode):
20581 * desktop.el (desktop-save-mode):
20582 * dired-x.el (dired-omit-mode):
20583 * dirtrack.el (dirtrack-mode):
20584 * doc-view.el (doc-view-minor-mode):
20585 * double.el (double-mode):
20586 * electric.el (electric-indent-mode, electric-pair-mode):
20587 * emacs-lock.el (emacs-lock-mode):
20588 * epa-hook.el (auto-encryption-mode):
20589 * follow.el (follow-mode):
20590 * font-core.el (font-lock-mode):
20591 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20592 * help.el (temp-buffer-resize-mode):
20593 * hilit-chg.el (highlight-changes-mode)
20594 (highlight-changes-visible-mode):
20595 * hi-lock.el (hi-lock-mode):
20596 * hl-line.el (hl-line-mode, global-hl-line-mode):
20597 * icomplete.el (icomplete-mode):
20598 * ido.el (ido-everywhere):
20599 * image-file.el (auto-image-file-mode):
20600 * image-mode.el (image-minor-mode):
20601 * iswitchb.el (iswitchb-mode):
20602 * jka-cmpr-hook.el (auto-compression-mode):
20603 * linum.el (linum-mode):
20604 * longlines.el (longlines-mode):
20605 * master.el (master-mode):
20606 * mb-depth.el (minibuffer-depth-indicate-mode):
20607 * menu-bar.el (menu-bar-mode):
20608 * minibuf-eldef.el (minibuffer-electric-default-mode):
20609 * mouse-sel.el (mouse-sel-mode):
20610 * msb.el (msb-mode):
20611 * mwheel.el (mouse-wheel-mode):
20612 * outline.el (outline-minor-mode):
20613 * paren.el (show-paren-mode):
20614 * recentf.el (recentf-mode):
20615 * reveal.el (reveal-mode, global-reveal-mode):
20616 * rfn-eshadow.el (file-name-shadow-mode):
20617 * ruler-mode.el (ruler-mode):
20618 * savehist.el (savehist-mode):
20619 * scroll-all.el (scroll-all-mode):
20620 * scroll-bar.el (scroll-bar-mode):
20621 * server.el (server-mode):
20622 * shell.el (shell-dirtrack-mode):
20623 * simple.el (auto-fill-mode, transient-mark-mode)
20624 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20625 (line-number-mode, column-number-mode, size-indication-mode)
20626 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20627 * strokes.el (strokes-mode):
20628 * time.el (display-time-mode):
20629 * t-mouse.el (gpm-mouse-mode):
20630 * tool-bar.el (tool-bar-mode):
20631 * tooltip.el (tooltip-mode):
20632 * type-break.el (type-break-mode-line-message-mode)
20633 (type-break-query-mode):
20634 * view.el (view-mode):
20635 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20636 (global-whitespace-mode, global-whitespace-newline-mode):
20637 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20639 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20640 Fix autogenerated docstring.
20642 2011-10-19 Juri Linkov <juri@jurta.org>
20644 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20645 by checking environment variables "DESKTOP_SESSION" and
20646 "XDG_CURRENT_DESKTOP". (Bug#9779)
20648 2011-10-19 Juri Linkov <juri@jurta.org>
20650 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20651 (browse-url-chromium-program, browse-url-chromium-arguments):
20653 (browse-url-default-browser): Check for `browse-url-chromium' and
20654 call `browse-url-chromium-program'.
20655 (browse-url-chromium): New command. (Bug#9779)
20657 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20659 * facemenu.el (list-colors-duplicates): On Windows, detect more
20660 duplicates by assuming that only colors matching "^System" are
20661 special "system colors". (Bug#9722)
20663 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20665 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20666 to distinguish the author from the committer.
20668 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20670 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20672 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20674 * international/mule.el (sgml-html-meta-auto-coding-function):
20675 Add support for detecting encoding in HTML5 specified only as
20676 <meta charset="UTF-8">. Implementation just makes http-equiv and
20677 content-type parts from HTML4 encoding string optional. (Bug#9716)
20679 2011-10-18 Glenn Morris <rgm@gnu.org>
20681 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20683 2011-10-18 Chong Yidong <cyd@gnu.org>
20685 * faces.el (cursor): Doc fix.
20687 2011-10-17 Chong Yidong <cyd@gnu.org>
20689 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20691 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20693 * dirtrack.el (dirtrack): Support shell buffers with path
20694 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20696 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20698 * json.el: Bump version to 1.3 and note change in History.
20699 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20701 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20703 * comint.el (comint-insert-input, comint-send-input)
20704 (comint-get-old-input-default, comint-backward-matching-input)
20705 (comint-next-prompt): Use nil instead of `input' for field property of
20706 past user input (bug#114).
20708 * minibuffer.el (completion--replace): Inherit surrounding properties
20710 (minibuffer-complete-and-exit): Use it.
20712 * comint.el (comint--table-subvert): Quote the all-completions output
20715 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20717 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20719 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20720 window on right of selected. (Bug#9350) Reword other window
20721 entries and separate them from frame entries.
20723 2011-10-15 Glenn Morris <rgm@gnu.org>
20725 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20728 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20730 * net/network-stream.el (network-stream-open-starttls):
20731 Improve detection of failure due to lack of TLS support.
20733 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20734 putting the input text in front and in bold.
20736 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20738 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20740 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20743 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20744 unread-command-events rather than pushing yet-another event.
20746 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20748 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20749 the explanation of the possible choices. Make the options passed
20750 to completing-read shorter.
20752 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20754 * textmodes/flyspell.el (flyspell-large-region): Make sure
20755 extended character mode is used if defined (Bug#1339).
20757 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20759 * simple.el (what-cursor-position): Fix the display of the
20760 character info for LRE, LRO, RLE, and RLO characters by appending
20763 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20765 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20766 even in case of error; add debug spec; simplify data flow.
20767 (with-timeout-handler): Remove.
20769 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20771 Fix Bug#6019, Bug#9315.
20773 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20774 complete `buffer-file-name', the local file name part could look
20775 remotely (for example on VMS).
20777 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20778 `tramp-run-real-handler'.
20779 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20780 already quoted by '"'.
20782 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20783 Let `file-name-handler-alist' be nil, the local file name part
20784 could look remotely (for example on VMS).
20786 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20788 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20790 (flyspell-post-command-hook): ...to here.
20792 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20794 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20796 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20797 using completion. Protect against "slow" callers.
20798 Remove the "message hack".
20800 2011-10-11 Juri Linkov <juri@jurta.org>
20802 * isearch.el (isearch-lazy-highlight-word): New variable.
20803 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20806 2011-10-11 Glenn Morris <rgm@gnu.org>
20808 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20809 like f90-previous-statement does.
20811 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20813 * eshell/eshell.el (eshell-command): History should be saved
20814 only in interactive use, to avoid error.
20816 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20818 * minibuffer.el (completion-file-name-table): Fix last change,
20819 i.e. ignore normal errors but not the other ones.
20821 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20823 * window.el (special-display-buffer-names)
20824 (special-display-regexps): Remove some remnants of earlier
20825 changes from doc-strings.
20826 (quit-windows-on): New function.
20828 * vc/vc.el (vc-revert, vc-rollback):
20829 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20830 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20831 (Bug#6183) (Bug#7074) (Bug#7447)
20833 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20835 * window.el (frame-auto-hide-function): Add version tag.
20838 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20840 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20843 2011-10-09 Leo Liu <sdl.web@gmail.com>
20845 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20848 2011-10-08 Glenn Morris <rgm@gnu.org>
20850 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20851 before the first code statement zero indent. (Bug#9690)
20853 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20855 * simple.el (count-words-region): Always count in the region.
20856 Report the number of lines and characters too.
20857 (count-words): New command, which counts in the buffer if the
20858 region is inactive, as count-words-region used to.
20859 (count-words--message): New function. Handle plurals.
20860 (count-lines-region): Make it an alias for count-words-region.
20862 * bindings.el (esc-map): Replace count-lines-region with
20863 count-words-region.
20865 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20867 * window.el (window--delete): Delete dedicated frame
20868 unconditionally when argument KILL is non-nil. (Bug#9699)
20869 (switch-to-buffer): Fix doc-string typo.
20871 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20873 * eshell/eshell.el (eshell-command): Avoid using hooks.
20875 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20877 * bindings.el ([M-left], [M-right]): Bind to left-word and
20878 right-word respectively.
20880 2011-10-07 Glenn Morris <rgm@gnu.org>
20882 * cus-start.el (debug-on-quit): Fix custom type.
20884 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20886 * subr.el (define-key-after): Clarify that the function is not
20887 useful for non-menu keymaps.
20889 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20891 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20893 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20894 in current minibuffer (Fix bug with recursive minibuffers).
20896 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20898 * progmodes/gdb-mi.el (gdb): Doc fix.
20900 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20902 * window.el (frame-auto-hide-function): New option replacing
20903 frame-auto-delete. Suggested by Stefan Monnier.
20904 (window--delete): Call frame-auto-hide-function instead of
20905 investigating frame-auto-delete.
20906 (window-point-1, set-window-point-1): New functions.
20907 (window-in-direction, record-window-buffer, window-state-get-1)
20908 (display-buffer-record-window): Use window-point-1 instead of
20910 (set-window-buffer-start-and-point): Use set-window-point-1.
20912 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20914 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20916 2011-10-05 Glenn Morris <rgm@gnu.org>
20918 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20919 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20921 2011-10-05 Leo Liu <sdl.web@gmail.com>
20923 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20924 works with buffer object.
20926 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20928 * mpc.el (mpc-tool-bar-map): Add labels.
20930 2011-10-04 Glenn Morris <rgm@gnu.org>
20932 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20934 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20936 * window.el (window--delete): New function.
20937 (frame-auto-delete): Resuscitate option.
20938 (bury-buffer, replace-buffer-in-windows)
20939 (quit-window): Rewrite using window--delete.
20940 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20941 Pass display-buffer-mark-dedicated to window--display-buffer-2
20944 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20946 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20947 returns a list (bug#9554). Add remote file name completion.
20948 * comint.el (comint--table-subvert): Curry and get quote&unquote
20949 functions as arguments.
20950 (comint--complete-file-name-data): Adjust call accordingly.
20951 * pcomplete.el (pcomplete--table-subvert): Remove.
20952 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20954 * minibuffer.el (completion-table-case-fold): Use currying.
20955 (completion--styles-type, completion--cycling-threshold-type):
20957 (completion-styles, completion-category-overrides)
20958 (completion-cycle-threshold): Use them.
20959 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20960 completion-table-case-fold.
20962 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20964 * minibuffer.el (completion-category-overrides): Fix type of styles
20965 and add more user friendly tags (bug#9660).
20967 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20969 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20970 (mule-input-method-string): New widget.
20971 (default-input-method, language-info-custom-alist): Use it.
20973 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20975 * pcomplete.el: Require comint.
20976 (pcomplete--common-suffix): Remove.
20977 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20978 (pcomplete--table-subvert): Sync with comint--table-subvert.
20979 (pcomplete--entries): Use comint-completion-file-name-table.
20980 * comint.el (comint-unquote-filename): Simplify.
20981 (comint-completion-file-name-table): New function (bug#9616).
20982 (comint--complete-file-name-data): Use it.
20984 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20985 (pcmpl-gnu-tar-buffer): Remove.
20986 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20987 around. Make sure pcomplete-suffix-list is only changed temporarily.
20988 Don't look inside the tar's file if it's too large.
20990 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20992 * cus-edit.el (custom-mode-map):
20993 * epa.el (epa-key-list-mode-map):
20994 * man.el (Man-mode-map):
20995 * startup.el (splash-screen-keymap):
20996 * simple.el (special-mode-map): Use scroll-up-command and
20997 scroll-down-command.
20999 * progmodes/idlw-help.el (idlwave-help-mode-map):
21000 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
21001 * net/newst-plainview.el (newsticker-mode-map):
21002 * emulation/ws-mode.el (wordstar-mode-map):
21003 * emulation/vi.el (vi-com-map):
21004 * calc/calc-graph.el (calc-graph-show-dumb):
21005 * term/sun.el (terminal-init-sun):
21006 * term/ns-win.el (global-map):
21007 * progmodes/grep.el (grep-mode-map):
21008 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
21009 * mail/rmail.el (rmail-mode-map):
21010 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
21012 * custom.el (custom-safe-themes, load-theme): Treat value of t for
21013 custom-safe-themes as special.
21015 2011-10-01 Julien Danjou <julien@danjou.info>
21017 * notifications.el (notifications-notify): Fix docstring.
21019 2011-10-01 Per Starbäck <per@starback.se>
21021 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
21023 2011-09-30 Martin Rudalics <rudalics@gmx.at>
21025 * startup.el (command-line-1): Fix last fix by inserting
21026 initial-scratch-message into *scratch* before displaying it.
21027 (Bug#9605) and (Bug#9636)
21029 2011-09-29 Eli Zaretskii <eliz@gnu.org>
21031 * simple.el (line-move): If auto-hscroll-mode is disabled and the
21032 window is hscrolled, move by logical lines. (Bug#9607)
21033 (line-move-visual): Update the doc string to the above effect.
21035 2011-09-29 Martin Rudalics <rudalics@gmx.at>
21037 * window.el (display-buffer-record-window): When WINDOW is the
21038 selected window use `point' instead of `window-point'. (Bug#9626)
21040 * startup.el (command-line-1): Use insert-before-markers when
21041 inserting initial-scratch-message. (Bug#9605)
21043 * help.el (help-window): Remove variable.
21045 2011-09-29 Glenn Morris <rgm@gnu.org>
21047 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
21049 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
21051 * descr-text.el (describe-char-categories): Accept category
21052 descriptions more than one line long.
21054 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21056 * simple.el (delete-trailing-whitespace): Fix last change.
21058 * progmodes/perl-mode.el (perl-syntax-propertize-function):
21059 Don't confuse "y => 3" as the beginning of a `y' operation.
21061 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
21062 object has more than 4 slots (bug#9613).
21064 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
21066 * subr.el (with-output-to-temp-buffer):
21067 * net/quickurl.el (quickurl, quickurl-browse-url):
21068 Fix typos in docstrings.
21070 2011-09-27 Eli Zaretskii <eliz@gnu.org>
21072 * minibuffer.el (completion-styles)
21073 (completion-category-overrides): Cross reference each other in doc
21076 2011-09-27 Glenn Morris <rgm@gnu.org>
21078 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
21079 to split-string. (Bug#9606)
21081 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21083 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
21086 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
21088 * emacs-lisp/package.el (list-packages): Fix echo area message.
21090 2011-09-27 Leo Liu <sdl.web@gmail.com>
21092 * ido.el (ido-read-internal): Accept cons cell HIST arg.
21094 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
21096 * net/dbus.el (dbus-unregister-object): Don't release services for
21097 registered signals. (Bug#9581)
21099 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21101 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21102 function that picks between cfengine 2 and 3 support
21103 automatically. Update docs accordingly.
21105 2011-09-22 Kenichi Handa <handa@m17n.org>
21107 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21109 (indian-itrans-v5-table-for-tamil): New variable.
21110 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21112 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21114 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21115 that's true if the current command involved collapsing of text.
21116 It's reset to false at the beginning of the next command.
21117 (allout-post-command-business): Move the cursor to the beginning
21118 of entry if the cursor is hidden and collapsing activity just
21121 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21123 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21124 tracking (Bug#9541).
21126 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21128 * net/newst-reader.el (newsticker-html-renderer)
21129 (newsticker-show-news): Automatically load html rendering package
21130 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21131 because w3m-fill-column is let-bound" and the error "Symbol's value
21132 as variable is void: w3m-fill-column".
21134 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21136 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21137 Release services only if they are defined. (Bug#9581)
21139 2011-09-23 Richard Stallman <rms@gnu.org>
21141 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21142 distinguish start of paragraph from start of its text.
21144 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21146 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21147 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21148 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21150 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21152 * international/mule-diag.el (mule-diag): Insert a newline after
21153 each fontset description.
21155 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21157 * simple.el (delete-trailing-whitespace):
21158 Document last change; simplify.
21160 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21162 * simple.el (delete-trailing-whitespace): Also delete
21163 extra newlines at the end of the buffer.
21165 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21166 (picture-newline): Use forward-line so as to ignore fields.
21168 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21170 * subr.el (with-wrapper-hook): Fix edebug spec.
21172 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21174 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21177 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21179 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21180 Fix nasty bug using wrong cached values.
21182 2011-09-23 Alan Mackenzie <acm@muc.de>
21184 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21186 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21188 * window.el (pop-to-buffer): Ensure right window is selected if we
21189 chose another frame.
21191 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21193 * simple.el (what-cursor-position): Use get-char-property-change
21194 and next-single-char-property-change, to be able to show display
21195 properties that come from overlays as well as text properties.
21197 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21199 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21201 * cmuscheme.el (run-scheme, switch-to-scheme):
21202 * cus-edit.el (customize-group, custom-buffer-create)
21203 (customize-browse):
21205 * shell.el (shell):
21206 * mail/sendmail.el (mail):
21207 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21209 2011-09-22 Richard Stallman <rms@gnu.org>
21211 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21212 move back only to line beg, don't move back over blank lines.
21214 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21216 * files.el (copy-directory): Set directory attributes only in case
21217 they could be retrieved from the source directory. (Bug#9565)
21219 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21221 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21222 (hs-find-block-beginning, hs-hide-level-recursive):
21223 Ignore strings as well as comments. (Bug#9502)
21225 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21227 * progmodes/sql.el (sql-comint-postgres):
21228 Convert port number to a string. (Bug#9566)
21230 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21232 * window.el (quit-window): Undedicate window when switching to
21233 previous buffer. Reported by Thierry Volpiatto
21234 <thierry.volpiatto@gmail.com>.
21235 (special-display-popup-frame): When popping up a new frame reset
21236 its previous buffers to nil. Simplify code.
21238 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21240 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21241 and process filter, as done also in `shell-command'.
21243 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21245 * window.el (set-window-buffer-start-and-point):
21246 Call set-window-start with NOFORCE argument t.
21247 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21248 (quit-window): Reword doc-string. Handle new format of
21249 quit-restore parameter. Don't delete window if it has a
21250 previous buffer we can show instead of the present one.
21251 (display-buffer-record-window): Rewrite using a new format for
21252 the quit-restore window parameter
21253 (special-display-popup-frame, display-buffer-same-window)
21254 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21255 (display-buffer-pop-up-window, display-buffer-use-some-window):
21256 Adapt symbol passed to display-buffer-record-window.
21257 * help.el (help-window-setup): Handle new format of quit-restore
21260 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21262 * faces.el (face-list): Fix docstring (bug#9564).
21264 * window.el (display-buffer--action-function-custom-type):
21265 Don't include internal functions in the Custom interface.
21267 2011-09-20 Juri Linkov <juri@jurta.org>
21269 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21270 (Info-forward-node, Info-backward-node, Info-next-preorder)
21271 (Info-last-preorder): Use it. (Bug#9528)
21273 2011-09-20 Juri Linkov <juri@jurta.org>
21275 * info.el (Info-last-preorder): Visit last menu item only when
21276 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21278 2011-09-20 Julien Danjou <julien@danjou.info>
21280 * password-cache.el (password-cache-remove): Remove entries even if the
21281 value is nil, so that password with a nil value (negative caching) is
21282 possible to invalidate.
21284 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21286 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21287 all whitespace around breakpoint. (Bug#9553)
21288 (f90-find-breakpoint): Only break at whitespace inside a comment.
21290 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21292 * minibuffer.el (completion-file-name-table): Keep track of errors.
21293 (completion-table-with-predicate): Handle the case where pred1 is nil.
21294 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21296 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21298 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21299 (debugger-return-value): Signal an error if the debugging context does
21300 not await any return value.
21302 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21303 * image-mode.el (image-toggle-display-text)
21304 (image-toggle-display-image): Stay away from evil `intangible'.
21306 2011-09-19 Leo Liu <sdl.web@gmail.com>
21308 * replace.el (occur-revert-arguments): Make it permanent-local.
21309 (occur-mode): Don't call font-lock-defontify.
21311 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21313 * net/ldap.el (ldap-search-internal): Don't push empty search
21316 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21318 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21320 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21322 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21323 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21325 2011-09-18 Juri Linkov <juri@jurta.org>
21327 * buff-menu.el (Buffer-menu-mode-map):
21328 * dired.el (dired-mode-map):
21329 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21330 (lisp-interaction-mode-map):
21331 * emacs-lisp/package.el (package-menu-mode-map):
21332 * epa.el (epa-key-list-mode-map):
21333 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21334 (menu-bar-options-menu):
21335 * outline.el (outline-mode-menu-bar-map):
21336 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21337 * vc/vc-dir.el (vc-dir-menu-map):
21338 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21339 Capitalize non-function content words in menu item strings.
21341 * dired.el (dired-mode-map): Add menu item for
21342 `image-dired-dired-toggle-marked-thumbs'.
21344 2011-09-18 Juri Linkov <juri@jurta.org>
21346 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21347 to `isearch-case-fold-search' and restore its original value
21348 after the `isearch-mode' call.
21350 2011-09-18 Juri Linkov <juri@jurta.org>
21352 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21353 because `zgrep' returns 1 for successful matches (bug#9226).
21355 2011-09-18 Juri Linkov <juri@jurta.org>
21357 * info.el (Info-extract-menu-node-name): Check the second match
21358 for empty string (second test-case of bug#9528).
21359 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21360 intermediate nodes to the history (first test-case of bug#9528).
21362 2011-09-18 Juri Linkov <juri@jurta.org>
21364 * info.el (Info-mode-syntax-table): New variable.
21365 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21367 2011-09-18 Juri Linkov <juri@jurta.org>
21369 * info.el (Info-file-supports-index-cookies):
21370 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21371 outputs one more line for long file names (bug#4142).
21373 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21375 * newcomment.el (comment-normalize-vars): If prompting for
21376 comment-start, set comment-start-skip too (Bug#8424).
21378 2011-09-18 Johan Bockgård <bojohan@gnu.org>
21380 * icomplete.el: Fix previous fix of Bug#5849.
21381 (icomplete-mode): Don't set completion-show-inline-help.
21382 (icomplete-minibuffer-setup): Set completion-show-inline-help
21383 locally during icompletion.
21385 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21387 * woman.el (woman2-process-escapes): Don't delete unrecognized
21388 escapes (Bug#7843).
21390 * files.el (inhibit-first-line-modes-regexps): Add image files.
21391 (hack-local-variables-prop-line): Return nil for malformed
21392 prop-lines (Bug#9044).
21394 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21396 * net/tramp.el (top): Don't require 'shell.
21397 (tramp-methods): Fix docstring.
21398 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21399 Return complete remote file name. Handle "smb" case.
21400 Use `tramp-tmpdir', if defined for the respective method.
21401 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21403 * net/tramp-compat.el (top): Require 'shell.
21405 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21406 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21407 `tramp-current-host'.
21408 (tramp-get-remote-tmpdir): Remove.
21410 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21411 `tramp-tmpdir' entries.
21412 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21413 (tramp-smb-handle-file-attributes): Ignore errors.
21414 (tramp-smb-wait-for-output): Check also for process end.
21416 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21418 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21419 when sending QUIT (bug#9312).
21421 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21423 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21424 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21425 occur-mode-display-occurrence.
21426 (occur-edit-mode): Add usage message.
21427 (occur-cease-edit): New command.
21428 (occur-after-change-function): Use text properties to find the
21429 position of the prefix text.
21430 (occur-engine): Set stickiness of prefix text properties.
21432 2011-09-17 Glenn Morris <rgm@gnu.org>
21434 * progmodes/etags.el (complete-tag):
21435 Fix call to completion-in-region. (Bug#9526)
21437 2011-09-17 Juri Linkov <juri@jurta.org>
21439 * textmodes/ispell.el (ispell-word): Add to the error message
21440 the word, ispell program name and current dictionary (bug#9121).
21441 (ispell-tex-arg-end): Capitalize "error" in the error message.
21443 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21445 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21448 2011-09-17 Juri Linkov <juri@jurta.org>
21450 * window.el (window-safe-min-height, window-safe-min-width):
21451 Fix typos (followup to bug#9522).
21453 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21455 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21457 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21459 * simple.el (line-move): If goal-column is set, move by logical
21460 lines, not by display lines. (Bug#971)
21461 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21462 to reflect the above change.
21464 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21466 * image.el (imagemagick-register-types): Use regexp-opt.
21468 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21470 * window.el (display-buffer-base-action): Rename from
21471 display-buffer-default-action. Make default value empty.
21472 (display-buffer-overriding-action): Convert to defvar.
21473 (display-buffer-fallback-action): New var.
21475 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21477 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21479 (package--add-to-archive-contents): If there is a duplicate entry
21480 with an older version, remove it.
21481 (package-menu-mark-delete, package-menu-mark-install)
21482 (package-menu-mark-unmark): Make unused args optional.
21483 (package-menu-mark-obsolete-for-deletion):
21484 Use package-menu-get-status instead of a regexp search.
21485 (package-menu-get-status): Use tabulated-list-entry.
21486 (package-menu-mark-upgrades): New command.
21487 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21488 (package-menu-execute): Do installation before deletion.
21489 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21490 instead of checking major-mode.
21491 (package-menu--find-upgrades): New function.
21493 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21495 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21496 passwords in the log buffer.
21497 (smtpmail-process-filter): Update the process marker so that the
21498 "broken by peer" status message is inserted in the right place.
21500 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21502 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21503 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21504 bibtex-completion-at-point-function.
21505 (bibtex-completion-at-point-function): Use them.
21507 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21509 * mpc.el (mpc-constraints-tag-lookup): New function.
21510 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21511 also to browser "album|playlist".
21513 2011-09-14 Juri Linkov <juri@jurta.org>
21515 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21516 (isearch-edit-string): Use length of `isearch-string' when
21517 `isearch-fail-pos' returns nil.
21518 (isearch-message): Remove duplicate code and call
21519 `isearch-fail-pos' with arg `t'.
21521 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21523 * replace.el (occur-mode-goto-occurrence): Don't force using other
21526 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21528 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21530 * window.el (display-buffer-window): Remove.
21531 (display-buffer-record-window): Use help-setup window parameter
21532 instead of variable display-buffer-window.
21533 (display-buffer-function, special-display-buffer-names)
21534 (special-display-function): Mention help-setup parameter instead
21535 of display-buffer-window in doc-string.
21536 * help.el (help-window-setup): New argument help-window.
21537 Use help-window-setup parameter instead of display-buffer-window.
21538 Reword some messages.
21539 (with-help-window): Pass window used for displaying the buffer
21540 to help-window-setup. Don't set display-buffer-window.
21542 2011-09-13 Glenn Morris <rgm@gnu.org>
21544 * emacs-lisp/debug.el (debugger-make-xrefs):
21545 Preserve point. (Bug#9462)
21547 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21549 * window.el (window-deletable-p): Use next-frame.
21551 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21553 * window.el (window-auto-delete): Remove.
21554 (window-deletable-p): Remove argument FORCE. Don't deal with
21555 dedication and previous buffers.
21556 (switch-to-prev-buffer): Don't delete window.
21557 (delete-windows-on): Delete a window's frame if and only if the
21558 window is dedicated.
21559 (replace-buffer-in-windows): Delete buffer's window or frame if
21560 and only if window is dedicated.
21561 (quit-window): Handle quit-restore as before last change.
21562 (bury-buffer): Delete window only if window-deletable-p returns t.
21564 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21566 * window.el (window-deletable-p): Never delete the last frame on a
21569 2011-09-13 Glenn Morris <rgm@gnu.org>
21571 * help.el (describe-key-briefly): Copy previous standard-output change.
21573 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21575 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21577 2011-09-13 Glenn Morris <rgm@gnu.org>
21579 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21580 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21582 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21584 * dired-aux.el (dired-mark-read-string): Don't return default
21585 value on empty input (Bug#9361).
21586 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21587 Omit initial minibuffer contents.
21588 (dired-do-chmod): Signal an error on empty input.
21589 (dired-mark-read-string): Don't return default on empty input.
21591 * files.el (file-modes-symbolic-to-number): Doc fix.
21593 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21595 * international/mule-cmds.el (ucs-completions): Remove.
21596 (read-char-by-name): Use complete-with-action instead; add metadata.
21598 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21600 * window.el (display-buffer--action-function-custom-type)
21601 (display-buffer--action-custom-type): New vars.
21602 (display-buffer-alist, display-buffer-default-action)
21603 (display-buffer-overriding-action): Add defcustom types.
21605 * frame.el (delete-other-frames): Doc fix (Bug#276).
21607 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21609 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21611 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21613 Change modes that used same-window-* vars to use switch-to-buffer.
21615 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21616 Use switch-to-buffer.
21618 * cus-edit.el (customize-group, custom-buffer-create)
21619 (customize-browse, custom-buffer-create-other-window):
21620 Use switch-to-buffer or switch-to-buffer-other-window.
21622 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21623 (Info-prev, Info-up, Info-speedbar-goto-node)
21624 (info-display-manual): Use switch-to-buffer.
21625 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21627 * mail/sendmail.el (mail): Use switch-to-buffer.
21628 (mail-recover): Use switch-to-buffer-other-window.
21630 * cmuscheme.el (run-scheme, switch-to-scheme):
21632 * shell.el (shell):
21633 * net/rlogin.el (rlogin):
21634 * net/telnet.el (telnet, rsh):
21635 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21637 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21639 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21641 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21643 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21644 so don't mention it (bug#9301).
21645 (dired-sort-toggle-or-edit): Clarify string further.
21647 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21648 match `x', `w32' and `ns', like the manual says (bug#9029).
21650 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21651 (process-kill-buffer-query-function): Mention the buffer name in
21654 * image-mode.el (image-next-line): The line parameter is mandatory
21657 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21658 which can be useful (bug#9301).
21660 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21662 * subr.el (match-string): Mention that the current buffer should
21663 be the same as the search was done in (bug#9282).
21665 * facemenu.el: Disable the remove-* commands if the mark isn't
21668 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21670 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21672 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21674 * replace.el (occur-mode-goto-occurrence)
21675 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21676 and display-buffer.
21678 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21681 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21682 special-display and same-window variables.
21683 (mail-other-window): Use switch-to-buffer-other-window.
21684 (mail-other-frame): USe switch-to-buffer-other-frame.
21686 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21687 Use display-buffer-other-frame.
21688 (gdb-display-gdb-buffer): Use pop-to-buffer.
21690 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21692 * progmodes/python.el: Don't set same-window-buffer-names.
21694 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21696 * window.el (display-buffer-alist): Add *Python*.
21698 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21700 * window.el (display-buffer-alist): Add entry for buffers
21701 previously handled same-window-*.
21702 (display-buffer-alist, display-buffer-default-action)
21703 (display-buffer-overriding-action): Mark as risky.
21704 (display-buffer-alist): Document action function changes.
21705 (display-buffer--same-window-action)
21706 (display-buffer--other-frame-action): New variables.
21707 (switch-to-buffer, display-buffer-other-frame): Use them.
21708 (display-buffer): Rename reuse-frame entry to reusable-frames.
21709 (display-buffer-reuse-selected-window): Function deleted.
21710 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21711 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21712 (display-buffer-special): New function.
21713 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21714 display-buffer-reuse-or-pop-window. Split off special-display
21715 part into display-buffer-special.
21716 (display-buffer-use-some-window): Don't perform any special
21717 pop-up-frames handling.
21718 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21719 (display-buffer--maybe-same-window): Rename from
21720 display-buffer-maybe-same-window.
21722 * info.el: Don't set same-window-regexps.
21723 (info-setup): New function.
21724 (info-other-window, info): Call it.
21726 * cus-edit.el: Don't set same-window-regexps.
21727 (customize-group): New argument.
21728 (customize-group-other-window): Use it.
21729 (customize-face, customize-face-other-window): Likewise.
21730 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21734 * progmodes/gud.el: Don't set same-window-regexps.
21739 * mail/sendmail.el:
21740 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21742 2011-09-10 Juri Linkov <juri@jurta.org>
21744 * isearch.el (isearch-edit-string): Remove obsolete mention of
21745 `C-w' (`isearch-yank-word-or-char') from docstring.
21746 (isearch-query-replace): Fix typo in docstring (bug#9466).
21748 2011-09-10 Juri Linkov <juri@jurta.org>
21750 * paren.el (show-paren-function): Don't show escaped parens.
21751 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21753 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21755 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21756 (mm-default-file-encoding): Remove autoload forms, they are
21757 replaced with autoload cookies in mml.el and mm-encode.el.
21758 (mail-add-attachment): New command.
21759 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21760 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21762 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21764 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21766 * simple.el (count-words-region): Use buffer if there's no region
21769 2011-09-09 Juri Linkov <juri@jurta.org>
21771 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21772 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21773 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21775 2011-09-09 Alan Mackenzie <acm@muc.de>
21777 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21778 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21780 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21782 Fix for Savannah bug#9392.
21783 * simple.el (mail-encode-mml): New defvar.
21785 * mail/rmail.el (mail-encode-mml): Add a defvar.
21786 (rmail-enable-mime-composing): Default to t.
21787 (rmail-forward): Use MIME method of forwarding only if both
21788 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21789 Set mail-encode-mml non-nil if the MIME method was used.
21791 * mail/sendmail.el (mml-to-mime): Add autoload form.
21792 (mail-encode-mml): Add a defvar.
21793 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21795 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21796 message through mml-to-mime, and reset mail-encode-mml to nil.
21798 2011-09-09 Glenn Morris <rgm@gnu.org>
21800 * woman.el (woman-if-body): When processing an .el block,
21801 do not delete the next .el block as well. (Bug#9447)
21802 (woman-special-characters): Add oq, cq, and hy characters.
21804 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21806 * window.el (window-deletable-p): Make sure window is live before
21807 invoking window-prev-buffers.
21809 2011-09-08 Leo Liu <sdl.web@gmail.com>
21811 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21813 2011-09-08 Juri Linkov <juri@jurta.org>
21815 * progmodes/compile.el (compilation-environment): Make it
21816 a defcustom (bug#8340).
21818 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21820 * window.el (frame-auto-delete): Rename to window-auto-delete.
21821 Make it control auto-deletion of windows and/or frames.
21822 (window-deletable-p): New argument FORCE. Rewrite conditions
21823 for deleting window/frame. (Bug#9419)
21824 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21825 Rewrite handling of case when window/frame can be deleted.
21826 (delete-windows-on): Call window-deletable-p with new FORCE
21827 argument t. (Bug#9456)
21829 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21831 * help-mode.el (help-mode): Restore autoload.
21833 2011-09-07 Juri Linkov <juri@jurta.org>
21835 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21836 `compilation-environment'. Set buffer-local
21837 `compilation-environment' to `thisenv' later after (funcall mode).
21840 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21841 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21842 instead of replacing its value. (Bug#8340)
21844 2011-09-07 Juri Linkov <juri@jurta.org>
21846 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21847 based on text properties put by `grep-filter' instead of matching
21849 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21850 to the value of `grep-error-screen-columns' (bug#9438).
21852 2011-09-07 Juri Linkov <juri@jurta.org>
21854 * simple.el (next-error-highlight, next-error-highlight-no-select):
21855 Doc fix (bug#9432).
21857 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21859 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21860 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21862 2011-09-07 Leo Liu <sdl.web@gmail.com>
21864 * net/rcirc.el (rcirc-mode): Conditionally initialize
21867 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21869 * emacs-lisp/find-func.el (find-function-C-source): Only set
21870 find-function-C-source-directory after checking that we found a source
21871 file there (bug#9440).
21873 2011-09-06 Alan Mackenzie <acm@muc.de>
21875 * isearch.el (isearch-other-meta-char): Wherever a key list is
21876 unread, "unread" the prefix arg, too. This fixes bug #8901.
21878 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21880 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21882 2011-09-05 Juri Linkov <juri@jurta.org>
21884 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21886 2011-09-05 Juri Linkov <juri@jurta.org>
21888 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21889 keeping point where processing of grep matches begins, and
21890 continue to delete remaining escape sequences from the same point.
21891 (grep-filter): Make leading zero optional in "0?1;31m" because
21892 git-grep emits "\033[1;31m" escape sequences unlike expected
21893 "\033[01;31m" as GNU Grep does (bug#9408).
21894 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21896 2011-09-05 Juri Linkov <juri@jurta.org>
21898 * subr.el (y-or-n-p): Capitalize "yes".
21900 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21902 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21903 `tramp-cache-unload-hook' where appropriate.
21904 (tramp-methods): Rename `tramp-remote-sh' to
21905 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21906 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21908 * net/tramp-sh.el (top): Don't require 'shell.
21909 (tramp-methods): Add `tramp-remote-shell' and
21910 `tramp-remote-shell-args' entries.
21911 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21912 (tramp-sh-handle-shell-command): Remove.
21913 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21914 Use `tramp-remote-shell'.
21916 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21918 * mail/sendmail.el (sendmail-query-once-function): Delete.
21919 (sendmail-query-once): Save directly to send-mail-function.
21920 Update message-send-mail-function too.
21922 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21924 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21926 * progmodes/python.el (python-mode-map): Use correct function to
21927 start python interpreter from menu-bar (as reported by Geert
21929 (inferior-python-mode-map): Fix typo.
21930 (python-shell-map): Remove.
21932 2011-09-03 Deniz Dogan <deniz@dogan.se>
21934 * net/rcirc.el (rcirc-print): Simplify code for
21935 rcirc-scroll-show-maximum-output. There is no need to walk
21936 through all windows to find the right one.
21938 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21940 * help.el (help-return-method): Doc fix.
21942 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21944 * window.el (window-deletable-p): Don't return a non-nil value
21945 when there's a buffer that was shown in the window before.
21947 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21948 Set window's previous buffers to nil.
21950 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21952 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21953 newline before and after the tag line, so it doesn't interfere
21954 with determining the paragraph direction of bidirectional text.
21956 2011-09-03 Leo Liu <sdl.web@gmail.com>
21958 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21960 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21962 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21963 (pop-to-buffer): Change interactive spec. Pass second argument
21964 directly to display-buffer.
21965 (display-buffer): Fix interactive spec. Use functionp to
21966 distinguish between a function and a list of functions.
21968 * abbrev.el (edit-abbrevs):
21969 * arc-mode.el (archive-extract):
21970 * autoinsert.el (auto-insert):
21971 * bookmark.el (bookmark-bmenu-list):
21972 * files.el (find-file):
21973 * view.el (view-buffer):
21974 * progmodes/compile.el (compilation-goto-locus):
21975 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21977 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21979 * window.el (display-buffer-alist): Doc fix.
21980 (display-buffer): Add docstring. Don't treat
21981 display-buffer-default specially.
21982 (display-buffer-reuse-selected-window)
21983 (display-buffer-same-window, display-buffer-maybe-same-window)
21984 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21985 (display-buffer-pop-up-window)
21986 (display-buffer-reuse-or-pop-window)
21987 (display-buffer-use-some-window): New functions.
21988 (display-buffer-default-action): Use them.
21989 (display-buffer-default): Delete.
21990 (pop-to-buffer-1): Fix choice of actions.
21992 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21994 * minibuffer.el (completion--insert-strings): Don't get confused by
21995 completion entries that end with an LF char.
21997 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21999 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
22001 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
22003 * window.el (display-buffer): Restore interactive spec.
22004 (display-buffer-same-window, display-buffer-other-window):
22006 (pop-to-buffer-1): New function. Use the above.
22007 (pop-to-buffer, pop-to-buffer-same-window): Use it.
22008 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
22010 * view.el (view-buffer-other-window, view-buffer-other-frame):
22011 Just use pop-to-buffer.
22013 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22015 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
22017 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
22019 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
22021 2011-08-31 Richard Stallman <rms@gnu.org>
22023 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
22024 of the separation of rmail-view-buffer from rmail-buffer.
22025 If you say no to "replace original", the decrypt is in the
22026 view buffer. If you say yes, the decrypt goes into the
22029 2011-08-31 Martin Rudalics <rudalics@gmx.at>
22031 * window.el (display-buffer-window): Rewrite doc-string.
22032 (display-buffer-record-window): New function.
22033 (display-buffer-macro-specifiers)
22034 (display-buffer-even-window-sizes, display-buffer-set-height)
22035 (display-buffer-set-width, display-buffer-in-window)
22036 (display-buffer-reuse-window, display-buffer-split-specifiers)
22037 (display-buffer-side-specifiers, display-buffer-split-window-1)
22038 (display-buffer-split-window, display-buffer-split-atom-window)
22039 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22040 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
22041 (display-buffer-other-window-means-other-frame)
22042 (display-buffer-normalize-special)
22043 (display-buffer-normalize-default)
22044 (display-buffer-normalize-argument)
22045 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
22046 (display-buffer-normalize-specifiers, display-buffer-frame)
22047 (display-buffer-same-window, display-buffer-same-frame)
22048 (display-buffer-other-window)
22049 (display-buffer-same-frame-other-window)
22050 (display-buffer-other-frame, pop-to-buffer-same-window)
22051 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
22052 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
22053 (switch-to-buffer-same-frame)
22054 (switch-to-buffer-other-window-same-frame)
22055 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
22056 (display-buffer-alist-set-1, display-buffer-alist-set-2)
22057 (display-buffer-alist-set): Remove.
22058 (display-buffer-function, special-display-buffer-names)
22059 (special-display-regexps, special-display-function):
22060 In doc-string refer to display-buffer-window and quit-restore
22062 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
22063 (special-display-frame-alist, special-display-popup-frame)
22064 (same-window-buffer-names, same-window-regexps, same-window-p)
22065 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22066 (split-window-preferred-function, split-height-threshold)
22067 (split-width-threshold, window-splittable-p)
22068 (split-window-sensibly, window--try-to-split-window)
22069 (window--frame-usable-p, even-window-heights)
22070 (window--even-window-heights, window--display-buffer-1)
22071 (window--display-buffer-2, display-buffer-other-frame):
22072 Restore old Emacs 23 code, order and doc-strings where applicable.
22073 (display-buffer-default, display-buffer-assq-regexp): New functions.
22074 (display-buffer-alist): Rewrite doc-string.
22075 (display-buffer-default-action)
22076 (display-buffer-overriding-action): New variables.
22077 (display-buffer, switch-to-buffer): Rewrite.
22078 (pop-to-buffer): Restore Emacs 23 behavior but use
22079 window-normalize-buffer-to-display.
22080 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
22081 Restore Emacs 23 behavior but use
22082 window-normalize-buffer-to-switch-to.
22083 (pop-to-buffer-same-window): Rewrite.
22084 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
22085 Rewrite using Emacs 23 options.
22087 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
22089 * net/tramp.el (tramp-root-regexp): Remove.
22090 (tramp-completion-file-name-regexp-unified)
22091 (tramp-completion-file-name-regexp-separate)
22092 (tramp-completion-file-name-regexp-url): Don't use leading volume
22093 letter on w32 systems. (Bug#5303, Bug#9311)
22094 (tramp-drop-volume-letter): Simplify definition.
22095 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
22097 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
22099 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22102 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22104 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22106 2011-08-29 Juri Linkov <juri@jurta.org>
22108 * isearch.el (isearch-done): Don't display message "Mark saved"
22109 when arg `edit' is non-nil to prevent its flicker in the echo area.
22111 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22113 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22114 obsolete packages for deletion.
22116 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22118 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22119 (help-mode): Derive help-mode from special-mode. Don't invoke
22120 view-mode from help-mode.
22121 (help-xref-override-view-map): Remove.
22122 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22123 view-mode is not used anymore.
22125 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22127 * server.el (server-port): Doc fix.
22129 * cus-theme.el (custom-theme-choose-mode): Inherit from
22130 special-mode (Bug#9124).
22131 (custom-theme-choose-mode-map): Add special-mode to parent.
22133 2011-08-28 Alan Mackenzie <acm@muc.de>
22135 * progmodes/cc-fonts.el
22136 (c-make-font-lock-BO-decl-search-function): New function.
22137 (c-basic-matchers-after - "Fontify the clauses after various
22138 keywords"): Extract the three keyword lists for the 3 erroneous
22139 constructs from the list of four, and use the new function above
22140 in place of an old one.
22142 2011-08-28 Deniz Dogan <deniz@dogan.se>
22144 * net/rcirc.el (rcirc-insert-prev-input)
22145 (rcirc-insert-next-input): Remove unused argument.
22147 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22149 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22151 2011-08-27 Alan Mackenzie <acm@muc.de>
22153 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22154 handle function pointer parameters properly.
22156 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22158 * window.el (display-buffer-reuse-window): Fix case where
22159 selected window was reused with non-nil OTHER-WINDOW argument.
22162 2011-08-27 Deniz Dogan <deniz@dogan.se>
22164 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22165 oftc's NickServ messages.
22167 2011-08-27 Glenn Morris <rgm@gnu.org>
22169 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22171 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22173 * emacs-lisp/package.el (package-install): Call package-initialize
22174 if called interactively.
22176 2011-08-26 Leo Liu <sdl.web@gmail.com>
22178 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22180 2011-08-25 Juri Linkov <juri@jurta.org>
22182 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22183 `search-whitespace-regexp' (bug#9364).
22185 2011-08-25 Juri Linkov <juri@jurta.org>
22187 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22188 `regexp-search-ring' to their global values to protect from
22189 updating by `read-from-minibuffer' (bug#9185).
22191 2011-08-25 Juri Linkov <juri@jurta.org>
22193 * textmodes/ispell.el (ispell-command-loop): Add newline
22194 at the end of the "Use option `i'..." line.
22196 2011-08-25 Juri Linkov <juri@jurta.org>
22198 * battery.el (display-battery-mode): If `battery-status-function'
22199 or `battery-mode-line-format' is nil, display the message and set
22200 `display-battery-mode' to nil (bug#9363).
22202 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22204 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22205 bidi-string-mark-left-to-right; they are unnecessary now.
22207 2011-08-25 Deniz Dogan <deniz@dogan.se>
22209 * net/quickurl.el: Documentation typo fixes.
22211 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22213 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22215 2011-08-25 Glenn Morris <rgm@gnu.org>
22217 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22219 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22220 (smtpmail-via-smtp): Handle nil response from smtp.
22222 2011-08-24 Juri Linkov <juri@jurta.org>
22224 * proced.el (proced-marked): Inherit from `error' instead of
22225 `font-lock-warning-face'.
22227 * ibuffer.el (ibuffer-marked-face): Change default face from
22228 `font-lock-warning-face' to `warning'.
22229 (ibuffer-deletion-face): Change default face from
22230 `font-lock-type-face' to `error'.
22232 * battery.el (battery-update): Use the face `error' instead of
22233 `font-lock-warning-face' (bug#6117).
22235 2011-08-24 Juri Linkov <juri@jurta.org>
22237 * faces.el (success): Change face color from "Green3" to
22238 "ForestGreen" on light background (bug#9353).
22240 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22242 * window.el (quit-window): Rename from quit-restore-window.
22243 Use same arglist as old quit-window.
22244 (frame-auto-delete): Doc fix.
22246 * view.el (view-mode-exit): Use quit-window.
22248 2011-08-24 Juri Linkov <juri@jurta.org>
22250 * isearch.el (isearch-ring-adjust1): Start visiting previous
22251 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22252 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22253 for empty search string (when the last search string is reused
22254 automatically) to adjust the isearch ring to the last element and
22255 prepare the correct index for further M-p commands (bug#9185).
22257 2011-08-24 Kenichi Handa <handa@m17n.org>
22259 * international/ucs-normalize.el: If decomposition property of
22260 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22262 (nfd, nfkd): Likewise.
22264 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22266 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22267 from process filters aren't reliably transmitted to the surrounding
22268 accept-process-output.
22269 (mpc-proc-check): New function.
22270 (mpc-proc-sync): Use it (bug#8293)
22272 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22274 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22275 Add compatibility functions (bug#9313).
22277 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22279 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22281 * international/uni-bidi.el: Regenerate.
22283 2011-08-23 Kenichi Handa <handa@m17n.org>
22285 * international/charprop.el:
22286 * international/uni-bidi.el:
22287 * international/uni-category.el:
22288 * international/uni-combining.el:
22289 * international/uni-comment.el:
22290 * international/uni-decimal.el:
22291 * international/uni-decomposition.el:
22292 * international/uni-digit.el:
22293 * international/uni-lowercase.el:
22294 * international/uni-mirrored.el:
22295 * international/uni-name.el:
22296 * international/uni-numeric.el:
22297 * international/uni-old-name.el:
22298 * international/uni-titlecase.el:
22299 * international/uni-uppercase.el: Regenerate.
22301 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22303 * help.el (help-window-setup): Fix message displayed when other
22304 window is reused. (Bug#9341)
22306 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22308 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22309 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22311 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22313 * shell.el (shell-parse-pcomplete-arguments): New function.
22314 (shell-completion-vars): Use it instead (bug#9160).
22316 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22318 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22319 strings and comments (bug#9333).
22321 * emacs-lisp/debug.el (debug-arglist): New function.
22322 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22323 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22325 2011-08-22 Juri Linkov <juri@jurta.org>
22327 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22328 Revert regexp that highlights output switches to its old
22329 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22331 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22332 to check for empty output (bug#9226).
22334 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22336 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22337 symbol-constituent as the default, as that stops font-lock from
22338 working properly (Bug#8843).
22340 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22342 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22343 `coding-system-for-*' around the process open call to avoid
22344 auth-source side effects.
22345 (smtpmail-try-auth-methods): Expand the secret password.
22346 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22349 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22351 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22353 * emacs-lisp/find-func.el (find-function-noselect): New arg
22356 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22357 signal an error for built-in functions (Bug#6664).
22359 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22361 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22362 (smtpmail-try-auth-methods): Use it.
22364 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22366 * font-lock.el (font-lock-fontify-region)
22367 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22368 (font-lock-default-unfontify-buffer)
22369 (font-lock-default-fontify-region)
22370 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22372 * progmodes/compile.el (compilation-error-properties):
22373 Fix confusion between file struct and message struct (Bug#9319).
22374 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22377 * net/browse-url.el (browse-url-firefox): Don't call
22378 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22380 2011-08-20 Glenn Morris <rgm@gnu.org>
22382 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22384 * tutorial.el (tutorial--default-keys): Update some default bindings.
22386 * files.el (hack-local-variables): Fully ignore case for "mode:".
22388 2011-08-20 Alan Mackenzie <acm@muc.de>
22390 Resolve invalid use of a regexp in regexp-opt.
22392 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22393 detection for a java annotation.
22395 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22396 detection for a java annotation.
22398 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22400 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22402 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22404 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22407 2011-08-20 Alan Mackenzie <acm@muc.de>
22409 Fontify CPP expressions correctly when starting in the middle of
22410 such a construct. Mainly for when jit-lock etc. starts a chunk
22413 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22415 (c-make-font-lock-search-form): New function, extracted from
22416 c-make-font-lock-search-function.
22417 (c-make-font-lock-search-function): Use the above function.
22418 (c-make-font-lock-context-search-function): New function.
22419 (c-cpp-matchers): Enhance the preprocessor expression case with
22421 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22422 which takes an expression.
22424 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22426 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22428 * window.el (display-buffer-reuse-window)
22429 (display-buffer-pop-up-window): Don't reuse or split a side
22432 2011-08-19 Glenn Morris <rgm@gnu.org>
22434 * files.el (hack-local-variables-prop-line, hack-local-variables):
22435 Downcase "Mode:". (Bug#9331)
22437 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22439 * international/characters.el: Add L and R categories.
22441 * subr.el (bidi-string-mark-left-to-right): Rename from
22442 string-mark-left-to-right. Use category search.
22444 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22446 2011-08-18 Juri Linkov <juri@jurta.org>
22448 * faces.el (error, warning, success): New faces with definitions
22449 copied from old default values of `font-lock-warning-face',
22450 `compilation-warning', `compilation-info' (bug#6117).
22452 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22454 * progmodes/compile.el (compilation-error): Inherit from `error'.
22455 (compilation-warning): Inherit from `warning'.
22456 (compilation-info): Inherit from `success'.
22458 * dired.el (dired-marked): Inherit from `warning'.
22459 (dired-flagged): Inherit from `error'.
22461 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22463 * mail/smtpmail.el (auth-source): Require to avoid problems with
22464 binding variables (bug#9298). Also clean up some unused
22467 * net/network-stream.el (network-stream-open-starttls):
22468 Support using starttls.el without using gnutls-cli.
22470 2011-08-17 Juri Linkov <juri@jurta.org>
22472 * progmodes/grep.el (rgrep): Handle the case when
22473 `grep-find-command' is a cons cell (bug#9278).
22475 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22477 * window.el (display-buffer-pop-up-frame): Run frame creation
22478 function with BUFFER current (as special-display-popup-frame
22479 does). Reported by Drew Adams.
22481 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22483 * epa-mail.el: Simplify GnuPG group expansion using
22485 (epa-mail-group-alist, epa-mail-group-modtime)
22486 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22487 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22488 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22491 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22493 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22495 2011-08-16 Alan Mackenzie <acm@muc.de>
22497 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22498 Correct, to avoid the inside of macros.
22500 2011-08-16 Richard Stallman <rms@gnu.org>
22502 * epa-mail.el: Handle GnuPG group definitions.
22503 (epa-mail-group-alist, epa-mail-group-modtime)
22504 (epa-mail-gnupg-conf-file): New variables.
22505 (epa-mail-parse-groups, epa-mail-sync-groups)
22506 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22507 (epa-mail-expand-recipients): New functions.
22508 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22510 * mail/rmail.el (rmail-epa-decrypt): New command.
22512 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22513 Don't bind buffer-read-only, just inhibit-read-only.
22514 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22515 (epa-decrypt-armor-in-region): Make error message clearer.
22517 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22519 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22520 and "a2b" to "ab" for `prefix'.
22522 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22524 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22526 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22527 Fourquet (Bug#8804).
22529 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22531 * startup.el (argi): Declare as global variable (bug#9275).
22533 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22535 * subr.el (string-mark-left-to-right): Search the entire string
22536 for RTL script, not just the terminating character. Doc fix.
22538 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22540 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22542 (js--regexp-literal, js-syntax-propertize-function): Remove.
22543 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22544 (js-mode-map): Don't rebind electric keys.
22545 (js-insert-and-indent): Remove.
22546 (js-mode): Setup electric-layout and electric-indent instead.
22548 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22550 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22552 * epa.el (epa-progress-callback-function): Fix the logic of
22553 displaying progress.
22554 * epa-file.el (epa-file-insert-file-contents): Make progress
22555 display more user-friendly.
22556 (epa-file-write-region): Ditto.
22558 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22560 * subr.el (string-mark-left-to-right): New function.
22562 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22563 Use string-mark-left-to-right.
22564 (list-buffers-noselect): Caller changed.
22566 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22567 Use string-mark-left-to-right.
22568 (tabulated-list-print): Recenter after moving point.
22570 2011-08-10 Juri Linkov <juri@jurta.org>
22572 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22573 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22574 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22576 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22578 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22581 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22583 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22584 character. (Bug#6594)
22586 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22588 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22589 (image-dired--with-db-file): New macro.
22590 (image-dired-write-tags, image-dired-remove-tag)
22591 (image-dired-create-gallery-lists, image-dired-write-comments)
22592 (image-dired-get-comment, image-dired-mark-tagged-files)
22593 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22594 (image-dired-gallery-generate): Use insert-file-contents.
22596 * time.el (display-time-world-list, display-time-world-display):
22597 * time-stamp.el (time-stamp-string):
22598 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22599 set-time-zone-rule (Bug#7337).
22601 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22603 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22604 (epg-error-to-string, epg-errors-to-string): New function.
22605 (epg-wait-for-completion): Reverse errors list.
22606 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22607 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22608 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22609 (epg-sign-keys, epg-generate-key-from-file)
22610 (epg-generate-key-from-string): Format errors by using
22611 epg-errors-to-string (bug#9255).
22612 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22614 2011-08-07 Juri Linkov <juri@jurta.org>
22616 * faces.el (list-faces-display): Remove extra angle bracket
22617 from `help-mode-map'.
22619 * info.el (Info-history-toc-nodes): Doc fix.
22621 * longlines.el (longlines-mode): Doc fix.
22623 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22625 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22626 of statements and in a few more cases (bug#9183).
22628 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22630 (cl-transform-lambda): Use them (bug#9239).
22632 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22634 * window.el (display-buffer-same-window)
22635 (display-buffer-same-frame, display-buffer-other-window)
22636 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22637 (pop-to-buffer-other-window)
22638 (pop-to-buffer-same-frame-other-window)
22639 (pop-to-buffer-other-frame): Make them defuns.
22640 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22642 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22644 * subr.el (make-composed-keymap): Move from C. Change calling
22645 convention, and improve docstring to bring attention to a subtle point.
22646 * minibuffer.el (completing-read-default): Adjust accordingly.
22648 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22650 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22651 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22653 * net/trampver.el: Update release number.
22655 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22657 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22660 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22662 * mail/sendmail.el (sendmail-query-once): Restore the current
22663 buffer after querying (bug#9074).
22665 * dired.el (dired-flagged): Use different faces for marked and
22666 flagged files (bug#6117).
22668 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22671 * ido.el (ido-mode): Switch off the message if called
22674 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22675 before 587, since it appears that that's more likely to work for
22678 * cus-edit.el (custom-file): When running under emacs -q, always
22679 refuse to save the customizations, even if the .emacs file doesn't
22682 * info.el: Remove the `Info-beginning-of-buffer' function
22685 * net/network-stream.el (network-stream-open-starttls):
22686 Use `starttls-available-p' to see whether starttls.el can be used.
22688 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22690 * window.el (display-buffer-in-window): Don't set dedicated status
22691 of window here (Bug#9215).
22692 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22693 (display-buffer-pop-up-side-window)
22694 (display-buffer-in-side-window): Set dedicated status of window here.
22696 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22698 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22699 before binding generated-autoload-file.
22701 2011-08-01 Deniz Dogan <deniz@dogan.se>
22703 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22705 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22707 Sync with Tramp 2.2.2.
22709 * net/trampver.el: Update release number.
22711 2011-07-30 Juri Linkov <juri@jurta.org>
22713 * dired-aux.el (dired-touch-initial): Remove function.
22714 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22715 current time, and `default' to the last modification time of the
22716 current marked file (bug#6887).
22718 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22720 * simple.el (goto-line): Use string-to-number to provide a
22721 numeric argument to read-number (bug#9163).
22723 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22725 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22726 connection process, it could be nil.
22728 2011-07-27 Leo Liu <sdl.web@gmail.com>
22730 Simplify url handling in rcirc-mode.
22732 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22733 (rcirc-browse-url-at-mouse): Remove.
22734 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22736 2011-07-26 Alan Mackenzie <acm@muc.de>
22738 Fontify bitfield declarations properly.
22740 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22741 (c-symbol-chars): Now exported as a lang variable.
22742 (c-not-primitive-type-keywords): New lang variable.
22744 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22745 QT keyword "more" to prevent "more slots: ...." being spuriously
22746 parsed as a bitfield declaration.
22748 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22749 Refactor and enhance to handle bitfield declarations.
22750 (c-punctuation-in): New function.
22751 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22752 declarations properly.
22754 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22756 * calendar/icalendar.el (icalendar--all-events): Take care of
22757 multiple vcalendars in a single file.
22758 (icalendar--convert-float-to-ical): Checkdoc fixes.
22760 2011-07-25 Deniz Dogan <deniz@dogan.se>
22762 * image.el (insert-image): Clarifying docstring.
22764 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22766 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22767 `tramp-send-command-and-check' if there is no error.
22768 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22770 2011-07-22 Alan Mackenzie <acm@muc.de>
22772 Prevent cc-langs.elc being loaded at run time.
22774 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22777 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22778 "(require 'cc-langs)". Quote a form so it will evaluate at
22779 (cc-mode's) compilation time.
22781 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22783 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22784 loading. (Bug#9114)
22786 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22788 * window.el (display-buffer-pop-up-window)
22789 (display-buffer-pop-up-side-window)
22790 (display-buffer-in-side-window): Call display-buffer-set-height
22791 and display-buffer-set-width after setting the new window's
22792 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22794 2011-07-20 Sam Steingold <sds@gnu.org>
22796 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22797 (etags-tags-included-tables): Call `convert-standard-filename' on
22798 the file names contained in TAGS so that windows Emacs can handle
22799 TAGS files created by cygwin ctags.
22801 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22803 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22804 which apparently didn't work.
22806 2011-07-19 Roland Winkler <winkler@gnu.org>
22808 * proced.el (proced-send-signal): For *Marked Processes* buffer
22809 put point at beginning of buffer.
22811 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22813 * proced.el (proced-format): Make header lines align with the text
22816 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22818 * view.el (view-buffer): Allow running in `special' modes if we're
22819 visiting a file (bug#8615).
22821 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22823 * window.el (display-buffer-alist-of-strings-p)
22824 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22826 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22829 2011-07-18 Alan Mackenzie <acm@muc.de>
22831 Fontify declarators properly when, e.g., a jit-lock chunk begins
22832 inside a declaration.
22834 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22836 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22838 (c-complex-decl-matchers): Insert reference to
22839 c-font-lock-enclosing-decls.
22841 * progmodes/cc-engine.el (c-backward-single-comment):
22842 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22843 to nil around calls to (forward-comment -1).
22845 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22847 * image.el (put-image): Doc typo fix.
22849 * progmodes/etags.el (tags-search): Doc typo fix.
22851 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22852 password if we get errors 550 to 554.
22854 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22856 * net/gnutls.el (gnutls-log-level): Remove.
22858 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22859 indentation character (bug#6380).
22861 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22863 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22864 to clarify what the problem is (bug#4291).
22866 * simple.el (current-kill): Clarify what
22867 `interprogram-paste-function' does (bug#7500).
22868 (auto-fill-mode): Document `auto-fill-function' in relation to
22869 `auto-fill-mode' (bug#2470).
22871 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22873 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22874 method if slot is read-only (bug#9035).
22876 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22878 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22879 * window.el (pop-to-buffer): Select window used even if it was
22880 selected before, see discussion of (Bug#8615), (Bug#6954).
22881 Pass argument NORECORD on to select-frame-set-input-focus.
22883 2011-07-15 Glenn Morris <rgm@gnu.org>
22885 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22888 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22890 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22891 (gnutls-negotiate): Use it.
22893 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22895 * net/gnutls.el (gnutls-negotiate):
22896 Upcase `gnutls-algorithm-priority'.
22898 2011-07-15 Glenn Morris <rgm@gnu.org>
22900 * jka-compr.el (jka-compr-verbose): Move from here...
22901 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22902 Add missing :version tag.
22903 * info.el: No need to require jka-compr when compiling.
22905 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22907 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22908 (gnutls-negotiate): Use it.
22910 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22912 * info.el (Info-beginning-of-buffer): New command.
22913 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22914 announcing `b' as the key (bug#8325).
22915 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22917 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22919 * international/mule-cmds.el
22920 (describe-specified-language-support): Make the error message
22921 clearer (bug#8905).
22923 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22925 * isearch.el (isearch-barrier): Add a doc string, since it's
22926 mentioned in a function doc string (bug#8678).
22928 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22930 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22931 buffer argument (Bug#9083) and self-identifying label argument.
22933 2011-07-15 Glenn Morris <rgm@gnu.org>
22935 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22937 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22939 * man.el (Man-fontify-manpage): Fix message when formatting the
22940 man page (bug#7929).
22942 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22944 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22945 argument LRM; if non-nil, append an invisible LRM character to the
22947 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22948 last argument non-nil, when formatting buffer names.
22949 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22950 paragraph direction.
22952 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22954 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22955 the man page name (bug#7929).
22957 * image.el (put-image): Mention the `put-image' overlay property
22960 * scroll-bar.el (set-scroll-bar-mode): Mention that
22961 `scroll-bar-mode' lists the values (bug#7772).
22963 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22964 command (bug#7729).
22966 * rect.el (apply-on-rectangle): Return the point after the last
22968 (string-rectangle): Go to the point after the last operation
22971 * printing.el (pr-toggle-region): Clarify the documentation
22972 slightly (bug#7493).
22974 * time.el (display-time-update):
22975 Allow `display-time-mail-function' to return nil (bug#7158).
22976 Fix suggested by Detlev Zundel.
22978 * vc/diff.el (diff): Clarify the order the file names are read
22981 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22982 the doc string (bug#7015).
22984 * font-lock.el (font-lock-maximum-decoration): Mention what
22985 numeric levels mean (bug#6935).
22987 * startup.el (initial-buffer-choice): Don't mention the `none'
22988 selection, which is against policy.
22990 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22992 * window.el (display-buffer-normalize-special):
22993 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22995 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22997 * subr.el (version<, version<=, version=): Mention "-CVS" and
22998 "-12345" alpha version numbers.
23000 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23002 * bindings.el: Add advertised binding for set-mark-command
23005 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23007 * bindings.el (mode-line-other-buffer):
23008 * bookmark.el (bookmark-bmenu-2-window):
23009 * bs.el (bs-cycle-next, bs-cycle-previous):
23010 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
23013 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23016 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
23018 * follow.el (follow-debug-message, follow-redisplay):
23019 * jka-cmpr-hook.el (with-auto-compression-mode):
23020 Fix typos in docstrings.
23022 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23024 * subr.el (with-silent-modifications): Clarify somewhat what the
23025 macro inhibits (bug#6525).
23027 * simple.el (eval-expression): Note what it does if called
23028 interactively (bug#6495).
23030 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23032 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
23033 Use pop-to-buffer buffer-or-name if it is nil.
23035 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23036 Remove switch-to-buffer.
23038 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23040 * files.el (make-directory): Clarify that an error will be raised
23041 if there's an error (bug#6397).
23043 * startup.el (initial-buffer-choice): Add `none' as a choice
23046 * subr.el (add-hook): Clarify section about buffer-local hooks
23049 * dired.el (dired-flagged): Clarify doc string (bug#6117).
23051 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23053 * tabify.el (untabify): Preserve the current column so that point
23054 doesn't move (bug#6032).
23056 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23058 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
23059 Rewrite to avoid awkward possessive "s" (bug#5986).
23061 2011-07-13 Glenn Morris <rgm@gnu.org>
23063 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
23064 (dired-insert-directory): Give a message the first time
23065 if ls is found not to support --dired.
23067 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23069 * simple.el (toggle-truncate-lines): Clarify what is toggled
23070 (bug#5580). Text by Drew Adams.
23072 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23074 * simple.el (blink-matching-open): Make the error message from the
23075 last change less verbose.
23077 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
23079 * font-lock.el (font-lock-comment-face): Use the high contrast
23080 "yellow" color for font-lock-comment-face on low color terminals
23081 using a dark background color (bug#4221).
23083 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23085 * dired.el (dired-insert-set-properties): Make the doc string
23086 reflect what it does now (bug#5325).
23088 * simple.el (blink-matching-open): Say that we were unable to find
23089 the match within the limit, if we're limited (bug#5122).
23091 * international/mule-cmds.el (prefer-coding-system): Add an
23092 example (bug#4869).
23094 * progmodes/etags.el (tags-search): Document `file-list-form'
23097 2011-07-13 Lawrence Mitchell <wence@gmx.li>
23099 * net/browse-url.el (browse-url-default-browser)
23100 (browse-url-browser-function): Make the default browser choice a
23101 bit more logical (bug#4300). Also clean up the doc string.
23103 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23105 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23106 binary endings (bug#4440).
23108 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23110 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23111 which can be pretty annoying (bug#8971).
23113 * jka-compr.el (jka-compr-verbose): New variable, and use
23114 throughout (bug#8971).
23116 * info.el (Info-find-file): Fall back on the installation
23117 directory if we can't find the info node anywhere else.
23119 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23121 * vc/vc.el (vc-revert-file):
23122 Don't set file time-stamp in the past. (Bug#5181)
23124 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23126 * files.el (after-find-file): Give a better error message when
23127 trying to find a symlink that points to a file that doesn't exist
23130 * progmodes/cc-vars.el: Remove (probably) misleading comment
23133 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23135 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23137 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23139 * mouse-sel.el: Hack restoring functionality, while keeping
23140 compatibility with 2010-07-03 changes to mouse selection.
23141 (mouse-sel-primary-overlay): New var.
23142 (mouse-sel-selection-alist): Use it.
23143 (mouse-sel-mode): Doc fix; remove points that are default features
23146 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23148 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23149 Fix previous fix (bug#2490).
23151 2011-07-12 Roland Winkler <winkler@gnu.org>
23153 * textmodes/bibtex.el (bibtex-initialize):
23154 Use pop-to-buffer-same-window.
23155 (bibtex-search-entries): Fix interactive call.
23157 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23159 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23160 Fontise bytecomp Error lines more correctly (bug#2490).
23161 Fix suggested by Johan Bockgård.
23163 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23165 * dired-x.el (dired-guess-default): Use `delete-dups'.
23167 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23169 * dired.el (dired-mark-prompt):
23170 * dired-aux.el (dired-read-shell-command): Doc fix.
23172 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23174 * mail/sendmail.el (sendmail-query-once):
23175 Use `customize-save-variable' unconditionally, now that it works under
23178 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23180 * cus-edit.el (custom-file): Take an optional no-error variable.
23181 (customize-save-variable): Set the variable, and give a warning if
23182 running under "emacs -q".
23184 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23186 * loadhist.el (unload-feature-special-hooks):
23187 Add `auto-coding-functions', `fill-nobreak-predicate' and
23188 `find-directory-functions' (bug#5327).
23190 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23192 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23194 * cus-edit.el (custom-guess-name-alist): -alist variables should
23195 use the `alist' type (bug#3120). Suggested by Drew Adams.
23197 * printing.el: Add documentation to all the `pr-toggle-' commands.
23199 2011-07-11 Leo Liu <sdl.web@gmail.com>
23201 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23202 backends where it makes sense (bug#2623).
23204 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23206 * dired-x.el (dired-guess-default): Remove duplicate shell command
23207 entries (bug#2028).
23208 (dired-guess-default): Fix grammar in doc string (bug#2028).
23209 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23211 * subr.el (remove-duplicates): New conveniency function.
23213 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23215 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23218 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23220 * window.el (display-buffer-normalize-default): Don't invert
23221 meaning of even-window-heights. Reported by Eli Zaretskii
23224 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23226 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23228 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23230 * window.el (display-buffer): Fix arguments to
23231 display-buffer-reuse-window in last change.
23233 * faces.el (link): Use a less saturated blue on light backgrounds.
23235 * startup.el (fancy-startup-text, fancy-about-text)
23236 (fancy-startup-tail): Use font-lock faces, for background safety.
23238 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23240 * emulation/viper-cmd.el (viper-change-state-to-vi):
23241 Limit triggering of abbrev expansion (Bug#9038).
23243 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23245 * window.el (display-buffer-default-specifiers): Remove.
23246 (display-buffer-macro-specifiers): Remove default specifiers.
23247 (display-buffer-alist): Default to nil.
23248 (display-buffer-reuse-window): New optional argument other-window.
23249 (display-buffer-pop-up-window): Allow splitting internal
23250 windows. Check whether a live window was created.
23251 (display-buffer-other-window-means-other-frame)
23252 (display-buffer-normalize-arguments): Rename to
23253 display-buffer-normalize-argument and rewrite. Set the
23254 other-window specifier.
23255 (display-buffer-normalize-special): New function.
23256 (display-buffer-normalize-options): Rename to
23257 display-buffer-normalize-default and rewrite.
23258 (display-buffer-normalize-options-inhibit): Remove.
23259 (display-buffer-normalize-specifiers): Rewrite.
23260 (display-buffer): Process other-window specifier and call
23261 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23263 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23264 (display-buffer-alist-set): Don't handle 'unset default values.
23265 (display-buffer-in-window, display-buffer-alist-set):
23266 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23267 <tassilo@member.fsf.org>.
23269 2011-07-09 Leo Liu <sdl.web@gmail.com>
23271 * register.el (insert-register): Restore accidental change on
23272 2011-06-26. (Bug#9028)
23274 2011-07-09 Glenn Morris <rgm@gnu.org>
23276 * subr.el (remq): Handle the empty list. (Bug#9024)
23278 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23280 * mail/sendmail.el (send-mail-function): No longer delay custom
23282 * custom.el (custom-initialize-delay): Doc fix.
23284 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23286 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23288 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23290 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23291 human-friendly prompt.
23293 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23295 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23296 provided by a particular plugin.
23298 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23300 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23301 save customizations (with "emacs -Q"), just set the variable
23302 instead of erroring out.
23304 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23306 2011-07-08 Juri Linkov <juri@jurta.org>
23308 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23309 (archive-zip-update-case): Use 7z if found by `executable-find'.
23310 The order of searching the available programs is the same as in
23311 `archive-zip-extract' (bug#8968).
23313 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23315 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23316 (menu-bar-options-menu): Tweak descriptions.
23318 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23320 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23321 menu items into verb phrases (bug#1421). Also refill to fit under
23324 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23326 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23327 (Info-read-node-name): Doc fix (Bug#1084).
23329 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23330 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23331 (end-of-sexp, beginning-of-sexp)
23332 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23333 (forward-symbol, forward-same-syntax, word-at-point)
23334 (sentence-at-point): Doc fix (Bug#1144).
23336 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23338 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23339 should cover it (bug#1281).
23341 * cus-edit.el (custom-show): Mark as obsolete.
23343 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23344 negotiation fails, then possibly try again with a non-encrypted
23345 connection (bug#9017).
23347 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23350 2011-07-07 Richard Stallman <rms@gnu.org>
23352 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23353 property, and handle its changed format.
23354 Look for the correct line number.
23355 Use file's line contents (but not past first =) to find
23356 correct line in message.
23358 2011-07-07 Kenichi Handa <handa@m17n.org>
23360 * international/characters.el (build-unicode-category-table):
23362 (unicode-category-table): Set it by unicode-property-table-internal.
23364 * international/mule-cmds.el (char-code-property-alist): Move to
23366 (get-char-code-property): Call unicode-property-table-internal to
23367 load a file. Call get-unicode-property-internal where necessary.
23368 (put-char-code-property): Call unicode-property-table-internal to
23369 load a file. Call put-unicode-property-internal where necessary.
23370 put-unicode-property-internal where necessary.
23371 (char-code-property-description):
23372 Call unicode-property-table-internal to load a file.
23374 * international/charprop.el:
23375 * international/uni-bidi.el:
23376 * international/uni-category.el:
23377 * international/uni-combining.el:
23378 * international/uni-comment.el:
23379 * international/uni-decimal.el:
23380 * international/uni-decomposition.el:
23381 * international/uni-digit.el:
23382 * international/uni-lowercase.el:
23383 * international/uni-mirrored.el:
23384 * international/uni-name.el:
23385 * international/uni-numeric.el:
23386 * international/uni-old-name.el:
23387 * international/uni-titlecase.el:
23388 * international/uni-uppercase.el: Regenerate.
23390 * loadup.el: Load international/charprop.el before
23391 international/characters.
23393 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23395 * window.el (next-buffer, previous-buffer): Signal an error if
23396 called from a minibuffer window.
23398 * bindings.el: Revert 2011-07-04 change.
23400 2011-07-06 Richard Stallman <rms@gnu.org>
23402 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23403 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23404 Treat markers like ints.
23405 (rmail-mime-entity): Doc fix.
23407 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23409 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23410 defcustom again for backwards compatibility.
23412 * simple.el (shell-command-on-region): Fill.
23414 * dired-aux.el (dired-kill-line): Add a doc string.
23416 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23417 to "\\sw\\|\\s_" (bug#358).
23419 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23420 (dired-unmark-backward): Ditto.
23421 (dired-flag-backup-files): Ditto.
23423 * dired-x.el (dired-mark-sexp): Ditto.
23425 2011-07-06 Richard Stallman <rms@gnu.org>
23427 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23428 (rmail-mime-entity): New arg TRUNCATED.
23429 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23431 (rmail-mime-save): Warn if entity is truncated.
23432 (rmail-mime-toggle-hidden): Likewise, for showing.
23433 (rmail-mime-process-multipart): Record when an entity is truncated.
23435 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23436 if ENTITY is a string.
23438 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23440 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23441 of faces when `M-C-x'-ing their definitions (bug#8378).
23442 Also clean up the code slightly.
23444 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23445 because that makes the colors go away.
23447 * mail/sendmail.el (send-mail-function): Change the default to
23448 `sendmail-query-once'.
23449 (sendmail-query-once): Add an autoload cookie.
23451 * net/network-stream.el (network-stream-open-starttls): Try using
23452 a plain connection even if the server offered STARTTLS, and we
23453 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23454 capability. This should make smtpmail.el work in slightly more
23457 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23459 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23461 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23463 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23465 * progmodes/sql.el: Version 3.0
23466 (sql-product-alist): Add product :completion-object,
23467 :completion-column, and :statement attributes.
23468 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23469 (sql-mode-syntax-table): Mark all punctuation.
23470 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23472 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23473 (sql-mode-oracle-font-lock-keywords): Improve.
23474 (sql-oracle-show-reserved-words): New function for development.
23475 (sql-product-font-lock): Simplify for source code buffers.
23476 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23478 (sql-highlight-product): Set product specific syntax table.
23479 (sql-mode-map): Add statement movement functions.
23480 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23482 (sql-statement-regexp, sql-beginning-of-statement)
23483 (sql-end-of-statement, sql-signum): New functions.
23484 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23485 (sql-show-sqli-buffer): Bug fix.
23486 (sql-interactive-mode): Store connection data as buffer local.
23487 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23488 with sql-interactive-mode.
23489 (sql-save-connection): Save buffer local settings.
23490 (sql-connection-menu-filter): Change menu entry name.
23491 (sql-product-interactive): Bug fix.
23492 (sql-preoutput-hold): New variable.
23493 (sql-interactive-remove-continuation-prompt): Bug fixes.
23494 (sql-debug-redirect): New variable.
23495 (sql-str-literal): New function.
23496 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23498 (sql-oracle-save-settings, sql-oracle-restore-settings)
23499 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23500 (sql-completion-object, sql-completion-column)
23501 (sql-completion-sqlbuf): New variables.
23502 (sql-build-completions-1, sql-build-completions)
23503 (sql-try-completion): New functions.
23504 (sql-read-table-name): Use them.
23505 (sql-contains-names): New buffer local variable.
23506 (sql-list-all, sql-list-table): Use it.
23507 (sql-oracle-completion-types): New variable.
23508 (sql-oracle-completion-object, sql-sqlite-completion-object)
23509 (sql-postgres-completion-object): New functions.
23511 2011-07-06 Glenn Morris <rgm@gnu.org>
23513 * window.el (pop-to-buffer): Doc fix.
23515 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23517 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23519 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23521 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23523 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23525 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23527 * button.el (button): Inherit from link face. Suggested by Dan
23530 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23532 * progmodes/gdb-mi.el: Fit in 80 columns.
23533 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23536 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23537 if imenu is simply not configured (bug#8941).
23539 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23541 * allout.el (allout-post-undo-hook): New allout outline-change
23542 event hook to signal undo activity.
23543 (allout-post-command-business): Run allout-post-undo-hook if an
23544 undo just occurred.
23545 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23546 * allout-widgets.el (allout-widgets-after-undo-function):
23547 Ensure the integrity of the current item's decoration after it has been
23548 in the vicinity of an undo.
23549 (allout-widgets-mode): Include allout-widgets-after-undo-function
23550 on the new allout-post-undo-hook.
23552 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23554 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23555 Let define-derived-mode define it.
23556 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23557 cycles of abbrev-table inheritance (bug#8998).
23559 2011-07-05 Roland Winkler <winkler@gnu.org>
23561 * textmodes/bibtex.el: Add support for biblatex.
23562 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23563 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23564 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23565 (bibtex-entry-alist, bibtex-field-alist): New variables.
23566 (bibtex-entry-field-alist): Obsolete alias for
23567 bibtex-BibTeX-entry-alist.
23568 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23569 (bibtex-set-dialect): New command.
23570 (bibtex-entry-type, bibtex-entry-head)
23571 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23572 Bind via bibtex-set-dialect.
23573 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23574 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23575 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23576 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23577 Define via bibtex-set-dialect.
23578 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23579 Obey bibtex-no-opt-remove-re.
23580 (bibtex-vec-push, bibtex-vec-incr): New functions.
23581 (bibtex-format-entry, bibtex-field-list)
23582 (bibtex-print-help-message, bibtex-validate)
23583 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23585 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23587 * progmodes/compile.el (compilation-goto-locus):
23588 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23589 * bs.el (bs-cycle-next, bs-cycle-previous):
23590 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23591 * bindings.el (mode-line-other-buffer):
23592 * autoinsert.el (auto-insert):
23593 * arc-mode.el (archive-extract):
23594 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23596 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23598 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23599 Fix check of `emacs-lock-unlockable-modes'.
23600 Coerce true values of `emacs-lock--try-unlocking' to t.
23602 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23604 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23605 * emacs-lock.el: New file.
23607 2011-07-05 Julien Danjou <julien@danjou.info>
23609 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23610 than `boundp' to check if face is set.
23612 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23614 * register.el (registerv-make):
23615 * window.el (window-min-height): Fix typos in docstrings.
23617 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23619 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23622 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23624 * server.el (server-execute): Catch quit and call
23625 `server-return-error' to pass the error back to emacsclient and
23626 close the connection (bug#8942).
23628 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23630 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23631 insecure exception for current topic. Also note that auto-saves
23632 are handled differently.
23634 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23635 State variables for tracking auto-save inhibition situation.
23637 (allout-write-contents-hook-handler): Rename from
23638 'allout-write-file-hook-handler', and describe how it depends on
23639 write-contents-functions sensitivity to non-nil value to prevent
23642 (allout-auto-save-hook-handler): Remove. auto-save does not check
23643 this in individual buffers, only in the starting buffer, so this
23644 is not the right way for us to inhibit auto-save in a buffer
23645 according to its condition.
23647 (allout-mode): Use new allout-write-contents-hook-handler, and
23648 only with write-contents-functions. Remove auto-save provisions -
23649 they're implemented elsewhere.
23651 (allout-before-change-handler): If undo is in progress, note that
23652 for attention of allout-post-command-business.
23654 (allout-post-command-business): If the command we're following was
23655 an undo, check for change in the status of encrypted items and
23656 adjust auto-save inhibitions accordingly.
23658 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23659 according to whether there are or aren't any plain-text topics
23660 pending encryption.
23662 (allout-inhibit-auto-save-info-for-decryption):
23663 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23664 if there are plain-text topics pending encryption.
23666 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23667 buffer-saved-size and some allout state to not inhibit auto-saves
23668 if there are no longer any plain-text topics pending encryption.
23670 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23671 No longer provide for exemption of the current topic.
23673 2011-07-04 Juri Linkov <juri@jurta.org>
23675 Add 7z operations to delete and save changed members (bug#8968).
23676 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23678 (archive-7z-write-file-member): New function.
23679 (archive-7z-summarize): Fix the number of dashes in the
23682 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23684 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23687 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23689 * bindings.el: Ignore next-buffer and previous-buffer in
23690 minibuffer-local-map.
23692 * font-lock.el (font-lock-builtin-face): Change light background
23693 color to dark slate blue (Bug#6693).
23695 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23697 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23699 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23701 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23702 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23703 Add switch-to-buffer.
23705 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23707 * isearch.el (isearch-search-fun-function): Clarify further the
23708 meaning of the function returned.
23710 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23712 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23714 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23715 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23717 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23718 `tramp-default-remote-path' does not exist.
23719 (tramp-send-command-and-read): New optional argument NOERROR.
23720 (tramp-open-connection-setup-interactive-shell)
23721 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23722 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23723 (tramp-process-sentinel): Flush also process' connection property.
23724 (tramp-sh-handle-start-file-process): Do not set process
23725 sentinel. It is done now ...
23726 (tramp-maybe-open-connection): ... here. (Bug#8929)
23728 2011-07-04 MON KEY <monkey@sandpframing.com>
23730 * play/animate.el (animate-string): Doc fixes and allow changing
23731 the buffer name (bug#5417).
23733 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23735 * play/animate.el (animation-buffer-name): Rename from *animate*.
23737 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23739 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23740 This is simpler and helps future-proof the code.
23741 (timer-until): Use time-subtract and float-time.
23742 (timer--time-less-p): Use time-less-p.
23744 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23746 * type-break.el (timep): Use the value of `float-time' to avoid a
23747 byte-compiler warning.
23749 * server.el (server-eval-and-print): Return any result, even nil.
23751 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23753 * type-break.el: Accept time formats that the builtins accept.
23754 (timep, type-break-time-difference): Accept any format that
23755 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23756 This is simpler and helps future-proof the code.
23757 (type-break-time-difference): Round rather than ignoring
23758 subseconds components.
23760 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23762 * info.el (Info-apropos-matches): Make non-interactive, since it
23763 doesn't seem to do anything useful as a command (bug#8829).
23765 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23767 * frame.el (frame-background-mode, frame-set-background-mode):
23768 Move from faces.el.
23769 (frame-default-terminal-background): New function.
23771 * custom.el (custom-push-theme): Don't record faces in `changed'
23772 theme; this doesn't work correctly for per-frame face settings.
23773 (disable-theme): Use face-set-after-frame-default to reset faces.
23774 (custom--frame-color-default): New function.
23776 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23778 * dired.el (dired-flagging-regexp): Remove unused variable
23781 2011-03-29 Kevin Ryde <user42@zip.com.au>
23783 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23784 `perl-Test2' extend to match possible "fail #N" rep count
23787 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23789 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23790 `smtpmail-via-smtp' now returns the error instead of nil.
23792 * isearch.el (isearch-search-fun-function): Clarify the doc string
23795 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23797 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23798 unnecessary spaces (bug#8987).
23800 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23802 * net/network-stream.el (open-network-stream): Use the
23803 :end-of-capability command thoughout.
23805 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23807 * net/network-stream.el (open-network-stream): Add the
23808 :end-of-capability command parameter, used by pop3.el.
23810 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23812 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23814 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23815 for list)" (bug#6475).
23817 * files.el (file-expand-wildcards): Ignore non-readable
23818 sub-directories while trying to find matches instead of signaling
23819 an error (bug#6297).
23821 * man.el (Man-reference-regexp): Allow matching possible
23822 word-wrapped references (bug#6289).
23824 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23825 for consistency with the other vc buffers (bug#6197).
23826 (vc-checkin): Ditto.
23828 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23830 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23832 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23834 * custom.el (defcustom): Clarify that :set is only used in the
23835 Customize user interface (bug#6089).
23837 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23838 associated with a file, refuse to run instead of erroring out
23841 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23842 the doc string, since it appears that using `fill-column' always
23843 controls the width (bug#7845).
23845 * simple.el (shell-command-on-region): Say where the error output
23846 went if `shell-command-default-error-buffer' is set (bug#6857).
23848 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23850 * allout.el (allout-yank-processing): Adjust cursor position for
23851 backwards-deleted space.
23853 (allout-rebullet-heading): Register changes with
23854 allout-exposure-changed-hook, so the modified topic is properly
23857 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23859 * minibuffer.el (completion-in-region): Document PREDICATE
23862 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23863 of keyword/argument pairs (bug#6904).
23865 * replace.el (multi-occur):
23866 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23868 2011-07-02 Drew Adams <drew.adams@oracle.com>
23870 * dired.el (dired-mark-if): Make the message about whether it's
23871 marking or unmarking clearer (bug#8523).
23873 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23875 * disp-table.el (display-table-print-array): New function.
23876 (describe-display-table): Use it to print the vectors more pretty
23879 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23881 * window.el (window-state-get-1): Don't assign clone numbers.
23882 Add clone-of item to list of window parameters.
23883 (window-state-put-2): Don't process clone numbers.
23884 (display-buffer-alist): Fix doc-string.
23886 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23888 * subr.el (remq): Don't allocate if it's not needed.
23889 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23890 (keymap--merge-bindings): New functions.
23891 (keymap-canonicalize): Use them to refine the canonicalization.
23892 * minibuffer.el (minibuffer-local-completion-map)
23893 (minibuffer-local-must-match-map): Move initialization from C.
23894 (minibuffer-local-filename-completion-map): Move initialization from C;
23895 don't inherit from anything here.
23896 (minibuffer-local-filename-must-match-map): Make obsolete.
23897 (completing-read-default): Use make-composed-keymap to combine
23898 minibuffer-local-filename-completion-map with either
23899 minibuffer-local-must-match-map or
23900 minibuffer-local-filename-completion-map.
23902 2011-07-01 Glenn Morris <rgm@gnu.org>
23904 * type-break.el (type-break-time-sum): Use dolist.
23906 * textmodes/flyspell.el (flyspell-word-search-backward):
23907 Replace CL function.
23909 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23911 * mouse.el (mouse--strip-first-event): New function.
23912 (function-key-map): Use it to map fringe clicks to normal clicks
23915 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23916 (vc-bzr-revision-completion-table): Add support for annotate and date.
23918 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23919 inherit from parent.
23921 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23923 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23924 (dired-show-file-type): Doc fixup (bug#8818).
23926 * dired.el (dired-mode): Fix up the doc string as suggested by
23927 Drew Adams (bug#8817).
23929 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23930 cookie, since the manual says that it should be possible to add
23931 this function to `find-file-hook' (bug#8709).
23933 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23935 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23936 here. Noted Ted Zlatanov as the maintainer.
23937 (cfengine-common-settings, cfengine-common-syntax): New functions
23938 to set up common things between `cfengine-mode' and
23940 (cfengine3-mode): New mode.
23941 (cfengine3-defuns cfengine3-defuns-regex
23942 (cfengine3-class-selector-regex cfengine3-category-regex)
23943 (cfengine3-vartypes cfengine3-font-lock-keywords)
23944 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23945 (cfengine3-indent-line): Add from cfengine3.el.
23947 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23949 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23951 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23953 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23955 * window.el (same-window-buffer-names, same-window-regexps)
23956 (same-window-p, special-display-frame-alist)
23957 (special-display-popup-frame, special-display-function)
23958 (special-display-buffer-names, special-display-regexps)
23959 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23960 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23961 (split-window-preferred-function, split-height-threshold)
23962 (split-width-threshold, even-window-heights)
23963 (display-buffer-mark-dedicated, window-splittable-p)
23964 (split-window-sensibly, window-safely-shrinkable-p):
23966 (display-buffer): Don't spread args with function specifier
23967 because special-display-popup-frame won't like it.
23969 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23971 Time-stamp simplifications and fixes.
23972 These improve accuracy slightly, and future-proof the code
23973 against some potential changes to current-time format.
23975 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23976 by using time-since and float-time.
23978 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23979 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23980 + NNN microseconds".
23982 * type-break.el (type-break-time-sum): Rewrite using time-add.
23984 * play/hanoi.el (hanoi-current-time-float): Remove.
23985 All uses replaced by float-time.
23987 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23988 This yields a more-accurate answer.
23989 (rng-time-to-float): Remove; no longer needed.
23991 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23993 * calendar/timeclock.el (timeclock-seconds-to-time):
23994 Defalias to seconds-to-time, since they're the same thing.
23996 * emacs-lisp/elp.el (elp-elapsed-time):
23997 * emacs-lisp/benchmark.el (benchmark-elapse):
23998 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
24000 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24002 * window.el (bury-buffer): Don't iconify the only frame.
24003 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
24004 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
24006 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
24008 * eshell/em-smart.el (eshell-smart-display-navigate-list):
24009 Add mouse-yank-primary.
24011 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24013 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
24015 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24017 * emacs-lisp/find-func.el (find-library--load-name): New fun.
24018 (find-library-name): Use it to find relative load names when provided
24019 absolute file name (bug#8803).
24021 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24023 * textmodes/flyspell.el (flyspell-word): Consider words that
24024 differ only in case as potential doublons (bug#5687).
24026 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
24027 Remove two rather uninteresting debugging-like messages to make
24028 debbugs.el more silent.
24030 * comint.el (comint-password-prompt-regexp): Accept "Response" as
24031 a password-like phrase.
24033 2011-06-30 Masatake YAMATO <yamato@redhat.com>
24035 * progmodes/cc-guess.el: New file.
24037 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
24039 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
24040 derived from `c-basic-common-init'.
24042 * progmodes/cc-mode.el (top-level): Require cc-guess.
24043 (c-basic-common-init): Use `cc-choose-style-for-mode'.
24045 2011-06-30 Lawrence Mitchell <wence@gmx.li>
24047 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
24049 2011-06-30 Alan Mackenzie <acm@muc.de>
24051 * progmodes/cc-engine.el (c-guess-continued-construct):
24052 Correct the handling of template-args-cont, particularly for when font
24053 lock is disabled. Name this case as "CASE G".
24055 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
24057 * allout.el (allout-yank-processing): Fix injection of extra space
24058 between bullet and non-whitespace character in first topic when
24059 pasting, ensuring that the actual spacing in the pasted topic
24060 following the bullet char is preserved. This extra space was
24061 causing pasted encrypted topics to get a decrypted status even
24062 when the content was actually still encrypted. Now the decryption
24063 status from before the paste is preserved.
24065 (allout-flag-region): Set all allout overlays so they evaporate
24066 when reduced to zero length (evanescent), to prevent overlay
24069 2011-06-30 Glenn Morris <rgm@gnu.org>
24071 * w32-fns.el (w32-charset-info-alist): Declare.
24073 * find-dired.el (find-grep-options): Simplify.
24075 * term/ns-win.el (ns-set-resource): Declare.
24077 * ses.el (row, col): Declare dynamic variables honestly.
24079 * textmodes/reftex-parse.el (index-tags): Declare.
24081 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
24083 * cus-edit.el (customize-push-and-save): New function.
24085 * files.el (hack-local-variables-confirm): Use it.
24087 * custom.el (load-theme): New arg NO-CONFIRM.
24088 Use customize-push-and-save (Bug#8720).
24089 (custom-enabled-themes): Doc fix.
24091 * cus-theme.el (customize-create-theme)
24092 (custom-theme-merge-theme): Callers to load-theme changed.
24094 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24096 * thingatpt.el (thing-at-point-short-url-regexp): Require that
24097 short URLs have at least one dot in them (bug #7614).
24099 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
24100 nil, because using a pty is apparently too slow (bug #895).
24102 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24104 * mail/sendmail.el (sendmail-query-once): New function.
24105 (sendmail-query-once-function): New variable.
24107 2011-06-29 Glenn Morris <rgm@gnu.org>
24109 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24111 * ses.el (top-level): Require cl when compiling.
24112 (ses-set-localvars): Fix error statement.
24113 Call it at compile time to silence a storm of warnings.
24115 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24117 * window.el (normalize-live-buffer): Rename to
24118 window-normalize-buffer.
24119 (normalize-live-frame): Rename to window-normalize-frame.
24120 (normalize-any-window): Rename to window-normalize-any-window.
24121 (normalize-live-window): Rename to window-normalize-live-window.
24122 (make-window-atom): Rename to window-make-atom.
24123 (window-resize-reset): Rename to window--resize-reset.
24124 (window-resize-reset-1): Rename to window--resize-reset-1.
24125 (resize-mini-window): Rename to window--resize-mini-window.
24126 (resize-subwindows-skip-p): Rename to
24127 window--resize-subwindows-skip-p.
24128 (resize-subwindows-normal): Rename to
24129 window--resize-subwindows-normal.
24130 (resize-subwindows): Rename to window--resize-subwindows.
24131 (resize-other-windows): Rename to window--resize-siblings.
24132 (resize-this-window): Rename to window--resize-this-window.
24133 (resize-root-window): Rename to window--resize-root-window.
24134 (resize-root-window-vertically): Rename to
24135 window--resize-root-window-vertically.
24136 (normalize-buffer-to-display): Rename to
24137 window-normalize-buffer-to-display.
24138 (normalize-buffer-to-switch-to): Rename to
24139 window-normalize-buffer-to-switch-to.
24140 Correspondingly update all callers of the functions listed
24142 (display-buffer-alist, display-buffer-normalize-arguments)
24143 (display-buffer-normalize-options, display-buffer)
24144 (display-buffer-alist-set): Use "function" instead of
24147 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24149 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24150 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24151 debbugs.gnu.org. Mention acknowledgment email.
24153 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24155 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24156 buffer multibyteness, since it shouldn't matter.
24158 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24160 * window.el (display-buffer-in-side-window): Handle dedicated
24161 windows as in display-buffer-reuse-window.
24162 (display-buffer-normalize-alist): Use value of override
24164 (display-buffer-normalize-specifiers): Use value of
24165 other-window-means-other-frame specifier.
24166 (display-buffer-alist): Rewrite some texts in widgets.
24167 (display-buffer): Spread arguments when calling function
24168 specified by fun-with-args.
24170 2011-06-28 Deniz Dogan <deniz@dogan.se>
24172 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24175 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24176 selectors (Bug#5732).
24177 (css-proprietary-nmstart-re): Use `regexp-opt'.
24179 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24181 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24182 (eshell-ls-date-format): New defcustom.
24183 (eshell-ls-file): Use it.
24185 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24187 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24189 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24191 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24192 (ange-ftp-make-tmp-name): New arg.
24193 (ange-ftp-file-local-copy): Use it.
24195 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24197 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24198 no-conversion (Bug#8870).
24200 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24202 * window.el (window-right, window-left, window-child)
24203 (window-child-count, window-last-child)
24204 (window-iso-combination-p, walk-window-tree-1)
24205 (window-atom-check-1, window-tree-1, delete-window)
24206 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24207 new naming conventions - window-vchild, window-hchild,
24208 window-next and window-prev are now called window-top-child,
24209 window-left-child, window-next-sibling and window-prev-sibling
24211 (resize-window-reset): Rename to window-resize-reset.
24212 (resize-window-reset-1): Rename to window-resize-reset-1.
24213 (resize-window): Rename to window-resize.
24214 (window-min-height, window-min-width)
24215 (resize-mini-window, resize-this-window, resize-root-window)
24216 (resize-root-window-vertically, adjust-window-trailing-edge)
24217 (enlarge-window, shrink-window, maximize-window)
24218 (minimize-window, delete-window, quit-restore-window)
24219 (split-window, balance-windows, balance-windows-area-adjust)
24220 (balance-windows-area, window-state-put-2)
24221 (display-buffer-even-window-sizes, display-buffer-set-height)
24222 (display-buffer-set-width, set-window-text-height)
24223 (fit-window-to-buffer): Rename all "resize-window" prefixed
24224 calls to use the "window-resize" prefix convention.
24225 (display-buffer-alist): Fix symbol for label specifier.
24226 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24227 corresponding specifier.
24228 Reported by Juanma Barranquero <lekktu@gmail.com>.
24230 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24232 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24234 (ses-call-printer): Does not pass an empty string to formatter when the
24235 cell is empty to keep from barking printer Calc math-format-value.
24237 2011-06-27 Richard Stallman <rms@gnu.org>
24239 * battery.el (battery-mode-line-limit): New variable.
24240 (battery-update): Handle it.
24242 * mail/rmailmm.el (rmail-mime-process-multipart):
24243 Handle truncated messages.
24245 2011-06-27 Glenn Morris <rgm@gnu.org>
24247 * progmodes/flymake.el (flymake-err-line-patterns):
24248 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24250 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24252 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24253 (ses--clean-!, ses--clean-_): New functions.
24254 (ses-range): Add configurability of readout order, and conversion
24257 * ses.el (ses-repair-cell-reference-all): New function.
24258 (ses-cell-symbol): Set macro as safe, so that it can be used in
24261 * ses.el: Update cycle detection algorithm.
24262 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24263 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24264 (ses-set-localvars): New function.
24265 (ses-make-cell): Add property-list as a cell element.
24266 (ses-cell-property-get-fun, ses-cell-property-get)
24267 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24268 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24270 (ses-cell-property-set, ses-cell-property-pop)
24271 (ses-cell-property-get-handle): New macro.
24272 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24273 New aliases, used for code readability.
24274 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24276 (ses-self-reference-early-detection): New defcustom.
24277 (ses-formula-references): Robustify against self-referring cells.
24278 (ses-mode): Use ses-set-localvars.
24279 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24280 before lauching the update processing.
24281 (ses-initialize-Dijkstra-attempt): New function.
24282 (ses-recalculate-cell): Update for cycle detection based on
24283 Dijkstra algorithm.
24285 * ses.el: Fix commenting and indenting convention.
24287 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24289 * bs.el (bs-cycle-next): Complete last change.
24291 2011-06-27 Drew Adams <drew.adams@oracle.com>
24293 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24295 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24297 * net/network-stream.el (network-stream-open-starttls):
24298 Don't re-get capabilities unless we've reestablished connection.
24299 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24301 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24302 to binary to possibly avoid line encoding issues on Windows (among
24305 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24307 * net/network-stream.el (open-network-stream): Return an :error
24308 saying what the problem was, if possible.
24310 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24313 * net/network-stream.el (network-stream-open-starttls): If we
24314 wanted to use STARTTLS, and the server offered it, but we weren't
24315 able to because we had no STARTTLS support, then close the connection.
24316 (open-network-stream): Return an :error element, if present.
24318 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24320 * hl-line.el (hl-line-sticky-flag): Doc fix.
24321 (global-hl-line-sticky-flag): New option (Bug#8323).
24322 (global-hl-line-highlight): Obey it.
24324 * vc/vc.el (vc-revert-show-diff): Default to t.
24326 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24328 * allout-widgets.el (allout-widgets-post-command-business):
24329 Stop decorating intermediate isearch matches. They're not being
24330 undecorated when an isearch is continued past, and isearch
24331 automatically collapses them. This leads to "widget leaks", where
24332 decorated items accumulate in collapsed areas. Lines with lots of
24333 hidden widgets can slow down cursor travel, substantially.
24334 Too much complicated machinery would be needed to ensure undecoration,
24335 so we're doing without this nicety.
24337 (allout-widgets-tally-string): Don't try to do a hash-table-count
24338 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24339 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24340 *Messages* when allout-widgets-maintain-tally is t.
24342 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24344 * window.el (display-buffer-normalize-argument): Rename to
24345 display-buffer-normalize-arguments. Handle special meaning of
24346 LABEL argument. Respect special-display-function when popping up
24347 a new frame. Fix code searching for a window showing the buffer
24349 (display-buffer-normalize-specifiers):
24350 Call display-buffer-normalize-arguments.
24351 (display-buffer-in-window): Don't undedicate the window if its
24352 buffer remains the same.
24353 Reported by Drew Adams <drew.adams@oracle.com>.
24354 (display-buffer-alist): Add choice for same-window macro
24356 (display-buffer): Mention special meaning of LABEL argument in
24357 doc-string. Fix quoting. Don't pop up a new frame even as
24360 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24362 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24363 avoid deleting the current window in some cases (bug#8911).
24365 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24367 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24370 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24372 * net/network-stream.el (network-stream-open-starttls):
24373 Use built-in TLS support if `gnutls-available-p' is true.
24374 (network-stream-open-tls): Ditto.
24376 2011-06-26 Leo Liu <sdl.web@gmail.com>
24378 * register.el (registerv): New struct.
24379 (registerv-make): New function.
24380 (jump-to-register, describe-register-1, insert-register):
24381 Support the jump-func, print-func and insert-func slot of a registerv
24384 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24386 * vc/vc.el (vc-revert-show-diff): New defcustom.
24387 (vc-diff-internal): New arg specifying diff buffer.
24388 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24389 reuse an existing *vc-diff* buffer (Bug#8927).
24391 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24393 2011-06-26 Glenn Morris <rgm@gnu.org>
24395 * progmodes/f90.el (f90-critical-indent): New option.
24396 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24397 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24398 (f90-mode): Doc fix.
24399 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24400 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24401 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24402 (f90-match-end): Handle block, critical.
24404 2011-06-25 Glenn Morris <rgm@gnu.org>
24406 * calendar/diary-lib.el (diary-included-files): Doc fix.
24407 (diary-include-files): New function, extracted from
24408 diary-include-other-diary-files and diary-mark-included-diary-files.
24409 (diary-include-other-diary-files, diary-mark-included-diary-files):
24410 Just call diary-include-files.
24411 (diary-mark-entries): Reset diary-included-files on first call.
24413 * calendar/diary-lib.el (diary-mark-entries)
24414 (diary-mark-included-diary-files):
24415 Visit included diary-files in temp buffers.
24417 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24418 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24419 (f90-start-block-re, f90-imenu-generic-expression)
24420 (f90-looking-at-program-block-start, f90-no-block-limit):
24421 Add support for submodules.
24423 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24424 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24426 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24428 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24429 buffer-file-type before setting its value, to avoid disastrous
24430 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24432 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24434 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24436 * ses.el (ses-unload-function):
24437 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24439 * proced.el (proced-unload-function):
24440 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24442 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24444 * server.el (server-create-window-system-frame): Add parameters arg.
24445 (server-process-filter): Doc fix. Handle frame-parameters.
24447 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24449 Fix bug#8730, bug#8781.
24451 * loadhist.el (unload--set-major-mode): New function.
24452 (unload-feature): Use it.
24454 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24455 (python-unload-function): New function.
24457 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24459 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24461 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24463 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24464 the candidates list.
24466 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24468 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24470 2011-06-23 Richard Stallman <rms@gnu.org>
24472 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24473 (rmail-variables): Set next-error-move-function.
24474 (rmail-what-message): Take argument POS.
24475 (rmail-next-error-move): New function.
24477 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24479 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24480 messages for adjacent non-terminals.
24482 2011-06-23 Richard Stallman <rms@gnu.org>
24484 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24485 (rmail-show-message-1): Preserve buffer modified flag.
24486 (rmail-start-mail): Don't specify use of rmail-mail-return;
24487 that's done by mail-bury now.
24488 (rmail-mail-return): Handle arg NEWBUF.
24490 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24492 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24495 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24497 * window.el (get-lru-window, get-mru-window)
24498 (get-largest-window): Never return a minibuffer window.
24499 (display-buffer-pop-up-window): Fix a bug that could lead to
24500 reusing the minibuffer window.
24501 (display-buffer): Pass original specifier argument to
24502 display-buffer-function instead of the normalized one.
24503 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24505 2011-06-22 Leo Liu <sdl.web@gmail.com>
24507 * minibuffer.el (completing-read-function)
24508 (completing-read-default): Move from minibuf.c.
24510 2011-06-22 Richard Stallman <rms@gnu.org>
24512 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24513 to Rmail even if not started by a special Rmail command.
24515 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24516 Copy the buffer currently showing just one message.
24518 2011-06-22 Roland Winkler <winkler@gnu.org>
24520 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24521 (bibtex-clean-entry): First delete the old key so that a
24522 customized algorithm for generating the new key does not get
24523 confused by the old key.
24524 (bibtex-url): Obey regexp of first step.
24525 (bibtex-search-entries): Do not use add-to-list with local
24528 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24530 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24531 stored a user name, then query for the password first, instead of
24532 waiting for SMTP to give an error message and the trying again.
24534 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24536 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24537 BUFFER in call-process.
24539 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24541 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24543 (smtpmail-try-auth-methods): Require user name and password from
24546 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24548 * window.el (display-buffer-default-specifiers)
24549 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24550 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24551 (split-window): Normalize SIDE argument (Bug#8916).
24553 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24554 (special-display-frame-alist, special-display-popup-frame):
24555 Remove duplicate declarations. These are now in window.el.
24557 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24559 * mail/smtpmail.el (smtpmail-via-smtp):
24560 Set :use-starttls-if-possible so that we always use STARTTLS if the
24561 server supports it. SMTP servers that support STARTTLS commonly
24564 * net/network-stream.el (network-stream-open-starttls): Support
24565 upgrading to STARTTLS always, even if we don't have built-in support.
24566 (open-network-stream): Add the :always-query-capabilities keyword.
24568 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24569 upgrades with `open-network-stream', and rely solely on
24570 auth-source for all credentials. Big changes throughout the file,
24572 (smtpmail-auth-credentials): Remove.
24573 (smtpmail-starttls-credentials): Remove.
24574 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24577 * net/network-stream.el (network-stream-open-starttls):
24578 Provide support for client certificates both for external and built-in
24580 (auth-source): Require.
24581 (open-network-stream): Document the :client-certificate keyword.
24582 (network-stream-certificate): Change cert-cert to cert and
24585 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24587 * net/tramp-cache.el (top): Don't load the persistency file when
24588 "emacs -Q" has been called.
24590 2011-06-21 Tim Harper <timcharper@gmail.com>
24592 * term/ns-win.el (ns-initialize-window-system):
24593 Set application-specific `ApplePressAndHoldEnabled' system
24594 resource to NO as it is not yet supported by the NS port.
24596 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24598 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24599 (list-dynamic-libraries): ...not here.
24601 2011-06-21 Leo Liu <sdl.web@gmail.com>
24603 * subr.el (sha1): Implement sha1 using secure-hash.
24605 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24607 * window.el (display-buffer-alist): In default value do not
24608 enforce searching a window on any but the selected frame.
24609 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24610 (display-buffer-select-window): Remove function.
24611 (display-buffer-in-window): When a window on another frame gets
24612 reused, do not select it any more but just raise its frame if
24613 necessary (Bug#8851) and (Bug#8856).
24614 (display-buffer-normalize-options): Handle pop-up-frames related
24615 options more faithfully.
24616 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24617 window if it is on another frame.
24618 (display-buffer-alist, display-buffer-default-specifiers):
24619 Don't make new frame unsplittable by default.
24620 (display-buffer-normalize-argument): Fix doc-string typo and use
24621 'same-frame-other-window instead of 'other-window when associating
24622 with display-buffer-macro-specifiers.
24624 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24626 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24628 (5x5-mode-map, 5x5-mode-menu): Bind them.
24629 (5x5-draw-grid): Tweak the solver's rendering.
24631 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24633 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24634 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24636 2011-06-21 Drew Adams <drew.adams@oracle.com>
24638 * menu-bar.el: Use function variable instead of switch-to-buffer.
24639 (menu-bar-select-buffer-function): New variable.
24640 (menu-bar-update-buffers): Use it (bug#8876).
24642 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24644 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24647 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24649 * x-dnd.el (x-dnd-version-from-flags)
24650 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24651 and long as number (Bug#8899).
24652 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24654 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24656 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24657 (completion-try-completion, completion-all-completions): Compute the
24658 metadata argument if it's missing; make it optional (bug#8795).
24660 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24661 (widget-complete): Use new :completion-function property.
24662 (widget-completions-at-point): New function.
24663 (default): Use :completion-function instead of :complete.
24664 (widget-default-completions): Rename from widget-default-complete;
24666 (widget-string-complete, widget-file-complete, widget-color-complete):
24668 (file, symbol, function, variable, coding-system, color):
24669 * international/mule-cmds.el (default-input-method, charset)
24670 (language-info-custom-alist):
24671 * cus-edit.el (face): Use new property :completions.
24673 * progmodes/pascal.el (pascal-completions-at-point): New function.
24674 (pascal-mode): Use it.
24675 (pascal-mode-map): Use completion-at-point.
24676 (pascal-toggle-completions): Make obsolete.
24677 (pascal-complete-word, pascal-show-completions):
24678 * progmodes/octave-mod.el (octave-complete-symbol):
24679 Redefine as obsolete alias.
24680 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24681 Signal absence of completion info for old Octave,
24682 (inferior-octave-complete): Redefine as obsolete alias.
24683 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24684 (meta-completions-at-point): Rename from meta-complete-symbol and
24685 adapt it for use on completion-at-point-functions.
24686 (meta-common-mode): Use it.
24687 (meta-looking-at-backward, meta-match-buffer): Remove.
24688 (meta-complete-symbol): Redefine as obsolete alias.
24689 (meta-common-mode-map): Use completion-at-point.
24690 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24691 (makefile-mode-map): Use completion-at-point.
24692 (makefile-completions-at-point): Rename from makefile-complete and
24693 adapt it for use on completion-at-point-functions.
24694 (makefile-mode): Use it.
24695 (makefile-complete): Redefine as obsolete alias.
24697 2011-06-20 Deniz Dogan <deniz@dogan.se>
24699 * net/rcirc.el: Delete trailing whitespaces once and for all.
24701 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24703 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24705 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24707 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24709 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24711 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24713 * window.el (display-buffer-other-window-means-other-frame):
24714 Call display-buffer-normalize-alist.
24715 (display-buffer-normalize-specifiers-1): Rename to
24716 display-buffer-normalize-argument. New argument other-frame.
24718 (display-buffer-normalize-specifiers-2): Rename to
24719 display-buffer-normalize-options.
24720 (display-buffer-normalize-alist-1): New function.
24721 (display-buffer-normalize-specifiers-3): Rename to
24722 display-buffer-normalize-alist.
24723 Call display-buffer-normalize-alist-1.
24724 (display-buffer-normalize-options-inhibit): New variable.
24725 (display-buffer-normalize-specifiers): Rewrite calling
24726 display-buffer-normalize-alist,
24727 display-buffer-normalize-argument, and
24728 display-buffer-normalize-options. Don't call the latter if
24729 display-buffer-normalize-options-inhibit is non-nil.
24730 (frame-auto-delete): New option.
24731 (window-deletable-p): Use frame-auto-delete.
24732 (window-list-no-nils, window-state-ignored-parameters)
24733 (window-state-get-1, window-state-get, window-state-put-list)
24734 (window-state-put-1, window-state-put-2, window-state-put):
24736 (display-buffer-normalize-options): Move special-display-p group
24737 after pop-up-frame group (Bug#8851) and (Bug#8856).
24739 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24741 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24743 (rx-submatch-n): New function.
24746 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24749 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24751 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24753 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24754 anytime existing face settings are present (Bug#8889).
24756 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24757 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24758 Remove unused argument.
24760 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24762 * window.el (display-buffer-default-specifiers):
24763 Remove pop-up-frame. Add pop-up-window-min-height,
24764 pop-up-window-min-width, and another reuse-window specifier
24765 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24766 (display-buffer-normalize-specifiers-2):
24767 Handle split-height-threshold and split-width-threshold also when
24768 pop-up-windows is unset. Add a reuse-window specifier for the
24769 case popping up a new window fails.
24770 (special-display-popup-frame): Remove double quoting.
24771 (display-buffer-normalize-specifiers-1): Fix thinko.
24773 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24775 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24776 according to comint-completion-addsuffix.
24778 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24779 (pcomplete-suffix-list): Mark as obsolete.
24780 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24781 pcomplete-seen in the closure.
24782 (pcomplete-comint-setup): Setup completion-at-point as well.
24783 (pcomplete--entries): New function.
24784 (pcomplete--env-regexp): New var.
24785 (pcomplete-entries): Rewrite to work with partial-completion and
24786 without relying on pcomplete-suffix-list.
24787 (pcomplete-pare-list): Remove, unused.
24789 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24791 * window.el (display-buffer-alist): Set pop-up-window-min-height
24792 and pop-up-window-min-width in default value. Reported by
24793 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24794 other-window-means-other-frame.
24795 (display-buffer-macro-specifiers): Comment out entry for
24796 other-window specifier.
24797 (display-buffer-other-window-means-other-frame): New function.
24798 (display-buffer-normalize-specifiers-1): New arguments
24799 buffer-name and label. Treat other-window case specially.
24800 (display-buffer-normalize-specifiers-2): Treat other-window case
24802 (display-buffer-normalize-specifiers-3): New function.
24803 (display-buffer-normalize-specifiers):
24804 Call display-buffer-normalize-specifiers-3.
24806 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24808 * window.el (same-window-p): Fix two typos introduced when
24809 adding with-no-warnings.
24810 (display-buffer-normalize-specifiers-1): Don't check
24811 pop-up-frames for 'unset initialization.
24812 (display-buffer-normalize-specifiers-2): Major rewrite using
24813 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24814 (pop-up-frames, display-buffer-reuse-frames)
24815 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24816 Suggested by David Engster <deng@randomsample.de>.
24817 (even-window-heights): Initialize to 'unset.
24818 (display-buffer-alist-set): Handle new 'unset initializations.
24819 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24822 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24824 * window.el (display-buffer-normalize-specifiers-1):
24825 Respect current value of pop-up-frames for most reasonable values of
24826 second argument of display-buffer (Bug#8865).
24827 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24828 (switch-to-buffer-other-window-same-frame)
24829 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24831 (display-buffer): Don't check noninteractive when calling
24832 display-buffer-pop-up-frame.
24833 (display-buffer-pop-up-frame): Never pop up a frame in
24834 noninteractive mode (Bug#8857).
24835 (enlarge-window, shrink-window): Don't report an error when the
24836 window can't be resized as requested (Bug#8862).
24838 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24840 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24842 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24844 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24846 2011-06-15 Alan Mackenzie <acm@muc.de>
24848 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24849 for declarators, disable knr checking to speed up for normal files.
24850 2: Refactor, replacing a sequence of nested if forms by a cond form.
24852 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24854 * net/network-stream.el (open-network-stream): Add the keyword
24855 :always-query-capabilities for the case where you want to force a
24856 `plain' network connection, but the protocol still requires the
24857 capabilitiy command (i.e., SMTP and EHLO).
24859 * subr.el (process-live-p): Rename from `process-alive-p' for
24860 consistency with other `-live-p' functions.
24862 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24864 * window.el (same-window-buffer-names, same-window-regexps)
24865 (special-display-frame-alist, special-display-popup-frame)
24866 (special-display-function, special-display-buffer-names)
24867 (special-display-regexps, pop-up-frame-alist)
24868 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24869 (pop-up-windows, split-window-preferred-function)
24870 (split-height-threshold, split-width-threshold, even-window-heights)
24871 (display-buffer-mark-dedicated): Don't encourage the use of
24872 display-buffer-alist from Elisp code.
24874 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24876 * progmodes/python.el (python-mode): Derive from prog-mode.
24877 * progmodes/ps-mode.el (ps-mode):
24878 * progmodes/mixal-mode.el (mixal-mode):
24879 * progmodes/cfengine.el (cfengine-mode):
24880 * progmodes/ld-script.el (ld-script-mode): Likewise.
24882 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24884 * window.el (display-buffer-alist): Trim default value to avoid
24885 popping up a new frame (Bug#8857) or reusing an arbitrary window
24887 (display-buffer): Do not fall back on popping up a new frame in
24888 batch mode (Bug#8857).
24890 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24892 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24893 (custom-theme-summary): New function.
24894 (customize-themes): Use it.
24896 2011-06-13 Glenn Morris <rgm@gnu.org>
24898 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24900 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24902 * help.el (help-window): Remove variable.
24903 (help-window-point-marker, temp-buffer-max-height)
24904 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24905 (help-print-return-message): Don't set help-window.
24906 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24907 (help-window-setup-finish): Remove.
24908 (help-window-display-message, help-window-setup)
24909 (with-help-window): Major rewrite based on new
24910 display-buffer-window variable.
24912 * help-mode.el (help-mode-finish): Remove help-window related
24915 * view.el (view-exits-all-viewing-windows): Remove reference to
24916 view-return-to-alist in doc-string.
24917 (view-return-to-alist): Make obsolete.
24918 (view-buffer): Call pop-to-buffer-same-window and remove
24920 (view-buffer-other-window): Call pop-to-buffer-other-window and
24921 simplify code. Ignore second argument.
24922 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24923 simplify code. Ignore second argument.
24924 (view-return-to-alist-update): Make obsolete.
24925 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24926 Rewrite using quit-restore window parameters.
24927 (view-mode-exit): Rename second argument to EXIT-ONLY.
24928 Rewrite using quit-restore-window.
24929 (View-exit, View-exit-and-edit, View-leave, View-quit)
24930 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24931 appropriate arguments.
24932 (view-end-message): Use quit-restore window parameter.
24934 * window.el (display-buffer-function): Rewrite doc-string.
24935 (display-buffer-window, display-buffer-alist): New variables.
24936 (display-buffer-split-specifiers)
24937 (display-buffer-side-specifiers)
24938 (display-buffer-macro-specifiers): New constants.
24939 (display-buffer-even-window-sizes, display-buffer-set-height)
24940 (display-buffer-set-width, display-buffer-select-window)
24941 (display-buffer-in-window, display-buffer-reuse-window)
24942 (display-buffer-split-window-1, display-buffer-split-window)
24943 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24944 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24945 (display-buffer-in-side-window, normalize-buffer-to-display)
24946 (display-buffer-normalize-specifiers-1)
24947 (display-buffer-normalize-specifiers-2)
24948 (display-buffer-normalize-specifiers, display-buffer-frame):
24950 (display-buffer): Major rewrite.
24951 (display-buffer-other-window, display-buffer-other-frame)
24952 (pop-to-buffer, switch-to-buffer-other-window)
24953 (switch-to-buffer-other-frame): Rewrite.
24954 (display-buffer-same-window, display-buffer-same-frame)
24955 (display-buffer-same-frame-other-window)
24956 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24957 (pop-to-buffer-other-window)
24958 (pop-to-buffer-same-frame-other-window)
24959 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24960 (switch-to-buffer-other-window-same-frame): New functions.
24961 (same-window-p, special-display-p): Rewrite disabling warnings.
24963 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24964 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24966 (same-window-buffer-names, same-window-regexps)
24967 (special-display-frame-alist, special-display-popup-frame)
24968 (special-display-function, special-display-buffer-names)
24969 (special-display-regexps, pop-up-frame-alist)
24970 (pop-up-frame-function, split-window-preferred-function)
24971 (split-height-threshold, split-width-threshold)
24972 (even-window-heights): Make obsolete.
24974 2011-06-12 Glenn Morris <rgm@gnu.org>
24976 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24977 Misc simplifications.
24979 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24981 * window.el (window-safely-shrinkable-p): Restore function which
24982 was inadvertently removed in change from 2011-06-11. Declare as
24985 * calendar/calendar.el (calendar-generate-window):
24986 Use window-iso-combined-p instead of combination of one-window-p and
24987 window-safely-shrinkable-p.
24989 2011-06-12 Glenn Morris <rgm@gnu.org>
24991 * progmodes/fortran.el (fortran-mode-syntax-table):
24992 * progmodes/f90.el (f90-mode-syntax-table):
24993 Set % to punctuation. (Bug#8820)
24994 (f90-find-tag-default): Remove, no longer needed.
24996 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24998 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
25000 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
25002 * image.el (image-animated-p): Return animation delay in seconds.
25003 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
25004 (image-animate-timeout): Remove DELAY argument. Don't assume
25005 every subimage has the same delay; get it from image-animated-p.
25006 (image-animate): Caller changed.
25008 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
25010 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
25011 to ignored backtrace functions.
25013 2011-06-11 Glenn Morris <rgm@gnu.org>
25015 * calendar/appt.el (appt-disp-window-function): Doc fix.
25016 (appt-check): Handle overlapping appointments. (Bug#8337)
25018 2011-06-11 Martin Rudalics <rudalics@gmx.at>
25020 * window.el (window-tree-1, window-tree): New functions, moving
25021 the latter to window.el.
25022 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
25023 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
25024 (bw-refresh-edges): Remove.
25025 (balance-windows-1, balance-windows-2): New functions.
25026 (balance-windows): Rewrite in terms of window tree functions,
25027 balance-windows-1 and balance-windows-2.
25028 (bw-adjust-window): Remove.
25029 (balance-windows-area-adjust): New function with functionality of
25030 bw-adjust-window but using resize-window.
25031 (set-window-text-height): Rewrite doc-string.
25032 Use normalize-live-window and resize-window.
25033 (enlarge-window-horizontally, shrink-window-horizontally):
25034 Rename argument to DELTA.
25035 (window-buffer-height): New function.
25036 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
25037 Rewrite using new window resize routines.
25038 (kill-buffer-and-window, mouse-autoselect-window-select):
25039 Use ignore-errors instead of condition-case.
25040 (quit-window): Call delete-frame instead of delete-windows-on
25041 for the only buffer on frame.
25043 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25045 * loadup.el (top-level): Load window before files for the sake
25046 of replace-buffer-in-windows.
25048 * files.el (read-buffer-to-switch)
25049 (switch-to-buffer-other-window)
25050 (switch-to-buffer-other-frame, display-buffer-other-frame):
25053 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
25054 (previous-buffer): Move to window.el.
25056 * bindings.el (unbury-buffer): Move to window.el.
25058 * window.el (delete-other-windows-vertically): Move after
25059 definition of delete-other-windows.
25060 (other-window, delete-windows-on, replace-buffer-in-windows):
25061 Move here from window.c.
25062 (record-window-buffer, unrecord-window-buffer)
25063 (set-window-buffer-start-and-point, switch-to-prev-buffer)
25064 (switch-to-next-buffer): New functions.
25065 (get-next-valid-buffer, last-buffer, next-buffer): Move here
25066 from simple.el. Call switch-to-next-buffer.
25067 (previous-buffer): Move here from simple.el.
25068 Call switch-to-prev-buffer.
25069 (bury-buffer): Move here from buffer.c. Switch to previous
25070 buffer when window cannot be deleted.
25071 (unbury-buffer): Move here from bindings.el.
25072 (ctl-x-map): Move binding for other-window from window.c to
25074 (read-buffer-to-switch, switch-to-buffer-other-window)
25075 (switch-to-buffer-other-frame): Move here from files.el.
25076 (normalize-buffer-to-switch-to): New functions.
25077 (switch-to-buffer): Move here from buffer.c.
25078 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
25080 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25082 * window.el (window-min-height, window-min-width): Move here
25083 from window.c. Add defcustoms and rewrite doc-strings.
25084 (resize-mini-window, resize-window): New functions.
25085 (adjust-window-trailing-edge, enlarge-window, shrink-window):
25086 Move here from window.c.
25087 (maximize-window, minimize-window): New functions.
25088 (delete-window, delete-other-windows, split-window): Move here
25090 (window-split-min-size): New function.
25091 (split-window-keep-point): Mention split-window-above-each-other
25092 instead of split-window-vertically.
25093 (split-window-above-each-other, split-window-vertically):
25094 Rename split-window-vertically to split-window-above-each-other
25095 and provide defalias for old definition.
25096 (split-window-side-by-side, split-window-horizontally):
25097 Rename split-window-horizontally to split-window-side-by-side
25098 and provide defalias for the old definition.
25099 (ctl-x-map): Move bindings for delete-window,
25100 delete-other-windows and enlarge-window here from window.c.
25101 Replace bindings for split-window-vertically and
25102 split-window-horizontally by bindings for
25103 split-window-above-each-other and split-window-side-by-side.
25105 * cus-start.el (all): Remove entries for window-min-height and
25106 window-min-width. Add entries for window-splits and
25109 2011-06-09 Glenn Morris <rgm@gnu.org>
25111 * calendar/appt.el (appt-mode-line): New function.
25112 (appt-check, appt-disp-window): Use it.
25114 * files.el (hack-one-local-variable-eval-safep):
25115 Allow minor-modes with explicit +/-1 arguments.
25117 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25119 * term/xterm.el (xterm): Add defgroup.
25120 (xterm-extra-capabilities): Add defcustom to supply known xterm
25121 capabilities, skip querying them, or query them (default).
25122 (terminal-init-xterm): Use it.
25123 (terminal-init-xterm-modify-other-keys): New function to set up
25124 modifyOtherKeys support to simplify `terminal-init-xterm'.
25126 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25128 * window.el (resize-window-reset, resize-window-reset-1)
25129 (resize-subwindows-skip-p, resize-subwindows-normal)
25130 (resize-subwindows, resize-other-windows, resize-this-window)
25131 (resize-root-window, resize-root-window-vertically)
25132 (window-deletable-p, window-or-subwindow-p)
25133 (frame-root-window-p): New functions.
25135 2011-06-09 Glenn Morris <rgm@gnu.org>
25137 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25138 (ange-ftp-get-files): Use it.
25140 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25142 * mail/sendmail.el (mail-recover-1, mail-recover):
25143 * files.el (recover-file, recover-session):
25144 Handle dired-listing-switches not being just a single short option.
25146 2011-06-09 Glenn Morris <rgm@gnu.org>
25148 * calendar/appt.el (appt-display-message, appt-disp-window):
25149 Handle lists of appointments.
25151 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25153 * window.el (one-window-p): Move down in code.
25154 Rewrite doc-string.
25155 (window-current-scroll-bars): Rewrite doc-string.
25156 Normalize live window argument.
25157 (walk-windows, get-window-with-predicate, count-windows):
25158 Rewrite doc-string. Use window-list-1.
25159 (window-in-direction-2, window-in-direction, get-mru-window):
25162 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25164 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25165 Doc fix (Bug#8713).
25167 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25169 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25171 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25173 * loadhist.el (unload-feature-special-hooks):
25174 Add `comint-output-filter-functions'.
25176 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25178 * calendar/appt.el (appt-check): Move some initializations into the let.
25180 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25182 * window.el (window-height): Defalias to window-total-height.
25183 (window-width): Defalias to window-body-width.
25185 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25187 * image-mode.el (image-toggle-animation): New command.
25188 (image-mode-map): Bind it to RET.
25189 (image-mode): Update message.
25190 (image-toggle-display-image): Avoid a spurious cache flush.
25191 (image-transform-rotation): Doc fix.
25192 (image-transform-properties): Return quickly in the normal case.
25193 (image-animate-loop): Rename from image-animate-max-time.
25195 * image.el (image-animate-max-time): Move to image-mode.el.
25196 (create-animated-image): Remove unnecessary function.
25197 (image-animate): Rename from image-animate-start. New arg.
25198 (image-animate-stop): Remove; just use image-animate-timer.
25199 (image-animate-timer): Use car-safe.
25200 (image-animate-timeout): Rename argument.
25202 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25204 * window.el (get-lru-window, get-largest-window): Move here from
25205 window.c. Rename first argument to ALL-FRAMES.
25206 Rephrase doc-strings.
25207 (get-buffer-window-list): Rewrite using window-list-1.
25208 Rephrase doc-string.
25209 (window-safe-min-height, window-safe-min-width): New constants.
25210 (window-size-ignore, window-min-size, window-min-size-1)
25211 (window-sizable, window-sizable-p, window-size-fixed-1)
25212 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25213 (window-max-delta-1, window-max-delta, window-resizable)
25214 (window-resizable-p, window-total-height, window-total-width)
25215 (window-body-width): New functions.
25216 (window-full-height-p, window-full-width-p): Rewrite using
25218 (window-body-height): Rewrite using window-body-size.
25220 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25222 * window.el (window-right, window-left, window-child)
25223 (window-child-count, window-last-child, window-any-p)
25224 (normalize-live-buffer, normalize-live-frame)
25225 (normalize-any-window, normalize-live-window)
25226 (window-iso-combination-p, window-iso-combined-p)
25227 (window-iso-combinations)
25228 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25229 (windows-with-parameter, window-with-parameter)
25230 (window-atom-root, make-window-atom, window-atom-check-1)
25231 (window-atom-check, window-side-check, window-check):
25233 (ignore-window-parameters, window-sides, window-sides-vertical)
25234 (window-sides-slots): New variables.
25235 (window-size-fixed): Move down in code. Minor doc-string fix.
25237 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25239 * comint.el (comint-dynamic-complete-as-filename)
25240 (comint-dynamic-complete-filename): Correctly call
25241 completion-in-region.
25243 2011-06-05 Deniz Dogan <deniz@dogan.se>
25245 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25248 2011-06-05 Deniz Dogan <deniz@dogan.se>
25250 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25251 (rcirc): Use it to prompt for encryption.
25253 2011-06-05 Roland Winkler <winkler@gnu.org>
25255 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25256 (bibtex-search-entries): New command bound to C-c C-a.
25257 (bibtex-display-entries): New function.
25259 2011-06-05 Roland Winkler <winkler@gnu.org>
25261 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25262 (bibtex-insert-kill): After yanking insert newline if necessary.
25263 (bibtex-initialize): Call bibtex-string-files-init only once.
25264 (bibtex-mode): Do not call easy-menu-add.
25265 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25266 (bibtex-yank): Set arg properly if nil.
25268 2011-06-05 Roland Winkler <winkler@gnu.org>
25270 * textmodes/bibtex.el (bibtex-search-entry-globally):
25272 (bibtex-search-entry): Use it.
25274 2011-06-05 Roland Winkler <winkler@gnu.org>
25276 * textmodes/bibtex.el (bibtex-entry-format): New option
25278 (bibtex-format-entry, bibtex-reformat): Honor this option.
25279 (bibtex-parse-entry): Return fields in proper order.
25281 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25283 * doc-view.el (doc-view-remove-if): Move computation of result out
25284 of `dolist' to silence misleading lexical-binding warning.
25286 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25288 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25289 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25291 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25293 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25296 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25298 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25299 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25300 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25301 (tramp-parse-putty):
25302 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25303 (tramp-completion-function-alist-ssh)
25304 (tramp-completion-function-alist-telnet)
25305 (tramp-completion-function-alist-su)
25306 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25309 * net/tramp-ftp.el:
25311 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25312 load "tramp.el" `tramp-set-completion-function'.
25314 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25316 * shell.el: Require and use pcomplete.
25317 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25318 (shell-completion-vars): Set pcomplete-default-completion-function.
25320 2011-06-04 Deniz Dogan <deniz@dogan.se>
25322 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25325 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25327 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25329 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25331 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25332 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25333 * vc/log-view.el (log-view-beginning-of-defun):
25334 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25335 (smerge-refine-forward, smerge-refine-chopup-region):
25336 Silence warning for unused `dotimes' counter variables.
25338 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25340 * net/tramp.el (tramp-with-progress-reporter): Rename from
25341 with-progress-reporter. Use `declare'.
25342 * net/tramp-smb.el:
25344 * net/tramp-gvfs.el: Update all uses.
25346 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25348 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25349 buffer isn't killed before making it current.
25351 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25353 Silence various byte-compiler warnings.
25354 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25355 `access-type' and new obsolescence format.
25356 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25358 (byte-compile-check-variable): New `access-type' argument.
25359 Only warn if the access-type is obsolete.
25360 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25361 (byte-compile-variable-set): Adjust callers.
25362 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25363 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25364 setting it as obsolete.
25365 * simple.el (minibuffer-completing-symbol):
25366 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25367 access as obsolete.
25368 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25370 * international/quail.el (quail-mouse-choose-completion): Remove unused
25371 code referring to obsolete var.
25372 (quail-choose-completion-string): Remove.
25373 * server.el (server-clients-with, server-kill-buffer-query-function)
25374 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25375 * proced.el (proced-send-signal):
25376 * emacs-lisp/lisp.el (lisp-complete-symbol):
25377 Replace completion-annotate-function with completion-extra-properties.
25379 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25381 * simple.el (goto-line): Use read-number.
25382 (overriding-map-is-bound): Remove.
25383 (saved-overriding-map): Change default.
25384 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25385 Take the map as argument.
25386 (universal-argument, negative-argument, digit-argument): Use it.
25387 (restore-overriding-map): Adjust.
25388 (do-auto-fill): Use fill-forward-paragraph.
25389 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25391 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25392 (minibuffer-inactive-mode): New major mode.
25393 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25394 the *Messages* buffer" hack.
25395 (mouse-popup-menubar): Don't burp if the event is a normal key.
25397 Miscellaneous tweaks.
25398 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25399 lexical scoping as in subr.el's dolist and dotimes.
25400 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25401 Silence compiler warning.
25402 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25403 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25404 * international/ccl.el (ccl-compile): Trivial simplification.
25405 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25406 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25407 `printflag' argument.
25408 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25409 Purecopy the whole obsolescence data.
25411 2011-06-01 Leo Liu <sdl.web@gmail.com>
25413 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25414 improve doc-string as suggested by Marco Pessotto
25415 <melmothx@gmail.com>.
25416 (rcirc-print): Fix last change.
25418 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25420 * minibuffer.el (complete-with-action): Return nil for the metadata and
25421 boundaries of non-functional tables.
25422 (completion-table-dynamic): Return nil for the metadata.
25423 (completion-table-with-terminator): Add default case, using
25424 complete-with-action.
25425 (completion--metadata): New function.
25426 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25427 to try and avoid pathological performance problems.
25428 (completion--embedded-envvar-table): Return `category' metadata.
25430 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25432 * subr.el (process-alive-p): New tiny convenience function.
25434 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25436 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25437 content but also its previous major mode.
25439 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25441 * emacs-lisp/debug.el (debug): Restore the previous content of the
25442 *Backtrace* buffer when we exit with C-M-c.
25444 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25446 * minibuffer.el: Add metadata method to completion tables.
25447 (completion-category-overrides): New defcustom.
25448 (completion-metadata, completion--field-metadata)
25449 (completion-metadata-get, completion--styles)
25450 (completion--cycle-threshold): New functions.
25451 (completion-try-completion, completion-all-completions):
25452 Add `metadata' argument to choose completion-styles.
25453 (completion--do-completion): Use metadata to choose cycling.
25454 (completion-all-sorted-completions): Use metadata for sorting.
25455 Remove :completion-cycle-penalty which is not needed any more.
25456 (completion--try-word-completion): Add `metadata' argument.
25457 (minibuffer-completion-help): Check metadata for annotation function
25459 (completion-file-name-table): Return `category' metadata.
25460 (minibuffer-completing-file-name): Make obsolete.
25461 * simple.el (minibuffer-completing-symbol): Make obsolete.
25462 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25463 completion-try-completion.
25465 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25467 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25469 2011-05-30 Leo Liu <sdl.web@gmail.com>
25471 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25472 (rcirc-print): Decode all incoming messages (bug#8744).
25473 (rcirc-decode-coding-system): Allow value nil for automatic coding
25476 2011-06-01 Glenn Morris <rgm@gnu.org>
25478 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25480 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25482 * image.el (image-animate-max-time): Allow nil and t values.
25484 (create-animated-image): Doc fix.
25485 (image-animate-start): Remove second arg; just use
25486 image-animate-max-time.
25487 (image-animate-timeout): Doc fix. Args changed.
25489 * image-mode.el (image-toggle-display-image): Ensure that the
25490 image spec passed to the animate timer is the same object as in
25491 the buffer's display property (Bug#6981).
25492 (image-transform-properties): Doc fix.
25494 * image.el (image-animate-max-time): Default to nil.
25496 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25498 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25499 entire buffer list (Bug#8184).
25501 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25503 * image.el (imagemagick-types-inhibit)
25504 (imagemagick-register-types): Doc fix.
25506 2011-05-29 Deniz Dogan <deniz@dogan.se>
25508 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25511 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25513 * select.el: Don't perform clipboard-manager saving in hooks;
25514 leave the hooks empty.
25516 2011-05-28 Leo Liu <sdl.web@gmail.com>
25518 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25519 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25520 (occur-edit-mode): New major mode (Bug#8463).
25521 (occur-after-change-function): New function.
25522 (occur-engine): Give Occur tags a read-only property.
25524 2011-05-28 Kevin Ryde <user42@zip.com.au>
25526 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25528 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25530 * bindings.el (help-echo): Make the initial non-indicator dash
25531 empty on graphical terminals (Bug#7295).
25533 * files.el (auto-mode-alist): Move config rule after the
25534 in-stripping one (Bug#8547).
25536 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25538 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25539 setting (Bug#8740).
25541 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25543 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25544 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25547 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25549 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25551 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25553 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25554 (hs-hide-block-at-point, hs-find-block-beginning)
25555 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25558 2011-05-28 Glenn Morris <rgm@gnu.org>
25560 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25562 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25564 * help-fns.el (describe-function-1): If the function is a derived
25565 major mode, print the parent mode.
25567 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25568 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25570 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25572 * minibuffer.el (completion--capf-wrapper): Check applicability before
25573 returning non-nil for non-exclusive completion data.
25574 * progmodes/etags.el (tags-completion-at-point-function):
25575 * info-look.el (info-lookup-completions-at-point): Mark as
25577 (info-complete): Adjust accordingly.
25579 * info-look.el: Convert to lexical-binding and completion-at-point.
25580 (info-lookup-completions-at-point): New function.
25581 (info-complete): Use it and completion-in-region.
25583 2011-05-28 Drew Adams <drew.adams@oracle.com>
25585 * isearch.el: Let M-e start with point at the first mismatched char.
25586 (isearch-fail-pos): New function.
25587 (isearch-edit-string): Use it.
25589 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25591 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25593 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25595 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25596 traversal functions for avl-trees.
25597 (avl-tree--stack): New struct.
25598 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25599 (avl-tree-enter): Add optional `updatefun' arg.
25600 (avl-tree--do-enter): Add optional `updatefun' arg.
25601 Change return value.
25602 (avl-tree-delete): Add optional `test' and `nilflag' args.
25603 (avl-tree--do-delete): Add `test' and `nilflag' args.
25604 Change return value.
25605 (avl-tree-member): Add optional `nilflag'
25606 (avl-tree-member-p): New function.
25607 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25608 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25609 (avl-tree-stack-empty-p): New functions.
25611 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25612 avl-tree--del-balance1 and make it work both ways.
25613 (avl-tree--del-balance2): Remove.
25614 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25615 make it work both ways.
25616 (avl-tree--enter-balance2): Remove.
25617 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25619 (avl-tree--mapc, avl-tree-map): Add direction argument.
25621 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25623 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25625 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25627 * select.el: Support clipboard managers with built-in function
25628 x-clipboard-manager-save, via delete-frame-functions and
25630 (xselect-convert-to-targets): Add MULTIPLE target to list.
25631 (xselect-convert-to-save-targets): New function.
25633 2011-05-27 Kenichi Handa <handa@m17n.org>
25635 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25636 let-binding rfc2047-encode-encoded-words to nil.
25638 2011-05-27 Glenn Morris <rgm@gnu.org>
25640 * mail/emacsbug.el: Don't require url-util.
25642 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25644 * files.el (set-auto-mode):
25645 Also respect mode: entries at the end of the file. (Bug#8586)
25647 2011-05-26 Glenn Morris <rgm@gnu.org>
25649 * files.el (hack-local-variables-prop-line, hack-local-variables):
25650 Downcase mode names, as seems to be traditional.
25651 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25653 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25654 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25656 2011-05-25 Julien Danjou <julien@danjou.info>
25658 * textmodes/rst.el (rst-define-level-faces): Do not define face
25659 symbol if it is already defined.
25661 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25663 * play/5x5.el (5x5-new-game, 5x5-randomize):
25664 Reset 5x5-solver-output to nil when a new grid is cast.
25665 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25666 these debugging traces, as defmacro breaks the compiled code.
25668 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25670 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25672 2011-05-24 Leo Liu <sdl.web@gmail.com>
25674 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25675 (vc-bzr-sha1): Adapt.
25677 * sha1.el: Remove. Function `sha1' is now builtin.
25679 * bindings.el: Provide sha1 feature.
25681 2011-05-24 Kenichi Handa <handa@m17n.org>
25683 * mail/sendmail.el: Require `rfc2047'.
25684 (mail-insert-from-field): Do not perform RFC2047 encoding.
25685 (mail-encode-header): New function.
25686 (sendmail-send-it): Set buffer-file-coding-system of the work
25687 buffer to the return value of select-message-coding-system.
25688 Call mail-encode-header.
25690 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25692 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25694 * mail/supercite.el (sc-default-cite-frame):
25695 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25697 2011-05-24 Glenn Morris <rgm@gnu.org>
25699 * progmodes/python.el (brm-menu): Declare.
25701 * emulation/viper.el (viper-set-hooks): Declare.
25703 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25704 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25705 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25706 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25707 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25708 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25710 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25712 Add an :exit-function for completion-at-point.
25714 * minibuffer.el (completion--done): New fun.
25715 (completion--do-completion): Use it. New arg `expect-exact'.
25716 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25717 since completion--do-completion does it for us now.
25718 (minibuffer-force-complete): Use completion--done and
25719 completion--replace. Handle sole-completion case with more care.
25720 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25721 (completion-extra-properties): New var.
25722 (completion-annotate-function): Make obsolete.
25723 (minibuffer-completion-help): Adjust accordingly.
25724 Use completion-list-insert-choice-function.
25725 (completion-at-point, completion-help-at-point):
25726 Bind completion-extra-properties.
25727 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25728 * simple.el (completion-list-insert-choice-function): New var.
25729 (completion-setup-function): Preserve it.
25730 (choose-completion): Pay attention to it, shuffle the code a bit.
25731 (choose-completion-string): New arg `insert-function'.
25733 * textmodes/bibtex.el: Convert to lexical binding.
25734 (bibtex-mode-map): Use completion-at-point.
25735 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25736 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25737 (bibtex-complete): Define as obsolete alias.
25738 (bibtex-complete-internal): Remove.
25739 (bibtex-format-entry): Remove unused sub-group in regexp.
25740 * shell.el (shell--command-completion-data)
25741 (shell-environment-variable-completion):
25742 * pcomplete.el (pcomplete-completions-at-point):
25743 * comint.el (comint--complete-file-name-data): Use :exit-function
25744 instead of completion-table-with-terminator so it also works for
25747 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25749 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25751 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25754 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25756 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25758 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25759 customization variable and implement: If non-nil, auto-fill will
25760 be inhibited while on topic's header line.
25762 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25764 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25765 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25766 always have a solution in grid size = 5 cases.
25767 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25768 (5x5-solver-output, 5x5-log-buffer): New vars.
25769 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25770 Make these variables buffer local to achieve 5x5 multi-session-ness.
25771 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25772 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25773 (5x5-solve-suggest): New funs.
25774 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25775 randomize a grid so that we ensure that there is always a solution.
25776 (5x5-make-random-grid): Allow other movement than flipping.
25778 2011-05-23 Kevin Ryde <user42@zip.com.au>
25780 * emacs-lisp/advice.el (ad-read-advised-function):
25781 Use `function-called-at-point' as the default, if it has
25782 advice and passes PREDICATE.
25784 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25786 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25787 byte-compile-lambda if it's actually a lambda.
25789 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25790 Fix function quoting. Use backquote better.
25792 2011-05-22 Yuanle Song <sylecn@gmail.com>
25794 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25795 matching (Bug#8516).
25797 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25799 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25800 different face (Bug#8178).
25802 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25804 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25805 defface (Bug#8144).
25807 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25809 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25810 funcall as well (bug#8712). Warn when performing those conversions.
25811 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25813 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25815 2011-05-22 Glenn Morris <rgm@gnu.org>
25817 * files.el (hack-local-variables-prop-line): Small simplifications.
25818 (hack-local-variables, hack-local-variables-prop-line):
25819 If MODE-ONLY, return the mode, rather than just `t'.
25821 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25823 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25825 2011-05-21 Glenn Morris <rgm@gnu.org>
25827 * files.el (hack-local-variables-prop-line, hack-local-variables):
25828 If only interested in the mode, don't bother doing the other stuff.
25830 * image-mode.el (image-after-revert-hook):
25831 Redraw all frames on which the image is visible. (Bug#8567)
25833 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25835 * wid-edit.el (widget-checklist-match-inline):
25836 Fix 2011-04-19 change. (Bug#8649)
25838 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25840 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25841 Also allow singlespace after single-letter capitals followed by a dot.
25843 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25844 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25846 2011-05-20 Nix <nix@esperi.org.uk>
25848 * files.el (basic-save-buffer-2):
25849 Fix handling of break-hardlink-on-save with non-existent files.
25851 2011-05-19 Deniz Dogan <deniz@dogan.se>
25853 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25854 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25856 2011-05-19 Glenn Morris <rgm@gnu.org>
25858 * progmodes/f90.el (f90-type-def-re):
25859 Handle "type, bind(c)". (Bug#8691)
25861 * emacs-lisp/autoload.el (batch-update-autoloads):
25862 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25864 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25866 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25867 property for the correct connection in case of multihops.
25869 2011-05-18 Glenn Morris <rgm@gnu.org>
25871 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25872 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25874 Rationalize calendar handling of day and month abbrev-arrays.
25875 * calendar/calendar.el (calendar-customized-p): New function.
25876 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25877 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25879 (calendar-abbrev-length, calendar-day-abbrev-array)
25880 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25881 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25882 Elements may no longer be nil.
25883 (calendar-day-name, calendar-month-name):
25884 Update for changed nature of abbrev arrays.
25885 * calendar/diary-lib.el (diary-name-pattern):
25886 Update for changed nature of abbrev arrays.
25887 (diary-mark-entries-1): Update calendar-make-alist calls.
25888 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25889 * calendar/cal-html.el (cal-html-day-abbrev-array):
25890 Simply inherit from calendar-day-abbrev-array.
25892 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25894 * progmodes/grep.el (grep-mode): Disable default
25895 compilation-directory-matcher setting (bug#8684).
25897 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25899 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25900 instead of "head" and "tail". There were problems with SunOS 5.9,
25901 and it performs better.
25903 2011-05-17 Glenn Morris <rgm@gnu.org>
25905 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25907 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25908 Replace obsolete function.
25910 * shell.el (pcomplete-parse-arguments-function): Declare.
25912 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25913 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25914 (appt-check): Doc fixes.
25915 (appt-disp-window-function, appt-delete-window-function):
25916 Remove needless special case in custom :type.
25917 (appt-display-count): Default to 0, not nil.
25918 (appt-check): Reset appt-display-count to 0, not nil.
25920 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25922 * progmodes/python.el (python-font-lock-keywords):
25923 Add the Python 3.X keyword "nonlocal" (bug#8639).
25925 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25927 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25929 2011-05-16 Kevin Ryde <user42@zip.com.au>
25931 * info-look.el (makefile-automake-mode): New setups, looking in
25932 automake manual, then makefile-mode.
25933 (makefile-mode): Remove automake manual, have it just in
25934 makefile-automake-mode since there's various things different or
25935 not relevant to plain make.
25936 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25937 believe a hypothetical automake-mode would go to makefile-mode,
25938 not the other way around.
25940 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25942 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25943 hunk-end tags (Bug#8672).
25945 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25946 vc-annotate-show-diff-revision-at-line (Bug#8671).
25948 2011-05-14 Glenn Morris <rgm@gnu.org>
25950 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25951 in the middle of an existing one with multiple authors. (Bug#8645)
25952 (change-log-font-lock-keywords): Also handle multiple author lines
25953 with leading tabs. (Bug#8644)
25955 * calendar/appt.el (appt-check): Rename some local variables.
25956 Some simplification/reordering.
25958 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25959 (feedmail-sendmail-f-doesnt-sell-me-out)
25960 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25961 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25962 (feedmail-queue-runner-message-sender): Set :version.
25963 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25964 (bbdb-dwim-net-address, vm-mail): Declare.
25965 (feedmail-binmail-gnulinuxish-template):
25966 Rename from feedmail-binmail-linuxish-template.
25967 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25968 Use insert-buffer-substring.
25970 2011-05-14 Bill Carpenter <bill@carpenter.org>
25972 * mail/feedmail.el (feedmail-patch-level): Increase.
25973 (feedmail-debug): New custom group.
25974 (feedmail-confirm-outgoing-timeout)
25975 (feedmail-sendmail-f-doesnt-sell-me-out)
25976 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25977 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25978 (feedmail-sender-line, feedmail-from-line)
25979 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25980 (feedmail-spray-this-address)
25981 (feedmail-spray-address-fiddle-plex-list)
25982 (feedmail-queue-use-send-time-for-date)
25983 (feedmail-queue-use-send-time-for-message-id)
25984 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25985 (feedmail-buffer-eating-function):
25987 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25988 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25989 (feedmail-message-action-scroll-down): New functions.
25990 (feedmail-queue-directory, feedmail-queue-draft-directory):
25991 Use expand-file-name.
25992 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25993 Remove C-v help entry.
25994 (feedmail-queue-buffer-file-name): New variable.
25995 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25996 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25997 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25998 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25999 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
26000 (feedmail-message-action-toggle-spray)
26001 (feedmail-run-the-queue-no-prompts)
26002 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
26003 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
26004 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
26005 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
26006 (feedmail-envelope-deducer, feedmail-fiddle-from)
26007 (feedmail-fiddle-sender, feedmail-default-date-generator)
26008 (feedmail-fiddle-date, feedmail-fiddle-message-id)
26009 (feedmail-fiddle-spray-address)
26010 (feedmail-fiddle-list-of-spray-fiddle-plexes)
26011 (feedmail-fiddle-list-of-fiddle-plexes)
26012 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
26013 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
26014 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
26015 Change default. Doc fix.
26016 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
26017 (feedmail-binmail-linuxish-template): New constant.
26018 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
26019 Respect feedmail-sendmail-f-doesnt-sell-me-out.
26020 (feedmail-send-it): Add debug call.
26021 Use feedmail-queue-buffer-file-name, and
26022 feedmail-send-it-immediately-wrapper.
26023 (feedmail-message-action-send): Add debug call.
26024 Use feedmail-send-it-immediately-wrapper.
26025 (feedmail-queue-express-to-queue): Add debug call.
26026 Run feedmail-queue-express-hook.
26027 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
26028 (feedmail-message-action-help-blat):
26029 Rename from feedmail-queue-send-edit-prompt-help-first.
26030 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
26031 Check line-endings. Handle errors better.
26032 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
26033 Doc fix. Add debug call.
26034 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
26035 Use feedmail-queue-send-edit-prompt-inner.
26036 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
26037 (feedmail-queue-send-edit-prompt-inner): New function, extracted
26038 from feedmail-queue-send-edit-prompt.
26039 (feedmail-queue-send-edit-prompt-help)
26040 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
26041 (feedmail-tidy-up-slug): Add debug call.
26042 Respect feedmail-queue-slug-suspect-regexp.
26043 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
26044 (feedmail-dump-message-to-queue): Add debug call.
26045 Expand queue-directory.
26046 (feedmail-dump-message-to-queue): Change message slightly.
26047 Use feedmail-say-chatter.
26048 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
26049 (feedmail-send-it-immediately-wrapper): New function.
26050 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
26051 Insert empty string rather than newline. Handle full-frame case.
26052 Use catch/throw. Use feedmail-say-chatter.
26053 (feedmail-fiddle-from): Try mail-host-address.
26054 (feedmail-default-message-id-generator): Doc fix.
26055 Bind system-time-locale. Handle missing end.
26056 (feedmail-fiddle-x-mailer): Add debug call.
26057 Handle feedmail-x-mailer-line being nil.
26058 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
26059 Add debug call. Use buffer-substring-no-properties.
26060 (feedmail-say-debug, feedmail-say-chatter): New functions.
26061 (feedmail-find-eoh): Give an explicit error.
26063 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
26065 * net/newst-treeview.el (newsticker-treeview-face): Change default
26066 family from helvetica to sans.
26067 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
26068 etc/images/newsticker.
26070 * net/newst-reader.el (newsticker-feed-face): Change default
26071 family from helvetica to sans.
26073 * net/newst-plainview.el (newsticker-new-item-face)
26074 (newsticker-old-item-face, newsticker-immortal-item-face)
26075 (newsticker-obsolete-item-face, newsticker-date-face)
26076 (newsticker-statistics-face): Change default family from
26078 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
26079 etc/images/newsticker.
26081 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
26082 (newsticker--process-auto-mark-filter-match): Tell user about
26085 2011-05-13 Didier Verna <didier@xemacs.org>
26087 Common Lisp indentation improvements on defmethod and lambda-lists.
26088 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
26090 (lisp-lambda-list-keyword-parameter-indentation)
26091 (lisp-lambda-list-keyword-parameter-alignment)
26092 (lisp-lambda-list-keyword-alignment): New customizable user options.
26093 (lisp-indent-defun-method): Improve docstring.
26094 (extended-loop-p): Fix comment.
26095 (lisp-indent-lambda-list-keywords-regexp): New variable.
26096 (lisp-indent-lambda-list): New function.
26097 (lisp-indent-259): Use it.
26098 (lisp-indent-defmethod): Support for more than one
26099 method qualifier and properly indent methods lambda-lists.
26100 (defgeneric): Provide a missing common-lisp-indent-function property.
26102 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26104 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26105 bounds for the empty string (bug#8667).
26107 2011-05-13 Glenn Morris <rgm@gnu.org>
26109 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26111 * mail/sendmail.el (sendmail-program): Try executable-find first.
26112 (sendmail-send-it): `sendmail-program' cannot be unbound.
26114 * calendar/appt.el (appt-make-list): Simplify.
26115 (appt-time-msg-list): Doc fix.
26116 (appt-check): Change mode-line message at the time of the appointment.
26118 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26120 * progmodes/ld-script.el (ld-script-keywords)
26121 (ld-script-builtins): Update keywords list.
26123 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26125 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26127 * shell.el (shell-completion-vars): New function.
26129 * simple.el (read-shell-command): Use it.
26130 (blink-matching-open): No need for " [...]" in minibuffer-message.
26132 2011-05-12 Glenn Morris <rgm@gnu.org>
26134 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26135 (appt-check): Simplify.
26137 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26139 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26140 literal "/dev/null".
26142 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26144 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26147 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26149 * progmodes/which-func.el (which-function):
26150 Use add-log-current-defun instead of add-log-current-defun-function,
26151 which might not be defined (Bug#8260).
26153 2011-05-12 Glenn Morris <rgm@gnu.org>
26155 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26156 Let byte-compile-initial-macro-environment always take precedence.
26158 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26160 * net/rcirc.el: Add support for SSL/TLS connections.
26161 (rcirc-server-alist): New field `encryption'.
26162 (rcirc): Check `encryption' settings.
26163 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26164 Merge make-local-variable into `set'.
26165 (rcirc--connection-open-p): New function.
26166 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26167 the process is not a network process (e.g. running gnutls-cli).
26168 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26169 Make rcirc-(en|de)code-coding-system local here.
26170 (rcirc-mode): Merge make-local-variable into `set'.
26171 (rcirc-parent-buffer): Make permanent buffer-local.
26172 (rcirc-multiline-minor-mode): Don't do it here.
26173 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26174 there's no server buffer.
26176 2011-05-11 Glenn Morris <rgm@gnu.org>
26178 * newcomment.el (comment-kill): Prefix "unused" local.
26180 * term/w32console.el (get-screen-color): Declare.
26182 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26183 Handle symbol elements of byte-compile-initial-macro-environment.
26185 2011-05-10 Leo Liu <sdl.web@gmail.com>
26187 * bookmark.el (bookmark-bmenu-mode-map):
26188 Bind bookmark-bmenu-search to `/'.
26190 * mail/footnote.el: Convert to utf-8 encoding.
26191 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26192 (Footnote-unicode): New function.
26193 (footnote-style-alist): Add unicode style to the list.
26194 (footnote-style): Doc fix.
26196 2011-05-10 Jim Meyering <meyering@redhat.com>
26198 Fix doubled-word typos.
26199 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26200 * kermit.el: and and -> and.
26201 * net/ldap.el (ldap-search-internal): to to -> to.
26202 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26203 * progmodes/js.el (js-mode): and and -> and.
26204 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26205 (artist-draw-region-trim-line-endings): if if -> if.
26206 And Safetyc -> Safety.
26207 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26209 2011-05-10 Glenn Morris <rgm@gnu.org>
26210 Stefan Monnier <monnier@iro.umontreal.ca>
26212 * files.el (hack-one-local-variable-eval-safep):
26213 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26215 2011-05-10 Glenn Morris <rgm@gnu.org>
26217 * calendar/diary-lib.el (diary-list-entries-hook)
26218 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26219 (diary-nongregorian-marking-hook, diary-list-entries)
26220 (diary-include-other-diary-files, diary-mark-entries)
26221 (diary-mark-included-diary-files): Doc fixes.
26223 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26225 * misc.el: Require tabulated-list.el during compilation.
26227 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26229 * progmodes/compile.el (compilation-start):
26230 Run compilation-filter-hook for the async case too.
26231 (compilation-filter-hook): Doc fix.
26233 2011-05-09 Deniz Dogan <deniz@dogan.se>
26235 * wdired.el: Remove outdated installation comment. Fix usage
26238 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26240 * misc.el: Implement new command `list-dynamic-libraries'.
26241 (list-dynamic-libraries--loaded-only-p): New variable.
26242 (list-dynamic-libraries--refresh): New function.
26243 (list-dynamic-libraries): New command.
26245 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26248 Fix the ant regexp to handle end-line and end-column info from jikes.
26249 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26250 higher priority to avoid clobbering by gnu.
26252 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26254 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26255 if the face has existing theme settings (Bug#8454).
26257 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26259 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26260 Only match variables declared via `my' or `our' (Bug#8261).
26262 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26263 special file names `.' and `..' (Bug#8259).
26265 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26267 * progmodes/grep.el (grep-mode-font-lock-keywords):
26268 Remove buffer-changing entries.
26269 (grep-filter): New function.
26270 (grep-mode): Add it to compilation-filter-hook.
26272 * progmodes/compile.el (compilation-filter-hook)
26273 (compilation-filter-start): New defvars.
26274 (compilation-filter): Call compilation-filter-hook prior to
26275 updating the process mark.
26277 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26279 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26281 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26283 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26284 mailclient-send-it even if window-system is nil. (Bug#8595)
26286 * term/w32console.el (terminal-init-w32console):
26287 Call get-screen-color and use its output to set the frame
26288 background-mode. (Bug#8597)
26290 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26292 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26293 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26295 (defgeneric, eieio--defmethod): Use them.
26296 (eieio-defgeneric): Remove.
26297 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26299 2011-05-07 Glenn Morris <rgm@gnu.org>
26301 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26302 Use let rather than let*.
26303 (timeclock-find-discrep): Remove unused local.
26305 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26307 * calendar/appt.el (appt-time-msg-list): Doc fix.
26309 2011-05-06 Noah Friedman <friedman@splode.com>
26311 * apropos.el (apropos-print-doc): Only use
26312 emacs-lisp-docstring-fill-column when it is bound to an integer,
26313 per that variable's documentation.
26315 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26317 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26318 and warnings are not silently discarded (e.g. use -d instead of -P).
26320 2011-05-06 Glenn Morris <rgm@gnu.org>
26322 * calendar/appt.el (appt-message-warning-time): Doc fix.
26323 (appt-warning-time-regexp): New option.
26324 (appt-make-list): Respect appt-message-warning-time.
26326 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26328 (diary-add-to-list): Strip comments from the displayed string.
26329 (diary-mode): Set comment-start and comment-end.
26331 * vc/diff-mode.el (smerge-refine-subst): Declare.
26332 (diff-refine-hunk): Don't require smerge-mode when compiling.
26334 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26336 * simple.el (list-processes): Return nil as the docstring says.
26338 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26340 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26342 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26343 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26344 determining of binary transfer. (Bug#7383)
26346 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26348 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26349 Fix port computation bug. (Bug#8618)
26351 2011-05-05 Glenn Morris <rgm@gnu.org>
26353 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26355 * simple.el (shell-dynamic-complete-functions)
26356 (comint-dynamic-complete-functions): Declare.
26358 * net/network-stream.el (gnutls-negotiate):
26359 * simple.el (tabulated-list-print): Fix declarations.
26361 * progmodes/gud.el (syntax-symbol, syntax-point):
26362 Remove unnecessary and incorrect declarations.
26364 * emacs-lisp/check-declare.el (check-declare-scan):
26365 Handle byte-compile-initial-macro-environment in bytecomp.el.
26367 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26369 Fix earlier half-done eieio-defmethod change (bug#8338).
26370 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26371 Streamline and change calling convention.
26372 (defmethod): Adjust accordingly and simplify.
26373 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26374 new eieio--defmethod.
26375 (slot-boundp): Minor CSE simplification.
26377 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26379 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26380 (glasses-make-readable): Use glasses-separate-capital-groups.
26382 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26384 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26385 (warning-series): Doc fix.
26386 (display-warning): Don't try to create the buffer if we just found it.
26388 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26390 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26391 (autoload-find-generated-file): New function.
26392 (generate-file-autoloads): Bind generated-autoload-file to
26394 (update-file-autoloads, update-directory-autoloads):
26395 Use autoload-find-generated-file. If called interactively, prompt for
26396 output file (Bug#7989).
26397 (batch-update-autoloads): Doc fix.
26399 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26401 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26403 2011-05-04 Glenn Morris <rgm@gnu.org>
26405 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26406 function, so it follows changes in calendar-date-style.
26407 (diary-fancy-date-matcher): New function.
26408 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26409 (diary-fancy-font-lock-fontify-region-function):
26410 Use diary-fancy-date-pattern as a function.
26412 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26413 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26415 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26417 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26418 instead of positional arguments. Allow :keylist and :crlfiles
26420 (open-gnutls-stream): Call it.
26422 * net/network-stream.el (network-stream-open-starttls): Adjust to
26423 call `gnutls-negotiate' with :process and :hostname arguments.
26425 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26427 * minibuffer.el (completion--message): New function.
26428 (completion--do-completion, minibuffer-complete)
26429 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26430 (completion--do-completion): Don't ignore completion-auto-help when in
26433 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26434 internal encoding (e.g. tibetan zero is not whitespace).
26435 (global-whitespace-mode): Prefer save-current-buffer.
26436 (whitespace-trailing-regexp): Remove useless save-match-data.
26437 (whitespace-empty-at-bob-regexp): Minor simplification.
26439 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26441 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26443 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26445 * textmodes/ispell.el (ispell-add-per-file-word-list):
26446 Use `concat' to create string for insertion.
26448 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26450 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26451 Avoid open-line which runs post-self-insert-hook.
26452 (bibtex-fill-entry): Remove unused `end' var.
26454 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26456 * textmodes/ispell.el (ispell-add-per-file-word-list):
26457 Protect against `nil' value of `comment-start' (Bug#8579).
26459 2011-05-03 Leo Liu <sdl.web@gmail.com>
26461 * isearch.el (isearch-yank-pop): New command.
26462 (isearch-mode-map): Bind it to `M-y'.
26463 (isearch-forward): Mention it.
26465 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26467 * simple.el (minibuffer-complete-shell-command): Remove.
26468 (minibuffer-local-shell-command-map): Use completion-at-point.
26469 (read-shell-command): Setup completion vars here instead.
26470 (read-expression-map): Bind TAB to symbol completion.
26472 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26473 error directly rather via storing it into `results'.
26475 2011-05-02 Leo Liu <sdl.web@gmail.com>
26477 * vc/diff.el: Fix description.
26479 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26481 * server.el (server-eval-at): New function.
26483 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26485 * net/network-stream.el (open-network-stream): Take a :nowait
26486 parameter and pass it on to `make-network-process'.
26487 (network-stream-open-plain): Ditto.
26489 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26491 * faces.el (face-spec-set-match-display): Don't match toolkit
26492 options on terminal frames.
26494 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26496 * progmodes/pascal.el: Use lexical binding.
26497 (pascal-mode-map): Remove author preferences.
26499 * pcomplete.el (pcomplete-std-complete): Don't abuse
26500 completion-at-point.
26502 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26504 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26505 removing code that has been dead since 1991 or so.
26507 * startup.el (command-line): When warning about "_emacs", use a
26508 delayed warning to allow the user to filter it out.
26510 2011-04-28 Deniz Dogan <deniz@dogan.se>
26512 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26513 user has not joined.
26515 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26517 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26518 aren't any completions at point.
26520 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26522 * subr.el (display-delayed-warnings): New function.
26523 (delayed-warnings-hook): New variable.
26525 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26527 * minibuffer.el (completion-at-point, completion-help-at-point):
26528 Don't presume that a given completion-at-point-function will always
26529 use the same calling convention.
26531 * pcomplete.el (pcomplete-completions-at-point):
26532 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26533 pcomplete-seen is non-nil.
26534 (pcomplete-comint-setup): Also recognize the new comint/shell
26535 completion functions.
26536 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26537 pcomplete-seen is non-nil.
26539 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26541 * calendar/icalendar.el (diary-lib): Add require statement.
26542 (icalendar--create-uid): Read out a uid from a text-property on
26543 the first character in the entry. This allows for code to add its
26544 own uid to the entry.
26545 (icalendar--convert-float-to-ical): Add export of
26546 `diary-float'-entries save for those with the optional DAY
26549 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26551 * subr.el (shell-quote-argument): Use alternate escaping strategy
26552 when we spot a variable reference in a string.
26554 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26556 * cus-start.el (all): Define customization for debug-on-event.
26558 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26560 * subr.el (shell-quote-argument): Escape correctly under Windows.
26562 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26564 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26566 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26568 * net/tramp.el (tramp-process-actions): Add POS argument.
26569 Delete region between POS and (pos).
26571 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26572 Use `nil' position in `tramp-process-actions' call.
26573 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26575 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26576 position in `tramp-process-actions' call.
26578 * net/trampver.el: Update release number.
26580 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26582 * custom.el (defcustom): Obey lexical-binding.
26584 Fix octave-inf completion problems reported by Alexander Klimov.
26585 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26586 Inherit from octave-mode-syntax-table.
26587 (inferior-octave-mode): Set info-lookup-mode.
26588 (inferior-octave-completion-at-point): New function.
26589 (inferior-octave-complete): Use it and completion-in-region.
26590 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26591 comint-filename-completion.
26592 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26593 symbol elements which shouldn't be word elements.
26594 (octave-font-lock-keywords, octave-beginning-of-defun)
26595 (octave-function-header-regexp): Adjust regexps accordingly.
26596 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26598 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26600 * net/gnutls.el (gnutls-errorp): Declare before first use.
26602 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26604 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26605 verify-error, and verify-hostname-error parameters. Check whether
26606 default trustfile exists before going to use it. Add missing
26607 argument to gnutls-message-maybe call. Return value.
26608 Reported by Claudio Bley <claudio.bley@gmail.com>.
26609 (open-gnutls-stream): Add usage example.
26611 * net/network-stream.el (network-stream-open-starttls): Give host
26612 parameter to `gnutls-negotiate'.
26613 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26614 * subr.el (shell-quote-argument): Escape correctly under Windows.
26616 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26618 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26619 Use correct match group (bug#8438).
26621 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26623 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26624 (package-menu--generate): New arg specifying packages to show.
26625 (package-menu-refresh, package-menu-execute, list-packages):
26627 (package-show-package-list): New function, replacing deleted
26628 package--list-packages (renamed because it is non-internal).
26630 * finder.el (finder-list-matches): Use package-show-package-list
26631 instead of deleted package--list-packages.
26633 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26634 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26635 (vc-annotate-mode-map): Bind it to RET.
26637 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26639 * progmodes/etags.el (next-file): Don't use set-buffer to change
26640 buffers (Bug#8478).
26642 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26644 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26646 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26647 (apropos-accumulator): Doc fix.
26648 (apropos-function, apropos-macro, apropos-command)
26649 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26650 (apropos-plist): Add face property.
26651 (apropos-symbols-internal): Fix indentation.
26652 (apropos-print): Simplify help, and recognize apropos-multi-type.
26653 (apropos-print-doc): Use button-type-get to extract the button's
26654 face property. Fill docstring (Bug#8352).
26656 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26658 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26660 * play/mpuz.el (mpuz-silent): Doc fix.
26661 (mpuz-mode-map): Use mapc.
26662 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26663 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26664 Fix typos in docstrings.
26666 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26667 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26669 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26671 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26673 * minibuffer.el (completion--do-completion): Avoid the "Next char
26674 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26676 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26677 mouse-2 into unread-command-events, it is interpreted correctly.
26679 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26680 (image-toggle-display): Doc fix.
26682 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26684 * textmodes/page.el (what-page): Use line-number-at-pos to
26685 calculate line number (Bug#6825).
26687 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26689 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26690 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26691 Pass argument NO-DEFAULT to `find-tag-interactive'.
26693 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26695 Lexical-binding cleanup.
26697 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26698 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26699 * progmodes/ada-prj.el (ada-prj-initialize-values)
26700 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26701 (ada-prj-show-value):
26702 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26703 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26704 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26705 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26706 * progmodes/bug-reference.el (bug-reference-push-button):
26707 * progmodes/fortran.el (fortran-line-length):
26708 * progmodes/glasses.el (glasses-change):
26709 * progmodes/octave-mod.el (octave-fill-paragraph):
26710 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26711 (python-pdbtrack-grub-for-buffer, python-sentinel):
26712 * progmodes/sql.el (sql-save-connection):
26713 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26714 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26715 Mark unused parameters.
26717 * progmodes/compile.el (compilation--flush-directory-cache)
26718 (compilation--flush-parse, compile-internal): Mark unused parameters.
26719 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26720 (compilation-next-error-function): Remove unused variable `timestamp'.
26722 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26723 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26725 * progmodes/dcl-mode.el (dcl-end-of-command):
26726 Remove unused variable `start'.
26727 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26728 (dcl-option-value-basic, dcl-option-value-offset)
26729 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26730 Mark unused parameters.
26731 (dcl-save-local-variable): Remove unused variable `val'.
26734 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26735 Mark unused parameters.
26736 (delphi-ignore-changes): Move before first use.
26737 (delphi-charset-token-at): Remove unused variable `start'.
26738 (delphi-else-start): Remove unused variable `if-count'.
26739 (delphi-comment-block-start, delphi-comment-block-end):
26740 Remove unused variable `kind'.
26741 (delphi-indent-line): Remove unused variable `new-point'.
26743 * progmodes/ebrowse.el (ebrowse-files-list)
26744 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26745 Mark unused parameters. Don't quote `lambda'.
26746 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26747 Don't quote `lambda'.
26748 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26749 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26750 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26751 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26752 Use `ignore-errors'.
26753 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26754 (ebrowse-view/find-file-and-search-pattern)
26755 (ebrowse-view/find-member-declaration/definition):
26756 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26757 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26758 Rename parameter PREFIX-ARG to PREFIX.
26759 (ebrowse-tags-read-name): Remove unused variables `start' and
26761 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26764 * progmodes/etags.el (local-find-tag-hook): Declare.
26765 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26766 Mark unused parameters.
26768 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26769 (executable-interpret): Mark unused parameter.
26771 * progmodes/flymake.el (flymake-process-sentinel)
26772 (flymake-after-change-function)
26773 (flymake-create-temp-with-folder-structure)
26774 (flymake-get-include-dirs-dot): Mark unused parameters.
26775 (flymake-safe-delete-directory): Remove unused variable `err'.
26777 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26778 (speedbar-timer-fn, speedbar-line-text)
26779 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26780 (speedbar-center-buffer-smartly): Declare functions.
26781 (gdb-find-watch-expression): Remove unused variable `array'.
26782 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26783 (gdb-starting): Mark unused parameters.
26784 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26785 (gdb-table-string): Remove unused variable `res'.
26786 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26787 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26788 (gdb-display-buffer): Remove unused variable `cur-size'.
26790 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26791 allow lexical-binding compilation.
26792 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26793 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26794 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26795 Mark unused parameters.
26796 (gud-gdb-marker-filter): Remove unused variable `match'.
26797 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26798 lambda expressions and funcall them, instead of using `fset'.
26800 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26801 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26803 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26804 variable `header-beg'; use `let'.
26806 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26807 `restart', `last-sexp' and `at-do'.
26809 * progmodes/js.el (js--debug): Mark unused parameter.
26810 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26811 (js--splice-into-items): Remove unused variable `item'.
26812 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26814 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26815 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26816 (makefile-complete): Remove unused variable `try'.
26817 (makefile-fill-paragraph, makefile-match-function-end):
26818 Mark unused parameters.
26820 * progmodes/octave-inf.el (inferior-octave-complete):
26821 Remove unused variable `proc'.
26822 (inferior-octave-output-digest): Mark unused parameter.
26824 * progmodes/perl-mode.el (perl-calculate-indent):
26825 Remove unused variable `err'.
26827 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26828 (prolog-indent-line): Mark unused parameters.
26829 (prolog-indent-line): Remove unused variable `beg'.
26831 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26832 (reporter-dont-compact-list): Declare.
26834 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26835 Remove unused variable `char'.
26836 (sh-debug): Mark unused parameter.
26837 (sh-get-indent-info): Remove unused variable `start'.
26838 (sh-calculate-indent): Remove unused variable `var'.
26840 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26841 (simula-electric-keyword): Remove unused variable `null'.
26842 (simula-search-backward, simula-search-forward): Remove unused
26843 variables `begin' and `end'.
26845 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26846 Remove unused variable `pos'.
26847 (vera-electric-tab, vera-comment-uncomment-region):
26848 Mark unused parameters.
26849 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26851 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26853 * emacs-lisp/package.el (package--builtins, package-alist)
26854 (package-load-descriptor, package-built-in-p, package-activate)
26855 (define-package, package-installed-p)
26856 (package-compute-transaction, package-buffer-info)
26857 (package--push): Doc fix. Distinguish more clearly between
26858 version strings and version lists.
26860 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26862 Lexical-binding cleanup.
26864 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26865 (5x5-make-mutate-best):
26866 * play/fortune.el (fortune-in-buffer):
26867 * play/gomoku.el (gomoku-init-display):
26868 * play/solitaire.el (solitaire, solitaire-do-check):
26869 * play/tetris.el (tetris-default-update-speed-function):
26870 Mark unused parameters.
26872 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26873 (bubbles--shift): Remove unused variable `char-org'.
26874 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26875 (bubbles--show-images): Remove unused variable `char'.
26877 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26878 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26879 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26880 (decipher-analyze-buffer): Use ?\s.
26881 (decipher-make-checkpoint): Remove unused variable `mapping'.
26883 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26885 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26886 Remove unused variable `result'; use `let'.
26888 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26889 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26890 (gametree-children-shown-p, gametree-compute-reduced-score):
26891 Use `ignore-errors'.
26893 * play/handwrite.el (ps-lpr-switches): Declare.
26894 (handwrite): Remove unused variables `pmin' and `lastp'.
26896 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26898 * play/landmark.el (landmark-init-display)
26899 (landmark-update-naught-weights): Mark unused parameters.
26900 (landmark-y): Remove unused variable `noise'. Simplify.
26901 (landmark-human-plays): Remove unused variable `score'.
26903 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26904 (mpuz-try-proposal): Remove unused variable `game'.
26906 * play/zone.el (life-patterns): Declare.
26908 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26910 * vc/vc.el (ediff-vc-internal): Declare function.
26912 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26914 * shell.el: Use lexical-binding and std completion UI.
26915 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26916 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26917 comint-preoutput-filter-functions rather than on
26918 comint-output-filter-functions.
26919 (shell-command-completion, shell--command-completion-data)
26920 (shell-filename-completion, shell-environment-variable-completion)
26921 (shell-c-a-p-replace-by-expanded-directory): New functions.
26922 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26923 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26924 (shell-dynamic-complete-environment-variable): Use them.
26925 (shell-dynamic-complete-as-environment-variable)
26926 (shell-dynamic-complete-as-command): Remove.
26927 (shell-match-partial-variable): Match past point.
26928 * comint.el: Clean up use of completion-at-point-functions.
26929 (comint-completion-at-point): New function.
26930 (comint-mode): Use it completion-at-point-functions.
26931 (comint-dynamic-complete): Make it obsolete.
26932 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26933 (comint-c-a-p-replace-by-expanded-history): New function.
26934 (comint-dynamic-complete-functions)
26935 (comint-replace-by-expanded-history): Use it.
26936 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26937 termination strings. Try harder to avoid second try-completion.
26938 (completion-in-region-mode-map): Disable bindings that don't work yet.
26940 * comint.el: Use lexical-binding. Require CL.
26941 (comint-dynamic-complete-functions): Use comint-filename-completion.
26942 (comint-completion-addsuffix): Tweak custom type.
26943 (comint-filename-completion, comint--common-suffix)
26944 (comint--common-quoted-suffix, comint--table-subvert)
26945 (comint--complete-file-name-data): New functions.
26946 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26947 (comint-dynamic-list-filename-completions): Use them.
26948 (comint-dynamic-simple-complete): Make obsolete.
26950 * minibuffer.el (completion-in-region-mode):
26951 Keep completion-in-region-mode--predicate global.
26952 (completion-in-region--postch):
26953 Assume completion-in-region-mode--predicate is not null.
26955 * progmodes/flymake.el (flymake-start-syntax-check-process):
26956 Obey `dir'. Simplify.
26958 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26959 we're in VC after all.
26961 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26963 * vc/vc.el (vc-diff-build-argument-list-internal)
26964 (vc-version-ediff, vc-ediff): New commands.
26965 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26967 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26969 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26972 * obsolete/erc-hecomplete.el: Make obsolete.
26973 * obsolete/: Standardize obsolescence info in the header.
26975 2011-04-20 Glenn Morris <rgm@gnu.org>
26977 * calendar/solar.el (solar-horizontal-coordinates):
26978 Use the longitude argument rather than `calendar-longitude'.
26979 (solar-date-next-longitude): Remove unused locals.
26981 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26983 * whitespace.el: New version 13.2.1.
26985 2011-04-20 felix <EmacsWiki> (tiny change)
26987 * whitespace.el (global-whitespace-mode): Keep highlight when
26988 switching between major modes on a file.
26990 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26992 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26993 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26994 multi-line comments as well.
26996 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26998 Lexical-binding cleanup.
27000 * arc-mode.el (archive-mode-revert):
27001 * cmuscheme.el (scheme-interactively-start-process):
27002 * custom.el (custom-initialize-delay):
27003 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
27004 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
27005 * emacs-lock.el (emacs-lock-clear-sentinel):
27006 * ezimage.el (defezimage):
27007 * follow.el (follow-avoid-tail-recenter):
27008 * fringe.el (set-fringe-mode-1):
27009 * generic-x.el (bat-generic-mode-compile):
27010 * help-mode.el (help-info-variable, help-do-xref)
27011 (help-mode-revert-buffer):
27012 * help.el (view-emacs-todo):
27013 * iswitchb.el (iswitchb-completion-help):
27014 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
27015 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
27016 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
27017 * locate.el (locate-update):
27018 * longlines.el (longlines-encode-region)
27019 (longlines-after-change-function):
27020 * outline.el (outline-isearch-open-invisible):
27021 * ps-def.el (declare-function, charset-dimension, char-width)
27023 * ps-mule.el (ps-mule-plot-string):
27024 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
27025 (recentf-edit-list-select, recentf-edit-list-validate)
27026 (recentf-open-files-action):
27027 * rect.el (delete-whitespace-rectangle-line)
27028 (rectangle-number-line-callback):
27029 * register.el (window-configuration-to-register)
27030 (frame-configuration-to-register):
27031 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
27032 * select.el (xselect-convert-to-string, xselect-convert-to-length)
27033 (xselect-convert-to-targets, xselect-convert-to-delete)
27034 (xselect-convert-to-filename, xselect-convert-to-charpos)
27035 (xselect-convert-to-lineno, xselect-convert-to-colno)
27036 (xselect-convert-to-os, xselect-convert-to-host)
27037 (xselect-convert-to-user, xselect-convert-to-class)
27038 (xselect-convert-to-name, xselect-convert-to-integer)
27039 (xselect-convert-to-atom, xselect-convert-to-identity):
27040 * subr.el (declare, ignore, process-kill-without-query)
27041 (text-clone-maintain):
27042 * terminal.el (te-get-char, te-tic-sentinel):
27043 * tool-bar.el (tool-bar-make-keymap):
27044 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
27045 * type-break.el (type-break-mode, type-break-noninteractive-query):
27046 * view.el (View-back-to-mark):
27047 * wid-browse.el (widget-browse-action, widget-browse-widget)
27048 (widget-browse-widgets, widget-browse-sexp):
27049 * widget.el (define-widget-keywords):
27050 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
27051 Mark unused parameters.
27053 * align.el (align-adjust-col-for-rule): Mark unused parameter.
27054 (align-areas): Remove unused variable `look'.
27055 (align-region): Remove unused variables `real-end' and `pos-list'.
27057 * apropos.el (apropos-score-doc): Remove unused variable `i'.
27059 * bindings.el (mode-line-modified, mode-line-remote):
27060 Mark unused parameters.
27061 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
27063 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
27064 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
27066 * comint.el (comint-history-isearch-pop-state)
27067 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
27068 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
27069 (comint-substitute-in-file-name): Doc fix.
27071 * completion.el (cmpl-statistics-block): Mark unused parameter.
27072 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
27073 (save-completions-to-file, load-completions-from-file):
27074 Remove unused local variable `e'.
27076 * composite.el (compose-chars): Remove unused variable `len'.
27077 (lgstring-insert-glyph): Remove unused variable `g'.
27078 (compose-glyph-string): Remove unused variables `ascent',
27079 `descent', `lbearing' and `rbearing'.
27080 (compose-glyph-string-relative): Remove unused variables
27081 `lbearing', `rbearing' and `wadjust'.
27082 (compose-gstring-for-graphic): Remove unused variables `header',
27083 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
27084 (compose-gstring-for-terminal): Remove unused variables `header'
27085 and `nchars'. Use `let', not `let*'.
27087 * cus-edit.el (Custom-set, Custom-save, custom-reset)
27088 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
27089 (Custom-buffer-done, custom-buffer-create-internal)
27090 (custom-browse-visibility-action, custom-browse-group-tag-action)
27091 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
27092 (widget-magic-mouse-down-action, custom-toggle-parent)
27093 (custom-add-parent-links, custom-toggle-hide-variable)
27094 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
27095 (custom-toggle-hide-face, face, hook, custom-group-link-action)
27096 (custom-face-menu-create, custom-variable-menu-create, get)
27097 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
27098 (custom-reset-standard-save-and-update): Remove unused variable `value'.
27099 (customize-apropos): Remove unused variable `tests'.
27100 (custom-group-value-create): Remove unused variable `hidden-p'.
27101 (sort-fold-case): Declare.
27103 * cus-theme.el (custom-reset-standard-faces-list)
27104 (custom-reset-standard-variables-list): Declare.
27105 (customize-create-theme, custom-theme-revert, custom-theme-write)
27106 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27107 Mark unused parameters.
27109 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27111 * delim-col.el (delimit-columns-max): Move defvar before first use.
27113 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27114 (describe-char): Don't quote `lambda'. Mark unused parameter.
27116 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27117 (auto-insert): Declare.
27118 (desktop-restore-file-buffer): Rename desktop-* parameters;
27120 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27121 (desktop-buffer): Rename desktop-* parameters.
27123 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27124 (dframe-reposition-frame-xemacs, dframe-help-echo)
27125 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27126 Mark unused parameters.
27128 * dired-aux.el (backup-extract-version-start, overwrite-query)
27129 (overwrite-backup-query, rename-regexp-query)
27130 (rename-non-directory-query): Declare.
27131 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27132 (dired-add-entry): Remove unused variable `orig-file-name'.
27133 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27134 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27135 `dired-copy-preserve-time' directly.
27136 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27137 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27139 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27140 (dired-virtual-revert, dired-make-relative-symlink):
27141 Mark unused parameters.
27142 (manual-program): Declare.
27143 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27144 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27145 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27147 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27149 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27151 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27154 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27156 * electric.el (Electric-command-loop): Rename parameter
27157 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27159 * expand.el (expand-in-literal): Remove unused variable `here'.
27161 * facemenu.el (facemenu-add-new-color):
27162 Remove unused variable `docstring'.
27164 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27165 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27166 (face-attr-construct): Mark unused parameter. Doc fix.
27167 (read-color): Remove unused variable `hex-string'.
27169 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27170 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27171 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27172 (display-buffer-other-frame): Remove unused variable `old-window'.
27173 (kill-buffer-hook): Declare.
27174 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27175 Mark unused parameters.
27176 (after-find-file): Pass 1 to `auto-save-mode', not t.
27178 * files-x.el (auto-insert): Declare.
27179 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27181 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27182 variable `buf'. Mark unused parameter.
27183 (find-lisp-insert-directory): Mark unused parameter.
27185 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27186 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27187 (format-common-tail): Remove, unused.
27188 (format-deannotate-region): Remove unused variable `loc'.
27189 (format-annotate-region): Remove unused variable `p'.
27190 (format-annotate-single-property-change): Remove unused variables
27191 `default' and `tail'.
27193 * forms.el (read-file-filter): Declare.
27194 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27196 * frame.el (frame-creation-function-alist): Mark unused parameter.
27197 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27199 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27200 Remove unused parameters.
27201 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27202 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27204 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27205 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27206 (hfy-prepare-tag-map): Mark unused parameters.
27207 (htmlfontify-buffer): Use `called-interactively-p'.
27209 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27210 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27211 (ibuffer-do-occur): Mark unused parameters.
27212 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27213 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27215 * ibuffer.el: Don't quote `lambda'.
27216 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27217 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27218 Mark unused parameters.
27220 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27221 (ido-completing-read): Mark unused parameters.
27222 (ido-copy-current-word): Mark unused parameters;
27223 remove unused variable `name'.
27224 (ido-sort-merged-list): Remove unused parameter `dirs'.
27226 * ielm.el (ielm-input-sender): Mark unused parameter.
27227 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27228 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27229 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27230 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27231 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27233 * image-dired.el (image-dired-display-thumbs): Remove unused
27234 variables `curr-file' and `count'.
27235 (image-dired-remove-tag): Remove unused variable `start'.
27236 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27237 variable `curr-file'
27238 (image-dired-rotate-original): Remove unused variable `temp-file'.
27239 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27240 Remove unused variable `file'.
27241 (image-dired-gallery-generate): Remove unused variable `curr'.
27242 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27244 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27246 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27248 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27250 * isearch.el (minibuffer-history-symbol): Declare.
27251 (isearch-edit-string): Remove unused variable `err'.
27252 (isearch-message-prefix, isearch-message-suffix):
27253 Mark unused parameters.
27255 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27257 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27259 * makesum.el (double-column): Remove unused variable `cnt'.
27261 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27262 (ido-ignore-item-temp-list): Declare.
27264 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27265 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27266 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27267 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27270 * mouse-sel.el (mouse-extend-internal):
27271 Remove unused variable `orig-window-frame'.
27273 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27274 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27275 Move declarations before first use.
27276 (pcomplete-opt): Mark unused parameters; doc fix.
27278 * proced.el (proced-revert): Mark unused parameter.
27279 (proced-send-signal): Remove unused variable `err'.
27281 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27282 Rename parameter PREFIX-ARG to ARG.
27283 (ps-basic-plot-string, ps-basic-plot-whitespace):
27284 Mark unused parameters.
27286 * replace.el (replace-count): Define.
27287 (occur-revert-function): Mark unused parameters.
27288 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27289 (isearch-case-fold-search, isearch-string): Declare.
27290 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27291 bind `case-fold-search'. Remove unused variables `beg' and `end',
27293 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27294 COUNT and bind `replace-count'.
27295 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27298 * savehist.el (print-readably, print-string-length): Declare.
27300 * shadowfile.el (shadow-expand-cluster-in-file-name):
27301 Remove unused variable `cluster'.
27302 (shadow-copy-file): Remove unused variable `i'.
27303 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27304 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27305 (shadow-define-literal-group, shadow-define-regexp-group)
27306 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27308 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27309 (shell): Use `called-interactively-p'.
27310 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27312 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27313 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27314 (delete-backward-char): Remove unused variable `ocol'.
27315 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27316 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27317 (event-apply-hyper-modifier, event-apply-shift-modifier)
27318 (event-apply-control-modifier, event-apply-meta-modifier):
27319 Mark unused parameters.
27320 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27321 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27323 * speedbar.el (speedbar-ignored-directory-expressions)
27324 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27325 (speedbar-find-file, speedbar-dir-follow)
27326 (speedbar-directory-buttons-follow, speedbar-tag-find)
27327 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27328 (speedbar-buffers-line-directory, speedbar-buffer-click):
27329 Mark unused parameters.
27330 (speedbar-tag-file): Remove unused variable `mode'.
27331 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27333 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27335 * talk.el (talk): Remove unused variable `display'.
27337 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27338 (tar-write-region-annotate): Mark unused parameter.
27340 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27341 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27342 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27343 warning by another.
27345 * time-stamp.el (time-stamp-string-preprocess):
27346 Remove unused variable `require-padding'.
27348 * tree-widget.el (widget-glyph-enable): Declare.
27349 (tree-widget-action): Mark unused parameter.
27351 * w32-fns.el (x-get-selection): Mark unused parameter.
27352 (autoload-make-program, generated-autoload-file): Declare.
27354 * wdired.el (wdired-revert): Mark unused parameters.
27355 (wdired-xcase-word): Remove unused variable `err'.
27357 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27358 (whitespace-help-scroll): Remove unused variable `data-help'.
27360 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27361 (widget-image-insert, widget-after-change, default)
27362 (widget-default-format-handler, widget-default-notify)
27363 (widget-default-prompt-value, widget-info-link-action)
27364 (widget-url-link-action, widget-function-link-action)
27365 (widget-variable-link-action, widget-file-link-action)
27366 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27367 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27368 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27369 (widget-insert-button-action, widget-delete-button-action, visibility)
27370 (widget-documentation-link-action, widget-documentation-string-action)
27371 (widget-const-prompt-value, widget-regexp-match, symbol)
27372 (widget-coding-system-prompt-value)
27373 (widget-key-sequence-value-to-external, sexp)
27374 (widget-sexp-value-to-internal, character, vector, cons)
27375 (widget-choice-prompt-value, widget-boolean-prompt-value)
27376 (widget-color--choose-action): Mark unused parameters.
27377 (widget-item-match-inline, widget-choice-match-inline)
27378 (widget-checklist-match, widget-checklist-match-inline)
27379 (widget-group-match): Rename parameter VALUES to VALS.
27380 (widget-field-value-set): Remove unused variable `size'.
27381 (widget-color-action): Remove unused variables `value' and `start'.
27383 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27384 variable `dir'. Doc fix.
27385 (windmove-find-other-window): Don't pass it.
27387 * window.el (count-windows): Mark unused parameter.
27388 (bw-adjust-window): Remove unused variable `err'.
27390 * woman.el (woman-file-name): Remove unused variable `default'.
27391 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27392 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27393 (global-font-lock-mode): Declare.
27394 (woman-decode-region): Mark unused parameter.
27395 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27397 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27398 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27399 (x-dnd-handle-moz-url): Remove unused variable `title'.
27400 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27402 * xml.el (xml-parse-tag, xml-parse-attlist):
27403 Remove unused variable `pos'.
27405 2011-04-19 Glenn Morris <rgm@gnu.org>
27407 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27408 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27409 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27410 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27411 * calendar/cal-html.el (cal-html-insert-minical):
27412 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27413 (calendar-mark-date-pattern):
27414 Prefix "unused" locals.
27416 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27417 optional argument `style'.
27419 * calendar/appt.el (appt-make-list):
27420 * calendar/cal-china.el (calendar-chinese-date-string):
27421 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27422 (diary-hebrew-yahrzeit):
27423 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27424 * calendar/calendar.el (calendar-generate-window):
27425 * calendar/time-date.el (time-to-days):
27426 Remove unused local variables.
27428 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27430 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27431 glyphless-char-display table.
27432 (tabulated-list-glyphless-char-display): New var.
27434 2011-04-18 Sam Steingold <sds@gnu.org>
27436 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27437 to acknowledgments.
27439 2011-04-17 Glenn Morris <rgm@gnu.org>
27441 * calendar/diary-lib.el (diary-sexp-entry):
27442 * calendar/holidays.el (holiday-sexp):
27443 Set debug-on-error rather than the removed stack-trace-on-error.
27445 2011-04-16 Glenn Morris <rgm@gnu.org>
27447 * progmodes/f90.el: Use lexical-binding.
27448 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27450 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27452 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27453 (mail-mode): Setup mailalias completion here instead.
27454 * mail/mailalias.el: Use lexical-binding.
27455 (pattern, mailalias-done): Declare dynamic.
27456 (mail-completion-at-point-function): New function, from mail-complete.
27457 (mail-complete): Use it.
27458 (mail-completion-expand): New function.
27459 (mail-get-names): Use it.
27460 (mail-directory, mail-directory-process, mail-directory-stream):
27461 Don't use `pattern' for lexically bound arg.
27463 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27465 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27466 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27467 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27469 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27470 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27471 (byte-interactive-p): Define them again, for use when inlining
27474 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27476 * loadup.el: Use `string-to-number', not `string-to-int'.
27478 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27480 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27481 gud-gdb-complete-command.
27482 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27483 (gud-gdb-completion-at-point): New function.
27484 (gud-gdb-completions): Remove.
27486 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27488 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27489 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27490 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27491 whether `executable-find' is bound.
27493 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27495 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27497 * minibuffer.el (completion-in-region-mode-predicate)
27498 (completion-in-region-mode--predicate): New vars.
27499 (completion-in-region, completion-in-region--postch)
27500 (completion-in-region-mode): Use them.
27501 (completion--capf-wrapper): Also return the hook function.
27502 (completion-at-point, completion-help-at-point):
27503 Adjust and provide a predicate.
27505 Preserve arg names for advice of subr and lexical functions (bug#8457).
27506 * help-fns.el (help-function-arglist): Consolidate the subr and
27507 new-byte-code cases. Add argument `preserve-names' to extract names
27508 from the docstring when needed.
27509 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27510 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27511 (ad-arglist): Use help-function-arglist's new arg.
27512 (ad-definition-type): Use cond.
27514 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27516 * autorevert.el (auto-revert-handler):
27517 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27518 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27519 Don't quote lambda.
27521 * image-mode.el (image-transform-set-scale):
27522 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27524 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27526 * net/network-stream.el (network-stream-open-starttls): Only do
27527 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27528 Upgrades via gnutls-cli are too slow to be done opportunistically.
27530 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27532 * dframe.el (dframe-current-frame): Remove spurious quote.
27534 2011-04-12 Glenn Morris <rgm@gnu.org>
27536 * calendar/cal-tex.el (cal-tex-end-document):
27537 Try to automatically use latin1 input if needed.
27539 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27540 Don't try to cons a mark onto an empty element.
27542 2011-04-11 Leo Liu <sdl.web@gmail.com>
27544 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27546 (ido-kill-buffer-at-head): Support killing virtual buffers.
27548 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27550 * minibuffer.el (completion-show-inline-help): New var.
27551 (completion--do-completion, minibuffer-complete)
27552 (minibuffer-force-complete, minibuffer-complete-word):
27553 Inhibit minibuffer messages if completion-show-inline-help is nil.
27555 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27556 to avoid interference from inline help (Bug#5849).
27558 2011-04-10 Leo Liu <sdl.web@gmail.com>
27560 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27563 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27565 * image-mode.el (image-toggle-display-image): Signal an error if
27567 (image-transform-mode, image-transform-resize)
27568 (image-transform-set-rotation): Doc fix.
27569 (image-transform-set-resize): Delete.
27570 (image-transform-set-scale, image-transform-fit-to-height)
27571 (image-transform-fit-to-width): Handle image-toggle-display-image
27572 and image-transform-resize directly.
27574 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27576 * doc-view.el (doc-view-fit-width-to-window)
27577 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27578 New functions for fitting the shown image to the Emacs window size.
27579 (doc-view-mode-map): Add bindings for the new functions.
27581 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27583 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27584 Fix typo in docstring.
27586 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27588 * files.el (file-size-human-readable): Produce one digit after
27589 decimal, like "ls -lh" does.
27591 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27592 the file size representation.
27594 * simple.el (list-processes): If async subprocesses are not
27595 available, error out with a clear error message.
27597 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27599 * help.el (help-form-show): New function, to be called from C.
27600 Put help-form output in a buffer named differently than *Help*.
27602 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27604 * files.el (file-size-human-readable): New function.
27606 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27607 computing the representation inline. Don't require `cl'.
27609 2011-04-08 Glenn Morris <rgm@gnu.org>
27611 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27613 * net/browse-url.el (browse-url-firefox):
27614 Test system-type, not system-configuration.
27616 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27617 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27618 Use log-edit-empty-buffer-p. (Bug#7598)
27620 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27621 (rlogin-mode-map): Initialize in the defvar.
27622 (rlogin): Use ignore-errors.
27624 * replace.el (occur-mode-map): Some fixes for menu items.
27626 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27628 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27630 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27632 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27633 issuing unused warnings.
27635 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27638 * simple.el: Lisp reimplement of list-processes. Based on an
27639 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27640 (process-menu-mode): New major mode.
27641 (list-processes--refresh, list-processes):
27642 (process-menu-visit-buffer): New functions.
27644 * files.el (save-buffers-kill-emacs): Don't assume any return
27645 value of list-processes, which is undocumented anyway.
27647 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27649 * emacs-lisp/tabulated-list.el: New file.
27651 * emacs-lisp/package.el: Use Tabulated List mode.
27652 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27653 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27654 table format using Tabulated List mode variables.
27655 (package--push): New macro, replacing package-list-maybe-add.
27656 (package-menu--generate): Use package--push. Renamed from
27657 package--generate-package-list.
27658 (package-menu-refresh, list-packages): Use it.
27659 (package-menu--print-info): Rename from package-print-package.
27660 Return insertion data instead of inserting it directly.
27661 (package-menu-describe-package, package-menu-execute):
27662 Use tabulated-list-get-id.
27663 (package-menu-mark-delete, package-menu-mark-install)
27664 (package-menu-mark-unmark, package-menu-backup-unmark)
27665 (package-menu-mark-obsolete-for-deletion):
27666 Use tabulated-list-put-tag.
27667 (package--list-packages, package-menu-revert)
27668 (package-menu-get-package, package-menu-get-version)
27669 (package-menu-sort-by-column): Functions deleted.
27670 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27671 (package-menu--status-predicate, package-menu--version-predicate)
27672 (package-menu--name-predicate)
27673 (package-menu--description-predicate): Handle arguments in the
27674 Tabulated List format.
27675 (package-list-packages-no-fetch): Call list-packages.
27677 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27679 * files.el (after-find-file-from-revert-buffer): Remove variable.
27680 (after-find-file): Don't bind it.
27681 (revert-buffer-in-progress-p): New variable.
27682 (revert-buffer): Bind it.
27683 Pass nil for `after-find-file-from-revert-buffer'.
27685 * saveplace.el (save-place-find-file-hook): Use new variable
27686 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27688 2011-04-06 Glenn Morris <rgm@gnu.org>
27690 * Makefile.in (AUTOGEN_VCS): New variable.
27691 (autoloads): Use $AUTOGEN_VCS.
27693 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27694 * calendar/calendar.el (calendar-mode-map):
27695 Check for toolkit scroll bars. (Bug#8305)
27697 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27699 * minibuffer.el (completion-in-region--postch)
27700 (completion-in-region-mode): Remove unnecessary messages.
27702 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27704 * font-lock.el (font-lock-refresh-defaults):
27705 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27706 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27708 * info.el (Info-directory-list, Info-read-node-name-2)
27709 (Info-split-parameter-string): Doc fixes.
27710 (Info-virtual-nodes): Reflow docstring.
27711 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27712 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27713 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27714 Fix typos in docstrings.
27715 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27716 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27717 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27718 (Info-restore-desktop-buffer): Mark unused parameters.
27719 (Info-directory-find-file, Info-directory-find-node)
27720 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27721 (Info-virtual-index-find-node, Info-apropos-find-file)
27722 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27723 Mark unused parameters; fix typos in docstrings.
27724 (Info-virtual-index): Remove unused local variable `nodename'.
27726 2011-04-05 Deniz Dogan <deniz@dogan.se>
27728 * net/rcirc.el: Update my e-mail address.
27729 (rcirc-mode-map): Remove M-o binding.
27731 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27733 * startup.el (command-line): Save the cursor's theme-face
27734 directly, instead of using face-override-spec.
27736 * custom.el (load-theme): Minor optimization in assigning faces.
27738 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27740 * help-fns.el (describe-variable): Complete all variables having
27741 documentation, including keywords.
27742 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27744 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27746 Convert to lexical-binding.
27748 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27749 (bs--get-marked-string, bs--get-modified-string)
27750 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27751 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27752 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27754 * ehelp.el (electric-help-execute-extended)
27755 (electric-help-ctrl-x-prefix):
27756 * hexl.el (hexl-revert-buffer-function):
27757 * linum.el (linum-after-change, linum-after-scroll):
27758 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27760 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27762 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27769 * epg.el: Use lexical binding.
27771 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27773 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27775 * textmodes/flyspell.el (flyspell-word): Recognize default
27776 dictionary case for flyspell-mark-duplications-exceptions.
27777 Use regexp matching for languages.
27778 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27779 default dictionary (Bug#7926).
27781 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27783 * emacs-lisp/package.el (package--with-work-buffer):
27784 Recognize https URLs.
27786 * net/network-stream.el: Move from gnus/proto-stream.el.
27787 Change prefix to network-stream throughout.
27788 (open-protocol-stream): Merge into open-network-stream, leaving
27789 open-protocol-stream as an alias. Handle nil BUFFER args.
27791 * subr.el (open-network-stream): Move to net/network-stream.el.
27793 2011-04-02 Glenn Morris <rgm@gnu.org>
27795 * find-dired.el (find-exec-terminator): New option.
27796 (find-ls-option): Test for -ls support.
27797 (find-ls-subdir-switches): Test for -b in find-ls-option.
27798 (find-dired, find-grep-dired): Doc fixes.
27799 (find-dired): Use find-exec-terminator.
27801 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27802 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27803 (find-name-arg): Remove purecopy.
27805 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27806 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27807 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27808 accordingly. Don't add the null-device if not needed.
27810 * files.el (save-some-buffers): Doc fix.
27812 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27814 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27816 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27818 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27819 Use `dolist' rather than `mapcar'.
27821 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27823 Add lexical binding.
27825 * subr.el (apply-partially): Use new closures rather than CL.
27826 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27827 (dolist, dotimes): Use slightly different expansion for lexical code.
27828 (functionp): Move to C.
27829 (letrec): New macro.
27830 (with-wrapper-hook): Use it and apply-partially instead of CL.
27831 (eval-after-load): Preserve lexical-binding.
27832 (save-window-excursion, with-output-to-temp-buffer): Turn them
27835 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27837 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27839 (help-add-fundoc-usage): Don't add `Not documented'.
27840 (help-function-arglist): Handle closures, subroutines, and new
27841 byte-code-functions.
27842 (help-make-usage): Remove leading underscores.
27843 (describe-function-1): Handle closures.
27844 (describe-variable): Use special-variable-p for completion.
27846 * files.el (lexical-binding): Declare safe.
27848 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27849 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27850 (pcase): Add `let' pattern.
27851 Change memoization so it actually works.
27852 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27853 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27856 * emacs-lisp/macroexp.el: Use lexical binding.
27857 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27858 Don't convert ' to #' without checking that it's indeed quoting
27861 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27862 Use eval-sexp-add-defvars.
27863 (eval-sexp-add-defvars): New fun.
27865 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27867 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27869 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27870 than the internal `byte-compile-lambda'.
27871 (defmethod): Don't hide code under quotes.
27872 (eieio-defmethod): New `code' argument.
27874 * emacs-lisp/eieio-comp.el: Remove.
27876 * emacs-lisp/edebug.el (edebug-eval-defun)
27877 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27878 (edebug-toggle): Avoid `eval'.
27880 * emacs-lisp/disass.el (disassemble-internal): Handle new
27882 (disassemble-1): Handle new byte codes.
27884 * emacs-lisp/cl.el (pushnew): Silence warning.
27886 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27887 (cl-byte-compile-throw): Remove.
27888 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27890 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27893 * emacs-lisp/cconv.el: New file.
27895 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27896 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27897 (byte-compile-initial-macro-environment):
27898 Handle declare-function here.
27899 (byte-compile--lexical-environment): New var.
27900 (byte-stack-ref, byte-stack-set, byte-discardN)
27901 (byte-discardN-preserve-tos): New lap codes.
27902 (byte-interactive-p): Don't use any more.
27903 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27905 (byte-compile-lapcode): Use them and handle new lap codes.
27906 (byte-compile-obsolete): Remove.
27907 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27908 (byte-compile-arglist-warn): Check late def of inlinable funs.
27909 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27910 since they should have been expanded by now.
27911 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27912 (byte-compile-from-buffer): Remove unused second arg.
27913 (byte-compile-preprocess): New function.
27914 (byte-compile-toplevel-file-form): New function to distinguish
27915 file-form calls from outside from file-form calls from hunk-handlers.
27916 (byte-compile-file-form): Simplify.
27917 (byte-compile-file-form-defsubst): Remove.
27918 (byte-compile-file-form-defmumble): Simplify now that
27919 byte-compile-lambda always returns a byte-code-function.
27920 (byte-compile): Preprocess.
27921 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27922 Remove, not used any more.
27923 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27924 (byte-compile-make-args-desc): New funs.
27925 (byte-compile-lambda): Handle lexical functions. Always return
27926 a byte-code-function.
27927 (byte-compile-reserved-constants): New var, to make up room for
27928 closed-over variables.
27929 (byte-compile-constants-vector): Obey it.
27930 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27931 (byte-compile-macroexpand-declare-function): New function.
27932 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27933 byte-code-functions.
27934 (byte-compile-form): Check obsolescence here.
27935 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27936 (byte-compile-variable-ref): Remove.
27937 (byte-compile-dynamic-variable-op): New fun.
27938 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27939 (byte-compile-variable-set): New funs.
27940 (byte-compile-discard): Add 2 args.
27941 (byte-compile-stack-ref, byte-compile-stack-set)
27942 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27943 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27944 macroexpand-all instead.
27945 (byte-compile-quote-form): Remove.
27946 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27947 (byte-compile-bind, byte-compile-unbind): New funs.
27948 (byte-compile-let): Handle let* and lexical binding.
27949 (byte-compile-let*): Remove.
27950 (byte-compile-catch, byte-compile-unwind-protect)
27951 (byte-compile-track-mouse, byte-compile-condition-case):
27952 Handle a new :fun-body form, used for lexical scoping.
27953 (byte-compile-save-window-excursion)
27954 (byte-compile-with-output-to-temp-buffer): Remove.
27955 (byte-compile-defun): Simplify.
27956 (byte-compile-stack-adjustment): New fun.
27957 (byte-compile-out): Use it.
27958 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27960 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27963 * emacs-lisp/byte-opt.el: Use lexical binding.
27964 (byte-inline-lapcode): Remove (to bytecomp).
27965 (byte-compile-inline-expand): Pay attention to inlining to/from
27966 lexically bound code.
27967 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27969 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27970 any more and don't call compiler-macros.
27971 (byte-compile-splice-in-already-compiled-code): Remove.
27972 (byte-code): Don't inline any more.
27973 (disassemble-offset): Receive `bytes' as argument rather than via
27975 (byte-compile-tag-number): Declare before first use.
27976 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27977 `return' even if make-spliceable.
27978 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27979 obsolete interactive-p.
27980 (byte-optimize-lapcode): Optimize new lap-codes.
27981 Don't trip up on new form of `byte-constant' lap code.
27983 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27985 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27987 * custom.el (custom-initialize-default, custom-declare-variable):
27990 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27992 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27993 (COMPILE_FIRST): Add macroexp and cconv.
27994 * makefile.w32-in: Mirror changes in Makefile.in.
27996 * vc/cvs-status.el:
28000 * vc/smerge-mode.el:
28001 * textmodes/bibtex-style.el:
28002 * textmodes/css-mode.el:
28010 * emacs-lisp/smie.el:
28013 * abbrev.el: Use lexical binding.
28015 2011-04-01 Eli Zaretskii <eliz@gnu.org>
28017 * info.el (info-display-manual): New function.
28019 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28021 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
28023 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
28025 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
28026 an entry for that server in rcirc-authinfo. (Bug#8385)
28028 2011-03-31 Glenn Morris <rgm@gnu.org>
28030 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
28032 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
28034 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
28036 * progmodes/python.el (python-default-interpreter)
28037 (python-python-command-args, python-jython-command-args)
28038 (python-which-shell, python-which-args, python-which-bufname)
28039 (python-file-queue, python-comint-output-filter-function)
28040 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
28041 variables and functions.
28043 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
28045 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
28046 (completion-in-region-mode): New minor mode.
28047 (completion-in-region): Use it.
28048 (completion-in-region--data, completion-in-region-mode-map): New vars.
28049 (completion-in-region--postch): New function.
28050 (completion--capf-misbehave-funs, completion--capf-safe-funs):
28052 (completion--capf-wrapper): New function.
28053 (completion-at-point): Use it to track well-behavedness of
28055 (completion-help-at-point): New command.
28057 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
28059 * vc/add-log.el (add-change-log-entry): Don't use whitespace
28060 syntax class to search for whitespace on a single line
28061 (Message-ID: <4D938140.4030905@redhat.com>).
28063 2011-03-30 Leo Liu <sdl.web@gmail.com>
28065 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
28067 (edit-abbrevs-map): Bind them here.
28068 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
28070 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
28072 * allout.el (allout-hide-by-annotation, allout-flag-region):
28073 Reduce possibility of overlay leakage by making them volatile.
28075 * allout-widgets.el (allout-widgets-tally): Define as nil so the
28076 hash is not shared between buffers. Mode initialization is
28077 responsible for giving it a useful starting value.
28078 (allout-item-span): Reduce possibility of overlay leakage by
28079 making them volatile.
28080 (allout-widgets-count-buttons-in-region): Add diagnostic function
28081 for tracking down button overlay leaks.
28083 2011-03-29 Leo Liu <sdl.web@gmail.com>
28085 * ido.el (ido-read-internal): Use the default history var
28086 minibuffer-history if no HISTORY is specified.
28088 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
28090 * net/imap.el (imap-shell-open, imap-process-connection-type):
28091 Use imap-process-connection-type for 'shell' streams as well as
28092 Kerberos, SSL, other subprocesses.
28094 2011-03-28 Leo Liu <sdl.web@gmail.com>
28096 * abbrev.el (abbrev-table-empty-p): New function.
28097 (prepare-abbrev-list-buffer): Place empty abbrev tables after
28098 nonempty ones. (Bug#5937)
28100 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28102 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28104 2011-03-27 Leo Liu <sdl.web@gmail.com>
28106 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28107 for foreground and background colors.
28108 (ansi-color-make-color-map): Adapt.
28110 2011-03-25 Leo Liu <sdl.web@gmail.com>
28112 * midnight.el (midnight-time-float): Remove. Note it calculates
28113 the microsecond component incorrectly and seconds-to-time does the
28115 Remove redundant (require 'timer).
28117 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28118 (ido-completions): Remove unused arguments. (Bug#8329)
28120 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28122 * minibuffer.el (completion--flush-all-sorted-completions):
28123 Remove itself from hook.
28124 (completion-at-point): Let the functions perform the completion
28125 immediately and return nil or t.
28126 * comint.el (comint-dynamic-complete-functions): Now identical to
28127 completion-at-point-functions.
28128 (comint-dynamic-list-input-ring): Remove unused var `index'.
28129 (comint--match-partial-filename, comint--unquote&expand-filename):
28130 New funs, split from comint-match-partial-filename.
28131 (comint-dynamic-complete): Use completion-at-point.
28132 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28134 2011-03-24 Drew Adams <drew.adams@oracle.com>
28136 * thingatpt.el: Support `defun'.
28138 2011-03-23 Leo Liu <sdl.web@gmail.com>
28140 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28142 * help-mode.el (help-mode-finish): Tweak regexp.
28144 2011-03-23 Glenn Morris <rgm@gnu.org>
28146 * eshell/esh-opt.el (eshell-eval-using-options):
28147 Do not bind unused local variable `eshell-option-stub'.
28149 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28151 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28153 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28154 keymap variable in `with-no-warnings' to avoid a warning when the
28155 keymap has been already `defconst'ed.
28157 2011-03-22 Leo Liu <sdl.web@gmail.com>
28159 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28160 encode all chars in abbrevs; otherwise use emacs-mule or
28161 utf-8-emacs. (Bug#8308)
28163 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28165 * simple.el (backward-delete-char-untabify):
28166 Avoid warning about using `delete-backward-char'.
28168 * image.el (image-type-file-name-regexps): Make it variable.
28169 `imagemagick-register-types' modifies it, and the user may want
28170 to add new extensions for known image types.
28171 (imagemagick-register-types): Throw error if not using ImageMagick.
28173 2011-03-22 Leo Liu <sdl.web@gmail.com>
28175 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28176 located before rcirc-prompt-end-marker.
28177 (rcirc-complete): Error if point is not after rcirc prompt.
28178 Handle the case when table is nil.
28179 (rcirc-user-authenticated): Define to fix compiler warning.
28181 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28183 * custom.el (custom--inhibit-theme-enable): Make it affect only
28184 custom-theme-set-variables and custom-theme-set-faces.
28185 (provide-theme): Ignore custom--inhibit-theme-enable.
28186 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28187 (custom-enabling-themes): Delete variable.
28188 (enable-theme): Accept only loaded themes as arguments.
28189 Ignore the special custom-enabled-themes variable.
28190 (custom-enabled-themes): Forbid themes from setting this.
28191 Eliminate use of custom-enabling-themes.
28192 (custom-push-theme): Quote "changed" custom var entry.
28194 2011-03-21 Leo Liu <sdl.web@gmail.com>
28196 * ido.el (ido-read-internal): Add ido-selected to history instead
28199 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28201 * subr.el (deferred-action-list, deferred-action-function):
28204 2011-03-21 Leo Liu <sdl.web@gmail.com>
28206 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28207 change on 2011-02-13 (bug#8309).
28209 * minibuffer.el (read-file-name-function): Change default value.
28210 (read-file-name--defaults): Rename from read-file-name-defaults.
28211 (read-file-name-default): Rename from read-file-name.
28212 (read-file-name): Call read-file-name-function.
28214 2011-03-21 Glenn Morris <rgm@gnu.org>
28216 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28219 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28221 * cus-theme.el: Add missing provide statement.
28222 (customize-create-theme): Extract theme value correctly.
28223 (custom-theme-visit-theme): Autoload.
28224 (customize-create-theme): Prompt before inserting default faces.
28226 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28228 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28229 units and musical notes.
28231 2011-03-20 Leo Liu <sdl.web@gmail.com>
28233 * ido.el (ido-read-internal): Use completing-read-default.
28234 (ido-completing-read): Fix compatibility with completing-read.
28236 2011-03-20 Christian Ohler <ohler@gnu.org>
28238 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28239 (ert-delete-all-tests): Use `called-interactively-p' rather than
28241 (ert--make-xrefs-region): Respect END.
28243 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28245 * dired-aux.el (dired-create-directory): Signal an error if the
28246 directory already exists (Bug#8246).
28248 * facemenu.el (list-colors-display): Call list-faces-display
28249 inside with-help-window.
28250 (list-colors-print): Use display property to align the final
28251 column, instead of checking window-width.
28253 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28255 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28256 windows-nt systems.
28257 (emerge-protect-metachars): Quote correctly for ms-dos and
28258 windows-nt systems.
28260 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28262 * info.el (info-initialize): Replace all uses of `:' with
28263 path-separator for compatibility with non-Unix systems.
28264 Cache quoting of path-separator. (Bug#8258)
28266 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28268 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28269 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28270 (mouse-avoidance-mode): Fix typos in docstrings.
28272 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28274 * startup.el (package-subdirectory-regexp): Move from package.el.
28275 Omit \\` and \\', and let callers add them.
28277 * emacs-lisp/package.el (package-strip-version)
28278 (package-load-all-descriptors): Add \\` and \\' to
28279 package-subdirectory-regexp before using it.
28280 (package-untar-buffer): New arg DIR; ensure that file untars only
28281 into this expected directory. Remove superfluous delete-region.
28282 (package-unpack): Caller changed.
28283 (package-tar-file-info): Use package-subdirectory-regexp.
28285 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28287 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28288 diff-mode-shared-map (bug#8284).
28289 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28291 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28293 * calendar/time-date.el (format-seconds): Use assoc instead of
28294 assoc-string, since assoc-string doesn't exist in XEmacs.
28296 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28298 * custom.el (custom-known-themes): Reflow docstring.
28299 (custom-theme-load-path): Fix typo in docstring.
28300 (load-theme): Fix typo in error message.
28301 (custom-available-themes, custom-variable-theme-value):
28302 Use `let', not `let*'.
28304 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28306 * calc/README: Mention inclusion of musical notes.
28308 * calc/calc-units.el (calc-lu-quant): Rename from
28309 `calc-logunits-quantity'.
28310 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28311 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28312 (calc-db): Rename from `calc-dblevel'.
28313 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28314 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28315 (calc-np): Rename from `calc-nplevel'.
28316 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28317 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28318 (calc-lu-plus): Rename from `calc-logunits-add'.
28319 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28320 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28321 (calc-lu-minus): Rename from `calc-logunits-sub'.
28322 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28323 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28324 (calc-lu-times): Rename from `calc-logunits-mul'.
28325 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28326 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28327 (calc-lu-divide): Rename from `calc-logunits-div'.
28328 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28329 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28331 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28332 functions being autoloaded.
28334 * calc/calc.el (calc-lu-power-reference): Rename from
28335 `calc-logunits-power-reference'.
28336 (calc-lu-field-reference): Rename from
28337 `calc-logunits-field-reference'.
28339 * calc/calc-help.el (calc-l-prefix-help):
28340 Mention musical note functions.
28342 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28344 * minibuffer.el (completion-all-sorted-completions):
28345 Use :completion-cycle-penalty text property if present.
28347 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28349 * allout.el (allout-yank-processing): Adjust for new rebulleting
28350 regime so bullet being yanked is used without prompting the user
28353 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28355 * startup.el (command-line): Warn the user that _emacs is deprecated.
28357 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28359 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28360 (delphi-verbose, delphi-comment-face, delphi-string-face)
28361 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28362 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28363 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28364 (delphi-new-comment-line, delphi-font-lock-defaults)
28365 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28366 Fix typos in docstrings.
28368 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28370 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28371 Invert the roles of character and string values for INSTEAD, so a
28372 string is used for the more common case of a defaulting prompt.
28374 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28376 * progmodes/ruby-mode.el (ruby-backward-sexp):
28377 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28378 * play/gamegrid.el (gamegrid-make-face):
28379 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28380 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28381 * notifications.el (notifications-notify):
28382 * net/xesam.el (xesam-search-engines):
28383 * net/quickurl.el (quickurl-list-insert):
28384 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28386 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28388 * startup.el (command-line): Update package subdirectory regexp.
28390 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28392 * allout.el (allout-abbreviate-flattened-numbering)
28393 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28395 * subr.el (read-char-choice): Only show the cursor after the prompt,
28396 not after the answer.
28398 2011-03-15 Kevin Ryde <user42@zip.com.au>
28400 * help-fns.el (variable-at-point): Skip leading quotes, if any
28403 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28405 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28408 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28410 * shell.el (shell): When called interactively, offer to change the
28411 shell file name on remote hosts.
28413 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28415 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28416 integration for LDAP parameters. The host, base, user or binddn,
28417 and secret tokens can be specified in a netrc file, for instance.
28418 This is optional because an `auth-source' parameter must be
28419 specified in the search attributes.
28421 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28423 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28425 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28427 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28428 into declaration. Remove redundant and harmful binding.
28430 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28432 * files.el (file-ownership-preserved-p): Pass `integer' as an
28433 explicit 2nd argument to `file-attributes'. If the file's owner
28434 is the Administrators group on Windows, and the current user is
28435 Administrator, consider that a match.
28437 * server.el (server-ensure-safe-dir): Consider server directory
28438 safe on MS-Windows if its owner is the Administrators group while
28439 the current Emacs user is Administrator. Use `=' to compare
28440 numerical UIDs, since they could be integers or floats.
28442 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28444 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28446 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28448 Sync with Tramp 2.2.1.
28450 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28452 * net/trampver.el: Update release number.
28454 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28456 * progmodes/compile.el (compilation--previous-directory): Fix up
28457 various nil/dead-marker mismatches (bug#8014).
28458 (compilation-directory-properties, compilation-error-properties):
28459 Don't call it at a position past the one we're about to change.
28461 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28462 Disable obsolescence warnings in the file that declares it.
28464 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28466 * allout-widgets.el (allout-widgets-tally):
28467 Initialize allout-widgets-tally as a hash table rather than nil to
28468 prevent mode-line redisplay warnings. Also, clarify the module
28469 description and fix a comment typo.
28471 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28473 * help-fns.el (describe-variable): Don't complete keywords.
28474 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28476 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28478 * emacs-lisp/package.el (package-version-join): Impose a standard
28479 string representation for pre/alpha/beta version lists.
28480 (package-unpack-single): Standardize the directory name by passing
28481 it through package-version-join.
28482 (package-strip-rcs-id): Accept any version string that does not
28483 signal an error in version-to-list.
28485 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28487 * simple.el (delete-trailing-whitespace): Return nil for the
28488 benefit of `write-file-functions'.
28490 2011-03-10 Glenn Morris <rgm@gnu.org>
28492 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28494 * vc/vc-git.el (vc-git-program): New option.
28495 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28496 (vc-git--call): Use it.
28498 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28500 * cus-edit.el (Custom-newline): If no button at point, look
28501 for a subgroup button at start-of-line. (Bug#2298)
28503 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28505 2011-03-10 Julien Danjou <julien@danjou.info>
28507 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28508 `cursor-type' is nil.
28510 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28512 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28514 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28516 * allout.el: Change so yank of distinctive-bullet items
28517 preserves the existing header prefix, rebulleting it if necessary,
28518 rather than replacing it. This is necessary for proper operation
28519 of cooperative addons like allout-widgets.
28520 (allout-make-topic-prefix, allout-rebullet-heading):
28521 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28522 value as alternate bullet to be used, instead of prompting the user
28523 for a bullet character.
28525 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28527 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28528 Do not use `tramp-file-name-port', because this returns also
28529 `tramp-default-port'.
28531 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28533 * net/rcirc.el (rcirc-handler-001): Remove useless
28534 with-rcirc-process-buffer.
28535 (rcirc-check-auth-status): Swap arguments to string-match.
28537 2011-03-09 Glenn Morris <rgm@gnu.org>
28539 * shell.el (shell-mode):
28540 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28542 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28543 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28545 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28547 * emacs-lisp/package.el (package-refresh-contents)
28548 (package-menu-execute): Use condition-case-no-debug.
28550 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28552 * simple.el (shell-command-to-string): Use `process-file'.
28554 * emacs-lisp/package.el (package-tar-file-info): Handle also
28557 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28558 Use `equal' for upload base check.
28560 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28562 * textmodes/texinfo.el (texinfo-environments):
28563 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28565 2011-03-08 Glenn Morris <rgm@gnu.org>
28567 * cus-start.el (cursor-in-non-selected-windows):
28568 Fix :set quoting oddness. (Bug#8192)
28570 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28571 in some setf expressions. (Bug#2159)
28573 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28575 * custom.el (custom-available-themes): Return themes in
28576 alphabetical order.
28578 See ChangeLog.15 for earlier changes.
28580 ;; Local Variables:
28584 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28586 This file is part of GNU Emacs.
28588 GNU Emacs is free software: you can redistribute it and/or modify
28589 it under the terms of the GNU General Public License as published by
28590 the Free Software Foundation, either version 3 of the License, or
28591 (at your option) any later version.
28593 GNU Emacs is distributed in the hope that it will be useful,
28594 but WITHOUT ANY WARRANTY; without even the implied warranty of
28595 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28596 GNU General Public License for more details.
28598 You should have received a copy of the GNU General Public License
28599 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.