1 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2 Daniel Hackney <dan@haxney.org>
4 First part of Daniel Hackney's patch to package.el.
5 * emacs-lisp/package.el: Use defstruct.
6 (package-desc): New, main struct.
7 (package--bi-desc, package--ac-desc): New structs, used to describe the
8 format in external files.
9 (package-desc-vers): Replace with package-desc-version accessor.
10 (package-desc-doc): Replace with package-desc-summary accessor.
11 (package-activate-1): Remove `package' arg since the pkg-vec now
13 (define-package): Use package-desc-from-define.
14 (package-unpack-single): Change file-name arg to be a symbol.
15 (package--add-to-archive-contents): Use package-desc-create and new
16 accessor functions to package--ac-desc.
17 (package-buffer-info, package-tar-file-info): Return a package-desc.
18 (package-install-from-buffer): Remove `type' argument. Change pkg-info
19 arg to be a package-desc.
20 (package-install-file): Adjust accordingly. Use \' to match EOS.
21 (package--from-builtin): New function.
22 (describe-package-1, package-menu--generate): Use it.
23 (package--make-autoloads-and-compile): Change name arg to be a symbol.
24 (package-generate-autoloads): Idem and return the name of the file.
25 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26 Change pkg-info arg to be a package-desc.
27 Use package-make-ac-desc.
28 (package-upload-file): Use \' to match EOS.
29 * finder.el (finder-compile-keywords): Use package-make-builtin.
31 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
33 * vc/vc.el (vc-deduce-fileset): Change error message.
34 (vc-read-backend): New function.
35 (vc-next-action): Use it.
37 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
39 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
40 (prolog-font-lock-keywords): Use regexp-opt instead.
41 Don't manually highlight strings.
42 (prolog-mode-variables): Simplify comment-start-skip.
43 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
45 * emacs-lisp/generic.el (generic--normalise-comments)
46 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
47 (generic-mode-set-comments): Use them.
48 (generic-bracket-support): Use setq-local.
49 (generic-make-keywords-list): Declare obsolete.
51 2013-06-11 Glenn Morris <rgm@gnu.org>
53 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
54 Prettify after setting font-lock-defaults. (Bug#14574)
56 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
58 * replace.el (query-replace, occur-read-regexp-defaults-function)
60 * subr.el (declare-function, number-sequence, local-set-key)
61 (substitute-key-definition, locate-user-emacs-file)
62 (with-silent-modifications, split-string, eval-after-load):
63 Fix typos, remove unneeded backslashes and reflow some docstrings.
65 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
67 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
68 default for Elisp files.
70 2013-06-11 Glenn Morris <rgm@gnu.org>
72 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
73 although define-derived-mode was doing this anyway. (Bug#14583)
75 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
77 * allout.el (allout-encryption-plaintext-sanitization-regexps):
78 Fix make-variable-buffer-local call to refer to the correct variable.
80 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
82 * eshell/em-term.el (eshell-visual-commands)
83 (eshell-visual-subcommands, eshell-visual-options):
84 Add summary line to docstrings. Add cross-references.
86 2013-06-10 Glenn Morris <rgm@gnu.org>
88 * epa.el (epa-read-file-name): New function. (Bug#14510)
89 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
91 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
93 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
94 output redirection to be ignored with visual commands.
96 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
98 * eshell/em-term.el (eshell-visual-command-p): New function.
99 (eshell-term-initialize): Move long lambda to separate function
100 eshell-visual-command-p.
101 * eshell/em-dirs.el (eshell-dirs-initialise):
102 * eshell/em-script.el (eshell-script-initialize):
103 Add missing #' to lambda.
105 2013-06-08 Leo Liu <sdl.web@gmail.com>
107 * progmodes/octave.el (octave-add-log-current-defun): New function.
108 (octave-mode): Set add-log-current-defun-function.
109 (octave-goto-function-definition): Do not move point if not found.
110 (octave-find-definition): Enhance to try subfunctions first.
112 2013-06-08 Glenn Morris <rgm@gnu.org>
114 * emacs-lisp/bytecomp.el (byte-compile-char-before)
115 (byte-compile-backward-char, byte-compile-backward-word):
116 Improve previous change, to handle non-explicit nil.
118 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
120 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
121 (smie--opener/closer-at-point): New function.
122 (smie--matching-block-data): Use it. Don't match from right after an
123 opener or right before a closer. Obey smie-blink-matching-inners.
124 Don't signal a mismatch for repeated inners like "switch..case..case".
126 2013-06-07 Leo Liu <sdl.web@gmail.com>
128 * progmodes/octave.el (octave-mode): Set comment-use-global-state
130 (octave-function-header-regexp): Fix. (Bug#14570)
131 (octave-help-mode-finish-hook, octave-help-mode-finish):
132 Remove. Just use temp-buffer-show-hook.
134 * newcomment.el (comment-search-backward): Revert last change.
137 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
139 2013-06-07 Eli Zaretskii <eliz@gnu.org>
141 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
142 through xargs, to avoid failure due to MS-Windows limitations on
145 2013-06-06 Glenn Morris <rgm@gnu.org>
147 * font-lock.el (lisp-font-lock-keywords-2):
148 Treat user-error like error.
150 * emacs-lisp/bytecomp.el (byte-compile-char-before)
151 (byte-compile-backward-char, byte-compile-backward-word):
152 Handle explicit nil arguments. (Bug#14565)
154 2013-06-05 Alan Mackenzie <acm@muc.de>
156 * isearch.el (isearch-allow-prefix): New user option.
157 (isearch-other-meta-char): Don't exit isearch when a prefix
158 argument is typed whilst `isearch-allow-prefix' is non-nil.
161 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
163 * autorevert.el (auto-revert-notify-handler): Use memq.
164 Hide assertion failure.
166 * skeleton.el: Use cl-lib.
167 (skeleton-further-elements): Use defvar-local.
168 (skeleton-insert): Use cl-progv.
170 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
172 * progmodes/prog-mode.el (prog-prettify-symbols)
173 (prog-prettify-install): Update docstrings.
175 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
177 * simple.el: Move all the prog-mode code to prog-mode.el.
178 * progmodes/prog-mode.el: New file.
179 * loadup.el: Add prog-mode.el.
181 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
183 * simple.el (prog-prettify-symbols): Add version.
184 (prog-prettify-install): Add convenience function to prettify symbols.
186 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
187 (perl--augmented-font-lock-keywords-1)
188 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
189 variables and use it.
191 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
192 (cfengine3-mode): Remove unneeded variable and use it.
194 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
195 (lisp--augmented-font-lock-keywords-1)
196 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
197 Remove unneeded variables and use it.
199 2013-06-05 João Távora <joaotavora@gmail.com>
201 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
202 to point when opening the connection. (Bug#14380)
204 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
206 * subr.el (load-history-regexp, load-history-filename-element)
207 (eval-after-load, after-load-functions, do-after-load-evaluation)
208 (eval-next-after-load, display-delayed-warnings)
209 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
210 definition of save-match-data.
211 (overriding-local-map): Remove accidental obsolescence declaration.
213 * emacs-lisp/edebug.el (edebug-result): Move before first use.
215 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
217 Generalize symbol prettify support to prog-mode and implement it
218 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
219 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
220 (prog--prettify-font-lock-compose-symbol)
221 (prog-prettify-font-lock-symbols-keywords): New variables and
222 functions to support symbol prettification.
223 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
224 (lisp--augmented-font-lock-keywords-1)
225 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
226 (lisp--prettify-symbols-alist): Implement prettify of lambda.
227 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
228 (cfengine3--prettify-symbols-alist, cfengine3-mode):
229 Implement prettify of -> => :: strings.
230 * progmodes/perl-mode.el (perl-prettify-symbols)
231 (perl--font-lock-compose-symbol)
232 (perl--font-lock-symbols-keywords): Move to prog-mode.
233 (perl--prettify-symbols-alist): Prettify -> => :: strings.
234 (perl-font-lock-keywords-1)
235 (perl-font-lock-keywords-2): Remove explicit prettify support.
236 (perl--augmented-font-lock-keywords)
237 (perl--augmented-font-lock-keywords-1)
238 (perl--augmented-font-lock-keywords-2, perl-mode):
239 Implement prettify support.
241 2013-06-05 Leo Liu <sdl.web@gmail.com>
243 Re-implement smie matching block highlight using
244 show-paren-data-function. (Bug#14395)
245 * emacs-lisp/smie.el (smie-matching-block-highlight)
246 (smie--highlight-matching-block-overlay)
247 (smie--highlight-matching-block-lastpos)
248 (smie-highlight-matching-block)
249 (smie-highlight-matching-block-mode): Remove.
250 (smie--matching-block-data-cache): New variable.
251 (smie--matching-block-data): New function.
252 (smie-setup): Use smie--matching-block-data for
253 show-paren-data-function.
255 * progmodes/octave.el (octave-mode-menu): Fix.
256 (octave-find-definition): Skip garbage lines.
258 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
260 Fix compilation error with simultaneous dynamic+lexical scoping.
261 Add warning when a defvar appears after the first let-binding.
262 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
263 (byte-compile-close-variables): Initialize it.
264 (byte-compile--declare-var): New function.
265 (byte-compile-file-form-defvar)
266 (byte-compile-file-form-define-abbrev-table)
267 (byte-compile-file-form-custom-declare-variable): Use it.
268 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
269 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
270 (byte-compile-bind): Handle dynamic bindings that shadow
272 (byte-compile-unbind): Make arg non-optional.
273 (byte-compile-let): Simplify.
274 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
275 (cconv--analyse-function, cconv-analyse-form): Populate it.
276 Protect byte-compile-bound-variables to limit the scope of defvars.
277 (cconv-analyse-form): Add missing rule for (defvar <foo>).
278 Remove unneeded rule for `declare'.
280 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
281 so as to avoid depending on cl-adjoin at run-time.
282 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
284 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
285 (macroexp--warn-and-return): Use it.
287 2013-06-05 Leo Liu <sdl.web@gmail.com>
289 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
291 2013-06-04 Leo Liu <sdl.web@gmail.com>
293 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
294 (compilation-auto-jump): Suppress the "Mark set" message to give
297 2013-06-04 Alan Mackenzie <acm@muc.de>
299 Remove faulty optimisation from indentation calculation.
300 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
301 search limit based on 2000 characters back from indent-point.
303 2013-06-03 Tassilo Horn <tsdh@gnu.org>
305 * eshell/em-term.el (cl-lib): Require `cl-lib'.
307 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
309 * emacs-lisp/lisp.el: Use lexical-binding.
310 (lisp--local-variables-1, lisp--local-variables): New functions.
311 (lisp--local-variables-completion-table): New var.
312 (lisp-completion-at-point): Use it complete let-bound vars.
314 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
317 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
319 * autorevert.el (auto-revert-notify-enabled)
320 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
321 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
322 (auto-revert-notify-handler): Handle also gfilenotify.
324 * subr.el (file-notify-handle-event): New defun. Replacing ...
325 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
328 2013-06-03 Juri Linkov <juri@jurta.org>
330 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
331 `M-s h .'. (Bug#14427)
333 * hi-lock.el (highlight-symbol-at-point): New alias for the new
334 command `hi-lock-face-symbol-at-point'.
335 (hi-lock-face-symbol-at-point): New command.
336 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
337 (hi-lock-menu): Add `highlight-symbol-at-point'.
338 (hi-lock-mode): Doc fix.
340 * isearch.el (isearch-forward-symbol-at-point): New command.
341 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
342 (isearch-highlight-regexp): Add a regexp which matches
343 words/symbols for word/symbol mode.
345 * subr.el (find-tag-default-bounds): New function with the body
346 mostly moved from `find-tag-default'.
347 (find-tag-default): Move most code to `find-tag-default-bounds',
348 call it and apply `buffer-substring-no-properties' afterwards.
350 2013-06-03 Tassilo Horn <tsdh@gnu.org>
352 * eshell/em-term.el (eshell-term-initialize):
353 Use `cl-intersection' rather than `intersection'.
355 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
357 * vc/log-view.el: Doc fix.
358 (log-view-mode-map): Copy keymap from `special-mode-map'.
360 2013-06-02 Eric Ludlam <zappo@gnu.org>
362 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
363 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
364 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
365 (eieio-unbound, eieio-default-superclass)
366 (eieio--define-field-accessors, method-static, method-before)
367 (method-primary, method-after, method-num-lists)
368 (method-generic-before, method-generic-primary)
369 (method-generic-after, method-num-slots)
370 (eieio-specialized-key-to-generic-key)
371 (eieio--check-type, class-v, class-p)
372 (eieio-class-name, define-obsolete-function-alias)
373 (eieio-class-parents-fast, eieio-class-children-fast)
374 (same-class-fast-p, class-constructor, generic-p)
375 (generic-primary-only-p, generic-primary-only-one-p)
376 (class-option-assoc, class-option, eieio-object-p)
377 (class-abstract-p, class-method-invocation-order)
378 (eieio-defclass-autoload-map, eieio-defclass-autoload)
379 (eieio-class-un-autoload, eieio-defclass)
380 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
381 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
382 (eieio--defgeneric-init-form, eieio-defgeneric-form)
383 (eieio-defgeneric-reset-generic-form)
384 (eieio-defgeneric-form-primary-only)
385 (eieio-defgeneric-reset-generic-form-primary-only)
386 (eieio-defgeneric-form-primary-only-one)
387 (eieio-defgeneric-reset-generic-form-primary-only-one)
388 (eieio-unbind-method-implementations)
389 (eieio--defmethod, eieio--typep)
390 (eieio-perform-slot-validation, eieio-validate-slot-value)
391 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
392 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
393 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
394 (eieio-slot-name-index, eieio-class-slot-name-index)
395 (eieio-set-defaults, eieio-initarg-to-attribute)
396 (eieio-attribute-to-initarg, eieio-c3-candidate)
397 (eieio-c3-merge-lists, eieio-class-precedence-c3)
398 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
399 (eieio-class-precedence-list, eieio-generic-call-methodname)
400 (eieio-generic-call-arglst, eieio-generic-call-key)
401 (eieio-generic-call-next-method-list)
402 (eieio-pre-method-execution-functions, eieio-generic-call)
403 (eieio-generic-call-primary-only, eieiomt-method-list)
404 (eieiomt-optimizing-obarray, eieiomt-install)
405 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
406 (eieio-generic-form, eieio-defmethod, make-obsolete)
407 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
408 (defclass): Remove `eval-and-compile' from macro.
409 (call-next-method, shared-initialize): Instead of using
410 `scoped-class' variable, use new eieio--scoped-class, and
411 eieio--with-scoped-class.
412 (initialize-instance): Rename local variable 'scoped-class' to
413 'this-class' to remove ambiguitity from old global.
415 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
417 (eieio--scoped-class-stack): New variable
418 (eieio--scoped-class): New fcn
419 (eieio--with-scoped-class): New scoping macro.
420 (eieio-defclass): Use pushnew instead of add-to-list.
421 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
422 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
423 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
424 `scoped-class' variable, use new eieio--scoped-class, and
425 eieio--with-scoped-class.
427 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
429 2013-06-02 Tassilo Horn <tsdh@gnu.org>
431 * eshell/esh-ext.el (eshell-external-command): Pass args to
432 `eshell-find-interpreter'.
433 (eshell-find-interpreter): Add new second parameter ARGS.
435 * eshell/em-script.el (eshell-script-initialize): Add second arg
436 to the function added as MATCH to `eshell-interpreter-alist'.
438 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
439 the function added as MATCH to `eshell-interpreter-alist'.
441 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
442 (eshell-visual-options): New defcustom.
443 (eshell-escape-control-x): Adapt docstring.
444 (eshell-term-initialize): Test `eshell-visual-subcommands' and
445 `eshell-visual-options' in addition to `eshell-visual-commands'.
446 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
448 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
450 * progmodes/python.el (python-indent-block-enders): Add break,
451 continue and raise keywords.
453 2013-06-01 Glenn Morris <rgm@gnu.org>
455 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
457 Plain (f)boundp silences compilation warnings since Emacs 22.1.
458 * progmodes/cc-cmds.el (delete-forward-p):
459 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
460 * progmodes/cc-engine.el (buffer-syntactic-context):
461 * progmodes/cc-fonts.el (face-property-instance):
462 * progmodes/cc-mode.el (set-keymap-parents):
463 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
464 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
465 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
466 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
467 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
469 * progmodes/cc-vars.el (other): Emacs has this widget since
470 at least 21.1, so don't (re)define it.
472 * eshell/em-cmpl.el (eshell-cmpl-initialize):
473 Replace the obsolete alias pcomplete-arg-quote-list.
475 2013-06-01 Leo Liu <sdl.web@gmail.com>
477 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
479 (inferior-octave-minimal-columns)
480 (inferior-octave-last-column-width): New variables.
481 (inferior-octave-track-window-width-change): New function.
482 (inferior-octave-mode): Adjust column width so that Octave output,
483 for example from 'ls', can fit into the window nicely.
485 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
487 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
488 Highlight expansions inside regexp literals.
490 2013-05-31 Glenn Morris <rgm@gnu.org>
492 * obsolete/sym-comp.el (symbol-complete):
493 Replace obsolete completion-annotate-function.
495 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
497 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
499 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
500 New function, checks if point is inside a literal that allows
501 expression expansion.
502 (ruby-syntax-propertize-expansion): Use it.
503 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
506 2013-05-30 Juri Linkov <juri@jurta.org>
508 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
510 (isearch-invisible): New variable.
511 (isearch-forward): Doc fix.
512 (isearch-mode): Set `isearch-invisible'
513 to the value of `search-invisible'.
514 (isearch-toggle-case-fold): Doc fix.
515 (isearch-toggle-invisible): New command.
516 (isearch-query-replace): Let-bind `search-invisible'
517 to the value of `isearch-invisible'.
518 (isearch-search): Use `isearch-invisible' instead of
519 `search-invisible'. Let-bind `search-invisible'
520 to the value of `isearch-invisible'. (Bug#11378)
522 2013-05-30 Juri Linkov <juri@jurta.org>
524 * replace.el (perform-replace): Avoid `isearch-range-invisible'
525 call when `query-flag' is nil and `search-invisible' is non-nil.
528 2013-05-30 Glenn Morris <rgm@gnu.org>
530 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
532 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
533 (cc-require): Suppress spurious "noruntime" warnings.
534 (cc-require-when-compile): Use fboundp, for sake of compiler.
536 * progmodes/cc-mode.el: Move load of cc-vars before that of
537 cc-langs (which in turn loads cc-vars), to quieten compiler.
539 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
541 * paren.el: Simplify the code.
542 (show-paren-mode): Always start the timer.
543 (show-paren--idle-timer): Rename from show-paren-idle-timer.
544 (show-paren--overlay, show-paren--overlay-1): Rename from
545 show-paren-overlay and show-paren-overlay-1, and initialize to an
546 overlay rather than to nil.
547 (show-paren-function): Misc cleanup and simplifications.
549 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
551 * paren.el (show-paren-data-function): New hook.
552 (show-paren--default): New function, extracted from show-paren-function.
553 (show-paren-function): Use show-paren-data-function.
555 2013-05-30 Glenn Morris <rgm@gnu.org>
557 * ielm.el (ielm-map, ielm-complete-symbol):
558 Use completion-at-point rather than obsolete functions.
559 (inferior-emacs-lisp-mode): Doc fix.
560 Set completion-at-point-functions, rather than
561 comint-dynamic-complete-functions.
563 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
564 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
565 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
567 * image.el (image-animated-p): Tweak definition.
569 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
570 (rlogin-process-connection-type): Tweak default. Add set-after.
571 (rlogin-host): Doc fix.
572 (rlogin): Tweak prompt.
573 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
575 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
576 * progmodes/tcl.el (inferior-tcl-mode-map):
577 Use completion-at-point rather than obsolete alias.
579 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
581 * minibuffer.el (read-file-name-completion-ignore-case):
582 Move before completion--in-region, for eager macro expansion.
584 2013-05-29 Juri Linkov <juri@jurta.org>
586 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
587 for total count of matching lines. Add `global-matches' for total
588 count of matches. Rename `matches' to `lines' for count of
589 matching lines. Add `matches' for count of matches.
590 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
591 to `prev-line' for line number of prev match endpt.
592 Increment `matches' for every match. Print the number of
593 matching lines in the header.
594 (occur-context-lines): Rename `lines' to `curr-line'.
595 Rename `prev-lines' to `prev-line'. (Bug#14017)
597 2013-05-29 Juri Linkov <juri@jurta.org>
599 * replace.el (perform-replace): Add `skip-read-only-count',
600 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
601 Increment them for corresponding conditions and report the number
602 of skipped occurrences in the final message. (Bug#11746)
603 (query-replace, query-replace-regexp, query-replace-regexp-eval)
604 (replace-string, replace-regexp): Doc fix.
606 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
608 * emacs-lisp/trace.el (trace--read-args): Provide a default.
610 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
611 prog-mode-map (bug#14504).
613 2013-05-29 Leo Liu <sdl.web@gmail.com>
615 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
616 (octave-help): Small simplification.
618 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
619 off the highlight first.
621 2013-05-29 Glenn Morris <rgm@gnu.org>
623 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
624 Handle idlwave-last-system-routine-info-cons-cell being nil.
626 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
627 (idlwave-write-paths): Simplify via with-temp-buffer.
629 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
630 * emulation/cua-rect.el: Also load cua-base at run time.
632 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
633 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
634 (cperl-imenu-on-info): Require imenu.
636 2013-05-28 Alan Mackenzie <acm@muc.de>
638 Handle "capitalised keywords" correctly.
639 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
641 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
643 * eshell/em-unix.el: Add -r option to cp.
645 2013-05-28 Glenn Morris <rgm@gnu.org>
647 * vc/vc-arch.el (vc-exec-after): Declare.
648 (vc-switches): Autoload.
649 * vc/vc-bzr.el: No need to require vc when compiling.
650 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
651 (vc-resynch-buffer, vc-dir-refresh): Declare.
652 (vc-setup-buffer, vc-switches): Autoload.
653 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
654 (vc-resynch-buffer): Declare.
655 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
656 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
657 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
658 (grep-read-regexp, grep-read-files, grep-expand-template)
659 (vc-dir-refresh): Declare.
660 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
661 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
662 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
663 * vc/vc-mtn.el (vc-exec-after): Declare.
664 (vc-switches): Autoload.
665 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
666 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
667 (vc-file-tree-walk): Declare.
668 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
669 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
670 (vc-tag-precondition, vc-rename-master): Autoload.
671 * vc/vc-svn.el (vc-exec-after): Declare.
672 (vc-switches, vc-setup-buffer): Autoload.
673 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
675 (vc-resynch-buffer): Declare.
677 * obsolete/fast-lock.el (byte-compile-warnings):
678 Don't warn about obsolete features in this obsolete file.
680 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
681 Move definition before use.
683 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
684 (dun-unix-verbs): Remove dun-zippy.
685 (dun-zippy): Remove function.
687 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
689 2013-05-27 Juri Linkov <juri@jurta.org>
691 * replace.el (replace-search): New function with code moved out
692 from `perform-replace'.
693 (replace-highlight, replace-dehighlight): Move function definitions
694 up closer to `replace-search'. (Bug#11746)
696 2013-05-27 Juri Linkov <juri@jurta.org>
698 * replace.el (perform-replace): Ignore invisible matches.
699 In addition to checking `query-replace-skip-read-only', also
700 filter out matches by calling `run-hook-with-args-until-failure'
701 on `isearch-filter-predicates', and also check `search-invisible'
702 for t or call `isearch-range-invisible'.
703 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
705 2013-05-27 Juri Linkov <juri@jurta.org>
707 * isearch.el (isearch-filter-predicates): Rename from
708 `isearch-filter-predicate'. Doc fix. (Bug#11378)
709 (isearch-message-prefix): Display text from the property
710 `isearch-message-prefix' of the currently active filters.
711 (isearch-search): Don't compare `isearch-filter-predicate' with
712 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
713 on `isearch-filter-predicates'. Also check `search-invisible' for t
714 or call `isearch-range-invisible'.
715 (isearch-filter-visible): Make obsolete.
716 (isearch-lazy-highlight-search):
717 Call `run-hook-with-args-until-failure' on
718 `isearch-filter-predicates' and use `isearch-range-invisible'.
720 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
721 `isearch-filter-predicates' instead of `funcall'ing
722 `isearch-filter-predicate'.
723 (Info-mode): Set `Info-isearch-filter' to
724 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
726 * dired-aux.el (dired-isearch-filter-predicate-orig):
728 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
729 (dired-isearch-filenames-end): Add and remove
730 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
731 instead of changing the value of `isearch-filter-predicate'.
732 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
733 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
734 Put property `isearch-message-prefix' to "filename " on
735 `dired-isearch-filter-filenames'.
737 * wdired.el (wdired-change-to-wdired-mode):
738 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
739 locally instead of changing `isearch-filter-predicate'.
740 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
742 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
744 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
745 return the commit hash (Bug#14459). Also set the
746 `vc-git-detached' property.
747 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
748 (vc-git-mode-line-string): Use the same help-echo format whether
749 in detached mode or not, because we know the actual revision now.
750 When in detached mode, shorten the revision to 7 chars.
752 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
754 * emacs-lisp/easy-mmode.el (define-minor-mode):
755 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
756 mode hook and provide a docstring.
758 2013-05-27 Alan Mackenzie <acm@muc.de>
760 Remove spurious syntax-table text properties inserted by C-y.
761 * progmodes/cc-mode.el (c-after-change): Also clear hard
762 syntax-table property with value nil.
764 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
766 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
767 when reading the events; the buffer layout shall not be changed.
769 2013-05-27 Leo Liu <sdl.web@gmail.com>
771 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
773 (inferior-octave-directory-tracker): Automatically re-sync
775 (octave-help): Improve handling of 'See also'.
777 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
779 * doc-view.el: Minor naming convention tweaks.
780 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
782 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
783 even if there's no `display' property yet (bug#14435).
785 2013-05-25 Eli Zaretskii <eliz@gnu.org>
787 * subr.el (unmsys--file-name): Rename from reveal-filename.
789 * Makefile.in (custom-deps, finder-data, autoloads)
790 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
791 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
792 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
794 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
796 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
797 error-completion on the first 2 args of condition-case (bug#14446).
800 2013-05-25 Leo Liu <sdl.web@gmail.com>
802 * comint.el (comint-previous-matching-input): Do not flood the
803 *Messages* buffer with trivial messages.
805 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
807 * progmodes/flymake.el (flymake-nop): Don't return a string.
808 (flymake-set-at): Fix typo.
810 * simple.el (read--expression): New function, extracted from
811 eval-expression. Set completion-at-point-functions (bug#14465).
812 (eval-expression, eval-minibuffer): Use it.
814 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
816 * progmodes/flymake.el (flymake-save-buffer-in-file)
817 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
818 (flymake-selected-frame, flymake-log, flymake-ins-after)
819 (flymake-set-at, flymake-get-buildfile-from-cache)
820 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
821 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
822 Refine the doc string.
823 (flymake-get-file-name-mode-and-masks): Reformat.
824 (flymake-get-real-file-name-function): Fix a minor bug.
826 2013-05-24 Juri Linkov <juri@jurta.org>
828 * progmodes/grep.el (grep-mode-font-lock-keywords):
829 Support =linenumber= format used by git-grep for lines with
830 function names. (Bug#13549)
832 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
834 * progmodes/octave.el (octave-smie-rules): Return nil rather than
835 0 after a semi-colon; it works better for smie-auto-fill.
836 (octave--indent-new-comment-line): New function.
837 (octave-indent-new-comment-line): Use it (indirectly).
838 (octave-mode): Don't disable smie-auto-fill. Use add-function to
839 modify comment-line-break-function.
841 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
842 (smie-setup): Use add-function to set it.
844 2013-05-24 Sam Steingold <sds@gnu.org>
846 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
847 argument (before the `interactive' argument).
849 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
851 * image-mode.el (image-mode-winprops): Add winprops to
852 image-mode-winprops-alist before running
853 image-mode-new-window-functions.
854 * doc-view.el (doc-view-new-window-function): Don't delay
855 doc-view-goto-page via timers (bug#14435).
857 2013-05-24 Tassilo Horn <tsdh@gnu.org>
859 * doc-view.el: Integrate with desktop.el. (Bug#14435)
860 (doc-view-desktop-save-buffer): New function.
861 (doc-view-restore-desktop-buffer): New function.
862 (desktop-buffer-mode-handlers):
863 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
865 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
866 `desktop-save-buffer' function.
868 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
870 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
871 (tramp-gvfs-file-name-handler): Raise a user error when
872 `tramp-gvfs-enabled' is nil.
873 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
874 Do not raise a user error when loading package. (Bug#14447)
876 * net/xesam.el: Move to obsolete/.
878 2013-05-24 Glenn Morris <rgm@gnu.org>
880 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
882 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
884 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
885 (Info-find-node, Man-getpage-in-background): Declare.
887 * mail/unrmail.el (unrmail):
888 Replace obsolete detect-coding-with-priority.
890 * net/socks.el (socks-split-string): Use this rather than split-string.
891 (socks-nslookup-host): Update for above change.
892 (dynamic-choice, s5-dynamic-choice-match)
893 (s5-dynamic-choice-match-inline, s5-widget-value-create):
894 Comment out unused code.
896 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
897 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
898 (gud-tooltip-echo-area): Make obsolete.
899 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
901 * progmodes/js.el (js--optimize-arglist): Declare.
903 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
905 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
906 (ediff-window-C): Declare.
908 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
909 Tweak requires to silence compiler.
911 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
912 (he-search-string, he-tried-table, he-expand-list)
913 (he-init-string, he-string-member, he-substitute-string)
914 (he-reset-string): Declare.
916 * obsolete/options.el (list-options): Use custom-variable-p,
917 rather than obsolete alias.
919 2013-05-23 Sam Steingold <sds@gnu.org>
921 * simple.el (shell-command-on-region): Pass the `replace' argument
922 down to `call-process-region' to comply with the doc as reported on
923 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
925 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
927 * emacs-lisp/smie.el (smie-indent-forward-token)
928 (smie-indent-backward-token): Handle string tokens (bug#14381).
930 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
932 * ielm.el (ielm-menu): New menu.
933 (inferior-emacs-lisp-mode): Set comment-start.
935 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
937 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
938 Fix deactivate action.
940 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
943 * lisp/textmodes/reftex-parse.el
944 (reftex-locate-bibliography-files): Accept options for
945 bibliography commands.
946 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
947 Add addbibresource. Basic Biblatex support.
949 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
951 * net/tramp-gvfs.el (top):
952 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
953 when loading package. (Bug#14447)
955 2013-05-23 Glenn Morris <rgm@gnu.org>
957 * progmodes/js.el: No need to load comint when compiling.
958 (ring-insert, comint-send-string, comint-send-input)
959 (comint-last-input-end, ido-chop): Declare.
961 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
962 * vc/ediff-mult.el: Adjust requires.
963 (ediff-directories-internal, ediff-directory-revisions-internal)
964 (ediff-patch-file-internal): Declare.
965 * vc/ediff-ptch.el: Adjust requires.
966 (ediff-use-last-dir, ediff-buffers-internal): Declare.
967 (ediff-find-file): Autoload.
968 * vc/ediff-util.el: No need to load ediff when compiling.
969 (ediff-regions-internal): Declare.
970 * vc/ediff-wind.el: Adjust requires.
971 (ediff-compute-toolbar-width): Define when compiling.
972 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
973 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
974 (dired-get-filename, dired-get-marked-files)
975 (ediff-last-dir-patch, ediff-patch-default-directory)
976 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
977 (ediff-patch-buffer-internal): Declare.
979 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
980 (ispell-process, ispell-buffer-local-words, lm-summary)
981 (lm-section-start, lm-section-end): Declare.
982 (checkdoc-ispell-init): Simplify.
984 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
985 (he-string-member, he-reset-string, he-substitute-string): Declare.
987 * eshell/em-ls.el: Adjust requires.
988 (eshell-glob-regexp): Declare.
989 * eshell/em-tramp.el: Adjust requires.
990 (eshell-parse-command): Autoload.
991 * eshell/em-xtra.el: Adjust requires.
992 (eshell-parse-command): Autoload.
993 * eshell/esh-ext.el: Adjust requires.
994 (eshell-parse-command, eshell-close-handles): Autoload.
995 * eshell/esh-io.el: Adjust requires.
996 (eshell-output-filter): Autoload.
997 * eshell/esh-util.el: No need to load tramp when compiling.
998 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1000 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1001 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1002 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1003 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1004 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1005 * eshell/esh-opt.el, eshell/esh-proc.el:
1006 * eshell/esh-var.el: Adjust requires.
1007 * eshell/eshell.el: Do not require esh-util twice.
1008 (eshell-add-input-to-history): Declare.
1009 (eshell-command): Check history module is active before using it.
1011 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1013 2013-05-22 Leo Liu <sdl.web@gmail.com>
1015 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1017 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1019 * autorevert.el (auto-revert-notify-add-watch)
1020 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1021 it indicates changes in file modification time.
1023 2013-05-22 Glenn Morris <rgm@gnu.org>
1025 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1026 Always delete the autoloaded function from the noruntime and
1027 unresolved functions lists.
1029 * allout.el: No need to load epa, epg, overlay when compiling.
1030 (epg-context-set-passphrase-callback, epg-list-keys)
1031 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1032 (epg-key-user-id-list): Declare.
1034 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1035 (viper-set-parsing-style-toggling-macro)
1036 (viper-set-emacs-state-searchstyle-macros):
1037 Use called-interactively-p on Emacs.
1038 (viper-looking-back): Make it an obsolete alias. Update callers.
1039 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1040 Use looking-back rather than viper-looking-back.
1041 (viper-tmp-insert-at-eob, viper-enlarge-region)
1042 (viper-read-string-with-history, viper-register-to-point)
1043 (viper-append-to-register, viper-change-state-to-vi)
1044 (viper-backward-char-carefully, viper-forward-char-carefully)
1045 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1046 (viper-change-state-to-emacs): Declare.
1047 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1048 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1049 * emulation/viper-mous.el: Do not load viper-cmd.
1050 (viper-backward-char-carefully, viper-forward-char-carefully)
1051 (viper-forward-word, viper-adjust-window): Declare.
1053 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1055 * progmodes/idlw-help.el (idlwave-help-fontify):
1056 Use called-interactively-p.
1058 * term/w32console.el (w32-get-console-codepage)
1059 (w32-get-console-output-codepage): Declare.
1061 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1062 Remove unnecessary declarations.
1063 (dframe-message): Doc fix.
1065 * info.el (dframe-select-attached-frame, dframe-current-frame):
1068 * speedbar.el (speedbar-message): Make it an obsolete alias.
1070 (speedbar-with-attached-buffer)
1071 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1072 (speedbar-with-writable): Use backquote.
1073 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1074 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1075 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1076 rather than speedbar- aliases.
1077 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1078 (speedbar-make-specialized-keymap, speedbar-insert-button)
1079 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1080 (speedbar-do-function-pointer): Declare.
1081 (rmail-speedbar-button, rmail-speedbar-find-file)
1082 (rmail-speedbar-move-message):
1083 Use dframe-with-attached-buffer rather than speedbar- alias.
1084 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1085 (dframe-message, speedbar-make-specialized-keymap)
1086 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1087 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1088 (speedbar-insert-button, dframe-select-attached-frame)
1089 (dframe-maybee-jump-to-attached-frame)
1090 (speedbar-change-initial-expansion-list)
1091 (speedbar-previously-used-expansion-list-name): Declare.
1092 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1093 Use dframe-message, dframe-with-attached-buffer rather than
1095 (gud-sentinel): Silence compiler.
1096 * progmodes/vhdl-mode.el (speedbar-refresh)
1097 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1098 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1099 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1100 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1101 (speedbar-file-lists, speedbar-make-tag-line)
1102 (speedbar-line-directory, speedbar-goto-this-file)
1103 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1104 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1105 (speedbar-make-button, speedbar-reset-scanners)
1106 (speedbar-files-item-info, speedbar-line-text)
1107 (speedbar-find-file-in-frame, speedbar-set-timer)
1108 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1109 (speedbar-with-writable): Do not (re)define it.
1110 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1111 rather than speedbar- alias.
1113 2013-05-21 Leo Liu <sdl.web@gmail.com>
1115 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1117 (octave-mode): Tweak fill-nobreak-predicate.
1118 (inferior-octave-startup): Check process to avoid infinite loop.
1119 (inferior-octave): Pop to buffer first to show abornmal process
1122 2013-05-21 Glenn Morris <rgm@gnu.org>
1124 * printing.el (pr-menu-bar): Define when compiling.
1126 2013-05-21 Leo Liu <sdl.web@gmail.com>
1128 * progmodes/octave.el (octave-auto-fill): Remove.
1129 (octave-indent-new-comment-line): Improve.
1130 (octave-mode): Use auto fill mode through
1131 comment-line-break-function and fill-nobreak-predicate
1132 (octave-goto-function-definition): Support DEFUN_DLD.
1133 (octave-beginning-of-defun): Small Tweak
1134 (octave-help): Show parent directory.
1136 2013-05-21 Glenn Morris <rgm@gnu.org>
1138 * files.el (dired-unmark):
1139 * progmodes/gud.el (gdb-input): Update declarations.
1141 * calculator.el (electric, ehelp): No need to load when compiling.
1142 (Electric-command-loop, electric-describe-mode): Declare.
1144 * doc-view.el (doc-view-current-converter-processes): Move before use.
1146 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1147 Move MODE-set-explicitly definition before use.
1149 * international/mule-diag.el (mule-diag):
1150 Don't use obsolete window-system-version.
1152 * mail/feedmail.el (smtpmail): No need to load when compiling.
1153 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1155 * mail/mail-utils.el (rfc822): No need to load when compiling.
1156 (rfc822-addresses): Autoload it.
1157 (mail-strip-quoted-names): Trivial simplification.
1159 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1160 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1162 * net/snmp-mode.el (tempo): Don't duplicate requires.
1164 * progmodes/prolog.el (info): No need to load when compiling.
1165 (comint): Require before shell requires it.
1166 (Info-goto-node): Autoload it.
1167 (Info-follow-nearest-node): Declare.
1168 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1170 * textmodes/artist.el (picture-mode-exit): Declare.
1172 * textmodes/reftex-parse.el (reftex-parse-from-file):
1173 Trivial rewrite so the compiler can parse it better.
1175 2013-05-20 Leo Liu <sdl.web@gmail.com>
1177 * progmodes/octave.el (octave-help-mode-map)
1178 (octave-help-mode-finish-hook): New variables.
1179 (octave-help-mode, octave-help-mode-finish): New functions.
1180 (octave-help): Use octave-help-mode.
1182 2013-05-20 Glenn Morris <rgm@gnu.org>
1184 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1186 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1188 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1189 start at point, so that expansion starting right after opening
1190 slash in a regexp is recognized.
1191 (ruby-syntax-before-regexp-re): New defvar, extracted from
1192 ruby-syntax-propertize-function. Since the value of this regexp
1193 is looked up at runtime now, we should be able to turn
1194 `ruby-syntax-methods-before-regexp' into a defcustom later.
1195 (ruby-syntax-propertize-function): Split regexp matching into two
1196 parts, for opening and closing slashes. That allows us to skip
1197 over string interpolations and support multiline regexps.
1198 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1199 for them, which calls `ruby-syntax-propertize-expansion'.
1200 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1201 call to `ruby-syntax-propertize-function'.
1202 (ruby-syntax-propertize-expansion): Extracted from
1203 `ruby-syntax-propertize-expansions'. Handles one expansion.
1204 (ruby-syntax-propertize-percent-literal): Leave point right after
1205 the percent symbol, so that the expression expansion rule can
1206 propertize the contents.
1207 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1209 (ruby-syntax-propertize-expansions): Remove.
1211 2013-05-18 Juri Linkov <juri@jurta.org>
1213 * man.el (Man-default-man-entry): Remove `-' from the end
1214 of the default value. (Bug#14400)
1216 2013-05-18 Glenn Morris <rgm@gnu.org>
1218 * comint.el (comint-password-prompt-regexp):
1219 Allow "password for XXX" where XXX contains colons (eg https://...).
1221 2013-05-18 Leo Liu <sdl.web@gmail.com>
1223 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1224 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1225 (octave-source-directories): Don't check process.
1226 (octave-source-directories, octave-find-definition): Doc fix.
1228 2013-05-18 Glenn Morris <rgm@gnu.org>
1230 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1231 Remove backspace/delete bindings. (Bug#14392)
1233 * cus-dep.el (custom-make-dependencies): Sort the output.
1234 (custom-versions-load-alist): Convert comment to doc.
1236 2013-05-17 Leo Liu <sdl.web@gmail.com>
1238 * newcomment.el (comment-search-backward): Stricter in finding
1239 comment start. (Bug#14303)
1241 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1242 (octave-comment-start-skip): Properly anchored.
1244 2013-05-17 Leo Liu <sdl.web@gmail.com>
1246 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1247 Clean up when turned off. (Bug#14395)
1248 (smie--highlight-matching-block-overlay): No longer buffer-local.
1249 (smie-highlight-matching-block): Adjust.
1251 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1253 Doc string fix for "nanoseconds" (Bug#14406).
1254 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1255 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1257 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1259 * calc/calc-units.el (math-extract-units): Preserve powers
1262 2013-05-17 Leo Liu <sdl.web@gmail.com>
1264 * subr.el (delete-consecutive-dups): New function.
1265 * ido.el (ido-set-matches-1): Use it.
1266 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1267 * ido.el (ido-remove-consecutive-dups): Remove.
1269 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1271 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1272 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1273 regexp-opt's `words'.
1275 2013-05-16 Leo Liu <sdl.web@gmail.com>
1277 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1278 (smie--highlight-matching-block-overlay)
1279 (smie--highlight-matching-block-lastpos)
1280 (smie--highlight-matching-block-timer): New variables.
1281 (smie-highlight-matching-block): New function.
1282 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1283 (smie-setup): Conditionally enable smie-blink-matching-open.
1285 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1287 Sync with upstream verilog-mode r840.
1288 * progmodes/verilog-mode.el (verilog-mode-version)
1289 (verilog-mode-release-date): Update.
1290 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1291 (verilog-sig-tieoff): Fix string error on
1292 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1293 (verilog-read-decls): Fix parameters confusing
1294 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1296 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1298 * subr.el (reveal-filename): New function.
1300 * loadup.el: Compute Emacs executable versions on MS-Windows,
1301 where executables have the .exe extension. Add a hard link
1302 emacs-XX.YY.ZZ.exe on MS-Windows.
1304 * Makefile.in (XARGS_LIMIT): New variable.
1305 (custom-deps, finder-data, autoloads)
1306 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1307 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1308 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1309 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1311 2013-05-16 Leo Liu <sdl.web@gmail.com>
1313 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1314 (octave-mode-menu, octave-mode-map): Remove its uses.
1316 2013-05-16 Reto Zimmermann <reto@gnu.org>
1318 Sync with upstream vhdl mode v3.34.2.
1319 * progmodes/vhdl-mode.el: Use `push' throughout.
1320 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1321 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1322 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1323 (vhdl-actual-generic-name): New option to derive actual generic name.
1324 (vhdl-port-paste-signals): Replace formal by actual generics.
1325 (vhdl-beautify): New name for old group vhdl-align. Update users.
1326 (vhdl-beautify-options): New option.
1327 (vhdl-last-input-event): New compat alias. Use throughout.
1328 (vhdl-goto-line): Replace user level function `goto-line'.
1329 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1330 vhdl-fix-statement-buffer.
1331 (vhdl-create-mode-menu): Add some entries.
1332 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1333 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1334 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1335 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1336 to force statements on one line.
1337 (vhdl-remove-trailing-spaces-region):
1338 New, split from vhdl-remove-trailing-spaces.
1339 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1340 Respect vhdl-beautify-options.
1341 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1342 (vhdl-update-sensitivity-list): Not add with index if exists without.
1343 Not include array index with signal. Ignore keywords in comments.
1344 (vhdl-get-visible-signals): Regexp tweaks.
1345 (vhdl-template-component-inst): Handle empty library.
1346 (vhdl-template-type): Add template for 'enum' type.
1347 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1348 Use vhdl-replace-string.
1349 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1350 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1351 (vhdl-speedbar-initialize): Update for above name change.
1352 (vhdl-compose-wire-components): Fix in handling of constants.
1353 (vhdl-error-regexp-emacs-alist): New variable.
1354 (vhdl-error-regexp-add-emacs): New function;
1355 adds support for new compile.el (Emacs 22+)
1356 (vhdl-generate-makefile-1): Change target order for single lib. units.
1357 Allow use of absolute file names.
1359 2013-05-16 Leo Liu <sdl.web@gmail.com>
1361 * simple.el (prog-indent-sexp): Indent enclosing defun.
1363 2013-05-15 Glenn Morris <rgm@gnu.org>
1365 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1366 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1367 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1368 (whitespace-highlight): Move to whitespace group.
1370 * comint.el (comint-source):
1371 * pcmpl-linux.el (pcmpl-linux):
1372 * shell.el (shell-faces):
1373 * eshell/esh-opt.el (eshell-opt):
1374 * international/ccl.el (ccl): Remove empty custom groups.
1376 * completion.el (dynamic-completion-mode):
1377 * jit-lock.el (jit-lock-debug-mode):
1378 * minibuffer.el (completion-in-region-mode):
1379 * type-break.el (type-break-mode-line-message-mode)
1380 (type-break-query-mode):
1381 * emulation/tpu-edt.el (tpu-edt-mode):
1382 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1383 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1384 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1386 * term/xterm.el (xterm): Change parent group to terminals.
1388 * master.el (master): Remove empty custom group.
1389 (master-mode): Remove unused :group argument.
1390 * textmodes/refill.el (refill): Remove empty custom group.
1391 (refill-mode): Remove unused :group argument.
1393 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1395 * cus-dep.el: Provide a feature.
1396 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1397 Don't mistakenly ignore files whose basenames match a basename
1398 from preloaded-file-list (eg cedet/ede/simple.el).
1399 Add a fallback method for getting :group.
1401 2013-05-15 Juri Linkov <juri@jurta.org>
1403 * isearch.el (isearch-char-by-name): Rename from
1404 `isearch-insert-char-by-name'. Doc fix.
1405 (isearch-forward): Mention `isearch-char-by-name' in
1406 the docstring. (Bug#13348)
1408 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1409 `exit-minibuffer' instead of
1410 `isearch-nonincremental-exit-minibuffer'.
1411 (isearch-edit-string): Remove mention of
1412 `isearch-nonincremental-exit-minibuffer' from docstring.
1413 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1414 (isearch-forward-exit-minibuffer)
1415 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1417 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * loadup.el: Just use unversioned DOC.
1421 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1422 literals as extending to EOB.
1423 (nxml-last-fontify-end): Remove unused variable.
1424 (nxml-after-change1): Use with-silent-modifications.
1425 (nxml-extend-after-change-region): Simplify.
1426 (nxml-extend-after-change-region1): Remove function.
1427 (nxml-after-change1): Don't adjust for dependent regions.
1428 (nxml-fontify-matcher): Simplify.
1429 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1430 (xmltok-add-dependent): Remove function.
1431 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1432 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1433 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1434 unclosed <[[, <?, comment, and other literals as extending to EOB.
1435 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1436 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1438 (rng-do-some-validation-1): Don't mark dependent regions.
1439 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1440 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1441 (nxml-clear-dependent-regions): Remove functions.
1442 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1443 (nxml-ensure-scan-up-to-date):
1444 Don't clear&mark dependent regions.
1446 2013-05-15 Leo Liu <sdl.web@gmail.com>
1448 * progmodes/octave.el (octave-goto-function-definition):
1449 Improve and fix callers.
1451 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1454 the setter (bug#14387).
1456 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1457 surrounding group (bug#14402).
1459 2013-05-14 Juri Linkov <juri@jurta.org>
1461 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1464 2013-05-14 Glenn Morris <rgm@gnu.org>
1466 * progmodes/f90.el (f90-imenu-generic-expression):
1467 Fix typo in 2013-05-08 change. (Bug#14402)
1469 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1471 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1472 Remove signals for which replies are never received.
1474 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1476 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1477 (gdb-handler-alist, gdb-handler-number): Remove variables.
1478 (gdb-handler-list): New variable.
1479 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1480 (gdb-pending-handler-p, gdb-handle-reply)
1481 (gdb-remove-all-pending-triggers): New functions.
1482 (gdb-discard-unordered-replies): New defcustom.
1483 (gdb-handler): New defstruct.
1484 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1485 instead of gdb-pending-triggers. Update docstring.
1486 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1487 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1488 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1489 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1490 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1491 (gdb-frame-handler): Pending triggers are now automatically managed.
1492 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1494 (gdb-input): Automatically handles pending triggers. Update docstring.
1495 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1496 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1498 (gdb-done-or-error): Now use gdb-handle-reply.
1500 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1502 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1505 2013-05-14 Glenn Morris <rgm@gnu.org>
1507 * subr.el (user-emacs-directory-warning): New option.
1508 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1510 2013-05-14 Leo Liu <sdl.web@gmail.com>
1512 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1514 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1515 (octave-font-lock-texinfo-comment): Fix invalid search bound
1516 error: wrong side of point.
1518 2013-05-14 Glenn Morris <rgm@gnu.org>
1520 * progmodes/flymake.el (flymake-xml-program): New option.
1521 (flymake-xml-init): Use it.
1523 * term/xterm.el: Provide a feature.
1525 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1527 2013-05-13 Glenn Morris <rgm@gnu.org>
1529 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1530 Add compat aliases as a hack workaround. (Bug#14384)
1532 2013-05-13 Leo Liu <sdl.web@gmail.com>
1534 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1536 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1538 (octave-comment-start-skip): Include %!.
1539 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1541 2013-05-12 Leo Liu <sdl.web@gmail.com>
1543 * progmodes/octave.el (inferior-octave-startup): Store the value
1544 of __octave_srcdir__ for octave-source-directories.
1545 (inferior-octave-check-process): New function refactored out of
1546 inferior-octave-send-list-and-digest.
1547 (octave-source-directories)
1548 (octave-find-definition-filename-function): New variables.
1549 (octave-source-directories)
1550 (octave-find-definition-default-filename): New functions.
1551 (octave-find-definition): Improve to find functions implemented in C++.
1553 2013-05-12 Glenn Morris <rgm@gnu.org>
1555 * calendar/diary-lib.el (diary-outlook-format-1):
1556 Don't include dayname in the output. (Bug#14349)
1558 2013-05-11 Glenn Morris <rgm@gnu.org>
1560 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1562 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1563 Treat cc-provide like provide.
1565 2013-05-11 Kevin Ryde <user42@zip.com.au>
1567 * cus-dep.el (custom-make-dependencies):
1568 Use generated-autoload-load-name for the sake of files such
1569 such cedet/semantic/bovine/c.el, where the base file name
1570 is not in load-path. (Bug#5277)
1572 2013-05-11 Glenn Morris <rgm@gnu.org>
1574 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1577 2013-05-11 Leo Liu <sdl.web@gmail.com>
1579 * progmodes/octave.el (octave-indent-comment): Improve.
1580 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1581 (octave-eldoc-function-signatures, octave-eldoc-function):
1583 (octave-mode, inferior-octave-mode): Add eldoc support.
1585 2013-05-11 Richard Stallman <rms@gnu.org>
1587 * epa.el (epa-decrypt-file): Take output file name as argument
1588 and read it using `interactive'.
1590 2013-05-11 Leo Liu <sdl.web@gmail.com>
1592 * progmodes/octave.el (octave-beginning-of-line)
1593 (octave-end-of-line): Check before using up-list because it jumps
1594 out of more syntactic contructs since moving to smie.
1595 (octave-indent-comment): New function.
1596 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1597 (octave-begin-keywords, octave-end-keywords)
1598 (octave-reserved-words, octave-smie-bnf-table)
1599 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1601 2013-05-11 Glenn Morris <rgm@gnu.org>
1603 * faces.el (internal-face-x-get-resource):
1604 * frame.el (ns-display-monitor-attributes-list):
1605 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1607 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1609 * calc/calc-menu.el: Make it loadable in isolation.
1611 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1612 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1613 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1614 (eudc-bbdb-query-internal): Require 'bbdb.
1616 * lpr.el (lpr-headers-switches):
1617 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1619 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1621 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1623 * term.el (term-set-escape-char): Make it idempotent.
1625 2013-05-10 Leo Liu <sdl.web@gmail.com>
1627 * progmodes/octave.el (inferior-octave-completion-table):
1628 No longer a function and all uses changed. Use cache to speed up
1629 completion due to bug#11906.
1630 (octave-beginning-of-defun): Re-write to be more general.
1632 2013-05-10 Glenn Morris <rgm@gnu.org>
1634 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1636 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * comint.el (comint-redirect-send-command-to-process): Use :around
1639 rather than :override for comint-redirect-filter.
1640 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1641 Call it instead of comint-redirect-original-filter-function (which
1642 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1644 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1646 * frame.el (display-monitor-attributes-list): Add NS case.
1647 (ns-display-monitor-attributes-list): Declare.
1649 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1651 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1653 2013-05-09 Glenn Morris <rgm@gnu.org>
1655 * international/fontset.el (vertical-centering-font-regexp):
1658 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1660 * bookmark.el (bookmark-search-delay):
1661 * cus-start.el (vertical-centering-font-regexp):
1662 * ps-mule.el (ps-mule-font-info-database-default):
1663 * ps-print.el (ps-default-fg, ps-default-bg):
1664 * type-break.el (type-break-good-break-interval):
1665 * whitespace.el (whitespace-indentation-regexp)
1666 (whitespace-space-after-tab-regexp):
1667 * emacs-lisp/testcover.el (testcover-1value-functions)
1668 (testcover-noreturn-functions, testcover-progn-functions)
1669 (testcover-prog1-functions):
1670 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1671 * eshell/em-glob.el (eshell-glob-translate-alist):
1672 * play/tetris.el (tetris-tty-colors):
1673 * progmodes/cpp.el (cpp-face-default-list):
1674 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1675 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1676 (idlwave-help-browser-generic-args):
1677 * progmodes/make-mode.el (makefile-special-targets-list):
1678 * progmodes/python.el (python-shell-virtualenv-path):
1679 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1680 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1681 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1682 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1683 * textmodes/reftex-vars.el (reftex-format-label-function):
1684 * textmodes/remember.el (remember-diary-file): Fix custom types.
1686 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1689 2013-05-09 Leo Liu <sdl.web@gmail.com>
1691 * progmodes/octave.el (inferior-octave-completion-at-point):
1692 Restore file completion. (Bug#14300)
1693 (inferior-octave-startup): Fix incorrect highlighting for the
1696 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * progmodes/ruby-mode.el: First cut at SMIE support.
1699 (ruby-use-smie): New var.
1700 (ruby-smie-grammar): New constant.
1701 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1702 (ruby-smie--forward-token, ruby-smie--backward-token)
1703 (ruby-smie-rules): New functions.
1704 (ruby-mode-variables): Setup SMIE if applicable.
1706 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1708 * simple.el (line-move-visual): Signal beginning/end of buffer
1709 only if vertical-motion moved less than it was requested. Avoids
1710 silly incorrect error messages when there are display strings with
1711 multiple newlines at EOL.
1713 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1715 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1716 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1717 (prolog-char-quote-workaround):
1718 * progmodes/cperl-mode.el (cperl-under-as-char):
1719 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1721 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1723 (vhdl-mode-syntax-table-init): Remove.
1725 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1728 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1730 (ld-script-font-lock-keywords):
1731 Change regexps to use things like \_< and \_>.
1733 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1734 Change all regexps to use things like \_< and \_>.
1736 * progmodes/autoconf.el (autoconf-definition-regexp)
1737 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1738 Handle a _ with symbol syntax.
1739 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1741 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1742 Consolidate declaration.
1743 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1745 (ada-create-syntax-table): Remove.
1746 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1747 already has the right syntax nowadays.
1748 (ada-goto-next-word): Don't change the syntax of "_".
1750 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1753 2013-05-08 Sam Steingold <sds@gnu.org>
1755 * thingatpt.el (thing-at-point): Accept optional second argument
1756 NO-PROPERTIES to strip the text properties from the return value.
1757 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1758 to `thing-at-point' instead of stripping the properties ourselves.
1759 Also, when `thing-at-point' fails to find a url, prepend "http://"
1760 to the filename at point on the assumption that the user is
1761 pointing at something like gnu.org/gnu.
1763 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1765 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1766 * faces.el (crm-separator):
1767 Silence byte-compiler.
1769 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1770 (tool-bar-map): Remove unneeded defvars.
1772 2013-05-08 Leo Liu <sdl.web@gmail.com>
1774 Re-work a fix for bug#10994 based on Le Wang's patch.
1775 * ido.el (ido-remove-consecutive-dups): New helper.
1776 (ido-completing-read): Use it.
1777 (ido-chop): Revert fix for bug#10994.
1779 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1781 * cus-edit.el (custom-save-variables):
1782 Pretty-print long values. (Bug#14187)
1784 2013-05-08 Glenn Morris <rgm@gnu.org>
1786 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1787 (m4-mode-syntax-table): Init in the defvar.
1788 (m4-mode-abbrev-table): Let define-derived-mode define it.
1790 2013-05-08 Tom Tromey <tromey@redhat.com>
1792 * progmodes/m4-mode.el (m4-mode-syntax-table):
1793 Do not treat "_" as word constituent. (Bug#14167)
1795 2013-05-07 Glenn Morris <rgm@gnu.org>
1797 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1798 Remove explicit eshell-isearch-cancel-map.
1800 * progmodes/f90.el (f90-smart-end-names): New option.
1801 (f90-smart-end): Doc fix.
1802 (f90-end-block-optional-name): New constant.
1803 (f90-block-match): Respect f90-smart-end-names.
1805 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1808 about implicit semi-colons (bug#14218).
1810 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1812 * frame.el (display-monitor-attributes-list)
1813 (frame-monitor-attributes): New functions.
1815 2013-05-06 Leo Liu <sdl.web@gmail.com>
1817 * progmodes/octave.el (octave-syntax-propertize-function): Change
1818 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1819 (octave-font-lock-keywords): Use octave-operator-regexp.
1820 (octave-completion-at-point): Rename from
1821 octave-completion-at-point-function.
1822 (inferior-octave-directory-tracker): Robustify.
1823 (octave-text-functions): Remove and fix its uses. No such things
1826 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1828 * emacs-lisp/trace.el (trace--display-buffer): New function.
1829 (trace-make-advice): Use it.
1831 2013-05-06 Juri Linkov <juri@jurta.org>
1833 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1834 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1836 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1837 in the help string. (Bug#12985)
1839 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1841 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1843 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1845 * progmodes/perl-mode.el: Add support for here documents.
1846 (perl-syntax-propertize-function): Match here-doc markers.
1847 (perl-syntax-propertize-special-constructs): Find their end.
1848 (perl-imenu-generic-expression): Use [:alnum:].
1850 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1851 (advice--add-function): Refresh the advice if already present
1854 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1856 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1858 2013-05-06 Glenn Morris <rgm@gnu.org>
1860 * w32-fns.el (w32-charset-info-alist): Declare.
1862 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1863 of its defcustom properties.
1864 (eshell-cmpl-initialize): No need to load pcomplete.
1866 * generic-x.el: No need to require comint when compiling.
1868 * net/eudc-export.el: Make it loadable without bbdb.
1869 (top-level): Use require rather than load-library.
1870 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1871 (eudc-batch-export-records-to-bbdb)
1872 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1875 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1878 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1879 some tweaks, instead.
1881 2013-05-05 Leo Liu <sdl.web@gmail.com>
1883 * progmodes/octave.el (octave-font-lock-keywords)
1884 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1885 (inferior-octave-send-list-and-digest): Improve error message.
1886 (octave-mode, inferior-octave-mode): Use setq-local.
1887 (octave-help): Set info-lookup-mode.
1889 2013-05-05 Richard Stallman <rms@gnu.org>
1891 * vc/compare-w.el (compare-windows-whitespace):
1892 Treat no-break space as whitespace.
1894 * mail/rmailsum.el (rmail-summary-rmail-update):
1895 Detect empty summary and don't change selected message.
1896 (rmail-summary-goto-msg): Likewise.
1898 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1899 Doc fixes, rename args.
1901 2013-05-05 Alan Mackenzie <acm@muc.de>
1903 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1905 2013-05-05 Juri Linkov <juri@jurta.org>
1907 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1908 to not add the length of the summary segment to the return value.
1911 2013-05-05 Leo Liu <sdl.web@gmail.com>
1913 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1914 (inferior-octave-output-filter): Remove.
1915 (octave-send-region, inferior-octave-startup): Fix callers.
1916 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1917 (octave-binary-file-extensions): New user variable.
1918 (octave-find-definition): Confirm if opening binary files.
1919 (octave-help-file): Use octave-find-definition to get the binary
1921 (octave-help): Adjust for octave-help-file change.
1923 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1926 Merge the two entries that handle function definitions.
1927 (pascal--syntax-propertize): New const.
1928 (pascal-mode): Use it. Use setq-local.
1930 2013-05-04 Glenn Morris <rgm@gnu.org>
1932 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1933 (diary-from-outlook): Respect diary-from-outlook-function.
1935 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1937 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1938 Move the declaration from C.
1939 (read-minibuffer, eval-minibuffer): Move from C.
1940 (completion-setup-function): Avoid minibuffer-completion-contents.
1942 2013-05-03 Leo Liu <sdl.web@gmail.com>
1944 * progmodes/octave.el (octave-font-lock-keywords): Do not
1945 dehighlight 'end' in comments or strings.
1946 (octave-completing-read, octave-goto-function-definition):
1948 (octave-help-buffer): New user variable.
1949 (octave-help-file, octave-help-function): New button types.
1950 (octave-help): New command and bind it to C-h ;.
1951 (octave-find-definition): New command and bind it to M-.
1952 (user-error): Alias to error if not defined.
1954 2013-05-02 Leo Liu <sdl.web@gmail.com>
1956 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1958 (octave-font-lock-keywords): Include [ and {.
1960 2013-05-02 Leo Liu <sdl.web@gmail.com>
1962 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1963 (inferior-octave): Remove calling comint-mode and return the buffer.
1964 (inferior-octave-startup): Cosmetic changes.
1966 2013-05-02 Leo Liu <sdl.web@gmail.com>
1968 * progmodes/octave.el (octave-syntax-propertize-function):
1969 Include the case when ' is at line beginning. (Bug#14336)
1971 2013-05-02 Glenn Morris <rgm@gnu.org>
1973 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1974 * desktop.el (vc-dir-mode): Just autoload it here.
1976 2013-05-02 Alan Mackenzie <acm@muc.de>
1978 Eliminate variable c-standard-font-lock-fontify-region-function.
1979 * progmodes/cc-mode.el
1980 (c-standard-font-lock-fontify-region-function): Remove.
1981 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1983 2013-05-01 Leo Liu <sdl.web@gmail.com>
1985 * progmodes/octave.el: Compatible with older emacs-24 releases.
1986 (inferior-octave-has-built-in-variables): Remove. Built-in
1987 variables were removed from Octave in 2007.
1988 (inferior-octave-startup): Fix uses.
1989 (comint-line-beginning-position): Remove compatibility code for
1992 2013-05-01 Juri Linkov <juri@jurta.org>
1994 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1996 2013-05-01 Juri Linkov <juri@jurta.org>
1998 * comint.el (comint-previous-matching-input): Don't print message
1999 "History item: %d" when `isearch-mode' is active.
2000 (comint-history-isearch-message): Print message "History item: %d"
2001 when `comint-input-ring-index' is not empty and this function is
2002 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2004 2013-05-01 Leo Liu <sdl.web@gmail.com>
2006 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2007 definitions. Use completion-at-point to insert keywords.
2008 (octave-abbrev-start): Remove.
2009 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2011 2013-04-30 Leo Liu <sdl.web@gmail.com>
2013 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2016 2013-04-30 Alan Mackenzie <acm@muc.de>
2018 Handle arbitrarily long C++ member initialisation lists.
2019 * progmodes/cc-engine.el (c-back-over-member-initializers):
2021 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2022 (most) member init lists.
2024 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2026 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2029 2013-04-30 Leo Liu <sdl.web@gmail.com>
2031 * progmodes/octave.el (octave-variables): Remove. No builtin
2032 variables any more. All converted to functions.
2033 (octave-font-lock-keywords, octave-completion-at-point-function):
2035 (octave-font-lock-texinfo-comment): New user variable.
2036 (octave-texinfo-font-lock-keywords): New variable for texinfo
2038 (octave-function-comment-block): New face.
2039 (octave-font-lock-texinfo-comment): New function.
2040 (octave-mode): Font lock texinfo comment block.
2042 2013-04-29 Leo Liu <sdl.web@gmail.com>
2044 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2045 indexing expression.
2046 (octave-continuation-string): Do not use \.
2047 (inferior-octave-complete-impossible): Remove.
2048 (inferior-octave-completion-table)
2049 (inferior-octave-completion-at-point): Remove its uses.
2050 (inferior-octave-startup): completion_matches was introduced to
2051 Octave in 1996 so safe to assume it.
2052 (octave-function-file-comment): Improve to follow how Octave does it.
2053 (octave-update-function-file-comment): Tweak.
2055 2013-04-29 Leo Liu <sdl.web@gmail.com>
2057 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2058 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2059 (octave-function-file-comment): Fix typo.
2060 (octave-sync-function-file-names): Use read-char-choice.
2062 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2064 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2065 to t for the less important warnings.
2067 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2069 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2071 2013-04-27 Glenn Morris <rgm@gnu.org>
2073 * vc/log-view.el (log-view-current-entry):
2074 Treat "---" separator lines as part of the following rev. (Bug#14169)
2076 2013-04-27 Juri Linkov <juri@jurta.org>
2078 * subr.el (read-number): Doc fix about using it by interactive
2079 code letter `n'. (Bug#14254)
2081 2013-04-27 Juri Linkov <juri@jurta.org>
2083 * desktop.el (desktop-auto-save-timeout): New option.
2084 (desktop-file-checksum): New variable.
2085 (desktop-save): Add optional arg `auto-save' and don't auto-save
2087 (desktop-auto-save-timer): New variable.
2088 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2089 (after-init-hook): Call `desktop-auto-save-set-timer'.
2090 Suggested by Reuben Thomas <rrt@sc3d.org> in
2091 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2093 2013-04-27 Leo Liu <sdl.web@gmail.com>
2095 * progmodes/octave.el (octave-function-file-p)
2096 (octave-skip-comment-forward, octave-function-file-comment)
2097 (octave-update-function-file-comment): New functions.
2098 (octave-mode-map): Bind C-c ; to
2099 octave-update-function-file-comment.
2100 (octave-mode-menu): Add octave-update-function-file-comment.
2101 (octave-mode, inferior-octave-mode): Fix doc-string.
2102 (octave-insert-defun): Conform to Octave's coding convention.
2105 * files.el (basic-save-buffer): Don't let errors in
2106 before-save-hook prevent saving buffer.
2108 2013-04-20 Roland Winkler <winkler@gnu.org>
2110 * faces.el (read-face-name): Use completing-read if arg multiple
2113 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2115 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2116 displayed, move point to after the totals line.
2117 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2120 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2122 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2123 Add current dir to the load-path.
2124 (package-generate-autoloads): Don't rely on
2125 autoload-ensure-default-file.
2127 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2129 * textmodes/remember.el (remember-store-in-files): Document that
2130 the file name format is passed to `format-time-string'.
2132 2013-04-26 Leo Liu <sdl.web@gmail.com>
2134 * progmodes/octave.el (octave-sync-function-file-names): New function.
2135 (octave-mode): Use it in before-save-hook.
2137 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2142 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2143 \n and comment, even if it's not an implicit ; (bug#14218).
2145 2013-04-26 Glenn Morris <rgm@gnu.org>
2147 * subr.el (read-number): Once more use `read' rather than
2148 `string-to-number', to trap non-numeric input. (Bug#14254)
2150 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2152 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2153 Use `syntax-multiline' text property consistently instead of
2154 `font-lock-multiline'. (Bug#14237)
2156 2013-04-26 Glenn Morris <rgm@gnu.org>
2158 * emacs-lisp/shadow.el (list-load-path-shadows):
2159 No longer necessary to check for duplicate simple.el, since
2160 2012-07-07 change to init_lread to not include installation lisp
2161 directories in load-path when running uninstalled. (Bug#14270)
2163 2013-04-26 Leo Liu <sdl.web@gmail.com>
2165 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2166 (octave-mode, inferior-octave-mode): Use setq-local.
2167 (octave-not-in-string-or-comment-p): Rename to
2168 octave-in-string-or-comment-p.
2169 (octave-in-comment-p, octave-in-string-p)
2170 (octave-in-string-or-comment-p): Replace defsubst with defun.
2172 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2174 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2176 2013-04-25 Bastien Guerry <bzg@gnu.org>
2178 * textmodes/remember.el (remember-data-directory)
2179 (remember-directory-file-name-format): Fix custom types.
2181 2013-04-25 Leo Liu <sdl.web@gmail.com>
2183 * progmodes/octave.el (octave-completion-at-point-function):
2184 Make use of inferior octave process.
2185 (octave-initialize-completions): Remove.
2186 (inferior-octave-completion-table): New function.
2187 (inferior-octave-completion-at-point): Use it.
2188 (octave-completion-alist): Remove.
2190 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2193 (opascal-mode-syntax-table): New var.
2194 (opascal-literal-kind, opascal-is-literal-end)
2195 (opascal-literal-token-at): Rewrite.
2196 (opascal--literal-start-re, opascal-font-lock-keywords)
2197 (opascal--syntax-propertize): New constants.
2198 (opascal-font-lock-defaults): Adjust.
2199 (opascal-mode): Use them. Set comment-<foo> variables as well.
2200 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2201 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2202 (delphi-other-face, opascal-other-face): Remove face variables.
2203 (opascal-save-state): Remove macro.
2204 (opascal-fontifying-progress-step): Remove constant.
2205 (opascal--ignore-changes): Remove var.
2206 (opascal-set-token-property, opascal-parse-next-literal)
2207 (opascal-is-stable-literal, opascal-complete-literal)
2208 (opascal-is-literal-start, opascal-face-of)
2209 (opascal-parse-region, opascal-parse-region-until-stable)
2210 (opascal-fontify-region, opascal-after-change)
2211 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2212 (opascal-debug-parse-region, opascal-debug-parse-window)
2213 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2214 (opascal-debug-fontify-buffer): Remove.
2215 (opascal-debug-mode-map): Adjust accordingly.
2217 2013-04-25 Leo Liu <sdl.web@gmail.com>
2219 Merge octave-mod.el and octave-inf.el into octave.el with some
2221 * progmodes/octave.el: New file renamed from octave-mod.el.
2222 * progmodes/octave-inf.el: Merged into octave.el.
2223 * progmodes/octave-mod.el: Renamed to octave.el.
2225 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2227 * textmodes/reftex-vars.el
2228 (reftex-label-ignored-macros-and-environments): New defcustom.
2230 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2232 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2235 (smie-indent-keyword): Improve the check to ensure that the next
2236 comment is really on the same line.
2237 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2239 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2240 semi-colons if the line is not otherwise empty (bug#14218).
2242 2013-04-25 Glenn Morris <rgm@gnu.org>
2244 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2246 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * progmodes/opascal.el (opascal-set-token-property): Rename from
2249 opascal-set-text-properties and only set `token' (bug#14134).
2250 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2251 (opascal-literal-text-properties): Remove.
2252 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2255 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2257 * textmodes/remember.el (remember-handler-functions): Add an
2258 option for a new handler `remember-store-in-files'.
2259 (remember-data-directory, remember-directory-file-name-format):
2261 (remember-store-in-files): New function to store remember notes
2262 as separate files within a directory.
2264 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2266 * progmodes/compile.el (compilation-next-error-function):
2267 Pass "formats" to compilation-find-file (bug#11777).
2269 2013-04-24 Glenn Morris <rgm@gnu.org>
2271 * vc/vc-bzr.el (vc-bzr-print-log):
2272 * vc/vc-hg.el (vc-hg-print-log):
2273 * vc/vc-svn.el (vc-svn-print-log):
2274 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2276 * vc/vc-bzr.el (vc-bzr-print-log):
2277 * vc/vc-cvs.el (vc-cvs-print-log):
2278 * vc/vc-git.el (vc-git-print-log):
2279 * vc/vc-hg.el (vc-hg-print-log):
2280 * vc/vc-mtn.el (vc-mtn-print-log):
2281 * vc/vc-rcs.el (vc-rcs-print-log):
2282 * vc/vc-sccs.el (vc-sccs-print-log):
2283 * vc/vc-svn.el (vc-svn-print-log):
2284 * vc/vc.el (vc-print-log-internal): Doc fixes.
2286 2013-04-23 Glenn Morris <rgm@gnu.org>
2288 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2289 Remove venerable code attempting to avoid substitute-command-keys.
2291 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2293 * textmodes/reftex-vars.el (reftex-label-regexps):
2294 Call `reftex-compile-variables' after changes to this variable.
2296 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2299 Use lexical-binding.
2300 (jit-lock-force-redisplay): Use markers, check buffer's continued
2301 existence and beware narrowed buffers.
2302 (jit-lock-fontify-now): Adjust call accordingly.
2304 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2307 to avoid misleading the user.
2309 2013-04-22 Leo Liu <sdl.web@gmail.com>
2311 * info-look.el: Prefer latex2e.info. (Bug#14240)
2313 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2315 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2317 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2318 * net/tramp.el (tramp-call-process): ... here
2319 (tramp-set-completion-function, tramp-parse-putty):
2320 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2321 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2322 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2323 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2324 (tramp-call-local-coding-command): Use `tramp-call-process'
2325 instead of `tramp-compat-call-process'.
2327 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2328 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2329 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2330 (tramp-find-inline-compress): Improve traces.
2331 (tramp-maybe-send-script): Check for Perl binary.
2332 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2334 2013-04-22 Daiki Ueno <ueno@gnu.org>
2336 * epg.el (epg-context-pinentry-mode): New function.
2337 (epg-context-set-pinentry-mode): New function.
2338 (epg--start): Pass --pinentry-mode option to gpg command.
2340 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2342 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2343 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2344 `completion-at-point'. (Bug#13774)
2346 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2347 default key binding for `describe-distribution' has been moved to
2348 `C-h C-o'. (Bug#13970)
2350 2013-04-21 Glenn Morris <rgm@gnu.org>
2352 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2354 (vc-print-log): Clarify interactive prompt.
2356 2013-04-20 Glenn Morris <rgm@gnu.org>
2358 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2359 No longer include timestamp etc information.
2361 2013-04-20 Roland Winkler <winkler@gnu.org>
2363 * faces.el (read-face-name): Bug fix, return just one face if arg
2364 multiple is nil. (Bug#14209)
2366 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2369 (remove-function): Autoload.
2371 * comint.el (comint-redirect-original-filter-function): Remove.
2372 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2373 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2374 (vc-cvs-annotate-command):
2375 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2376 * progmodes/prolog.el (prolog-consult-compile):
2377 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2378 Use add/remove-function instead.
2379 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2380 (gud-tooltip-process-output, gud-tooltip-tips):
2381 Use add/remove-function instead.
2382 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2383 (scheme-interaction-mode, exit-scheme-interaction-mode):
2384 Use add/remove-function instead.
2386 * vc/vc-dispatcher.el: Use lexical-binding.
2387 (vc--process-sentinel): Rename from vc-process-sentinel.
2388 Change last arg to be the code to run. Don't use vc-previous-sentinel
2389 and vc-sentinel-commands any more.
2390 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2391 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2393 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2395 * progmodes/sh-script.el (sh-imenu-generic-expression):
2396 Handle function names with a single character. (Bug#14111)
2398 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2400 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2401 for subroutines defined in an eval (bug#14182).
2403 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2405 * bookmark.el (bookmark-completing-read): Improve handling of empty
2408 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2412 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2414 New faster Imenu implementation (bug#14058).
2415 * progmodes/python.el:
2416 (python-imenu-prev-index-position):
2417 (python-imenu-format-item-label-function)
2418 (python-imenu-format-parent-item-label-function)
2419 (python-imenu-format-parent-item-jump-label-function):
2421 (python-imenu-format-item-label)
2422 (python-imenu-format-parent-item-label)
2423 (python-imenu-format-parent-item-jump-label)
2424 (python-imenu--put-parent, python-imenu--build-tree)
2425 (python-imenu-create-index, python-imenu-create-flat-index)
2426 (python-util-popn): New functions.
2427 (python-mode): Set imenu-create-index-function to
2428 python-imenu-create-index.
2430 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * winner.el (winner-active-region): Use region-active-p, activate-mark
2433 and deactivate-mark (bug#14225).
2435 * simple.el (deactivate-mark): Don't inline it.
2437 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2439 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2441 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2443 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2444 file extensions from the archive-mode entry in order to prefer
2445 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2447 2013-04-18 Leo Liu <sdl.web@gmail.com>
2449 * bindings.el (help-event-list): Add ?\?.
2451 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2453 * subr.el (with-wrapper-hook): Declare obsolete.
2454 * simple.el (filter-buffer-substring-function): New hook.
2455 (filter-buffer-substring): Use it.
2456 (filter-buffer-substring-functions): Mark obsolete.
2457 * minibuffer.el (completion-in-region-function): New hook.
2458 (completion-in-region): Use it.
2459 (completion-in-region-functions): Mark obsolete.
2460 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2461 * abbrev.el (abbrev-expand-function): New hook.
2462 (expand-abbrev): Use it.
2463 (abbrev-expand-functions): Mark obsolete.
2464 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2467 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2469 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2470 and do not care about match data.
2472 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2474 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2475 completion tables when completing error conditions and
2476 `declare' arguments.
2477 (lisp-complete-symbol, field-complete): Mark as obsolete.
2478 (check-parens): Unmatched parens are user errors.
2479 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2481 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2483 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2484 command changed buffer (ie. `flyspell-pre-buffer' is not current
2485 buffer), which prevents making decisions based on invalid value of
2486 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2487 cause an error when `flyspell-pre-point' was nil after switching
2489 (flyspell-post-command-hook): No longer needs to change buffers when
2490 checking pre-word. While at it remove unnecessary progn.
2492 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2494 * textmodes/ispell.el (ispell-add-per-file-word-list):
2495 Fix `flyspell-correct-word-before-point' error when accepting
2496 words and `coment-padding' is an integer by using
2497 `comment-normalize-vars' (Bug #14214).
2499 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2501 New defun movement commands.
2502 * progmodes/python.el (python-nav--syntactically)
2503 (python-nav--forward-defun, python-nav-backward-defun)
2504 (python-nav-forward-defun): New functions.
2506 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2508 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2509 (python-syntax-context): Use named compiler-macro for backwards
2510 compatibility with Emacs 24.x.
2512 2013-04-17 Leo Liu <sdl.web@gmail.com>
2514 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2515 octave-hide-process-buffer.
2517 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2522 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2524 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2525 Fix adjustment of offset when receiving incomplete responses from GDB
2528 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2531 python-mode-abbrev-table.
2532 (python-skeleton-define): Adjust accordingly.
2533 (python-mode-abbrev-table): New table that inherits from it so that
2534 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2536 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2537 (abbrev-symbol): Use it.
2538 (abbrev--before-point): Use it since we already handle inheritance.
2540 2013-04-16 Leo Liu <sdl.web@gmail.com>
2542 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2543 binding to info-lookup-symbol.
2545 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2547 * minibuffer.el (completion--twq-all):
2548 * term/ns-win.el (ns-initialize-window-system):
2549 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2551 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2553 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2556 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2558 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2560 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2561 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2563 (ruby-end-of-defun): Remove the unused arg, change the docstring
2564 to reflect that this function is only used as the value of
2565 `end-of-defun-function'.
2566 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2567 to reflect an earlier change that beginning/end-of-defun functions
2568 jump between methods in a class definition, as well as top-level
2571 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * minibuffer.el (minibuffer-complete): Don't just scroll
2574 a *Completions* that's been iconified.
2575 (minibuffer-force-complete): Make sure repetitions do cycle when going
2576 through completion-in-region -> minibuffer-complete.
2578 2013-04-15 Alan Mackenzie <acm@muc.de>
2580 Correct the placement of c-cpp-delimiters when there're #s not at
2583 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2584 place a submatch around the #.
2585 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2586 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2589 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2591 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2592 (advice--member-p): New arg `name'.
2593 (advice--add-function, advice-member-p): Use it (bug#14202).
2595 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2597 Reformulate java imenu-generic-expression.
2598 The old expression contained ill formed regexps.
2600 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2601 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2602 (cc-imenu-java-method-arg-regexp): New defconsts.
2603 (cc-imenu-java-build-type-args-regex): New defun.
2604 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2605 handling of spaces in the regexp.
2607 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2609 * textmodes/ispell.el (ispell-command-loop): Remove
2610 flyspell highlight of a word when ispell accepts it (bug #14178).
2612 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2614 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2615 uses code from the previous `ange-ftp-run-real-handler'.
2616 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2617 only in case that function exist. This is needed for proper
2620 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2622 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2624 * textmodes/reftex.el (reftex-compile-variables): Use it.
2626 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * files.el (normal-mode): Only use default major-mode if no other mode
2631 * emacs-lisp/trace.el (trace-values): New function.
2633 * files.el: Allow : in local variables (bug#14089).
2634 (hack-local-variable-regexp): New var.
2635 (hack-local-variables-prop-line, hack-local-variables): Use it.
2637 2013-04-13 Roland Winkler <winkler@gnu.org>
2639 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2640 data before it gets modified by bibtex-beginning-of-entry.
2642 2013-04-13 Roland Winkler <winkler@gnu.org>
2644 * textmodes/bibtex.el (bibtex-url): Doc fix.
2646 2013-04-13 Roland Winkler <winkler@gnu.org>
2648 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2649 does not visit a BibTeX file, exclude it from the list of buffers
2650 returned by bibtex-initialize.
2652 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2654 * window.el (split-window): Remove interactive form, since as a
2655 command this function is a special case of split-window-below.
2658 2013-04-12 Roland Winkler <winkler@gnu.org>
2660 * faces.el (read-face-name): Do not override value of arg default.
2661 Allow single faces and strings as default values. Remove those
2662 elements from return value that are not faces.
2663 (describe-face): Simplify.
2664 (face-at-point): New optional args thing and multiple so that this
2665 function can provide the same functionality previously provided by
2667 (make-face-bold, make-face-unbold, make-face-italic)
2668 (make-face-unitalic, make-face-bold-italic, invert-face)
2669 (modify-face, read-face-and-attribute): Use face-at-point.
2671 * cus-edit.el (customize-face, customize-face-other-window)
2672 * cus-theme.el (custom-theme-add-face)
2673 * face-remap.el (buffer-face-set)
2674 * facemenu.el (facemenu-set-face): Use face-at-point.
2676 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2678 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2680 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2682 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2683 off leading { and trailing } from field values.
2685 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2687 * emacs-lisp/timer.el (timer--check): New function.
2688 (timer--time, timer-set-function, timer-event-handler): Use it.
2689 (timer-set-idle-time): Simplify.
2690 (timer--activate): CSE.
2691 (timer-event-handler): Give more info in error message.
2692 (internal-timer-start-idle): New function, moved from C.
2694 * mpc.el (mpc-proc): Add `restart' argument.
2695 (mpc-proc-cmd): Use it.
2696 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2697 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2700 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2702 * progmodes/sh-script.el: Implement `sh-mode' own
2703 `add-log-current-defun-function' (bug#14112).
2704 (sh-current-defun-name): New function.
2705 (sh-mode): Use the function.
2707 2013-04-09 Bastien Guerry <bzg@gnu.org>
2709 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2711 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2713 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2715 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2718 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2720 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2723 2013-04-07 Leo Liu <sdl.web@gmail.com>
2725 * pcmpl-x.el: New file.
2727 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2729 Do not set x-display-name until X connection is established.
2730 This is needed to prevent from weird situation described at
2731 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2732 * frame.el (make-frame): Set x-display-name after call to
2733 window system initialization function, not before.
2734 * term/x-win.el (x-initialize-window-system): Add optional
2735 display argument and use it.
2736 * term/w32-win.el (w32-initialize-window-system):
2737 * term/ns-win.el (ns-initialize-window-system):
2738 * term/pc-win.el (msdos-initialize-window-system):
2739 Add compatible optional display argument.
2741 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2743 * files.el (normal-backup-enable-predicate): On MS-Windows and
2744 MS-DOS compare truenames of temporary-file-directory and of the
2745 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2746 don't fail comparison by compare-strings. Also, compare file
2747 names case-insensitively on MS-Windows and MS-DOS.
2749 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2752 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2754 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2756 * whitespace.el (whitespace-color-on, whitespace-color-off):
2757 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2759 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2761 * ispell.el (ispell-set-spellchecker-params):
2762 Really set `ispell-args' for all equivs.
2764 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2766 * ido.el (ido-completions): Use extra elements of ido-decorations
2768 (ido-decorations): Update docstring.
2770 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2772 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2773 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2774 nil during initialization, in order not to miss changes since the
2775 file was opened. (Bug#14140)
2777 2013-04-05 Leo Liu <sdl.web@gmail.com>
2779 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2781 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2783 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2785 2013-04-04 Glenn Morris <rgm@gnu.org>
2787 * electric.el (electric-pair-inhibit-predicate): Add :version.
2789 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2791 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2792 when a package is required several times (bug#14082).
2794 2013-04-04 Roland Winkler <winkler@gnu.org>
2796 * faces.el (read-face-name): Behave as promised by the docstring.
2797 Assume that arg default is a list of faces.
2798 (describe-face): Call read-face-name with list of default faces.
2800 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2802 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2803 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2804 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2806 (bookmark-exit-hook-internal): Save even if list is empty.
2808 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2810 * emacs-lisp/package.el (package-pinned-packages): New var.
2811 (package--add-to-archive-contents): Obey it (bug#14118).
2813 2013-04-03 Alan Mackenzie <acm@muc.de>
2815 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2816 Also adapt to the new values of element 7 of a parse state.
2818 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2819 parameter `not-in-delimiter'. Handle being inside comment opener.
2820 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2821 character in case we're typing a '*' after a '/'.
2822 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2823 instead by passing the parameter to c-state-pp-to-literal.
2825 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2826 for elt. 7 of a parse state.
2828 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2830 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2831 * international/latin1-disp.el, international/mule-util.el:
2832 * language/cyril-util.el, language/european.el, language/ind-util.el:
2833 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2834 * language/tibetan.el, language/viet-util.el:
2835 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2837 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2839 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2840 (electric-pair-post-self-insert-function): Use it.
2841 (electric-pair-default-inhibit): New function, extracted from
2842 electric-pair-post-self-insert-function.
2844 2013-03-31 Roland Winkler <winkler@gnu.org>
2846 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2848 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2852 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2854 Un-indent after "pass" and "return" statements (Bug#13888)
2855 * progmodes/python.el (python-indent-block-enders): New var.
2856 (python-indent-calculate-indentation): Use it.
2858 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2860 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2861 defun. Defining it as defalias could introduce too eager
2862 byte-compiler optimization. (Bug#14030)
2864 2013-03-30 Chong Yidong <cyd@gnu.org>
2866 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2868 2013-03-30 Leo Liu <sdl.web@gmail.com>
2870 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2871 (kmacro-execute-from-register): Pass the keyboard macro to
2872 kmacro-call-macro or repeating won't work correctly.
2874 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2876 * progmodes/subword.el: Back to using `forward-symbol'.
2878 * subr.el (forward-whitespace, forward-symbol)
2879 (forward-same-syntax): Move from thingatpt.el.
2881 2013-03-29 Leo Liu <sdl.web@gmail.com>
2883 * kmacro.el (kmacro-to-register): New command.
2884 (kmacro-execute-from-register): New function.
2885 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2887 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2889 * mpc.el: Use defvar-local and setq-local.
2890 (mpc--proc-connect): Connection failures are not bugs.
2891 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2892 (mpc-volume-map): Bind to the up-events.
2894 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2896 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2897 instead of `forward-symbol'.
2899 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2901 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2902 (edebug--recursive-edit): Use it.
2903 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2904 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2906 2013-03-28 Leo Liu <sdl.web@gmail.com>
2908 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2910 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2912 * facemenu.el (list-colors-callback): New defvar.
2913 (list-colors-redisplay): New function.
2914 (list-colors-display): Install list-colors-redisplay as the
2915 revert-buffer-function. (Bug#14063)
2917 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2920 and suffixes don't overlap (bug#14061).
2922 * case-table.el: Use lexical-binding.
2923 (case-table-get-table): New function.
2924 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2926 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2928 * progmodes/subword.el: Add `superword-mode' to do word motion
2929 over symbol_words (parallels and leverages `subword-mode' which
2930 does word motion inside MixedCaseWords).
2932 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2934 * eshell/em-unix.el: Move su and sudo to...
2935 * eshell/em-tramp.el: ...Eshell tramp module.
2937 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2940 Change return value to be a sexp. Delay `get-buffer' to after
2941 restoring the desktop (bug#13951).
2943 2013-03-26 Leo Liu <sdl.web@gmail.com>
2945 * register.el: Move semantic tag handling back to
2946 cedet/semantic/senator.el. (Bug#14052)
2948 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2951 into the prompt either (bug#13963).
2953 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2956 part of "(error-foo)".
2958 2013-03-24 Juri Linkov <juri@jurta.org>
2960 * replace.el (list-matching-lines-prefix-face): New defcustom.
2961 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2962 `occur-engine' if `face-differs-from-default-p' returns t.
2963 (occur-engine): Add `,' inside backquote construct to evaluate
2964 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2965 Pass `prefix-face' to the functions `occur-context-lines' and
2966 `occur-engine-add-prefix'.
2967 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2968 `prefix-face' and propertize the prefix with `prefix-face'.
2971 2013-03-24 Leo Liu <sdl.web@gmail.com>
2973 * nxml/rng-valid.el (rng-validate-while-idle)
2974 (rng-validate-quick-while-idle): Guard against deleted buffer.
2977 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2978 is the last entry in kill-buffer-hook.
2980 * files.el (kill-buffer-hook): Doc fix.
2982 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2984 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2987 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2989 2013-03-23 Leo Liu <sdl.web@gmail.com>
2991 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2994 * nxml/rng-valid.el (rng-validate-mode)
2995 (rng-after-change-function, rng-do-some-validation):
2996 * nxml/rng-maint.el (rng-validate-buffer):
2997 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2998 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2999 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3000 (nxml-extend-after-change-region): Use with-silent-modifications.
3002 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3005 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3006 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3007 timer-idle-list. (Bug#13999)
3009 2013-03-23 Juri Linkov <juri@jurta.org>
3011 * info.el (info-index-match): New face.
3012 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3013 main pattern and add text properties with the new face to matches
3014 in index entries relative to the beginning of the index entry.
3017 2013-03-21 Eric Ludlam <zappo@gnu.org>
3019 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3020 Inhibit read only while inserting objects.
3022 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3024 * progmodes/cfengine.el: Update docs to mention
3025 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3026 symbol motion. Remove "_" from the word syntax.
3028 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3030 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3031 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3033 2013-03-20 Juri Linkov <juri@jurta.org>
3035 * info.el (Info-next-reference-or-link)
3036 (Info-prev-reference-or-link): New functions.
3037 (Info-next-reference, Info-prev-reference): Use them.
3038 (Info-try-follow-nearest-node): Handle footnote navigation.
3039 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3041 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3044 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3046 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3048 Suppress unnecessary non-ASCII chatter during build process.
3049 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3050 (batch-skkdic-convert): Suppress most of the chatter.
3051 It's not needed so much now that machines are faster,
3052 and its non-ASCII component was confusing; see Dmitry Gutov in
3053 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3055 2013-03-20 Leo Liu <sdl.web@gmail.com>
3057 * ido.el (ido-chop): Fix bug#10994.
3059 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3061 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3063 (whitespace-color-on, whitespace-color-off):
3064 Use `font-lock-fontify-buffer' (Bug#13817).
3066 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3069 remapping in mode-line.
3070 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3072 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3074 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3075 value for `whitespace-line' face (Bug#13875).
3076 (whitespace-font-lock-keywords): Change description.
3077 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3078 the constructed keywords instead.
3079 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3081 2013-03-19 Leo Liu <sdl.web@gmail.com>
3083 * progmodes/compile.el (compilation-display-error): New command.
3084 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3087 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3089 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3091 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3093 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3095 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3097 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3099 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3100 * net/tramp-gvfs.el (top):
3101 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3102 (tramp-handle-shell-command): Use it.
3103 (tramp-dissect-file-name): Raise an error when hostname is a
3104 method name, and neither method nor user is specified.
3106 * net/trampver.el: Update release number.
3108 2013-03-18 Leo Liu <sdl.web@gmail.com>
3110 Make sure eldoc can be turned off properly.
3111 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3113 (eldoc-display-message-p): Revert last change.
3114 (eldoc-display-message-no-interference-p)
3115 (eldoc-print-current-symbol-info): Tweak.
3117 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3119 * doc-view.el (doc-view-new-window-function): Check the new window
3120 overlay's display property instead the char property of the
3121 buffer's first char. Use `with-selected-window' instead of
3122 `save-window-excursion' with `select-window'.
3123 (doc-view-document->bitmap): Check the current doc-view overlay's
3124 display property instead the char property of the buffer's first char.
3126 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3128 Automate the build of ja-dic.el (Bug#13984).
3129 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3130 from the input, rather than assume that it's been done for us by the
3131 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3132 the current date into a ja-dic.el comment, as that complicates
3135 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3137 * whitespace.el: Fix double evaluation.
3138 (whitespace-space, whitespace-hspace, whitespace-tab)
3139 (whitespace-newline, whitespace-trailing, whitespace-line)
3140 (whitespace-space-before-tab, whitespace-indentation)
3141 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3143 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3144 (whitespace-color-on): Use a single font-lock-add-keywords call.
3145 Fix double-evaluation of face variables.
3147 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3149 * net/tramp-adb.el (tramp-adb-parse-device-names):
3150 Use `start-process' instead of `call-process'. Otherwise, the
3151 function might be blocked under MS Windows. (Bug#13299)
3153 2013-03-17 Leo Liu <sdl.web@gmail.com>
3155 Extend eldoc to display info in the mode-line. (Bug#13978)
3156 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3157 (eldoc-mode-line-string): New variable.
3158 (eldoc-minibuffer-message): New function.
3159 (eldoc-message-function): New variable.
3160 (eldoc-message): Use it.
3161 (eldoc-display-message-p)
3162 (eldoc-display-message-no-interference-p):
3163 Support eldoc-post-insert-mode.
3165 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3166 (eval-expression): Run it.
3168 2013-03-17 Roland Winkler <winkler@gnu.org>
3170 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3171 strings in the list of return values.
3173 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3175 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3176 radix before checking for HMS forms.
3178 2013-03-16 Leo Liu <sdl.web@gmail.com>
3180 * progmodes/scheme.el: Add indentation and font-locking for λ.
3183 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3185 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3186 token before point (bug#13942).
3188 2013-03-16 Leo Liu <sdl.web@gmail.com>
3190 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3192 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3194 * startup.el (command-line-normalize-file-name): Fix handling of
3195 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3196 <xfq.free@gmail.com> in
3197 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3199 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3201 Sync with Tramp 2.2.7.
3203 * net/trampver.el: Update release number.
3205 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3207 * doc-view.el Fix bug#13887.
3208 (doc-view-insert-image): Don't modify overlay associated to
3209 non-live windows, and implement horizontal centering of image in
3210 case it's smaller than the window.
3211 (doc-view-new-window-function): Force redisplay of new windows on
3214 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3216 * saveplace.el (save-place-alist-to-file): Don't sort
3217 `save-place-alist', just pretty-print it (bug#13882).
3219 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3221 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3222 whether `default-file-name-coding-system' is bound. It isn't in
3225 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3228 backquotes for `obsolete' (bug#13929).
3230 * international/mule.el (find-auto-coding): Include file name in
3231 obsolescence warning (bug#13922).
3233 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3235 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3236 for CFEngine 3-specific indentation.
3237 (cfengine3-indent-line): Use it. Fix up category regex.
3238 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3240 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * type-break.el (type-break-file-name):
3243 * textmodes/remember.el (remember-data-file):
3244 * strokes.el (strokes-file):
3245 * shadowfile.el (shadow-initialize):
3246 * saveplace.el (save-place-file):
3247 * ps-bdf.el (bdf-cache-file):
3248 * progmodes/idlwave.el (idlwave-config-directory):
3249 * net/quickurl.el (quickurl-url-file):
3250 * international/kkc.el (kkc-init-file-name):
3251 * ido.el (ido-save-directory-list-file):
3252 * emulation/viper.el (viper-custom-file-name):
3253 * emulation/vip.el (vip-startup-file):
3254 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3255 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3257 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3259 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3260 * language/thai-word.el: Switch to UTF-8.
3262 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3264 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3266 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3268 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3269 Use with-current-buffer and don't move point.
3270 (net-utils-run-simple): Remove useless code.
3271 (net-utils-remove-ctl-m): Remove unused custom.
3273 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3275 * international/characters.el (glyphless-set-char-table-range): New fun.
3276 (update-glyphless-char-display): Use it (bug#13744).
3278 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3280 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3281 namespaces in the syntax, indent closer for hanging brace
3282 correctly, allow single-quote delimited 'strings', and make
3283 `cfengine3-mode' the default.
3285 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3287 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3288 Use lexical-binding. Fix up docstring according to conventions.
3289 (gdbmi-debug-mode): New var.
3290 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3291 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3292 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3293 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3294 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3295 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3296 (gdbmi-bnf-incomplete-record-result): New functions.
3297 (gdb-car<): Remove function.
3298 (gdbmi-record-list): Remove variable.
3299 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3300 (gdbmi-bnf-result-state-configs): New const.
3301 (gud-gdbmi-marker-filter): Rewrite.
3302 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3303 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3304 Add `token' argument.
3305 (gdb-done, gdb-error): New functions.
3306 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3308 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3310 * term/xterm.el (xterm--report-background-handler): Don't burp
3312 (xterm--version-handler): Extract from terminal-init-xterm.
3313 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3314 Allow multiple handlers.
3315 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3317 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3318 (xterm--report-background-handler, xterm--query): New functions.
3319 (terminal-init-xterm): Use them.
3321 2013-03-11 Michael R. Mauger <michael@mauger.com>
3323 * progmodes/sql.el Version 3.2
3324 Please note that my address changed to <michael@mauger.com>;
3325 the <mmaug@yahoo.com> address remains active.
3326 (sql-connection-alist): Updates documentation to fix bug#13715.
3327 (sql-connect): Handle missing `sql-connection-alist' correctly.
3328 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3329 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3331 (sql-default-value): New function.
3332 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3333 values were not used.
3334 (sql-rename-buffer): Make sure alternate buffer name has no text
3336 (sql-input-sender, sql-execute-feature): Fetch variable with
3337 `buffer-local-value' rather than `with-current-buffer'.
3338 (sql-*): Use #' function syntax consistently.
3339 (sql-*): Use message/error/user-error consistently.
3341 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3343 * xt-mouse.el (xterm-mouse-event-read): Remove.
3344 (xterm-mouse--read-event-sequence-1000)
3345 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3347 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * term/xterm.el (xterm-function-map): Support format used with
3350 formatOtherKeys=1 (bug#13839).
3352 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3353 (with-no-warnings): Use `declare'.
3355 * whitespace.el (whitespace-enable-predicate): New variable.
3356 (whitespace-enable-predicate): Use it.
3358 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3359 (comint-output-filter, comint-update-fence):
3360 Use with-silent-modifications.
3362 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3364 * replace.el (occur-read-regexp-defaults-function): New var.
3365 (occur-read-regexp-defaults): New defun.
3366 (occur-read-primary-args): Propagate above change (bug#13892).
3368 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3370 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3372 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3374 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3376 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3377 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3378 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3380 (tramp-gvfs-file-name-handler-alist) [directory-files]
3381 [directory-files-and-attributes, file-exists-p, file-modes]:
3382 Use Tramp default handler.
3383 [file-acl, file-selinux-context, process-file, set-file-acl]:
3384 [set-file-modes, set-file-selinux-context, shell-command]:
3385 [start-file-process]: Remove handler.
3386 [verify-visited-file-modtime]: New handler.
3387 (tramp-gvfs-dbus-string-to-byte-array)
3388 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3389 calls of `dbus-string-to-byte-array' and
3390 `tramp-gvfs-dbus-byte-array-to-string'.
3391 (tramp-gvfs-handle-copy-file)
3392 (tramp-gvfs-handle-delete-directory)
3393 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3394 (tramp-gvfs-handle-file-directory-p)
3395 (tramp-gvfs-handle-file-executable-p)
3396 (tramp-gvfs-handle-file-name-all-completions)
3397 (tramp-gvfs-handle-file-readable-p)
3398 (tramp-gvfs-handle-file-writable-p)
3399 (tramp-gvfs-handle-insert-directory)
3400 (tramp-gvfs-handle-insert-file-contents)
3401 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3402 (tramp-gvfs-handle-set-visited-file-modtime)
3403 (tramp-gvfs-handle-write-region): Rewrite.
3404 (tramp-gvfs-handle-file-acl)
3405 (tramp-gvfs-handle-file-selinux-context)
3406 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3407 (tramp-gvfs-handle-set-file-modes)
3408 (tramp-gvfs-handle-set-file-selinux-context)
3409 (tramp-gvfs-handle-shell-command)
3410 (tramp-gvfs-handle-start-file-process)
3411 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3412 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3413 over the symlinks. Fix user handling.
3414 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3415 of the D-Bus signals.
3416 (tramp-gvfs-connection-mounted-p): Handle different names of the
3418 (tramp-gvfs-mount-spec-entry): New defun.
3419 (tramp-gvfs-mount-spec): Use it.
3420 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3421 there is a share name. Handle different names of the D-Bus
3422 signals and methods. Set connection properties needed for
3423 `tramp-check-cached-permissions'.
3424 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3427 * net/tramp.el (tramp-backtrace): Move up.
3428 (tramp-error): Dump a backtrace into the debug buffer when
3430 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3431 (tramp-file-mode-permissions, tramp-get-local-uid)
3432 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3435 * net/tramp-sh.el (tramp-file-mode-type-map)
3436 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3437 (tramp-file-mode-permissions, tramp-get-local-uid)
3438 (tramp-get-local-gid): Move to tramp.el.
3440 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3442 Separate mouse-1-click-follows-link from mouse-drag-region.
3443 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3444 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3445 (mouse-drag-line, mouse-drag-track):
3446 Remove mouse-1-click-follows-link code.
3447 (mouse--remap-link-click-p): Remove.
3449 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3451 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3452 (hi-lock-read-regexp-defaults): New defun.
3453 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3454 (hi-lock-face-phrase-buffer): Propagate above change.
3455 Update docstring (bug#13892).
3457 * subr.el (find-tag-default-as-regexp): New defun.
3458 * replace.el (read-regexp): Propagate above change.
3460 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3462 * calc/calc-units.el (calc-convert-units): Fix the way that default
3463 new units are stored.
3465 2013-03-07 Matthias Meulien <orontee@gmail.com>
3467 * bookmark.el: Define a face to highlight bookmark names in
3468 bookmark menu buffers, where the default is a bold face similarly
3469 to buffer names in buffer menu buffers.
3470 (bookmark-menu-bookmark): New face to highlight bookmark names.
3471 (bookmark-insert-location): Remove duplicated text property to
3472 conform to buffer list (see `list-buffers').
3473 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3474 `bookmark-menu-bookmark' to bookmark names.
3476 2013-03-07 Matthias Meulien <orontee@gmail.com>
3477 Karl Fogel <kfogel@red-bean.com>
3479 * bookmark.el: Display the bookmark list header similarly to the
3480 buffer list header (see `list-buffers'), where the default is now
3481 an immovable/immutable header line.
3482 (bookmark-bmenu-use-header-line): New variable.
3483 (bookmark-bmenu-inline-header-height): New name for
3484 `bookmark-bmenu-header-height', to avoid confusion with the code
3485 for the new immovable header. All references changed.
3486 (bookmark-bmenu-set-header): New function.
3487 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3488 Conditionalize header construction accordingly.
3489 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3490 the inline header height.
3491 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3492 Conditionalize the skipping of the inline header height.
3494 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3496 * progmodes/js.el (js--multi-line-declaration-indentation):
3497 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3499 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3501 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3502 Only propertize regexp when not inside a string (Bug#13885).
3504 2013-03-06 Alan Mackenzie <acm@muc.de>
3506 Correct the position of point in some line-up functions.
3507 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3508 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3509 point at column 0 rather than at a random place in the line.
3511 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3513 * net/tramp-compat.el (tramp-compat-delete-directory):
3514 Implement TRASH argument.
3516 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3518 Keep pre-existing highlighting in completion candidates (Bug#13250).
3519 * minibuffer.el (completions-first-difference): State that the
3520 face is "added" in the docstring.
3521 (completions-common-part): Same. And don't inherit from default.
3522 (completion-hilit-commonality): Prepend 'completions-common-part
3523 and 'completion-first-difference faces to the 'face property,
3524 instead of replacing the value(s).
3525 (completion--insert-strings): Same with 'completions-annotations face.
3526 (completion-hilit-commonality): Use 'face instead of
3527 'font-lock-face, because it gets priority if the completion
3528 strings already have 'face set.
3530 2013-03-04 Alan Mackenzie <acm@muc.de>
3532 Replace `last-command-event' by `last-command-char' in XEmacs.
3533 * progmodes/cc-defs.el (c-last-command-char): New macro.
3534 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3535 (c-semi&comma-no-newlines-before-nonblanks)
3536 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3537 in place of `last-command-event'.
3538 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3539 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3540 (c-electric-paren, c-electric-continued-statement): Use the new
3541 macro in place of `last-command-event'.
3543 2013-03-04 Glenn Morris <rgm@gnu.org>
3545 * files.el (inhibit-local-variables-regexps):
3546 Add .diff and .patch. (Bug#13862)
3548 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3550 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3551 whether the "su" command is available on the device.
3553 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3555 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3556 (tramp-adb-handle-process-file): Remove superfluous setting.
3557 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3558 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3559 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3561 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3563 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3564 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3565 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3566 Use dict-key rather than dict-name for the error message.
3568 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3570 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3571 when reverting (bug#13831).
3573 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3575 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3576 Always expand affix-file before storing to protect against changed
3577 `default-directory'.
3578 (ispell-print-if-debug): Make sure message is printed at the end
3579 of the debug buffer.
3581 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3583 * net/tramp.el (tramp-obsolete-methods): New defconst.
3584 (tramp-warned-obsolete-methods): New defvar.
3585 (tramp-find-method): Check for obsolete methods. Map them to a
3586 replacement method if appropriate.
3588 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3590 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3591 "ssh2" and "plink1".
3593 2013-02-28 Dale Sedivec <dale@codefu.org>
3595 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3596 Return valid syntax-table property value when converting
3597 quotes within text from string syntax to punctuation syntax (bug#13844).
3599 2013-02-28 Juri Linkov <juri@jurta.org>
3601 * dired-aux.el (dired-diff): If file at point is a backup file,
3602 use its original as the default value, and reverse the order
3603 of arguments to the `diff' call. Doc fix. (Bug#13772)
3605 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3607 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3608 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3610 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3612 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3614 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3615 Ask hunspell about available and default dictionaries.
3616 (ispell-parse-hunspell-affix-file): Extract relevant info from
3617 hunspell affix file.
3618 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3619 `ispell-dictionary-alist' entry for given dictionary after info
3620 provided by `ispell-parse-hunspell-affix-file'.
3621 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3622 of parsed hunspell dicts and associated affix files.
3623 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3624 of parsed hunspell dicts and associated parameters.
3625 (ispell-set-spellchecker-params):
3626 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3628 (ispell-start-process):
3629 Call `ispell-hunspell-fill-dictionary-entry' for current
3630 dictionary if it is not initialized.
3632 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * imenu.el: Comment nitpicks.
3636 2013-02-28 Sam Steingold <sds@gnu.org>
3638 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3639 See <http://stackoverflow.com/questions/14720205>.
3641 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3643 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3644 (net-utils-mode): Use it.
3645 (net-utils--revert-cmd): New var.
3646 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3647 (traceroute): Use net-utils-run-simple.
3649 2013-02-28 Glenn Morris <rgm@gnu.org>
3651 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3653 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3656 (doc-view-fallback-mode): Remove overlays here.
3657 (doc-view-toggle-display): Instead of here. Don't throw away
3658 image-mode-winprops-alist.
3659 (doc-view-goto-page): Don't mess with hscroll.
3661 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3663 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3664 &optional (bug#13819).
3666 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3668 * net/tramp-adb.el (tramp-adb-parse-device-names)
3669 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3671 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3673 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3674 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3675 defined. POSIX environments fall back to the "C" locale then and
3676 emit a warning, which shall be suppressed.
3678 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3680 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3681 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3683 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3687 2013-02-25 Juri Linkov <juri@jurta.org>
3689 * replace.el (read-regexp): Let-bind `default' to the first
3690 element of `defaults' if it's a list, otherwise it should be
3691 a string or nil. Let-bind `suggestions' to `defaults' if it's
3692 a list, otherwise make a list with the string value. Doc fix.
3695 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3697 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3698 that match "\`\.#", to avoid compiling lock files, even if they
3699 are readable (as they are on MS-Windows).
3701 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3703 * files.el (basic-save-buffer): Remove redundant directory-creation.
3705 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3707 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3708 Add option to force `pi' to remain symbolic.
3709 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3710 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3711 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3712 derivatives, when necessary.
3714 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3716 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3717 (ps-mode-octal-region): Use string-make-unibyte.
3719 2013-02-23 Glenn Morris <rgm@gnu.org>
3721 * emulation/viper-cmd.el (viper-submit-report):
3722 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3723 * progmodes/vera-mode.el (vera-mode-help-address):
3724 * textmodes/artist.el (artist-maintainer-address):
3725 * textmodes/reftex.el (reftex-report-bug):
3726 * vc/ediff-util.el (ediff-submit-report):
3727 Add bug-gnu-emacs to bug report address.
3729 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3730 Remove bug report entries.
3731 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3733 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3734 (byte-compile-file, byte-compile-from-buffer):
3735 Use separate input/output buffers for each level of recursive
3736 byte-compile-file calls. (Bug#13787)
3738 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3740 * net/tramp.el (tramp-methods): Fix docstring.
3741 (tramp-ssh-controlmaster-options): Rename it from
3742 `tramp-ssh-controlmaster-template'. Return a string.
3743 (tramp-default-method): Adapt check for
3744 `tramp-ssh-controlmaster-options'.
3746 * net/tramp-sh.el (tramp-methods):
3747 Replace `tramp-ssh-controlmaster-template' by "%c".
3748 (tramp-do-copy-or-rename-file-out-of-band)
3749 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3750 that it is applied for the first hop only.
3752 2013-02-22 Juri Linkov <juri@jurta.org>
3754 * isearch.el (isearch-lazy-highlight-new-loop):
3755 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3756 to `isearch-other-end' if it is not nil. (Bug#13402)
3758 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3761 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3762 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3763 and `isearch-error' to nil.
3765 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3767 * progmodes/python.el (python-info-current-defun):
3768 Enhance match-data cluttering prevention.
3770 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3772 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3774 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3775 Handle multibyte file names.
3777 2013-02-22 Glenn Morris <rgm@gnu.org>
3779 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3780 (sgml-transformation-function): Give it a :set function.
3781 (sgml-tag): Doc fix.
3783 * cmuscheme.el (scheme-buffer):
3784 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3785 * progmodes/tcl.el (inferior-tcl-buffer):
3786 * textmodes/tex-mode.el (tex-command): Doc fixes.
3788 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3790 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3792 2013-02-21 Bastien Guerry <bzg@gnu.org>
3794 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3796 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3798 * progmodes/python.el (python-info-current-defun):
3799 Enhance match-data cluttering prevention.
3801 2013-02-21 Glenn Morris <rgm@gnu.org>
3803 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3804 loaded while outline-regexp is let bound. (Bug#9584)
3806 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3808 * progmodes/python.el (python-info-current-defun): Fix failed
3809 defun name retrieval because of unwanted match-data cluttering.
3811 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3813 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3814 defconst. Apply independent check for ControlPersist.
3816 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3817 temporarily, via "env".
3819 2013-02-21 Glenn Morris <rgm@gnu.org>
3821 * info.el (Info-enable-edit): Remove.
3822 (Info-edit): Disable it rather than using Info-enable.
3823 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3824 (Info-cease-edit): Make editing of Info files obsolete.
3826 * informat.el (Info-tagify):
3827 Handle buffers not visiting files. (Bug#13763)
3829 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3831 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3833 2013-02-21 Glenn Morris <rgm@gnu.org>
3835 * files.el (basic-save-buffer): Move check for existing parent
3836 directory after hooks. (Bug#13773)
3838 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3840 * simple.el (command-execute): Move from C. Add obsolete check.
3841 (extended-command-history): Move from C.
3843 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3845 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3846 (jka-compr-mode-alist-additions): Handle .txz suffix for
3847 XZ-compressed tar archives (bug#13770).
3849 2013-02-20 Bastien Guerry <bzg@gnu.org>
3851 * outline.el (outline-regexp, outline-heading-end-regexp):
3852 Make variables, not options (bug#13731).
3854 2013-02-20 Glenn Morris <rgm@gnu.org>
3856 * image.el (image-current-frame): Change from variable to function.
3857 (image-show-frame): Rename from image-nth-frame. Update callers.
3858 * image-mode.el (image-multi-frame): New variable.
3859 (image-mode-map, image-mode, image-goto-frame):
3860 Use image-multi-frame rather than image-current-frame.
3861 (image-mode, image-goto-frame): Use image-current-frame as
3862 function rather than as variable.
3864 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3865 * emacs-lisp/cl-macs.el (cl--make-type-test)
3866 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3868 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3870 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3871 (tramp-get-file-property, tramp-set-file-property)
3872 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3873 (tramp-flush-file-property, tramp-flush-directory-property):
3874 Rename argument to KEY.
3875 (tramp-flush-connection-property): Simplify a little bit.
3876 (tramp-connection-property-p): New defun.
3877 (top): Reapply saved values only if there isn't a corresponding
3878 entry in `tramp-connection-properties'.
3880 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3882 * progmodes/python.el (python-indent-context):
3883 Fix python-info-line-ends-backslash-p call.
3884 (python-info-line-ends-backslash-p)
3885 (python-info-beginning-of-backslash): Respect line-number argument.
3886 (python-info-current-line-comment-p):
3887 Fix behavior when not at beginning-of-line.
3888 (python-util-position): Remove function.
3889 (python-util-goto-line): New function.
3891 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3893 * eshell/em-unix.el (eshell/su): Require tramp.
3894 (eshell/sudo): Require tramp. Remove now unnecessary check.
3896 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3897 `tramp-current-connection' in order to avoid an error when several
3898 commands are invoked in a short time in eshell and friends.
3900 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3902 Cleanup some of EIEIO's namespace.
3903 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3904 Use it to define all the class-* and object-* field accessors (renamed
3905 to eieio--class-* and eieio--object-*). Update all uses.
3906 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3907 class-num-slots and object-num-slots.
3908 (eieio--check-type): New macro.
3909 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3910 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3911 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3912 (object-assoc-list-safe): Use it.
3913 (eieio-defclass): Tighten regexp.
3914 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3915 Remove unreachable code.
3916 (object-class-fast): Declare obsolete.
3917 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3918 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3919 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3920 Rename from class-name, object-name, object-set-name-string,
3921 object-class, object-class-name, class-parents, class-children,
3922 class-precedence-list, class-parent; with obsolete alias.
3923 (class-of, class-direct-superclasses, class-direct-subclasses):
3925 (eieio-defmethod): Use `memq'; remove unreachable code.
3926 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3927 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3928 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3930 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3932 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3935 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3937 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3938 Use font-lock-keyword-face for macros and special forms (bug#8345).
3940 2013-02-17 Didier Verna <didier@didierverna.net>
3942 * net/network-stream.el (network-stream-open-starttls):
3943 Check that response to the starttls-command is non-nil. (Bug#13706)
3945 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3948 Don't assume all identifier chars have syntax word.
3949 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3950 Remove bar-not-symbol. Adjust callers.
3951 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3953 2013-02-17 Leo Liu <sdl.web@gmail.com>
3955 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3957 2013-02-17 Glenn Morris <rgm@gnu.org>
3959 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3961 * image-mode.el (image-mode-map): Add image-dired menu entry.
3963 * image-dired.el (tumme): Make this alias obsolete.
3965 2013-02-16 Glenn Morris <rgm@gnu.org>
3967 * image.el (image-animated-types): Remove.
3968 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3969 (image-animated-p): Make obsolete alias.
3970 (image-animate, image-nth-frame, image-animate-timeout):
3971 Use image-multi-frame-p.
3972 (image-animate-timeout): If no delay, use image-default-frame-delay.
3973 * image-mode.el (image-mode, image-toggle-animation):
3974 Use image-multi-frame-p. (Bug#763, bug#10739)
3975 (image-mode): Adjust startup message for a multi-frame image.
3977 * image-mode.el (image-mode-map): Give it a menu.
3979 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3981 * net/tramp-cache.el (tramp-connection-properties): New customer
3983 (tramp-get-connection-property): Use it.
3985 * net/tramp-compat.el (top): Require 'trampver.
3987 * net/tramp-sh.el (tramp-remote-process-environment):
3988 Set tramp-autoload cookie.
3990 2013-02-16 Kevin Ryde <user42@zip.com.au>
3992 * info-look.el (info-lookup-select-mode): If major-mode has no
3993 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3995 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3997 * replace.el (read-regexp): Tighten the regexp that matches tag.
3998 When tag is retrieved with `find-tag-default', use regexp that
3999 matches tag at point. Also update docstring (Bug#13687).
4001 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4003 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4004 add watch for the file, not its parent directory, since w32notify
4005 sets up the watch for the directory internally. (Bug#13725)
4007 2013-02-16 Glenn Morris <rgm@gnu.org>
4009 * image.el (image-default-frame-delay): New variable.
4010 (image-animated-p): Use image-default-frame-delay.
4011 (image-minimum-frame-delay): New constant.
4012 (image-animate-timeout): Use image-minimum-frame-delay.
4014 * image.el (image-nth-frame): New, split from image-animate-timeout.
4015 (image-animate-timeout): Use image-nth-frame.
4016 * image-mode.el (image-goto-frame, image-next-frame)
4017 (image-previous-frame): New commands.
4018 (image-mode-map): Add new frame commands.
4020 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4022 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4023 If col-desc already has help-echo, use it. (Bug#13563)
4025 2013-02-16 Glenn Morris <rgm@gnu.org>
4027 * image.el (image-current-frame): New variable.
4028 (image-animate-timeout): Set image-current-frame.
4029 * image-mode.el (image-mode): For animated images,
4030 display a frame counter via mode-line-process.
4032 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4034 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4038 2013-02-15 Alan Mackenzie <acm@muc.de>
4040 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4041 global minor mode has been enabled, call the minor mode function
4042 for a new buffer once only, after the major mode hook, whilst
4043 allowing that hook explicitly to disable the minor mode.
4044 (MODE-disable-in-buffer): New (generated) function.
4045 (disable-MODE): New (generated) buffer local variable.
4047 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4049 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4050 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4051 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4052 `ido-next-match' and `ido-prev-match' resply.
4053 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4054 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4055 `icomplete-backward-completions' (Bug#13708).
4057 2013-02-15 Glenn Morris <rgm@gnu.org>
4059 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4061 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4064 (goto-address-fontify-region): Use them instead of narrowing, so
4065 syntax-ppss has access to the whole buffer.
4067 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4069 * progmodes/python.el: Explain how to restore "cc-mode"-like
4070 forward-sexp movement in header documentation (Bug#13642).
4071 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4072 comments and strings (GH bug 114).
4074 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4076 * progmodes/python.el (python-info-current-defun): Fix current
4077 defun detection (Bug#13618).
4079 2013-02-15 Chong Yidong <cyd@gnu.org>
4081 * xml.el (xml-parse-string): Fix typo in handling of bad character
4084 2013-02-15 Glenn Morris <rgm@gnu.org>
4086 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4088 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4090 * net/tramp.el (tramp-debug-message):
4091 Add `tramp-condition-case-unless-debug'.
4092 (tramp-debug-on-error): New defvar.
4093 (tramp-condition-case-unless-debug): New defun.
4094 (tramp-file-name-handler): Use it.
4096 2013-02-14 Juri Linkov <juri@jurta.org>
4098 * info.el (Info-isearch-filter): Treat non-nil values of
4099 `search-invisible' including its default value `open'
4100 like the value `t' to match hidden text. (Bug#13402)
4102 2013-02-14 Glenn Morris <rgm@gnu.org>
4104 * help-fns.el (find-lisp-object-file-name): Give special treatment
4105 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4107 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4109 * net/quickurl.el (quickurl-save-urls):
4110 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4112 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4114 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4115 depth for unfinished percent literal. Not using it in the caller.
4116 (ruby-move-to-block): Jump over multiline literals of all types,
4117 ignoring code-looking contents inside them.
4118 (ruby-add-log-current-method): Improve performance at the expense
4119 of accuracy. `ruby-block-contains-point' is relatively slow, so
4120 only use it for method and singleton class blocks.
4122 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4124 Use ControlMaster where applicable. (Bug#13677)
4126 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4127 replacing `tramp-detect-ssh-controlmaster'.
4128 (tramp-default-method): Use it.
4130 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4131 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4133 [scpc, rsyncc]: Remove methods.
4134 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4136 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4137 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4139 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * emacs-lisp/package.el (package--initialized): Move before first use.
4143 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4145 * icomplete.el (icomplete-hide-common-prefix): New user option.
4146 (icomplete-first-match): New face.
4147 (icomplete-completions): Correct handling of "complete but not
4148 unique" (Bug#12638).
4150 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4152 * descr-text.el (describe-char): Display the script (bug#13698).
4154 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * tmm.el: Use lexical-binding and current-active-maps.
4157 (tmm-menubar): Use map-keymap and pcase.
4158 (tmm--completion-table): New function.
4159 (tmm-prompt): Use it to fix the menu order.
4160 (tmm-get-keybind): Use current-active-maps.
4162 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4164 Add dired-hide-details-mode. (Bug#6799)
4166 * locate.el (locate-mode): Set parent mode property to dired-mode.
4168 * find-dired.el (find-dired): Call dired-insert-set-properties on
4169 initial information line. Set process mark on end of buffer.
4170 (find-dired-sentinel):
4171 Call dired-insert-set-properties on summary.
4173 * dired.el (dired-hide-details-hide-symlink-targets)
4174 (dired-hide-details-hide-information-lines): New options.
4175 (dired-insert-directory):
4176 Set properties after final treatment of output.
4177 (dired-insert-set-properties):
4178 Set dired-hide-details-* properties.
4179 (dired-mode-map): Bind dired-hide-details-mode.
4180 (dired-mode): Set buffer-invisibility-spec to a list.
4181 (dired-next-line): Skip hidden lines.
4182 (dired-previous-line): Use dired-next-line.
4183 (dired-hide-details-mode): New minor mode.
4184 (dired-hide-details-update-invisibility-spec): New function.
4186 2013-02-13 Glenn Morris <rgm@gnu.org>
4188 * play/yow.el: Move to obsolete/. (Bug#9384)
4190 2013-02-13 Juri Linkov <juri@jurta.org>
4192 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4193 to select `ediff-control-frame' and set input focus correctly on Xfce.
4196 2013-02-13 Juri Linkov <juri@jurta.org>
4198 * image-mode.el (image-mode-map):
4199 * doc-view.el (doc-view-mode-map):
4200 * vc/ediff-util.el (ediff-setup-keymap):
4201 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4203 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4205 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4206 performance. Instead of recalculating indentation fully for each
4207 line, sum up indentation depth based only on visited lines.
4208 (ruby-parse-partial): Increase the depth after "do" even when END
4210 (ruby-parse-partial): When END is in the middle of a percent
4211 literal, increase the depth if the delimiter chars belong to the
4214 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4216 * play/fortune.el (fortune-compile): Also make the compiled file
4217 if it does not exist at all, not just if it is old. (Bug#5338)
4219 2013-02-13 Glenn Morris <rgm@gnu.org>
4221 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4223 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4225 * lisp/emacs-lisp/package.el (package-menu-execute):
4226 Add optional noquery argument. (Bug#13625)
4228 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4230 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4231 if DIR exists and PARENTS is non-nil.
4233 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4235 * progmodes/js.el (js--multi-line-declaration-indentation):
4236 Silence byte-compiler warning.
4238 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4240 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4242 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4243 only if it doesn't exist.
4245 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4248 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4250 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4251 UserInstallation when calling soffice to work around LibreOffice
4254 2013-02-12 Glenn Morris <rgm@gnu.org>
4256 * files.el (basic-save-buffer):
4257 Offer to create a non-existing directory. (Bug#3016)
4259 * calc/calc-graph.el (calc-graph-show-dumb):
4260 * calendar/calendar.el (calendar-mode-map):
4261 * cus-edit.el (custom-mode-map):
4262 * ehelp.el (electric-help-map):
4263 * emulation/vip.el (vip-mode-map):
4264 * epa.el (epa-key-list-mode-map):
4265 * info.el (Info-mode-map):
4266 * mail/rmail.el (rmail-mode-map):
4267 * mail/rmailsum.el (rmail-summary-mode-map):
4268 * man.el (Man-mode-map):
4269 * net/newst-plainview.el (newsticker-mode-map):
4270 * progmodes/cpp.el (cpp-edit-mode-map):
4271 * progmodes/grep.el (grep-mode-map):
4272 * progmodes/idlw-help.el (idlwave-help-mode-map):
4273 * simple.el (special-mode-map):
4274 * startup.el (splash-screen-keymap):
4275 * view.el (view-mode-map):
4276 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4278 2013-02-11 Elias Pipping <pipping@lavabit.com>
4280 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4283 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4285 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4287 2013-02-11 Glenn Morris <rgm@gnu.org>
4289 * vc/diff.el (diff-use-labels): New variable.
4290 (diff-no-select): Use --label rather than -L, and first
4291 check that it is supported. (Bug#11067)
4293 * files.el (enable-dir-local-variables): New variable.
4294 (hack-dir-local-variables): Respect enable-dir-local-variables.
4295 * tutorial.el (help-with-tutorial):
4296 Ignore directory-local variables. (Bug#11127)
4298 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4299 (vc-svn-global-switches): ... to here. (Bug#13513)
4301 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4303 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4304 Handle "foo (bar, default: xxx): " prompts.
4306 2013-02-10 Chong Yidong <cyd@gnu.org>
4308 * files.el (basic-save-buffer-1): Do not set
4309 buffer-file-coding-system-explicit (Bug#4533).
4311 * mail/emacsbug.el (report-emacs-bug): Change binding of
4312 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4314 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4316 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4317 * calc/calc-units.el (calc-convert-units): Use new variable.
4319 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4321 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4323 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4326 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4327 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4328 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4329 coding-system-for-write instead.
4331 * jka-compr.el (jka-compr-write-region): Don't bind
4334 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4337 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4338 (insert-file-contents-literally): Remove reference to
4339 file-name-buffer-file-type-alist.
4341 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4343 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4344 (find-buffer-file-type-coding-system): Remove references to
4345 find-buffer-file-type-match, find-buffer-file-type, and
4347 Don't put find-buffer-file-type-coding-system into
4348 file-coding-system-alist.
4349 (find-file-binary, find-file-text): Bind coding-system-for-read
4350 instead of file-name-buffer-file-type-alist.
4352 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4354 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4355 converter (Bug#13622).
4356 (doc-view-unoconv-program): Make obsolete alias.
4357 (doc-view-odf->pdf-converter-program): New variable.
4358 (doc-view-odf->pdf-converter-function): New variable.
4359 (doc-view-mode-p): Use it.
4360 (doc-view-odf->pdf-converter-unoconv):
4361 Rename from `doc-view-odf->pdf-converter-unoconv'.
4362 (doc-view-odf->pdf-converter-soffice): New function.
4363 (doc-view-convert-current-doc):
4364 Use `doc-view-odf->pdf-converter-function'.
4366 2013-02-09 Chong Yidong <cyd@gnu.org>
4368 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4369 view-echo-area-messages (Bug#13340).
4371 * help.el (view-echo-area-messages): Use display-buffer.
4373 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4376 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4378 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4379 Eval body right away, now that we do eager macroexpansion (bug#13605).
4381 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4382 (fundamental-mode): Use run-mode-hooks.
4384 * eshell/esh-proc.el (eshell/kill): Fix last change.
4385 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4387 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4389 * eshell/esh-proc.el (eshell/kill): Rewrite.
4391 * eshell/em-ls.el (show-almost-all): Declare.
4392 (eshell-do-ls): Add support for -A argument.
4394 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4396 * icomplete.el (icomplete-forward-completions)
4397 (icomplete-backward-completions): Handle corner case (bug#13602).
4399 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4401 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4402 be nil. Handle this. (Bug#13636)
4404 2013-02-07 Richard Stallman <rms@gnu.org>
4406 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4407 `save-buffer-coding-system'.
4409 2013-02-07 Alan Mackenzie <acm@muc.de>
4411 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4412 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4413 (c-parse-state-get-strategy): Don't return 'BOD any more.
4414 (c-append-lower-brace-pair-to-state-cache):
4415 Extra parameter HERE instead of narrowing.
4416 Widen to top of buffer before searching backwards for a brace pair.
4417 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4418 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4419 Narrow to parameter HERE, in place of being called narrowed.
4420 (c-remove-stale-state-cache): Extra parameter HERE in place of
4421 narrowing. Check there's an open brace in the cache before
4422 searching for its match.
4423 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4424 (c-parse-state-1): Don't narrow here for 'forward strategy,
4425 instead passing extra parameter HERE to several functions.
4426 Remove 'BOD strategy.
4428 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4430 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4431 used to install the package.
4433 2013-02-06 Glenn Morris <rgm@gnu.org>
4435 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4436 if we can't get user input. (Bug#6567)
4438 * startup.el (command-line): If simple.el is missing,
4439 test and warn about for some possible causes.
4441 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4443 * cus-start.el (all): Add ns-use-native-fullscreen.
4445 2013-02-05 Glenn Morris <rgm@gnu.org>
4447 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4449 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4450 Fix directory creation in fallback case.
4452 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4454 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4455 (vc-update-change-log): Use dolist.
4457 2013-02-04 Chong Yidong <cyd@gnu.org>
4459 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4461 (thing-at-point-beginning-of-url-regexp): New var.
4462 (thing-at-point-uri-schemes): Update list of URI schemes.
4463 (thing-at-point-url-regexp): Variable deleted.
4464 (thing-at-point-markedup-url-regexp): Disallow newlines.
4465 (thing-at-point-newsgroup-regexp)
4466 (thing-at-point-newsgroup-heads)
4467 (thing-at-point-default-mail-uri-scheme): New variables.
4468 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4469 method to find the possible bounds of the URI at point.
4470 New optional argument to find ill-formed URIs.
4471 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4472 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4473 the scheme-adding heuristics from ffap-url-at-point.
4474 (thing-at-point--bounds-of-well-formed-url): New function.
4475 Do parens matching to decide whether to include parens in the URI
4478 * ffap.el: Require thingatpt.
4479 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4480 All URI-valid characters are now recognized (Bug#5673).
4481 (ffap-string-at-point): Use use-region-p.
4482 (ffap-url-regexp): Extra character is handled by thing-at-point.
4483 (ffap-string-at-point-mode-alist): Allow parentheses.
4484 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4485 Convert to aliases; code moved to thingatpt.el.
4486 (ffap-gnus-hook): Use setq-local.
4488 2013-02-04 Glenn Morris <rgm@gnu.org>
4490 * emacs-lisp/ert.el (ert--explain-format-atom):
4491 Don't try to print non-characters as characters. (Bug#13543)
4493 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4495 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4496 (tramp-backtrace): New defun.
4497 (tramp-handle-insert-file-contents): Use `visit' when inserting
4500 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4501 Use `remote-file-name-inhibit-cache'.
4503 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4505 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4508 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4509 current-load-list (bug#13366).
4511 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4513 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4514 Identify g++ template instantiation trace. (Bug#12287)
4515 (compilation-mode-hook, compilation-start-hook)
4516 (compilation-window-height): Simplify docstrings. (Bug#13379)
4518 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * mouse.el (mouse-drag-track): Always deactivate the mark before
4521 running the final event's command since that command is in charge of
4522 activating the mark if needed (bug#13523).
4524 2013-02-02 Juri Linkov <juri@jurta.org>
4526 * replace.el (perform-replace): Move let-bindings of isearch-*
4527 variables deeper to the loop that searches for the next match.
4528 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4529 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4532 * isearch.el (isearch-search-fun-default): Check for null
4533 first element of isearch-cmds as a precaution when it's used
4534 with inactive isearch.
4536 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4538 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4539 error when buffer in question is narrowed so position 1 is out of
4542 2013-02-02 Glenn Morris <rgm@gnu.org>
4544 * textmodes/remember.el (remember-clipboard): Doc fix.
4546 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4548 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4549 properties (bug#13179).
4551 2013-02-02 Juri Linkov <juri@jurta.org>
4553 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4554 instead of hard-coded default face `match'. (Bug#9438)
4556 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4558 * vc/vc-arch.el (vc-arch-registered):
4559 * vc/vc-bzr.el (vc-bzr-registered):
4560 * vc/vc-cvs.el (vc-cvs-registered):
4561 * vc/vc-git.el (vc-git-registered):
4562 * vc/vc-hg.el (vc-hg-registered):
4563 * vc/vc-mtn.el (vc-mtn-registered):
4564 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4567 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4568 prefix argument. (Bug#11656)
4570 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4574 2013-02-01 Glenn Morris <rgm@gnu.org>
4576 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4577 if the backend is known not to support it.
4579 * imenu.el (imenu-default-create-index-function):
4580 Tweak infinite loop test to check for forward motion as well as none.
4582 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4584 * net/soap-client.el (soap-invoke): Encode the string for
4585 `url-request-data' as UTF-8.
4586 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4588 2013-02-01 Glenn Morris <rgm@gnu.org>
4590 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4592 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4594 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4596 * net/tramp.el (tramp-tramp-file-p): Comment check for
4597 `string-as-unibyte'. The function does not exist on XEmacs, and
4598 likely we need another approach.
4600 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4601 `tramp-gw-*' variables are bound.
4603 2013-01-31 Glenn Morris <rgm@gnu.org>
4605 * files.el (basic-save-buffer-2): Choose coding system for
4606 writing the file before backing it up, to reduce delay between
4607 backing up and writing the new version. (Bug#13522)
4609 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4611 * simple.el (cycle-spacing): New command.
4612 (just-one-space): Use it.
4614 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4616 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4617 (opascal-newline-always-indents): Remove custom.
4618 (opascal-tab, opascal-newline): Remove commands.
4619 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4620 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4621 (opascal-save-match-data): Remove, use save-match-data instead.
4622 (opascal-save-state): Use with-silent-modifications.
4624 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4627 2013-01-30 Juri Linkov <juri@jurta.org>
4629 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4630 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4631 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4633 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4636 column if we're just deleting the backslashes.
4637 (makefile-fill-paragraph): Use eolp.
4639 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4641 * autorevert.el (auto-revert-use-notify): Fix docstring.
4643 2013-01-30 Leo Liu <sdl.web@gmail.com>
4645 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4647 2013-01-30 Glenn Morris <rgm@gnu.org>
4649 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4650 unread-command-events twice in some cases. This tries to implement
4651 the 2012-07-26 changes in a different way. (Bug#13560)
4653 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4655 * progmodes/python.el
4656 (python-pdbtrack-comint-output-filter-function): Enhancements on
4657 stacktrace detection. (thanks @gnovak)
4659 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4661 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4662 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4664 (jit-lock-register): Use setq-local.
4666 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4668 * calc-units.el (math-default-units-table): Remove initial value.
4669 (calc-convert-units): Treat expressions where all the units cancel as
4670 if they didn't have units.
4672 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4674 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4675 (tramp-completion-reread-directory-timeout): Fix type.
4676 (tramp-connection-min-time-diff): New defcustom.
4678 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4680 2013-01-30 Glenn Morris <rgm@gnu.org>
4682 * imenu.el (imenu-default-create-index-function):
4683 Put back a version of the infinite loop test removed 2013-01-23.
4685 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4687 * progmodes/python.el (python-shell-parse-command):
4688 Find python-shell-interpreter with modified environment.
4690 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4692 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4694 2013-01-29 Alan Mackenzie <acm@muc.de>
4696 Amend to fontify /regexp/s in actions correctly.
4697 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4698 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4699 are no longer included.
4700 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4701 What used to be these variables without "-line" in the name.
4702 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4703 (c-awk-non-arith-op-bra-re): Now also matches {.
4704 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4705 "return", and "case".
4706 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4708 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4709 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4711 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4713 * autorevert.el (auto-revert-use-notify):
4714 Use `custom-initialize-default' for initialization. (Bug#13583)
4716 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4718 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4719 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4720 in `tramp-file-name-handler'.
4721 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4723 (tramp-compute-multi-hops): Check, whether
4724 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4726 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4731 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4734 checks made superfluous by the \_< operator.
4735 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4736 temporarily) broken indentation.
4737 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4738 Highlight nested constants, too. \_< broke that.
4740 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4742 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4745 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4747 * autorevert.el (auto-revert-handler): Notifications which result
4748 from a saved file shall not be taken into account. (Bug#13557)
4750 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4752 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4753 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4754 (lisp-mode): Pass t for it. (Bug#13556)
4756 2013-01-25 Alan Mackenzie <acm@muc.de>
4758 AWK Mode: Fix indentation bug at top level. Bug #12274.
4760 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4761 just before CASE 5D.
4763 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4765 * net/socks.el (socks-nslookup-host): Use string-to-number.
4767 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4769 * autorevert.el (auto-revert-remote-files)
4770 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4771 (auto-revert-notify-enabled, auto-revert-use-notify)
4772 (auto-revert-notify-watch-descriptor-hash-list)
4773 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4774 (auto-revert-notify-event-descriptor)
4775 (auto-revert-notify-event-action)
4776 (auto-revert-notify-event-file-name): Doc fix.
4777 (global-auto-revert-mode): Reorder checks.
4778 (auto-revert-notify-rm-watch): Respect changed values of
4779 `auto-revert-notify-watch-descriptor-hash-list'.
4780 (auto-revert-notify-add-watch): Check for
4781 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4782 `inotify-add-watch'. Watch `default-directory' instead of
4783 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4784 has a changed meaning now. (Bug#13540)
4785 (auto-revert-notify-handler): Change implementation wrt events
4786 returning from a directory.
4787 (auto-revert-handler): Reorder implementation for checks of remote
4789 (auto-revert-buffers): Fix parentheses error.
4791 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4793 * progmodes/python.el: Enhancements to header documentation about
4794 skeletons. (Bug#5716)
4796 * imenu.el (imenu-default-create-index-function): Remove useless
4797 infinite loop check. (Bug#13438)
4799 2013-01-25 Alan Mackenzie <acm@muc.de>
4801 Fix a bug in the state cache mechanism. Refactor this a bit.
4803 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4804 `cache-pos' element from the return value.
4805 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4806 buffer to enable proper searching from beyond HERE. Amend the
4807 test for detecting the sought brace pair. Amend the value written
4808 to the "brace desert cache" when the brace isn't found.
4809 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4810 and several other variables analogously.
4811 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4812 parameter to a locally calculated variable.
4813 (c-parse-state-1): Change the calling conventions to the two
4814 defuns involving `cache-pos'.
4816 2013-01-25 Chong Yidong <cyd@gnu.org>
4818 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4820 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4822 * paren.el (show-paren-function): Make sure to set 'priority and
4823 'face only if the overlay does exist.
4825 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4827 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4829 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4831 (tramp-sh-handle-set-file-acl): Improve error checking.
4833 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4835 * doc-view.el (doc-view-display): Force mode line update until all
4836 document is converted. Suggested by Stefan Monnier (Bug#13164).
4838 2013-01-23 Bastien Guerry <bzg@gnu.org>
4840 * paren.el (show-paren-function): Make sure an overlay exists
4841 before trying to delete it. Also use `pos' as a position only
4842 when it is an integer.
4844 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4846 * play/gametree.el (gametree-break-line-here): Use point-marker.
4848 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4850 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4851 Mark descriptive parts with `display' property.
4853 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4855 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4856 New variable to map standard dict names to hunspell ones.
4857 (ispell-set-spellchecker-params): Make sure specific dict names
4858 are used for standard dicts with hunspell.
4860 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4862 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4863 chars for note (%N) and url (%U).
4864 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4866 2013-01-21 Juri Linkov <juri@jurta.org>
4868 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4869 in addition to existing separate binding `meta f10' in `global-map'.
4872 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4874 Improve XEmacs compatibility.
4876 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4878 * net/tramp-adb.el (top): Require `time-date'.
4879 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4880 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4881 Use `tramp-file-name-handler'.
4882 (tramp-adb-maybe-open-connection):
4883 Use `tramp-compat-set-process-query-on-exit-flag'.
4885 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4886 Use `tramp-compat-funcall'.
4888 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4889 `tramp-compat-funcall'.
4891 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4893 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4894 reimplementation using "adb shell command ..." instead of running
4895 remote shell interactively.
4897 2013-01-20 Glenn Morris <rgm@gnu.org>
4899 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4900 Add native profiler menu entries.
4902 * profiler.el (profiler-running-p): New function.
4903 (profiler-cpu-profile): Use profiler-running-p.
4904 (profiler-report-mode-map): Add some more menu entries.
4906 2013-01-19 Glenn Morris <rgm@gnu.org>
4908 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4909 fixes 2012-12-07 change. (Bug#13499)
4911 2013-01-19 Leo Liu <sdl.web@gmail.com>
4913 * dired.el (dired-get-marked-files): Prune erroneous values due to
4914 last change. (Bug#13152)
4916 2013-01-19 Glenn Morris <rgm@gnu.org>
4918 * progmodes/etags.el (tags-table-check-computed-list):
4919 Preserve point in tags buffer. (Bug#13412)
4921 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4923 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4924 Chong Yidong <cyd@gnu.org>
4926 * image-mode.el (image-next-file, image-previous-file):
4927 New commands (Bug#8453).
4928 (image-mode-map): Bind them to n and p.
4929 (image-mode--images-in-directory): New helper function.
4931 2013-01-19 Chong Yidong <cyd@gnu.org>
4933 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4934 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4935 save and restore the old window configuration.
4937 2013-01-18 Leo Liu <sdl.web@gmail.com>
4939 * progmodes/js.el: Tweak autoload cookie for alias.
4941 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4943 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4944 buffer local, again. This was lost with the fix on 2013-01-12.
4946 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4948 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4949 order to support several eshell buffers in parallel.
4951 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4953 * autorevert.el (auto-revert-use-notify): In the :set function, do
4954 not modify `kill-buffer-hook'.
4955 (auto-revert-notify-rm-watch):
4956 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4957 (auto-revert-notify-add-watch): Do not call
4958 `auto-revert-notify-rm-watch', but add it to a buffer local
4961 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4963 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4964 call to `eval' rather than a backquoted lambda.
4966 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4968 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4969 to return an explicit nil.
4970 (advice--remove-function): Change accordingly.
4972 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4973 the use of nadvice.el.
4975 * progmodes/which-func.el (which-function): Silence imenu errors
4978 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4980 * progmodes/sql.el (sql-imenu-generic-expression):
4981 (sql-mode-font-lock-object-name): Match schema qualified names.
4982 (sql-connect): Use string keys.
4983 (sql-product-interactive): Wait for interpreter prompt.
4984 (sql-comint-oracle): Set process coding based on NLS_LANG.
4986 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4988 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4989 (sql-interactive-remove-continuation-prompt):
4990 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4992 2013-01-14 Leo Liu <sdl.web@gmail.com>
4994 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4997 2013-01-14 Glenn Morris <rgm@gnu.org>
4999 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5000 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5002 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
5004 * progmodes/python.el (python-nav-end-of-statement):
5005 Fix cornercase when handling multiline strings.
5007 2013-01-13 Richard Stallman <rms@gnu.org>
5009 * mail/sendmail.el (mail-position-on-field): Add doc string.
5011 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5012 Get current message boundaries and pass them to
5013 message-forward-make-body-mime. Minor style changes.
5015 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5017 * cus-start.el (all): Avoid warnings about
5018 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5020 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5022 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5024 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5027 (jit-lock--debug-fontifying): New var.
5028 (jit-lock--debug-fontify): New function.
5029 * subr.el (condition-case-unless-debug): Don't prevent catching the
5030 error, just let the debbugger run.
5031 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5032 timer code and don't drop errors silently.
5034 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5036 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5037 `permanent-local' property.
5038 (auto-revert-notify-handler): Use `file-equal-p'.
5040 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5042 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5043 file notification by ACTION. For filtering by file name, compare
5044 only the non-directory part of the file name.
5046 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5048 * autorevert.el: Use cl-lib instead of cl.
5050 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5051 (vc-bzr-checkin): Use it.
5052 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5053 will preserve match-data.
5055 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5057 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5058 (js--declaration-keyword-re): New var.
5059 (js--multi-line-declaration-indentation): New function.
5060 (js--proper-indentation): Use it.
5062 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5064 * calc/calc.el (calc-highlight-selections-with-faces)
5066 * comint.el (comint-history-isearch-message):
5067 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5068 * ffap.el (ffap-string-at-point-region, ffap-next)
5069 (ffap-string-at-point, ffap-string-around)
5070 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5072 * font-lock.el (font-lock-keywords-alist)
5073 (font-lock-removed-keywords-alist):
5074 * help-mode.el (help-xref-symbol-regexp):
5075 * info.el (Info-find-emacs-command-nodes):
5076 * international/mule.el (add-to-coding-system-list):
5077 * isearch.el (isearch-message-function, isearch-fail-pos):
5078 * misearch.el (multi-isearch-next-buffer-function):
5079 * newcomment.el (comment-box):
5080 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5081 (pr-setting-database):
5082 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5083 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5084 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5085 (pike-font-lock-keywords-3):
5086 * progmodes/compile.el (compile):
5087 * progmodes/etags.el (tags-table-files)
5088 (tags-table-files-function, tags-included-tables-function):
5089 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5090 (gdb-restore-windows):
5091 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5092 (ps-n-up-filling-database):
5093 * server.el (server-buffer, server-log):
5094 * simple.el (newline, delete-backward-char, delete-forward-char)
5095 (minibuffer-history-isearch-message, kill-line, track-eol)
5096 (temporary-goal-column):
5097 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5098 (flyspell-default-deplacement-commands):
5099 * textmodes/ispell.el (ispell-accept-output):
5100 * textmodes/sgml-mode.el (html-tag-help):
5101 * vc/compare-w.el (compare-ignore-whitespace)
5102 (compare-ignore-case, compare-windows-dehighlight):
5103 * vc/diff.el (diff):
5104 * whitespace.el (whitespace-point)
5105 (whitespace-font-lock-refontify, whitespace-bob-marker)
5106 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5108 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5110 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5111 (auto-revert-notify-rm-watch): Ignore errors.
5112 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5113 inotify, and '(size last-write-time) for w32notify.
5114 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5115 watch fails - this is a fallback to the file modification check.
5116 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5117 (auto-revert-notify-event-action)
5118 (auto-revert-notify-event-file-name): New defuns.
5119 (auto-revert-notify-handler): Use them. Implement first
5120 plausibility checks.
5121 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5123 2013-01-11 Julien Danjou <julien@danjou.info>
5125 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5126 max are almost equal. Also return the correct value for V which is
5127 already between 0 and 1.
5129 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5131 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5133 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5135 * autorevert.el (auto-revert-notify-rm-watch)
5136 (auto-revert-notify-add-watch): Fix typos in w32notify function
5139 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5141 * autorevert.el (auto-revert-notify-enabled): Move up.
5142 (auto-revert-use-notify): New defcustom.
5143 (auto-revert-mode, global-auto-revert-mode)
5144 (auto-revert-notify-add-watch, auto-revert-handler)
5145 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5146 `auto-revert-notify-enabled'.
5148 2013-01-10 Elias Pipping <pipping@exherbo.org>
5150 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5151 * doc-view.el (doc-view-document->bitmap):
5152 Use doc-view-single-page-converter-function instead of
5153 single-page-converter arg; adjust callers.
5155 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5157 * progmodes/which-func.el (which-function): Understand Semantic's use
5158 of overlays in imenu--index-alist.
5160 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5162 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5163 (Man-man-k-use-anchor): New var.
5164 (Man-parse-man-k): New function.
5165 (Man-completion-table): Use it.
5166 (man): Flush the completion cache between uses.
5168 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5170 * autorevert.el: Add file watch support.
5171 (auto-revert-notify-enabled): New defconst.
5172 (auto-revert-notify-watch-descriptor-hash-list)
5173 (auto-revert-notify-watch-descriptor)
5174 (auto-revert-notify-modified-p): New defvars.
5175 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5176 (auto-revert-notify-handler): New defuns.
5177 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5178 when mode is disabled.
5179 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5180 (auto-revert-buffers): Add file watches for active buffers.
5182 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5184 * cus-start.el (toplevel): Only allow float values for
5185 scroll-up-aggressively and scroll-down-aggressively.
5186 Allow any number for line-spacing.
5188 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5190 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5191 (doc-view-pdf->png-converter-function): Use mupdf if available.
5192 (doc-view-djvu->png-converter-function)
5193 (doc-view-ps->png-converter-function): Remove.
5194 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5195 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5196 (doc-view-already-converted-p): Adjust accordingly.
5197 (doc-view-mode-p): Simplify.
5198 (doc-view-enlarge): Use setq-local.
5199 (doc-view-pdf->png-converter-ghostscript)
5200 (doc-view-djvu->png-converter-ddjvu)
5201 (doc-view-pdf->png-converter-mupdf): Rework to call
5202 doc-view-start-process directly.
5203 (doc-view-pdf/ps->png): Simplify accordingly.
5204 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5205 (doc-view-document->bitmap): Rename from doc-view-document->png.
5206 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5207 (doc-view-set-slice-from-bounding-box): Fix completion table.
5208 (doc-view-mode): Use add-hook for after-revert-hook.
5210 2013-01-10 Glenn Morris <rgm@gnu.org>
5212 * emacs-lisp/authors.el (authors-ignored-files)
5213 (authors-valid-file-names, authors-renamed-files-alist):
5214 Add some more entries.
5216 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5219 `t' pseudo-window entry.
5221 2013-01-10 Alan Mackenzie <acm@muc.de>
5223 Fix bugs in the c-parse-state mechanism. Reuse some markers
5224 instead of continually generating new ones.
5226 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5227 (c-state-old-cpp-end-marker): New variables.
5228 (c-append-lower-brace-pair-to-state-cache): Start a backward
5229 search for "}" definitively outside CPP constructs.
5230 (c-remove-stale-state-cache): Inform the caller of a need to
5231 search back for a brace pair in certain circumstances.
5232 (c-state-maybe-marker): New macro.
5233 (c-parse-state): Reuse markers when appropriate.
5235 2013-01-10 Glenn Morris <rgm@gnu.org>
5237 * simple.el (execute-extended-command): Doc fix.
5238 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5240 2013-01-10 Chong Yidong <cyd@gnu.org>
5242 * faces.el (read-face-name): Doc fix.
5244 2013-01-10 Roland Winkler <winkler@gnu.org>
5246 * emacs-lisp/crm.el: Allow any regexp for separators.
5247 (crm-default-separator): All spaces around the default comma separator.
5248 (crm--completion-command): New macro.
5249 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5250 (crm-complete-and-exit): Handle non-single-char separators.
5252 2013-01-09 Elias Pipping <pipping@lavabit.com>
5254 * doc-view.el: Add support for DjVu (bug#13164).
5255 (doc-view-djvu->png-converter-function): New config var.
5256 (doc-view-single-page-converter-function, doc-view--image-type)
5257 (doc-view--image-file-extension): New vars.
5258 (doc-view-mode): Initialize them.
5259 (doc-view-goto-page): Use them.
5260 (doc-view-mode-p): Add support for ddjvu.
5261 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5262 (doc-view-set-up-single-converter): New funs.
5263 (doc-view-pdf/ps->png): Extend for djvu.
5264 (doc-view-document->png): Rename from doc-view-pdf->png.
5265 (doc-view-convert-current-doc): Handle djvu.
5266 (doc-view-insert-image, doc-view-display)
5267 (doc-view-already-converted-p): Don't hardcode png.
5268 (doc-view-set-doc-type): Recognize djvu docs.
5270 2013-01-09 Elias Pipping <pipping@lavabit.com>
5272 * doc-view.el: Add support for mupdf converter (bug#13164).
5273 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5274 (doc-view-ps->png-converter-function): New config vars.
5275 (doc-view-pdf->png-converter-ghostscript)
5276 (doc-view-ps->png-converter-ghostscript)
5277 (doc-view-pdf->png-converter-mupdf): New functions.
5278 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5280 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
5282 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5283 first in session cache: When `tramp-own-remote-path' is in
5284 `tramp-remote-path', the remote path is only set in the session
5287 2013-01-09 Glenn Morris <rgm@gnu.org>
5289 * emacs-lisp/trace.el (trace-function-foreground)
5290 (trace-function-background): Doc fix.
5292 2013-01-09 Juri Linkov <juri@jurta.org>
5294 * international/mule-cmds.el (read-char-by-name): Move let-binding
5295 of completion-ignore-case around completing-read to fix regression
5296 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5297 `string-match-p' using the nil value of `case-fold-search' and
5298 `completion-ignore-case' in `completion-pcm--all-completions'.
5301 2013-01-09 Glenn Morris <rgm@gnu.org>
5303 * progmodes/compile.el (compilation-parse-errors):
5304 Fix typo. (Bug#13369)
5306 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5308 * comint.el (comint-send-input): Check size of buffer before
5309 waiting for process output, in case already accepted. (Bug#13290)
5311 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5314 * net/tramp-adb.el (tramp-adb-get-toolbox):
5315 Fix misspelling of 'unknown'.
5317 2013-01-08 Juri Linkov <juri@jurta.org>
5319 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5320 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5321 Use underline style wave on terminals that support it. (Bug#13000)
5323 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5325 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5326 the predicate returns nil.
5328 * simple.el: Use lexical-binding.
5329 (primitive-undo): Use pcase.
5330 (minibuffer-history-isearch-push-state): Use a closure.
5332 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5334 * simple.el (primitive-undo): Move from undo.c.
5336 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5339 (cvs-mode-remove-handled): Use it (bug#13380).
5341 * emacs-lisp/nadvice.el (advice--tweak): New function.
5342 (advice--remove-function, advice--subst-main): Use it.
5344 * emacs-lisp/advice.el: Update commentary.
5346 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5348 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5349 Remove spurious entry.
5351 2013-01-08 Glenn Morris <rgm@gnu.org>
5353 * net/tramp.el (tramp-default-host-alist): Add :version.
5355 2013-01-08 Juri Linkov <juri@jurta.org>
5357 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5358 single completion. (Bug#12456)
5359 (info--manual-names): Expand node completions into an explicit list
5360 before appending it to another list. Filter out internal buffers
5361 with the leading space in the buffer name. (Bug#10771)
5363 2013-01-08 Juri Linkov <juri@jurta.org>
5365 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5366 that defaults to the Top node.
5367 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5368 the short format (FILENAME) goes to the Top node.
5369 (Info-build-node-completions): Rename arg `file' to `filename'.
5372 2013-01-07 Bastien Guerry <bzg@gnu.org>
5374 * menu-bar.el (menu-bar-search-documentation-menu):
5375 Use `apropos-user-option' and fix the help message.
5377 2013-01-07 Bastien Guerry <bzg@gnu.org>
5379 * apropos.el (apropos-do-all): Update docstring.
5380 (apropos-user-option-button): New face.
5381 (apropos-user-option): Rename from `apropos-variable' and update
5383 (apropos-variable): Rewrite, now show all variables by default.
5384 (apropos-print): Mention "User option" instead of "Variable" when
5385 printing doc for user options. (Bug#13276)
5387 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5389 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5390 Handle filename correctly, when parsing "source -> target" symlink
5392 (tramp-adb-handle-set-file-times): New defun.
5394 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5397 advice list when the interactive-spec of ad-Advice-* changes.
5399 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5401 * wid-edit.el (widget-default-get): Work for inlined elements.
5404 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5406 * net/tramp.el (tramp-default-host-alist): New defcustom.
5407 (tramp-find-host): Use it.
5408 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5409 `eshell-directory-change-hook'.
5411 * net/tramp-adb.el (top): Add adb specific entry in
5412 `tramp-default-host-alist'.
5413 (tramp-adb-file-name-host): Remove function.
5414 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5415 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5417 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5419 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5421 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5423 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5425 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5426 consist of more than one digit.
5427 (tramp-adb-file-name-handler-alist):
5428 Use `tramp-handle-file-exists-p' consistently.
5429 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5430 (tramp-adb-handle-file-exists-p): Remove function.
5431 (tramp-adb-file-name-host): New defun.
5432 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5434 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5436 2013-01-06 Chong Yidong <cyd@gnu.org>
5438 * vc/vc.el (vc-next-action): Detect buffer modifications
5439 conflicting with locking VCS operation (Bug#11490).
5441 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5443 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5445 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5446 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5448 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5450 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5451 parsing of ls output using regular expression (handle filenames
5452 with spaces). Use virtual device number.
5453 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5456 2013-01-04 Daiki Ueno <ueno@gnu.org>
5458 * epg.el: Silence byte-compiler warnings.
5459 (epg--start): Use delete-char instead of delete-backward-char.
5460 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5462 2013-01-04 Daiki Ueno <ueno@gnu.org>
5464 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5465 Suggested by Eli Zaretskii <eliz@gnu.org>.
5467 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5469 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5470 non-negative integers. Otherwise, the default values are used.
5471 (tramp-convert-file-attributes): Convert uid and gid to integers.
5473 2013-01-04 Glenn Morris <rgm@gnu.org>
5475 * term.el (term-handle-colors-array): Ensure face attributes
5476 are fully specified, not nil. (Bug#13337)
5478 * term.el (term-default-fg-color, term-default-bg-color):
5481 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5482 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5483 rather than 'jka-compr being loaded. (Bug#13338)
5485 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5487 * icomplete.el (icomplete-completions):
5488 Honor icomplete-prospects-height once more following
5489 2012-11-29 changes. (Bug#13224)
5491 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5493 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5494 of called-interactively-p as well (bug#13237).
5496 * view.el (view--enable, view--disable): Rename from view-mode-enable
5497 and view-mode-disable and assume it's called from view-mode.
5498 (view-mode-enable, view-mode-disable): Redefine as obsolete
5499 compatibility layer above view-mode.
5500 (view-mode-enter): Call `view-mode'.
5502 * files.el (after-find-file): Call `view-mode'.
5504 * doc-view.el (doc-view-scale-internally): New var.
5505 (doc-view-enlarge, doc-view-insert-image): Obey it.
5507 2013-01-03 Daiki Ueno <ueno@gnu.org>
5509 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5512 2013-01-03 Glenn Morris <rgm@gnu.org>
5514 * mail/rmail.el (rmail-set-header-1): Ignore case.
5515 Handle multi-line headers. (Bug#13330)
5517 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5518 Handle paragraph starting at beginning of buffer.
5520 * subr.el (eval-after-load): Don't purecopy the form, so that it
5521 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5523 * emacs-lisp/byte-run.el (defun): Place cl declarations
5524 after any interactive spec. (Bug#13265)
5526 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5528 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5529 defun. Don't check for DECL if DOCSTRING isn't a string.
5532 2013-01-02 Glenn Morris <rgm@gnu.org>
5534 * eshell/em-cmpl.el (eshell-pcomplete):
5535 More thoroughly imitate pcomplete. (Bug#13293)
5537 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5538 Return nil for empty path elements. (Bug#13296)
5540 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5542 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5543 order to improve efficiency (Based on Daniel Colascione's
5544 <dancol@dancol.org> patch). (Bug#13182)
5546 2013-01-02 Glenn Morris <rgm@gnu.org>
5548 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5550 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5552 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5553 neither DOCSTRING nor DECL was given. (Bug#13316)
5555 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5557 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5559 (tramp-do-copy-or-rename-file): Ignore errors when calling
5560 `set-file-extended-attributes'.
5562 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5563 Add handler for `file-acl'.
5564 (tramp-smb-handle-file-acl): New defun.
5566 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5568 * calc/README: Mention ISO 8601 week-numbering dates.
5570 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5572 * view.el (view-mode-enable): New argument run-view-mode-hook.
5573 Run view-mode-hook only when it's non-nil (Bug#13315).
5574 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5577 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5579 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5580 (No device connected, invalid device name). (Bug #13299)
5582 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5584 * window.el (window-resizable--p): Rename to window-resizable-p.
5585 (window-resize-no-error): New function.
5587 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5588 broken in fix from 2012-12-28.
5590 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * subr.el (special-form-p): Don't signal errors on undef aliases.
5594 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5596 * calc/calc-forms.el (math-parse-date): Try using
5597 `math-parse-iso-date' when it looks like it might be needed.
5598 Allow times of 24:00.
5599 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5602 2012-12-30 Glenn Morris <rgm@gnu.org>
5604 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5605 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5606 (rmail-summary-displayed, rmail-summary): Declare.
5607 (mairix-rmail-display): Just require rmail.
5609 2012-12-30 Chong Yidong <cyd@gnu.org>
5611 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5612 check for the tarball contents.
5614 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5616 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5617 tarfile content listings (Bug#13136).
5619 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5621 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5622 Insert the undecoded text of the message being forwarded. (Bug#9521)
5624 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5626 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5627 integers, if they are real numbers. (Bug#13282)
5629 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5630 Return `t' on success.
5632 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5633 Add handler for `set-file-selinux-context'.
5635 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5637 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5638 (tramp-sh-handle-set-file-acl): Return `t' on success.
5640 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5642 * files.el (backup-buffer-copy, basic-save-buffer-2):
5643 If set-file-extended-attributes fails, fall back on set-file-modes
5644 instead of signaling an error. (Bug#13298)
5645 (basic-save-buffer): Likewise.
5647 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5649 * progmodes/python.el: Support other commands triggering
5650 python-indent-line so indentation cycling continues to work.
5651 (python-indent-trigger-commands): New defcustom.
5652 (python-indent-line): Use it.
5654 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5656 * progmodes/python.el (python-shell-send-region): Add blank lines
5657 for non sent code so backtraces remain correct.
5659 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5661 * progmodes/python.el: Remove cl dependency.
5662 (python-syntax-count-quotes): Replace incf call.
5663 (python-fill-string): Replace setf call.
5665 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5667 * info.el (info-other-window): New arg, for consistency with info.
5669 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5671 * mail/rmail.el (rmail-maybe-display-summary):
5672 Rewrite (Bug#13066).
5674 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5676 * epg.el (epg--start): Modify process-environment locally.
5678 2012-12-28 Daiki Ueno <ueno@gnu.org>
5680 * epg.el: Support pinentry-curses.
5681 Suggested by Werner Koch in
5682 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5683 (epg-agent-file, epg-agent-mtime): New variable.
5684 (epg--start): Record the modified time of gpg-agent socket file,
5685 to restore Emacs frame after pinentry-curses termination.
5686 (epg-wait-for-completion): Restore Emacs frame here.
5688 2012-12-27 Juri Linkov <juri@jurta.org>
5690 * info.el (Info-file-completions): New variable.
5691 (Info-read-node-name-1): Complete node names in the Info file
5692 when a file name is given. Call `Info-build-node-completions'
5694 (Info-build-node-completions): Add new arg `file'. When it is
5695 non-nil, visit it in a temporary buffer and cache its completions in
5696 `Info-current-file-completions'. Move most of the function body to
5697 `Info-build-node-completions-1'.
5698 (Info-build-node-completions-1): New function with the body from
5699 `Info-build-node-completions'. (Bug#12456)
5701 2012-12-27 Juri Linkov <juri@jurta.org>
5703 * frame.el (frame-maximization-style): Remove user option.
5704 (cycle-frame-maximized): Remove function.
5705 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5706 (toggle-frame-fullscreen): New command bound to <f11> instead of
5707 `toggle-frame-maximized'.
5708 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5710 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5712 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5714 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5715 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5716 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5717 for `file-accessible-directory-p'. (Bug#13275)
5719 2012-12-27 Sam Steingold <sds@gnu.org>
5721 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5722 continuations, see <http://stackoverflow.com/questions/3582436>.
5724 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5726 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5727 "module" and "def" to have indentation before them.
5728 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5730 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5732 2012-12-27 Alan Mackenzie <acm@muc.de>
5734 Speed up fontification where there's large brace blocks.
5735 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5736 to a call of c-beginning-of-decl-1.
5738 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5740 * comint.el (comint-adjust-window-point): New function.
5741 (comint-postoutput-scroll-to-bottom):
5742 Call comint-adjust-window-point (Bug#13248).
5744 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5746 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5748 (auto-mode-alist): Associate .gemspec files with ruby-mode
5749 (https://bugs.ruby-lang.org/issues/5453).
5751 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5753 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5754 Suppress coloring, if possible (required for BusyBox based systems like
5756 (tramp-adb-handle-file-attributes)
5757 (tramp-adb-handle-insert-directory)
5758 (tramp-adb-handle-file-name-all-completions): Use it.
5759 (tramp-adb-get-toolbox): New defun. Check for remote shell
5760 implementation (BusyBox or Toolbox).
5762 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5764 * startup.el (initial-buffer-choice): Allow function as value
5766 (command-line-1): Handle case where initial-buffer-choice
5767 specifies a function.
5768 * server.el (server-execute): Handle case where
5769 initial-buffer-choice specifies a function.
5771 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5773 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5775 (smtpmail-try-auth-methods): Forget the user name/password if the
5776 login is unsuccessful (bug#12424).
5778 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5780 * notifications.el (notifications-notify): Protect body with
5781 `with-demoted-errors'.
5783 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5784 Check properties of remote device. Restart connection, if there is a
5787 2012-12-21 Chong Yidong <cyd@gnu.org>
5789 * sort.el (sort-subr): Doc fix (Bug#13056).
5791 2012-12-21 Bastien Guerry <bzg@gnu.org>
5793 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5795 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5797 * simple.el (process-file): Overwrite stderr file, if exists.
5799 2012-12-21 Daiki Ueno <ueno@gnu.org>
5801 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5802 (epg-error): Set `error-message' property.
5804 2012-12-21 Chong Yidong <cyd@gnu.org>
5806 * international/mule-cmds.el (read-char-by-name): Signal an error
5807 if the user does not supply a valid character (Bug#13177).
5809 * simple.el (transpose-subr-1): Preserve marker positions by
5810 changing the insertion sequence (Bug#13122).
5812 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5814 * simple.el (kill-region): Deactivate mark even for empty regions
5817 2012-12-21 Chong Yidong <cyd@gnu.org>
5819 * help-fns.el (describe-variable): Make sure we get the right
5820 buffer name (Bug#13105). Suggested by Kelly Dean.
5822 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5824 * comint.el (comint-redirect-previous-input-string): New variable.
5825 (comint-redirect-setup, comint-redirect-cleanup)
5826 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5827 (comint-redirect-preoutput-filter): Fix verbose message.
5829 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5831 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5832 is too long for Tramp. See discussion in
5833 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5835 * progmodes/compile.el (compilation-start): Remove line escape
5838 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5840 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5843 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5845 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5846 following non-comment text (bug#13207).
5847 (lm-header-multiline): Continuation lines need to be indented more than
5849 (lm-homepage): New function.
5850 (lm-with-file): Don't be confused if narrowing is in effect.
5852 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5854 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5855 very beginning of a hunk (e.g. killing the first line).
5857 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5859 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5860 and text properties from returned ACL string.
5861 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5862 for "setfacl" command.
5864 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5866 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5867 `tramp-cleanup-this-connection', when the process has died.
5870 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5874 2012-12-17 Kevin Ryde <user42@zip.com.au>
5876 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5878 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5880 Add support for preserving ACL entries of files.
5882 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5883 `set-file-acl' handlers.
5885 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5886 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5888 * net/tramp-compat.el (tramp-compat-copy-file):
5889 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5891 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5892 Add `file-acl' and `set-file-acl' handlers.
5893 (tramp-gvfs-handle-copy-file):
5894 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5895 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5898 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5899 Add `file-acl' and `set-file-acl' handlers.
5900 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5901 (tramp-sh-handle-set-file-acl): New defuns.
5902 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5903 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5905 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5906 Add `file-acl' and `set-file-acl' handlers.
5907 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5909 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5911 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5912 use pop-to-buffer with NORECORD argument t. As buffer name, use
5913 *Metahelp* with a leading space (Bug#13190).
5915 2012-12-16 Romain Francoise <romain@orebokech.com>
5917 * files.el (file-extended-attributes)
5918 (set-file-extended-attributes): New functions.
5919 (backup-buffer): Use them to handle both SELinux context and ACL
5921 (backup-buffer-copy): Work with an alist of extended attributes,
5922 rather than an SELinux context.
5923 (basic-save-buffer-2): Ditto.
5925 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5927 * battery.el (battery-bsd-apm): New function.
5929 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5931 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5932 standard date formats.
5934 2012-12-15 Juri Linkov <juri@jurta.org>
5936 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5937 `isearch-insert-char-by-name'.
5938 (with-isearch-suspended): New defmacro with body mostly from
5939 `isearch-edit-string' except the part that sets
5940 `isearch-new-string' and `isearch-new-message'.
5941 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5942 body that sets `isearch-new-string' and `isearch-new-message'.
5943 (isearch-insert-char-by-name): New command.
5944 * international/mule-cmds.el (read-char-by-name): Let-bind
5945 `enable-recursive-minibuffers' to t.
5946 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5948 2012-12-15 Juri Linkov <juri@jurta.org>
5950 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5953 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5955 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5956 the prompt. (Bug#13045)
5958 2012-12-14 Glenn Morris <rgm@gnu.org>
5960 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5961 Try to include filename in non-bytecomp warning. (Bug#13132)
5963 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5965 Fix permissions bugs with setgid directories etc. (Bug#13125)
5966 * files.el (backup-buffer): Don't rely on 9th output of
5967 file-attributes, as it's now a placeholder. Instead, use the new
5968 optional arg of file-ownership-preserved-p.
5969 (file-ownership-preserved-p): New optional arg GROUP.
5970 Fix mishandling of setuid directories that would cause this
5971 function to return t when it should have returned nil.
5972 Document what happens if the file does not exist, and when
5973 it's not known whether the ownership will be preserved.
5974 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5976 (tramp-get-local-gid): Use group-gid for integer, as that's
5977 faster and more reliable.
5979 2012-12-14 Julien Danjou <julien@danjou.info>
5981 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5982 Update keywords list, data type and PL/pgSQL.
5984 2012-12-14 Dave Abrahams <dave@boostpro.com>
5986 * vc/ediff-util.el (ediff-buffer-type): New function.
5987 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5988 rather than taking it as as argument.
5989 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5991 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5993 * json.el: Add pretty-print option (bug#12634).
5994 (json-encoding-separator, json-encoding-default-indentation)
5995 (json--encoding-current-indentation, json-encoding-pretty-print)
5996 (json-encoding-lisp-style-closings): New vars.
5997 (json--with-indentation): New macro.
5998 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5999 (json-encode-array): Use it to obey json-encoding-pretty-print.
6000 (json-pretty-print-buffer, json-pretty-print): New commands.
6002 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6004 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6005 Extract `ruby-syntax-propertize-expansions'.
6006 (ruby-syntax-propertize-expansions): Only change syntax on
6007 certain string delimiters, to punctuation. This way the common
6008 functions like forward-word and thing-at-point still work.
6009 (ruby-match-expression-expansion): Improve readability.
6010 (ruby-block-contains-point): New function.
6011 (ruby-add-log-current-method): Handle several edge cases.
6013 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6015 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6016 unload-feature finishes even when aborting an ongoing edebug session.
6017 Also, do not worry about edebug-mode, unload-feature takes care of it.
6019 2012-12-13 Andreas Schwab <schwab@suse.de>
6021 * net/tls.el (tls-program): Update customize type.
6023 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6025 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6026 (edebug-setup-hook, cl-read-load-hooks): Use it.
6027 (edebug-unload-function): New function. (Bug#13163)
6029 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6031 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6032 Otherwise, there could be errors in autoloading. (Bug#13151)
6034 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
6036 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6039 2012-12-13 Alan Mackenzie <acm@muc.de>
6041 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6042 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6043 around `forward-comment' not recognizing ^M as whitespace.
6045 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
6047 * progmodes/python.el (python-skeleton-class)
6048 (python-skeleton-def): Do not add space after defun name.
6050 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6053 (cl--symbol-function): Remove (now that funbound is like nil).
6055 2012-12-12 Glenn Morris <rgm@gnu.org>
6057 * button.el (button--area-button-p): Fix typo.
6059 2012-12-12 Sam Steingold <sds@gnu.org>
6061 * frame.el (frame-maximization-style): New user option.
6062 (toggle-frame-maximized): Toggle frame maximization according to
6063 `frame-maximization-style', bound to <f11>.
6064 (cycle-frame-maximized): Cycle between all maximization styles and
6065 non-maximized frame, bound to shift-<f11>.
6067 2012-12-12 David Cadé <codename68@gmail.com>
6069 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6071 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6073 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6074 (eieio-override-prin1): Don't quote kewords and booleans.
6075 (object-write) <eieio-default-superclass>: Don't put closing parens
6076 on new line, avoid needless empty lines, align values that are objects
6077 with the slot keyword (instead of beginning on the same line).
6078 (eieio-list-prin1): Align value with slot keyword; increase
6079 eieio-print-depth before printing members of the list.
6081 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6083 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6084 a display text-property.
6085 (report-emacs-bug-hook): Don't bother deleting it any more.
6087 * hilit-chg.el (highlight-save-buffer-state): Delete.
6088 Use with-silent-modifications instead.
6089 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6091 * button.el: Handle buttons in display text-properties.
6092 (button--area-button-p, button--area-button-string):
6093 Use (STRING . STRING-POS) representation instead of just STRING.
6095 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6097 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6098 subdirectory be skipped.
6100 2012-12-11 Glenn Morris <rgm@gnu.org>
6102 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6104 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6105 Treat preprocessor lines embedded in continuations like comments.
6106 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6108 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6110 * calc/calc.el (calc-standard-date-formats): Add more date
6112 * calc/calc-forms.el (math-parse-iso-date): New function.
6113 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6114 (math-parse-iso-date-validate): Add extra error checking.
6115 (calc-date-notation): Add ability to access new date formats.
6117 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6120 font-lock as well as when there's no text-property.
6122 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6124 * hi-lock.el: Refine the choice of default face.
6125 (hi-lock-keyword->face): New function. Use it wherever we used
6127 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6128 (hi-lock--last-face): Remove var.
6129 (hi-lock--unused-faces): New var to replace it.
6130 (hi-lock-read-face-name): Use/maintain it.
6131 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6132 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6133 if it has another face.
6135 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6137 * subr.el (w32notify-handle-event): New function.
6138 (inotify-handle-event): Doc fix.
6140 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6142 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6144 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6146 * simple.el (just-one-space): Doc fix.
6148 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6150 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6152 2012-12-10 Le Wang <l26wang@gmail.com>
6154 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6155 narrowed buffer (bug#12361).
6157 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6159 * vc/vc-hooks.el (vc-state): Doc fix.
6161 2012-12-10 Glenn Morris <rgm@gnu.org>
6163 * mail/rmail.el (rmail-maybe-display-summary):
6164 Preserve buffer, in case select-window changes it. (Bug#13066)
6166 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6168 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6169 cl-load-hook where they belong.
6171 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6175 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6177 Parallelize byte compilation on MS-Windows.
6178 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6179 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6180 (WINS_BASIC): Define as concatenation of the above.
6181 (compile): Subdivide into 4 separate and independent jobs that can
6183 (compile0-CMD, compile0-SH): New targets for compiling
6184 COMPILE_FIRST files, which are prerequisites for the rest of the
6186 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6187 New targets for parallel compilation with cmd.exe.
6188 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6189 compiling under a Unixy shell.
6191 2012-12-09 Chong Yidong <cyd@gnu.org>
6193 * simple.el (set-mark-default-inactive): Delete this
6194 accidentally-introduced option.
6195 (set-mark-command, exchange-point-and-mark): Remove calls.
6197 2012-12-09 Glenn Morris <rgm@gnu.org>
6199 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6200 Respect a defcustom's :set function, if appropriate. (Bug#109)
6201 (eval-defun): Doc fix.
6203 2012-12-08 Juri Linkov <juri@jurta.org>
6205 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6206 (Info-fontify-node, Info-bookmark-make-record): Remove the
6207 file extension from Info-current-file (Bug#13016).
6209 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6212 point, still provide some default.
6213 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6214 names, since we don't use it right now. Actually return the list.
6215 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6217 2012-12-07 Chong Yidong <cyd@gnu.org>
6219 * novice.el (disabled-command-function): Remove a spurious help
6220 xref (Bug#13043). Suggested by Kelly Dean.
6222 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6223 syntax is specified (Bug#13025).
6225 * info.el (Info-set-mode-line): Remove the file extension from
6226 Info-current-file if there is one (Bug#13016).
6228 2012-12-07 Glenn Morris <rgm@gnu.org>
6230 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6231 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6232 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6233 and rmail-mime-decoded. (Bug#9841)
6235 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6236 (batch-unrmail, unrmail): Doc fixes.
6237 (unrmail): Respect unrmail-mbox-format.
6238 * mail/rmail.el (rmail-mbox-format): New option.
6239 (rmail-show-message-1): Respect rmail-mbox-format.
6241 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6243 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6245 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6247 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6248 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6249 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6250 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6251 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6252 (cl-progv): Don't rely on dynamic scoping to find the body.
6253 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6254 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6255 (cl-declaim): Use backquotes.
6256 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6257 Use "cl--" prefix for the object's tag.
6259 * ses.el: Use advice-add/remove.
6260 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6261 (copy-region-as-kill, yank): Use advice-add.
6262 (ses-unload-function): Use advice-remove.
6264 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6266 * button.el: Make them work in header-lines (bug#12817).
6267 (button-map): Add bindings for header-line and mode-line use.
6268 (button-get, button-put, button-label): `button' may now be a string.
6269 (button-activate): Don't make it a defsubst.
6270 (button--area-button-p, button--area-button-string): New functions.
6271 (make-text-button): Fix the return value when `beg' was a string.
6272 (push-button): Handle the mode-line case.
6274 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6277 (sql-signum): Remove. Use `cl-signum' instead.
6278 (sql-read-passwd): Remove; use read-passwd instread.
6279 (sql-get-login-ext): Use read-string.
6280 (sql-get-login): Use dolist and pcase.
6281 (sql--completion-table): Rename from sql-try-completion.
6282 Use complete-with-action.
6283 (sql-mode): Don't change abbrev-all-caps globally.
6284 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6285 (sql-postgres-completion-object): Initialize vars in their `let'.
6286 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6287 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6288 (sql-comint-interbase): Use a single append, without setq.
6289 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6291 * hi-lock.el: Rework the default face and the serialize regexp code.
6292 (hi-lock--auto-select-face-defaults): Remove.
6293 (hi-lock-string-serialize-serial): Remove.
6294 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6296 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6298 (hi-lock-set-pattern): Adjust accordingly.
6299 (hi-lock--regexps-at-point): Simplify accordingly.
6300 (hi-lock--auto-select-face-defaults): Remove.
6301 (hi-lock--last-face): New var to replace it.
6302 (hi-lock-read-face-name): Rewrite (bug#11095).
6303 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6305 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6307 * net/tramp.el (tramp-replace-environment-variables):
6308 Hide compiler warning.
6309 (tramp-file-name-for-operation): Remove `executable-find',
6310 `start-process', `call-process' and `call-process-region'.
6312 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6314 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6317 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6319 2012-12-06 Chong Yidong <cyd@gnu.org>
6321 * ffap.el (ffap-replace-file-component): Fix typo.
6323 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6326 fix open-paren-like token test (bug#12785).
6328 2012-12-06 Glenn Morris <rgm@gnu.org>
6330 * mail/rmailsum.el (rmail-new-summary): Tweak for
6331 rmail-maybe-display-summary changing buffer. (Bug#13066)
6333 2012-12-06 Juri Linkov <juri@jurta.org>
6335 * info.el (Info-fontify-node): Don't hide the last newline.
6338 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6340 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6341 so as to enable message-read-from-minibuffer to expand mail aliases.
6343 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6346 the `intangible' property.
6347 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6349 2012-12-05 Deniz Dogan <deniz@dogan.se>
6351 * net/rcirc.el (rcirc-urls): Update documentation.
6352 (rcirc-condition-filter): New function.
6353 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6354 and exclude consecutive duplicate URLs (Bug#6082).
6356 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6358 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6359 Check return code of copy command.
6361 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6362 Use group `tramp'. Add version.
6364 2012-12-05 Chong Yidong <cyd@gnu.org>
6366 * ffap.el (ffap-url-regexp): Don't require matching at front of
6368 (ffap-url-p): If only a substring matches, return that.
6369 (ffap-url-at-point): Use the return value of ffap-url-p.
6370 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6371 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6372 (ffap-guess-file-name-at-point): Likewise.
6373 (ffap-replace-file-component): Fix typo.
6375 * info.el (info-display-manual): Add existing Info buffers, whose
6376 files may not be in Info-directory-list, to the completion.
6377 (info--manual-names): New helper function.
6379 2012-12-05 Glenn Morris <rgm@gnu.org>
6381 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6382 New functions, for detecting and resolving conflicts. (Bug#10709)
6384 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6386 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6387 (hi-lock-auto-select-face-defaults): New buffer local variable.
6388 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6389 (hi-lock-unface-buffer): Prompt user with useful defaults.
6390 With prefix arg, unhighlight all hi-lock patterns in buffer.
6392 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6396 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6398 * Makefile.in (TRAMP_SRC):
6399 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6401 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6403 * net/tramp-adb.el: New package.
6405 2012-12-04 Chong Yidong <cyd@gnu.org>
6407 * terminal.el: Move to obsolete/.
6409 * longlines.el: Move to obsolete/.
6411 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6412 Remove code referring to longlines mode.
6414 2012-12-03 Juri Linkov <juri@jurta.org>
6416 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6418 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6420 * textmodes/ispell.el (ispell-init-process)
6421 (ispell-start-process, ispell-internal-change-dictionary):
6422 Make sure personal dictionary name is expanded after initial
6423 `default-directory' value. Use expanded strings for
6424 keep/restart checks and for value (Bug#13019).
6426 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6428 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6430 2012-12-03 Leo Liu <sdl.web@gmail.com>
6432 * files.el (dir-locals-read-from-file): Check file non-empty
6433 before reading. (Bug#13038)
6435 2012-12-03 Glenn Morris <rgm@gnu.org>
6437 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6438 Remove any version extension before checking filename. (Bug#13006)
6439 (jka-compr-compression-info-list): Belated :version bump.
6441 2012-12-03 Chong Yidong <cyd@gnu.org>
6443 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6445 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6446 (buffer-menu): Doc fix (Bug#12294).
6448 2012-12-03 Roland Winkler <winkler@gnu.org>
6450 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6451 of diary-show-all-entries in the diary buffer (Bug#12994).
6453 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6455 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6456 "<STDIN>". This is binary safe.
6458 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6460 * calc/calc-forms.el (math-absolute-from-iso-dt)
6461 (math-date-to-iso-dt, math-parse-iso-date-validate)
6462 (math-iso-dt-to-date): New functions.
6463 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6464 (math-fd-isoweekday): New variables.
6465 (calc-date-notation, math-parse-standard-date, math-format-date)
6466 (math-format-date-part): Add support for more formatting codes.
6468 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6470 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6471 current buffer's file name when called interactively (Bug#12488).
6473 2012-12-02 Juri Linkov <juri@jurta.org>
6475 * info.el (info-display-manual): Don't clobber an existing Info
6476 buffer (Bug#10770). Add completion (Bug#10771).
6478 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6480 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6481 before using it for comparison (Bug#5297).
6483 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6485 * textmodes/css-mode.el (css-current-defun-name): New function.
6488 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6489 (html-mode): Use it.
6491 2012-12-01 Chong Yidong <cyd@gnu.org>
6493 Modularize add-log-current-defun (Bug#2224).
6494 Suggested by Jari Aalto.
6496 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6497 (add-log-current-defun): Move mode-specific code to other files.
6498 (add-log-lisp-like-modes, add-log-c-like-modes)
6499 (add-log-tex-like-modes): Variables deleted.
6501 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6502 (lisp-mode-variables): Use it.
6504 * progmodes/cc-mode.el (c-common-init):
6505 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6506 add-log-current-defun-function.
6508 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6511 * progmodes/perl-mode.el (perl-current-defun-name): New.
6512 (perl-mode): Use it.
6514 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6515 Use lisp-current-defun-name.
6517 * textmodes/tex-mode.el (tex-current-defun-name): New.
6518 (tex-common-initialization): Use it.
6520 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6521 (texinfo-mode): Use it.
6523 2012-12-01 Chong Yidong <cyd@gnu.org>
6525 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6526 * progmodes/autoconf.el (autoconf-mode):
6527 * progmodes/js.el (js-mode):
6528 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6529 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6530 * progmodes/perl-mode.el (perl-mode):
6531 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6532 * textmodes/css-mode.el (css-mode):
6533 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6534 (sgml-tags-invisible, sgml-guess-indent):
6535 * textmodes/tex-mode.el (tex-common-initialization)
6536 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6537 (doctex-mode, plain-tex-mode, latex-mode):
6538 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6540 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6542 * vc/vc-hg.el (vc-hg-next-revision):
6543 Ensure use of default "tip" output format. (Bug#6968)
6545 2012-12-01 Kim F. Storm <storm@cua.dk>
6547 * startup.el (fancy-startup-tail): Add a clickable link
6550 2012-12-01 Chong Yidong <cyd@gnu.org>
6552 * startup.el (fancy-startup-tail): Improve the message about
6553 auto-save files (Bug#2176).
6555 * files.el (recover-session): Improve the descriptive message, and
6556 use substitute-command-keys.
6558 2012-12-01 Glenn Morris <rgm@gnu.org>
6560 * ido.el (ido-file-internal):
6561 Handle other-window, other-frame for dired. (Bug#13036)
6563 2012-11-30 Glenn Morris <rgm@gnu.org>
6565 * icomplete.el (icomplete-separator): Fix :version.
6567 2012-11-30 Chong Yidong <cyd@gnu.org>
6569 * shell.el (shell): For C-u M-x shell, use an inactive shell
6570 buffer as the default (Bug#1975).
6571 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6572 (shell-mode): Use them to reapply ansi colorization if Shell mode
6575 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6577 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6579 2012-11-30 Samuel Bronson <naesten@gmail.com>
6581 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6582 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6584 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6586 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6587 by move-to-column (Bug#3234).
6589 2012-11-30 Chong Yidong <cyd@gnu.org>
6591 * longlines.el (longlines-wrap-line, longlines-encode-region):
6592 Preserve text properties (Bug#1425).
6594 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6596 * vc/vc.el (vc-register): Allow registering a file which is
6597 already registered with a different backend (Bug#10589).
6599 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6600 Stefan Monnier <monnier@iro.umontreal.ca>
6602 * icomplete.el: Change separator; add ido-style commands.
6603 (icomplete-show-key-bindings): Remove custom var.
6604 (icomplete-get-keys): Remove function.
6605 (icomplete-forward-completions, icomplete-backward-completions):
6607 (icomplete-minibuffer-map): New var.
6608 (icomplete-minibuffer-setup): Use it.
6609 (icomplete-exhibit): Don't delay if the list of completions is known.
6610 (icomplete-separator): New custom.
6611 (icomplete-completions): Use it.
6612 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6613 (minibuffer-force-complete-and-exit): New command.
6614 (minibuffer--complete-and-exit): New function extracted from
6615 minibuffer-complete-and-exit.
6616 (minibuffer-complete-and-exit): Use it.
6618 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6619 error message when the file doesn't exist (bug#12974).
6621 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6623 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6625 2012-11-29 Glenn Morris <rgm@gnu.org>
6627 * files.el (hack-dir-local-variables): Warn if try to set
6628 coding via dir-locals, since it doesn't work. (Bug#7169)
6630 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6631 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6632 Set buffer-local value of desktop-save-buffer.
6633 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6635 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6636 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6638 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6639 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6641 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6644 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6646 * calc/calc-forms.el (calc-date-notation): Fix regexp
6647 used to find time codes. Fix symbol for seconds.
6649 2012-11-27 Glenn Morris <rgm@gnu.org>
6651 * emacs-lisp/derived.el (derived-mode-make-docstring):
6652 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6654 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6656 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6657 lexically scoped variables (bug#13005).
6659 2012-11-27 Glenn Morris <rgm@gnu.org>
6661 * vc/vc-hooks.el (vc-mistrust-permissions):
6662 Default to t, to avoid data-loss. (Bug#11490)
6664 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6666 * progmodes/python.el (python-indent-guess-indent-offset):
6667 If indentation is guessed make python-indent-offset buffer-local.
6669 Fix Imenu regression.
6670 * progmodes/python.el (python-nav-beginning-of-defun):
6671 Fix forward movement when statement(s) separates point from defun.
6672 (python-imenu-prev-index-position): New function.
6674 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6676 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6678 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6679 Don't set buffer-file-type. Return nil. (Bug#12989)
6681 2012-11-27 Glenn Morris <rgm@gnu.org>
6683 * hippie-exp.el (hippie-expand-try-functions-list):
6684 Re-autoload it. (Bug#12982)
6686 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6688 * descr-text.el (describe-char-padded-string):
6689 Call internal-char-font only on GUI frames. (Bug#11964)
6691 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6693 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6694 and obsoletion message.
6696 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6699 the constructs to keep outside of the `cl-block' (bug#12977).
6701 2012-11-27 Chong Yidong <cyd@gnu.org>
6703 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6704 keep reading until we get the up-event anyway, in order to process
6705 the up-event for mouse-1-click-follows-link (Bug#12971).
6707 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6710 base function is not yet defined (bug#12965).
6711 (ad-activate-advised-definition): Use ad-compile-function.
6712 (ad-activate): Use cond.
6714 2012-11-25 Leo Liu <sdl.web@gmail.com>
6716 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6719 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6721 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6722 reftex-section-info-function in order to be compatible with
6723 Texinfo integration.
6725 * textmodes/reftex.el (reftex-section-pre-regexp)
6726 (reftex-section-post-regexp, reftex-section-info-function):
6728 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6729 reftex-section-post-regexp, and reftex-section-info-function in order
6730 to be compatible with Texinfo integration.
6732 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6733 use reftex-section-pre-regexp variable in order to be compatible with
6734 Texinfo integration.
6736 2012-11-25 Chong Yidong <cyd@gnu.org>
6738 * faces.el: Make face-spec-set more analogous to setq.
6739 (face-spec-set): Change the third arg to specify whether this
6740 function is being called via defface, customize, or a third party.
6741 Set the appropriate symbol properties. Clear the override spec if
6742 setting via Custom. Initialize face if necessary. (Bug#4988)
6743 (face-spec-recalc): Allow theme faces to completely replace the
6744 defface spec, in the same way as custom faces (Bug#8454).
6746 * cus-face.el (custom-declare-face): Move face initialization to
6748 (custom-theme-set-faces): Don't initialize the face name here, as
6749 that is now done in face-spec-set.
6751 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6752 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6753 Simplify by using the new arg to face-spec-set.
6755 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6756 reset face-override-spec too, and use custom-declare-face.
6758 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6760 * term/ns-win.el (ns-initialize-window-system): Move creation of
6761 fontsets here (Bug#11964).
6763 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6765 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6768 2012-11-24 Chong Yidong <cyd@gnu.org>
6770 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6773 * custom.el (custom-theme-set-variables): Use a topological sort
6774 for ordering by custom dependencies (Bug#12952).
6775 (custom--sort-vars, custom--sort-vars-1): New functions.
6777 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6780 lexical-binding (bug#12938).
6782 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6784 * image-mode.el (image-transform-check-size): Use assertions only
6785 for images of type imagemagick.
6787 Otherwise no error, image-transform-fit-to-{width,height} is
6788 silently ignored, as before. Doc fix.
6790 2012-11-24 Chong Yidong <cyd@gnu.org>
6792 * faces.el (color-defined-p): Doc fix (Bug#12853).
6794 2012-11-24 Juri Linkov <juri@jurta.org>
6796 * dired.el (dired-mark): Add optional arg `interactive'.
6797 Check for `use-region-p' if `interactive' is non-nil.
6798 (dired-unmark, dired-flag-file-deletion): Add optional arg
6799 `interactive'. Call `dired-mark' with the arg `interactive'.
6802 * wdired.el: Revert 2012-10-17 change partly and replace it with
6803 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6804 (wdired-finish-edit): Add marks for new file names to
6805 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6806 after `revert-buffer'.
6807 (wdired-do-renames): Remove calls to `dired-remove-file',
6808 `dired-add-file', `dired-add-entry'. (Bug#11795)
6810 2012-11-24 Alan Mackenzie <acm@muc.de>
6812 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6814 Fix bugs in the state cache. Enhance a debugging mechanism.
6815 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6816 "brace at column zero" strategy for C++.
6817 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6818 (c-parse-state-point): New variable.
6819 (c-record-parse-state-state): Record old parse state with
6820 `copy-tree'. Record previous value of point.
6821 (c-debug-parse-state-double-cons): New debugging function.
6822 (c-debug-parse-state): Call the above new function.
6823 (c-toggle-parse-state-debug): Output a confirmatory message.
6825 * progmodes/cc-mode.el (c-before-change, c-after-change):
6826 Call c-invalidate-state-cache from `c-before-change' instead of
6829 2012-11-23 Chong Yidong <cyd@gnu.org>
6831 * find-cmd.el (find-constituents): Add executable, ipath,
6832 readable, samefile, writable, daystart, regextype (Bug#12856).
6834 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6838 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6840 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6841 definition. This fixes a bootstrap failure.
6842 (calc-gregorian-switch): In menu, put dates before regions.
6843 This is easier to follow, lines up better in the menu, and lets us
6844 coalesce regions that switch at the same time. Give country
6845 names, not "Vatican", as that's better for non-expert users.
6846 Use names that are stable between the date of switch and now, e.g.,
6847 Bohemia and Moravia (which existed then and now) and not
6848 Czechoslovakia (which didn't exist then and doesn't exist now).
6849 What is now the U.S. mostly did not switch at the same time as
6850 Britain, so omit the U.S. Correct spelling of "Britain".
6851 Catholic Switzerland was too much of a mess, so omit it.
6853 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6855 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6856 after the variable is changed.
6858 2012-11-21 Daniel Colascione <dancol@dancol.org>
6860 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6861 in SQL declarations for font-lock.
6862 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6864 2012-11-21 Glenn Morris <rgm@gnu.org>
6866 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6867 (face-italic-p): Add optional argument "inherit".
6869 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6870 Remove -p suffix from names, for consistency with other set-face-*.
6871 (set-face-inverse-video): Fix interactive spec.
6872 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6873 * textmodes/table.el (table--update-cell-face):
6874 Use set-face-inverse-video rather than now obsolete alias.
6876 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6878 * simple.el (line-move): Don't call line-move-partial if
6879 scroll-conservatively is in effect. (Bug#12927)
6881 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6884 Fallback on completion-at-point rather than
6885 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6886 (eshell-cmpl-initialize): Setup completion-at-point.
6888 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6890 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6892 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6894 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6895 are remote, check out-of-band property for both.
6897 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6899 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6902 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6904 More minor time fixes.
6905 * calendar/time-date.el: Commentary fix.
6906 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6907 too much other code depends on (0 0) time stamps.
6908 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6909 Add a couple of FIXME comments.
6911 Minor cleanup for times as lists of four integers.
6912 * files.el (dir-locals-directory-cache):
6913 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6915 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6916 * ps-bdf.el (bdf-file-newer-than-time):
6917 Process four-integers time stamps, not two. Doc fixes.
6919 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * uniquify.el (uniquify-managed): Use defvar-local.
6922 (rename-buffer, create-file-buffer): Advise with advice-add.
6923 (uniquify-unload-function): Unadvise accordingly.
6925 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6926 (trace-buffer): Don't purecopy.
6927 (trace-entry-message, trace-exit-message): Add `context' arg.
6928 (trace--timer): New var.
6929 (trace-make-advice): Adjust for use in nadvice.
6930 Add `context' argument. Delay `display-buffer' via a timer.
6931 (trace-function-internal): Use advice-add.
6932 (trace--read-args): New function.
6933 (trace-function-foreground, trace-function-background): Use it.
6934 (trace-function): Rename to trace-function-foreground and redefine as
6935 an alias to that new name.
6936 (untrace-function, untrace-all): Adjust to the use of nadvice.
6938 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6940 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6942 * subr.el (called-interactively-p-functions): New var.
6943 (internal--called-interactively-p--get-frame): New macro.
6944 (called-interactively-p, interactive-p): Rewrite in Lisp.
6945 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6946 (called-interactively-p-functions): Use it.
6947 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6948 (called-interactively-p-functions): Use it.
6949 * allout.el (allout-called-interactively-p): Don't assume
6950 called-interactively-p is a subr.
6952 2012-11-20 Glenn Morris <rgm@gnu.org>
6954 * profiler.el (profiler-report-mode-map): Add a menu.
6955 No need to bind `q' because we derive from special-mode.
6956 (profiler-report-find-entry): Handle calls from the menu-bar.
6958 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6960 * emacs-lisp/byte-run.el (defun-declarations-alist):
6961 Allow a compiler-macro to be a lambda expression.
6963 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6965 (python-syntax-context): Add compiler-macro.
6966 (python-font-lock-keywords): Simplify with De Morgan.
6968 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6970 * files.el (load-file): Require match in minibuffer selection, as was
6971 the case in Emacs-20 before we changed the spec to allow .elc files
6974 * json.el: Don't require cl since we don't use it.
6975 * color.el: Don't require cl.
6976 (color-complement): `caddr' -> `nth 2'.
6978 * calendar/time-date.el (time-to-seconds): De-obsolete.
6980 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6982 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6984 (math-date-to-julian-dt): Adjust the initial approximation for the
6985 year to deal with the new definition of the DATE.
6987 2012-11-19 Daniel Colascione <dancol@dancol.org>
6989 * term/w32-win.el (cygwin-convert-path-from-windows):
6990 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6992 2012-11-18 Chong Yidong <cyd@gnu.org>
6994 * filecache.el (file-cache--read-list): New function.
6995 (file-cache-add-directory-list, file-cache-add-file-list)
6996 (file-cache-delete-file-list, file-cache-delete-directory-list):
6997 Use it to read a list of files or directories (Bug#12846).
6998 (file-cache-add-file, file-cache-add-directory)
6999 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7000 (file-cache-delete-directory): Print an message.
7002 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7004 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7005 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7007 2012-11-18 Glenn Morris <rgm@gnu.org>
7009 * image.el (insert-image, insert-sliced-image): Doc fix.
7011 2012-11-18 Chong Yidong <cyd@gnu.org>
7013 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7016 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7018 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7019 response when the target file is in a subdirectory (Bug#12757).
7021 2012-11-18 Chong Yidong <cyd@gnu.org>
7023 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7025 2012-11-18 Glenn Morris <rgm@gnu.org>
7027 * emacs-lisp/cl-lib.el (face-underline-p):
7028 Use set-face-underline rather than the alias set-face-underline-p.
7030 * window.el (with-temp-buffer-window): Doc fix.
7031 * subr.el (with-output-to-temp-buffer):
7032 Add doc xref to with-temp-buffer-window.
7034 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7036 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7037 * calc/calc.el (math-format-date-cache): Declare.
7039 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7041 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7042 It also uses January 1, 1 AD as its day number 1.
7043 * calc/calc-forms.el (math-julian-date-beginning)
7044 (math-julian-date-beginning-int): Implement this.
7046 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7048 * descr-text.el (quail-find-key):
7049 * dired.el (desktop-file-name):
7050 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7051 * generic-x.el (comint-mode, comint-exec):
7052 * image-dired.el (widget-forward):
7053 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7054 (speedbar-change-expand-button-char)
7055 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7056 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7057 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7058 (widget-field-action, widget-value-set):
7059 * speedbar.el (imenu--make-index-alist):
7060 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7061 (ring-length, ring-insert):
7062 * vcursor.el (compare-windows-skip-whitespace):
7063 * woman.el (dired-get-filename):
7066 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7068 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7070 * calc/calc.el (calc-gregorian-switch): New variable.
7072 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7073 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7074 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7075 (math-leap-year-p): Add option to distinguish between Julian
7076 and Gregorian calendars.
7077 (math-day-number): Use `math-day-in-year' to do the computations.
7078 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7079 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7080 to do the computations.
7081 (math-date-to-dt): Use `math-date-to-julian-dt' and
7082 `math-date-to-gregorian-dt' to do the computations.
7083 (calcFunc-weekday, math-format-date-part): Use the new version of
7084 the DATE to determine the weekday.
7085 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7088 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7090 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7091 Cygwin; otherwise use 'file:'. (Bug#12914)
7092 (cygwin-convert-path-from-windows): Declare, to avoid
7093 byte-compiler warnings.
7095 2012-11-17 Andreas Politz <politza@fh-trier.de>
7097 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7098 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7099 prefix and negative numeric prefix args (Bug#12795).
7101 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7103 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7104 Don't signal an error with a score that is too low to add to the
7105 list of top scores. (Bug#12779)
7107 2012-11-17 Chong Yidong <cyd@gnu.org>
7109 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7111 * filecache.el (file-cache-add-file): Handle relative file name in
7112 the argument (Bug#12694).
7114 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7116 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7118 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7122 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7124 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7126 * window.el (enlarge-window, shrink-window): Don't mention return
7127 value in doc-string (Bug#12896).
7128 (window--display-buffer): Don't resize frames - it won't work
7129 with all window managers and defeat pop-up-frame-alist.
7130 (display-buffer-alist): In doc-string explain that CONDITION can
7131 be a function and which arguments are passed to it (Bug#12854).
7132 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7133 expressions (Bug#12854).
7134 (display-buffer): Pass ACTION argument to
7135 display-buffer-assq-regexp.
7137 2012-11-16 Glenn Morris <rgm@gnu.org>
7139 * window.el (fit-frame-to-buffer-bottom-margin)
7140 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7142 * faces.el (face-underline-p): Use face-attribute-specified-or.
7144 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7146 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7148 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7150 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7152 2012-11-16 Glenn Morris <rgm@gnu.org>
7154 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7155 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7157 * faces.el (face-underline-p): Doc fix. Handle :underline being
7158 things other than `t' (a string, a list).
7159 (face-inverse-video-p): Doc fix.
7160 (set-face-underline): Rename it back from set-face-underline-p.
7161 Doc fix. Allow interactive input of values other than t.
7162 (read-face-attribute): Apply formatting to :underline,
7163 since like :box and :stipple it can take list values.
7165 * term.el (ansi-term): Don't let C-x escape-char binding
7166 clobber the more standard C-c binding. (Bug#12842)
7168 * subr.el (set-temporary-overlay-map): Doc fix.
7170 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7172 * window.el (record-window-buffer)
7173 (display-buffer-record-window): When copying the markers to
7174 window-point preserve window-point-insertion-type. (Bug#12588)
7176 2012-11-16 Glenn Morris <rgm@gnu.org>
7178 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7179 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7180 Use new names for hooks rather than obsolete aliases.
7182 2012-11-15 Daniel Colascione <dancol@dancol.org>
7184 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7185 prefix instead of "file:" so that when FILE-NAME begins with "//",
7186 as it does when the target file is on a network share, url-handler
7189 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7192 a preactivated advice from an old advice.el; they're not compatible!
7194 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7196 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7197 Fix string-spec case.
7199 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7201 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7204 (advice--buffer-local-function-sample): New var.
7205 (advice--set-buffer-local, advice--buffer-local): New functions.
7206 (add-function, remove-function): Use them.
7208 2012-11-15 Drew Adams <drew.adams@oracle.com>
7210 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7212 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7215 potential binding of print-gensym to t, and prettify (back)quotes in
7216 case they appear in args's default values (bug#12884).
7218 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7220 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7221 (advice-eval-interactive-spec): New function.
7222 (advice--make-interactive-form): Support around advice (bug#12844).
7224 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7226 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7227 more strict. Add docstring.
7228 (ruby-expression-expansion-re): Extract from
7229 `ruby-match-expression-expansion'.
7230 (ruby-syntax-propertize-function): After everything else, search
7231 for expansions in string literals, mark their insides as
7232 whitespace syntax and save match data for font-lock.
7233 (ruby-font-lock-keywords): Use the 2nd group from expression
7235 (ruby-match-expression-expansion): Use the match data saved to the
7236 text property in ruby-syntax-propertize-function.
7238 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7243 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7245 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7246 start/end keyword a bit harder. Works with different values of N.
7248 (ruby-end-of-block): Update accordingly.
7250 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7252 * woman.el (woman-file-name): Don't mess with unread-command-events
7255 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7256 Remove out of date self-require hack.
7257 (ad-do-advised-functions): Use simple `dolist'.
7258 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7259 (ad-advice-definition): Redefine as functions.
7260 (ad-advice-classes): Move before first use.
7261 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7262 (ad-make-mapped-call, ad-make-advised-docstring)
7263 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7264 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7265 (ad-get-orig-definition): Rewrite.
7266 (ad-make-advised-definition-docstring): Change base docstring.
7267 (ad-real-orig-definition): Rewrite.
7268 (ad-map-arglists): Change name of called function.
7269 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7270 (ad-make-advised-definition): Simplify.
7271 (ad-assemble-advised-definition): Tweak for new calling context.
7272 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7273 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7274 function and call ad-activate if needed.
7275 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7276 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7277 (ad-compile-function): Compile ad-Advice-*.
7278 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7279 (ad-start-advice, ad-stop-advice): Remove.
7281 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7283 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7284 period before class method names, not after. Remove handling of
7285 one impossible case. Add comments.
7287 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7289 * emacs-lisp/advice.el: Remove support for freezing.
7290 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7291 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7292 Remove support for `freeze'.
7294 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7295 override the default.
7296 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7298 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7301 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7303 (advice--strip-macro): New function.
7304 (advice--defalias-fset): Use them to handle macros.
7305 (advice-add): Use them.
7306 (advice-member-p): Correctly handle macros.
7308 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7310 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7311 Never font-lock the beginning of singleton class as heredoc.
7313 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7317 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7319 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7320 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7321 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7323 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
7325 Fix end-of-defun misbehavior.
7326 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7327 python-beginning-of-defun-function. Handle nested defuns
7329 (python-nav-end-of-defun): Rename from
7330 python-end-of-defun-function. Ensure forward movement.
7331 (python-info-current-defun): Reimplement to work as intended
7332 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7333 parent defuns as soon as possible.
7335 2012-11-13 Glenn Morris <rgm@gnu.org>
7337 * progmodes/flymake.el (flymake-error-bitmap)
7338 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7339 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7341 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7343 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7344 backward, always stop at indentation. Reverts the change from
7345 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7347 2012-11-13 Glenn Morris <rgm@gnu.org>
7349 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7350 Add ibuffer-filter-by-derived-mode.
7352 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7353 the same name shadowing each other.
7355 * window.el (with-temp-buffer-window): Doc tweak.
7357 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7359 * help.el (temp-buffer-max-height):
7360 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7361 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7363 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * emacs-lisp/nadvice.el: New package.
7366 * subr.el (special-form-p): New function.
7367 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7368 (elp-all-instrumented-list): Remove var.
7369 (elp-not-profilable): Remove elp-wrapper.
7370 (elp-profilable-p): Use autoloadp and special-form-p.
7371 (elp--advice-name): New const.
7372 (elp-instrument-function): Use advice-add.
7373 (elp--instrumented-p): New predicate.
7374 (elp-restore-function): Use advice-remove.
7375 (elp-restore-all, elp-reset-all): Use mapatoms.
7376 (elp-set-master): Use elp--instrumented-p.
7377 (elp--make-wrapper): Rename from elp-wrapper, return a function
7378 suitable for advice-add. Use cl-inf.
7379 (elp-results): Use mapatoms+elp--instrumented-p.
7380 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7381 (debug-function-list): Remove var.
7382 (debug): Rename arg, and then let-bind it explicitly inside.
7383 (debugger-setup-buffer): Rename arg.
7384 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7385 (debugger-frame-number): Adjust to new debug-on-entry setup.
7386 (debug--implement-debug-on-entry): Rename from
7387 implement-debug-on-entry, add argument.
7388 (debugger-special-form-p): Remove, use special-form-p instead.
7389 (debug-on-entry): Use advice-add.
7390 (debug--function-list): New function.
7391 (cancel-debug-on-entry): Use it, along with advice-remove.
7392 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7393 (debugger-list-functions): Use debug--function-list instead of
7394 debug-function-list.
7395 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7396 (ad-special-form-p): Remove, use special-form-p instead.
7397 (ad-set-advice-info): Use add-function and remove-function.
7398 (ad--defalias-fset): Adjust accordingly.
7400 2012-11-10 Glenn Morris <rgm@gnu.org>
7402 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7403 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7404 (report-emacs-bug-create-existing-bugs-buffer)
7405 (report-emacs-bug-parse-query-results)
7406 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7408 * term.el (term-default-fg-color, term-default-bg-color):
7409 Make obsolete, rather than just saying "deprecated" in the doc.
7411 * term.el (term): Rename from `term-face'.
7412 (term-current-face, ansi-term-color-vector)
7413 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7416 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7418 * server.el (server-create-window-system-frame): Handle Nextstep
7419 specially (Bug#12780).
7421 2012-11-10 Glenn Morris <rgm@gnu.org>
7423 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7424 Unautoload, and make obsolete. (Bug#7449)
7426 2012-11-10 Chong Yidong <cyd@gnu.org>
7428 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7429 rename from diff-remove-trailing-whitespace (Bug#12831).
7431 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7434 miscompilation of trace.el.
7436 2012-11-10 Glenn Morris <rgm@gnu.org>
7438 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7440 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7445 2012-11-10 Chong Yidong <cyd@gnu.org>
7447 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7448 a defcustom with an appropriate :set function.
7449 (minibuffer-default--in-prompt-regexps): New function.
7451 2012-11-10 Glenn Morris <rgm@gnu.org>
7453 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7454 (define-modify-macro): Doc fixes.
7456 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7457 (gv-define-simple-setter): Update doc of `fix-return'.
7459 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7462 twice when `fix-return' is set (bug#12813).
7464 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7465 gv-define-simple-setter (bug#12812).
7467 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7470 2012-11-10 Glenn Morris <rgm@gnu.org>
7472 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7474 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7475 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7476 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7477 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7479 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7481 2012-11-10 Leo Liu <sdl.web@gmail.com>
7483 * ido.el (ido-set-matches-1): Improve flex matching performance by
7484 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7486 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7489 (ad--defalias-fset): New function.
7490 (ad-safe-fset): Remove.
7491 (ad-make-freeze-definition): Use cl-letf*.
7493 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * subr.el (dolist): Don't bind VAR in RESULT.
7497 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7498 (fset, documentation): Don't save real def since we don't advise.
7499 (ad-do-advised-functions): Remove problematic `result-form'.
7500 (ad-safe-fset): `ad-real-fset' => `fset'.
7501 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7502 uses CL's dolist internally.
7503 (ad-arglist): Remove unused arg `name'.
7504 (ad-docstring, ad-make-advised-docstring):
7505 `ad-real-documentation' => `documentation'.
7506 (warning-suppress-types): Declare.
7507 (ad-set-arguments): Simple CSE.
7508 (ad-recover-normality): Sanity check.
7510 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7511 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7513 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7515 * ses.el: Symbol to coordinate mapping is made by symbol property
7516 `ses-cell'. This means that the same mapping is done for all SES
7517 sheets. That is good enough for cells with standard A1 names, but
7518 not for named cell. So a hash map is added for the latter.
7519 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7520 (ses-sym-rowcol): Use hashmap for named cell.
7521 (ses-is-cell-sym-p): New defun.
7522 (ses-decode-cell-symbol): New defun.
7523 (ses-create-cell-variable): Add cell to hashmap when name is not
7525 (ses-rename-cell): Check that cell new name is not already in
7526 spreadsheet with the use of ses-is-cell-sym-p
7527 (ses-rename-cell): Use hash map for named cells, but accept also
7528 renaming back to A1-like.
7530 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * emacs-lisp/advice.el: Use new dynamic docstrings.
7533 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7534 Use dynamic-docstring-function instead of ad-advice-info.
7535 (ad--make-advised-docstring): New function extracted from
7536 ad-make-advised-docstring.
7537 (ad-make-advised-docstring): Use it.
7538 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7540 (sql-help): Use it with dynamic-docstring-function.
7542 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7544 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * files.el (hack-one-local-variable--obsolete): New function.
7547 (hack-one-local-variable): Use it for obsolete settings.
7549 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7552 * progmodes/js.el (js--filling-paragraph): New var.
7553 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7554 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7557 2012-11-08 Julien Danjou <julien@danjou.info>
7559 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7560 `auto-mode-alist' (Bug#12835).
7562 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7564 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7565 (perl--prettify-symbols-alist): New const.
7566 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7568 (perl-font-lock-keywords-2): Use them.
7569 (perl-electric-noindent-p): New function.
7570 (perl-mode): Use it to set up electric-indent-mode.
7571 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7572 (perl-mode-map): Remove bindings for them.
7573 (perl-imenu-generic-expression, perl-outline-level):
7574 Match functions&packages in column>0.
7576 * env.el (env--substitute-vars-regexp): New const.
7577 (substitute-env-vars): Use it. Add `only-defined' arg.
7578 * net/tramp.el (tramp-replace-environment-variables): Use it.
7580 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7581 Byte-compile *before* eval in eval-and-compile.
7582 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7583 (byte-compile-file-form-autoload): Don't hide actual definition.
7584 (byte-compile-maybe-guarded): Accept `functionp' as well.
7586 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7588 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7590 * notifications.el (notifications-get-server-information-method):
7592 (notifications-get-capabilities): Fix docstring.
7593 (notifications-get-server-information): New defun.
7595 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7597 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7600 * textmodes/ispell.el: Experimental support for support debugging.
7601 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7603 (ispell-print-if-debug): New function to print stuff to
7604 `ispell-debug-buffer' if debugging is enabled.
7605 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7606 show some debugging info.
7607 (ispell-buffer-with-debug): New function that creates a debugging
7608 buffer and calls `ispell-buffer' with debugging enabled.
7610 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7611 comment in autoconf mode. (Bug#12768)
7613 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7615 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7616 frame-first-window, frame-root-window, frame-selected-window,
7617 minibuffer-selected-window, minibuffer-window,
7618 window-absolute-pixel-edges, window-at, window-body-height,
7619 window-body-width, window-display-table, window-combination-limit,
7620 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7621 window-inside-edges, window-inside-pixel-edges, window-left-child,
7622 window-left-column, window-margins, window-next-buffers,
7623 window-next-sibling, window-new-normal, window-new-total,
7624 window-normal-size, window-parameter, window-parameters, window-parent,
7625 window-pixel-edges, window-point, window-prev-buffers,
7626 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7627 window-start, window-text-height, window-top-child, window-top-line,
7628 window-total-height, window-total-width and window-use-time to the list
7629 of functions without side-effects.
7630 (toplevel): Add window-valid-p to the list of error-free functions
7631 without side-effects.
7633 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7635 * textmodes/ispell.el (ispell-program-name):
7636 Update spellchecker parameters when customized.
7638 2012-11-04 Glenn Morris <rgm@gnu.org>
7640 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7642 2012-11-04 Chong Yidong <cyd@gnu.org>
7644 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7645 same-window-* variables.
7647 2012-11-04 Juri Linkov <juri@jurta.org>
7649 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7650 (isearch-describe-key, isearch-describe-mode): Use a display
7651 action instead of binding same-window-* variables (Bug#10040).
7653 2012-11-03 Glenn Morris <rgm@gnu.org>
7655 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7656 Rename handler properties back from cl-- to cl-. (Bug#12788)
7658 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7660 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7662 * term/pc-win.el: Don't load term/internal from here.
7664 * loadup.el: Load term/internal from here.
7666 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7668 * progmodes/python.el (inferior-python-mode): Fix hang in
7669 jit-lock (Bug#12645).
7671 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7673 * window.el (switch-to-visible-buffer)
7674 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7676 2012-11-03 Glenn Morris <rgm@gnu.org>
7678 * emacs-lisp/cl-lib.el (cl--random-time):
7679 Rename from cl-random-time. (Bug#12773)
7680 (cl--gensym-counter, cl--random-state): Update callers.
7681 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7683 2012-11-03 Chong Yidong <cyd@gnu.org>
7685 * cus-start.el: Make cursor-type customizable (Bug#11633).
7687 2012-11-02 Glenn Morris <rgm@gnu.org>
7689 * filecache.el: No need to load find-lisp when compiling.
7690 (find-lisp-find-files): Autoload it.
7691 (file-cache-add-directory-recursively): Don't require find-lisp.
7693 * image.el (image-type-from-file-name): Trivial simplification.
7695 * emacs-lisp/bytecomp.el (byte-compile-eval):
7696 Decouple "noruntime" and "cl-functions" warnings.
7698 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7700 * play/gomoku.el (gomoku-display-statistics): Update mode line
7701 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7703 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7705 * window.el (quit-restore-window): If the window has been
7706 created on an existing frame and ended up as the sole window on
7707 that frame, do not delete it (Bug#12764).
7709 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7711 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7712 Rename from sh--inside-arithmetic-expression, handle more cases
7715 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7716 (sh-font-lock-open-heredoc): Use it (bug#12770).
7718 2012-10-30 Glenn Morris <rgm@gnu.org>
7720 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7722 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7724 2012-10-29 Chong Yidong <cyd@gnu.org>
7726 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7727 function key is stored in a keyboard macro (Bug#4894).
7729 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7731 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7735 (diff-unified->context, diff-context->unified)
7736 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7738 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7740 * files.el (find-alternate-file): Only ask one question (bug#12487).
7742 2012-10-29 Chong Yidong <cyd@gnu.org>
7744 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7745 Suggested by Dan Nicolaescu (Bug#6326).
7747 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7749 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7751 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7753 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7755 * face-remap.el (face-remap-add-relative): Handle the case where a
7756 face-remapping-alist entry is a cons cell (Bug#12762).
7758 2012-10-29 Kevin Ryde <user42@zip.com.au>
7760 * woman.el (woman-parse-numeric-value): Handle picas correctly
7763 2012-10-29 Glenn Morris <rgm@gnu.org>
7765 * emacs-lisp/cl.el (defsetf): Doc fix.
7767 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7769 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7770 syntax to the matching opener, if any (bug#12547).
7771 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7772 matching open as a "case-(".
7773 (sh-smie-rc-grammar): Add a corresponding rule for it.
7775 2012-10-28 Daniel Hackney <dan@haxney.org>
7777 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7778 "PKGNAME-autoloads.el" in case we created it.
7780 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7782 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7783 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7784 (completion--twq-all): Disable too-strict assertions.
7786 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7788 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7790 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7791 text to match the real keybindings.
7793 2012-10-27 Juri Linkov <juri@jurta.org>
7795 * wdired.el (wdired-keep-marker-rename): New defcustom.
7796 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7799 * dired.el (dired-keep-marker-rename): Add reference to
7800 `wdired-keep-marker-rename' in the docstring.
7801 Add default character value ?R to display initially in
7802 Customization UI instead of ?@.
7804 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7806 * window.el (display-buffer): In doc-string describe
7807 window-height and window-width alist entries.
7809 * time.el (display-time-world): Restore fit-window-to-buffer
7812 2012-10-27 Chong Yidong <cyd@gnu.org>
7814 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7816 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7818 * minibuffer.el (completion-category-overrides): New completion
7819 category `bookmark' (bug#11131).
7821 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7823 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7824 Silence bogus compiler warnings for ad-do-it.
7826 * bookmark.el (bookmark-completing-read): Set the completion category
7827 to `bookmark' (bug#11131).
7829 2012-10-26 Bastien <bzg@altern.org>
7830 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * face-remap.el: Use lexical-binding.
7833 (text-scale-adjust): Improve docstring. Use itself for the temporary
7834 overlay-map bindings, so as to repeat the "Use..." message each time.
7836 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7838 * emacs-lisp/macroexp.el (macroexp--expand-all):
7839 Obey byte-compile-warning-enabled-p (bug#12486).
7841 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7842 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7844 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7846 * mouse.el (mouse-drag-line): Move last form into preceding when
7849 * help.el (resize-temp-buffer-window): Fix doc-string.
7851 2012-10-25 David Engster <deng@randomsample.de>
7853 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7854 Remove. This feature is already integrated in imenu.
7856 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7857 always loaded. Require `speedbar' unconditionally.
7859 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7863 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7865 * net/ldap.el (ldap-search-internal): The official ldif format starts
7866 with a "version: 1" header (bug#12724).
7868 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7871 2012-10-25 Glenn Morris <rgm@gnu.org>
7873 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7875 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7877 * minibuffer.el (minibuffer-force-complete): Use one more marker
7878 for the temporary-overlay-map command (bug#12619).
7880 2012-10-24 Chong Yidong <cyd@gnu.org>
7882 * time.el (display-time-world-mode): Derive from special-mode.
7883 (display-time-world): Use display-buffer (Bug#12708).
7884 (display-time-world-mode-map): Variable deleted.
7885 (display-time-world-display): Wrap the final delete-char inside
7888 2012-10-24 Chong Yidong <cyd@gnu.org>
7890 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7893 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7895 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7897 * minibuffer.el (completion--all-sorted-completions-location): New var.
7898 (completion--cache-all-sorted-completions)
7899 (completion--flush-all-sorted-completions): Use it.
7900 (completion-in-region, completion-in-region--postch)
7901 (completion-at-point, completion-help-at-point): Use markers in
7902 completion-in-region--data (bug#12619).
7904 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * progmodes/compile.el (compilation-start): Try to handle common
7907 quoting of `cd' argument (bug#12640).
7909 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7912 2012-10-23 Glenn Morris <rgm@gnu.org>
7914 * progmodes/gud.el (gud-menu-map):
7915 Check gdb-active-process is bound. (Bug#12358)
7917 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * repeat.el (repeat): Set real-this-command (bug#12232).
7921 * htmlfontify.el (hfy-post-html-hook):
7922 * filesets.el (filesets-cache-fill-content-hook):
7923 * arc-mode.el (archive-extract-hook):
7924 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7925 * net/rcirc.el (rcirc-sentinel-functions)
7926 (rcirc-receive-message-functions, rcirc-activity-functions)
7927 (rcirc-print-functions):
7928 * net/dbus.el (dbus-event-error-functions):
7929 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7930 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7931 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7932 * term/sun.el (sun-raw-prefix-hooks):
7933 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7935 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7937 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7938 Set `tramp-chunksize' to 1. This improves the performance.
7939 (tramp-smb-wait-for-output): Add timeout to
7940 `tramp-accept-process-output' calls.
7942 2012-10-23 Chong Yidong <cyd@gnu.org>
7944 * faces.el (font-list-limit): Define as an obsolete variable.
7946 * startup.el (command-line):
7947 * cus-start.el: Don't refer to font-list-limit.
7949 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7951 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7953 * subr.el (internal-temp-output-buffer-show): Rename from
7954 temp-output-buffer-show, since previously compiled files expect this name.
7956 2012-10-23 Glenn Morris <rgm@gnu.org>
7958 * image.el (image-type-from-file-name): If multiple types match,
7959 return the first one that is supported. (Bug#9045)
7961 2012-10-22 Glenn Morris <rgm@gnu.org>
7963 * image.el (imagemagick-enabled-types): Doc fix.
7965 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7967 * progmodes/which-func.el (which-func-current): The hash-table may have
7968 an explicit nil (bug#12338).
7970 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * electric.el (electric-pair-delete-selection-self-insert-function):
7973 Rename to electric-pair-will-use-region, return a boolean.
7974 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7976 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7977 (delete-selection-pre-hook): Use use-region-p.
7978 (delete-selection-self-insert-function): Remove.
7979 (self-insert-command): Obey self-insert-uses-region-functions.
7980 (self-insert-iso): Revert to previous setting, since we don't actually
7981 know what that command does.
7982 (delete-selection-self-insert-hooks): Remove.
7984 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7986 * delsel.el (delete-selection-helper): New function, extracted from
7987 delete-selection-pre-hook.
7988 (delete-selection-pre-hook): Use it.
7989 (delete-selection-self-insert-function): New function.
7990 (delete-selection-self-insert-hooks): New hook.
7991 (self-insert-command, self-insert-iso): Use it.
7992 * electric.el (electric-pair-syntax): New function, extracted from
7993 electric-pair-post-self-insert-function.
7994 (electric-pair-post-self-insert-function): Use it.
7995 (electric-pair-delete-selection-self-insert-function): New function.
7996 (electric-pair-mode): Require delsel and setup
7997 delete-selection-self-insert-hooks (bug#11520).
7999 2012-10-20 Chong Yidong <cyd@gnu.org>
8001 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8002 no changes to show (Bug#12586).
8004 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8005 list explicitly (Bug#12571).
8007 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8009 * progmodes/flymake.el (flymake-create-temp-inplace):
8012 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8014 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8016 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8018 * calc/calc-units.el (math-extract-units): Properly extract powers
8021 2012-10-20 Daniel Colascione <dancol@dancol.org>
8023 * frame.el (make-frame): Set x-display-name as we used to in order
8024 to unbreak creating an X11 frame from an Emacs daemon started
8027 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8030 the same completion-field (bug#12221).
8032 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8034 * emacs-lisp/debug.el (debug): Record height of debugger window
8035 also when debugger will be back (Bug#8789).
8037 2012-10-18 Chong Yidong <cyd@gnu.org>
8039 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8040 Convert to defcustom.
8041 (gdb-get-source-file): Don't bind pop-up-windows.
8043 * progmodes/gud.el (gud-display-line): Don't specially re-use
8044 other frames for the gdb-mi case (Bug#12648).
8046 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8048 * emacs-lisp/advice.el: Clean up commentary a bit.
8049 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8050 (byte-code-function-p): Never redefine.
8052 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8054 2012-10-18 Glenn Morris <rgm@gnu.org>
8056 * dired.el (dired-sort-toggle): Some ls implementations only allow
8057 a single option string. (Bug#12666)
8059 * minibuffer.el (completion-cycle-threshold): Doc fix.
8061 2012-10-17 Kenichi Handa <handa@gnu.org>
8063 * international/mule.el (set-keyboard-coding-system):
8064 Recover input meta mode when the new coding system doesn not use 8-bit.
8065 Supply TERMINAL arg to set-input-meta-mode.
8067 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8069 * wdired.el (wdired-old-marks): New variable.
8070 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8071 (wdired-do-renames): Move point with renamed file and don't lose
8072 mark status (Bug#11795).
8074 2012-10-16 Juri Linkov <juri@jurta.org>
8076 * replace.el (query-replace-help): Mention multi-buffer replacement
8077 keys in the Help message. (Bug#12655)
8079 2012-10-15 Chong Yidong <cyd@gnu.org>
8081 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8083 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8085 * window.el (display-buffer): Doc fix.
8087 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8088 Adjust the msft regexp to the output of Studio 2010, and move msft
8089 before edg-1. See the discussion on emacs-devel,
8090 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8093 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8096 (oset): Move uses of object-class-fast macro after its definition.
8098 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8100 2012-10-13 Chong Yidong <cyd@gnu.org>
8102 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8103 enabled, re-enable it (Bug#11963).
8105 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8107 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8108 non-nil, restore window configuration (Bug#12623).
8110 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8112 * help-fns.el (describe-variable, describe-function-1):
8113 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8115 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8117 2012-10-12 Glenn Morris <rgm@gnu.org>
8119 * mail/rmailsum.el (rmail-header-summary):
8120 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8122 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
8124 * progmodes/python.el (python-mode-map):
8125 Replace subtitute-key-definition with proper command remapping.
8126 (python-nav--up-list): Fix behavior for blocks on the same level.
8128 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8130 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8132 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8133 changes to the format of load-history.
8135 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8136 completion-ignore-case in case that var is buffer-local (bug#12615).
8138 2012-10-11 Kenichi Handa <handa@gnu.org>
8140 * international/eucjp-ms.el: Re-generated.
8142 2012-10-10 Kenichi Handa <handa@gnu.org>
8144 * select.el (xselect--encode-string): If a coding is specified for
8145 selection, and that is compatible with COMPOUND_TEXT, use it.
8147 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8149 * window.el (switch-to-buffer-preserve-window-point): New option.
8151 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8153 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8155 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8156 Don't document nil as a useful value (bug#12583).
8158 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8160 * net/tramp.el (tramp-debug-message):
8161 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8162 (with-tramp-progress-reporter): Rename from
8163 `tramp-with-progress-reporter'.
8164 (with-tramp-file-property, with-tramp-connection-property):
8165 Move from tramp-cache.el, rename from `with-file-property' and
8166 `with-connection-property', respectively.
8168 * net/tramp-cache.el: Remove `with-file-property' and
8169 `with-connection-property'.
8172 * net/tramp-gvfs.el:
8174 * net/tramp-smb.el: Adapt callees.
8176 * net/trampver.el: Update release number.
8178 2012-10-09 Glenn Morris <rgm@gnu.org>
8180 * w32-fns.el (set-message-beep):
8181 * term/w32-win.el (set-message-beep): Update declarations.
8183 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8186 (mode-line-widen, mode-line-input-method-map)
8187 (mode-line-coding-system-map, mode-line-remote)
8188 (mode-line-unbury-buffer, mode-line-bury-buffer)
8189 (mode-line-next-buffer, mode-line-previous-buffer):
8190 Replace save-selected-window+select-window => with-selected-window.
8192 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8193 * progmodes/cc-vars.el (bq-process): Remove, unused.
8195 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8197 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
8199 Implemented `backward-up-list'-like navigation.
8200 * progmodes/python.el (python-nav-up-list)
8201 (python-nav-backward-up-list): New functions.
8202 (python-mode-map): Define substitute key for backward-up-list to
8203 python-nav-backward-up-list.
8205 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8207 * progmodes/python.el (python-fill-paragraph): Rename from
8208 python-fill-paragraph-function. Fixed fill-paragraph for
8209 decorators (Bug#12605).
8211 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8213 * progmodes/python.el (python-shell-output-filter): Handle extra
8214 carriage return in OSX (Bug#12409).
8216 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8218 Fix shell handling of unbalanced quotes and parens in output.
8219 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8220 (python-syntax-propertize-function): Use it.
8221 (python-shell-output-syntax-table): New var.
8222 (inferior-python-mode): Prevent unbalanced parens/quotes from
8223 previous output mess with current input context.
8225 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8227 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8228 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8230 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8232 * ffap.el (ffap-replace-file-component): Support Tramp file name
8233 syntax, not only ange-ftp's one.
8235 2012-10-08 Glenn Morris <rgm@gnu.org>
8237 * cus-start.el (message-log-max): Set :version.
8239 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8241 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8243 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8244 the minibuffer window (Bug#10851).
8246 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8248 Enhancements on forward-sexp movement.
8249 * progmodes/python.el (python-nav-beginning-of-statement)
8250 (python-nav-end-of-statement): Return point-marker.
8251 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8252 (python-info-current-symbol)
8253 (python-info-statement-starts-block-p): Rename from
8254 python-info-beginning-of-block-p.
8255 (python-info-statement-ends-block-p): Rename from
8256 python-info-end-of-block-p.
8257 (python-info-beginning-of-statement-p)
8258 (python-info-end-of-statement-p)
8259 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8262 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8264 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8265 frame-selected-windows.
8267 2012-10-08 Daniel Colascione <dancol@dancol.org>
8269 * battery.el (battery-status-function): Check for
8270 w32-battery-status itself, not system-time windows-nt.
8272 * frame.el: Require cl-lib.
8273 (display-format-alist): New variable mapping frame types to
8274 functions that initialize them.
8275 (window-system-for-display): New function: interprets
8276 display-format-alist.
8277 (make-frame-on-display): Remove existing display-selection logic
8278 and just forward to make-frame, which will now DTRT.
8279 (make-frame): Restructure to use window-system-for-display to
8280 figure out how to create a frame on a given display.
8281 (display-mouse-p): Look for frame-type w32, not a particular
8284 * loadup.el: Load w32 lisp code when we have the w32 feature.
8286 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8287 system-type windows-nt.
8289 * server.el (server-create-window-system-frame): Look for window
8291 (server-proces-filter): Only force a window system when windows-nt
8292 _and_ w32. Explain why.
8294 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8295 of window systems we configure for the mode.
8297 * startup.el (command-line): Mark window system is initialized
8298 after we've done it.
8300 * common-win.el (x-select-text): Look for w32, not windows-nt.
8302 * ns-win.el: Require cl-lib. Add ourselves to
8303 display-format-alist.
8304 (ns-initialize-window-system): Assert we're not initialized twice.
8306 * w32-win.el: Enable lexical binding; require cl-lib; add
8307 ourselves to display-format-alist.
8308 (w32-handle-dropped-file): Convert incoming dropped files from
8309 Windows paths to Cygwin ones before passing them on to the rest of
8311 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8312 (w32-initialize-window-system): Assert we're not initialized twice.
8314 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8315 (x-initialize-window-system): Assert we're not initialized twice.
8317 * w32-common-fns.el: New File.
8318 (w32-version, w32-using-nt, w32-get-clipboard-data)
8319 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8320 (w32-charset-info-alist, x-last-selected, text)
8321 (x-get-selection-value, x-selection-value): Move here.
8323 * w32-fns.el: Require w32-common-fns.
8324 (w32-version, w32-using-nt, w32-get-clipboard-data)
8325 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8326 (w32-charset-info-alist, x-last-selected, text)
8327 (x-get-selection-value, x-selection-value): Move to
8331 (w32-allow-system-shell, w32-system-shells): Define only in
8334 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8337 (read-passwd): Remove a few more potential sources of leaks.
8339 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8341 * progmodes/python.el (inferior-python-mode)
8342 (python-shell-make-comint): Fix initialization of local
8343 variables copied from parent buffer.
8345 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8347 * term/ns-win.el (ns-read-file-name): Update declaration to match
8349 (ns-respond-to-change-font): Change fontsize separately so we are sure
8350 it is set when font is acted upon.
8352 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8354 Enhancements to indentation.
8355 * progmodes/python.el (python-indent-context): Give priority to
8356 inside-string context. Make comments indentation markers.
8357 (python-indent-region): Do not mess with strings, unless it's the
8358 enclosing set of quotes.
8360 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8362 * window.el (internal--before-save-selected-window)
8363 (internal--after-save-selected-window): New functions extracted from
8364 save-selected-window. Make sure we return the `alist' we construct.
8365 (save-selected-window): Use them.
8367 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8368 Use with-selected-window.
8370 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8371 forms that define macros (bug#12593).
8373 2012-10-07 Kenichi Handa <handa@gnu.org>
8375 * international/mule-conf.el (compound-text-with-extensions):
8376 Add :mime-charset property as x-ctext.
8378 2012-10-07 Stefan Merten <smerten@oekonux.de>
8380 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8381 (rst-indent-literal-normal, rst-indent-literal-minimized)
8382 (rst-indent-comment): Correct :version tag.
8383 (rst-official-cvs-rev): Correct version string.
8385 2012-10-07 Glenn Morris <rgm@gnu.org>
8387 * mail/rmailmm.el (rmail-mime-process-multipart):
8388 Do not confuse a multipart message with an epilogue
8389 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8391 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8393 Fix shell output retrieval and comint-prompt-regexp init.
8394 * progmodes/python.el (inferior-python-mode):
8395 (python-shell-make-comint): Fix initialization of
8396 comint-prompt-regexp from copied file local variables.
8397 (python-shell-fetched-lines): Remove var.
8398 (python-shell-output-filter-in-progress): Rename from
8399 python-shell-fetch-lines-in-progress.
8400 (python-shell-output-filter-buffer): Rename from
8401 python-shell-fetch-lines-string.
8402 (python-shell-fetch-lines-filter): Delete function.
8403 (python-shell-output-filter): New function.
8404 (python-shell-send-string-no-output): Use them.
8406 2012-10-07 Glenn Morris <rgm@gnu.org>
8408 * hi-lock.el (hi-lock-process-phrase):
8409 Try to make it less fragile. (Bug#7161)
8411 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8413 2012-10-06 Glenn Morris <rgm@gnu.org>
8415 * ehelp.el (electric-help-mode): Use help-mode rather than
8416 non-existent mode `help'.
8417 (electric-help-map): Use button-buffer-map. (Bug#10917)
8419 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8420 (reftex-create-bibtex-footer): Fix custom types.
8422 * progmodes/sh-script.el (sh-indent-after-continuation):
8423 Add explicit :group.
8425 * textmodes/rst.el (rst-preferred-decorations)
8426 (rst-shift-basic-offset): Clarify obsolescence versions.
8428 * profiler.el (profiler): Add missing group :version tag.
8429 * avoid.el (mouse-avoidance-banish-position):
8430 * proced.el (proced-renice-command):
8431 * calc/calc.el (calc-ensure-consistent-units):
8432 * calendar/icalendar.el (icalendar-import-format-uid):
8433 * net/tramp.el (tramp-save-ad-hoc-proxies):
8434 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8435 * progmodes/flymake.el (flymake-error-bitmap)
8436 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8437 * progmodes/sh-script.el (sh-indent-after-continuation):
8438 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8439 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8440 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8441 (vhdl-array-index-record-field-in-sensitivity-list)
8442 (vhdl-indent-comment-like-next-code-line):
8443 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8444 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8445 (reftex-cite-key-separator, reftex-create-bibtex-header)
8446 (reftex-create-bibtex-footer):
8447 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8448 (rst-indent-literal-normal, rst-indent-literal-minimized)
8449 (rst-indent-comment): Add missing custom :version tags.
8451 * calendar/timeclock.el (timeclock-modeline-display):
8452 Add missing obsolete alias for renamed user option.
8454 * strokes.el (strokes-modeline-string):
8455 * emulation/crisp.el (crisp-mode-modeline-string):
8456 * eshell/esh-mode.el (eshell-status-in-modeline):
8457 Aliases to defcustoms must come before the defcustom.
8459 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8460 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8461 (cal-tex-cursor-week-monday): Doc fixes.
8462 (cal-tex-cursor-week2-summary): Doc fix.
8463 Rename from cal-tex-cursor-week-at-a-glance.
8465 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8466 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8468 * calendar/calendar.el (calendar-mode-map):
8469 Add cal-tex-cursor-week2-summary.
8471 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8473 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8475 * subr.el (read-passwd-map): New var.
8476 (read-passwd): Use `read-string' again.
8477 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8479 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8481 * register.el (append-to-register, prepend-to-register):
8482 Deactivate mark, as does `copy-to-register' (bug#12389).
8484 2012-10-06 Chong Yidong <cyd@gnu.org>
8486 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8488 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8490 * international/characters.el: Fix simple mistake ((car chars) ->
8491 elt), delete duplicated code.
8493 2012-10-06 Glenn Morris <rgm@gnu.org>
8495 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8497 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8499 * color.el (color-hsl-to-rgb): Fix incorrect results for
8500 small and large hue values. (Bug#12559)
8502 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8504 Enhancements to docstring formatting when filling paragraphs.
8505 * progmodes/python.el (python-fill-docstring-style): Rename from
8506 python-fill-string-style. Added new style.
8507 (python-fill-string): Use new style. Better checks for
8510 2012-10-05 Glenn Morris <rgm@gnu.org>
8512 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8514 * color.el (color-name-to-rgb, color-rgb-to-hex)
8515 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8516 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8517 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8518 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8520 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8522 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8524 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8525 to get the correct size across symlinks.
8527 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8529 2012-10-04 Juri Linkov <juri@jurta.org>
8531 * replace.el (query-replace-interactive): Declare obsolete.
8532 (query-replace-read-from): Add the last incremental search string
8533 to the list of default values accessible via M-n.
8534 (map-query-replace-regexp): Use `read-regexp'.
8535 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8536 (map-query-replace-regexp, replace-string, replace-regexp):
8537 Fix docstrings to replace mentions of `query-replace-interactive'
8538 with alternatives. (Bug#12526)
8540 2012-10-04 Juri Linkov <juri@jurta.org>
8542 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8543 (dired-pop-to-buffer): Declare obsolete.
8544 (dired-mark-pop-up): Doc fix.
8546 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8548 Allow user to set docstring style for fill-paragraph.
8549 * progmodes/python.el
8550 (python-fill-comment-function, python-fill-string-function)
8551 (python-fill-decorator-function, python-fill-paren-function):
8552 Remove :safe for defcustoms.
8553 (python-fill-string-style): New defcustom
8554 (python-fill-paragraph-function): Enhance context detection.
8555 (python-fill-string): Honor python-fill-string-style settings.
8557 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8559 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8560 after setting its buffer (Bug#10805).
8562 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8564 Fix cornercase for string syntax.
8565 * progmodes/python.el (python-syntax-propertize-function):
8566 Simplify and enhance the regexp for unescaped quotes. Now it also
8567 matches quotes in weird situations like the single quote in
8569 (python-syntax-stringify): Simplify num-quotes detecting code.
8571 2012-10-03 Glenn Morris <rgm@gnu.org>
8573 * help-macro.el (three-step-help):
8574 Revert 2012-09-29 change. (Bug#12567)
8576 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8578 * menu-bar.el (kill-this-buffer): Don't do anything when
8579 `menu-frame' is not alive or visible (Bug#8184).
8581 * emacs-lisp/debug.el (debug): When quitting the debugger window
8582 restore current buffer (Bug#12502).
8584 2012-10-02 Chong Yidong <cyd@gnu.org>
8586 * progmodes/hideif.el (hif-lookup, hif-defined):
8587 Handle semantic-c-takeover-hideif.
8589 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8591 Change sampling interval units from ms to ns.
8592 * profiler.el (profiler-sampling-interval): Change units
8593 from ms to ns, multiplying the default by 1000000 so that
8595 (profiler-report-cpu-line-format): Give enough room for
8596 the maximum counters on 64-bit hosts.
8597 (profiler-report-render-calltree-1): Call them "CPU samples",
8598 not "Time (ms)", since they are not milliseconds now (and
8601 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8603 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8604 Fix querying BBDB for entries without a last name (Bug#11580).
8606 2012-10-02 Chong Yidong <cyd@gnu.org>
8608 * emacs-lisp/eieio.el: Restore Version header.
8610 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * vc/diff-mode.el (diff--auto-refine-data): New var.
8613 (diff-hunk): Use it to delay refinement.
8614 (diff-mode): Remove overlays when we turn off font-lock.
8616 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8617 (table-initialize-table-fixed-width-mode)
8618 (table-set-table-fixed-width-mode): Remove functions.
8619 (table-command-list): Move initialization into declaration.
8620 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8621 (table-with-cache-buffer): Use `declare'.
8622 (table-span-cell): Simplify via CSE.
8623 (table-fixed-width-mode): Use define-minor-mode.
8624 (table-call-interactively, table-funcall, table-apply): Remove.
8625 (table-function): New function, to replace them.
8627 * bookmark.el (bookmark-search-pattern): Remove var.
8628 (bookmark-read-search-input): Remove function.
8629 (bookmark-bmenu-search): Reimplement using a minibuffer.
8631 * faces.el (modeline): Remove obsolete face name.
8633 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8634 and give a non-nil default value.
8635 (add-change-log-entry): Simplify accordingly.
8637 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8639 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8640 (vc-git-log-edit-toggle-amend): New function.
8641 (vc-git-log-edit-toggle-signoff): New function.
8642 (vc-git-log-edit-mode): New major mode.
8643 (vc-git-log-edit-mode-map): Keymap for it.
8644 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8646 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8648 (log-edit-toggle-header): New function.
8649 (log-edit-extract-headers): Accept function values in HEADERS alist.
8651 2012-10-01 David Engster <deng@randomsample.de>
8653 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8654 from symbol property and change message to be more consistent with
8656 (eieio-describe-generic): Add filename for each implementation.
8657 Fix indices for generic and normal methods.
8658 (eieio-method-def, eieio-class-def): New buttons.
8659 (eieio-help-find-method-definition)
8660 (eieio-help-find-class-definition): New functions.
8661 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8662 class, constructor and method definitions.
8664 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8665 information in symbol property.
8666 (scoped-class): Remove.
8667 (eieio-slot-name-index, call-next-method): Check if it is bound.
8669 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8671 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8672 (eieio-custom-mode): New major mode.
8673 (eieio-customize-object): Use it.
8675 2012-10-01 Eric Ludlam <zappo@gnu.org>
8677 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8678 specifying the expected class, and whether subclassing is allowed.
8679 (eieio-persistent-convert-list-to-object):
8680 (eieio-persistent-validate/fix-slot-value)
8681 (eieio-persistent-slot-type-is-class-p): New functions.
8682 (eieio-named::slot-missing): Doc fix.
8684 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8685 Stop using unused publd variable.
8687 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8688 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8689 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8690 (eieio-speedbar-handle-click): Do not specify a class for the
8691 method. Fixes method invocation order problems with EDE.
8693 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8696 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8698 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8700 * bookmark.el (bookmark-version-control): Give tags in the
8701 :type choices (Bug#12309), and improve doc string.
8702 (bookmark-write-file): Bind `print-circle' to `t' to allow
8703 circular custom bookmark types. (Bug#12503)
8705 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8707 Revert the FOLLOW-SYMLINKS change for file-attributes.
8708 * files.el (remote-file-name-inhibit-cache, after-find-file):
8709 * time.el (display-time-file-nonempty-p): Undo last change.
8711 * profiler.el (profiler-sampling-interval): Change default back to 1.
8712 See Stefan Monnier in
8713 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8715 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8717 Shell output catching a la gud-gdb.
8718 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8719 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8721 (python-shell-fetch-lines-filter): New function.
8722 (python-shell-send-string-no-output): Use them.
8724 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8726 * profiler.el (profiler-sampling-interval): Rename from
8727 profiler-sample-interval.
8728 (profiler-sampling-interval): Default to 10.
8729 (profiler-find-profile): New command (was profiler-find-log).
8730 (profiler-find-profile-other-window): New command.
8731 (profiler-find-profile-other-frame): New command.
8732 (profiler-profile): Introduce API-level data structure.
8734 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8736 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8737 * files.el (remote-file-name-inhibit-cache):
8738 * time.el (display-time-file-nonempty-p): Use it.
8739 * files.el (after-find-file): Don't chase links before calling
8740 file-exists-p, as file-exists-p already does the right thing.
8742 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8744 Merge from standalone RefTeX repository.
8746 The following ChangeLog entries are shortened versions of the
8747 original ones with file paths adapted. A not so strongly edited
8748 version of the original ChangeLog can be found in the commit log.
8750 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8751 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8752 Correctly handle new value type returned by `reftex-citation'.
8754 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8755 that entries with whitespace at various places are found.
8756 Doc fix. Include entries that are cross-referenced from cited entries.
8757 Include @String definitions in the resulting bib file. Add header
8758 and footer defined in `reftex-create-bibtex-header' and
8759 `reftex-create-bibtex-footer'.
8760 (reftex-do-citation): Make it possible again to insert
8761 non-existent entries. Save match data when asking for optional
8762 arguments. Return all keys, not just the first one.
8763 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8764 all citations in the same line.
8765 (reftex-parse-bibtex-entry): Accept additional optional argument
8766 `raw' and keep quotes or braces if it is non-nil. Match fields
8767 containing hyphens besides word constituents.
8768 (reftex-get-string-refs): New function.
8769 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8770 and ask if it should be reread in case it did.
8771 (reftex-pop-to-bibtex-entry)
8772 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8773 entries with spaces or tabs in front of arguments.
8774 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8775 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8776 Match entries containing numbers and symbol constituents.
8777 (reftex-do-citation, reftex-figure-out-cite-format):
8778 Use `reftex-cite-key-separator'.
8780 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8781 (reftex-mouse-view-crossref): Explain why point is set.
8783 * textmodes/reftex-global.el: Whitespace changes.
8785 * textmodes/reftex-index.el: Move provide statement to end of
8787 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8788 (reftex-index-visit-phrases-buffer): Set marker when visiting
8789 buffer. This allows for returning from the phrases file to the
8790 file one was just editing instead of the file where the last
8791 phrases was added from.
8792 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8793 punctuation syntax as it usually is not used as string quote in
8794 TeX-related modes and may occur unmatched. The change also
8795 prevents fontification of quoted content.
8796 (reftex-index-phrases-mode): Use it.
8798 * textmodes/reftex-parse.el (reftex-parse-from-file):
8799 Move backward one char if a `\' was matched after a section macro.
8800 (reftex-parse-from-file): Use beginning of match instead of end as
8803 * textmodes/reftex-ref.el: Adapt creation of
8804 `reftex-<package>-<macro>' functions to new structure of
8805 `reftex-ref-style-alist'.
8806 (reftex-reference): Use `reftex-ref-style-list' function.
8807 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8808 reference macro if `reftex-ref-macro-prompt' is non-nil.
8809 (reftex-reference): Pass refstyle to `reftex-format-special'.
8810 Determine reference macro by looking at
8811 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8812 Use only one special format function.
8813 (reftex-varioref-vref, reftex-fancyref-fref)
8814 (reftex-fancyref-Fref): Remove definitions. The functions are now
8815 generated from `reftex-ref-style-alist'.
8816 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8818 (reftex-format-special): New function.
8820 * textmodes/reftex-sel.el
8821 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8822 of `reftex-ref-style-alist'. Remove code for testing macro type.
8823 (reftex-select-toggle-varioref)
8824 (reftex-select-toggle-fancyref): Remove.
8825 (reftex-select-cycle-ref-style-internal)
8826 (reftex-select-cycle-ref-style-forward)
8827 (reftex-select-cycle-ref-style-backward): New functions.
8828 (reftex-select-label-map): Use `v' and `V' for general cycling
8829 through reference styles. Add `p' for switching between number
8830 and page reference types.
8832 * textmodes/reftex-toc.el (reftex-re-enlarge):
8833 Call `enlarge-window' only if there is something to do because in Emacs
8834 the horizontal version throws an error even if the parameter is 0.
8836 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8837 (reftex-plug-into-AUCTeX): Doc fix.
8838 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8839 string. Adapt to new name.
8840 (reftex-ref-style-alist): Change structure so that it is not
8841 possible to use multiple different package names within a style.
8842 Remove the symbols for symbols for macro type distinction.
8843 Add characters for macro selection.
8844 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8845 (reftex-create-bibtex-footer): New variables.
8846 (reftex-format-ref-function): Mention third argument of special
8848 (reftex-ref-style-alist, reftex-ref-style-default-list):
8850 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8851 to new implementation. Mark as obsolete. Add compatibility code
8852 for honoring the variable values in case they are set.
8853 (reftex-cite-format-builtin, reftex-bibliography-commands):
8854 Add support for ConTeXt.
8855 (reftex-format-ref-function, reftex-format-cite-function):
8857 (reftex-cite-key-separator): New variable.
8859 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8860 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8861 `reftex-syntax-table' because parens have to retain their paren
8862 syntax in order for parsing of BibTeX entries like @book(...) to
8864 (reftex-in-comment): Do not error out if `comment-start-skip' is
8865 not set. Deal correctly with escaped comment characters.
8866 (reftex-tie-multifile-symbols): Add doc string.
8867 Initialize `reftex-ref-style-list'.
8868 (reftex-untie-multifile-symbols): Add doc string.
8869 (reftex-add-index-macros): Doc fix.
8870 (reftex-ref-style-activate, reftex-ref-style-toggle)
8871 (reftex-ref-style-list): New functions.
8872 (reftex-mode-menu): Use them. Adapt to new structure of
8873 `reftex-ref-style-alist'.
8874 (reftex-select-with-char): Kill the RefTeX Select buffer when
8876 (reftex-remove-if): New function.
8877 (reftex-erase-all-selection-and-index-buffers)
8878 (reftex-mode-menu): Reference styles are now computed from
8879 `reftex-ref-style-alist'. Fix typo.
8880 (reftex-report-bug): New function.
8881 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8882 algorithms with O(n log n). Introduce optional argument SORT (not
8885 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8887 Enhancements for triple-quote string syntax.
8888 * progmodes/python.el (python-syntax-propertize-function):
8889 Match both quote cases in one regexp.
8890 (python-syntax-stringify): Handle matches properly.
8892 2012-09-30 Juri Linkov <juri@jurta.org>
8894 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8895 to nil around the call to `insert' to prevent
8896 directory time modification by lock_file. (Bug#2295)
8897 * tar-mode.el (tar-summarize-buffer): Idem.
8899 2012-09-30 Juri Linkov <juri@jurta.org>
8901 * facemenu.el (list-colors-sort): Add option "Luminance".
8902 (list-colors-sort-key): Implement it.
8904 * vc/diff-mode.el (diff-refine-removed):
8905 * vc/ediff-init.el (ediff-fine-diff-A):
8906 * vc/smerge-mode.el (smerge-refined-removed):
8907 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8909 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8911 * term/ns-win.el (x-file-dialog): New function.
8913 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8915 * ido.el (ido-max-directory-size): Default to nil; the current
8916 default is small for POSIX systems, and impractical on Windows 7
8917 now that lstat returns directory sizes for NTFS.
8919 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8921 In buffer display functions handle window-height/window-width
8922 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8923 * window.el (window--display-buffer): New argument ALIST.
8924 Obey window-height and window-width alist entries.
8925 (window--try-to-split-window): New argument ALIST.
8926 Bind window-combination-limit to t when the window's size shall be
8927 changed and window-combination-limit equals `window-size'.
8928 (display-buffer-in-atom-window)
8929 (display-buffer-in-major-side-window)
8930 (display-buffer-in-side-window, display-buffer-same-window)
8931 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8932 (display-buffer-pop-up-window, display-buffer-below-selected)
8933 (display-buffer-at-bottom, display-buffer-in-previous-window)
8934 (display-buffer-use-some-window): Adjust all callers of
8935 window--display-buffer and window--try-to-split-window.
8936 (fit-frame-to-buffer): New option.
8937 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8939 (display-buffer-in-major-side-window): Evaluate window-height /
8940 window-width alist entries.
8942 * help.el (temp-buffer-resize-frames)
8943 (temp-buffer-resize-regexps): Remove options.
8944 (temp-buffer-resize-mode): Adjust doc-string.
8945 (resize-temp-buffer-window): Don't consult
8946 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8947 temp-buffer-resize-frames.
8949 * dired.el (dired-mark-pop-up):
8950 Call display-buffer-below-selected with a fit-window-to-buffer alist
8953 2012-09-30 Chong Yidong <cyd@gnu.org>
8955 * server.el (server-host): Document the security implications.
8956 (server-auth-key): Doc fix.
8958 * startup.el (initial-buffer-choice): Doc fix.
8960 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8962 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8965 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8967 * help-fns.el (help-fns--obsolete): Fix last change.
8969 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8971 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8972 (minor-mode-map-alist): Remove redundant code.
8974 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8975 visited in a buffer.
8976 (cvs-insert-visited-file): New function.
8977 (find-file-hook): Use it.
8979 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8981 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8983 (log-edit-empty-buffer-p): Don't require a space after a header.
8985 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8987 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8989 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8990 a proper minor-mode.
8992 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8994 2012-09-29 Glenn Morris <rgm@gnu.org>
8996 * winner.el (winner-mode): Remove variable (let define-minor-mode
8998 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9000 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9001 (winner-mode): Use define-minor-mode.
9003 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9004 the full definition in loaddefs, rather than duplicating it.
9006 * help-macro.el (three-step-help): No need to autoload defcustom.
9008 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9009 (inferior-lisp-program, inferior-lisp-load-command)
9010 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9011 No need to autoload defcustoms.
9013 * hippie-exp.el (hippie-expand-try-functions-list)
9014 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9015 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9016 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9017 (hippie-expand-only-buffers): No need to autoload defcustoms.
9018 * progmodes/vhdl-mode.el (vhdl-line-expand):
9019 Explicitly load hippie-exp, so it does not get autoloaded
9020 while hippie-expand-try-functions-list is let-bound.
9022 2012-09-28 Glenn Morris <rgm@gnu.org>
9024 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9026 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9027 Only "cl.el" counts as cl these days.
9029 2012-09-28 Juri Linkov <juri@jurta.org>
9031 Display archive errors in the echo area instead of inserting
9034 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9035 to STDERR-TEST that can be a regexp matching a successful output.
9036 Create a temporary file and redirect stderr to it. Search for
9037 STDERR-TEST in the stderr output and display it in the echo area
9038 if no match is found.
9039 (archive-extract-by-file): New function like
9040 `archive-extract-by-stdout' but extracting archives to files
9041 and looking for successful matches in stdout. Function body is
9042 mostly copied from `archive-rar-extract'.
9043 (archive-rar-extract): Use `archive-extract-by-file'.
9044 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9046 2012-09-28 Leo Liu <sdl.web@gmail.com>
9048 * pcomplete.el (pcomplete-show-completions):
9049 Use minibuffer-message to make pcomplete usable in minibuffer.
9051 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9053 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9055 * type-break.el: Use lexical-binding.
9056 (type-break-mode): Use define-minor-mode.
9058 * emacs-lisp/pcase.el (pcase--mark-used): New.
9059 (pcase--u1): Use it (bug#12512).
9061 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9062 in load-history with the right file name.
9064 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9066 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9067 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9068 (doc-view-get-bounding-box): Make bounding box slicing work for
9069 ODF and DVI documents.
9071 2012-09-28 Glenn Morris <rgm@gnu.org>
9073 * type-break.el (type-break-mode, type-break-interval)
9074 (type-break-good-rest-interval, type-break-keystroke-threshold):
9075 No need to autoload.
9076 (type-break-good-rest-interval, type-break-keystroke-threshold):
9079 2012-09-28 Chong Yidong <cyd@gnu.org>
9081 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9084 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9086 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9088 2012-09-27 Glenn Morris <rgm@gnu.org>
9090 * faces.el (x-display-name): Declare (for without-x builds).
9092 * linum.el (linum-format): Don't autoload it. Improve :type.
9094 * progmodes/tcl.el: Don't require outline when compiling.
9095 (outline-regexp, outline-level): Declare.
9096 * textmodes/sgml-mode.el: Don't require outline when compiling.
9097 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9099 * term.el (term-ansi-reset):
9100 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9102 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9103 files for RCS and SCCS. (Bug#9781)
9105 2012-09-27 Chong Yidong <cyd@gnu.org>
9107 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9108 change; value should be t.
9110 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9112 * image-mode.el: Use lexical-binding.
9113 (image-mode-winprops): Use t to stand for the window of
9114 a buffer that's not displayed.
9115 * doc-view.el (doc-view-new-window-function): Handle the new
9117 (doc-view-enlarge): Make it a real nop if the size is not changed.
9118 (doc-view-display): Handle the case where the buffer is not (yet?)
9119 displayed in any window.
9120 (doc-view-saved-settings): New var.
9121 (doc-view-mode): Use it.
9122 (doc-view-fallback-mode): Set it.
9124 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9125 Set lexical-binding.
9126 (minibuffer-eldef-shorten-default): New var.
9127 (minibuffer-default-in-prompt-regexps): Use it for new default.
9128 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9130 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9132 * international/uni-bidi.el:
9133 * international/uni-category.el:
9134 * international/uni-name.el:
9135 * international/uni-numeric.el: Regenerate.
9137 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9138 Stefan Monnier <monnier@iro.umontreal.ca>
9140 * profiler.el: New file.
9142 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9145 (testcover-reinstrument): Simplify with CSE.
9147 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9149 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9151 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9153 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9154 (verilog-auto-input, verilog-auto-insert-lisp)
9155 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9156 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9157 (verilog-auto-unused, verilog-auto-wire)
9158 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9159 newline. Reported by Andrew Jones.
9160 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9161 Reported by Brad Dobbie.
9162 (verilog-batch-delete-trailing-whitespace):
9163 Create verilog-batch-delete-trailing-whitespace.
9164 Reported by Brad Dobbie.
9165 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9166 parameters from another module. Reported by Dan Katz.
9167 (verilog-auto, verilog-auto-assign-modport)
9168 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9169 AUTOINOUTMODPORT for UVM interface module shell generation.
9170 Reported by Brad Dobbie.
9171 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9173 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9174 Reported by Matt Martin.
9176 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9178 * window.el (window--resize-child-windows): When resizing child
9179 windows proportionally, process them in reverse order to
9180 preserve the "when splitting a window the new one gets the odd
9182 (window--resize-root-window-vertically): When resizing the
9183 minibuffer window try to affect only windows at the bottom of the
9186 2012-09-25 Chong Yidong <cyd@gnu.org>
9188 * subr.el (declare): Doc fix.
9190 * help-fns.el (help-fns--obsolete): Handle macros properly.
9192 2012-09-25 Chong Yidong <cyd@gnu.org>
9194 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9195 this function obsolete.
9197 * calendar/cal-x.el (calendar-two-frame-setup)
9198 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9199 * calendar/calendar.el (american-calendar, european-calendar)
9200 (calendar-for-loop):
9201 * comint.el (comint-dynamic-simple-complete)
9202 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9203 * desktop.el (desktop-load-default):
9204 * dired-x.el (dired-omit-here-always)
9205 (dired-hack-local-variables, dired-default-directory):
9206 * emacs-lisp/derived.el (derived-mode-class):
9207 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9208 * emacs-lock.el (toggle-emacs-lock):
9209 * epa.el (epa-display-verify-result):
9210 * epg.el (epg-sign-keys, epg-start-sign-keys)
9211 (epg-passphrase-callback-function):
9212 * eshell/esh-util.el (eshell-for):
9213 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9214 (eshell-add-to-window-buffer-names):
9215 * files.el (locate-file-completion):
9216 * imenu.el (imenu-example--create-c-index)
9217 (imenu-example--create-lisp-index)
9218 (imenu-example--lisp-extract-index-name)
9219 (imenu-example--name-and-position):
9220 * international/mule-cmds.el (princ-list):
9221 * international/mule-diag.el (decode-codepage-char):
9222 * international/mule-util.el (detect-coding-with-priority):
9223 * iswitchb.el (iswitchb-read-buffer):
9224 * mail/mailalias.el (mail-complete):
9225 * mail/sendmail.el (mail-sent-via):
9226 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9227 (mouse-major-mode-menu):
9228 * password-cache.el (password-read-and-add):
9229 * pcomplete.el (pcomplete-parse-comint-arguments):
9230 * progmodes/sh-script.el (sh-maybe-here-document):
9231 * replace.el (query-replace-regexp-eval):
9232 * savehist.el (savehist-load):
9233 * simple.el (choose-completion-delete-max-match):
9234 * term.el (term-dynamic-simple-complete):
9235 * vc/ediff-init.el (ediff-check-version):
9236 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9237 * vc/vc.el (vc-diff-switches-list):
9238 * view.el (view-return-to-alist-update): Likewise.
9240 * subr.el (eval-next-after-load, makehash, insert-string)
9241 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9243 (mode-line-inverse-video): Variable deleted.
9245 * international/mule-util.el (string-to-sequence): Remove.
9247 * calendar/calendar.el (calendar-version):
9248 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9249 (icalendar-convert-diary-to-ical):
9250 * cus-edit.el (custom-mode):
9251 * ansi-color.el (ansi-color-unfontify-region):
9252 * international/latin1-disp.el (latin1-char-displayable-p):
9253 * progmodes/cwarn.el (turn-on-cwarn-mode):
9254 * progmodes/which-func.el (which-func-update-1):
9255 Use define-obsolete-function-alias.
9257 * net/newst-backend.el (newsticker-cache-filename):
9258 * net/newst-treeview.el (newsticker-groups-filename):
9259 Fix incorrect obsolescence declaration.
9261 * allout.el (allout-passphrase-hint-string): Likewise.
9262 (allout-init): Use a declare form to mark obsolete.
9264 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9265 this applies to functions.
9267 * iswitchb.el (iswitchb-read-buffer): Move code of
9268 iswitchb-define-mode-map here, and delete that obsolete function.
9270 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9271 font-lock-reference-face.
9273 2012-09-25 Glenn Morris <rgm@gnu.org>
9275 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9278 * eshell/em-term.el (eshell-term-name):
9279 Default to term-term-name. (Bug#12485)
9281 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9283 * progmodes/python.el (python-shell-send-buffer): Better handling
9284 of "if __name__ == '__main__':" conditionals when sending the buffer.
9286 2012-09-24 Glenn Morris <rgm@gnu.org>
9288 * eshell/esh-cmd.el (eshell-find-alias-function):
9289 Tighten up file-name regexp. (Bug#12499)
9291 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9293 Enhancements for triple-quote string syntax.
9294 * progmodes/python.el (python-quote-syntax): Remove.
9295 (python-syntax-propertize-function): New value.
9296 (python-syntax-count-quotes, python-syntax-stringify):
9299 2012-09-24 Chong Yidong <cyd@gnu.org>
9301 * mail/supercite.el (sc-version): Remove obsolete function.
9302 (sc-describe): Don't mark as obsolete, since it is bound.
9303 (sc-submit-bug-report): Remove.
9305 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9306 (cvs-commit-buffer-require-final-newline): Remove.
9307 (log-edit-require-final-newline)
9308 (log-edit-changelog-full-paragraphs): Default to t.
9310 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9311 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9312 * vc/vc.el (vc-checkout-carefully): Likewise.
9314 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9315 (emerge-version): Remove.
9317 * progmodes/compile.el (compile-internal): Remove.
9318 (compilation-parse-errors-function): Fix typo.
9320 * international/mule.el (set-char-table-default): Remove.
9321 (set-coding-priority, make-coding-system, generic-char-p)
9322 (charset-list, charset-bytes, charset-id): Use declare to mark
9323 functions as obsolete.
9325 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9326 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9327 * vc/vc-hooks.el (vc-default-registered): Don't use
9328 vc-master-templates.
9330 * font-lock.el (font-lock-reference-face):
9331 Use define-obsolete-variable-alias.
9333 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9334 * calendar/calendar.el (calendar-font-lock-keywords):
9335 * calendar/diary-lib.el (diary-font-lock-keywords)
9336 (diary-fancy-font-lock-keywords):
9337 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9338 * textmodes/reftex-index.el (reftex-insert-index):
9339 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9340 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9341 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9342 * progmodes/prolog.el (prolog-font-lock-keywords):
9343 * progmodes/idlwave.el (idlwave-idl-keywords):
9344 * progmodes/ada-mode.el (ada-font-lock-keywords):
9345 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9347 2012-09-24 Glenn Morris <rgm@gnu.org>
9349 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9351 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9353 * progmodes/python.el (python-indent-line): More consistent cursor
9356 2012-09-23 Stefan Merten <smerten@oekonux.de>
9358 * textmodes/rst.el: Fix compiler warning.
9360 2012-09-23 Roland Winkler <winkler@gnu.org>
9362 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9363 Transcribe also LaTeX hyphenation.
9364 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9365 bibtex-reformat-previous-options.
9367 2012-09-23 Roland Winkler <winkler@gnu.org>
9369 * proced.el (proced-renice-command): New variable.
9370 (proced-marked-processes): New function.
9371 (proced-with-processes-buffer): New macro.
9372 (proced-send-signal): Use them.
9373 (proced-renice): New command bound to r.
9375 2012-09-23 Roland Winkler <winkler@gnu.org>
9377 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9378 ibuffer-saved-filter-groups has one element, shortcut the call of
9379 completing-read. (Bug#12331)
9381 2012-09-23 Chong Yidong <cyd@gnu.org>
9383 * bindings.el (mode-line-toggle-read-only):
9384 * bs.el (bs-toggle-readonly):
9385 * buff-menu.el (Buffer-menu-toggle-read-only):
9386 * dired.el (dired-toggle-read-only):
9387 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9389 2012-09-23 Chong Yidong <cyd@gnu.org>
9391 * image.el (image-type-available-p): Adapt to init-image-library
9394 2012-09-22 Juri Linkov <juri@jurta.org>
9396 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9397 `dired-toggle-read-only'. (Bug#12462)
9399 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9401 * subr.el (temp-output-buffer-show): New function.
9402 (with-output-to-temp-buffer): Call temp-output-buffer-show
9403 instead of internal-temp-output-buffer-show.
9405 2012-09-22 Chong Yidong <cyd@gnu.org>
9407 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9410 * repeat.el (repeat): Doc fix (Bug#12348).
9412 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9415 * simple.el (shell-command-on-region): Doc fix.
9416 (read-only-mode): Doc fix.
9418 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9420 * emacs-lisp/timer.el (run-with-idle-timer)
9421 (timer-activate-when-idle): Warn against reinvoking an idle timer
9422 from within its own timer action. (Bug#12447)
9424 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9426 * cus-start.el (window-combination-limit): Add new optional
9428 * window.el (temp-buffer-window-show)
9429 (window--try-to-split-window): Handle new values of
9430 window-combination-limit (Bug#1806).
9431 (split-window): Test window-combination-limit for t instead of
9433 (display-buffer-at-bottom): New buffer display action function.
9434 * help.el (temp-buffer-resize-regexps): New option.
9435 (temp-buffer-resize-mode): Rewrite doc-string.
9436 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9437 Don't resize reused window. Suggested by Glenn Morris.
9439 2012-09-22 Stefan Merten <smerten@oekonux.de>
9441 * textmodes/rst.el: Revamp section title faces.
9442 (rst-official-version)
9443 (rst-package-emacs-version-alist): Sync with official version
9445 (rst-faces-defaults, rst-set-level-default)
9446 (rst-level-face-max, rst-level-face-base-color)
9447 (rst-level-face-base-light, rst-level-face-format-light)
9448 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9449 (rst-adornment-faces-alist): Match new setup.
9450 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9451 (rst-level-5, rst-level-6): New faces.
9453 2012-09-22 Chong Yidong <cyd@gnu.org>
9455 * simple.el (undo): Handle indirect buffers (Bug#8207).
9457 2012-09-21 Leo Liu <sdl.web@gmail.com>
9459 IDO: Disable match re-ordering for buffer switching.
9460 * ido.el (ido-buffer-disable-smart-matches): New variable.
9461 (ido-set-matches-1): Use it. (Bug#2042)
9463 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9465 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9466 Fix 2011-05-17 change. (Bug#12418)
9468 2012-09-21 Leo Liu <sdl.web@gmail.com>
9470 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9472 2012-09-21 Glenn Morris <rgm@gnu.org>
9474 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9475 Be more robust about locating simple.el.
9477 2012-09-21 Glenn Morris <rgm@gnu.org>
9479 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9481 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9483 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9485 2012-09-20 Juri Linkov <juri@jurta.org>
9487 * replace.el (query-replace-read-from): Use `read-regexp' instead
9488 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9489 (occur-read-primary-args): Use `read-regexp' instead of
9491 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9492 `read-from-minibuffer'.
9493 * isearch.el (isearch-occur): Use `read-regexp' instead of
9495 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9496 `read-from-minibuffer'.
9497 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9498 of `read-string'. (Bug#7567)
9500 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9501 and allow accepting a list of strings prepended to a list of
9502 standard default values. Doc fix. (Bug#12321)
9504 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9506 * replace.el (read-regexp): Don't add ": " when PROMPT already
9507 ends with a colon and space. (Bug#12321)
9509 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9511 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9514 2012-09-20 Stefan Merten <smerten@oekonux.de>
9516 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9517 Fixes feature request bug#11711.
9518 (rst-mode): Create `imenu-create-index-function'.
9519 (rst-get-stripped-line): Delete after refactoring.
9520 (rst-section-tree, rst-section-tree-rec)
9521 (rst-section-tree-point): Refactor and document properly.
9522 (rst-imenu-find-adornments-for-position)
9523 (rst-imenu-convert-cell, rst-imenu-create-index):
9526 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9529 (macroexp--expand-all): Use it.
9530 (macroexp--funcall-and-return): Remove by folding it into its sole
9531 caller (macroexp--warn-and-return).
9532 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9533 Use macroexp--obsolete-warning.
9535 * calc/calc.el: Fix last change by removing the whole chunk, since it
9536 was only needed back when Calc was not bundled.
9538 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9540 * emacs-lisp/debug.el (debug): Restore assignment to
9541 debugger-old-buffer removed on 2012-09-08.
9543 2012-09-20 Juri Linkov <juri@jurta.org>
9545 * dired-aux.el (dired-diff): Remove (require 'diff) since
9546 `diff-latest-backup-file' is now autoloaded.
9548 2012-09-20 Chong Yidong <cyd@gnu.org>
9550 * vc/diff.el (diff-latest-backup-file): Autoload.
9552 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9554 * calc/calc.el: Remove redundant autoload shape check.
9555 (sel-mode): Don't defvar.
9556 (calc-get-stack-element): Add `sel-mode' arg instead.
9557 (calc-top, calc-top-list): Pass it this additional argument.
9558 * calc/calc-store.el (calc-store-map):
9559 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9560 (calc-map-equation, calc-outer-product, calc-inner-product):
9561 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9563 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9565 2012-09-19 Juri Linkov <juri@jurta.org>
9567 * dired-aux.el (dired-diff): Add (require 'diff) because
9568 `diff-latest-backup-file' is not autoloaded.
9569 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9570 of `dired-get-filename' to t to not report error when there is
9571 no default file on the current line.
9573 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9576 macroexp--eval-if-compile.
9577 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9578 (macroexp--expand-all): Use them (bug#12371).
9580 * doc-view.el (doc-view-guess-paper-size)
9581 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9583 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9585 New feature: set optimal slice from BoundingBox information.
9586 * doc-view.el (doc-view-mode-map): Add keybinding.
9587 (doc-view-menu): Add menu entry.
9588 (doc-view-set-slice): Adapt docstring.
9589 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9590 (doc-view-scale-bounding-box)
9591 (doc-view-set-slice-from-bounding-box): New functions.
9592 (doc-view-paper-sizes): New defvar.
9594 2012-09-19 Glenn Morris <rgm@gnu.org>
9596 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9597 (byte-compile-log-warning): Autoload. (Bug#12371)
9599 * calendar/calendar.el (calendar-american-month-header)
9600 (calendar-european-month-header, calendar-iso-month-header)
9601 (calendar-month-header): New options.
9602 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9603 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9605 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9607 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9609 2012-09-18 Juri Linkov <juri@jurta.org>
9611 * dired-aux.el (dired-diff): Restore original functionality of
9612 getting the default value, but keep new feature of using the
9613 latest existing backup file (`diff-latest-backup-file').
9615 2012-09-18 Juri Linkov <juri@jurta.org>
9617 * dired.el (dired-mark): If the region is active in Transient Mark
9618 mode, mark all files in the active region. Doc fix.
9619 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9620 Doc fix. (Bug#10624)
9622 2012-09-18 Juri Linkov <juri@jurta.org>
9624 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9625 attributes for M-n are pulled from the file at point.
9626 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9627 Suggested by Drew Adams. (Bug#10624)
9629 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9631 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9632 whitespace after "end".
9633 (ruby-do-end-to-brace): Collapse block to one line if it fits
9636 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9638 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9640 (debug): Don't remove debugger window when debugger is expected
9643 2012-09-18 Chong Yidong <cyd@gnu.org>
9645 * custom.el (defface): Doc fix.
9647 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9649 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9651 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9652 to initialize query-on-exit; then test that instead (bug#12288).
9654 2012-09-17 Stefan Merten <smerten@oekonux.de>
9656 * textmodes/rst.el: Add support for `testcover'.
9657 (rst-defcustom-testcover, rst-testcover-add-compose)
9658 (rst-testcover-add-1value): New functions.
9659 (rst-portable-mark-active-p): Replace by `use-region-p'.
9660 (rst-update-section, rst-classify-adornment)
9661 (rst-find-title-line): Mark `1value' forms.
9662 (rst-classify-adornment): Remove superfluous form.
9663 (rst-update-section, rst-get-adornments-around)
9664 (rst-adornment-complete-p, rst-get-next-adornment)
9665 (rst-adjust, rst-promote-region)
9666 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9667 (rst-find-pfx-in-region, rst-section-tree-rec)
9668 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9669 (rst-toc-node, rst-toc, rst-forward-section)
9670 (rst-iterate-leftmost-paragraphs)
9671 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9672 (rst-bullet-list-region)
9673 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9674 (rst-compile-find-conf, rst-compile)
9675 (rst-repeat-last-character): Fix style.
9677 2012-09-17 Chong Yidong <cyd@gnu.org>
9679 * comint.el (comint--complete-file-name-data): Don't add a space
9680 if the status is `sole'; that adds a gratuitous space in the
9681 completion-cycling case (Bug#12092).
9683 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9685 2012-09-17 Richard Stallman <rms@gnu.org>
9687 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9688 only in the mime-shown mode, not in raw mode.
9689 (rmail-mime): Toggle off mime by displaying the message without
9690 mime processing. (Bug#12305)
9692 * mail/rmail.el (rmail-retry-failure):
9693 Turn off mime processing first. (Bug#12037)
9695 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9697 2012-09-17 Chong Yidong <cyd@gnu.org>
9699 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9700 (shell-dynamic-complete-functions): Convert to defcustom.
9701 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9703 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9704 * comint.el (comint-prompt-read-only):
9705 * custom.el (defcustom):
9706 * hi-lock.el (hi-lock-mode):
9707 * ibuffer.el (ibuffer-formats):
9708 * ielm.el (ielm-prompt-read-only):
9709 * novice.el (disable-command):
9710 * saveplace.el (toggle-save-place):
9711 * speedbar.el (speedbar-supported-extension-expressions):
9712 * startup.el (auto-save-list-file-prefix, init-file-user)
9713 (after-init-hook, inhibit-startup-echo-area-message):
9714 * strokes.el (strokes-help):
9715 * time-stamp.el (time-stamp):
9716 * calendar/calendar.el (calendar, diary-file):
9717 * calendar/diary-lib.el (diary-mail-entries, diary)
9718 (diary-list-entries-hook):
9719 * calendar/holidays.el (holidays, calendar-holidays):
9720 * calendar/lunar.el (lunar-phases):
9721 * calendar/solar.el (sunrise-sunset):
9722 * emulation/edt.el (edt-load-keys):
9723 * emulation/viper.el (viper-mode):
9724 * eshell/em-alias.el (eshell-command-aliases-list):
9725 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9726 * international/ogonek.el (ogonek-information):
9727 * net/tramp-cmds.el (tramp-bug):
9728 * net/quickurl.el (quickurl-reread-hook-postfix):
9729 * play/decipher.el (decipher-font-lock-keywords):
9730 * progmodes/cc-styles.el (c-set-style):
9731 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9732 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9733 * progmodes/octave-mod.el (octave-mode):
9734 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9735 * progmodes/verilog-mode.el (verilog-read-defines):
9736 * textmodes/two-column.el (2C-mode): Likewise.
9738 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9740 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9741 that holds many addresses.
9743 2012-09-16 Chong Yidong <cyd@gnu.org>
9745 * align.el (align-areas): Call the indication function with
9746 positions instead of markers for arguments (Bug#12343).
9748 * files.el (parse-colon-path): Use split-string (Bug#12351).
9750 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9751 (display-buffer-function): Mark as obsolete.
9753 * progmodes/compile.el (compilation-parse-errors): Accept list
9754 values similar to font-lock-keywords (Bug#12136).
9755 Suggested by Oleksandr Manzyuk.
9756 (compilation-error-regexp-alist): Doc fix.
9758 2012-09-15 Glenn Morris <rgm@gnu.org>
9760 * version.el (emacs-bzr-version-bzr): New function.
9761 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9763 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9764 checkouts, check the parent dirstate matches the branch.
9765 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9768 * version.el (emacs-bzr-version): Doc fix.
9769 (emacs-bzr-version-dirstate): New function.
9770 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9771 is local try and check that it matches the branch. If not, just
9772 use dirstate information. (Bug#12441)
9774 2012-09-14 Juri Linkov <juri@jurta.org>
9776 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9779 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9783 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9784 Remove obsolete byte-compiler hack that tried to silence some warnings.
9785 (edebug-submit-bug-report): Remove.
9786 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9787 Remove aliases, use the un-prefixed name instead.
9788 (edebug-pop-to-buffer): Consider other frames.
9789 (edebug-original-read):: Make it more obvious that it's always defined.
9790 (edebug--make-form-data-entry, edebug--form-data-name)
9791 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9792 single-dashed name, and implement with cl-defstruct.
9793 (edebug-set-form-data-entry): Use the standard accessors.
9794 (edebug-make-top-form-data-entry): Use push.
9795 (edebug-no-match): Drop useless `funcall'.
9796 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9798 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9799 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9800 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9801 (easy-menu-define, with-custom-print): Remove redundant specs.
9802 (edebug-outside-overriding-local-map)
9803 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9804 (edebug--display): Bind unread-command-events directly to nil rather
9805 than binding it to unread-command-events and later setting it to nil.
9806 (edebug--display): Kill edebug-eval-buffer here...
9807 (edebug--recursive-edit): ...rather than here.
9808 Bind standard-output and standard-input.
9809 (edebug-eval): Check cl-macroexpand-all is fboundp.
9810 (edebug-temp-display-freq-count): Fix last change.
9812 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9813 * subr.el (noreturn, 1value): Add `debug' spec.
9814 * emacs-lisp/advice.el: Require cl-lib.
9815 (ad-copy-tree): Remove, use copy-tree instead.
9816 (ad-dolist): Remove use dolist or cl-dolist instead.
9817 (ad-do-return): Remove, use cl-return instead.
9818 (defadvice): Add `debug' spec.
9820 2012-09-13 Juri Linkov <juri@jurta.org>
9822 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9825 2012-09-13 Glenn Morris <rgm@gnu.org>
9827 * calc/calc.el (math-compose-expr):
9828 * calc/calc-ext.el (math-compose-expr):
9829 * progmodes/cc-defs.el (cl-macroexpand-all):
9830 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9831 (cl-macroexpand-all): Update declarations.
9833 * vc/vc.el: No need to require ediff.
9834 (ediff-load-version-control): Declare.
9835 (ediff-vc-internal): Fix declaration.
9836 (vc-version-ediff): Require ediff.
9838 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9840 Use a more backwards-compatible timer format (Bug#12430).
9841 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9842 being right after USECS, as that better supports old code that
9843 inadvisedly looked directly at the timer vector.
9845 2012-09-13 Kenichi Handa <handa@gnu.org>
9847 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9848 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9849 `coding-priority' property of these language environment.
9851 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9853 Fix glitches caused by addition of psec to timers (Bug#12430).
9854 * image.el (image-animate-timer):
9855 * time.el (display-time-world-timer):
9856 Use timer--function and timer--args rather than raw access to
9859 2012-09-13 Glenn Morris <rgm@gnu.org>
9861 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9862 If not compiling a file, try using load-file-name.
9864 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9866 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9868 (edebug-update-eval-list): Use `push'.
9870 * emacs-lisp/edebug.el: Use lexical-binding.
9871 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9872 Mark unused args with underscore.
9873 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9874 (edebug-form-data): Use defvar-local.
9875 (edebug-make-before-and-after-form, edebug-make-after-form):
9877 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9878 Not dynamically scoped any more.
9879 (edebug--enter-trace): Add arguments `function' and `args'.
9880 Rename from edebug-enter-trace.
9881 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9882 (edebug--update-coverage): Add `after-index' and `value' args.
9883 Rename from edebug-update-coverage.
9884 (edebug-slow-after): Call it accordingly.
9885 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9886 edebug-recursive-edit.
9887 (edebug--display): Call it accordingly. Add args `value',
9888 `offset-index', and `arg-mode'. Rename from edebug-display.
9889 (edebug-debugger, edebug): Call it accordingly.
9890 (edebug-eval-display-list): Use dolist.
9892 2012-09-12 Juri Linkov <juri@jurta.org>
9894 * info.el (Info-search): Don't check for isearch-mode and
9895 isearch-regexp before let-binding search-spaces-regexp to
9896 Info-search-whitespace-regexp.
9897 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9898 search-whitespace-regexp if isearch-lax-whitespace or
9899 isearch-regexp-lax-whitespace is non-nil.
9900 (Info-mode): Don't set local variable search-whitespace-regexp.
9901 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9903 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9905 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9906 (debugger-env-macro): Remove support for unread-command-char.
9908 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9909 the temporary map re-appearing on emulation-mode-map-alists.
9911 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9914 * ehelp.el (with-electric-help): Accept functions in
9915 electric-help-form-to-execute.
9916 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9917 And replace unread-command-char -> unread-command-events.
9919 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9921 Sync with Tramp 2.2.6.
9923 * net/tramp.el (tramp-accept-process-output): Don't use
9924 JUST-THIS-ONE in the XEmacs case.
9926 * net/trampver.el: Update release number.
9928 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9930 * emacs-lisp/debug.el (debugger-previous-window-height):
9932 (debug): When debugger-jumping-flag is non-nil try to restore
9933 height of debugger window. (Bug#8789)
9935 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9937 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9938 overriding-local-map and pre/post-command-hook here.
9939 (edebug-recursive-edit): Do it here instead (bug#12345).
9940 (edebug-outside-unread-command-char): Remove all uses of
9941 unread-command-char.
9943 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9944 inhibit-debugger is bound instead.
9946 2012-09-11 Bastien Guerry <bzg@gnu.org>
9948 * subr.el (set-temporary-overlay-map): Add a docstring.
9951 2012-09-11 Bastien Guerry <bzg@gnu.org>
9953 * minibuffer.el (completion-table-subvert): Fix docstring.
9956 2012-09-11 Bastien Guerry <bzg@gnu.org>
9958 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9960 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9962 * progmodes/sql.el: Version 3.1
9963 (sql-db2-escape-newlines): New variable.
9964 (sql-escape-newlines-filter): Use it.
9966 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9968 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9970 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9972 * vc/diff-mode.el (diff-mode-menu):
9973 Bind diff-remove-trailing-whitespace.
9975 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9977 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9978 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9979 (emacs-lisp-byte-code-mode): New functions.
9980 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9981 (eval-defun-2): Remove bogus interactive spec.
9982 (lisp-indent-line): Remove redundant whole-exp code, now done in
9983 indent-according-to-mode.
9984 (save-match-data): Remove redundant indent data.
9986 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9989 2012-09-09 Juri Linkov <juri@jurta.org>
9991 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9992 (replace-lax-whitespace, query-replace-regexp)
9993 (query-replace-regexp-eval, replace-regexp): Doc fix.
9994 (perform-replace, replace-highlight): Let-bind
9995 isearch-lax-whitespace to replace-lax-whitespace and
9996 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9998 * isearch.el (isearch-query-replace): Let-bind
9999 replace-lax-whitespace to isearch-lax-whitespace and
10000 replace-regexp-lax-whitespace to
10001 isearch-regexp-lax-whitespace. (Bug#10885)
10003 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10007 2012-09-09 Alan Mackenzie <acm@muc.de>
10009 * progmodes/cc-engine.el (c-state-cache-init):
10010 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10011 (c-record-parse-state-state):
10012 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10014 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10016 * register.el (register-separator): Rename from
10017 separator-register. All uses changed. Doc fix.
10018 (register): Fix version.
10020 2012-09-09 Chong Yidong <cyd@gnu.org>
10022 * replace.el (query-replace-map): Bind four new symbols for
10023 requesting window scrolling.
10025 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10026 query-replace-map (Bug#8948).
10028 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10030 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10031 since they are now in query-replace-map.
10033 * window.el (scroll-other-window-down): Make the arg optional.
10035 2012-09-09 Chong Yidong <cyd@gnu.org>
10037 * files.el (hack-local-variables-confirm): Use quit-window to kill
10038 the *Local Variables* buffer.
10040 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10042 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10043 not just expect to be at its beginning. Adjust callees.
10044 Succeed when do-end block has no space before the pipe character.
10045 (ruby-brace-to-do-end): When the original block is one-liner,
10046 convert to multiline. Reindent the result.
10048 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10050 * register.el (register): New group.
10051 (separator-register): New user option.
10052 (increment-register): Route it to `append-to-register', if
10053 register contains text. Implication is that `C-x r +' can now be
10054 used for appending to a text register (bug#12217).
10055 (append-to-register, prepend-to-register): Add separator based on
10056 `separator-register'.
10058 2012-09-08 Alan Mackenzie <acm@muc.de>
10060 AWK Mode: make auto-newline work when there's "==" in the pattern.
10061 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10063 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10064 Test more rigorously for "=" token.
10066 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10068 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10069 Only fail when reached LIMIT.
10071 2012-09-08 Chong Yidong <cyd@gnu.org>
10073 * dired.el (dired-mode-map): Don't bind M-=.
10075 * dired-aux.el (dired-diff): Use backup file as default.
10077 2012-09-08 Drew Adams <drew.adams@oracle.com>
10079 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10081 2012-09-08 Chong Yidong <cyd@gnu.org>
10083 * subr.el (syntax-after, syntax-class): Doc fix.
10085 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10087 * window.el (display-buffer-in-previous-window): New buffer
10088 display action function.
10090 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10091 (debugger-previous-window): New variable.
10092 (debug): Rewrite using display-buffer-in-previous-window,
10093 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10095 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10099 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10101 * progmodes/python.el (python-shell-send-string):
10102 When default-directory is remote, create temp file on remote
10104 (python-shell-send-file): When file is remote, pass local view of
10105 file paths to remote Python interpreter. (Bug#12340)
10107 2012-09-07 Chong Yidong <cyd@gnu.org>
10109 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10111 * files.el (after-find-file): Don't fail on a read-only buffer if
10112 require-final-newline is `visit' or `visit-save' (Bug#11156).
10114 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10116 * userlock.el (ask-user-about-supersession-threat):
10117 Use read-char-choice (Bug#12093).
10119 2012-09-07 Chong Yidong <cyd@gnu.org>
10121 * subr.el (buffer-narrowed-p): New function.
10123 * ses.el (ses-widen):
10124 * simple.el (count-words--buffer-message):
10125 * net/browse-url.el (browse-url-of-buffer): Use it.
10127 * simple.el (count-words-region): Don't signal an error if there
10128 is a non-nil prefix arg and the mark is not set.
10130 * help.el (describe-key-briefly): Allow the message to be seen
10131 when invoked from the minibuffer (Bug#7014).
10133 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10135 * progmodes/ruby-mode.el (ruby-end-of-defun)
10136 (ruby-beginning-of-defun): Simplify, allow indentation before
10137 block beginning and end keywords.
10138 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10139 (ruby-end-of-defun): Expect that the point is at the beginning of
10142 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10146 (cl--make-usage-args): Strip _ from argument names.
10148 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10150 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10151 obsolete alias speedbar-key-map.
10152 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10153 (vhdl-index-menu-init): Don't use obsolete variable
10154 font-lock-maximum-size.
10156 2012-09-06 Chong Yidong <cyd@gnu.org>
10158 * frame.el (window-system-version): Mark as obsolete.
10160 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10161 of obsolete variable speedbar-key-map.
10163 2012-09-06 Juri Linkov <juri@jurta.org>
10165 * replace.el (replace-lax-whitespace): New defcustom.
10166 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10167 (replace-string, replace-regexp): Mention it in docstrings.
10168 (perform-replace, replace-highlight): Let-bind
10169 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10170 to the values of replace-lax-whitespace and regexp-flag.
10171 Don't let-bind search-whitespace-regexp. (Bug#10885)
10173 * isearch.el (isearch-query-replace): Let-bind
10174 replace-lax-whitespace instead of let-binding
10175 replace-search-function and replace-re-search-function.
10176 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10177 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10178 (isearch-toggle-symbol): Set isearch-regexp to nil
10179 in isearch-word mode (like in isearch-toggle-word).
10181 2012-09-06 Juri Linkov <juri@jurta.org>
10183 * replace.el (replace-search-function)
10184 (replace-re-search-function): Set default values to nil.
10185 (perform-replace): Let-bind isearch-related variables based on
10186 replace-related values, call `isearch-search-fun' and let-bind
10187 the result to `search-function'. Remove code that sets
10188 `search-function' and `search-string' separately for
10190 (replace-highlight): Add new argument `delimited-flag' and
10191 rename other arguments to the names used in `perform-replace'.
10192 Let-bind `isearch-word' to the argument `delimited-flag'.
10193 (Bug#10885, bug#10887)
10195 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10197 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10198 ruby-beginning-of-indent, simplify, allow all keywords to have
10199 indentation before them.
10200 (ruby-beginning-of-indent): Adjust for above. Search until the
10201 found point is not inside a string or comment.
10202 (ruby-font-lock-keywords): Allow symbols to start with "@"
10203 character, give them higher priority than variables.
10204 (ruby-syntax-propertize-function)
10205 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10206 matchers. Expression expansions are not comments when inside a
10207 string, and there comment syntax status is irrelevant.
10208 (ruby-match-expression-expansion): New function. Check that
10209 expression expansion is inside a string, and it's not escaped.
10210 (ruby-font-lock-keywords): Use it.
10212 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10214 * help.el (temp-buffer-max-height): New default value.
10215 (temp-buffer-resize-frames): New option.
10216 (resize-temp-buffer-window): Optionally resize frame.
10218 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10219 (fit-frame-to-buffer): New function.
10221 2012-09-05 Glenn Morris <rgm@gnu.org>
10223 * emulation/cua-rect.el (cua--init-rectangles):
10224 * textmodes/picture.el (picture-mode-map):
10225 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10226 like forward-char and backward-char. (Bug#12317)
10228 2012-09-05 Leo Liu <sdl.web@gmail.com>
10230 * progmodes/flymake.el (flymake-warning-re): New variable.
10231 (flymake-parse-line): Use it.
10233 2012-09-05 Glenn Morris <rgm@gnu.org>
10235 * calendar/holidays.el (holiday-christian-holidays):
10236 Rename an entry. (Bug#12289)
10238 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10243 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * loadup.el: Load macroexp. Remove hack.
10246 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10247 (macroexp--expand-all): Use it to get better warnings.
10248 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10249 (internal-macroexpand-for-load): New functions.
10250 (macroexp--pending-eager-loads): New var.
10251 (emacs-startup-hook): New hack to replace one in loadup.el.
10252 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10253 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10254 (cl-psetf): Simplify.
10255 (cl-defstruct): Add indent rule.
10257 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10259 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10260 over `user-mail-address' for the SMTP MAIL FROM envelope.
10261 (smtpmail-via-smtp): Ditto.
10263 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10265 * progmodes/ruby-mode.el: Clean up keybindings.
10266 (ruby-mode-map): Don't bind ruby-electric-brace,
10267 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10268 backward-kill-word, reindent-then-newline-and-indent.
10269 (ruby-mark-defun): Remove.
10270 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10271 (ruby-mode): Set local beginning-of-defun-function and
10272 end-of-defun-function values.
10274 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10276 * window.el (temp-buffer-window-setup-hook)
10277 (temp-buffer-window-show-hook): New hooks.
10278 (temp-buffer-window-setup, temp-buffer-window-show)
10279 (with-temp-buffer-window): New functions.
10280 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10281 (special-display-popup-frame): Make sure the window used shows BUFFER.
10283 * help.el (temp-buffer-resize-mode): Fix doc-string.
10284 (resize-temp-buffer-window): New optional argument WINDOW.
10286 * files.el (recover-file, save-buffers-kill-emacs):
10287 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10289 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10291 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10292 remote definition of `default-directory', ensure we can connect.
10294 2012-09-02 Juri Linkov <juri@jurta.org>
10296 Toggle whitespace matching mode with M-s SPC.
10297 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10299 * isearch.el (search-whitespace-regexp): Doc fix.
10300 Remove cons cell customization.
10301 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10302 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10304 (isearch-forward, isearch-forward-regexp): Doc fix.
10305 (isearch-toggle-lax-whitespace): New command.
10306 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10307 (re-search-forward-lax-whitespace)
10308 (re-search-backward-lax-whitespace): New functions.
10309 (isearch-whitespace-regexp): Remove function.
10310 (isearch-query-replace): Let-bind replace-search-function and
10311 replace-re-search-function.
10312 (isearch-occur): Let-bind search-spaces-regexp according to the
10313 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10314 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10315 condition for C-q SPC.
10316 (isearch-search-fun-default): Use new functions mentioned above.
10317 (isearch-search-forward, isearch-search-backward): Remove functions.
10318 (isearch-search): Don't let-bind search-spaces-regexp.
10319 (isearch-lazy-highlight-space-regexp): Remove variable.
10320 (isearch-lazy-highlight-lax-whitespace)
10321 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10322 (isearch-lazy-highlight-new-loop): Use them.
10323 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10325 2012-09-02 Chong Yidong <cyd@gnu.org>
10327 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10329 2012-09-02 Glenn Morris <rgm@gnu.org>
10331 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10333 2012-09-01 Glenn Morris <rgm@gnu.org>
10335 * term.el: Tidy up menu definitions.
10336 (term-mode-map): Use easymenu for In/Out, Complete menus.
10337 (term-pager-break-map): Initialize in the defvar.
10338 (term-terminal-menu, term-signals-menu): Define with easymenu.
10339 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10340 (term-pager-menu): New, extracted from term-process-pager.
10341 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10342 (term-update-mode-line): Propertize line/char and page items.
10343 (term-process-pager): Move keymap initialization elsewhere.
10345 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10347 * window.el (switch-to-prev-buffer): Handle additional values of
10348 BURY-OR-KILL argument. Don't switch in minibuffer window.
10349 (switch-to-next-buffer): Don't switch in minibuffer window.
10350 (quit-restore-window): New function based on quit-window.
10351 Handle additional values of former KILL argument.
10352 (quit-window): Call quit-restore-window with appropriate
10353 interpretation of KILL argument.
10354 (display-buffer-below-selected): New buffer display action
10357 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * minibuffer.el (completion-at-point-functions): Complete docstring
10362 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10364 Better seed support for (random).
10365 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10366 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10367 * play/mpuz.el, play/tetris.el, play/zone.el:
10368 * calc/calc-comb.el (math-init-random-base):
10369 * play/blackbox.el (bb-init-board):
10370 * play/life.el (life):
10371 * server.el (server-use-tcp):
10372 * type-break.el (type-break):
10373 Remove unnecessary call to (random t).
10374 * net/sasl.el (sasl-unique-id-function):
10375 Change (random t) to (random), now that the latter is more random.
10376 * play/life.el (life-initialized): Remove no-longer-needed var.
10378 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10380 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10381 Consider frame's buffer predicate when choosing the buffer.
10384 2012-08-30 Richard Stallman <rms@gnu.org>
10386 * simple.el (special-mode-map): Delete binding for `z'.
10388 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10390 * progmodes/compile.el (compilation-always-kill): Doc fix.
10392 2012-08-30 Chong Yidong <cyd@gnu.org>
10394 * window.el (display-buffer-reuse-frames): Make the obsolescence
10395 message more informative.
10397 2012-08-30 Glenn Morris <rgm@gnu.org>
10399 * paren.el (show-paren-delay):
10400 Add a :set function. Doc fix. (Bug#12297)
10402 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10404 * progmodes/compile.el (compilation-always-kill): New var.
10405 (compilation-start): Use it.
10407 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10409 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10410 * files.el (read-only-mode): Move to simple.el.
10412 * files.el (read-only-mode): New minor mode.
10413 (toggle-read-only): Use it and mark obsolete.
10414 (find-file--read-only):
10415 * vc/vc.el (vc-next-action, vc-checkout):
10416 * vc/vc-cvs.el (vc-cvs-checkout):
10417 * obsolete/vc-mcvs.el (vc-mcvs-update):
10418 * ffap.el (ffap--toggle-read-only): Update callers.
10420 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10422 * eshell/esh-ext.el (eshell-external-command): Do not examine
10423 remote shell scripts.
10424 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10426 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10429 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10431 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10433 2012-08-28 Leo Liu <sdl.web@gmail.com>
10435 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10436 completion-at-point. (Bug#12220)
10438 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10440 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10442 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10444 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10445 be buffer-local; add delete-trailing-whitespace (bug#12259).
10447 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10449 * progmodes/hideif.el (hif-compress-define-list):
10450 Fix typo. (Bug#11951)
10452 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10454 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10455 buffer local setting.
10457 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10458 rcirc-encode-coding-system.
10460 2012-08-28 Leo Liu <sdl.web@gmail.com>
10462 * net/rcirc.el (rcirc-split-message): New function.
10463 (rcirc-send-message): Use it. (Bug#12051)
10465 2012-08-28 Juri Linkov <juri@jurta.org>
10467 * info.el (Info-fontify-node): Hide empty lines at the end of
10468 the node. (Bug#12272)
10470 2012-08-27 Drew Adams <drew.adams@oracle.com>
10472 * dired.el (dired-pop-to-buffer): Make window start at beginning
10473 of buffer (Bug#12281).
10475 2012-08-26 Chong Yidong <cyd@gnu.org>
10477 * window.el (special-display-regexps, special-display-frame-alist)
10478 (special-display-buffer-names, special-display-function)
10479 (display-buffer-reuse-frames): Mark as obsolete.
10481 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10483 * help.el (help-print-return-message): Don't treat
10484 display-buffer-reuse-frames specially.
10486 2012-08-26 Chong Yidong <cyd@gnu.org>
10488 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10489 New variable, replacing gdb-frame-parameters.
10490 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10491 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10492 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10493 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10494 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10495 the functions directly with gdb-display-buffer-other-frame-action.
10496 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10497 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10498 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10499 (gdb-display-registers-buffer): Define directly.
10500 (def-gdb-display-buffer): Macro deleted.
10501 (gdb-display-buffer): Remove second and third args, callers don't
10502 use them. Defer to the default display-buffer behavior, apart
10503 from making windows dedicated.
10504 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10506 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10508 * window.el (display-buffer-pop-up-frame): Handle a
10509 pop-up-frame-parameters alist entry.
10510 (display-buffer): Document it.
10512 2012-08-26 Chong Yidong <cyd@gnu.org>
10514 * isearch.el (search-whitespace-regexp): Make string and nil
10515 values apply to both ordinary and regexp search. Allow a cons
10516 cell value to distinguish between the two.
10517 (isearch-whitespace-regexp, isearch-search-forward)
10518 (isearch-search-backward): New functions.
10519 (isearch-occur, isearch-search-fun-default, isearch-search)
10520 (isearch-lazy-highlight-new-loop): Use them.
10521 (isearch-forward, isearch-forward-regexp): Doc fix.
10523 2012-08-26 Chong Yidong <cyd@gnu.org>
10525 * faces.el (help-argument-name): Always inherit from italic
10528 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10530 * window.el (window--even-window-heights): Even heights when
10531 WINDOW and the selected window form a vertical combination.
10532 (display-buffer-use-some-window): Provide that window used gets
10533 sized back by quit-window. (Bug#11880) and (Bug#12091)
10535 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10537 Fix file time stamp problem with bzr and CVS (Bug#12001).
10538 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10539 in the file's time stamp, since the version control system loses
10542 2012-08-22 Juri Linkov <juri@jurta.org>
10544 * info.el (Info-fontify-node): Hide the suffix of the
10545 Info file name in the header line. (Bug#12187)
10547 2012-08-22 Glenn Morris <rgm@gnu.org>
10549 * calendar/cal-tex.el (cal-tex-weekly-common):
10550 Restore leading blank page.
10552 2012-08-22 Le Wang <l26wang@gmail.com>
10554 * misc.el (forward-to-word, backward-to-word): Activate or extend
10555 the region under `shift-select-mode'. (Bug#12231)
10557 2012-08-22 Bastien Guerry <bzg@gnu.org>
10559 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10560 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10561 gives details on why the space is never needed.
10563 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10565 * window.el (walk-window-tree, window-with-parameter):
10566 New optional argument MINIBUF to control whether these functions
10567 should run on the minibuffer window.
10568 (window-at-side-list): Don't operate on minibuffer window.
10569 (window-in-direction): Simplify and rewrite doc-string.
10570 (window--size-ignore): Rename to window--size-ignore-p.
10572 (display-buffer-in-atom-window, window--major-non-side-window)
10573 (window--major-side-window, display-buffer-in-major-side-window)
10574 (delete-side-window, display-buffer-in-side-window):
10576 (window--side-check, window-deletable-p, delete-window)
10577 (delete-other-windows, split-window): Handle side windows and
10578 atomic windows appropriately.
10579 (window--display-buffer): Call display-buffer-record-window also
10580 when the window buffer did not change.
10582 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10584 * help-fns.el (help-fns--key-bindings):
10585 Abbreviate non-symbol remap targets. (Bug#12174)
10587 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10589 * dired.el (dired-mark-remembered): Don't clobber point.
10592 2012-08-22 Glenn Morris <rgm@gnu.org>
10594 * progmodes/bug-reference.el (bug-reference): New custom group.
10595 (bug-reference-bug-regexp): Make it a defcustom.
10597 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10599 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10600 (js-paren-indent-offset, js-square-indent-offset)
10601 (js-curly-indent-offset): Add :safe (Bug#12257).
10603 2012-08-22 Edward O'Connor <hober0@gmail.com>
10605 * json.el (json-key-format): Add error properties.
10606 (json-encode-key): New function.
10607 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10608 Use json-encode-key.
10610 2012-08-22 Glenn Morris <rgm@gnu.org>
10612 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10613 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10614 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10615 Update for above change.
10617 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10619 * cus-face.el (custom-face-attributes): Fix customize type for the
10620 :underline attribute. (Bug#11805)
10622 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10624 * window.el (window-point-1, set-window-point-1): Remove.
10625 (window-in-direction, record-window-buffer)
10626 (set-window-buffer-start-and-point, split-window-below)
10627 (window--state-get-1, display-buffer-record-window):
10628 Replace calls to window-point-1 and set-window-point-1 by calls to
10629 window-point and set-window-point respectively.
10631 2012-08-21 Glenn Morris <rgm@gnu.org>
10633 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10634 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10637 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10638 (cal-tex-shortday): New function.
10639 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10640 (cal-tex-cursor-filofax-daily): Use the above.
10642 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10644 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10645 (cal-tex-cursor-filofax-week): Use them.
10647 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10649 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10650 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10652 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10653 (cal-tex-end-document): Don't rely on buffer name.
10655 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10656 Use cal-tex-vspace.
10657 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10658 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10659 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10662 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10663 (cal-tex-cursor-week, cal-tex-cursor-week2)
10664 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10665 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10666 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10667 (cal-tex-insert-preamble, cal-tex-b-document)
10668 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10669 Improve cal-tex-cmd usage.
10671 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10672 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10673 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10674 (cal-tex-weekly-paper): New function.
10675 (cal-tex-cursor-week, cal-tex-cursor-week2)
10676 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10677 (cal-tex-cursor-day): Use it.
10679 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10680 (cal-tex-cursor-filofax-week): Remove leading blank page.
10682 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10683 Add autoload cookie. For now at least, don't use color, since
10684 no other cal-tex function does.
10686 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10687 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10688 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10690 2012-08-21 Juri Linkov <juri@jurta.org>
10692 * info.el (Info-file-attributes): New variable.
10693 (info-insert-file-contents): Add file attributes to
10694 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10695 `Info-toc-nodes' when previous modtime of the Info file is less
10697 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10698 of info.el. (Bug#12230)
10700 2012-08-20 Glenn Morris <rgm@gnu.org>
10702 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10703 * calendar/holidays.el (calendar-holiday-list):
10704 Report errors with display-warning rather than beep'n'sleep.
10706 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10708 * net/tramp.el (tramp-accept-process-output): Accept only output
10709 from PROC. Otherwise, process filters and sentinels might be
10710 confused. (Bug#12145)
10712 2012-08-20 Chong Yidong <cyd@gnu.org>
10714 * descr-text.el (describe-text-properties-1): Use overlays-in to
10715 report on empty overlays (Bug#3322).
10717 2012-08-20 Glenn Morris <rgm@gnu.org>
10719 * mail/rmailout.el (rmail-output-read-file-name):
10720 Trap and report errors in rmail-output-file-alist elements.
10722 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10723 since most non-font-lock faces are not also variables).
10725 2012-08-20 Edward Reingold <reingold@iit.edu>
10727 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10728 New function. (Bug12160)
10730 2012-08-19 Glenn Morris <rgm@gnu.org>
10732 * mail/rmailout.el (rmail-output-read-file-name):
10733 Fix previous change (when the alist is nil or does not match).
10735 2012-08-19 Chong Yidong <cyd@gnu.org>
10737 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10740 2012-08-18 Chong Yidong <cyd@gnu.org>
10742 * simple.el (yank-handled-properties): New defcustom.
10743 (yank-excluded-properties): Add font-lock-face and category.
10746 * subr.el (remove-yank-excluded-properties):
10747 Obey yank-handled-properties. The special handling of font-lock-face
10748 and category is now done this way, instead of being hard-coded.
10749 (insert-for-yank-1): Remove font-lock-face handling.
10750 (yank-handle-font-lock-face-property)
10751 (yank-handle-category-property): New function.
10753 2012-08-17 Glenn Morris <rgm@gnu.org>
10755 * mail/rmailout.el (rmail-output-read-file-name):
10756 Check rmail-output-file-alist against the full message body
10757 in the correct rmail buffer. (Bug#12214)
10759 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10761 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10762 Eliminate superfluous prompt. (Bug#12203)
10764 2012-08-17 Chong Yidong <cyd@gnu.org>
10766 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10767 font spec, set the font directly (Bug#3228).
10769 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10771 * window.el (delete-window): Fix last fix.
10773 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10775 * window.el (window-valid-p): Move to window.c.
10776 (window-child, window-child-count, window-last-child)
10777 (window-normalize-window, window-combined-p)
10778 (window-combinations, window-atom-root, window-min-size)
10779 (window-sizable, window-sizable-p, window-size-fixed-p)
10780 (window-min-delta, window-max-delta, window--resizable)
10781 (window--resizable-p, window-resizable, window-total-size)
10782 (window-full-height-p, window-full-width-p, window-body-size)
10783 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10784 (minimize-window, window-deletable-p, delete-window)
10785 (delete-other-windows, set-window-buffer-start-and-point)
10786 (next-buffer, previous-buffer, split-window, balance-windows-2)
10787 (set-window-text-height, window-buffer-height)
10788 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10789 (truncated-partial-width-window-p): Minor code adjustments.
10790 In doc-strings state whether the argument window has to denote a
10791 live, valid or any window.
10793 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10795 * progmodes/subword.el (subword-forward-function)
10796 (subword-backward-function, subword-forward-regexp)
10797 (subword-backward-regexp): New variables.
10798 (subword-forward, subword-forward-internal, subword-backward-internal):
10799 Use new variables, eg so that different "word" definitions
10800 can be easily used. (Bug#11411)
10802 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10805 for composite selectors.
10806 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10807 operation just because we can't find a previous revision.
10809 2012-08-15 Chong Yidong <cyd@gnu.org>
10811 * frame.el (set-frame-font): Accept font objects.
10813 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10817 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10819 * man.el (Man-overstrike-face, Man-underline-face)
10820 (Man-reverse-face): Remove variables.
10821 (Man-overstrike, Man-underline, Man-reverse): New faces.
10822 (Man-fontify-manpage): Use them instead of the variables.
10823 (Man-cleanup-manpage): Comment change.
10824 (Man-ansi-color-map): New variable.
10825 (Man-fontify-manpage): Use it.
10826 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10828 Implement ANSI SGR parameters 22-27 (bug#12146).
10829 * ansi-color.el (ansi-colors): Doc fix.
10830 (ansi-color-context, ansi-color-context-region): Doc fix.
10831 (ansi-color--find-face): New function.
10832 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10833 Rename the local variable `face' to `codes' since it is now a list of
10834 ansi codes. Doc fix.
10835 (ansi-color-get-face): Remove.
10836 (ansi-color-parse-sequence): New function, derived from
10837 ansi-color-get-face.
10838 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10841 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * subr.el (read-passwd): Allow use from a minibuffer.
10845 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10847 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10848 inside comments and strings as identifiers.
10850 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10851 expression to evaluate. This allows to evaluate expressions with
10852 embedded whitespace.
10853 (gud-tooltip-tips): Add a blank before the newline in the
10854 message-box text, for the benefit of message-box emulation on
10857 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10858 messages from GDB, pop them up in a tooltip to give feedback to
10860 (gdb-tooltip-print-1): Quote the expression to evaluate.
10861 This allows to evaluate expressions with embedded whitespace.
10862 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10863 if the TTY name is nil or empty (which happens when communicating
10864 with the inferior via pipes, e.g. on MS-Windows).
10865 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10866 don't send that to the GUD buffer.
10868 2012-08-14 Glenn Morris <rgm@gnu.org>
10870 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10871 Optimize away setq-default with no args, as for setq. (Bug#12195)
10873 2012-08-14 Chong Yidong <cyd@gnu.org>
10875 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10877 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10880 2012-08-14 Glenn Morris <rgm@gnu.org>
10882 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10884 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10886 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10887 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10888 Use cached shell name.
10890 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10892 * progmodes/python.el (python-shell-send-string):
10893 (python-shell-send-setup-code): Do not use `format' with `message'.
10895 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10897 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10898 (ruby-percent-literal-beg-re): New constant.
10899 (ruby-syntax-general-delimiters-goto-beg): Rename to
10900 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10901 (ruby-syntax-propertize-general-delimiters): Rename to
10902 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10903 popular term. Adjust comments everywhere.
10904 (ruby-syntax-propertize-percent-literal): Only propertize when not
10905 inside a simple string or comment. When the literal is unclosed,
10906 leave the text after it unpropertized.
10907 (ruby-syntax-methods-before-regexp): New constant.
10908 (ruby-syntax-propertize-function): Use it to recognize regexps.
10909 Don't look at the text after regexp, just use the whitelist.
10911 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10913 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10914 non-nil always load the compiled file if it exists. (Bug#12197)
10916 2012-08-14 Chong Yidong <cyd@gnu.org>
10918 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10919 (hi-lock-set-pattern): When deciding whether to use font lock or
10920 overlays, look at font-lock-mode instead of font-lock-fontified
10922 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10923 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10925 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10927 * subr.el (internal--after-with-selected-window): Fix typo
10930 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10932 Use `completion-table-dynamic' for completion functions.
10933 * progmodes/python.el
10934 (python-shell-completion--do-completion-at-point)
10935 (python-shell-completion--get-completions):
10937 (python-shell-completion-complete-at-point): New function.
10938 (python-completion-complete-at-point): Use it.
10940 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10942 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10943 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10945 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10947 * subr.el (function-get): Refine `autoload' arg so it can also
10948 autoload functions for gv.el (bug#12191).
10949 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10952 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10953 Prefer pcase-let over destructuring-bind.
10954 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10955 Also, remove whitespace as we go, rather than after accumulating the
10958 * subr.el (internal--before-with-selected-window)
10959 (internal--after-with-selected-window): Fix typo seleted->selected.
10960 (with-selected-window): Adjust callers.
10961 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10963 2012-08-13 Bastien Guerry <bzg@gnu.org>
10965 * window.el (special-display-popup-frame): Minor docstring
10966 enhancement. (Bug#12172)
10968 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10970 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10972 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10975 * files.el (hack-local-variables-filter): Remove useless eval.
10977 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10979 * subr.el (with-selected-window): Fix last change.
10981 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * subr.el (internal--before-with-seleted-window)
10984 (internal--after-with-seleted-window): New functions.
10985 (with-selected-window): Use them, to replace dependency on
10988 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10990 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10991 binding for `newline'.
10992 (ruby-move-to-block): When moving backward, stop at block opening,
10994 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10995 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10996 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10997 `ruby-toggle-block'.
10999 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11001 * ibuffer.el (ibuffer-do-toggle-read-only):
11002 * dired.el (dired-toggle-read-only):
11003 * buff-menu.el (Buffer-menu-toggle-read-only):
11004 * bindings.el (mode-line-toggle-read-only):
11005 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11007 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11009 * descr-text.el (describe-char): Put the overlays over the
11010 "displayed as" character.
11012 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11014 * calc/calc-units.el (math-default-units-table): Give an
11016 (math-put-default-units): Add options to put composite units and
11017 unit systems in the default units table.
11018 (calc-convert-units): Send composite units to
11019 `math-put-default-units' when appropriate.
11021 2012-08-11 Glenn Morris <rgm@gnu.org>
11023 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11025 * tutorial.el (help-with-tutorial):
11026 * emacs-lisp/copyright.el (copyright-update-directory):
11027 * emacs-lisp/autoload.el (autoload-find-generated-file)
11028 (autoload-find-file): Disable local eval: (for insurance).
11030 * files.el (hack-local-variables-filter): If an eval: form is not
11031 known to be safe, and enable-local-variables is :safe, then ignore
11032 the form totally, as is done for non-eval forms. (Bug#12155)
11033 This is CVE-2012-3479.
11035 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11037 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11038 (rx-form): Simplify.
11040 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11042 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11043 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11044 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11045 (ruby-syntax-propertize-function): Adjust for changes in
11046 `ruby-syntax-propertize-heredoc'.
11048 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11050 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11051 binding (use `M-;' instead).
11052 (ruby-singleton-class-p): New function.
11053 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11055 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11057 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11059 2012-08-10 Chong Yidong <cyd@gnu.org>
11061 * progmodes/python.el (python-shell-get-process-name): Don't mess
11062 with same-window-buffer-names.
11064 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11065 (eshell-remove-from-window-buffer-names): Make obsolete.
11066 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11067 (eshell): Just use pop-to-buffer-same-window instead.
11069 2012-08-10 Chong Yidong <cyd@gnu.org>
11071 * bindings.el: Bind M-= back to count-words-region.
11073 * simple.el (count-words-region): Accept a prefix arg for acting
11074 on the entire buffer.
11075 (count-words--buffer-message): New helper function.
11077 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11079 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11080 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11081 (event-start, event-end): Use posn-at-point to return a more
11083 (posnp): New function.
11084 * mouse.el (popup-menu-normalize-position): Use it.
11086 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11088 * mouse.el (popup-menu-normalize-position): New function.
11089 (popup-menu): Use `popup-menu-normalize-position' to normalize
11090 the form for POSITION argument.
11092 * term/x-win.el (x-menu-bar-open):
11093 Use the value returend from (posn-at-point) as position
11094 passed to `popup-menu'.
11096 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11098 * calc/calccomp.el (math-compose-expr): Add extra argument
11099 indicating that parentheses should be put around products in
11100 denominators. Give multiplication precedence over division during
11103 2012-08-09 Chong Yidong <cyd@gnu.org>
11105 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11106 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11107 (Man-untabify-command, manual-program): Convert to defcustom
11110 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11112 * descr-text.el (describe-char): Don't insert extra newlines
11115 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11116 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11118 * align.el (align-region): Delete temporary markers (Bug#10047).
11119 Plus some code cleanups.
11121 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11123 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11124 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11125 (python-shell-internal-last-output): Use make-local-variable
11126 instead of make-variable-buffer-local.
11128 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11130 * progmodes/python.el: Enhancements to forward-sexp.
11131 (python-nav-forward-sexp): Rename from
11132 python-nav-forward-sexp-function.
11133 (python-nav--forward-sexp, python-nav--backward-sexp):
11136 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11138 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11139 modes and simplification modes.
11141 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * delsel.el (delete-selection-pre-hook): Don't propagate the
11144 file-supersession signals (bug#12161).
11146 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11148 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11149 (cl-map-extents): Add compatibility aliases (bug#12135).
11151 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11153 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11154 tests by `ignore-error'.
11155 (tramp-find-shell): Open also a new shell, when cache is already
11156 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11158 2012-08-08 Juri Linkov <juri@jurta.org>
11160 * bookmark.el: Add `defaults' property to the bookmark record.
11161 (bookmark-current-buffer): Doc fix.
11162 (bookmark-make-record): Add `defaults' property with default values
11163 to the bookmark record.
11164 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11165 with `bookmark-insert-current-bookmark'.
11166 (bookmark-set): Get `defaults' property from the bookmark record
11167 and use it in `read-from-minibuffer'.
11168 (bookmark-insert-current-bookmark): Remove function.
11170 * info.el (Info-bookmark-make-record): Add `defaults' property
11171 with values of canonical Info node name, the current Info file
11172 name and the current Info node name. (Bug#12107)
11174 2012-08-08 Juri Linkov <juri@jurta.org>
11176 * files.el (basic-save-buffer): Use `buffer-name' as the default
11177 of `read-file-name' when buffer is not visiting a file (bug#12128).
11179 2012-08-08 Juri Linkov <juri@jurta.org>
11181 * info.el (Info-isearch-search): Doc fix.
11182 (Info-search): Change search-failed message from "initial node" to
11183 "end of node" (bug#12078).
11184 (Info-isearch-search): Change `isearch-string-state' to
11185 `isearch--state-string'.
11187 2012-08-08 Glenn Morris <rgm@gnu.org>
11189 * language/persian.el: Remove file.
11190 * language/misc-lang.el: Move unique part of persian.el here.
11191 * loadup.el: Remove language/persian.
11193 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
11195 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11197 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
11199 * progmodes/python.el: Fix defsubst warning.
11200 (python-syntax-context) Rename from python-info-ppss-context.
11201 (python-syntax-context-type): Rename from
11202 python-info-ppss-context-type.
11203 (python-syntax-comment-or-string-p): Rename from
11204 python-info-ppss-comment-or-string-p.
11206 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11208 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11210 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11212 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11213 a defcustom that is quoted with backquote.
11215 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11216 Fix handling of interactive spec when the body uses return.
11217 (math-do-arg-check, math-define-function-body): Use backquote forms.
11218 * calc/calc-ext.el (math-defcache): Likewise.
11219 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11220 * allout.el (allout-new-exposure): Likewise.
11221 * calc/calcalg2.el (math-tracing-integral): Likewise.
11222 * info.el (Info-last-menu-item): Likewise.
11223 * emulation/vip.el (vip-loop): Likewise.
11224 * textmodes/artist.el (artist-funcall): Likewise.
11225 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11226 Construct menu-item directly.
11228 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11231 2012-08-07 Chong Yidong <cyd@gnu.org>
11233 * simple.el (deactivate-mark): Preserve text properties when
11234 saving the primary selection (Bug#8384).
11236 2012-08-07 Kevin Ryde <user42@zip.com.au>
11238 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11239 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11240 and continue processing (Bug#12110).
11242 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11245 syntax-propertize-function (bug#10095).
11247 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11249 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11250 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11251 describe-function-1.
11252 (describe-function-1): Use them. Move compiler macro after sig.
11253 (help-fns--compiler-macro): Use function-get. Assume we're already in
11254 standard-output. Adjust layout to new call order.
11256 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11257 re-binding a symbol that has a symbol-macro (bug#12119).
11259 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11261 * language/persian.el: New file. (Bug#11812)
11262 * loadup.el: Add language/persian.el.
11264 2012-08-06 Chong Yidong <cyd@gnu.org>
11266 * window.el (window--maybe-raise-frame): New function.
11267 (window--display-buffer): Split off from here.
11268 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11269 (display-buffer-pop-up-window, display-buffer-use-some-window):
11270 Obey an inhibit-switch-frame action alist entry.
11271 (display-buffer): Update doc.
11273 * replace.el (occur-after-change-function): Avoid losing focus by
11274 using the inhibit-switch-frame display parameter (Bug#12139).
11276 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
11278 Make internal shell process buffer names start with space.
11279 * progmodes/python.el (python-shell-make-comint): Add optional
11281 (run-python-internal): Use it.
11282 (python-shell-internal-get-or-create-process): Check for new
11283 internal buffer names.
11285 2012-08-06 Glenn Morris <rgm@gnu.org>
11287 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11288 Do less getting and setting of environment variables.
11290 2012-08-05 Chong Yidong <cyd@gnu.org>
11292 * proced.el (proced): Add substitution string to docstring to
11293 trigger autoloading of the proced library on C-h f (Bug#1768).
11295 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11296 Don't show defvars which have no second argument (Bug#8638).
11298 * imenu.el (imenu-generic-expression): Move documentation here
11299 from imenu--generic-function.
11300 (imenu--generic-function): Refer to imenu-generic-expression.
11302 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
11304 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11305 indentation declaration.
11306 (viper-loop): Add indentation declaration (Bug#7025).
11308 2012-08-05 Chong Yidong <cyd@gnu.org>
11310 * help-fns.el (describe-variable): Add hyperlink for
11311 directory-local variables files. Improve buffer-local and
11312 permanent-local reporting; suggested by MON KEY (Bug#6644).
11314 * help-mode.el (help-dir-local-var-def): New button type.
11316 * files.el (kill-buffer-hook): Provide a defvar.
11318 2012-08-05 Glenn Morris <rgm@gnu.org>
11320 * eshell/esh-ext.el (eshell/addpath):
11321 Also update eshell-path-env. (Bug#12013)
11323 2012-08-05 Chong Yidong <cyd@gnu.org>
11325 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11327 * fringe.el (fringe-styles): Add docstring.
11328 (fringe--check-mode): New function.
11329 (set-fringe-mode, set-fringe-style): Use it.
11330 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11332 * files.el (set-auto-mode): Fix invalid setq call.
11334 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * isearch.el: Misc simplification; use defstruct.
11337 (isearch-mode-map): Dense maps now work like sparse ones.
11338 (isearch--state): New defstruct.
11339 (isearch-string-state, isearch-message-state, isearch-point-state)
11340 (isearch-success-state, isearch-forward-state)
11341 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11342 (isearch-wrapped-state, isearch-barrier-state)
11343 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11344 replaced by defstruct's accessors.
11345 (isearch--set-state): Rename from isearch-top-state and change
11346 calling convention.
11347 (isearch-push-state): Use new isearch--get-state.
11348 (isearch-toggle-word): Disable regexp when enabling word.
11349 (isearch-message-prefix): Remove unused arg _c-q-hack.
11350 (isearch-message-suffix): Remove unused arg _ellipsis.
11352 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11354 * simple.el (list-processes--refresh): For a server use :host or
11355 :local as the address.
11356 (list-processes): Doc fix.
11358 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11360 * lisp/mpc.el: Support password in host argument.
11361 (mpc--proc-connect): Parse and use new password element.
11362 Set mpc-proc variable instead of returning process.
11363 (mpc-proc): Adjust accordingly.
11365 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11367 * whitespace.el (whitespace-display-mappings): Use Unicode
11368 codepoints, instead of emacs-mule codepoints. See
11369 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11372 * files.el (file-truename): Don't skip symlink-chasing part on
11373 windows-nt. Incorporate the resolution of 8+3 short aliases on
11374 Windows into the loop that recursively chases symlinks.
11375 Compare directory and its parent case-insensitively on MS-Windows and
11378 2012-08-03 Chong Yidong <cyd@gnu.org>
11380 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11382 * sort.el (sort-regexp-fields): Doc fix.
11384 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11386 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11387 labels regex position point at the expected place.
11389 2012-08-03 MON KEY <monkey@sandpframing.com>
11391 * net/imap.el (imap-interactive-login, imap-authenticate)
11392 (imap-mailbox-lsub, imap-mailbox-list)
11393 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11394 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11395 (imap-parse-response): Doc fix.
11397 2012-08-03 João Távora <joaotavora@gmail.com>
11399 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11400 if sexp scanning does not move point (Bug#5734).
11402 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11404 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11405 Add listings, minted, and ctable packages.
11406 (reftex-label-alist-builtin): Move listings, minted, and ctable
11407 entries before LaTeX.
11408 (reftex-label-alist): Docfix.
11410 2012-08-02 Bastien Guerry <bzg@gnu.org>
11412 * replace.el (occur): Fix docstring (bug#12122).
11414 2012-08-02 Glenn Morris <rgm@gnu.org>
11416 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11418 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11420 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11421 * international/mule-cmds.el: Create
11422 inactivate-current-input-method-function as an obsolete alias for
11423 deactivate-current-input-method-function. See Katsumi Yamaoka in
11424 <http://bugs.gnu.org/10150#46>.
11426 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11428 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11431 2012-08-01 Glenn Morris <rgm@gnu.org>
11433 * progmodes/autoconf.el (autoconf-definition-regexp):
11434 Add AH_TEMPLATE, adjust submatch numbering.
11435 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11436 (autoconf-current-defun-function): Update for above change.
11437 (autoconf-current-defun-function): First skip to end of current word.
11439 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11441 * calendar/cal-html.el (cal-html-insert-agenda-days):
11442 Fix typo. (Bug#12018)
11444 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11446 Shell processes: enhancements to startup and CEDET compatibility.
11447 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11448 (python-shell-make-comint): accept-process-output at startup.
11449 (run-python-internal): Set inferior-python-mode-hook to nil.
11450 (python-shell-internal-get-or-create-process): Call sit-for.
11451 (python-preoutput-result): Add obsolete alias.
11452 (python-shell-internal-send-string): Use it.
11453 (python-shell-send-setup-code): Remove call to
11454 accept-process-output.
11456 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11458 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11461 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11463 * calc-mode.el (calc-basic-simplification-mode): Rename from
11464 `calc-limited-simplification-mode'.
11465 (calc-alg-simplification-mode): New function.
11466 (calc-set-simplify-mode): Adjust message.
11468 * calc.el (calc-set-mode-line): Adjust mode line display for
11469 basic simplification mode.
11471 * calc-help.el (calc-m-prefix-help): Update help message.
11473 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11474 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11476 2012-07-31 Bastien Guerry <bzg@gnu.org>
11478 * man.el (man): Fix comment. (bug#12101)
11480 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11482 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11483 Don't return a non-nil value when no suitable buffer was found.
11485 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11487 * progmodes/python.el (run-python-internal): Disable font lock for
11490 2012-07-30 Stefan Merten <smerten@oekonux.de>
11492 * textmodes/rst.el: Silence `checkdoc-ispell'.
11493 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11494 (rst-official-version, rst-official-cvs-rev)
11495 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11496 (rst-mode-map): New key binding.
11498 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11500 Update .PHONY listings in makefiles.
11501 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11502 autoloads, update-subdirs, updates, bzr-update, update-authors,
11503 compile-onefile, compile-calc, backup-compiled-files,
11504 compile-after-backup, compile-one-process, mh-autoloads,
11505 bootstrap-clean, distclean, maintainer-clean.
11507 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11509 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11510 (calc-set-mode-line): Don't display "AlgSimp ".
11512 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11513 (calc-lim-simplify-mode): New function.
11514 (calc-set-simplify-mode): Default to 'alg.
11515 (calc-default-simplify-mode): Make algebraic simplifications
11518 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11519 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11521 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11522 indicate new simplification modes.
11524 * calc/README: Mention new default simplification mode.
11526 * calc/calc.el (math-normalize-error): New variable.
11527 (math-normalize): Set `math-normalize-error' to t
11528 when there's an error.
11530 * calc/calc-alg.el (math-simplify): Don't simplify when
11531 `math-normalize' returns an error.
11533 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11535 * international/mule-cmds.el (set-locale-environment): Revert last
11536 change, since display-graphic-p returns nil when this function is
11537 called during startup. Instead...
11539 * term/w32console.el (terminal-init-w32console): ...setup the
11540 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11542 2012-07-29 Juri Linkov <juri@jurta.org>
11544 * simple.el (goto-line): Don't display default line number in the
11545 prompt because it should be displayed by `read-number' (bug#9952).
11546 Add the current line number to the defaults of `goto-line' to
11547 allow its easier modification by users with `M-n' (bug#9201).
11549 * subr.el (read-number): Support multiple default values like in
11550 other minibuffer reading functions. Replace `read' with
11551 `string-to-number' for consistency with `number-to-string'.
11553 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11555 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11556 * emulation/viper-init.el (viper-deactivate-input-method-action):
11557 Rename from viper-inactivate-input-method-action.
11558 (viper-deactivate-input-method):
11559 Rename from viper-inactivate-input-method.
11560 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11561 * international/mule-cmds.el (deactivate-input-method):
11562 Rename from inactivate-input-method.
11563 Also run input-method-deactivate-hook.
11564 (deactivate-current-input-method-function):
11565 Rename from inactivate-current-input-method-function.
11566 (input-method-deactivate-hook): New hook.
11567 (input-method-inactivate-hook): Mark obsolete.
11568 (inactivate-input-method): Mark obsolete.
11570 * international/quail.el (quail-activate):
11571 Also run quail-deactivate-hook.
11572 (quail-deactivate): Rename from quail-inactivate.
11573 * international/robin.el (robin-activate):
11574 Also run robin-deactivate-hook.
11575 (robin-deactivate): Rename from robin-inactivate.
11577 2012-07-29 Chong Yidong <cyd@gnu.org>
11579 * simple.el (indicate-copied-region): New function.
11580 (kill-ring-save): Split off from here.
11582 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11583 (kill-rectangle): Set deactivate-mark to t on read-only error.
11585 * register.el (copy-to-register, copy-rectangle-to-register):
11586 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11587 (append-to-register, prepend-to-register): Call indicate-copied-region.
11589 2012-07-29 Juri Linkov <juri@jurta.org>
11591 * simple.el (async-shell-command-buffer): New defcustom.
11592 (shell-command): Use it. (Bug#4719)
11594 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11596 * international/mule-cmds.el (set-locale-environment): In a
11597 console session on MS-Windows, set up keyboard and terminal
11598 encoding from the OEM codepage, not the ANSI codepage.
11601 2012-07-28 Chong Yidong <cyd@gnu.org>
11603 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11606 2012-07-28 Leo Liu <sdl.web@gmail.com>
11608 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11609 the alist (bug#12029).
11611 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11613 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11614 (compile-always, compile-first)
11615 ($(lisp)/calendar/cal-loaddefs.el)
11616 ($(lisp)/calendar/diary-loaddefs.el)
11617 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11618 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11619 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11620 instead of on update-subdirs.
11621 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11623 2012-07-28 Chong Yidong <cyd@gnu.org>
11625 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11626 directory if vc-deduce-backend returns nil (Bug#7350).
11628 * simple.el (delete-trailing-lines): New option.
11629 (delete-trailing-whitespace): Obey it (Bug#11879).
11631 2012-07-28 David Engster <deng@randomsample.de>
11633 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11634 Explanation of new 'symbol-qnames feature in doc-strings.
11635 (xml-maybe-do-ns): Return expanded names as plain symbols if
11636 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11637 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11639 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11641 Consistent completion in inferior python with emacs -nw.
11642 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11643 binding in inferior-python-mode-map with "\t".
11644 (python-shell-completion-complete-at-point)
11645 (python-completion-complete-at-point): Remove interactive spec.
11647 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11649 * calc/calccomp.el (math-compose-expr): Undo previous change.
11651 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11653 * progmodes/python.el (python-mode-map): Add keybinding for
11655 (python-shell-make-comint): Fix pop-to-buffer call.
11656 (run-python): Autoload. New arg SHOW.
11657 (python-shell-get-or-create-process): Do not pop python process
11660 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11662 * notifications.el (notifications-on-action-signal)
11663 (notifications-on-closed-signal): Use also the bus address for the map.
11664 (notifications-notify, notifications-close-notification)
11665 (notifications-get-capabilities): Add optional argument BUS.
11667 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11669 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11670 Add support for the lstlisting and minted environments, and for the
11672 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11673 labels written in keyvals syntax.
11675 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11677 * calc/calccomp.el (math-compose-expr): Use parentheses when
11678 there is a product in the denominator of a fraction.
11680 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11682 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11683 ($(lisp)/calendar/diary-loaddefs.el)
11684 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11685 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11686 Fixes failures in parallel bootstrap because subdirs.el is being
11687 rewritten while the autoload files are built at the same time,
11688 which needs to load subdirs.el.
11690 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11692 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11693 (mouse-drag-line): Don't exit tracking when a switch-frame or
11694 switch-window event occurs (Bug#12006).
11696 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11698 * mouse.el (popup-menu): Fix last change.
11700 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11702 Autoload from Lisp with more care. Follow aliases when looking for
11703 function properties.
11704 * subr.el (autoloadp): New function.
11705 (symbol-file): Use it.
11706 (function-get): New function.
11707 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11709 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11710 (lisp-indent-function):
11711 * emacs-lisp/gv.el (gv-get):
11712 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11713 * emacs-lisp/byte-opt.el (byte-optimize-form):
11714 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11715 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11717 * emacs-lisp/cl.el: Don't propagate function properties any more.
11719 * speedbar.el (speedbar-add-localized-speedbar-support):
11720 * emacs-lisp/disass.el (disassemble-internal):
11721 * desktop.el (desktop-load-file):
11722 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11723 (describe-function-1):
11724 * emacs-lisp/find-func.el (find-function-noselect):
11725 * emacs-lisp/elp.el (elp-instrument-function):
11726 * emacs-lisp/advice.el (ad-has-proper-definition):
11727 * apropos.el (apropos-safe-documentation, apropos-macrop):
11728 * emacs-lisp/debug.el (debug-on-entry):
11729 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11730 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11731 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11733 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11735 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11736 function, not an obsolete variable (Bug#12046).
11738 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11740 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11742 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11744 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11745 window only if it is still live (Bug#12034).
11747 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11749 * subr.el (redirect-frame-focus): Add advertised calling
11750 convention (Bug#12030).
11752 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11754 Prefer typical American spelling for "acknowledgment".
11755 * vc/add-log.el (change-log-acknowledgment): Rename from
11756 change-log-acknowledgement, with an alias for the old name.
11758 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11760 * calc-alg.el (math-simplify-divide): Don't cross multiply
11761 in an equation when the lhs is a variable.
11763 2012-07-24 Julien Danjou <julien@danjou.info>
11765 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11768 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11770 * startup.el (command-line): Don't display an empty user name in
11771 the error message about non-existent home directory, when
11772 init-file-user was set to an empty string. See
11773 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11774 for the details and context.
11776 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11778 * ses.el (ses-cell-formula-aset): New macro.
11779 (ses-cell-references-aset): New macro.
11780 (ses-cell-p): New function.
11781 (ses-rename-cell): Do no longer rely on complex operations like
11782 ses-cell-set-formula or ses-set-cell to change the cell and handle
11783 the undo at the same time, but rather use lower level new macros
11784 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11785 the undo directly. Refresh the mode line.
11787 2012-07-21 Leo Liu <sdl.web@gmail.com>
11789 * progmodes/cc-cmds.el (c-defun-name):
11790 Use match-string-no-properties instead for consistency.
11792 2012-07-20 Leo Liu <sdl.web@gmail.com>
11794 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11797 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11799 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11802 * progmodes/bug-reference.el, misearch.el: Provide themselves
11805 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11806 of narrowed buffer (bug#11966).
11808 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11810 * ses.el (ses-rename-cell): Set new name also in reference list of
11811 cells of which the renamed cell depends.
11813 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11815 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11816 to check whether menu-bar is shown or not. If not shown,
11817 show the menu-bar as a popup menu instead of using tmm.
11818 * mouse.el (popup-menu): Accept `point' as `position' argument.
11820 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11822 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11823 up inside string symbol literal (bug#11923).
11825 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11827 * startup.el (fancy-startup-text): Read the whole tutorial, not
11828 just its first 256 bytes. Prevents gibberish in display of the
11831 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11833 Drop idle buffer compaction due to an absence of the
11835 * compact.el: Remove.
11837 2012-07-19 Sam Steingold <sds@gnu.org>
11839 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11840 vc-bzr-pull & vc-bzr-merge-branch.
11841 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11842 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11843 for consistency with compilation-error-regexp-alist.
11844 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11845 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11846 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11847 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11849 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11851 * emacs-lisp/chart.el: Use lexical-binding.
11852 (chart-emacs-storage): Don't hardcode the list of entries.
11854 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11856 Next round of tweaks caused by Fgarbage_collect changes.
11857 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11859 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11861 Compact buffers when idle.
11862 * compact.el: New file.
11864 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * subr.el (eventp): Presume that if it looks vaguely like an event,
11867 it's an event (bug#10190).
11869 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11871 Enhancements to ppss related code (thanks Stefan).
11872 * progmodes/python.el (python-indent-context)
11873 (python-indent-calculate-indentation, python-indent-dedent-line)
11874 (python-indent-electric-colon, python-nav-forward-block)
11875 (python-mode-abbrev-table)
11876 (python-info-assignment-continuation-line-p): Simplify checks
11878 (python-info-continuation-line-p): Cleanup.
11879 (python-info-ppss-context): Do not catch 'quote.
11880 (python-info-ppss-context-type)
11881 (python-info-ppss-comment-or-string-p): Simplify.
11883 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11885 * progmodes/python.el: Enhancements to eldoc support.
11886 (python-info-current-symbol): New function.
11887 (python-eldoc-at-point): Use python-info-current-symbol.
11888 (python-info-current-defun): Fix cornercase on first defun scan.
11889 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11890 and signal error when no inferior python process is available.
11892 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11894 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11895 assume it's always t.
11896 (vc-git-registered): Remove caching, the function is only called
11898 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11900 2012-07-18 Chong Yidong <cyd@gnu.org>
11902 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11904 * simple.el (count-words): Report on narrowing (Bug#9959).
11906 * bindings.el: Bind M-= to count-words.
11908 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11910 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11912 * progmodes/sh-script.el (sh-imenu-generic-expression):
11913 Capture a function with `function' keyword and without parentheses
11914 like "function FOO" (bug#11856).
11916 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11918 * window.el (split-window-sensibly): Make WINDOW argument
11921 2012-07-18 Chong Yidong <cyd@gnu.org>
11923 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11925 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11926 and make C-x 8 RET exit isearch (Bug#11439).
11928 * international/iso-transl.el: Move isearch-mode-map key
11929 definitions to isearch.el.
11931 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11933 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11934 (eieio-defclass): Use gv-define-setter when possible.
11936 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11938 Reflect recent changes in Fgarbage_collect.
11939 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11940 reflect new format of data returned by Fgarbage_collect.
11942 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11944 New utility functions + python-info-ppss-context fix (Bug#11910).
11945 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11946 (python-info-ppss-comment-or-string-p): New functions.
11947 (python-info-ppss-context): Small fix for string check.
11949 2012-07-17 Juri Linkov <juri@jurta.org>
11951 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11952 (dired-do-async-shell-command): Don't add `*' at the end of the
11953 command (Bug#11815).
11954 (dired-do-shell-command): Doc fix.
11955 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11956 Join the individual commands using either "&" or ";" as the
11957 separator depending on the values of these trailing characters.
11958 At the end re-add the trailing "&". (Bug#10598)
11960 * simple.el (async-shell-command): Sync the interactive spec with
11961 `shell-command'. Doc fix.
11962 (shell-command): Doc fix.
11964 2012-07-17 Juri Linkov <juri@jurta.org>
11966 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11968 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11970 Final renames and doc fixes for movement commands (bug#11899).
11971 * progmodes/python.el (python-nav-beginning-of-statement):
11972 Rename from python-nav-statement-start.
11973 (python-nav-end-of-statement): Rename from
11974 python-nav-statement-end.
11975 (python-nav-beginning-of-block): Rename from
11976 python-nav-block-start.
11977 (python-nav-end-of-block): Rename from python-nav-block-end.
11979 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11981 * progmodes/python.el (python-shell-send-string-no-output):
11982 Allow accept-process-output to quit, keeping shell process ready for
11983 future interactions (Bug#11868).
11985 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11987 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11989 * emacs-lisp/elint.el (elint-find-args-in-code):
11990 Use help-function-arglist, so as to handle lexical byte-code.
11992 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11993 change (bug#11826).
11995 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11997 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11998 Avoid spuriously marking the buffer as modified because of c-is-sws.
12000 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12001 as not-a-comment (bug#11946).
12003 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12004 for uninterned vars.
12006 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12007 Use read-event since we don't really want to read chars but bytes.
12009 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12010 $$..$$ but also $..$ using regexps (bug#11953).
12011 Use tex-verbatim for \url and \path.
12012 (tex-font-lock-keywords): Define as defconst like the others.
12013 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12015 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12017 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12018 alias for insert-char.
12020 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12022 * progmodes/python.el: Simplified imenu implementation.
12023 (python-nav-jump-to-defun): Remove command.
12024 (python-mode-map): Use `imenu' instead.
12025 (python-nav-list-defun-positions-cache)
12026 (python-imenu-include-defun-type, python-imenu-make-tree)
12027 (python-imenu-subtree-root-label, python-imenu-index-alist):
12029 (python-nav-list-defun-positions, python-nav-read-defun)
12030 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12031 (python-imenu-make-tree, python-imenu-create-index):
12033 (python-mode): Update to interact with imenu by setting
12034 `imenu-extract-index-name-function' only.
12036 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12038 * progmodes/python.el: Enhancements to navigation commands.
12039 (python-nav-backward-sentence)
12040 (python-nav-forward-sentence): Remove.
12041 (python-nav-backward-statement, python-nav-forward-statement)
12042 (python-nav-statement-start, python-nav-statement-end)
12043 (python-nav-backward-block, python-nav-forward-block)
12044 (python-nav-block-start, python-nav-block-end)
12045 (python-nav-forward-sexp-function)
12046 (python-info-current-line-comment-p)
12047 (python-info-current-line-empty-p): New functions.
12048 (python-indent-context): Use `python-nav-statement-start'.
12050 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12052 * eshell/em-ls.el (eshell/ls): Use `apply'.
12054 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12055 multi-hops, instead of Tramp internals.
12057 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12059 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12060 when F1 and F2 are located on different hosts.
12062 2012-07-14 Chong Yidong <cyd@gnu.org>
12064 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12065 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12066 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12067 (xterm-mouse--read-event-sequence-1000)
12068 (xterm-mouse--read-event-sequence-1006): New functions. For old
12069 mouse protocol, handle M-mouse-X events correctly.
12070 (xterm-mouse-event): New arg specifying mouse protocol.
12071 (turn-on-xterm-mouse-tracking-on-terminal)
12072 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12073 sequence to toggle extended coordinates on newer XTerms.
12074 This appears to be harmless on terminals which do not support this.
12076 2012-07-14 Leo Liu <sdl.web@gmail.com>
12078 Add fringe bitmap indicators for flymake. (Bug#11253)
12079 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12080 (flymake-make-overlay): New arg BITMAP.
12081 (flymake-error-bitmap, flymake-warning-bitmap)
12082 (flymake-fringe-indicator-position): New user variables.
12084 * fringe.el: New bitmap exclamation-mark.
12086 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12088 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12091 2012-07-14 Chong Yidong <cyd@gnu.org>
12093 * electric.el (electric-pair-post-self-insert-function): Fix pair
12094 insertion in empty-region case (Bug#11520).
12096 2012-07-14 Chong Yidong <cyd@gnu.org>
12098 * bindings.el: Consolidate ctl-x-r-map bindings.
12099 Bind copy-rectangle-as-kill to C-x r w.
12101 * rect.el, register.el: Move bindings to bindings.el.
12103 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12105 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12107 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12109 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12111 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12113 * bindings.el (top): Use `mapc' instead of `mapcar'.
12115 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12117 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12119 * progmodes/sql.el (sql-comint): Suppress the check for program on
12120 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12123 2012-07-13 Chong Yidong <cyd@gnu.org>
12125 * bindings.el: Assign a non-nil permanent-local property to
12126 per-buffer variables which lack a default value (Bug#11930).
12128 * help-fns.el (describe-variable): In the "automatically becomes
12129 local" notice, take note of permanent-local variables.
12131 2012-07-13 Chong Yidong <cyd@gnu.org>
12133 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12134 to allow printing the message when called from Lisp.
12136 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12137 Remove toggle-read-only.
12139 * bs.el (bs-toggle-readonly):
12140 * buff-menu.el (Buffer-menu-toggle-read-only):
12141 Remove with-no-warnings around toggle-read-only.
12143 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12144 Remove with-no-warnings around toggle-read-only.
12145 (ffap-read-only, ffap-read-only-other-window)
12146 (ffap-read-only-other-frame): Callers changed.
12148 * help-mode.el: Don't require view package.
12149 (help-mode-finish): Set buffer-read-only instead of calling
12152 * bindings.el (mode-line-toggle-read-only):
12153 * dired.el (dired-toggle-read-only):
12154 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12155 with non-nil second arg.
12157 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12158 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12161 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12163 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12166 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12168 More CL cleanups and reduction of use of cl.el.
12169 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12170 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12171 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12172 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12173 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12174 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12175 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12176 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12177 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12178 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12179 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12180 * eshell/em-cmpl.el, eshell/em-banner.el:
12181 * calendar/parse-time.el: Use cl-lib.
12182 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12183 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12184 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12185 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12186 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12187 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12188 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12189 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12190 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12191 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12192 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12193 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12194 `lambda' rather than with `quote'.
12195 (eshell-do-opt): Adjust accordingly.
12196 (eshell-process-option): Simplify.
12197 * eshell/esh-var.el:
12198 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12199 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12200 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12201 to `pcase--dontcare'.
12202 * emacs-lisp/cl.el (labels): Mark obsolete.
12203 (cl--letf, letf): Move to cl-lib.
12204 (cl--letf*, letf*): Remove.
12205 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12206 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12207 (cl-progv): Rewrite.
12208 (cl--letf, cl-letf): Move from cl.el.
12209 (cl-letf*): New macro.
12210 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12212 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12214 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12216 2012-07-11 Chong Yidong <cyd@gnu.org>
12218 * vc/log-edit.el (log-edit-vc-backend): New variable.
12219 (log-edit): Doc fix.
12221 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12222 argument of log-edit to set up all local variables.
12223 (vc-start-logentry): New optional arg specifying VC backend.
12225 * vc/vc.el (vc-checkin): Use it.
12226 (vc-deduce-fileset): Handle Log Edit buffers.
12227 (vc-diff): Make first argument optional too.
12229 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12231 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12233 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12234 command, just in case. The function is not needed anymore.
12235 (eshell-external-command): Do not call `eshell-remote-command'.
12237 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12239 Reduce use of (require 'cl).
12240 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12241 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12242 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12243 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12244 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12245 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12246 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12247 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12248 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12249 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12250 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12251 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12252 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12253 (byte-compile-unfold-bcf, byte-compile-check-variable):
12254 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12255 (byte-compile-nilconstp):
12256 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12257 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12259 * emacs-lisp/gv.el (cond): Make it a valid place.
12260 (if): Simplify slightly.
12262 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12263 (pcase--self-quoting-p): New function.
12264 (pcase--u1): Use it.
12266 2012-07-10 Glenn Morris <rgm@gnu.org>
12268 * emacs-lisp/authors.el (authors-fixed-entries):
12269 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12271 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12273 Rename configure.in to configure.ac (Bug#11603).
12274 * emacs-lisp/authors.el (authors-canonical-file-name):
12275 * progmodes/autoconf.el (autoconf-mode):
12276 Prefer configure.ac to configure.in.
12278 2012-07-08 Chong Yidong <cyd@gnu.org>
12280 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12281 Implement the mouse-1-click-follows-link handling properly.
12283 * info.el (Info-link-keymap): Use follow-link mechanism for
12284 header-line links (Bug#374).
12286 * simple.el (deactivate-mark): Do not set the primary selection
12287 if another program has acquired it (Bug#11772).
12289 2012-07-07 Kevin Ryde <user42@zip.com.au>
12291 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12292 (woman-decode-region): Replace escaped-escapes without destroying
12293 bold or underline (Bug#11552).
12294 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12296 2012-07-07 Chong Yidong <cyd@gnu.org>
12298 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12299 (interprogram-cut-function, interprogram-paste-function):
12300 Mention that we typically mean the clipboard.
12302 2012-07-06 Glenn Morris <rgm@gnu.org>
12304 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12306 * files.el (toggle-read-only): Restrict message to interactive use.
12308 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12310 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12312 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12314 2012-07-06 Glenn Morris <rgm@gnu.org>
12316 * Makefile.in (compile-one-process): Rename from "recompile".
12318 * Makefile.in (bzr-update): "compile" is the same as "recompile
12319 autoloads", but parallelizable, so use that instead.
12321 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12323 * window.el (quit-window): Always restore window height when
12324 it's saved in quit-restore parameter (Bug#11810).
12326 2012-07-06 Glenn Morris <rgm@gnu.org>
12328 * simple.el (kill-whole-line): Doc tweak.
12330 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12332 * files.el (file-relative-name): Compare file names
12333 case-insensitively if on MS-Windows or MS-DOS, or if
12334 read-file-name-completion-ignore-case is non-nil. Don't use
12335 case-fold-search for this purpose. (Bug#11827)
12337 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12339 * calendar/cal-dst.el (calendar-current-time-zone):
12340 Return calendar-current-time-zone-cache if non-nil.
12342 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12343 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12345 * calendar/cal-dst.el (calendar-current-time-zone):
12346 Return calendar-current-time-zone-cache if non-nil.
12348 2012-07-06 Glenn Morris <rgm@gnu.org>
12350 * Makefile.in (cvs-update): Remove old alias.
12352 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12354 Sync with Tramp 2.2.6-pre.
12356 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12357 compatible declaration.
12359 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12360 Protect `list-load-path-shadows' call.
12362 * net/tramp-compat.el (top): Require packages, which aren't
12363 autoloaded anymore for XEmacs. Protect call of
12364 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12365 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12366 it hurts at least for SXEmacs.
12367 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12368 standard-value for `temporary-file-directory'.
12370 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12371 Redirect stderr to /dev/null.
12372 (tramp-sh-handle-write-region): uid and gid can be floats.
12373 Reported by Russell Sim <russell.sim@gmail.com>.
12374 (tramp-sh-handle-vc-registered): Hide errors.
12375 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12376 and `start-file-process'.
12377 (tramp-maybe-open-connection): Check also whether `non-essential'
12380 2012-07-04 Chong Yidong <cyd@gnu.org>
12382 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12383 (xml-parse-tag): Likewise, and avoid changing entity tables.
12384 (xml-syntax-table): Define from scratch, making sure not to give
12385 x2000 and other Unicode spaces whitespace syntax, since those are
12387 (xml-parse-fragment): Delete unused function.
12388 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12389 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12390 (xml-entity-ref, xml-pe-reference-re)
12391 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12392 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12393 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12394 (xml-entity-value-re): Use syntax references in regexps where
12395 possible; no need to define inside a let-binding.
12396 (xml-parse-dtd): Use xml-pe-reference-re.
12397 (xml-entity-or-char-ref-re): New defconst.
12398 (xml-parse-string, xml-substitute-special): Use it.
12400 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12402 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12403 (find-file--read-only): New function.
12404 (find-file-read-only, find-file-read-only-other-window)
12405 (find-file-read-only-other-frame): Use it.
12406 (insert-file-contents-literally): Don't `fset'.
12407 (get-free-disk-space): Use locate-dominating-file.
12409 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12410 function is already compiled.
12412 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12414 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12416 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12417 files on the same host.
12419 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12421 * help-fns.el (describe-function-1): Only call
12422 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12424 2012-07-03 Chong Yidong <cyd@gnu.org>
12426 * xml.el: Protect parser against XML bombs.
12427 (xml-entity-expansion-limit): New variable.
12428 (xml-parse-string, xml-substitute-special): Use it.
12429 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12431 2012-07-03 Glenn Morris <rgm@gnu.org>
12433 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12434 Allow linking to specific messages in debbugs reports (eg 123#5).
12436 2012-07-02 Chong Yidong <cyd@gnu.org>
12438 * xml.el: Fix entity and character reference expansion, allowing
12439 them to expand into markup as per XML spec.
12440 (xml-default-ns): New variable.
12441 (xml-entity-alist): Use XML spec definitions for lt and amp.
12442 (xml-parse-region): Make first two arguments optional.
12443 Discard text properties.
12444 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12445 All callers changed.
12446 (xml-parse-tag): Call xml-parse-tag-1. For backward
12447 compatibility, this function should not modify buffer contents.
12448 (xml-parse-tag-1): Fix opening-tag regexp.
12449 (xml-parse-string): Rewrite, handling entity and character
12450 references properly.
12451 (xml--entity-replacement-text): Signal an error if a parameter
12452 entity is undefined.
12454 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12456 * comint.el (comint-output-filter): Filter out repeated prompts.
12458 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12459 and file-name-absolute-p.
12460 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12463 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12466 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12467 Rename from byte-compile--refiy-function. All uses changed.
12469 2012-07-01 Chong Yidong <cyd@gnu.org>
12471 * xml.el (xml--parse-buffer): New function. Move most of
12472 xml-parse-region here.
12473 (xml-parse-region): Copy region into a temporary buffer, since
12474 parameter entity substitution requires changing buffer contents.
12475 Use xml--parse-buffer.
12476 (xml-parse-file): Use xml--parse-buffer.
12477 (xml-parse-dtd): Make parameter entity substitution work right.
12478 Use proper regexps for ELEMENT declarations (Bug#7172).
12480 2012-06-30 Glenn Morris <rgm@gnu.org>
12482 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12484 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12485 Remove outdated and unnecessary dbus declarations.
12487 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12489 * emacs-lisp/timer.el (timer-until): Subtract results of
12490 float-time, instead of taking float-time of the result of
12491 time-subtract, since float-time signals an error for negative time
12494 2012-06-30 Chong Yidong <cyd@gnu.org>
12496 * xml.el (xml-*-re): Convert defvars into defconsts, and
12497 eval-and-compile them so eval-and-compile works on derivatives.
12498 (xml--entity-replacement-text): Use eval-and-comple.
12500 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12502 * vc/vc-git.el (vc-git-registered): Use cache property
12504 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12505 `vc-git-working-revision' in order to benefit from the cache.
12506 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12508 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12510 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12511 removed (likely outside Emacs). (Bug#11757)
12513 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12515 * emacs-lisp/cl-lib.el: Require macroexp.
12517 2012-06-30 Chong Yidong <cyd@gnu.org>
12519 * xml.el: Implement XML parameter entities.
12520 (xml-parameter-entity-alist): New variable.
12521 (xml-parse-region, xml-parse-fragment): Preserve previous values
12522 of xml-entity-alist and xml-parameter-entity-alist, so that
12523 repeated calls on different documents do not change them.
12524 (xml-parse-tag): Fix doctype regexp.
12525 (xml--entity-replacement-text): New function.
12526 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12527 properly requires url retrieval which is unimplemented.
12528 (xml-escape-string): Doc fix.
12530 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12534 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12536 * fringe.el (fringe-mode): Doc fix.
12538 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12540 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12542 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12543 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12545 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12547 * calendar/cal-dst.el (calendar-current-time-zone):
12548 Return calendar-current-time-zone-cache if non-nil.
12550 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12552 * progmodes/which-func.el (which-func-format):
12553 Add mouse-face. (Bug#11698)
12555 2012-06-29 Leo Liu <sdl.web@gmail.com>
12557 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12559 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12561 * minibuffer.el (minibuffer-confirm-exit-commands):
12562 Add completion-at-point (bug#11725).
12564 2012-06-29 Glenn Morris <rgm@gnu.org>
12566 * progmodes/f90.el (f90-font-lock-keywords-2):
12567 Add some preprocessor elements. (Bug#10499)
12569 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12571 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12572 Use syntax-propertize (bug#11739).
12574 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12576 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12578 2012-06-28 Julien Danjou <julien@danjou.info>
12580 * term.el (term-handle-colors-array): Use a set of new faces to
12581 color the terminal. Also uses :inverse-video property.
12582 (term-default-fg-color): Set to nil by default, deprecate in favor
12584 (term-default-bg-color): Set to nil by default, deprecate in favor
12586 (term-current-face): Use `term-face' by default.
12587 (term-bold-attribute): Variable deleted.
12589 2012-06-28 Glenn Morris <rgm@gnu.org>
12591 * simple.el (completion-list-mode-finish):
12592 Don't use toggle-read-only. (Since completion-list-mode has
12593 a special mode-class, it wasn't doing anything extra anyway.)
12595 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12597 Make inlining of other-mode interpreted functions work (bug#11799).
12598 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12599 (byte-compile): Use it to fix compilation of lexical-binding closures.
12600 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12601 function, if needed.
12603 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * help-mode.el (help-make-xrefs): Don't just withstand
12606 cyclic-variable-indirection but any error in documentation-property.
12608 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12610 * bindings.el (bindings--define-key): New function.
12611 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12612 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12613 * bindings.el: Use it to purecopy define-key bindings.
12615 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12617 * emacs-lisp/cl.el (flet): Mark obsolete.
12618 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12619 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12620 * progmodes/js.el (js-c-fill-paragraph):
12621 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12622 (ebrowse-switch-member-buffer-to-derived-class):
12623 * play/5x5.el (5x5-solver): Use cl-flet.
12625 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12626 (cl--symbol-function): New macro.
12627 (cl--letf, cl--letf*): Use it.
12629 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12630 Strip "toggle-" if any.
12632 2012-06-27 Glenn Morris <rgm@gnu.org>
12634 * info.el (Info-default-directory-list): Move here from paths.el.
12635 * paths.el: Remove file, which is now empty.
12636 * loadup.el: No longer load "paths".
12638 * custom.el (custom-initialize-delay): Doc fix.
12640 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12641 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12642 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12643 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12644 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12645 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12646 * eshell/eshell.el (eshell-defgroup): Remove alias.
12648 2012-06-27 Chong Yidong <cyd@gnu.org>
12650 * help.el (help-enable-auto-load): New variable.
12652 * help-fns.el (help-fns--autoloaded-p): New function.
12653 (describe-function-1): Refer to a function as "autoloaded" if it
12654 was autoloaded at any time in the past. Perform autoloading if
12655 help-enable-auto-load is non-nil.
12657 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12659 * makefile.w32-in (compile, compile-always): Depend on
12660 update-subdirs, not on subdirs.el. Otherwise, several different
12661 sub-targets of 'bootstrap' running in parallel could
12662 simultaneously write to subdirs.el, producing a garbled file.
12664 2012-06-26 Sam Steingold <sds@gnu.org>
12666 * files.el (file-name-base): New convenience function.
12667 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12668 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12669 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12670 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12671 * textmodes/ispell.el, textmodes/reftex-ref.el:
12672 * textmodes/tex-mode.el: Use it.
12673 Did not touch cedet and org because they are maintained elsewhere.
12675 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12677 * calendar/calendar.el (calendar-exit): Don't try to delete or
12678 iconify last frame. See:
12679 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12681 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12683 * server.el (server-process-filter): Remember dir in the
12684 process's `server-client-directory' properties.
12686 2012-06-24 Chong Yidong <cyd@gnu.org>
12688 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12691 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12693 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12695 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * help-fns.el (describe-variable): Don't croak when doc is not found.
12698 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12699 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12700 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12701 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12702 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12704 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12706 2012-06-23 Chong Yidong <cyd@gnu.org>
12708 * info.el (Info-mouse-follow-link): Accept symbol values of
12709 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12710 (Info-fontify-node): Use Info-link-keymap for all navigation
12711 buttons, with link-args property to perform the desired action.
12712 (Info-link-keymap): Doc fix.
12713 (Info-next-link-keymap, Info-prev-link-keymap)
12714 (Info-up-link-keymap): Delete now-unused keymaps.
12716 2012-06-23 Chong Yidong <cyd@gnu.org>
12718 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12720 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12723 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12725 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12727 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12730 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12731 the requote function doesn't work properly (bug#11714).
12733 2012-06-23 Glenn Morris <rgm@gnu.org>
12735 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12737 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12739 Further GV/CL cleanups.
12740 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12742 (gv--defun-declaration): New function.
12743 (defun-declarations-alist): Use it.
12744 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12745 (gv-place): Autoload.
12746 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12747 original definition of dotimes and dolist.
12748 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12749 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12750 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12751 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12752 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12753 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12754 to the function's definition.
12755 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12759 * env.el: Don't use CL.
12761 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12763 Support higher-resolution time stamps (Bug#9000).
12765 * calendar/time-date.el (with-decoded-time-value): New arg
12766 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12767 (encode-time-value): New optional arg PICO. New type 3.
12768 (time-to-seconds) [!float-time]: Support the new picoseconds
12769 component if it's used.
12770 (seconds-to-time, time-subtract, time-add):
12771 Support ps-resolution time stamps as well.
12773 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12774 (timerp): Timer vectors now have length 9, not 8.
12775 (timer--time): Support new-style (4-part) time stamps.
12776 (timer-next-integral-multiple-of-time): Time stamps now have
12777 picosecond resolution, so take a bit more care about rounding.
12778 (timer-relative-time, timer-inc-time): New optional arg psecs.
12779 (timer-set-time-with-usecs): Set psecs to 0.
12780 (timer--activate): Check psecs component, too.
12782 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12784 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12786 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12787 Move the non-essential binding to the post/pre-command-hook where it is
12788 more obviously correct.
12790 * subr.el (read-passwd): Don't use a history at all.
12791 * savehist.el (savehist-save): Remove password saved accidentally
12792 because of the above bug.
12794 2012-06-22 Bastien Guerry <bzg@gnu.org>
12796 * files.el (toggle-read-only): Display a message telling whether
12797 the buffer is read-only or not (bug#11726).
12799 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12801 * emacs-lisp/gv.el: New file.
12802 * subr.el (push, pop): Extend to generalized variables.
12803 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12804 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12805 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12806 gv-define-simple-setter, and gv-define-expander.
12807 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12808 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12809 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12810 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12811 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12813 (cl-defstruct): Don't define setf-method any more.
12814 * emacs-lisp/cl.el (flet): Don't autoload.
12815 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12816 (define-setf-expander, defsetf, define-modify-macro)
12817 (cl-struct-setf-expander): Move from cl-lib.el.
12818 * emacs-lisp/syntax.el:
12819 * emacs-lisp/ewoc.el:
12820 * emacs-lisp/smie.el:
12821 * emacs-lisp/cconv.el:
12822 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12823 (timer--time): Use gv-define-simple-setter.
12824 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12825 to avoid coding-system problems in subr.el. Adjust all users.
12826 (macroexp--maxsize, macroexp-small-p): New functions.
12827 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12828 * scroll-bar.el (scroll-bar-mode):
12829 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12830 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12831 * winner.el (winner-configuration, winner-make-point-alist)
12832 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12833 * files.el (locate-file-completion-table): Avoid list*.
12835 2012-06-22 Chong Yidong <cyd@gnu.org>
12837 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12838 (dired-create-files): Doc fix (Bug#11329).
12839 (dired-do-copy): Doc fix (Bug#11334).
12840 (dired-mark-read-string): Doc fix (Bug#11553).
12842 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12843 Doc fix (Bug#11326).
12844 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12845 (dired-dwim-target): Doc fix.
12847 * wdired.el (wdired-mode): Doc fix.
12849 2012-06-22 Glenn Morris <rgm@gnu.org>
12851 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12852 (pcmpl-rpm-cache-stamp-file): New constant.
12853 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12854 (pcmpl-rpm-packages): Optionally cache list of packages.
12856 * pcmpl-rpm.el (pcmpl-rpm): New group.
12857 (pcmpl-rpm-query-options): New option.
12858 (pcmpl-rpm-packages): No need to inline it.
12859 Use pcmpl-rpm-query-options.
12861 * calendar/calendar.el (calendar-in-read-only-buffer):
12862 Avoid some needless mode changes.
12864 2012-06-21 Chong Yidong <cyd@gnu.org>
12866 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12867 (desktop-path): Remove . from the default value (Bug#10977).
12868 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12870 2012-06-20 Chong Yidong <cyd@gnu.org>
12872 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12874 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12876 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12879 2012-06-20 Chong Yidong <cyd@gnu.org>
12881 * term.el (term-window-width): Handle the case of a missing right
12883 (term-check-size): Use window-text-height (Bug#5445).
12884 (term-mode): Use define-derived-mode. Minor cleanups.
12885 Set font-lock-defaults (Bug#7692).
12886 (term-move-columns, term-insert-char, term-emulate-terminal)
12887 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12889 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12891 * net/ange-ftp.el (ange-ftp-get-passwd):
12892 Bind `enable-recursive-minibuffers'.
12893 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12895 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12897 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12899 2012-06-19 Glenn Morris <rgm@gnu.org>
12901 * progmodes/python.el (python-mode): Derive from prog-mode.
12903 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12905 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12906 (edt-user-menu-bar-update-buffers): New functions.
12907 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12909 2012-06-19 Chong Yidong <cyd@gnu.org>
12911 * subr.el (with-selected-window): Preserve the selected window's
12912 terminal's top-frame (Bug#4702).
12914 * window.el (save-selected-window): Likewise.
12916 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12918 * progmodes/python.el (python-rx-constituents): Move backquote.
12919 (python-skeleton-define, python-define-auxiliary-skeleton):
12922 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12924 * minibuffer.el (read-file-name-default): Revert the patch from
12927 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12929 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12930 (pcase--u1, pcase--q1): Don't use apply-partially.
12932 2012-06-18 Glenn Morris <rgm@gnu.org>
12934 * progmodes/python.el (python-proc, python-buffer)
12935 (python-send-receive, python-send-string): Fix obsolete versions.
12937 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12939 * window.el (special-display-p): Completely remove stringp
12940 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12942 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12944 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12946 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12948 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12949 * net/tramp-sh.el (tramp-maybe-open-connection):
12950 Throw if `non-essential' is non-nil.
12952 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12954 * window.el (special-display-p): Signal an error if BUFFER-NAME
12955 is not a string (Bug#11713).
12957 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12959 * progmodes/python.el (python-info-beginning-of-backslash):
12960 Rename from python-info-beginning-of-backlash, as a spelling fix.
12962 2012-06-17 Chong Yidong <cyd@gnu.org>
12964 * term.el (term-emulate-terminal): If term-check-size is called,
12965 move point to the process mark without resetting point (Bug#4635).
12967 2012-06-17 Glenn Morris <rgm@gnu.org>
12969 * international/mule-cmds.el (mule-menu-keymap)
12970 (set-language-environment, set-locale-environment): Doc tweaks.
12972 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12974 * cus-face.el (custom-face-attributes): Add wave-style underline
12976 * faces.el (set-face-attribute): Update docstring to describe
12977 wave-style underline attribute.
12979 2012-06-16 Chong Yidong <cyd@gnu.org>
12981 * term/xterm.el (terminal-init-xterm): Discard input before
12982 querying background mode (Bug#10959).
12984 2012-06-16 Stefan Merten <smerten@oekonux.de>
12986 * textmodes/rst.el: Added and corrected some comments.
12987 (rst-re-alist-def): Improve symbol syntax.
12988 (rst-mode-syntax-table): Correct syntax entries.
12989 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12990 (rst-official-version, rst-official-cvs-rev): Update version
12993 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12995 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12996 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12998 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
13000 * progmodes/python.el: New python.el merge.
13001 (python-guess-indent): Obsolete var.
13002 (python-indent-guess-indent-offset): New defcustom.
13003 (python-indent): Obsolete var.
13004 (python-indent-offset): New defcustom.
13005 (python-python-command, python-jython-command): Delete var.
13006 (python-shell-interpreter): New defcustom.
13007 (python-pdbtrack-do-tracking-p): Delete var.
13008 (python-pdbtrack-activate): New defcustom.
13009 (python-use-skeletons): Obsolete var.
13010 (python-skeleton-autoinsert): New defcustom.
13011 (inferior-python-filter-regexp, python-continuation-offset)
13012 (python-honour-comment-indentation, python-indent-string-contents)
13013 (python-jython-packages, python-mode-hook)
13014 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13015 (python-shell-prompt-alist)
13016 (python-source-modes): Delete defcustoms.
13017 (python-check-buffer-name, python-eldoc-setup-code)
13018 (python-eldoc-string-code, python-ffap-setup-code)
13019 (python-ffap-string-code, python-fill-comment-function)
13020 (python-fill-decorator-function, python-fill-paren-function)
13021 (python-fill-string-function, python-imenu-include-defun-type)
13022 (python-imenu-make-tree, python-imenu-subtree-root-label)
13023 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13024 (python-shell-compilation-regexp-alist)
13025 (python-shell-completion-module-string-code)
13026 (python-shell-completion-pdb-string-code)
13027 (python-shell-completion-setup-code)
13028 (python-shell-completion-string-code)
13029 (python-shell-enable-font-lock, python-shell-exec-path)
13030 (python-shell-extra-pythonpaths)
13031 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13032 (python-shell-process-environment)
13033 (python-shell-prompt-block-regexp)
13034 (python-shell-prompt-output-regexp)
13035 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13036 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13037 (python-shell-virtualenv-path): New defcustoms.
13038 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13039 (inferior-python-mode-syntax-table, python--prompt-regexp)
13040 (python-buffer, python-command python-python-command)
13041 (python-default-template, python-imports, python-indent-index)
13042 (python-indent-list, python-indent-list-length)
13043 (python-mode-running, python-pdbtrack-is-tracking-p)
13044 (python-preoutput-continuation, python-preoutput-leftover)
13045 (python-preoutput-result, python-preoutput-skip-next-prompt)
13046 (python-prev-dir/file, python-recursing)
13047 (python-saved-check-command, python-version-checked)
13048 (python-which-func-length-limit)
13049 (view-return-to-alist): Delete vars.
13050 (python-check-custom-command, python-dotty-syntax-table)
13051 (python-imenu-index-alist, python-indent-current-level)
13052 (python-indent-dedenters, python-indent-levels)
13053 (python-nav-beginning-of-defun-regexp)
13054 (python-nav-list-defun-positions-cache)
13055 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13056 (python-shell-internal-buffer)
13057 (python-skeleton-available): New vars.
13058 (def-python-skeleton): Delete macro.
13059 (python-skeleton-define): New macro.
13060 (python-define-auxiliary-skeleton, python-rx): New macros.
13061 (python-insert-class): Delete command.
13062 (python-skeleton-class): New command.
13063 (python-insert-def): Delete command.
13064 (python-skeleton-def): New command.
13065 (python-insert-for): Delete command.
13066 (python-skeleton-for): New command.
13067 (python-insert-if): Delete command.
13068 (python-skeleton-if): New command.
13069 (python-insert-try/except, python-insert-try/finally): Delete commands.
13070 (python-skeleton-try): New command.
13071 (python-insert-while): Delete command.
13072 (python-skeleton-while): New command.
13073 (python-backspace): Delete command.
13074 (python-indent-dedent-line-backspace): New command.
13075 (python-electric-colon): Delete command.
13076 (python-indent-electric-colon): New command.
13077 (python-guess-indent): Delete command.
13078 (python-indent-guess-indent-offset): New command.
13079 (python-shift-left): Delete command.
13080 (python-indent-shift-left): New command.
13081 (python-shift-right): Delete command.
13082 (python-indent-shift-right): New command.
13083 (python-find-function): Delete command.
13084 (python-nav-jump-to-defun): New command.
13085 (python-next-statement): Delete command.
13086 (python-nav-forward-sentence): New command.
13087 (python-previous-statement): Delete command.
13088 (python-nav-backward-sentence): New command.
13089 (python-fill-paragraph): Delete command.
13090 (python-fill-paragraph-function): New command.
13091 (python-send-buffer): Delete command.
13092 (python-shell-send-buffer): New command.
13093 (python-send-defun): Delete command.
13094 (python-shell-send-defun): New command.
13095 (python-send-region, python-send-region-and-go): Delete commands.
13096 (python-shell-send-region)
13097 (python-shell-switch-to-shell): New commands.
13098 (python-send-string): Delete command.
13099 (python-shell-send-string): New command.
13100 (python-switch-to-python): Delete command.
13101 (python-shell-switch-to-shell): New command.
13102 (python-describe-symbol): Delete command.
13103 (python-eldoc-at-point): New command.
13104 (python--set-prompt-regexp, python-args-to-list)
13105 (python-after-info-look, python-check-version)
13106 (python-check-comint-prompt, python-find-imports)
13107 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13108 (python-unload-function, python-expand-template)
13109 (python-maybe-jython, python-preoutput-filter)
13110 (python-pdbtrack-get-source-buffer)
13111 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13112 (python-pdbtrack-toggle-stack-tracking)
13113 (python-pdbtrack-track-stack-file, python-initial-text)
13114 (python-first-word, python-comment-line-p, python-send-command)
13115 (python-setup-brm, python-sentinel, python-set-proc)
13116 (python-skip-out, python-input-filter, python-outdent-p)
13117 (python-outline-level, python-backslash-continuation-line-p)
13118 (python-end-of-block, python-end-of-statement, python-mark-block)
13119 (python-beginning-of-block, python-beginning-of-statement)
13120 (python-blank-line-p, python-beginning-of-string)
13121 (python-open-block-statement-p): Delete functions.
13122 (python-indent-line, python-indent-line-1): Delete functions.
13123 (python-indent-line): New function.
13124 (python-indentation-levels): Delete function.
13125 (python-indent-calculate-levels): New function.
13126 (python-proc): Delete function.
13127 (python-shell-get-process): New function.
13128 (python-send-receive): Delete function.
13129 (python-shell-send-string-no-output): New function.
13130 (python-module-path): Delete function.
13131 (python-ffap-module-path): New function.
13132 (python-completion-at-point)
13133 (python-symbol-completions): Delete functions.
13134 (python-completion-complete-at-point): New function.
13135 (python-load-file): Delete function.
13136 (python-shell-send-file): New function.
13137 (python-calculate-indentation): Delete function.
13138 (python-indent-calculate-indentation): New function.
13139 (python-skip-comments/blanks): Delete function.
13140 (python-util-forward-comment): New function.
13141 (python-continuation-line-p): Delete function.
13142 (python-info-continuation-line-p): New function.
13143 (python-which-func, python-current-defun): Delete function.
13144 (python-info-current-defun): New function.
13145 (python-beginning-of-defun): Delete function.
13146 (python-nav-beginning-of-defun): New function.
13147 (python-close-block-statement-p)
13148 (python-block-end-p): Delete function.
13149 (python-info-closing-block): New function.
13150 (python-comint-output-filter-function)
13151 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13152 (python-fill-comment, python-fill-decorator, python-fill-paren)
13153 (python-fill-string, python-imenu-make-element-tree)
13154 (python-imenu-make-tree, python-imenu-tree-assoc)
13155 (python-indent-context, python-indent-dedent-line)
13156 (python-indent-line-function)
13157 (python-indent-post-self-insert-function)
13158 (python-indent-toggle-levels)
13159 (python-info-assignment-continuation-line-p)
13160 (python-info-beginning-of-backlash)
13161 (python-info-block-continuation-line-p)
13162 (python-info-closing-block-message)
13163 (python-info-line-ends-backslash-p)
13164 (python-info-looking-at-beginning-of-defun)
13165 (python-info-ppss-context, python-info-ppss-context-type)
13166 (python-nav-list-defun-positions, python-nav-read-defun)
13167 (python-nav-sentence-end, python-nav-sentence-start)
13168 (python-pdbtrack-comint-output-filter-function)
13169 (python-pdbtrack-set-tracked-buffer)
13170 (python-shell-calculate-exec-path)
13171 (python-shell-calculate-process-environment)
13172 (python-shell-completion--do-completion-at-point)
13173 (python-shell-completion--get-completions)
13174 (python-shell-completion-complete-at-point)
13175 (python-shell-completion-complete-or-indent)
13176 (python-shell-get-or-create-process)
13177 (python-shell-get-process-name)
13178 (python-shell-internal-get-or-create-process)
13179 (python-shell-internal-get-process-name)
13180 (python-shell-internal-send-string, python-shell-make-comint)
13181 (python-shell-parse-command, python-shell-send-setup-code)
13182 (python-skeleton-add-menu-items)
13183 (python-util-clone-local-variables, python-util-position)
13184 (run-python-internal, python-indentation-levels)
13185 (python-nav-beginning-of-defun)
13186 (python-completion-complete-at-point): New functions.
13187 (run-python): Change arguments. New API requirements.
13189 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13194 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13195 (macroexp--expand-all): Use it.
13197 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13198 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13199 Use `cl-function' instead.
13201 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13203 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13204 Suggested by Stefan Monnier while discussing bug#11657.
13206 2012-06-14 Sam Steingold <sds@gnu.org>
13208 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13210 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13212 * play/doctor.el (doctor-doc): Remove parameter and use
13213 doctor-sent instead of sent.
13214 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13216 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13218 * files.el: Require cl-lib.
13219 (file-name-non-special): Replace case -> cl-case.
13221 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13223 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13224 mapping from #' to function*.
13226 2012-06-13 Chong Yidong <cyd@gnu.org>
13228 * mouse.el (mouse-drag-track): Do not set the mark if the user
13229 releases the mouse without selecting anything (Bug#11588).
13231 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13233 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13234 as well (bug#11646).
13236 * loadup.el: Count byte-code functions as well.
13238 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13239 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13241 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13242 (bug#11649). Add cl-defun and cl-defmacro.
13244 2012-06-13 Drew Adams <drew.adams@oracle.com>
13246 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13249 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13251 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13252 Otherwise, it blocks in batch mode.
13254 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13256 * help-mode.el (bookmark-make-record-default): Declare.
13258 2012-06-13 Chong Yidong <cyd@gnu.org>
13260 * emacs-lisp/package.el (list-packages): Compute a list of
13261 packages that are newly-available since the last list-packages
13263 (package-menu--new-package-list): New var.
13264 (package-menu--generate, package-menu--print-info)
13265 (package-menu--status-predicate, package-menu-mark-install):
13266 Handle new status label "new".
13268 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13270 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13271 conversion to backquotes.
13273 2012-06-12 Chong Yidong <cyd@gnu.org>
13275 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13276 Rename from gud-inhibit-global-bindings.
13278 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13280 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13281 hook from nxml-glyph-set-hook.
13283 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13286 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13288 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13289 Convert to defcustom.
13291 2012-06-12 Drew Adams <drew.adams@oracle.com>
13293 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13295 (help-mode): Use them.
13297 2012-06-11 Glenn Morris <rgm@gnu.org>
13299 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13300 Use preprocessor face for directives.
13301 (fortran-directive-re): Doc fix.
13303 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13305 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13306 conversion to backquotes (bug#11652).
13308 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13309 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13310 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13311 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13312 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13313 (cl-ninth, cl-tenth): Mark them as inlinable.
13314 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13315 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13316 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13317 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13318 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13319 (cl-list*, cl-adjoin): Don't put an autoload manually.
13320 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13321 (cl--compiler-macro-list*): Add autoload cookie.
13322 (cl--compiler-macro-cXXr): New function.
13324 * help-fns.el (help-fns--compiler-macro): New function extracted from
13325 describe-function-1; follow aliases and use `compiler-macro' property.
13326 (describe-function-1): Use it.
13328 2012-06-11 Chong Yidong <cyd@gnu.org>
13330 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13331 is uninstalled, if imagemagick is installed.
13333 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13335 * emacs-lisp/cl-lib.el: Use lexical-binding.
13336 (cl-map-extents, cl-maclisp-member): Remove.
13337 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13338 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13339 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13340 * emacs-lisp/cl-extra.el: Use lexical-binding.
13341 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13342 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13343 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13344 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13345 * emacs-lisp/cl-seq.el: Use lexical-binding.
13346 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13347 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13348 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13349 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13350 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13353 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13355 Sync with Tramp 2.2.6-pre.
13357 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13358 `print-length' and `print-level' to nil, in order to avoid
13359 truncation. Reported by Christopher Schmidt
13360 <christopher@ristopher.com>.
13362 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13364 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13366 (tramp-compat-copy-directory): Add optional argument
13367 COPY-CONTENTS. It is not handled yet.
13369 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13370 (tramp-ftp-file-name-p): Simplify.
13372 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13373 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13376 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13377 (tramp-methods): Do not use `tramp-password-end-of-line'.
13378 (tramp-completion-function-alist-putty): Handle UNIX case.
13379 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13380 (tramp-do-file-attributes-with-stat)
13381 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13382 gid as real numbers. They could run out of integer range on cygwin.
13383 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13384 (tramp-sh-handle-expand-file-name): Handle hops.
13385 (tramp-open-connection-setup-interactive-shell):
13386 Use `tramp-cleanup'. Move check for busyboxes ...
13387 (tramp-find-shell): ... here. Simplify implementation.
13388 Set "remote-shell" property also for alternative shells.
13389 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13390 If failing, a regular file would be written otherwise.
13391 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13392 (tramp-find-inline-encoding): Cache the coding commands in the
13393 process cache. Apply test command on the remote side, if defined.
13394 (tramp-find-inline-compress): Cache the compress commands in the
13396 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13397 when requested. Handle hops.
13398 (tramp-current-connection): New defvar.
13399 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13400 Throw `suppress', if there was a failed connection shortly before.
13401 Handle user interrupt. (Bug#10187)
13402 (tramp-get-inline-compress, tramp-get-inline-coding):
13403 Read connection properties from the process cache.
13405 * net/tramp-smb.el (tramp-smb-server-version)
13406 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13408 (tramp-smb-prompt): Extend for powershell prompt.
13409 (tramp-smb-file-name-handler-alist): Add handlers for
13410 `process-file', `shell-command' and `start-file-process'.
13411 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13412 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13413 (tramp-smb-file-name-p): Simplify.
13414 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13415 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13416 (tramp-smb-shell-quote-argument): New defuns.
13417 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13418 Implement using "tar". By this, time-stamps are preserved.
13419 (tramp-smb-handle-copy-file): Handle also the case of directories.
13420 (tramp-smb-do-file-attributes-with-stat)
13421 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13422 Use `tramp-get-connection-buffer').
13423 (tramp-smb-handle-rename-file): Use "rename", when source and
13424 target are on the same share.
13425 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13426 Use `tramp-smb-server-version'.
13427 (tramp-smb-wait-for-output): Remove prompt.
13429 * net/tramp.el (top): Require 'cl.
13430 (tramp-methods, tramp-rsh-end-of-line):
13431 Remove `tramp-password-end-of-line' from docstring.
13432 (tramp-save-ad-hoc-proxies): New defcustom.
13433 (tramp-completion-function-alist): Adapt docstring.
13434 (tramp-default-password-end-of-line): Remove defcustom.
13435 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13436 (tramp-user-regexp, tramp-file-name-regexp-unified)
13437 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13438 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13439 (tramp-remote-file-name-spec-regexp): New defconst.
13440 (tramp-file-name-structure): Extend structure for hops.
13441 (tramp-get-method-parameter): Move up.
13442 (tramp-file-name-p, tramp-dissect-file-name)
13443 (with-parsed-tramp-file-name): Handle hops.
13444 (tramp-file-name-hop): New defun.
13445 (tramp-make-tramp-file-name): New optional arg HOP.
13446 (tramp-message-show-progress-reporter-message): New defvar.
13447 (tramp-with-progress-reporter): Use it. We cannot use
13448 `tramp-message-show-message' here, because this suppresses also
13450 (tramp-error-with-buffer): Suppress buffer view, if
13451 `tramp-message-show-message' is nil.
13452 Use `tramp-get-connection-buffer'.
13453 (tramp-cleanup): New defun.
13454 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13455 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13456 an error unchanged.
13457 (tramp-completion-handle-file-name-all-completions): Handle hops.
13458 Fix an error when called from ido.
13459 (tramp-completion-dissect-file-name): Use better local variable
13460 name. Add hop to the vector.
13461 (tramp-handle-insert-file-contents): Use progress-reporter for the
13463 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13465 (tramp-check-for-regexp): Simplify search.
13466 (tramp-enter-password): Remove it. Move implementation ...
13467 (tramp-action-password): ... here.
13468 (tramp-mode-string-to-int, tramp-local-host-p)
13469 (tramp-make-tramp-temp-file, tramp-read-passwd)
13470 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13471 Set tramp-autoload cookie.
13473 * net/trampver.el: Update release number.
13475 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13476 Michael Albinus <michael.albinus@gmx.de>
13478 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13479 (tramp-parse-group, tramp-parse-file)
13480 (tramp-parse-shostkeys-sknownhosts): New defuns.
13481 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13482 (tramp-parse-shosts-group, tramp-parse-sconfig)
13483 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13484 (tramp-parse-sknownhosts, tramp-parse-hosts)
13485 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13487 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13488 (tramp-parse-putty-group): Don't narrow.
13489 (tramp-parse-putty): Make a loop.
13490 (tramp-file-name-handler): Catch the `suppress' signal.
13492 2012-06-11 Chong Yidong <cyd@gnu.org>
13494 * image.el (imagemagick-register-types): Put the ImageMagick entry
13495 at the end of image-type-file-name-regexps.
13497 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13499 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13500 (pcase, pcase-let*, pcase-dolist): Use them.
13502 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13504 * emacs-lisp/pcase.el (pcase--let*): New function.
13505 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13506 (pcase--expand): Use macroexp-let².
13508 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13510 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13511 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13512 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13513 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13514 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13515 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13517 2012-06-10 Glenn Morris <rgm@gnu.org>
13519 * mail/rmail.el (rmail-yank-current-message): Leave point at
13520 correct position. (Bug#11660)
13522 2012-06-10 Chong Yidong <cyd@gnu.org>
13524 * allout-widgets.el: Fix code header.
13526 2012-06-10 Chong Yidong <cyd@gnu.org>
13528 * cus-edit.el (customize-changed-options-previous-release):
13531 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13533 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13535 2012-06-09 Chong Yidong <cyd@gnu.org>
13537 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13539 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13541 * window.el (special-display-popup-frame): Don't use
13542 window--display-buffer (Bug#11651).
13544 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13546 Fix parallel builds: make sure loaddefs.el is not being written
13547 while Lisp files are compiled.
13548 (compile): Don't depend on 'mh-autoloads'.
13549 (compile-CMD, compile-SH): Depend on 'autoloads'.
13550 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13552 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13554 2012-06-09 Chong Yidong <cyd@gnu.org>
13556 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13557 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13558 Doc fixes (Bug#11225).
13560 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13563 a function if there's a clear indication that it has a compiler-macro.
13564 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13565 (macro-declarations-alist): Add arglist to declaration functions.
13566 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13567 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13568 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13569 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13570 Also add autoload to find the compiler macro.
13571 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13572 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13573 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13574 (cl--compiler-macro-get): New functions, replacing calls to
13575 cl-define-compiler-macro.
13576 (cl-typep) [compiler-macro]: Use macroexp-let².
13578 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13580 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13581 string properly, fixes Bug#11473.
13583 2012-06-08 Chong Yidong <cyd@gnu.org>
13585 * faces.el (set-face-attribute): Doc fix.
13586 (modify-face): Don't use :bold and :italic.
13587 (error, warning, success): Tweak definitions.
13589 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13590 (custom-modified, custom-set, custom-changed, custom-themed)
13591 (custom-saved, custom-button, custom-button-mouse)
13592 (custom-button-pressed, custom-state, custom-comment-tag)
13593 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13594 (custom-group-subtitle): Use new-style face specs.
13595 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13596 (custom-set-face, custom-changed-face, custom-saved-face)
13597 (custom-button-face, custom-button-pressed-face)
13598 (custom-documentation-face, custom-state-face)
13599 (custom-comment-face, custom-comment-tag-face)
13600 (custom-variable-tag-face, custom-variable-button-face)
13601 (custom-face-tag-face, custom-group-tag-face-1)
13602 (custom-group-tag-face): Remove obsolete face alias.
13604 * epa.el (epa-validity-high, epa-validity-medium)
13605 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13606 (epa-field-name, epa-field-body):
13607 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13608 (font-lock-keyword-face, font-lock-builtin-face)
13609 (font-lock-function-name-face, font-lock-variable-name-face)
13610 (font-lock-type-face, font-lock-constant-face):
13611 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13612 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13613 * speedbar.el (speedbar-button-face, speedbar-file-face)
13614 (speedbar-directory-face, speedbar-tag-face)
13615 (speedbar-selected-face, speedbar-highlight-face)
13616 (speedbar-separator-face):
13617 * whitespace.el (whitespace-newline, whitespace-space)
13618 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13619 (whitespace-line, whitespace-space-before-tab)
13620 (whitespace-space-after-tab, whitespace-indentation)
13621 (whitespace-empty):
13622 * emulation/cua-base.el (cua-global-mark):
13623 * eshell/em-prompt.el (eshell-prompt):
13624 * net/newst-plainview.el (newsticker-new-item-face)
13625 (newsticker-old-item-face, newsticker-immortal-item-face)
13626 (newsticker-obsolete-item-face, newsticker-date-face)
13627 (newsticker-statistics-face, newsticker-default-face):
13628 * net/newst-reader.el (newsticker-feed-face)
13629 (newsticker-extra-face, newsticker-enclosure-face):
13630 * net/newst-treeview.el (newsticker-treeview-face)
13631 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13632 (newsticker-treeview-immortal-face)
13633 (newsticker-treeview-obsolete-face)
13634 (newsticker-treeview-selection-face):
13635 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13636 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13637 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13638 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13639 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13640 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13641 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13643 * progmodes/vera-mode.el (vera-font-lock-number)
13644 (vera-font-lock-function, vera-font-lock-interface):
13645 * textmodes/table.el (table-cell): Use new-style face specs, and
13646 don't use the old :bold and :italic attributes.
13648 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13649 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13650 (ebrowse-member-class, ebrowse-progress): Likewise.
13651 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13652 (ebrowse-file-name-face, ebrowse-default-face)
13653 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13654 (ebrowse-progress-face): Remove obsolete faces.
13656 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13657 Inherit from error and warning faces respectively.
13659 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13661 (flyspell-incorrect-face, flyspell-duplicate-face):
13662 Remove obsolete aliases.
13664 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13666 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13669 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13671 * startup.el (argv, argi): Make lexically scoped.
13672 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13673 * emacs-lisp/cl-macs.el: Use lexical-binding.
13674 Rename cl-bind-* to cl--bind-*.
13675 * files.el: Don't require `cl' since it doesn't use it.
13676 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13678 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13680 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13681 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13682 instead of calling external sort utility.
13683 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13685 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13687 * descr-text.el (describe-char): Mention how to insert the
13688 character, if the current input method doesn't support it.
13689 See the discussion in this thread for the details:
13690 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13692 2012-06-08 Sam Steingold <sds@gnu.org>
13694 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13695 XF86Back to previous-buffer.
13696 (minibuffer-local-map): Bind them to next-history-element and
13697 previous-history-element respectively.
13698 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13699 help-go-back respectively.
13700 * info.el (Info-mode-map): Bind them to Info-history-forward and
13701 Info-history-back respectively.
13702 These are the keys next to Up on the ThinkPad keyboard.
13704 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13706 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13707 * emacs-lisp/cl-macs.el: Provide itself.
13708 (cl--labels-convert-cache): New var.
13709 (cl--labels-convert): New function.
13710 (cl-flet, cl-labels): New implementation with new semantics, relying on
13712 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13713 (cl-closure-vars, cl--function-convert-cache)
13714 (cl--function-convert): Move from cl-macs.el.
13715 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13716 rename by removing the "cl-" prefix.
13717 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13719 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13721 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13722 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13723 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13724 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13725 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13726 (cl-hash-table-count): Add old compatibility aliases.
13728 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13729 Use macroexpand-all-environment instead.
13730 (cl--old-macroexpand): New var.
13731 (cl--sm-macroexpand): New function.
13732 (cl-symbol-macrolet): Use it during macro expansion.
13733 (cl--function-convert-cache): New var.
13734 (cl--function-convert): New function, extracted from
13735 cl-macroexpand-all.
13736 (cl-lexical-let): Use it.
13738 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13739 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13740 (cl-member): Remove old alias.
13742 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13743 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13744 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13745 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13746 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13747 (cl-macroexpand-cmacs): Remove var.
13748 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13749 Use macroexpand-all instead.
13751 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13753 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13754 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13755 (macroexp-copyable-p): New functions and macros.
13756 * emacs-lisp/edebug.el (edebug-unwrap):
13757 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13758 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13759 (pcase--let*): Remove.
13760 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13761 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13762 macroexp-const-p instead.
13763 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13765 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13766 instead of "cl-" for internal definitions. Use macroexp-const-p.
13767 (cl-old-bc-file-form): Remove var.
13768 (cl-const-exprs-p): Remove fun.
13769 (cl-labels, cl-macrolet): Use backquote.
13770 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13771 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13772 (cl-define-setf-expander): Rename from cl-define-setf-method.
13773 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13775 * international/mule-cmds.el: Don't require CL.
13776 (view-hello-file): Don't use `letf'.
13778 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13780 * tmm.el (tmm-prompt): Use string-prefix-p.
13781 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13782 (tmm-add-prompt): Use minibuffer-completion-help.
13783 (tmm-delete-map): Remove.
13785 * subr.el (kbd): Make it its own function.
13787 2012-06-07 Stefan Merten <smerten@oekonux.de>
13789 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13790 Silence compiler warnings. Fix versions.
13791 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13792 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13793 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13794 (rst-package-emacs-version-alist): Correct Emacs version to
13795 represent major merge with upstream.
13796 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13798 2012-06-06 Glenn Morris <rgm@gnu.org>
13800 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13801 Only print environment variables if set.
13803 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13805 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13806 (macroexp--cons): Rename from maybe-cons.
13807 (macroexp--accumulate): Rename from macroexp-accumulate.
13808 (macroexp--all-forms): Rename from macroexpand-all-forms.
13809 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13810 (macroexp--expand-all): Rename from macroexpand-all-1.
13812 2012-06-06 Sam Steingold <sds@gnu.org>
13814 * calendar/calendar.el (calendar-in-read-only-buffer):
13815 Call `special-mode' to enable the standard read-only keybindings.
13817 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13819 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13820 with "loading" messages (bug#11635).
13822 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13824 * files.el (enable-remote-dir-locals): New option.
13825 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13827 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13828 Ensure, that the temp directory is local.
13830 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13831 `temporary-file-directory'.
13833 * progmodes/python.el (python-send-region): Ensure, that the
13834 temporary file is created also in the remote case.
13836 2012-06-06 Glenn Morris <rgm@gnu.org>
13838 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13839 (vc-rcs-update-changelog): Use it.
13841 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13843 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13844 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13845 (vc-sccs-diff): Replace use of the external vcdiff script.
13847 2012-06-05 Glenn Morris <rgm@gnu.org>
13849 * ledit.el: Move to obsolete/.
13851 2012-06-05 Sam Steingold <sds@gnu.org>
13853 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13856 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13858 * emacs-lisp/cust-print.el: Move to obsolete.
13860 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13861 compiler-macro expansion.
13863 Add native compiler-macro support.
13864 * emacs-lisp/macroexp.el (macroexpand-all-1):
13865 Support compiler-macros directly. Properly follow aliases and apply
13866 the compiler macros more thoroughly.
13867 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13868 macroexpand now properly follows aliases.
13869 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13870 (cl-compiler-macroexpand): Use new prop.
13871 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13873 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13875 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13877 * window.el (get-lru-window, get-mru-window, get-largest-window):
13878 New argument NOT-SELECTED to avoid picking the selected window.
13879 (window--display-buffer-1, window--display-buffer-2): Replace by
13880 new function window--display-buffer
13881 (display-buffer-same-window, display-buffer-reuse-window)
13882 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13883 Use window--display-buffer.
13884 (display-buffer-use-some-window): Remove temporary dedication
13885 hack by calling get-lru-window and get-largest-window with
13886 NOT-SELECTED argument non-nil. Call window--display-buffer.
13888 2012-06-05 Glenn Morris <rgm@gnu.org>
13890 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13891 Replace external vcdiff script.
13893 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13897 2012-06-04 Chong Yidong <cyd@gnu.org>
13899 * image.el (imagemagick-types-inhibit): Revert last change.
13901 (imagemagick-enabled-types): Remove CIN and EPS*.
13903 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13905 * emacs-lisp/cl-lib.el: Rename from cl.el.
13906 * emacs-lisp/cl.el: New compatibility file.
13907 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13908 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13909 to obey the "cl-" prefix.
13910 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13912 2012-06-03 Glenn Morris <rgm@gnu.org>
13914 * emacs-lisp/authors.el (authors-aliases): Addition.
13916 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13919 2012-06-03 Stefan Merten <smerten@oekonux.de>
13921 * textmodes/rst.el: Add comments.
13922 (rst-transition, rst-adornment): New faces.
13923 (rst-adornment-faces-alist): Make default safe to reevaluate.
13925 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13926 Improve customization tags.
13927 (rst-define-level-faces): Clarify meaning.
13929 2012-06-03 Chong Yidong <cyd@gnu.org>
13931 * progmodes/compile.el (compilation-mode-line-fail)
13932 (compilation-mode-line-run, compilation-mode-line-exit):
13934 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13936 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13938 * progmodes/which-func.el (which-func-update-ediff-windows):
13939 New function. Use it in ediff-select-hook (Bug#11478).
13941 2012-06-03 Chong Yidong <cyd@gnu.org>
13943 * bindings.el: Remove explicit help text from format-mode-line.
13944 It is now supplied by mode-line-default-help-echo.
13945 (mode-line-front-space, mode-line-end-spaces)
13946 (mode-line-misc-info): New variables.
13947 (mode-line-modes, mode-line-position): Move the default value to
13948 the variable definition.
13949 (mode-line-default-help-echo): New defcustom.
13950 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13951 (mode-line-modified-help-echo): New functions.
13952 (mode-line-mule-info, mode-line-modified): Use them.
13953 (mode-line-eol-desc, propertized-buffer-identification):
13954 Consistency fixes for help text.
13955 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13956 set-buffer-file-coding-system (Bug#289).
13957 (mode-line-mule-info-help-echo): Update help text.
13959 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13961 * simple.el (execute-extended-command): Set real-this-command
13964 2012-06-02 Chong Yidong <cyd@gnu.org>
13966 Remove incorrect uses of "modeline" in comments, docstrings, and
13967 function/variable names (Bug#10329).
13969 * cus-edit.el (mode-line):
13970 * dframe.el (dframe-mouse-hscroll):
13971 * emacs-lisp/re-builder.el:
13972 * emacs-lisp/easy-mmode.el (define-minor-mode):
13973 * frame.el (set-frame-name):
13974 * help.el (lookup-minor-mode-from-indicator):
13975 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13976 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13977 (c-toggle-hungry-state):
13978 * progmodes/antlr-mode.el (antlr-language-alist):
13979 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13980 * progmodes/vhdl-mode.el (vhdl-mode):
13981 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13982 * term/ns-win.el (ns-face-at-pos):
13983 * term/sup-mouse.el (sup-mouse-report):
13984 * textmodes/flyspell.el (flyspell-mode-line-string):
13985 * textmodes/ispell.el (ispell-highlight-face):
13986 * textmodes/reftex-global.el:
13987 * vc/vc-arch.el (vc-arch-mode-line-string):
13988 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13989 * vc/vc-git.el (vc-git-mode-line-string):
13990 * vc/vc-hooks.el (vc-display-status)
13991 (vc-default-mode-line-string):
13992 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13994 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13996 * dired.el (dired-sort-set-mode-line): Rename from
13997 dired-sort-set-modeline. All callers changed.
13999 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14000 eshell-status-in-modeline.
14002 * foldout.el (foldout-mode-line-string): Rename from
14003 foldout-modeline-string. All callers changed.
14004 (foldout-update-mode-line): Rename from foldout-update-modeline.
14006 * subr.el (redraw-modeline): Make into obsolete alias.
14008 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14009 timeclock-modeline-display. Make old name an alias.
14010 (timeclock-update-mode-line): Likewise. All callers changed.
14011 (timeclock-mode-line-display): No need to check before using
14013 (timeclock-relative, timeclock-day-over-hook)
14014 (timeclock-use-elapsed, timeclock-mode-string)
14015 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14017 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14018 crisp-mode-modeline-string.
14020 * play/solitaire.el (solitaire-build-mode-line): Rename from
14021 solitaire-build-modeline. All callers changed.
14023 * play/zone.el (zone-hiding-mode-line): Rename from
14024 zone-hiding-modeline. All callers changed.
14025 (zone): Remove unusued `modeline-hidden-level' property.
14027 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14028 xscheme-modeline-initialize. All callers changed.
14030 * strokes.el (strokes-lighter): Rename from
14031 strokes-modeline-string.
14033 * textmodes/sgml-mode.el (html-face-tag-alist)
14034 (html-tag-face-alist): Use mode-line face instead of obsolete
14037 2012-06-02 Stefan Merten <smerten@oekonux.de>
14039 * textmodes/rst.el: Always require `cl'.
14040 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14042 2012-06-02 Chong Yidong <cyd@gnu.org>
14044 * image.el (imagemagick-enabled-types): Rename from
14045 imagemagick-types-enable. Add many more types.
14046 (imagemagick-types-inhibit): Change default to nil.
14047 (imagemagick-filter-types): Caller changed.
14049 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14051 * emacs-lisp/cl-macs.el: Use backquotes.
14052 (cl-transform-function-property): Use eval-and-compile rather than
14054 (defstruct): Use declare-function instead of with-no-warnings.
14056 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14057 (byte-compile-output-docform): Re-add the print-circle bindings.
14058 (byte-compile-fix-header): Use #$ just because it's shorter.
14059 (byte-compile-output-file-form): Remove defun/defmacro.
14061 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14063 * simple.el (choose-completion): Remove now obsolete binding for
14066 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14068 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14069 in order to avoid "Stack overflow in regexp matcher".
14071 2012-05-31 Glenn Morris <rgm@gnu.org>
14073 * image.el: For clarity, call imagemagick-register-types at
14074 top-level, rather than relying on a custom :initialize.
14075 (imagemagick-types-enable): New option. (Bug#11557)
14076 (imagemagick-filter-types): New function. (Bug#7406)
14077 (imagemagick-register-types): Use imagemagick-filter-types.
14078 If disabling support, remove elements altogether rather
14079 than using an impossible regexp.
14080 (imagemagick-types-inhibit): Give it the default init function.
14082 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14084 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14085 Handle arbitrary file name lengths (Bug#11585).
14087 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14089 * desktop.el (desktop-read): Clear previous and next buffers for
14090 all windows and bury *Messages* buffer (bug#11556).
14092 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14094 Add `declare' for `defun'. Align `defmacro's with it.
14095 * emacs-lisp/easy-mmode.el (define-minor-mode)
14096 (define-globalized-minor-mode): Don't autoload the var definitions.
14097 * emacs-lisp/byte-run.el: Use lexical-binding.
14098 (defun-declarations-alist, macro-declarations-alist): New vars.
14099 (defmacro, defun): Use them.
14100 (make-obsolete, define-obsolete-function-alias)
14101 (make-obsolete-variable, define-obsolete-variable-alias):
14103 (macro-declaration-function): Mark obsolete.
14104 * emacs-lisp/autoload.el: Use lexical-binding.
14105 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14107 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14109 * textmodes/ispell.el (ispell-with-no-warnings):
14111 (ispell-kill-ispell, ispell-change-dictionary):
14112 Use `called-interactively-p' for Emacs instead of obsolete
14115 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14117 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14118 (macro-declaration-function): Move var from C code.
14119 (macro-declaration-function): Define function with defalias.
14120 * emacs-lisp/macroexp.el (macroexpand-all-1):
14121 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14122 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14123 defun/defmacro any more.
14124 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14125 Provide fallback for unknown arglist.
14126 (byte-compile-arglist-warn): Change calling convention.
14127 (byte-compile-output-file-form): Move print-vars binding.
14128 (byte-compile-output-docform): Simplify accordingly.
14129 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14130 (byte-compile-defmacro-declaration): Remove.
14131 (byte-compile-file-form-defmumble): Generalize to defalias.
14132 (byte-compile-output-as-comment): Return byte-positions.
14133 Simplify callers accordingly.
14134 (byte-compile-lambda): Use `assert'.
14135 (byte-compile-defun, byte-compile-defmacro): Remove.
14136 (byte-compile-file-form-defalias):
14137 Use byte-compile-file-form-defmumble.
14138 (byte-compile-defalias-warn): Remove.
14140 2012-05-29 Stefan Merten <smerten@oekonux.de>
14142 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14143 possible. Fix authors. Improve comments. Improve loading of `cl'.
14145 (rst-mode-abbrev-table): Merge definition.
14146 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14147 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14149 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14151 * calendar/icalendar.el
14152 (icalendar-export-region): Export UID properly.
14154 2012-05-29 Leo Liu <sdl.web@gmail.com>
14155 * calendar/icalendar.el (icalendar-import-format):
14156 Add `icalendar-import-format-uid' (Bug#11525).
14157 (icalendar-import-format-uid): New.
14158 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14161 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14163 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14164 different alternative patterns.
14165 (pcase-codegen): Be more careful to preserve identity.
14166 (pcase--u1): Don't forget to mark vars as used.
14168 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14169 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14170 (byte-compile-from-buffer): ...rather than here.
14172 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14173 functions from byte-compile-function-environment.
14175 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14177 * window.el (window-deletable-p): Avoid deleting the root window
14178 of a frame with an active minibuffer.
14180 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14182 * simple.el (choose-completion): Use quit-window (Bug#11567).
14184 2012-05-29 Chong Yidong <cyd@gnu.org>
14186 * whitespace.el (whitespace-cleanup): Fix usage of
14187 whitespace-empty-at-bob-regexp (Bug#11492).
14189 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14191 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14192 revert (Bug#11488).
14194 2012-05-29 Juri Linkov <juri@jurta.org>
14196 * isearch.el (isearch-mode-map): Bind `M-s _' to
14197 `isearch-toggle-symbol'. Bind `M-s c' to
14198 `isearch-toggle-case-fold'.
14199 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14200 (isearch-forward): Add `M-s _' to the docstring.
14201 (isearch-forward-symbol, isearch-toggle-case-fold)
14202 (isearch-symbol-regexp): New functions. (Bug#11381)
14204 2012-05-29 Juri Linkov <juri@jurta.org>
14206 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14207 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14208 a function, call it to get the regexp.
14209 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14210 property `isearch-message-prefix' instead of the string "word ".
14211 (isearch-search-fun-default): For the case of `isearch-word',
14212 return a lambda that calls re-search-forward/re-search-backward
14213 with a regexp returned by `word-search-regexp' or by the function
14216 2012-05-29 Juri Linkov <juri@jurta.org>
14218 * isearch.el (isearch-search-fun-default): New function.
14219 (isearch-search-fun): Move default part to the new function
14220 `isearch-search-fun-default'.
14221 (isearch-search-fun-function): Set the default value to
14222 `isearch-search-fun-default'. (Bug#11381)
14224 * comint.el (comint-history-isearch-end):
14225 Use `isearch-search-fun-default'.
14226 (comint-history-isearch-search): Use `isearch-search-fun-default'
14227 and remove spacial case for `isearch-word'.
14228 (comint-history-isearch-wrap): Remove spacial case for
14231 * hexl.el (hexl-isearch-search-function):
14232 Use `isearch-search-fun-default'.
14234 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14235 Use `word-search-regexp' for `isearch-word'.
14237 * misearch.el (multi-isearch-search-fun):
14238 Use `isearch-search-fun-default'.
14240 * simple.el (minibuffer-history-isearch-search):
14241 Use `isearch-search-fun-default' and remove spacial case for
14243 (minibuffer-history-isearch-wrap): Remove spacial case for
14246 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14247 Remove spacial case for `isearch-word'.
14248 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14250 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14252 Decrease XEmacs incompatibilities.
14253 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14254 Use `string-match'.
14255 (flyspell-delete-region-overlays): Use alternative definition for
14257 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14258 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14259 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14260 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14261 `define-obsolete-face-alias' under XEmacs, but old method.
14263 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14264 `with-no-warnings' definition or Emacs alias.
14265 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14266 (ispell-word): Do not use `region-p' if XEmacs.
14268 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14270 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14271 Check for `ispell-dictionary-base-alist' instead of full
14272 `ispell-dictionary-alist'.
14273 (ispell-init-process): Show spellchecker when starting new Ispell
14276 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14278 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14279 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14281 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14283 * version.el (motif-version-string, gtk-version-string)
14284 (ns-version-string): Declare.
14286 2012-05-27 Juri Linkov <juri@jurta.org>
14288 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14289 after the `eval-defun-1' specialcaseing
14290 like in `edebug-eval-defun' (bug#10181).
14292 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14293 like in `eval-defun-1'.
14295 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14297 * mail/sendmail.el (mail-yank-region):
14298 Recognize rmail-yank-current-message in addition to insert-buffer.
14299 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14300 a *mail* buffer created through rmail-start-mail with sendmail as
14303 2012-05-27 Chong Yidong <cyd@gnu.org>
14305 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14306 Default to 256 (Bug#11267).
14308 * help.el (describe-mode): Doc fix.
14310 2012-05-26 Glenn Morris <rgm@gnu.org>
14312 * w32-fns.el (w32-init-info): Remove.
14313 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14315 * info.el (info-initialize): For self-contained NS builds, put the
14316 included info/ directory at the front. (Bug#2791)
14318 * paths.el (Info-default-directory-list): Make it a defcustom,
14319 mainly so that we can use custom-initialize-delay.
14321 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14323 * subr.el (buffer-has-markers-at): Mark obsolete.
14325 * subr.el (lambda): Use declare.
14327 * emacs-lisp/lisp-mode.el (lambda):
14328 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14330 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14332 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14334 2012-05-26 Glenn Morris <rgm@gnu.org>
14336 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14338 2012-05-25 Glenn Morris <rgm@gnu.org>
14340 * paths.el: Remove no-byte-compile.
14341 * loadup.el: No need to load paths.el uncompiled.
14343 * image.el (imagemagick-types-inhibit): Doc fix.
14345 * version.el: Remove no-byte-compile and associated formatting.
14346 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14347 is ancient code from when there was an "inc-vers.el".
14349 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14351 * progmodes/gdb-mi.el: Minor style changes.
14352 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14353 Turn into minor modes.
14354 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14355 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14356 (gdb-shell): Remove unneeded let-binding.
14357 (gdb-get-many-fields): Eliminate O(n²) behavior.
14359 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14361 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14362 platforms that don't link in fontset.c.
14364 2012-05-25 Juri Linkov <juri@jurta.org>
14366 Use the same diff color scheme as in modern VCSes (bug#10181).
14368 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14369 to avoid confusion with `diff-added' that now uses green colors.
14370 (diff-removed): Use shades of red.
14371 (diff-added): Use shades of green.
14372 (diff-changed): Leave just the yellow color.
14373 (diff-use-changed-face): New variable.
14374 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14375 how to highlight context diff changes.
14376 (diff-refine-change): Use shades of yellow.
14377 (diff-refine-removed): New face that uses shades of red.
14378 (diff-refine-added): New face that uses shades of green.
14379 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14380 `diff-refine-removed' in the call to `smerge-refine-subst'
14381 depending on the value of `diff-use-changed-face'.
14383 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14384 (smerge-other): Use shades of green.
14385 (smerge-base): Use shades of yellow.
14386 (smerge-refined-change): Empty face.
14387 (smerge-refined-removed): New face that uses shades of red.
14388 (smerge-refined-added): New face that uses shades of green.
14389 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14390 args `props-r' and `props-a', and use them. Doc fix.
14391 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14392 on its value use different faces `smerge-refined-change',
14393 `smerge-refined-removed', `smerge-refined-added' in the call to
14394 `smerge-refine-subst'.
14396 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14397 Add face condition `min-colors 88' with shades of red.
14398 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14399 `min-colors 88' with shades of green.
14400 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14401 `min-colors 88' with shades of yellow.
14403 2012-05-24 Glenn Morris <rgm@gnu.org>
14405 * paths.el (prune-directory-list, remote-shell-program): Move to...
14406 * files.el (prune-directory-list, remote-shell-program): ...here.
14407 For the latter, delay initialization, prefer ssh, just search PATH.
14409 * paths.el (term-file-prefix): Move to faces.el (the only user).
14410 * faces.el (term-file-prefix): Move here, make it a defcustom.
14412 * paths.el (news-directory, news-path, news-inews-program):
14413 Move to gnus/nnspool.el.
14415 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14417 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14418 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14419 Make the latter a defcustom, with a delayed initialization.
14421 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14422 These were deleted from Gnus itself late 2010.
14424 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14426 * progmodes/which-func.el (which-func-ff-hook):
14427 Check against user-error, not error.
14429 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14430 cl-specs.el, which no longer exists.
14432 2012-05-22 Glenn Morris <rgm@gnu.org>
14434 * info.el (info-emacs-bug): New command.
14435 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14436 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14438 2012-05-21 Glenn Morris <rgm@gnu.org>
14440 * makefile.w32-in (update-subdirs-SH):
14441 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14443 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14445 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14447 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14448 Simplify Maven regexp, and make sure the file can't start with a space
14451 2012-05-21 Glenn Morris <rgm@gnu.org>
14453 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14454 Scrap superfluous subshells.
14456 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14458 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14459 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14461 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14463 * calc/calc.el (calc-ensure-consistent-units): New variable.
14465 * calc/calc-units.el (math-consistent-units-p)
14466 (math-check-unit-consistency): New functions.
14467 (calc-quick-units, calc-convert-units):
14468 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14470 (calc-extract-units): Fix typo.
14472 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14474 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14476 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14477 (flyspell-default-deplacement-commands): Don't spell check after
14478 repeated window/frame switches (e.g. triggered by mouse-movement).
14479 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14480 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14481 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14482 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14483 Remove unused vars.
14484 (flyspell-get-casechars, flyspell-get-not-casechars):
14485 Simplify; Don't bother removing a ] just to add it back.
14486 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14488 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14490 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14492 (math-function-table): Add support for more C functions.
14494 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14496 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14497 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14498 Protect delay handling for otherchars against empty otherchars.
14500 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14502 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14503 their respective macro declarations.
14504 * skeleton.el (define-skeleton):
14505 * progmodes/compile.el (define-compilation-mode):
14506 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14507 (define-ibuffer-filter):
14508 * emacs-lisp/generic.el (define-generic-mode):
14509 * emacs-lisp/easy-mmode.el (define-minor-mode)
14510 (define-globalized-minor-mode):
14511 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14512 * emacs-lisp/byte-run.el (defsubst):
14513 * custom.el (deftheme): Add doc-string metadata.
14515 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14517 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14519 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14521 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14523 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14524 * emacs-lisp/cl-macs.el: Idem.
14525 * emacs-lisp/cl-specs.el: Remove.
14527 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14529 Minor renaming of internal CL functions and variables.
14530 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14531 (cl--position): Rename from cl-position.
14532 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14533 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14534 (cl--random-state): Rename from *random-state*.
14536 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14538 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14539 parens around the arg list (bug#11499).
14541 2012-05-17 Juri Linkov <juri@jurta.org>
14543 * isearch.el (word-search-regexp, word-search-backward)
14544 (word-search-forward, word-search-backward-lax)
14545 (word-search-forward-lax): Move functions from search.c
14546 (bug#10145, bug#11381).
14548 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14550 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14551 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14552 Delay for otherchars as for normal word components.
14554 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14556 * minibuffer.el (completion--sifn-requote): Fix last change.
14557 (minibuffer-local-must-match-filename-map):
14558 Move define-obsolete-variable-alias before its var.
14560 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14562 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14564 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14566 (completion--string-equal-p): New function.
14567 (completion--twq-all): Use it to get better assertion failure data.
14569 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14570 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14571 (shell--requote-argument): New functions.
14572 (shell-completion-vars): Use them.
14573 (shell--parse-pcomplete-arguments): Rename from
14574 shell-parse-pcomplete-arguments.
14575 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14576 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14577 Obey comint-file-name-quote-list.
14579 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14580 (smie-indent-keyword): Use it.
14582 2012-05-14 Stefan Merten <smerten@oekonux.de>
14584 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14586 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14588 * net/rlogin.el (rlogin-mode-map): Fix last change.
14590 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14592 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14593 the following \r\n using a single `process-send-string', since the
14594 Lotus SMTP server refuses to accept any commands if they are sent
14595 with two `process-send-string's (Bug#11444).
14597 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14599 * shell.el (shell-parse-pcomplete-arguments):
14600 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14602 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14604 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14605 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14606 (image-transform-width, image-transform-fit-width): New functions.
14607 (image-transform-properties): Use them.
14608 (image-transform-check-size): New function.
14609 (image-toggle-display-image): Use it (for testing).
14610 (image-transform-set-rotation): Reduce angle mod 360.
14611 Delete obsolete comment.
14613 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14615 * image-mode.el: Fix scaling (bug#11399).
14616 (image-transform-resize): Doc fix.
14617 (image-transform-properties): Default scale is 1 and height should
14620 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14622 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14623 than hard-coding `car', to fix misbehavior when moving forward.
14625 2012-05-13 Chong Yidong <cyd@gnu.org>
14627 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14628 (tabulated-list-entries, tabulated-list-padding)
14629 (tabulated-list-sort-key): Make permanent-local.
14631 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14632 (electric-buffer-list): Put electric buffer menu
14633 command descriptions in this docstring, instead of the docstring
14634 of electric-buffer-menu-mode. Code cleanups.
14635 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14636 Electric-buffer-menu-mode.
14637 (electric-buffer-update-highlight): Minor code cleanup.
14639 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14641 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14644 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14646 Move define-obsolete-variable-alias before the var's definition.
14647 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14648 * tooltip.el (tooltip-hook):
14649 * textmodes/reftex-toc.el (reftex-toc-map):
14650 * textmodes/reftex-sel.el (reftex-select-label-map)
14651 (reftex-select-bib-map):
14652 * textmodes/reftex-index.el (reftex-index-map)
14653 (reftex-index-phrases-map):
14654 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14655 * progmodes/meta-mode.el (meta-mode-map):
14656 * novice.el (disabled-command-hook):
14657 * loadhist.el (unload-hook-features-list):
14658 * frame.el (blink-cursor):
14659 * files.el (find-file-not-found-hooks, write-file-hooks)
14660 (write-contents-hooks):
14661 * emulation/tpu-edt.el (GOLD-map):
14662 * emacs-lock.el (emacs-lock-from-exiting):
14663 * emacs-lisp/generic.el (generic-font-lock-defaults):
14664 * emacs-lisp/chart.el (chart-map):
14665 * dos-fns.el (register-name-alist):
14666 * dired-x.el (dired-omit-files-p):
14667 * desktop.el (desktop-enable):
14668 * cus-edit.el (custom-mode-hook):
14669 * buff-menu.el (buffer-menu-mode-hook):
14670 * bookmark.el (bookmark-read-annotation-text-func)
14671 (bookmark-exit-hooks):
14672 * allout.el (allout-mode-deactivate-hook)
14673 (allout-exposure-change-hook, allout-structure-added-hook)
14674 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14675 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14676 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14677 comes before the corresponding variable's definition.
14679 2012-05-12 Chong Yidong <cyd@gnu.org>
14681 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14682 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14683 (Buffer-menu-mode-map): Bind it.
14684 (Buffer-menu--pretty-name): Add a mouse-face property.
14686 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14688 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14689 (prolog-upper-case-string, prolog-lower-case-string)
14690 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14691 (prolog-use-smie, prolog-smie-grammar): New vars.
14692 (prolog-smie-forward-token, prolog-smie-backward-token)
14693 (prolog-smie-rules): New funs.
14694 (prolog-comment-indent): Remove.
14695 (prolog-mode-variables): Use default comment indentation instead.
14697 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14698 (prolog-mode): Don't call them any more.
14699 (prolog-electric-colon, prolog-electric-dash)
14700 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14702 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14704 * minibuffer.el (completion--twq-all): Again, allow case differences.
14706 * term.el: Move keymap initialization code to be more idiomatic.
14707 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14708 (term-terminal-menu): Move initialization into declaration.
14709 (term-escape-char): Let the user set it in her .emacs.
14711 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14712 Provide SMIE-based indentation (not enabled by default yet).
14713 (sh-mode-map): Don't bind electric keys.
14714 Use electric-pair-mode instead of skeleton-pair.
14715 (sh-assignment-regexp): Fit within 80 columns.
14716 (sh-indent-supported): Specify actual shell name instead of boolean.
14717 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14718 (sh-maybe-here-document): Use it. Make obsolete.
14719 (sh-electric-here-document-mode) New minor mode.
14720 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14721 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14722 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14723 (sh-smie-rc-grammar, sh-use-smie): New vars.
14724 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14725 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14726 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14727 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14728 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14729 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14730 (sh-set-shell): Use smie-setup if requested.
14732 * term.el (term-set-escape-char): Properly set term-escape-char.
14733 See http://stackoverflow.com/questions/10524656.
14735 2012-05-10 Chong Yidong <cyd@gnu.org>
14737 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14738 Use url-generic-parse-url, and handle host names and Windows
14739 filenames properly.
14740 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14741 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14742 URL schemes to work on.
14743 (ffap--toggle-read-only): New function.
14744 (ffap-read-only, ffap-read-only-other-window)
14745 (ffap-read-only-other-frame): Use it.
14746 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14747 necessary for ffap-url-unwrap-remote.
14749 2012-05-10 Dave Abrahams <dave@boostpro.com>
14751 * cus-start.el (create-lockfiles): Add it.
14753 2012-05-09 Chong Yidong <cyd@gnu.org>
14755 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14756 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14758 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14760 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14762 2012-05-09 Chong Yidong <cyd@gnu.org>
14764 * ansi-color.el (ansi-color-process-output): Check for validity of
14765 comint-last-output-start before using it. This avoids a bad
14766 interaction with gdb-mi's input/output buffer.
14768 2012-05-09 Glenn Morris <rgm@gnu.org>
14770 * files.el (dir-locals-read-from-file):
14771 Mention dir-locals in any error message.
14773 2012-05-09 Chong Yidong <cyd@gnu.org>
14775 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14776 package (Bug#11410).
14778 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14779 variables into description.
14781 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14783 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14784 shell-delimiter-argument-list (bug#11348).
14785 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14787 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14789 * textmodes/rst.el: Silence byte-compiler warnings.
14790 (rst-re-alist, rst-reset-section-caches): Move around.
14791 (rst-re): Use `characterp', not `char-valid-p'.
14792 (font-lock-beg, font-lock-end): Declare.
14794 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14795 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14797 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14799 2012-05-08 Glenn Morris <rgm@gnu.org>
14801 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14803 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14805 * vc/log-edit.el: Add GNU coding standards highlighting.
14806 (log-edit-font-lock-gnu-style)
14807 (log-edit-font-lock-gnu-keywords): New vars.
14808 (log-edit-font-lock-keywords): New fun.
14809 (log-edit-mode): Don't fold case in font-lock.
14810 (log-edit-font-lock-keywords): Do not assume case-folding.
14812 * imenu.el: Misc cleanup. Make docstrings out of comments.
14813 Use lexical-binding.
14814 (imenu--index-alist, imenu--last-menubar-index-alist)
14815 (imenu-menubar-modified-tick): Use defvar-local.
14816 (imenu--split-menu): Remove unused var.
14817 (imenu--cleanup-seen): Declare as global.
14818 (imenu--cleanup): Use dolist.
14820 * subr.el (defvar-local): Add debug spec and doc-string position.
14822 2012-05-08 Glenn Morris <rgm@gnu.org>
14824 * language/burmese.el, language/cham.el, language/czech.el:
14825 * language/english.el, language/georgian.el, language/greek.el:
14826 * language/japanese.el, language/khmer.el, language/korean.el:
14827 * language/lao.el, language/misc-lang.el, language/romanian.el:
14828 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14829 * language/thai.el, language/utf-8-lang.el:
14830 Remove no-byte-compile setting.
14832 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14834 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14836 * progmodes/make-mode.el (makefile-browse):
14837 Remove unnecessary interactive. (Bug#11324)
14839 2012-05-07 Glenn Morris <rgm@gnu.org>
14841 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14843 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14845 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14847 * loadup.el: Preload newcomment.el.
14848 * newcomment.el: Move autoload-only code to toplevel.
14850 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14851 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14852 Handle new :right-align column property.
14853 (tabulated-list-print-col): Idem, plus use `display' text-property to
14854 try and preserve alignment for variable pitch fonts.
14856 2012-05-07 Chong Yidong <cyd@gnu.org>
14858 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14859 (tabulated-list-use-header-line): New var.
14860 (tabulated-list-init-header): Use it.
14861 (tabulated-list-print-fake-header): New function.
14862 (tabulated-list-print): Use it.
14863 (tabulated-list-sort-button-map): Add non-header-line commands.
14864 (tabulated-list-init-header): Add column name property to basic
14866 (tabulated-list-col-sort): Handle non-header-line button case.
14867 (tabulated-list--sort-by-column-name): Fix a corner case.
14869 * buff-menu.el (list-buffers--refresh):
14870 Handle Buffer-menu-use-header-line.
14872 2012-05-06 Chong Yidong <cyd@gnu.org>
14874 * buff-menu.el: Convert to Tabulated List mode.
14875 (Buffer-menu-buffer+size-width): Make obsolete.
14876 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14877 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14878 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14879 documentation into docstring of buffer-menu.
14880 (Buffer-menu-toggle-files-only): Add an informative message.
14881 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14882 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14883 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14884 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14885 (Buffer-menu-execute, Buffer-menu-select)
14886 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14887 (Buffer-menu-bury): Use Tabulated List machinery.
14888 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14889 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14891 (list-buffers--refresh): New function.
14892 (list-buffers-noselect): Use it.
14893 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14894 (Buffer-menu--pretty-file-name): New helper functions.
14896 * loadup.el: Preload tabulated-list.
14898 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14899 tabulated-list-sort-column.
14900 (tabulated-list-init-header): Add the initial aligning space even
14901 if tabulated-list-padding is zero.
14903 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14905 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14906 whose cdr is not a cons cell correctly (bug#11038).
14908 2012-05-06 Chong Yidong <cyd@gnu.org>
14910 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14911 Accept additional plist in column descriptors.
14912 (tabulated-list-init-header): Obey it.
14913 (tabulated-list-get-entry): New function.
14914 (tabulated-list-put-tag): Use it. Use string-width instead of
14916 (tabulated-list--column-number): New function.
14917 (tabulated-list-print): Use it.
14918 (tabulated-list-print-col): New function.
14919 Set `tabulated-list-column-name' property on each column's text.
14920 (tabulated-list-print-entry): Use it.
14921 (tabulated-list-delete-entry, tabulated-list-set-col):
14923 (tabulated-list-sort-column): New command (Bug#11337).
14925 * buff-menu.el (list-buffers): Move C-x C-b binding from
14926 buff-menu.el to bindings.el.
14928 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14929 :advertised-binding feature.
14931 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14933 * progmodes/compile.el (compilation-internal-error-properties):
14934 Calculate start position correctly when end-col is set but
14935 end-line is not (Bug#11382).
14937 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14939 * man.el (Man-unindent): Use text-property-default-nonsticky to
14940 prevent untabify from inheriting face properties (Bug#11408).
14942 2012-05-05 Stefan Merten <smerten@oekonux.de>
14944 * textmodes/rst.el: Major merge with upstream development up to
14945 Docutils SVN r7399 / rst.el V1.2.1.
14947 Clarify maintainership and authors.
14949 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14950 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14951 (rst-official-version, rst-official-cvs-rev, rst-version)
14952 (rst-package-emacs-version-alist): New functions and variables
14953 for version information.
14955 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14956 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14957 (rst-mode-syntax-table, rst-mode): New and corrected functions
14958 and variables representing reStructuredText features.
14960 (rst-re): New function for reStructuredText regexes. Use in
14963 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14964 (rst-mode-map): Rebind keys.
14966 (rst-mode-lazy, rst-font-lock-keywords)
14967 (rst-font-lock-extend-region)
14968 (rst-font-lock-extend-region-internal)
14969 (rst-font-lock-extend-region-extend)
14970 (rst-font-lock-find-unindented-line-limit)
14971 (rst-font-lock-find-unindented-line-match)
14972 (rst-adornment-level, rst-font-lock-adornment-level)
14973 (rst-font-lock-adornment-match)
14974 (rst-font-lock-handle-adornment-pre-match-form)
14975 (rst-font-lock-handle-adornment-matcher): Major revision of
14976 font-locking. Integrate with other code. Use `jit-lock-mode'.
14978 (rst-preferred-adornments, rst-adjust-hook)
14979 (rst-new-adornment-down, rst-preferred-bullets)
14980 (rst-preferred-bullets, rst-indent, rst-indent-width)
14981 (rst-indent-field, rst-indent-literal-normal)
14982 (rst-indent-literal-minimized, rst-indent-comment): Change,
14983 extend and improve customization.
14985 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14986 (rst-normalize-cursor-position, rst-get-decoration)
14987 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14988 (rst-rstrip, rst-toc-insert-find-delete-contents)
14989 (rst-shift-fill-region, rst-compute-bullet-tabs)
14990 (rst-debug-print-tabs, rst-debug-mark-found)
14991 (rst-shift-region-guts, rst-shift-region-right)
14992 (rst-shift-region-left, rst-use-char-classes)
14993 (rst-font-lock-keywords-function)
14994 (rst-font-lock-indentation-point)
14995 (rst-font-lock-find-unindented-line-begin)
14996 (rst-font-lock-find-unindented-line-end)
14997 (rst-font-lock-find-unindented-line)
14998 (rst-font-lock-adornment-point, rst-font-lock-level)
14999 (rst-adornment-level-alist): Remove functions and variables.
15001 (rst-compare-adornments, rst-get-adornment-match)
15002 (rst-suggest-new-adornment, rst-get-adornments-around)
15003 (rst-adornment-complete-p, rst-get-next-adornment)
15004 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15005 (rst-straighten-adornments): Standardize function names to
15006 use "adornment" instead of "decoration". Correct callers.
15007 Similar standardizing in many places.
15009 (rst-update-section, rst-adjust, rst-promote-region)
15010 (rst-enumerate-region, rst-bullet-list-region)
15011 (rst-repeat-last-character): Correct use of `interactive'.
15013 (rst-classify-adornment, rst-find-all-adornments)
15014 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15015 (rst-find-leftmost-column, rst-repeat-last-character):
15016 Refactor functions.
15018 (rst-find-title-line, rst-reset-section-caches)
15019 (rst-get-adornments-around, rst-adjust-adornment-work)
15020 (rst-arabic-to-roman, rst-roman-to-arabic)
15021 (rst-insert-list-pos, rst-insert-list-new-item)
15022 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15025 (rst-all-sections, rst-section-hierarchy)
15026 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15029 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15030 configuration instead of only buffer. Change where necessary.
15032 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15033 (rst-shift-region, rst-adaptive-fill): New functions for
15034 indentation and filling.
15036 (rst-comment-line-break, rst-comment-indent)
15037 (rst-comment-insert-comment, rst-comment-region)
15038 (rst-uncomment-region): New functions for handling comments.
15040 (rst-compile): Quote shell arguments.
15042 (rst-compile-pdf-preview, rst-compile-slides-preview):
15043 Delete temporary files after use.
15045 2012-05-05 Glenn Morris <rgm@gnu.org>
15047 * calendar/cal-html.el: Optionally include holidays in the output.
15048 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15049 (cal-html-holidays): New option.
15050 (cal-html-css-default): Add holiday entry.
15051 (holiday-in-range): Autoload it.
15052 (cal-html-htmlify-entry): Add optional class argument.
15053 (cal-html-htmlify-list): Add optional holidays argument.
15054 (cal-html-insert-agenda-days): Include holidays in the output.
15055 (cal-html-one-month): Maybe include holidays.
15057 * calendar/holidays.el (holiday-in-range):
15058 Move here from cal-tex-list-holidays.
15059 * calendar/cal-tex.el (cal-tex-list-holidays):
15060 Make it an obsolete alias for holiday-in-range. Update all callers.
15062 2012-05-05 Chong Yidong <cyd@gnu.org>
15064 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15067 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15069 * files.el (file-auto-mode-skip): New var.
15070 (set-auto-mode-1): Use it.
15072 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15074 * repeat.el: Use lexical-binding.
15075 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15076 (repeat-undo-count): Remove.
15078 * progmodes/octave-mod.el (octave-abbrev-start):
15079 * progmodes/f90.el (f90-abbrev-start):
15080 * face-remap.el (text-scale-adjust):
15081 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15083 * emacs-lisp/pcase.el (pcase--let*): New function.
15084 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15086 (pcase--split-pred): Be more clever about ruling out overlap between
15087 a predicate and some constant pattern.
15088 (pcase--q1): Use `null' instead of (eq foo nil).
15090 * subr.el (setq-local, defvar-local): New macros.
15091 (kbd): Redefine as an alias.
15092 (with-selected-window): Leave unrelated frames alone.
15093 (set-temporary-overlay-map): New function.
15095 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15097 * subr.el (user-error): New function.
15098 * window.el (switch-to-buffer):
15099 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15100 (smerge-match-conflict):
15101 * simple.el (previous-matching-history-element)
15102 (next-matching-history-element, goto-history-element, undo-more)
15104 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15105 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15106 (next-file, tags-loop-scan, list-tags, complete-tag):
15107 * progmodes/compile.el (compilation-loop):
15108 * mouse.el (mouse-minibuffer-check):
15109 * man.el (Man-bgproc-sentinel, Man-goto-page):
15110 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15111 (Info-history-forward, Info-follow-reference, Info-menu)
15112 (Info-extract-menu-item, Info-extract-menu-counting)
15113 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15114 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15115 (Info-next-reference, Info-prev-reference, Info-index)
15116 (Info-index-next, Info-follow-nearest-node)
15117 (Info-copy-current-node-name):
15118 * imenu.el (imenu--make-index-alist)
15119 (imenu-default-create-index-function, imenu-add-to-menubar):
15120 * files.el (basic-save-buffer, recover-file):
15121 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15122 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15123 (checkdoc-message-text, checkdoc-defun):
15124 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15125 * cus-edit.el (customize-changed-options, customize-rogue)
15126 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15127 (custom-variable-mark-to-reset-standard)
15128 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15130 * completion.el (check-completion-length):
15131 * comint.el (comint-search-arg)
15132 (comint-previous-matching-input-string-position)
15133 (comint-previous-matching-input)
15134 (comint-replace-by-expanded-history-before-point, comint-send-input)
15135 (comint-copy-old-input, comint-backward-matching-input)
15136 (comint-goto-process-mark, comint-set-process-mark):
15137 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15138 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15140 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15142 * dabbrev.el (dabbrev--ignore-case-p): New function.
15143 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15146 * files.el (automount-dir-prefix): Mark as obsolete.
15148 2012-05-04 Glenn Morris <rgm@gnu.org>
15150 * patcomp.el, play/bruce.el: Move to obsolete/.
15152 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15154 Fix minor Y10k bugs.
15155 * arc-mode.el (archive-unixdate):
15156 * autoinsert.el (auto-insert-alist):
15157 * calc/calc-forms.el (math-this-year):
15158 * emacs-lisp/copyright.el (copyright-current-year)
15159 (copyright-update-year, copyright):
15160 * tar-mode.el (tar-clip-time-string):
15161 * time.el (display-time-update):
15162 Don't assume years have 4 digits.
15164 2012-05-04 Chong Yidong <cyd@gnu.org>
15166 * dos-w32.el (file-name-buffer-file-type-alist)
15167 (direct-print-region-use-command-dot-com):
15168 * ffap.el (ffap-menu-regexp):
15169 * find-file.el (ff-special-constructs):
15170 * follow.el (follow-debug):
15171 * forms.el (forms--debug):
15172 * iswitchb.el (iswitchb-all-frames):
15173 * ido.el (ido-all-frames):
15174 * emacs-lisp/timer.el (timer-max-repeats):
15175 * mail/feedmail.el (feedmail-mail-send-hook)
15176 (feedmail-mail-send-hook-queued):
15177 * mail/footnote.el (footnote-signature-separator):
15178 * mail/mailabbrev.el (mail-alias-separator-string)
15179 (mail-abbrev-mode-regexp):
15180 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15181 * progmodes/idlwave.el (idlwave-libinfo-file)
15182 (idlwave-default-completion-case-is-down)
15183 (idlwave-library-routines): Convert defvars to defcustoms.
15185 * mail/rmail.el (rmail-decode-mime-charset):
15186 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15187 (idlwave-shell-fix-inserted-breaks)
15188 (idlwave-shell-activate-alt-keybindings)
15189 (idlwave-shell-use-breakpoint-glyph):
15190 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15192 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15194 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15196 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15198 * progmodes/verilog-mode.el (font-lock-keywords):
15199 Fix mis-highligting auto. Reported by Craig Barner.
15200 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15201 defines from global name space. Reported by Dan Dever.
15202 (verilog-auto-reset, verilog-auto-reset-widths)
15203 (verilog-auto-tieoff): Support using unbased numbers for
15204 AUTORESET and AUTOTIEOFF.
15205 (verilog-submit-bug-report): Update variable list.
15206 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15207 parenthesis from not matching. Reported by Michael Rytting.
15208 (verilog-auto-template-lint): Fix hash error when linting modules
15209 with no used templates.
15210 (verilog-warn, verilog-warn-error)
15211 (verilog-warn-fatal): When non-interactive report multiple
15212 warnings before exiting. Suggested by Brad Dobbie.
15213 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15214 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15215 to report unused template errors. Reported by Brad Dobbie.
15216 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15217 nets, bug438. Reported by Vns Blore.
15218 (verilog-auto-inout-module, verilog-auto-reg)
15219 (verilog-read-decls, verilog-read-sub-decls-sig)
15220 (verilog-signals-edit-wire-reg, verilog-signals-with):
15221 Fix passing of Verilog data types in ANSI input/output ports
15222 such as "output logic" into the AUTOs. Special case "wire" and
15223 "reg" for backwards compatibility presuming Verilog 2001.
15224 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15225 (verilog-preprocess): Fix replication of preprocess output.
15226 Reported by Brad Dobbie.
15227 (verilog-auto-inst-interfaced-ports):
15228 Create verilog-auto-inst-interfaced-ports, bug429.
15229 Reported by Julian Gorfajn.
15230 (verilog-after-save-font-hook)
15231 (verilog-before-save-font-hook): New variable.
15232 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15233 (verilog-save-font-mods): Wrap disabling fontification, reported
15235 (verilog-do-indent, verilog-pretty-declarations-auto)
15236 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15237 Reported by Pierre-David Pfister.
15238 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15239 of class declarations, bug292. Reported by Kevin Heilman.
15240 (verilog-read-decls): Fix 'parameter type' not appearing in
15241 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15242 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15243 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15244 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15245 Reported by David Kravitz.
15247 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15249 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15250 assignment with tests in ifs and for loops.
15251 (verilog-extended-complete-re, verilog-complete-reg): Change so
15252 that DPI inport functions don't look like fuction declarations.
15253 (verilog-pretty-expr): Don't line up assignment
15254 operations to the test and increment in if and for loops
15255 (verilog-extended-complete-re, verilog-complete-reg): Change so
15256 that DPI inport functions don't look like fuction declarations.
15258 2012-05-03 Kenichi Handa <handa@m17n.org>
15260 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15261 decoding, and show a warning message without signaling an error
15264 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15266 * emacs-lisp/bytecomp.el
15267 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15268 since cconv.el might have introduced :fun-body, internal-make-closure,
15269 and friends for bytecomp to handle (bug#11391).
15270 * custom.el (defcustom): Avoid ((λ ..) ..).
15272 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15274 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15276 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15278 * notifications.el (dbus-debug):
15279 * term/linux.el (gpm-mouse-enable):
15280 * term/screen.el (xterm-register-default-colors): Declare.
15282 2012-05-02 Chong Yidong <cyd@gnu.org>
15284 * cus-start.el (gc-cons-percentage, exec-suffixes)
15285 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15286 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15287 (make-cursor-line-fully-visible, void-text-area-pointer)
15288 (font-list-limit): Add customization data.
15290 * allout.el (allout-exposure-change-functions)
15291 (allout-structure-added-functions)
15292 (allout-structure-deleted-functions)
15293 (allout-structure-shifted-functions): Rename abnormal hooks from
15294 *-hook, and convert to defcustoms.
15295 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15296 Convert to defcustoms.
15297 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15299 * allout-widgets.el: Hook callers changed.
15301 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15303 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15304 the yanked message in preference to the default value of
15305 buffer-file-coding-system.
15307 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15309 * window.el (display-buffer--action-function-custom-type):
15312 2012-05-02 Alan Mackenzie <acm@muc.de>
15314 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15316 2012-05-01 Glenn Morris <rgm@gnu.org>
15318 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15320 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15322 * cus-edit.el (custom-variable-documentation): Simplify with format.
15324 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15325 Stefan Monnier <monnier@iro.umontreal.ca>
15327 * simple.el (suggest-key-bindings, execute-extended-command):
15328 Move from keyboard.c.
15330 2012-05-01 Chong Yidong <cyd@gnu.org>
15332 * follow.el: Eliminate advice.
15333 (set-process-filter, process-filter, sit-for): Advice deleted.
15334 (follow-mode-off-hook): Obsolete hook removed.
15335 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15337 (follow-auto): Use a :set function.
15338 (follow-mode): Rewritten. Don't advise process filters.
15339 (follow-switch-to-current-buffer-all, follow-scroll-up)
15340 (follow-scroll-down): Assume follow-mode is bound.
15341 (follow-comint-scroll-to-bottom)
15342 (follow-align-compilation-windows): New functions.
15343 (follow--window-sorter): New function.
15344 (follow-all-followers): Use it to explicitly sort windows by their
15345 positions; don't make assumptions about next-window order.
15346 (follow-windows-start-end, follow-delete-other-windows-and-split)
15347 (follow-calc-win-start): Doc fix.
15348 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15349 vertical-motion unnecessarily.
15350 (follow-adjust-window): New function.
15351 (follow-post-command-hook): Use it.
15352 (follow-call-set-process-filter, follow-call-process-filter)
15353 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15354 (follow-stop-intercept-process-output, follow-generic-filter):
15356 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15357 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15358 New functions, replacing advice on scroll-bar-* commands.
15359 (follow-mwheel-scroll): New function (Bug#4112).
15361 * comint.el (comint-adjust-point): New function.
15362 (comint-postoutput-scroll-to-bottom): Use it.
15363 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15365 2012-05-01 Glenn Morris <rgm@gnu.org>
15367 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15368 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15369 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15370 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15371 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15372 Remove no-byte-compile setting.
15374 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15376 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15377 all-completions code to not return a number in the last cdr.
15379 2012-04-30 Leo Liu <sdl.web@gmail.com>
15381 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15384 2012-04-29 Chong Yidong <cyd@gnu.org>
15386 * follow.el (follow-calc-win-end): Rewrite to handle partial
15387 screen lines correctly (Bug#8390).
15388 (follow-avoid-tail-recenter): Minor cleanup.
15390 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15392 Avoid the obsolete `assoc' package.
15393 * speedbar.el (speedbar-refresh): Avoid adelete.
15394 (speedbar-file-lists): Simplify and avoid aput.
15395 * man.el (Man--sections, Man--refpages): New vars, replacing
15396 Man-sections-alist and Man-refpages-alist.
15397 (Man-build-section-alist, Man-build-references-alist):
15398 Use them; avoid aput.
15399 (Man--last-section, Man--last-refpage): New vars.
15400 (Man-follow-manual-reference): Use them.
15401 Use the `default' arg of completing-read.
15402 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15404 2012-04-27 Chong Yidong <cyd@gnu.org>
15406 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15408 * startup.el (x-apply-session-resources): New function.
15410 * term/ns-win.el (ns-initialize-window-system):
15411 * term/w32-win.el (w32-initialize-window-system):
15412 * term/x-win.el (x-initialize-window-system): Use it to properly
15413 set menu-bar-mode and other vars from X resources, even if the
15414 initial frame is not a window-system frame (Bug#2299).
15416 * subr.el (read-key): Avoid running filter function when setting
15417 up temporary tool bar entries (Bug#9922).
15419 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15421 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15424 2012-04-27 Chong Yidong <cyd@gnu.org>
15426 * select.el (xselect--encode-string): New function, split from
15427 xselect-convert-to-string.
15428 (xselect-convert-to-string): Use it.
15429 (xselect-convert-to-filename, xselect-convert-to-os)
15430 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15431 returned strings are properly encoded (Bug#11315).
15433 2012-04-27 Chong Yidong <cyd@gnu.org>
15435 * simple.el (delete-active-region): Move to killing custom group.
15437 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15439 * progmodes/which-func.el (which-func-current): Quote %
15440 characters for mode-line processing.
15442 2012-04-27 Chong Yidong <cyd@gnu.org>
15444 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15445 reaching eob (Bug#11286).
15447 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15449 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15450 (gdb): Make it buffer-local and init to zero.
15451 (gdb-control-commands-regexp): New variable.
15452 (gdb-send): Don't wrap in "-interpreter-exec console" if
15453 gdb-control-level is positive. Increment gdb-control-level
15454 whenever the command matches gdb-control-commands-regexp, and
15455 decrement it each time the command is "end". (Bug#11279)
15457 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15459 * window.el (adjust-window-trailing-edge, enlarge-window)
15460 (shrink-window, window-resize):
15461 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15462 windows (Bug#11276).
15464 2012-04-27 Chong Yidong <cyd@gnu.org>
15466 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15467 fix "missing prefix" warning. All callers changed.
15469 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15471 * emacs-lisp/assoc.el: Move to obsolete/.
15473 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15477 * term/ns-win.el (ns-define-service):
15478 * progmodes/pascal.el (pascal-goto-defun):
15479 * progmodes/js.el (js--read-tab):
15480 * progmodes/etags.el (tags-lazy-completion-table):
15481 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15482 * emacs-lisp/ewoc.el (ewoc--wrap):
15483 * emacs-lisp/assoc.el (aput, adelete, amake):
15484 * doc-view.el (doc-view-convert-current-doc):
15485 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15487 2012-04-26 Chong Yidong <cyd@gnu.org>
15489 * image.el (image-type-from-buffer): Only return supported image
15492 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15493 value, for symmetry with diff-end-of-hunk.
15494 (diff-split-hunk, diff-find-source-location)
15495 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15496 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15497 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15498 compute the relevant hunk or file properly (Bug#6005).
15499 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15501 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15510 * vc/vc.el: Replace lexical-let by lexical-binding.
15511 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15512 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15513 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15515 2012-04-26 Chong Yidong <cyd@gnu.org>
15517 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15518 (diff-mode-shared-map): Bind it to / and [remap undo].
15520 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15521 (ediff-window-setup-function): Use it as the default, to set up
15522 windows based on whether the current frame is graphical (Bug#2138).
15523 (ediff-choose-window-setup-function-automatically): Make obsolete.
15525 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15527 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15529 * ffap.el: Remove old code for obsolete package.
15530 (ffap-complete-as-file-p): Remove.
15532 Use completion-table-with-quoting for comint and pcomplete.
15533 * comint.el (comint--unquote&requote-argument)
15534 (comint--unquote-argument, comint--requote-argument): New functions.
15535 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15536 (comint-quote-filename): Use regexp-opt-charset.
15537 (comint--common-suffix, comint--common-quoted-suffix)
15538 (comint--table-subvert): Remove.
15539 (comint-unquote-function, comint-requote-function): New vars.
15540 (comint--complete-file-name-data): Use them with
15541 completion-table-with-quoting.
15542 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15543 * pcomplete.el (pcomplete-arg-quote-list)
15544 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15545 (pcomplete-unquote-argument-function): Default to non-nil.
15546 (pcomplete-unquote-argument): Simplify.
15547 (pcomplete--common-quoted-suffix): Remove.
15548 (pcomplete-requote-argument-function): New var.
15549 (pcomplete--common-suffix): New function.
15550 (pcomplete-completions-at-point): Use completion-table-with-quoting
15551 and completion-table-subvert.
15553 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15554 (minibuffer--double-dollars): Preserve properties.
15555 (completion--sifn-requote): New function.
15556 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15558 * minibuffer.el: Add support for completion of quoted/escaped data.
15559 (completion-table-with-quoting, completion-table-subvert): New funs.
15560 (completion--twq-try, completion--twq-all): New functions.
15561 (completion--nth-completion): New function.
15562 (completion-try-completion, completion-all-completions): Use it.
15564 2012-04-25 Leo Liu <sdl.web@gmail.com>
15566 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15567 Use compilation-message if available to find real filename.
15569 2012-04-25 Chong Yidong <cyd@gnu.org>
15571 * vc/diff-mode.el (diff-setup-whitespace): New function.
15572 (diff-mode): Use it.
15574 * vc/diff.el (diff-sentinel):
15575 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15576 Whitespace mode variables based on diff style (Bug#8612).
15578 2012-04-25 Leo Liu <sdl.web@gmail.com>
15580 * progmodes/python.el (python-send-region): Add suffix .py to the
15583 * files.el (auto-mode-alist): Use javascript-mode instead.
15585 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15587 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15589 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15590 (soap-resolve-references-for-array-type): Hack to prevent self
15591 references, see Bug#9.
15592 (soap-parse-envelope): Report the contents of the 'detail' node
15593 when receiving a fault reply.
15594 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15596 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15597 (soap-inspect-simple-type): New function.
15599 * net/soap-client.el (soap-simple-type): New struct.
15600 (soap-default-xsd-types, soap-default-soapenc-types)
15601 (soap-decode-basic-type, soap-encode-basic-type):
15602 support unsignedInt and double basic types.
15603 (soap-resolve-references-for-simple-type)
15604 (soap-parse-simple-type, soap-encode-simple-type): New function.
15605 (soap-parse-schema): Parse xsd:simpleType declarations.
15607 * net/soap-client.el (soap-default-xsd-types)
15608 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15609 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15610 the local name of "soapenc:Array".
15611 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15612 decoding integer, byte and anyURI xsd types.
15614 2012-04-25 Chong Yidong <cyd@gnu.org>
15616 * cus-edit.el (custom-buffer-create-internal): Update header text.
15618 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15620 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15621 settings on 'system-type', not on 'window-system'. On MS-Windows,
15622 set interactive-mode on in GDB.
15624 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15627 (ruby-syntax-propertize-regexp): Remove.
15628 (ruby-syntax-propertize-function): Split regexp into chunks.
15629 Match following code directly.
15631 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15633 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15634 (ruby-syntax-propertize-regexp): New function.
15635 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15636 by a special keyword.
15638 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15639 (ruby-syntax-general-delimiters-goto-beg)
15640 (ruby-syntax-propertize-general-delimiters): New functions.
15641 (ruby-syntax-propertize-function): Use them to handle GDL.
15642 (ruby-font-lock-keywords): Move old handling of GDL...
15643 (ruby-font-lock-syntactic-keywords): .. to here.
15644 (ruby-calculate-indent): Adjust indentation for GDL.
15646 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15648 * notifications.el (top): Remove unneeded declarations.
15649 (notifications-specification-version): Change to "1.2".
15650 (notifications-interface, notifications-notify-method)
15651 (notifications-close-notification-method): Fix docstring.
15652 (notifications-get-capabilities-method): New defconst.
15653 (notifications-notify): Add :action-items, :resident and
15654 :transient hints. Change "image_data" to "image-data" and
15655 "image_path" to "image-path".
15656 (notifications-get-capabilities): New defun.
15658 2012-04-24 Leo Liu <sdl.web@gmail.com>
15660 * progmodes/python.el: Move hideshow setup to the end.
15662 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15664 * window.el (handle-select-window): Clear echo area since this is
15665 no more done by read_char (Bug#11304).
15667 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15669 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15670 and `/ M' to filter-derived-mode.
15671 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15672 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15673 (ibuffer-mark-by-mode): Use default rather than initial-input.
15674 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15676 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15678 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15679 (ibuffer-filter-by-derived-mode): New filter.
15680 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15682 2012-04-23 Andreas Politz <politza@fh-trier.de>
15684 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15686 2012-04-23 Chong Yidong <cyd@gnu.org>
15688 * cus-edit.el (customize-apropos, customize-apropos-options):
15689 Disable matching of non-option variables (Bug#11176).
15690 (customize-option, customize-option-other-window)
15691 (customize-changed-options): Doc fix.
15692 (customize-apropos-options, customize-apropos-faces)
15693 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15695 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15696 Fix word list splitting (Bug#11132).
15697 (apropos-symbol, apropos-keybinding, apropos-label)
15698 (apropos-property, apropos-function-button)
15699 (apropos-variable-button, apropos-misc-button): New faces.
15700 (apropos-symbol-face, apropos-keybinding-face)
15701 (apropos-label-face, apropos-property-face, apropos-match-face):
15702 Variables removed (Bug#8396).
15703 (apropos-library-button, apropos-format-plist, apropos-print)
15704 (apropos-print-doc, apropos-describe-plist): Callers changed.
15706 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15708 * net/xesam.el (xesam-mode-map): Use let-bound map in
15709 initialization. (Bug#11292)
15711 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15713 Preserve ispell session localwords when switching back to
15716 * textmodes/ispell.el (ispell-buffer-session-localwords):
15717 New buffer-local variable to hold buffer session localwords.
15718 (ispell-kill-ispell): Add option 'clear to delete session
15720 (ispell-command-loop, ispell-change-dictionary)
15721 (ispell-buffer-local-words): Preserve session localwords when
15724 * textmodes/flyspell.el (flyspell-process-localwords)
15725 (flyspell-do-correct): Preserve session localwords when needed.
15727 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15729 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15730 using obsolete `translation-table-for-input'.
15731 (ispell-word, ispell-process-line, ispell-complete-word):
15732 Use plain `insert' instead of removed `ispell-insert-word'.
15734 2012-04-22 Chong Yidong <cyd@gnu.org>
15736 * cus-edit.el (custom-variable-menu)
15737 (custom-variable-reset-saved, custom-face-menu)
15738 (custom-face-reset-saved): If there is no saved value, make the
15739 "reset-saved" operation bring back the default (Bug#9509).
15740 (custom-face-state): Properly detect themed faces.
15742 * faces.el (face-spec-set): Stop supporting deprecated form of
15745 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15747 Move functions from C to Lisp. Make non-blocking method calls
15748 the default. Implement further D-Bus standard interfaces.
15750 * net/dbus.el (dbus-message-internal): Declare function.
15751 Remove unneeded function declarations.
15752 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15753 (dbus-message-type-method-return, dbus-message-type-error)
15754 (dbus-message-type-signal): Declare variables. Remove local
15756 (dbus-interface-dbus, dbus-interface-peer)
15757 (dbus-interface-introspectable, dbus-interface-properties)
15758 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15760 (dbus-interface-objectmanager): New defconst.
15761 (dbus-call-method, dbus-call-method-asynchronously)
15762 (dbus-send-signal, dbus-method-return-internal)
15763 (dbus-method-error-internal, dbus-register-service)
15764 (dbus-register-signal, dbus-register-method): New defuns, moved
15766 (dbus-call-method-handler, dbus-setenv)
15767 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15769 (dbus-call-method-non-blocking): Make it an obsolete function.
15770 (dbus-unregister-object, dbus-unregister-service)
15771 (dbus-handle-event, dbus-register-property)
15772 (dbus-property-handler): Obey the new structure of
15773 `bus-registered-objects'.
15774 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15775 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15776 Use `dbus-call-method'.
15778 2012-04-22 Chong Yidong <cyd@gnu.org>
15780 * cus-edit.el (custom-commands, custom-reset-menu)
15781 (Custom-reset-standard): Tweak labels.
15782 (custom-reset-button-menu): Change default to t.
15783 (custom-buffer-create-internal): For the custom-reset-button-menu
15784 case, put the revert button first.
15785 (custom-group-subtitle): New face.
15786 (custom-group-value-create): Align docstring to a specific column.
15788 * wid-edit.el (widget-documentation-link-add): Don't handle
15789 indentation in this function.
15790 (widget-documentation-string-indent-to): New function.
15791 (widget-documentation-string-value-create): Use it.
15793 * autorevert.el (auto-revert):
15794 * epg-config.el (epg):
15795 * ibuffer.el (ibuffer):
15798 * eshell/eshell.el (eshell):
15799 * net/ange-ftp.el (ange-ftp):
15800 * progmodes/ebnf2ps.el (postscript):
15801 * progmodes/flymake.el (flymake):
15802 * progmodes/prolog.el (prolog):
15803 * progmodes/verilog-mode.el (verilog-mode):
15804 * progmodes/which-func.el (which-func):
15805 * term/xterm.el (xterm):
15806 * textmodes/picture.el (picture):
15807 * textmodes/tildify.el (tildify):
15808 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15809 customization buffers.
15811 2012-04-22 Alan Mackenzie <acm@muc.de>
15813 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15814 Adding a ) can hide the resulting (..) from searches. Fix it.
15815 Bound the backward search to the position of the existing (.
15817 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15819 * progmodes/verilog-mode.el (verilog-mode): Check whether
15820 which-func-modes is t before adding verilog-mode.
15821 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15823 2012-04-21 Leo Liu <sdl.web@gmail.com>
15825 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15827 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15829 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15830 filling of the last column of a table (Bug#5635).
15831 (woman-find-next-control-line): New arg, specifying an additional
15832 regexp component for the control line.
15833 (woman2-roff-buffer): Use it.
15834 (woman-break-table): New function.
15835 (woman2-TS): Use it.
15837 2012-04-21 Chong Yidong <cyd@gnu.org>
15839 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15840 (woman-horizontal-escapes, woman-negative-vertical-space)
15841 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15842 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15844 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15846 * minibuffer.el (completion-file-name-table): Complete user names.
15848 2012-04-20 Leo Liu <sdl.web@gmail.com>
15850 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15853 2012-04-20 Chong Yidong <cyd@gnu.org>
15855 * server.el (server-execute): Respect initial-buffer-choice if it
15856 is a string and there are no files to open (Bug#2825).
15857 (server-create-window-system-frame, server-create-tty-frame):
15858 Don't switch buffers here.
15859 (server-process-filter): Only try to open a window system frame if
15860 compiled with graphical support (Bug#8314).
15862 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15864 * battery.el (battery-echo-area-format): Display remaining time
15865 for sysfs backend too (Bug#11269).
15866 (battery-linux-sysfs): Fix conditional for the charge.
15868 2012-04-20 Chong Yidong <cyd@gnu.org>
15870 * progmodes/gdb-mi.el (gdb): Revert previous change.
15871 (gdb-inferior-io--init-proc): New function.
15872 (gdb-init-1): Use it.
15873 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15874 responsible for allocating a new pty and hooking it to gdb when
15875 the old pty gets an EIO due to process exit.
15876 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15877 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15878 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15880 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15882 * window.el (window-min-size, window-sizable, window-min-delta)
15883 (window-max-delta, window--resizable, window-resizable)
15884 (window-total-size, window-full-height-p, window-full-width-p)
15885 (window-in-direction, window--resize-mini-window, window-resize)
15886 (window--resize-child-windows-normal)
15887 (window--resize-child-windows, window--resize-siblings)
15888 (window--resize-this-window, adjust-window-trailing-edge)
15889 (enlarge-window, shrink-window): Doc fixes.
15891 2012-04-20 Chong Yidong <cyd@gnu.org>
15893 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15894 New function to call delete-process on the gdb-inferior buffer's pty.
15895 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15896 pty process (Bug#11273).
15897 (gdb-update): New arg to suppress talking to the gdb process.
15898 (gdb-done-or-error): Use it.
15899 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15900 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15901 sentinel not being called.
15903 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15905 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15907 2012-04-20 Glenn Morris <rgm@gnu.org>
15909 * net/network-stream.el (open-network-stream): Doc fix.
15911 2012-04-20 Chong Yidong <cyd@gnu.org>
15913 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15915 2012-04-20 Alan Mackenzie <acm@muc.de>
15917 Ensure searching for keywords is case sensitive.
15919 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15920 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15921 (c-defun-name, c-mark-function, c-cpp-define-name)
15922 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15923 (c-context-line-break): Bind case-fold-search to nil.
15925 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15926 Bind case-fold-search to nil.
15928 2012-04-20 Chong Yidong <cyd@gnu.org>
15930 * mail/sendmail.el (mail-bury): Call return action with the right
15931 Rmail buffer (Bug#11242).
15933 * server.el (server-process-filter): Handle corner case where both
15934 tty and nowait options are present (Bug#11102).
15936 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15938 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15939 (top level): Put into the executable the ident-style '$Id:' tag on
15940 windows-nt as well.
15942 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15944 * electric.el (electric-indent-post-self-insert-function): Check that
15945 electric-indent-mode is enabled in current buffer.
15947 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15949 * imenu.el (imenu-progress-message): Restore; it is "used" in
15950 erc/erc-imenu.el and net/snmp-mode.el.
15952 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15954 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15955 (mouse-avoidance-nudge-mouse): Remove unused binding.
15957 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15959 * descr-text.el (describe-char):
15960 * progmodes/python.el (python-describe-symbol):
15961 Don't call `toggle-read-only', set `buffer-read-only'.
15963 * imenu.el (imenu-default-goto-function): Mark unused args.
15964 (imenu-progress-message): Remove obsolete macro; all callers changed.
15966 * subr.el (keymap-canonicalize): Remove unused binding.
15967 (read-passwd): Mark unused arg.
15969 * tutorial.el (tutorial--display-changes): Remove unused binding.
15970 (tutorial--save-tutorial-to): Remove unused variable.
15972 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15973 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15974 (package-generate-autoloads, package-menu--generate)
15975 (package-menu--find-upgrades): Remove unused bindings.
15977 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15978 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15979 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15980 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15981 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15982 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15983 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15984 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15985 (cua-delete-char-rectangle): Mark unused args.
15986 (cua-align-rectangle): Remove unused binding.
15988 * mail/rmail.el (compilation--message->loc)
15989 (epa--find-coding-system-for-mime-charset): Declare.
15991 * net/dbus.el (dbus-register-service): Declare.
15992 (dbus-name-owner-changed-handler): Remove unused binding.
15994 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15995 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15996 (nxml-scan-backward-within): Mark unused arg.
15997 (nxml-dynamic-markup-word): Remove unused binding.
15999 * mouse.el (mouse-menu-major-mode-map):
16000 * emacs-lisp/authors.el (authors-scan-change-log)
16001 (authors-add-to-author-list):
16002 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16003 * emacs-lisp/smie.el (smie-auto-fill):
16004 * mail/sendmail.el (mail-bury):
16005 * mail/unrmail.el (unrmail):
16006 * net/tls.el (open-tls-stream):
16007 * textmodes/picture.el (picture-mouse-set-point):
16008 Remove unused bindings.
16010 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16012 * net/tramp.el (tramp-action-password): Let-bind
16013 `enable-recursive-minibuffers' to t.
16015 2012-04-18 Sam Steingold <sds@gnu.org>
16017 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16018 instead of 'string to accommodate values like [f11].
16019 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16020 * progmodes/gdb-mi.el: Likewise.
16022 2012-04-18 Leo Liu <sdl.web@gmail.com>
16024 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16026 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16029 2012-04-18 Chong Yidong <cyd@gnu.org>
16031 * simple.el (line-move): Use forward-line if in batch mode
16034 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16036 * files.el (after-find-file): Do not try to add a final newline if
16037 the buffer is read-only (Bug#11156).
16039 2012-04-17 Richard Stallman <rms@gnu.org>
16041 * mail/rmail.el (rmail-start-mail):
16042 Pass (rmail-mail-return...) for the return-action.
16043 Pass (rmail-yank-current-message...) for the yank-action.
16044 (rmail-yank-current-message): New function.
16045 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16046 (rmail-reply): Likewise.
16047 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16049 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16050 buffer, not the last. Reject temp buffers. Use the rmail-mode
16051 buffer, not newbuf.
16053 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16055 * server.el (server-ensure-safe-dir): Simplify.
16057 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16059 * emacs-lisp/smie.el: Provide smarter auto-filling.
16060 (smie-auto-fill): New function.
16061 (smie-setup): Use it.
16063 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16065 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16067 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16068 (comment-indent): Use it.
16070 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
16072 * ses.el: The overall change is to add cell renaming, that is
16073 setting fancy names for cell symbols other than name matching
16074 "\\`[A-Z]+[0-9]+\\'" regexp .
16075 (ses-localvars): Add ses--renamed-cell-symb-list.
16076 (ses-create-cell-variable): New defun.
16077 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16078 (ses-relocate-formula): Relocate formulas only for cells the
16079 symbols of which are not renamed, i.e. symbols whose names do not
16080 match regexp "\\`[A-Z]+[0-9]+\\'".
16081 (ses-relocate-all): Relocate values only for cells the symbols of
16082 which are not renamed.
16083 (ses-load): Create cells variables as the (ses-cell ...) are read,
16084 in order to check row col consistency with cell symbol name only
16085 for cells that are not renamed.
16086 (ses-replace-name-in-formula): New defun.
16087 (ses-rename-cell): New defun.
16089 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16091 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16092 New option (bug#11118).
16093 (perl-calculate-indent): Respect it.
16095 2012-04-17 Glenn Morris <rgm@gnu.org>
16097 * dired-aux.el (dired-mark-read-string): Doc fix.
16099 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16101 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16102 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16104 2012-04-17 Glenn Morris <rgm@gnu.org>
16106 * mouse.el (mouse-drag-track):
16107 * speedbar.el (speedbar-frame-mode):
16108 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16110 2012-04-16 Leo Liu <sdl.web@gmail.com>
16112 * progmodes/python.el: Trivial cleanup.
16114 2012-04-16 Glenn Morris <rgm@gnu.org>
16116 * vc/vc.el (vc-string-prefix-p):
16117 * vc/pcvs-util.el (cvs-string-prefix-p):
16118 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16119 * mpc.el (mpc-string-prefix-p):
16120 Make all of these into obsolete aliases for string-prefix-p.
16122 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16124 * textmodes/two-column.el: Move custom options to the start.
16125 (frame-width): Remove compat definition.
16126 (2C-associate-buffer, 2C-dissociate):
16127 Use with-current-buffer rather than save-excursion.
16128 (2C-dissociate): Force a mode-line update.
16129 (2C-autoscroll): Use ignore-errors.
16131 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16134 * emacs-lisp/cl-extra.el (*random-state*):
16135 Remove unnecessary declaration.
16137 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16139 * play/cookie1.el (cookie-snarf):
16140 Give an explicit error if input file cannot be read.
16142 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16144 * progmodes/perl-mode.el (c-macro-expand):
16145 Remove unnecessary autoload (it is in loaddefs.el).
16147 * textmodes/picture.el (picture-desired-column)
16148 (picture-update-desired-column): Convert comments to doc-strings.
16149 (picture-substitute): Remove function.
16150 (picture-mode-map): Initialize in the defvar.
16152 * woman.el: Remove eval-after-load for tar-mode.
16153 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16154 (woman-tar-extract-file): Autoload it.
16156 * frame.el (automatic-hscrolling): Make this alias obsolete.
16158 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16160 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16161 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16162 (ispell-dictionary-base-alist): Revert to original XEmacs
16163 friendly version for default. [:alpha:] will be added in
16164 `ispell-set-spellchecker-params' if needed.
16166 2012-04-16 Chong Yidong <cyd@gnu.org>
16168 * image.el (imagemagick--file-regexp): New variable.
16169 (imagemagick-register-types): Use it.
16170 (imagemagick-types-inhibit): Add :set function. Allow new value
16171 of t to inhibit all types.
16173 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16174 so we can preload it.
16176 * loadup.el (fboundp): Preload regexp-opt, needed by
16177 imagemagick-register-types.
16179 2012-04-15 Chong Yidong <cyd@gnu.org>
16181 * frame.el (scrolling): Remove nearly unused customization group.
16183 * scroll-all.el (scroll-all-mode): Move to windows group.
16185 2012-04-15 Chong Yidong <cyd@gnu.org>
16187 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16189 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16191 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16192 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16194 2012-04-15 Glenn Morris <rgm@gnu.org>
16196 * simple.el (process-file-side-effects): Doc fix.
16198 2012-04-15 Glenn Morris <rgm@gnu.org>
16200 * international/mule-cmds.el (set-language-environment): Doc fix.
16202 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16204 * server.el (server-auth-key, server-generate-key): Doc fixes.
16205 (server-get-auth-key): Doc fix. Use `string-match-p'.
16206 (server-start): Reflow docstring.
16208 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16210 * server.el (server-generate-key): `called-interactively-p'
16211 requires a parameter.
16213 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16215 * server.el (server-auth-key): New variable.
16216 (server-generate-key, server-get-auth-key): New function.
16217 (server-start): Use the new variable and functions to allow
16218 setting a permanent server key (bug#9423).
16220 2012-04-14 Leo Liu <sdl.web@gmail.com>
16222 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16224 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16227 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16228 Emacs uses American spelling.
16230 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16232 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16233 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16234 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16235 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16237 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16239 * progmodes/which-func.el (which-func-modes): Change default.
16241 2012-04-14 Kim F. Storm <storm@cua.dk>
16243 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16244 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16246 2012-04-14 Chong Yidong <cyd@gnu.org>
16248 * custom.el (custom-theme-set-variables): Doc fix.
16250 2012-04-14 Glenn Morris <rgm@gnu.org>
16252 * international/mule.el (set-auto-coding-for-load): Doc fix.
16254 2012-04-14 Alan Mackenzie <acm@muc.de>
16256 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16257 imenu work again for Objective C Mode. Correct the *-index values,
16258 these having been disturbed by a previous change in 2011-08.
16260 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16261 Correct two search limits.
16263 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16265 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16267 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16269 * international/characters.el: Fix sorting.
16271 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16273 * international/characters.el: Add more missing Latin case pairs.
16275 2012-04-14 Glenn Morris <rgm@gnu.org>
16277 * files.el (dir-locals-set-class-variables): Doc fix.
16279 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16281 * international/characters.el: Add set-case-syntax-pair call for
16282 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16283 counterpart. (Bug#11209)
16285 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16287 2012-04-14 Glenn Morris <rgm@gnu.org>
16289 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16291 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16293 * textmodes/ispell.el (ispell-dictionary-base-alist):
16294 Add data for Hebrew.
16296 2012-04-14 Chong Yidong <cyd@gnu.org>
16298 * net/rcirc.el (rcirc-cmd-quit):
16299 Revert 2012-03-18 change (Bug#11192).
16301 2012-04-14 Glenn Morris <rgm@gnu.org>
16303 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16305 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16307 * minibuffer.el (completion-in-region-mode-map):
16308 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16310 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16312 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16314 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16316 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16317 to allow `C-M-f' and `C-M-b' to move to the nearest path
16318 separator (bug#9511).
16320 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16322 * avoid.el: Require cl when compiling. And also move the
16323 `provide' to the end.
16325 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16327 * avoid.el (mouse-avoidance-banish-position): New variable.
16328 (mouse-avoidance-banish-destination): Use it (bug#10165).
16330 2012-04-13 Leo Liu <sdl.web@gmail.com>
16332 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16334 2012-04-13 Ken Brown <kbrown@cornell.edu>
16336 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16337 this is no longer needed now that cygstart understands file:// URLs.
16338 (browse-url-filename-alist): For the same reason, don't modify
16339 file:// URLs on Cygwin.
16341 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16343 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16344 the region on shift if the binding is already shifted (bug#11221).
16346 2012-04-12 Glenn Morris <rgm@gnu.org>
16348 * mail/mailpost.el: Move to obsolete/.
16350 2012-04-12 Drew Adams <drew.adams@oracle.com>
16352 * imenu.el (imenu--generic-function): Ignore invisible definitions
16355 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16357 * hexl.el (hexl-bits): New variable.
16358 (hexl-options): Mention the variable in the doc string.
16359 (hexl-rulerise, hexl-line-displen): New functions.
16360 (hexl-mode): Mention the new variable.
16361 (hexl-mode, hexl-current-address, hexl-current-address):
16363 (hexl-ascii-start-column): New function.
16364 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16365 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16367 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16369 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16370 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16371 the encoding, as expected by hunspell.
16373 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * battery.el (battery--linux-sysfs-regexp): New const.
16376 (battery-status-function): Use it. Remove yeeloong special case.
16377 (battery-yeeloong-sysfs): Remove.
16378 (battery-echo-area-format): Remove yeeloong special case.
16380 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16383 Reported by Noah Friedman.
16385 * subr.el (read-passwd): Use read-string.
16387 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16389 * vcursor.el (vcursor-move): Increase the priority of the overlay
16392 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16394 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16395 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16397 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16399 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16400 define-minor-mode (bug#10760).
16402 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16404 * progmodes/grep.el (rgrep): Tweak the find command line so
16405 that directories matching `grep-find-ignored-files' won't be
16406 pruned (bug#10351).
16408 2012-04-11 Chong Yidong <cyd@gnu.org>
16410 * startup.el (command-line): Remove support for long-obsolete
16411 variable font-lock-face-attributes.
16413 2012-04-11 Glenn Morris <rgm@gnu.org>
16415 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16417 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16419 * window.el (window--state-get-1): Obey window-point-insertion-type.
16421 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16423 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16424 to previous function when point is on the first character of a
16425 function. Take care of that in `narrow-to-defun' (bug#6157).
16427 2012-04-11 Glenn Morris <rgm@gnu.org>
16429 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16430 not just file-errors.
16432 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16433 (vc-bzr-sha1): Use internal sha1.
16435 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16439 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16441 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16442 that start in the middle of the line (bug#10496).
16444 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16446 * battery.el (battery-linux-proc-acpi): Only one battery is
16447 discharged at a time, but that seems to confuse battery.el when
16448 computing `rate-type' for the battery not being discharged
16451 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16453 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16455 * international/quail.el: Use dolist and simplify.
16456 (quail-define-package, quail-update-keyboard-layout)
16457 (quail-define-rules): Use dolist.
16458 (quail-insert-kbd-layout, quail-get-translation): CSE.
16460 * tmm.el: Use dolist, remove left over hook.
16461 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16463 (calendar-load-hook): Don't mess with it.
16465 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16466 Use derived-mode-p. Run the diff asynchronously.
16468 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16470 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16472 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16474 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16475 (list-dynamic-libraries--loaded): New function.
16476 (list-dynamic-libraries--refresh): Use it.
16478 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16480 * progmodes/python.el (python-fill-paragraph):
16481 Make python-fill-region in a multiline string work when font-lock is
16482 disabled (bug#7018).
16484 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16486 * language/european.el (cp775): Add oem/legacy (en)coding on
16487 DOS/MS Windows for the Baltic languages. There are still plenty
16488 of texts written in this encoding/codepage (bug#6519).
16490 2012-04-10 Glenn Morris <rgm@gnu.org>
16492 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16493 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16495 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16497 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16498 next-line "n" and previous-line "p" in order to make recentf more
16499 consistent with ibuffer, dired or org-mode (bug#9387).
16501 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16503 * image.el (put-image): Return the overlay created instead of the
16504 optional input string (bug#7834). Note that this may break code
16505 that is (for some reason or other) depending on `put-image'
16506 returning the string.
16508 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16510 * simple.el (zap-to-char): Allow zapping using input methods
16513 * textmodes/fill.el (fill-region): Leave point and mark where they
16514 were before filling (bug#5399).
16516 2012-04-09 Glenn Morris <rgm@gnu.org>
16518 * version.el (emacs-bzr-get-version):
16519 Handle lightweight checkouts of local branches.
16521 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16523 * international/characters.el: Recover lost case pairs. (Bug#11209)
16525 2012-04-09 Chong Yidong <cyd@gnu.org>
16527 * custom.el (custom-variable-p): Return nil for non-symbol
16528 arguments instead of signaling an error.
16529 (user-variable-p): Obsolete alias for custom-variable-p.
16531 * apropos.el (apropos-variable):
16532 * files-x.el (read-file-local-variable):
16533 * simple.el (set-variable):
16534 * woman.el (woman-mini-help):
16535 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16537 2012-04-09 Glenn Morris <rgm@gnu.org>
16539 * startup.el (normal-top-level): Don't look for leim-list.el
16540 in places where it will not be found. (Bug#910)
16542 * international/mule-cmds.el (set-default-coding-systems):
16543 * files.el (normal-mode):
16544 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16545 This function was removed with ucs-tables.el in 2008.
16547 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16549 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16550 ispell-encoding8-command to "-i", without a trailing space.
16551 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16552 separate command-line arguments, to specify the encoding, since
16553 that's how hunspell expects it.
16555 2012-04-08 Glenn Morris <rgm@gnu.org>
16557 * loadup.el: Load bindings before cus-start.
16558 This reduces somewhat the number of "rogue" settings in emacs -Q.
16560 2012-04-07 Glenn Morris <rgm@gnu.org>
16562 * version.el (emacs-bzr-get-version): New function.
16563 (emacs-bzr-version): New variable.
16564 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16565 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16567 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16569 * international/uni-bidi.el, international/uni-category.el:
16570 * international/uni-combining.el, international/uni-decimal.el:
16571 * international/uni-decomposition.el, international/uni-digit.el:
16572 * international/uni-lowercase.el, international/uni-mirrored.el:
16573 * international/uni-name.el, international/uni-numeric.el:
16574 * international/uni-titlecase.el, international/uni-uppercase.el:
16575 Update for Unicode 6.1.
16577 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16579 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16581 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16583 * window.el (shrink-window): Mention the `window-min-height'
16584 variable in the doc string.
16586 2012-04-05 Bastien Guerry <bzg@altern.org>
16588 * color.el (color-lighten-name): Fix typo.
16590 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16592 * server.el (server--on-display-p): New function.
16593 (server--on-display-p): Use it.
16595 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16597 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16600 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16602 * comint.el (comint--common-quoted-suffix): Check string boundary
16603 before comparing (bug#11158).
16604 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16606 2012-04-04 Chong Yidong <cyd@gnu.org>
16608 * minibuffer.el (completion-extra-properties): Doc fix.
16610 * subr.el (delayed-warnings-hook): Doc fix.
16612 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16614 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16615 selection (Bug#11159).
16616 (epa-insert-keys): Inform that the default public key will be
16617 exported if no key is selected.
16619 2012-04-04 Richard Stallman <rms@gnu.org>
16621 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16623 2012-04-03 Chong Yidong <cyd@gnu.org>
16625 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16626 mail-insert-file, not its obsolete alias mail-attach-file.
16628 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16630 * notifications.el (notifications-notify): Fix docstring.
16632 2012-04-02 Glenn Morris <rgm@gnu.org>
16634 * emacs-lisp/authors.el (authors-aliases): Another addition.
16636 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16638 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16639 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16640 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16642 2012-04-01 Chong Yidong <cyd@gnu.org>
16644 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16645 Handle root directory properly.
16646 (copy-directory): Caller changed.
16648 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16649 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16651 2012-03-31 Glenn Morris <rgm@gnu.org>
16653 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16655 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16657 * calendar/calendar.el (calendar-window-list)
16658 (calendar-hide-window): Restore. (Bug#11140)
16659 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16661 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16663 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16665 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16666 Check if file is a symlink (Bug#10489).
16668 * files.el (copy-directory): Likewise.
16670 2012-03-30 Chong Yidong <cyd@gnu.org>
16672 * image.el (imagemagick-types-inhibit)
16673 (imagemagick-register-types): Doc fix.
16675 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16677 * textmodes/ispell.el (ispell-get-extended-character-mode):
16678 Disable extended-char-mode for hunspell. hunspell does not support it
16679 and treats ~word as ordinary words in pipe mode.
16681 2012-03-30 Glenn Morris <rgm@gnu.org>
16683 * tutorial.el (help-with-tutorial): Ensure local variables don't
16684 happen to make the buffer read-only. (Bug#11127)
16686 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16688 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16689 (perl-calculate-indent): Return `noindent' in strings.
16691 2012-03-28 Sam Steingold <sds@gnu.org>
16693 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16694 instead of the broken adhockery which does not prevent calendar
16695 buffers from being displayed at random after exit.
16696 (calendar-window-list, calendar-hide-window): Remove the broken
16699 2012-03-28 Glenn Morris <rgm@gnu.org>
16701 * replace.el (query-replace-map): Doc fix.
16703 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16705 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16706 contents. (Bug#11109)
16708 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16710 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16712 (avl-tree--check, avl-tree--check-node): New funs.
16714 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16716 * window.el (switch-to-visible-buffer): New option.
16717 (switch-to-prev-buffer, switch-to-next-buffer):
16718 Observe switch-to-visible-buffer. Make sure that checking for a window
16719 showing a buffer already is done on the same frame.
16721 2012-03-27 Glenn Morris <rgm@gnu.org>
16723 * startup.el (mail-host-address): Doc fix.
16725 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16727 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16728 than 197 variables.
16730 2012-03-26 Ami Fischman <ami@fischman.org>
16732 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16734 2012-03-26 Glenn Morris <rgm@gnu.org>
16736 * files.el (save-buffers-kill-emacs): Doc fix.
16738 * startup.el (normal-top-level, command-line, command-line-1):
16739 Give them doc strings.
16741 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16743 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16744 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16746 2012-03-25 Chong Yidong <cyd@gnu.org>
16748 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16749 theme if it was previously enabled before (Bug#11031).
16751 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16752 spec with custom-face-get-current-spec if its :shown-value is not
16753 determined yet (Bug#9337).
16754 (customize-create-theme, custom-theme-revert): Doc fixes.
16756 * button.el (button-at): Minor addition to docstring.
16758 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16760 * vc/vc.el (vc-merge): Fix a prompt.
16762 2012-03-24 Chong Yidong <cyd@gnu.org>
16764 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16767 * button.el (button-at): Minor addition to docstring.
16769 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16771 * newcomment.el (comment-choose-indent): No space after BOL.
16773 2012-03-22 Sam Steingold <sds@gnu.org>
16775 * window.el (switch-to-prev-buffer): Revert last patch because the
16776 bug turned out to be an advertised feature (Elisp manual 28.14).
16778 2012-03-22 Glenn Morris <rgm@gnu.org>
16780 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16781 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16783 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16785 * net/network-stream.el (network-stream-open-starttls): Make error
16786 message under Windows be less misleading.
16788 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16790 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16791 understands (bug#9942).
16793 2012-03-22 Chong Yidong <cyd@gnu.org>
16795 * simple.el (end-of-visible-line): Handle return value of
16796 next-single-property-change properly (Bug#9371).
16798 2012-03-22 Kenichi Handa <handa@m17n.org>
16800 * international/quail.el (quail-insert-kbd-layout): Fix previous
16801 change. To avoid unwanted bidi reordering, use
16802 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16804 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16806 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16807 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16808 (ruby-beginning-of-indent): Be more careful with the difference
16809 between word-boundary and symbol boundary.
16810 (ruby-mode-syntax-table): Make : a symbol constituent.
16812 2012-03-21 Andreas Politz <politza@fh-trier.de>
16814 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16816 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16818 * progmodes/etags.el (tags-completion-at-point-function):
16821 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16823 2012-03-21 Sam Steingold <sds@gnu.org>
16825 * progmodes/etags.el (tags-completion-at-point-function):
16826 Avoid the error when point is inside the pattern.
16828 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16830 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16833 2012-03-21 Drew Adams <drew.adams@oracle.com>
16835 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16837 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16839 * ido.el (ido-set-current-directory, ido-read-internal)
16840 (ido-choose-completion-string, ido-completion-help): Handle nil
16841 value of ido-completion-buffer (Bug#11008).
16843 2012-03-21 Sam Steingold <sds@gnu.org>
16845 * window.el (switch-to-prev-buffer): Do not switch to a visible
16846 window previous buffer, just like with the frame previous buffers.
16848 2012-03-21 Chong Yidong <cyd@gnu.org>
16850 * faces.el (make-face, make-empty-face, copy-face):
16851 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16854 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16856 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16857 (widget-complete): Remove broken use of it.
16859 2012-03-20 Chong Yidong <cyd@gnu.org>
16861 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16862 Use string-width and truncate-string-width to handle arbitrary
16865 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16867 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16868 to draw rectangles, not squares. (Regression introduced by revno
16869 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16871 2012-03-18 Chong Yidong <cyd@gnu.org>
16873 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16874 it is not yet defined (for temacs).
16876 2012-03-18 Leo Liu <sdl.web@gmail.com>
16878 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16881 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16883 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16884 (ispell-choices-win-default-height, ispell-silently-savep)
16885 (ispell-dictionary-alist, ispell-encoding8-command)
16886 (ispell-check-version, ispell-aspell-find-dictionary)
16887 (ispell-valid-dictionary-list, ispell-words-keyword)
16888 (ispell-get-word, ispell-internal-change-dictionary)
16889 (ispell-region, ispell-skip-region-list)
16890 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16891 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16892 (ispell-message-text-end, ispell-message)
16893 (ispell-buffer-local-parsing): Doc fix.
16895 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16897 * htmlfontify.el: Add support for code block fontification for ODT
16898 export (Bug #9914).
16899 (hfy-optimisations): Define new option
16901 (hfy-fontify-buffer): Honor above setting.
16902 (hfy-begin-span, hfy-end-span): New routines factored out form
16903 `hfy-fontify-buffer'.
16904 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16905 that permit insertion of custom tags.
16906 (hfy-fontify-buffer): Use above handlers.
16907 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16908 (hfy-face-to-css): Re-defined to be a variable.
16909 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16910 over multiple runs. This is made possible by having the caller let
16911 bind a special variable `hfy-user-sheet-assoc'.
16912 (htmlfontify-string): New defun.
16913 (hfy-compile-face-map): Make sure that the last char in the
16914 buffer is correctly fontified.
16915 (hfy-face-resolve-face): Whitespace only change.
16917 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16919 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16920 message more clear.
16922 2012-03-16 Leo Liu <sdl.web@gmail.com>
16924 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16926 2012-03-16 Alan Mackenzie <acm@muc.de>
16928 Further optimize the handling of large macros.
16930 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16931 limit to a call of `c-literal-limits'.
16932 (c-determine-+ve-limit): New function.
16933 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16934 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16935 In CASE 5B, restrict a search limit to 500.
16936 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16938 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16939 Restrict macro bounds to +-500 from after-change's BEG END.
16941 2012-03-16 Leo Liu <sdl.web@gmail.com>
16943 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16945 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16947 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16948 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16950 2012-03-16 Glenn Morris <rgm@gnu.org>
16952 * view.el (view-buffer, view-buffer-other-window)
16953 (view-buffer-other-frame): Doc fixes re special mode-class.
16955 * subr.el (eval-after-load): If named feature is provided not from
16956 a file, run after-load forms. (Bug#10946)
16958 * calendar/calendar.el (calendar-insert-at-column):
16959 Handle non-unit-width characters a bit better. (Bug#10978)
16961 2012-03-15 Chong Yidong <cyd@gnu.org>
16963 * emacs-lisp/ring.el (ring-extend): New function.
16964 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16966 * comint.el (comint-read-input-ring)
16967 (comint-add-to-input-history): Grow comint-input-ring lazily.
16969 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16971 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16972 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16974 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16975 (imenu-add-to-menubar): Don't add a redundant index.
16976 (imenu-update-menubar): Handle a dynamically composed keymap.
16978 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16980 * mail/sendmail.el (mail-encode-header):
16981 Bind rfc2047-encode-encoded-words to nil.
16983 2012-03-13 Glenn Morris <rgm@gnu.org>
16985 * calendar/calendar.el (calendar-string-spread):
16986 Handle non-unit-width characters a bit better. (Bug#10978)
16988 2012-03-13 Leo Liu <sdl.web@gmail.com>
16990 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16991 directory and file as argument (Bug#10822).
16993 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16995 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16996 For dynamically generated code, follow $PC.
16997 (gdb-disassembly-handler-custom): Handle no function name case.
16999 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17001 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17002 * emulation/ws-mode.el (ws-query-replace):
17003 * sort.el (sort-regexp-fields):
17004 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17006 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17008 * dabbrev.el: Fix cycle completion order (bug#10963).
17009 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17010 (dabbrev-completion): Don't use an obarray; provide
17011 a cycle-sort-function.
17013 2012-03-12 Leo Liu <sdl.web@gmail.com>
17015 * simple.el (kill-new): Use equal-including-properties for comparison.
17016 (kill-do-not-save-duplicates): Doc fix.
17018 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17020 * dabbrev.el: Fix cycle completion (bug#10963).
17021 Use lexical binding and wrap to 80 columns.
17022 (dabbrev-completion): Delay computing the list of completions.
17024 2012-03-12 Kenichi Handa <handa@m17n.org>
17026 * international/quail.el (quail-insert-kbd-layout): Surround each
17027 row by LRO and PDF instead of inserting many LRMs. Pad the left
17028 and right of each non-spacing marks. Insert invisible space
17029 between lower and upper characters to prevent composition.
17031 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17033 * minibuffer.el (minibuffer-complete): Don't get confused when the
17034 function is run twice via different commands (bug#10958).
17035 (complete-with-action): Fix docstring.
17037 2012-03-12 Chong Yidong <cyd@gnu.org>
17039 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17040 (nxml-completion-at-point-function): New function.
17041 (nxml-mode): Use it.
17042 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17044 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17045 Load generated autoloads file before byte compiling (Bug#10970).
17046 (package--make-autoloads-and-compile): New helper fun.
17048 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17050 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17052 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17054 * autorevert.el (auto-revert-handler): Ensure, that
17055 file-readable-p is applied only for local files or in
17056 auto-revert-tail-mode.
17058 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17060 * server.el (server-eval-at): Handle non-tcp connections.
17061 Decode result string.
17063 * server.el (server-msg-size): New constant.
17064 (server-reply-print): New function.
17065 (server-eval-and-print): Use it.
17066 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17067 Handle -print-nonl.
17069 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17071 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17074 2012-03-11 Chong Yidong <cyd@gnu.org>
17076 * simple.el (goto-line): Doc fix (Bug#9938).
17078 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17080 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17081 when finished (Bug#10963).
17083 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17085 * window.el (split-window-below): Fix bug in case where
17086 split-window-keep-point is nil (Bug#10971).
17088 2012-03-11 Juri Linkov <juri@jurta.org>
17090 * replace.el (replace-highlight): Set isearch-word to nil
17091 unconditionally. (Bug#10887)
17093 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17095 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17096 mairix-replace-illegal-chars; all callers changed. Don't remove
17097 ^, ~, and = characters: they are meaningful in mairix search specs.
17098 (mairix-widget-create-query): Add usage information about mairix
17099 search forms: negating words, searching for substrings, etc.
17101 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17103 * international/fontset.el (font-encoding-alist): Add an entry for
17104 ksx1001 (Bug#5667).
17106 2012-03-10 Richard Stallman <rms@gnu.org>
17108 * mail/sendmail.el (mail-encode-header):
17109 Set rfc2047-encode-encoded-words.
17111 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17113 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17114 view buffer means not swapped.
17115 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17116 (rmail-write-region-annotate): Error if real text has disappeared.
17118 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17120 2012-03-10 Chong Yidong <cyd@gnu.org>
17122 * emulation/cua-rect.el (cua--init-rectangles):
17123 * emulation/cua-base.el (cua--init-keymaps):
17124 Add delete-forward-char to remappings (Bug#9666).
17126 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17128 * speedbar.el (speedbar-unhighlight-one-tag-line):
17129 Avoid unhighlighting due to frame switching (Bug#10275).
17131 2012-03-10 Chong Yidong <cyd@gnu.org>
17133 * minibuffer.el (completion-in-region, completion-help-at-point):
17134 Give the completion field overlay a high priority (Bug#6830).
17136 * dired.el (dired-goto-file): Recognize absolute file name
17137 listings (Bug#7126).
17138 (dired-goto-file-1): New helper function.
17139 (dired-toggle-read-only): Inhibit warnings.
17141 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17143 * net/dbus.el (dbus-property-handler): Return empty array if
17144 there are no properties.
17146 2012-03-09 Leo Liu <sdl.web@gmail.com>
17148 * savehist.el (savehist-printable): Stricter check for string
17151 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17153 * mail/smtpmail.el (smtpmail-send-it):
17154 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17157 2012-03-09 Glenn Morris <rgm@gnu.org>
17159 * files.el (dir-locals-find-file):
17160 Don't check result is regular, readable.
17161 (dir-locals-read-from-file): Demote errors.
17163 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17165 * international/quail.el (quail-insert-kbd-layout):
17166 Insert invisible LRM characters before each character in a keyboard
17167 layout cell, to prevent their reordering by bidi display engine.
17168 For details, see the discussion in
17169 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17171 2012-03-08 Alan Mackenzie <acm@muc.de>
17173 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17174 the starting position; make it extend the marked region when
17175 invoked repeatedly - all under appropriate circumstances.
17176 Fixes bugs #5525, #10906.
17178 2012-03-08 Glenn Morris <rgm@gnu.org>
17180 * files.el (locate-dominating-file, dir-locals-find-file):
17181 Undo 2012-03-06 change.
17183 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17185 * international/quail.el (quail-help):
17186 Force bidi-paragraph-direction be left-to-right. See discussion in
17187 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17190 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17192 Avoid superfluous registering of signals. (Bug#10807)
17194 * notifications.el (notifications-on-action-object)
17195 (notifications-on-close-object): New defvars.
17196 (notifications-on-action-signal, notifications-on-closed-signal):
17197 Unregister the signal if not needed any longer.
17198 (notifications-notify): Register `notifications-action-signal' or
17199 `notifications-closed-signal', if :on-action or :on-close has been
17200 passed as argument.
17202 2012-03-07 Chong Yidong <cyd@gnu.org>
17204 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17207 2012-03-06 Glenn Morris <rgm@gnu.org>
17209 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17210 (x-disown-selection-internal, x-get-selection-internal):
17211 Doc fix (add arglist signatures). (Bug#10783)
17213 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17215 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17216 Handle breakpoints with no "type".
17218 2012-03-06 Glenn Morris <rgm@gnu.org>
17220 * files.el (locate-dominating-file): Add optional predicate argument.
17221 (dir-locals-find-file): Make use of above change.
17223 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17225 * info.el (Info-insert-dir): Also try "dir.gz".
17227 2012-03-06 Glenn Morris <rgm@gnu.org>
17229 * files.el (dir-locals-find-file):
17230 Ignore non-readable or non-regular files. (Bug#10928)
17232 * files.el (locate-dominating-file): Doc fix.
17234 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17236 * calendar/calendar.el (calendar-set-mode-line):
17237 `getenv' returns a string. (Bug#10951)
17239 2012-03-05 Leo Liu <sdl.web@gmail.com>
17241 * simple.el (backward-delete-char-untabify): Constrain point to
17244 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17246 2012-03-05 Chong Yidong <cyd@gnu.org>
17248 * simple.el (count-words): If called from Lisp, return the word
17249 count, for symmetry with `count-lines'. Arglist changed.
17250 (count-words--message): Args changed. Consolidate counting code
17251 from count-words and count-words-region.
17252 (count-words-region): Caller changed.
17253 (count-lines-region): Make it an obsolete alias.
17255 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17257 * saveplace.el (save-place-to-alist)
17258 (save-place-ignore-files-regexp): Allow value nil to disable this
17261 2012-03-04 Chong Yidong <cyd@gnu.org>
17263 * faces.el (face-spec-reset-face): For the default face, reset the
17264 attributes to default values (Bug#10748).
17266 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17268 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17269 previous patch: Check `message-send-mail-function', and not the
17270 default function (bug#10897).
17272 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17274 * notifications.el (notifications-on-action-signal)
17275 (notifications-on-closed-signal): Check for unique service name of
17276 incoming event. Fix error in removing entry.
17277 (top): Register for signals with wildcard service name.
17278 (notifications-notify): Use daemon unique service name for map entries.
17280 2012-03-04 Chong Yidong <cyd@gnu.org>
17282 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17284 2012-03-04 Glenn Morris <rgm@gnu.org>
17286 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17287 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17288 (expand-abbrev, define-abbrev-table): Doc fixes.
17290 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17292 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17293 `message-default-send-mail-function' and not `send-mail-function'
17294 when doing the prompting for `sendmail-query-once' before sending
17295 in Message buffers (bug#10897).
17297 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17298 This is inconsistent with all the other stream functions, which leave
17299 the setting up to the higher levels (if so wanted) (bug#10931).
17301 2012-03-02 Alan Mackenzie <acm@muc.de>
17303 Depessimize the handling of very large macros.
17305 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17306 (c-macro-cache-syntactic): New variables to implement a one
17307 element macro cache.
17308 (c-invalidate-macro-cache): New function.
17309 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17310 Adapt to use the new cache.
17311 (c-state-safe-place): Use better the cache of safe positions.
17312 (c-state-semi-nonlit-pos-cache)
17313 (c-state-semi-nonlit-pos-cache-limit):
17314 New variables for...
17315 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17316 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17317 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17318 Use c-state-semi-safe-place.
17320 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17321 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17323 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17325 * jka-compr.el (jka-compr-call-process):
17326 Apply `file-accessible-directory-p' only when the default directory is
17329 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17331 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17332 access of FILE2, if FILE1 does not exist.
17334 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17335 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17337 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17338 Add "PAGER=" to `process-environment'.
17340 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17342 * progmodes/sql.el: Bug fix
17343 (sql-get-login-ext): Save login values in globals.
17344 (sql-get-login): Use new version of `sql-get-login-ext'.
17345 (sql-interactive-mode): Set global `sql-connection' to nil.
17346 (sql-connect): Set global values for connection.
17347 (sql-product-interactive): Save global values as buffer local.
17349 2012-02-29 Leo Liu <sdl.web@gmail.com>
17351 * abbrev.el (define-abbrevs): Reset sys to nil.
17353 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17355 * files.el (file-equal-p): Rename from `files-equal-p'.
17356 Return nil when one or both files don't exist.
17357 (file-subdir-of-p): Now only top directory must exists,
17358 return nil if it doesn't.
17359 (copy-directory): No need to test with `file-subdir-of-p' after
17361 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17364 2012-02-28 Glenn Morris <rgm@gnu.org>
17366 * shell.el (shell-mode):
17367 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17368 * play/landmark.el (landmark-font-lock-face-O):
17369 * play/handwrite.el (handwrite):
17370 * play/gomoku.el (gomoku-O):
17371 * net/browse-url.el (browse-url-browser-display):
17372 * international/mule.el (define-charset):
17373 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17374 * filesets.el (filesets-find-file-delay):
17375 * eshell/em-xtra.el (eshell-xtra):
17376 * eshell/em-unix.el (eshell-grep):
17377 * emulation/viper.el (viper-mode):
17378 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17379 * emacs-lisp/easymenu.el (easy-menu-define):
17380 * calendar/timeclock.el (timeclock-use-display-time):
17382 * bookmark.el (bookmark-save-flag):
17383 Doc fix (standardize possessive apostrophe usage).
17385 2012-02-27 Chong Yidong <cyd@gnu.org>
17387 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17388 Fix key-binding lookup for ESC key (Bug#9146).
17390 * font-lock.el (font-lock-specified-p): Rename from
17391 font-lock-spec-present. Callers changed.
17393 2012-02-27 Daniel Hackney <dan@haxney.org>
17395 * emacs-lisp/package.el (package-compute-transaction):
17396 Handle holding a package version to t in package-load-list.
17398 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17400 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17401 (tramp-get-inode, tramp-get-device): Use cached values.
17403 2012-02-26 Alan Mackenzie <acm@muc.de>
17405 Check there is a font-lock specification before doing initial
17408 * font-core.el (font-lock-mode): Move the conditional from
17409 :after-hook to font-lock-initial-fontify.
17410 (font-lock-default-function): Move the check for a specification
17411 to font-lock-spec-present.
17413 * font-lock.el (font-lock-initial-fontify): Call ...
17414 (font-lock-spec-present): New function.
17416 2012-02-26 Jim Blandy <jimb@red-bean.com>
17418 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17419 (gdb-send): Apply it to the operand of the '-interpreter-exec
17420 console' command, so that we can pass arguments with (say) quotes
17421 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17423 2012-02-26 Chong Yidong <cyd@gnu.org>
17425 * help-fns.el (describe-function-1): Clarify description of
17426 remapping (Bug#10844).
17428 * files.el (files-equal-p): Doc fix.
17429 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17430 and quit the loop once a mismatch is found.
17432 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17434 * bs.el (bs--show-with-configuration): Don't throw an error
17435 if the window cannot be split; otherwise, subsequent calls to
17436 bs-show fail, restoring a stale window config. (Bug#10882)
17438 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17440 * term/ns-win.el (global-map): Bind ns-drag-file to
17441 ns-find-file (Bug#5855, Bug#10050).
17443 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17445 * calendar/parse-time.el (parse-time-string): Allow extractor to
17448 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17450 * net/tramp.el (tramp-file-name-for-operation):
17451 Add `files-equal-p' and `file-subdir-of-p'.
17453 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17454 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17455 Add COPY-CONTENTS argument.
17457 2012-02-25 Chong Yidong <cyd@gnu.org>
17459 Add custom groups for VC backends, for consistency with vc-bzr.
17461 * vc/vc-arch.el (vc-arch):
17462 * vc/vc-cvs.el (vc-cvs):
17463 * vc/vc-git.el (vc-git):
17464 * vc/vc-hg.el (vc-hg):
17465 * vc/vc-mtn.el (vc-mtn):
17466 * vc/vc-rcs.el (vc-rcs):
17467 * vc/vc-sccs.el (vc-sccs):
17468 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17469 All relevant defcustoms reassigned.
17471 2012-02-25 Chong Yidong <cyd@gnu.org>
17473 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17475 * term/x-win.el (x-initialize-window-system): Reduce default for
17476 x-selection-timeout to 5 seconds (Bug#8869).
17478 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17480 * files.el (files-equal-p, file-subdir-of-p): New functions.
17481 (copy-directory): Error when trying to copy a directory on itself.
17482 Add missing copy-contents arg to tramp handler.
17483 * dired-aux.el (dired-copy-file-recursive): Same.
17484 (dired-create-files): Modify destination when source is equal to
17485 dest when copying files.
17486 Return also when dest is a subdir of source. (Bug#10489)
17488 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17490 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17493 2012-02-23 Alan Mackenzie <acm@muc.de>
17495 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17496 parameter "after-hook:" to allow the expansion to run code after
17497 the execution of the mode hooks.
17499 * font-lock.el (font-lock-initial-fontify): New function extracted
17500 from font-lock-mode-internal.
17502 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17505 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17507 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17508 (completion--cache-all-sorted-completions): New function.
17509 (completion-all-sorted-completions): Use it.
17510 (completion--do-completion, minibuffer-force-complete):
17511 Use it to re-instate the flush hook.
17513 * icomplete.el (icomplete-completions): Replace last fix with a better
17516 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17518 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17519 when it might call us back infinitely (bug#10797).
17521 2012-02-23 Glenn Morris <rgm@gnu.org>
17523 * minibuffer.el (completion-category-overrides): Doc fix.
17525 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17527 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17528 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17530 2012-02-23 Glenn Morris <rgm@gnu.org>
17532 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17533 (authors-obsolete-files-regexps, authors-ignored-files)
17534 (authors-ambiguous-files, authors-renamed-files-alist):
17537 2012-02-23 Juri Linkov <juri@jurta.org>
17539 * isearch.el (isearch-occur): Sync interactive spec with occur's
17540 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17542 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17544 2012-02-22 Juri Linkov <juri@jurta.org>
17546 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17547 (ucs-insert): Doc fix. Check for hex digits in the string.
17548 Don't display `nil' in the error message. (Bug#10857)
17550 2012-02-22 Alan Mackenzie <acm@muc.de>
17552 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17554 2012-02-22 Glenn Morris <rgm@gnu.org>
17556 * ffap.el (ffap-c-path):
17557 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17559 2012-02-22 Chong Yidong <cyd@gnu.org>
17561 * custom.el (load-theme): Doc fix.
17563 2012-02-22 Glenn Morris <rgm@gnu.org>
17565 * dired-x.el (dired-guess-shell-alist-default):
17566 Remove escape sequences from nroff output. (Bug#172)
17568 2012-02-21 Glenn Morris <rgm@gnu.org>
17570 * vc/emerge.el (emerge-defvar-local):
17571 Set `permanent-local' property rather than unused `preserved'.
17573 * textmodes/picture.el (picture-delete-char): New alias.
17574 (picture-mode-map): Use it. (Bug#10860)
17575 (picture-mode): Doc fix.
17577 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17579 * newcomment.el (uncomment-region-default): Remove unused binding.
17581 2012-02-21 Glenn Morris <rgm@gnu.org>
17583 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17584 (picture-self-insert, picture-tab-chars): Doc fix.
17585 (picture-mode-map): Fix C-a, C-e.
17587 2012-02-20 Glenn Morris <rgm@gnu.org>
17589 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17591 2012-02-20 Leo Liu <sdl.web@gmail.com>
17593 * icomplete.el (icomplete-completions): Check FROM arg before
17594 passing to substring (Bug#10850).
17596 2012-02-19 Chong Yidong <cyd@gnu.org>
17598 * comint.el: Require ansi-color.
17599 (comint-output-filter-functions): Add ansi-color-process-output.
17601 * ansi-color.el: Don't set comint-output-filter-functions; it is
17602 now in the initial value defined in comint.el.
17603 (ansi-color-apply-face-function): New variable.
17604 (ansi-color-apply-on-region): Use it.
17605 (ansi-color-apply-overlay-face): New function.
17607 * shell.el (shell): No need to require ansi-color.
17608 (shell-mode): Use ansi-color-apply-face-function to highlight
17609 color escapes using font-lock-face property (Bug#10835).
17611 2012-02-19 Chong Yidong <cyd@gnu.org>
17613 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17614 mode-line formats (Bug#10839).
17616 2012-02-18 Glenn Morris <rgm@gnu.org>
17618 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17620 * mail/undigest.el (unforward-rmail-message): Doc fix.
17622 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17624 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17626 * international/characters.el (script-list): Sync with the latest
17627 Unicode Character Database.
17629 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17631 * international/titdic-cnv.el: Remove duplicate coding tag.
17632 * language/cham.el: Likewise.
17633 * language/tai-viet.el: Likewise.
17635 2012-02-18 Glenn Morris <rgm@gnu.org>
17637 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17638 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17639 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17640 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17641 * calendar/holidays.el (holiday-bahai-holidays)
17642 (calendar-holidays, list-holidays):
17643 Use utf-8 Bahá'í in doc-strings, menus, etc.
17645 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17647 * saveplace.el (save-place-ignore-files-regexp): New variable
17648 allowing for excluding files from saving their location of point.
17649 The default value matches the temporary commit message editing
17650 files from Git, SVN, Bazaar, and Mercurial.
17651 (save-place-to-alist): Use it.
17653 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17654 Stefan Monnier <monnier@iro.umontreal.ca>
17656 * newcomment.el (uncomment-region-default): Don't leave extra space
17657 when an arg is provided (bug#8150).
17659 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17661 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17663 2012-02-17 Glenn Morris <rgm@gnu.org>
17665 * net/socks.el: Require network-stream. (Bug#10599)
17667 2012-02-17 Kenichi Handa <handa@m17n.org>
17669 * international/charprop.el:
17670 * international/uni-name.el:
17671 * international/uni-old-name.el:
17672 * international/uni-comment.el: Regenerate.
17674 2012-02-16 Glenn Morris <rgm@gnu.org>
17676 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17677 Interactively in calendar buffer, give an error if not on a date.
17679 2012-02-15 Glenn Morris <rgm@gnu.org>
17681 * shell.el (shell-delimiter-argument-list):
17682 Revert 2011-02-17 change. (Bug#8027)
17684 2012-02-15 Chong Yidong <cyd@gnu.org>
17686 * minibuffer.el (completion-at-point-functions): Doc fix.
17688 * custom.el (defcustom): Doc fix; note use of defvar.
17690 2012-02-15 Glenn Morris <rgm@gnu.org>
17692 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17695 2012-02-14 Glenn Morris <rgm@gnu.org>
17697 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17699 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17701 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17702 way the ports list is computed.
17703 (smtpmail-query-smtp-server): Prompt the user for a port number if
17704 we can't connect to any of the standard ports (bug#10810).
17706 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17708 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17710 2012-02-13 Glenn Morris <rgm@gnu.org>
17712 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17714 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17716 * net/gnutls.el (gnutls-trustfiles): New variable.
17717 (gnutls-negotiate): Use it.
17719 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17721 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17722 does its stuff if Gnus is running.
17724 2012-02-13 Alan Mackenzie <acm@muc.de>
17726 Fix a loop in c-set-fl-decl-start.
17728 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17729 c-backward-syntactic-ws actually moves backwards.
17731 2012-02-13 Leo Liu <sdl.web@gmail.com>
17733 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17734 beginning so that all \C-o chars are removed.
17736 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17738 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17740 2012-02-12 Alan Mackenzie <acm@muc.de>
17742 Fix infinite loop with long macros.
17743 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17745 2012-02-12 Chong Yidong <cyd@gnu.org>
17747 * window.el (display-buffer): Doc fix (Bug#10785).
17749 2012-02-12 Glenn Morris <rgm@gnu.org>
17751 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17752 (x-disown-selection-internal, x-get-selection-internal):
17753 Sync docs with the xselect.c versions.
17755 * allout-widgets.el: Add missing license notice.
17757 2012-02-11 Glenn Morris <rgm@gnu.org>
17759 * select.el (x-get-selection-internal, x-own-selection-internal)
17760 (x-disown-selection-internal):
17761 * x-dnd.el (x-get-selection-internal): Update declarations.
17763 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17765 * window.el (window-sides-slots):
17766 * tool-bar.el (tool-bar-position):
17767 * term/xterm.el (xterm-extra-capabilities):
17768 * ses.el (ses-self-reference-early-detection):
17769 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17770 (verilog-auto-wire-type)
17771 (verilog-auto-delete-trailing-whitespace)
17772 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17773 (verilog-auto-tieoff-declaration):
17774 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17775 (sql-oracle-statement-starters, sql-oracle-scan-on):
17776 * progmodes/prolog.el (prolog-align-comments-flag)
17777 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17778 (prolog-left-indent-regexp, prolog-paren-indent-p)
17779 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17780 (prolog-types, prolog-mode-specificators)
17781 (prolog-determinism-specificators, prolog-directives)
17782 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17783 (prolog-electric-dot-flag)
17784 (prolog-electric-dot-full-predicate-template)
17785 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17786 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17787 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17788 (prolog-program-switches, prolog-prompt-regexp)
17789 (prolog-debug-on-string, prolog-debug-off-string)
17790 (prolog-trace-on-string, prolog-trace-off-string)
17791 (prolog-zip-on-string, prolog-zip-off-string)
17792 (prolog-use-standard-consult-compile-method-flag)
17793 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17794 (prolog-imenu-max-lines, prolog-info-predicate-index)
17795 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17796 (prolog-char-quote-workaround):
17797 * progmodes/cc-vars.el (c-defun-tactic):
17798 * net/tramp.el (tramp-encoding-command-interactive)
17799 (tramp-local-end-of-line):
17800 * net/soap-client.el (soap-client):
17801 * net/netrc.el (netrc-file):
17802 * net/gnutls.el (gnutls):
17803 * minibuffer.el (completion-category-overrides)
17804 (completion-cycle-threshold)
17805 (completion-pcm-complete-word-inserts-delimiters):
17806 * man.el (Man-name-local-regexp):
17807 * mail/feedmail.el (feedmail-display-full-frame):
17808 * international/characters.el (glyphless-char-display-control):
17809 * eshell/em-ls.el (eshell-ls-date-format):
17810 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17811 (lisp-lambda-list-keyword-parameter-indentation)
17812 (lisp-lambda-list-keyword-parameter-alignment):
17813 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17814 * dired-x.el (dired-omit-verbose):
17815 * cus-theme.el (custom-theme-allow-multiple-selections):
17816 * calc/calc.el (calc-highlight-selections-with-faces)
17817 (calc-lu-field-reference, calc-lu-power-reference)
17818 (calc-note-threshold):
17819 * battery.el (battery-mode-line-limit):
17820 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17821 (archive-7z-update):
17822 * allout.el (allout-prefixed-keybindings)
17823 (allout-unprefixed-keybindings)
17824 (allout-inhibit-auto-fill-on-headline)
17825 (allout-flattened-numbering-abbreviation):
17826 * allout-widgets.el (allout-widgets-auto-activation)
17827 (allout-widgets-icons-dark-subdir)
17828 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17829 (allout-widgets-theme-dark-background)
17830 (allout-widgets-theme-light-background)
17831 (allout-widgets-item-image-properties-emacs)
17832 (allout-widgets-item-image-properties-xemacs)
17833 (allout-widgets-run-unit-tests-on-load)
17834 (allout-widgets-time-decoration-activity)
17835 (allout-widgets-hook-error-post-time)
17836 (allout-widgets-track-decoration):
17837 Add missing :version tags to new defcustoms and defgroups.
17839 * progmodes/sql.el (sql-ansi-statement-starters)
17840 (sql-oracle-statement-starters): Add custom type.
17842 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17843 (prolog-system-version): Give it a type.
17845 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17847 * term/pc-win.el (x-select-text, x-selection-owner-p)
17848 (x-own-selection-internal, x-disown-selection-internal)
17849 (x-get-selection-internal): Sync doc strings and argument lists
17850 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17852 2012-02-11 Leo Liu <sdl.web@gmail.com>
17854 * progmodes/python.el (python-end-of-statement): Fix infinite
17857 2012-02-10 Glenn Morris <rgm@gnu.org>
17859 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17860 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17862 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17864 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17865 about SMTP before checking the From header.
17867 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17868 into own function for reuse by emacsbug.el.
17870 2012-02-10 Leo Liu <sdl.web@gmail.com>
17872 * subr.el (condition-case-unless-debug): Rename from
17873 condition-case-no-debug. All callers changed.
17874 (with-demoted-errors): Fix caller.
17876 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17877 * nxml/rng-valid.el (rng-do-some-validation):
17878 * emacs-lisp/package.el (package-refresh-contents)
17879 (package-menu-execute):
17880 * desktop.el (desktop-create-buffer):
17881 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17883 2012-02-10 Glenn Morris <rgm@gnu.org>
17885 * textmodes/bibtex.el:
17886 Add missing :version tags for new/changed defcustoms.
17888 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17890 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17892 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17893 (smtpmail-via-smtp): Use it, or fall back on the From address.
17894 (smtpmail-send-it): Ditto.
17896 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17898 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17899 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17900 (byte-compile-tmp-var): New const.
17901 (byte-compile-defvar): Use it to minimize .elc size.
17902 Just use `defvar' rather than simulate it (bug#10761).
17904 2012-02-09 Glenn Morris <rgm@gnu.org>
17906 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17908 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17911 * progmodes/compile.el (compilation-error-screen-columns)
17912 (compilation-first-column, compilation-filter-start): Doc fixes.
17914 * vc/log-view.el (log-view-toggle-entry-display):
17915 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17917 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17918 (report-emacs-bug-can-use-xdg-email):
17919 (report-emacs-bug-insert-to-mailer): Doc fixes.
17920 (report-emacs-bug): Message fix.
17922 * net/browse-url.el (browse-url-can-use-xdg-open)
17923 (browse-url-xdg-open): Doc fixes.
17925 * electric.el (electric-indent-mode, electric-pair-mode)
17926 (electric-layout-rules, electric-layout-mode): Doc fixes.
17927 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17929 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17931 * server.el (server-unselect-display): Don't inadvertently kill
17932 the current buffer. (Bug#10729)
17934 2012-02-08 Glenn Morris <rgm@gnu.org>
17936 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17937 (sql-list-table): Doc fixes.
17939 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17940 Comment out (does nothing).
17942 * completion.el (dynamic-completion-mode):
17943 * dirtrack.el (dirtrack-debug-mode):
17944 * electric.el (electric-layout-mode):
17945 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17946 * face-remap.el (text-scale-mode, buffer-face-mode):
17947 * iimage.el (iimage-mode):
17948 * image-mode.el (image-transform-mode):
17949 * minibuffer.el (completion-in-region-mode):
17950 * scroll-lock.el (scroll-lock-mode):
17951 * simple.el (next-error-follow-minor-mode):
17952 * tar-mode.el (tar-subfile-mode):
17953 * tooltip.el (tooltip-mode):
17954 * vcursor.el (vcursor-use-vcursor-map):
17955 * wid-browse.el (widget-minor-mode):
17956 * emulation/tpu-edt.el (tpu-edt-mode):
17957 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17958 * international/iso-ascii.el (iso-ascii-mode):
17959 * language/thai-util.el (thai-word-mode):
17960 * mail/supercite.el (sc-minor-mode):
17961 * net/goto-addr.el (goto-address-mode):
17962 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17963 * progmodes/cwarn.el (cwarn-mode):
17964 * progmodes/flymake.el (flymake-mode):
17965 * progmodes/glasses.el (glasses-mode):
17966 * progmodes/hideshow.el (hs-minor-mode):
17967 * progmodes/pascal.el (pascal-outline-mode):
17968 * textmodes/enriched.el (enriched-mode):
17969 * vc/smerge-mode.el (smerge-mode):
17970 Doc fixes (minor mode argument).
17972 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17974 * ls-lisp.el (ls-lisp-sanitize): New function.
17975 (ls-lisp-insert-directory): Use it to fix or remove any elements
17976 in file-alist with missing attributes. (Bug#4673)
17978 2012-02-07 Alan Mackenzie <acm@muc.de>
17980 Fix spurious recognition of c-in-knr-argdecl.
17982 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17983 putative K&R region.
17985 2012-02-07 Alan Mackenzie <acm@muc.de>
17987 * progmodes/cc-engine.el (c-forward-objc-directive):
17988 Prevent looping in "#pragma mark @implementation".
17990 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17992 * notifications.el (notifications-on-closed-signal): Make `reason'
17993 optional. (Bug#10744)
17995 2012-02-07 Glenn Morris <rgm@gnu.org>
17997 * emacs-lisp/easy-mmode.el (define-minor-mode):
17998 Doc fixes for the macro and the mode it defines.
18000 * image.el (imagemagick-types-inhibit): Doc fix.
18002 * cus-start.el (imagemagick-render-type): Add it.
18004 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18006 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18007 Set the default at load time, too, so that `font-lock-fontify-buffer'
18008 can be called without setting up the entire mode first. This fixes
18009 a bug in `mm-inline-text' with C MIME parts.
18011 2012-02-06 Chong Yidong <cyd@gnu.org>
18013 * simple.el (list-processes--refresh): Delete exited processes
18016 * comint.el (comint-next-prompt): next-single-char-property-change
18017 and prev-single-char-property-change never return nil (Bug#8657).
18019 * custom.el (defcustom): Doc fix (Bug#9711).
18021 2012-02-05 Chong Yidong <cyd@gnu.org>
18023 * cus-edit.el (custom-variable-reset-backup): Quote the value
18024 before storing it in the customized-value property (Bug#6712).
18025 (custom-display): Add a customization type tag.
18026 (custom-buffer-create-internal): Improve tooltip message.
18028 * wid-edit.el (widget-field-value-get): New optional arg to
18029 suppress trailing whitespace truncation.
18030 (character): Use it (Bug#2689).
18032 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18034 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18035 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18037 2012-02-05 Chong Yidong <cyd@gnu.org>
18039 * cus-edit.el (custom-variable-value-create): For mismatched
18040 types, show the current value (Bug#7600).
18042 * custom.el (defcustom): Doc fix.
18044 2012-02-05 Glenn Morris <rgm@gnu.org>
18046 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18048 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18050 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18051 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18052 (pp-last-sexp): Use `looking-at-p'.
18054 2012-02-04 Glenn Morris <rgm@gnu.org>
18056 * files.el (revert-buffer):
18057 Doc fix (mention revert-buffer-in-progress-p).
18059 * emacs-lisp/ert-x.el (ert-simulate-command):
18060 Check deferred-action-list (which is obsolete) is bound.
18062 * subr.el (with-wrapper-hook): Doc fixes.
18064 * simple.el (filter-buffer-substring-functions)
18065 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18067 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18069 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18070 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18072 2012-02-04 Leo Liu <sdl.web@gmail.com>
18074 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18076 2012-02-04 Glenn Morris <rgm@gnu.org>
18078 * image.el (image-extension-data): Add obsolete alias.
18080 * isearch.el (isearch-update): Doc fix.
18082 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18084 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18086 2012-02-03 Glenn Morris <rgm@gnu.org>
18088 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18089 (image-animate-timeout): Doc fix.
18091 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18093 2012-02-02 Glenn Morris <rgm@gnu.org>
18095 * server.el (server-auth-dir): Doc fix.
18096 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18098 * subr.el (run-mode-hooks): Doc fix.
18100 2012-02-02 Juri Linkov <juri@jurta.org>
18102 * image-mode.el (image-toggle-display-image): Remove tautological
18103 `major-mode' from the `derived-mode-p' test.
18105 2012-02-02 Kenichi Handa <handa@m17n.org>
18107 * composite.el (compose-region): Cancel previous change.
18109 2012-02-02 Kenichi Handa <handa@m17n.org>
18111 * composite.el (compose-region, compose-string): Signal error for
18112 a null string component (Bug#6988).
18114 2012-02-01 Chong Yidong <cyd@gnu.org>
18116 * view.el (view-buffer-other-window, view-buffer-other-frame):
18117 Handle special modes like view-buffer (Bug#10650).
18118 (view-buffer): Simplify.
18120 * frame.el (set-frame-font): Tweak meaning of third argument.
18122 * dynamic-setting.el (font-setting-change-default-font):
18123 Use set-frame-font (Bug#9982).
18125 2012-02-01 Glenn Morris <rgm@gnu.org>
18127 * progmodes/compile.el (compilation-internal-error-properties):
18128 Respect compilation-first-column in the "*compilation*" buffer.
18130 * emacs-lisp/easy-mmode.el (define-minor-mode):
18131 Relax :variable's test for a named function.
18133 2012-01-31 Alan Mackenzie <acm@muc.de>
18135 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18138 2012-01-31 Chong Yidong <cyd@gnu.org>
18140 * frame.el (set-frame-font): New arg ALL-FRAMES.
18142 * menu-bar.el (menu-set-font): Use set-frame-font.
18144 * faces.el (face-spec-reset-face): Don't apply unspecified
18145 attribute values to the default face.
18147 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18149 * progmodes/cwarn.el (cwarn): Remove dead link.
18150 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18151 Remove * from defcustom docstrings.
18152 (turn-on-cwarn-mode): Make obsolete.
18153 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18154 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18156 2012-01-31 Glenn Morris <rgm@gnu.org>
18158 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18159 Fix :variable handling of mode a symbol not equal to modefun.
18160 Allow named functions to be used as the cdr of :variable.
18162 2012-01-30 Glenn Morris <rgm@gnu.org>
18164 * emacs-lisp/authors.el (authors-fixed-entries):
18165 Remove reference to deleted file rnewspost.el.
18167 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18169 * window.el (window-with-parameter): Remove unused variable `windows'.
18170 (window--side-check): Remove unused variable `code'.
18171 (window--resize-siblings): Remove unused variable `first'.
18172 (adjust-window-trailing-edge): Remove unused variable `failed'.
18173 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18174 Use `let', not `let*'.
18175 (balance-windows-2): Remove unused variable `found'.
18176 (window--state-put-2): Remove unused variable `splits'.
18177 (window-state-put): Remove unused variable `selected'.
18178 (same-window-p): Use `string-match-p'.
18179 (display-buffer-assq-regexp): Remove unused variable `value'.
18180 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18181 Mark argument ALIST as ignored.
18182 (pop-to-buffer): Remove unused variable `old-window'.
18184 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18186 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18187 and .lzma compressed files.
18189 2012-01-29 Chong Yidong <cyd@gnu.org>
18191 * frame.el (window-system-default-frame-alist): Doc fix.
18193 * dynamic-setting.el (font-setting-change-default-font): Don't
18194 change the default face if SET-FONT argument is non-nil (Bug#9982).
18196 2012-01-29 Samuel Bronson <naesten@gmail.com>
18198 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18200 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18202 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18203 breakpoints in files outside current directory (Bug#6098).
18205 2012-01-29 Chong Yidong <cyd@gnu.org>
18207 * progmodes/python.el: Require ansi-color at top-level.
18209 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18210 Define and use in Emacs Lisp mode (Bug#9360).
18211 (lisp-mode-abbrev-table): Add doc.
18212 (lisp-mode-variables): Don't set local-abbrev-table.
18213 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18215 2012-01-28 Roland Winkler <winkler@gnu.org>
18217 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18219 2012-01-28 Roland Winkler <winkler@gnu.org>
18221 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18222 (bibtex-set-dialect): Use it. Either set global values of
18223 dialect-dependent variables or bind these variables buffer-locally
18225 (bibtex-mode): Call bibtex-set-dialect via
18226 hack-local-variables-hook.
18227 (bibtex-dialect): Update docstring.
18228 Add safe-local-variable predicate.
18229 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18230 bibtex-set-dialect.
18231 (bibtex-mode-map): Define menu for each dialect.
18232 (bibtex-entry): Fix docstring.
18234 2012-01-28 Chong Yidong <cyd@gnu.org>
18236 * eshell/esh-arg.el (eshell-quote-argument): New function.
18238 * eshell/esh-ext.el (eshell-invoke-batch-file):
18239 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18240 first arg to eshell-parse-command (Bug#10523).
18242 2012-01-28 Drew Adams <drew.adams@oracle.com>
18244 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18245 `default-directory' is non-nil.
18247 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18249 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18250 line that displays system-configuration-options. (Bug#9924)
18252 2012-01-28 Drew Adams <drew.adams@oracle.com>
18254 * descr-text.el (describe-char): Show information about POS, in
18255 addition to information about the character at POS. Improve and
18256 update the doc string. Change "code point" to "code point in
18257 charset", to avoid confusion with the character's Unicode code
18258 point shown above that. (Bug#10129)
18260 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18262 * descr-text.el (describe-char): Show the raw character, not only
18263 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18264 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18267 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18269 * emacs-lisp/package.el (package-install):
18270 Run package-refresh-contents if there is no archive yet (Bug#9798).
18272 2012-01-28 Chong Yidong <cyd@gnu.org>
18274 * emacs-lisp/package.el (package-maybe-load-descriptor):
18275 New function, split from package-maybe-load-descriptor.
18276 (package-maybe-load-descriptor): Use it.
18277 (package-download-transaction): Fully load required packages
18278 inside the loop, so that `require' calls work (Bug#10593).
18279 (package-install): No need to call package-initialize now.
18281 2012-01-28 Chong Yidong <cyd@gnu.org>
18283 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18285 * tooltip.el (tooltip-mode): Doc fix.
18286 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18288 * frame.el (set-cursor-color): Doc fix (Bug#352).
18290 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18291 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18293 * cus-edit.el (custom-buffer-create-internal): Fix search button
18294 action (Bug#10542).
18295 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18297 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18299 * dired.el (dired-mark-files-regexp):
18300 Include any subdirectory components. (Bug#10445)
18302 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18304 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18305 Handle [host]:port syntax. (Bug#10533)
18307 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18309 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18311 2012-01-26 Glenn Morris <rgm@gnu.org>
18313 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18314 * term.el (term-raw-escape-map): Use Control-X-prefix.
18315 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18317 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18319 * window.el (window-state-get, window--state-get-1): Don't deal
18320 with fixed-sizeness of windows. Simplify code.
18322 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18324 * window.el (window--state-get-1, window--state-put-2):
18325 Don't save and restore the mark.
18327 2012-01-25 Chong Yidong <cyd@gnu.org>
18329 * custom.el (custom-variable-p): Doc fix.
18331 2012-01-25 Glenn Morris <rgm@gnu.org>
18333 * dired.el (dired-goto-file): Handle some of the more common
18334 characters that `ls -b' escapes. (Bug#10596)
18336 * progmodes/compile.el (compilation-next-error-function):
18337 Respect compilation-first-column in the "*compilation*" buffer.
18338 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18340 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18342 2012-01-24 Glenn Morris <rgm@gnu.org>
18344 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18346 2012-01-24 Julien Danjou <julien@danjou.info>
18348 * color.el (color-rgb-to-hsl): Fix value computing.
18349 (color-hue-to-rgb): New function.
18350 (color-hsl-to-rgb): New function.
18351 (color-clamp, color-saturate-hsl, color-saturate-name)
18352 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18353 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18355 2012-01-24 Glenn Morris <rgm@gnu.org>
18357 * vc/vc-rcs.el (vc-rcs-create-tag):
18358 * vc/vc-sccs.el (vc-sccs-create-tag):
18359 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18361 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18363 * eshell/esh-util.el (eshell-read-hosts-file):
18364 Skip comment lines. (Bug#10549)
18366 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18368 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18370 * subr.el (display-delayed-warnings): Doc fix.
18371 (collapse-delayed-warnings): New function to collapse identical
18373 (delayed-warnings-hook): Add it.
18375 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18377 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18379 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18380 (tramp-default-user-alist): Don't add "pscp".
18381 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18382 property "login-as", if set. (Bug#10530)
18384 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18386 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18387 "plink1" and "psftp". (Bug#10530)
18389 2012-01-21 Kenichi Handa <handa@m17n.org>
18391 * international/mule-cmds.el (prefer-coding-system): Show a
18392 warning message if the default value of file-name-coding-system
18395 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18397 * windmove.el (windmove-reference-loc):
18398 Fix windmove-reference-loc miscalculation.
18400 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18402 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18405 2012-01-21 Glenn Morris <rgm@gnu.org>
18407 * international/mule.el (auto-coding-alist): Add .tbz.
18409 * files.el (local-enable-local-variables): Doc fix.
18410 (inhibit-local-variables-regexps): Rename from
18411 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18412 Doc fix. Add some extensions from auto-coding-alist.
18413 (inhibit-local-variables-suffixes):
18414 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18415 (inhibit-local-variables-p):
18416 New function, extracted from set-auto-mode-1.
18417 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18418 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18419 (hack-local-variables): Doc fix. Make the mode-only case
18420 respect enable-local-variables and friends.
18421 Respect inhibit-local-variables-regexps for file-locals, but
18422 not for directory-locals.
18423 (set-visited-file-name):
18424 Take account of inhibit-local-variables-regexps.
18425 Whether it applies may change as the file name is changed.
18426 * jka-cmpr-hook.el (jka-compr-install):
18427 * jka-compr.el (jka-compr-uninstall):
18428 Update for inhibit-first-line-modes-suffixes name change.
18430 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18432 * help-macro.el (make-help-screen): Temporarily restore original
18433 binding for minor-mode-map-alist (Bug#10454).
18435 2012-01-19 Julien Danjou <julien@danjou.info>
18437 * color.el (color-name-to-rgb): Use the white color to find the max
18438 color component value and return correctly computed values.
18439 (color-name-to-rgb): Add missing float conversion for max value.
18441 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18443 * window.el (window--state-get-1, window-state-get): Do not use
18444 special state value for window-persistent-parameters.
18445 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18446 (window--state-put-2): Reset all window parameters to nil before
18447 assigning values of persistent parameters.
18449 2012-01-18 Alan Mackenzie <acm@muc.de>
18451 Eliminate sluggishness and hangs in fontification of "semicolon
18454 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18455 Change value 10000 -> 3000.
18456 (c-state-safe-place): Reformulate so it doesn't stack up an
18457 infinite number of wrong entries in c-state-nonlit-pos-cache.
18458 (c-determine-limit-get-base, c-determine-limit): New functions to
18459 determine backward search limits disregarding literals.
18460 (c-find-decl-spots): Amend commenting.
18461 (c-cheap-inside-bracelist-p): New function which detects "={".
18463 * progmodes/cc-fonts.el
18464 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18466 (c-font-lock-declarations): Fix an occurrence of point being
18467 undefined. Check additionally for point being in a bracelist or
18468 near a macro invocation without a semicolon so as to avoid a
18469 fruitless time consuming search for a declarator. Give a more
18470 precise search limit for declarators using the new
18473 2012-01-18 Glenn Morris <rgm@gnu.org>
18475 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18476 (set-auto-mode): Doc fixes.
18478 2012-01-17 Glenn Morris <rgm@gnu.org>
18480 * isearch.el (search-nonincremental-instead): Fix doc typo.
18482 * dired.el (dired-insert-directory): Handle newlines in directory name.
18483 (dired-build-subdir-alist): Unescape newlines in directory name.
18485 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18487 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18488 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18489 (tramp-action-terminal): Use it. (Bug#10530)
18491 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18493 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18495 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18497 * window.el (window-state-ignored-parameters): Remove variable.
18498 (window--state-get-1): Rename argument MARKERS to IGNORE.
18499 Handle persistent window parameters. Make copy of clone-of
18500 parameter only if requested. (Bug#10348)
18501 (window--state-put-2): Install a window parameter only if it has
18502 a non-nil value or an existing parameter shall be overwritten.
18504 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18506 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18508 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18510 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18511 don't pass the (nil) value of `upnode' to string-match.
18513 2012-01-14 Chong Yidong <cyd@gnu.org>
18515 * startup.el (command-line): Fix X resource class for cursorColor.
18516 Fix values recognized by the cursorBlink resource.
18518 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18520 * epg.el (epg--make-temp-file): Avoid permission race condition
18521 when running on old Emacs versions (bug#10403).
18523 2012-01-14 Glenn Morris <rgm@gnu.org>
18525 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18527 2012-01-13 Alan Mackenzie <acm@muc.de>
18529 Fix filling for when filladapt mode is enabled.
18531 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18532 c-mask-paragraph, pass in `fill-paragraph' rather than
18533 `fill-region-as-paragraph'. (This is a reversion of a previous
18535 * progmodes/cc-mode.el (c-basic-common-init):
18536 Make fill-paragraph-handle-comment buffer local and set it to nil.
18538 2012-01-13 Glenn Morris <rgm@gnu.org>
18540 * dired.el (dired-switches-escape-p): New function.
18541 (dired-insert-directory): Use dired-switches-escape-p.
18542 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18544 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18546 2012-01-12 Glenn Morris <rgm@gnu.org>
18548 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18549 changes in adaptive-fill-regexp. (Bug#10276)
18551 2012-01-11 Alan Mackenzie <acm@muc.de>
18553 Fix Emacs bug #10463 - put `widen's around the critical spots.
18555 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18556 widen around each invocation of c-state-pp-to-literal. Remove an
18557 unused let variable.
18559 2012-01-11 Glenn Morris <rgm@gnu.org>
18561 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18564 2012-01-10 Chong Yidong <cyd@gnu.org>
18566 * net/network-stream.el (network-stream-open-starttls):
18567 Avoid emitting a confusing error message when the server gives a bad
18568 response to the capability command.
18570 2012-01-10 Glenn Morris <rgm@gnu.org>
18572 * mail/unrmail.el (unrmail): Tweak previous change.
18574 2012-01-09 Chong Yidong <cyd@gnu.org>
18576 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18578 2012-01-08 Alan Mackenzie <acm@muc.de>
18580 Optimize font locking in long enum definitions.
18582 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18583 arm to a cond form to handle enums.
18584 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18585 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18587 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18589 * files.el (move-file-to-trash): Preserve default file modes on error.
18592 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18594 * faces.el (set-face-attribute): Clarify the meaning of the nil
18597 * subr.el (with-selected-frame): Mention that the selected frame
18598 is restored (bug#9980).
18600 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18603 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18604 (password-read): Don't autoload unused function.
18606 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18608 * progmodes/which-func.el (which-func-mode): Turn into a
18609 non-interactive function and mark as obsolete (bug#10428).
18611 2012-01-06 Chong Yidong <cyd@gnu.org>
18613 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18614 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18615 functions, along with 1 and -1.
18617 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18619 * time.el (display-time-load-average)
18620 (display-time-default-load-average): Doc fixes. See the thread
18622 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18625 2012-01-06 Glenn Morris <rgm@gnu.org>
18627 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18628 has no messages. (Bug#10377)
18630 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18631 than Info-edit. (Bug#10385)
18633 * time.el (display-time-load-average, display-time-next-load-average):
18636 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18637 local setting of buffer-read-only to the input buffer. (Bug#10419)
18639 * calendar/calendar.el (calendar-mode):
18640 Locally set scroll-margin to 0. (Bug#10379)
18642 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18644 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18646 2012-01-05 Glenn Morris <rgm@gnu.org>
18648 * eshell/em-unix.el (diff-no-select): Autoload it.
18649 (eshell/diff): Use diff-no-select. (Bug#10420)
18651 2012-01-05 Chong Yidong <cyd@gnu.org>
18653 * shell.el (shell-dynamic-complete-functions): Revert last change.
18654 (shell-command-completion-function): New function.
18655 (shell-completion-vars): Use it to implement
18656 shell-completion-execonly (Bug#10417).
18658 * custom.el (enable-theme): Don't set custom-safe-themes.
18660 * cus-theme.el (custom-theme-merge-theme):
18661 Ignore custom-enabled-themes and custom-safe-themes.
18663 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18665 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18666 first prompt in `sql-interacive-mode'.
18667 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18669 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18670 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18671 context of original buffer. Invoke `sql-login-hook'.
18673 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18675 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18676 letters in cite-prefix.
18678 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18680 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18682 2012-01-03 Chong Yidong <cyd@gnu.org>
18684 * shell.el (shell-dynamic-complete-functions):
18685 Put pcomplete-completions-at-point, so as to try
18686 comint-filename-completion first (Bug#10417).
18688 2012-01-02 Richard Stallman <rms@gnu.org>
18690 * battery.el (battery-status-function):
18691 Detect when to use battery-yeeloong-sysfs.
18692 (battery-echo-area-format): Add string for Yeeloong.
18693 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18694 (battery-yeeloong-sysfs): New function.
18696 2012-01-02 Chong Yidong <cyd@gnu.org>
18698 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18699 (dirtrack): Merge code for handling relative filenames in prompt
18700 from shell-dir-cookie-watcher.
18701 (dirtrack-debug-message): New arg to avoid excess format calls.
18703 * shell.el (shell-dir-cookie-re): Variable deleted.
18704 (shell-dir-cookie-watcher): Function deleted.
18705 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18706 with dirtrack-mode.
18708 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18710 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18711 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18714 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18716 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18718 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18720 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18721 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18723 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18725 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18726 also for alternative shells.
18727 (tramp-open-connection-setup-interactive-shell): Check, whether
18728 the shell is a busybox.
18729 (tramp-send-command): Don't suppress multiple prompts for
18730 busyboxes, it hurts.
18732 2011-12-28 Chong Yidong <cyd@gnu.org>
18734 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18735 (gdb-get-source-file): Move mode line update to
18736 gdb-get-source-file (Bug#10087).
18738 2011-12-25 Chong Yidong <cyd@gnu.org>
18740 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18741 gud-gdb-marker-filter without taking it as an argument.
18742 (gud-gdb-run-command-fetch-lines): Caller changed.
18743 (gud-gdb-completion-function): New variable.
18744 (gud-gdb-completion-at-point): Use it.
18745 (gud-gdb-completions-1): Split from gud-gdb-completions.
18747 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18748 function as separate arguments.
18749 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18750 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18751 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18752 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18753 (gdb-stopped, def-gdb-auto-update-trigger)
18754 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18755 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18757 (gud-gdbmi-completions): New function.
18758 (gdb): Use it for generating the completion table.
18760 2011-12-24 Alan Mackenzie <acm@muc.de>
18762 Introduce a mechanism to widen the region used in context font
18763 locking. Use this to protect declarations from losing their contexts.
18765 * progmodes/cc-langs.el (c-before-font-lock-functions):
18766 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18767 (c-before-context-fontification-functions): New defvar, a list of
18768 functions to be run just before context (etc.) font locking.
18770 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18771 New, functionality extracted from
18772 c-neutralize-syntax-in-and-mark-CPP.
18773 (c-in-after-change-fontification): New variable.
18774 (c-after-change): Set c-in-after-change-fontification.
18775 (c-set-fl-decl-start): Rejig its interface, so it can be called
18776 from both after-change and context fontifying.
18777 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18779 (c-standard-font-lock-fontify-region-function): New variable.
18780 (c-font-lock-fontify-region): New function.
18782 2011-12-24 Juri Linkov <juri@jurta.org>
18784 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18787 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18789 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18790 existence of source file. (Bug#10325)
18792 2011-12-23 Alan Mackenzie <acm@muc.de>
18794 Fix unstable fontification inside templates.
18796 * progmodes/cc-langs.el (c-before-font-lock-functions):
18797 Newly created from the singular version. The (c c++ objc) entry now
18798 additionally has c-set-fl-decl-start. The other languages (apart
18799 from AWK) have that as a single entry.
18801 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18802 The functionality for "local" declarations has been extracted to
18803 c-set-fl-decl-start.
18805 * progmodes/cc-mode.el (c-common-init, c-after-change):
18806 Changes due to pluralisation of c-before-font-lock-functions.
18807 (c-set-fl-decl-start): New function, extracted from
18808 c-font-lock-enclosing-decls and enhanced.
18810 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18812 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18814 2011-12-22 Juri Linkov <juri@jurta.org>
18816 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18818 2011-12-22 Chong Yidong <cyd@gnu.org>
18820 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18822 2011-12-21 Drew Adams <drew.adams@oracle.com>
18824 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18826 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18828 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18830 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18832 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18833 highlighting and support. Fix up comments for capitalization.
18834 (cfengine-mode-debug): New var.
18835 (cfengine3-mode): Change the modeline indicator to "CFE3".
18836 (cfengine3-font-lock-keywords): Improve defun highlighting.
18837 (cfengine2-actions): Rename from `cfengine-actions'.
18838 (cfengine2-font-lock-keywords): Rename from
18839 `cfengine-font-lock-keywords'.
18840 (cfengine2-imenu-expression): Rename from
18841 `cfengine-imenu-expression'.
18842 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18843 (cfengine2-beginning-of-defun): Rename from
18844 `cfengine-beginning-of-defun'.
18845 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18846 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18847 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18848 modeline indicator to "CFE2".
18849 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18850 (cfengine-mode-abbrevs): Mark obsolete.
18852 2011-12-21 Chong Yidong <cyd@gnu.org>
18854 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18857 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18859 * window.el (window-normalize-buffer-to-display): Remove.
18860 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18862 2011-12-19 Chong Yidong <cyd@gnu.org>
18864 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18865 Don't signal an error in a predicate function; return non-nil.
18866 (vc-dir-mark-file): Move the error here.
18867 (vc-dir-mark-unmark): If acting on the region, keep going if one
18868 of the entries cannot be marked/unmarked.
18869 (vc-dir-mark-all-files): If current entry is a directory, mark
18870 only child files, as documented.
18872 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18874 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18875 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18878 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18880 * term/ns-win.el (ns-get-selection-internal)
18881 (ns-store-selection-internal): Declare.
18882 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18883 Declare as obsolete.
18884 (ns-get-pasteboard, ns-paste-secondary):
18885 Use ns-get-selection-internal.
18886 (ns-set-pasteboard, ns-copy-including-secondary):
18887 Use ns-store-selection-internal.
18889 2011-12-17 Chong Yidong <cyd@gnu.org>
18891 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18892 (vc-deduce-fileset): Doc fix.
18894 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18896 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18898 2011-12-13 Sam Steingold <sds@gnu.org>
18900 * man.el (Man-getpage-in-background): When running under a
18901 window-system, ignore $MANWIDTH and $COLUMNS.
18903 2011-12-15 Kenichi Handa <handa@m17n.org>
18905 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18906 (setup-ethiopic-environment-internal): Comment out key-binding for
18907 ethio-toggle-punctuation.
18909 2011-12-13 Alan Mackenzie <acm@muc.de>
18911 Add the switch statement to AWK Mode.
18913 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18914 "default" to the keywords regexp.
18916 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18917 expression as the rest.
18918 (c-nonlabel-token-key): Allow string literals for AWK.
18919 Refactor for the other modes.
18921 Large brace-block initialisation makes CC Mode slow: Fix.
18922 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18923 routines. Limit backward searching in c-font-lock-enclosing.decl.
18925 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18926 pp-state and literal type in addition to the limits.
18927 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18928 (c-state-literal-at): Use the above new defun.
18929 (c-slow-in-literal, c-fast-in-literal): Remove.
18930 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18932 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18933 being in a literal. Add a limit for backward searching.
18935 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18938 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18940 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18942 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18944 * window.el (delete-other-windows): Use correct frame in call to
18945 window-with-parameter.
18947 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18949 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18950 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18951 (makefile-gmake-statements, makefile-makepp-statements):
18952 Use it and add new makepp keywords.
18953 (makefile-makepp-font-lock-keywords): Add new patterns.
18954 (makefile-match-function-end): Match new [...] and [[...]].
18956 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18958 * ses.el (ses-call-printer-return, ses-cell-property-get)
18959 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18960 (ses-create-cell-variable, ses-reset-header-string)
18961 (ses-cell-set-formula, ses-repair-cell-reference-all)
18962 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18963 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18964 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18965 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18966 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18967 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18968 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18969 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18970 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18971 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18972 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18973 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18975 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18977 * ses.el: The overall change is to add cell renaming, that is
18978 setting fancy names for cell symbols other than name matching
18979 "\\`[A-Z]+[0-9]+\\'" regexp .
18980 (ses-create-cell-variable): New defun.
18981 (ses-relocate-formula): Relocate formulas only for cells the
18982 symbols of which are not renamed, i.e. symbols whose names do not
18983 match regexp "\\`[A-Z]+[0-9]+\\'".
18984 (ses-relocate-all): Relocate values only for cells the symbols of
18985 which are not renamed.
18986 (ses-load): Create cells variables as the (ses-cell ...) are read,
18987 in order to check row col consistency with cell symbol name only
18988 for cells that are not renamed.
18989 (ses-replace-name-in-formula): New defun.
18990 (ses-rename-cell): New defun.
18992 2011-12-11 Chong Yidong <cyd@gnu.org>
18994 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18995 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18997 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18999 * window.el (other-window): Fix docstring.
19001 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19003 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19004 `from' or `to' address before taking its substring.
19005 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19006 encoded name is chopped in the middle of the encoded string, and
19007 thus displayed encoded.
19009 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19011 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19013 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19015 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19016 to use texinfo-update-node and commands that call it if the
19017 Texinfo file uses @node lines without next/prev/up pointers.
19018 Correct outdated description about texinfo-master-menu.
19019 (texinfo-all-menus-update, texinfo-master-menu)
19020 (texinfo-update-node, texinfo-every-node-update)
19021 (texinfo-multiple-files-update): Doc fix. Warn against updating
19022 all the @node lines.
19023 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19024 argument is numeric. Explain better in the doc string what the
19025 function really does.
19026 (texinfo-insert-master-menu-list): Improve the error message
19027 displayed if there's no menu in the Top node.
19028 (Bug#2975) See also this thread:
19029 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19031 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
19033 * speedbar.el (speedbar-supported-extension-expressions):
19034 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19036 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19038 * printing.el (pr-mode-alist):
19039 * simple.el (filter-buffer-substring-functions)
19040 (completion-list-insert-choice-function):
19041 * window.el (window-with-parameter, window-atom-root)
19042 (window-sides-slots, window-size-fixed, window-min-delta)
19043 (window-max-delta, window--resize-mini-window)
19044 (window--resize-child-windows-normal, window-tree)
19045 (delete-other-windows, quit-window, split-window)
19046 (display-buffer-record-window, special-display-buffer-names)
19047 (special-display-regexps, special-display-popup-frame)
19048 (same-window-p, split-window-sensibly)
19049 (display-buffer-overriding-action, display-buffer-alist)
19050 (display-buffer-base-action, display-buffer, switch-to-buffer)
19051 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19052 (fit-window-to-buffer, recenter-positions)
19053 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19054 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19055 and remove unneeded backslashes in docstrings.
19057 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19059 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19061 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19062 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19064 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19065 when reading the makefile (bug#10116).
19067 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19069 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19072 2011-12-06 Glenn Morris <rgm@gnu.org>
19074 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19076 2011-12-06 Chong Yidong <cyd@gnu.org>
19078 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19080 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19082 * textmodes/table.el (table-shorten-cell): Fix typo.
19084 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19086 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19088 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19090 * descr-text.el (describe-char): Fix display of strong
19091 right-to-left characters and directional embeddings and overrides.
19093 * simple.el (what-cursor-position): Fix display of codepoints of
19094 strong right-to-left characters.
19096 2011-12-05 Chong Yidong <cyd@gnu.org>
19098 * faces.el (read-color): Doc fix.
19100 2011-12-05 Glenn Morris <rgm@gnu.org>
19102 * align.el (align--set-marker): Add doc-string.
19103 Don't try to move something that is not a marker. (Bug#10216)
19105 2011-12-04 Glenn Morris <rgm@gnu.org>
19107 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19108 overly zealous deletion of trailing whitespace.
19110 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19112 * server.el (server-delete-client): On Windows, do not try to delete
19114 (server-process-filter): On Windows, treat requests for a tty frame as
19115 if they were for a GUI frame if the running server is in GUI mode.
19117 2011-12-03 Glenn Morris <rgm@gnu.org>
19119 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19121 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19123 * electric.el: Streamline electric-indent's hook.
19124 (electric-indent-chars): Revert to simple list.
19125 (electric-indent-functions): New var.
19126 (electric-indent-post-self-insert-function): Use it.
19128 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19129 there's no inferior buffer (bug#10196).
19130 (prolog-consult-compile): Don't use toggle-read-only.
19132 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19134 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19135 interrupt. (Bug#10187)
19137 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19139 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19142 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19145 2011-12-02 Juri Linkov <juri@jurta.org>
19147 * info.el (Info-search): Display "end of manual" when Isearch
19148 reaches the end of single-file Info manual. (Bug#9918)
19150 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19152 * isearch.el (isearch-message-prefix): Run the input method part
19153 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19155 2011-12-02 Juri Linkov <juri@jurta.org>
19157 * isearch.el (isearch-occur): Use `word-search-regexp' for
19159 (isearch-search-and-update): Add condition for `isearch-word' and
19160 call `word-search-regexp'. (Bug#10145)
19162 2011-12-01 Glenn Morris <rgm@gnu.org>
19164 * eshell/em-hist.el (eshell-hist-initialize):
19165 Handle eshell-history-size nil and HISTSIZE set or unset.
19166 (eshell-history-file-name, eshell-history-size): Fix custom type.
19168 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19170 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19172 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19174 * progmodes/verilog-mode.el (verilog-pretty-expr):
19175 Rework verilog-pretty-expr to handle new assignment operators in system
19176 verilog, such as += *= and the like.
19177 (verilog-assignment-operator-re): Regular expression to find the
19178 assigment operator in a verilog assignment.
19179 (verilog-assignment-operation-re): Regular expression to find an
19180 assignment statement for pretty-expr.
19181 (verilog-in-attribute-p): Query returns true if point is in an
19182 attribute context; used to skip these for expression line up from
19184 (verilog-in-parameter-p): Query returns true if point is in an
19185 parameter definition context; used to skip these for expression
19186 line up from pretty-expr.
19187 (verilog-in-parenthesis-p): Query returns true if point is in a
19188 parenthetical expression, specifically ( ) but not [ ] or { };
19189 used by pretty-expr.
19190 (verilog-just-one-space): If there is no space, don't add one.
19191 (verilog-get-lineup-indent-2): Specifically skip just attribute
19192 contexts for expression lineup, rather than skipping all
19193 parenthetical expressions.
19194 (verilog-calculate-indent): Fix comment, and fix indent.
19195 (verilog-do-indent): Indent declarations in lists (suggested by
19197 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19199 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19202 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19204 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19205 parameters with embedded comments. Reported by Ray Stevens.
19206 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19207 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19208 Reported by Tim Holt.
19209 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19210 instantiated by upper module causing wrong expansion until AUTOed a
19211 second time. Reported by K C Buckenmaier.
19212 (verilog-diff-auto): Fix showing .* as a difference when
19213 `verilog-auto-star-save' off. Reported by Dan Dever.
19214 (verilog-auto-reset, verilog-read-always-signals)
19215 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19216 temporary signals in reset list if
19217 verilog-auto-reset-blocking-in-non is nil, and match assignment
19218 style to each signal's assignment type, bug381.
19219 Reported by Thomas Esposito.
19220 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19221 (verilog-uvm-statement-re): Support UVM indentation and
19222 highlighting, with old OVM keywords only.
19223 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19224 Support AUTOTIEOFF creating non-wire data types.
19225 Suggested by Jonathan Greenlaw.
19226 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19227 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19228 (verilog-inject-sense, verilog-read-inst-pins)
19229 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19230 Fix mismatching parenthesis inside commented out code when deleting
19231 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19232 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19233 non-numeric vector width. Reported by Alex Reed.
19234 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19235 detecting signals with parameter widths. Reported by Alex Reed.
19236 (verilog-auto-delete-trailing-whitespace):
19237 With `verilog-auto-delete-trailing-whitespace' remove trailing
19238 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19239 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19240 Fix verilog-scan-cache corruption when running user AUTO expansion
19241 hooks that call indentation routines.
19242 (verilog-simplify-range-expression): Fix typo ignoring lower case
19244 (verilog-delete-auto): Fix delete-autos to also remove user created
19245 automatics, as long as they start with AUTO.
19246 (verilog-batch-diff-auto, verilog-diff-auto)
19247 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19248 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19249 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19250 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19251 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19252 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19253 is disabled and its cache will get corrupt, causing AUTOS not to
19254 expand. Instead use only -quick functions.
19255 (verilog-scan-region): Fix scanning over escaped quotes.
19256 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19257 (verilog-re-search-backward-quick)
19258 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19259 related functions now ignore strings, to fix misparsing of strings
19260 with magic comments embedded in them.
19261 (verilog-read-auto-template):
19262 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19263 Reported by Brad Dobbie.
19264 (verilog-read-auto-template):
19265 Fix 'verilog-auto-inst-template-numbers' with comments.
19266 Reported by Brad Dobbie.
19267 (verilog-auto-inst, verilog-auto-inst-param)
19268 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19269 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19270 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19271 debugging templates without merge conflicts, bug357.
19272 Reported by Brad Dobbie.
19273 (verilog-read-auto-template):
19274 Fix verilog-auto-inst-template-numbers with multiple templates.
19275 Reported by Brad Dobbie.
19276 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19277 abbrevs so user won't be asked to save.
19278 (verilog-read-auto-lisp-present): Fix to start at beginning of
19279 buffer in case called outside of verilog-auto.
19280 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19281 to "X-2". Reported by Matthew Myers.
19282 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19283 all inputs from module templates. Reported by Leith Johnson.
19284 (verilog-module-inside-filename-p): Fix locating programs as with
19286 (verilog-auto-inst-port): Fix vl-width expressions when using
19287 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19288 (verilog-decls-get-regs, verilog-decls-get-signals,
19289 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19290 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19291 verilog-read-decls): Combine reg and wire structures into one var
19292 structure to represent SystemVerilog concepts.
19293 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19294 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19295 (verilog-auto-wire-type, verilog-insert-definition):
19296 Add verilog-auto-wire-type and AUTOLOGIC to support using
19297 SystemVerilog "logic" keyword instead of "wire"/"reg".
19298 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19299 to declares outputs that also have assignments (presumably in an
19300 ifdef or generate if so there's not a driver conflict).
19301 Reported by Matthew Myers.
19302 (verilog-auto-declare-nettype, verilog-insert-definition):
19303 Add verilog-auto-declare-nettype to fix declarations using
19304 `default_nettype none. Reported by Julian Gorfajn.
19305 (verilog-read-always-signals-recurse, verilog-read-decls)
19306 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19307 malformed end statement, bug325. Reported by Joshua Wise and
19309 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19310 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19311 when expanding .* in interfaces, bug320.
19312 Reported by Pierre-David Pfister.
19313 (verilog-read-module-name): Fix import statements between module
19314 name and open parenthesis, bug317.
19315 Reported by Pierre-David Pfister.
19316 (verilog-simplify-range-expression): Fix simplification of
19317 multiplications inside AUTOWIRE connections, bug303.
19318 (verilog-auto-inst-port): Support parameter expansion in
19319 multidimensional arrays.
19320 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19321 after "assert property". Reported by Julian Gorfajn.
19322 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19323 with multiplication, bug303.
19324 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19325 Reported by Jan Frode Lonnum.
19327 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19329 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19330 (hfy-shell-file-name, hfy-shell):
19331 * international/fontset.el (x-decompose-font-name): Fix typos.
19333 2011-11-29 Ken Brown <kbrown@cornell.edu>
19335 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19336 (gdb-version): Remove defvar.
19337 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19338 (gdb-gud-context-command, gdb-non-stop-handler)
19339 (gdb-current-context-command, gdb-stopped): Use it.
19340 (gdb-init-1): Enable pretty printing here.
19341 (gdb-non-stop-handler): Don't enable pretty-printing here.
19342 Check to see if the target supports non-stop mode; if not, turn off
19343 non-stop mode. Use the following.
19344 (gdb-check-target-async): New defun.
19345 (gud-watch, gdb-stopped): Fix whitespace.
19346 (gdb-get-source-file): Don't try to display the source file if
19347 `gdb-main-file' is nil.
19349 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19351 * align.el: Try to generate fewer markers (bug#10047).
19352 (align--set-marker): New macro.
19353 (align-region): Use it.
19355 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19357 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19359 2011-11-29 Chong Yidong <cyd@gnu.org>
19361 * indent.el (indent-for-tab-command, indent-according-to-mode):
19363 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19365 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19367 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19368 aware of remote file names. (Bug#10124)
19370 2011-11-29 Chong Yidong <cyd@gnu.org>
19372 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19374 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19376 * files.el (find-file): Don't use force-same-window (bug#10144).
19377 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19378 use pop-to-buffer if the selected window can't be used.
19379 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19381 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19383 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19386 2011-11-28 Chong Yidong <cyd@gnu.org>
19388 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19390 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19392 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19393 gdb-get-source-file-list on gdb-create-source-file-list.
19395 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19397 * whitespace.el (whitespace-newline): Use a different foreground
19398 color for 16-color light-background displays.
19400 2011-11-24 Chong Yidong <cyd@gnu.org>
19402 * window.el (display-buffer--special-action): Doc fix.
19404 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19406 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19407 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19408 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19409 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19410 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19411 (avl-tree-stack-first):
19412 * emacs-lisp/cconv.el (cconv--analyse-use):
19413 * net/gnutls.el (gnutls-negotiate): Fix typos.
19415 2011-11-24 Glenn Morris <rgm@gnu.org>
19417 * lpr.el (lpr-windows-system, lpr-lp-system):
19418 * mail/binhex.el (binhex-begin-line):
19419 * progmodes/grep.el (grep-history, grep-find-history):
19420 * textmodes/flyspell.el:
19421 * vc/pcvs-defs.el (cvs-global-menu):
19422 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19423 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19424 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19426 * net/tls.el: Fix case of "GnuTLS".
19428 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19430 * version.el (emacs-build-system): Give it a doc-string.
19432 2011-11-24 Juri Linkov <juri@jurta.org>
19434 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19436 2011-11-24 Glenn Morris <rgm@gnu.org>
19438 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19439 if called on a non-mime message just toggle the headers. (Bug#8006)
19441 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19443 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19444 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19445 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19446 (allout-rebullet-heading, allout-open-sibtopic)
19447 (allout-toggle-current-subtree-encryption)
19448 (allout-toggle-subtree-encryption, allout-encrypt-string)
19449 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19450 (allout-distinctive-bullets-string, allout-auto-activation):
19451 * window.el (window-normalize-buffer-to-display):
19452 * progmodes/verilog-mode.el (verilog-batch-indent):
19453 * textmodes/bibtex.el (bibtex-field-braces-opt)
19454 (bibtex-field-strings-opt):
19455 * vc/cvs-status.el (cvs-tree-merge):
19458 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19460 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19461 `non-essential' to t, in order to avoid remote connections.
19463 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19465 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19466 On MS-DOS and MS-Windows, compare with loaddefs.el
19467 case-insensitively.
19469 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19471 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19473 2011-11-23 Glenn Morris <rgm@gnu.org>
19475 * paths.el (rmail-file-name): Reformat the doc-string so that it
19478 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19479 (rmail-auto-file): Ignore case in the "special" field names,
19480 as mail-fetch-field does for all others.
19482 * mail/rmail.el (rmail-forward):
19483 * mail/rmailkwd.el (rmail-set-label):
19484 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19485 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19487 * mail/rmail.el (rmail-current-message): Doc fix.
19489 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19491 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19493 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19495 2011-11-22 Glenn Morris <rgm@gnu.org>
19497 * mail/rmailmm.el (test-rmail-mime-handler)
19498 (test-rmail-mime-bulk-handler)
19499 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19501 2011-11-21 Juri Linkov <juri@jurta.org>
19503 * calc/calc.el (calc-read-key-sequence):
19504 Let-bind `input-method-function' to nil. (Bug#10018)
19506 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19508 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19509 Tell the caller that the next line needs recomputation, even
19510 though it doesn't start a sexp (bug#10094).
19512 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19514 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19516 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19518 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19519 Use force-same-window.
19521 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19523 * descr-text.el (describe-char-unicode-data):
19524 * json.el (json-string-escape):
19525 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19526 (Footnote-unicode, Footnote-style-p):
19527 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19529 2011-11-20 Chong Yidong <cyd@gnu.org>
19531 * window.el (replace-buffer-in-windows): Restore interactive spec.
19533 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19535 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19537 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19538 (byte-compile-global-not-obsolete-vars): New var.
19539 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19541 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19543 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19545 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19546 * progmodes/pascal.el (electric-pascal-equal):
19547 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19548 * xml.el (xml-substitute-special): Fix typos.
19550 2011-11-20 Glenn Morris <rgm@gnu.org>
19552 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19553 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19555 (rmail-decode-mime-charset): Mark as obsolete.
19557 * mail/rmailsum.el (rmail-message-regexp-p-1):
19558 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19559 Before using mime functions, check they are set. (Bug#10077)
19561 2011-11-19 Juri Linkov <juri@jurta.org>
19563 * info.el (Info-finder-find-node): Use `package--builtins' instead
19564 of `package-alist'. Use node names formed by the pattern "Keyword "
19565 and the keyword name.
19567 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19569 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19571 2011-11-19 Juri Linkov <juri@jurta.org>
19573 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19574 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19575 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19576 `old-history', `old-history-forward'. Add let-binding
19577 `window-selected'. Remove calls to `kill-buffer',
19578 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19579 before calling `Info-find-node', so `Info-find-node-2' will reread
19580 the Info file. Restore window positions only when `window-selected'
19583 2011-11-19 Juri Linkov <juri@jurta.org>
19585 * isearch.el (isearch-lazy-highlight-new-loop):
19586 Remove condition `(not isearch-error)'. (Bug#9918)
19588 * misearch.el (multi-isearch-search-fun): Add condition
19589 `(not bound)' to ignore lazy-highlighting search.
19590 Add the search-failed message "end of multi" when the end of
19591 multi-sequence is reached. Uncapitalize the search-failed
19592 message "Repeat for next buffer".
19594 * info.el (Info-search): Add the search-failed message
19595 "end of the manual" when the end of the manual is reached
19598 2011-11-19 Juri Linkov <juri@jurta.org>
19600 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19601 Use non-destructive `remove' instead of `delete' because
19602 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19603 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19605 2011-11-19 Juri Linkov <juri@jurta.org>
19607 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19608 to nil instead of binding `search-ring' and `regexp-search-ring'.
19611 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19613 * simple.el (line-move): Force movement by logical lines for any
19614 hscrolled window, not only when auto-hscroll-mode is on.
19615 (line-move-visual): Update doc string to that effect. (Bug#10076)
19617 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19619 * language/european.el (macintosh): Define as alias for mac-roman.
19621 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19623 * mail/rmailmm.el (rmail-mime-display-header)
19624 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19625 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19626 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19627 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19628 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19630 (rmail-mime-entity-segment): To get past the tagline, move forward
19631 2 more lines, to account for the 2 empty lines that precede and
19632 follow the line with the buttons.
19633 (rmail-mime-update-tagline): Move one more line, to get past the
19634 empty line that follows the buttons in the tagline. (Bug#9520)
19636 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19638 * window.el (window-max-delta-1, window-min-delta-1)
19639 (window-min-size-1, window-state-get-1, window-state-put-1)
19640 (window-state-put-2): Use "window--" prefix.
19642 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19644 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19645 (smie-warning-count): New var.
19646 (smie-set-prec2tab): Use it.
19647 (smie-bnf->prec2): Improve warnings. Add docstring.
19648 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19649 (smie-bnf--set-class): New function.
19650 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19653 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19654 (compilation-error-properties, compilation-move-to-column):
19655 Handle compilation-first-column while in the target buffer.
19657 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19658 Don't hardcode point-min==1.
19660 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19661 (eshell-rewrite-for-command): Remove workaround.
19662 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19663 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19664 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19666 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19668 2011-11-17 Glenn Morris <rgm@gnu.org>
19670 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19671 Ignore buffer-local generated-autoload-file if it is the same
19672 as the global value. (Bug#10049)
19674 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19676 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19677 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19678 (reftex-toc-previous-heading, reftex-toc-max-level)
19679 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19680 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19681 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19682 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19683 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19684 (reftex-toc-rename-label, reftex-toc-visit-location)
19685 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19686 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19687 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19688 leaving "*toc*" only for references to the buffer.
19690 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19692 * window.el (window-resize, delete-window, split-window):
19693 Replace window-splits by window-combination-resize.
19694 * cus-start.el (window-splits): Replace by window-combination-resize.
19696 2011-11-17 Glenn Morris <rgm@gnu.org>
19698 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19699 Make bash entry derive from sh entry, not shell entry.
19701 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19703 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19706 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19708 * menu-bar.el (menu-bar-file-menu):
19709 * printing.el (pr-ps-utility):
19710 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19711 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19712 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19713 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19714 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19715 (icalendar--convert-cyclic-to-ical)
19716 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19717 (icalendar--convert-ical-to-diary)
19718 (icalendar--convert-recurring-to-diary)
19719 (icalendar--convert-non-recurring-all-day-to-diary)
19720 (icalendar-import-format-sample):
19721 * progmodes/idlw-shell.el (idlwave-shell-mode):
19722 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19723 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19724 (vhdl-ps-print-init): Fix typos.
19726 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19728 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19729 FSF and collapse date sequence, obscure author/maintainer email address
19730 better, remove extra version line, track relocation of author's webpage.
19732 * progmodes/python.el (python-pdbtrack-input-prompt)
19733 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19734 regular python pdb prompts. Adjustments shamelessly taken exactly as
19735 suggested in EmacsWiki page (tiny change):
19736 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19738 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19740 * expand.el (expand-pos, expand-index, expand-point):
19741 Remove redundant info from docstring.
19742 (expand-add-abbrevs): Doc fix.
19743 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19744 (expand-sample-perl-mode-expand-list): Fix typos.
19746 * net/dbus.el (dbus-event-member-name):
19747 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19748 * term/pc-win.el (msdos-create-frame-with-faces):
19749 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19751 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19753 * window.el (split-window, window-state-get-1)
19754 (window-state-put-1, window-state-put-2): Rename occurrences of
19755 window-nest to window-combination-limit.
19756 * cus-start.el (window-nest): Rename to window-combination-limit.
19758 2011-11-16 Chong Yidong <cyd@gnu.org>
19760 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19761 regexp (Bug#10033).
19763 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19765 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19766 `completing-read' will remove *Completions* and will preserve
19767 current-buffer for us.
19768 (tmm-add-prompt): Users of *Completions* will always (re)set its
19770 (tmm-old-comp-map): Remove.
19772 2011-11-16 Glenn Morris <rgm@gnu.org>
19774 * mail/rmailedit.el: Require rmailmm when compiling.
19775 (rmail-old-mime-state): New declaration.
19776 (rmail-edit-current-message): If editing a mime message,
19777 edit the "raw" message from the mbox buffer.
19778 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19780 2011-11-15 Glenn Morris <rgm@gnu.org>
19782 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19783 which wasn't being used. Add optional arg to force given state.
19784 (rmail-mime): Add optional arg to force given state.
19786 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19788 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19789 * frame.el (display-mm-dimensions-alist):
19790 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19791 (outline-move-subtree-down):
19792 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19793 (newsticker--treeview-do-get-node):
19794 * net/quickurl.el (quickurl-list-buffer-name):
19795 * progmodes/dcl-mode.el (dcl-mode):
19796 * progmodes/gdb-mi.el (gdb-mapcar*):
19797 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19799 2011-11-15 Glenn Morris <rgm@gnu.org>
19801 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19802 in a boolean sense, so just make it a boolean, and fix the doc.
19803 (rmail-show-mime-function, rmail-mime-feature)
19804 (rmail-require-mime-maybe): Doc fixes.
19805 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19807 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19809 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19811 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19812 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19813 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19814 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19816 2011-11-15 Glenn Morris <rgm@gnu.org>
19818 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19819 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19820 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19821 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19822 (rmail-mime, rmail-show-mime): Doc fixes.
19824 * term/ns-win.el (mode-line-frame-identification):
19825 Leave it alone. (Bug#10051)
19827 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19829 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19830 Handle empty buffers. (Bug#9978)
19832 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19834 * international/mule.el (define-charset):
19835 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19836 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19837 * progmodes/verilog-mode.el (verilog-backward-token):
19838 * textmodes/ispell.el (lookup-words):
19839 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19841 2011-11-14 Glenn Morris <rgm@gnu.org>
19843 * progmodes/executable.el
19844 (executable-make-buffer-file-executable-if-script-p):
19845 Handle file-modes returning nil.
19847 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19848 message - not necessary, and causes problems. (Bug#9831)
19850 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19852 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19854 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19855 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19856 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19858 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19860 * window.el (window-resize, delete-window): Use window-splits
19861 variable instead of function.
19862 (window-state-get-1, window-state-put-2, window-state-put):
19863 Don't deal with windows' splits status.
19865 2011-11-12 Glenn Morris <rgm@gnu.org>
19867 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19868 (apropos-documentation): Doc fixes.
19870 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19872 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19873 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19875 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19877 * electric.el (electric-indent-post-self-insert-function): Make it
19878 possible for a char to only indent in some circumstances.
19879 (electric-indent-mode): Simplify.
19881 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19883 * window.el (windows-with-parameter): Remove unused function.
19884 (windows-at-side): Rename to window-at-side-list.
19885 (window-check, window-atom-check, window-atom-check-1)
19886 (window-side-check, window-size-ignore, window-size-fixed-1)
19887 (window-in-direction-2): Prefix with "window--".
19888 (window-tree-1): Rename to window--subtree, fix doc-string.
19890 2011-11-11 Glenn Morris <rgm@gnu.org>
19892 * subr.el (eval-after-load): If FILE is already loaded,
19893 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19895 2011-11-10 Glenn Morris <rgm@gnu.org>
19897 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19898 Call svn via vc-svn-command rather than vc-do-command.
19899 (vc-svn-command): Add --non-interactive. (Bug#9993)
19900 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19902 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19903 Add toggle-read-only. (Bug#7292)
19904 * files.el (toggle-read-only): Mention that it should only
19905 be used interactively. (Bug#10006)
19907 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19910 Adjust regexp for OCaml warnings.
19912 * electric.el (electric-pair-post-self-insert-function): Let user
19913 turn it off buffer-locally (bug#9932).
19915 * progmodes/python.el (python-beginning-of-statement):
19916 Rewrite (bug#2703).
19918 * progmodes/compile.el: Better handle TABs (bug#9749).
19919 (compilation-internal-error-properties)
19920 (compilation-next-error-function): Obey the target buffer's
19921 compilation-error-screen-columns.
19923 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19925 * progmodes/meta-mode.el: Remove obsolete comments.
19926 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19927 Fix typos in docstrings.
19929 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19931 * window.el (window-size-fixed-p): Rewrite doc-string.
19932 (window-resizable-p): Rename to window--resizable-p. Update callers.
19933 (window--resizable): New function. Make all callers of
19934 window-resizable call window--resizable instead.
19935 (window-resizable): Rewrite in terms of window--resizable.
19937 2011-11-08 Glenn Morris <rgm@gnu.org>
19939 * progmodes/delphi.el (delphi-mode-syntax-table):
19940 Let define-derived-mode define a proper syntax table. (Bug#9994)
19942 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19944 * window.el: Stay away from defsubst.
19945 (window-list-no-nils): Remove.
19946 (window-state-get-1, window-state-get): Use backquote instead.
19948 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19950 * emacs-lisp/find-func.el (find-function-read):
19951 Fix incorrect use of default argument in `completing-read'.
19953 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19955 * window.el (display-buffer-function, special-display-function):
19956 Mention display-buffer-record-window but do not mention
19957 help-setup parameter in doc-strings.
19958 (window-min-delta): Fix doc-string typo.
19960 2011-11-08 Chong Yidong <cyd@gnu.org>
19962 * window.el (window-total-height, window-total-width): Doc fix.
19963 (window-body-size): Move from C.
19964 (window-body-height, window-body-width): Move to C.
19966 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19968 * window.el: Make special-display like display-buffer-alist (bug#9532).
19969 (display-buffer--special-action): New function, morphed
19970 from display-buffer--special.
19971 (display-buffer): Use it to handle special-display-buffers at higher
19972 priority (just after display-buffer-alist).
19973 (display-buffer-fallback-action, display-buffer--other-frame-action)
19974 (pop-to-buffer-same-window): Remove display-buffer--special.
19976 2011-11-07 Glenn Morris <rgm@gnu.org>
19978 * calendar/cal-menu.el (cal-menu-set-date-title):
19979 Do nothing if not in a calendar. (Bug#9976)
19981 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19983 * files.el (find-file): Always use selected-window.
19985 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19987 * window.el (window-combinations): Make WINDOW argument
19988 mandatory. Rewrite doc-string.
19989 (walk-window-subtree, window-atom-check, window-min-delta)
19990 (window-max-delta, window--resize-this-window)
19991 (window--resize-root-window-vertically, window-tree)
19992 (balance-windows, window-state-put): Rewrite doc-strings as to
19993 not mention the term "subwindow".
19994 (window--resize-subwindows-skip-p): Rename to
19995 window--resize-child-windows-skip-p.
19996 (window--resize-subwindows-normal): Rename to
19997 window--resize-child-windows-normal.
19998 (window--resize-subwindows): Rename to
19999 window--resize-child-windows.
20000 (window-or-subwindow-p): Rename to window--in-subtree-p.
20002 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20004 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20005 Ensure that mbox format messages end in two newlines (Bug#9974).
20007 2011-11-06 Chong Yidong <cyd@gnu.org>
20009 * window.el (window-combination-p): Function deleted; its
20010 side-effect is not used in any existing code.
20011 (window-combinations, window-combined-p): Call window-*-child
20014 2011-11-05 Chong Yidong <cyd@gnu.org>
20016 * window.el (window-valid-p): Rename from window-any-p.
20017 (window-size-ignore, window-state-get): Callers changed.
20018 (window-normalize-window): Rename from window-normalize-any-window.
20019 New arg LIVE-ONLY, replacing window-normalize-live-window.
20020 (window-normalize-live-window): Delete.
20021 (window-combination-p, window-combined-p, window-combinations)
20022 (walk-window-subtree, window-atom-root, window-min-size)
20023 (window-sizable, window-sizable-p, window-size-fixed-p)
20024 (window-min-delta, window-max-delta, window-resizable)
20025 (window-resizable-p, window-full-height-p, window-full-width-p)
20026 (window-current-scroll-bars, window-point-1, set-window-point-1)
20027 (window-at-side-p, window-in-direction, window-resize)
20028 (adjust-window-trailing-edge, maximize-window, minimize-window)
20029 (window-deletable-p, delete-window, delete-other-windows)
20030 (record-window-buffer, unrecord-window-buffer)
20031 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20032 (quit-window, split-window, window-state-put)
20033 (set-window-text-height, fit-window-to-buffer)
20034 (shrink-window-if-larger-than-buffer): Callers changed.
20036 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20038 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20039 rfc2047-decode-string.
20040 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20043 * window.el (window-body-height, window-body-width): Mention in
20044 the doc string that the return values are in frame's canonical
20047 2011-11-03 Alan Mackenzie <acm@muc.de>
20049 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20050 change in cc-engine.el.
20052 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20054 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20056 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20058 * window.el (quit-window): Call unrecord-window-buffer after
20059 showing another buffer in the window. (Bug#9937)
20060 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20062 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20064 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20065 Accept status with more than 9 shelves. (Bug#9935)
20066 Reported by Colin D Bennett <colin@gibibit.com>.
20068 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20070 * help.el (with-help-window): Don't reference
20071 temp-buffer-show-specifiers in doc-string.
20073 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20075 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20078 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20080 * whitespace.el: New version 13.2.2.
20081 (whitespace-newline-mode): Disable properly. Reported by Sarah
20084 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20086 * net/newst-treeview.el: Remove "Time-stamp".
20087 (newsticker--group-manage-orphan-feeds): Do not call
20088 newsticker--treeview-tree-update.
20089 (newsticker-treeview-update, newsticker-treeview):
20090 Call newsticker--treeview-tree-update if necessary.
20092 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20094 * window.el (window-iso-combination-p, window-iso-combined-p)
20095 (window-iso-combinations): Remove "iso-" infix.
20096 Suggested by Chong Yidong.
20097 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20098 (window-max-delta-1, window-resize, window--resize-siblings)
20099 (window--resize-this-window, adjust-window-trailing-edge)
20100 (split-window, balance-windows-1)
20101 (shrink-window-if-larger-than-buffer):
20102 * calendar/calendar.el (calendar-generate-window):
20103 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20105 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20107 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20108 in place (bug#9907).
20109 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20110 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20111 (eshell-structure-basic-command, eshell-rewrite-while-command)
20112 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20113 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20114 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20115 (eshell-do-pipelines-synchronously, eshell-eval-command):
20116 Use backquotes and prefer setq to set.
20117 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20118 (eshell-macrop): Use functionp.
20119 (eshell-do-eval): Handle multiple expressions in `while' body.
20121 2011-10-30 Chong Yidong <cyd@gnu.org>
20123 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20124 instead of set-mark (Bug#9810).
20126 2011-10-30 Chong Yidong <cyd@gnu.org>
20128 * window.el (split-window-below, split-window-right): Rename from
20129 split-window-above-each-other and split-window-side-by-side
20130 respectively. All callers changed.
20131 (split-window-sensibly, split-window-sensibly): Use them.
20132 (split-window-keep-point): Doc fix.
20134 * isearch.el: Add isearch-scroll property to split-window-below
20135 and split-window-right.
20137 * follow.el (follow-mode):
20138 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20139 * progmodes/ada-xref.el (ada-gdb-application):
20140 * emulation/vip.el (vip-buffer-in-two-windows):
20141 * image-dired.el (image-dired-dired-with-window-configuration):
20142 * dired-x.el (dired-do-find-marked-files):
20143 * dired.el (dired-pop-to-buffer):
20144 * bs.el (bs--show-with-configuration):
20145 * vc/emerge.el (emerge-setup-windows):
20146 * textmodes/two-column.el (2C-two-columns):
20147 * textmodes/reftex-toc.el (reftex-toc):
20148 * progmodes/gdb-mi.el (gdb-setup-windows):
20149 * progmodes/fortran.el (fortran-window-create):
20150 * net/newst-treeview.el (newsticker--treeview-window-init):
20151 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20152 * emulation/tpu-edt.el (tpu-gold-map):
20153 * emulation/crisp.el (crisp-mode-map):
20154 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20156 2011-10-29 Chong Yidong <cyd@gnu.org>
20158 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20160 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20162 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20163 forged Ispell output (Bug#7904).
20165 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20167 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20169 * doc-view.el: Avoid ugly errors about not finding nil.
20170 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20171 (doc-view-dvipdf-program, doc-view-unoconv-program)
20172 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20173 Avoid nil or absolute file name as default value.
20174 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20176 2011-10-28 Alan Mackenzie <acm@muc.de>
20178 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20180 2011-10-28 Alan Mackenzie <acm@muc.de>
20182 Amend the handling of c-beginning/end-of-defun in nested declaration
20185 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20186 cc-langs.el. Change it to a defcustom.
20188 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20191 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20192 Prevent "class foo : bar" being spuriously recognized as a label.
20194 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20195 Add parameter `inclusive' (to include enclosing braces in the region).
20196 (c-widen-to-enclosing-decl-scope): New function.
20197 (c-while-widening-to-decl-block): New macro.
20198 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20199 outward for defun boundaries, and correspondingly change symbol
20200 `respect-enclosure' to `go-outward'.
20201 (c-declaration-limits): Change algorithm to report only the "innermost"
20202 defun's boundaries.
20204 2011-10-28 Deniz Dogan <deniz@dogan.se>
20206 * net/rcirc.el (rcirc-mode): Use hard newlines.
20208 2011-10-28 Alan Mackenzie <acm@muc.de>
20210 Amend to indent and fontify macros "which include their own semicolon"
20211 correctly, using the "virtual semicolon" mechanism.
20213 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20215 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20216 Recode to scan one line at a time rather than having \n and \r
20217 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20218 (c-forward-label): Amend for virtual semicolons.
20219 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20221 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20222 of the new C macros.
20224 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20225 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20226 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20227 (c-opt-cpp-macro-define): Make into a full language variable.
20228 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20229 AWK Mode (including \n, \r) removed, no longer needed.
20231 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20232 Invoke c-make-macro-with-semi-re.
20234 * progmodes/cc-vars.el (c-macro-with-semi-re):
20235 (c-macro-names-with-semicolon): New variables.
20236 (c-make-macro-with-semi-re): New function.
20238 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * vc/log-edit.el: Fill empty field rather than adding new one.
20241 (log-edit-add-field): New function.
20242 (log-edit-insert-changelog): Use it.
20244 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20246 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20248 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20250 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20251 (gdb--check-interpreter): New function.
20254 2011-10-27 Glenn Morris <rgm@gnu.org>
20256 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20257 (least-positive-float, least-negative-float)
20258 (least-positive-normalized-float, least-negative-normalized-float)
20259 (float-epsilon, float-negative-epsilon):
20260 Remove unnecessary declarations.
20262 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20263 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20264 (least-positive-float, least-negative-float)
20265 (least-positive-normalized-float, least-negative-normalized-float)
20266 (float-epsilon, float-negative-epsilon): Add doc-strings,
20267 based on those in cl.texi.
20269 * files.el (set-visited-file-name): If the major-mode changed,
20270 reload the local variables. (Bug#9796)
20272 2011-10-27 Chong Yidong <cyd@gnu.org>
20274 * subr.el (change-major-mode-after-body-hook): New hook.
20275 (run-mode-hooks): Run it.
20277 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20278 Use change-major-mode-before-body-hook.
20280 * simple.el (fundamental-mode):
20281 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20282 change introducing fundamental-mode-hook.
20284 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20286 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20288 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20290 * ido.el (ido-file-name-all-completions-1): Do not require
20291 tramp.el explicitly. (Bug#7583)
20293 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20295 * progmodes/octave-mod.el:
20296 * progmodes/octave-inf.el: Update maintainer.
20298 2011-10-26 Chong Yidong <cyd@gnu.org>
20300 * subr.el (with-wrapper-hook): Rewrite doc.
20302 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20304 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20305 filenames "/method:foo:". (Bug#9793)
20307 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20309 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20312 2011-10-24 Glenn Morris <rgm@gnu.org>
20314 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20316 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20318 * notifications.el: Add the requirement of a running D-Bus session
20319 bus to the Commentary.
20321 2011-10-24 Juri Linkov <juri@jurta.org>
20323 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20324 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20327 2011-10-24 Juri Linkov <juri@jurta.org>
20329 * info.el (Info-following-node-name-re): Add newline to the list
20330 of allowed characters for leading space. (Bug#9824)
20332 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20334 * progmodes/octave-inf.el (inferior-octave-mode-map):
20335 Fix C-c C-h binding.
20336 * progmodes/octave-mod.el (octave-help): Remove.
20338 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20340 Sync with Tramp 2.2.3.
20342 * net/tramp-cache.el (top): Pacify byte-compiler using
20343 `init-file-user' and `site-run-file'.
20345 * net/trampver.el: Update release number.
20347 2011-10-23 Chong Yidong <cyd@gnu.org>
20349 * files.el (toggle-read-only): Remove obsolete comment about
20352 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20353 for toggle-read-only. Note that this hasn't called vc-next-action
20354 since 2008-05-02, though it wasn't documented at the time.
20356 * vc/ediff-init.el (ediff-toggle-read-only-function):
20357 Use toggle-read-only.
20359 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20361 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20364 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20365 correct faulty logical expression.
20366 (c-parse-state-state, c-record-parse-state-state):
20367 (c-replay-parse-state-state): New defvar/defuns.
20368 (c-debug-parse-state): Use new functions.
20370 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20372 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20373 last fix. Use window-in-direction correctly.
20375 2011-10-21 Chong Yidong <cyd@gnu.org>
20377 * progmodes/idlwave.el (idlwave-mode):
20378 * progmodes/vera-mode.el (vera-mode): No need to set
20379 require-final-newline; that's done in prog-mode.
20380 Suggested by Stefan Monnier.
20382 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20384 * mouse.el (mouse-drag-window-above)
20385 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20386 (mouse-drag-mode-line-1, mouse-drag-header-line)
20387 (mouse-drag-vertical-line-rightward-window): Remove.
20388 (mouse-drag-line): New function.
20389 (mouse-drag-mode-line, mouse-drag-header-line)
20390 (mouse-drag-vertical-line): Call mouse-drag-line.
20391 * window.el (window-at-side-p, windows-at-side): New functions.
20393 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20395 * tar-mode.el (tar-grind-file-mode):
20396 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20398 2011-10-21 Chong Yidong <cyd@gnu.org>
20400 * progmodes/idlwave.el (idlwave-mode):
20401 * progmodes/vera-mode.el (vera-mode):
20402 Use mode-require-final-newline.
20404 2011-10-20 Glenn Morris <rgm@gnu.org>
20406 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20408 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20410 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20412 2011-10-20 Chong Yidong <cyd@gnu.org>
20414 * emulation/cua-base.el (cua-mode):
20415 * mail/footnote.el (footnote-mode):
20416 * mail/mailabbrev.el (mail-abbrevs-mode):
20417 * net/xesam.el (xesam-minor-mode):
20418 * progmodes/bug-reference.el (bug-reference-mode):
20419 * progmodes/cap-words.el (capitalized-words-mode):
20420 * progmodes/compile.el (compilation-minor-mode)
20421 (compilation-shell-minor-mode):
20422 * progmodes/gud.el (gud-tooltip-mode):
20423 * progmodes/hideif.el (hide-ifdef-mode):
20424 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20425 * progmodes/subword.el (subword-mode):
20426 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20427 * progmodes/which-func.el (which-function-mode):
20428 * term/tvi970.el (tvi970-set-keypad-mode):
20429 * term/vt100.el (vt100-wide-mode):
20430 * textmodes/flyspell.el (flyspell-mode):
20431 * textmodes/ispell.el (ispell-minor-mode):
20432 * textmodes/nroff-mode.el (nroff-electric-mode):
20433 * textmodes/paragraphs.el (use-hard-newlines):
20434 * textmodes/refill.el (refill-mode):
20435 * textmodes/reftex.el (reftex-mode):
20436 * textmodes/rst.el (rst-minor-mode):
20437 * textmodes/sgml-mode.el (html-autoview-mode)
20438 (sgml-electric-tag-pair-mode):
20439 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20440 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20441 * emulation/crisp.el (crisp-mode):
20442 * emacs-lisp/eldoc.el (eldoc-mode):
20443 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20444 minor mode behavior.
20446 2011-10-19 Juri Linkov <juri@jurta.org>
20448 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20449 the list of hard-coded chars with escape-glyph face.
20451 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20453 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20455 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20457 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20460 2011-10-19 Glenn Morris <rgm@gnu.org>
20462 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20463 Ignore ignored files. (Bug#9726)
20465 2011-10-19 Chong Yidong <cyd@gnu.org>
20467 Doc fix for minor modes, stating that an omitted argument enables
20468 the mode unconditionally when called from Lisp.
20470 * abbrev.el (abbrev-mode):
20471 * allout.el (allout-mode):
20472 * autoinsert.el (auto-insert-mode):
20473 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20474 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20475 (global-auto-revert-mode):
20476 * battery.el (display-battery-mode):
20477 * composite.el (global-auto-composition-mode)
20478 (auto-composition-mode):
20479 * delsel.el (delete-selection-mode):
20480 * desktop.el (desktop-save-mode):
20481 * dired-x.el (dired-omit-mode):
20482 * dirtrack.el (dirtrack-mode):
20483 * doc-view.el (doc-view-minor-mode):
20484 * double.el (double-mode):
20485 * electric.el (electric-indent-mode, electric-pair-mode):
20486 * emacs-lock.el (emacs-lock-mode):
20487 * epa-hook.el (auto-encryption-mode):
20488 * follow.el (follow-mode):
20489 * font-core.el (font-lock-mode):
20490 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20491 * help.el (temp-buffer-resize-mode):
20492 * hilit-chg.el (highlight-changes-mode)
20493 (highlight-changes-visible-mode):
20494 * hi-lock.el (hi-lock-mode):
20495 * hl-line.el (hl-line-mode, global-hl-line-mode):
20496 * icomplete.el (icomplete-mode):
20497 * ido.el (ido-everywhere):
20498 * image-file.el (auto-image-file-mode):
20499 * image-mode.el (image-minor-mode):
20500 * iswitchb.el (iswitchb-mode):
20501 * jka-cmpr-hook.el (auto-compression-mode):
20502 * linum.el (linum-mode):
20503 * longlines.el (longlines-mode):
20504 * master.el (master-mode):
20505 * mb-depth.el (minibuffer-depth-indicate-mode):
20506 * menu-bar.el (menu-bar-mode):
20507 * minibuf-eldef.el (minibuffer-electric-default-mode):
20508 * mouse-sel.el (mouse-sel-mode):
20509 * msb.el (msb-mode):
20510 * mwheel.el (mouse-wheel-mode):
20511 * outline.el (outline-minor-mode):
20512 * paren.el (show-paren-mode):
20513 * recentf.el (recentf-mode):
20514 * reveal.el (reveal-mode, global-reveal-mode):
20515 * rfn-eshadow.el (file-name-shadow-mode):
20516 * ruler-mode.el (ruler-mode):
20517 * savehist.el (savehist-mode):
20518 * scroll-all.el (scroll-all-mode):
20519 * scroll-bar.el (scroll-bar-mode):
20520 * server.el (server-mode):
20521 * shell.el (shell-dirtrack-mode):
20522 * simple.el (auto-fill-mode, transient-mark-mode)
20523 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20524 (line-number-mode, column-number-mode, size-indication-mode)
20525 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20526 * strokes.el (strokes-mode):
20527 * time.el (display-time-mode):
20528 * t-mouse.el (gpm-mouse-mode):
20529 * tool-bar.el (tool-bar-mode):
20530 * tooltip.el (tooltip-mode):
20531 * type-break.el (type-break-mode-line-message-mode)
20532 (type-break-query-mode):
20533 * view.el (view-mode):
20534 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20535 (global-whitespace-mode, global-whitespace-newline-mode):
20536 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20538 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20539 Fix autogenerated docstring.
20541 2011-10-19 Juri Linkov <juri@jurta.org>
20543 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20544 by checking environment variables "DESKTOP_SESSION" and
20545 "XDG_CURRENT_DESKTOP". (Bug#9779)
20547 2011-10-19 Juri Linkov <juri@jurta.org>
20549 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20550 (browse-url-chromium-program, browse-url-chromium-arguments):
20552 (browse-url-default-browser): Check for `browse-url-chromium' and
20553 call `browse-url-chromium-program'.
20554 (browse-url-chromium): New command. (Bug#9779)
20556 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20558 * facemenu.el (list-colors-duplicates): On Windows, detect more
20559 duplicates by assuming that only colors matching "^System" are
20560 special "system colors". (Bug#9722)
20562 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20564 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20565 to distinguish the author from the committer.
20567 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20569 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20571 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20573 * international/mule.el (sgml-html-meta-auto-coding-function):
20574 Add support for detecting encoding in HTML5 specified only as
20575 <meta charset="UTF-8">. Implementation just makes http-equiv and
20576 content-type parts from HTML4 encoding string optional. (Bug#9716)
20578 2011-10-18 Glenn Morris <rgm@gnu.org>
20580 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20582 2011-10-18 Chong Yidong <cyd@gnu.org>
20584 * faces.el (cursor): Doc fix.
20586 2011-10-17 Chong Yidong <cyd@gnu.org>
20588 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20590 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20592 * dirtrack.el (dirtrack): Support shell buffers with path
20593 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20595 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20597 * json.el: Bump version to 1.3 and note change in History.
20598 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20600 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20602 * comint.el (comint-insert-input, comint-send-input)
20603 (comint-get-old-input-default, comint-backward-matching-input)
20604 (comint-next-prompt): Use nil instead of `input' for field property of
20605 past user input (bug#114).
20607 * minibuffer.el (completion--replace): Inherit surrounding properties
20609 (minibuffer-complete-and-exit): Use it.
20611 * comint.el (comint--table-subvert): Quote the all-completions output
20614 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20616 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20618 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20619 window on right of selected. (Bug#9350) Reword other window
20620 entries and separate them from frame entries.
20622 2011-10-15 Glenn Morris <rgm@gnu.org>
20624 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20627 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20629 * net/network-stream.el (network-stream-open-starttls):
20630 Improve detection of failure due to lack of TLS support.
20632 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20633 putting the input text in front and in bold.
20635 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20637 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20639 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20642 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20643 unread-command-events rather than pushing yet-another event.
20645 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20647 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20648 the explanation of the possible choices. Make the options passed
20649 to completing-read shorter.
20651 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20653 * textmodes/flyspell.el (flyspell-large-region): Make sure
20654 extended character mode is used if defined (Bug#1339).
20656 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20658 * simple.el (what-cursor-position): Fix the display of the
20659 character info for LRE, LRO, RLE, and RLO characters by appending
20662 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20664 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20665 even in case of error; add debug spec; simplify data flow.
20666 (with-timeout-handler): Remove.
20668 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20670 Fix Bug#6019, Bug#9315.
20672 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20673 complete `buffer-file-name', the local file name part could look
20674 remotely (for example on VMS).
20676 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20677 `tramp-run-real-handler'.
20678 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20679 already quoted by '"'.
20681 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20682 Let `file-name-handler-alist' be nil, the local file name part
20683 could look remotely (for example on VMS).
20685 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20687 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20689 (flyspell-post-command-hook): ...to here.
20691 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20693 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20695 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20696 using completion. Protect against "slow" callers.
20697 Remove the "message hack".
20699 2011-10-11 Juri Linkov <juri@jurta.org>
20701 * isearch.el (isearch-lazy-highlight-word): New variable.
20702 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20705 2011-10-11 Glenn Morris <rgm@gnu.org>
20707 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20708 like f90-previous-statement does.
20710 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20712 * eshell/eshell.el (eshell-command): History should be saved
20713 only in interactive use, to avoid error.
20715 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20717 * minibuffer.el (completion-file-name-table): Fix last change,
20718 i.e. ignore normal errors but not the other ones.
20720 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20722 * window.el (special-display-buffer-names)
20723 (special-display-regexps): Remove some remnants of earlier
20724 changes from doc-strings.
20725 (quit-windows-on): New function.
20727 * vc/vc.el (vc-revert, vc-rollback):
20728 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20729 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20730 (Bug#6183) (Bug#7074) (Bug#7447)
20732 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20734 * window.el (frame-auto-hide-function): Add version tag.
20737 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20739 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20742 2011-10-09 Leo Liu <sdl.web@gmail.com>
20744 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20747 2011-10-08 Glenn Morris <rgm@gnu.org>
20749 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20750 before the first code statement zero indent. (Bug#9690)
20752 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20754 * simple.el (count-words-region): Always count in the region.
20755 Report the number of lines and characters too.
20756 (count-words): New command, which counts in the buffer if the
20757 region is inactive, as count-words-region used to.
20758 (count-words--message): New function. Handle plurals.
20759 (count-lines-region): Make it an alias for count-words-region.
20761 * bindings.el (esc-map): Replace count-lines-region with
20762 count-words-region.
20764 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20766 * window.el (window--delete): Delete dedicated frame
20767 unconditionally when argument KILL is non-nil. (Bug#9699)
20768 (switch-to-buffer): Fix doc-string typo.
20770 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20772 * eshell/eshell.el (eshell-command): Avoid using hooks.
20774 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20776 * bindings.el ([M-left], [M-right]): Bind to left-word and
20777 right-word respectively.
20779 2011-10-07 Glenn Morris <rgm@gnu.org>
20781 * cus-start.el (debug-on-quit): Fix custom type.
20783 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20785 * subr.el (define-key-after): Clarify that the function is not
20786 useful for non-menu keymaps.
20788 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20790 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20792 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20793 in current minibuffer (Fix bug with recursive minibuffers).
20795 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20797 * progmodes/gdb-mi.el (gdb): Doc fix.
20799 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20801 * window.el (frame-auto-hide-function): New option replacing
20802 frame-auto-delete. Suggested by Stefan Monnier.
20803 (window--delete): Call frame-auto-hide-function instead of
20804 investigating frame-auto-delete.
20805 (window-point-1, set-window-point-1): New functions.
20806 (window-in-direction, record-window-buffer, window-state-get-1)
20807 (display-buffer-record-window): Use window-point-1 instead of
20809 (set-window-buffer-start-and-point): Use set-window-point-1.
20811 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20813 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20815 2011-10-05 Glenn Morris <rgm@gnu.org>
20817 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20818 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20820 2011-10-05 Leo Liu <sdl.web@gmail.com>
20822 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20823 works with buffer object.
20825 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20827 * mpc.el (mpc-tool-bar-map): Add labels.
20829 2011-10-04 Glenn Morris <rgm@gnu.org>
20831 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20833 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20835 * window.el (window--delete): New function.
20836 (frame-auto-delete): Resuscitate option.
20837 (bury-buffer, replace-buffer-in-windows)
20838 (quit-window): Rewrite using window--delete.
20839 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20840 Pass display-buffer-mark-dedicated to window--display-buffer-2
20843 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20845 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20846 returns a list (bug#9554). Add remote file name completion.
20847 * comint.el (comint--table-subvert): Curry and get quote&unquote
20848 functions as arguments.
20849 (comint--complete-file-name-data): Adjust call accordingly.
20850 * pcomplete.el (pcomplete--table-subvert): Remove.
20851 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20853 * minibuffer.el (completion-table-case-fold): Use currying.
20854 (completion--styles-type, completion--cycling-threshold-type):
20856 (completion-styles, completion-category-overrides)
20857 (completion-cycle-threshold): Use them.
20858 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20859 completion-table-case-fold.
20861 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20863 * minibuffer.el (completion-category-overrides): Fix type of styles
20864 and add more user friendly tags (bug#9660).
20866 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20868 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20869 (mule-input-method-string): New widget.
20870 (default-input-method, language-info-custom-alist): Use it.
20872 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20874 * pcomplete.el: Require comint.
20875 (pcomplete--common-suffix): Remove.
20876 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20877 (pcomplete--table-subvert): Sync with comint--table-subvert.
20878 (pcomplete--entries): Use comint-completion-file-name-table.
20879 * comint.el (comint-unquote-filename): Simplify.
20880 (comint-completion-file-name-table): New function (bug#9616).
20881 (comint--complete-file-name-data): Use it.
20883 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20884 (pcmpl-gnu-tar-buffer): Remove.
20885 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20886 around. Make sure pcomplete-suffix-list is only changed temporarily.
20887 Don't look inside the tar's file if it's too large.
20889 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20891 * cus-edit.el (custom-mode-map):
20892 * epa.el (epa-key-list-mode-map):
20893 * man.el (Man-mode-map):
20894 * startup.el (splash-screen-keymap):
20895 * simple.el (special-mode-map): Use scroll-up-command and
20896 scroll-down-command.
20898 * progmodes/idlw-help.el (idlwave-help-mode-map):
20899 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20900 * net/newst-plainview.el (newsticker-mode-map):
20901 * emulation/ws-mode.el (wordstar-mode-map):
20902 * emulation/vi.el (vi-com-map):
20903 * calc/calc-graph.el (calc-graph-show-dumb):
20904 * term/sun.el (terminal-init-sun):
20905 * term/ns-win.el (global-map):
20906 * progmodes/grep.el (grep-mode-map):
20907 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20908 * mail/rmail.el (rmail-mode-map):
20909 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20911 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20912 custom-safe-themes as special.
20914 2011-10-01 Julien Danjou <julien@danjou.info>
20916 * notifications.el (notifications-notify): Fix docstring.
20918 2011-10-01 Per Starbäck <per@starback.se>
20920 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20922 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20924 * startup.el (command-line-1): Fix last fix by inserting
20925 initial-scratch-message into *scratch* before displaying it.
20926 (Bug#9605) and (Bug#9636)
20928 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20930 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20931 window is hscrolled, move by logical lines. (Bug#9607)
20932 (line-move-visual): Update the doc string to the above effect.
20934 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20936 * window.el (display-buffer-record-window): When WINDOW is the
20937 selected window use `point' instead of `window-point'. (Bug#9626)
20939 * startup.el (command-line-1): Use insert-before-markers when
20940 inserting initial-scratch-message. (Bug#9605)
20942 * help.el (help-window): Remove variable.
20944 2011-09-29 Glenn Morris <rgm@gnu.org>
20946 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20948 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20950 * descr-text.el (describe-char-categories): Accept category
20951 descriptions more than one line long.
20953 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20955 * simple.el (delete-trailing-whitespace): Fix last change.
20957 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20958 Don't confuse "y => 3" as the beginning of a `y' operation.
20960 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20961 object has more than 4 slots (bug#9613).
20963 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20965 * subr.el (with-output-to-temp-buffer):
20966 * net/quickurl.el (quickurl, quickurl-browse-url):
20967 Fix typos in docstrings.
20969 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20971 * minibuffer.el (completion-styles)
20972 (completion-category-overrides): Cross reference each other in doc
20975 2011-09-27 Glenn Morris <rgm@gnu.org>
20977 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20978 to split-string. (Bug#9606)
20980 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20982 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20985 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20987 * emacs-lisp/package.el (list-packages): Fix echo area message.
20989 2011-09-27 Leo Liu <sdl.web@gmail.com>
20991 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20993 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20995 * net/dbus.el (dbus-unregister-object): Don't release services for
20996 registered signals. (Bug#9581)
20998 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21000 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21001 function that picks between cfengine 2 and 3 support
21002 automatically. Update docs accordingly.
21004 2011-09-22 Kenichi Handa <handa@m17n.org>
21006 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21008 (indian-itrans-v5-table-for-tamil): New variable.
21009 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21011 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21013 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21014 that's true if the current command involved collapsing of text.
21015 It's reset to false at the beginning of the next command.
21016 (allout-post-command-business): Move the cursor to the beginning
21017 of entry if the cursor is hidden and collapsing activity just
21020 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21022 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21023 tracking (Bug#9541).
21025 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21027 * net/newst-reader.el (newsticker-html-renderer)
21028 (newsticker-show-news): Automatically load html rendering package
21029 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21030 because w3m-fill-column is let-bound" and the error "Symbol's value
21031 as variable is void: w3m-fill-column".
21033 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21035 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21036 Release services only if they are defined. (Bug#9581)
21038 2011-09-23 Richard Stallman <rms@gnu.org>
21040 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21041 distinguish start of paragraph from start of its text.
21043 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21045 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21046 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21047 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21049 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21051 * international/mule-diag.el (mule-diag): Insert a newline after
21052 each fontset description.
21054 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21056 * simple.el (delete-trailing-whitespace):
21057 Document last change; simplify.
21059 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21061 * simple.el (delete-trailing-whitespace): Also delete
21062 extra newlines at the end of the buffer.
21064 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21065 (picture-newline): Use forward-line so as to ignore fields.
21067 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21069 * subr.el (with-wrapper-hook): Fix edebug spec.
21071 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21073 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21076 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21078 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21079 Fix nasty bug using wrong cached values.
21081 2011-09-23 Alan Mackenzie <acm@muc.de>
21083 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21085 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21087 * window.el (pop-to-buffer): Ensure right window is selected if we
21088 chose another frame.
21090 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21092 * simple.el (what-cursor-position): Use get-char-property-change
21093 and next-single-char-property-change, to be able to show display
21094 properties that come from overlays as well as text properties.
21096 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21098 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21100 * cmuscheme.el (run-scheme, switch-to-scheme):
21101 * cus-edit.el (customize-group, custom-buffer-create)
21102 (customize-browse):
21104 * shell.el (shell):
21105 * mail/sendmail.el (mail):
21106 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21108 2011-09-22 Richard Stallman <rms@gnu.org>
21110 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21111 move back only to line beg, don't move back over blank lines.
21113 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21115 * files.el (copy-directory): Set directory attributes only in case
21116 they could be retrieved from the source directory. (Bug#9565)
21118 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21120 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21121 (hs-find-block-beginning, hs-hide-level-recursive):
21122 Ignore strings as well as comments. (Bug#9502)
21124 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21126 * progmodes/sql.el (sql-comint-postgres):
21127 Convert port number to a string. (Bug#9566)
21129 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21131 * window.el (quit-window): Undedicate window when switching to
21132 previous buffer. Reported by Thierry Volpiatto
21133 <thierry.volpiatto@gmail.com>.
21134 (special-display-popup-frame): When popping up a new frame reset
21135 its previous buffers to nil. Simplify code.
21137 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21139 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21140 and process filter, as done also in `shell-command'.
21142 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21144 * window.el (set-window-buffer-start-and-point):
21145 Call set-window-start with NOFORCE argument t.
21146 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21147 (quit-window): Reword doc-string. Handle new format of
21148 quit-restore parameter. Don't delete window if it has a
21149 previous buffer we can show instead of the present one.
21150 (display-buffer-record-window): Rewrite using a new format for
21151 the quit-restore window parameter
21152 (special-display-popup-frame, display-buffer-same-window)
21153 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21154 (display-buffer-pop-up-window, display-buffer-use-some-window):
21155 Adapt symbol passed to display-buffer-record-window.
21156 * help.el (help-window-setup): Handle new format of quit-restore
21159 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21161 * faces.el (face-list): Fix docstring (bug#9564).
21163 * window.el (display-buffer--action-function-custom-type):
21164 Don't include internal functions in the Custom interface.
21166 2011-09-20 Juri Linkov <juri@jurta.org>
21168 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21169 (Info-forward-node, Info-backward-node, Info-next-preorder)
21170 (Info-last-preorder): Use it. (Bug#9528)
21172 2011-09-20 Juri Linkov <juri@jurta.org>
21174 * info.el (Info-last-preorder): Visit last menu item only when
21175 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21177 2011-09-20 Julien Danjou <julien@danjou.info>
21179 * password-cache.el (password-cache-remove): Remove entries even if the
21180 value is nil, so that password with a nil value (negative caching) is
21181 possible to invalidate.
21183 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21185 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21186 all whitespace around breakpoint. (Bug#9553)
21187 (f90-find-breakpoint): Only break at whitespace inside a comment.
21189 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21191 * minibuffer.el (completion-file-name-table): Keep track of errors.
21192 (completion-table-with-predicate): Handle the case where pred1 is nil.
21193 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21195 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21197 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21198 (debugger-return-value): Signal an error if the debugging context does
21199 not await any return value.
21201 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21202 * image-mode.el (image-toggle-display-text)
21203 (image-toggle-display-image): Stay away from evil `intangible'.
21205 2011-09-19 Leo Liu <sdl.web@gmail.com>
21207 * replace.el (occur-revert-arguments): Make it permanent-local.
21208 (occur-mode): Don't call font-lock-defontify.
21210 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21212 * net/ldap.el (ldap-search-internal): Don't push empty search
21215 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21217 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21219 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21221 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21222 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21224 2011-09-18 Juri Linkov <juri@jurta.org>
21226 * buff-menu.el (Buffer-menu-mode-map):
21227 * dired.el (dired-mode-map):
21228 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21229 (lisp-interaction-mode-map):
21230 * emacs-lisp/package.el (package-menu-mode-map):
21231 * epa.el (epa-key-list-mode-map):
21232 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21233 (menu-bar-options-menu):
21234 * outline.el (outline-mode-menu-bar-map):
21235 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21236 * vc/vc-dir.el (vc-dir-menu-map):
21237 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21238 Capitalize non-function content words in menu item strings.
21240 * dired.el (dired-mode-map): Add menu item for
21241 `image-dired-dired-toggle-marked-thumbs'.
21243 2011-09-18 Juri Linkov <juri@jurta.org>
21245 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21246 to `isearch-case-fold-search' and restore its original value
21247 after the `isearch-mode' call.
21249 2011-09-18 Juri Linkov <juri@jurta.org>
21251 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21252 because `zgrep' returns 1 for successful matches (bug#9226).
21254 2011-09-18 Juri Linkov <juri@jurta.org>
21256 * info.el (Info-extract-menu-node-name): Check the second match
21257 for empty string (second test-case of bug#9528).
21258 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21259 intermediate nodes to the history (first test-case of bug#9528).
21261 2011-09-18 Juri Linkov <juri@jurta.org>
21263 * info.el (Info-mode-syntax-table): New variable.
21264 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21266 2011-09-18 Juri Linkov <juri@jurta.org>
21268 * info.el (Info-file-supports-index-cookies):
21269 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21270 outputs one more line for long file names (bug#4142).
21272 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21274 * newcomment.el (comment-normalize-vars): If prompting for
21275 comment-start, set comment-start-skip too (Bug#8424).
21277 2011-09-18 Johan Bockgård <bojohan@gnu.org>
21279 * icomplete.el: Fix previous fix of Bug#5849.
21280 (icomplete-mode): Don't set completion-show-inline-help.
21281 (icomplete-minibuffer-setup): Set completion-show-inline-help
21282 locally during icompletion.
21284 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21286 * woman.el (woman2-process-escapes): Don't delete unrecognized
21287 escapes (Bug#7843).
21289 * files.el (inhibit-first-line-modes-regexps): Add image files.
21290 (hack-local-variables-prop-line): Return nil for malformed
21291 prop-lines (Bug#9044).
21293 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21295 * net/tramp.el (top): Don't require 'shell.
21296 (tramp-methods): Fix docstring.
21297 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21298 Return complete remote file name. Handle "smb" case.
21299 Use `tramp-tmpdir', if defined for the respective method.
21300 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21302 * net/tramp-compat.el (top): Require 'shell.
21304 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21305 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21306 `tramp-current-host'.
21307 (tramp-get-remote-tmpdir): Remove.
21309 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21310 `tramp-tmpdir' entries.
21311 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21312 (tramp-smb-handle-file-attributes): Ignore errors.
21313 (tramp-smb-wait-for-output): Check also for process end.
21315 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21317 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21318 when sending QUIT (bug#9312).
21320 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21322 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21323 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21324 occur-mode-display-occurrence.
21325 (occur-edit-mode): Add usage message.
21326 (occur-cease-edit): New command.
21327 (occur-after-change-function): Use text properties to find the
21328 position of the prefix text.
21329 (occur-engine): Set stickiness of prefix text properties.
21331 2011-09-17 Glenn Morris <rgm@gnu.org>
21333 * progmodes/etags.el (complete-tag):
21334 Fix call to completion-in-region. (Bug#9526)
21336 2011-09-17 Juri Linkov <juri@jurta.org>
21338 * textmodes/ispell.el (ispell-word): Add to the error message
21339 the word, ispell program name and current dictionary (bug#9121).
21340 (ispell-tex-arg-end): Capitalize "error" in the error message.
21342 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21344 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21347 2011-09-17 Juri Linkov <juri@jurta.org>
21349 * window.el (window-safe-min-height, window-safe-min-width):
21350 Fix typos (followup to bug#9522).
21352 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21354 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21356 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21358 * simple.el (line-move): If goal-column is set, move by logical
21359 lines, not by display lines. (Bug#971)
21360 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21361 to reflect the above change.
21363 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21365 * image.el (imagemagick-register-types): Use regexp-opt.
21367 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21369 * window.el (display-buffer-base-action): Rename from
21370 display-buffer-default-action. Make default value empty.
21371 (display-buffer-overriding-action): Convert to defvar.
21372 (display-buffer-fallback-action): New var.
21374 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21376 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21378 (package--add-to-archive-contents): If there is a duplicate entry
21379 with an older version, remove it.
21380 (package-menu-mark-delete, package-menu-mark-install)
21381 (package-menu-mark-unmark): Make unused args optional.
21382 (package-menu-mark-obsolete-for-deletion):
21383 Use package-menu-get-status instead of a regexp search.
21384 (package-menu-get-status): Use tabulated-list-entry.
21385 (package-menu-mark-upgrades): New command.
21386 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21387 (package-menu-execute): Do installation before deletion.
21388 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21389 instead of checking major-mode.
21390 (package-menu--find-upgrades): New function.
21392 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21394 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21395 passwords in the log buffer.
21396 (smtpmail-process-filter): Update the process marker so that the
21397 "broken by peer" status message is inserted in the right place.
21399 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21401 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21402 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21403 bibtex-completion-at-point-function.
21404 (bibtex-completion-at-point-function): Use them.
21406 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21408 * mpc.el (mpc-constraints-tag-lookup): New function.
21409 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21410 also to browser "album|playlist".
21412 2011-09-14 Juri Linkov <juri@jurta.org>
21414 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21415 (isearch-edit-string): Use length of `isearch-string' when
21416 `isearch-fail-pos' returns nil.
21417 (isearch-message): Remove duplicate code and call
21418 `isearch-fail-pos' with arg `t'.
21420 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21422 * replace.el (occur-mode-goto-occurrence): Don't force using other
21425 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21427 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21429 * window.el (display-buffer-window): Remove.
21430 (display-buffer-record-window): Use help-setup window parameter
21431 instead of variable display-buffer-window.
21432 (display-buffer-function, special-display-buffer-names)
21433 (special-display-function): Mention help-setup parameter instead
21434 of display-buffer-window in doc-string.
21435 * help.el (help-window-setup): New argument help-window.
21436 Use help-window-setup parameter instead of display-buffer-window.
21437 Reword some messages.
21438 (with-help-window): Pass window used for displaying the buffer
21439 to help-window-setup. Don't set display-buffer-window.
21441 2011-09-13 Glenn Morris <rgm@gnu.org>
21443 * emacs-lisp/debug.el (debugger-make-xrefs):
21444 Preserve point. (Bug#9462)
21446 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21448 * window.el (window-deletable-p): Use next-frame.
21450 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21452 * window.el (window-auto-delete): Remove.
21453 (window-deletable-p): Remove argument FORCE. Don't deal with
21454 dedication and previous buffers.
21455 (switch-to-prev-buffer): Don't delete window.
21456 (delete-windows-on): Delete a window's frame if and only if the
21457 window is dedicated.
21458 (replace-buffer-in-windows): Delete buffer's window or frame if
21459 and only if window is dedicated.
21460 (quit-window): Handle quit-restore as before last change.
21461 (bury-buffer): Delete window only if window-deletable-p returns t.
21463 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21465 * window.el (window-deletable-p): Never delete the last frame on a
21468 2011-09-13 Glenn Morris <rgm@gnu.org>
21470 * help.el (describe-key-briefly): Copy previous standard-output change.
21472 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21474 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21476 2011-09-13 Glenn Morris <rgm@gnu.org>
21478 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21479 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21481 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21483 * dired-aux.el (dired-mark-read-string): Don't return default
21484 value on empty input (Bug#9361).
21485 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21486 Omit initial minibuffer contents.
21487 (dired-do-chmod): Signal an error on empty input.
21488 (dired-mark-read-string): Don't return default on empty input.
21490 * files.el (file-modes-symbolic-to-number): Doc fix.
21492 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21494 * international/mule-cmds.el (ucs-completions): Remove.
21495 (read-char-by-name): Use complete-with-action instead; add metadata.
21497 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21499 * window.el (display-buffer--action-function-custom-type)
21500 (display-buffer--action-custom-type): New vars.
21501 (display-buffer-alist, display-buffer-default-action)
21502 (display-buffer-overriding-action): Add defcustom types.
21504 * frame.el (delete-other-frames): Doc fix (Bug#276).
21506 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21508 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21510 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21512 Change modes that used same-window-* vars to use switch-to-buffer.
21514 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21515 Use switch-to-buffer.
21517 * cus-edit.el (customize-group, custom-buffer-create)
21518 (customize-browse, custom-buffer-create-other-window):
21519 Use switch-to-buffer or switch-to-buffer-other-window.
21521 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21522 (Info-prev, Info-up, Info-speedbar-goto-node)
21523 (info-display-manual): Use switch-to-buffer.
21524 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21526 * mail/sendmail.el (mail): Use switch-to-buffer.
21527 (mail-recover): Use switch-to-buffer-other-window.
21529 * cmuscheme.el (run-scheme, switch-to-scheme):
21531 * shell.el (shell):
21532 * net/rlogin.el (rlogin):
21533 * net/telnet.el (telnet, rsh):
21534 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21536 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21538 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21540 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21542 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21543 so don't mention it (bug#9301).
21544 (dired-sort-toggle-or-edit): Clarify string further.
21546 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21547 match `x', `w32' and `ns', like the manual says (bug#9029).
21549 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21550 (process-kill-buffer-query-function): Mention the buffer name in
21553 * image-mode.el (image-next-line): The line parameter is mandatory
21556 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21557 which can be useful (bug#9301).
21559 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21561 * subr.el (match-string): Mention that the current buffer should
21562 be the same as the search was done in (bug#9282).
21564 * facemenu.el: Disable the remove-* commands if the mark isn't
21567 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21569 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21571 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21573 * replace.el (occur-mode-goto-occurrence)
21574 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21575 and display-buffer.
21577 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21580 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21581 special-display and same-window variables.
21582 (mail-other-window): Use switch-to-buffer-other-window.
21583 (mail-other-frame): USe switch-to-buffer-other-frame.
21585 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21586 Use display-buffer-other-frame.
21587 (gdb-display-gdb-buffer): Use pop-to-buffer.
21589 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21591 * progmodes/python.el: Don't set same-window-buffer-names.
21593 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21595 * window.el (display-buffer-alist): Add *Python*.
21597 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21599 * window.el (display-buffer-alist): Add entry for buffers
21600 previously handled same-window-*.
21601 (display-buffer-alist, display-buffer-default-action)
21602 (display-buffer-overriding-action): Mark as risky.
21603 (display-buffer-alist): Document action function changes.
21604 (display-buffer--same-window-action)
21605 (display-buffer--other-frame-action): New variables.
21606 (switch-to-buffer, display-buffer-other-frame): Use them.
21607 (display-buffer): Rename reuse-frame entry to reusable-frames.
21608 (display-buffer-reuse-selected-window): Function deleted.
21609 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21610 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21611 (display-buffer-special): New function.
21612 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21613 display-buffer-reuse-or-pop-window. Split off special-display
21614 part into display-buffer-special.
21615 (display-buffer-use-some-window): Don't perform any special
21616 pop-up-frames handling.
21617 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21618 (display-buffer--maybe-same-window): Rename from
21619 display-buffer-maybe-same-window.
21621 * info.el: Don't set same-window-regexps.
21622 (info-setup): New function.
21623 (info-other-window, info): Call it.
21625 * cus-edit.el: Don't set same-window-regexps.
21626 (customize-group): New argument.
21627 (customize-group-other-window): Use it.
21628 (customize-face, customize-face-other-window): Likewise.
21629 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21633 * progmodes/gud.el: Don't set same-window-regexps.
21638 * mail/sendmail.el:
21639 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21641 2011-09-10 Juri Linkov <juri@jurta.org>
21643 * isearch.el (isearch-edit-string): Remove obsolete mention of
21644 `C-w' (`isearch-yank-word-or-char') from docstring.
21645 (isearch-query-replace): Fix typo in docstring (bug#9466).
21647 2011-09-10 Juri Linkov <juri@jurta.org>
21649 * paren.el (show-paren-function): Don't show escaped parens.
21650 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21652 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21654 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21655 (mm-default-file-encoding): Remove autoload forms, they are
21656 replaced with autoload cookies in mml.el and mm-encode.el.
21657 (mail-add-attachment): New command.
21658 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21659 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21661 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21663 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21665 * simple.el (count-words-region): Use buffer if there's no region
21668 2011-09-09 Juri Linkov <juri@jurta.org>
21670 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21671 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21672 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21674 2011-09-09 Alan Mackenzie <acm@muc.de>
21676 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21677 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21679 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21681 Fix for Savannah bug#9392.
21682 * simple.el (mail-encode-mml): New defvar.
21684 * mail/rmail.el (mail-encode-mml): Add a defvar.
21685 (rmail-enable-mime-composing): Default to t.
21686 (rmail-forward): Use MIME method of forwarding only if both
21687 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21688 Set mail-encode-mml non-nil if the MIME method was used.
21690 * mail/sendmail.el (mml-to-mime): Add autoload form.
21691 (mail-encode-mml): Add a defvar.
21692 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21694 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21695 message through mml-to-mime, and reset mail-encode-mml to nil.
21697 2011-09-09 Glenn Morris <rgm@gnu.org>
21699 * woman.el (woman-if-body): When processing an .el block,
21700 do not delete the next .el block as well. (Bug#9447)
21701 (woman-special-characters): Add oq, cq, and hy characters.
21703 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21705 * window.el (window-deletable-p): Make sure window is live before
21706 invoking window-prev-buffers.
21708 2011-09-08 Leo Liu <sdl.web@gmail.com>
21710 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21712 2011-09-08 Juri Linkov <juri@jurta.org>
21714 * progmodes/compile.el (compilation-environment): Make it
21715 a defcustom (bug#8340).
21717 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21719 * window.el (frame-auto-delete): Rename to window-auto-delete.
21720 Make it control auto-deletion of windows and/or frames.
21721 (window-deletable-p): New argument FORCE. Rewrite conditions
21722 for deleting window/frame. (Bug#9419)
21723 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21724 Rewrite handling of case when window/frame can be deleted.
21725 (delete-windows-on): Call window-deletable-p with new FORCE
21726 argument t. (Bug#9456)
21728 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21730 * help-mode.el (help-mode): Restore autoload.
21732 2011-09-07 Juri Linkov <juri@jurta.org>
21734 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21735 `compilation-environment'. Set buffer-local
21736 `compilation-environment' to `thisenv' later after (funcall mode).
21739 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21740 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21741 instead of replacing its value. (Bug#8340)
21743 2011-09-07 Juri Linkov <juri@jurta.org>
21745 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21746 based on text properties put by `grep-filter' instead of matching
21748 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21749 to the value of `grep-error-screen-columns' (bug#9438).
21751 2011-09-07 Juri Linkov <juri@jurta.org>
21753 * simple.el (next-error-highlight, next-error-highlight-no-select):
21754 Doc fix (bug#9432).
21756 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21758 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21759 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21761 2011-09-07 Leo Liu <sdl.web@gmail.com>
21763 * net/rcirc.el (rcirc-mode): Conditionally initialize
21766 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21768 * emacs-lisp/find-func.el (find-function-C-source): Only set
21769 find-function-C-source-directory after checking that we found a source
21770 file there (bug#9440).
21772 2011-09-06 Alan Mackenzie <acm@muc.de>
21774 * isearch.el (isearch-other-meta-char): Wherever a key list is
21775 unread, "unread" the prefix arg, too. This fixes bug #8901.
21777 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21779 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21781 2011-09-05 Juri Linkov <juri@jurta.org>
21783 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21785 2011-09-05 Juri Linkov <juri@jurta.org>
21787 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21788 keeping point where processing of grep matches begins, and
21789 continue to delete remaining escape sequences from the same point.
21790 (grep-filter): Make leading zero optional in "0?1;31m" because
21791 git-grep emits "\033[1;31m" escape sequences unlike expected
21792 "\033[01;31m" as GNU Grep does (bug#9408).
21793 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21795 2011-09-05 Juri Linkov <juri@jurta.org>
21797 * subr.el (y-or-n-p): Capitalize "yes".
21799 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21801 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21802 `tramp-cache-unload-hook' where appropriate.
21803 (tramp-methods): Rename `tramp-remote-sh' to
21804 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21805 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21807 * net/tramp-sh.el (top): Don't require 'shell.
21808 (tramp-methods): Add `tramp-remote-shell' and
21809 `tramp-remote-shell-args' entries.
21810 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21811 (tramp-sh-handle-shell-command): Remove.
21812 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21813 Use `tramp-remote-shell'.
21815 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21817 * mail/sendmail.el (sendmail-query-once-function): Delete.
21818 (sendmail-query-once): Save directly to send-mail-function.
21819 Update message-send-mail-function too.
21821 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21823 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21825 * progmodes/python.el (python-mode-map): Use correct function to
21826 start python interpreter from menu-bar (as reported by Geert
21828 (inferior-python-mode-map): Fix typo.
21829 (python-shell-map): Remove.
21831 2011-09-03 Deniz Dogan <deniz@dogan.se>
21833 * net/rcirc.el (rcirc-print): Simplify code for
21834 rcirc-scroll-show-maximum-output. There is no need to walk
21835 through all windows to find the right one.
21837 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21839 * help.el (help-return-method): Doc fix.
21841 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21843 * window.el (window-deletable-p): Don't return a non-nil value
21844 when there's a buffer that was shown in the window before.
21846 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21847 Set window's previous buffers to nil.
21849 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21851 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21852 newline before and after the tag line, so it doesn't interfere
21853 with determining the paragraph direction of bidirectional text.
21855 2011-09-03 Leo Liu <sdl.web@gmail.com>
21857 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21859 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21861 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21862 (pop-to-buffer): Change interactive spec. Pass second argument
21863 directly to display-buffer.
21864 (display-buffer): Fix interactive spec. Use functionp to
21865 distinguish between a function and a list of functions.
21867 * abbrev.el (edit-abbrevs):
21868 * arc-mode.el (archive-extract):
21869 * autoinsert.el (auto-insert):
21870 * bookmark.el (bookmark-bmenu-list):
21871 * files.el (find-file):
21872 * view.el (view-buffer):
21873 * progmodes/compile.el (compilation-goto-locus):
21874 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21876 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21878 * window.el (display-buffer-alist): Doc fix.
21879 (display-buffer): Add docstring. Don't treat
21880 display-buffer-default specially.
21881 (display-buffer-reuse-selected-window)
21882 (display-buffer-same-window, display-buffer-maybe-same-window)
21883 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21884 (display-buffer-pop-up-window)
21885 (display-buffer-reuse-or-pop-window)
21886 (display-buffer-use-some-window): New functions.
21887 (display-buffer-default-action): Use them.
21888 (display-buffer-default): Delete.
21889 (pop-to-buffer-1): Fix choice of actions.
21891 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21893 * minibuffer.el (completion--insert-strings): Don't get confused by
21894 completion entries that end with an LF char.
21896 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21898 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21900 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21902 * window.el (display-buffer): Restore interactive spec.
21903 (display-buffer-same-window, display-buffer-other-window):
21905 (pop-to-buffer-1): New function. Use the above.
21906 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21907 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21909 * view.el (view-buffer-other-window, view-buffer-other-frame):
21910 Just use pop-to-buffer.
21912 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21914 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21916 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21918 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21920 2011-08-31 Richard Stallman <rms@gnu.org>
21922 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21923 of the separation of rmail-view-buffer from rmail-buffer.
21924 If you say no to "replace original", the decrypt is in the
21925 view buffer. If you say yes, the decrypt goes into the
21928 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21930 * window.el (display-buffer-window): Rewrite doc-string.
21931 (display-buffer-record-window): New function.
21932 (display-buffer-macro-specifiers)
21933 (display-buffer-even-window-sizes, display-buffer-set-height)
21934 (display-buffer-set-width, display-buffer-in-window)
21935 (display-buffer-reuse-window, display-buffer-split-specifiers)
21936 (display-buffer-side-specifiers, display-buffer-split-window-1)
21937 (display-buffer-split-window, display-buffer-split-atom-window)
21938 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21939 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21940 (display-buffer-other-window-means-other-frame)
21941 (display-buffer-normalize-special)
21942 (display-buffer-normalize-default)
21943 (display-buffer-normalize-argument)
21944 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21945 (display-buffer-normalize-specifiers, display-buffer-frame)
21946 (display-buffer-same-window, display-buffer-same-frame)
21947 (display-buffer-other-window)
21948 (display-buffer-same-frame-other-window)
21949 (display-buffer-other-frame, pop-to-buffer-same-window)
21950 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21951 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21952 (switch-to-buffer-same-frame)
21953 (switch-to-buffer-other-window-same-frame)
21954 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21955 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21956 (display-buffer-alist-set): Remove.
21957 (display-buffer-function, special-display-buffer-names)
21958 (special-display-regexps, special-display-function):
21959 In doc-string refer to display-buffer-window and quit-restore
21961 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21962 (special-display-frame-alist, special-display-popup-frame)
21963 (same-window-buffer-names, same-window-regexps, same-window-p)
21964 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21965 (split-window-preferred-function, split-height-threshold)
21966 (split-width-threshold, window-splittable-p)
21967 (split-window-sensibly, window--try-to-split-window)
21968 (window--frame-usable-p, even-window-heights)
21969 (window--even-window-heights, window--display-buffer-1)
21970 (window--display-buffer-2, display-buffer-other-frame):
21971 Restore old Emacs 23 code, order and doc-strings where applicable.
21972 (display-buffer-default, display-buffer-assq-regexp): New functions.
21973 (display-buffer-alist): Rewrite doc-string.
21974 (display-buffer-default-action)
21975 (display-buffer-overriding-action): New variables.
21976 (display-buffer, switch-to-buffer): Rewrite.
21977 (pop-to-buffer): Restore Emacs 23 behavior but use
21978 window-normalize-buffer-to-display.
21979 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21980 Restore Emacs 23 behavior but use
21981 window-normalize-buffer-to-switch-to.
21982 (pop-to-buffer-same-window): Rewrite.
21983 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21984 Rewrite using Emacs 23 options.
21986 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21988 * net/tramp.el (tramp-root-regexp): Remove.
21989 (tramp-completion-file-name-regexp-unified)
21990 (tramp-completion-file-name-regexp-separate)
21991 (tramp-completion-file-name-regexp-url): Don't use leading volume
21992 letter on w32 systems. (Bug#5303, Bug#9311)
21993 (tramp-drop-volume-letter): Simplify definition.
21994 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21996 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21998 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22001 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22003 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22005 2011-08-29 Juri Linkov <juri@jurta.org>
22007 * isearch.el (isearch-done): Don't display message "Mark saved"
22008 when arg `edit' is non-nil to prevent its flicker in the echo area.
22010 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22012 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22013 obsolete packages for deletion.
22015 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22017 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22018 (help-mode): Derive help-mode from special-mode. Don't invoke
22019 view-mode from help-mode.
22020 (help-xref-override-view-map): Remove.
22021 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22022 view-mode is not used anymore.
22024 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22026 * server.el (server-port): Doc fix.
22028 * cus-theme.el (custom-theme-choose-mode): Inherit from
22029 special-mode (Bug#9124).
22030 (custom-theme-choose-mode-map): Add special-mode to parent.
22032 2011-08-28 Alan Mackenzie <acm@muc.de>
22034 * progmodes/cc-fonts.el
22035 (c-make-font-lock-BO-decl-search-function): New function.
22036 (c-basic-matchers-after - "Fontify the clauses after various
22037 keywords"): Extract the three keyword lists for the 3 erroneous
22038 constructs from the list of four, and use the new function above
22039 in place of an old one.
22041 2011-08-28 Deniz Dogan <deniz@dogan.se>
22043 * net/rcirc.el (rcirc-insert-prev-input)
22044 (rcirc-insert-next-input): Remove unused argument.
22046 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22048 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22050 2011-08-27 Alan Mackenzie <acm@muc.de>
22052 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22053 handle function pointer parameters properly.
22055 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22057 * window.el (display-buffer-reuse-window): Fix case where
22058 selected window was reused with non-nil OTHER-WINDOW argument.
22061 2011-08-27 Deniz Dogan <deniz@dogan.se>
22063 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22064 oftc's NickServ messages.
22066 2011-08-27 Glenn Morris <rgm@gnu.org>
22068 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22070 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22072 * emacs-lisp/package.el (package-install): Call package-initialize
22073 if called interactively.
22075 2011-08-26 Leo Liu <sdl.web@gmail.com>
22077 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22079 2011-08-25 Juri Linkov <juri@jurta.org>
22081 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22082 `search-whitespace-regexp' (bug#9364).
22084 2011-08-25 Juri Linkov <juri@jurta.org>
22086 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22087 `regexp-search-ring' to their global values to protect from
22088 updating by `read-from-minibuffer' (bug#9185).
22090 2011-08-25 Juri Linkov <juri@jurta.org>
22092 * textmodes/ispell.el (ispell-command-loop): Add newline
22093 at the end of the "Use option `i'..." line.
22095 2011-08-25 Juri Linkov <juri@jurta.org>
22097 * battery.el (display-battery-mode): If `battery-status-function'
22098 or `battery-mode-line-format' is nil, display the message and set
22099 `display-battery-mode' to nil (bug#9363).
22101 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22103 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22104 bidi-string-mark-left-to-right; they are unnecessary now.
22106 2011-08-25 Deniz Dogan <deniz@dogan.se>
22108 * net/quickurl.el: Documentation typo fixes.
22110 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22112 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22114 2011-08-25 Glenn Morris <rgm@gnu.org>
22116 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22118 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22119 (smtpmail-via-smtp): Handle nil response from smtp.
22121 2011-08-24 Juri Linkov <juri@jurta.org>
22123 * proced.el (proced-marked): Inherit from `error' instead of
22124 `font-lock-warning-face'.
22126 * ibuffer.el (ibuffer-marked-face): Change default face from
22127 `font-lock-warning-face' to `warning'.
22128 (ibuffer-deletion-face): Change default face from
22129 `font-lock-type-face' to `error'.
22131 * battery.el (battery-update): Use the face `error' instead of
22132 `font-lock-warning-face' (bug#6117).
22134 2011-08-24 Juri Linkov <juri@jurta.org>
22136 * faces.el (success): Change face color from "Green3" to
22137 "ForestGreen" on light background (bug#9353).
22139 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22141 * window.el (quit-window): Rename from quit-restore-window.
22142 Use same arglist as old quit-window.
22143 (frame-auto-delete): Doc fix.
22145 * view.el (view-mode-exit): Use quit-window.
22147 2011-08-24 Juri Linkov <juri@jurta.org>
22149 * isearch.el (isearch-ring-adjust1): Start visiting previous
22150 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22151 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22152 for empty search string (when the last search string is reused
22153 automatically) to adjust the isearch ring to the last element and
22154 prepare the correct index for further M-p commands (bug#9185).
22156 2011-08-24 Kenichi Handa <handa@m17n.org>
22158 * international/ucs-normalize.el: If decomposition property of
22159 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22161 (nfd, nfkd): Likewise.
22163 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22165 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22166 from process filters aren't reliably transmitted to the surrounding
22167 accept-process-output.
22168 (mpc-proc-check): New function.
22169 (mpc-proc-sync): Use it (bug#8293)
22171 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22173 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22174 Add compatibility functions (bug#9313).
22176 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22178 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22180 * international/uni-bidi.el: Regenerate.
22182 2011-08-23 Kenichi Handa <handa@m17n.org>
22184 * international/charprop.el:
22185 * international/uni-bidi.el:
22186 * international/uni-category.el:
22187 * international/uni-combining.el:
22188 * international/uni-comment.el:
22189 * international/uni-decimal.el:
22190 * international/uni-decomposition.el:
22191 * international/uni-digit.el:
22192 * international/uni-lowercase.el:
22193 * international/uni-mirrored.el:
22194 * international/uni-name.el:
22195 * international/uni-numeric.el:
22196 * international/uni-old-name.el:
22197 * international/uni-titlecase.el:
22198 * international/uni-uppercase.el: Regenerate.
22200 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22202 * help.el (help-window-setup): Fix message displayed when other
22203 window is reused. (Bug#9341)
22205 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22207 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22208 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22210 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22212 * shell.el (shell-parse-pcomplete-arguments): New function.
22213 (shell-completion-vars): Use it instead (bug#9160).
22215 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22217 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22218 strings and comments (bug#9333).
22220 * emacs-lisp/debug.el (debug-arglist): New function.
22221 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22222 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22224 2011-08-22 Juri Linkov <juri@jurta.org>
22226 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22227 Revert regexp that highlights output switches to its old
22228 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22230 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22231 to check for empty output (bug#9226).
22233 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22235 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22236 symbol-constituent as the default, as that stops font-lock from
22237 working properly (Bug#8843).
22239 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22241 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22242 `coding-system-for-*' around the process open call to avoid
22243 auth-source side effects.
22244 (smtpmail-try-auth-methods): Expand the secret password.
22245 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22248 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22250 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22252 * emacs-lisp/find-func.el (find-function-noselect): New arg
22255 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22256 signal an error for built-in functions (Bug#6664).
22258 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22260 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22261 (smtpmail-try-auth-methods): Use it.
22263 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22265 * font-lock.el (font-lock-fontify-region)
22266 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22267 (font-lock-default-unfontify-buffer)
22268 (font-lock-default-fontify-region)
22269 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22271 * progmodes/compile.el (compilation-error-properties):
22272 Fix confusion between file struct and message struct (Bug#9319).
22273 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22276 * net/browse-url.el (browse-url-firefox): Don't call
22277 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22279 2011-08-20 Glenn Morris <rgm@gnu.org>
22281 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22283 * tutorial.el (tutorial--default-keys): Update some default bindings.
22285 * files.el (hack-local-variables): Fully ignore case for "mode:".
22287 2011-08-20 Alan Mackenzie <acm@muc.de>
22289 Resolve invalid use of a regexp in regexp-opt.
22291 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22292 detection for a java annotation.
22294 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22295 detection for a java annotation.
22297 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22299 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22301 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22303 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22306 2011-08-20 Alan Mackenzie <acm@muc.de>
22308 Fontify CPP expressions correctly when starting in the middle of
22309 such a construct. Mainly for when jit-lock etc. starts a chunk
22312 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22314 (c-make-font-lock-search-form): New function, extracted from
22315 c-make-font-lock-search-function.
22316 (c-make-font-lock-search-function): Use the above function.
22317 (c-make-font-lock-context-search-function): New function.
22318 (c-cpp-matchers): Enhance the preprocessor expression case with
22320 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22321 which takes an expression.
22323 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22325 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22327 * window.el (display-buffer-reuse-window)
22328 (display-buffer-pop-up-window): Don't reuse or split a side
22331 2011-08-19 Glenn Morris <rgm@gnu.org>
22333 * files.el (hack-local-variables-prop-line, hack-local-variables):
22334 Downcase "Mode:". (Bug#9331)
22336 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22338 * international/characters.el: Add L and R categories.
22340 * subr.el (bidi-string-mark-left-to-right): Rename from
22341 string-mark-left-to-right. Use category search.
22343 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22345 2011-08-18 Juri Linkov <juri@jurta.org>
22347 * faces.el (error, warning, success): New faces with definitions
22348 copied from old default values of `font-lock-warning-face',
22349 `compilation-warning', `compilation-info' (bug#6117).
22351 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22353 * progmodes/compile.el (compilation-error): Inherit from `error'.
22354 (compilation-warning): Inherit from `warning'.
22355 (compilation-info): Inherit from `success'.
22357 * dired.el (dired-marked): Inherit from `warning'.
22358 (dired-flagged): Inherit from `error'.
22360 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22362 * mail/smtpmail.el (auth-source): Require to avoid problems with
22363 binding variables (bug#9298). Also clean up some unused
22366 * net/network-stream.el (network-stream-open-starttls):
22367 Support using starttls.el without using gnutls-cli.
22369 2011-08-17 Juri Linkov <juri@jurta.org>
22371 * progmodes/grep.el (rgrep): Handle the case when
22372 `grep-find-command' is a cons cell (bug#9278).
22374 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22376 * window.el (display-buffer-pop-up-frame): Run frame creation
22377 function with BUFFER current (as special-display-popup-frame
22378 does). Reported by Drew Adams.
22380 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22382 * epa-mail.el: Simplify GnuPG group expansion using
22384 (epa-mail-group-alist, epa-mail-group-modtime)
22385 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22386 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22387 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22390 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22392 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22394 2011-08-16 Alan Mackenzie <acm@muc.de>
22396 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22397 Correct, to avoid the inside of macros.
22399 2011-08-16 Richard Stallman <rms@gnu.org>
22401 * epa-mail.el: Handle GnuPG group definitions.
22402 (epa-mail-group-alist, epa-mail-group-modtime)
22403 (epa-mail-gnupg-conf-file): New variables.
22404 (epa-mail-parse-groups, epa-mail-sync-groups)
22405 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22406 (epa-mail-expand-recipients): New functions.
22407 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22409 * mail/rmail.el (rmail-epa-decrypt): New command.
22411 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22412 Don't bind buffer-read-only, just inhibit-read-only.
22413 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22414 (epa-decrypt-armor-in-region): Make error message clearer.
22416 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22418 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22419 and "a2b" to "ab" for `prefix'.
22421 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22423 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22425 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22426 Fourquet (Bug#8804).
22428 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22430 * startup.el (argi): Declare as global variable (bug#9275).
22432 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22434 * subr.el (string-mark-left-to-right): Search the entire string
22435 for RTL script, not just the terminating character. Doc fix.
22437 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22439 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22441 (js--regexp-literal, js-syntax-propertize-function): Remove.
22442 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22443 (js-mode-map): Don't rebind electric keys.
22444 (js-insert-and-indent): Remove.
22445 (js-mode): Setup electric-layout and electric-indent instead.
22447 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22449 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22451 * epa.el (epa-progress-callback-function): Fix the logic of
22452 displaying progress.
22453 * epa-file.el (epa-file-insert-file-contents): Make progress
22454 display more user-friendly.
22455 (epa-file-write-region): Ditto.
22457 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22459 * subr.el (string-mark-left-to-right): New function.
22461 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22462 Use string-mark-left-to-right.
22463 (list-buffers-noselect): Caller changed.
22465 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22466 Use string-mark-left-to-right.
22467 (tabulated-list-print): Recenter after moving point.
22469 2011-08-10 Juri Linkov <juri@jurta.org>
22471 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22472 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22473 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22475 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22477 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22480 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22482 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22483 character. (Bug#6594)
22485 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22487 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22488 (image-dired--with-db-file): New macro.
22489 (image-dired-write-tags, image-dired-remove-tag)
22490 (image-dired-create-gallery-lists, image-dired-write-comments)
22491 (image-dired-get-comment, image-dired-mark-tagged-files)
22492 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22493 (image-dired-gallery-generate): Use insert-file-contents.
22495 * time.el (display-time-world-list, display-time-world-display):
22496 * time-stamp.el (time-stamp-string):
22497 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22498 set-time-zone-rule (Bug#7337).
22500 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22502 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22503 (epg-error-to-string, epg-errors-to-string): New function.
22504 (epg-wait-for-completion): Reverse errors list.
22505 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22506 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22507 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22508 (epg-sign-keys, epg-generate-key-from-file)
22509 (epg-generate-key-from-string): Format errors by using
22510 epg-errors-to-string (bug#9255).
22511 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22513 2011-08-07 Juri Linkov <juri@jurta.org>
22515 * faces.el (list-faces-display): Remove extra angle bracket
22516 from `help-mode-map'.
22518 * info.el (Info-history-toc-nodes): Doc fix.
22520 * longlines.el (longlines-mode): Doc fix.
22522 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22524 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22525 of statements and in a few more cases (bug#9183).
22527 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22529 (cl-transform-lambda): Use them (bug#9239).
22531 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22533 * window.el (display-buffer-same-window)
22534 (display-buffer-same-frame, display-buffer-other-window)
22535 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22536 (pop-to-buffer-other-window)
22537 (pop-to-buffer-same-frame-other-window)
22538 (pop-to-buffer-other-frame): Make them defuns.
22539 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22541 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22543 * subr.el (make-composed-keymap): Move from C. Change calling
22544 convention, and improve docstring to bring attention to a subtle point.
22545 * minibuffer.el (completing-read-default): Adjust accordingly.
22547 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22549 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22550 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22552 * net/trampver.el: Update release number.
22554 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22556 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22559 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22561 * mail/sendmail.el (sendmail-query-once): Restore the current
22562 buffer after querying (bug#9074).
22564 * dired.el (dired-flagged): Use different faces for marked and
22565 flagged files (bug#6117).
22567 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22570 * ido.el (ido-mode): Switch off the message if called
22573 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22574 before 587, since it appears that that's more likely to work for
22577 * cus-edit.el (custom-file): When running under emacs -q, always
22578 refuse to save the customizations, even if the .emacs file doesn't
22581 * info.el: Remove the `Info-beginning-of-buffer' function
22584 * net/network-stream.el (network-stream-open-starttls):
22585 Use `starttls-available-p' to see whether starttls.el can be used.
22587 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22589 * window.el (display-buffer-in-window): Don't set dedicated status
22590 of window here (Bug#9215).
22591 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22592 (display-buffer-pop-up-side-window)
22593 (display-buffer-in-side-window): Set dedicated status of window here.
22595 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22597 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22598 before binding generated-autoload-file.
22600 2011-08-01 Deniz Dogan <deniz@dogan.se>
22602 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22604 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22606 Sync with Tramp 2.2.2.
22608 * net/trampver.el: Update release number.
22610 2011-07-30 Juri Linkov <juri@jurta.org>
22612 * dired-aux.el (dired-touch-initial): Remove function.
22613 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22614 current time, and `default' to the last modification time of the
22615 current marked file (bug#6887).
22617 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22619 * simple.el (goto-line): Use string-to-number to provide a
22620 numeric argument to read-number (bug#9163).
22622 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22624 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22625 connection process, it could be nil.
22627 2011-07-27 Leo Liu <sdl.web@gmail.com>
22629 Simplify url handling in rcirc-mode.
22631 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22632 (rcirc-browse-url-at-mouse): Remove.
22633 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22635 2011-07-26 Alan Mackenzie <acm@muc.de>
22637 Fontify bitfield declarations properly.
22639 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22640 (c-symbol-chars): Now exported as a lang variable.
22641 (c-not-primitive-type-keywords): New lang variable.
22643 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22644 QT keyword "more" to prevent "more slots: ...." being spuriously
22645 parsed as a bitfield declaration.
22647 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22648 Refactor and enhance to handle bitfield declarations.
22649 (c-punctuation-in): New function.
22650 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22651 declarations properly.
22653 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22655 * calendar/icalendar.el (icalendar--all-events): Take care of
22656 multiple vcalendars in a single file.
22657 (icalendar--convert-float-to-ical): Checkdoc fixes.
22659 2011-07-25 Deniz Dogan <deniz@dogan.se>
22661 * image.el (insert-image): Clarifying docstring.
22663 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22665 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22666 `tramp-send-command-and-check' if there is no error.
22667 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22669 2011-07-22 Alan Mackenzie <acm@muc.de>
22671 Prevent cc-langs.elc being loaded at run time.
22673 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22676 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22677 "(require 'cc-langs)". Quote a form so it will evaluate at
22678 (cc-mode's) compilation time.
22680 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22682 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22683 loading. (Bug#9114)
22685 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22687 * window.el (display-buffer-pop-up-window)
22688 (display-buffer-pop-up-side-window)
22689 (display-buffer-in-side-window): Call display-buffer-set-height
22690 and display-buffer-set-width after setting the new window's
22691 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22693 2011-07-20 Sam Steingold <sds@gnu.org>
22695 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22696 (etags-tags-included-tables): Call `convert-standard-filename' on
22697 the file names contained in TAGS so that windows Emacs can handle
22698 TAGS files created by cygwin ctags.
22700 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22702 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22703 which apparently didn't work.
22705 2011-07-19 Roland Winkler <winkler@gnu.org>
22707 * proced.el (proced-send-signal): For *Marked Processes* buffer
22708 put point at beginning of buffer.
22710 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22712 * proced.el (proced-format): Make header lines align with the text
22715 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22717 * view.el (view-buffer): Allow running in `special' modes if we're
22718 visiting a file (bug#8615).
22720 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22722 * window.el (display-buffer-alist-of-strings-p)
22723 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22725 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22728 2011-07-18 Alan Mackenzie <acm@muc.de>
22730 Fontify declarators properly when, e.g., a jit-lock chunk begins
22731 inside a declaration.
22733 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22735 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22737 (c-complex-decl-matchers): Insert reference to
22738 c-font-lock-enclosing-decls.
22740 * progmodes/cc-engine.el (c-backward-single-comment):
22741 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22742 to nil around calls to (forward-comment -1).
22744 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22746 * image.el (put-image): Doc typo fix.
22748 * progmodes/etags.el (tags-search): Doc typo fix.
22750 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22751 password if we get errors 550 to 554.
22753 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22755 * net/gnutls.el (gnutls-log-level): Remove.
22757 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22758 indentation character (bug#6380).
22760 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22762 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22763 to clarify what the problem is (bug#4291).
22765 * simple.el (current-kill): Clarify what
22766 `interprogram-paste-function' does (bug#7500).
22767 (auto-fill-mode): Document `auto-fill-function' in relation to
22768 `auto-fill-mode' (bug#2470).
22770 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22772 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22773 method if slot is read-only (bug#9035).
22775 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22777 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22778 * window.el (pop-to-buffer): Select window used even if it was
22779 selected before, see discussion of (Bug#8615), (Bug#6954).
22780 Pass argument NORECORD on to select-frame-set-input-focus.
22782 2011-07-15 Glenn Morris <rgm@gnu.org>
22784 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22787 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22789 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22790 (gnutls-negotiate): Use it.
22792 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22794 * net/gnutls.el (gnutls-negotiate):
22795 Upcase `gnutls-algorithm-priority'.
22797 2011-07-15 Glenn Morris <rgm@gnu.org>
22799 * jka-compr.el (jka-compr-verbose): Move from here...
22800 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22801 Add missing :version tag.
22802 * info.el: No need to require jka-compr when compiling.
22804 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22806 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22807 (gnutls-negotiate): Use it.
22809 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22811 * info.el (Info-beginning-of-buffer): New command.
22812 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22813 announcing `b' as the key (bug#8325).
22814 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22816 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22818 * international/mule-cmds.el
22819 (describe-specified-language-support): Make the error message
22820 clearer (bug#8905).
22822 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22824 * isearch.el (isearch-barrier): Add a doc string, since it's
22825 mentioned in a function doc string (bug#8678).
22827 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22829 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22830 buffer argument (Bug#9083) and self-identifying label argument.
22832 2011-07-15 Glenn Morris <rgm@gnu.org>
22834 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22836 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22838 * man.el (Man-fontify-manpage): Fix message when formatting the
22839 man page (bug#7929).
22841 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22843 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22844 argument LRM; if non-nil, append an invisible LRM character to the
22846 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22847 last argument non-nil, when formatting buffer names.
22848 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22849 paragraph direction.
22851 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22853 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22854 the man page name (bug#7929).
22856 * image.el (put-image): Mention the `put-image' overlay property
22859 * scroll-bar.el (set-scroll-bar-mode): Mention that
22860 `scroll-bar-mode' lists the values (bug#7772).
22862 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22863 command (bug#7729).
22865 * rect.el (apply-on-rectangle): Return the point after the last
22867 (string-rectangle): Go to the point after the last operation
22870 * printing.el (pr-toggle-region): Clarify the documentation
22871 slightly (bug#7493).
22873 * time.el (display-time-update):
22874 Allow `display-time-mail-function' to return nil (bug#7158).
22875 Fix suggested by Detlev Zundel.
22877 * vc/diff.el (diff): Clarify the order the file names are read
22880 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22881 the doc string (bug#7015).
22883 * font-lock.el (font-lock-maximum-decoration): Mention what
22884 numeric levels mean (bug#6935).
22886 * startup.el (initial-buffer-choice): Don't mention the `none'
22887 selection, which is against policy.
22889 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22891 * window.el (display-buffer-normalize-special):
22892 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22894 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22896 * subr.el (version<, version<=, version=): Mention "-CVS" and
22897 "-12345" alpha version numbers.
22899 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22901 * bindings.el: Add advertised binding for set-mark-command
22904 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22906 * bindings.el (mode-line-other-buffer):
22907 * bookmark.el (bookmark-bmenu-2-window):
22908 * bs.el (bs-cycle-next, bs-cycle-previous):
22909 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22912 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22915 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22917 * follow.el (follow-debug-message, follow-redisplay):
22918 * jka-cmpr-hook.el (with-auto-compression-mode):
22919 Fix typos in docstrings.
22921 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22923 * subr.el (with-silent-modifications): Clarify somewhat what the
22924 macro inhibits (bug#6525).
22926 * simple.el (eval-expression): Note what it does if called
22927 interactively (bug#6495).
22929 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22931 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22932 Use pop-to-buffer buffer-or-name if it is nil.
22934 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22935 Remove switch-to-buffer.
22937 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22939 * files.el (make-directory): Clarify that an error will be raised
22940 if there's an error (bug#6397).
22942 * startup.el (initial-buffer-choice): Add `none' as a choice
22945 * subr.el (add-hook): Clarify section about buffer-local hooks
22948 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22950 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22952 * tabify.el (untabify): Preserve the current column so that point
22953 doesn't move (bug#6032).
22955 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22957 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22958 Rewrite to avoid awkward possessive "s" (bug#5986).
22960 2011-07-13 Glenn Morris <rgm@gnu.org>
22962 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22963 (dired-insert-directory): Give a message the first time
22964 if ls is found not to support --dired.
22966 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22968 * simple.el (toggle-truncate-lines): Clarify what is toggled
22969 (bug#5580). Text by Drew Adams.
22971 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22973 * simple.el (blink-matching-open): Make the error message from the
22974 last change less verbose.
22976 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22978 * font-lock.el (font-lock-comment-face): Use the high contrast
22979 "yellow" color for font-lock-comment-face on low color terminals
22980 using a dark background color (bug#4221).
22982 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22984 * dired.el (dired-insert-set-properties): Make the doc string
22985 reflect what it does now (bug#5325).
22987 * simple.el (blink-matching-open): Say that we were unable to find
22988 the match within the limit, if we're limited (bug#5122).
22990 * international/mule-cmds.el (prefer-coding-system): Add an
22991 example (bug#4869).
22993 * progmodes/etags.el (tags-search): Document `file-list-form'
22996 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22998 * net/browse-url.el (browse-url-default-browser)
22999 (browse-url-browser-function): Make the default browser choice a
23000 bit more logical (bug#4300). Also clean up the doc string.
23002 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23004 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23005 binary endings (bug#4440).
23007 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23009 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23010 which can be pretty annoying (bug#8971).
23012 * jka-compr.el (jka-compr-verbose): New variable, and use
23013 throughout (bug#8971).
23015 * info.el (Info-find-file): Fall back on the installation
23016 directory if we can't find the info node anywhere else.
23018 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23020 * vc/vc.el (vc-revert-file):
23021 Don't set file time-stamp in the past. (Bug#5181)
23023 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23025 * files.el (after-find-file): Give a better error message when
23026 trying to find a symlink that points to a file that doesn't exist
23029 * progmodes/cc-vars.el: Remove (probably) misleading comment
23032 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23034 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23036 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23038 * mouse-sel.el: Hack restoring functionality, while keeping
23039 compatibility with 2010-07-03 changes to mouse selection.
23040 (mouse-sel-primary-overlay): New var.
23041 (mouse-sel-selection-alist): Use it.
23042 (mouse-sel-mode): Doc fix; remove points that are default features
23045 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23047 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23048 Fix previous fix (bug#2490).
23050 2011-07-12 Roland Winkler <winkler@gnu.org>
23052 * textmodes/bibtex.el (bibtex-initialize):
23053 Use pop-to-buffer-same-window.
23054 (bibtex-search-entries): Fix interactive call.
23056 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23059 Fontise bytecomp Error lines more correctly (bug#2490).
23060 Fix suggested by Johan Bockgård.
23062 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23064 * dired-x.el (dired-guess-default): Use `delete-dups'.
23066 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23068 * dired.el (dired-mark-prompt):
23069 * dired-aux.el (dired-read-shell-command): Doc fix.
23071 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23073 * mail/sendmail.el (sendmail-query-once):
23074 Use `customize-save-variable' unconditionally, now that it works under
23077 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23079 * cus-edit.el (custom-file): Take an optional no-error variable.
23080 (customize-save-variable): Set the variable, and give a warning if
23081 running under "emacs -q".
23083 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23085 * loadhist.el (unload-feature-special-hooks):
23086 Add `auto-coding-functions', `fill-nobreak-predicate' and
23087 `find-directory-functions' (bug#5327).
23089 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23091 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23093 * cus-edit.el (custom-guess-name-alist): -alist variables should
23094 use the `alist' type (bug#3120). Suggested by Drew Adams.
23096 * printing.el: Add documentation to all the `pr-toggle-' commands.
23098 2011-07-11 Leo Liu <sdl.web@gmail.com>
23100 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23101 backends where it makes sense (bug#2623).
23103 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23105 * dired-x.el (dired-guess-default): Remove duplicate shell command
23106 entries (bug#2028).
23107 (dired-guess-default): Fix grammar in doc string (bug#2028).
23108 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23110 * subr.el (remove-duplicates): New conveniency function.
23112 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23114 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23117 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23119 * window.el (display-buffer-normalize-default): Don't invert
23120 meaning of even-window-heights. Reported by Eli Zaretskii
23123 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23125 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23127 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23129 * window.el (display-buffer): Fix arguments to
23130 display-buffer-reuse-window in last change.
23132 * faces.el (link): Use a less saturated blue on light backgrounds.
23134 * startup.el (fancy-startup-text, fancy-about-text)
23135 (fancy-startup-tail): Use font-lock faces, for background safety.
23137 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23139 * emulation/viper-cmd.el (viper-change-state-to-vi):
23140 Limit triggering of abbrev expansion (Bug#9038).
23142 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23144 * window.el (display-buffer-default-specifiers): Remove.
23145 (display-buffer-macro-specifiers): Remove default specifiers.
23146 (display-buffer-alist): Default to nil.
23147 (display-buffer-reuse-window): New optional argument other-window.
23148 (display-buffer-pop-up-window): Allow splitting internal
23149 windows. Check whether a live window was created.
23150 (display-buffer-other-window-means-other-frame)
23151 (display-buffer-normalize-arguments): Rename to
23152 display-buffer-normalize-argument and rewrite. Set the
23153 other-window specifier.
23154 (display-buffer-normalize-special): New function.
23155 (display-buffer-normalize-options): Rename to
23156 display-buffer-normalize-default and rewrite.
23157 (display-buffer-normalize-options-inhibit): Remove.
23158 (display-buffer-normalize-specifiers): Rewrite.
23159 (display-buffer): Process other-window specifier and call
23160 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23162 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23163 (display-buffer-alist-set): Don't handle 'unset default values.
23164 (display-buffer-in-window, display-buffer-alist-set):
23165 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23166 <tassilo@member.fsf.org>.
23168 2011-07-09 Leo Liu <sdl.web@gmail.com>
23170 * register.el (insert-register): Restore accidental change on
23171 2011-06-26. (Bug#9028)
23173 2011-07-09 Glenn Morris <rgm@gnu.org>
23175 * subr.el (remq): Handle the empty list. (Bug#9024)
23177 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23179 * mail/sendmail.el (send-mail-function): No longer delay custom
23181 * custom.el (custom-initialize-delay): Doc fix.
23183 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23185 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23187 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23189 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23190 human-friendly prompt.
23192 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23194 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23195 provided by a particular plugin.
23197 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23199 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23200 save customizations (with "emacs -Q"), just set the variable
23201 instead of erroring out.
23203 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23205 2011-07-08 Juri Linkov <juri@jurta.org>
23207 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23208 (archive-zip-update-case): Use 7z if found by `executable-find'.
23209 The order of searching the available programs is the same as in
23210 `archive-zip-extract' (bug#8968).
23212 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23214 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23215 (menu-bar-options-menu): Tweak descriptions.
23217 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23219 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23220 menu items into verb phrases (bug#1421). Also refill to fit under
23223 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23225 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23226 (Info-read-node-name): Doc fix (Bug#1084).
23228 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23229 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23230 (end-of-sexp, beginning-of-sexp)
23231 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23232 (forward-symbol, forward-same-syntax, word-at-point)
23233 (sentence-at-point): Doc fix (Bug#1144).
23235 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23237 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23238 should cover it (bug#1281).
23240 * cus-edit.el (custom-show): Mark as obsolete.
23242 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23243 negotiation fails, then possibly try again with a non-encrypted
23244 connection (bug#9017).
23246 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23249 2011-07-07 Richard Stallman <rms@gnu.org>
23251 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23252 property, and handle its changed format.
23253 Look for the correct line number.
23254 Use file's line contents (but not past first =) to find
23255 correct line in message.
23257 2011-07-07 Kenichi Handa <handa@m17n.org>
23259 * international/characters.el (build-unicode-category-table):
23261 (unicode-category-table): Set it by unicode-property-table-internal.
23263 * international/mule-cmds.el (char-code-property-alist): Move to
23265 (get-char-code-property): Call unicode-property-table-internal to
23266 load a file. Call get-unicode-property-internal where necessary.
23267 (put-char-code-property): Call unicode-property-table-internal to
23268 load a file. Call put-unicode-property-internal where necessary.
23269 put-unicode-property-internal where necessary.
23270 (char-code-property-description):
23271 Call unicode-property-table-internal to load a file.
23273 * international/charprop.el:
23274 * international/uni-bidi.el:
23275 * international/uni-category.el:
23276 * international/uni-combining.el:
23277 * international/uni-comment.el:
23278 * international/uni-decimal.el:
23279 * international/uni-decomposition.el:
23280 * international/uni-digit.el:
23281 * international/uni-lowercase.el:
23282 * international/uni-mirrored.el:
23283 * international/uni-name.el:
23284 * international/uni-numeric.el:
23285 * international/uni-old-name.el:
23286 * international/uni-titlecase.el:
23287 * international/uni-uppercase.el: Regenerate.
23289 * loadup.el: Load international/charprop.el before
23290 international/characters.
23292 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23294 * window.el (next-buffer, previous-buffer): Signal an error if
23295 called from a minibuffer window.
23297 * bindings.el: Revert 2011-07-04 change.
23299 2011-07-06 Richard Stallman <rms@gnu.org>
23301 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23302 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23303 Treat markers like ints.
23304 (rmail-mime-entity): Doc fix.
23306 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23308 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23309 defcustom again for backwards compatibility.
23311 * simple.el (shell-command-on-region): Fill.
23313 * dired-aux.el (dired-kill-line): Add a doc string.
23315 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23316 to "\\sw\\|\\s_" (bug#358).
23318 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23319 (dired-unmark-backward): Ditto.
23320 (dired-flag-backup-files): Ditto.
23322 * dired-x.el (dired-mark-sexp): Ditto.
23324 2011-07-06 Richard Stallman <rms@gnu.org>
23326 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23327 (rmail-mime-entity): New arg TRUNCATED.
23328 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23330 (rmail-mime-save): Warn if entity is truncated.
23331 (rmail-mime-toggle-hidden): Likewise, for showing.
23332 (rmail-mime-process-multipart): Record when an entity is truncated.
23334 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23335 if ENTITY is a string.
23337 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23339 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23340 of faces when `M-C-x'-ing their definitions (bug#8378).
23341 Also clean up the code slightly.
23343 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23344 because that makes the colors go away.
23346 * mail/sendmail.el (send-mail-function): Change the default to
23347 `sendmail-query-once'.
23348 (sendmail-query-once): Add an autoload cookie.
23350 * net/network-stream.el (network-stream-open-starttls): Try using
23351 a plain connection even if the server offered STARTTLS, and we
23352 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23353 capability. This should make smtpmail.el work in slightly more
23356 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23358 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23360 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23362 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23364 * progmodes/sql.el: Version 3.0
23365 (sql-product-alist): Add product :completion-object,
23366 :completion-column, and :statement attributes.
23367 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23368 (sql-mode-syntax-table): Mark all punctuation.
23369 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23371 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23372 (sql-mode-oracle-font-lock-keywords): Improve.
23373 (sql-oracle-show-reserved-words): New function for development.
23374 (sql-product-font-lock): Simplify for source code buffers.
23375 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23377 (sql-highlight-product): Set product specific syntax table.
23378 (sql-mode-map): Add statement movement functions.
23379 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23381 (sql-statement-regexp, sql-beginning-of-statement)
23382 (sql-end-of-statement, sql-signum): New functions.
23383 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23384 (sql-show-sqli-buffer): Bug fix.
23385 (sql-interactive-mode): Store connection data as buffer local.
23386 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23387 with sql-interactive-mode.
23388 (sql-save-connection): Save buffer local settings.
23389 (sql-connection-menu-filter): Change menu entry name.
23390 (sql-product-interactive): Bug fix.
23391 (sql-preoutput-hold): New variable.
23392 (sql-interactive-remove-continuation-prompt): Bug fixes.
23393 (sql-debug-redirect): New variable.
23394 (sql-str-literal): New function.
23395 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23397 (sql-oracle-save-settings, sql-oracle-restore-settings)
23398 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23399 (sql-completion-object, sql-completion-column)
23400 (sql-completion-sqlbuf): New variables.
23401 (sql-build-completions-1, sql-build-completions)
23402 (sql-try-completion): New functions.
23403 (sql-read-table-name): Use them.
23404 (sql-contains-names): New buffer local variable.
23405 (sql-list-all, sql-list-table): Use it.
23406 (sql-oracle-completion-types): New variable.
23407 (sql-oracle-completion-object, sql-sqlite-completion-object)
23408 (sql-postgres-completion-object): New functions.
23410 2011-07-06 Glenn Morris <rgm@gnu.org>
23412 * window.el (pop-to-buffer): Doc fix.
23414 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23416 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23418 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23420 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23422 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23424 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23426 * button.el (button): Inherit from link face. Suggested by Dan
23429 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23431 * progmodes/gdb-mi.el: Fit in 80 columns.
23432 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23435 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23436 if imenu is simply not configured (bug#8941).
23438 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23440 * allout.el (allout-post-undo-hook): New allout outline-change
23441 event hook to signal undo activity.
23442 (allout-post-command-business): Run allout-post-undo-hook if an
23443 undo just occurred.
23444 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23445 * allout-widgets.el (allout-widgets-after-undo-function):
23446 Ensure the integrity of the current item's decoration after it has been
23447 in the vicinity of an undo.
23448 (allout-widgets-mode): Include allout-widgets-after-undo-function
23449 on the new allout-post-undo-hook.
23451 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23453 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23454 Let define-derived-mode define it.
23455 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23456 cycles of abbrev-table inheritance (bug#8998).
23458 2011-07-05 Roland Winkler <winkler@gnu.org>
23460 * textmodes/bibtex.el: Add support for biblatex.
23461 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23462 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23463 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23464 (bibtex-entry-alist, bibtex-field-alist): New variables.
23465 (bibtex-entry-field-alist): Obsolete alias for
23466 bibtex-BibTeX-entry-alist.
23467 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23468 (bibtex-set-dialect): New command.
23469 (bibtex-entry-type, bibtex-entry-head)
23470 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23471 Bind via bibtex-set-dialect.
23472 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23473 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23474 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23475 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23476 Define via bibtex-set-dialect.
23477 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23478 Obey bibtex-no-opt-remove-re.
23479 (bibtex-vec-push, bibtex-vec-incr): New functions.
23480 (bibtex-format-entry, bibtex-field-list)
23481 (bibtex-print-help-message, bibtex-validate)
23482 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23484 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23486 * progmodes/compile.el (compilation-goto-locus):
23487 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23488 * bs.el (bs-cycle-next, bs-cycle-previous):
23489 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23490 * bindings.el (mode-line-other-buffer):
23491 * autoinsert.el (auto-insert):
23492 * arc-mode.el (archive-extract):
23493 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23495 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23497 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23498 Fix check of `emacs-lock-unlockable-modes'.
23499 Coerce true values of `emacs-lock--try-unlocking' to t.
23501 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23503 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23504 * emacs-lock.el: New file.
23506 2011-07-05 Julien Danjou <julien@danjou.info>
23508 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23509 than `boundp' to check if face is set.
23511 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23513 * register.el (registerv-make):
23514 * window.el (window-min-height): Fix typos in docstrings.
23516 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23518 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23521 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23523 * server.el (server-execute): Catch quit and call
23524 `server-return-error' to pass the error back to emacsclient and
23525 close the connection (bug#8942).
23527 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23529 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23530 insecure exception for current topic. Also note that auto-saves
23531 are handled differently.
23533 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23534 State variables for tracking auto-save inhibition situation.
23536 (allout-write-contents-hook-handler): Rename from
23537 'allout-write-file-hook-handler', and describe how it depends on
23538 write-contents-functions sensitivity to non-nil value to prevent
23541 (allout-auto-save-hook-handler): Remove. auto-save does not check
23542 this in individual buffers, only in the starting buffer, so this
23543 is not the right way for us to inhibit auto-save in a buffer
23544 according to its condition.
23546 (allout-mode): Use new allout-write-contents-hook-handler, and
23547 only with write-contents-functions. Remove auto-save provisions -
23548 they're implemented elsewhere.
23550 (allout-before-change-handler): If undo is in progress, note that
23551 for attention of allout-post-command-business.
23553 (allout-post-command-business): If the command we're following was
23554 an undo, check for change in the status of encrypted items and
23555 adjust auto-save inhibitions accordingly.
23557 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23558 according to whether there are or aren't any plain-text topics
23559 pending encryption.
23561 (allout-inhibit-auto-save-info-for-decryption):
23562 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23563 if there are plain-text topics pending encryption.
23565 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23566 buffer-saved-size and some allout state to not inhibit auto-saves
23567 if there are no longer any plain-text topics pending encryption.
23569 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23570 No longer provide for exemption of the current topic.
23572 2011-07-04 Juri Linkov <juri@jurta.org>
23574 Add 7z operations to delete and save changed members (bug#8968).
23575 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23577 (archive-7z-write-file-member): New function.
23578 (archive-7z-summarize): Fix the number of dashes in the
23581 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23583 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23586 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23588 * bindings.el: Ignore next-buffer and previous-buffer in
23589 minibuffer-local-map.
23591 * font-lock.el (font-lock-builtin-face): Change light background
23592 color to dark slate blue (Bug#6693).
23594 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23596 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23598 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23600 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23601 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23602 Add switch-to-buffer.
23604 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23606 * isearch.el (isearch-search-fun-function): Clarify further the
23607 meaning of the function returned.
23609 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23611 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23613 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23614 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23616 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23617 `tramp-default-remote-path' does not exist.
23618 (tramp-send-command-and-read): New optional argument NOERROR.
23619 (tramp-open-connection-setup-interactive-shell)
23620 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23621 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23622 (tramp-process-sentinel): Flush also process' connection property.
23623 (tramp-sh-handle-start-file-process): Do not set process
23624 sentinel. It is done now ...
23625 (tramp-maybe-open-connection): ... here. (Bug#8929)
23627 2011-07-04 MON KEY <monkey@sandpframing.com>
23629 * play/animate.el (animate-string): Doc fixes and allow changing
23630 the buffer name (bug#5417).
23632 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23634 * play/animate.el (animation-buffer-name): Rename from *animate*.
23636 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23638 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23639 This is simpler and helps future-proof the code.
23640 (timer-until): Use time-subtract and float-time.
23641 (timer--time-less-p): Use time-less-p.
23643 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23645 * type-break.el (timep): Use the value of `float-time' to avoid a
23646 byte-compiler warning.
23648 * server.el (server-eval-and-print): Return any result, even nil.
23650 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23652 * type-break.el: Accept time formats that the builtins accept.
23653 (timep, type-break-time-difference): Accept any format that
23654 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23655 This is simpler and helps future-proof the code.
23656 (type-break-time-difference): Round rather than ignoring
23657 subseconds components.
23659 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23661 * info.el (Info-apropos-matches): Make non-interactive, since it
23662 doesn't seem to do anything useful as a command (bug#8829).
23664 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23666 * frame.el (frame-background-mode, frame-set-background-mode):
23667 Move from faces.el.
23668 (frame-default-terminal-background): New function.
23670 * custom.el (custom-push-theme): Don't record faces in `changed'
23671 theme; this doesn't work correctly for per-frame face settings.
23672 (disable-theme): Use face-set-after-frame-default to reset faces.
23673 (custom--frame-color-default): New function.
23675 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23677 * dired.el (dired-flagging-regexp): Remove unused variable
23680 2011-03-29 Kevin Ryde <user42@zip.com.au>
23682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23683 `perl-Test2' extend to match possible "fail #N" rep count
23686 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23688 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23689 `smtpmail-via-smtp' now returns the error instead of nil.
23691 * isearch.el (isearch-search-fun-function): Clarify the doc string
23694 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23696 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23697 unnecessary spaces (bug#8987).
23699 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23701 * net/network-stream.el (open-network-stream): Use the
23702 :end-of-capability command thoughout.
23704 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23706 * net/network-stream.el (open-network-stream): Add the
23707 :end-of-capability command parameter, used by pop3.el.
23709 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23711 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23713 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23714 for list)" (bug#6475).
23716 * files.el (file-expand-wildcards): Ignore non-readable
23717 sub-directories while trying to find matches instead of signaling
23718 an error (bug#6297).
23720 * man.el (Man-reference-regexp): Allow matching possible
23721 word-wrapped references (bug#6289).
23723 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23724 for consistency with the other vc buffers (bug#6197).
23725 (vc-checkin): Ditto.
23727 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23729 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23731 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23733 * custom.el (defcustom): Clarify that :set is only used in the
23734 Customize user interface (bug#6089).
23736 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23737 associated with a file, refuse to run instead of erroring out
23740 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23741 the doc string, since it appears that using `fill-column' always
23742 controls the width (bug#7845).
23744 * simple.el (shell-command-on-region): Say where the error output
23745 went if `shell-command-default-error-buffer' is set (bug#6857).
23747 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23749 * allout.el (allout-yank-processing): Adjust cursor position for
23750 backwards-deleted space.
23752 (allout-rebullet-heading): Register changes with
23753 allout-exposure-changed-hook, so the modified topic is properly
23756 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23758 * minibuffer.el (completion-in-region): Document PREDICATE
23761 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23762 of keyword/argument pairs (bug#6904).
23764 * replace.el (multi-occur):
23765 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23767 2011-07-02 Drew Adams <drew.adams@oracle.com>
23769 * dired.el (dired-mark-if): Make the message about whether it's
23770 marking or unmarking clearer (bug#8523).
23772 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23774 * disp-table.el (display-table-print-array): New function.
23775 (describe-display-table): Use it to print the vectors more pretty
23778 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23780 * window.el (window-state-get-1): Don't assign clone numbers.
23781 Add clone-of item to list of window parameters.
23782 (window-state-put-2): Don't process clone numbers.
23783 (display-buffer-alist): Fix doc-string.
23785 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23787 * subr.el (remq): Don't allocate if it's not needed.
23788 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23789 (keymap--merge-bindings): New functions.
23790 (keymap-canonicalize): Use them to refine the canonicalization.
23791 * minibuffer.el (minibuffer-local-completion-map)
23792 (minibuffer-local-must-match-map): Move initialization from C.
23793 (minibuffer-local-filename-completion-map): Move initialization from C;
23794 don't inherit from anything here.
23795 (minibuffer-local-filename-must-match-map): Make obsolete.
23796 (completing-read-default): Use make-composed-keymap to combine
23797 minibuffer-local-filename-completion-map with either
23798 minibuffer-local-must-match-map or
23799 minibuffer-local-filename-completion-map.
23801 2011-07-01 Glenn Morris <rgm@gnu.org>
23803 * type-break.el (type-break-time-sum): Use dolist.
23805 * textmodes/flyspell.el (flyspell-word-search-backward):
23806 Replace CL function.
23808 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23810 * mouse.el (mouse--strip-first-event): New function.
23811 (function-key-map): Use it to map fringe clicks to normal clicks
23814 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23815 (vc-bzr-revision-completion-table): Add support for annotate and date.
23817 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23818 inherit from parent.
23820 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23822 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23823 (dired-show-file-type): Doc fixup (bug#8818).
23825 * dired.el (dired-mode): Fix up the doc string as suggested by
23826 Drew Adams (bug#8817).
23828 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23829 cookie, since the manual says that it should be possible to add
23830 this function to `find-file-hook' (bug#8709).
23832 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23834 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23835 here. Noted Ted Zlatanov as the maintainer.
23836 (cfengine-common-settings, cfengine-common-syntax): New functions
23837 to set up common things between `cfengine-mode' and
23839 (cfengine3-mode): New mode.
23840 (cfengine3-defuns cfengine3-defuns-regex
23841 (cfengine3-class-selector-regex cfengine3-category-regex)
23842 (cfengine3-vartypes cfengine3-font-lock-keywords)
23843 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23844 (cfengine3-indent-line): Add from cfengine3.el.
23846 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23848 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23850 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23852 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23854 * window.el (same-window-buffer-names, same-window-regexps)
23855 (same-window-p, special-display-frame-alist)
23856 (special-display-popup-frame, special-display-function)
23857 (special-display-buffer-names, special-display-regexps)
23858 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23859 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23860 (split-window-preferred-function, split-height-threshold)
23861 (split-width-threshold, even-window-heights)
23862 (display-buffer-mark-dedicated, window-splittable-p)
23863 (split-window-sensibly, window-safely-shrinkable-p):
23865 (display-buffer): Don't spread args with function specifier
23866 because special-display-popup-frame won't like it.
23868 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23870 Time-stamp simplifications and fixes.
23871 These improve accuracy slightly, and future-proof the code
23872 against some potential changes to current-time format.
23874 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23875 by using time-since and float-time.
23877 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23878 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23879 + NNN microseconds".
23881 * type-break.el (type-break-time-sum): Rewrite using time-add.
23883 * play/hanoi.el (hanoi-current-time-float): Remove.
23884 All uses replaced by float-time.
23886 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23887 This yields a more-accurate answer.
23888 (rng-time-to-float): Remove; no longer needed.
23890 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23892 * calendar/timeclock.el (timeclock-seconds-to-time):
23893 Defalias to seconds-to-time, since they're the same thing.
23895 * emacs-lisp/elp.el (elp-elapsed-time):
23896 * emacs-lisp/benchmark.el (benchmark-elapse):
23897 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23899 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23901 * window.el (bury-buffer): Don't iconify the only frame.
23902 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23903 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23905 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23907 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23908 Add mouse-yank-primary.
23910 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23912 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23914 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23916 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23917 (find-library-name): Use it to find relative load names when provided
23918 absolute file name (bug#8803).
23920 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23922 * textmodes/flyspell.el (flyspell-word): Consider words that
23923 differ only in case as potential doublons (bug#5687).
23925 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23926 Remove two rather uninteresting debugging-like messages to make
23927 debbugs.el more silent.
23929 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23930 a password-like phrase.
23932 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23934 * progmodes/cc-guess.el: New file.
23936 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23938 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23939 derived from `c-basic-common-init'.
23941 * progmodes/cc-mode.el (top-level): Require cc-guess.
23942 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23944 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23946 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23948 2011-06-30 Alan Mackenzie <acm@muc.de>
23950 * progmodes/cc-engine.el (c-guess-continued-construct):
23951 Correct the handling of template-args-cont, particularly for when font
23952 lock is disabled. Name this case as "CASE G".
23954 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23956 * allout.el (allout-yank-processing): Fix injection of extra space
23957 between bullet and non-whitespace character in first topic when
23958 pasting, ensuring that the actual spacing in the pasted topic
23959 following the bullet char is preserved. This extra space was
23960 causing pasted encrypted topics to get a decrypted status even
23961 when the content was actually still encrypted. Now the decryption
23962 status from before the paste is preserved.
23964 (allout-flag-region): Set all allout overlays so they evaporate
23965 when reduced to zero length (evanescent), to prevent overlay
23968 2011-06-30 Glenn Morris <rgm@gnu.org>
23970 * w32-fns.el (w32-charset-info-alist): Declare.
23972 * find-dired.el (find-grep-options): Simplify.
23974 * term/ns-win.el (ns-set-resource): Declare.
23976 * ses.el (row, col): Declare dynamic variables honestly.
23978 * textmodes/reftex-parse.el (index-tags): Declare.
23980 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23982 * cus-edit.el (customize-push-and-save): New function.
23984 * files.el (hack-local-variables-confirm): Use it.
23986 * custom.el (load-theme): New arg NO-CONFIRM.
23987 Use customize-push-and-save (Bug#8720).
23988 (custom-enabled-themes): Doc fix.
23990 * cus-theme.el (customize-create-theme)
23991 (custom-theme-merge-theme): Callers to load-theme changed.
23993 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23995 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23996 short URLs have at least one dot in them (bug #7614).
23998 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23999 nil, because using a pty is apparently too slow (bug #895).
24001 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24003 * mail/sendmail.el (sendmail-query-once): New function.
24004 (sendmail-query-once-function): New variable.
24006 2011-06-29 Glenn Morris <rgm@gnu.org>
24008 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24010 * ses.el (top-level): Require cl when compiling.
24011 (ses-set-localvars): Fix error statement.
24012 Call it at compile time to silence a storm of warnings.
24014 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24016 * window.el (normalize-live-buffer): Rename to
24017 window-normalize-buffer.
24018 (normalize-live-frame): Rename to window-normalize-frame.
24019 (normalize-any-window): Rename to window-normalize-any-window.
24020 (normalize-live-window): Rename to window-normalize-live-window.
24021 (make-window-atom): Rename to window-make-atom.
24022 (window-resize-reset): Rename to window--resize-reset.
24023 (window-resize-reset-1): Rename to window--resize-reset-1.
24024 (resize-mini-window): Rename to window--resize-mini-window.
24025 (resize-subwindows-skip-p): Rename to
24026 window--resize-subwindows-skip-p.
24027 (resize-subwindows-normal): Rename to
24028 window--resize-subwindows-normal.
24029 (resize-subwindows): Rename to window--resize-subwindows.
24030 (resize-other-windows): Rename to window--resize-siblings.
24031 (resize-this-window): Rename to window--resize-this-window.
24032 (resize-root-window): Rename to window--resize-root-window.
24033 (resize-root-window-vertically): Rename to
24034 window--resize-root-window-vertically.
24035 (normalize-buffer-to-display): Rename to
24036 window-normalize-buffer-to-display.
24037 (normalize-buffer-to-switch-to): Rename to
24038 window-normalize-buffer-to-switch-to.
24039 Correspondingly update all callers of the functions listed
24041 (display-buffer-alist, display-buffer-normalize-arguments)
24042 (display-buffer-normalize-options, display-buffer)
24043 (display-buffer-alist-set): Use "function" instead of
24046 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24048 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24049 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24050 debbugs.gnu.org. Mention acknowledgment email.
24052 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24054 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24055 buffer multibyteness, since it shouldn't matter.
24057 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24059 * window.el (display-buffer-in-side-window): Handle dedicated
24060 windows as in display-buffer-reuse-window.
24061 (display-buffer-normalize-alist): Use value of override
24063 (display-buffer-normalize-specifiers): Use value of
24064 other-window-means-other-frame specifier.
24065 (display-buffer-alist): Rewrite some texts in widgets.
24066 (display-buffer): Spread arguments when calling function
24067 specified by fun-with-args.
24069 2011-06-28 Deniz Dogan <deniz@dogan.se>
24071 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24074 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24075 selectors (Bug#5732).
24076 (css-proprietary-nmstart-re): Use `regexp-opt'.
24078 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24080 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24081 (eshell-ls-date-format): New defcustom.
24082 (eshell-ls-file): Use it.
24084 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24086 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24088 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24090 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24091 (ange-ftp-make-tmp-name): New arg.
24092 (ange-ftp-file-local-copy): Use it.
24094 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24096 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24097 no-conversion (Bug#8870).
24099 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24101 * window.el (window-right, window-left, window-child)
24102 (window-child-count, window-last-child)
24103 (window-iso-combination-p, walk-window-tree-1)
24104 (window-atom-check-1, window-tree-1, delete-window)
24105 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24106 new naming conventions - window-vchild, window-hchild,
24107 window-next and window-prev are now called window-top-child,
24108 window-left-child, window-next-sibling and window-prev-sibling
24110 (resize-window-reset): Rename to window-resize-reset.
24111 (resize-window-reset-1): Rename to window-resize-reset-1.
24112 (resize-window): Rename to window-resize.
24113 (window-min-height, window-min-width)
24114 (resize-mini-window, resize-this-window, resize-root-window)
24115 (resize-root-window-vertically, adjust-window-trailing-edge)
24116 (enlarge-window, shrink-window, maximize-window)
24117 (minimize-window, delete-window, quit-restore-window)
24118 (split-window, balance-windows, balance-windows-area-adjust)
24119 (balance-windows-area, window-state-put-2)
24120 (display-buffer-even-window-sizes, display-buffer-set-height)
24121 (display-buffer-set-width, set-window-text-height)
24122 (fit-window-to-buffer): Rename all "resize-window" prefixed
24123 calls to use the "window-resize" prefix convention.
24124 (display-buffer-alist): Fix symbol for label specifier.
24125 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24126 corresponding specifier.
24127 Reported by Juanma Barranquero <lekktu@gmail.com>.
24129 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24131 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24133 (ses-call-printer): Does not pass an empty string to formatter when the
24134 cell is empty to keep from barking printer Calc math-format-value.
24136 2011-06-27 Richard Stallman <rms@gnu.org>
24138 * battery.el (battery-mode-line-limit): New variable.
24139 (battery-update): Handle it.
24141 * mail/rmailmm.el (rmail-mime-process-multipart):
24142 Handle truncated messages.
24144 2011-06-27 Glenn Morris <rgm@gnu.org>
24146 * progmodes/flymake.el (flymake-err-line-patterns):
24147 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24149 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24151 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24152 (ses--clean-!, ses--clean-_): New functions.
24153 (ses-range): Add configurability of readout order, and conversion
24156 * ses.el (ses-repair-cell-reference-all): New function.
24157 (ses-cell-symbol): Set macro as safe, so that it can be used in
24160 * ses.el: Update cycle detection algorithm.
24161 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24162 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24163 (ses-set-localvars): New function.
24164 (ses-make-cell): Add property-list as a cell element.
24165 (ses-cell-property-get-fun, ses-cell-property-get)
24166 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24167 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24169 (ses-cell-property-set, ses-cell-property-pop)
24170 (ses-cell-property-get-handle): New macro.
24171 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24172 New aliases, used for code readability.
24173 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24175 (ses-self-reference-early-detection): New defcustom.
24176 (ses-formula-references): Robustify against self-referring cells.
24177 (ses-mode): Use ses-set-localvars.
24178 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24179 before lauching the update processing.
24180 (ses-initialize-Dijkstra-attempt): New function.
24181 (ses-recalculate-cell): Update for cycle detection based on
24182 Dijkstra algorithm.
24184 * ses.el: Fix commenting and indenting convention.
24186 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24188 * bs.el (bs-cycle-next): Complete last change.
24190 2011-06-27 Drew Adams <drew.adams@oracle.com>
24192 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24194 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24196 * net/network-stream.el (network-stream-open-starttls):
24197 Don't re-get capabilities unless we've reestablished connection.
24198 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24200 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24201 to binary to possibly avoid line encoding issues on Windows (among
24204 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24206 * net/network-stream.el (open-network-stream): Return an :error
24207 saying what the problem was, if possible.
24209 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24212 * net/network-stream.el (network-stream-open-starttls): If we
24213 wanted to use STARTTLS, and the server offered it, but we weren't
24214 able to because we had no STARTTLS support, then close the connection.
24215 (open-network-stream): Return an :error element, if present.
24217 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24219 * hl-line.el (hl-line-sticky-flag): Doc fix.
24220 (global-hl-line-sticky-flag): New option (Bug#8323).
24221 (global-hl-line-highlight): Obey it.
24223 * vc/vc.el (vc-revert-show-diff): Default to t.
24225 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24227 * allout-widgets.el (allout-widgets-post-command-business):
24228 Stop decorating intermediate isearch matches. They're not being
24229 undecorated when an isearch is continued past, and isearch
24230 automatically collapses them. This leads to "widget leaks", where
24231 decorated items accumulate in collapsed areas. Lines with lots of
24232 hidden widgets can slow down cursor travel, substantially.
24233 Too much complicated machinery would be needed to ensure undecoration,
24234 so we're doing without this nicety.
24236 (allout-widgets-tally-string): Don't try to do a hash-table-count
24237 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24238 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24239 *Messages* when allout-widgets-maintain-tally is t.
24241 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24243 * window.el (display-buffer-normalize-argument): Rename to
24244 display-buffer-normalize-arguments. Handle special meaning of
24245 LABEL argument. Respect special-display-function when popping up
24246 a new frame. Fix code searching for a window showing the buffer
24248 (display-buffer-normalize-specifiers):
24249 Call display-buffer-normalize-arguments.
24250 (display-buffer-in-window): Don't undedicate the window if its
24251 buffer remains the same.
24252 Reported by Drew Adams <drew.adams@oracle.com>.
24253 (display-buffer-alist): Add choice for same-window macro
24255 (display-buffer): Mention special meaning of LABEL argument in
24256 doc-string. Fix quoting. Don't pop up a new frame even as
24259 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24261 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24262 avoid deleting the current window in some cases (bug#8911).
24264 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24266 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24269 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24271 * net/network-stream.el (network-stream-open-starttls):
24272 Use built-in TLS support if `gnutls-available-p' is true.
24273 (network-stream-open-tls): Ditto.
24275 2011-06-26 Leo Liu <sdl.web@gmail.com>
24277 * register.el (registerv): New struct.
24278 (registerv-make): New function.
24279 (jump-to-register, describe-register-1, insert-register):
24280 Support the jump-func, print-func and insert-func slot of a registerv
24283 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24285 * vc/vc.el (vc-revert-show-diff): New defcustom.
24286 (vc-diff-internal): New arg specifying diff buffer.
24287 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24288 reuse an existing *vc-diff* buffer (Bug#8927).
24290 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24292 2011-06-26 Glenn Morris <rgm@gnu.org>
24294 * progmodes/f90.el (f90-critical-indent): New option.
24295 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24296 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24297 (f90-mode): Doc fix.
24298 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24299 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24300 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24301 (f90-match-end): Handle block, critical.
24303 2011-06-25 Glenn Morris <rgm@gnu.org>
24305 * calendar/diary-lib.el (diary-included-files): Doc fix.
24306 (diary-include-files): New function, extracted from
24307 diary-include-other-diary-files and diary-mark-included-diary-files.
24308 (diary-include-other-diary-files, diary-mark-included-diary-files):
24309 Just call diary-include-files.
24310 (diary-mark-entries): Reset diary-included-files on first call.
24312 * calendar/diary-lib.el (diary-mark-entries)
24313 (diary-mark-included-diary-files):
24314 Visit included diary-files in temp buffers.
24316 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24317 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24318 (f90-start-block-re, f90-imenu-generic-expression)
24319 (f90-looking-at-program-block-start, f90-no-block-limit):
24320 Add support for submodules.
24322 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24323 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24325 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24327 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24328 buffer-file-type before setting its value, to avoid disastrous
24329 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24331 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24333 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24335 * ses.el (ses-unload-function):
24336 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24338 * proced.el (proced-unload-function):
24339 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24341 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24343 * server.el (server-create-window-system-frame): Add parameters arg.
24344 (server-process-filter): Doc fix. Handle frame-parameters.
24346 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24348 Fix bug#8730, bug#8781.
24350 * loadhist.el (unload--set-major-mode): New function.
24351 (unload-feature): Use it.
24353 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24354 (python-unload-function): New function.
24356 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24358 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24360 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24362 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24363 the candidates list.
24365 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24367 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24369 2011-06-23 Richard Stallman <rms@gnu.org>
24371 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24372 (rmail-variables): Set next-error-move-function.
24373 (rmail-what-message): Take argument POS.
24374 (rmail-next-error-move): New function.
24376 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24378 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24379 messages for adjacent non-terminals.
24381 2011-06-23 Richard Stallman <rms@gnu.org>
24383 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24384 (rmail-show-message-1): Preserve buffer modified flag.
24385 (rmail-start-mail): Don't specify use of rmail-mail-return;
24386 that's done by mail-bury now.
24387 (rmail-mail-return): Handle arg NEWBUF.
24389 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24391 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24394 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24396 * window.el (get-lru-window, get-mru-window)
24397 (get-largest-window): Never return a minibuffer window.
24398 (display-buffer-pop-up-window): Fix a bug that could lead to
24399 reusing the minibuffer window.
24400 (display-buffer): Pass original specifier argument to
24401 display-buffer-function instead of the normalized one.
24402 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24404 2011-06-22 Leo Liu <sdl.web@gmail.com>
24406 * minibuffer.el (completing-read-function)
24407 (completing-read-default): Move from minibuf.c.
24409 2011-06-22 Richard Stallman <rms@gnu.org>
24411 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24412 to Rmail even if not started by a special Rmail command.
24414 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24415 Copy the buffer currently showing just one message.
24417 2011-06-22 Roland Winkler <winkler@gnu.org>
24419 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24420 (bibtex-clean-entry): First delete the old key so that a
24421 customized algorithm for generating the new key does not get
24422 confused by the old key.
24423 (bibtex-url): Obey regexp of first step.
24424 (bibtex-search-entries): Do not use add-to-list with local
24427 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24429 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24430 stored a user name, then query for the password first, instead of
24431 waiting for SMTP to give an error message and the trying again.
24433 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24435 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24436 BUFFER in call-process.
24438 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24440 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24442 (smtpmail-try-auth-methods): Require user name and password from
24445 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24447 * window.el (display-buffer-default-specifiers)
24448 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24449 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24450 (split-window): Normalize SIDE argument (Bug#8916).
24452 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24453 (special-display-frame-alist, special-display-popup-frame):
24454 Remove duplicate declarations. These are now in window.el.
24456 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24458 * mail/smtpmail.el (smtpmail-via-smtp):
24459 Set :use-starttls-if-possible so that we always use STARTTLS if the
24460 server supports it. SMTP servers that support STARTTLS commonly
24463 * net/network-stream.el (network-stream-open-starttls): Support
24464 upgrading to STARTTLS always, even if we don't have built-in support.
24465 (open-network-stream): Add the :always-query-capabilities keyword.
24467 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24468 upgrades with `open-network-stream', and rely solely on
24469 auth-source for all credentials. Big changes throughout the file,
24471 (smtpmail-auth-credentials): Remove.
24472 (smtpmail-starttls-credentials): Remove.
24473 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24476 * net/network-stream.el (network-stream-open-starttls):
24477 Provide support for client certificates both for external and built-in
24479 (auth-source): Require.
24480 (open-network-stream): Document the :client-certificate keyword.
24481 (network-stream-certificate): Change cert-cert to cert and
24484 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24486 * net/tramp-cache.el (top): Don't load the persistency file when
24487 "emacs -Q" has been called.
24489 2011-06-21 Tim Harper <timcharper@gmail.com>
24491 * term/ns-win.el (ns-initialize-window-system):
24492 Set application-specific `ApplePressAndHoldEnabled' system
24493 resource to NO as it is not yet supported by the NS port.
24495 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24497 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24498 (list-dynamic-libraries): ...not here.
24500 2011-06-21 Leo Liu <sdl.web@gmail.com>
24502 * subr.el (sha1): Implement sha1 using secure-hash.
24504 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24506 * window.el (display-buffer-alist): In default value do not
24507 enforce searching a window on any but the selected frame.
24508 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24509 (display-buffer-select-window): Remove function.
24510 (display-buffer-in-window): When a window on another frame gets
24511 reused, do not select it any more but just raise its frame if
24512 necessary (Bug#8851) and (Bug#8856).
24513 (display-buffer-normalize-options): Handle pop-up-frames related
24514 options more faithfully.
24515 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24516 window if it is on another frame.
24517 (display-buffer-alist, display-buffer-default-specifiers):
24518 Don't make new frame unsplittable by default.
24519 (display-buffer-normalize-argument): Fix doc-string typo and use
24520 'same-frame-other-window instead of 'other-window when associating
24521 with display-buffer-macro-specifiers.
24523 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24525 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24527 (5x5-mode-map, 5x5-mode-menu): Bind them.
24528 (5x5-draw-grid): Tweak the solver's rendering.
24530 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24532 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24533 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24535 2011-06-21 Drew Adams <drew.adams@oracle.com>
24537 * menu-bar.el: Use function variable instead of switch-to-buffer.
24538 (menu-bar-select-buffer-function): New variable.
24539 (menu-bar-update-buffers): Use it (bug#8876).
24541 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24543 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24546 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24548 * x-dnd.el (x-dnd-version-from-flags)
24549 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24550 and long as number (Bug#8899).
24551 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24553 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24555 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24556 (completion-try-completion, completion-all-completions): Compute the
24557 metadata argument if it's missing; make it optional (bug#8795).
24559 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24560 (widget-complete): Use new :completion-function property.
24561 (widget-completions-at-point): New function.
24562 (default): Use :completion-function instead of :complete.
24563 (widget-default-completions): Rename from widget-default-complete;
24565 (widget-string-complete, widget-file-complete, widget-color-complete):
24567 (file, symbol, function, variable, coding-system, color):
24568 * international/mule-cmds.el (default-input-method, charset)
24569 (language-info-custom-alist):
24570 * cus-edit.el (face): Use new property :completions.
24572 * progmodes/pascal.el (pascal-completions-at-point): New function.
24573 (pascal-mode): Use it.
24574 (pascal-mode-map): Use completion-at-point.
24575 (pascal-toggle-completions): Make obsolete.
24576 (pascal-complete-word, pascal-show-completions):
24577 * progmodes/octave-mod.el (octave-complete-symbol):
24578 Redefine as obsolete alias.
24579 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24580 Signal absence of completion info for old Octave,
24581 (inferior-octave-complete): Redefine as obsolete alias.
24582 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24583 (meta-completions-at-point): Rename from meta-complete-symbol and
24584 adapt it for use on completion-at-point-functions.
24585 (meta-common-mode): Use it.
24586 (meta-looking-at-backward, meta-match-buffer): Remove.
24587 (meta-complete-symbol): Redefine as obsolete alias.
24588 (meta-common-mode-map): Use completion-at-point.
24589 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24590 (makefile-mode-map): Use completion-at-point.
24591 (makefile-completions-at-point): Rename from makefile-complete and
24592 adapt it for use on completion-at-point-functions.
24593 (makefile-mode): Use it.
24594 (makefile-complete): Redefine as obsolete alias.
24596 2011-06-20 Deniz Dogan <deniz@dogan.se>
24598 * net/rcirc.el: Delete trailing whitespaces once and for all.
24600 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24602 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24604 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24606 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24608 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24610 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24612 * window.el (display-buffer-other-window-means-other-frame):
24613 Call display-buffer-normalize-alist.
24614 (display-buffer-normalize-specifiers-1): Rename to
24615 display-buffer-normalize-argument. New argument other-frame.
24617 (display-buffer-normalize-specifiers-2): Rename to
24618 display-buffer-normalize-options.
24619 (display-buffer-normalize-alist-1): New function.
24620 (display-buffer-normalize-specifiers-3): Rename to
24621 display-buffer-normalize-alist.
24622 Call display-buffer-normalize-alist-1.
24623 (display-buffer-normalize-options-inhibit): New variable.
24624 (display-buffer-normalize-specifiers): Rewrite calling
24625 display-buffer-normalize-alist,
24626 display-buffer-normalize-argument, and
24627 display-buffer-normalize-options. Don't call the latter if
24628 display-buffer-normalize-options-inhibit is non-nil.
24629 (frame-auto-delete): New option.
24630 (window-deletable-p): Use frame-auto-delete.
24631 (window-list-no-nils, window-state-ignored-parameters)
24632 (window-state-get-1, window-state-get, window-state-put-list)
24633 (window-state-put-1, window-state-put-2, window-state-put):
24635 (display-buffer-normalize-options): Move special-display-p group
24636 after pop-up-frame group (Bug#8851) and (Bug#8856).
24638 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24640 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24642 (rx-submatch-n): New function.
24645 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24648 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24650 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24652 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24653 anytime existing face settings are present (Bug#8889).
24655 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24656 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24657 Remove unused argument.
24659 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24661 * window.el (display-buffer-default-specifiers):
24662 Remove pop-up-frame. Add pop-up-window-min-height,
24663 pop-up-window-min-width, and another reuse-window specifier
24664 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24665 (display-buffer-normalize-specifiers-2):
24666 Handle split-height-threshold and split-width-threshold also when
24667 pop-up-windows is unset. Add a reuse-window specifier for the
24668 case popping up a new window fails.
24669 (special-display-popup-frame): Remove double quoting.
24670 (display-buffer-normalize-specifiers-1): Fix thinko.
24672 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24674 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24675 according to comint-completion-addsuffix.
24677 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24678 (pcomplete-suffix-list): Mark as obsolete.
24679 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24680 pcomplete-seen in the closure.
24681 (pcomplete-comint-setup): Setup completion-at-point as well.
24682 (pcomplete--entries): New function.
24683 (pcomplete--env-regexp): New var.
24684 (pcomplete-entries): Rewrite to work with partial-completion and
24685 without relying on pcomplete-suffix-list.
24686 (pcomplete-pare-list): Remove, unused.
24688 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24690 * window.el (display-buffer-alist): Set pop-up-window-min-height
24691 and pop-up-window-min-width in default value. Reported by
24692 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24693 other-window-means-other-frame.
24694 (display-buffer-macro-specifiers): Comment out entry for
24695 other-window specifier.
24696 (display-buffer-other-window-means-other-frame): New function.
24697 (display-buffer-normalize-specifiers-1): New arguments
24698 buffer-name and label. Treat other-window case specially.
24699 (display-buffer-normalize-specifiers-2): Treat other-window case
24701 (display-buffer-normalize-specifiers-3): New function.
24702 (display-buffer-normalize-specifiers):
24703 Call display-buffer-normalize-specifiers-3.
24705 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24707 * window.el (same-window-p): Fix two typos introduced when
24708 adding with-no-warnings.
24709 (display-buffer-normalize-specifiers-1): Don't check
24710 pop-up-frames for 'unset initialization.
24711 (display-buffer-normalize-specifiers-2): Major rewrite using
24712 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24713 (pop-up-frames, display-buffer-reuse-frames)
24714 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24715 Suggested by David Engster <deng@randomsample.de>.
24716 (even-window-heights): Initialize to 'unset.
24717 (display-buffer-alist-set): Handle new 'unset initializations.
24718 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24721 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24723 * window.el (display-buffer-normalize-specifiers-1):
24724 Respect current value of pop-up-frames for most reasonable values of
24725 second argument of display-buffer (Bug#8865).
24726 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24727 (switch-to-buffer-other-window-same-frame)
24728 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24730 (display-buffer): Don't check noninteractive when calling
24731 display-buffer-pop-up-frame.
24732 (display-buffer-pop-up-frame): Never pop up a frame in
24733 noninteractive mode (Bug#8857).
24734 (enlarge-window, shrink-window): Don't report an error when the
24735 window can't be resized as requested (Bug#8862).
24737 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24739 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24741 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24743 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24745 2011-06-15 Alan Mackenzie <acm@muc.de>
24747 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24748 for declarators, disable knr checking to speed up for normal files.
24749 2: Refactor, replacing a sequence of nested if forms by a cond form.
24751 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24753 * net/network-stream.el (open-network-stream): Add the keyword
24754 :always-query-capabilities for the case where you want to force a
24755 `plain' network connection, but the protocol still requires the
24756 capabilitiy command (i.e., SMTP and EHLO).
24758 * subr.el (process-live-p): Rename from `process-alive-p' for
24759 consistency with other `-live-p' functions.
24761 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24763 * window.el (same-window-buffer-names, same-window-regexps)
24764 (special-display-frame-alist, special-display-popup-frame)
24765 (special-display-function, special-display-buffer-names)
24766 (special-display-regexps, pop-up-frame-alist)
24767 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24768 (pop-up-windows, split-window-preferred-function)
24769 (split-height-threshold, split-width-threshold, even-window-heights)
24770 (display-buffer-mark-dedicated): Don't encourage the use of
24771 display-buffer-alist from Elisp code.
24773 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24775 * progmodes/python.el (python-mode): Derive from prog-mode.
24776 * progmodes/ps-mode.el (ps-mode):
24777 * progmodes/mixal-mode.el (mixal-mode):
24778 * progmodes/cfengine.el (cfengine-mode):
24779 * progmodes/ld-script.el (ld-script-mode): Likewise.
24781 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24783 * window.el (display-buffer-alist): Trim default value to avoid
24784 popping up a new frame (Bug#8857) or reusing an arbitrary window
24786 (display-buffer): Do not fall back on popping up a new frame in
24787 batch mode (Bug#8857).
24789 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24791 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24792 (custom-theme-summary): New function.
24793 (customize-themes): Use it.
24795 2011-06-13 Glenn Morris <rgm@gnu.org>
24797 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24799 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24801 * help.el (help-window): Remove variable.
24802 (help-window-point-marker, temp-buffer-max-height)
24803 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24804 (help-print-return-message): Don't set help-window.
24805 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24806 (help-window-setup-finish): Remove.
24807 (help-window-display-message, help-window-setup)
24808 (with-help-window): Major rewrite based on new
24809 display-buffer-window variable.
24811 * help-mode.el (help-mode-finish): Remove help-window related
24814 * view.el (view-exits-all-viewing-windows): Remove reference to
24815 view-return-to-alist in doc-string.
24816 (view-return-to-alist): Make obsolete.
24817 (view-buffer): Call pop-to-buffer-same-window and remove
24819 (view-buffer-other-window): Call pop-to-buffer-other-window and
24820 simplify code. Ignore second argument.
24821 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24822 simplify code. Ignore second argument.
24823 (view-return-to-alist-update): Make obsolete.
24824 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24825 Rewrite using quit-restore window parameters.
24826 (view-mode-exit): Rename second argument to EXIT-ONLY.
24827 Rewrite using quit-restore-window.
24828 (View-exit, View-exit-and-edit, View-leave, View-quit)
24829 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24830 appropriate arguments.
24831 (view-end-message): Use quit-restore window parameter.
24833 * window.el (display-buffer-function): Rewrite doc-string.
24834 (display-buffer-window, display-buffer-alist): New variables.
24835 (display-buffer-split-specifiers)
24836 (display-buffer-side-specifiers)
24837 (display-buffer-macro-specifiers): New constants.
24838 (display-buffer-even-window-sizes, display-buffer-set-height)
24839 (display-buffer-set-width, display-buffer-select-window)
24840 (display-buffer-in-window, display-buffer-reuse-window)
24841 (display-buffer-split-window-1, display-buffer-split-window)
24842 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24843 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24844 (display-buffer-in-side-window, normalize-buffer-to-display)
24845 (display-buffer-normalize-specifiers-1)
24846 (display-buffer-normalize-specifiers-2)
24847 (display-buffer-normalize-specifiers, display-buffer-frame):
24849 (display-buffer): Major rewrite.
24850 (display-buffer-other-window, display-buffer-other-frame)
24851 (pop-to-buffer, switch-to-buffer-other-window)
24852 (switch-to-buffer-other-frame): Rewrite.
24853 (display-buffer-same-window, display-buffer-same-frame)
24854 (display-buffer-same-frame-other-window)
24855 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24856 (pop-to-buffer-other-window)
24857 (pop-to-buffer-same-frame-other-window)
24858 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24859 (switch-to-buffer-other-window-same-frame): New functions.
24860 (same-window-p, special-display-p): Rewrite disabling warnings.
24862 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24863 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24865 (same-window-buffer-names, same-window-regexps)
24866 (special-display-frame-alist, special-display-popup-frame)
24867 (special-display-function, special-display-buffer-names)
24868 (special-display-regexps, pop-up-frame-alist)
24869 (pop-up-frame-function, split-window-preferred-function)
24870 (split-height-threshold, split-width-threshold)
24871 (even-window-heights): Make obsolete.
24873 2011-06-12 Glenn Morris <rgm@gnu.org>
24875 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24876 Misc simplifications.
24878 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24880 * window.el (window-safely-shrinkable-p): Restore function which
24881 was inadvertently removed in change from 2011-06-11. Declare as
24884 * calendar/calendar.el (calendar-generate-window):
24885 Use window-iso-combined-p instead of combination of one-window-p and
24886 window-safely-shrinkable-p.
24888 2011-06-12 Glenn Morris <rgm@gnu.org>
24890 * progmodes/fortran.el (fortran-mode-syntax-table):
24891 * progmodes/f90.el (f90-mode-syntax-table):
24892 Set % to punctuation. (Bug#8820)
24893 (f90-find-tag-default): Remove, no longer needed.
24895 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24897 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24899 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24901 * image.el (image-animated-p): Return animation delay in seconds.
24902 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24903 (image-animate-timeout): Remove DELAY argument. Don't assume
24904 every subimage has the same delay; get it from image-animated-p.
24905 (image-animate): Caller changed.
24907 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24909 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24910 to ignored backtrace functions.
24912 2011-06-11 Glenn Morris <rgm@gnu.org>
24914 * calendar/appt.el (appt-disp-window-function): Doc fix.
24915 (appt-check): Handle overlapping appointments. (Bug#8337)
24917 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24919 * window.el (window-tree-1, window-tree): New functions, moving
24920 the latter to window.el.
24921 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24922 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24923 (bw-refresh-edges): Remove.
24924 (balance-windows-1, balance-windows-2): New functions.
24925 (balance-windows): Rewrite in terms of window tree functions,
24926 balance-windows-1 and balance-windows-2.
24927 (bw-adjust-window): Remove.
24928 (balance-windows-area-adjust): New function with functionality of
24929 bw-adjust-window but using resize-window.
24930 (set-window-text-height): Rewrite doc-string.
24931 Use normalize-live-window and resize-window.
24932 (enlarge-window-horizontally, shrink-window-horizontally):
24933 Rename argument to DELTA.
24934 (window-buffer-height): New function.
24935 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24936 Rewrite using new window resize routines.
24937 (kill-buffer-and-window, mouse-autoselect-window-select):
24938 Use ignore-errors instead of condition-case.
24939 (quit-window): Call delete-frame instead of delete-windows-on
24940 for the only buffer on frame.
24942 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24944 * loadup.el (top-level): Load window before files for the sake
24945 of replace-buffer-in-windows.
24947 * files.el (read-buffer-to-switch)
24948 (switch-to-buffer-other-window)
24949 (switch-to-buffer-other-frame, display-buffer-other-frame):
24952 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24953 (previous-buffer): Move to window.el.
24955 * bindings.el (unbury-buffer): Move to window.el.
24957 * window.el (delete-other-windows-vertically): Move after
24958 definition of delete-other-windows.
24959 (other-window, delete-windows-on, replace-buffer-in-windows):
24960 Move here from window.c.
24961 (record-window-buffer, unrecord-window-buffer)
24962 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24963 (switch-to-next-buffer): New functions.
24964 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24965 from simple.el. Call switch-to-next-buffer.
24966 (previous-buffer): Move here from simple.el.
24967 Call switch-to-prev-buffer.
24968 (bury-buffer): Move here from buffer.c. Switch to previous
24969 buffer when window cannot be deleted.
24970 (unbury-buffer): Move here from bindings.el.
24971 (ctl-x-map): Move binding for other-window from window.c to
24973 (read-buffer-to-switch, switch-to-buffer-other-window)
24974 (switch-to-buffer-other-frame): Move here from files.el.
24975 (normalize-buffer-to-switch-to): New functions.
24976 (switch-to-buffer): Move here from buffer.c.
24977 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24979 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24981 * window.el (window-min-height, window-min-width): Move here
24982 from window.c. Add defcustoms and rewrite doc-strings.
24983 (resize-mini-window, resize-window): New functions.
24984 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24985 Move here from window.c.
24986 (maximize-window, minimize-window): New functions.
24987 (delete-window, delete-other-windows, split-window): Move here
24989 (window-split-min-size): New function.
24990 (split-window-keep-point): Mention split-window-above-each-other
24991 instead of split-window-vertically.
24992 (split-window-above-each-other, split-window-vertically):
24993 Rename split-window-vertically to split-window-above-each-other
24994 and provide defalias for old definition.
24995 (split-window-side-by-side, split-window-horizontally):
24996 Rename split-window-horizontally to split-window-side-by-side
24997 and provide defalias for the old definition.
24998 (ctl-x-map): Move bindings for delete-window,
24999 delete-other-windows and enlarge-window here from window.c.
25000 Replace bindings for split-window-vertically and
25001 split-window-horizontally by bindings for
25002 split-window-above-each-other and split-window-side-by-side.
25004 * cus-start.el (all): Remove entries for window-min-height and
25005 window-min-width. Add entries for window-splits and
25008 2011-06-09 Glenn Morris <rgm@gnu.org>
25010 * calendar/appt.el (appt-mode-line): New function.
25011 (appt-check, appt-disp-window): Use it.
25013 * files.el (hack-one-local-variable-eval-safep):
25014 Allow minor-modes with explicit +/-1 arguments.
25016 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25018 * term/xterm.el (xterm): Add defgroup.
25019 (xterm-extra-capabilities): Add defcustom to supply known xterm
25020 capabilities, skip querying them, or query them (default).
25021 (terminal-init-xterm): Use it.
25022 (terminal-init-xterm-modify-other-keys): New function to set up
25023 modifyOtherKeys support to simplify `terminal-init-xterm'.
25025 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25027 * window.el (resize-window-reset, resize-window-reset-1)
25028 (resize-subwindows-skip-p, resize-subwindows-normal)
25029 (resize-subwindows, resize-other-windows, resize-this-window)
25030 (resize-root-window, resize-root-window-vertically)
25031 (window-deletable-p, window-or-subwindow-p)
25032 (frame-root-window-p): New functions.
25034 2011-06-09 Glenn Morris <rgm@gnu.org>
25036 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25037 (ange-ftp-get-files): Use it.
25039 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25041 * mail/sendmail.el (mail-recover-1, mail-recover):
25042 * files.el (recover-file, recover-session):
25043 Handle dired-listing-switches not being just a single short option.
25045 2011-06-09 Glenn Morris <rgm@gnu.org>
25047 * calendar/appt.el (appt-display-message, appt-disp-window):
25048 Handle lists of appointments.
25050 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25052 * window.el (one-window-p): Move down in code.
25053 Rewrite doc-string.
25054 (window-current-scroll-bars): Rewrite doc-string.
25055 Normalize live window argument.
25056 (walk-windows, get-window-with-predicate, count-windows):
25057 Rewrite doc-string. Use window-list-1.
25058 (window-in-direction-2, window-in-direction, get-mru-window):
25061 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25063 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25064 Doc fix (Bug#8713).
25066 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25068 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25070 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25072 * loadhist.el (unload-feature-special-hooks):
25073 Add `comint-output-filter-functions'.
25075 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25077 * calendar/appt.el (appt-check): Move some initializations into the let.
25079 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25081 * window.el (window-height): Defalias to window-total-height.
25082 (window-width): Defalias to window-body-width.
25084 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25086 * image-mode.el (image-toggle-animation): New command.
25087 (image-mode-map): Bind it to RET.
25088 (image-mode): Update message.
25089 (image-toggle-display-image): Avoid a spurious cache flush.
25090 (image-transform-rotation): Doc fix.
25091 (image-transform-properties): Return quickly in the normal case.
25092 (image-animate-loop): Rename from image-animate-max-time.
25094 * image.el (image-animate-max-time): Move to image-mode.el.
25095 (create-animated-image): Remove unnecessary function.
25096 (image-animate): Rename from image-animate-start. New arg.
25097 (image-animate-stop): Remove; just use image-animate-timer.
25098 (image-animate-timer): Use car-safe.
25099 (image-animate-timeout): Rename argument.
25101 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25103 * window.el (get-lru-window, get-largest-window): Move here from
25104 window.c. Rename first argument to ALL-FRAMES.
25105 Rephrase doc-strings.
25106 (get-buffer-window-list): Rewrite using window-list-1.
25107 Rephrase doc-string.
25108 (window-safe-min-height, window-safe-min-width): New constants.
25109 (window-size-ignore, window-min-size, window-min-size-1)
25110 (window-sizable, window-sizable-p, window-size-fixed-1)
25111 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25112 (window-max-delta-1, window-max-delta, window-resizable)
25113 (window-resizable-p, window-total-height, window-total-width)
25114 (window-body-width): New functions.
25115 (window-full-height-p, window-full-width-p): Rewrite using
25117 (window-body-height): Rewrite using window-body-size.
25119 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25121 * window.el (window-right, window-left, window-child)
25122 (window-child-count, window-last-child, window-any-p)
25123 (normalize-live-buffer, normalize-live-frame)
25124 (normalize-any-window, normalize-live-window)
25125 (window-iso-combination-p, window-iso-combined-p)
25126 (window-iso-combinations)
25127 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25128 (windows-with-parameter, window-with-parameter)
25129 (window-atom-root, make-window-atom, window-atom-check-1)
25130 (window-atom-check, window-side-check, window-check):
25132 (ignore-window-parameters, window-sides, window-sides-vertical)
25133 (window-sides-slots): New variables.
25134 (window-size-fixed): Move down in code. Minor doc-string fix.
25136 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25138 * comint.el (comint-dynamic-complete-as-filename)
25139 (comint-dynamic-complete-filename): Correctly call
25140 completion-in-region.
25142 2011-06-05 Deniz Dogan <deniz@dogan.se>
25144 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25147 2011-06-05 Deniz Dogan <deniz@dogan.se>
25149 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25150 (rcirc): Use it to prompt for encryption.
25152 2011-06-05 Roland Winkler <winkler@gnu.org>
25154 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25155 (bibtex-search-entries): New command bound to C-c C-a.
25156 (bibtex-display-entries): New function.
25158 2011-06-05 Roland Winkler <winkler@gnu.org>
25160 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25161 (bibtex-insert-kill): After yanking insert newline if necessary.
25162 (bibtex-initialize): Call bibtex-string-files-init only once.
25163 (bibtex-mode): Do not call easy-menu-add.
25164 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25165 (bibtex-yank): Set arg properly if nil.
25167 2011-06-05 Roland Winkler <winkler@gnu.org>
25169 * textmodes/bibtex.el (bibtex-search-entry-globally):
25171 (bibtex-search-entry): Use it.
25173 2011-06-05 Roland Winkler <winkler@gnu.org>
25175 * textmodes/bibtex.el (bibtex-entry-format): New option
25177 (bibtex-format-entry, bibtex-reformat): Honor this option.
25178 (bibtex-parse-entry): Return fields in proper order.
25180 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25182 * doc-view.el (doc-view-remove-if): Move computation of result out
25183 of `dolist' to silence misleading lexical-binding warning.
25185 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25187 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25188 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25190 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25192 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25195 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25197 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25198 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25199 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25200 (tramp-parse-putty):
25201 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25202 (tramp-completion-function-alist-ssh)
25203 (tramp-completion-function-alist-telnet)
25204 (tramp-completion-function-alist-su)
25205 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25208 * net/tramp-ftp.el:
25210 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25211 load "tramp.el" `tramp-set-completion-function'.
25213 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25215 * shell.el: Require and use pcomplete.
25216 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25217 (shell-completion-vars): Set pcomplete-default-completion-function.
25219 2011-06-04 Deniz Dogan <deniz@dogan.se>
25221 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25224 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25226 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25228 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25230 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25231 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25232 * vc/log-view.el (log-view-beginning-of-defun):
25233 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25234 (smerge-refine-forward, smerge-refine-chopup-region):
25235 Silence warning for unused `dotimes' counter variables.
25237 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25239 * net/tramp.el (tramp-with-progress-reporter): Rename from
25240 with-progress-reporter. Use `declare'.
25241 * net/tramp-smb.el:
25243 * net/tramp-gvfs.el: Update all uses.
25245 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25247 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25248 buffer isn't killed before making it current.
25250 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25252 Silence various byte-compiler warnings.
25253 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25254 `access-type' and new obsolescence format.
25255 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25257 (byte-compile-check-variable): New `access-type' argument.
25258 Only warn if the access-type is obsolete.
25259 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25260 (byte-compile-variable-set): Adjust callers.
25261 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25262 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25263 setting it as obsolete.
25264 * simple.el (minibuffer-completing-symbol):
25265 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25266 access as obsolete.
25267 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25269 * international/quail.el (quail-mouse-choose-completion): Remove unused
25270 code referring to obsolete var.
25271 (quail-choose-completion-string): Remove.
25272 * server.el (server-clients-with, server-kill-buffer-query-function)
25273 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25274 * proced.el (proced-send-signal):
25275 * emacs-lisp/lisp.el (lisp-complete-symbol):
25276 Replace completion-annotate-function with completion-extra-properties.
25278 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25280 * simple.el (goto-line): Use read-number.
25281 (overriding-map-is-bound): Remove.
25282 (saved-overriding-map): Change default.
25283 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25284 Take the map as argument.
25285 (universal-argument, negative-argument, digit-argument): Use it.
25286 (restore-overriding-map): Adjust.
25287 (do-auto-fill): Use fill-forward-paragraph.
25288 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25290 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25291 (minibuffer-inactive-mode): New major mode.
25292 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25293 the *Messages* buffer" hack.
25294 (mouse-popup-menubar): Don't burp if the event is a normal key.
25296 Miscellaneous tweaks.
25297 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25298 lexical scoping as in subr.el's dolist and dotimes.
25299 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25300 Silence compiler warning.
25301 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25302 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25303 * international/ccl.el (ccl-compile): Trivial simplification.
25304 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25305 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25306 `printflag' argument.
25307 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25308 Purecopy the whole obsolescence data.
25310 2011-06-01 Leo Liu <sdl.web@gmail.com>
25312 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25313 improve doc-string as suggested by Marco Pessotto
25314 <melmothx@gmail.com>.
25315 (rcirc-print): Fix last change.
25317 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25319 * minibuffer.el (complete-with-action): Return nil for the metadata and
25320 boundaries of non-functional tables.
25321 (completion-table-dynamic): Return nil for the metadata.
25322 (completion-table-with-terminator): Add default case, using
25323 complete-with-action.
25324 (completion--metadata): New function.
25325 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25326 to try and avoid pathological performance problems.
25327 (completion--embedded-envvar-table): Return `category' metadata.
25329 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25331 * subr.el (process-alive-p): New tiny convenience function.
25333 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25335 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25336 content but also its previous major mode.
25338 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25340 * emacs-lisp/debug.el (debug): Restore the previous content of the
25341 *Backtrace* buffer when we exit with C-M-c.
25343 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25345 * minibuffer.el: Add metadata method to completion tables.
25346 (completion-category-overrides): New defcustom.
25347 (completion-metadata, completion--field-metadata)
25348 (completion-metadata-get, completion--styles)
25349 (completion--cycle-threshold): New functions.
25350 (completion-try-completion, completion-all-completions):
25351 Add `metadata' argument to choose completion-styles.
25352 (completion--do-completion): Use metadata to choose cycling.
25353 (completion-all-sorted-completions): Use metadata for sorting.
25354 Remove :completion-cycle-penalty which is not needed any more.
25355 (completion--try-word-completion): Add `metadata' argument.
25356 (minibuffer-completion-help): Check metadata for annotation function
25358 (completion-file-name-table): Return `category' metadata.
25359 (minibuffer-completing-file-name): Make obsolete.
25360 * simple.el (minibuffer-completing-symbol): Make obsolete.
25361 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25362 completion-try-completion.
25364 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25366 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25368 2011-05-30 Leo Liu <sdl.web@gmail.com>
25370 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25371 (rcirc-print): Decode all incoming messages (bug#8744).
25372 (rcirc-decode-coding-system): Allow value nil for automatic coding
25375 2011-06-01 Glenn Morris <rgm@gnu.org>
25377 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25379 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25381 * image.el (image-animate-max-time): Allow nil and t values.
25383 (create-animated-image): Doc fix.
25384 (image-animate-start): Remove second arg; just use
25385 image-animate-max-time.
25386 (image-animate-timeout): Doc fix. Args changed.
25388 * image-mode.el (image-toggle-display-image): Ensure that the
25389 image spec passed to the animate timer is the same object as in
25390 the buffer's display property (Bug#6981).
25391 (image-transform-properties): Doc fix.
25393 * image.el (image-animate-max-time): Default to nil.
25395 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25397 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25398 entire buffer list (Bug#8184).
25400 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25402 * image.el (imagemagick-types-inhibit)
25403 (imagemagick-register-types): Doc fix.
25405 2011-05-29 Deniz Dogan <deniz@dogan.se>
25407 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25410 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25412 * select.el: Don't perform clipboard-manager saving in hooks;
25413 leave the hooks empty.
25415 2011-05-28 Leo Liu <sdl.web@gmail.com>
25417 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25418 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25419 (occur-edit-mode): New major mode (Bug#8463).
25420 (occur-after-change-function): New function.
25421 (occur-engine): Give Occur tags a read-only property.
25423 2011-05-28 Kevin Ryde <user42@zip.com.au>
25425 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25427 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25429 * bindings.el (help-echo): Make the initial non-indicator dash
25430 empty on graphical terminals (Bug#7295).
25432 * files.el (auto-mode-alist): Move config rule after the
25433 in-stripping one (Bug#8547).
25435 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25437 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25438 setting (Bug#8740).
25440 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25442 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25443 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25446 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25448 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25450 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25452 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25453 (hs-hide-block-at-point, hs-find-block-beginning)
25454 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25457 2011-05-28 Glenn Morris <rgm@gnu.org>
25459 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25461 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25463 * help-fns.el (describe-function-1): If the function is a derived
25464 major mode, print the parent mode.
25466 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25467 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25469 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25471 * minibuffer.el (completion--capf-wrapper): Check applicability before
25472 returning non-nil for non-exclusive completion data.
25473 * progmodes/etags.el (tags-completion-at-point-function):
25474 * info-look.el (info-lookup-completions-at-point): Mark as
25476 (info-complete): Adjust accordingly.
25478 * info-look.el: Convert to lexical-binding and completion-at-point.
25479 (info-lookup-completions-at-point): New function.
25480 (info-complete): Use it and completion-in-region.
25482 2011-05-28 Drew Adams <drew.adams@oracle.com>
25484 * isearch.el: Let M-e start with point at the first mismatched char.
25485 (isearch-fail-pos): New function.
25486 (isearch-edit-string): Use it.
25488 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25490 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25492 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25494 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25495 traversal functions for avl-trees.
25496 (avl-tree--stack): New struct.
25497 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25498 (avl-tree-enter): Add optional `updatefun' arg.
25499 (avl-tree--do-enter): Add optional `updatefun' arg.
25500 Change return value.
25501 (avl-tree-delete): Add optional `test' and `nilflag' args.
25502 (avl-tree--do-delete): Add `test' and `nilflag' args.
25503 Change return value.
25504 (avl-tree-member): Add optional `nilflag'
25505 (avl-tree-member-p): New function.
25506 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25507 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25508 (avl-tree-stack-empty-p): New functions.
25510 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25511 avl-tree--del-balance1 and make it work both ways.
25512 (avl-tree--del-balance2): Remove.
25513 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25514 make it work both ways.
25515 (avl-tree--enter-balance2): Remove.
25516 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25518 (avl-tree--mapc, avl-tree-map): Add direction argument.
25520 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25522 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25524 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25526 * select.el: Support clipboard managers with built-in function
25527 x-clipboard-manager-save, via delete-frame-functions and
25529 (xselect-convert-to-targets): Add MULTIPLE target to list.
25530 (xselect-convert-to-save-targets): New function.
25532 2011-05-27 Kenichi Handa <handa@m17n.org>
25534 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25535 let-binding rfc2047-encode-encoded-words to nil.
25537 2011-05-27 Glenn Morris <rgm@gnu.org>
25539 * mail/emacsbug.el: Don't require url-util.
25541 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25543 * files.el (set-auto-mode):
25544 Also respect mode: entries at the end of the file. (Bug#8586)
25546 2011-05-26 Glenn Morris <rgm@gnu.org>
25548 * files.el (hack-local-variables-prop-line, hack-local-variables):
25549 Downcase mode names, as seems to be traditional.
25550 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25552 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25553 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25555 2011-05-25 Julien Danjou <julien@danjou.info>
25557 * textmodes/rst.el (rst-define-level-faces): Do not define face
25558 symbol if it is already defined.
25560 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25562 * play/5x5.el (5x5-new-game, 5x5-randomize):
25563 Reset 5x5-solver-output to nil when a new grid is cast.
25564 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25565 these debugging traces, as defmacro breaks the compiled code.
25567 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25569 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25571 2011-05-24 Leo Liu <sdl.web@gmail.com>
25573 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25574 (vc-bzr-sha1): Adapt.
25576 * sha1.el: Remove. Function `sha1' is now builtin.
25578 * bindings.el: Provide sha1 feature.
25580 2011-05-24 Kenichi Handa <handa@m17n.org>
25582 * mail/sendmail.el: Require `rfc2047'.
25583 (mail-insert-from-field): Do not perform RFC2047 encoding.
25584 (mail-encode-header): New function.
25585 (sendmail-send-it): Set buffer-file-coding-system of the work
25586 buffer to the return value of select-message-coding-system.
25587 Call mail-encode-header.
25589 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25591 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25593 * mail/supercite.el (sc-default-cite-frame):
25594 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25596 2011-05-24 Glenn Morris <rgm@gnu.org>
25598 * progmodes/python.el (brm-menu): Declare.
25600 * emulation/viper.el (viper-set-hooks): Declare.
25602 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25603 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25604 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25605 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25606 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25607 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25609 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25611 Add an :exit-function for completion-at-point.
25613 * minibuffer.el (completion--done): New fun.
25614 (completion--do-completion): Use it. New arg `expect-exact'.
25615 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25616 since completion--do-completion does it for us now.
25617 (minibuffer-force-complete): Use completion--done and
25618 completion--replace. Handle sole-completion case with more care.
25619 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25620 (completion-extra-properties): New var.
25621 (completion-annotate-function): Make obsolete.
25622 (minibuffer-completion-help): Adjust accordingly.
25623 Use completion-list-insert-choice-function.
25624 (completion-at-point, completion-help-at-point):
25625 Bind completion-extra-properties.
25626 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25627 * simple.el (completion-list-insert-choice-function): New var.
25628 (completion-setup-function): Preserve it.
25629 (choose-completion): Pay attention to it, shuffle the code a bit.
25630 (choose-completion-string): New arg `insert-function'.
25632 * textmodes/bibtex.el: Convert to lexical binding.
25633 (bibtex-mode-map): Use completion-at-point.
25634 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25635 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25636 (bibtex-complete): Define as obsolete alias.
25637 (bibtex-complete-internal): Remove.
25638 (bibtex-format-entry): Remove unused sub-group in regexp.
25639 * shell.el (shell--command-completion-data)
25640 (shell-environment-variable-completion):
25641 * pcomplete.el (pcomplete-completions-at-point):
25642 * comint.el (comint--complete-file-name-data): Use :exit-function
25643 instead of completion-table-with-terminator so it also works for
25646 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25648 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25650 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25653 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25655 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25657 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25658 customization variable and implement: If non-nil, auto-fill will
25659 be inhibited while on topic's header line.
25661 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25663 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25664 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25665 always have a solution in grid size = 5 cases.
25666 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25667 (5x5-solver-output, 5x5-log-buffer): New vars.
25668 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25669 Make these variables buffer local to achieve 5x5 multi-session-ness.
25670 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25671 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25672 (5x5-solve-suggest): New funs.
25673 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25674 randomize a grid so that we ensure that there is always a solution.
25675 (5x5-make-random-grid): Allow other movement than flipping.
25677 2011-05-23 Kevin Ryde <user42@zip.com.au>
25679 * emacs-lisp/advice.el (ad-read-advised-function):
25680 Use `function-called-at-point' as the default, if it has
25681 advice and passes PREDICATE.
25683 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25685 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25686 byte-compile-lambda if it's actually a lambda.
25688 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25689 Fix function quoting. Use backquote better.
25691 2011-05-22 Yuanle Song <sylecn@gmail.com>
25693 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25694 matching (Bug#8516).
25696 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25698 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25699 different face (Bug#8178).
25701 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25703 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25704 defface (Bug#8144).
25706 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25708 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25709 funcall as well (bug#8712). Warn when performing those conversions.
25710 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25712 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25714 2011-05-22 Glenn Morris <rgm@gnu.org>
25716 * files.el (hack-local-variables-prop-line): Small simplifications.
25717 (hack-local-variables, hack-local-variables-prop-line):
25718 If MODE-ONLY, return the mode, rather than just `t'.
25720 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25722 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25724 2011-05-21 Glenn Morris <rgm@gnu.org>
25726 * files.el (hack-local-variables-prop-line, hack-local-variables):
25727 If only interested in the mode, don't bother doing the other stuff.
25729 * image-mode.el (image-after-revert-hook):
25730 Redraw all frames on which the image is visible. (Bug#8567)
25732 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25734 * wid-edit.el (widget-checklist-match-inline):
25735 Fix 2011-04-19 change. (Bug#8649)
25737 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25739 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25740 Also allow singlespace after single-letter capitals followed by a dot.
25742 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25743 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25745 2011-05-20 Nix <nix@esperi.org.uk>
25747 * files.el (basic-save-buffer-2):
25748 Fix handling of break-hardlink-on-save with non-existent files.
25750 2011-05-19 Deniz Dogan <deniz@dogan.se>
25752 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25753 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25755 2011-05-19 Glenn Morris <rgm@gnu.org>
25757 * progmodes/f90.el (f90-type-def-re):
25758 Handle "type, bind(c)". (Bug#8691)
25760 * emacs-lisp/autoload.el (batch-update-autoloads):
25761 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25763 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25765 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25766 property for the correct connection in case of multihops.
25768 2011-05-18 Glenn Morris <rgm@gnu.org>
25770 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25771 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25773 Rationalize calendar handling of day and month abbrev-arrays.
25774 * calendar/calendar.el (calendar-customized-p): New function.
25775 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25776 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25778 (calendar-abbrev-length, calendar-day-abbrev-array)
25779 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25780 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25781 Elements may no longer be nil.
25782 (calendar-day-name, calendar-month-name):
25783 Update for changed nature of abbrev arrays.
25784 * calendar/diary-lib.el (diary-name-pattern):
25785 Update for changed nature of abbrev arrays.
25786 (diary-mark-entries-1): Update calendar-make-alist calls.
25787 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25788 * calendar/cal-html.el (cal-html-day-abbrev-array):
25789 Simply inherit from calendar-day-abbrev-array.
25791 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25793 * progmodes/grep.el (grep-mode): Disable default
25794 compilation-directory-matcher setting (bug#8684).
25796 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25798 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25799 instead of "head" and "tail". There were problems with SunOS 5.9,
25800 and it performs better.
25802 2011-05-17 Glenn Morris <rgm@gnu.org>
25804 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25806 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25807 Replace obsolete function.
25809 * shell.el (pcomplete-parse-arguments-function): Declare.
25811 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25812 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25813 (appt-check): Doc fixes.
25814 (appt-disp-window-function, appt-delete-window-function):
25815 Remove needless special case in custom :type.
25816 (appt-display-count): Default to 0, not nil.
25817 (appt-check): Reset appt-display-count to 0, not nil.
25819 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25821 * progmodes/python.el (python-font-lock-keywords):
25822 Add the Python 3.X keyword "nonlocal" (bug#8639).
25824 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25826 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25828 2011-05-16 Kevin Ryde <user42@zip.com.au>
25830 * info-look.el (makefile-automake-mode): New setups, looking in
25831 automake manual, then makefile-mode.
25832 (makefile-mode): Remove automake manual, have it just in
25833 makefile-automake-mode since there's various things different or
25834 not relevant to plain make.
25835 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25836 believe a hypothetical automake-mode would go to makefile-mode,
25837 not the other way around.
25839 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25841 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25842 hunk-end tags (Bug#8672).
25844 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25845 vc-annotate-show-diff-revision-at-line (Bug#8671).
25847 2011-05-14 Glenn Morris <rgm@gnu.org>
25849 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25850 in the middle of an existing one with multiple authors. (Bug#8645)
25851 (change-log-font-lock-keywords): Also handle multiple author lines
25852 with leading tabs. (Bug#8644)
25854 * calendar/appt.el (appt-check): Rename some local variables.
25855 Some simplification/reordering.
25857 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25858 (feedmail-sendmail-f-doesnt-sell-me-out)
25859 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25860 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25861 (feedmail-queue-runner-message-sender): Set :version.
25862 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25863 (bbdb-dwim-net-address, vm-mail): Declare.
25864 (feedmail-binmail-gnulinuxish-template):
25865 Rename from feedmail-binmail-linuxish-template.
25866 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25867 Use insert-buffer-substring.
25869 2011-05-14 Bill Carpenter <bill@carpenter.org>
25871 * mail/feedmail.el (feedmail-patch-level): Increase.
25872 (feedmail-debug): New custom group.
25873 (feedmail-confirm-outgoing-timeout)
25874 (feedmail-sendmail-f-doesnt-sell-me-out)
25875 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25876 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25877 (feedmail-sender-line, feedmail-from-line)
25878 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25879 (feedmail-spray-this-address)
25880 (feedmail-spray-address-fiddle-plex-list)
25881 (feedmail-queue-use-send-time-for-date)
25882 (feedmail-queue-use-send-time-for-message-id)
25883 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25884 (feedmail-buffer-eating-function):
25886 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25887 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25888 (feedmail-message-action-scroll-down): New functions.
25889 (feedmail-queue-directory, feedmail-queue-draft-directory):
25890 Use expand-file-name.
25891 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25892 Remove C-v help entry.
25893 (feedmail-queue-buffer-file-name): New variable.
25894 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25895 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25896 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25897 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25898 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25899 (feedmail-message-action-toggle-spray)
25900 (feedmail-run-the-queue-no-prompts)
25901 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25902 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25903 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25904 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25905 (feedmail-envelope-deducer, feedmail-fiddle-from)
25906 (feedmail-fiddle-sender, feedmail-default-date-generator)
25907 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25908 (feedmail-fiddle-spray-address)
25909 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25910 (feedmail-fiddle-list-of-fiddle-plexes)
25911 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25912 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25913 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25914 Change default. Doc fix.
25915 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25916 (feedmail-binmail-linuxish-template): New constant.
25917 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25918 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25919 (feedmail-send-it): Add debug call.
25920 Use feedmail-queue-buffer-file-name, and
25921 feedmail-send-it-immediately-wrapper.
25922 (feedmail-message-action-send): Add debug call.
25923 Use feedmail-send-it-immediately-wrapper.
25924 (feedmail-queue-express-to-queue): Add debug call.
25925 Run feedmail-queue-express-hook.
25926 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25927 (feedmail-message-action-help-blat):
25928 Rename from feedmail-queue-send-edit-prompt-help-first.
25929 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25930 Check line-endings. Handle errors better.
25931 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25932 Doc fix. Add debug call.
25933 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25934 Use feedmail-queue-send-edit-prompt-inner.
25935 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25936 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25937 from feedmail-queue-send-edit-prompt.
25938 (feedmail-queue-send-edit-prompt-help)
25939 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25940 (feedmail-tidy-up-slug): Add debug call.
25941 Respect feedmail-queue-slug-suspect-regexp.
25942 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25943 (feedmail-dump-message-to-queue): Add debug call.
25944 Expand queue-directory.
25945 (feedmail-dump-message-to-queue): Change message slightly.
25946 Use feedmail-say-chatter.
25947 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25948 (feedmail-send-it-immediately-wrapper): New function.
25949 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25950 Insert empty string rather than newline. Handle full-frame case.
25951 Use catch/throw. Use feedmail-say-chatter.
25952 (feedmail-fiddle-from): Try mail-host-address.
25953 (feedmail-default-message-id-generator): Doc fix.
25954 Bind system-time-locale. Handle missing end.
25955 (feedmail-fiddle-x-mailer): Add debug call.
25956 Handle feedmail-x-mailer-line being nil.
25957 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25958 Add debug call. Use buffer-substring-no-properties.
25959 (feedmail-say-debug, feedmail-say-chatter): New functions.
25960 (feedmail-find-eoh): Give an explicit error.
25962 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25964 * net/newst-treeview.el (newsticker-treeview-face): Change default
25965 family from helvetica to sans.
25966 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25967 etc/images/newsticker.
25969 * net/newst-reader.el (newsticker-feed-face): Change default
25970 family from helvetica to sans.
25972 * net/newst-plainview.el (newsticker-new-item-face)
25973 (newsticker-old-item-face, newsticker-immortal-item-face)
25974 (newsticker-obsolete-item-face, newsticker-date-face)
25975 (newsticker-statistics-face): Change default family from
25977 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25978 etc/images/newsticker.
25980 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25981 (newsticker--process-auto-mark-filter-match): Tell user about
25984 2011-05-13 Didier Verna <didier@xemacs.org>
25986 Common Lisp indentation improvements on defmethod and lambda-lists.
25987 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25989 (lisp-lambda-list-keyword-parameter-indentation)
25990 (lisp-lambda-list-keyword-parameter-alignment)
25991 (lisp-lambda-list-keyword-alignment): New customizable user options.
25992 (lisp-indent-defun-method): Improve docstring.
25993 (extended-loop-p): Fix comment.
25994 (lisp-indent-lambda-list-keywords-regexp): New variable.
25995 (lisp-indent-lambda-list): New function.
25996 (lisp-indent-259): Use it.
25997 (lisp-indent-defmethod): Support for more than one
25998 method qualifier and properly indent methods lambda-lists.
25999 (defgeneric): Provide a missing common-lisp-indent-function property.
26001 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26003 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26004 bounds for the empty string (bug#8667).
26006 2011-05-13 Glenn Morris <rgm@gnu.org>
26008 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26010 * mail/sendmail.el (sendmail-program): Try executable-find first.
26011 (sendmail-send-it): `sendmail-program' cannot be unbound.
26013 * calendar/appt.el (appt-make-list): Simplify.
26014 (appt-time-msg-list): Doc fix.
26015 (appt-check): Change mode-line message at the time of the appointment.
26017 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26019 * progmodes/ld-script.el (ld-script-keywords)
26020 (ld-script-builtins): Update keywords list.
26022 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26024 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26026 * shell.el (shell-completion-vars): New function.
26028 * simple.el (read-shell-command): Use it.
26029 (blink-matching-open): No need for " [...]" in minibuffer-message.
26031 2011-05-12 Glenn Morris <rgm@gnu.org>
26033 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26034 (appt-check): Simplify.
26036 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26038 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26039 literal "/dev/null".
26041 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26043 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26046 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26048 * progmodes/which-func.el (which-function):
26049 Use add-log-current-defun instead of add-log-current-defun-function,
26050 which might not be defined (Bug#8260).
26052 2011-05-12 Glenn Morris <rgm@gnu.org>
26054 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26055 Let byte-compile-initial-macro-environment always take precedence.
26057 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26059 * net/rcirc.el: Add support for SSL/TLS connections.
26060 (rcirc-server-alist): New field `encryption'.
26061 (rcirc): Check `encryption' settings.
26062 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26063 Merge make-local-variable into `set'.
26064 (rcirc--connection-open-p): New function.
26065 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26066 the process is not a network process (e.g. running gnutls-cli).
26067 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26068 Make rcirc-(en|de)code-coding-system local here.
26069 (rcirc-mode): Merge make-local-variable into `set'.
26070 (rcirc-parent-buffer): Make permanent buffer-local.
26071 (rcirc-multiline-minor-mode): Don't do it here.
26072 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26073 there's no server buffer.
26075 2011-05-11 Glenn Morris <rgm@gnu.org>
26077 * newcomment.el (comment-kill): Prefix "unused" local.
26079 * term/w32console.el (get-screen-color): Declare.
26081 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26082 Handle symbol elements of byte-compile-initial-macro-environment.
26084 2011-05-10 Leo Liu <sdl.web@gmail.com>
26086 * bookmark.el (bookmark-bmenu-mode-map):
26087 Bind bookmark-bmenu-search to `/'.
26089 * mail/footnote.el: Convert to utf-8 encoding.
26090 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26091 (Footnote-unicode): New function.
26092 (footnote-style-alist): Add unicode style to the list.
26093 (footnote-style): Doc fix.
26095 2011-05-10 Jim Meyering <meyering@redhat.com>
26097 Fix doubled-word typos.
26098 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26099 * kermit.el: and and -> and.
26100 * net/ldap.el (ldap-search-internal): to to -> to.
26101 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26102 * progmodes/js.el (js-mode): and and -> and.
26103 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26104 (artist-draw-region-trim-line-endings): if if -> if.
26105 And Safetyc -> Safety.
26106 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26108 2011-05-10 Glenn Morris <rgm@gnu.org>
26109 Stefan Monnier <monnier@iro.umontreal.ca>
26111 * files.el (hack-one-local-variable-eval-safep):
26112 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26114 2011-05-10 Glenn Morris <rgm@gnu.org>
26116 * calendar/diary-lib.el (diary-list-entries-hook)
26117 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26118 (diary-nongregorian-marking-hook, diary-list-entries)
26119 (diary-include-other-diary-files, diary-mark-entries)
26120 (diary-mark-included-diary-files): Doc fixes.
26122 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26124 * misc.el: Require tabulated-list.el during compilation.
26126 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26128 * progmodes/compile.el (compilation-start):
26129 Run compilation-filter-hook for the async case too.
26130 (compilation-filter-hook): Doc fix.
26132 2011-05-09 Deniz Dogan <deniz@dogan.se>
26134 * wdired.el: Remove outdated installation comment. Fix usage
26137 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26139 * misc.el: Implement new command `list-dynamic-libraries'.
26140 (list-dynamic-libraries--loaded-only-p): New variable.
26141 (list-dynamic-libraries--refresh): New function.
26142 (list-dynamic-libraries): New command.
26144 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26146 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26147 Fix the ant regexp to handle end-line and end-column info from jikes.
26148 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26149 higher priority to avoid clobbering by gnu.
26151 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26153 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26154 if the face has existing theme settings (Bug#8454).
26156 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26158 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26159 Only match variables declared via `my' or `our' (Bug#8261).
26161 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26162 special file names `.' and `..' (Bug#8259).
26164 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26166 * progmodes/grep.el (grep-mode-font-lock-keywords):
26167 Remove buffer-changing entries.
26168 (grep-filter): New function.
26169 (grep-mode): Add it to compilation-filter-hook.
26171 * progmodes/compile.el (compilation-filter-hook)
26172 (compilation-filter-start): New defvars.
26173 (compilation-filter): Call compilation-filter-hook prior to
26174 updating the process mark.
26176 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26178 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26180 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26182 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26183 mailclient-send-it even if window-system is nil. (Bug#8595)
26185 * term/w32console.el (terminal-init-w32console):
26186 Call get-screen-color and use its output to set the frame
26187 background-mode. (Bug#8597)
26189 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26191 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26192 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26194 (defgeneric, eieio--defmethod): Use them.
26195 (eieio-defgeneric): Remove.
26196 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26198 2011-05-07 Glenn Morris <rgm@gnu.org>
26200 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26201 Use let rather than let*.
26202 (timeclock-find-discrep): Remove unused local.
26204 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26206 * calendar/appt.el (appt-time-msg-list): Doc fix.
26208 2011-05-06 Noah Friedman <friedman@splode.com>
26210 * apropos.el (apropos-print-doc): Only use
26211 emacs-lisp-docstring-fill-column when it is bound to an integer,
26212 per that variable's documentation.
26214 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26216 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26217 and warnings are not silently discarded (e.g. use -d instead of -P).
26219 2011-05-06 Glenn Morris <rgm@gnu.org>
26221 * calendar/appt.el (appt-message-warning-time): Doc fix.
26222 (appt-warning-time-regexp): New option.
26223 (appt-make-list): Respect appt-message-warning-time.
26225 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26227 (diary-add-to-list): Strip comments from the displayed string.
26228 (diary-mode): Set comment-start and comment-end.
26230 * vc/diff-mode.el (smerge-refine-subst): Declare.
26231 (diff-refine-hunk): Don't require smerge-mode when compiling.
26233 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26235 * simple.el (list-processes): Return nil as the docstring says.
26237 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26239 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26241 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26242 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26243 determining of binary transfer. (Bug#7383)
26245 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26247 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26248 Fix port computation bug. (Bug#8618)
26250 2011-05-05 Glenn Morris <rgm@gnu.org>
26252 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26254 * simple.el (shell-dynamic-complete-functions)
26255 (comint-dynamic-complete-functions): Declare.
26257 * net/network-stream.el (gnutls-negotiate):
26258 * simple.el (tabulated-list-print): Fix declarations.
26260 * progmodes/gud.el (syntax-symbol, syntax-point):
26261 Remove unnecessary and incorrect declarations.
26263 * emacs-lisp/check-declare.el (check-declare-scan):
26264 Handle byte-compile-initial-macro-environment in bytecomp.el.
26266 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26268 Fix earlier half-done eieio-defmethod change (bug#8338).
26269 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26270 Streamline and change calling convention.
26271 (defmethod): Adjust accordingly and simplify.
26272 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26273 new eieio--defmethod.
26274 (slot-boundp): Minor CSE simplification.
26276 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26278 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26279 (glasses-make-readable): Use glasses-separate-capital-groups.
26281 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26283 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26284 (warning-series): Doc fix.
26285 (display-warning): Don't try to create the buffer if we just found it.
26287 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26289 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26290 (autoload-find-generated-file): New function.
26291 (generate-file-autoloads): Bind generated-autoload-file to
26293 (update-file-autoloads, update-directory-autoloads):
26294 Use autoload-find-generated-file. If called interactively, prompt for
26295 output file (Bug#7989).
26296 (batch-update-autoloads): Doc fix.
26298 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26300 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26302 2011-05-04 Glenn Morris <rgm@gnu.org>
26304 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26305 function, so it follows changes in calendar-date-style.
26306 (diary-fancy-date-matcher): New function.
26307 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26308 (diary-fancy-font-lock-fontify-region-function):
26309 Use diary-fancy-date-pattern as a function.
26311 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26312 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26314 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26316 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26317 instead of positional arguments. Allow :keylist and :crlfiles
26319 (open-gnutls-stream): Call it.
26321 * net/network-stream.el (network-stream-open-starttls): Adjust to
26322 call `gnutls-negotiate' with :process and :hostname arguments.
26324 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26326 * minibuffer.el (completion--message): New function.
26327 (completion--do-completion, minibuffer-complete)
26328 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26329 (completion--do-completion): Don't ignore completion-auto-help when in
26332 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26333 internal encoding (e.g. tibetan zero is not whitespace).
26334 (global-whitespace-mode): Prefer save-current-buffer.
26335 (whitespace-trailing-regexp): Remove useless save-match-data.
26336 (whitespace-empty-at-bob-regexp): Minor simplification.
26338 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26340 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26342 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26344 * textmodes/ispell.el (ispell-add-per-file-word-list):
26345 Use `concat' to create string for insertion.
26347 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26349 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26350 Avoid open-line which runs post-self-insert-hook.
26351 (bibtex-fill-entry): Remove unused `end' var.
26353 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26355 * textmodes/ispell.el (ispell-add-per-file-word-list):
26356 Protect against `nil' value of `comment-start' (Bug#8579).
26358 2011-05-03 Leo Liu <sdl.web@gmail.com>
26360 * isearch.el (isearch-yank-pop): New command.
26361 (isearch-mode-map): Bind it to `M-y'.
26362 (isearch-forward): Mention it.
26364 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26366 * simple.el (minibuffer-complete-shell-command): Remove.
26367 (minibuffer-local-shell-command-map): Use completion-at-point.
26368 (read-shell-command): Setup completion vars here instead.
26369 (read-expression-map): Bind TAB to symbol completion.
26371 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26372 error directly rather via storing it into `results'.
26374 2011-05-02 Leo Liu <sdl.web@gmail.com>
26376 * vc/diff.el: Fix description.
26378 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26380 * server.el (server-eval-at): New function.
26382 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26384 * net/network-stream.el (open-network-stream): Take a :nowait
26385 parameter and pass it on to `make-network-process'.
26386 (network-stream-open-plain): Ditto.
26388 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26390 * faces.el (face-spec-set-match-display): Don't match toolkit
26391 options on terminal frames.
26393 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26395 * progmodes/pascal.el: Use lexical binding.
26396 (pascal-mode-map): Remove author preferences.
26398 * pcomplete.el (pcomplete-std-complete): Don't abuse
26399 completion-at-point.
26401 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26403 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26404 removing code that has been dead since 1991 or so.
26406 * startup.el (command-line): When warning about "_emacs", use a
26407 delayed warning to allow the user to filter it out.
26409 2011-04-28 Deniz Dogan <deniz@dogan.se>
26411 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26412 user has not joined.
26414 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26416 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26417 aren't any completions at point.
26419 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26421 * subr.el (display-delayed-warnings): New function.
26422 (delayed-warnings-hook): New variable.
26424 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26426 * minibuffer.el (completion-at-point, completion-help-at-point):
26427 Don't presume that a given completion-at-point-function will always
26428 use the same calling convention.
26430 * pcomplete.el (pcomplete-completions-at-point):
26431 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26432 pcomplete-seen is non-nil.
26433 (pcomplete-comint-setup): Also recognize the new comint/shell
26434 completion functions.
26435 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26436 pcomplete-seen is non-nil.
26438 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26440 * calendar/icalendar.el (diary-lib): Add require statement.
26441 (icalendar--create-uid): Read out a uid from a text-property on
26442 the first character in the entry. This allows for code to add its
26443 own uid to the entry.
26444 (icalendar--convert-float-to-ical): Add export of
26445 `diary-float'-entries save for those with the optional DAY
26448 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26450 * subr.el (shell-quote-argument): Use alternate escaping strategy
26451 when we spot a variable reference in a string.
26453 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26455 * cus-start.el (all): Define customization for debug-on-event.
26457 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26459 * subr.el (shell-quote-argument): Escape correctly under Windows.
26461 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26463 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26465 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26467 * net/tramp.el (tramp-process-actions): Add POS argument.
26468 Delete region between POS and (pos).
26470 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26471 Use `nil' position in `tramp-process-actions' call.
26472 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26474 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26475 position in `tramp-process-actions' call.
26477 * net/trampver.el: Update release number.
26479 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26481 * custom.el (defcustom): Obey lexical-binding.
26483 Fix octave-inf completion problems reported by Alexander Klimov.
26484 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26485 Inherit from octave-mode-syntax-table.
26486 (inferior-octave-mode): Set info-lookup-mode.
26487 (inferior-octave-completion-at-point): New function.
26488 (inferior-octave-complete): Use it and completion-in-region.
26489 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26490 comint-filename-completion.
26491 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26492 symbol elements which shouldn't be word elements.
26493 (octave-font-lock-keywords, octave-beginning-of-defun)
26494 (octave-function-header-regexp): Adjust regexps accordingly.
26495 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26497 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26499 * net/gnutls.el (gnutls-errorp): Declare before first use.
26501 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26503 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26504 verify-error, and verify-hostname-error parameters. Check whether
26505 default trustfile exists before going to use it. Add missing
26506 argument to gnutls-message-maybe call. Return value.
26507 Reported by Claudio Bley <claudio.bley@gmail.com>.
26508 (open-gnutls-stream): Add usage example.
26510 * net/network-stream.el (network-stream-open-starttls): Give host
26511 parameter to `gnutls-negotiate'.
26512 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26513 * subr.el (shell-quote-argument): Escape correctly under Windows.
26515 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26517 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26518 Use correct match group (bug#8438).
26520 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26522 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26523 (package-menu--generate): New arg specifying packages to show.
26524 (package-menu-refresh, package-menu-execute, list-packages):
26526 (package-show-package-list): New function, replacing deleted
26527 package--list-packages (renamed because it is non-internal).
26529 * finder.el (finder-list-matches): Use package-show-package-list
26530 instead of deleted package--list-packages.
26532 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26533 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26534 (vc-annotate-mode-map): Bind it to RET.
26536 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26538 * progmodes/etags.el (next-file): Don't use set-buffer to change
26539 buffers (Bug#8478).
26541 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26543 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26545 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26546 (apropos-accumulator): Doc fix.
26547 (apropos-function, apropos-macro, apropos-command)
26548 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26549 (apropos-plist): Add face property.
26550 (apropos-symbols-internal): Fix indentation.
26551 (apropos-print): Simplify help, and recognize apropos-multi-type.
26552 (apropos-print-doc): Use button-type-get to extract the button's
26553 face property. Fill docstring (Bug#8352).
26555 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26557 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26559 * play/mpuz.el (mpuz-silent): Doc fix.
26560 (mpuz-mode-map): Use mapc.
26561 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26562 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26563 Fix typos in docstrings.
26565 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26566 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26568 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26570 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26572 * minibuffer.el (completion--do-completion): Avoid the "Next char
26573 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26575 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26576 mouse-2 into unread-command-events, it is interpreted correctly.
26578 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26579 (image-toggle-display): Doc fix.
26581 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26583 * textmodes/page.el (what-page): Use line-number-at-pos to
26584 calculate line number (Bug#6825).
26586 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26588 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26589 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26590 Pass argument NO-DEFAULT to `find-tag-interactive'.
26592 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26594 Lexical-binding cleanup.
26596 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26597 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26598 * progmodes/ada-prj.el (ada-prj-initialize-values)
26599 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26600 (ada-prj-show-value):
26601 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26602 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26603 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26604 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26605 * progmodes/bug-reference.el (bug-reference-push-button):
26606 * progmodes/fortran.el (fortran-line-length):
26607 * progmodes/glasses.el (glasses-change):
26608 * progmodes/octave-mod.el (octave-fill-paragraph):
26609 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26610 (python-pdbtrack-grub-for-buffer, python-sentinel):
26611 * progmodes/sql.el (sql-save-connection):
26612 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26613 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26614 Mark unused parameters.
26616 * progmodes/compile.el (compilation--flush-directory-cache)
26617 (compilation--flush-parse, compile-internal): Mark unused parameters.
26618 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26619 (compilation-next-error-function): Remove unused variable `timestamp'.
26621 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26622 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26624 * progmodes/dcl-mode.el (dcl-end-of-command):
26625 Remove unused variable `start'.
26626 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26627 (dcl-option-value-basic, dcl-option-value-offset)
26628 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26629 Mark unused parameters.
26630 (dcl-save-local-variable): Remove unused variable `val'.
26633 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26634 Mark unused parameters.
26635 (delphi-ignore-changes): Move before first use.
26636 (delphi-charset-token-at): Remove unused variable `start'.
26637 (delphi-else-start): Remove unused variable `if-count'.
26638 (delphi-comment-block-start, delphi-comment-block-end):
26639 Remove unused variable `kind'.
26640 (delphi-indent-line): Remove unused variable `new-point'.
26642 * progmodes/ebrowse.el (ebrowse-files-list)
26643 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26644 Mark unused parameters. Don't quote `lambda'.
26645 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26646 Don't quote `lambda'.
26647 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26648 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26649 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26650 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26651 Use `ignore-errors'.
26652 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26653 (ebrowse-view/find-file-and-search-pattern)
26654 (ebrowse-view/find-member-declaration/definition):
26655 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26656 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26657 Rename parameter PREFIX-ARG to PREFIX.
26658 (ebrowse-tags-read-name): Remove unused variables `start' and
26660 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26663 * progmodes/etags.el (local-find-tag-hook): Declare.
26664 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26665 Mark unused parameters.
26667 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26668 (executable-interpret): Mark unused parameter.
26670 * progmodes/flymake.el (flymake-process-sentinel)
26671 (flymake-after-change-function)
26672 (flymake-create-temp-with-folder-structure)
26673 (flymake-get-include-dirs-dot): Mark unused parameters.
26674 (flymake-safe-delete-directory): Remove unused variable `err'.
26676 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26677 (speedbar-timer-fn, speedbar-line-text)
26678 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26679 (speedbar-center-buffer-smartly): Declare functions.
26680 (gdb-find-watch-expression): Remove unused variable `array'.
26681 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26682 (gdb-starting): Mark unused parameters.
26683 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26684 (gdb-table-string): Remove unused variable `res'.
26685 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26686 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26687 (gdb-display-buffer): Remove unused variable `cur-size'.
26689 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26690 allow lexical-binding compilation.
26691 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26692 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26693 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26694 Mark unused parameters.
26695 (gud-gdb-marker-filter): Remove unused variable `match'.
26696 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26697 lambda expressions and funcall them, instead of using `fset'.
26699 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26700 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26702 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26703 variable `header-beg'; use `let'.
26705 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26706 `restart', `last-sexp' and `at-do'.
26708 * progmodes/js.el (js--debug): Mark unused parameter.
26709 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26710 (js--splice-into-items): Remove unused variable `item'.
26711 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26713 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26714 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26715 (makefile-complete): Remove unused variable `try'.
26716 (makefile-fill-paragraph, makefile-match-function-end):
26717 Mark unused parameters.
26719 * progmodes/octave-inf.el (inferior-octave-complete):
26720 Remove unused variable `proc'.
26721 (inferior-octave-output-digest): Mark unused parameter.
26723 * progmodes/perl-mode.el (perl-calculate-indent):
26724 Remove unused variable `err'.
26726 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26727 (prolog-indent-line): Mark unused parameters.
26728 (prolog-indent-line): Remove unused variable `beg'.
26730 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26731 (reporter-dont-compact-list): Declare.
26733 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26734 Remove unused variable `char'.
26735 (sh-debug): Mark unused parameter.
26736 (sh-get-indent-info): Remove unused variable `start'.
26737 (sh-calculate-indent): Remove unused variable `var'.
26739 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26740 (simula-electric-keyword): Remove unused variable `null'.
26741 (simula-search-backward, simula-search-forward): Remove unused
26742 variables `begin' and `end'.
26744 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26745 Remove unused variable `pos'.
26746 (vera-electric-tab, vera-comment-uncomment-region):
26747 Mark unused parameters.
26748 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26750 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26752 * emacs-lisp/package.el (package--builtins, package-alist)
26753 (package-load-descriptor, package-built-in-p, package-activate)
26754 (define-package, package-installed-p)
26755 (package-compute-transaction, package-buffer-info)
26756 (package--push): Doc fix. Distinguish more clearly between
26757 version strings and version lists.
26759 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26761 Lexical-binding cleanup.
26763 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26764 (5x5-make-mutate-best):
26765 * play/fortune.el (fortune-in-buffer):
26766 * play/gomoku.el (gomoku-init-display):
26767 * play/solitaire.el (solitaire, solitaire-do-check):
26768 * play/tetris.el (tetris-default-update-speed-function):
26769 Mark unused parameters.
26771 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26772 (bubbles--shift): Remove unused variable `char-org'.
26773 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26774 (bubbles--show-images): Remove unused variable `char'.
26776 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26777 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26778 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26779 (decipher-analyze-buffer): Use ?\s.
26780 (decipher-make-checkpoint): Remove unused variable `mapping'.
26782 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26784 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26785 Remove unused variable `result'; use `let'.
26787 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26788 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26789 (gametree-children-shown-p, gametree-compute-reduced-score):
26790 Use `ignore-errors'.
26792 * play/handwrite.el (ps-lpr-switches): Declare.
26793 (handwrite): Remove unused variables `pmin' and `lastp'.
26795 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26797 * play/landmark.el (landmark-init-display)
26798 (landmark-update-naught-weights): Mark unused parameters.
26799 (landmark-y): Remove unused variable `noise'. Simplify.
26800 (landmark-human-plays): Remove unused variable `score'.
26802 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26803 (mpuz-try-proposal): Remove unused variable `game'.
26805 * play/zone.el (life-patterns): Declare.
26807 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26809 * vc/vc.el (ediff-vc-internal): Declare function.
26811 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26813 * shell.el: Use lexical-binding and std completion UI.
26814 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26815 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26816 comint-preoutput-filter-functions rather than on
26817 comint-output-filter-functions.
26818 (shell-command-completion, shell--command-completion-data)
26819 (shell-filename-completion, shell-environment-variable-completion)
26820 (shell-c-a-p-replace-by-expanded-directory): New functions.
26821 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26822 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26823 (shell-dynamic-complete-environment-variable): Use them.
26824 (shell-dynamic-complete-as-environment-variable)
26825 (shell-dynamic-complete-as-command): Remove.
26826 (shell-match-partial-variable): Match past point.
26827 * comint.el: Clean up use of completion-at-point-functions.
26828 (comint-completion-at-point): New function.
26829 (comint-mode): Use it completion-at-point-functions.
26830 (comint-dynamic-complete): Make it obsolete.
26831 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26832 (comint-c-a-p-replace-by-expanded-history): New function.
26833 (comint-dynamic-complete-functions)
26834 (comint-replace-by-expanded-history): Use it.
26835 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26836 termination strings. Try harder to avoid second try-completion.
26837 (completion-in-region-mode-map): Disable bindings that don't work yet.
26839 * comint.el: Use lexical-binding. Require CL.
26840 (comint-dynamic-complete-functions): Use comint-filename-completion.
26841 (comint-completion-addsuffix): Tweak custom type.
26842 (comint-filename-completion, comint--common-suffix)
26843 (comint--common-quoted-suffix, comint--table-subvert)
26844 (comint--complete-file-name-data): New functions.
26845 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26846 (comint-dynamic-list-filename-completions): Use them.
26847 (comint-dynamic-simple-complete): Make obsolete.
26849 * minibuffer.el (completion-in-region-mode):
26850 Keep completion-in-region-mode--predicate global.
26851 (completion-in-region--postch):
26852 Assume completion-in-region-mode--predicate is not null.
26854 * progmodes/flymake.el (flymake-start-syntax-check-process):
26855 Obey `dir'. Simplify.
26857 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26858 we're in VC after all.
26860 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26862 * vc/vc.el (vc-diff-build-argument-list-internal)
26863 (vc-version-ediff, vc-ediff): New commands.
26864 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26866 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26868 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26871 * obsolete/erc-hecomplete.el: Make obsolete.
26872 * obsolete/: Standardize obsolescence info in the header.
26874 2011-04-20 Glenn Morris <rgm@gnu.org>
26876 * calendar/solar.el (solar-horizontal-coordinates):
26877 Use the longitude argument rather than `calendar-longitude'.
26878 (solar-date-next-longitude): Remove unused locals.
26880 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26882 * whitespace.el: New version 13.2.1.
26884 2011-04-20 felix <EmacsWiki> (tiny change)
26886 * whitespace.el (global-whitespace-mode): Keep highlight when
26887 switching between major modes on a file.
26889 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26891 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26892 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26893 multi-line comments as well.
26895 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26897 Lexical-binding cleanup.
26899 * arc-mode.el (archive-mode-revert):
26900 * cmuscheme.el (scheme-interactively-start-process):
26901 * custom.el (custom-initialize-delay):
26902 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26903 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26904 * emacs-lock.el (emacs-lock-clear-sentinel):
26905 * ezimage.el (defezimage):
26906 * follow.el (follow-avoid-tail-recenter):
26907 * fringe.el (set-fringe-mode-1):
26908 * generic-x.el (bat-generic-mode-compile):
26909 * help-mode.el (help-info-variable, help-do-xref)
26910 (help-mode-revert-buffer):
26911 * help.el (view-emacs-todo):
26912 * iswitchb.el (iswitchb-completion-help):
26913 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26914 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26915 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26916 * locate.el (locate-update):
26917 * longlines.el (longlines-encode-region)
26918 (longlines-after-change-function):
26919 * outline.el (outline-isearch-open-invisible):
26920 * ps-def.el (declare-function, charset-dimension, char-width)
26922 * ps-mule.el (ps-mule-plot-string):
26923 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26924 (recentf-edit-list-select, recentf-edit-list-validate)
26925 (recentf-open-files-action):
26926 * rect.el (delete-whitespace-rectangle-line)
26927 (rectangle-number-line-callback):
26928 * register.el (window-configuration-to-register)
26929 (frame-configuration-to-register):
26930 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26931 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26932 (xselect-convert-to-targets, xselect-convert-to-delete)
26933 (xselect-convert-to-filename, xselect-convert-to-charpos)
26934 (xselect-convert-to-lineno, xselect-convert-to-colno)
26935 (xselect-convert-to-os, xselect-convert-to-host)
26936 (xselect-convert-to-user, xselect-convert-to-class)
26937 (xselect-convert-to-name, xselect-convert-to-integer)
26938 (xselect-convert-to-atom, xselect-convert-to-identity):
26939 * subr.el (declare, ignore, process-kill-without-query)
26940 (text-clone-maintain):
26941 * terminal.el (te-get-char, te-tic-sentinel):
26942 * tool-bar.el (tool-bar-make-keymap):
26943 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26944 * type-break.el (type-break-mode, type-break-noninteractive-query):
26945 * view.el (View-back-to-mark):
26946 * wid-browse.el (widget-browse-action, widget-browse-widget)
26947 (widget-browse-widgets, widget-browse-sexp):
26948 * widget.el (define-widget-keywords):
26949 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26950 Mark unused parameters.
26952 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26953 (align-areas): Remove unused variable `look'.
26954 (align-region): Remove unused variables `real-end' and `pos-list'.
26956 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26958 * bindings.el (mode-line-modified, mode-line-remote):
26959 Mark unused parameters.
26960 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26962 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26963 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26965 * comint.el (comint-history-isearch-pop-state)
26966 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26967 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26968 (comint-substitute-in-file-name): Doc fix.
26970 * completion.el (cmpl-statistics-block): Mark unused parameter.
26971 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26972 (save-completions-to-file, load-completions-from-file):
26973 Remove unused local variable `e'.
26975 * composite.el (compose-chars): Remove unused variable `len'.
26976 (lgstring-insert-glyph): Remove unused variable `g'.
26977 (compose-glyph-string): Remove unused variables `ascent',
26978 `descent', `lbearing' and `rbearing'.
26979 (compose-glyph-string-relative): Remove unused variables
26980 `lbearing', `rbearing' and `wadjust'.
26981 (compose-gstring-for-graphic): Remove unused variables `header',
26982 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26983 (compose-gstring-for-terminal): Remove unused variables `header'
26984 and `nchars'. Use `let', not `let*'.
26986 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26987 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26988 (Custom-buffer-done, custom-buffer-create-internal)
26989 (custom-browse-visibility-action, custom-browse-group-tag-action)
26990 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26991 (widget-magic-mouse-down-action, custom-toggle-parent)
26992 (custom-add-parent-links, custom-toggle-hide-variable)
26993 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26994 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26995 (custom-face-menu-create, custom-variable-menu-create, get)
26996 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26997 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26998 (customize-apropos): Remove unused variable `tests'.
26999 (custom-group-value-create): Remove unused variable `hidden-p'.
27000 (sort-fold-case): Declare.
27002 * cus-theme.el (custom-reset-standard-faces-list)
27003 (custom-reset-standard-variables-list): Declare.
27004 (customize-create-theme, custom-theme-revert, custom-theme-write)
27005 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27006 Mark unused parameters.
27008 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27010 * delim-col.el (delimit-columns-max): Move defvar before first use.
27012 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27013 (describe-char): Don't quote `lambda'. Mark unused parameter.
27015 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27016 (auto-insert): Declare.
27017 (desktop-restore-file-buffer): Rename desktop-* parameters;
27019 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27020 (desktop-buffer): Rename desktop-* parameters.
27022 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27023 (dframe-reposition-frame-xemacs, dframe-help-echo)
27024 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27025 Mark unused parameters.
27027 * dired-aux.el (backup-extract-version-start, overwrite-query)
27028 (overwrite-backup-query, rename-regexp-query)
27029 (rename-non-directory-query): Declare.
27030 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27031 (dired-add-entry): Remove unused variable `orig-file-name'.
27032 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27033 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27034 `dired-copy-preserve-time' directly.
27035 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27036 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27038 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27039 (dired-virtual-revert, dired-make-relative-symlink):
27040 Mark unused parameters.
27041 (manual-program): Declare.
27042 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27043 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27044 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27046 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27048 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27050 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27053 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27055 * electric.el (Electric-command-loop): Rename parameter
27056 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27058 * expand.el (expand-in-literal): Remove unused variable `here'.
27060 * facemenu.el (facemenu-add-new-color):
27061 Remove unused variable `docstring'.
27063 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27064 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27065 (face-attr-construct): Mark unused parameter. Doc fix.
27066 (read-color): Remove unused variable `hex-string'.
27068 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27069 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27070 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27071 (display-buffer-other-frame): Remove unused variable `old-window'.
27072 (kill-buffer-hook): Declare.
27073 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27074 Mark unused parameters.
27075 (after-find-file): Pass 1 to `auto-save-mode', not t.
27077 * files-x.el (auto-insert): Declare.
27078 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27080 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27081 variable `buf'. Mark unused parameter.
27082 (find-lisp-insert-directory): Mark unused parameter.
27084 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27085 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27086 (format-common-tail): Remove, unused.
27087 (format-deannotate-region): Remove unused variable `loc'.
27088 (format-annotate-region): Remove unused variable `p'.
27089 (format-annotate-single-property-change): Remove unused variables
27090 `default' and `tail'.
27092 * forms.el (read-file-filter): Declare.
27093 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27095 * frame.el (frame-creation-function-alist): Mark unused parameter.
27096 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27098 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27099 Remove unused parameters.
27100 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27101 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27103 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27104 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27105 (hfy-prepare-tag-map): Mark unused parameters.
27106 (htmlfontify-buffer): Use `called-interactively-p'.
27108 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27109 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27110 (ibuffer-do-occur): Mark unused parameters.
27111 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27112 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27114 * ibuffer.el: Don't quote `lambda'.
27115 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27116 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27117 Mark unused parameters.
27119 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27120 (ido-completing-read): Mark unused parameters.
27121 (ido-copy-current-word): Mark unused parameters;
27122 remove unused variable `name'.
27123 (ido-sort-merged-list): Remove unused parameter `dirs'.
27125 * ielm.el (ielm-input-sender): Mark unused parameter.
27126 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27127 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27128 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27129 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27130 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27132 * image-dired.el (image-dired-display-thumbs): Remove unused
27133 variables `curr-file' and `count'.
27134 (image-dired-remove-tag): Remove unused variable `start'.
27135 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27136 variable `curr-file'
27137 (image-dired-rotate-original): Remove unused variable `temp-file'.
27138 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27139 Remove unused variable `file'.
27140 (image-dired-gallery-generate): Remove unused variable `curr'.
27141 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27143 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27145 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27147 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27149 * isearch.el (minibuffer-history-symbol): Declare.
27150 (isearch-edit-string): Remove unused variable `err'.
27151 (isearch-message-prefix, isearch-message-suffix):
27152 Mark unused parameters.
27154 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27156 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27158 * makesum.el (double-column): Remove unused variable `cnt'.
27160 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27161 (ido-ignore-item-temp-list): Declare.
27163 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27164 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27165 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27166 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27169 * mouse-sel.el (mouse-extend-internal):
27170 Remove unused variable `orig-window-frame'.
27172 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27173 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27174 Move declarations before first use.
27175 (pcomplete-opt): Mark unused parameters; doc fix.
27177 * proced.el (proced-revert): Mark unused parameter.
27178 (proced-send-signal): Remove unused variable `err'.
27180 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27181 Rename parameter PREFIX-ARG to ARG.
27182 (ps-basic-plot-string, ps-basic-plot-whitespace):
27183 Mark unused parameters.
27185 * replace.el (replace-count): Define.
27186 (occur-revert-function): Mark unused parameters.
27187 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27188 (isearch-case-fold-search, isearch-string): Declare.
27189 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27190 bind `case-fold-search'. Remove unused variables `beg' and `end',
27192 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27193 COUNT and bind `replace-count'.
27194 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27197 * savehist.el (print-readably, print-string-length): Declare.
27199 * shadowfile.el (shadow-expand-cluster-in-file-name):
27200 Remove unused variable `cluster'.
27201 (shadow-copy-file): Remove unused variable `i'.
27202 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27203 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27204 (shadow-define-literal-group, shadow-define-regexp-group)
27205 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27207 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27208 (shell): Use `called-interactively-p'.
27209 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27211 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27212 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27213 (delete-backward-char): Remove unused variable `ocol'.
27214 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27215 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27216 (event-apply-hyper-modifier, event-apply-shift-modifier)
27217 (event-apply-control-modifier, event-apply-meta-modifier):
27218 Mark unused parameters.
27219 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27220 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27222 * speedbar.el (speedbar-ignored-directory-expressions)
27223 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27224 (speedbar-find-file, speedbar-dir-follow)
27225 (speedbar-directory-buttons-follow, speedbar-tag-find)
27226 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27227 (speedbar-buffers-line-directory, speedbar-buffer-click):
27228 Mark unused parameters.
27229 (speedbar-tag-file): Remove unused variable `mode'.
27230 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27232 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27234 * talk.el (talk): Remove unused variable `display'.
27236 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27237 (tar-write-region-annotate): Mark unused parameter.
27239 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27240 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27241 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27242 warning by another.
27244 * time-stamp.el (time-stamp-string-preprocess):
27245 Remove unused variable `require-padding'.
27247 * tree-widget.el (widget-glyph-enable): Declare.
27248 (tree-widget-action): Mark unused parameter.
27250 * w32-fns.el (x-get-selection): Mark unused parameter.
27251 (autoload-make-program, generated-autoload-file): Declare.
27253 * wdired.el (wdired-revert): Mark unused parameters.
27254 (wdired-xcase-word): Remove unused variable `err'.
27256 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27257 (whitespace-help-scroll): Remove unused variable `data-help'.
27259 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27260 (widget-image-insert, widget-after-change, default)
27261 (widget-default-format-handler, widget-default-notify)
27262 (widget-default-prompt-value, widget-info-link-action)
27263 (widget-url-link-action, widget-function-link-action)
27264 (widget-variable-link-action, widget-file-link-action)
27265 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27266 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27267 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27268 (widget-insert-button-action, widget-delete-button-action, visibility)
27269 (widget-documentation-link-action, widget-documentation-string-action)
27270 (widget-const-prompt-value, widget-regexp-match, symbol)
27271 (widget-coding-system-prompt-value)
27272 (widget-key-sequence-value-to-external, sexp)
27273 (widget-sexp-value-to-internal, character, vector, cons)
27274 (widget-choice-prompt-value, widget-boolean-prompt-value)
27275 (widget-color--choose-action): Mark unused parameters.
27276 (widget-item-match-inline, widget-choice-match-inline)
27277 (widget-checklist-match, widget-checklist-match-inline)
27278 (widget-group-match): Rename parameter VALUES to VALS.
27279 (widget-field-value-set): Remove unused variable `size'.
27280 (widget-color-action): Remove unused variables `value' and `start'.
27282 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27283 variable `dir'. Doc fix.
27284 (windmove-find-other-window): Don't pass it.
27286 * window.el (count-windows): Mark unused parameter.
27287 (bw-adjust-window): Remove unused variable `err'.
27289 * woman.el (woman-file-name): Remove unused variable `default'.
27290 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27291 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27292 (global-font-lock-mode): Declare.
27293 (woman-decode-region): Mark unused parameter.
27294 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27296 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27297 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27298 (x-dnd-handle-moz-url): Remove unused variable `title'.
27299 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27301 * xml.el (xml-parse-tag, xml-parse-attlist):
27302 Remove unused variable `pos'.
27304 2011-04-19 Glenn Morris <rgm@gnu.org>
27306 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27307 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27308 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27309 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27310 * calendar/cal-html.el (cal-html-insert-minical):
27311 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27312 (calendar-mark-date-pattern):
27313 Prefix "unused" locals.
27315 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27316 optional argument `style'.
27318 * calendar/appt.el (appt-make-list):
27319 * calendar/cal-china.el (calendar-chinese-date-string):
27320 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27321 (diary-hebrew-yahrzeit):
27322 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27323 * calendar/calendar.el (calendar-generate-window):
27324 * calendar/time-date.el (time-to-days):
27325 Remove unused local variables.
27327 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27329 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27330 glyphless-char-display table.
27331 (tabulated-list-glyphless-char-display): New var.
27333 2011-04-18 Sam Steingold <sds@gnu.org>
27335 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27336 to acknowledgments.
27338 2011-04-17 Glenn Morris <rgm@gnu.org>
27340 * calendar/diary-lib.el (diary-sexp-entry):
27341 * calendar/holidays.el (holiday-sexp):
27342 Set debug-on-error rather than the removed stack-trace-on-error.
27344 2011-04-16 Glenn Morris <rgm@gnu.org>
27346 * progmodes/f90.el: Use lexical-binding.
27347 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27349 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27351 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27352 (mail-mode): Setup mailalias completion here instead.
27353 * mail/mailalias.el: Use lexical-binding.
27354 (pattern, mailalias-done): Declare dynamic.
27355 (mail-completion-at-point-function): New function, from mail-complete.
27356 (mail-complete): Use it.
27357 (mail-completion-expand): New function.
27358 (mail-get-names): Use it.
27359 (mail-directory, mail-directory-process, mail-directory-stream):
27360 Don't use `pattern' for lexically bound arg.
27362 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27364 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27365 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27366 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27368 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27369 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27370 (byte-interactive-p): Define them again, for use when inlining
27373 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27375 * loadup.el: Use `string-to-number', not `string-to-int'.
27377 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27379 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27380 gud-gdb-complete-command.
27381 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27382 (gud-gdb-completion-at-point): New function.
27383 (gud-gdb-completions): Remove.
27385 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27387 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27388 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27389 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27390 whether `executable-find' is bound.
27392 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27394 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27396 * minibuffer.el (completion-in-region-mode-predicate)
27397 (completion-in-region-mode--predicate): New vars.
27398 (completion-in-region, completion-in-region--postch)
27399 (completion-in-region-mode): Use them.
27400 (completion--capf-wrapper): Also return the hook function.
27401 (completion-at-point, completion-help-at-point):
27402 Adjust and provide a predicate.
27404 Preserve arg names for advice of subr and lexical functions (bug#8457).
27405 * help-fns.el (help-function-arglist): Consolidate the subr and
27406 new-byte-code cases. Add argument `preserve-names' to extract names
27407 from the docstring when needed.
27408 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27409 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27410 (ad-arglist): Use help-function-arglist's new arg.
27411 (ad-definition-type): Use cond.
27413 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27415 * autorevert.el (auto-revert-handler):
27416 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27417 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27418 Don't quote lambda.
27420 * image-mode.el (image-transform-set-scale):
27421 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27423 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27425 * net/network-stream.el (network-stream-open-starttls): Only do
27426 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27427 Upgrades via gnutls-cli are too slow to be done opportunistically.
27429 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27431 * dframe.el (dframe-current-frame): Remove spurious quote.
27433 2011-04-12 Glenn Morris <rgm@gnu.org>
27435 * calendar/cal-tex.el (cal-tex-end-document):
27436 Try to automatically use latin1 input if needed.
27438 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27439 Don't try to cons a mark onto an empty element.
27441 2011-04-11 Leo Liu <sdl.web@gmail.com>
27443 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27445 (ido-kill-buffer-at-head): Support killing virtual buffers.
27447 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27449 * minibuffer.el (completion-show-inline-help): New var.
27450 (completion--do-completion, minibuffer-complete)
27451 (minibuffer-force-complete, minibuffer-complete-word):
27452 Inhibit minibuffer messages if completion-show-inline-help is nil.
27454 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27455 to avoid interference from inline help (Bug#5849).
27457 2011-04-10 Leo Liu <sdl.web@gmail.com>
27459 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27462 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27464 * image-mode.el (image-toggle-display-image): Signal an error if
27466 (image-transform-mode, image-transform-resize)
27467 (image-transform-set-rotation): Doc fix.
27468 (image-transform-set-resize): Delete.
27469 (image-transform-set-scale, image-transform-fit-to-height)
27470 (image-transform-fit-to-width): Handle image-toggle-display-image
27471 and image-transform-resize directly.
27473 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27475 * doc-view.el (doc-view-fit-width-to-window)
27476 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27477 New functions for fitting the shown image to the Emacs window size.
27478 (doc-view-mode-map): Add bindings for the new functions.
27480 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27482 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27483 Fix typo in docstring.
27485 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27487 * files.el (file-size-human-readable): Produce one digit after
27488 decimal, like "ls -lh" does.
27490 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27491 the file size representation.
27493 * simple.el (list-processes): If async subprocesses are not
27494 available, error out with a clear error message.
27496 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27498 * help.el (help-form-show): New function, to be called from C.
27499 Put help-form output in a buffer named differently than *Help*.
27501 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27503 * files.el (file-size-human-readable): New function.
27505 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27506 computing the representation inline. Don't require `cl'.
27508 2011-04-08 Glenn Morris <rgm@gnu.org>
27510 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27512 * net/browse-url.el (browse-url-firefox):
27513 Test system-type, not system-configuration.
27515 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27516 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27517 Use log-edit-empty-buffer-p. (Bug#7598)
27519 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27520 (rlogin-mode-map): Initialize in the defvar.
27521 (rlogin): Use ignore-errors.
27523 * replace.el (occur-mode-map): Some fixes for menu items.
27525 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27527 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27529 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27531 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27532 issuing unused warnings.
27534 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27537 * simple.el: Lisp reimplement of list-processes. Based on an
27538 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27539 (process-menu-mode): New major mode.
27540 (list-processes--refresh, list-processes):
27541 (process-menu-visit-buffer): New functions.
27543 * files.el (save-buffers-kill-emacs): Don't assume any return
27544 value of list-processes, which is undocumented anyway.
27546 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27548 * emacs-lisp/tabulated-list.el: New file.
27550 * emacs-lisp/package.el: Use Tabulated List mode.
27551 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27552 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27553 table format using Tabulated List mode variables.
27554 (package--push): New macro, replacing package-list-maybe-add.
27555 (package-menu--generate): Use package--push. Renamed from
27556 package--generate-package-list.
27557 (package-menu-refresh, list-packages): Use it.
27558 (package-menu--print-info): Rename from package-print-package.
27559 Return insertion data instead of inserting it directly.
27560 (package-menu-describe-package, package-menu-execute):
27561 Use tabulated-list-get-id.
27562 (package-menu-mark-delete, package-menu-mark-install)
27563 (package-menu-mark-unmark, package-menu-backup-unmark)
27564 (package-menu-mark-obsolete-for-deletion):
27565 Use tabulated-list-put-tag.
27566 (package--list-packages, package-menu-revert)
27567 (package-menu-get-package, package-menu-get-version)
27568 (package-menu-sort-by-column): Functions deleted.
27569 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27570 (package-menu--status-predicate, package-menu--version-predicate)
27571 (package-menu--name-predicate)
27572 (package-menu--description-predicate): Handle arguments in the
27573 Tabulated List format.
27574 (package-list-packages-no-fetch): Call list-packages.
27576 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27578 * files.el (after-find-file-from-revert-buffer): Remove variable.
27579 (after-find-file): Don't bind it.
27580 (revert-buffer-in-progress-p): New variable.
27581 (revert-buffer): Bind it.
27582 Pass nil for `after-find-file-from-revert-buffer'.
27584 * saveplace.el (save-place-find-file-hook): Use new variable
27585 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27587 2011-04-06 Glenn Morris <rgm@gnu.org>
27589 * Makefile.in (AUTOGEN_VCS): New variable.
27590 (autoloads): Use $AUTOGEN_VCS.
27592 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27593 * calendar/calendar.el (calendar-mode-map):
27594 Check for toolkit scroll bars. (Bug#8305)
27596 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27598 * minibuffer.el (completion-in-region--postch)
27599 (completion-in-region-mode): Remove unnecessary messages.
27601 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27603 * font-lock.el (font-lock-refresh-defaults):
27604 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27605 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27607 * info.el (Info-directory-list, Info-read-node-name-2)
27608 (Info-split-parameter-string): Doc fixes.
27609 (Info-virtual-nodes): Reflow docstring.
27610 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27611 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27612 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27613 Fix typos in docstrings.
27614 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27615 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27616 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27617 (Info-restore-desktop-buffer): Mark unused parameters.
27618 (Info-directory-find-file, Info-directory-find-node)
27619 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27620 (Info-virtual-index-find-node, Info-apropos-find-file)
27621 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27622 Mark unused parameters; fix typos in docstrings.
27623 (Info-virtual-index): Remove unused local variable `nodename'.
27625 2011-04-05 Deniz Dogan <deniz@dogan.se>
27627 * net/rcirc.el: Update my e-mail address.
27628 (rcirc-mode-map): Remove M-o binding.
27630 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27632 * startup.el (command-line): Save the cursor's theme-face
27633 directly, instead of using face-override-spec.
27635 * custom.el (load-theme): Minor optimization in assigning faces.
27637 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27639 * help-fns.el (describe-variable): Complete all variables having
27640 documentation, including keywords.
27641 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27643 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27645 Convert to lexical-binding.
27647 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27648 (bs--get-marked-string, bs--get-modified-string)
27649 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27650 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27651 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27653 * ehelp.el (electric-help-execute-extended)
27654 (electric-help-ctrl-x-prefix):
27655 * hexl.el (hexl-revert-buffer-function):
27656 * linum.el (linum-after-change, linum-after-scroll):
27657 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27659 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27661 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27668 * epg.el: Use lexical binding.
27670 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27672 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27674 * textmodes/flyspell.el (flyspell-word): Recognize default
27675 dictionary case for flyspell-mark-duplications-exceptions.
27676 Use regexp matching for languages.
27677 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27678 default dictionary (Bug#7926).
27680 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27682 * emacs-lisp/package.el (package--with-work-buffer):
27683 Recognize https URLs.
27685 * net/network-stream.el: Move from gnus/proto-stream.el.
27686 Change prefix to network-stream throughout.
27687 (open-protocol-stream): Merge into open-network-stream, leaving
27688 open-protocol-stream as an alias. Handle nil BUFFER args.
27690 * subr.el (open-network-stream): Move to net/network-stream.el.
27692 2011-04-02 Glenn Morris <rgm@gnu.org>
27694 * find-dired.el (find-exec-terminator): New option.
27695 (find-ls-option): Test for -ls support.
27696 (find-ls-subdir-switches): Test for -b in find-ls-option.
27697 (find-dired, find-grep-dired): Doc fixes.
27698 (find-dired): Use find-exec-terminator.
27700 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27701 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27702 (find-name-arg): Remove purecopy.
27704 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27705 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27706 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27707 accordingly. Don't add the null-device if not needed.
27709 * files.el (save-some-buffers): Doc fix.
27711 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27713 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27715 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27717 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27718 Use `dolist' rather than `mapcar'.
27720 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27722 Add lexical binding.
27724 * subr.el (apply-partially): Use new closures rather than CL.
27725 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27726 (dolist, dotimes): Use slightly different expansion for lexical code.
27727 (functionp): Move to C.
27728 (letrec): New macro.
27729 (with-wrapper-hook): Use it and apply-partially instead of CL.
27730 (eval-after-load): Preserve lexical-binding.
27731 (save-window-excursion, with-output-to-temp-buffer): Turn them
27734 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27736 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27738 (help-add-fundoc-usage): Don't add `Not documented'.
27739 (help-function-arglist): Handle closures, subroutines, and new
27740 byte-code-functions.
27741 (help-make-usage): Remove leading underscores.
27742 (describe-function-1): Handle closures.
27743 (describe-variable): Use special-variable-p for completion.
27745 * files.el (lexical-binding): Declare safe.
27747 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27748 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27749 (pcase): Add `let' pattern.
27750 Change memoization so it actually works.
27751 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27752 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27755 * emacs-lisp/macroexp.el: Use lexical binding.
27756 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27757 Don't convert ' to #' without checking that it's indeed quoting
27760 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27761 Use eval-sexp-add-defvars.
27762 (eval-sexp-add-defvars): New fun.
27764 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27766 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27768 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27769 than the internal `byte-compile-lambda'.
27770 (defmethod): Don't hide code under quotes.
27771 (eieio-defmethod): New `code' argument.
27773 * emacs-lisp/eieio-comp.el: Remove.
27775 * emacs-lisp/edebug.el (edebug-eval-defun)
27776 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27777 (edebug-toggle): Avoid `eval'.
27779 * emacs-lisp/disass.el (disassemble-internal): Handle new
27781 (disassemble-1): Handle new byte codes.
27783 * emacs-lisp/cl.el (pushnew): Silence warning.
27785 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27786 (cl-byte-compile-throw): Remove.
27787 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27789 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27792 * emacs-lisp/cconv.el: New file.
27794 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27795 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27796 (byte-compile-initial-macro-environment):
27797 Handle declare-function here.
27798 (byte-compile--lexical-environment): New var.
27799 (byte-stack-ref, byte-stack-set, byte-discardN)
27800 (byte-discardN-preserve-tos): New lap codes.
27801 (byte-interactive-p): Don't use any more.
27802 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27804 (byte-compile-lapcode): Use them and handle new lap codes.
27805 (byte-compile-obsolete): Remove.
27806 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27807 (byte-compile-arglist-warn): Check late def of inlinable funs.
27808 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27809 since they should have been expanded by now.
27810 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27811 (byte-compile-from-buffer): Remove unused second arg.
27812 (byte-compile-preprocess): New function.
27813 (byte-compile-toplevel-file-form): New function to distinguish
27814 file-form calls from outside from file-form calls from hunk-handlers.
27815 (byte-compile-file-form): Simplify.
27816 (byte-compile-file-form-defsubst): Remove.
27817 (byte-compile-file-form-defmumble): Simplify now that
27818 byte-compile-lambda always returns a byte-code-function.
27819 (byte-compile): Preprocess.
27820 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27821 Remove, not used any more.
27822 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27823 (byte-compile-make-args-desc): New funs.
27824 (byte-compile-lambda): Handle lexical functions. Always return
27825 a byte-code-function.
27826 (byte-compile-reserved-constants): New var, to make up room for
27827 closed-over variables.
27828 (byte-compile-constants-vector): Obey it.
27829 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27830 (byte-compile-macroexpand-declare-function): New function.
27831 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27832 byte-code-functions.
27833 (byte-compile-form): Check obsolescence here.
27834 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27835 (byte-compile-variable-ref): Remove.
27836 (byte-compile-dynamic-variable-op): New fun.
27837 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27838 (byte-compile-variable-set): New funs.
27839 (byte-compile-discard): Add 2 args.
27840 (byte-compile-stack-ref, byte-compile-stack-set)
27841 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27842 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27843 macroexpand-all instead.
27844 (byte-compile-quote-form): Remove.
27845 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27846 (byte-compile-bind, byte-compile-unbind): New funs.
27847 (byte-compile-let): Handle let* and lexical binding.
27848 (byte-compile-let*): Remove.
27849 (byte-compile-catch, byte-compile-unwind-protect)
27850 (byte-compile-track-mouse, byte-compile-condition-case):
27851 Handle a new :fun-body form, used for lexical scoping.
27852 (byte-compile-save-window-excursion)
27853 (byte-compile-with-output-to-temp-buffer): Remove.
27854 (byte-compile-defun): Simplify.
27855 (byte-compile-stack-adjustment): New fun.
27856 (byte-compile-out): Use it.
27857 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27859 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27862 * emacs-lisp/byte-opt.el: Use lexical binding.
27863 (byte-inline-lapcode): Remove (to bytecomp).
27864 (byte-compile-inline-expand): Pay attention to inlining to/from
27865 lexically bound code.
27866 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27868 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27869 any more and don't call compiler-macros.
27870 (byte-compile-splice-in-already-compiled-code): Remove.
27871 (byte-code): Don't inline any more.
27872 (disassemble-offset): Receive `bytes' as argument rather than via
27874 (byte-compile-tag-number): Declare before first use.
27875 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27876 `return' even if make-spliceable.
27877 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27878 obsolete interactive-p.
27879 (byte-optimize-lapcode): Optimize new lap-codes.
27880 Don't trip up on new form of `byte-constant' lap code.
27882 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27884 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27886 * custom.el (custom-initialize-default, custom-declare-variable):
27889 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27891 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27892 (COMPILE_FIRST): Add macroexp and cconv.
27893 * makefile.w32-in: Mirror changes in Makefile.in.
27895 * vc/cvs-status.el:
27899 * vc/smerge-mode.el:
27900 * textmodes/bibtex-style.el:
27901 * textmodes/css-mode.el:
27909 * emacs-lisp/smie.el:
27912 * abbrev.el: Use lexical binding.
27914 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27916 * info.el (info-display-manual): New function.
27918 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27920 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27922 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27924 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27925 an entry for that server in rcirc-authinfo. (Bug#8385)
27927 2011-03-31 Glenn Morris <rgm@gnu.org>
27929 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27931 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27933 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27935 * progmodes/python.el (python-default-interpreter)
27936 (python-python-command-args, python-jython-command-args)
27937 (python-which-shell, python-which-args, python-which-bufname)
27938 (python-file-queue, python-comint-output-filter-function)
27939 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27940 variables and functions.
27942 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27944 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27945 (completion-in-region-mode): New minor mode.
27946 (completion-in-region): Use it.
27947 (completion-in-region--data, completion-in-region-mode-map): New vars.
27948 (completion-in-region--postch): New function.
27949 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27951 (completion--capf-wrapper): New function.
27952 (completion-at-point): Use it to track well-behavedness of
27954 (completion-help-at-point): New command.
27956 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27958 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27959 syntax class to search for whitespace on a single line
27960 (Message-ID: <4D938140.4030905@redhat.com>).
27962 2011-03-30 Leo Liu <sdl.web@gmail.com>
27964 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27966 (edit-abbrevs-map): Bind them here.
27967 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27969 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27971 * allout.el (allout-hide-by-annotation, allout-flag-region):
27972 Reduce possibility of overlay leakage by making them volatile.
27974 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27975 hash is not shared between buffers. Mode initialization is
27976 responsible for giving it a useful starting value.
27977 (allout-item-span): Reduce possibility of overlay leakage by
27978 making them volatile.
27979 (allout-widgets-count-buttons-in-region): Add diagnostic function
27980 for tracking down button overlay leaks.
27982 2011-03-29 Leo Liu <sdl.web@gmail.com>
27984 * ido.el (ido-read-internal): Use the default history var
27985 minibuffer-history if no HISTORY is specified.
27987 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27989 * net/imap.el (imap-shell-open, imap-process-connection-type):
27990 Use imap-process-connection-type for 'shell' streams as well as
27991 Kerberos, SSL, other subprocesses.
27993 2011-03-28 Leo Liu <sdl.web@gmail.com>
27995 * abbrev.el (abbrev-table-empty-p): New function.
27996 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27997 nonempty ones. (Bug#5937)
27999 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28001 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28003 2011-03-27 Leo Liu <sdl.web@gmail.com>
28005 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28006 for foreground and background colors.
28007 (ansi-color-make-color-map): Adapt.
28009 2011-03-25 Leo Liu <sdl.web@gmail.com>
28011 * midnight.el (midnight-time-float): Remove. Note it calculates
28012 the microsecond component incorrectly and seconds-to-time does the
28014 Remove redundant (require 'timer).
28016 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28017 (ido-completions): Remove unused arguments. (Bug#8329)
28019 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28021 * minibuffer.el (completion--flush-all-sorted-completions):
28022 Remove itself from hook.
28023 (completion-at-point): Let the functions perform the completion
28024 immediately and return nil or t.
28025 * comint.el (comint-dynamic-complete-functions): Now identical to
28026 completion-at-point-functions.
28027 (comint-dynamic-list-input-ring): Remove unused var `index'.
28028 (comint--match-partial-filename, comint--unquote&expand-filename):
28029 New funs, split from comint-match-partial-filename.
28030 (comint-dynamic-complete): Use completion-at-point.
28031 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28033 2011-03-24 Drew Adams <drew.adams@oracle.com>
28035 * thingatpt.el: Support `defun'.
28037 2011-03-23 Leo Liu <sdl.web@gmail.com>
28039 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28041 * help-mode.el (help-mode-finish): Tweak regexp.
28043 2011-03-23 Glenn Morris <rgm@gnu.org>
28045 * eshell/esh-opt.el (eshell-eval-using-options):
28046 Do not bind unused local variable `eshell-option-stub'.
28048 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28050 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28052 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28053 keymap variable in `with-no-warnings' to avoid a warning when the
28054 keymap has been already `defconst'ed.
28056 2011-03-22 Leo Liu <sdl.web@gmail.com>
28058 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28059 encode all chars in abbrevs; otherwise use emacs-mule or
28060 utf-8-emacs. (Bug#8308)
28062 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28064 * simple.el (backward-delete-char-untabify):
28065 Avoid warning about using `delete-backward-char'.
28067 * image.el (image-type-file-name-regexps): Make it variable.
28068 `imagemagick-register-types' modifies it, and the user may want
28069 to add new extensions for known image types.
28070 (imagemagick-register-types): Throw error if not using ImageMagick.
28072 2011-03-22 Leo Liu <sdl.web@gmail.com>
28074 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28075 located before rcirc-prompt-end-marker.
28076 (rcirc-complete): Error if point is not after rcirc prompt.
28077 Handle the case when table is nil.
28078 (rcirc-user-authenticated): Define to fix compiler warning.
28080 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28082 * custom.el (custom--inhibit-theme-enable): Make it affect only
28083 custom-theme-set-variables and custom-theme-set-faces.
28084 (provide-theme): Ignore custom--inhibit-theme-enable.
28085 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28086 (custom-enabling-themes): Delete variable.
28087 (enable-theme): Accept only loaded themes as arguments.
28088 Ignore the special custom-enabled-themes variable.
28089 (custom-enabled-themes): Forbid themes from setting this.
28090 Eliminate use of custom-enabling-themes.
28091 (custom-push-theme): Quote "changed" custom var entry.
28093 2011-03-21 Leo Liu <sdl.web@gmail.com>
28095 * ido.el (ido-read-internal): Add ido-selected to history instead
28098 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28100 * subr.el (deferred-action-list, deferred-action-function):
28103 2011-03-21 Leo Liu <sdl.web@gmail.com>
28105 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28106 change on 2011-02-13 (bug#8309).
28108 * minibuffer.el (read-file-name-function): Change default value.
28109 (read-file-name--defaults): Rename from read-file-name-defaults.
28110 (read-file-name-default): Rename from read-file-name.
28111 (read-file-name): Call read-file-name-function.
28113 2011-03-21 Glenn Morris <rgm@gnu.org>
28115 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28118 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28120 * cus-theme.el: Add missing provide statement.
28121 (customize-create-theme): Extract theme value correctly.
28122 (custom-theme-visit-theme): Autoload.
28123 (customize-create-theme): Prompt before inserting default faces.
28125 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28127 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28128 units and musical notes.
28130 2011-03-20 Leo Liu <sdl.web@gmail.com>
28132 * ido.el (ido-read-internal): Use completing-read-default.
28133 (ido-completing-read): Fix compatibility with completing-read.
28135 2011-03-20 Christian Ohler <ohler@gnu.org>
28137 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28138 (ert-delete-all-tests): Use `called-interactively-p' rather than
28140 (ert--make-xrefs-region): Respect END.
28142 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28144 * dired-aux.el (dired-create-directory): Signal an error if the
28145 directory already exists (Bug#8246).
28147 * facemenu.el (list-colors-display): Call list-faces-display
28148 inside with-help-window.
28149 (list-colors-print): Use display property to align the final
28150 column, instead of checking window-width.
28152 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28154 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28155 windows-nt systems.
28156 (emerge-protect-metachars): Quote correctly for ms-dos and
28157 windows-nt systems.
28159 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28161 * info.el (info-initialize): Replace all uses of `:' with
28162 path-separator for compatibility with non-Unix systems.
28163 Cache quoting of path-separator. (Bug#8258)
28165 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28167 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28168 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28169 (mouse-avoidance-mode): Fix typos in docstrings.
28171 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28173 * startup.el (package-subdirectory-regexp): Move from package.el.
28174 Omit \\` and \\', and let callers add them.
28176 * emacs-lisp/package.el (package-strip-version)
28177 (package-load-all-descriptors): Add \\` and \\' to
28178 package-subdirectory-regexp before using it.
28179 (package-untar-buffer): New arg DIR; ensure that file untars only
28180 into this expected directory. Remove superfluous delete-region.
28181 (package-unpack): Caller changed.
28182 (package-tar-file-info): Use package-subdirectory-regexp.
28184 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28186 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28187 diff-mode-shared-map (bug#8284).
28188 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28190 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28192 * calendar/time-date.el (format-seconds): Use assoc instead of
28193 assoc-string, since assoc-string doesn't exist in XEmacs.
28195 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28197 * custom.el (custom-known-themes): Reflow docstring.
28198 (custom-theme-load-path): Fix typo in docstring.
28199 (load-theme): Fix typo in error message.
28200 (custom-available-themes, custom-variable-theme-value):
28201 Use `let', not `let*'.
28203 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28205 * calc/README: Mention inclusion of musical notes.
28207 * calc/calc-units.el (calc-lu-quant): Rename from
28208 `calc-logunits-quantity'.
28209 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28210 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28211 (calc-db): Rename from `calc-dblevel'.
28212 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28213 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28214 (calc-np): Rename from `calc-nplevel'.
28215 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28216 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28217 (calc-lu-plus): Rename from `calc-logunits-add'.
28218 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28219 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28220 (calc-lu-minus): Rename from `calc-logunits-sub'.
28221 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28222 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28223 (calc-lu-times): Rename from `calc-logunits-mul'.
28224 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28225 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28226 (calc-lu-divide): Rename from `calc-logunits-div'.
28227 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28228 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28230 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28231 functions being autoloaded.
28233 * calc/calc.el (calc-lu-power-reference): Rename from
28234 `calc-logunits-power-reference'.
28235 (calc-lu-field-reference): Rename from
28236 `calc-logunits-field-reference'.
28238 * calc/calc-help.el (calc-l-prefix-help):
28239 Mention musical note functions.
28241 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28243 * minibuffer.el (completion-all-sorted-completions):
28244 Use :completion-cycle-penalty text property if present.
28246 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28248 * allout.el (allout-yank-processing): Adjust for new rebulleting
28249 regime so bullet being yanked is used without prompting the user
28252 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28254 * startup.el (command-line): Warn the user that _emacs is deprecated.
28256 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28258 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28259 (delphi-verbose, delphi-comment-face, delphi-string-face)
28260 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28261 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28262 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28263 (delphi-new-comment-line, delphi-font-lock-defaults)
28264 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28265 Fix typos in docstrings.
28267 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28269 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28270 Invert the roles of character and string values for INSTEAD, so a
28271 string is used for the more common case of a defaulting prompt.
28273 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28275 * progmodes/ruby-mode.el (ruby-backward-sexp):
28276 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28277 * play/gamegrid.el (gamegrid-make-face):
28278 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28279 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28280 * notifications.el (notifications-notify):
28281 * net/xesam.el (xesam-search-engines):
28282 * net/quickurl.el (quickurl-list-insert):
28283 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28285 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28287 * startup.el (command-line): Update package subdirectory regexp.
28289 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28291 * allout.el (allout-abbreviate-flattened-numbering)
28292 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28294 * subr.el (read-char-choice): Only show the cursor after the prompt,
28295 not after the answer.
28297 2011-03-15 Kevin Ryde <user42@zip.com.au>
28299 * help-fns.el (variable-at-point): Skip leading quotes, if any
28302 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28304 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28307 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28309 * shell.el (shell): When called interactively, offer to change the
28310 shell file name on remote hosts.
28312 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28314 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28315 integration for LDAP parameters. The host, base, user or binddn,
28316 and secret tokens can be specified in a netrc file, for instance.
28317 This is optional because an `auth-source' parameter must be
28318 specified in the search attributes.
28320 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28322 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28324 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28326 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28327 into declaration. Remove redundant and harmful binding.
28329 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28331 * files.el (file-ownership-preserved-p): Pass `integer' as an
28332 explicit 2nd argument to `file-attributes'. If the file's owner
28333 is the Administrators group on Windows, and the current user is
28334 Administrator, consider that a match.
28336 * server.el (server-ensure-safe-dir): Consider server directory
28337 safe on MS-Windows if its owner is the Administrators group while
28338 the current Emacs user is Administrator. Use `=' to compare
28339 numerical UIDs, since they could be integers or floats.
28341 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28343 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28345 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28347 Sync with Tramp 2.2.1.
28349 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28351 * net/trampver.el: Update release number.
28353 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28355 * progmodes/compile.el (compilation--previous-directory): Fix up
28356 various nil/dead-marker mismatches (bug#8014).
28357 (compilation-directory-properties, compilation-error-properties):
28358 Don't call it at a position past the one we're about to change.
28360 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28361 Disable obsolescence warnings in the file that declares it.
28363 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28365 * allout-widgets.el (allout-widgets-tally):
28366 Initialize allout-widgets-tally as a hash table rather than nil to
28367 prevent mode-line redisplay warnings. Also, clarify the module
28368 description and fix a comment typo.
28370 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28372 * help-fns.el (describe-variable): Don't complete keywords.
28373 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28375 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28377 * emacs-lisp/package.el (package-version-join): Impose a standard
28378 string representation for pre/alpha/beta version lists.
28379 (package-unpack-single): Standardize the directory name by passing
28380 it through package-version-join.
28381 (package-strip-rcs-id): Accept any version string that does not
28382 signal an error in version-to-list.
28384 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28386 * simple.el (delete-trailing-whitespace): Return nil for the
28387 benefit of `write-file-functions'.
28389 2011-03-10 Glenn Morris <rgm@gnu.org>
28391 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28393 * vc/vc-git.el (vc-git-program): New option.
28394 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28395 (vc-git--call): Use it.
28397 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28399 * cus-edit.el (Custom-newline): If no button at point, look
28400 for a subgroup button at start-of-line. (Bug#2298)
28402 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28404 2011-03-10 Julien Danjou <julien@danjou.info>
28406 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28407 `cursor-type' is nil.
28409 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28411 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28413 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28415 * allout.el: Change so yank of distinctive-bullet items
28416 preserves the existing header prefix, rebulleting it if necessary,
28417 rather than replacing it. This is necessary for proper operation
28418 of cooperative addons like allout-widgets.
28419 (allout-make-topic-prefix, allout-rebullet-heading):
28420 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28421 value as alternate bullet to be used, instead of prompting the user
28422 for a bullet character.
28424 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28426 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28427 Do not use `tramp-file-name-port', because this returns also
28428 `tramp-default-port'.
28430 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28432 * net/rcirc.el (rcirc-handler-001): Remove useless
28433 with-rcirc-process-buffer.
28434 (rcirc-check-auth-status): Swap arguments to string-match.
28436 2011-03-09 Glenn Morris <rgm@gnu.org>
28438 * shell.el (shell-mode):
28439 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28441 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28442 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28444 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28446 * emacs-lisp/package.el (package-refresh-contents)
28447 (package-menu-execute): Use condition-case-no-debug.
28449 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28451 * simple.el (shell-command-to-string): Use `process-file'.
28453 * emacs-lisp/package.el (package-tar-file-info): Handle also
28456 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28457 Use `equal' for upload base check.
28459 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28461 * textmodes/texinfo.el (texinfo-environments):
28462 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28464 2011-03-08 Glenn Morris <rgm@gnu.org>
28466 * cus-start.el (cursor-in-non-selected-windows):
28467 Fix :set quoting oddness. (Bug#8192)
28469 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28470 in some setf expressions. (Bug#2159)
28472 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28474 * custom.el (custom-available-themes): Return themes in
28475 alphabetical order.
28477 See ChangeLog.15 for earlier changes.
28479 ;; Local Variables:
28483 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28485 This file is part of GNU Emacs.
28487 GNU Emacs is free software: you can redistribute it and/or modify
28488 it under the terms of the GNU General Public License as published by
28489 the Free Software Foundation, either version 3 of the License, or
28490 (at your option) any later version.
28492 GNU Emacs is distributed in the hope that it will be useful,
28493 but WITHOUT ANY WARRANTY; without even the implied warranty of
28494 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28495 GNU General Public License for more details.
28497 You should have received a copy of the GNU General Public License
28498 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.