1 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
4 arbitrary file name lengths (Bug#11585).
6 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8 * desktop.el (desktop-read): Clear previous and next buffers for
9 all windows and bury *Messages* buffer (bug#11556).
11 2012-05-31 Eli Zaretskii <eliz@gnu.org>
13 * mail/sendmail.el (mail-yank-region): Recognize
14 rmail-yank-current-message in addition to insert-buffer. Fixes
15 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
17 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19 Add `declare' for `defun'. Align `defmacro's with it.
20 * emacs-lisp/easy-mmode.el (define-minor-mode)
21 (define-globalized-minor-mode): Don't autoload the var definitions.
22 * emacs-lisp/byte-run.el: Use lexical-binding.
23 (defun-declarations-alist, macro-declarations-alist): New vars.
24 (defmacro, defun): Use them.
25 (make-obsolete, define-obsolete-function-alias)
26 (make-obsolete-variable, define-obsolete-variable-alias):
28 (macro-declaration-function): Mark obsolete.
29 * emacs-lisp/autoload.el: Use lexical-binding.
30 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
32 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
34 * textmodes/ispell.el (ispell-with-no-warnings):
36 (ispell-kill-ispell, ispell-change-dictionary):
37 Use `called-interactively-p' for Emacs instead of obsolete
40 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
42 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
43 (macro-declaration-function): Move var from C code.
44 (macro-declaration-function): Define function with defalias.
45 * emacs-lisp/macroexp.el (macroexpand-all-1):
46 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
47 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
48 defun/defmacro any more.
49 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
50 Provide fallback for unknown arglist.
51 (byte-compile-arglist-warn): Change calling convention.
52 (byte-compile-output-file-form): Move print-vars binding.
53 (byte-compile-output-docform): Simplify accordingly.
54 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
55 (byte-compile-defmacro-declaration): Remove.
56 (byte-compile-file-form-defmumble): Generalize to defalias.
57 (byte-compile-output-as-comment): Return byte-positions.
58 Simplify callers accordingly.
59 (byte-compile-lambda): Use `assert'.
60 (byte-compile-defun, byte-compile-defmacro): Remove.
61 (byte-compile-file-form-defalias):
62 Use byte-compile-file-form-defmumble.
63 (byte-compile-defalias-warn): Remove.
65 2012-05-29 Stefan Merten <smerten@oekonux.de>
67 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
68 possible. Fix authors. Improve comments. Improve loading of `cl'.
70 (rst-mode-abbrev-table): Merge definition.
71 (rst-mode): Make sure `font-lock-defaults' is buffer local.
72 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
74 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
76 * calendar/icalendar.el
77 (icalendar-export-region): Export UID properly.
79 2012-05-29 Leo <sdl.web@gmail.com>
80 * calendar/icalendar.el (icalendar-import-format):
81 Add `icalendar-import-format-uid' (Bug#11525).
82 (icalendar-import-format-uid): New.
83 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
86 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
88 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
89 different alternative patterns.
90 (pcase-codegen): Be more careful to preserve identity.
91 (pcase--u1): Don't forget to mark vars as used.
93 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
94 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
95 (byte-compile-from-buffer): ...rather than here.
97 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
98 functions from byte-compile-function-environment.
100 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
102 * window.el (window-deletable-p): Avoid deleting the root window
103 of a frame with an active minibuffer.
105 2012-05-29 Martin Rudalics <rudalics@gmx.at>
107 * simple.el (choose-completion): Use quit-window (Bug#11567).
109 2012-05-29 Chong Yidong <cyd@gnu.org>
111 * whitespace.el (whitespace-cleanup): Fix usage of
112 whitespace-empty-at-bob-regexp (Bug#11492).
114 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
116 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
119 2012-05-29 Juri Linkov <juri@jurta.org>
121 * isearch.el (isearch-mode-map): Bind `M-s _' to
122 `isearch-toggle-symbol'. Bind `M-s c' to
123 `isearch-toggle-case-fold'.
124 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
125 (isearch-forward): Add `M-s _' to the docstring.
126 (isearch-forward-symbol, isearch-toggle-case-fold)
127 (isearch-symbol-regexp): New functions. (Bug#11381)
129 2012-05-29 Juri Linkov <juri@jurta.org>
131 * isearch.el (isearch-word): Add docstring. (Bug#11381)
132 (isearch-occur, isearch-search-and-update): If `isearch-word' is
133 a function, call it to get the regexp.
134 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
135 property `isearch-message-prefix' instead of the string "word ".
136 (isearch-search-fun-default): For the case of `isearch-word',
137 return a lambda that calls re-search-forward/re-search-backward
138 with a regexp returned by `word-search-regexp' or by the function
141 2012-05-29 Juri Linkov <juri@jurta.org>
143 * isearch.el (isearch-search-fun-default): New function.
144 (isearch-search-fun): Move default part to the new function
145 `isearch-search-fun-default'.
146 (isearch-search-fun-function): Set the default value to
147 `isearch-search-fun-default'. (Bug#11381)
149 * comint.el (comint-history-isearch-end):
150 Use `isearch-search-fun-default'.
151 (comint-history-isearch-search): Use `isearch-search-fun-default'
152 and remove spacial case for `isearch-word'.
153 (comint-history-isearch-wrap): Remove spacial case for
156 * hexl.el (hexl-isearch-search-function):
157 Use `isearch-search-fun-default'.
159 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
160 Use `word-search-regexp' for `isearch-word'.
162 * misearch.el (multi-isearch-search-fun):
163 Use `isearch-search-fun-default'.
165 * simple.el (minibuffer-history-isearch-search):
166 Use `isearch-search-fun-default' and remove spacial case for
168 (minibuffer-history-isearch-wrap): Remove spacial case for
171 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
172 Remove spacial case for `isearch-word'.
173 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
175 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
177 Decrease XEmacs incompatibilities.
178 * textmodes/flyspell.el (flyspell-check-pre-word-p):
180 (flyspell-delete-region-overlays): Use alternative definition for
182 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
183 (flyspell-word): Use `process-kill-without-query' if XEmacs.
184 (flyspell-mode-on): Use `interactive-p' if XEmacs.
185 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
186 `define-obsolete-face-alias' under XEmacs, but old method.
188 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
189 `with-no-warnings' definition or Emacs alias.
190 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
191 (ispell-word): Do not use `region-p' if XEmacs.
193 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
195 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
196 Check for `ispell-dictionary-base-alist' instead of full
197 `ispell-dictionary-alist'.
198 (ispell-init-process): Show spellchecker when starting new Ispell
201 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
203 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
204 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
206 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
208 * version.el (motif-version-string, gtk-version-string)
209 (ns-version-string): Declare.
211 2012-05-27 Juri Linkov <juri@jurta.org>
213 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
214 after the `eval-defun-1' specialcaseing
215 like in `edebug-eval-defun' (bug#10181).
217 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
218 like in `eval-defun-1'.
220 2012-05-27 Eli Zaretskii <eliz@gnu.org>
222 * mail/sendmail.el (mail-yank-region):
223 Recognize rmail-yank-current-message in addition to insert-buffer.
224 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
225 a *mail* buffer created through rmail-start-mail with sendmail as
228 2012-05-27 Chong Yidong <cyd@gnu.org>
230 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
231 Default to 256 (Bug#11267).
233 * help.el (describe-mode): Doc fix.
235 2012-05-26 Glenn Morris <rgm@gnu.org>
237 * w32-fns.el (w32-init-info): Remove.
238 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
240 * info.el (info-initialize): For self-contained NS builds, put the
241 included info/ directory at the front. (Bug#2791)
243 * paths.el (Info-default-directory-list): Make it a defcustom,
244 mainly so that we can use custom-initialize-delay.
246 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
248 * subr.el (buffer-has-markers-at): Mark obsolete.
250 * subr.el (lambda): Use declare.
252 * emacs-lisp/lisp-mode.el (lambda):
253 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
255 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
257 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
259 2012-05-26 Glenn Morris <rgm@gnu.org>
261 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
263 2012-05-25 Glenn Morris <rgm@gnu.org>
265 * paths.el: Remove no-byte-compile.
266 * loadup.el: No need to load paths.el uncompiled.
268 * image.el (imagemagick-types-inhibit): Doc fix.
270 * version.el: Remove no-byte-compile and associated formatting.
271 * loadup.el: No need to load version.el uncompiled. AFAICS, this
272 is ancient code from when there was an "inc-vers.el".
274 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
276 * progmodes/gdb-mi.el: Minor style changes.
277 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
278 Turn into minor modes.
279 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
280 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
281 (gdb-shell): Remove unneeded let-binding.
282 (gdb-get-many-fields): Eliminate O(n²) behavior.
284 2012-05-25 Eli Zaretskii <eliz@gnu.org>
286 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
287 platforms that don't link in fontset.c.
289 2012-05-25 Juri Linkov <juri@jurta.org>
291 Use the same diff color scheme as in modern VCSes (bug#10181).
293 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
294 to avoid confusion with `diff-added' that now uses green colors.
295 (diff-removed): Use shades of red.
296 (diff-added): Use shades of green.
297 (diff-changed): Leave just the yellow color.
298 (diff-use-changed-face): New variable.
299 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
300 how to highlight context diff changes.
301 (diff-refine-change): Use shades of yellow.
302 (diff-refine-removed): New face that uses shades of red.
303 (diff-refine-added): New face that uses shades of green.
304 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
305 `diff-refine-removed' in the call to `smerge-refine-subst'
306 depending on the value of `diff-use-changed-face'.
308 * vc/smerge-mode.el (smerge-mine): Use shades of red.
309 (smerge-other): Use shades of green.
310 (smerge-base): Use shades of yellow.
311 (smerge-refined-change): Empty face.
312 (smerge-refined-removed): New face that uses shades of red.
313 (smerge-refined-added): New face that uses shades of green.
314 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
315 args `props-r' and `props-a', and use them. Doc fix.
316 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
317 on its value use different faces `smerge-refined-change',
318 `smerge-refined-removed', `smerge-refined-added' in the call to
319 `smerge-refine-subst'.
321 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
322 Add face condition `min-colors 88' with shades of red.
323 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
324 `min-colors 88' with shades of green.
325 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
326 `min-colors 88' with shades of yellow.
328 2012-05-24 Glenn Morris <rgm@gnu.org>
330 * paths.el (prune-directory-list, remote-shell-program): Move to...
331 * files.el (prune-directory-list, remote-shell-program): ...here.
332 For the latter, delay initialization, prefer ssh, just search PATH.
334 * paths.el (term-file-prefix): Move to faces.el (the only user).
335 * faces.el (term-file-prefix): Move here, make it a defcustom.
337 * paths.el (news-directory, news-path, news-inews-program):
338 Move to gnus/nnspool.el.
340 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
342 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
343 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
344 Make the latter a defcustom, with a delayed initialization.
346 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
347 These were deleted from Gnus itself late 2010.
349 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
351 * progmodes/which-func.el (which-func-ff-hook):
352 Check against user-error, not error.
354 * emacs-lisp/edebug.el (top): Do not load or set up loading of
355 cl-specs.el, which no longer exists.
357 2012-05-22 Glenn Morris <rgm@gnu.org>
359 * info.el (info-emacs-bug): New command.
360 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
361 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
363 2012-05-21 Glenn Morris <rgm@gnu.org>
365 * makefile.w32-in (update-subdirs-SH):
366 * Makefile.in (update-subdirs): Update for moved update-subdirs.
368 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
370 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
373 Simplify Maven regexp, and make sure the file can't start with a space
376 2012-05-21 Glenn Morris <rgm@gnu.org>
378 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
379 Scrap superfluous subshells.
381 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
383 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
384 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
386 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
388 * calc/calc.el (calc-ensure-consistent-units): New variable.
390 * calc/calc-units.el (math-consistent-units-p)
391 (math-check-unit-consistency): New functions.
392 (calc-quick-units, calc-convert-units):
393 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
395 (calc-extract-units): Fix typo.
397 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
399 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
401 * textmodes/flyspell.el: Commenting style, plus code simplifications.
402 (flyspell-default-deplacement-commands): Don't spell check after
403 repeated window/frame switches (e.g. triggered by mouse-movement).
404 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
405 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
406 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
407 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
409 (flyspell-get-casechars, flyspell-get-not-casechars):
410 Simplify; Don't bother removing a ] just to add it back.
411 * textmodes/ispell.el (ispell-program-name): Use executable-find.
413 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
415 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
417 (math-function-table): Add support for more C functions.
419 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
421 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
422 (flyspell-debug-signal-word-checked): Protect delay handling for
423 otherchars against empty otherchars.
425 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
427 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
428 their respective macro declarations.
429 * skeleton.el (define-skeleton):
430 * progmodes/compile.el (define-compilation-mode):
431 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
432 (define-ibuffer-filter):
433 * emacs-lisp/generic.el (define-generic-mode):
434 * emacs-lisp/easy-mmode.el (define-minor-mode)
435 (define-globalized-minor-mode):
436 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
437 * emacs-lisp/byte-run.el (defsubst):
438 * custom.el (deftheme): Add doc-string metadata.
440 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
442 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
444 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
446 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
448 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
449 * emacs-lisp/cl-macs.el: Idem.
450 * emacs-lisp/cl-specs.el: Remove.
452 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
454 Minor renaming of internal CL functions and variables.
455 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
456 (cl--position): Rename from cl-position.
457 (cl--delete-duplicates): Rename from cl-delete-duplicates.
458 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
459 (cl--random-state): Rename from *random-state*.
461 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
463 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
464 parens around the arg list (bug#11499).
466 2012-05-17 Juri Linkov <juri@jurta.org>
468 * isearch.el (word-search-regexp, word-search-backward)
469 (word-search-forward, word-search-backward-lax)
470 (word-search-forward-lax): Move functions from search.c
471 (bug#10145, bug#11381).
473 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
475 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
476 (flyspell-debug-signal-word-checked): Delay for otherchars as for
477 normal word components.
479 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
481 * minibuffer.el (completion--sifn-requote): Fix last change.
482 (minibuffer-local-must-match-filename-map):
483 Move define-obsolete-variable-alias before its var.
485 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
487 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
489 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
491 (completion--string-equal-p): New function.
492 (completion--twq-all): Use it to get better assertion failure data.
494 Only handle ".." and '..' quoting in shell-mode (bug#11466).
495 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
496 (shell--requote-argument): New functions.
497 (shell-completion-vars): Use them.
498 (shell--parse-pcomplete-arguments): Rename from
499 shell-parse-pcomplete-arguments.
500 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
501 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
502 Obey comint-file-name-quote-list.
504 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
505 (smie-indent-keyword): Use it.
507 2012-05-14 Stefan Merten <smerten@oekonux.de>
509 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
511 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
513 * net/rlogin.el (rlogin-mode-map): Fix last change.
515 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
517 * mail/smtpmail.el (smtpmail-send-command): Send the command and
518 the following \r\n using a single `process-send-string', since the
519 Lotus SMTP server refuses to accept any commands if they are sent
520 with two `process-send-string's (Bug#11444).
522 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
524 * shell.el (shell-parse-pcomplete-arguments):
525 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
527 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
529 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
530 (image-transform-scale, image-transform-right-angle-fudge): New vars.
531 (image-transform-width, image-transform-fit-width): New functions.
532 (image-transform-properties): Use them.
533 (image-transform-check-size): New function.
534 (image-toggle-display-image): Use it (for testing).
535 (image-transform-set-rotation): Reduce angle mod 360.
536 Delete obsolete comment.
538 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
540 * image-mode.el: Fix scaling (bug#11399).
541 (image-transform-resize): Doc fix.
542 (image-transform-properties): Default scale is 1 and height should
545 2012-05-13 Johan Bockgård <bojohan@gnu.org>
547 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
548 than hard-coding `car', to fix misbehavior when moving forward.
550 2012-05-13 Chong Yidong <cyd@gnu.org>
552 * emacs-lisp/tabulated-list.el (tabulated-list-format)
553 (tabulated-list-entries, tabulated-list-padding)
554 (tabulated-list-sort-key): Make permanent-local.
556 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
557 (electric-buffer-list): Put electric buffer menu
558 command descriptions in this docstring, instead of the docstring
559 of electric-buffer-menu-mode. Code cleanups.
560 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
561 Electric-buffer-menu-mode.
562 (electric-buffer-update-highlight): Minor code cleanup.
564 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
566 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
569 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
571 Move define-obsolete-variable-alias before the var's definition.
572 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
573 * tooltip.el (tooltip-hook):
574 * textmodes/reftex-toc.el (reftex-toc-map):
575 * textmodes/reftex-sel.el (reftex-select-label-map)
576 (reftex-select-bib-map):
577 * textmodes/reftex-index.el (reftex-index-map)
578 (reftex-index-phrases-map):
579 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
580 * progmodes/meta-mode.el (meta-mode-map):
581 * novice.el (disabled-command-hook):
582 * loadhist.el (unload-hook-features-list):
583 * frame.el (blink-cursor):
584 * files.el (find-file-not-found-hooks, write-file-hooks)
585 (write-contents-hooks):
586 * emulation/tpu-edt.el (GOLD-map):
587 * emacs-lock.el (emacs-lock-from-exiting):
588 * emacs-lisp/generic.el (generic-font-lock-defaults):
589 * emacs-lisp/chart.el (chart-map):
590 * dos-fns.el (register-name-alist):
591 * dired-x.el (dired-omit-files-p):
592 * desktop.el (desktop-enable):
593 * cus-edit.el (custom-mode-hook):
594 * buff-menu.el (buffer-menu-mode-hook):
595 * bookmark.el (bookmark-read-annotation-text-func)
596 (bookmark-exit-hooks):
597 * allout.el (allout-mode-deactivate-hook)
598 (allout-exposure-change-hook, allout-structure-added-hook)
599 (allout-structure-deleted-hook, allout-structure-shifted-hook):
600 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
601 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
602 comes before the corresponding variable's definition.
604 2012-05-12 Chong Yidong <cyd@gnu.org>
606 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
607 (Buffer-menu-mouse-select): Restore function (Bug#11459).
608 (Buffer-menu-mode-map): Bind it.
609 (Buffer-menu--pretty-name): Add a mouse-face property.
611 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
613 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
614 (prolog-upper-case-string, prolog-lower-case-string)
615 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
616 (prolog-use-smie, prolog-smie-grammar): New vars.
617 (prolog-smie-forward-token, prolog-smie-backward-token)
618 (prolog-smie-rules): New funs.
619 (prolog-comment-indent): Remove.
620 (prolog-mode-variables): Use default comment indentation instead.
622 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
623 (prolog-mode): Don't call them any more.
624 (prolog-electric-colon, prolog-electric-dash)
625 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
627 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
629 * minibuffer.el (completion--twq-all): Again, allow case differences.
631 * term.el: Move keymap initialization code to be more idiomatic.
632 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
633 (term-terminal-menu): Move initialization into declaration.
634 (term-escape-char): Let the user set it in her .emacs.
636 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
637 Provide SMIE-based indentation (not enabled by default yet).
638 (sh-mode-map): Don't bind electric keys.
639 Use electric-pair-mode instead of skeleton-pair.
640 (sh-assignment-regexp): Fit within 80 columns.
641 (sh-indent-supported): Specify actual shell name instead of boolean.
642 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
643 (sh-maybe-here-document): Use it. Make obsolete.
644 (sh-electric-here-document-mode) New minor mode.
645 (sh-mode): Use it. Don't set sh-indent-supported-here here.
646 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
647 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
648 (sh-smie-rc-grammar, sh-use-smie): New vars.
649 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
650 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
651 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
652 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
653 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
654 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
655 (sh-set-shell): Use smie-setup if requested.
657 * term.el (term-set-escape-char): Properly set term-escape-char.
658 See http://stackoverflow.com/questions/10524656.
660 2012-05-10 Chong Yidong <cyd@gnu.org>
662 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
663 Use url-generic-parse-url, and handle host names and Windows
665 (ffap-url-unwrap-remote): Use url-generic-parse-url.
666 (ffap-url-unwrap-remote): Accept list values, specifying a list of
667 URL schemes to work on.
668 (ffap--toggle-read-only): New function.
669 (ffap-read-only, ffap-read-only-other-window)
670 (ffap-read-only-other-frame): Use it.
671 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
672 necessary for ffap-url-unwrap-remote.
674 2012-05-10 Dave Abrahams <dave@boostpro.com>
676 * cus-start.el (create-lockfiles): Add it.
678 2012-05-09 Chong Yidong <cyd@gnu.org>
680 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
681 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
683 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
685 * shell.el (shell-completion-vars): Fix last change (bug#11348).
687 2012-05-09 Chong Yidong <cyd@gnu.org>
689 * ansi-color.el (ansi-color-process-output): Check for validity of
690 comint-last-output-start before using it. This avoids a bad
691 interaction with gdb-mi's input/output buffer.
693 2012-05-09 Glenn Morris <rgm@gnu.org>
695 * files.el (dir-locals-read-from-file):
696 Mention dir-locals in any error message.
698 2012-05-09 Chong Yidong <cyd@gnu.org>
700 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
703 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
704 variables into description.
706 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
708 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
709 shell-delimiter-argument-list (bug#11348).
710 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
712 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
714 * textmodes/rst.el: Silence byte-compiler warnings.
715 (rst-re-alist, rst-reset-section-caches): Move around.
716 (rst-re): Use `characterp', not `char-valid-p'.
717 (font-lock-beg, font-lock-end): Declare.
719 * progmodes/idlw-shell.el (specs): Remove reference to deleted
720 variable `idlwave-shell-activate-alt-keybindings' and simplify.
722 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
724 2012-05-08 Glenn Morris <rgm@gnu.org>
726 * files.el (auto-mode-alist): Treat ".make" like ".mk".
728 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
730 * vc/log-edit.el: Add GNU coding standards highlighting.
731 (log-edit-font-lock-gnu-style)
732 (log-edit-font-lock-gnu-keywords): New vars.
733 (log-edit-font-lock-keywords): New fun.
734 (log-edit-mode): Don't fold case in font-lock.
735 (log-edit-font-lock-keywords): Do not assume case-folding.
737 * imenu.el: Misc cleanup. Make docstrings out of comments.
739 (imenu--index-alist, imenu--last-menubar-index-alist)
740 (imenu-menubar-modified-tick): Use defvar-local.
741 (imenu--split-menu): Remove unused var.
742 (imenu--cleanup-seen): Declare as global.
743 (imenu--cleanup): Use dolist.
745 * subr.el (defvar-local): Add debug spec and doc-string position.
747 2012-05-08 Glenn Morris <rgm@gnu.org>
749 * lisp/language/burmese.el, language/cham.el, language/czech.el:
750 * language/english.el, language/georgian.el, language/greek.el:
751 * language/japanese.el, language/khmer.el, language/korean.el:
752 * language/lao.el, language/misc-lang.el, language/romanian.el:
753 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
754 * language/thai.el, language/utf-8-lang.el:
755 Remove no-byte-compile setting.
757 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
759 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
761 * progmodes/make-mode.el (makefile-browse):
762 Remove unnecessary interactive. (Bug#11324)
764 2012-05-07 Glenn Morris <rgm@gnu.org>
766 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
768 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
770 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
772 * loadup.el: Preload newcomment.el.
773 * newcomment.el: Move autoload-only code to toplevel.
775 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
776 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
777 Handle new :right-align column property.
778 (tabulated-list-print-col): Idem, plus use `display' text-property to
779 try and preserve alignment for variable pitch fonts.
781 2012-05-07 Chong Yidong <cyd@gnu.org>
783 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
784 (tabulated-list-use-header-line): New var.
785 (tabulated-list-init-header): Use it.
786 (tabulated-list-print-fake-header): New function.
787 (tabulated-list-print): Use it.
788 (tabulated-list-sort-button-map): Add non-header-line commands.
789 (tabulated-list-init-header): Add column name property to basic
791 (tabulated-list-col-sort): Handle non-header-line button case.
792 (tabulated-list--sort-by-column-name): Fix a corner case.
794 * buff-menu.el (list-buffers--refresh):
795 Handle Buffer-menu-use-header-line.
797 2012-05-06 Chong Yidong <cyd@gnu.org>
799 * buff-menu.el: Convert to Tabulated List mode.
800 (Buffer-menu-buffer+size-width): Make obsolete.
801 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
802 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
803 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
804 documentation into docstring of buffer-menu.
805 (Buffer-menu-toggle-files-only): Add an informative message.
806 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
807 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
808 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
809 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
810 (Buffer-menu-execute, Buffer-menu-select)
811 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
812 (Buffer-menu-bury): Use Tabulated List machinery.
813 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
814 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
816 (list-buffers--refresh): New function.
817 (list-buffers-noselect): Use it.
818 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
819 (Buffer-menu--pretty-file-name): New helper functions.
821 * loadup.el: Preload tabulated-list.
823 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
824 tabulated-list-sort-column.
825 (tabulated-list-init-header): Add the initial aligning space even
826 if tabulated-list-padding is zero.
828 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
830 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
831 whose cdr is not a cons cell correctly (bug#11038).
833 2012-05-06 Chong Yidong <cyd@gnu.org>
835 * emacs-lisp/tabulated-list.el (tabulated-list-format):
836 Accept additional plist in column descriptors.
837 (tabulated-list-init-header): Obey it.
838 (tabulated-list-get-entry): New function.
839 (tabulated-list-put-tag): Use it. Use string-width instead of
841 (tabulated-list--column-number): New function.
842 (tabulated-list-print): Use it.
843 (tabulated-list-print-col): New function.
844 Set `tabulated-list-column-name' property on each column's text.
845 (tabulated-list-print-entry): Use it.
846 (tabulated-list-delete-entry, tabulated-list-set-col):
848 (tabulated-list-sort-column): New command (Bug#11337).
850 * buff-menu.el (list-buffers): Move C-x C-b binding from
851 buff-menu.el to bindings.el.
853 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
854 :advertised-binding feature.
856 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
858 * progmodes/compile.el (compilation-internal-error-properties):
859 Calculate start position correctly when end-col is set but
860 end-line is not (Bug#11382).
862 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
864 * man.el (Man-unindent): Use text-property-default-nonsticky to
865 prevent untabify from inheriting face properties (Bug#11408).
867 2012-05-05 Stefan Merten <smerten@oekonux.de>
869 * textmodes/rst.el: Major merge with upstream development up to
870 Docutils SVN r7399 / rst.el V1.2.1.
872 Clarify maintainership and authors.
874 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
875 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
876 (rst-official-version, rst-official-cvs-rev, rst-version)
877 (rst-package-emacs-version-alist): New functions and variables
878 for version information.
880 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
881 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
882 (rst-mode-syntax-table, rst-mode): New and corrected functions
883 and variables representing reStructuredText features.
885 (rst-re): New function for reStructuredText regexes. Use in
888 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
889 (rst-mode-map): Rebind keys.
891 (rst-mode-lazy, rst-font-lock-keywords)
892 (rst-font-lock-extend-region)
893 (rst-font-lock-extend-region-internal)
894 (rst-font-lock-extend-region-extend)
895 (rst-font-lock-find-unindented-line-limit)
896 (rst-font-lock-find-unindented-line-match)
897 (rst-adornment-level, rst-font-lock-adornment-level)
898 (rst-font-lock-adornment-match)
899 (rst-font-lock-handle-adornment-pre-match-form)
900 (rst-font-lock-handle-adornment-matcher): Major revision of
901 font-locking. Integrate with other code. Use `jit-lock-mode'.
903 (rst-preferred-adornments, rst-adjust-hook)
904 (rst-new-adornment-down, rst-preferred-bullets)
905 (rst-preferred-bullets, rst-indent, rst-indent-width)
906 (rst-indent-field, rst-indent-literal-normal)
907 (rst-indent-literal-minimized, rst-indent-comment): Change,
908 extend and improve customization.
910 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
911 (rst-normalize-cursor-position, rst-get-decoration)
912 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
913 (rst-rstrip, rst-toc-insert-find-delete-contents)
914 (rst-shift-fill-region, rst-compute-bullet-tabs)
915 (rst-debug-print-tabs, rst-debug-mark-found)
916 (rst-shift-region-guts, rst-shift-region-right)
917 (rst-shift-region-left, rst-use-char-classes)
918 (rst-font-lock-keywords-function)
919 (rst-font-lock-indentation-point)
920 (rst-font-lock-find-unindented-line-begin)
921 (rst-font-lock-find-unindented-line-end)
922 (rst-font-lock-find-unindented-line)
923 (rst-font-lock-adornment-point, rst-font-lock-level)
924 (rst-adornment-level-alist): Remove functions and variables.
926 (rst-compare-adornments, rst-get-adornment-match)
927 (rst-suggest-new-adornment, rst-get-adornments-around)
928 (rst-adornment-complete-p, rst-get-next-adornment)
929 (rst-adjust-adornment, rst-display-adornments-hierarchy)
930 (rst-straighten-adornments): Standardize function names to
931 use "adornment" instead of "decoration". Correct callers.
932 Similar standardizing in many places.
934 (rst-update-section, rst-adjust, rst-promote-region)
935 (rst-enumerate-region, rst-bullet-list-region)
936 (rst-repeat-last-character): Correct use of `interactive'.
938 (rst-classify-adornment, rst-find-all-adornments)
939 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
940 (rst-find-leftmost-column, rst-repeat-last-character):
943 (rst-find-title-line, rst-reset-section-caches)
944 (rst-get-adornments-around, rst-adjust-adornment-work)
945 (rst-arabic-to-roman, rst-roman-to-arabic)
946 (rst-insert-list-pos, rst-insert-list-new-item)
947 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
950 (rst-all-sections, rst-section-hierarchy)
951 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
954 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
955 configuration instead of only buffer. Change where necessary.
957 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
958 (rst-shift-region, rst-adaptive-fill): New functions for
959 indentation and filling.
961 (rst-comment-line-break, rst-comment-indent)
962 (rst-comment-insert-comment, rst-comment-region)
963 (rst-uncomment-region): New functions for handling comments.
965 (rst-compile): Quote shell arguments.
967 (rst-compile-pdf-preview, rst-compile-slides-preview):
968 Delete temporary files after use.
970 2012-05-05 Glenn Morris <rgm@gnu.org>
972 * calendar/cal-html.el: Optionally include holidays in the output.
973 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
974 (cal-html-holidays): New option.
975 (cal-html-css-default): Add holiday entry.
976 (holiday-in-range): Autoload it.
977 (cal-html-htmlify-entry): Add optional class argument.
978 (cal-html-htmlify-list): Add optional holidays argument.
979 (cal-html-insert-agenda-days): Include holidays in the output.
980 (cal-html-one-month): Maybe include holidays.
982 * calendar/holidays.el (holiday-in-range):
983 Move here from cal-tex-list-holidays.
984 * calendar/cal-tex.el (cal-tex-list-holidays):
985 Make it an obsolete alias for holiday-in-range. Update all callers.
987 2012-05-05 Chong Yidong <cyd@gnu.org>
989 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
992 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
994 * files.el (file-auto-mode-skip): New var.
995 (set-auto-mode-1): Use it.
997 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
999 * repeat.el: Use lexical-binding.
1000 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1001 (repeat-undo-count): Remove.
1003 * progmodes/octave-mod.el (octave-abbrev-start):
1004 * progmodes/f90.el (f90-abbrev-start):
1005 * face-remap.el (text-scale-adjust):
1006 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1008 * emacs-lisp/pcase.el (pcase--let*): New function.
1009 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1011 (pcase--split-pred): Be more clever about ruling out overlap between
1012 a predicate and some constant pattern.
1013 (pcase--q1): Use `null' instead of (eq foo nil).
1015 * subr.el (setq-local, defvar-local): New macros.
1016 (kbd): Redefine as an alias.
1017 (with-selected-window): Leave unrelated frames alone.
1018 (set-temporary-overlay-map): New function.
1020 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * subr.el (user-error): New function.
1023 * window.el (switch-to-buffer):
1024 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1025 (smerge-match-conflict):
1026 * simple.el (previous-matching-history-element)
1027 (next-matching-history-element, goto-history-element, undo-more)
1029 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1030 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1031 (next-file, tags-loop-scan, list-tags, complete-tag):
1032 * progmodes/compile.el (compilation-loop):
1033 * mouse.el (mouse-minibuffer-check):
1034 * man.el (Man-bgproc-sentinel, Man-goto-page):
1035 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1036 (Info-history-forward, Info-follow-reference, Info-menu)
1037 (Info-extract-menu-item, Info-extract-menu-counting)
1038 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1039 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1040 (Info-next-reference, Info-prev-reference, Info-index)
1041 (Info-index-next, Info-follow-nearest-node)
1042 (Info-copy-current-node-name):
1043 * imenu.el (imenu--make-index-alist)
1044 (imenu-default-create-index-function, imenu-add-to-menubar):
1045 * files.el (basic-save-buffer, recover-file):
1046 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1047 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1048 (checkdoc-message-text, checkdoc-defun):
1049 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1050 * cus-edit.el (customize-changed-options, customize-rogue)
1051 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1052 (custom-variable-mark-to-reset-standard)
1053 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1055 * completion.el (check-completion-length):
1056 * comint.el (comint-search-arg)
1057 (comint-previous-matching-input-string-position)
1058 (comint-previous-matching-input)
1059 (comint-replace-by-expanded-history-before-point, comint-send-input)
1060 (comint-copy-old-input, comint-backward-matching-input)
1061 (comint-goto-process-mark, comint-set-process-mark):
1062 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1063 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1065 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * dabbrev.el (dabbrev--ignore-case-p): New function.
1068 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1071 * files.el (automount-dir-prefix): Mark as obsolete.
1073 2012-05-04 Glenn Morris <rgm@gnu.org>
1075 * patcomp.el, play/bruce.el: Move to obsolete/.
1077 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1079 Fix minor Y10k bugs.
1080 * arc-mode.el (archive-unixdate):
1081 * autoinsert.el (auto-insert-alist):
1082 * calc/calc-forms.el (math-this-year):
1083 * emacs-lisp/copyright.el (copyright-current-year)
1084 (copyright-update-year, copyright):
1085 * tar-mode.el (tar-clip-time-string):
1086 * time.el (display-time-update):
1087 Don't assume years have 4 digits.
1089 2012-05-04 Chong Yidong <cyd@gnu.org>
1091 * dos-w32.el (file-name-buffer-file-type-alist)
1092 (direct-print-region-use-command-dot-com):
1093 * ffap.el (ffap-menu-regexp):
1094 * find-file.el (ff-special-constructs):
1095 * follow.el (follow-debug):
1096 * forms.el (forms--debug):
1097 * iswitchb.el (iswitchb-all-frames):
1098 * ido.el (ido-all-frames):
1099 * emacs-lisp/timer.el (timer-max-repeats):
1100 * mail/feedmail.el (feedmail-mail-send-hook)
1101 (feedmail-mail-send-hook-queued):
1102 * mail/footnote.el (footnote-signature-separator):
1103 * mail/mailabbrev.el (mail-alias-separator-string)
1104 (mail-abbrev-mode-regexp):
1105 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1106 * progmodes/idlwave.el (idlwave-libinfo-file)
1107 (idlwave-default-completion-case-is-down)
1108 (idlwave-library-routines): Convert defvars to defcustoms.
1110 * mail/rmail.el (rmail-decode-mime-charset):
1111 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1112 (idlwave-shell-fix-inserted-breaks)
1113 (idlwave-shell-activate-alt-keybindings)
1114 (idlwave-shell-use-breakpoint-glyph):
1115 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1117 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1119 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1121 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1123 * progmodes/verilog-mode.el (font-lock-keywords):
1124 Fix mis-highligting auto. Reported by Craig Barner.
1125 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1126 defines from global name space. Reported by Dan Dever.
1127 (verilog-auto-reset, verilog-auto-reset-widths)
1128 (verilog-auto-tieoff): Support using unbased numbers for
1129 AUTORESET and AUTOTIEOFF.
1130 (verilog-submit-bug-report): Update variable list.
1131 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1132 parenthesis from not matching. Reported by Michael Rytting.
1133 (verilog-auto-template-lint): Fix hash error when linting modules
1134 with no used templates.
1135 (verilog-warn, verilog-warn-error)
1136 (verilog-warn-fatal): When non-interactive report multiple
1137 warnings before exiting. Suggested by Brad Dobbie.
1138 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1139 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1140 to report unused template errors. Reported by Brad Dobbie.
1141 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1142 nets, bug438. Reported by Vns Blore.
1143 (verilog-auto-inout-module, verilog-auto-reg)
1144 (verilog-read-decls, verilog-read-sub-decls-sig)
1145 (verilog-signals-edit-wire-reg, verilog-signals-with):
1146 Fix passing of Verilog data types in ANSI input/output ports
1147 such as "output logic" into the AUTOs. Special case "wire" and
1148 "reg" for backwards compatibility presuming Verilog 2001.
1149 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1150 (verilog-preprocess): Fix replication of preprocess output.
1151 Reported by Brad Dobbie.
1152 (verilog-auto-inst-interfaced-ports):
1153 Create verilog-auto-inst-interfaced-ports, bug429.
1154 Reported by Julian Gorfajn.
1155 (verilog-after-save-font-hook)
1156 (verilog-before-save-font-hook): New variable.
1157 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1158 (verilog-save-font-mods): Wrap disabling fontification, reported
1160 (verilog-do-indent, verilog-pretty-declarations-auto)
1161 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1162 Reported by Pierre-David Pfister.
1163 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1164 of class declarations, bug292. Reported by Kevin Heilman.
1165 (verilog-read-decls): Fix 'parameter type' not appearing in
1166 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1167 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1168 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1169 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1170 Reported by David Kravitz.
1172 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1174 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1175 assignment with tests in ifs and for loops.
1176 (verilog-extended-complete-re, verilog-complete-reg): Change so
1177 that DPI inport functions don't look like fuction declarations.
1178 (verilog-pretty-expr): Don't line up assignment
1179 operations to the test and increment in if and for loops
1180 (verilog-extended-complete-re, verilog-complete-reg): Change so
1181 that DPI inport functions don't look like fuction declarations
1183 2012-05-03 Kenichi Handa <handa@m17n.org>
1185 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1186 decoding, and show a warning message without signaling an error
1189 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * emacs-lisp/bytecomp.el
1192 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1193 since cconv.el might have introduced :fun-body, internal-make-closure,
1194 and friends for bytecomp to handle (bug#11391).
1195 * custom.el (defcustom): Avoid ((λ ..) ..).
1197 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1201 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1203 * notifications.el (dbus-debug):
1204 * term/linux.el (gpm-mouse-enable):
1205 * term/screen.el (xterm-register-default-colors): Declare.
1207 2012-05-02 Chong Yidong <cyd@gnu.org>
1209 * cus-start.el (gc-cons-percentage, exec-suffixes)
1210 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1211 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1212 (make-cursor-line-fully-visible, void-text-area-pointer)
1213 (font-list-limit): Add customization data.
1215 * allout.el (allout-exposure-change-functions)
1216 (allout-structure-added-functions)
1217 (allout-structure-deleted-functions)
1218 (allout-structure-shifted-functions): Rename abnormal hooks from
1219 *-hook, and convert to defcustoms.
1220 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1221 Convert to defcustoms.
1222 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1224 * allout-widgets.el: Hook callers changed.
1226 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1228 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1229 the yanked message in preference to the default value of
1230 buffer-file-coding-system.
1232 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1234 * window.el (display-buffer--action-function-custom-type):
1237 2012-05-02 Alan Mackenzie <acm@muc.de>
1239 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1241 2012-05-01 Glenn Morris <rgm@gnu.org>
1243 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1245 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1247 * cus-edit.el (custom-variable-documentation): Simplify with format.
1249 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1250 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * simple.el (suggest-key-bindings, execute-extended-command):
1253 Move from keyboard.c.
1255 2012-05-01 Chong Yidong <cyd@gnu.org>
1257 * follow.el: Eliminate advice.
1258 (set-process-filter, process-filter, sit-for): Advice deleted.
1259 (follow-mode-off-hook): Obsolete hook removed.
1260 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1262 (follow-auto): Use a :set function.
1263 (follow-mode): Rewritten. Don't advise process filters.
1264 (follow-switch-to-current-buffer-all, follow-scroll-up)
1265 (follow-scroll-down): Assume follow-mode is bound.
1266 (follow-comint-scroll-to-bottom)
1267 (follow-align-compilation-windows): New functions.
1268 (follow--window-sorter): New function.
1269 (follow-all-followers): Use it to explicitly sort windows by their
1270 positions; don't make assumptions about next-window order.
1271 (follow-windows-start-end, follow-delete-other-windows-and-split)
1272 (follow-calc-win-start): Doc fix.
1273 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1274 vertical-motion unnecessarily.
1275 (follow-adjust-window): New function.
1276 (follow-post-command-hook): Use it.
1277 (follow-call-set-process-filter, follow-call-process-filter)
1278 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1279 (follow-stop-intercept-process-output, follow-generic-filter):
1281 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1282 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1283 New functions, replacing advice on scroll-bar-* commands.
1284 (follow-mwheel-scroll): New function (Bug#4112).
1286 * comint.el (comint-adjust-point): New function.
1287 (comint-postoutput-scroll-to-bottom): Use it.
1288 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1290 2012-05-01 Glenn Morris <rgm@gnu.org>
1292 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1293 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1294 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1295 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1296 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1297 Remove no-byte-compile setting.
1299 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1302 all-completions code to not return a number in the last cdr.
1304 2012-04-30 Leo Liu <sdl.web@gmail.com>
1306 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1309 2012-04-29 Chong Yidong <cyd@gnu.org>
1311 * follow.el (follow-calc-win-end): Rewrite to handle partial
1312 screen lines correctly (Bug#8390).
1313 (follow-avoid-tail-recenter): Minor cleanup.
1315 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1317 Avoid the obsolete `assoc' package.
1318 * speedbar.el (speedbar-refresh): Avoid adelete.
1319 (speedbar-file-lists): Simplify and avoid aput.
1320 * man.el (Man--sections, Man--refpages): New vars, replacing
1321 Man-sections-alist and Man-refpages-alist.
1322 (Man-build-section-alist, Man-build-references-alist):
1323 Use them; avoid aput.
1324 (Man--last-section, Man--last-refpage): New vars.
1325 (Man-follow-manual-reference): Use them.
1326 Use the `default' arg of completing-read.
1327 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1329 2012-04-27 Chong Yidong <cyd@gnu.org>
1331 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1333 * startup.el (x-apply-session-resources): New function.
1335 * term/ns-win.el (ns-initialize-window-system):
1336 * term/w32-win.el (w32-initialize-window-system):
1337 * term/x-win.el (x-initialize-window-system): Use it to properly
1338 set menu-bar-mode and other vars from X resources, even if the
1339 initial frame is not a window-system frame (Bug#2299).
1341 * subr.el (read-key): Avoid running filter function when setting
1342 up temporary tool bar entries (Bug#9922).
1344 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1346 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1349 2012-04-27 Chong Yidong <cyd@gnu.org>
1351 * select.el (xselect--encode-string): New function, split from
1352 xselect-convert-to-string.
1353 (xselect-convert-to-string): Use it.
1354 (xselect-convert-to-filename, xselect-convert-to-os)
1355 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1356 returned strings are properly encoded (Bug#11315).
1358 2012-04-27 Chong Yidong <cyd@gnu.org>
1360 * simple.el (delete-active-region): Move to killing custom group.
1362 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1364 * progmodes/which-func.el (which-func-current): Quote %
1365 characters for mode-line processing.
1367 2012-04-27 Chong Yidong <cyd@gnu.org>
1369 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1370 reaching eob (Bug#11286).
1372 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1374 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1375 (gdb): Make it buffer-local and init to zero.
1376 (gdb-control-commands-regexp): New variable.
1377 (gdb-send): Don't wrap in "-interpreter-exec console" if
1378 gdb-control-level is positive. Increment gdb-control-level
1379 whenever the command matches gdb-control-commands-regexp, and
1380 decrement it each time the command is "end". (Bug#11279)
1382 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1384 * window.el (adjust-window-trailing-edge, enlarge-window)
1385 (shrink-window, window-resize):
1386 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1387 windows (Bug#11276).
1389 2012-04-27 Chong Yidong <cyd@gnu.org>
1391 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1392 fix "missing prefix" warning. All callers changed.
1394 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * emacs-lisp/assoc.el: Move to obsolete/.
1398 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1402 * term/ns-win.el (ns-define-service):
1403 * progmodes/pascal.el (pascal-goto-defun):
1404 * progmodes/js.el (js--read-tab):
1405 * progmodes/etags.el (tags-lazy-completion-table):
1406 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1407 * emacs-lisp/ewoc.el (ewoc--wrap):
1408 * emacs-lisp/assoc.el (aput, adelete, amake):
1409 * doc-view.el (doc-view-convert-current-doc):
1410 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1412 2012-04-26 Chong Yidong <cyd@gnu.org>
1414 * image.el (image-type-from-buffer): Only return supported image
1417 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1418 value, for symmetry with diff-end-of-hunk.
1419 (diff-split-hunk, diff-find-source-location)
1420 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1421 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1422 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1423 compute the relevant hunk or file properly (Bug#6005).
1424 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1426 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1435 * vc/vc.el: Replace lexical-let by lexical-binding.
1436 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1437 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1438 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1440 2012-04-26 Chong Yidong <cyd@gnu.org>
1442 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1443 (diff-mode-shared-map): Bind it to / and [remap undo].
1445 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1446 (ediff-window-setup-function): Use it as the default, to set up
1447 windows based on whether the current frame is graphical (Bug#2138).
1448 (ediff-choose-window-setup-function-automatically): Make obsolete.
1450 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1452 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * ffap.el: Remove old code for obsolete package.
1455 (ffap-complete-as-file-p): Remove.
1457 Use completion-table-with-quoting for comint and pcomplete.
1458 * comint.el (comint--unquote&requote-argument)
1459 (comint--unquote-argument, comint--requote-argument): New functions.
1460 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1461 (comint-quote-filename): Use regexp-opt-charset.
1462 (comint--common-suffix, comint--common-quoted-suffix)
1463 (comint--table-subvert): Remove.
1464 (comint-unquote-function, comint-requote-function): New vars.
1465 (comint--complete-file-name-data): Use them with
1466 completion-table-with-quoting.
1467 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1468 * pcomplete.el (pcomplete-arg-quote-list)
1469 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1470 (pcomplete-unquote-argument-function): Default to non-nil.
1471 (pcomplete-unquote-argument): Simplify.
1472 (pcomplete--common-quoted-suffix): Remove.
1473 (pcomplete-requote-argument-function): New var.
1474 (pcomplete--common-suffix): New function.
1475 (pcomplete-completions-at-point): Use completion-table-with-quoting
1476 and completion-table-subvert.
1478 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1479 (minibuffer--double-dollars): Preserve properties.
1480 (completion--sifn-requote): New function.
1481 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1483 * minibuffer.el: Add support for completion of quoted/escaped data.
1484 (completion-table-with-quoting, completion-table-subvert): New funs.
1485 (completion--twq-try, completion--twq-all): New functions.
1486 (completion--nth-completion): New function.
1487 (completion-try-completion, completion-all-completions): Use it.
1489 2012-04-25 Leo Liu <sdl.web@gmail.com>
1491 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1492 Use compilation-message if available to find real filename.
1494 2012-04-25 Chong Yidong <cyd@gnu.org>
1496 * vc/diff-mode.el (diff-setup-whitespace): New function.
1497 (diff-mode): Use it.
1499 * vc/diff.el (diff-sentinel):
1500 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1501 Whitespace mode variables based on diff style (Bug#8612).
1503 2012-04-25 Leo Liu <sdl.web@gmail.com>
1505 * progmodes/python.el (python-send-region): Add suffix .py to the
1508 * files.el (auto-mode-alist): Use javascript-mode instead.
1510 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1512 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1514 * soap-client.el (soap-resolve-references-for-sequence-type)
1515 (soap-resolve-references-for-array-type): Hack to prevent self
1516 references, see Bug#9.
1517 (soap-parse-envelope): Report the contents of the 'detail' node
1518 when receiving a fault reply.
1519 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1521 * soap-inspect.el (soap-sample-value-for-simple-type)
1522 (soap-inspect-simple-type): New function.
1524 * soap-client.el (soap-simple-type): New struct.
1525 (soap-default-xsd-types, soap-default-soapenc-types)
1526 (soap-decode-basic-type, soap-encode-basic-type):
1527 support unsignedInt and double basic types.
1528 (soap-resolve-references-for-simple-type)
1529 (soap-parse-simple-type, soap-encode-simple-type): New function.
1530 (soap-parse-schema): Parse xsd:simpleType declarations.
1532 * soap-client.el (soap-default-xsd-types)
1533 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1534 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1535 the local name of "soapenc:Array".
1536 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1537 decoding integer, byte and anyURI xsd types.
1539 2012-04-25 Chong Yidong <cyd@gnu.org>
1541 * cus-edit.el (custom-buffer-create-internal): Update header text.
1543 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1545 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1546 settings on 'system-type', not on 'window-system'. On MS-Windows,
1547 set interactive-mode on in GDB.
1549 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1552 (ruby-syntax-propertize-regexp): Remove.
1553 (ruby-syntax-propertize-function): Split regexp into chunks.
1554 Match following code directly.
1556 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1558 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1559 (ruby-syntax-propertize-regexp): New function.
1560 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1561 by a special keyword.
1563 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1564 (ruby-syntax-general-delimiters-goto-beg)
1565 (ruby-syntax-propertize-general-delimiters): New functions.
1566 (ruby-syntax-propertize-function): Use them to handle GDL.
1567 (ruby-font-lock-keywords): Move old handling of GDL...
1568 (ruby-font-lock-syntactic-keywords): .. to here.
1569 (ruby-calculate-indent): Adjust indentation for GDL.
1571 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1573 * notifications.el (top): Remove unneeded declarations.
1574 (notifications-specification-version): Change to "1.2".
1575 (notifications-interface, notifications-notify-method)
1576 (notifications-close-notification-method): Fix docstring.
1577 (notifications-get-capabilities-method): New defconst.
1578 (notifications-notify): Add :action-items, :resident and
1579 :transient hints. Change "image_data" to "image-data" and
1580 "image_path" to "image-path".
1581 (notifications-get-capabilities): New defun.
1583 2012-04-24 Leo Liu <sdl.web@gmail.com>
1585 * progmodes/python.el: Move hideshow setup to the end.
1587 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1589 * window.el (handle-select-window): Clear echo area since this is
1590 no more done by read_char (Bug#11304).
1592 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1595 and `/ M' to filter-derived-mode.
1596 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1597 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1598 (ibuffer-mark-by-mode): Use default rather than initial-input.
1599 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1601 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1603 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1604 (ibuffer-filter-by-derived-mode): New filter.
1605 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1607 2012-04-23 Andreas Politz <politza@fh-trier.de>
1609 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1611 2012-04-23 Chong Yidong <cyd@gnu.org>
1613 * cus-edit.el (customize-apropos, customize-apropos-options):
1614 Disable matching of non-option variables (Bug#11176).
1615 (customize-option, customize-option-other-window)
1616 (customize-changed-options): Doc fix.
1617 (customize-apropos-options, customize-apropos-faces)
1618 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1620 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1621 Fix word list splitting (Bug#11132).
1622 (apropos-symbol, apropos-keybinding, apropos-label)
1623 (apropos-property, apropos-function-button)
1624 (apropos-variable-button, apropos-misc-button): New faces.
1625 (apropos-symbol-face, apropos-keybinding-face)
1626 (apropos-label-face, apropos-property-face, apropos-match-face):
1627 Variables removed (Bug#8396).
1628 (apropos-library-button, apropos-format-plist, apropos-print)
1629 (apropos-print-doc, apropos-describe-plist): Callers changed.
1631 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1633 * net/xesam.el (xesam-mode-map): Use let-bound map in
1634 initialization. (Bug#11292)
1636 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1638 Preserve ispell session localwords when switching back to
1641 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1642 variable to hold buffer session localwords.
1643 (ispell-kill-ispell): add option 'clear to delete session
1645 (ispell-command-loop, ispell-change-dictionary)
1646 (ispell-buffer-local-words): Preserve session localwords when
1649 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1650 Preserve session localwords when needed.
1652 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1654 * ispell.el (ispell-insert-word) Remove unneeded function using
1655 obsolete `translation-table-for-input'.
1656 (ispell-word, ispell-process-line, ispell-complete-word):
1657 Use plain `insert' instead of removed `ispell-insert-word'.
1659 2012-04-22 Chong Yidong <cyd@gnu.org>
1661 * cus-edit.el (custom-variable-menu)
1662 (custom-variable-reset-saved, custom-face-menu)
1663 (custom-face-reset-saved): If there is no saved value, make the
1664 "reset-saved" operation bring back the default (Bug#9509).
1665 (custom-face-state): Properly detect themed faces.
1667 * faces.el (face-spec-set): Stop supporting deprecated form of
1670 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1672 Move functions from C to Lisp. Make non-blocking method calls
1673 the default. Implement further D-Bus standard interfaces.
1675 * net/dbus.el (dbus-message-internal): Declare function.
1676 Remove unneeded function declarations.
1677 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1678 (dbus-message-type-method-return, dbus-message-type-error)
1679 (dbus-message-type-signal): Declare variables. Remove local
1681 (dbus-interface-dbus, dbus-interface-peer)
1682 (dbus-interface-introspectable, dbus-interface-properties)
1683 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1685 (dbus-interface-objectmanager): New defconst.
1686 (dbus-call-method, dbus-call-method-asynchronously)
1687 (dbus-send-signal, dbus-method-return-internal)
1688 (dbus-method-error-internal, dbus-register-service)
1689 (dbus-register-signal, dbus-register-method): New defuns, moved
1691 (dbus-call-method-handler, dbus-setenv)
1692 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1694 (dbus-call-method-non-blocking): Make it an obsolete function.
1695 (dbus-unregister-object, dbus-unregister-service)
1696 (dbus-handle-event, dbus-register-property)
1697 (dbus-property-handler): Obey the new structure of
1698 `bus-registered-objects'.
1699 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1700 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1701 Use `dbus-call-method'.
1703 2012-04-22 Chong Yidong <cyd@gnu.org>
1705 * cus-edit.el (custom-commands, custom-reset-menu)
1706 (Custom-reset-standard): Tweak labels.
1707 (custom-reset-button-menu): Change default to t.
1708 (custom-buffer-create-internal): For the custom-reset-button-menu
1709 case, put the revert button first.
1710 (custom-group-subtitle): New face.
1711 (custom-group-value-create): Align docstring to a specific column.
1713 * wid-edit.el (widget-documentation-link-add): Don't handle
1714 indentation in this function.
1715 (widget-documentation-string-indent-to): New function.
1716 (widget-documentation-string-value-create): Use it.
1718 * autorevert.el (auto-revert):
1719 * epg-config.el (epg):
1720 * ibuffer.el (ibuffer):
1723 * eshell/eshell.el (eshell):
1724 * net/ange-ftp.el (ange-ftp):
1725 * progmodes/ebnf2ps.el (postscript):
1726 * progmodes/flymake.el (flymake):
1727 * progmodes/prolog.el (prolog):
1728 * progmodes/verilog-mode.el (verilog-mode):
1729 * progmodes/which-func.el (which-func):
1730 * term/xterm.el (xterm):
1731 * textmodes/picture.el (picture):
1732 * textmodes/tildify.el (tildify):
1733 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1734 customization buffers.
1736 2012-04-22 Alan Mackenzie <acm@muc.de>
1738 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1739 Adding a ) can hide the resulting (..) from searches. Fix it.
1740 Bound the backward search to the position of the existing (.
1742 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1744 * progmodes/verilog-mode.el (verilog-mode): Check whether
1745 which-func-modes is t before adding verilog-mode.
1746 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1748 2012-04-21 Leo Liu <sdl.web@gmail.com>
1750 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1752 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1754 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1755 filling of the last column of a table (Bug#5635).
1756 (woman-find-next-control-line): New arg, specifying an additional
1757 regexp component for the control line.
1758 (woman2-roff-buffer): Use it.
1759 (woman-break-table): New function.
1760 (woman2-TS): Use it.
1762 2012-04-21 Chong Yidong <cyd@gnu.org>
1764 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1765 (woman-horizontal-escapes, woman-negative-vertical-space)
1766 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1767 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1769 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1771 * minibuffer.el (completion-file-name-table): Complete user names.
1773 2012-04-20 Leo Liu <sdl.web@gmail.com>
1775 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1778 2012-04-20 Chong Yidong <cyd@gnu.org>
1780 * server.el (server-execute): Respect initial-buffer-choice if it
1781 is a string and there are no files to open (Bug#2825).
1782 (server-create-window-system-frame, server-create-tty-frame):
1783 Don't switch buffers here.
1784 (server-process-filter): Only try to open a window system frame if
1785 compiled with graphical support (Bug#8314).
1787 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1789 * battery.el (battery-echo-area-format): Display remaining time
1790 for sysfs backend too (Bug#11269).
1791 (battery-linux-sysfs): Fix conditional for the charge.
1793 2012-04-20 Chong Yidong <cyd@gnu.org>
1795 * progmodes/gdb-mi.el (gdb): Revert previous change.
1796 (gdb-inferior-io--init-proc): New function.
1797 (gdb-init-1): Use it.
1798 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1799 responsible for allocating a new pty and hooking it to gdb when
1800 the old pty gets an EIO due to process exit.
1801 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1802 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1803 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1805 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1807 * window.el (window-min-size, window-sizable, window-min-delta)
1808 (window-max-delta, window--resizable, window-resizable)
1809 (window-total-size, window-full-height-p, window-full-width-p)
1810 (window-in-direction, window--resize-mini-window, window-resize)
1811 (window--resize-child-windows-normal)
1812 (window--resize-child-windows, window--resize-siblings)
1813 (window--resize-this-window, adjust-window-trailing-edge)
1814 (enlarge-window, shrink-window): Doc fixes.
1816 2012-04-20 Chong Yidong <cyd@gnu.org>
1818 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1819 New function to call delete-process on the gdb-inferior buffer's pty.
1820 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1821 pty process (Bug#11273).
1822 (gdb-update): New arg to suppress talking to the gdb process.
1823 (gdb-done-or-error): Use it.
1824 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1825 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1826 sentinel not being called.
1828 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1830 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1832 2012-04-20 Glenn Morris <rgm@gnu.org>
1834 * net/network-stream.el (open-network-stream): Doc fix.
1836 2012-04-20 Chong Yidong <cyd@gnu.org>
1838 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1840 2012-04-20 Alan Mackenzie <acm@muc.de>
1842 Ensure searching for keywords is case sensitive.
1844 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1845 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1846 (c-defun-name, c-mark-function, c-cpp-define-name)
1847 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1848 (c-context-line-break): Bind case-fold-search to nil.
1850 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1851 Bind case-fold-search to nil.
1853 2012-04-20 Chong Yidong <cyd@gnu.org>
1855 * mail/sendmail.el (mail-bury): Call return action with the right
1856 Rmail buffer (Bug#11242).
1858 * server.el (server-process-filter): Handle corner case where both
1859 tty and nowait options are present (Bug#11102).
1861 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1863 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1864 (top level): Put into the executable the ident-style '$Id:' tag on
1867 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * electric.el (electric-indent-post-self-insert-function): Check that
1870 electric-indent-mode is enabled in current buffer.
1872 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1874 * imenu.el (imenu-progress-message): Restore; it is "used" in
1875 erc/erc-imenu.el and net/snmp-mode.el.
1877 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1879 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1880 (mouse-avoidance-nudge-mouse): Remove unused binding.
1882 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1884 * descr-text.el (describe-char):
1885 * progmodes/python.el (python-describe-symbol):
1886 Don't call `toggle-read-only', set `buffer-read-only'.
1888 * imenu.el (imenu-default-goto-function): Mark unused args.
1889 (imenu-progress-message): Remove obsolete macro; all callers changed.
1891 * subr.el (keymap-canonicalize): Remove unused binding.
1892 (read-passwd): Mark unused arg.
1894 * tutorial.el (tutorial--display-changes): Remove unused binding.
1895 (tutorial--save-tutorial-to): Remove unused variable.
1897 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1898 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1899 (package-generate-autoloads, package-menu--generate)
1900 (package-menu--find-upgrades): Remove unused bindings.
1902 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1903 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1904 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1905 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1906 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1907 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1908 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1909 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1910 (cua-delete-char-rectangle): Mark unused args.
1911 (cua-align-rectangle): Remove unused binding.
1913 * mail/rmail.el (compilation--message->loc)
1914 (epa--find-coding-system-for-mime-charset): Declare.
1916 * net/dbus.el (dbus-register-service): Declare.
1917 (dbus-name-owner-changed-handler): Remove unused binding.
1919 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1920 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1921 (nxml-scan-backward-within): Mark unused arg.
1922 (nxml-dynamic-markup-word): Remove unused binding.
1924 * mouse.el (mouse-menu-major-mode-map):
1925 * emacs-lisp/authors.el (authors-scan-change-log)
1926 (authors-add-to-author-list):
1927 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1928 * emacs-lisp/smie.el (smie-auto-fill):
1929 * mail/sendmail.el (mail-bury):
1930 * mail/unrmail.el (unrmail):
1931 * net/tls.el (open-tls-stream):
1932 * textmodes/picture.el (picture-mouse-set-point):
1933 Remove unused bindings.
1935 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1937 * net/tramp.el (tramp-action-password): Let-bind
1938 `enable-recursive-minibuffers' to t.
1940 2012-04-18 Sam Steingold <sds@gnu.org>
1942 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1943 instead of 'string to accommodate values like [f11].
1944 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1945 * progmodes/gdb-mi.el: Likewise.
1947 2012-04-18 Leo Liu <sdl.web@gmail.com>
1949 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1951 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1954 2012-04-18 Chong Yidong <cyd@gnu.org>
1956 * simple.el (line-move): Use forward-line if in batch mode
1959 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1961 * files.el (after-find-file): Do not try to add a final newline if
1962 the buffer is read-only (Bug#11156).
1964 2012-04-17 Richard Stallman <rms@gnu.org>
1966 * mail/rmail.el (rmail-start-mail):
1967 Pass (rmail-mail-return...) for the return-action.
1968 Pass (rmail-yank-current-message...) for the yank-action.
1969 (rmail-yank-current-message): New function.
1970 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1971 (rmail-reply): Likewise.
1972 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1974 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1975 buffer, not the last. Reject temp buffers. Use the rmail-mode
1978 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1980 * server.el (server-ensure-safe-dir): Simplify.
1982 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * emacs-lisp/smie.el: Provide smarter auto-filling.
1985 (smie-auto-fill): New function.
1986 (smie-setup): Use it.
1988 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1990 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1992 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1993 (comment-indent): Use it.
1995 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1997 * ses.el: The overall change is to add cell renaming, that is
1998 setting fancy names for cell symbols other than name matching
1999 "\\`[A-Z]+[0-9]+\\'" regexp .
2000 (ses-localvars): Add ses--renamed-cell-symb-list.
2001 (ses-create-cell-variable): New defun.
2002 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2003 (ses-relocate-formula): Relocate formulas only for cells the
2004 symbols of which are not renamed, i.e. symbols whose names do not
2005 match regexp "\\`[A-Z]+[0-9]+\\'".
2006 (ses-relocate-all): Relocate values only for cells the symbols of
2007 which are not renamed.
2008 (ses-load): Create cells variables as the (ses-cell ...) are read,
2009 in order to check row col consistency with cell symbol name only
2010 for cells that are not renamed.
2011 (ses-replace-name-in-formula): New defun.
2012 (ses-rename-cell): New defun.
2014 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2016 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2017 New option (bug#11118).
2018 (perl-calculate-indent): Respect it.
2020 2012-04-17 Glenn Morris <rgm@gnu.org>
2022 * dired-aux.el (dired-mark-read-string): Doc fix.
2024 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2026 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2027 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2029 2012-04-17 Glenn Morris <rgm@gnu.org>
2031 * mouse.el (mouse-drag-track):
2032 * speedbar.el (speedbar-frame-mode):
2033 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2035 2012-04-16 Leo Liu <sdl.web@gmail.com>
2037 * progmodes/python.el: Trivial cleanup.
2039 2012-04-16 Glenn Morris <rgm@gnu.org>
2041 * vc/vc.el (vc-string-prefix-p):
2042 * vc/pcvs-util.el (cvs-string-prefix-p):
2043 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2044 * mpc.el (mpc-string-prefix-p):
2045 Make all of these into obsolete aliases for string-prefix-p.
2047 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2049 * textmodes/two-column.el: Move custom options to the start.
2050 (frame-width): Remove compat definition.
2051 (2C-associate-buffer, 2C-dissociate):
2052 Use with-current-buffer rather than save-excursion.
2053 (2C-dissociate): Force a mode-line update.
2054 (2C-autoscroll): Use ignore-errors.
2056 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2059 * emacs-lisp/cl-extra.el (*random-state*):
2060 Remove unnecessary declaration.
2062 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2064 * play/cookie1.el (cookie-snarf):
2065 Give an explicit error if input file cannot be read.
2067 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2069 * progmodes/perl-mode.el (c-macro-expand):
2070 Remove unnecessary autoload (it is in loaddefs.el).
2072 * textmodes/picture.el (picture-desired-column)
2073 (picture-update-desired-column): Convert comments to doc-strings.
2074 (picture-substitute): Remove function.
2075 (picture-mode-map): Initialize in the defvar.
2077 * woman.el: Remove eval-after-load for tar-mode.
2078 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2079 (woman-tar-extract-file): Autoload it.
2081 * frame.el (automatic-hscrolling): Make this alias obsolete.
2083 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2085 * ispell.el (ispell-set-spellchecker-params): Post-process
2086 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2087 (ispell-dictionary-base-alist): Revert to original XEmacs
2088 friendly version for default. [:alpha:] will be added in
2089 `ispell-set-spellchecker-params' if needed
2091 2012-04-16 Chong Yidong <cyd@gnu.org>
2093 * image.el (imagemagick--extension-regexp): New variable.
2094 (imagemagick-register-types): Use it.
2095 (imagemagick-types-inhibit): Add :set function. Allow new value
2096 of t to inhibit all types.
2098 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2099 so we can preload it.
2101 * loadup.el (fboundp): Preload regexp-opt, needed by
2102 imagemagick-register-types.
2104 2012-04-15 Chong Yidong <cyd@gnu.org>
2106 * frame.el (scrolling): Remove nearly unused customization group.
2108 * scroll-all.el (scroll-all-mode): Move to windows group.
2110 2012-04-15 Chong Yidong <cyd@gnu.org>
2112 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2114 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2116 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2117 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2119 2012-04-15 Glenn Morris <rgm@gnu.org>
2121 * simple.el (process-file-side-effects): Doc fix.
2123 2012-04-15 Glenn Morris <rgm@gnu.org>
2125 * international/mule-cmds.el (set-language-environment): Doc fix.
2127 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2129 * server.el (server-auth-key, server-generate-key): Doc fixes.
2130 (server-get-auth-key): Doc fix. Use `string-match-p'.
2131 (server-start): Reflow docstring.
2133 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2135 * server.el (server-generate-key): `called-interactively-p'
2136 requires a parameter.
2138 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2140 * server.el (server-auth-key): New variable.
2141 (server-generate-key, server-get-auth-key): New function.
2142 (server-start): Use the new variable and functions to allow
2143 setting a permanent server key (bug#9423).
2145 2012-04-14 Leo Liu <sdl.web@gmail.com>
2147 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2149 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2152 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2153 Emacs uses American spelling.
2155 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2157 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2158 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2159 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2160 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2162 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2164 * progmodes/which-func.el (which-func-modes): Change default.
2166 2012-04-14 Kim F. Storm <storm@cua.dk>
2168 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2169 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2171 2012-04-14 Chong Yidong <cyd@gnu.org>
2173 * custom.el (custom-theme-set-variables): Doc fix.
2175 2012-04-14 Glenn Morris <rgm@gnu.org>
2177 * international/mule.el (set-auto-coding-for-load): Doc fix.
2179 2012-04-14 Alan Mackenzie <acm@muc.de>
2181 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2182 imenu work again for Objective C Mode. Correct the *-index values,
2183 these having been disturbed by a previous change in 2011-08.
2185 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2186 Correct two search limits.
2188 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2190 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2192 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2194 * international/characters.el: Fix sorting.
2196 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2198 * international/characters.el: Add more missing Latin case pairs.
2200 2012-04-14 Glenn Morris <rgm@gnu.org>
2202 * files.el (dir-locals-set-class-variables): Doc fix.
2204 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2206 * international/characters.el: Add set-case-syntax-pair call for
2207 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2208 counterpart. (Bug#11209)
2210 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2212 2012-04-14 Glenn Morris <rgm@gnu.org>
2214 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2216 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2218 * textmodes/ispell.el (ispell-dictionary-base-alist):
2219 Add data for Hebrew.
2221 2012-04-14 Chong Yidong <cyd@gnu.org>
2223 * net/rcirc.el (rcirc-cmd-quit):
2224 Revert 2012-03-18 change (Bug#11192).
2226 2012-04-14 Glenn Morris <rgm@gnu.org>
2228 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2230 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2232 * minibuffer.el (completion-in-region-mode-map):
2233 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2235 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2237 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2239 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2241 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2242 to allow `C-M-f' and `C-M-b' to move to the nearest path
2243 separator (bug#9511).
2245 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2247 * avoid.el: Require cl when compiling. And also move the
2248 `provide' to the end.
2250 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2252 * avoid.el (mouse-avoidance-banish-position): New variable.
2253 (mouse-avoidance-banish-destination): Use it (bug#10165).
2255 2012-04-13 Leo Liu <sdl.web@gmail.com>
2257 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2259 2012-04-13 Ken Brown <kbrown@cornell.edu>
2261 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2262 this is no longer needed now that cygstart understands file:// URLs.
2263 (browse-url-filename-alist): For the same reason, don't modify
2264 file:// URLs on Cygwin.
2266 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2269 the region on shift if the binding is already shifted (bug#11221).
2271 2012-04-12 Glenn Morris <rgm@gnu.org>
2273 * mail/mailpost.el: Move to obsolete/.
2275 2012-04-12 Drew Adams <drew.adams@oracle.com>
2277 * imenu.el (imenu--generic-function): Ignore invisible definitions
2280 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2282 * hexl.el (hexl-bits): New variable.
2283 (hexl-options): Mention the variable in the doc string.
2284 (hexl-rulerise, hexl-line-displen): New functions.
2285 (hexl-mode): Mention the new variable.
2286 (hexl-mode, hexl-current-address, hexl-current-address):
2288 (hexl-ascii-start-column): New function.
2289 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2290 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2292 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2294 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2295 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2296 the encoding, as expected by hunspell.
2298 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * battery.el (battery--linux-sysfs-regexp): New const.
2301 (battery-status-function): Use it. Remove yeeloong special case.
2302 (battery-yeeloong-sysfs): Remove.
2303 (battery-echo-area-format): Remove yeeloong special case.
2305 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2308 Reported by Noah Friedman.
2310 * subr.el (read-passwd): Use read-string.
2312 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2314 * vcursor.el (vcursor-move): Increase the priority of the overlay
2317 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2319 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2320 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2322 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2324 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2325 define-minor-mode (bug#10760).
2327 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2329 * progmodes/grep.el (rgrep): Tweak the find command line so
2330 that directories matching `grep-find-ignored-files' won't be
2333 2012-04-11 Chong Yidong <cyd@gnu.org>
2335 * startup.el (command-line): Remove support for long-obsolete
2336 variable font-lock-face-attributes.
2338 2012-04-11 Glenn Morris <rgm@gnu.org>
2340 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2342 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * window.el (window--state-get-1): Obey window-point-insertion-type.
2346 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2348 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2349 to previous function when point is on the first character of a
2350 function. Take care of that in `narrow-to-defun' (bug#6157).
2352 2012-04-11 Glenn Morris <rgm@gnu.org>
2354 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2355 not just file-errors.
2357 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2358 (vc-bzr-sha1): Use internal sha1.
2360 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2362 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2364 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2366 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2367 that start in the middle of the line (bug#10496).
2369 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2371 * battery.el (battery-linux-proc-acpi): Only one battery is
2372 discharged at a time, but that seems to confuse battery.el when
2373 computing `rate-type' for the battery not being discharged
2376 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2378 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2380 * international/quail.el: Use dolist and simplify.
2381 (quail-define-package, quail-update-keyboard-layout)
2382 (quail-define-rules): Use dolist.
2383 (quail-insert-kbd-layout, quail-get-translation): CSE.
2385 * tmm.el: Use dolist, remove left over hook.
2386 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2388 (calendar-load-hook): Don't mess with it.
2390 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2391 Use derived-mode-p. Run the diff asynchronously.
2393 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2395 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2397 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2399 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2400 (list-dynamic-libraries--loaded): New function.
2401 (list-dynamic-libraries--refresh): Use it.
2403 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2405 * progmodes/python.el (python-fill-paragraph):
2406 Make python-fill-region in a multiline string work when font-lock is
2407 disabled (bug#7018).
2409 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2411 * language/european.el (cp775): Add oem/legacy (en)coding on
2412 DOS/MS Windows for the Baltic languages. There are still plenty
2413 of texts written in this encoding/codepage (bug#6519).
2415 2012-04-10 Glenn Morris <rgm@gnu.org>
2417 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2418 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2420 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2422 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2423 next-line "n" and previous-line "p" in order to make recentf more
2424 consistent with ibuffer, dired or org-mode (bug#9387).
2426 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2428 * image.el (put-image): Return the overlay created instead of the
2429 optional input string (bug#7834). Note that this may break code
2430 that is (for some reason or other) depending on `put-image'
2431 returning the string.
2433 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2435 * simple.el (zap-to-char): Allow zapping using input methods
2438 * textmodes/fill.el (fill-region): Leave point and mark where they
2439 were before filling (bug#5399).
2441 2012-04-09 Glenn Morris <rgm@gnu.org>
2443 * version.el (emacs-bzr-get-version):
2444 Handle lightweight checkouts of local branches.
2446 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2448 * international/characters.el: Recover lost case pairs. (Bug#11209)
2450 2012-04-09 Chong Yidong <cyd@gnu.org>
2452 * custom.el (custom-variable-p): Return nil for non-symbol
2453 arguments instead of signaling an error.
2454 (user-variable-p): Obsolete alias for custom-variable-p.
2456 * apropos.el (apropos-variable):
2457 * files-x.el (read-file-local-variable):
2458 * simple.el (set-variable):
2459 * woman.el (woman-mini-help):
2460 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2462 2012-04-09 Glenn Morris <rgm@gnu.org>
2464 * startup.el (normal-top-level): Don't look for leim-list.el
2465 in places where it will not be found. (Bug#910)
2467 * international/mule-cmds.el (set-default-coding-systems):
2468 * files.el (normal-mode):
2469 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2470 This function was removed with ucs-tables.el in 2008.
2472 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2474 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2475 ispell-encoding8-command to "-i", without a trailing space.
2476 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2477 separate command-line arguments, to specify the encoding, since
2478 that's how hunspell expects it.
2480 2012-04-08 Glenn Morris <rgm@gnu.org>
2482 * loadup.el: Load bindings before cus-start.
2483 This reduces somewhat the number of "rogue" settings in emacs -Q.
2485 2012-04-07 Glenn Morris <rgm@gnu.org>
2487 * version.el (emacs-bzr-get-version): New function.
2488 (emacs-bzr-version): New variable.
2489 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2490 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2492 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2494 * international/uni-bidi.el, international/uni-category.el:
2495 * international/uni-combining.el, international/uni-decimal.el:
2496 * international/uni-decomposition.el, international/uni-digit.el:
2497 * international/uni-lowercase.el, international/uni-mirrored.el:
2498 * international/uni-name.el, international/uni-numeric.el:
2499 * international/uni-titlecase.el, international/uni-uppercase.el:
2500 Update for Unicode 6.1.
2502 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2504 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2506 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2508 * window.el (shrink-window): Mention the `window-min-height'
2509 variable in the doc string.
2511 2012-04-05 Bastien Guerry <bzg@altern.org>
2513 * color.el (color-lighten-name): Fix typo.
2515 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2517 * server.el (server--on-display-p): New function.
2518 (server--on-display-p): Use it.
2520 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2522 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2525 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2527 * comint.el (comint--common-quoted-suffix): Check string boundary
2528 before comparing (bug#11158).
2529 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2531 2012-04-04 Chong Yidong <cyd@gnu.org>
2533 * minibuffer.el (completion-extra-properties): Doc fix.
2535 * subr.el (delayed-warnings-hook): Doc fix.
2537 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2539 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2540 selection (Bug#11159).
2541 (epa-insert-keys): Inform that the default public key will be
2542 exported if no key is selected.
2544 2012-04-04 Richard Stallman <rms@gnu.org>
2546 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2548 2012-04-03 Chong Yidong <cyd@gnu.org>
2550 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2551 mail-insert-file, not its obsolete alias mail-attach-file.
2553 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2555 * notifications.el (notifications-notify): Fix docstring.
2557 2012-04-02 Glenn Morris <rgm@gnu.org>
2559 * emacs-lisp/authors.el (authors-aliases): Another addition.
2561 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2563 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2564 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2565 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2567 2012-04-01 Chong Yidong <cyd@gnu.org>
2569 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2570 Handle root directory properly.
2571 (copy-directory): Caller changed.
2573 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2574 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2576 2012-03-31 Glenn Morris <rgm@gnu.org>
2578 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2580 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2582 * calendar/calendar.el (calendar-window-list)
2583 (calendar-hide-window): Restore. (Bug#11140)
2584 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2586 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2588 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2590 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2591 Check if file is a symlink (Bug#10489).
2593 * files.el (copy-directory): Likewise.
2595 2012-03-30 Chong Yidong <cyd@gnu.org>
2597 * image.el (imagemagick-types-inhibit)
2598 (imagemagick-register-types): Doc fix.
2600 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2602 * ispell.el (ispell-get-extended-character-mode):
2603 Disable extended-char-mode for hunspell. hunspell does not support it
2604 and treats ~word as ordinary words in pipe mode.
2606 2012-03-30 Glenn Morris <rgm@gnu.org>
2608 * tutorial.el (help-with-tutorial): Ensure local variables don't
2609 happen to make the buffer read-only. (Bug#11127)
2611 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2613 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2614 (perl-calculate-indent): Return `noindent' in strings.
2616 2012-03-28 Sam Steingold <sds@gnu.org>
2618 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2619 instead of the broken adhockery which does not prevent calendar
2620 buffers from being displayed at random after exit.
2621 (calendar-window-list, calendar-hide-window): Remove the broken
2624 2012-03-28 Glenn Morris <rgm@gnu.org>
2626 * replace.el (query-replace-map): Doc fix.
2628 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2630 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2631 contents. (Bug#11109)
2633 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2635 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2637 (avl-tree--check, avl-tree--check-node): New funs.
2639 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2641 * window.el (switch-to-visible-buffer): New option.
2642 (switch-to-prev-buffer, switch-to-next-buffer):
2643 Observe switch-to-visible-buffer. Make sure that checking for a window
2644 showing a buffer already is done on the same frame.
2646 2012-03-27 Glenn Morris <rgm@gnu.org>
2648 * startup.el (mail-host-address): Doc fix.
2650 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2655 2012-03-26 Ami Fischman <ami@fischman.org>
2657 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2659 2012-03-26 Glenn Morris <rgm@gnu.org>
2661 * files.el (save-buffers-kill-emacs): Doc fix.
2663 * startup.el (normal-top-level, command-line, command-line-1):
2664 Give them doc strings.
2666 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2668 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2669 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2671 2012-03-25 Chong Yidong <cyd@gnu.org>
2673 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2674 theme if it was previously enabled before (Bug#11031).
2676 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2677 spec with custom-face-get-current-spec if its :shown-value is not
2678 determined yet (Bug#9337).
2679 (customize-create-theme, custom-theme-revert): Doc fixes.
2681 * button.el (button-at): Minor addition to docstring.
2683 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2685 * vc/vc.el (vc-merge): Fix a prompt.
2687 2012-03-24 Chong Yidong <cyd@gnu.org>
2689 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2692 * button.el (button-at): Minor addition to docstring.
2694 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * newcomment.el (comment-choose-indent): No space after BOL.
2698 2012-03-22 Sam Steingold <sds@gnu.org>
2700 * window.el (switch-to-prev-buffer): Revert last patch because the
2701 bug turned out to be an advertised feature (Elisp manual 28.14).
2703 2012-03-22 Glenn Morris <rgm@gnu.org>
2705 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2706 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2708 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2710 * net/network-stream.el (network-stream-open-starttls): Make error
2711 message under Windows be less misleading.
2713 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2715 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2716 understands (bug#9942).
2718 2012-03-22 Chong Yidong <cyd@gnu.org>
2720 * simple.el (end-of-visible-line): Handle return value of
2721 next-single-property-change properly (Bug#9371).
2723 2012-03-22 Kenichi Handa <handa@m17n.org>
2725 * international/quail.el (quail-insert-kbd-layout): Fix previous
2726 change. To avoid unwanted bidi reordering, use
2727 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2729 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2731 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2732 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2733 (ruby-beginning-of-indent): Be more careful with the difference
2734 between word-boundary and symbol boundary.
2735 (ruby-mode-syntax-table): Make : a symbol constituent.
2737 2012-03-21 Andreas Politz <politza@fh-trier.de>
2739 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2741 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * progmodes/etags.el (tags-completion-at-point-function):
2746 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2748 2012-03-21 Sam Steingold <sds@gnu.org>
2750 * progmodes/etags.el (tags-completion-at-point-function):
2751 Avoid the error when point is inside the pattern.
2753 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2755 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2758 2012-03-21 Drew Adams <drew.adams@oracle.com>
2760 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2762 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2764 * ido.el (ido-set-current-directory, ido-read-internal)
2765 (ido-choose-completion-string, ido-completion-help): Handle nil
2766 value of ido-completion-buffer (Bug#11008).
2768 2012-03-21 Sam Steingold <sds@gnu.org>
2770 * window.el (switch-to-prev-buffer): Do not switch to a visible
2771 window previous buffer, just like with the frame previous buffers.
2773 2012-03-21 Chong Yidong <cyd@gnu.org>
2775 * faces.el (make-face, make-empty-face, copy-face):
2776 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2779 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2782 (widget-complete): Remove broken use of it.
2784 2012-03-20 Chong Yidong <cyd@gnu.org>
2786 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2787 Use string-width and truncate-string-width to handle arbitrary
2790 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2792 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2793 to draw rectangles, not squares. (Regression introduced by revno
2794 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2796 2012-03-18 Chong Yidong <cyd@gnu.org>
2798 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2799 it is not yet defined (for temacs).
2801 2012-03-18 Leo Liu <sdl.web@gmail.com>
2803 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2805 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2807 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2808 (ispell-choices-win-default-height, ispell-silently-savep)
2809 (ispell-dictionary-alist, ispell-encoding8-command)
2810 (ispell-check-version, ispell-aspell-find-dictionary)
2811 (ispell-valid-dictionary-list, ispell-words-keyword)
2812 (ispell-get-word, ispell-internal-change-dictionary)
2813 (ispell-region, ispell-skip-region-list)
2814 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2815 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2816 (ispell-message-text-end, ispell-message)
2817 (ispell-buffer-local-parsing): Doc fix.
2819 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2821 * htmlfontify.el: Add support for code block fontification for ODT
2823 (hfy-optimisations): Define new option
2825 (hfy-fontify-buffer): Honor above setting.
2826 (hfy-begin-span, hfy-end-span): New routines factored out form
2827 `hfy-fontify-buffer'.
2828 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2829 that permit insertion of custom tags.
2830 (hfy-fontify-buffer): Use above handlers.
2831 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2832 (hfy-face-to-css): Re-defined to be a variable.
2833 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2834 over multiple runs. This is made possible by having the caller let
2835 bind a special variable `hfy-user-sheet-assoc'.
2836 (htmlfontify-string): New defun.
2837 (hfy-compile-face-map): Make sure that the last char in the
2838 buffer is correctly fontified.
2839 (hfy-face-resolve-face): Whitespace only change.
2841 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2843 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2846 2012-03-16 Leo Liu <sdl.web@gmail.com>
2848 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2850 2012-03-16 Alan Mackenzie <acm@muc.de>
2852 Further optimise the handling of large macros.
2854 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2855 limit to a call of `c-literal-limits'.
2856 (c-determine-+ve-limit): New function.
2857 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2858 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2859 In CASE 5B, restrict a search limit to 500.
2860 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2862 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2863 Restrict macro bounds to +-500 from after-change's BEG END.
2865 2012-03-16 Leo Liu <sdl.web@gmail.com>
2867 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2869 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2871 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2872 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2874 2012-03-16 Glenn Morris <rgm@gnu.org>
2876 * view.el (view-buffer, view-buffer-other-window)
2877 (view-buffer-other-frame): Doc fixes re special mode-class.
2879 * subr.el (eval-after-load): If named feature is provided not from
2880 a file, run after-load forms. (Bug#10946)
2882 * calendar/calendar.el (calendar-insert-at-column):
2883 Handle non-unit-width characters a bit better. (Bug#10978)
2885 2012-03-15 Chong Yidong <cyd@gnu.org>
2887 * emacs-lisp/ring.el (ring-extend): New function.
2888 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2890 * comint.el (comint-read-input-ring)
2891 (comint-add-to-input-history): Grow comint-input-ring lazily.
2893 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2895 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2896 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2898 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2899 (imenu-add-to-menubar): Don't add a redundant index.
2900 (imenu-update-menubar): Handle a dynamically composed keymap.
2902 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2904 * mail/sendmail.el (mail-encode-header):
2905 Bind rfc2047-encode-encoded-words to nil.
2907 2012-03-13 Glenn Morris <rgm@gnu.org>
2909 * calendar/calendar.el (calendar-string-spread):
2910 Handle non-unit-width characters a bit better. (Bug#10978)
2912 2012-03-13 Leo Liu <sdl.web@gmail.com>
2914 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2915 directory and file as argument (Bug#10822).
2917 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2919 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2920 For dynamically generated code, follow $PC.
2921 (gdb-disassembly-handler-custom): Handle no function name case.
2923 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2925 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2926 * emulation/ws-mode.el (ws-query-replace):
2927 * sort.el (sort-regexp-fields):
2928 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2930 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2932 * dabbrev.el: Fix cycle completion order (bug#10963).
2933 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2934 (dabbrev-completion): Don't use an obarray; provide
2935 a cycle-sort-function.
2937 2012-03-12 Leo Liu <sdl.web@gmail.com>
2939 * simple.el (kill-new): Use equal-including-properties for comparison.
2940 (kill-do-not-save-duplicates): Doc fix.
2942 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * dabbrev.el: Fix cycle completion (bug#10963).
2945 Use lexical binding and wrap to 80 columns.
2946 (dabbrev-completion): Delay computing the list of completions.
2948 2012-03-12 Kenichi Handa <handa@m17n.org>
2950 * international/quail.el (quail-insert-kbd-layout): Surround each
2951 row by LRO and PDF instead of inserting many LRMs. Pad the left
2952 and right of each non-spacing marks. Insert invisible space
2953 between lower and upper characters to prevent composition.
2955 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * minibuffer.el (minibuffer-complete): Don't get confused when the
2958 function is run twice via different commands (bug#10958).
2959 (complete-with-action): Fix docstring.
2961 2012-03-12 Chong Yidong <cyd@gnu.org>
2963 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2964 (nxml-completion-at-point-function): New function.
2965 (nxml-mode): Use it.
2966 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2968 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2969 Load generated autoloads file before byte compiling (Bug#10970).
2970 (package--make-autoloads-and-compile): New helper fun.
2972 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2974 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2976 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2978 * autorevert.el (auto-revert-handler): Ensure, that
2979 file-readable-p is applied only for local files or in
2980 auto-revert-tail-mode.
2982 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2984 * server.el (server-eval-at): Handle non-tcp connections.
2985 Decode result string.
2987 * server.el (server-msg-size): New constant.
2988 (server-reply-print): New function.
2989 (server-eval-and-print): Use it.
2990 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2993 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2995 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2998 2012-03-11 Chong Yidong <cyd@gnu.org>
3000 * simple.el (goto-line): Doc fix (Bug#9938).
3002 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3004 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3005 when finished (Bug#10963).
3007 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3009 * window.el (split-window-below): Fix bug in case where
3010 split-window-keep-point is nil (Bug#10971).
3012 2012-03-11 Juri Linkov <juri@jurta.org>
3014 * replace.el (replace-highlight): Set isearch-word to nil
3015 unconditionally. (Bug#10887)
3017 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3019 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3020 mairix-replace-illegal-chars; all callers changed. Don't remove
3021 ^, ~, and = characters: they are meaningful in mairix search specs.
3022 (mairix-widget-create-query): Add usage information about mairix
3023 search forms: negating words, searching for substrings, etc.
3025 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3027 * international/fontset.el (font-encoding-alist): Add an entry for
3030 2012-03-10 Richard Stallman <rms@gnu.org>
3032 * mail/sendmail.el (mail-encode-header):
3033 Set rfc2047-encode-encoded-words.
3035 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3037 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3038 view buffer means not swapped.
3039 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3040 (rmail-write-region-annotate): Error if real text has disappeared.
3042 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3044 2012-03-10 Chong Yidong <cyd@gnu.org>
3046 * emulation/cua-rect.el (cua--init-rectangles):
3047 * emulation/cua-base.el (cua--init-keymaps):
3048 Add delete-forward-char to remappings (Bug#9666).
3050 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3052 * speedbar.el (speedbar-unhighlight-one-tag-line):
3053 Avoid unhighlighting due to frame switching (Bug#10275).
3055 2012-03-10 Chong Yidong <cyd@gnu.org>
3057 * minibuffer.el (completion-in-region, completion-help-at-point):
3058 Give the completion field overlay a high priority (Bug#6830).
3060 * dired.el (dired-goto-file): Recognize absolute file name
3061 listings (Bug#7126).
3062 (dired-goto-file-1): New helper function.
3063 (dired-toggle-read-only): Inhibit warnings.
3065 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3067 * net/dbus.el (dbus-property-handler): Return empty array if
3068 there are no properties.
3070 2012-03-09 Leo Liu <sdl.web@gmail.com>
3072 * savehist.el (savehist-printable): Stricter check for string
3075 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3077 * mail/smtpmail.el (smtpmail-send-it):
3078 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3081 2012-03-09 Glenn Morris <rgm@gnu.org>
3083 * files.el (dir-locals-find-file):
3084 Don't check result is regular, readable.
3085 (dir-locals-read-from-file): Demote errors.
3087 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3089 * international/quail.el (quail-insert-kbd-layout):
3090 Insert invisible LRM characters before each character in a keyboard
3091 layout cell, to prevent their reordering by bidi display engine.
3092 For details, see the discussion in
3093 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3095 2012-03-08 Alan Mackenzie <acm@muc.de>
3097 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3098 the starting position; make it extend the marked region when
3099 invoked repeatedly - all under appropriate circumstances.
3100 Fixes bugs #5525, #10906.
3102 2012-03-08 Glenn Morris <rgm@gnu.org>
3104 * files.el (locate-dominating-file, dir-locals-find-file):
3105 Undo 2012-03-06 change.
3107 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3109 * international/quail.el (quail-help):
3110 Force bidi-paragraph-direction be left-to-right. See discussion in
3111 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3114 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3116 Avoid superfluous registering of signals. (Bug#10807)
3118 * notifications.el (notifications-on-action-object)
3119 (notifications-on-close-object): New defvars.
3120 (notifications-on-action-signal, notifications-on-closed-signal):
3121 Unregister the signal if not needed any longer.
3122 (notifications-notify): Register `notifications-action-signal' or
3123 `notifications-closed-signal', if :on-action or :on-close has been
3126 2012-03-07 Chong Yidong <cyd@gnu.org>
3128 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3131 2012-03-06 Glenn Morris <rgm@gnu.org>
3133 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3134 (x-disown-selection-internal, x-get-selection-internal):
3135 Doc fix (add arglist signatures). (Bug#10783)
3137 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3139 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3140 Handle breakpoints with no "type".
3142 2012-03-06 Glenn Morris <rgm@gnu.org>
3144 * files.el (locate-dominating-file): Add optional predicate argument.
3145 (dir-locals-find-file): Make use of above change.
3147 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3149 * info.el (Info-insert-dir): Also try "dir.gz".
3151 2012-03-06 Glenn Morris <rgm@gnu.org>
3153 * files.el (dir-locals-find-file):
3154 Ignore non-readable or non-regular files. (Bug#10928)
3156 * files.el (locate-dominating-file): Doc fix.
3158 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3160 * calendar/calendar.el (calendar-set-mode-line):
3161 `getenv' returns a string. (Bug#10951)
3163 2012-03-05 Leo Liu <sdl.web@gmail.com>
3165 * simple.el (backward-delete-char-untabify): Constrain point to
3168 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3170 2012-03-05 Chong Yidong <cyd@gnu.org>
3172 * simple.el (count-words): If called from Lisp, return the word
3173 count, for symmetry with `count-lines'. Arglist changed.
3174 (count-words--message): Args changed. Consolidate counting code
3175 from count-words and count-words-region.
3176 (count-words-region): Caller changed.
3177 (count-lines-region): Make it an obsolete alias.
3179 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3181 * saveplace.el (save-place-to-alist)
3182 (save-place-ignore-files-regexp): Allow value nil to disable this
3185 2012-03-04 Chong Yidong <cyd@gnu.org>
3187 * faces.el (face-spec-reset-face): For the default face, reset the
3188 attributes to default values (Bug#10748).
3190 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3192 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3193 previous patch: Check `message-send-mail-function', and not the
3194 default function (bug#10897).
3196 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3198 * notifications.el (notifications-on-action-signal)
3199 (notifications-on-closed-signal): Check for unique service name of
3200 incoming event. Fix error in removing entry.
3201 (top): Register for signals with wildcard service name.
3202 (notifications-notify): Use daemon unique service name for map entries.
3204 2012-03-04 Chong Yidong <cyd@gnu.org>
3206 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3208 2012-03-04 Glenn Morris <rgm@gnu.org>
3210 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3211 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3212 (expand-abbrev, define-abbrev-table): Doc fixes.
3214 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3216 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3217 `message-default-send-mail-function' and not `send-mail-function'
3218 when doing the prompting for `sendmail-query-once' before sending
3219 in Message buffers (bug#10897).
3221 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3222 This is inconsistent with all the other stream functions, which leave
3223 the setting up to the higher levels (if so wanted) (bug#10931).
3225 2012-03-02 Alan Mackenzie <acm@muc.de>
3227 Depessimize the handling of very large macros.
3229 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3230 (c-macro-cache-syntactic): New variables to implement a one
3231 element macro cache.
3232 (c-invalidate-macro-cache): New function.
3233 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3234 Adapt to use the new cache.
3235 (c-state-safe-place): Use better the cache of safe positions.
3236 (c-state-semi-nonlit-pos-cache)
3237 (c-state-semi-nonlit-pos-cache-limit):
3238 New variables for...
3239 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3240 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3241 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3242 Use c-state-semi-safe-place.
3244 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3245 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3247 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3249 * jka-compr.el (jka-compr-call-process):
3250 Apply `file-accessible-directory-p' only when the default directory is
3253 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3255 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3256 access of FILE2, if FILE1 does not exist.
3258 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3259 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3261 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3262 Add "PAGER=" to `process-environment'.
3264 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3266 * progmodes/sql.el: Bug fix
3267 (sql-get-login-ext): Save login values in globals.
3268 (sql-get-login): Use new version of `sql-get-login-ext'.
3269 (sql-interactive-mode): Set global `sql-connection' to nil.
3270 (sql-connect): Set global values for connection.
3271 (sql-product-interactive): Save global values as buffer local.
3273 2012-02-29 Leo Liu <sdl.web@gmail.com>
3275 * abbrev.el (define-abbrevs): Reset sys to nil.
3277 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3279 * files.el (file-equal-p): Rename from `files-equal-p'.
3280 Return nil when one or both files don't exist.
3281 (file-subdir-of-p): Now only top directory must exists,
3282 return nil if it doesn't.
3283 (copy-directory): No need to test with `file-subdir-of-p' after
3285 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3288 2012-02-28 Glenn Morris <rgm@gnu.org>
3290 * shell.el (shell-mode):
3291 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3292 * play/landmark.el (landmark-font-lock-face-O):
3293 * play/handwrite.el (handwrite):
3294 * play/gomoku.el (gomoku-O):
3295 * net/browse-url.el (browse-url-browser-display):
3296 * international/mule.el (define-charset):
3297 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3298 * filesets.el (filesets-find-file-delay):
3299 * eshell/em-xtra.el (eshell-xtra):
3300 * eshell/em-unix.el (eshell-grep):
3301 * emulation/viper.el (viper-mode):
3302 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3303 * emacs-lisp/easymenu.el (easy-menu-define):
3304 * calendar/timeclock.el (timeclock-use-display-time):
3306 * bookmark.el (bookmark-save-flag):
3307 Doc fix (standardize possessive apostrophe usage).
3309 2012-02-27 Chong Yidong <cyd@gnu.org>
3311 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3312 Fix key-binding lookup for ESC key (Bug#9146).
3314 * font-lock.el (font-lock-specified-p): Rename from
3315 font-lock-spec-present. Callers changed.
3317 2012-02-27 Daniel Hackney <dan@haxney.org>
3319 * emacs-lisp/package.el (package-compute-transaction):
3320 Handle holding a package version to t in package-load-list.
3322 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3324 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3325 (tramp-get-inode, tramp-get-device): Use cached values.
3327 2012-02-26 Alan Mackenzie <acm@muc.de>
3329 Check there is a font-lock specification before doing initial
3332 * font-core.el (font-lock-mode): Move the conditional from
3333 :after-hook to font-lock-initial-fontify.
3334 (font-lock-default-function): Move the check for a specification
3335 to font-lock-spec-present.
3337 * font-lock.el (font-lock-initial-fontify): Call ...
3338 (font-lock-spec-present): New function.
3340 2012-02-26 Jim Blandy <jimb@red-bean.com>
3342 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3343 (gdb-send): Apply it to the operand of the '-interpreter-exec
3344 console' command, so that we can pass arguments with (say) quotes
3345 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3347 2012-02-26 Chong Yidong <cyd@gnu.org>
3349 * help-fns.el (describe-function-1): Clarify description of
3350 remapping (Bug#10844).
3352 * files.el (files-equal-p): Doc fix.
3353 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3354 and quit the loop once a mismatch is found.
3356 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3358 * bs.el (bs--show-with-configuration): Don't throw an error
3359 if the window cannot be split; otherwise, subsequent calls to
3360 bs-show fail, restoring a stale window config. (Bug#10882)
3362 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3364 * term/ns-win.el (global-map): Bind ns-drag-file to
3365 ns-find-file (Bug#5855, Bug#10050).
3367 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3369 * calendar/parse-time.el (parse-time-string): Allow extractor to
3372 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3374 * net/tramp.el (tramp-file-name-for-operation):
3375 Add `files-equal-p' and `file-subdir-of-p'.
3377 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3378 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3379 Add COPY-CONTENTS argument.
3381 2012-02-25 Chong Yidong <cyd@gnu.org>
3383 Add custom groups for VC backends, for consistency with vc-bzr.
3385 * vc/vc-arch.el (vc-arch):
3386 * vc/vc-cvs.el (vc-cvs):
3387 * vc/vc-git.el (vc-git):
3388 * vc/vc-hg.el (vc-hg):
3389 * vc/vc-mtn.el (vc-mtn):
3390 * vc/vc-rcs.el (vc-rcs):
3391 * vc/vc-sccs.el (vc-sccs):
3392 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3393 All relevant defcustoms reassigned.
3395 2012-02-25 Chong Yidong <cyd@gnu.org>
3397 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3399 * term/x-win.el (x-initialize-window-system): Reduce default for
3400 x-selection-timeout to 5 seconds (Bug#8869).
3402 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3404 * files.el (files-equal-p, file-subdir-of-p): New functions.
3405 (copy-directory): Error when trying to copy a directory on itself.
3406 Add missing copy-contents arg to tramp handler.
3407 * dired-aux.el (dired-copy-file-recursive): Same.
3408 (dired-create-files): Modify destination when source is equal to
3409 dest when copying files.
3410 Return also when dest is a subdir of source. (Bug#10489)
3412 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3414 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3417 2012-02-23 Alan Mackenzie <acm@muc.de>
3419 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3420 parameter "after-hook:" to allow the expansion to run code after
3421 the execution of the mode hooks.
3423 * font-lock.el (font-lock-initial-fontify): New function extracted
3424 from font-lock-mode-internal.
3426 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3429 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3431 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3432 (completion--cache-all-sorted-completions): New function.
3433 (completion-all-sorted-completions): Use it.
3434 (completion--do-completion, minibuffer-force-complete):
3435 Use it to re-instate the flush hook.
3437 * icomplete.el (icomplete-completions): Replace last fix with a better
3440 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3442 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3443 when it might call us back infinitely (bug#10797).
3445 2012-02-23 Glenn Morris <rgm@gnu.org>
3447 * minibuffer.el (completion-category-overrides): Doc fix.
3449 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3451 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3452 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3454 2012-02-23 Glenn Morris <rgm@gnu.org>
3456 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3457 (authors-obsolete-files-regexps, authors-ignored-files)
3458 (authors-ambiguous-files, authors-renamed-files-alist):
3461 2012-02-23 Juri Linkov <juri@jurta.org>
3463 * isearch.el (isearch-occur): Sync interactive spec with occur's
3464 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3466 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3468 2012-02-22 Juri Linkov <juri@jurta.org>
3470 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3471 (ucs-insert): Doc fix. Check for hex digits in the string.
3472 Don't display `nil' in the error message. (Bug#10857)
3474 2012-02-22 Alan Mackenzie <acm@muc.de>
3476 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3478 2012-02-22 Glenn Morris <rgm@gnu.org>
3480 * ffap.el (ffap-c-path):
3481 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3483 2012-02-22 Chong Yidong <cyd@gnu.org>
3485 * custom.el (load-theme): Doc fix.
3487 2012-02-22 Glenn Morris <rgm@gnu.org>
3489 * dired-x.el (dired-guess-shell-alist-default):
3490 Remove escape sequences from nroff output. (Bug#172)
3492 2012-02-21 Glenn Morris <rgm@gnu.org>
3494 * vc/emerge.el (emerge-defvar-local):
3495 Set `permanent-local' property rather than unused `preserved'.
3497 * textmodes/picture.el (picture-delete-char): New alias.
3498 (picture-mode-map): Use it. (Bug#10860)
3499 (picture-mode): Doc fix.
3501 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3503 * newcomment.el (uncomment-region-default): Remove unused binding.
3505 2012-02-21 Glenn Morris <rgm@gnu.org>
3507 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3508 (picture-self-insert, picture-tab-chars): Doc fix.
3509 (picture-mode-map): Fix C-a, C-e.
3511 2012-02-20 Glenn Morris <rgm@gnu.org>
3513 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3515 2012-02-20 Leo Liu <sdl.web@gmail.com>
3517 * icomplete.el (icomplete-completions): Check FROM arg before
3518 passing to substring (Bug#10850).
3520 2012-02-19 Chong Yidong <cyd@gnu.org>
3522 * comint.el: Require ansi-color.
3523 (comint-output-filter-functions): Add ansi-color-process-output.
3525 * ansi-color.el: Don't set comint-output-filter-functions; it is
3526 now in the initial value defined in comint.el.
3527 (ansi-color-apply-face-function): New variable.
3528 (ansi-color-apply-on-region): Use it.
3529 (ansi-color-apply-overlay-face): New function.
3531 * shell.el (shell): No need to require ansi-color.
3532 (shell-mode): Use ansi-color-apply-face-function to highlight
3533 color escapes using font-lock-face property (Bug#10835).
3535 2012-02-19 Chong Yidong <cyd@gnu.org>
3537 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3538 mode-line formats (Bug#10839).
3540 2012-02-18 Glenn Morris <rgm@gnu.org>
3542 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3544 * mail/undigest.el (unforward-rmail-message): Doc fix.
3546 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3548 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3550 * international/characters.el (script-list): Sync with the latest
3551 Unicode Character Database.
3553 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3555 * international/titdic-cnv.el: Remove duplicate coding tag.
3556 * language/cham.el: Likewise.
3557 * language/tai-viet.el: Likewise.
3559 2012-02-18 Glenn Morris <rgm@gnu.org>
3561 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3562 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3563 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3564 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3565 * calendar/holidays.el (holiday-bahai-holidays)
3566 (calendar-holidays, list-holidays):
3567 Use utf-8 Bahá'í in doc-strings, menus, etc.
3569 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3571 * saveplace.el (save-place-ignore-files-regexp): New variable
3572 allowing for excluding files from saving their location of point.
3573 The default value matches the temporary commit message editing
3574 files from Git, SVN, Bazaar, and Mercurial.
3575 (save-place-to-alist): Use it.
3577 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3578 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * newcomment.el (uncomment-region-default): Don't leave extra space
3581 when an arg is provided (bug#8150).
3583 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3585 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3587 2012-02-17 Glenn Morris <rgm@gnu.org>
3589 * net/socks.el: Require network-stream. (Bug#10599)
3591 2012-02-17 Kenichi Handa <handa@m17n.org>
3593 * international/charprop.el:
3594 * international/uni-name.el:
3595 * international/uni-old-name.el:
3596 * international/uni-comment.el: Regenerate.
3598 2012-02-16 Glenn Morris <rgm@gnu.org>
3600 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3601 Interactively in calendar buffer, give an error if not on a date.
3603 2012-02-15 Glenn Morris <rgm@gnu.org>
3605 * shell.el (shell-delimiter-argument-list):
3606 Revert 2011-02-17 change. (Bug#8027)
3608 2012-02-15 Chong Yidong <cyd@gnu.org>
3610 * minibuffer.el (completion-at-point-functions): Doc fix.
3612 * custom.el (defcustom): Doc fix; note use of defvar.
3614 2012-02-15 Glenn Morris <rgm@gnu.org>
3616 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3619 2012-02-14 Glenn Morris <rgm@gnu.org>
3621 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3623 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3625 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3626 way the ports list is computed.
3627 (smtpmail-query-smtp-server): Prompt the user for a port number if
3628 we can't connect to any of the standard ports (bug#10810).
3630 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3632 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3634 2012-02-13 Glenn Morris <rgm@gnu.org>
3636 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3638 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3640 * net/gnutls.el (gnutls-trustfiles): New variable.
3641 (gnutls-negotiate): Use it.
3643 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3645 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3646 does its stuff if Gnus is running.
3648 2012-02-13 Alan Mackenzie <acm@muc.de>
3650 Fix a loop in c-set-fl-decl-start.
3652 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3653 c-backward-syntactic-ws actually moves backwards.
3655 2012-02-13 Leo Liu <sdl.web@gmail.com>
3657 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3658 beginning so that all \C-o chars are removed.
3660 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3662 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3664 2012-02-12 Alan Mackenzie <acm@muc.de>
3666 Fix infinite loop with long macros.
3667 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3669 2012-02-12 Chong Yidong <cyd@gnu.org>
3671 * window.el (display-buffer): Doc fix (Bug#10785).
3673 2012-02-12 Glenn Morris <rgm@gnu.org>
3675 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3676 (x-disown-selection-internal, x-get-selection-internal):
3677 Sync docs with the xselect.c versions.
3679 * allout-widgets.el: Add missing license notice.
3681 2012-02-11 Glenn Morris <rgm@gnu.org>
3683 * select.el (x-get-selection-internal, x-own-selection-internal)
3684 (x-disown-selection-internal):
3685 * x-dnd.el (x-get-selection-internal): Update declarations.
3687 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3689 * window.el (window-sides-slots):
3690 * tool-bar.el (tool-bar-position):
3691 * term/xterm.el (xterm-extra-capabilities):
3692 * ses.el (ses-self-reference-early-detection):
3693 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3694 (verilog-auto-wire-type)
3695 (verilog-auto-delete-trailing-whitespace)
3696 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3697 (verilog-auto-tieoff-declaration):
3698 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3699 (sql-oracle-statement-starters, sql-oracle-scan-on):
3700 * progmodes/prolog.el (prolog-align-comments-flag)
3701 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3702 (prolog-left-indent-regexp, prolog-paren-indent-p)
3703 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3704 (prolog-types, prolog-mode-specificators)
3705 (prolog-determinism-specificators, prolog-directives)
3706 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3707 (prolog-electric-dot-flag)
3708 (prolog-electric-dot-full-predicate-template)
3709 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3710 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3711 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3712 (prolog-program-switches, prolog-prompt-regexp)
3713 (prolog-debug-on-string, prolog-debug-off-string)
3714 (prolog-trace-on-string, prolog-trace-off-string)
3715 (prolog-zip-on-string, prolog-zip-off-string)
3716 (prolog-use-standard-consult-compile-method-flag)
3717 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3718 (prolog-imenu-max-lines, prolog-info-predicate-index)
3719 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3720 (prolog-char-quote-workaround):
3721 * progmodes/cc-vars.el (c-defun-tactic):
3722 * net/tramp.el (tramp-encoding-command-interactive)
3723 (tramp-local-end-of-line):
3724 * net/soap-client.el (soap-client):
3725 * net/netrc.el (netrc-file):
3726 * net/gnutls.el (gnutls):
3727 * minibuffer.el (completion-category-overrides)
3728 (completion-cycle-threshold)
3729 (completion-pcm-complete-word-inserts-delimiters):
3730 * man.el (Man-name-local-regexp):
3731 * mail/feedmail.el (feedmail-display-full-frame):
3732 * international/characters.el (glyphless-char-display-control):
3733 * eshell/em-ls.el (eshell-ls-date-format):
3734 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3735 (lisp-lambda-list-keyword-parameter-indentation)
3736 (lisp-lambda-list-keyword-parameter-alignment):
3737 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3738 * dired-x.el (dired-omit-verbose):
3739 * cus-theme.el (custom-theme-allow-multiple-selections):
3740 * calc/calc.el (calc-highlight-selections-with-faces)
3741 (calc-lu-field-reference, calc-lu-power-reference)
3742 (calc-note-threshold):
3743 * battery.el (battery-mode-line-limit):
3744 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3745 (archive-7z-update):
3746 * allout.el (allout-prefixed-keybindings)
3747 (allout-unprefixed-keybindings)
3748 (allout-inhibit-auto-fill-on-headline)
3749 (allout-flattened-numbering-abbreviation):
3750 * allout-widgets.el (allout-widgets-auto-activation)
3751 (allout-widgets-icons-dark-subdir)
3752 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3753 (allout-widgets-theme-dark-background)
3754 (allout-widgets-theme-light-background)
3755 (allout-widgets-item-image-properties-emacs)
3756 (allout-widgets-item-image-properties-xemacs)
3757 (allout-widgets-run-unit-tests-on-load)
3758 (allout-widgets-time-decoration-activity)
3759 (allout-widgets-hook-error-post-time)
3760 (allout-widgets-track-decoration):
3761 Add missing :version tags to new defcustoms and defgroups.
3763 * progmodes/sql.el (sql-ansi-statement-starters)
3764 (sql-oracle-statement-starters): Add custom type.
3766 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3767 (prolog-system-version): Give it a type.
3769 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3771 * term/pc-win.el (x-select-text, x-selection-owner-p)
3772 (x-own-selection-internal, x-disown-selection-internal)
3773 (x-get-selection-internal): Sync doc strings and argument lists
3774 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3776 2012-02-11 Leo Liu <sdl.web@gmail.com>
3778 * progmodes/python.el (python-end-of-statement): Fix infinite
3781 2012-02-10 Glenn Morris <rgm@gnu.org>
3783 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3784 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3786 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3788 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3789 about SMTP before checking the From header.
3791 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3792 into own function for reuse by emacsbug.el.
3794 2012-02-10 Leo Liu <sdl.web@gmail.com>
3796 * subr.el (condition-case-unless-debug): Rename from
3797 condition-case-no-debug. All callers changed.
3798 (with-demoted-errors): Fix caller.
3800 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3801 * nxml/rng-valid.el (rng-do-some-validation):
3802 * emacs-lisp/package.el (package-refresh-contents)
3803 (package-menu-execute):
3804 * desktop.el (desktop-create-buffer):
3805 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3807 2012-02-10 Glenn Morris <rgm@gnu.org>
3809 * textmodes/bibtex.el:
3810 Add missing :version tags for new/changed defcustoms.
3812 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3814 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3816 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3817 (smtpmail-via-smtp): Use it, or fall back on the From address.
3818 (smtpmail-send-it): Ditto.
3820 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3823 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3824 (byte-compile-tmp-var): New const.
3825 (byte-compile-defvar): Use it to minimize .elc size.
3826 Just use `defvar' rather than simulate it (bug#10761).
3828 2012-02-09 Glenn Morris <rgm@gnu.org>
3830 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3832 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3835 * progmodes/compile.el (compilation-error-screen-columns)
3836 (compilation-first-column, compilation-filter-start): Doc fixes.
3838 * vc/log-view.el (log-view-toggle-entry-display):
3839 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3841 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3842 (report-emacs-bug-can-use-xdg-email):
3843 (report-emacs-bug-insert-to-mailer): Doc fixes.
3844 (report-emacs-bug): Message fix.
3846 * net/browse-url.el (browse-url-can-use-xdg-open)
3847 (browse-url-xdg-open): Doc fixes.
3849 * electric.el (electric-indent-mode, electric-pair-mode)
3850 (electric-layout-rules, electric-layout-mode): Doc fixes.
3851 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3853 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3855 * server.el (server-unselect-display): Don't inadvertently kill
3856 the current buffer. (Bug#10729)
3858 2012-02-08 Glenn Morris <rgm@gnu.org>
3860 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3861 (sql-list-table): Doc fixes.
3863 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3864 Comment out (does nothing).
3866 * completion.el (dynamic-completion-mode):
3867 * dirtrack.el (dirtrack-debug-mode):
3868 * electric.el (electric-layout-mode):
3869 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3870 * face-remap.el (text-scale-mode, buffer-face-mode):
3871 * iimage.el (iimage-mode):
3872 * image-mode.el (image-transform-mode):
3873 * minibuffer.el (completion-in-region-mode):
3874 * scroll-lock.el (scroll-lock-mode):
3875 * simple.el (next-error-follow-minor-mode):
3876 * tar-mode.el (tar-subfile-mode):
3877 * tooltip.el (tooltip-mode):
3878 * vcursor.el (vcursor-use-vcursor-map):
3879 * wid-browse.el (widget-minor-mode):
3880 * emulation/tpu-edt.el (tpu-edt-mode):
3881 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3882 * international/iso-ascii.el (iso-ascii-mode):
3883 * language/thai-util.el (thai-word-mode):
3884 * mail/supercite.el (sc-minor-mode):
3885 * net/goto-addr.el (goto-address-mode):
3886 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3887 * progmodes/cwarn.el (cwarn-mode):
3888 * progmodes/flymake.el (flymake-mode):
3889 * progmodes/glasses.el (glasses-mode):
3890 * progmodes/hideshow.el (hs-minor-mode):
3891 * progmodes/pascal.el (pascal-outline-mode):
3892 * textmodes/enriched.el (enriched-mode):
3893 * vc/smerge-mode.el (smerge-mode):
3894 Doc fixes (minor mode argument).
3896 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3898 * ls-lisp.el (ls-lisp-sanitize): New function.
3899 (ls-lisp-insert-directory): Use it to fix or remove any elements
3900 in file-alist with missing attributes. (Bug#4673)
3902 2012-02-07 Alan Mackenzie <acm@muc.de>
3904 Fix spurious recognition of c-in-knr-argdecl.
3906 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3907 putative K&R region.
3909 2012-02-07 Alan Mackenzie <acm@muc.de>
3911 * progmodes/cc-engine.el (c-forward-objc-directive):
3912 Prevent looping in "#pragma mark @implementation".
3914 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3916 * notifications.el (notifications-on-closed-signal): Make `reason'
3917 optional. (Bug#10744)
3919 2012-02-07 Glenn Morris <rgm@gnu.org>
3921 * emacs-lisp/easy-mmode.el (define-minor-mode):
3922 Doc fixes for the macro and the mode it defines.
3924 * image.el (imagemagick-types-inhibit): Doc fix.
3926 * cus-start.el (imagemagick-render-type): Add it.
3928 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3930 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3931 Set the default at load time, too, so that `font-lock-fontify-buffer'
3932 can be called without setting up the entire mode first. This fixes
3933 a bug in `mm-inline-text' with C MIME parts.
3935 2012-02-06 Chong Yidong <cyd@gnu.org>
3937 * simple.el (list-processes--refresh): Delete exited processes
3940 * comint.el (comint-next-prompt): next-single-char-property-change
3941 and prev-single-char-property-change never return nil (Bug#8657).
3943 * custom.el (defcustom): Doc fix (Bug#9711).
3945 2012-02-05 Chong Yidong <cyd@gnu.org>
3947 * cus-edit.el (custom-variable-reset-backup): Quote the value
3948 before storing it in the customized-value property (Bug#6712).
3949 (custom-display): Add a customization type tag.
3950 (custom-buffer-create-internal): Improve tooltip message.
3952 * wid-edit.el (widget-field-value-get): New optional arg to
3953 suppress trailing whitespace truncation.
3954 (character): Use it (Bug#2689).
3956 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3958 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3959 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3961 2012-02-05 Chong Yidong <cyd@gnu.org>
3963 * cus-edit.el (custom-variable-value-create): For mismatched
3964 types, show the current value (Bug#7600).
3966 * custom.el (defcustom): Doc fix.
3968 2012-02-05 Glenn Morris <rgm@gnu.org>
3970 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3972 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3974 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3975 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3976 (pp-last-sexp): Use `looking-at-p'.
3978 2012-02-04 Glenn Morris <rgm@gnu.org>
3980 * files.el (revert-buffer):
3981 Doc fix (mention revert-buffer-in-progress-p).
3983 * emacs-lisp/ert-x.el (ert-simulate-command):
3984 Check deferred-action-list (which is obsolete) is bound.
3986 * subr.el (with-wrapper-hook): Doc fixes.
3988 * simple.el (filter-buffer-substring-functions)
3989 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3991 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3993 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3994 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3996 2012-02-04 Leo Liu <sdl.web@gmail.com>
3998 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4000 2012-02-04 Glenn Morris <rgm@gnu.org>
4002 * image.el (image-extension-data): Add obsolete alias.
4004 * isearch.el (isearch-update): Doc fix.
4006 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4008 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4010 2012-02-03 Glenn Morris <rgm@gnu.org>
4012 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4013 (image-animate-timeout): Doc fix.
4015 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4017 2012-02-02 Glenn Morris <rgm@gnu.org>
4019 * server.el (server-auth-dir): Doc fix.
4020 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4022 * subr.el (run-mode-hooks): Doc fix.
4024 2012-02-02 Juri Linkov <juri@jurta.org>
4026 * image-mode.el (image-toggle-display-image): Remove tautological
4027 `major-mode' from the `derived-mode-p' test.
4029 2012-02-02 Kenichi Handa <handa@m17n.org>
4031 * composite.el (compose-region): Cancel previous change.
4033 2012-02-02 Kenichi Handa <handa@m17n.org>
4035 * composite.el (compose-region, compose-string): Signal error for
4036 a null string component (Bug#6988).
4038 2012-02-01 Chong Yidong <cyd@gnu.org>
4040 * view.el (view-buffer-other-window, view-buffer-other-frame):
4041 Handle special modes like view-buffer (Bug#10650).
4042 (view-buffer): Simplify.
4044 * frame.el (set-frame-font): Tweak meaning of third argument.
4046 * dynamic-setting.el (font-setting-change-default-font):
4047 Use set-frame-font (Bug#9982).
4049 2012-02-01 Glenn Morris <rgm@gnu.org>
4051 * progmodes/compile.el (compilation-internal-error-properties):
4052 Respect compilation-first-column in the "*compilation*" buffer.
4054 * emacs-lisp/easy-mmode.el (define-minor-mode):
4055 Relax :variable's test for a named function.
4057 2012-01-31 Alan Mackenzie <acm@muc.de>
4059 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4062 2012-01-31 Chong Yidong <cyd@gnu.org>
4064 * frame.el (set-frame-font): New arg ALL-FRAMES.
4066 * menu-bar.el (menu-set-font): Use set-frame-font.
4068 * faces.el (face-spec-reset-face): Don't apply unspecified
4069 attribute values to the default face.
4071 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4073 * progmodes/cwarn.el (cwarn): Remove dead link.
4074 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4075 Remove * from defcustom docstrings.
4076 (turn-on-cwarn-mode): Make obsolete.
4077 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4078 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4080 2012-01-31 Glenn Morris <rgm@gnu.org>
4082 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4083 Fix :variable handling of mode a symbol not equal to modefun.
4084 Allow named functions to be used as the cdr of :variable.
4086 2012-01-30 Glenn Morris <rgm@gnu.org>
4088 * emacs-lisp/authors.el (authors-fixed-entries):
4089 Remove reference to deleted file rnewspost.el.
4091 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4093 * window.el (window-with-parameter): Remove unused variable `windows'.
4094 (window--side-check): Remove unused variable `code'.
4095 (window--resize-siblings): Remove unused variable `first'.
4096 (adjust-window-trailing-edge): Remove unused variable `failed'.
4097 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4098 Use `let', not `let*'.
4099 (balance-windows-2): Remove unused variable `found'.
4100 (window--state-put-2): Remove unused variable `splits'.
4101 (window-state-put): Remove unused variable `selected'.
4102 (same-window-p): Use `string-match-p'.
4103 (display-buffer-assq-regexp): Remove unused variable `value'.
4104 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4105 Mark argument ALIST as ignored.
4106 (pop-to-buffer): Remove unused variable `old-window'.
4108 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4110 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4111 and .lzma compressed files.
4113 2012-01-29 Chong Yidong <cyd@gnu.org>
4115 * frame.el (window-system-default-frame-alist): Doc fix.
4117 * dynamic-setting.el (font-setting-change-default-font): Don't
4118 change the default face if SET-FONT argument is non-nil (Bug#9982).
4120 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4122 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4124 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4126 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4127 breakpoints in files outside current directory (Bug#6098).
4129 2012-01-29 Chong Yidong <cyd@gnu.org>
4131 * progmodes/python.el: Require ansi-color at top-level.
4133 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4134 Define and use in Emacs Lisp mode (Bug#9360).
4135 (lisp-mode-abbrev-table): Add doc.
4136 (lisp-mode-variables): Don't set local-abbrev-table.
4137 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4139 2012-01-28 Roland Winkler <winkler@gnu.org>
4141 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4143 2012-01-28 Roland Winkler <winkler@gnu.org>
4145 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4146 (bibtex-set-dialect): Use it. Either set global values of
4147 dialect-dependent variables or bind these variables buffer-locally
4149 (bibtex-mode): Call bibtex-set-dialect via
4150 hack-local-variables-hook.
4151 (bibtex-dialect): Update docstring.
4152 Add safe-local-variable predicate.
4153 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4155 (bibtex-mode-map): Define menu for each dialect.
4156 (bibtex-entry): Fix docstring.
4158 2012-01-28 Chong Yidong <cyd@gnu.org>
4160 * eshell/esh-arg.el (eshell-quote-argument): New function.
4162 * eshell/esh-ext.el (eshell-invoke-batch-file):
4163 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4164 first arg to eshell-parse-command (Bug#10523).
4166 2012-01-28 Drew Adams <drew.adams@oracle.com>
4168 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4169 `default-directory' is non-nil.
4171 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4173 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4174 line that displays system-configuration-options. (Bug#9924)
4176 2012-01-28 Drew Adams <drew.adams@oracle.com>
4178 * descr-text.el (describe-char): Show information about POS, in
4179 addition to information about the character at POS. Improve and
4180 update the doc string. Change "code point" to "code point in
4181 charset", to avoid confusion with the character's Unicode code
4182 point shown above that. (Bug#10129)
4184 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4186 * descr-text.el (describe-char): Show the raw character, not only
4187 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4188 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4191 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4193 * emacs-lisp/package.el (package-install):
4194 Run package-refresh-contents if there is no archive yet (Bug#9798).
4196 2012-01-28 Chong Yidong <cyd@gnu.org>
4198 * emacs-lisp/package.el (package-maybe-load-descriptor):
4199 New function, split from package-maybe-load-descriptor.
4200 (package-maybe-load-descriptor): Use it.
4201 (package-download-transaction): Fully load required packages
4202 inside the loop, so that `require' calls work (Bug#10593).
4203 (package-install): No need to call package-initialize now.
4205 2012-01-28 Chong Yidong <cyd@gnu.org>
4207 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4209 * tooltip.el (tooltip-mode): Doc fix.
4210 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4212 * frame.el (set-cursor-color): Doc fix (Bug#352).
4214 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4215 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4217 * cus-edit.el (custom-buffer-create-internal): Fix search button
4219 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4221 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4223 * dired.el (dired-mark-files-regexp):
4224 Include any subdirectory components. (Bug#10445)
4226 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4228 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4229 Handle [host]:port syntax. (Bug#10533)
4231 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4233 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4235 2012-01-26 Glenn Morris <rgm@gnu.org>
4237 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4238 * term.el (term-raw-escape-map): Use Control-X-prefix.
4239 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4241 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4243 * window.el (window-state-get, window--state-get-1): Don't deal
4244 with fixed-sizeness of windows. Simplify code.
4246 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4248 * window.el (window--state-get-1, window--state-put-2):
4249 Don't save and restore the mark.
4251 2012-01-25 Chong Yidong <cyd@gnu.org>
4253 * custom.el (custom-variable-p): Doc fix.
4255 2012-01-25 Glenn Morris <rgm@gnu.org>
4257 * dired.el (dired-goto-file): Handle some of the more common
4258 characters that `ls -b' escapes. (Bug#10596)
4260 * progmodes/compile.el (compilation-next-error-function):
4261 Respect compilation-first-column in the "*compilation*" buffer.
4262 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4264 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4266 2012-01-24 Glenn Morris <rgm@gnu.org>
4268 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4270 2012-01-24 Julien Danjou <julien@danjou.info>
4272 * color.el (color-rgb-to-hsl): Fix value computing.
4273 (color-hue-to-rgb): New function.
4274 (color-hsl-to-rgb): New function.
4275 (color-clamp, color-saturate-hsl, color-saturate-name)
4276 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4277 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4279 2012-01-24 Glenn Morris <rgm@gnu.org>
4281 * vc/vc-rcs.el (vc-rcs-create-tag):
4282 * vc/vc-sccs.el (vc-sccs-create-tag):
4283 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4285 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4287 * eshell/esh-util.el (eshell-read-hosts-file):
4288 Skip comment lines. (Bug#10549)
4290 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4292 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4294 * subr.el (display-delayed-warnings): Doc fix.
4295 (collapse-delayed-warnings): New function to collapse identical
4297 (delayed-warnings-hook): Add it.
4299 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4301 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4303 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4304 properties, when "login-as" is set.
4306 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4307 (tramp-default-user-alist): Don't add "pscp".
4308 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4309 property "login-as", if set. (Bug#10530)
4311 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4313 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4314 "plink1" and "psftp". (Bug#10530)
4316 2012-01-21 Kenichi Handa <handa@m17n.org>
4318 * international/mule-cmds.el (prefer-coding-system): Show a
4319 warning message if the default value of file-name-coding-system
4322 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4324 * windmove.el (windmove-reference-loc):
4325 Fix windmove-reference-loc miscalculation.
4327 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4329 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4332 2012-01-21 Glenn Morris <rgm@gnu.org>
4334 * international/mule.el (auto-coding-alist): Add .tbz.
4336 * files.el (local-enable-local-variables): Doc fix.
4337 (inhibit-local-variables-regexps): Rename from
4338 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4339 Doc fix. Add some extensions from auto-coding-alist.
4340 (inhibit-local-variables-suffixes):
4341 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4342 (inhibit-local-variables-p):
4343 New function, extracted from set-auto-mode-1.
4344 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4345 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4346 (hack-local-variables): Doc fix. Make the mode-only case
4347 respect enable-local-variables and friends.
4348 Respect inhibit-local-variables-regexps for file-locals, but
4349 not for directory-locals.
4350 (set-visited-file-name):
4351 Take account of inhibit-local-variables-regexps.
4352 Whether it applies may change as the file name is changed.
4353 * jka-cmpr-hook.el (jka-compr-install):
4354 * jka-compr.el (jka-compr-uninstall):
4355 Update for inhibit-first-line-modes-suffixes name change.
4357 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4359 * help-macro.el (make-help-screen): Temporarily restore original
4360 binding for minor-mode-map-alist (Bug#10454).
4362 2012-01-19 Julien Danjou <julien@danjou.info>
4364 * color.el (color-name-to-rgb): Use the white color to find the max
4365 color component value and return correctly computed values.
4366 (color-name-to-rgb): Add missing float conversion for max value.
4368 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4370 * window.el (window--state-get-1, window-state-get): Do not use
4371 special state value for window-persistent-parameters.
4372 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4373 (window--state-put-2): Reset all window parameters to nil before
4374 assigning values of persistent parameters.
4376 2012-01-18 Alan Mackenzie <acm@muc.de>
4378 Eliminate sluggishness and hangs in fontification of "semicolon
4381 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4382 Change value 10000 -> 3000.
4383 (c-state-safe-place): Reformulate so it doesn't stack up an
4384 infinite number of wrong entries in c-state-nonlit-pos-cache.
4385 (c-determine-limit-get-base, c-determine-limit): New functions to
4386 determine backward search limits disregarding literals.
4387 (c-find-decl-spots): Amend commenting.
4388 (c-cheap-inside-bracelist-p): New function which detects "={".
4390 * progmodes/cc-fonts.el
4391 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4393 (c-font-lock-declarations): Fix an occurrence of point being
4394 undefined. Check additionally for point being in a bracelist or
4395 near a macro invocation without a semicolon so as to avoid a
4396 fruitless time consuming search for a declarator. Give a more
4397 precise search limit for declarators using the new
4400 2012-01-18 Glenn Morris <rgm@gnu.org>
4402 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4403 (set-auto-mode): Doc fixes.
4405 2012-01-17 Glenn Morris <rgm@gnu.org>
4407 * isearch.el (search-nonincremental-instead): Fix doc typo.
4409 * dired.el (dired-insert-directory): Handle newlines in directory name.
4410 (dired-build-subdir-alist): Unescape newlines in directory name.
4412 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4414 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4415 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4416 (tramp-action-terminal): Use it. (Bug#10530)
4418 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4420 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4422 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4424 * window.el (window-state-ignored-parameters): Remove variable.
4425 (window--state-get-1): Rename argument MARKERS to IGNORE.
4426 Handle persistent window parameters. Make copy of clone-of
4427 parameter only if requested. (Bug#10348)
4428 (window--state-put-2): Install a window parameter only if it has
4429 a non-nil value or an existing parameter shall be overwritten.
4431 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4433 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4435 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4437 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4438 don't pass the (nil) value of `upnode' to string-match.
4440 2012-01-14 Chong Yidong <cyd@gnu.org>
4442 * startup.el (command-line): Fix X resource class for cursorColor.
4443 Fix values recognized by the cursorBlink resource.
4445 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4447 * epg.el (epg--make-temp-file): Avoid permission race condition
4448 when running on old Emacs versions (bug#10403).
4450 2012-01-14 Glenn Morris <rgm@gnu.org>
4452 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4454 2012-01-13 Alan Mackenzie <acm@muc.de>
4456 Fix filling for when filladapt mode is enabled.
4458 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4459 c-mask-paragraph, pass in `fill-paragraph' rather than
4460 `fill-region-as-paragraph'. (This is a reversion of a previous
4462 * progmodes/cc-mode.el (c-basic-common-init):
4463 Make fill-paragraph-handle-comment buffer local and set it to nil.
4465 2012-01-13 Glenn Morris <rgm@gnu.org>
4467 * dired.el (dired-switches-escape-p): New function.
4468 (dired-insert-directory): Use dired-switches-escape-p.
4469 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4471 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4473 2012-01-12 Glenn Morris <rgm@gnu.org>
4475 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4476 changes in adaptive-fill-regexp. (Bug#10276)
4478 2012-01-11 Alan Mackenzie <acm@muc.de>
4480 Fix Emacs bug #10463 - put `widen's around the critical spots.
4482 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4483 widen around each invocation of c-state-pp-to-literal. Remove an
4484 unused let variable.
4486 2012-01-11 Glenn Morris <rgm@gnu.org>
4488 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4491 2012-01-10 Chong Yidong <cyd@gnu.org>
4493 * net/network-stream.el (network-stream-open-starttls):
4494 Avoid emitting a confusing error message when the server gives a bad
4495 response to the capability command.
4497 2012-01-10 Glenn Morris <rgm@gnu.org>
4499 * mail/unrmail.el (unrmail): Tweak previous change.
4501 2012-01-09 Chong Yidong <cyd@gnu.org>
4503 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4505 2012-01-08 Alan Mackenzie <acm@muc.de>
4507 Optimise font locking in long enum definitions.
4509 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4510 arm to a cond form to handle enums.
4511 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4512 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4514 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4516 * files.el (move-file-to-trash): Preserve default file modes on error.
4519 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4521 * faces.el (set-face-attribute): Clarify the meaning of the nil
4524 * subr.el (with-selected-frame): Mention that the selected frame
4525 is restored (bug#9980).
4527 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4530 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4531 (password-read): Don't autoload unused function.
4533 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4535 * progmodes/which-func.el (which-func-mode): Turn into a
4536 non-interactive function and mark as obsolete (bug#10428).
4538 2012-01-06 Chong Yidong <cyd@gnu.org>
4540 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4541 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4542 functions, along with 1 and -1.
4544 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4546 * time.el (display-time-load-average)
4547 (display-time-default-load-average): Doc fixes. See the thread
4549 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4552 2012-01-06 Glenn Morris <rgm@gnu.org>
4554 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4555 has no messages. (Bug#10377)
4557 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4558 than Info-edit. (Bug#10385)
4560 * time.el (display-time-load-average, display-time-next-load-average):
4563 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4564 local setting of buffer-read-only to the input buffer. (Bug#10419)
4566 * calendar/calendar.el (calendar-mode):
4567 Locally set scroll-margin to 0. (Bug#10379)
4569 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4571 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4573 2012-01-05 Glenn Morris <rgm@gnu.org>
4575 * eshell/em-unix.el (diff-no-select): Autoload it.
4576 (eshell/diff): Use diff-no-select. (Bug#10420)
4578 2012-01-05 Chong Yidong <cyd@gnu.org>
4580 * shell.el (shell-dynamic-complete-functions): Revert last change.
4581 (shell-command-completion-function): New function.
4582 (shell-completion-vars): Use it to implement
4583 shell-completion-execonly (Bug#10417).
4585 * custom.el (enable-theme): Don't set custom-safe-themes.
4587 * cus-theme.el (custom-theme-merge-theme):
4588 Ignore custom-enabled-themes and custom-safe-themes.
4590 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4592 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4593 first prompt in `sql-interacive-mode'.
4594 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4596 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4597 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4598 context of original buffer. Invoke `sql-login-hook'.
4600 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4602 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4603 letters in cite-prefix.
4605 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4607 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4609 2012-01-03 Chong Yidong <cyd@gnu.org>
4611 * shell.el (shell-dynamic-complete-functions):
4612 Put pcomplete-completions-at-point, so as to try
4613 comint-filename-completion first (Bug#10417).
4615 2012-01-02 Richard Stallman <rms@gnu.org>
4617 * battery.el (battery-status-function):
4618 Detect when to use battery-yeeloong-sysfs.
4619 (battery-echo-area-format): Add string for Yeeloong.
4620 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4621 (battery-yeeloong-sysfs): New function.
4623 2012-01-02 Chong Yidong <cyd@gnu.org>
4625 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4626 (dirtrack): Merge code for handling relative filenames in prompt
4627 from shell-dir-cookie-watcher.
4628 (dirtrack-debug-message): New arg to avoid excess format calls.
4630 * shell.el (shell-dir-cookie-re): Variable deleted.
4631 (shell-dir-cookie-watcher): Function deleted.
4632 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4635 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4637 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4638 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4641 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4643 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4645 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4647 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4648 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4650 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4652 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4653 also for alternative shells.
4654 (tramp-open-connection-setup-interactive-shell): Check, whether
4655 the shell is a busybox.
4656 (tramp-send-command): Don't suppress multiple prompts for
4657 busyboxes, it hurts.
4659 2011-12-28 Chong Yidong <cyd@gnu.org>
4661 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4662 (gdb-get-source-file): Move mode line update to
4663 gdb-get-source-file (Bug#10087).
4665 2011-12-25 Chong Yidong <cyd@gnu.org>
4667 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4668 gud-gdb-marker-filter without taking it as an argument.
4669 (gud-gdb-run-command-fetch-lines): Caller changed.
4670 (gud-gdb-completion-function): New variable.
4671 (gud-gdb-completion-at-point): Use it.
4672 (gud-gdb-completions-1): Split from gud-gdb-completions.
4674 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4675 function as separate arguments.
4676 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4677 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4678 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4679 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4680 (gdb-stopped, def-gdb-auto-update-trigger)
4681 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4682 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4684 (gud-gdbmi-completions): New function.
4685 (gdb): Use it for generating the completion table.
4687 2011-12-24 Alan Mackenzie <acm@muc.de>
4689 Introduce a mechanism to widen the region used in context font
4690 locking. Use this to protect declarations from losing their contexts.
4692 * progmodes/cc-langs.el (c-before-font-lock-functions):
4693 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4694 (c-before-context-fontification-functions): New defvar, a list of
4695 functions to be run just before context (etc.) font locking.
4697 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4698 New, functionality extracted from
4699 c-neutralize-syntax-in-and-mark-CPP.
4700 (c-in-after-change-fontification): New variable.
4701 (c-after-change): Set c-in-after-change-fontification.
4702 (c-set-fl-decl-start): Rejig its interface, so it can be called
4703 from both after-change and context fontifying.
4704 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4706 (c-standard-font-lock-fontify-region-function): New variable.
4707 (c-font-lock-fontify-region): New function.
4709 2011-12-24 Juri Linkov <juri@jurta.org>
4711 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4714 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4716 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4717 existence of source file. (Bug#10325)
4719 2011-12-23 Alan Mackenzie <acm@muc.de>
4721 Fix unstable fontification inside templates.
4723 * progmodes/cc-langs.el (c-before-font-lock-functions):
4724 Newly created from the singular version. The (c c++ objc) entry now
4725 additionally has c-set-fl-decl-start. The other languages (apart
4726 from AWK) have that as a single entry.
4728 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4729 The functionality for "local" declarations has been extracted to
4730 c-set-fl-decl-start.
4732 * progmodes/cc-mode.el (c-common-init, c-after-change):
4733 Changes due to pluralisation of c-before-font-lock-functions.
4734 (c-set-fl-decl-start): New function, extracted from
4735 c-font-lock-enclosing-decls and enhanced.
4737 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4739 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4741 2011-12-22 Juri Linkov <juri@jurta.org>
4743 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4745 2011-12-22 Chong Yidong <cyd@gnu.org>
4747 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4749 2011-12-21 Drew Adams <drew.adams@oracle.com>
4751 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4753 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4755 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4757 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4759 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4760 highlighting and support. Fix up comments for capitalization.
4761 (cfengine-mode-debug): New var.
4762 (cfengine3-mode): Change the modeline indicator to "CFE3".
4763 (cfengine3-font-lock-keywords): Improve defun highlighting.
4764 (cfengine2-actions): Rename from `cfengine-actions'.
4765 (cfengine2-font-lock-keywords): Rename from
4766 `cfengine-font-lock-keywords'.
4767 (cfengine2-imenu-expression): Rename from
4768 `cfengine-imenu-expression'.
4769 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4770 (cfengine2-beginning-of-defun): Rename from
4771 `cfengine-beginning-of-defun'.
4772 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4773 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4774 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4775 modeline indicator to "CFE2".
4776 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4777 (cfengine-mode-abbrevs): Mark obsolete.
4779 2011-12-21 Chong Yidong <cyd@gnu.org>
4781 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4784 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4786 * window.el (window-normalize-buffer-to-display): Remove.
4787 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4789 2011-12-19 Chong Yidong <cyd@gnu.org>
4791 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4792 Don't signal an error in a predicate function; return non-nil.
4793 (vc-dir-mark-file): Move the error here.
4794 (vc-dir-mark-unmark): If acting on the region, keep going if one
4795 of the entries cannot be marked/unmarked.
4796 (vc-dir-mark-all-files): If current entry is a directory, mark
4797 only child files, as documented.
4799 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4801 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4802 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4805 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4807 * term/ns-win.el (ns-get-selection-internal)
4808 (ns-store-selection-internal): Declare.
4809 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4810 Declare as obsolete.
4811 (ns-get-pasteboard, ns-paste-secondary):
4812 Use ns-get-selection-internal.
4813 (ns-set-pasteboard, ns-copy-including-secondary):
4814 Use ns-store-selection-internal.
4816 2011-12-17 Chong Yidong <cyd@gnu.org>
4818 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4819 (vc-deduce-fileset): Doc fix.
4821 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4823 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4825 2011-12-13 Sam Steingold <sds@gnu.org>
4827 * man.el (Man-getpage-in-background): When running under a
4828 window-system, ignore $MANWIDTH and $COLUMNS.
4830 2011-12-15 Kenichi Handa <handa@m17n.org>
4832 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4833 (setup-ethiopic-environment-internal): Comment out key-binding for
4834 ethio-toggle-punctuation.
4836 2011-12-13 Alan Mackenzie <acm@muc.de>
4838 Add the switch statement to AWK Mode.
4840 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4841 "default" to the keywords regexp.
4843 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4844 expression as the rest.
4845 (c-nonlabel-token-key): Allow string literals for AWK.
4846 Refactor for the other modes.
4848 Large brace-block initialisation makes CC Mode slow: Fix.
4849 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4850 routines. Limit backward searching in c-font-lock-enclosing.decl.
4852 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4853 pp-state and literal type in addition to the limits.
4854 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4855 (c-state-literal-at): Use the above new defun.
4856 (c-slow-in-literal, c-fast-in-literal): Remove.
4857 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4859 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4860 being in a literal. Add a limit for backward searching.
4862 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4865 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4869 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4871 * window.el (delete-other-windows): Use correct frame in call to
4872 window-with-parameter.
4874 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4876 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4877 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4878 (makefile-gmake-statements, makefile-makepp-statements):
4879 Use it and add new makepp keywords.
4880 (makefile-makepp-font-lock-keywords): Add new patterns.
4881 (makefile-match-function-end): Match new [...] and [[...]].
4883 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4885 * ses.el (ses-call-printer-return, ses-cell-property-get)
4886 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4887 (ses-create-cell-variable, ses-reset-header-string)
4888 (ses-cell-set-formula, ses-repair-cell-reference-all)
4889 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4890 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4891 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4892 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4893 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4894 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4895 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4896 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4897 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4898 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4899 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4900 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4902 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4904 * ses.el: The overall change is to add cell renaming, that is
4905 setting fancy names for cell symbols other than name matching
4906 "\\`[A-Z]+[0-9]+\\'" regexp .
4907 (ses-create-cell-variable): New defun.
4908 (ses-relocate-formula): Relocate formulas only for cells the
4909 symbols of which are not renamed, i.e. symbols whose names do not
4910 match regexp "\\`[A-Z]+[0-9]+\\'".
4911 (ses-relocate-all): Relocate values only for cells the symbols of
4912 which are not renamed.
4913 (ses-load): Create cells variables as the (ses-cell ...) are read,
4914 in order to check row col consistency with cell symbol name only
4915 for cells that are not renamed.
4916 (ses-replace-name-in-formula): New defun.
4917 (ses-rename-cell): New defun.
4919 2011-12-11 Chong Yidong <cyd@gnu.org>
4921 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4922 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4924 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4926 * window.el (other-window): Fix docstring.
4928 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4930 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4931 `from' or `to' address before taking its substring.
4932 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4933 encoded name is chopped in the middle of the encoded string, and
4934 thus displayed encoded.
4936 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4938 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4940 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4942 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4943 to use texinfo-update-node and commands that call it if the
4944 Texinfo file uses @node lines without next/prev/up pointers.
4945 Correct outdated description about texinfo-master-menu.
4946 (texinfo-all-menus-update, texinfo-master-menu)
4947 (texinfo-update-node, texinfo-every-node-update)
4948 (texinfo-multiple-files-update): Doc fix. Warn against updating
4949 all the @node lines.
4950 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4951 argument is numeric. Explain better in the doc string what the
4952 function really does.
4953 (texinfo-insert-master-menu-list): Improve the error message
4954 displayed if there's no menu in the Top node.
4955 (Bug#2975) See also this thread:
4956 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4958 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4960 * speedbar.el (speedbar-supported-extension-expressions):
4961 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4963 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4965 * printing.el (pr-mode-alist):
4966 * simple.el (filter-buffer-substring-functions)
4967 (completion-list-insert-choice-function):
4968 * window.el (window-with-parameter, window-atom-root)
4969 (window-sides-slots, window-size-fixed, window-min-delta)
4970 (window-max-delta, window--resize-mini-window)
4971 (window--resize-child-windows-normal, window-tree)
4972 (delete-other-windows, quit-window, split-window)
4973 (display-buffer-record-window, special-display-buffer-names)
4974 (special-display-regexps, special-display-popup-frame)
4975 (same-window-p, split-window-sensibly)
4976 (display-buffer-overriding-action, display-buffer-alist)
4977 (display-buffer-base-action, display-buffer, switch-to-buffer)
4978 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4979 (fit-window-to-buffer, recenter-positions)
4980 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4981 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4982 and remove unneeded backslashes in docstrings.
4984 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4988 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4989 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4991 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4992 when reading the makefile (bug#10116).
4994 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4999 2011-12-06 Glenn Morris <rgm@gnu.org>
5001 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5003 2011-12-06 Chong Yidong <cyd@gnu.org>
5005 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5007 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5009 * textmodes/table.el (table-shorten-cell): Fix typo.
5011 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5013 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5015 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5017 * descr-text.el (describe-char): Fix display of strong
5018 right-to-left characters and directional embeddings and overrides.
5020 * simple.el (what-cursor-position): Fix display of codepoints of
5021 strong right-to-left characters.
5023 2011-12-05 Chong Yidong <cyd@gnu.org>
5025 * faces.el (read-color): Doc fix.
5027 2011-12-05 Glenn Morris <rgm@gnu.org>
5029 * align.el (align--set-marker): Add doc-string.
5030 Don't try to move something that is not a marker. (Bug#10216)
5032 2011-12-04 Glenn Morris <rgm@gnu.org>
5034 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5035 overly zealous deletion of trailing whitespace.
5037 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5039 * server.el (server-delete-client): On Windows, do not try to delete
5041 (server-process-filter): On Windows, treat requests for a tty frame as
5042 if they were for a GUI frame if the running server is in GUI mode.
5044 2011-12-03 Glenn Morris <rgm@gnu.org>
5046 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5048 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5050 * electric.el: Streamline electric-indent's hook.
5051 (electric-indent-chars): Revert to simple list.
5052 (electric-indent-functions): New var.
5053 (electric-indent-post-self-insert-function): Use it.
5055 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5056 there's no inferior buffer (bug#10196).
5057 (prolog-consult-compile): Don't use toggle-read-only.
5059 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5061 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5062 interrupt. (Bug#10187)
5064 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5069 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5072 2011-12-02 Juri Linkov <juri@jurta.org>
5074 * info.el (Info-search): Display "end of manual" when Isearch
5075 reaches the end of single-file Info manual. (Bug#9918)
5077 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5079 * isearch.el (isearch-message-prefix): Run the input method part
5080 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5082 2011-12-02 Juri Linkov <juri@jurta.org>
5084 * isearch.el (isearch-occur): Use `word-search-regexp' for
5086 (isearch-search-and-update): Add condition for `isearch-word' and
5087 call `word-search-regexp'. (Bug#10145)
5089 2011-12-01 Glenn Morris <rgm@gnu.org>
5091 * eshell/em-hist.el (eshell-hist-initialize):
5092 Handle eshell-history-size nil and HISTSIZE set or unset.
5093 (eshell-history-file-name, eshell-history-size): Fix custom type.
5095 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5097 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5099 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5101 * progmodes/verilog-mode.el (verilog-pretty-expr):
5102 Rework verilog-pretty-expr to handle new assignment operators in system
5103 verilog, such as += *= and the like.
5104 (verilog-assignment-operator-re): Regular expression to find the
5105 assigment operator in a verilog assignment.
5106 (verilog-assignment-operation-re): Regular expression to find an
5107 assignment statement for pretty-expr.
5108 (verilog-in-attribute-p): Query returns true if point is in an
5109 attribute context; used to skip these for expression line up from
5111 (verilog-in-parameter-p): Query returns true if point is in an
5112 parameter definition context; used to skip these for expression
5113 line up from pretty-expr.
5114 (verilog-in-parenthesis-p): Query returns true if point is in a
5115 parenthetical expression, specifically ( ) but not [ ] or { };
5116 used by pretty-expr.
5117 (verilog-just-one-space): If there is no space, don't add one.
5118 (verilog-get-lineup-indent-2): Specifically skip just attribute
5119 contexts for expression lineup, rather than skipping all
5120 parenthetical expressions.
5121 (verilog-calculate-indent): Fix comment, and fix indent.
5122 (verilog-do-indent): Indent declarations in lists (suggested by
5124 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5126 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5129 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5131 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5132 parameters with embedded comments. Reported by Ray Stevens.
5133 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5134 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5135 Reported by Tim Holt.
5136 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5137 instantiated by upper module causing wrong expansion until AUTOed a
5138 second time. Reported by K C Buckenmaier.
5139 (verilog-diff-auto): Fix showing .* as a difference when
5140 `verilog-auto-star-save' off. Reported by Dan Dever.
5141 (verilog-auto-reset, verilog-read-always-signals)
5142 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5143 temporary signals in reset list if
5144 verilog-auto-reset-blocking-in-non is nil, and match assignment
5145 style to each signal's assignment type, bug381.
5146 Reported by Thomas Esposito.
5147 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5148 (verilog-uvm-statement-re): Support UVM indentation and
5149 highlighting, with old OVM keywords only.
5150 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5151 Support AUTOTIEOFF creating non-wire data types.
5152 Suggested by Jonathan Greenlaw.
5153 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5154 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5155 (verilog-inject-sense, verilog-read-inst-pins)
5156 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5157 Fix mismatching parenthesis inside commented out code when deleting
5158 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5159 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5160 non-numeric vector width. Reported by Alex Reed.
5161 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5162 detecting signals with parameter widths. Reported by Alex Reed.
5163 (verilog-auto-delete-trailing-whitespace):
5164 With `verilog-auto-delete-trailing-whitespace' remove trailing
5165 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5166 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5167 Fix verilog-scan-cache corruption when running user AUTO expansion
5168 hooks that call indentation routines.
5169 (verilog-simplify-range-expression): Fix typo ignoring lower case
5171 (verilog-delete-auto): Fix delete-autos to also remove user created
5172 automatics, as long as they start with AUTO.
5173 (verilog-batch-diff-auto, verilog-diff-auto)
5174 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5175 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5176 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5177 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5178 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5179 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5180 is disabled and its cache will get corrupt, causing AUTOS not to
5181 expand. Instead use only -quick functions.
5182 (verilog-scan-region): Fix scanning over escaped quotes.
5183 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5184 (verilog-re-search-backward-quick)
5185 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5186 related functions now ignore strings, to fix misparsing of strings
5187 with magic comments embedded in them.
5188 (verilog-read-auto-template):
5189 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5190 Reported by Brad Dobbie.
5191 (verilog-read-auto-template):
5192 Fix 'verilog-auto-inst-template-numbers' with comments.
5193 Reported by Brad Dobbie.
5194 (verilog-auto-inst, verilog-auto-inst-param)
5195 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5196 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5197 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5198 debugging templates without merge conflicts, bug357.
5199 Reported by Brad Dobbie.
5200 (verilog-read-auto-template):
5201 Fix verilog-auto-inst-template-numbers with multiple templates.
5202 Reported by Brad Dobbie.
5203 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5204 abbrevs so user won't be asked to save.
5205 (verilog-read-auto-lisp-present): Fix to start at beginning of
5206 buffer in case called outside of verilog-auto.
5207 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5208 to "X-2". Reported by Matthew Myers.
5209 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5210 all inputs from module templates. Reported by Leith Johnson.
5211 (verilog-module-inside-filename-p): Fix locating programs as with
5213 (verilog-auto-inst-port): Fix vl-width expressions when using
5214 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5215 (verilog-decls-get-regs, verilog-decls-get-signals,
5216 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5217 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5218 verilog-read-decls): Combine reg and wire structures into one var
5219 structure to represent SystemVerilog concepts.
5220 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5221 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5222 (verilog-auto-wire-type, verilog-insert-definition):
5223 Add verilog-auto-wire-type and AUTOLOGIC to support using
5224 SystemVerilog "logic" keyword instead of "wire"/"reg".
5225 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5226 to declares outputs that also have assignments (presumably in an
5227 ifdef or generate if so there's not a driver conflict).
5228 Reported by Matthew Myers.
5229 (verilog-auto-declare-nettype, verilog-insert-definition):
5230 Add verilog-auto-declare-nettype to fix declarations using
5231 `default_nettype none. Reported by Julian Gorfajn.
5232 (verilog-read-always-signals-recurse, verilog-read-decls)
5233 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5234 malformed end statement, bug325. Reported by Joshua Wise and
5236 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5237 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5238 when expanding .* in interfaces, bug320.
5239 Reported by Pierre-David Pfister.
5240 (verilog-read-module-name): Fix import statements between module
5241 name and open parenthesis, bug317.
5242 Reported by Pierre-David Pfister.
5243 (verilog-simplify-range-expression): Fix simplification of
5244 multiplications inside AUTOWIRE connections, bug303.
5245 (verilog-auto-inst-port): Support parameter expansion in
5246 multidimensional arrays.
5247 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5248 after "assert property". Reported by Julian Gorfajn.
5249 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5250 with multiplication, bug303.
5251 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5252 Reported by Jan Frode Lonnum.
5254 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5256 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5257 (hfy-shell-file-name, hfy-shell):
5258 * international/fontset.el (x-decompose-font-name): Fix typos.
5260 2011-11-29 Ken Brown <kbrown@cornell.edu>
5262 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5263 (gdb-version): Remove defvar.
5264 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5265 (gdb-gud-context-command, gdb-non-stop-handler)
5266 (gdb-current-context-command, gdb-stopped): Use it.
5267 (gdb-init-1): Enable pretty printing here.
5268 (gdb-non-stop-handler): Don't enable pretty-printing here.
5269 Check to see if the target supports non-stop mode; if not, turn off
5270 non-stop mode. Use the following.
5271 (gdb-check-target-async): New defun.
5272 (gud-watch, gdb-stopped): Fix whitespace.
5273 (gdb-get-source-file): Don't try to display the source file if
5274 `gdb-main-file' is nil.
5276 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5278 * align.el: Try to generate fewer markers (bug#10047).
5279 (align--set-marker): New macro.
5280 (align-region): Use it.
5282 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5284 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5286 2011-11-29 Chong Yidong <cyd@gnu.org>
5288 * indent.el (indent-for-tab-command, indent-according-to-mode):
5290 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5292 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5294 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5295 aware of remote file names. (Bug#10124)
5297 2011-11-29 Chong Yidong <cyd@gnu.org>
5299 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5301 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * files.el (find-file): Don't use force-same-window (bug#10144).
5304 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5305 use pop-to-buffer if the selected window can't be used.
5306 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5308 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5310 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5313 2011-11-28 Chong Yidong <cyd@gnu.org>
5315 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5317 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5319 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5320 gdb-get-source-file-list on gdb-create-source-file-list.
5322 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5324 * whitespace.el (whitespace-newline): Use a different foreground
5325 color for 16-color light-background displays.
5327 2011-11-24 Chong Yidong <cyd@gnu.org>
5329 * window.el (display-buffer--special-action): Doc fix.
5331 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5333 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5334 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5335 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5336 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5337 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5338 (avl-tree-stack-first):
5339 * emacs-lisp/cconv.el (cconv--analyse-use):
5340 * net/gnutls.el (gnutls-negotiate): Fix typos.
5342 2011-11-24 Glenn Morris <rgm@gnu.org>
5344 * lpr.el (lpr-windows-system, lpr-lp-system):
5345 * mail/binhex.el (binhex-begin-line):
5346 * progmodes/grep.el (grep-history, grep-find-history):
5347 * textmodes/flyspell.el:
5348 * vc/pcvs-defs.el (cvs-global-menu):
5349 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5350 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5351 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5353 * net/tls.el: Fix case of "GnuTLS".
5355 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5357 * version.el (emacs-build-system): Give it a doc-string.
5359 2011-11-24 Juri Linkov <juri@jurta.org>
5361 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5363 2011-11-24 Glenn Morris <rgm@gnu.org>
5365 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5366 if called on a non-mime message just toggle the headers. (Bug#8006)
5368 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5370 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5371 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5372 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5373 (allout-rebullet-heading, allout-open-sibtopic)
5374 (allout-toggle-current-subtree-encryption)
5375 (allout-toggle-subtree-encryption, allout-encrypt-string)
5376 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5377 (allout-distinctive-bullets-string, allout-auto-activation):
5378 * window.el (window-normalize-buffer-to-display):
5379 * progmodes/verilog-mode.el (verilog-batch-indent):
5380 * textmodes/bibtex.el (bibtex-field-braces-opt)
5381 (bibtex-field-strings-opt):
5382 * vc/cvs-status.el (cvs-tree-merge):
5385 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5387 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5388 `non-essential' to t, in order to avoid remote connections.
5390 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5392 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5393 On MS-DOS and MS-Windows, compare with loaddefs.el
5396 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5398 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5400 2011-11-23 Glenn Morris <rgm@gnu.org>
5402 * paths.el (rmail-file-name): Reformat the doc-string so that it
5405 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5406 (rmail-auto-file): Ignore case in the "special" field names,
5407 as mail-fetch-field does for all others.
5409 * mail/rmail.el (rmail-forward):
5410 * mail/rmailkwd.el (rmail-set-label):
5411 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5412 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5414 * mail/rmail.el (rmail-current-message): Doc fix.
5416 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5418 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5420 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5422 2011-11-22 Glenn Morris <rgm@gnu.org>
5424 * mail/rmailmm.el (test-rmail-mime-handler)
5425 (test-rmail-mime-bulk-handler)
5426 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5428 2011-11-21 Juri Linkov <juri@jurta.org>
5430 * calc/calc.el (calc-read-key-sequence):
5431 Let-bind `input-method-function' to nil. (Bug#10018)
5433 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5435 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5436 Tell the caller that the next line needs recomputation, even
5437 though it doesn't start a sexp (bug#10094).
5439 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5443 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5445 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5446 Use force-same-window.
5448 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5450 * descr-text.el (describe-char-unicode-data):
5451 * json.el (json-string-escape):
5452 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5453 (Footnote-unicode, Footnote-style-p):
5454 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5456 2011-11-20 Chong Yidong <cyd@gnu.org>
5458 * window.el (replace-buffer-in-windows): Restore interactive spec.
5460 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5462 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5464 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5465 (byte-compile-global-not-obsolete-vars): New var.
5466 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5468 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5470 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5472 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5473 * progmodes/pascal.el (electric-pascal-equal):
5474 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5475 * xml.el (xml-substitute-special): Fix typos.
5477 2011-11-20 Glenn Morris <rgm@gnu.org>
5479 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5480 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5482 (rmail-decode-mime-charset): Mark as obsolete.
5484 * mail/rmailsum.el (rmail-message-regexp-p-1):
5485 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5486 Before using mime functions, check they are set. (Bug#10077)
5488 2011-11-19 Juri Linkov <juri@jurta.org>
5490 * info.el (Info-finder-find-node): Use `package--builtins' instead
5491 of `package-alist'. Use node names formed by the pattern "Keyword "
5492 and the keyword name.
5494 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5496 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5498 2011-11-19 Juri Linkov <juri@jurta.org>
5500 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5501 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5502 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5503 `old-history', `old-history-forward'. Add let-binding
5504 `window-selected'. Remove calls to `kill-buffer',
5505 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5506 before calling `Info-find-node', so `Info-find-node-2' will reread
5507 the Info file. Restore window positions only when `window-selected'
5510 2011-11-19 Juri Linkov <juri@jurta.org>
5512 * isearch.el (isearch-lazy-highlight-new-loop):
5513 Remove condition `(not isearch-error)'. (Bug#9918)
5515 * misearch.el (multi-isearch-search-fun): Add condition
5516 `(not bound)' to ignore lazy-highlighting search.
5517 Add the search-failed message "end of multi" when the end of
5518 multi-sequence is reached. Uncapitalize the search-failed
5519 message "Repeat for next buffer".
5521 * info.el (Info-search): Add the search-failed message
5522 "end of the manual" when the end of the manual is reached
5525 2011-11-19 Juri Linkov <juri@jurta.org>
5527 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5528 Use non-destructive `remove' instead of `delete' because
5529 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5530 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5532 2011-11-19 Juri Linkov <juri@jurta.org>
5534 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5535 to nil instead of binding `search-ring' and `regexp-search-ring'.
5538 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5540 * simple.el (line-move): Force movement by logical lines for any
5541 hscrolled window, not only when auto-hscroll-mode is on.
5542 (line-move-visual): Update doc string to that effect. (Bug#10076)
5544 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5546 * language/european.el (macintosh): Define as alias for mac-roman.
5548 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5550 * mail/rmailmm.el (rmail-mime-display-header)
5551 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5552 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5553 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5554 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5555 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5557 (rmail-mime-entity-segment): To get past the tagline, move forward
5558 2 more lines, to account for the 2 empty lines that precede and
5559 follow the line with the buttons.
5560 (rmail-mime-update-tagline): Move one more line, to get past the
5561 empty line that follows the buttons in the tagline. (Bug#9520)
5563 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5565 * window.el (window-max-delta-1, window-min-delta-1)
5566 (window-min-size-1, window-state-get-1, window-state-put-1)
5567 (window-state-put-2): Use "window--" prefix.
5569 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5571 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5572 (smie-warning-count): New var.
5573 (smie-set-prec2tab): Use it.
5574 (smie-bnf->prec2): Improve warnings. Add docstring.
5575 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5576 (smie-bnf--set-class): New function.
5577 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5580 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5581 (compilation-error-properties, compilation-move-to-column):
5582 Handle compilation-first-column while in the target buffer.
5584 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5585 Don't hardcode point-min==1.
5587 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5588 (eshell-rewrite-for-command): Remove workaround.
5589 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5590 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5591 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5593 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5595 2011-11-17 Glenn Morris <rgm@gnu.org>
5597 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5598 Ignore buffer-local generated-autoload-file if it is the same
5599 as the global value. (Bug#10049)
5601 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5603 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5604 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5605 (reftex-toc-previous-heading, reftex-toc-max-level)
5606 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5607 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5608 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5609 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5610 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5611 (reftex-toc-rename-label, reftex-toc-visit-location)
5612 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5613 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5614 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5615 leaving "*toc*" only for references to the buffer.
5617 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5619 * window.el (window-resize, delete-window, split-window):
5620 Replace window-splits by window-combination-resize.
5621 * cus-start.el (window-splits): Replace by window-combination-resize.
5623 2011-11-17 Glenn Morris <rgm@gnu.org>
5625 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5626 Make bash entry derive from sh entry, not shell entry.
5628 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5630 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5631 properties of linked files. (Bug#9879)
5633 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5636 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5638 * menu-bar.el (menu-bar-file-menu):
5639 * printing.el (pr-ps-utility):
5640 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5641 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5642 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5643 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5644 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5645 (icalendar--convert-cyclic-to-ical)
5646 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5647 (icalendar--convert-ical-to-diary)
5648 (icalendar--convert-recurring-to-diary)
5649 (icalendar--convert-non-recurring-all-day-to-diary)
5650 (icalendar-import-format-sample):
5651 * progmodes/idlw-shell.el (idlwave-shell-mode):
5652 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5653 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5654 (vhdl-ps-print-init): Fix typos.
5656 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5658 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5659 FSF and collapse date sequence, obscure author/maintainer email address
5660 better, remove extra version line, track relocation of author's webpage.
5662 * progmodes/python.el (python-pdbtrack-input-prompt)
5663 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5664 regular python pdb prompts. Adjustments shamelessly taken exactly as
5665 suggested in EmacsWiki page (tiny change):
5666 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5668 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5670 * expand.el (expand-pos, expand-index, expand-point):
5671 Remove redundant info from docstring.
5672 (expand-add-abbrevs): Doc fix.
5673 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5674 (expand-sample-perl-mode-expand-list): Fix typos.
5676 * net/dbus.el (dbus-event-member-name):
5677 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5678 * term/pc-win.el (msdos-create-frame-with-faces):
5679 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5681 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5683 * window.el (split-window, window-state-get-1)
5684 (window-state-put-1, window-state-put-2): Rename occurrences of
5685 window-nest to window-combination-limit.
5686 * cus-start.el (window-nest): Rename to window-combination-limit.
5688 2011-11-16 Chong Yidong <cyd@gnu.org>
5690 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5693 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5695 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5696 `completing-read' will remove *Completions* and will preserve
5697 current-buffer for us.
5698 (tmm-add-prompt): Users of *Completions* will always (re)set its
5700 (tmm-old-comp-map): Remove.
5702 2011-11-16 Glenn Morris <rgm@gnu.org>
5704 * mail/rmailedit.el: Require rmailmm when compiling.
5705 (rmail-old-mime-state): New declaration.
5706 (rmail-edit-current-message): If editing a mime message,
5707 edit the "raw" message from the mbox buffer.
5708 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5710 2011-11-15 Glenn Morris <rgm@gnu.org>
5712 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5713 which wasn't being used. Add optional arg to force given state.
5714 (rmail-mime): Add optional arg to force given state.
5716 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5718 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5719 * frame.el (display-mm-dimensions-alist):
5720 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5721 (outline-move-subtree-down):
5722 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5723 (newsticker--treeview-do-get-node):
5724 * net/quickurl.el (quickurl-list-buffer-name):
5725 * progmodes/dcl-mode.el (dcl-mode):
5726 * progmodes/gdb-mi.el (gdb-mapcar*):
5727 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5729 2011-11-15 Glenn Morris <rgm@gnu.org>
5731 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5732 in a boolean sense, so just make it a boolean, and fix the doc.
5733 (rmail-show-mime-function, rmail-mime-feature)
5734 (rmail-require-mime-maybe): Doc fixes.
5735 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5737 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5739 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5741 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5742 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5743 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5744 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5746 2011-11-15 Glenn Morris <rgm@gnu.org>
5748 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5749 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5750 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5751 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5752 (rmail-mime, rmail-show-mime): Doc fixes.
5754 * term/ns-win.el (mode-line-frame-identification):
5755 Leave it alone. (Bug#10051)
5757 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5759 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5760 Handle empty buffers. (Bug#9978)
5762 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5764 * international/mule.el (define-charset):
5765 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5766 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5767 * progmodes/verilog-mode.el (verilog-backward-token):
5768 * textmodes/ispell.el (lookup-words):
5769 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5771 2011-11-14 Glenn Morris <rgm@gnu.org>
5773 * progmodes/executable.el
5774 (executable-make-buffer-file-executable-if-script-p):
5775 Handle file-modes returning nil.
5777 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5778 message - not necessary, and causes problems. (Bug#9831)
5780 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5782 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5784 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5785 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5786 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5788 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5790 * window.el (window-resize, delete-window): Use window-splits
5791 variable instead of function.
5792 (window-state-get-1, window-state-put-2, window-state-put):
5793 Don't deal with windows' splits status.
5795 2011-11-12 Glenn Morris <rgm@gnu.org>
5797 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5798 (apropos-documentation): Doc fixes.
5800 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5802 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5803 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5805 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * electric.el (electric-indent-post-self-insert-function): Make it
5808 possible for a char to only indent in some circumstances.
5809 (electric-indent-mode): Simplify.
5811 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5813 * window.el (windows-with-parameter): Remove unused function.
5814 (windows-at-side): Rename to window-at-side-list.
5815 (window-check, window-atom-check, window-atom-check-1)
5816 (window-side-check, window-size-ignore, window-size-fixed-1)
5817 (window-in-direction-2): Prefix with "window--".
5818 (window-tree-1): Rename to window--subtree, fix doc-string.
5820 2011-11-11 Glenn Morris <rgm@gnu.org>
5822 * subr.el (eval-after-load): If FILE is already loaded,
5823 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5825 2011-11-10 Glenn Morris <rgm@gnu.org>
5827 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5828 Call svn via vc-svn-command rather than vc-do-command.
5829 (vc-svn-command): Add --non-interactive. (Bug#9993)
5830 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5833 Add toggle-read-only. (Bug#7292)
5834 * files.el (toggle-read-only): Mention that it should only
5835 be used interactively. (Bug#10006)
5837 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5840 Adjust regexp for OCaml warnings.
5842 * electric.el (electric-pair-post-self-insert-function): Let user
5843 turn it off buffer-locally (bug#9932).
5845 * progmodes/python.el (python-beginning-of-statement):
5848 * progmodes/compile.el: Better handle TABs (bug#9749).
5849 (compilation-internal-error-properties)
5850 (compilation-next-error-function): Obey the target buffer's
5851 compilation-error-screen-columns.
5853 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5855 * progmodes/meta-mode.el: Remove obsolete comments.
5856 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5857 Fix typos in docstrings.
5859 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5861 * window.el (window-size-fixed-p): Rewrite doc-string.
5862 (window-resizable-p): Rename to window--resizable-p. Update callers.
5863 (window--resizable): New function. Make all callers of
5864 window-resizable call window--resizable instead.
5865 (window-resizable): Rewrite in terms of window--resizable.
5867 2011-11-08 Glenn Morris <rgm@gnu.org>
5869 * progmodes/delphi.el (delphi-mode-syntax-table):
5870 Let define-derived-mode define a proper syntax table. (Bug#9994)
5872 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * window.el: Stay away from defsubst.
5875 (window-list-no-nils): Remove.
5876 (window-state-get-1, window-state-get): Use backquote instead.
5878 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5880 * emacs-lisp/find-func.el (find-function-read):
5881 Fix incorrect use of default argument in `completing-read'.
5883 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5885 * window.el (display-buffer-function, special-display-function):
5886 Mention display-buffer-record-window but do not mention
5887 help-setup parameter in doc-strings.
5888 (window-min-delta): Fix doc-string typo.
5890 2011-11-08 Chong Yidong <cyd@gnu.org>
5892 * window.el (window-total-height, window-total-width): Doc fix.
5893 (window-body-size): Move from C.
5894 (window-body-height, window-body-width): Move to C.
5896 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5898 * window.el: Make special-display like display-buffer-alist (bug#9532).
5899 (display-buffer--special-action): New function, morphed
5900 from display-buffer--special.
5901 (display-buffer): Use it to handle special-display-buffers at higher
5902 priority (just after display-buffer-alist).
5903 (display-buffer-fallback-action, display-buffer--other-frame-action)
5904 (pop-to-buffer-same-window): Remove display-buffer--special.
5906 2011-11-07 Glenn Morris <rgm@gnu.org>
5908 * calendar/cal-menu.el (cal-menu-set-date-title):
5909 Do nothing if not in a calendar. (Bug#9976)
5911 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * files.el (find-file): Always use selected-window.
5915 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5917 * window.el (window-combinations): Make WINDOW argument
5918 mandatory. Rewrite doc-string.
5919 (walk-window-subtree, window-atom-check, window-min-delta)
5920 (window-max-delta, window--resize-this-window)
5921 (window--resize-root-window-vertically, window-tree)
5922 (balance-windows, window-state-put): Rewrite doc-strings as to
5923 not mention the term "subwindow".
5924 (window--resize-subwindows-skip-p): Rename to
5925 window--resize-child-windows-skip-p.
5926 (window--resize-subwindows-normal): Rename to
5927 window--resize-child-windows-normal.
5928 (window--resize-subwindows): Rename to
5929 window--resize-child-windows.
5930 (window-or-subwindow-p): Rename to window--in-subtree-p.
5932 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5934 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5935 Ensure that mbox format messages end in two newlines (Bug#9974).
5937 2011-11-06 Chong Yidong <cyd@gnu.org>
5939 * window.el (window-combination-p): Function deleted; its
5940 side-effect is not used in any existing code.
5941 (window-combinations, window-combined-p): Call window-*-child
5944 2011-11-05 Chong Yidong <cyd@gnu.org>
5946 * window.el (window-valid-p): Rename from window-any-p.
5947 (window-size-ignore, window-state-get): Callers changed.
5948 (window-normalize-window): Rename from window-normalize-any-window.
5949 New arg LIVE-ONLY, replacing window-normalize-live-window.
5950 (window-normalize-live-window): Delete.
5951 (window-combination-p, window-combined-p, window-combinations)
5952 (walk-window-subtree, window-atom-root, window-min-size)
5953 (window-sizable, window-sizable-p, window-size-fixed-p)
5954 (window-min-delta, window-max-delta, window-resizable)
5955 (window-resizable-p, window-full-height-p, window-full-width-p)
5956 (window-current-scroll-bars, window-point-1, set-window-point-1)
5957 (window-at-side-p, window-in-direction, window-resize)
5958 (adjust-window-trailing-edge, maximize-window, minimize-window)
5959 (window-deletable-p, delete-window, delete-other-windows)
5960 (record-window-buffer, unrecord-window-buffer)
5961 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5962 (quit-window, split-window, window-state-put)
5963 (set-window-text-height, fit-window-to-buffer)
5964 (shrink-window-if-larger-than-buffer): Callers changed.
5966 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5968 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5969 rfc2047-decode-string.
5970 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5973 * window.el (window-body-height, window-body-width): Mention in
5974 the doc string that the return values are in frame's canonical
5977 2011-11-03 Alan Mackenzie <acm@muc.de>
5979 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5980 change in cc-engine.el.
5982 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5986 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5988 * window.el (quit-window): Call unrecord-window-buffer after
5989 showing another buffer in the window. (Bug#9937)
5990 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5992 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5994 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5995 Accept status with more than 9 shelves. (Bug#9935)
5996 Reported by Colin D Bennett <colin@gibibit.com>.
5998 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6000 * help.el (with-help-window): Don't reference
6001 temp-buffer-show-specifiers in doc-string.
6003 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6005 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6008 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6010 * whitespace.el: New version 13.2.2.
6011 (whitespace-newline-mode): Disable properly. Reported by Sarah
6014 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6016 * net/newst-treeview.el: Remove "Time-stamp".
6017 (newsticker--group-manage-orphan-feeds): Do not call
6018 newsticker--treeview-tree-update.
6019 (newsticker-treeview-update, newsticker-treeview):
6020 Call newsticker--treeview-tree-update if necessary.
6022 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6024 * window.el (window-iso-combination-p, window-iso-combined-p)
6025 (window-iso-combinations): Remove "iso-" infix.
6026 Suggested by Chong Yidong.
6027 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6028 (window-max-delta-1, window-resize, window--resize-siblings)
6029 (window--resize-this-window, adjust-window-trailing-edge)
6030 (split-window, balance-windows-1)
6031 (shrink-window-if-larger-than-buffer):
6032 * calendar/calendar.el (calendar-generate-window):
6033 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6035 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6037 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6038 in place (bug#9907).
6039 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6040 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6041 (eshell-structure-basic-command, eshell-rewrite-while-command)
6042 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6043 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6044 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6045 (eshell-do-pipelines-synchronously, eshell-eval-command):
6046 Use backquotes and prefer setq to set.
6047 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6048 (eshell-macrop): Use functionp.
6049 (eshell-do-eval): Handle multiple expressions in `while' body.
6051 2011-10-30 Chong Yidong <cyd@gnu.org>
6053 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6054 instead of set-mark (Bug#9810).
6056 2011-10-30 Chong Yidong <cyd@gnu.org>
6058 * window.el (split-window-below, split-window-right): Rename from
6059 split-window-above-each-other and split-window-side-by-side
6060 respectively. All callers changed.
6061 (split-window-sensibly, split-window-sensibly): Use them.
6062 (split-window-keep-point): Doc fix.
6064 * isearch.el: Add isearch-scroll property to split-window-below
6065 and split-window-right.
6067 * follow.el (follow-mode):
6068 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6069 * progmodes/ada-xref.el (ada-gdb-application):
6070 * emulation/vip.el (vip-buffer-in-two-windows):
6071 * image-dired.el (image-dired-dired-with-window-configuration):
6072 * dired-x.el (dired-do-find-marked-files):
6073 * dired.el (dired-pop-to-buffer):
6074 * bs.el (bs--show-with-configuration):
6075 * vc/emerge.el (emerge-setup-windows):
6076 * textmodes/two-column.el (2C-two-columns):
6077 * textmodes/reftex-toc.el (reftex-toc):
6078 * progmodes/gdb-mi.el (gdb-setup-windows):
6079 * progmodes/fortran.el (fortran-window-create):
6080 * net/newst-treeview.el (newsticker--treeview-window-init):
6081 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6082 * emulation/tpu-edt.el (tpu-gold-map):
6083 * emulation/crisp.el (crisp-mode-map):
6084 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6086 2011-10-29 Chong Yidong <cyd@gnu.org>
6088 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6090 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6092 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6093 forged Ispell output (Bug#7904).
6095 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6097 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6099 * doc-view.el: Avoid ugly errors about not finding nil.
6100 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6101 (doc-view-dvipdf-program, doc-view-unoconv-program)
6102 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6103 Avoid nil or absolute file name as default value.
6104 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6106 2011-10-28 Alan Mackenzie <acm@muc.de>
6108 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6110 2011-10-28 Alan Mackenzie <acm@muc.de>
6112 Amend the handling of c-beginning/end-of-defun in nested declaration
6115 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6116 cc-langs.el. Change it to a defcustom.
6118 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6121 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6122 Prevent "class foo : bar" being spuriously recognized as a label.
6124 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6125 Add parameter `inclusive' (to include enclosing braces in the region).
6126 (c-widen-to-enclosing-decl-scope): New function.
6127 (c-while-widening-to-decl-block): New macro.
6128 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6129 outward for defun boundaries, and correspondingly change symbol
6130 `respect-enclosure' to `go-outward'.
6131 (c-declaration-limits): Change algorithm to report only the "innermost"
6134 2011-10-28 Deniz Dogan <deniz@dogan.se>
6136 * net/rcirc.el (rcirc-mode): Use hard newlines.
6138 2011-10-28 Alan Mackenzie <acm@muc.de>
6140 Amend to indent and fontify macros "which include their own semicolon"
6141 correctly, using the "virtual semicolon" mechanism.
6143 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6145 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6146 Recode to scan one line at a time rather than having \n and \r
6147 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6148 (c-forward-label): Amend for virtual semicolons.
6149 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6151 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6152 of the new C macros.
6154 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6155 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6156 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6157 (c-opt-cpp-macro-define): Make into a full language variable.
6158 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6159 AWK Mode (including \n, \r) removed, no longer needed.
6161 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6162 Invoke c-make-macro-with-semi-re.
6164 * progmodes/cc-vars.el (c-macro-with-semi-re):
6165 (c-macro-names-with-semicolon): New variables.
6166 (c-make-macro-with-semi-re): New function.
6168 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * vc/log-edit.el: Fill empty field rather than adding new one.
6171 (log-edit-add-field): New function.
6172 (log-edit-insert-changelog): Use it.
6174 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6176 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6178 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6181 (gdb--check-interpreter): New function.
6184 2011-10-27 Glenn Morris <rgm@gnu.org>
6186 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6187 (least-positive-float, least-negative-float)
6188 (least-positive-normalized-float, least-negative-normalized-float)
6189 (float-epsilon, float-negative-epsilon):
6190 Remove unnecessary declarations.
6192 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6193 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6194 (least-positive-float, least-negative-float)
6195 (least-positive-normalized-float, least-negative-normalized-float)
6196 (float-epsilon, float-negative-epsilon): Add doc-strings,
6197 based on those in cl.texi.
6199 * files.el (set-visited-file-name): If the major-mode changed,
6200 reload the local variables. (Bug#9796)
6202 2011-10-27 Chong Yidong <cyd@gnu.org>
6204 * subr.el (change-major-mode-after-body-hook): New hook.
6205 (run-mode-hooks): Run it.
6207 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6208 Use change-major-mode-before-body-hook.
6210 * simple.el (fundamental-mode):
6211 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6212 change introducing fundamental-mode-hook.
6214 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6216 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6218 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6220 * ido.el (ido-file-name-all-completions-1): Do not require
6221 tramp.el explicitly. (Bug#7583)
6223 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6225 * progmodes/octave-mod.el:
6226 * progmodes/octave-inf.el: Update maintainer.
6228 2011-10-26 Chong Yidong <cyd@gnu.org>
6230 * subr.el (with-wrapper-hook): Rewrite doc.
6232 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6234 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6235 filenames "/method:foo:". (Bug#9793)
6237 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6239 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6242 2011-10-24 Glenn Morris <rgm@gnu.org>
6244 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6246 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6248 * notifications.el: Add the requirement of a running D-Bus session
6249 bus to the Commentary.
6251 2011-10-24 Juri Linkov <juri@jurta.org>
6253 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6254 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6257 2011-10-24 Juri Linkov <juri@jurta.org>
6259 * info.el (Info-following-node-name-re): Add newline to the list
6260 of allowed characters for leading space. (Bug#9824)
6262 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6264 * progmodes/octave-inf.el (inferior-octave-mode-map):
6265 Fix C-c C-h binding.
6266 * progmodes/octave-mod.el (octave-help): Remove.
6268 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6270 Sync with Tramp 2.2.3.
6272 * net/tramp-cache.el (top): Pacify byte-compiler using
6273 `init-file-user' and `site-run-file'.
6275 * net/trampver.el: Update release number.
6277 2011-10-23 Chong Yidong <cyd@gnu.org>
6279 * files.el (toggle-read-only): Remove obsolete comment about
6282 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6283 for toggle-read-only. Note that this hasn't called vc-next-action
6284 since 2008-05-02, though it wasn't documented at the time.
6286 * vc/ediff-init.el (ediff-toggle-read-only-function):
6287 Use toggle-read-only.
6289 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6291 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6294 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6295 correct faulty logical expression.
6296 (c-parse-state-state, c-record-parse-state-state):
6297 (c-replay-parse-state-state): New defvar/defuns.
6298 (c-debug-parse-state): Use new functions.
6300 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6302 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6303 last fix. Use window-in-direction correctly.
6305 2011-10-21 Chong Yidong <cyd@gnu.org>
6307 * progmodes/idlwave.el (idlwave-mode):
6308 * progmodes/vera-mode.el (vera-mode): No need to set
6309 require-final-newline; that's done in prog-mode.
6310 Suggested by Stefan Monnier.
6312 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6314 * mouse.el (mouse-drag-window-above)
6315 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6316 (mouse-drag-mode-line-1, mouse-drag-header-line)
6317 (mouse-drag-vertical-line-rightward-window): Remove.
6318 (mouse-drag-line): New function.
6319 (mouse-drag-mode-line, mouse-drag-header-line)
6320 (mouse-drag-vertical-line): Call mouse-drag-line.
6321 * window.el (window-at-side-p, windows-at-side): New functions.
6323 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6325 * tar-mode.el (tar-grind-file-mode):
6326 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6328 2011-10-21 Chong Yidong <cyd@gnu.org>
6330 * progmodes/idlwave.el (idlwave-mode):
6331 * progmodes/vera-mode.el (vera-mode):
6332 Use mode-require-final-newline.
6334 2011-10-20 Glenn Morris <rgm@gnu.org>
6336 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6338 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6340 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6342 2011-10-20 Chong Yidong <cyd@gnu.org>
6344 * emulation/cua-base.el (cua-mode):
6345 * mail/footnote.el (footnote-mode):
6346 * mail/mailabbrev.el (mail-abbrevs-mode):
6347 * net/xesam.el (xesam-minor-mode):
6348 * progmodes/bug-reference.el (bug-reference-mode):
6349 * progmodes/cap-words.el (capitalized-words-mode):
6350 * progmodes/compile.el (compilation-minor-mode)
6351 (compilation-shell-minor-mode):
6352 * progmodes/gud.el (gud-tooltip-mode):
6353 * progmodes/hideif.el (hide-ifdef-mode):
6354 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6355 * progmodes/subword.el (subword-mode):
6356 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6357 * progmodes/which-func.el (which-function-mode):
6358 * term/tvi970.el (tvi970-set-keypad-mode):
6359 * term/vt100.el (vt100-wide-mode):
6360 * textmodes/flyspell.el (flyspell-mode):
6361 * textmodes/ispell.el (ispell-minor-mode):
6362 * textmodes/nroff-mode.el (nroff-electric-mode):
6363 * textmodes/paragraphs.el (use-hard-newlines):
6364 * textmodes/refill.el (refill-mode):
6365 * textmodes/reftex.el (reftex-mode):
6366 * textmodes/rst.el (rst-minor-mode):
6367 * textmodes/sgml-mode.el (html-autoview-mode)
6368 (sgml-electric-tag-pair-mode):
6369 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6370 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6371 * emulation/crisp.el (crisp-mode):
6372 * emacs-lisp/eldoc.el (eldoc-mode):
6373 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6374 minor mode behavior.
6376 2011-10-19 Juri Linkov <juri@jurta.org>
6378 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6379 the list of hard-coded chars with escape-glyph face.
6381 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6383 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6385 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6387 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6390 2011-10-19 Glenn Morris <rgm@gnu.org>
6392 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6393 Ignore ignored files. (Bug#9726)
6395 2011-10-19 Chong Yidong <cyd@gnu.org>
6397 Doc fix for minor modes, stating that an omitted argument enables
6398 the mode unconditionally when called from Lisp.
6400 * abbrev.el (abbrev-mode):
6401 * allout.el (allout-mode):
6402 * autoinsert.el (auto-insert-mode):
6403 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6404 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6405 (global-auto-revert-mode):
6406 * battery.el (display-battery-mode):
6407 * composite.el (global-auto-composition-mode)
6408 (auto-composition-mode):
6409 * delsel.el (delete-selection-mode):
6410 * desktop.el (desktop-save-mode):
6411 * dired-x.el (dired-omit-mode):
6412 * dirtrack.el (dirtrack-mode):
6413 * doc-view.el (doc-view-minor-mode):
6414 * double.el (double-mode):
6415 * electric.el (electric-indent-mode, electric-pair-mode):
6416 * emacs-lock.el (emacs-lock-mode):
6417 * epa-hook.el (auto-encryption-mode):
6418 * follow.el (follow-mode):
6419 * font-core.el (font-lock-mode):
6420 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6421 * help.el (temp-buffer-resize-mode):
6422 * hilit-chg.el (highlight-changes-mode)
6423 (highlight-changes-visible-mode):
6424 * hi-lock.el (hi-lock-mode):
6425 * hl-line.el (hl-line-mode, global-hl-line-mode):
6426 * icomplete.el (icomplete-mode):
6427 * ido.el (ido-everywhere):
6428 * image-file.el (auto-image-file-mode):
6429 * image-mode.el (image-minor-mode):
6430 * iswitchb.el (iswitchb-mode):
6431 * jka-cmpr-hook.el (auto-compression-mode):
6432 * linum.el (linum-mode):
6433 * longlines.el (longlines-mode):
6434 * master.el (master-mode):
6435 * mb-depth.el (minibuffer-depth-indicate-mode):
6436 * menu-bar.el (menu-bar-mode):
6437 * minibuf-eldef.el (minibuffer-electric-default-mode):
6438 * mouse-sel.el (mouse-sel-mode):
6439 * msb.el (msb-mode):
6440 * mwheel.el (mouse-wheel-mode):
6441 * outline.el (outline-minor-mode):
6442 * paren.el (show-paren-mode):
6443 * recentf.el (recentf-mode):
6444 * reveal.el (reveal-mode, global-reveal-mode):
6445 * rfn-eshadow.el (file-name-shadow-mode):
6446 * ruler-mode.el (ruler-mode):
6447 * savehist.el (savehist-mode):
6448 * scroll-all.el (scroll-all-mode):
6449 * scroll-bar.el (scroll-bar-mode):
6450 * server.el (server-mode):
6451 * shell.el (shell-dirtrack-mode):
6452 * simple.el (auto-fill-mode, transient-mark-mode)
6453 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6454 (line-number-mode, column-number-mode, size-indication-mode)
6455 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6456 * strokes.el (strokes-mode):
6457 * time.el (display-time-mode):
6458 * t-mouse.el (gpm-mouse-mode):
6459 * tool-bar.el (tool-bar-mode):
6460 * tooltip.el (tooltip-mode):
6461 * type-break.el (type-break-mode-line-message-mode)
6462 (type-break-query-mode):
6463 * view.el (view-mode):
6464 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6465 (global-whitespace-mode, global-whitespace-newline-mode):
6466 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6468 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6469 Fix autogenerated docstring.
6471 2011-10-19 Juri Linkov <juri@jurta.org>
6473 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6474 by checking environment variables "DESKTOP_SESSION" and
6475 "XDG_CURRENT_DESKTOP". (Bug#9779)
6477 2011-10-19 Juri Linkov <juri@jurta.org>
6479 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6480 (browse-url-chromium-program, browse-url-chromium-arguments):
6482 (browse-url-default-browser): Check for `browse-url-chromium' and
6483 call `browse-url-chromium-program'.
6484 (browse-url-chromium): New command. (Bug#9779)
6486 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6488 * facemenu.el (list-colors-duplicates): On Windows, detect more
6489 duplicates by assuming that only colors matching "^System" are
6490 special "system colors". (Bug#9722)
6492 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6494 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6495 to distinguish the author from the committer.
6497 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6499 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6501 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6503 * international/mule.el (sgml-html-meta-auto-coding-function):
6504 Add support for detecting encoding in HTML5 specified only as
6505 <meta charset="UTF-8">. Implementation just makes http-equiv and
6506 content-type parts from HTML4 encoding string optional. (Bug#9716)
6508 2011-10-18 Glenn Morris <rgm@gnu.org>
6510 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6512 2011-10-18 Chong Yidong <cyd@gnu.org>
6514 * faces.el (cursor): Doc fix.
6516 2011-10-17 Chong Yidong <cyd@gnu.org>
6518 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6520 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6522 * dirtrack.el (dirtrack): Support shell buffers with path
6523 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6525 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6527 * json.el: Bump version to 1.3 and note change in History.
6528 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6530 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6532 * comint.el (comint-insert-input, comint-send-input)
6533 (comint-get-old-input-default, comint-backward-matching-input)
6534 (comint-next-prompt): Use nil instead of `input' for field property of
6535 past user input (bug#114).
6537 * minibuffer.el (completion--replace): Inherit surrounding properties
6539 (minibuffer-complete-and-exit): Use it.
6541 * comint.el (comint--table-subvert): Quote the all-completions output
6544 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6546 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6548 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6549 window on right of selected. (Bug#9350) Reword other window
6550 entries and separate them from frame entries.
6552 2011-10-15 Glenn Morris <rgm@gnu.org>
6554 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6557 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6559 * net/network-stream.el (network-stream-open-starttls):
6560 Improve detection of failure due to lack of TLS support.
6562 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6563 putting the input text in front and in bold.
6565 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6569 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6572 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6573 unread-command-events rather than pushing yet-another event.
6575 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6577 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6578 the explanation of the possible choices. Make the options passed
6579 to completing-read shorter.
6581 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6583 * textmodes/flyspell.el (flyspell-large-region): Make sure
6584 extended character mode is used if defined (Bug#1339).
6586 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6588 * simple.el (what-cursor-position): Fix the display of the
6589 character info for LRE, LRO, RLE, and RLO characters by appending
6592 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6594 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6595 even in case of error; add debug spec; simplify data flow.
6596 (with-timeout-handler): Remove.
6598 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6600 Fix Bug#6019, Bug#9315.
6602 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6603 complete `buffer-file-name', the local file name part could look
6604 remotely (for example on VMS).
6606 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6607 `tramp-run-real-handler'.
6608 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6609 already quoted by '"'.
6611 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6612 Let `file-name-handler-alist' be nil, the local file name part
6613 could look remotely (for example on VMS).
6615 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6619 (flyspell-post-command-hook): ...to here.
6621 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6625 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6626 using completion. Protect against "slow" callers.
6627 Remove the "message hack".
6629 2011-10-11 Juri Linkov <juri@jurta.org>
6631 * isearch.el (isearch-lazy-highlight-word): New variable.
6632 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6635 2011-10-11 Glenn Morris <rgm@gnu.org>
6637 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6638 like f90-previous-statement does.
6640 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6642 * eshell/eshell.el (eshell-command): History should be saved
6643 only in interactive use, to avoid error.
6645 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * minibuffer.el (completion-file-name-table): Fix last change,
6648 i.e. ignore normal errors but not the other ones.
6650 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6652 * window.el (special-display-buffer-names)
6653 (special-display-regexps): Remove some remnants of earlier
6654 changes from doc-strings.
6655 (quit-windows-on): New function.
6657 * vc/vc.el (vc-revert, vc-rollback):
6658 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6659 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6660 (Bug#6183) (Bug#7074) (Bug#7447)
6662 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6664 * window.el (frame-auto-hide-function): Add version tag.
6667 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6669 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6672 2011-10-09 Leo Liu <sdl.web@gmail.com>
6674 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6677 2011-10-08 Glenn Morris <rgm@gnu.org>
6679 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6680 before the first code statement zero indent. (Bug#9690)
6682 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6684 * simple.el (count-words-region): Always count in the region.
6685 Report the number of lines and characters too.
6686 (count-words): New command, which counts in the buffer if the
6687 region is inactive, as count-words-region used to.
6688 (count-words--message): New function. Handle plurals.
6689 (count-lines-region): Make it an alias for count-words-region.
6691 * bindings.el (esc-map): Replace count-lines-region with
6694 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6696 * window.el (window--delete): Delete dedicated frame
6697 unconditionally when argument KILL is non-nil. (Bug#9699)
6698 (switch-to-buffer): Fix doc-string typo.
6700 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6702 * eshell/eshell.el (eshell-command): Avoid using hooks.
6704 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6706 * bindings.el ([M-left],[M-right]): Bind to left-word and
6707 right-word respectively.
6709 2011-10-07 Glenn Morris <rgm@gnu.org>
6711 * cus-start.el (debug-on-quit): Fix custom type.
6713 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6715 * subr.el (define-key-after): Clarify that the function is not
6716 useful for non-menu keymaps.
6718 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6720 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6722 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6723 in current minibuffer (Fix bug with recursive minibuffers).
6725 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6727 * progmodes/gdb-mi.el (gdb): Doc fix.
6729 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6731 * window.el (frame-auto-hide-function): New option replacing
6732 frame-auto-delete. Suggested by Stefan Monnier.
6733 (window--delete): Call frame-auto-hide-function instead of
6734 investigating frame-auto-delete.
6735 (window-point-1, set-window-point-1): New functions.
6736 (window-in-direction, record-window-buffer, window-state-get-1)
6737 (display-buffer-record-window): Use window-point-1 instead of
6739 (set-window-buffer-start-and-point): Use set-window-point-1.
6741 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6745 2011-10-05 Glenn Morris <rgm@gnu.org>
6747 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6748 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6750 2011-10-05 Leo Liu <sdl.web@gmail.com>
6752 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6753 works with buffer object.
6755 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * mpc.el (mpc-tool-bar-map): Add labels.
6759 2011-10-04 Glenn Morris <rgm@gnu.org>
6761 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6763 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6765 * window.el (window--delete): New function.
6766 (frame-auto-delete): Resuscitate option.
6767 (bury-buffer, replace-buffer-in-windows)
6768 (quit-window): Rewrite using window--delete.
6769 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6770 Pass display-buffer-mark-dedicated to window--display-buffer-2
6773 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6776 returns a list (bug#9554). Add remote file name completion.
6777 * comint.el (comint--table-subvert): Curry and get quote&unquote
6778 functions as arguments.
6779 (comint--complete-file-name-data): Adjust call accordingly.
6780 * pcomplete.el (pcomplete--table-subvert): Remove.
6781 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6783 * minibuffer.el (completion-table-case-fold): Use currying.
6784 (completion--styles-type, completion--cycling-threshold-type):
6786 (completion-styles, completion-category-overrides)
6787 (completion-cycle-threshold): Use them.
6788 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6789 completion-table-case-fold.
6791 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6793 * minibuffer.el (completion-category-overrides): Fix type of styles
6794 and add more user friendly tags (bug#9660).
6796 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6799 (mule-input-method-string): New widget.
6800 (default-input-method, language-info-custom-alist): Use it.
6802 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6804 * pcomplete.el: Require comint.
6805 (pcomplete--common-suffix): Remove.
6806 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6807 (pcomplete--table-subvert): Sync with comint--table-subvert.
6808 (pcomplete--entries): Use comint-completion-file-name-table.
6809 * comint.el (comint-unquote-filename): Simplify.
6810 (comint-completion-file-name-table): New function (bug#9616).
6811 (comint--complete-file-name-data): Use it.
6813 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6814 (pcmpl-gnu-tar-buffer): Remove.
6815 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6816 around. Make sure pcomplete-suffix-list is only changed temporarily.
6817 Don't look inside the tar's file if it's too large.
6819 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6821 * cus-edit.el (custom-mode-map):
6822 * epa.el (epa-key-list-mode-map):
6823 * man.el (Man-mode-map):
6824 * startup.el (splash-screen-keymap):
6825 * simple.el (special-mode-map): Use scroll-up-command and
6826 scroll-down-command.
6828 * progmodes/idlw-help.el (idlwave-help-mode-map):
6829 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6830 * net/newst-plainview.el (newsticker-mode-map):
6831 * emulation/ws-mode.el (wordstar-mode-map):
6832 * emulation/vi.el (vi-com-map):
6833 * calc/calc-graph.el (calc-graph-show-dumb):
6834 * term/sun.el (terminal-init-sun):
6835 * term/ns-win.el (global-map):
6836 * progmodes/grep.el (grep-mode-map):
6837 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6838 * mail/rmail.el (rmail-mode-map):
6839 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6841 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6842 custom-safe-themes as special.
6844 2011-10-01 Julien Danjou <julien@danjou.info>
6846 * notifications.el (notifications-notify): Fix docstring.
6848 2011-10-01 Per Starbäck <per@starback.se>
6850 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6852 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6854 * startup.el (command-line-1): Fix last fix by inserting
6855 initial-scratch-message into *scratch* before displaying it.
6856 (Bug#9605) and (Bug#9636)
6858 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6860 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6861 window is hscrolled, move by logical lines. (Bug#9607)
6862 (line-move-visual): Update the doc string to the above effect.
6864 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6866 * window.el (display-buffer-record-window): When WINDOW is the
6867 selected window use `point' instead of `window-point'. (Bug#9626)
6869 * startup.el (command-line-1): Use insert-before-markers when
6870 inserting initial-scratch-message. (Bug#9605)
6872 * help.el (help-window): Remove variable.
6874 2011-09-29 Glenn Morris <rgm@gnu.org>
6876 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6878 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6880 * descr-text.el (describe-char-categories): Accept category
6881 descriptions more than one line long.
6883 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * simple.el (delete-trailing-whitespace): Fix last change.
6887 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6888 Don't confuse "y => 3" as the beginning of a `y' operation.
6890 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6891 object has more than 4 slots (bug#9613).
6893 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6895 * subr.el (with-output-to-temp-buffer):
6896 * net/quickurl.el (quickurl, quickurl-browse-url):
6897 Fix typos in docstrings.
6899 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6901 * minibuffer.el (completion-styles)
6902 (completion-category-overrides): Cross reference each other in doc
6905 2011-09-27 Glenn Morris <rgm@gnu.org>
6907 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6908 to split-string. (Bug#9606)
6910 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6912 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6915 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6917 * emacs-lisp/package.el (list-packages): Fix echo area message.
6919 2011-09-27 Leo Liu <sdl.web@gmail.com>
6921 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6923 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6925 * net/dbus.el (dbus-unregister-object): Don't release services for
6926 registered signals. (Bug#9581)
6928 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6930 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6931 function that picks between cfengine 2 and 3 support
6932 automatically. Update docs accordingly.
6934 2011-09-22 Kenichi Handa <handa@m17n.org>
6936 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6938 (indian-itrans-v5-table-for-tamil): New variable.
6939 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6941 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6943 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6944 that's true if the current command involved collapsing of text.
6945 It's reset to false at the beginning of the next command.
6946 (allout-post-command-business): Move the cursor to the beginning
6947 of entry if the cursor is hidden and collapsing activity just
6950 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6952 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6953 tracking (Bug#9541).
6955 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6957 * net/newst-reader.el (newsticker-html-renderer)
6958 (newsticker-show-news): Automatically load html rendering package
6959 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6960 because w3m-fill-column is let-bound" and the error "Symbol's value
6961 as variable is void: w3m-fill-column".
6963 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6965 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6966 Release services only if they are defined. (Bug#9581)
6968 2011-09-23 Richard Stallman <rms@gnu.org>
6970 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6971 distinguish start of paragraph from start of its text.
6973 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6975 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6976 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6977 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6979 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6981 * international/mule-diag.el (mule-diag): Insert a newline after
6982 each fontset description.
6984 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6986 * simple.el (delete-trailing-whitespace):
6987 Document last change; simplify.
6989 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6991 * simple.el (delete-trailing-whitespace): Also delete
6992 extra newlines at the end of the buffer.
6994 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6995 (picture-newline): Use forward-line so as to ignore fields.
6997 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6999 * subr.el (with-wrapper-hook): Fix edebug spec.
7001 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7003 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7006 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7008 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7009 Fix nasty bug using wrong cached values.
7011 2011-09-23 Alan Mackenzie <acm@muc.de>
7013 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7015 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7017 * window.el (pop-to-buffer): Ensure right window is selected if we
7018 chose another frame.
7020 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7022 * simple.el (what-cursor-position): Use get-char-property-change
7023 and next-single-char-property-change, to be able to show display
7024 properties that come from overlays as well as text properties.
7026 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7028 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7030 * cmuscheme.el (run-scheme, switch-to-scheme):
7031 * cus-edit.el (customize-group, custom-buffer-create)
7035 * mail/sendmail.el (mail):
7036 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7038 2011-09-22 Richard Stallman <rms@gnu.org>
7040 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7041 move back only to line beg, don't move back over blank lines.
7043 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7045 * files.el (copy-directory): Set directory attributes only in case
7046 they could be retrieved from the source directory. (Bug#9565)
7048 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7050 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7051 (hs-find-block-beginning, hs-hide-level-recursive):
7052 Ignore strings as well as comments. (Bug#9502)
7054 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7056 * progmodes/sql.el (sql-comint-postgres):
7057 Convert port number to a string. (Bug#9566)
7059 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7061 * window.el (quit-window): Undedicate window when switching to
7062 previous buffer. Reported by Thierry Volpiatto
7063 <thierry.volpiatto@gmail.com>.
7064 (special-display-popup-frame): When popping up a new frame reset
7065 its previous buffers to nil. Simplify code.
7067 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7069 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7070 and process filter, as done also in `shell-command'.
7072 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7074 * window.el (set-window-buffer-start-and-point):
7075 Call set-window-start with NOFORCE argument t.
7076 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7077 (quit-window): Reword doc-string. Handle new format of
7078 quit-restore parameter. Don't delete window if it has a
7079 previous buffer we can show instead of the present one.
7080 (display-buffer-record-window): Rewrite using a new format for
7081 the quit-restore window parameter
7082 (special-display-popup-frame, display-buffer-same-window)
7083 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7084 (display-buffer-pop-up-window, display-buffer-use-some-window):
7085 Adapt symbol passed to display-buffer-record-window.
7086 * help.el (help-window-setup): Handle new format of quit-restore
7089 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * faces.el (face-list): Fix docstring (bug#9564).
7093 * window.el (display-buffer--action-function-custom-type):
7094 Don't include internal functions in the Custom interface.
7096 2011-09-20 Juri Linkov <juri@jurta.org>
7098 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7099 (Info-forward-node, Info-backward-node, Info-next-preorder)
7100 (Info-last-preorder): Use it. (Bug#9528)
7102 2011-09-20 Juri Linkov <juri@jurta.org>
7104 * info.el (Info-last-preorder): Visit last menu item only when
7105 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7107 2011-09-20 Julien Danjou <julien@danjou.info>
7109 * password-cache.el (password-cache-remove): Remove entries even if the
7110 value is nil, so that password with a nil value (negative caching) is
7111 possible to invalidate.
7113 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7115 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7116 all whitespace around breakpoint. (Bug#9553)
7117 (f90-find-breakpoint): Only break at whitespace inside a comment.
7119 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7121 * minibuffer.el (completion-file-name-table): Keep track of errors.
7122 (completion-table-with-predicate): Handle the case where pred1 is nil.
7123 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7125 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7127 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7128 (debugger-return-value): Signal an error if the debugging context does
7129 not await any return value.
7131 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7132 * image-mode.el (image-toggle-display-text)
7133 (image-toggle-display-image): Stay away from evil `intangible'.
7135 2011-09-19 Leo Liu <sdl.web@gmail.com>
7137 * replace.el (occur-revert-arguments): Make it permanent-local.
7138 (occur-mode): Don't call font-lock-defontify.
7140 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7142 * net/ldap.el (ldap-search-internal): Don't push empty search
7145 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7149 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7151 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7152 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7154 2011-09-18 Juri Linkov <juri@jurta.org>
7156 * buff-menu.el (Buffer-menu-mode-map):
7157 * dired.el (dired-mode-map):
7158 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7159 (lisp-interaction-mode-map):
7160 * emacs-lisp/package.el (package-menu-mode-map):
7161 * epa.el (epa-key-list-mode-map):
7162 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7163 (menu-bar-options-menu):
7164 * outline.el (outline-mode-menu-bar-map):
7165 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7166 * vc/vc-dir.el (vc-dir-menu-map):
7167 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7168 Capitalize non-function content words in menu item strings.
7170 * dired.el (dired-mode-map): Add menu item for
7171 `image-dired-dired-toggle-marked-thumbs'.
7173 2011-09-18 Juri Linkov <juri@jurta.org>
7175 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7176 to `isearch-case-fold-search' and restore its original value
7177 after the `isearch-mode' call.
7179 2011-09-18 Juri Linkov <juri@jurta.org>
7181 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7182 because `zgrep' returns 1 for successful matches (bug#9226).
7184 2011-09-18 Juri Linkov <juri@jurta.org>
7186 * info.el (Info-extract-menu-node-name): Check the second match
7187 for empty string (second test-case of bug#9528).
7188 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7189 intermediate nodes to the history (first test-case of bug#9528).
7191 2011-09-18 Juri Linkov <juri@jurta.org>
7193 * info.el (Info-mode-syntax-table): New variable.
7194 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7196 2011-09-18 Juri Linkov <juri@jurta.org>
7198 * info.el (Info-file-supports-index-cookies):
7199 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7200 outputs one more line for long file names (bug#4142).
7202 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7204 * newcomment.el (comment-normalize-vars): If prompting for
7205 comment-start, set comment-start-skip too (Bug#8424).
7207 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7209 * icomplete.el: Fix previous fix of Bug#5849.
7210 (icomplete-mode): Don't set completion-show-inline-help.
7211 (icomplete-minibuffer-setup): Set completion-show-inline-help
7212 locally during icompletion.
7214 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7216 * woman.el (woman2-process-escapes): Don't delete unrecognized
7219 * files.el (inhibit-first-line-modes-regexps): Add image files.
7220 (hack-local-variables-prop-line): Return nil for malformed
7221 prop-lines (Bug#9044).
7223 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7225 * net/tramp.el (top): Don't require 'shell.
7226 (tramp-methods): Fix docstring.
7227 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7228 Return complete remote file name. Handle "smb" case.
7229 Use `tramp-tmpdir', if defined for the respective method.
7230 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7232 * net/tramp-compat.el (top): Require 'shell.
7234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7235 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7236 `tramp-current-host'.
7237 (tramp-get-remote-tmpdir): Remove.
7239 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7240 `tramp-tmpdir' entries.
7241 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7242 (tramp-smb-handle-file-attributes): Ignore errors.
7243 (tramp-smb-wait-for-output): Check also for process end.
7245 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7247 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7248 when sending QUIT (bug#9312).
7250 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7252 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7253 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7254 occur-mode-display-occurrence.
7255 (occur-edit-mode): Add usage message.
7256 (occur-cease-edit): New command.
7257 (occur-after-change-function): Use text properties to find the
7258 position of the prefix text.
7259 (occur-engine): Set stickiness of prefix text properties.
7261 2011-09-17 Glenn Morris <rgm@gnu.org>
7263 * progmodes/etags.el (complete-tag):
7264 Fix call to completion-in-region. (Bug#9526)
7266 2011-09-17 Juri Linkov <juri@jurta.org>
7268 * textmodes/ispell.el (ispell-word): Add to the error message
7269 the word, ispell program name and current dictionary (bug#9121).
7270 (ispell-tex-arg-end): Capitalize "error" in the error message.
7272 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7274 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7277 2011-09-17 Juri Linkov <juri@jurta.org>
7279 * window.el (window-safe-min-height, window-safe-min-width):
7280 Fix typos (followup to bug#9522).
7282 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7284 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7286 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7288 * simple.el (line-move): If goal-column is set, move by logical
7289 lines, not by display lines. (Bug#971)
7290 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7291 to reflect the above change.
7293 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7295 * image.el (imagemagick-register-types): Use regexp-opt.
7297 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7299 * window.el (display-buffer-base-action): Rename from
7300 display-buffer-default-action. Make default value empty.
7301 (display-buffer-overriding-action): Convert to defvar.
7302 (display-buffer-fallback-action): New var.
7304 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7306 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7308 (package--add-to-archive-contents): If there is a duplicate entry
7309 with an older version, remove it.
7310 (package-menu-mark-delete, package-menu-mark-install)
7311 (package-menu-mark-unmark): Make unused args optional.
7312 (package-menu-mark-obsolete-for-deletion):
7313 Use package-menu-get-status instead of a regexp search.
7314 (package-menu-get-status): Use tabulated-list-entry.
7315 (package-menu-mark-upgrades): New command.
7316 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7317 (package-menu-execute): Do installation before deletion.
7318 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7319 instead of checking major-mode.
7320 (package-menu--find-upgrades): New function.
7322 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7324 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7325 passwords in the log buffer.
7326 (smtpmail-process-filter): Update the process marker so that the
7327 "broken by peer" status message is inserted in the right place.
7329 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7332 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7333 bibtex-completion-at-point-function.
7334 (bibtex-completion-at-point-function): Use them.
7336 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7338 * mpc.el (mpc-constraints-tag-lookup): New function.
7339 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7340 also to browser "album|playlist".
7342 2011-09-14 Juri Linkov <juri@jurta.org>
7344 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7345 (isearch-edit-string): Use length of `isearch-string' when
7346 `isearch-fail-pos' returns nil.
7347 (isearch-message): Remove duplicate code and call
7348 `isearch-fail-pos' with arg `t'.
7350 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7352 * replace.el (occur-mode-goto-occurrence): Don't force using other
7355 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7357 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7359 * window.el (display-buffer-window): Remove.
7360 (display-buffer-record-window): Use help-setup window parameter
7361 instead of variable display-buffer-window.
7362 (display-buffer-function, special-display-buffer-names)
7363 (special-display-function): Mention help-setup parameter instead
7364 of display-buffer-window in doc-string.
7365 * help.el (help-window-setup): New argument help-window.
7366 Use help-window-setup parameter instead of display-buffer-window.
7367 Reword some messages.
7368 (with-help-window): Pass window used for displaying the buffer
7369 to help-window-setup. Don't set display-buffer-window.
7371 2011-09-13 Glenn Morris <rgm@gnu.org>
7373 * emacs-lisp/debug.el (debugger-make-xrefs):
7374 Preserve point. (Bug#9462)
7376 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7378 * window.el (window-deletable-p): Use next-frame.
7380 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7382 * window.el (window-auto-delete): Remove.
7383 (window-deletable-p): Remove argument FORCE. Don't deal with
7384 dedication and previous buffers.
7385 (switch-to-prev-buffer): Don't delete window.
7386 (delete-windows-on): Delete a window's frame if and only if the
7387 window is dedicated.
7388 (replace-buffer-in-windows): Delete buffer's window or frame if
7389 and only if window is dedicated.
7390 (quit-window): Handle quit-restore as before last change.
7391 (bury-buffer): Delete window only if window-deletable-p returns t.
7393 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7395 * window.el (window-deletable-p): Never delete the last frame on a
7398 2011-09-13 Glenn Morris <rgm@gnu.org>
7400 * help.el (describe-key-briefly): Copy previous standard-output change.
7402 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7404 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7406 2011-09-13 Glenn Morris <rgm@gnu.org>
7408 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7409 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7411 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7413 * dired-aux.el (dired-mark-read-string): Don't return default
7414 value on empty input (Bug#9361).
7415 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7416 Omit initial minibuffer contents.
7417 (dired-do-chmod): Signal an error on empty input.
7418 (dired-mark-read-string): Don't return default on empty input.
7420 * files.el (file-modes-symbolic-to-number): Doc fix.
7422 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7424 * international/mule-cmds.el (ucs-completions): Remove.
7425 (read-char-by-name): Use complete-with-action instead; add metadata.
7427 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7429 * window.el (display-buffer--action-function-custom-type)
7430 (display-buffer--action-custom-type): New vars.
7431 (display-buffer-alist, display-buffer-default-action)
7432 (display-buffer-overriding-action): Add defcustom types.
7434 * frame.el (delete-other-frames): Doc fix (Bug#276).
7436 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7438 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7440 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7442 Change modes that used same-window-* vars to use switch-to-buffer.
7444 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7445 Use switch-to-buffer.
7447 * cus-edit.el (customize-group, custom-buffer-create)
7448 (customize-browse, custom-buffer-create-other-window):
7449 Use switch-to-buffer or switch-to-buffer-other-window.
7451 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7452 (Info-prev, Info-up, Info-speedbar-goto-node)
7453 (info-display-manual): Use switch-to-buffer.
7454 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7456 * mail/sendmail.el (mail): Use switch-to-buffer.
7457 (mail-recover): Use switch-to-buffer-other-window.
7459 * cmuscheme.el (run-scheme, switch-to-scheme):
7462 * net/rlogin.el (rlogin):
7463 * net/telnet.el (telnet, rsh):
7464 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7466 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7468 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7470 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7472 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7473 so don't mention it (bug#9301).
7474 (dired-sort-toggle-or-edit): Clarify string further.
7476 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7477 match `x', `w32' and `ns', like the manual says (bug#9029).
7479 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7480 (process-kill-buffer-query-function): Mention the buffer name in
7483 * image-mode.el (image-next-line): The line parameter is mandatory
7486 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7487 which can be useful (bug#9301).
7489 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7491 * subr.el (match-string): Mention that the current buffer should
7492 be the same as the search was done in (bug#9282).
7494 * facemenu.el: Disable the remove-* commands if the mark isn't
7497 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7499 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7501 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7503 * replace.el (occur-mode-goto-occurrence)
7504 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7507 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7510 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7511 special-display and same-window variables.
7512 (mail-other-window): Use switch-to-buffer-other-window.
7513 (mail-other-frame): USe switch-to-buffer-other-frame.
7515 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7516 Use display-buffer-other-frame.
7517 (gdb-display-gdb-buffer): Use pop-to-buffer.
7519 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7521 * progmodes/python.el: Don't set same-window-buffer-names.
7523 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7525 * window.el (display-buffer-alist): Add *Python*.
7527 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7529 * window.el (display-buffer-alist): Add entry for buffers
7530 previously handled same-window-*.
7531 (display-buffer-alist, display-buffer-default-action)
7532 (display-buffer-overriding-action): Mark as risky.
7533 (display-buffer-alist): Document action function changes.
7534 (display-buffer--same-window-action)
7535 (display-buffer--other-frame-action): New variables.
7536 (switch-to-buffer, display-buffer-other-frame): Use them.
7537 (display-buffer): Rename reuse-frame entry to reusable-frames.
7538 (display-buffer-reuse-selected-window): Function deleted.
7539 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7540 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7541 (display-buffer-special): New function.
7542 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7543 display-buffer-reuse-or-pop-window. Split off special-display
7544 part into display-buffer-special.
7545 (display-buffer-use-some-window): Don't perform any special
7546 pop-up-frames handling.
7547 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7548 (display-buffer--maybe-same-window): Rename from
7549 display-buffer-maybe-same-window.
7551 * info.el: Don't set same-window-regexps.
7552 (info-setup): New function.
7553 (info-other-window, info): Call it.
7555 * cus-edit.el: Don't set same-window-regexps.
7556 (customize-group): New argument.
7557 (customize-group-other-window): Use it.
7558 (customize-face, customize-face-other-window): Likewise.
7559 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7563 * progmodes/gud.el: Don't set same-window-regexps.
7569 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7571 2011-09-10 Juri Linkov <juri@jurta.org>
7573 * isearch.el (isearch-edit-string): Remove obsolete mention of
7574 `C-w' (`isearch-yank-word-or-char') from docstring.
7575 (isearch-query-replace): Fix typo in docstring (bug#9466).
7577 2011-09-10 Juri Linkov <juri@jurta.org>
7579 * paren.el (show-paren-function): Don't show escaped parens.
7580 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7582 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7584 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7585 (mm-default-file-encoding): Remove autoload forms, they are
7586 replaced with autoload cookies in mml.el and mm-encode.el.
7587 (mail-add-attachment): New command.
7588 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7589 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7591 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7593 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7595 * simple.el (count-words-region): Use buffer if there's no region
7598 2011-09-09 Juri Linkov <juri@jurta.org>
7600 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7601 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7602 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7604 2011-09-09 Alan Mackenzie <acm@muc.de>
7606 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7607 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7609 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7611 Fix for Savannah bug#9392.
7612 * simple.el (mail-encode-mml): New defvar.
7614 * mail/rmail.el (mail-encode-mml): Add a defvar.
7615 (rmail-enable-mime-composing): Default to t.
7616 (rmail-forward): Use MIME method of forwarding only if both
7617 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7618 Set mail-encode-mml non-nil if the MIME method was used.
7620 * mail/sendmail.el (mml-to-mime): Add autoload form.
7621 (mail-encode-mml): Add a defvar.
7622 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7624 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7625 message through mml-to-mime, and reset mail-encode-mml to nil.
7627 2011-09-09 Glenn Morris <rgm@gnu.org>
7629 * woman.el (woman-if-body): When processing an .el block,
7630 do not delete the next .el block as well. (Bug#9447)
7631 (woman-special-characters): Add oq, cq, and hy characters.
7633 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7635 * window.el (window-deletable-p): Make sure window is live before
7636 invoking window-prev-buffers.
7638 2011-09-08 Leo Liu <sdl.web@gmail.com>
7640 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7642 2011-09-08 Juri Linkov <juri@jurta.org>
7644 * progmodes/compile.el (compilation-environment): Make it
7645 a defcustom (bug#8340).
7647 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7649 * window.el (frame-auto-delete): Rename to window-auto-delete.
7650 Make it control auto-deletion of windows and/or frames.
7651 (window-deletable-p): New argument FORCE. Rewrite conditions
7652 for deleting window/frame. (Bug#9419)
7653 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7654 Rewrite handling of case when window/frame can be deleted.
7655 (delete-windows-on): Call window-deletable-p with new FORCE
7656 argument t. (Bug#9456)
7658 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7660 * help-mode.el (help-mode): Restore autoload.
7662 2011-09-07 Juri Linkov <juri@jurta.org>
7664 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7665 `compilation-environment'. Set buffer-local
7666 `compilation-environment' to `thisenv' later after (funcall mode).
7669 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7670 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7671 instead of replacing its value. (Bug#8340)
7673 2011-09-07 Juri Linkov <juri@jurta.org>
7675 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7676 based on text properties put by `grep-filter' instead of matching
7678 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7679 to the value of `grep-error-screen-columns' (bug#9438).
7681 2011-09-07 Juri Linkov <juri@jurta.org>
7683 * simple.el (next-error-highlight, next-error-highlight-no-select):
7686 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7688 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7689 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7691 2011-09-07 Leo Liu <sdl.web@gmail.com>
7693 * net/rcirc.el (rcirc-mode): Conditionally initialize
7696 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * emacs-lisp/find-func.el (find-function-C-source): Only set
7699 find-function-C-source-directory after checking that we found a source
7700 file there (bug#9440).
7702 2011-09-06 Alan Mackenzie <acm@muc.de>
7704 * isearch.el (isearch-other-meta-char): Wherever a key list is
7705 unread, "unread" the prefix arg, too. This fixes bug #8901.
7707 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7709 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7711 2011-09-05 Juri Linkov <juri@jurta.org>
7713 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7715 2011-09-05 Juri Linkov <juri@jurta.org>
7717 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7718 keeping point where processing of grep matches begins, and
7719 continue to delete remaining escape sequences from the same point.
7720 (grep-filter): Make leading zero optional in "0?1;31m" because
7721 git-grep emits "\033[1;31m" escape sequences unlike expected
7722 "\033[01;31m" as GNU Grep does (bug#9408).
7723 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7725 2011-09-05 Juri Linkov <juri@jurta.org>
7727 * subr.el (y-or-n-p): Capitalize "yes".
7729 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7731 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7732 `tramp-cache-unload-hook' where appropriate.
7733 (tramp-methods): Rename `tramp-remote-sh' to
7734 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7735 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7737 * net/tramp-sh.el (top): Don't require 'shell.
7738 (tramp-methods): Add `tramp-remote-shell' and
7739 `tramp-remote-shell-args' entries.
7740 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7741 (tramp-sh-handle-shell-command): Remove.
7742 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7743 Use `tramp-remote-shell'.
7745 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7747 * mail/sendmail.el (sendmail-query-once-function): Delete.
7748 (sendmail-query-once): Save directly to send-mail-function.
7749 Update message-send-mail-function too.
7751 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7753 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7755 * progmodes/python.el (python-mode-map): Use correct function to
7756 start python interpreter from menu-bar (as reported by Geert
7758 (inferior-python-mode-map): Fix typo.
7759 (python-shell-map): Remove.
7761 2011-09-03 Deniz Dogan <deniz@dogan.se>
7763 * net/rcirc.el (rcirc-print): Simplify code for
7764 rcirc-scroll-show-maximum-output. There is no need to walk
7765 through all windows to find the right one.
7767 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7769 * help.el (help-return-method): Doc fix.
7771 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7773 * window.el (window-deletable-p): Don't return a non-nil value
7774 when there's a buffer that was shown in the window before.
7776 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7777 Set window's previous buffers to nil.
7779 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7781 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7782 newline before and after the tag line, so it doesn't interfere
7783 with determining the paragraph direction of bidirectional text.
7785 2011-09-03 Leo Liu <sdl.web@gmail.com>
7787 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7789 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7791 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7792 (pop-to-buffer): Change interactive spec. Pass second argument
7793 directly to display-buffer.
7794 (display-buffer): Fix interactive spec. Use functionp to
7795 distinguish between a function and a list of functions.
7797 * abbrev.el (edit-abbrevs):
7798 * arc-mode.el (archive-extract):
7799 * autoinsert.el (auto-insert):
7800 * bookmark.el (bookmark-bmenu-list):
7801 * files.el (find-file):
7802 * view.el (view-buffer):
7803 * progmodes/compile.el (compilation-goto-locus):
7804 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7806 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7808 * window.el (display-buffer-alist): Doc fix.
7809 (display-buffer): Add docstring. Don't treat
7810 display-buffer-default specially.
7811 (display-buffer-reuse-selected-window)
7812 (display-buffer-same-window, display-buffer-maybe-same-window)
7813 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7814 (display-buffer-pop-up-window)
7815 (display-buffer-reuse-or-pop-window)
7816 (display-buffer-use-some-window): New functions.
7817 (display-buffer-default-action): Use them.
7818 (display-buffer-default): Delete.
7819 (pop-to-buffer-1): Fix choice of actions.
7821 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7823 * minibuffer.el (completion--insert-strings): Don't get confused by
7824 completion entries that end with an LF char.
7826 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7828 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7830 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7832 * window.el (display-buffer): Restore interactive spec.
7833 (display-buffer-same-window, display-buffer-other-window):
7835 (pop-to-buffer-1): New function. Use the above.
7836 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7837 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7839 * view.el (view-buffer-other-window, view-buffer-other-frame):
7840 Just use pop-to-buffer.
7842 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7844 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7846 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7848 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7850 2011-08-31 Richard Stallman <rms@gnu.org>
7852 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7853 of the separation of rmail-view-buffer from rmail-buffer.
7854 If you say no to "replace original", the decrypt is in the
7855 view buffer. If you say yes, the decrypt goes into the
7858 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7860 * window.el (display-buffer-window): Rewrite doc-string.
7861 (display-buffer-record-window): New function.
7862 (display-buffer-macro-specifiers)
7863 (display-buffer-even-window-sizes, display-buffer-set-height)
7864 (display-buffer-set-width, display-buffer-in-window)
7865 (display-buffer-reuse-window, display-buffer-split-specifiers)
7866 (display-buffer-side-specifiers, display-buffer-split-window-1)
7867 (display-buffer-split-window, display-buffer-split-atom-window)
7868 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7869 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7870 (display-buffer-other-window-means-other-frame)
7871 (display-buffer-normalize-special)
7872 (display-buffer-normalize-default)
7873 (display-buffer-normalize-argument)
7874 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7875 (display-buffer-normalize-specifiers, display-buffer-frame)
7876 (display-buffer-same-window, display-buffer-same-frame)
7877 (display-buffer-other-window)
7878 (display-buffer-same-frame-other-window)
7879 (display-buffer-other-frame, pop-to-buffer-same-window)
7880 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7881 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7882 (switch-to-buffer-same-frame)
7883 (switch-to-buffer-other-window-same-frame)
7884 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7885 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7886 (display-buffer-alist-set): Remove.
7887 (display-buffer-function, special-display-buffer-names)
7888 (special-display-regexps, special-display-function):
7889 In doc-string refer to display-buffer-window and quit-restore
7891 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7892 (special-display-frame-alist, special-display-popup-frame)
7893 (same-window-buffer-names, same-window-regexps, same-window-p)
7894 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7895 (split-window-preferred-function, split-height-threshold)
7896 (split-width-threshold, window-splittable-p)
7897 (split-window-sensibly, window--try-to-split-window)
7898 (window--frame-usable-p, even-window-heights)
7899 (window--even-window-heights, window--display-buffer-1)
7900 (window--display-buffer-2, display-buffer-other-frame):
7901 Restore old Emacs 23 code, order and doc-strings where applicable.
7902 (display-buffer-default, display-buffer-assq-regexp): New functions.
7903 (display-buffer-alist): Rewrite doc-string.
7904 (display-buffer-default-action)
7905 (display-buffer-overriding-action): New variables.
7906 (display-buffer, switch-to-buffer): Rewrite.
7907 (pop-to-buffer): Restore Emacs 23 behavior but use
7908 window-normalize-buffer-to-display.
7909 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7910 Restore Emacs 23 behavior but use
7911 window-normalize-buffer-to-switch-to.
7912 (pop-to-buffer-same-window): Rewrite.
7913 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7914 Rewrite using Emacs 23 options.
7916 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7918 * net/tramp.el (tramp-root-regexp): Remove.
7919 (tramp-completion-file-name-regexp-unified)
7920 (tramp-completion-file-name-regexp-separate)
7921 (tramp-completion-file-name-regexp-url): Don't use leading volume
7922 letter on win32 systems. (Bug#5303, Bug#9311)
7923 (tramp-drop-volume-letter): Simplify definition.
7924 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7926 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7928 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7931 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7933 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7935 2011-08-29 Juri Linkov <juri@jurta.org>
7937 * isearch.el (isearch-done): Don't display message "Mark saved"
7938 when arg `edit' is non-nil to prevent its flicker in the echo area.
7940 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7942 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7943 obsolete packages for deletion.
7945 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7947 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7948 (help-mode): Derive help-mode from special-mode. Don't invoke
7949 view-mode from help-mode.
7950 (help-xref-override-view-map): Remove.
7951 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7952 view-mode is not used anymore.
7954 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7956 * server.el (server-port): Doc fix.
7958 * cus-theme.el (custom-theme-choose-mode): Inherit from
7959 special-mode (Bug#9124).
7960 (custom-theme-choose-mode-map): Add special-mode to parent.
7962 2011-08-28 Alan Mackenzie <acm@muc.de>
7964 * progmodes/cc-fonts.el
7965 (c-make-font-lock-BO-decl-search-function): New function.
7966 (c-basic-matchers-after - "Fontify the clauses after various
7967 keywords"): Extract the three keyword lists for the 3 erroneous
7968 constructs from the list of four, and use the new function above
7969 in place of an old one.
7971 2011-08-28 Deniz Dogan <deniz@dogan.se>
7973 * net/rcirc.el (rcirc-insert-prev-input)
7974 (rcirc-insert-next-input): Remove unused argument.
7976 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7980 2011-08-27 Alan Mackenzie <acm@muc.de>
7982 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7983 handle function pointer parameters properly.
7985 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7987 * window.el (display-buffer-reuse-window): Fix case where
7988 selected window was reused with non-nil OTHER-WINDOW argument.
7991 2011-08-27 Deniz Dogan <deniz@dogan.se>
7993 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7994 oftc's NickServ messages.
7996 2011-08-27 Glenn Morris <rgm@gnu.org>
7998 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8000 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8002 * emacs-lisp/package.el (package-install): Call package-initialize
8003 if called interactively.
8005 2011-08-26 Leo Liu <sdl.web@gmail.com>
8007 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8009 2011-08-25 Juri Linkov <juri@jurta.org>
8011 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8012 `search-whitespace-regexp' (bug#9364).
8014 2011-08-25 Juri Linkov <juri@jurta.org>
8016 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8017 `regexp-search-ring' to their global values to protect from
8018 updating by `read-from-minibuffer' (bug#9185).
8020 2011-08-25 Juri Linkov <juri@jurta.org>
8022 * textmodes/ispell.el (ispell-command-loop): Add newline
8023 at the end of the "Use option `i'..." line.
8025 2011-08-25 Juri Linkov <juri@jurta.org>
8027 * battery.el (display-battery-mode): If `battery-status-function'
8028 or `battery-mode-line-format' is nil, display the message and set
8029 `display-battery-mode' to nil (bug#9363).
8031 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8033 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8034 bidi-string-mark-left-to-right; they are unnecessary now.
8036 2011-08-25 Deniz Dogan <deniz@dogan.se>
8038 * net/quickurl.el: Documentation typo fixes.
8040 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8042 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8044 2011-08-25 Glenn Morris <rgm@gnu.org>
8046 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8048 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8049 (smtpmail-via-smtp): Handle nil response from smtp.
8051 2011-08-24 Juri Linkov <juri@jurta.org>
8053 * proced.el (proced-marked): Inherit from `error' instead of
8054 `font-lock-warning-face'.
8056 * ibuffer.el (ibuffer-marked-face): Change default face from
8057 `font-lock-warning-face' to `warning'.
8058 (ibuffer-deletion-face): Change default face from
8059 `font-lock-type-face' to `error'.
8061 * battery.el (battery-update): Use the face `error' instead of
8062 `font-lock-warning-face' (bug#6117).
8064 2011-08-24 Juri Linkov <juri@jurta.org>
8066 * faces.el (success): Change face color from "Green3" to
8067 "ForestGreen" on light background (bug#9353).
8069 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8071 * window.el (quit-window): Rename from quit-restore-window.
8072 Use same arglist as old quit-window.
8073 (frame-auto-delete): Doc fix.
8075 * view.el (view-mode-exit): Use quit-window.
8077 2011-08-24 Juri Linkov <juri@jurta.org>
8079 * isearch.el (isearch-ring-adjust1): Start visiting previous
8080 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8081 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8082 for empty search string (when the last search string is reused
8083 automatically) to adjust the isearch ring to the last element and
8084 prepare the correct index for further M-p commands (bug#9185).
8086 2011-08-24 Kenichi Handa <handa@m17n.org>
8088 * international/ucs-normalize.el: If decomposition property of
8089 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8091 (nfd, nfkd): Likewise.
8093 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8096 from process filters aren't reliably transmitted to the surrounding
8097 accept-process-output.
8098 (mpc-proc-check): New function.
8099 (mpc-proc-sync): Use it (bug#8293)
8101 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8103 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8104 Add compatibility functions (bug#9313).
8106 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8108 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8110 * international/uni-bidi.el: Regenerate.
8112 2011-08-23 Kenichi Handa <handa@m17n.org>
8114 * international/charprop.el:
8115 * international/uni-bidi.el:
8116 * international/uni-category.el:
8117 * international/uni-combining.el:
8118 * international/uni-comment.el:
8119 * international/uni-decimal.el:
8120 * international/uni-decomposition.el:
8121 * international/uni-digit.el:
8122 * international/uni-lowercase.el:
8123 * international/uni-mirrored.el:
8124 * international/uni-name.el:
8125 * international/uni-numeric.el:
8126 * international/uni-old-name.el:
8127 * international/uni-titlecase.el:
8128 * international/uni-uppercase.el: Regenerate.
8130 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8132 * help.el (help-window-setup): Fix message displayed when other
8133 window is reused. (Bug#9341)
8135 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8138 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8140 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8142 * shell.el (shell-parse-pcomplete-arguments): New function.
8143 (shell-completion-vars): Use it instead (bug#9160).
8145 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8147 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8148 strings and comments (bug#9333).
8150 * emacs-lisp/debug.el (debug-arglist): New function.
8151 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8152 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8154 2011-08-22 Juri Linkov <juri@jurta.org>
8156 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8157 Revert regexp that highlights output switches to its old
8158 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8160 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8161 to check for empty output (bug#9226).
8163 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8165 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8166 symbol-constituent as the default, as that stops font-lock from
8167 working properly (Bug#8843).
8169 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8171 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8172 `coding-system-for-*' around the process open call to avoid
8173 auth-source side effects.
8174 (smtpmail-try-auth-methods): Expand the secret password.
8175 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8178 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8180 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8182 * emacs-lisp/find-func.el (find-function-noselect): New arg
8185 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8186 signal an error for built-in functions (Bug#6664).
8188 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8190 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8191 (smtpmail-try-auth-methods): Use it.
8193 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8195 * font-lock.el (font-lock-fontify-region)
8196 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8197 (font-lock-default-unfontify-buffer)
8198 (font-lock-default-fontify-region)
8199 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8201 * progmodes/compile.el (compilation-error-properties):
8202 Fix confusion between file struct and message struct (Bug#9319).
8203 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8206 * net/browse-url.el (browse-url-firefox): Don't call
8207 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8209 2011-08-20 Glenn Morris <rgm@gnu.org>
8211 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8213 * tutorial.el (tutorial--default-keys): Update some default bindings.
8215 * files.el (hack-local-variables): Fully ignore case for "mode:".
8217 2011-08-20 Alan Mackenzie <acm@muc.de>
8219 Resolve invalid use of a regexp in regexp-opt.
8221 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8222 detection for a java annotation.
8224 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8225 detection for a java annotation.
8227 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8229 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8231 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8233 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8236 2011-08-20 Alan Mackenzie <acm@muc.de>
8238 Fontify CPP expressions correctly when starting in the middle of
8239 such a construct. Mainly for when jit-lock etc. starts a chunk
8242 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8244 (c-make-font-lock-search-form): New function, extracted from
8245 c-make-font-lock-search-function.
8246 (c-make-font-lock-search-function): Use the above function.
8247 (c-make-font-lock-context-search-function): New function.
8248 (c-cpp-matchers): Enhance the preprocessor expression case with
8250 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8251 which takes an expression.
8253 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8255 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8257 * window.el (display-buffer-reuse-window)
8258 (display-buffer-pop-up-window): Don't reuse or split a side
8261 2011-08-19 Glenn Morris <rgm@gnu.org>
8263 * files.el (hack-local-variables-prop-line, hack-local-variables):
8264 Downcase "Mode:". (Bug#9331)
8266 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8268 * international/characters.el: Add L and R categories.
8270 * subr.el (bidi-string-mark-left-to-right): Rename from
8271 string-mark-left-to-right. Use category search.
8273 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8275 2011-08-18 Juri Linkov <juri@jurta.org>
8277 * faces.el (error, warning, success): New faces with definitions
8278 copied from old default values of `font-lock-warning-face',
8279 `compilation-warning', `compilation-info' (bug#6117).
8281 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8283 * progmodes/compile.el (compilation-error): Inherit from `error'.
8284 (compilation-warning): Inherit from `warning'.
8285 (compilation-info): Inherit from `success'.
8287 * dired.el (dired-marked): Inherit from `warning'.
8288 (dired-flagged): Inherit from `error'.
8290 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8292 * mail/smtpmail.el (auth-source): Require to avoid problems with
8293 binding variables (bug#9298). Also clean up some unused
8296 * net/network-stream.el (network-stream-open-starttls):
8297 Support using starttls.el without using gnutls-cli.
8299 2011-08-17 Juri Linkov <juri@jurta.org>
8301 * progmodes/grep.el (rgrep): Handle the case when
8302 `grep-find-command' is a cons cell (bug#9278).
8304 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8306 * window.el (display-buffer-pop-up-frame): Run frame creation
8307 function with BUFFER current (as special-display-popup-frame
8308 does). Reported by Drew Adams.
8310 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8312 * epa-mail.el: Simplify GnuPG group expansion using
8314 (epa-mail-group-alist, epa-mail-group-modtime)
8315 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8316 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8317 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8320 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8322 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8324 2011-08-16 Alan Mackenzie <acm@muc.de>
8326 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8327 Correct, to avoid the inside of macros.
8329 2011-08-16 Richard Stallman <rms@gnu.org>
8331 * epa-mail.el: Handle GnuPG group definitions.
8332 (epa-mail-group-alist, epa-mail-group-modtime)
8333 (epa-mail-gnupg-conf-file): New variables.
8334 (epa-mail-parse-groups, epa-mail-sync-groups)
8335 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8336 (epa-mail-expand-recipients): New functions.
8337 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8339 * mail/rmail.el (rmail-epa-decrypt): New command.
8341 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8342 Don't bind buffer-read-only, just inhibit-read-only.
8343 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8344 (epa-decrypt-armor-in-region): Make error message clearer.
8346 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8348 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8349 and "a2b" to "ab" for `prefix'.
8351 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8353 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8355 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8356 Fourquet (Bug#8804).
8358 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8360 * startup.el (argi): Declare as global variable (bug#9275).
8362 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8364 * subr.el (string-mark-left-to-right): Search the entire string
8365 for RTL script, not just the terminating character. Doc fix.
8367 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8369 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8371 (js--regexp-literal, js-syntax-propertize-function): Remove.
8372 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8373 (js-mode-map): Don't rebind electric keys.
8374 (js-insert-and-indent): Remove.
8375 (js-mode): Setup electric-layout and electric-indent instead.
8377 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8379 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8381 * epa.el (epa-progress-callback-function): Fix the logic of
8382 displaying progress.
8383 * epa-file.el (epa-file-insert-file-contents): Make progress
8384 display more user-friendly.
8385 (epa-file-write-region): Ditto.
8387 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8389 * subr.el (string-mark-left-to-right): New function.
8391 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8392 Use string-mark-left-to-right.
8393 (list-buffers-noselect): Caller changed.
8395 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8396 Use string-mark-left-to-right.
8397 (tabulated-list-print): Recenter after moving point.
8399 2011-08-10 Juri Linkov <juri@jurta.org>
8401 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8402 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8403 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8405 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8407 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8410 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8412 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8413 character. (Bug#6594)
8415 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8417 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8418 (image-dired--with-db-file): New macro.
8419 (image-dired-write-tags, image-dired-remove-tag)
8420 (image-dired-create-gallery-lists, image-dired-write-comments)
8421 (image-dired-get-comment, image-dired-mark-tagged-files)
8422 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8423 (image-dired-gallery-generate): Use insert-file-contents.
8425 * time.el (display-time-world-list, display-time-world-display):
8426 * time-stamp.el (time-stamp-string):
8427 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8428 set-time-zone-rule (Bug#7337).
8430 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8432 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8433 (epg-error-to-string, epg-errors-to-string): New function.
8434 (epg-wait-for-completion): Reverse errors list.
8435 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8436 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8437 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8438 (epg-sign-keys, epg-generate-key-from-file)
8439 (epg-generate-key-from-string): Format errors by using
8440 epg-errors-to-string (bug#9255).
8441 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8443 2011-08-07 Juri Linkov <juri@jurta.org>
8445 * faces.el (list-faces-display): Remove extra angle bracket
8446 from `help-mode-map'.
8448 * info.el (Info-history-toc-nodes): Doc fix.
8450 * longlines.el (longlines-mode): Doc fix.
8452 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8455 of statements and in a few more cases (bug#9183).
8457 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8459 (cl-transform-lambda): Use them (bug#9239).
8461 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8463 * window.el (display-buffer-same-window)
8464 (display-buffer-same-frame, display-buffer-other-window)
8465 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8466 (pop-to-buffer-other-window)
8467 (pop-to-buffer-same-frame-other-window)
8468 (pop-to-buffer-other-frame): Make them defuns.
8469 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8471 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8473 * subr.el (make-composed-keymap): Move from C. Change calling
8474 convention, and improve docstring to bring attention to a subtle point.
8475 * minibuffer.el (completing-read-default): Adjust accordingly.
8477 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8479 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8480 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8482 * net/trampver.el: Update release number.
8484 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8486 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8489 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8491 * mail/sendmail.el (sendmail-query-once): Restore the current
8492 buffer after querying (bug#9074).
8494 * dired.el (dired-flagged): Use different faces for marked and
8495 flagged files (bug#6117).
8497 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8500 * ido.el (ido-mode): Switch off the message if called
8503 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8504 before 587, since it appears that that's more likely to work for
8507 * cus-edit.el (custom-file): When running under emacs -q, always
8508 refuse to save the customizations, even if the .emacs file doesn't
8511 * info.el: Remove the `Info-beginning-of-buffer' function
8514 * net/network-stream.el (network-stream-open-starttls):
8515 Use `starttls-available-p' to see whether starttls.el can be used.
8517 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8519 * window.el (display-buffer-in-window): Don't set dedicated status
8520 of window here (Bug#9215).
8521 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8522 (display-buffer-pop-up-side-window)
8523 (display-buffer-in-side-window): Set dedicated status of window here.
8525 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8528 before binding generated-autoload-file.
8530 2011-08-01 Deniz Dogan <deniz@dogan.se>
8532 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8534 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8536 Sync with Tramp 2.2.2.
8538 * net/trampver.el: Update release number.
8540 2011-07-30 Juri Linkov <juri@jurta.org>
8542 * dired-aux.el (dired-touch-initial): Remove function.
8543 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8544 current time, and `default' to the last modification time of the
8545 current marked file (bug#6887).
8547 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8549 * simple.el (goto-line): Use string-to-number to provide a
8550 numeric argument to read-number (bug#9163).
8552 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8554 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8555 connection process, it could be nil.
8557 2011-07-27 Leo Liu <sdl.web@gmail.com>
8559 Simplify url handling in rcirc-mode.
8561 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8562 (rcirc-browse-url-at-mouse): Remove.
8563 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8565 2011-07-26 Alan Mackenzie <acm@muc.de>
8567 Fontify bitfield declarations properly.
8569 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8570 (c-symbol-chars): Now exported as a lang variable.
8571 (c-not-primitive-type-keywords): New lang variable.
8573 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8574 QT keyword "more" to prevent "more slots: ...." being spuriously
8575 parsed as a bitfield declaration.
8577 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8578 Refactor and enhance to handle bitfield declarations.
8579 (c-punctuation-in): New function.
8580 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8581 declarations properly.
8583 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8585 * calendar/icalendar.el (icalendar--all-events): Take care of
8586 multiple vcalendars in a single file.
8587 (icalendar--convert-float-to-ical): Checkdoc fixes.
8589 2011-07-25 Deniz Dogan <deniz@dogan.se>
8591 * image.el (insert-image): Clarifying docstring.
8593 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8595 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8596 `tramp-send-command-and-check' if there is no error.
8597 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8599 2011-07-22 Alan Mackenzie <acm@muc.de>
8601 Prevent cc-langs.elc being loaded at run time.
8603 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8606 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8607 "(require 'cc-langs)". Quote a form so it will evaluate at
8608 (cc-mode's) compilation time.
8610 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8612 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8615 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8617 * window.el (display-buffer-pop-up-window)
8618 (display-buffer-pop-up-side-window)
8619 (display-buffer-in-side-window): Call display-buffer-set-height
8620 and display-buffer-set-width after setting the new window's
8621 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8623 2011-07-20 Sam Steingold <sds@gnu.org>
8625 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8626 (etags-tags-included-tables): Call `convert-standard-filename' on
8627 the file names contained in TAGS so that windows Emacs can handle
8628 TAGS files created by cygwin ctags.
8630 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8633 which apparently didn't work.
8635 2011-07-19 Roland Winkler <winkler@gnu.org>
8637 * proced.el (proced-send-signal): For *Marked Processes* buffer
8638 put point at beginning of buffer.
8640 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8642 * proced.el (proced-format): Make header lines align with the text
8645 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8647 * view.el (view-buffer): Allow running in `special' modes if we're
8648 visiting a file (bug#8615).
8650 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8652 * window.el (display-buffer-alist-of-strings-p)
8653 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8655 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8658 2011-07-18 Alan Mackenzie <acm@muc.de>
8660 Fontify declarators properly when, e.g., a jit-lock chunk begins
8661 inside a declaration.
8663 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8665 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8667 (c-complex-decl-matchers): Insert reference to
8668 c-font-lock-enclosing-decls.
8670 * progmodes/cc-engine.el (c-backward-single-comment):
8671 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8672 to nil around calls to (forward-comment -1).
8674 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8676 * image.el (put-image): Doc typo fix.
8678 * progmodes/etags.el (tags-search): Doc typo fix.
8680 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8681 password if we get errors 550 to 554.
8683 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8685 * net/gnutls.el (gnutls-log-level): Remove.
8687 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8688 indentation character (bug#6380).
8690 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8692 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8693 to clarify what the problem is (bug#4291).
8695 * simple.el (current-kill): Clarify what
8696 `interprogram-paste-function' does (bug#7500).
8697 (auto-fill-mode): Document `auto-fill-function' in relation to
8698 `auto-fill-mode' (bug#2470).
8700 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8702 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8703 method if slot is read-only (bug#9035).
8705 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8707 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8708 * window.el (pop-to-buffer): Select window used even if it was
8709 selected before, see discussion of (Bug#8615), (Bug#6954).
8710 Pass argument NORECORD on to select-frame-set-input-focus.
8712 2011-07-15 Glenn Morris <rgm@gnu.org>
8714 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8717 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8719 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8720 (gnutls-negotiate): Use it.
8722 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8724 * net/gnutls.el (gnutls-negotiate):
8725 Upcase `gnutls-algorithm-priority'.
8727 2011-07-15 Glenn Morris <rgm@gnu.org>
8729 * jka-compr.el (jka-compr-verbose): Move from here...
8730 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8731 Add missing :version tag.
8732 * info.el: No need to require jka-compr when compiling.
8734 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8737 (gnutls-negotiate): Use it.
8739 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8741 * info.el (Info-beginning-of-buffer): New command.
8742 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8743 announcing `b' as the key (bug#8325).
8744 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8746 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8748 * international/mule-cmds.el
8749 (describe-specified-language-support): Make the error message
8752 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8754 * isearch.el (isearch-barrier): Add a doc string, since it's
8755 mentioned in a function doc string (bug#8678).
8757 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8759 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8760 buffer argument (Bug#9083) and self-identifying label argument.
8762 2011-07-15 Glenn Morris <rgm@gnu.org>
8764 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8766 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8768 * man.el (Man-fontify-manpage): Fix message when formatting the
8769 man page (bug#7929).
8771 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8773 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8774 argument LRM; if non-nil, append an invisible LRM character to the
8776 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8777 last argument non-nil, when formatting buffer names.
8778 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8779 paragraph direction.
8781 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8783 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8784 the man page name (bug#7929).
8786 * image.el (put-image): Mention the `put-image' overlay property
8789 * scroll-bar.el (set-scroll-bar-mode): Mention that
8790 `scroll-bar-mode' lists the values (bug#7772).
8792 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8795 * rect.el (apply-on-rectangle): Return the point after the last
8797 (string-rectangle): Go to the point after the last operation
8800 * printing.el (pr-toggle-region): Clarify the documentation
8801 slightly (bug#7493).
8803 * time.el (display-time-update):
8804 Allow `display-time-mail-function' to return nil (bug#7158).
8805 Fix suggested by Detlev Zundel.
8807 * vc/diff.el (diff): Clarify the order the file names are read
8810 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8811 the doc string (bug#7015).
8813 * font-lock.el (font-lock-maximum-decoration): Mention what
8814 numeric levels mean (bug#6935).
8816 * startup.el (initial-buffer-choice): Don't mention the `none'
8817 selection, which is against policy.
8819 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8821 * window.el (display-buffer-normalize-special):
8822 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8824 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8826 * subr.el (version<, version<=, version=): Mention "-CVS" and
8827 "-12345" alpha version numbers.
8829 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8831 * bindings.el: Add advertised binding for set-mark-command
8834 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8836 * bindings.el (mode-line-other-buffer):
8837 * bookmark.el (bookmark-bmenu-2-window):
8838 * bs.el (bs-cycle-next, bs-cycle-previous):
8839 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8842 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8845 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8847 * follow.el (follow-debug-message, follow-redisplay):
8848 * jka-cmpr-hook.el (with-auto-compression-mode):
8849 Fix typos in docstrings.
8851 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8853 * subr.el (with-silent-modifications): Clarify somewhat what the
8854 macro inhibits (bug#6525).
8856 * simple.el (eval-expression): Note what it does if called
8857 interactively (bug#6495).
8859 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8861 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8862 Use pop-to-buffer buffer-or-name if it is nil.
8864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8865 Remove switch-to-buffer.
8867 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8869 * files.el (make-directory): Clarify that an error will be raised
8870 if there's an error (bug#6397).
8872 * startup.el (initial-buffer-choice): Add `none' as a choice
8875 * subr.el (add-hook): Clarify section about buffer-local hooks
8878 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8880 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8882 * tabify.el (untabify): Preserve the current column so that point
8883 doesn't move (bug#6032).
8885 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8887 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8888 Rewrite to avoid awkward possessive "s" (bug#5986).
8890 2011-07-13 Glenn Morris <rgm@gnu.org>
8892 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8893 (dired-insert-directory): Give a message the first time
8894 if ls is found not to support --dired.
8896 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8898 * simple.el (toggle-truncate-lines): Clarify what is toggled
8899 (bug#5580). Text by Drew Adams.
8901 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8903 * simple.el (blink-matching-open): Make the error message from the
8904 last change less verbose.
8906 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8908 * font-lock.el (font-lock-comment-face): Use the high contrast
8909 "yellow" color for font-lock-comment-face on low color terminals
8910 using a dark background color (bug#4221).
8912 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8914 * dired.el (dired-insert-set-properties): Make the doc string
8915 reflect what it does now (bug#5325).
8917 * simple.el (blink-matching-open): Say that we were unable to find
8918 the match within the limit, if we're limited (bug#5122).
8920 * international/mule-cmds.el (prefer-coding-system): Add an
8923 * progmodes/etags.el (tags-search): Document `file-list-form'
8926 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8928 * net/browse-url.el (browse-url-default-browser)
8929 (browse-url-browser-function): Make the default browser choice a
8930 bit more logical (bug#4300). Also clean up the doc string.
8932 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8934 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8935 binary endings (bug#4440).
8937 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8939 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8940 which can be pretty annoying (bug#8971).
8942 * jka-compr.el (jka-compr-verbose): New variable, and use
8943 throughout (bug#8971).
8945 * info.el (Info-find-file): Fall back on the installation
8946 directory if we can't find the info node anywhere else.
8948 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8950 * vc/vc.el (vc-revert-file):
8951 Don't set file time-stamp in the past. (Bug#5181)
8953 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955 * files.el (after-find-file): Give a better error message when
8956 trying to find a symlink that points to a file that doesn't exist
8959 * progmodes/cc-vars.el: Remove (probably) misleading comment
8962 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8964 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8966 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8968 * mouse-sel.el: Hack restoring functionality, while keeping
8969 compatibility with 2010-07-03 changes to mouse selection.
8970 (mouse-sel-primary-overlay): New var.
8971 (mouse-sel-selection-alist): Use it.
8972 (mouse-sel-mode): Doc fix; remove points that are default features
8975 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8977 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8978 Fix previous fix (bug#2490).
8980 2011-07-12 Roland Winkler <winkler@gnu.org>
8982 * textmodes/bibtex.el (bibtex-initialize):
8983 Use pop-to-buffer-same-window.
8984 (bibtex-search-entries): Fix interactive call.
8986 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8989 Fontise bytecomp Error lines more correctly (bug#2490).
8990 Fix suggested by Johan Bockgård.
8992 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8994 * dired-x.el (dired-guess-default): Use `delete-dups'.
8996 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8998 * dired.el (dired-mark-prompt):
8999 * dired-aux.el (dired-read-shell-command): Doc fix.
9001 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9003 * mail/sendmail.el (sendmail-query-once):
9004 Use `customize-save-variable' unconditionally, now that it works under
9007 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9009 * cus-edit.el (custom-file): Take an optional no-error variable.
9010 (customize-save-variable): Set the variable, and give a warning if
9011 running under "emacs -q".
9013 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9015 * loadhist.el (unload-feature-special-hooks):
9016 Add `auto-coding-functions', `fill-nobreak-predicate' and
9017 `find-directory-functions' (bug#5327).
9019 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9021 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9023 * cus-edit.el (custom-guess-name-alist): -alist variables should
9024 use the `alist' type (bug#3120). Suggested by Drew Adams.
9026 * printing.el: Add documentation to all the `pr-toggle-' commands.
9028 2011-07-11 Leo Liu <sdl.web@gmail.com>
9030 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9031 backends where it makes sense (bug#2623).
9033 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035 * dired-x.el (dired-guess-default): Remove duplicate shell command
9037 (dired-guess-default): Fix grammar in doc string (bug#2028).
9038 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9040 * subr.el (remove-duplicates): New conveniency function.
9042 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9044 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9047 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9049 * window.el (display-buffer-normalize-default): Don't invert
9050 meaning of even-window-heights. Reported by Eli Zaretskii
9053 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9055 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9057 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9059 * window.el (display-buffer): Fix arguments to
9060 display-buffer-reuse-window in last change.
9062 * faces.el (link): Use a less saturated blue on light backgrounds.
9064 * startup.el (fancy-startup-text, fancy-about-text)
9065 (fancy-startup-tail): Use font-lock faces, for background safety.
9067 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9069 * emulation/viper-cmd.el (viper-change-state-to-vi):
9070 Limit triggering of abbrev expansion (Bug#9038).
9072 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9074 * window.el (display-buffer-default-specifiers): Remove.
9075 (display-buffer-macro-specifiers): Remove default specifiers.
9076 (display-buffer-alist): Default to nil.
9077 (display-buffer-reuse-window): New optional argument other-window.
9078 (display-buffer-pop-up-window): Allow splitting internal
9079 windows. Check whether a live window was created.
9080 (display-buffer-other-window-means-other-frame)
9081 (display-buffer-normalize-arguments): Rename to
9082 display-buffer-normalize-argument and rewrite. Set the
9083 other-window specifier.
9084 (display-buffer-normalize-special): New function.
9085 (display-buffer-normalize-options): Rename to
9086 display-buffer-normalize-default and rewrite.
9087 (display-buffer-normalize-options-inhibit): Remove.
9088 (display-buffer-normalize-specifiers): Rewrite.
9089 (display-buffer): Process other-window specifier and call
9090 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9092 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9093 (display-buffer-alist-set): Don't handle 'unset default values.
9094 (display-buffer-in-window, display-buffer-alist-set):
9095 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9096 <tassilo@member.fsf.org>.
9098 2011-07-09 Leo Liu <sdl.web@gmail.com>
9100 * register.el (insert-register): Restore accidental change on
9101 2011-06-26. (Bug#9028)
9103 2011-07-09 Glenn Morris <rgm@gnu.org>
9105 * subr.el (remq): Handle the empty list. (Bug#9024)
9107 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9109 * mail/sendmail.el (send-mail-function): No longer delay custom
9111 * custom.el (custom-initialize-delay): Doc fix.
9113 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9115 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9117 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9119 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9120 human-friendly prompt.
9122 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9125 provided by a particular plugin.
9127 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9129 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9130 save customizations (with "emacs -Q"), just set the variable
9131 instead of erroring out.
9133 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9135 2011-07-08 Juri Linkov <juri@jurta.org>
9137 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9138 (archive-zip-update-case): Use 7z if found by `executable-find'.
9139 The order of searching the available programs is the same as in
9140 `archive-zip-extract' (bug#8968).
9142 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9144 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9145 (menu-bar-options-menu): Tweak descriptions.
9147 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9149 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9150 menu items into verb phrases (bug#1421). Also refill to fit under
9153 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9155 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9156 (Info-read-node-name): Doc fix (Bug#1084).
9158 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9159 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9160 (end-of-sexp, beginning-of-sexp)
9161 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9162 (forward-symbol, forward-same-syntax, word-at-point)
9163 (sentence-at-point): Doc fix (Bug#1144).
9165 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9167 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9168 should cover it (bug#1281).
9170 * cus-edit.el (custom-show): Mark as obsolete.
9172 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9173 negotiation fails, then possibly try again with a non-encrypted
9174 connection (bug#9017).
9176 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9179 2011-07-07 Richard Stallman <rms@gnu.org>
9181 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9182 property, and handle its changed format.
9183 Look for the correct line number.
9184 Use file's line contents (but not past first =) to find
9185 correct line in message.
9187 2011-07-07 Kenichi Handa <handa@m17n.org>
9189 * international/characters.el (build-unicode-category-table):
9191 (unicode-category-table): Set it by unicode-property-table-internal.
9193 * international/mule-cmds.el (char-code-property-alist): Move to
9195 (get-char-code-property): Call unicode-property-table-internal to
9196 load a file. Call get-unicode-property-internal where necessary.
9197 (put-char-code-property): Call unicode-property-table-internal to
9198 load a file. Call put-unicode-property-internal where necessary.
9199 put-unicode-property-internal where necessary.
9200 (char-code-property-description):
9201 Call unicode-property-table-internal to load a file.
9203 * international/charprop.el:
9204 * international/uni-bidi.el:
9205 * international/uni-category.el:
9206 * international/uni-combining.el:
9207 * international/uni-comment.el:
9208 * international/uni-decimal.el:
9209 * international/uni-decomposition.el:
9210 * international/uni-digit.el:
9211 * international/uni-lowercase.el:
9212 * international/uni-mirrored.el:
9213 * international/uni-name.el:
9214 * international/uni-numeric.el:
9215 * international/uni-old-name.el:
9216 * international/uni-titlecase.el:
9217 * international/uni-uppercase.el: Regenerate.
9219 * loadup.el: Load international/charprop.el before
9220 international/characters.
9222 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9224 * window.el (next-buffer, previous-buffer): Signal an error if
9225 called from a minibuffer window.
9227 * bindings.el: Revert 2011-07-04 change.
9229 2011-07-06 Richard Stallman <rms@gnu.org>
9231 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9232 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9233 Treat markers like ints.
9234 (rmail-mime-entity): Doc fix.
9236 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9238 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9239 defcustom again for backwards compatibility.
9241 * simple.el (shell-command-on-region): Fill.
9243 * dired-aux.el (dired-kill-line): Add a doc string.
9245 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9246 to "\\sw\\|\\s_" (bug#358).
9248 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9249 (dired-unmark-backward): Ditto.
9250 (dired-flag-backup-files): Ditto.
9252 * dired-x.el (dired-mark-sexp): Ditto.
9254 2011-07-06 Richard Stallman <rms@gnu.org>
9256 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9257 (rmail-mime-entity): New arg TRUNCATED.
9258 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9260 (rmail-mime-save): Warn if entity is truncated.
9261 (rmail-mime-toggle-hidden): Likewise, for showing.
9262 (rmail-mime-process-multipart): Record when an entity is truncated.
9264 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9265 if ENTITY is a string.
9267 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9269 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9270 of faces when `M-C-x'-ing their definitions (bug#8378).
9271 Also clean up the code slightly.
9273 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9274 because that makes the colors go away.
9276 * mail/sendmail.el (send-mail-function): Change the default to
9277 `sendmail-query-once'.
9278 (sendmail-query-once): Add an autoload cookie.
9280 * net/network-stream.el (network-stream-open-starttls): Try using
9281 a plain connection even if the server offered STARTTLS, and we
9282 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9283 capability. This should make smtpmail.el work in slightly more
9286 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9288 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9290 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9292 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9294 * progmodes/sql.el: Version 3.0
9295 (sql-product-alist): Add product :completion-object,
9296 :completion-column, and :statement attributes.
9297 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9298 (sql-mode-syntax-table): Mark all punctuation.
9299 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9301 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9302 (sql-mode-oracle-font-lock-keywords): Improve.
9303 (sql-oracle-show-reserved-words): New function for development.
9304 (sql-product-font-lock): Simplify for source code buffers.
9305 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9307 (sql-highlight-product): Set product specific syntax table.
9308 (sql-mode-map): Add statement movement functions.
9309 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9311 (sql-statement-regexp, sql-beginning-of-statement)
9312 (sql-end-of-statement, sql-signum): New functions.
9313 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9314 (sql-show-sqli-buffer): Bug fix.
9315 (sql-interactive-mode): Store connection data as buffer local.
9316 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9317 with sql-interactive-mode.
9318 (sql-save-connection): Save buffer local settings.
9319 (sql-connection-menu-filter): Change menu entry name.
9320 (sql-product-interactive): Bug fix.
9321 (sql-preoutput-hold): New variable.
9322 (sql-interactive-remove-continuation-prompt): Bug fixes.
9323 (sql-debug-redirect): New variable.
9324 (sql-str-literal): New function.
9325 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9327 (sql-oracle-save-settings, sql-oracle-restore-settings)
9328 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9329 (sql-completion-object, sql-completion-column)
9330 (sql-completion-sqlbuf): New variables.
9331 (sql-build-completions-1, sql-build-completions)
9332 (sql-try-completion): New functions.
9333 (sql-read-table-name): Use them.
9334 (sql-contains-names): New buffer local variable.
9335 (sql-list-all, sql-list-table): Use it.
9336 (sql-oracle-completion-types): New variable.
9337 (sql-oracle-completion-object, sql-sqlite-completion-object)
9338 (sql-postgres-completion-object): New functions.
9340 2011-07-06 Glenn Morris <rgm@gnu.org>
9342 * window.el (pop-to-buffer): Doc fix.
9344 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9346 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9348 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9350 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9352 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9354 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9356 * button.el (button): Inherit from link face. Suggested by Dan
9359 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * progmodes/gdb-mi.el: Fit in 80 columns.
9362 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9365 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9366 if imenu is simply not configured (bug#8941).
9368 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9370 * allout.el (allout-post-undo-hook): New allout outline-change
9371 event hook to signal undo activity.
9372 (allout-post-command-business): Run allout-post-undo-hook if an
9374 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9375 * allout-widgets.el (allout-widgets-after-undo-function):
9376 Ensure the integrity of the current item's decoration after it has been
9377 in the vicinity of an undo.
9378 (allout-widgets-mode): Include allout-widgets-after-undo-function
9379 on the new allout-post-undo-hook.
9381 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9383 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9384 Let define-derived-mode define it.
9385 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9386 cycles of abbrev-table inheritance (bug#8998).
9388 2011-07-05 Roland Winkler <winkler@gnu.org>
9390 * textmodes/bibtex.el: Add support for biblatex.
9391 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9392 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9393 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9394 (bibtex-entry-alist, bibtex-field-alist): New variables.
9395 (bibtex-entry-field-alist): Obsolete alias for
9396 bibtex-BibTeX-entry-alist.
9397 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9398 (bibtex-set-dialect): New command.
9399 (bibtex-entry-type, bibtex-entry-head)
9400 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9401 Bind via bibtex-set-dialect.
9402 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9403 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9404 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9405 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9406 Define via bibtex-set-dialect.
9407 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9408 Obey bibtex-no-opt-remove-re.
9409 (bibtex-vec-push, bibtex-vec-incr): New functions.
9410 (bibtex-format-entry, bibtex-field-list)
9411 (bibtex-print-help-message, bibtex-validate)
9412 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9414 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * progmodes/compile.el (compilation-goto-locus):
9417 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9418 * bs.el (bs-cycle-next, bs-cycle-previous):
9419 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9420 * bindings.el (mode-line-other-buffer):
9421 * autoinsert.el (auto-insert):
9422 * arc-mode.el (archive-extract):
9423 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9425 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9427 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9428 Fix check of `emacs-lock-unlockable-modes'.
9429 Coerce true values of `emacs-lock--try-unlocking' to t.
9431 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9433 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9434 * emacs-lock.el: New file.
9436 2011-07-05 Julien Danjou <julien@danjou.info>
9438 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9439 than `boundp' to check if face is set.
9441 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9443 * register.el (registerv-make):
9444 * window.el (window-min-height): Fix typos in docstrings.
9446 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9448 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9451 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9453 * server.el (server-execute): Catch quit and call
9454 `server-return-error' to pass the error back to emacsclient and
9455 close the connection (bug#8942).
9457 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9459 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9460 insecure exception for current topic. Also note that auto-saves
9461 are handled differently.
9463 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9464 State variables for tracking auto-save inhibition situation.
9466 (allout-write-contents-hook-handler): Rename from
9467 'allout-write-file-hook-handler', and describe how it depends on
9468 write-contents-functions sensitivity to non-nil value to prevent
9471 (allout-auto-save-hook-handler): Remove. auto-save does not check
9472 this in individual buffers, only in the starting buffer, so this
9473 is not the right way for us to inhibit auto-save in a buffer
9474 according to its condition.
9476 (allout-mode): Use new allout-write-contents-hook-handler, and
9477 only with write-contents-functions. Remove auto-save provisions -
9478 they're implemented elsewhere.
9480 (allout-before-change-handler): If undo is in progress, note that
9481 for attention of allout-post-command-business.
9483 (allout-post-command-business): If the command we're following was
9484 an undo, check for change in the status of encrypted items and
9485 adjust auto-save inhibitions accordingly.
9487 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9488 according to whether there are or aren't any plain-text topics
9491 (allout-inhibit-auto-save-info-for-decryption):
9492 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9493 if there are plain-text topics pending encryption.
9495 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9496 buffer-saved-size and some allout state to not inhibit auto-saves
9497 if there are no longer any plain-text topics pending encryption.
9499 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9500 No longer provide for exemption of the current topic.
9502 2011-07-04 Juri Linkov <juri@jurta.org>
9504 Add 7z operations to delete and save changed members (bug#8968).
9505 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9507 (archive-7z-write-file-member): New function.
9508 (archive-7z-summarize): Fix the number of dashes in the
9511 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9513 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9516 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9518 * bindings.el: Ignore next-buffer and previous-buffer in
9519 minibuffer-local-map.
9521 * font-lock.el (font-lock-builtin-face): Change light background
9522 color to dark slate blue (Bug#6693).
9524 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9526 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9528 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9531 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9532 Add switch-to-buffer.
9534 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9536 * isearch.el (isearch-search-fun-function): Clarify further the
9537 meaning of the function returned.
9539 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9541 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9543 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9544 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9546 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9547 `tramp-default-remote-path' does not exist.
9548 (tramp-send-command-and-read): New optional argument NOERROR.
9549 (tramp-open-connection-setup-interactive-shell)
9550 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9551 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9552 (tramp-process-sentinel): Flush also process' connection property.
9553 (tramp-sh-handle-start-file-process): Do not set process
9554 sentinel. It is done now ...
9555 (tramp-maybe-open-connection): ... here. (Bug#8929)
9557 2011-07-04 MON KEY <monkey@sandpframing.com>
9559 * play/animate.el (animate-string): Doc fixes and allow changing
9560 the buffer name (bug#5417).
9562 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9564 * play/animate.el (animation-buffer-name): Rename from *animate*.
9566 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9568 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9569 This is simpler and helps future-proof the code.
9570 (timer-until): Use time-subtract and float-time.
9571 (timer--time-less-p): Use time-less-p.
9573 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9575 * type-break.el (timep): Use the value of `float-time' to avoid a
9576 byte-compiler warning.
9578 * server.el (server-eval-and-print): Return any result, even nil.
9580 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9582 * type-break.el: Accept time formats that the builtins accept.
9583 (timep, type-break-time-difference): Accept any format that
9584 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9585 This is simpler and helps future-proof the code.
9586 (type-break-time-difference): Round rather than ignoring
9587 subseconds components.
9589 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9591 * info.el (Info-apropos-matches): Make non-interactive, since it
9592 doesn't seem to do anything useful as a command (bug#8829).
9594 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9596 * frame.el (frame-background-mode, frame-set-background-mode):
9598 (frame-default-terminal-background): New function.
9600 * custom.el (custom-push-theme): Don't record faces in `changed'
9601 theme; this doesn't work correctly for per-frame face settings.
9602 (disable-theme): Use face-set-after-frame-default to reset faces.
9603 (custom--frame-color-default): New function.
9605 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607 * dired.el (dired-flagging-regexp): Remove unused variable
9610 2011-03-29 Kevin Ryde <user42@zip.com.au>
9612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9613 `perl-Test2' extend to match possible "fail #N" rep count
9616 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9618 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9619 `smtpmail-via-smtp' now returns the error instead of nil.
9621 * isearch.el (isearch-search-fun-function): Clarify the doc string
9624 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9626 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9627 unnecessary spaces (bug#8987).
9629 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631 * net/network-stream.el (open-network-stream): Use the
9632 :end-of-capability command thoughout.
9634 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9636 * net/network-stream.el (open-network-stream): Add the
9637 :end-of-capability command parameter, used by pop3.el.
9639 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9641 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9643 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9644 for list)" (bug#6475).
9646 * files.el (file-expand-wildcards): Ignore non-readable
9647 sub-directories while trying to find matches instead of signaling
9648 an error (bug#6297).
9650 * man.el (Man-reference-regexp): Allow matching possible
9651 word-wrapped references (bug#6289).
9653 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9654 for consistency with the other vc buffers (bug#6197).
9655 (vc-checkin): Ditto.
9657 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9659 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9661 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9663 * custom.el (defcustom): Clarify that :set is only used in the
9664 Customize user interface (bug#6089).
9666 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9667 associated with a file, refuse to run instead of erroring out
9670 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9671 the doc string, since it appears that using `fill-column' always
9672 controls the width (bug#7845).
9674 * simple.el (shell-command-on-region): Say where the error output
9675 went if `shell-command-default-error-buffer' is set (bug#6857).
9677 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9679 * allout.el (allout-yank-processing): Adjust cursor position for
9680 backwards-deleted space.
9682 (allout-rebullet-heading): Register changes with
9683 allout-exposure-changed-hook, so the modified topic is properly
9686 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9688 * minibuffer.el (completion-in-region): Document PREDICATE
9691 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9692 of keyword/argument pairs (bug#6904).
9694 * replace.el (multi-occur):
9695 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9697 2011-07-02 Drew Adams <drew.adams@oracle.com>
9699 * dired.el (dired-mark-if): Make the message about whether it's
9700 marking or unmarking clearer (bug#8523).
9702 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9704 * disp-table.el (display-table-print-array): New function.
9705 (describe-display-table): Use it to print the vectors more pretty
9708 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9710 * window.el (window-state-get-1): Don't assign clone numbers.
9711 Add clone-of item to list of window parameters.
9712 (window-state-put-2): Don't process clone numbers.
9713 (display-buffer-alist): Fix doc-string.
9715 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * subr.el (remq): Don't allocate if it's not needed.
9718 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9719 (keymap--merge-bindings): New functions.
9720 (keymap-canonicalize): Use them to refine the canonicalization.
9721 * minibuffer.el (minibuffer-local-completion-map)
9722 (minibuffer-local-must-match-map): Move initialization from C.
9723 (minibuffer-local-filename-completion-map): Move initialization from C;
9724 don't inherit from anything here.
9725 (minibuffer-local-filename-must-match-map): Make obsolete.
9726 (completing-read-default): Use make-composed-keymap to combine
9727 minibuffer-local-filename-completion-map with either
9728 minibuffer-local-must-match-map or
9729 minibuffer-local-filename-completion-map.
9731 2011-07-01 Glenn Morris <rgm@gnu.org>
9733 * type-break.el (type-break-time-sum): Use dolist.
9735 * textmodes/flyspell.el (flyspell-word-search-backward):
9736 Replace CL function.
9738 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9740 * mouse.el (mouse--strip-first-event): New function.
9741 (function-key-map): Use it to map fringe clicks to normal clicks
9744 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9745 (vc-bzr-revision-completion-table): Add support for annotate and date.
9747 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9748 inherit from parent.
9750 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9752 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9753 (dired-show-file-type): Doc fixup (bug#8818).
9755 * dired.el (dired-mode): Fix up the doc string as suggested by
9756 Drew Adams (bug#8817).
9758 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9759 cookie, since the manual says that it should be possible to add
9760 this function to `find-file-hook' (bug#8709).
9762 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9764 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9765 here. Noted Ted Zlatanov as the maintainer.
9766 (cfengine-common-settings, cfengine-common-syntax): New functions
9767 to set up common things between `cfengine-mode' and
9769 (cfengine3-mode): New mode.
9770 (cfengine3-defuns cfengine3-defuns-regex
9771 (cfengine3-class-selector-regex cfengine3-category-regex)
9772 (cfengine3-vartypes cfengine3-font-lock-keywords)
9773 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9774 (cfengine3-indent-line): Add from cfengine3.el.
9776 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9778 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9780 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9782 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9784 * window.el (same-window-buffer-names, same-window-regexps)
9785 (same-window-p, special-display-frame-alist)
9786 (special-display-popup-frame, special-display-function)
9787 (special-display-buffer-names, special-display-regexps)
9788 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9789 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9790 (split-window-preferred-function, split-height-threshold)
9791 (split-width-threshold, even-window-heights)
9792 (display-buffer-mark-dedicated, window-splittable-p)
9793 (split-window-sensibly, window-safely-shrinkable-p):
9795 (display-buffer): Don't spread args with function specifier
9796 because special-display-popup-frame won't like it.
9798 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9800 Time-stamp simplifications and fixes.
9801 These improve accuracy slightly, and future-proof the code
9802 against some potential changes to current-time format.
9804 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9805 by using time-since and float-time.
9807 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9808 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9809 + NNN microseconds".
9811 * type-break.el (type-break-time-sum): Rewrite using time-add.
9813 * play/hanoi.el (hanoi-current-time-float): Remove.
9814 All uses replaced by float-time.
9816 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9817 This yields a more-accurate answer.
9818 (rng-time-to-float): Remove; no longer needed.
9820 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9822 * calendar/timeclock.el (timeclock-seconds-to-time):
9823 Defalias to seconds-to-time, since they're the same thing.
9825 * emacs-lisp/elp.el (elp-elapsed-time):
9826 * emacs-lisp/benchmark.el (benchmark-elapse):
9827 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9829 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * window.el (bury-buffer): Don't iconify the only frame.
9832 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9833 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9835 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9837 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9838 Add mouse-yank-primary.
9840 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9842 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9844 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9846 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9847 (find-library-name): Use it to find relative load names when provided
9848 absolute file name (bug#8803).
9850 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852 * textmodes/flyspell.el (flyspell-word): Consider words that
9853 differ only in case as potential doublons (bug#5687).
9855 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9856 Remove two rather uninteresting debugging-like messages to make
9857 debbugs.el more silent.
9859 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9860 a password-like phrase.
9862 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9864 * progmodes/cc-guess.el: New file.
9866 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9868 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9869 derived from `c-basic-common-init'.
9871 * progmodes/cc-mode.el (top-level): Require cc-guess.
9872 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9874 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9876 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9878 2011-06-30 Alan Mackenzie <acm@muc.de>
9880 * progmodes/cc-engine.el (c-guess-continued-construct):
9881 Correct the handling of template-args-cont, particularly for when font
9882 lock is disabled. Name this case as "CASE G".
9884 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9886 * allout.el (allout-yank-processing): Fix injection of extra space
9887 between bullet and non-whitespace character in first topic when
9888 pasting, ensuring that the actual spacing in the pasted topic
9889 following the bullet char is preserved. This extra space was
9890 causing pasted encrypted topics to get a decrypted status even
9891 when the content was actually still encrypted. Now the decryption
9892 status from before the paste is preserved.
9894 (allout-flag-region): Set all allout overlays so they evaporate
9895 when reduced to zero length (evanescent), to prevent overlay
9898 2011-06-30 Glenn Morris <rgm@gnu.org>
9900 * w32-fns.el (w32-charset-info-alist): Declare.
9902 * find-dired.el (find-grep-options): Simplify.
9904 * term/ns-win.el (ns-set-resource): Declare.
9906 * ses.el (row, col): Declare dynamic variables honestly.
9908 * textmodes/reftex-parse.el (index-tags): Declare.
9910 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9912 * cus-edit.el (customize-push-and-save): New function.
9914 * files.el (hack-local-variables-confirm): Use it.
9916 * custom.el (load-theme): New arg NO-CONFIRM.
9917 Use customize-push-and-save (Bug#8720).
9918 (custom-enabled-themes): Doc fix.
9920 * cus-theme.el (customize-create-theme)
9921 (custom-theme-merge-theme): Callers to load-theme changed.
9923 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9926 short URLs have at least one dot in them (bug #7614).
9928 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9929 nil, because using a pty is apparently too slow (bug #895).
9931 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9933 * mail/sendmail.el (sendmail-query-once): New function.
9934 (sendmail-query-once-function): New variable.
9936 2011-06-29 Glenn Morris <rgm@gnu.org>
9938 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9940 * ses.el (top-level): Require cl when compiling.
9941 (ses-set-localvars): Fix error statement.
9942 Call it at compile time to silence a storm of warnings.
9944 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9946 * window.el (normalize-live-buffer): Rename to
9947 window-normalize-buffer.
9948 (normalize-live-frame): Rename to window-normalize-frame.
9949 (normalize-any-window): Rename to window-normalize-any-window.
9950 (normalize-live-window): Rename to window-normalize-live-window.
9951 (make-window-atom): Rename to window-make-atom.
9952 (window-resize-reset): Rename to window--resize-reset.
9953 (window-resize-reset-1): Rename to window--resize-reset-1.
9954 (resize-mini-window): Rename to window--resize-mini-window.
9955 (resize-subwindows-skip-p): Rename to
9956 window--resize-subwindows-skip-p.
9957 (resize-subwindows-normal): Rename to
9958 window--resize-subwindows-normal.
9959 (resize-subwindows): Rename to window--resize-subwindows.
9960 (resize-other-windows): Rename to window--resize-siblings.
9961 (resize-this-window): Rename to window--resize-this-window.
9962 (resize-root-window): Rename to window--resize-root-window.
9963 (resize-root-window-vertically): Rename to
9964 window--resize-root-window-vertically.
9965 (normalize-buffer-to-display): Rename to
9966 window-normalize-buffer-to-display.
9967 (normalize-buffer-to-switch-to): Rename to
9968 window-normalize-buffer-to-switch-to.
9969 Correspondingly update all callers of the functions listed
9971 (display-buffer-alist, display-buffer-normalize-arguments)
9972 (display-buffer-normalize-options, display-buffer)
9973 (display-buffer-alist-set): Use "function" instead of
9976 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9978 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9979 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9980 debbugs.gnu.org. Mention acknowledgment email.
9982 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9984 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9985 buffer multibyteness, since it shouldn't matter.
9987 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9989 * window.el (display-buffer-in-side-window): Handle dedicated
9990 windows as in display-buffer-reuse-window.
9991 (display-buffer-normalize-alist): Use value of override
9993 (display-buffer-normalize-specifiers): Use value of
9994 other-window-means-other-frame specifier.
9995 (display-buffer-alist): Rewrite some texts in widgets.
9996 (display-buffer): Spread arguments when calling function
9997 specified by fun-with-args.
9999 2011-06-28 Deniz Dogan <deniz@dogan.se>
10001 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10004 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10005 selectors (Bug#5732).
10006 (css-proprietary-nmstart-re): Use `regexp-opt'.
10008 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10010 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10011 (eshell-ls-date-format): New defcustom.
10012 (eshell-ls-file): Use it.
10014 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10016 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10018 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10020 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10021 (ange-ftp-make-tmp-name): New arg.
10022 (ange-ftp-file-local-copy): Use it.
10024 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10026 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10027 no-conversion (Bug#8870).
10029 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10031 * window.el (window-right, window-left, window-child)
10032 (window-child-count, window-last-child)
10033 (window-iso-combination-p, walk-window-tree-1)
10034 (window-atom-check-1, window-tree-1, delete-window)
10035 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10036 new naming conventions - window-vchild, window-hchild,
10037 window-next and window-prev are now called window-top-child,
10038 window-left-child, window-next-sibling and window-prev-sibling
10040 (resize-window-reset): Rename to window-resize-reset.
10041 (resize-window-reset-1): Rename to window-resize-reset-1.
10042 (resize-window): Rename to window-resize.
10043 (window-min-height, window-min-width)
10044 (resize-mini-window, resize-this-window, resize-root-window)
10045 (resize-root-window-vertically, adjust-window-trailing-edge)
10046 (enlarge-window, shrink-window, maximize-window)
10047 (minimize-window, delete-window, quit-restore-window)
10048 (split-window, balance-windows, balance-windows-area-adjust)
10049 (balance-windows-area, window-state-put-2)
10050 (display-buffer-even-window-sizes, display-buffer-set-height)
10051 (display-buffer-set-width, set-window-text-height)
10052 (fit-window-to-buffer): Rename all "resize-window" prefixed
10053 calls to use the "window-resize" prefix convention.
10054 (display-buffer-alist): Fix symbol for label specifier.
10055 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10056 corresponding specifier.
10057 Reported by Juanma Barranquero <lekktu@gmail.com>.
10059 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10061 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10063 (ses-call-printer): Does not pass an empty string to formatter when the
10064 cell is empty to keep from barking printer Calc math-format-value.
10066 2011-06-27 Richard Stallman <rms@gnu.org>
10068 * battery.el (battery-mode-line-limit): New variable.
10069 (battery-update): Handle it.
10071 * mail/rmailmm.el (rmail-mime-process-multipart):
10072 Handle truncated messages.
10074 2011-06-27 Glenn Morris <rgm@gnu.org>
10076 * progmodes/flymake.el (flymake-err-line-patterns):
10077 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10079 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10081 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10082 (ses--clean-!, ses--clean-_): New functions.
10083 (ses-range): Add configurability of readout order, and conversion
10086 * ses.el (ses-repair-cell-reference-all): New function.
10087 (ses-cell-symbol): Set macro as safe, so that it can be used in
10090 * ses.el: Update cycle detection algorithm.
10091 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10092 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10093 (ses-set-localvars): New function.
10094 (ses-make-cell): Add property-list as a cell element.
10095 (ses-cell-property-get-fun, ses-cell-property-get)
10096 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10097 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10099 (ses-cell-property-set, ses-cell-property-pop)
10100 (ses-cell-property-get-handle): New macro.
10101 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10102 New aliases, used for code readability.
10103 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10105 (ses-self-reference-early-detection): New defcustom.
10106 (ses-formula-references): Robustify against self-referring cells.
10107 (ses-mode): Use ses-set-localvars.
10108 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10109 before lauching the update processing.
10110 (ses-initialize-Dijkstra-attempt): New function.
10111 (ses-recalculate-cell): Update for cycle detection based on
10112 Dijkstra algorithm.
10114 * ses.el: Fix commenting and indenting convention.
10116 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * bs.el (bs-cycle-next): Complete last change.
10120 2011-06-27 Drew Adams <drew.adams@oracle.com>
10122 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10124 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10126 * net/network-stream.el (network-stream-open-starttls):
10127 Don't re-get capabilities unless we've reestablished connection.
10128 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10130 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10131 to binary to possibly avoid line encoding issues on Windows (among
10134 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10136 * net/network-stream.el (open-network-stream): Return an :error
10137 saying what the problem was, if possible.
10139 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10142 * net/network-stream.el (network-stream-open-starttls): If we
10143 wanted to use STARTTLS, and the server offered it, but we weren't
10144 able to because we had no STARTTLS support, then close the connection.
10145 (open-network-stream): Return an :error element, if present.
10147 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10149 * hl-line.el (hl-line-sticky-flag): Doc fix.
10150 (global-hl-line-sticky-flag): New option (Bug#8323).
10151 (global-hl-line-highlight): Obey it.
10153 * vc/vc.el (vc-revert-show-diff): Default to t.
10155 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10157 * allout-widgets.el (allout-widgets-post-command-business):
10158 Stop decorating intermediate isearch matches. They're not being
10159 undecorated when an isearch is continued past, and isearch
10160 automatically collapses them. This leads to "widget leaks", where
10161 decorated items accumulate in collapsed areas. Lines with lots of
10162 hidden widgets can slow down cursor travel, substantially.
10163 Too much complicated machinery would be needed to ensure undecoration,
10164 so we're doing without this nicety.
10166 (allout-widgets-tally-string): Don't try to do a hash-table-count
10167 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10168 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10169 *Messages* when allout-widgets-maintain-tally is t.
10171 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10173 * window.el (display-buffer-normalize-argument): Rename to
10174 display-buffer-normalize-arguments. Handle special meaning of
10175 LABEL argument. Respect special-display-function when popping up
10176 a new frame. Fix code searching for a window showing the buffer
10178 (display-buffer-normalize-specifiers):
10179 Call display-buffer-normalize-arguments.
10180 (display-buffer-in-window): Don't undedicate the window if its
10181 buffer remains the same.
10182 Reported by Drew Adams <drew.adams@oracle.com>.
10183 (display-buffer-alist): Add choice for same-window macro
10185 (display-buffer): Mention special meaning of LABEL argument in
10186 doc-string. Fix quoting. Don't pop up a new frame even as
10189 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10191 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10192 avoid deleting the current window in some cases (bug#8911).
10194 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10196 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10199 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10201 * net/network-stream.el (network-stream-open-starttls):
10202 Use built-in TLS support if `gnutls-available-p' is true.
10203 (network-stream-open-tls): Ditto.
10205 2011-06-26 Leo Liu <sdl.web@gmail.com>
10207 * register.el (registerv): New struct.
10208 (registerv-make): New function.
10209 (jump-to-register, describe-register-1, insert-register):
10210 Support the jump-func, print-func and insert-func slot of a registerv
10213 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10215 * vc/vc.el (vc-revert-show-diff): New defcustom.
10216 (vc-diff-internal): New arg specifying diff buffer.
10217 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10218 reuse an existing *vc-diff* buffer (Bug#8927).
10220 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10222 2011-06-26 Glenn Morris <rgm@gnu.org>
10224 * progmodes/f90.el (f90-critical-indent): New option.
10225 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10226 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10227 (f90-mode): Doc fix.
10228 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10229 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10230 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10231 (f90-match-end): Handle block, critical.
10233 2011-06-25 Glenn Morris <rgm@gnu.org>
10235 * calendar/diary-lib.el (diary-included-files): Doc fix.
10236 (diary-include-files): New function, extracted from
10237 diary-include-other-diary-files and diary-mark-included-diary-files.
10238 (diary-include-other-diary-files, diary-mark-included-diary-files):
10239 Just call diary-include-files.
10240 (diary-mark-entries): Reset diary-included-files on first call.
10242 * calendar/diary-lib.el (diary-mark-entries)
10243 (diary-mark-included-diary-files):
10244 Visit included diary-files in temp buffers.
10246 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10247 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10248 (f90-start-block-re, f90-imenu-generic-expression)
10249 (f90-looking-at-program-block-start, f90-no-block-limit):
10250 Add support for submodules.
10252 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10253 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10255 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10257 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10258 buffer-file-type before setting its value, to avoid disastrous
10259 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10261 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10263 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10265 * ses.el (ses-unload-function):
10266 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10268 * proced.el (proced-unload-function):
10269 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10271 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10273 * server.el (server-create-window-system-frame): Add parameters arg.
10274 (server-process-filter): Doc fix. Handle frame-parameters.
10276 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10278 Fix bug#8730, bug#8781.
10280 * loadhist.el (unload--set-major-mode): New function.
10281 (unload-feature): Use it.
10283 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10284 (python-unload-function): New function.
10286 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10288 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10290 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10292 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10293 the candidates list.
10295 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10297 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10299 2011-06-23 Richard Stallman <rms@gnu.org>
10301 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10302 (rmail-variables): Set next-error-move-function.
10303 (rmail-what-message): Take argument POS.
10304 (rmail-next-error-move): New function.
10306 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10309 messages for adjacent non-terminals.
10311 2011-06-23 Richard Stallman <rms@gnu.org>
10313 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10314 (rmail-show-message-1): Preserve buffer modified flag.
10315 (rmail-start-mail): Don't specify use of rmail-mail-return;
10316 that's done by mail-bury now.
10317 (rmail-mail-return): Handle arg NEWBUF.
10319 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10321 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10324 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10326 * window.el (get-lru-window, get-mru-window)
10327 (get-largest-window): Never return a minibuffer window.
10328 (display-buffer-pop-up-window): Fix a bug that could lead to
10329 reusing the minibuffer window.
10330 (display-buffer): Pass original specifier argument to
10331 display-buffer-function instead of the normalized one.
10332 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10334 2011-06-22 Leo Liu <sdl.web@gmail.com>
10336 * minibuffer.el (completing-read-function)
10337 (completing-read-default): Move from minibuf.c
10339 2011-06-22 Richard Stallman <rms@gnu.org>
10341 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10342 to Rmail even if not started by a special Rmail command.
10344 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10345 Copy the buffer currently showing just one message.
10347 2011-06-22 Roland Winkler <winkler@gnu.org>
10349 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10350 (bibtex-clean-entry): First delete the old key so that a
10351 customized algorithm for generating the new key does not get
10352 confused by the old key.
10353 (bibtex-url): Obey regexp of first step.
10354 (bibtex-search-entries): Do not use add-to-list with local
10357 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10359 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10360 stored a user name, then query for the password first, instead of
10361 waiting for SMTP to give an error message and the trying again.
10363 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10365 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10366 BUFFER in call-process.
10368 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10370 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10372 (smtpmail-try-auth-methods): Require user name and password from
10375 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10377 * window.el (display-buffer-default-specifiers)
10378 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10379 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10380 (split-window): Normalize SIDE argument (Bug#8916).
10382 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10383 (special-display-frame-alist, special-display-popup-frame):
10384 Remove duplicate declarations. These are now in window.el.
10386 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10388 * mail/smtpmail.el (smtpmail-via-smtp):
10389 Set :use-starttls-if-possible so that we always use STARTTLS if the
10390 server supports it. SMTP servers that support STARTTLS commonly
10393 * net/network-stream.el (network-stream-open-starttls): Support
10394 upgrading to STARTTLS always, even if we don't have built-in support.
10395 (open-network-stream): Add the :always-query-capabilities keyword.
10397 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10398 upgrades with `open-network-stream', and rely solely on
10399 auth-source for all credentials. Big changes throughout the file,
10401 (smtpmail-auth-credentials): Remove.
10402 (smtpmail-starttls-credentials): Remove.
10403 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10406 * net/network-stream.el (network-stream-open-starttls):
10407 Provide support for client certificates both for external and built-in
10409 (auth-source): Require.
10410 (open-network-stream): Document the :client-certificate keyword.
10411 (network-stream-certificate): Change cert-cert to cert and
10414 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10416 * net/tramp-cache.el (top): Don't load the persistency file when
10417 "emacs -Q" has been called.
10419 2011-06-21 Tim Harper <timcharper@gmail.com>
10421 * term/ns-win.el (ns-initialize-window-system):
10422 Set application-specific `ApplePressAndHoldEnabled' system
10423 resource to NO as it is not yet supported by the NS port.
10425 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10427 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10428 (list-dynamic-libraries): ...not here.
10430 2011-06-21 Leo Liu <sdl.web@gmail.com>
10432 * subr.el (sha1): Implement sha1 using secure-hash.
10434 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10436 * window.el (display-buffer-alist): In default value do not
10437 enforce searching a window on any but the selected frame.
10438 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10439 (display-buffer-select-window): Remove function.
10440 (display-buffer-in-window): When a window on another frame gets
10441 reused, do not select it any more but just raise its frame if
10442 necessary (Bug#8851) and (Bug#8856).
10443 (display-buffer-normalize-options): Handle pop-up-frames related
10444 options more faithfully.
10445 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10446 window if it is on another frame.
10447 (display-buffer-alist, display-buffer-default-specifiers):
10448 Don't make new frame unsplittable by default.
10449 (display-buffer-normalize-argument): Fix doc-string typo and use
10450 'same-frame-other-window instead of 'other-window when associating
10451 with display-buffer-macro-specifiers.
10453 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10455 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10457 (5x5-mode-map, 5x5-mode-menu): Bind them.
10458 (5x5-draw-grid): Tweak the solver's rendering.
10460 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10463 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10465 2011-06-21 Drew Adams <drew.adams@oracle.com>
10467 * menu-bar.el: Use function variable instead of switch-to-buffer.
10468 (menu-bar-select-buffer-function): New variable.
10469 (menu-bar-update-buffers): Use it (bug#8876).
10471 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10473 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10476 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10478 * x-dnd.el (x-dnd-version-from-flags)
10479 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10480 and long as number (Bug#8899).
10481 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10483 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10485 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10486 (completion-try-completion, completion-all-completions): Compute the
10487 metadata argument if it's missing; make it optional (bug#8795).
10489 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10490 (widget-complete): Use new :completion-function property.
10491 (widget-completions-at-point): New function.
10492 (default): Use :completion-function instead of :complete.
10493 (widget-default-completions): Rename from widget-default-complete;
10495 (widget-string-complete, widget-file-complete, widget-color-complete):
10497 (file, symbol, function, variable, coding-system, color):
10498 * international/mule-cmds.el (default-input-method, charset)
10499 (language-info-custom-alist):
10500 * cus-edit.el (face): Use new property :completions.
10502 * progmodes/pascal.el (pascal-completions-at-point): New function.
10503 (pascal-mode): Use it.
10504 (pascal-mode-map): Use completion-at-point.
10505 (pascal-toggle-completions): Make obsolete.
10506 (pascal-complete-word, pascal-show-completions):
10507 * progmodes/octave-mod.el (octave-complete-symbol):
10508 Redefine as obsolete alias.
10509 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10510 Signal absence of completion info for old Octave,
10511 (inferior-octave-complete): Redefine as obsolete alias.
10512 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10513 (meta-completions-at-point): Rename from meta-complete-symbol and
10514 adapt it for use on completion-at-point-functions.
10515 (meta-common-mode): Use it.
10516 (meta-looking-at-backward, meta-match-buffer): Remove.
10517 (meta-complete-symbol): Redefine as obsolete alias.
10518 (meta-common-mode-map): Use completion-at-point.
10519 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10520 (makefile-mode-map): Use completion-at-point.
10521 (makefile-completions-at-point): Rename from makefile-complete and
10522 adapt it for use on completion-at-point-functions.
10523 (makefile-mode): Use it.
10524 (makefile-complete): Redefine as obsolete alias.
10526 2011-06-20 Deniz Dogan <deniz@dogan.se>
10528 * net/rcirc.el: Delete trailing whitespaces once and for all.
10530 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10532 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10534 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10536 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10538 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10540 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10542 * window.el (display-buffer-other-window-means-other-frame):
10543 Call display-buffer-normalize-alist.
10544 (display-buffer-normalize-specifiers-1): Rename to
10545 display-buffer-normalize-argument. New argument other-frame.
10547 (display-buffer-normalize-specifiers-2): Rename to
10548 display-buffer-normalize-options.
10549 (display-buffer-normalize-alist-1): New function.
10550 (display-buffer-normalize-specifiers-3): Rename to
10551 display-buffer-normalize-alist.
10552 Call display-buffer-normalize-alist-1.
10553 (display-buffer-normalize-options-inhibit): New variable.
10554 (display-buffer-normalize-specifiers): Rewrite calling
10555 display-buffer-normalize-alist,
10556 display-buffer-normalize-argument, and
10557 display-buffer-normalize-options. Don't call the latter if
10558 display-buffer-normalize-options-inhibit is non-nil.
10559 (frame-auto-delete): New option.
10560 (window-deletable-p): Use frame-auto-delete.
10561 (window-list-no-nils, window-state-ignored-parameters)
10562 (window-state-get-1, window-state-get, window-state-put-list)
10563 (window-state-put-1, window-state-put-2, window-state-put):
10565 (display-buffer-normalize-options): Move special-display-p group
10566 after pop-up-frame group (Bug#8851) and (Bug#8856).
10568 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10570 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10572 (rx-submatch-n): New function.
10575 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10578 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10580 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10582 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10583 anytime existing face settings are present (Bug#8889).
10585 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10586 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10587 Remove unused argument.
10589 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10591 * window.el (display-buffer-default-specifiers):
10592 Remove pop-up-frame. Add pop-up-window-min-height,
10593 pop-up-window-min-width, and another reuse-window specifier
10594 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10595 (display-buffer-normalize-specifiers-2):
10596 Handle split-height-threshold and split-width-threshold also when
10597 pop-up-windows is unset. Add a reuse-window specifier for the
10598 case popping up a new window fails.
10599 (special-display-popup-frame): Remove double quoting.
10600 (display-buffer-normalize-specifiers-1): Fix thinko.
10602 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10605 according to comint-completion-addsuffix.
10607 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10608 (pcomplete-suffix-list): Mark as obsolete.
10609 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10610 pcomplete-seen in the closure.
10611 (pcomplete-comint-setup): Setup completion-at-point as well.
10612 (pcomplete--entries): New function.
10613 (pcomplete--env-regexp): New var.
10614 (pcomplete-entries): Rewrite to work with partial-completion and
10615 without relying on pcomplete-suffix-list.
10616 (pcomplete-pare-list): Remove, unused.
10618 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10620 * window.el (display-buffer-alist): Set pop-up-window-min-height
10621 and pop-up-window-min-width in default value. Reported by
10622 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10623 other-window-means-other-frame.
10624 (display-buffer-macro-specifiers): Comment out entry for
10625 other-window specifier.
10626 (display-buffer-other-window-means-other-frame): New function.
10627 (display-buffer-normalize-specifiers-1): New arguments
10628 buffer-name and label. Treat other-window case specially.
10629 (display-buffer-normalize-specifiers-2): Treat other-window case
10631 (display-buffer-normalize-specifiers-3): New function.
10632 (display-buffer-normalize-specifiers):
10633 Call display-buffer-normalize-specifiers-3.
10635 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10637 * window.el (same-window-p): Fix two typos introduced when
10638 adding with-no-warnings.
10639 (display-buffer-normalize-specifiers-1): Don't check
10640 pop-up-frames for 'unset initialization.
10641 (display-buffer-normalize-specifiers-2): Major rewrite using
10642 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10643 (pop-up-frames, display-buffer-reuse-frames)
10644 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10645 Suggested by David Engster <deng@randomsample.de>.
10646 (even-window-heights): Initialize to 'unset.
10647 (display-buffer-alist-set): Handle new 'unset initializations.
10648 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10651 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10653 * window.el (display-buffer-normalize-specifiers-1):
10654 Respect current value of pop-up-frames for most reasonable values of
10655 second argument of display-buffer (Bug#8865).
10656 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10657 (switch-to-buffer-other-window-same-frame)
10658 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10660 (display-buffer): Don't check noninteractive when calling
10661 display-buffer-pop-up-frame.
10662 (display-buffer-pop-up-frame): Never pop up a frame in
10663 noninteractive mode (Bug#8857).
10664 (enlarge-window, shrink-window): Don't report an error when the
10665 window can't be resized as requested (Bug#8862).
10667 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10671 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10673 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10675 2011-06-15 Alan Mackenzie <acm@muc.de>
10677 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10678 for declarators, disable knr checking to speed up for normal files.
10679 2: Refactor, replacing a sequence of nested if forms by a cond form.
10681 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10683 * net/network-stream.el (open-network-stream): Add the keyword
10684 :always-query-capabilities for the case where you want to force a
10685 `plain' network connection, but the protocol still requires the
10686 capabilitiy command (i.e., SMTP and EHLO).
10688 * subr.el (process-live-p): Rename from `process-alive-p' for
10689 consistency with other `-live-p' functions.
10691 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10693 * window.el (same-window-buffer-names, same-window-regexps)
10694 (special-display-frame-alist, special-display-popup-frame)
10695 (special-display-function, special-display-buffer-names)
10696 (special-display-regexps, pop-up-frame-alist)
10697 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10698 (pop-up-windows, split-window-preferred-function)
10699 (split-height-threshold, split-width-threshold, even-window-heights)
10700 (display-buffer-mark-dedicated): Don't encourage the use of
10701 display-buffer-alist from Elisp code.
10703 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10705 * progmodes/python.el (python-mode): Derive from prog-mode.
10706 * progmodes/ps-mode.el (ps-mode):
10707 * progmodes/mixal-mode.el (mixal-mode):
10708 * progmodes/cfengine.el (cfengine-mode):
10709 * progmodes/ld-script.el (ld-script-mode): Likewise.
10711 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10713 * window.el (display-buffer-alist): Trim default value to avoid
10714 popping up a new frame (Bug#8857) or reusing an arbitrary window
10716 (display-buffer): Do not fall back on popping up a new frame in
10717 batch mode (Bug#8857).
10719 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10721 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10722 (custom-theme-summary): New function.
10723 (customize-themes): Use it.
10725 2011-06-13 Glenn Morris <rgm@gnu.org>
10727 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10729 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10731 * help.el (help-window): Remove variable.
10732 (help-window-point-marker, temp-buffer-max-height)
10733 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10734 (help-print-return-message): Don't set help-window.
10735 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10736 (help-window-setup-finish): Remove.
10737 (help-window-display-message, help-window-setup)
10738 (with-help-window): Major rewrite based on new
10739 display-buffer-window variable.
10741 * help-mode.el (help-mode-finish): Remove help-window related
10744 * view.el (view-exits-all-viewing-windows): Remove reference to
10745 view-return-to-alist in doc-string.
10746 (view-return-to-alist): Make obsolete.
10747 (view-buffer): Call pop-to-buffer-same-window and remove
10749 (view-buffer-other-window): Call pop-to-buffer-other-window and
10750 simplify code. Ignore second argument.
10751 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10752 simplify code. Ignore second argument.
10753 (view-return-to-alist-update): Make obsolete.
10754 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10755 Rewrite using quit-restore window parameters.
10756 (view-mode-exit): Rename second argument to EXIT-ONLY.
10757 Rewrite using quit-restore-window.
10758 (View-exit, View-exit-and-edit, View-leave, View-quit)
10759 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10760 appropriate arguments.
10761 (view-end-message): Use quit-restore window parameter.
10763 * window.el (display-buffer-function): Rewrite doc-string.
10764 (display-buffer-window, display-buffer-alist): New variables.
10765 (display-buffer-split-specifiers)
10766 (display-buffer-side-specifiers)
10767 (display-buffer-macro-specifiers): New constants.
10768 (display-buffer-even-window-sizes, display-buffer-set-height)
10769 (display-buffer-set-width, display-buffer-select-window)
10770 (display-buffer-in-window, display-buffer-reuse-window)
10771 (display-buffer-split-window-1, display-buffer-split-window)
10772 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10773 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10774 (display-buffer-in-side-window, normalize-buffer-to-display)
10775 (display-buffer-normalize-specifiers-1)
10776 (display-buffer-normalize-specifiers-2)
10777 (display-buffer-normalize-specifiers, display-buffer-frame):
10779 (display-buffer): Major rewrite.
10780 (display-buffer-other-window, display-buffer-other-frame)
10781 (pop-to-buffer, switch-to-buffer-other-window)
10782 (switch-to-buffer-other-frame): Rewrite.
10783 (display-buffer-same-window, display-buffer-same-frame)
10784 (display-buffer-same-frame-other-window)
10785 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10786 (pop-to-buffer-other-window)
10787 (pop-to-buffer-same-frame-other-window)
10788 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10789 (switch-to-buffer-other-window-same-frame): New functions.
10790 (same-window-p, special-display-p): Rewrite disabling warnings.
10792 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10793 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10795 (same-window-buffer-names, same-window-regexps)
10796 (special-display-frame-alist, special-display-popup-frame)
10797 (special-display-function, special-display-buffer-names)
10798 (special-display-regexps, pop-up-frame-alist)
10799 (pop-up-frame-function, split-window-preferred-function)
10800 (split-height-threshold, split-width-threshold)
10801 (even-window-heights): Make obsolete.
10803 2011-06-12 Glenn Morris <rgm@gnu.org>
10805 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10806 Misc simplifications.
10808 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10810 * window.el (window-safely-shrinkable-p): Restore function which
10811 was inadvertently removed in change from 2011-06-11. Declare as
10814 * calendar/calendar.el (calendar-generate-window):
10815 Use window-iso-combined-p instead of combination of one-window-p and
10816 window-safely-shrinkable-p.
10818 2011-06-12 Glenn Morris <rgm@gnu.org>
10820 * progmodes/fortran.el (fortran-mode-syntax-table):
10821 * progmodes/f90.el (f90-mode-syntax-table):
10822 Set % to punctuation. (Bug#8820)
10823 (f90-find-tag-default): Remove, no longer needed.
10825 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10827 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10829 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10831 * image.el (image-animated-p): Return animation delay in seconds.
10832 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10833 (image-animate-timeout): Remove DELAY argument. Don't assume
10834 every subimage has the same delay; get it from image-animated-p.
10835 (image-animate): Caller changed.
10837 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10839 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10840 to ignored backtrace functions.
10842 2011-06-11 Glenn Morris <rgm@gnu.org>
10844 * calendar/appt.el (appt-disp-window-function): Doc fix.
10845 (appt-check): Handle overlapping appointments. (Bug#8337)
10847 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10849 * window.el (window-tree-1, window-tree): New functions, moving
10850 the latter to window.el.
10851 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10852 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10853 (bw-refresh-edges): Remove.
10854 (balance-windows-1, balance-windows-2): New functions.
10855 (balance-windows): Rewrite in terms of window tree functions,
10856 balance-windows-1 and balance-windows-2.
10857 (bw-adjust-window): Remove.
10858 (balance-windows-area-adjust): New function with functionality of
10859 bw-adjust-window but using resize-window.
10860 (set-window-text-height): Rewrite doc-string.
10861 Use normalize-live-window and resize-window.
10862 (enlarge-window-horizontally, shrink-window-horizontally):
10863 Rename argument to DELTA.
10864 (window-buffer-height): New function.
10865 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10866 Rewrite using new window resize routines.
10867 (kill-buffer-and-window, mouse-autoselect-window-select):
10868 Use ignore-errors instead of condition-case.
10869 (quit-window): Call delete-frame instead of delete-windows-on
10870 for the only buffer on frame.
10872 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10874 * loadup.el (top-level): Load window before files for the sake
10875 of replace-buffer-in-windows.
10877 * files.el (read-buffer-to-switch)
10878 (switch-to-buffer-other-window)
10879 (switch-to-buffer-other-frame, display-buffer-other-frame):
10882 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10883 (previous-buffer): Move to window.el.
10885 * bindings.el (unbury-buffer): Move to window.el.
10887 * window.el (delete-other-windows-vertically): Move after
10888 definition of delete-other-windows.
10889 (other-window, delete-windows-on, replace-buffer-in-windows):
10890 Move here from window.c.
10891 (record-window-buffer, unrecord-window-buffer)
10892 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10893 (switch-to-next-buffer): New functions.
10894 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10895 from simple.el. Call switch-to-next-buffer.
10896 (previous-buffer): Move here from simple.el.
10897 Call switch-to-prev-buffer.
10898 (bury-buffer): Move here from buffer.c. Switch to previous
10899 buffer when window cannot be deleted.
10900 (unbury-buffer): Move here from bindings.el.
10901 (ctl-x-map): Move binding for other-window from window.c to
10903 (read-buffer-to-switch, switch-to-buffer-other-window)
10904 (switch-to-buffer-other-frame): Move here from files.el.
10905 (normalize-buffer-to-switch-to): New functions.
10906 (switch-to-buffer): Move here from buffer.c.
10907 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10909 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10911 * window.el (window-min-height, window-min-width): Move here
10912 from window.c. Add defcustoms and rewrite doc-strings.
10913 (resize-mini-window, resize-window): New functions.
10914 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10915 Move here from window.c.
10916 (maximize-window, minimize-window): New functions.
10917 (delete-window, delete-other-windows, split-window): Move here
10919 (window-split-min-size): New function.
10920 (split-window-keep-point): Mention split-window-above-each-other
10921 instead of split-window-vertically.
10922 (split-window-above-each-other, split-window-vertically):
10923 Rename split-window-vertically to split-window-above-each-other
10924 and provide defalias for old definition.
10925 (split-window-side-by-side, split-window-horizontally):
10926 Rename split-window-horizontally to split-window-side-by-side
10927 and provide defalias for the old definition.
10928 (ctl-x-map): Move bindings for delete-window,
10929 delete-other-windows and enlarge-window here from window.c.
10930 Replace bindings for split-window-vertically and
10931 split-window-horizontally by bindings for
10932 split-window-above-each-other and split-window-side-by-side.
10934 * cus-start.el (all): Remove entries for window-min-height and
10935 window-min-width. Add entries for window-splits and
10938 2011-06-09 Glenn Morris <rgm@gnu.org>
10940 * calendar/appt.el (appt-mode-line): New function.
10941 (appt-check, appt-disp-window): Use it.
10943 * files.el (hack-one-local-variable-eval-safep):
10944 Allow minor-modes with explicit +/-1 arguments.
10946 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10948 * term/xterm.el (xterm): Add defgroup.
10949 (xterm-extra-capabilities): Add defcustom to supply known xterm
10950 capabilities, skip querying them, or query them (default).
10951 (terminal-init-xterm): Use it.
10952 (terminal-init-xterm-modify-other-keys): New function to set up
10953 modifyOtherKeys support to simplify `terminal-init-xterm'.
10955 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10957 * window.el (resize-window-reset, resize-window-reset-1)
10958 (resize-subwindows-skip-p, resize-subwindows-normal)
10959 (resize-subwindows, resize-other-windows, resize-this-window)
10960 (resize-root-window, resize-root-window-vertically)
10961 (window-deletable-p, window-or-subwindow-p)
10962 (frame-root-window-p): New functions.
10964 2011-06-09 Glenn Morris <rgm@gnu.org>
10966 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10967 (ange-ftp-get-files): Use it.
10969 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10971 * mail/sendmail.el (mail-recover-1, mail-recover):
10972 * files.el (recover-file, recover-session):
10973 Handle dired-listing-switches not being just a single short option.
10975 2011-06-09 Glenn Morris <rgm@gnu.org>
10977 * calendar/appt.el (appt-display-message, appt-disp-window):
10978 Handle lists of appointments.
10980 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10982 * window.el (one-window-p): Move down in code.
10983 Rewrite doc-string.
10984 (window-current-scroll-bars): Rewrite doc-string.
10985 Normalize live window argument.
10986 (walk-windows, get-window-with-predicate, count-windows):
10987 Rewrite doc-string. Use window-list-1.
10988 (window-in-direction-2, window-in-direction, get-mru-window):
10991 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10993 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10994 Doc fix (Bug#8713).
10996 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10998 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11000 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11002 * loadhist.el (unload-feature-special-hooks):
11003 Add `comint-output-filter-functions'.
11005 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11007 * calendar/appt.el (appt-check): Move some initializations into the let.
11009 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11011 * window.el (window-height): Defalias to window-total-height.
11012 (window-width): Defalias to window-body-width.
11014 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11016 * image-mode.el (image-toggle-animation): New command.
11017 (image-mode-map): Bind it to RET.
11018 (image-mode): Update message.
11019 (image-toggle-display-image): Avoid a spurious cache flush.
11020 (image-transform-rotation): Doc fix.
11021 (image-transform-properties): Return quickly in the normal case.
11022 (image-animate-loop): Rename from image-animate-max-time.
11024 * image.el (image-animate-max-time): Move to image-mode.el.
11025 (create-animated-image): Remove unnecessary function.
11026 (image-animate): Rename from image-animate-start. New arg.
11027 (image-animate-stop): Remove; just use image-animate-timer.
11028 (image-animate-timer): Use car-safe.
11029 (image-animate-timeout): Rename argument.
11031 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11033 * window.el (get-lru-window, get-largest-window): Move here from
11034 window.c. Rename first argument to ALL-FRAMES.
11035 Rephrase doc-strings.
11036 (get-buffer-window-list): Rewrite using window-list-1.
11037 Rephrase doc-string.
11038 (window-safe-min-height, window-safe-min-width): New constants.
11039 (window-size-ignore, window-min-size, window-min-size-1)
11040 (window-sizable, window-sizable-p, window-size-fixed-1)
11041 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11042 (window-max-delta-1, window-max-delta, window-resizable)
11043 (window-resizable-p, window-total-height, window-total-width)
11044 (window-body-width): New functions.
11045 (window-full-height-p, window-full-width-p): Rewrite using
11047 (window-body-height): Rewrite using window-body-size.
11049 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11051 * window.el (window-right, window-left, window-child)
11052 (window-child-count, window-last-child, window-any-p)
11053 (normalize-live-buffer, normalize-live-frame)
11054 (normalize-any-window, normalize-live-window)
11055 (window-iso-combination-p, window-iso-combined-p)
11056 (window-iso-combinations)
11057 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11058 (windows-with-parameter, window-with-parameter)
11059 (window-atom-root, make-window-atom, window-atom-check-1)
11060 (window-atom-check, window-side-check, window-check):
11062 (ignore-window-parameters, window-sides, window-sides-vertical)
11063 (window-sides-slots): New variables.
11064 (window-size-fixed): Move down in code. Minor doc-string fix.
11066 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11068 * comint.el (comint-dynamic-complete-as-filename)
11069 (comint-dynamic-complete-filename): Correctly call
11070 completion-in-region.
11072 2011-06-05 Deniz Dogan <deniz@dogan.se>
11074 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11077 2011-06-05 Deniz Dogan <deniz@dogan.se>
11079 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11080 (rcirc): Use it to prompt for encryption.
11082 2011-06-05 Roland Winkler <winkler@gnu.org>
11084 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11085 (bibtex-search-entries): New command bound to C-c C-a.
11086 (bibtex-display-entries): New function.
11088 2011-06-05 Roland Winkler <winkler@gnu.org>
11090 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11091 (bibtex-insert-kill): After yanking insert newline if necessary.
11092 (bibtex-initialize): Call bibtex-string-files-init only once.
11093 (bibtex-mode): Do not call easy-menu-add.
11094 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11095 (bibtex-yank): Set arg properly if nil.
11097 2011-06-05 Roland Winkler <winkler@gnu.org>
11099 * textmodes/bibtex.el (bibtex-search-entry-globally):
11101 (bibtex-search-entry): Use it.
11103 2011-06-05 Roland Winkler <winkler@gnu.org>
11105 * textmodes/bibtex.el (bibtex-entry-format): New option
11107 (bibtex-format-entry, bibtex-reformat): Honor this option.
11108 (bibtex-parse-entry): Return fields in proper order.
11110 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11112 * doc-view.el (doc-view-remove-if): Move computation of result out
11113 of `dolist' to silence misleading lexical-binding warning.
11115 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11117 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11118 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11120 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11122 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11125 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11127 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11128 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11129 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11130 (tramp-parse-putty):
11131 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11132 (tramp-completion-function-alist-ssh)
11133 (tramp-completion-function-alist-telnet)
11134 (tramp-completion-function-alist-su)
11135 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11138 * net/tramp-ftp.el:
11140 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11141 load "tramp.el" `tramp-set-completion-function'.
11143 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11145 * shell.el: Require and use pcomplete.
11146 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11147 (shell-completion-vars): Set pcomplete-default-completion-function.
11149 2011-06-04 Deniz Dogan <deniz@dogan.se>
11151 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11154 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11156 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11158 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11160 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11161 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11162 * vc/log-view.el (log-view-beginning-of-defun):
11163 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11164 (smerge-refine-forward, smerge-refine-chopup-region):
11165 Silence warning for unused `dotimes' counter variables.
11167 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * net/tramp.el (tramp-with-progress-reporter): Rename from
11170 with-progress-reporter. Use `declare'.
11171 * net/tramp-smb.el:
11173 * net/tramp-gvfs.el: Update all uses.
11175 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11177 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11178 buffer isn't killed before making it current.
11180 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11182 Silence various byte-compiler warnings.
11183 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11184 `access-type' and new obsolescence format.
11185 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11187 (byte-compile-check-variable): New `access-type' argument.
11188 Only warn if the access-type is obsolete.
11189 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11190 (byte-compile-variable-set): Adjust callers.
11191 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11192 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11193 setting it as obsolete.
11194 * simple.el (minibuffer-completing-symbol):
11195 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11196 access as obsolete.
11197 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11199 * international/quail.el (quail-mouse-choose-completion): Remove unused
11200 code referring to obsolete var.
11201 (quail-choose-completion-string): Remove.
11202 * server.el (server-clients-with, server-kill-buffer-query-function)
11203 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11204 * proced.el (proced-send-signal):
11205 * emacs-lisp/lisp.el (lisp-complete-symbol):
11206 Replace completion-annotate-function with completion-extra-properties.
11208 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * simple.el (goto-line): Use read-number.
11211 (overriding-map-is-bound): Remove.
11212 (saved-overriding-map): Change default.
11213 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11214 Take the map as argument.
11215 (universal-argument, negative-argument, digit-argument): Use it.
11216 (restore-overriding-map): Adjust.
11217 (do-auto-fill): Use fill-forward-paragraph.
11218 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11220 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11221 (minibuffer-inactive-mode): New major mode.
11222 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11223 the *Messages* buffer" hack.
11224 (mouse-popup-menubar): Don't burp if the event is a normal key.
11226 Miscellaneous tweaks.
11227 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11228 lexical scoping as in subr.el's dolist and dotimes.
11229 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11230 Silence compiler warning.
11231 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11232 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11233 * international/ccl.el (ccl-compile): Trivial simplification.
11234 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11235 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11236 `printflag' argument.
11237 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11238 Purecopy the whole obsolescence data.
11240 2011-06-01 Leo Liu <sdl.web@gmail.com>
11242 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11243 improve doc-string as suggested by Marco Pessotto
11244 <melmothx@gmail.com>.
11245 (rcirc-print): Fix last change.
11247 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11249 * minibuffer.el (complete-with-action): Return nil for the metadata and
11250 boundaries of non-functional tables.
11251 (completion-table-dynamic): Return nil for the metadata.
11252 (completion-table-with-terminator): Add default case, using
11253 complete-with-action.
11254 (completion--metadata): New function.
11255 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11256 to try and avoid pathological performance problems.
11257 (completion--embedded-envvar-table): Return `category' metadata.
11259 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11261 * subr.el (process-alive-p): New tiny convenience function.
11263 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11265 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11266 content but also its previous major mode.
11268 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11270 * emacs-lisp/debug.el (debug): Restore the previous content of the
11271 *Backtrace* buffer when we exit with C-M-c.
11273 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11275 * minibuffer.el: Add metadata method to completion tables.
11276 (completion-category-overrides): New defcustom.
11277 (completion-metadata, completion--field-metadata)
11278 (completion-metadata-get, completion--styles)
11279 (completion--cycle-threshold): New functions.
11280 (completion-try-completion, completion-all-completions):
11281 Add `metadata' argument to choose completion-styles.
11282 (completion--do-completion): Use metadata to choose cycling.
11283 (completion-all-sorted-completions): Use metadata for sorting.
11284 Remove :completion-cycle-penalty which is not needed any more.
11285 (completion--try-word-completion): Add `metadata' argument.
11286 (minibuffer-completion-help): Check metadata for annotation function
11288 (completion-file-name-table): Return `category' metadata.
11289 (minibuffer-completing-file-name): Make obsolete.
11290 * simple.el (minibuffer-completing-symbol): Make obsolete.
11291 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11292 completion-try-completion.
11294 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11296 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11298 2011-05-30 Leo Liu <sdl.web@gmail.com>
11300 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11301 (rcirc-print): Decode all incoming messages (bug#8744).
11302 (rcirc-decode-coding-system): Allow value nil for automatic coding
11305 2011-06-01 Glenn Morris <rgm@gnu.org>
11307 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11309 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11311 * image.el (image-animate-max-time): Allow nil and t values.
11313 (create-animated-image): Doc fix.
11314 (image-animate-start): Remove second arg; just use
11315 image-animate-max-time.
11316 (image-animate-timeout): Doc fix. Args changed.
11318 * image-mode.el (image-toggle-display-image): Ensure that the
11319 image spec passed to the animate timer is the same object as in
11320 the buffer's display property (Bug#6981).
11321 (image-transform-properties): Doc fix.
11323 * image.el (image-animate-max-time): Default to nil.
11325 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11327 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11328 entire buffer list (Bug#8184).
11330 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11332 * image.el (imagemagick-types-inhibit)
11333 (imagemagick-register-types): Doc fix.
11335 2011-05-29 Deniz Dogan <deniz@dogan.se>
11337 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11340 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11342 * select.el: Don't perform clipboard-manager saving in hooks;
11343 leave the hooks empty.
11345 2011-05-28 Leo Liu <sdl.web@gmail.com>
11347 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11348 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11349 (occur-edit-mode): New major mode (Bug#8463).
11350 (occur-after-change-function): New function.
11351 (occur-engine): Give Occur tags a read-only property.
11353 2011-05-28 Kevin Ryde <user42@zip.com.au>
11355 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11357 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11359 * bindings.el (help-echo): Make the initial non-indicator dash
11360 empty on graphical terminals (Bug#7295).
11362 * files.el (auto-mode-alist): Move config rule after the
11363 in-stripping one (Bug#8547).
11365 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11367 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11368 setting (Bug#8740).
11370 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11372 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11373 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11376 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11378 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11380 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11382 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11383 (hs-hide-block-at-point, hs-find-block-beginning)
11384 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11387 2011-05-28 Glenn Morris <rgm@gnu.org>
11389 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11391 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11393 * help-fns.el (describe-function-1): If the function is a derived
11394 major mode, print the parent mode.
11396 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11397 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11399 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11401 * minibuffer.el (completion--capf-wrapper): Check applicability before
11402 returning non-nil for non-exclusive completion data.
11403 * progmodes/etags.el (tags-completion-at-point-function):
11404 * info-look.el (info-lookup-completions-at-point): Mark as
11406 (info-complete): Adjust accordingly.
11408 * info-look.el: Convert to lexical-binding and completion-at-point.
11409 (info-lookup-completions-at-point): New function.
11410 (info-complete): Use it and completion-in-region.
11412 2011-05-28 Drew Adams <drew.adams@oracle.com>
11414 * isearch.el: Let M-e start with point at the first mismatched char.
11415 (isearch-fail-pos): New function.
11416 (isearch-edit-string): Use it.
11418 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11420 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11422 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11424 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11425 traversal functions for avl-trees.
11426 (avl-tree--stack): New struct.
11427 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11428 (avl-tree-enter): Add optional `updatefun' arg.
11429 (avl-tree--do-enter): Add optional `updatefun' arg.
11430 Change return value.
11431 (avl-tree-delete): Add optional `test' and `nilflag' args.
11432 (avl-tree--do-delete): Add `test' and `nilflag' args.
11433 Change return value.
11434 (avl-tree-member): Add optional `nilflag'
11435 (avl-tree-member-p): New function.
11436 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11437 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11438 (avl-tree-stack-empty-p): New functions.
11440 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11441 avl-tree--del-balance1 and make it work both ways.
11442 (avl-tree--del-balance2): Remove.
11443 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11444 make it work both ways.
11445 (avl-tree--enter-balance2): Remove.
11446 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11448 (avl-tree--mapc, avl-tree-map): Add direction argument.
11450 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11452 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11454 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11456 * select.el: Support clipboard managers with built-in function
11457 x-clipboard-manager-save, via delete-frame-functions and
11459 (xselect-convert-to-targets): Add MULTIPLE target to list.
11460 (xselect-convert-to-save-targets): New function.
11462 2011-05-27 Kenichi Handa <handa@m17n.org>
11464 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11465 let-binding rfc2047-encode-encoded-words to nil.
11467 2011-05-27 Glenn Morris <rgm@gnu.org>
11469 * mail/emacsbug.el: Don't require url-util.
11471 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11473 * files.el (set-auto-mode):
11474 Also respect mode: entries at the end of the file. (Bug#8586)
11476 2011-05-26 Glenn Morris <rgm@gnu.org>
11478 * files.el (hack-local-variables-prop-line, hack-local-variables):
11479 Downcase mode names, as seems to be traditional.
11480 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11482 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11483 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11485 2011-05-25 Julien Danjou <julien@danjou.info>
11487 * textmodes/rst.el (rst-define-level-faces): Do not define face
11488 symbol if it is already defined.
11490 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11492 * play/5x5.el (5x5-new-game, 5x5-randomize):
11493 Reset 5x5-solver-output to nil when a new grid is cast.
11494 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11495 these debugging traces, as defmacro breaks the compiled code.
11497 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11499 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11501 2011-05-24 Leo Liu <sdl.web@gmail.com>
11503 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11504 (vc-bzr-sha1): Adapt.
11506 * sha1.el: Remove. Function `sha1' is now builtin.
11508 * bindings.el: Provide sha1 feature.
11510 2011-05-24 Kenichi Handa <handa@m17n.org>
11512 * mail/sendmail.el: Require `rfc2047'.
11513 (mail-insert-from-field): Do not perform RFC2047 encoding.
11514 (mail-encode-header): New function.
11515 (sendmail-send-it): Set buffer-file-coding-system of the work
11516 buffer to the return value of select-message-coding-system.
11517 Call mail-encode-header.
11519 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11521 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11523 * mail/supercite.el (sc-default-cite-frame):
11524 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11526 2011-05-24 Glenn Morris <rgm@gnu.org>
11528 * progmodes/python.el (brm-menu): Declare.
11530 * emulation/viper.el (viper-set-hooks): Declare.
11532 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11533 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11534 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11535 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11536 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11537 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11539 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11541 Add an :exit-function for completion-at-point.
11543 * minibuffer.el (completion--done): New fun.
11544 (completion--do-completion): Use it. New arg `expect-exact'.
11545 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11546 since completion--do-completion does it for us now.
11547 (minibuffer-force-complete): Use completion--done and
11548 completion--replace. Handle sole-completion case with more care.
11549 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11550 (completion-extra-properties): New var.
11551 (completion-annotate-function): Make obsolete.
11552 (minibuffer-completion-help): Adjust accordingly.
11553 Use completion-list-insert-choice-function.
11554 (completion-at-point, completion-help-at-point):
11555 Bind completion-extra-properties.
11556 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11557 * simple.el (completion-list-insert-choice-function): New var.
11558 (completion-setup-function): Preserve it.
11559 (choose-completion): Pay attention to it, shuffle the code a bit.
11560 (choose-completion-string): New arg `insert-function'.
11562 * textmodes/bibtex.el: Convert to lexical binding.
11563 (bibtex-mode-map): Use completion-at-point.
11564 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11565 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11566 (bibtex-complete): Define as obsolete alias.
11567 (bibtex-complete-internal): Remove.
11568 (bibtex-format-entry): Remove unused sub-group in regexp.
11569 * shell.el (shell--command-completion-data)
11570 (shell-environment-variable-completion):
11571 * pcomplete.el (pcomplete-completions-at-point):
11572 * comint.el (comint--complete-file-name-data): Use :exit-function
11573 instead of completion-table-with-terminator so it also works for
11576 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11578 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11580 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11583 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11585 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11587 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11588 customization variable and implement: If non-nil, auto-fill will
11589 be inhibited while on topic's header line.
11591 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11593 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11594 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11595 always have a solution in grid size = 5 cases.
11596 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11597 (5x5-solver-output, 5x5-log-buffer): New vars.
11598 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11599 Make these variables buffer local to achieve 5x5 multi-session-ness.
11600 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11601 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11602 (5x5-solve-suggest): New funs.
11603 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11604 randomize a grid so that we ensure that there is always a solution.
11605 (5x5-make-random-grid): Allow other movement than flipping.
11607 2011-05-23 Kevin Ryde <user42@zip.com.au>
11609 * emacs-lisp/advice.el (ad-read-advised-function):
11610 Use `function-called-at-point' as the default, if it has
11611 advice and passes PREDICATE.
11613 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11615 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11616 byte-compile-lambda if it's actually a lambda.
11618 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11619 Fix function quoting. Use backquote better.
11621 2011-05-22 Yuanle Song <sylecn@gmail.com>
11623 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11624 matching (Bug#8516).
11626 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11628 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11629 different face (Bug#8178).
11631 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11633 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11634 defface (Bug#8144).
11636 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11638 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11639 funcall as well (bug#8712). Warn when performing those conversions.
11640 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11642 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11644 2011-05-22 Glenn Morris <rgm@gnu.org>
11646 * files.el (hack-local-variables-prop-line): Small simplifications.
11647 (hack-local-variables, hack-local-variables-prop-line):
11648 If MODE-ONLY, return the mode, rather than just `t'.
11650 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11652 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11654 2011-05-21 Glenn Morris <rgm@gnu.org>
11656 * files.el (hack-local-variables-prop-line, hack-local-variables):
11657 If only interested in the mode, don't bother doing the other stuff.
11659 * image-mode.el (image-after-revert-hook):
11660 Redraw all frames on which the image is visible. (Bug#8567)
11662 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11664 * wid-edit.el (widget-checklist-match-inline):
11665 Fix 2011-04-19 change. (Bug#8649)
11667 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11669 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11670 Also allow singlespace after single-letter capitals followed by a dot.
11672 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11673 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11675 2011-05-20 Nix <nix@esperi.org.uk>
11677 * files.el (basic-save-buffer-2):
11678 Fix handling of break-hardlink-on-save with non-existent files.
11680 2011-05-19 Deniz Dogan <deniz@dogan.se>
11682 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11683 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11685 2011-05-19 Glenn Morris <rgm@gnu.org>
11687 * progmodes/f90.el (f90-type-def-re):
11688 Handle "type, bind(c)". (Bug#8691)
11690 * emacs-lisp/autoload.el (batch-update-autoloads):
11691 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11693 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11695 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11696 property for the correct connection in case of multihops.
11698 2011-05-18 Glenn Morris <rgm@gnu.org>
11700 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11701 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11703 Rationalize calendar handling of day and month abbrev-arrays.
11704 * calendar/calendar.el (calendar-customized-p): New function.
11705 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11706 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11708 (calendar-abbrev-length, calendar-day-abbrev-array)
11709 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11710 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11711 Elements may no longer be nil.
11712 (calendar-day-name, calendar-month-name):
11713 Update for changed nature of abbrev arrays.
11714 * calendar/diary-lib.el (diary-name-pattern):
11715 Update for changed nature of abbrev arrays.
11716 (diary-mark-entries-1): Update calendar-make-alist calls.
11717 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11718 * calendar/cal-html.el (cal-html-day-abbrev-array):
11719 Simply inherit from calendar-day-abbrev-array.
11721 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11723 * progmodes/grep.el (grep-mode): Disable default
11724 compilation-directory-matcher setting (bug#8684).
11726 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11728 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11729 instead of "head" and "tail". There were problems with SunOS 5.9,
11730 and it performs better.
11732 2011-05-17 Glenn Morris <rgm@gnu.org>
11734 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11736 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11737 Replace obsolete function.
11739 * shell.el (pcomplete-parse-arguments-function): Declare.
11741 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11742 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11743 (appt-check): Doc fixes.
11744 (appt-disp-window-function, appt-delete-window-function):
11745 Remove needless special case in custom :type.
11746 (appt-display-count): Default to 0, not nil.
11747 (appt-check): Reset appt-display-count to 0, not nil.
11749 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11751 * progmodes/python.el (python-font-lock-keywords):
11752 Add the Python 3.X keyword "nonlocal" (bug#8639).
11754 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11756 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11758 2011-05-16 Kevin Ryde <user42@zip.com.au>
11760 * info-look.el (makefile-automake-mode): New setups, looking in
11761 automake manual, then makefile-mode.
11762 (makefile-mode): Remove automake manual, have it just in
11763 makefile-automake-mode since there's various things different or
11764 not relevant to plain make.
11765 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11766 believe a hypothetical automake-mode would go to makefile-mode,
11767 not the other way around.
11769 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11771 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11772 hunk-end tags (Bug#8672).
11774 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11775 vc-annotate-show-diff-revision-at-line (Bug#8671).
11777 2011-05-14 Glenn Morris <rgm@gnu.org>
11779 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11780 in the middle of an existing one with multiple authors. (Bug#8645)
11781 (change-log-font-lock-keywords): Also handle multiple author lines
11782 with leading tabs. (Bug#8644)
11784 * calendar/appt.el (appt-check): Rename some local variables.
11785 Some simplification/reordering.
11787 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11788 (feedmail-sendmail-f-doesnt-sell-me-out)
11789 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11790 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11791 (feedmail-queue-runner-message-sender): Set :version.
11792 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11793 (bbdb-dwim-net-address, vm-mail): Declare.
11794 (feedmail-binmail-gnulinuxish-template):
11795 Rename from feedmail-binmail-linuxish-template.
11796 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11797 Use insert-buffer-substring.
11799 2011-05-14 Bill Carpenter <bill@carpenter.org>
11801 * mail/feedmail.el (feedmail-patch-level): Increase.
11802 (feedmail-debug): New custom group.
11803 (feedmail-confirm-outgoing-timeout)
11804 (feedmail-sendmail-f-doesnt-sell-me-out)
11805 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11806 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11807 (feedmail-sender-line, feedmail-from-line)
11808 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11809 (feedmail-spray-this-address)
11810 (feedmail-spray-address-fiddle-plex-list)
11811 (feedmail-queue-use-send-time-for-date)
11812 (feedmail-queue-use-send-time-for-message-id)
11813 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11814 (feedmail-buffer-eating-function):
11816 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11817 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11818 (feedmail-message-action-scroll-down): New functions.
11819 (feedmail-queue-directory, feedmail-queue-draft-directory):
11820 Use expand-file-name.
11821 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11822 Remove C-v help entry.
11823 (feedmail-queue-buffer-file-name): New variable.
11824 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11825 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11826 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11827 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11828 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11829 (feedmail-message-action-toggle-spray)
11830 (feedmail-run-the-queue-no-prompts)
11831 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11832 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11833 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11834 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11835 (feedmail-envelope-deducer, feedmail-fiddle-from)
11836 (feedmail-fiddle-sender, feedmail-default-date-generator)
11837 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11838 (feedmail-fiddle-spray-address)
11839 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11840 (feedmail-fiddle-list-of-fiddle-plexes)
11841 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11842 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11843 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11844 Change default. Doc fix.
11845 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11846 (feedmail-binmail-linuxish-template): New constant.
11847 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11848 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11849 (feedmail-send-it): Add debug call.
11850 Use feedmail-queue-buffer-file-name, and
11851 feedmail-send-it-immediately-wrapper.
11852 (feedmail-message-action-send): Add debug call.
11853 Use feedmail-send-it-immediately-wrapper.
11854 (feedmail-queue-express-to-queue): Add debug call.
11855 Run feedmail-queue-express-hook.
11856 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11857 (feedmail-message-action-help-blat):
11858 Rename from feedmail-queue-send-edit-prompt-help-first.
11859 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11860 Check line-endings. Handle errors better.
11861 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11862 Doc fix. Add debug call.
11863 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11864 Use feedmail-queue-send-edit-prompt-inner.
11865 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11866 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11867 from feedmail-queue-send-edit-prompt.
11868 (feedmail-queue-send-edit-prompt-help)
11869 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11870 (feedmail-tidy-up-slug): Add debug call.
11871 Respect feedmail-queue-slug-suspect-regexp.
11872 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11873 (feedmail-dump-message-to-queue): Add debug call.
11874 Expand queue-directory.
11875 (feedmail-dump-message-to-queue): Change message slightly.
11876 Use feedmail-say-chatter.
11877 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11878 (feedmail-send-it-immediately-wrapper): New function.
11879 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11880 Insert empty string rather than newline. Handle full-frame case.
11881 Use catch/throw. Use feedmail-say-chatter.
11882 (feedmail-fiddle-from): Try mail-host-address.
11883 (feedmail-default-message-id-generator): Doc fix.
11884 Bind system-time-locale. Handle missing end.
11885 (feedmail-fiddle-x-mailer): Add debug call.
11886 Handle feedmail-x-mailer-line being nil.
11887 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11888 Add debug call. Use buffer-substring-no-properties.
11889 (feedmail-say-debug, feedmail-say-chatter): New functions.
11890 (feedmail-find-eoh): Give an explicit error.
11892 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11894 * net/newst-treeview.el (newsticker-treeview-face): Change default
11895 family from helvetica to sans.
11896 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11897 etc/images/newsticker.
11899 * net/newst-reader.el (newsticker-feed-face): Change default
11900 family from helvetica to sans.
11902 * net/newst-plainview.el (newsticker-new-item-face)
11903 (newsticker-old-item-face, newsticker-immortal-item-face)
11904 (newsticker-obsolete-item-face, newsticker-date-face)
11905 (newsticker-statistics-face): Change default family from
11907 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11908 etc/images/newsticker.
11910 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11911 (newsticker--process-auto-mark-filter-match): Tell user about
11914 2011-05-13 Didier Verna <didier@xemacs.org>
11916 Common Lisp indentation improvements on defmethod and lambda-lists.
11917 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11919 (lisp-lambda-list-keyword-parameter-indentation)
11920 (lisp-lambda-list-keyword-parameter-alignment)
11921 (lisp-lambda-list-keyword-alignment): New customizable user options.
11922 (lisp-indent-defun-method): Improve docstring.
11923 (extended-loop-p): Fix comment.
11924 (lisp-indent-lambda-list-keywords-regexp): New variable.
11925 (lisp-indent-lambda-list): New function.
11926 (lisp-indent-259): Use it.
11927 (lisp-indent-defmethod): Support for more than one
11928 method qualifier and properly indent methods lambda-lists.
11929 (defgeneric): Provide a missing common-lisp-indent-function property.
11931 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11933 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11934 bounds for the empty string (bug#8667).
11936 2011-05-13 Glenn Morris <rgm@gnu.org>
11938 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11940 * mail/sendmail.el (sendmail-program): Try executable-find first.
11941 (sendmail-send-it): `sendmail-program' cannot be unbound.
11943 * calendar/appt.el (appt-make-list): Simplify.
11944 (appt-time-msg-list): Doc fix.
11945 (appt-check): Change mode-line message at the time of the appointment.
11947 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11949 * progmodes/ld-script.el (ld-script-keywords)
11950 (ld-script-builtins): Update keywords list.
11952 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11954 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11956 * shell.el (shell-completion-vars): New function.
11958 * simple.el (read-shell-command): Use it.
11959 (blink-matching-open): No need for " [...]" in minibuffer-message.
11961 2011-05-12 Glenn Morris <rgm@gnu.org>
11963 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11964 (appt-check): Simplify.
11966 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11968 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11969 literal "/dev/null".
11971 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11973 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11976 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11978 * progmodes/which-func.el (which-function):
11979 Use add-log-current-defun instead of add-log-current-defun-function,
11980 which might not be defined (Bug#8260).
11982 2011-05-12 Glenn Morris <rgm@gnu.org>
11984 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11985 Let byte-compile-initial-macro-environment always take precedence.
11987 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11989 * net/rcirc.el: Add support for SSL/TLS connections.
11990 (rcirc-server-alist): New field `encryption'.
11991 (rcirc): Check `encryption' settings.
11992 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11993 Merge make-local-variable into `set'.
11994 (rcirc--connection-open-p): New function.
11995 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11996 the process is not a network process (e.g. running gnutls-cli).
11997 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11998 Make rcirc-(en|de)code-coding-system local here.
11999 (rcirc-mode): Merge make-local-variable into `set'.
12000 (rcirc-parent-buffer): Make permanent buffer-local.
12001 (rcirc-multiline-minor-mode): Don't do it here.
12002 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12003 there's no server buffer.
12005 2011-05-11 Glenn Morris <rgm@gnu.org>
12007 * newcomment.el (comment-kill): Prefix "unused" local.
12009 * term/w32console.el (get-screen-color): Declare.
12011 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12012 Handle symbol elements of byte-compile-initial-macro-environment.
12014 2011-05-10 Leo Liu <sdl.web@gmail.com>
12016 * bookmark.el (bookmark-bmenu-mode-map):
12017 Bind bookmark-bmenu-search to `/'.
12019 * mail/footnote.el: Convert to utf-8 encoding.
12020 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12021 (Footnote-unicode): New function.
12022 (footnote-style-alist): Add unicode style to the list.
12023 (footnote-style): Doc fix.
12025 2011-05-10 Jim Meyering <meyering@redhat.com>
12027 Fix doubled-word typos.
12028 * international/quail.el (quail-insert-kbd-layout): and and -> and
12029 * kermit.el: and and -> and
12030 * net/ldap.el (ldap-search-internal): to to -> to
12031 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12032 * progmodes/js.el (js-mode): and and -> and
12033 * textmodes/artist.el (artist-move-to-xy): at at -> at
12034 (artist-draw-region-trim-line-endings): if if -> if
12035 And Safetyc -> Safety.
12036 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12038 2011-05-10 Glenn Morris <rgm@gnu.org>
12039 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * files.el (hack-one-local-variable-eval-safep):
12042 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12044 2011-05-10 Glenn Morris <rgm@gnu.org>
12046 * calendar/diary-lib.el (diary-list-entries-hook)
12047 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12048 (diary-nongregorian-marking-hook, diary-list-entries)
12049 (diary-include-other-diary-files, diary-mark-entries)
12050 (diary-mark-included-diary-files): Doc fixes.
12052 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12054 * misc.el: Require tabulated-list.el during compilation.
12056 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12058 * progmodes/compile.el (compilation-start):
12059 Run compilation-filter-hook for the async case too.
12060 (compilation-filter-hook): Doc fix.
12062 2011-05-09 Deniz Dogan <deniz@dogan.se>
12064 * wdired.el: Remove outdated installation comment. Fix usage
12067 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12069 * misc.el: Implement new command `list-dynamic-libraries'.
12070 (list-dynamic-libraries--loaded-only-p): New variable.
12071 (list-dynamic-libraries--refresh): New function.
12072 (list-dynamic-libraries): New command.
12074 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12076 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12077 Fix the ant regexp to handle end-line and end-column info from jikes.
12078 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12079 higher priority to avoid clobbering by gnu.
12081 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12083 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12084 if the face has existing theme settings (Bug#8454).
12086 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12088 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12089 Only match variables declared via `my' or `our' (Bug#8261).
12091 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12092 special file names `.' and `..' (Bug#8259).
12094 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12096 * progmodes/grep.el (grep-mode-font-lock-keywords):
12097 Remove buffer-changing entries.
12098 (grep-filter): New function.
12099 (grep-mode): Add it to compilation-filter-hook.
12101 * progmodes/compile.el (compilation-filter-hook)
12102 (compilation-filter-start): New defvars.
12103 (compilation-filter): Call compilation-filter-hook prior to
12104 updating the process mark.
12106 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12108 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12110 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12112 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12113 mailclient-send-it even if window-system is nil. (Bug#8595)
12115 * term/w32console.el (terminal-init-w32console):
12116 Call get-screen-color and use its output to set the frame
12117 background-mode. (Bug#8597)
12119 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12121 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12122 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12124 (defgeneric, eieio--defmethod): Use them.
12125 (eieio-defgeneric): Remove.
12126 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12128 2011-05-07 Glenn Morris <rgm@gnu.org>
12130 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12131 Use let rather than let*.
12132 (timeclock-find-discrep): Remove unused local.
12134 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12136 * calendar/appt.el (appt-time-msg-list): Doc fix.
12138 2011-05-06 Noah Friedman <friedman@splode.com>
12140 * apropos.el (apropos-print-doc): Only use
12141 emacs-lisp-docstring-fill-column when it is bound to an integer,
12142 per that variable's documentation.
12144 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12146 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12147 and warnings are not silently discarded (e.g. use -d instead of -P).
12149 2011-05-06 Glenn Morris <rgm@gnu.org>
12151 * calendar/appt.el (appt-message-warning-time): Doc fix.
12152 (appt-warning-time-regexp): New option.
12153 (appt-make-list): Respect appt-message-warning-time.
12155 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12157 (diary-add-to-list): Strip comments from the displayed string.
12158 (diary-mode): Set comment-start and comment-end.
12160 * vc/diff-mode.el (smerge-refine-subst): Declare.
12161 (diff-refine-hunk): Don't require smerge-mode when compiling.
12163 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12165 * simple.el (list-processes): Return nil as the docstring says.
12167 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12169 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12171 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12172 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12173 determining of binary transfer. (Bug#7383)
12175 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12177 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12178 Fix port computation bug. (Bug#8618)
12180 2011-05-05 Glenn Morris <rgm@gnu.org>
12182 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12184 * simple.el (shell-dynamic-complete-functions)
12185 (comint-dynamic-complete-functions): Declare.
12187 * net/network-stream.el (gnutls-negotiate):
12188 * simple.el (tabulated-list-print): Fix declarations.
12190 * progmodes/gud.el (syntax-symbol, syntax-point):
12191 Remove unnecessary and incorrect declarations.
12193 * emacs-lisp/check-declare.el (check-declare-scan):
12194 Handle byte-compile-initial-macro-environment in bytecomp.el
12196 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12198 Fix earlier half-done eieio-defmethod change (bug#8338).
12199 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12200 Streamline and change calling convention.
12201 (defmethod): Adjust accordingly and simplify.
12202 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12203 new eieio--defmethod.
12204 (slot-boundp): Minor CSE simplification.
12206 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12208 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12209 (glasses-make-readable): Use glasses-separate-capital-groups.
12211 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12213 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12214 (warning-series): Doc fix.
12215 (display-warning): Don't try to create the buffer if we just found it.
12217 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12219 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12220 (autoload-find-generated-file): New function.
12221 (generate-file-autoloads): Bind generated-autoload-file to
12223 (update-file-autoloads, update-directory-autoloads):
12224 Use autoload-find-generated-file. If called interactively, prompt for
12225 output file (Bug#7989).
12226 (batch-update-autoloads): Doc fix.
12228 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12230 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12232 2011-05-04 Glenn Morris <rgm@gnu.org>
12234 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12235 function, so it follows changes in calendar-date-style.
12236 (diary-fancy-date-matcher): New function.
12237 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12238 (diary-fancy-font-lock-fontify-region-function):
12239 Use diary-fancy-date-pattern as a function.
12241 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12242 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12244 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12246 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12247 instead of positional arguments. Allow :keylist and :crlfiles
12249 (open-gnutls-stream): Call it.
12251 * net/network-stream.el (network-stream-open-starttls): Adjust to
12252 call `gnutls-negotiate' with :process and :hostname arguments.
12254 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12256 * minibuffer.el (completion--message): New function.
12257 (completion--do-completion, minibuffer-complete)
12258 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12259 (completion--do-completion): Don't ignore completion-auto-help when in
12262 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12263 internal encoding (e.g. tibetan zero is not whitespace).
12264 (global-whitespace-mode): Prefer save-current-buffer.
12265 (whitespace-trailing-regexp): Remove useless save-match-data.
12266 (whitespace-empty-at-bob-regexp): Minor simplification.
12268 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12270 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12272 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12274 * textmodes/ispell.el (ispell-add-per-file-word-list):
12275 Use `concat' to create string for insertion.
12277 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12279 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12280 Avoid open-line which runs post-self-insert-hook.
12281 (bibtex-fill-entry): Remove unused `end' var.
12283 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12285 * textmodes/ispell.el (ispell-add-per-file-word-list):
12286 Protect against `nil' value of `comment-start' (Bug#8579).
12288 2011-05-03 Leo Liu <sdl.web@gmail.com>
12290 * isearch.el (isearch-yank-pop): New command.
12291 (isearch-mode-map): Bind it to `M-y'.
12292 (isearch-forward): Mention it.
12294 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12296 * simple.el (minibuffer-complete-shell-command): Remove.
12297 (minibuffer-local-shell-command-map): Use completion-at-point.
12298 (read-shell-command): Setup completion vars here instead.
12299 (read-expression-map): Bind TAB to symbol completion.
12301 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12302 error directly rather via storing it into `results'.
12304 2011-05-02 Leo Liu <sdl.web@gmail.com>
12306 * vc/diff.el: Fix description.
12308 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12310 * server.el (server-eval-at): New function.
12312 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12314 * net/network-stream.el (open-network-stream): Take a :nowait
12315 parameter and pass it on to `make-network-process'.
12316 (network-stream-open-plain): Ditto.
12318 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12320 * faces.el (face-spec-set-match-display): Don't match toolkit
12321 options on terminal frames.
12323 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12325 * progmodes/pascal.el: Use lexical binding.
12326 (pascal-mode-map): Remove author preferences.
12328 * pcomplete.el (pcomplete-std-complete): Don't abuse
12329 completion-at-point.
12331 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12333 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12334 removing code that has been dead since 1991 or so.
12336 * startup.el (command-line): When warning about "_emacs", use a
12337 delayed warning to allow the user to filter it out.
12339 2011-04-28 Deniz Dogan <deniz@dogan.se>
12341 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12342 user has not joined.
12344 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12347 aren't any completions at point.
12349 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12351 * subr.el (display-delayed-warnings): New function.
12352 (delayed-warnings-hook): New variable.
12354 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * minibuffer.el (completion-at-point, completion-help-at-point):
12357 Don't presume that a given completion-at-point-function will always
12358 use the same calling convention.
12360 * pcomplete.el (pcomplete-completions-at-point):
12361 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12362 pcomplete-seen is non-nil.
12363 (pcomplete-comint-setup): Also recognize the new comint/shell
12364 completion functions.
12365 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12366 pcomplete-seen is non-nil.
12368 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12370 * calendar/icalendar.el (diary-lib): Add require statement.
12371 (icalendar--create-uid): Read out a uid from a text-property on
12372 the first character in the entry. This allows for code to add its
12373 own uid to the entry.
12374 (icalendar--convert-float-to-ical): Add export of
12375 `diary-float'-entries save for those with the optional DAY
12378 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12380 * subr.el (shell-quote-argument): Use alternate escaping strategy
12381 when we spot a variable reference in a string.
12383 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12385 * cus-start.el (all): Define customization for debug-on-event.
12387 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12389 * subr.el (shell-quote-argument): Escape correctly under Windows.
12391 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12393 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12395 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12397 * net/tramp.el (tramp-process-actions): Add POS argument.
12398 Delete region between POS and (pos).
12400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12401 Use `nil' position in `tramp-process-actions' call.
12402 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12404 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12405 position in `tramp-process-actions' call.
12407 * net/trampver.el: Update release number.
12409 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * custom.el (defcustom): Obey lexical-binding.
12413 Fix octave-inf completion problems reported by Alexander Klimov.
12414 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12415 Inherit from octave-mode-syntax-table.
12416 (inferior-octave-mode): Set info-lookup-mode.
12417 (inferior-octave-completion-at-point): New function.
12418 (inferior-octave-complete): Use it and completion-in-region.
12419 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12420 comint-filename-completion.
12421 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12422 symbol elements which shouldn't be word elements.
12423 (octave-font-lock-keywords, octave-beginning-of-defun)
12424 (octave-function-header-regexp): Adjust regexps accordingly.
12425 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12427 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12429 * net/gnutls.el (gnutls-errorp): Declare before first use.
12431 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12433 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12434 verify-error, and verify-hostname-error parameters. Check whether
12435 default trustfile exists before going to use it. Add missing
12436 argument to gnutls-message-maybe call. Return value.
12437 Reported by Claudio Bley <claudio.bley@gmail.com>.
12438 (open-gnutls-stream): Add usage example.
12440 * net/network-stream.el (network-stream-open-starttls): Give host
12441 parameter to `gnutls-negotiate'.
12442 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12443 * subr.el (shell-quote-argument): Escape correctly under Windows.
12445 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12448 Use correct match group (bug#8438).
12450 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12452 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12453 (package-menu--generate): New arg specifying packages to show.
12454 (package-menu-refresh, package-menu-execute, list-packages):
12456 (package-show-package-list): New function, replacing deleted
12457 package--list-packages (renamed because it is non-internal).
12459 * finder.el (finder-list-matches): Use package-show-package-list
12460 instead of deleted package--list-packages.
12462 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12463 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12464 (vc-annotate-mode-map): Bind it to RET.
12466 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12468 * progmodes/etags.el (next-file): Don't use set-buffer to change
12469 buffers (Bug#8478).
12471 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12473 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12475 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12476 (apropos-accumulator): Doc fix.
12477 (apropos-function, apropos-macro, apropos-command)
12478 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12479 (apropos-plist): Add face property.
12480 (apropos-symbols-internal): Fix indentation.
12481 (apropos-print): Simplify help, and recognize apropos-multi-type.
12482 (apropos-print-doc): Use button-type-get to extract the button's
12483 face property. Fill docstring (Bug#8352).
12485 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12487 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12489 * play/mpuz.el (mpuz-silent): Doc fix.
12490 (mpuz-mode-map): Use mapc.
12491 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12492 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12493 Fix typos in docstrings.
12495 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12496 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12498 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12500 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12502 * minibuffer.el (completion--do-completion): Avoid the "Next char
12503 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12505 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12506 mouse-2 into unread-command-events, it is interpreted correctly.
12508 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12509 (image-toggle-display): Doc fix.
12511 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12513 * textmodes/page.el (what-page): Use line-number-at-pos to
12514 calculate line number (Bug#6825).
12516 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12518 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12519 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12520 Pass argument NO-DEFAULT to `find-tag-interactive'.
12522 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12524 Lexical-binding cleanup.
12526 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12527 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12528 * progmodes/ada-prj.el (ada-prj-initialize-values)
12529 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12530 (ada-prj-show-value):
12531 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12532 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12533 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12534 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12535 * progmodes/bug-reference.el (bug-reference-push-button):
12536 * progmodes/fortran.el (fortran-line-length):
12537 * progmodes/glasses.el (glasses-change):
12538 * progmodes/octave-mod.el (octave-fill-paragraph):
12539 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12540 (python-pdbtrack-grub-for-buffer, python-sentinel):
12541 * progmodes/sql.el (sql-save-connection):
12542 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12543 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12544 Mark unused parameters.
12546 * progmodes/compile.el (compilation--flush-directory-cache)
12547 (compilation--flush-parse, compile-internal): Mark unused parameters.
12548 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12549 (compilation-next-error-function): Remove unused variable `timestamp'.
12551 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12552 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12554 * progmodes/dcl-mode.el (dcl-end-of-command):
12555 Remove unused variable `start'.
12556 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12557 (dcl-option-value-basic, dcl-option-value-offset)
12558 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12559 Mark unused parameters.
12560 (dcl-save-local-variable): Remove unused variable `val'.
12563 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12564 Mark unused parameters.
12565 (delphi-ignore-changes): Move before first use.
12566 (delphi-charset-token-at): Remove unused variable `start'.
12567 (delphi-else-start): Remove unused variable `if-count'.
12568 (delphi-comment-block-start, delphi-comment-block-end):
12569 Remove unused variable `kind'.
12570 (delphi-indent-line): Remove unused variable `new-point'.
12572 * progmodes/ebrowse.el (ebrowse-files-list)
12573 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12574 Mark unused parameters. Don't quote `lambda'.
12575 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12576 Don't quote `lambda'.
12577 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12578 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12579 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12580 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12581 Use `ignore-errors'.
12582 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12583 (ebrowse-view/find-file-and-search-pattern)
12584 (ebrowse-view/find-member-declaration/definition):
12585 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12586 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12587 Rename parameter PREFIX-ARG to PREFIX.
12588 (ebrowse-tags-read-name): Remove unused variables `start' and
12590 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12593 * progmodes/etags.el (local-find-tag-hook): Declare.
12594 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12595 Mark unused parameters.
12597 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12598 (executable-interpret): Mark unused parameter.
12600 * progmodes/flymake.el (flymake-process-sentinel)
12601 (flymake-after-change-function)
12602 (flymake-create-temp-with-folder-structure)
12603 (flymake-get-include-dirs-dot): Mark unused parameters.
12604 (flymake-safe-delete-directory): Remove unused variable `err'.
12606 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12607 (speedbar-timer-fn, speedbar-line-text)
12608 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12609 (speedbar-center-buffer-smartly): Declare functions.
12610 (gdb-find-watch-expression): Remove unused variable `array'.
12611 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12612 (gdb-starting): Mark unused parameters.
12613 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12614 (gdb-table-string): Remove unused variable `res'.
12615 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12616 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12617 (gdb-display-buffer): Remove unused variable `cur-size'.
12619 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12620 allow lexical-binding compilation.
12621 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12622 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12623 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12624 Mark unused parameters.
12625 (gud-gdb-marker-filter): Remove unused variable `match'.
12626 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12627 lambda expressions and funcall them, instead of using `fset'.
12629 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12630 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12632 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12633 variable `header-beg'; use `let'.
12635 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12636 `restart', `last-sexp' and `at-do'.
12638 * progmodes/js.el (js--debug): Mark unused parameter.
12639 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12640 (js--splice-into-items): Remove unused variable `item'.
12641 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12643 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12644 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12645 (makefile-complete): Remove unused variable `try'.
12646 (makefile-fill-paragraph, makefile-match-function-end):
12647 Mark unused parameters.
12649 * progmodes/octave-inf.el (inferior-octave-complete):
12650 Remove unused variable `proc'.
12651 (inferior-octave-output-digest): Mark unused parameter.
12653 * progmodes/perl-mode.el (perl-calculate-indent):
12654 Remove unused variable `err'.
12656 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12657 (prolog-indent-line): Mark unused parameters.
12658 (prolog-indent-line): Remove unused variable `beg'.
12660 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12661 (reporter-dont-compact-list): Declare.
12663 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12664 Remove unused variable `char'.
12665 (sh-debug): Mark unused parameter.
12666 (sh-get-indent-info): Remove unused variable `start'.
12667 (sh-calculate-indent): Remove unused variable `var'.
12669 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12670 (simula-electric-keyword): Remove unused variable `null'.
12671 (simula-search-backward, simula-search-forward): Remove unused
12672 variables `begin' and `end'.
12674 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12675 Remove unused variable `pos'.
12676 (vera-electric-tab, vera-comment-uncomment-region):
12677 Mark unused parameters.
12678 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12680 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12682 * emacs-lisp/package.el (package--builtins, package-alist)
12683 (package-load-descriptor, package-built-in-p, package-activate)
12684 (define-package, package-installed-p)
12685 (package-compute-transaction, package-buffer-info)
12686 (package--push): Doc fix. Distinguish more clearly between
12687 version strings and version lists.
12689 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12691 Lexical-binding cleanup.
12693 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12694 (5x5-make-mutate-best):
12695 * play/fortune.el (fortune-in-buffer):
12696 * play/gomoku.el (gomoku-init-display):
12697 * play/solitaire.el (solitaire, solitaire-do-check):
12698 * play/tetris.el (tetris-default-update-speed-function):
12699 Mark unused parameters.
12701 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12702 (bubbles--shift): Remove unused variable `char-org'.
12703 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12704 (bubbles--show-images): Remove unused variable `char'.
12706 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12707 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12708 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12709 (decipher-analyze-buffer): Use ?\s.
12710 (decipher-make-checkpoint): Remove unused variable `mapping'.
12712 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12714 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12715 Remove unused variable `result'; use `let'.
12717 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12718 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12719 (gametree-children-shown-p, gametree-compute-reduced-score):
12720 Use `ignore-errors'.
12722 * play/handwrite.el (ps-lpr-switches): Declare.
12723 (handwrite): Remove unused variables `pmin' and `lastp'.
12725 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12727 * play/landmark.el (landmark-init-display)
12728 (landmark-update-naught-weights): Mark unused parameters.
12729 (landmark-y): Remove unused variable `noise'. Simplify.
12730 (landmark-human-plays): Remove unused variable `score'.
12732 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12733 (mpuz-try-proposal): Remove unused variable `game'.
12735 * play/zone.el (life-patterns): Declare.
12737 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12739 * vc/vc.el (ediff-vc-internal): Declare function.
12741 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12743 * shell.el: Use lexical-binding and std completion UI.
12744 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12745 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12746 comint-preoutput-filter-functions rather than on
12747 comint-output-filter-functions.
12748 (shell-command-completion, shell--command-completion-data)
12749 (shell-filename-completion, shell-environment-variable-completion)
12750 (shell-c-a-p-replace-by-expanded-directory): New functions.
12751 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12752 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12753 (shell-dynamic-complete-environment-variable): Use them.
12754 (shell-dynamic-complete-as-environment-variable)
12755 (shell-dynamic-complete-as-command): Remove.
12756 (shell-match-partial-variable): Match past point.
12757 * comint.el: Clean up use of completion-at-point-functions.
12758 (comint-completion-at-point): New function.
12759 (comint-mode): Use it completion-at-point-functions.
12760 (comint-dynamic-complete): Make it obsolete.
12761 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12762 (comint-c-a-p-replace-by-expanded-history): New function.
12763 (comint-dynamic-complete-functions)
12764 (comint-replace-by-expanded-history): Use it.
12765 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12766 termination strings. Try harder to avoid second try-completion.
12767 (completion-in-region-mode-map): Disable bindings that don't work yet.
12769 * comint.el: Use lexical-binding. Require CL.
12770 (comint-dynamic-complete-functions): Use comint-filename-completion.
12771 (comint-completion-addsuffix): Tweak custom type.
12772 (comint-filename-completion, comint--common-suffix)
12773 (comint--common-quoted-suffix, comint--table-subvert)
12774 (comint--complete-file-name-data): New functions.
12775 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12776 (comint-dynamic-list-filename-completions): Use them.
12777 (comint-dynamic-simple-complete): Make obsolete.
12779 * minibuffer.el (completion-in-region-mode):
12780 Keep completion-in-region-mode--predicate global.
12781 (completion-in-region--postch):
12782 Assume completion-in-region-mode--predicate is not null.
12784 * progmodes/flymake.el (flymake-start-syntax-check-process):
12785 Obey `dir'. Simplify.
12787 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12788 we're in VC after all.
12790 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12792 * vc/vc.el (vc-diff-build-argument-list-internal)
12793 (vc-version-ediff, vc-ediff): New commands.
12794 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12796 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12798 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12801 * obsolete/erc-hecomplete.el: Make obsolete.
12802 * obsolete/: Standardize obsolescence info in the header.
12804 2011-04-20 Glenn Morris <rgm@gnu.org>
12806 * calendar/solar.el (solar-horizontal-coordinates):
12807 Use the longitude argument rather than `calendar-longitude'.
12808 (solar-date-next-longitude): Remove unused locals.
12810 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12812 * whitespace.el: New version 13.2.1.
12814 2011-04-20 felix <EmacsWiki> (tiny change)
12816 * whitespace.el (global-whitespace-mode): Keep highlight when
12817 switching between major modes on a file.
12819 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12822 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12823 multi-line comments as well.
12825 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12827 Lexical-binding cleanup.
12829 * arc-mode.el (archive-mode-revert):
12830 * cmuscheme.el (scheme-interactively-start-process):
12831 * custom.el (custom-initialize-delay):
12832 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12833 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12834 * emacs-lock.el (emacs-lock-clear-sentinel):
12835 * ezimage.el (defezimage):
12836 * follow.el (follow-avoid-tail-recenter):
12837 * fringe.el (set-fringe-mode-1):
12838 * generic-x.el (bat-generic-mode-compile):
12839 * help-mode.el (help-info-variable, help-do-xref)
12840 (help-mode-revert-buffer):
12841 * help.el (view-emacs-todo):
12842 * iswitchb.el (iswitchb-completion-help):
12843 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12844 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12845 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12846 * locate.el (locate-update):
12847 * longlines.el (longlines-encode-region)
12848 (longlines-after-change-function):
12849 * outline.el (outline-isearch-open-invisible):
12850 * ps-def.el (declare-function, charset-dimension, char-width)
12852 * ps-mule.el (ps-mule-plot-string):
12853 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12854 (recentf-edit-list-select, recentf-edit-list-validate)
12855 (recentf-open-files-action):
12856 * rect.el (delete-whitespace-rectangle-line)
12857 (rectangle-number-line-callback):
12858 * register.el (window-configuration-to-register)
12859 (frame-configuration-to-register):
12860 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12861 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12862 (xselect-convert-to-targets, xselect-convert-to-delete)
12863 (xselect-convert-to-filename, xselect-convert-to-charpos)
12864 (xselect-convert-to-lineno, xselect-convert-to-colno)
12865 (xselect-convert-to-os, xselect-convert-to-host)
12866 (xselect-convert-to-user, xselect-convert-to-class)
12867 (xselect-convert-to-name, xselect-convert-to-integer)
12868 (xselect-convert-to-atom, xselect-convert-to-identity):
12869 * subr.el (declare, ignore, process-kill-without-query)
12870 (text-clone-maintain):
12871 * terminal.el (te-get-char, te-tic-sentinel):
12872 * tool-bar.el (tool-bar-make-keymap):
12873 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12874 * type-break.el (type-break-mode, type-break-noninteractive-query):
12875 * view.el (View-back-to-mark):
12876 * wid-browse.el (widget-browse-action, widget-browse-widget)
12877 (widget-browse-widgets, widget-browse-sexp):
12878 * widget.el (define-widget-keywords):
12879 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12880 Mark unused parameters.
12882 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12883 (align-areas): Remove unused variable `look'.
12884 (align-region): Remove unused variables `real-end' and `pos-list'.
12886 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12888 * bindings.el (mode-line-modified, mode-line-remote):
12889 Mark unused parameters.
12890 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12892 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12893 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12895 * comint.el (comint-history-isearch-pop-state)
12896 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12897 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12898 (comint-substitute-in-file-name): Doc fix.
12900 * completion.el (cmpl-statistics-block): Mark unused parameter.
12901 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12902 (save-completions-to-file, load-completions-from-file):
12903 Remove unused local variable `e'.
12905 * composite.el (compose-chars): Remove unused variable `len'.
12906 (lgstring-insert-glyph): Remove unused variable `g'.
12907 (compose-glyph-string): Remove unused variables `ascent',
12908 `descent', `lbearing' and `rbearing'.
12909 (compose-glyph-string-relative): Remove unused variables
12910 `lbearing', `rbearing' and `wadjust'.
12911 (compose-gstring-for-graphic): Remove unused variables `header',
12912 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12913 (compose-gstring-for-terminal): Remove unused variables `header'
12914 and `nchars'. Use `let', not `let*'.
12916 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12917 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12918 (Custom-buffer-done, custom-buffer-create-internal)
12919 (custom-browse-visibility-action, custom-browse-group-tag-action)
12920 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12921 (widget-magic-mouse-down-action, custom-toggle-parent)
12922 (custom-add-parent-links, custom-toggle-hide-variable)
12923 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12924 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12925 (custom-face-menu-create, custom-variable-menu-create, get)
12926 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12927 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12928 (customize-apropos): Remove unused variable `tests'.
12929 (custom-group-value-create): Remove unused variable `hidden-p'.
12930 (sort-fold-case): Declare.
12932 * cus-theme.el (custom-reset-standard-faces-list)
12933 (custom-reset-standard-variables-list): Declare.
12934 (customize-create-theme, custom-theme-revert, custom-theme-write)
12935 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12936 Mark unused parameters.
12938 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12940 * delim-col.el (delimit-columns-max): Move defvar before first use.
12942 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12943 (describe-char): Don't quote `lambda'. Mark unused parameter.
12945 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12946 (auto-insert): Declare.
12947 (desktop-restore-file-buffer): Rename desktop-* parameters;
12949 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12950 (desktop-buffer): Rename desktop-* parameters.
12952 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12953 (dframe-reposition-frame-xemacs, dframe-help-echo)
12954 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12955 Mark unused parameters.
12957 * dired-aux.el (backup-extract-version-start, overwrite-query)
12958 (overwrite-backup-query, rename-regexp-query)
12959 (rename-non-directory-query): Declare.
12960 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12961 (dired-add-entry): Remove unused variable `orig-file-name'.
12962 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12963 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12964 `dired-copy-preserve-time' directly.
12965 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12966 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12968 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12969 (dired-virtual-revert, dired-make-relative-symlink):
12970 Mark unused parameters.
12971 (manual-program): Declare.
12972 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12973 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12974 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12976 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12978 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12980 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12983 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12985 * electric.el (Electric-command-loop): Rename parameter
12986 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12988 * expand.el (expand-in-literal): Remove unused variable `here'.
12990 * facemenu.el (facemenu-add-new-color):
12991 Remove unused variable `docstring'.
12993 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12994 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12995 (face-attr-construct): Mark unused parameter. Doc fix.
12996 (read-color): Remove unused variable `hex-string'.
12998 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12999 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13000 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13001 (display-buffer-other-frame): Remove unused variable `old-window'.
13002 (kill-buffer-hook): Declare.
13003 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13004 Mark unused parameters.
13005 (after-find-file): Pass 1 to `auto-save-mode', not t.
13007 * files-x.el (auto-insert): Declare.
13008 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13010 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13011 variable `buf'. Mark unused parameter.
13012 (find-lisp-insert-directory): Mark unused parameter.
13014 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13015 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13016 (format-common-tail): Remove, unused.
13017 (format-deannotate-region): Remove unused variable `loc'.
13018 (format-annotate-region): Remove unused variable `p'.
13019 (format-annotate-single-property-change): Remove unused variables
13020 `default' and `tail'.
13022 * forms.el (read-file-filter): Declare.
13023 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13025 * frame.el (frame-creation-function-alist): Mark unused parameter.
13026 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13028 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13029 Remove unused parameters.
13030 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13031 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13033 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13034 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13035 (hfy-prepare-tag-map): Mark unused parameters.
13036 (htmlfontify-buffer): Use `called-interactively-p'.
13038 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13039 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13040 (ibuffer-do-occur): Mark unused parameters.
13041 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13042 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13044 * ibuffer.el: Don't quote `lambda'.
13045 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13046 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13047 Mark unused parameters.
13049 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13050 (ido-completing-read): Mark unused parameters.
13051 (ido-copy-current-word): Mark unused parameters;
13052 remove unused variable `name'.
13053 (ido-sort-merged-list): Remove unused parameter `dirs'.
13055 * ielm.el (ielm-input-sender): Mark unused parameter.
13056 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13057 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13058 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13059 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13060 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13062 * image-dired.el (image-dired-display-thumbs): Remove unused
13063 variables `curr-file' and `count'.
13064 (image-dired-remove-tag): Remove unused variable `start'.
13065 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13066 variable `curr-file'
13067 (image-dired-rotate-original): Remove unused variable `temp-file'.
13068 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13069 Remove unused variable `file'.
13070 (image-dired-gallery-generate): Remove unused variable `curr'.
13071 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13073 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13075 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13077 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13079 * isearch.el (minibuffer-history-symbol): Declare.
13080 (isearch-edit-string): Remove unused variable `err'.
13081 (isearch-message-prefix, isearch-message-suffix):
13082 Mark unused parameters.
13084 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13086 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13088 * makesum.el (double-column): Remove unused variable `cnt'.
13090 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13091 (ido-ignore-item-temp-list): Declare.
13093 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13094 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13095 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13096 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13099 * mouse-sel.el (mouse-extend-internal):
13100 Remove unused variable `orig-window-frame'.
13102 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13103 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13104 Move declarations before first use.
13105 (pcomplete-opt): Mark unused parameters; doc fix.
13107 * proced.el (proced-revert): Mark unused parameter.
13108 (proced-send-signal): Remove unused variable `err'.
13110 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13111 Rename parameter PREFIX-ARG to ARG.
13112 (ps-basic-plot-string, ps-basic-plot-whitespace):
13113 Mark unused parameters.
13115 * replace.el (replace-count): Define.
13116 (occur-revert-function): Mark unused parameters.
13117 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13118 (isearch-case-fold-search, isearch-string): Declare.
13119 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13120 bind `case-fold-search'. Remove unused variables `beg' and `end',
13122 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13123 COUNT and bind `replace-count'.
13124 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13127 * savehist.el (print-readably, print-string-length): Declare.
13129 * shadowfile.el (shadow-expand-cluster-in-file-name):
13130 Remove unused variable `cluster'.
13131 (shadow-copy-file): Remove unused variable `i'.
13132 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13133 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13134 (shadow-define-literal-group, shadow-define-regexp-group)
13135 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13137 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13138 (shell): Use `called-interactively-p'.
13139 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13141 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13142 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13143 (delete-backward-char): Remove unused variable `ocol'.
13144 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13145 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13146 (event-apply-hyper-modifier, event-apply-shift-modifier)
13147 (event-apply-control-modifier, event-apply-meta-modifier):
13148 Mark unused parameters.
13149 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13150 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13152 * speedbar.el (speedbar-ignored-directory-expressions)
13153 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13154 (speedbar-find-file, speedbar-dir-follow)
13155 (speedbar-directory-buttons-follow, speedbar-tag-find)
13156 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13157 (speedbar-buffers-line-directory, speedbar-buffer-click):
13158 Mark unused parameters.
13159 (speedbar-tag-file): Remove unused variable `mode'.
13160 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13162 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13164 * talk.el (talk): Remove unused variable `display'.
13166 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13167 (tar-write-region-annotate): Mark unused parameter.
13169 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13170 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13171 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13172 warning by another.
13174 * time-stamp.el (time-stamp-string-preprocess):
13175 Remove unused variable `require-padding'.
13177 * tree-widget.el (widget-glyph-enable): Declare.
13178 (tree-widget-action): Mark unused parameter.
13180 * w32-fns.el (x-get-selection): Mark unused parameter.
13181 (autoload-make-program, generated-autoload-file): Declare.
13183 * wdired.el (wdired-revert): Mark unused parameters.
13184 (wdired-xcase-word): Remove unused variable `err'.
13186 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13187 (whitespace-help-scroll): Remove unused variable `data-help'.
13189 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13190 (widget-image-insert, widget-after-change, default)
13191 (widget-default-format-handler, widget-default-notify)
13192 (widget-default-prompt-value, widget-info-link-action)
13193 (widget-url-link-action, widget-function-link-action)
13194 (widget-variable-link-action, widget-file-link-action)
13195 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13196 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13197 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13198 (widget-insert-button-action, widget-delete-button-action, visibility)
13199 (widget-documentation-link-action, widget-documentation-string-action)
13200 (widget-const-prompt-value, widget-regexp-match, symbol)
13201 (widget-coding-system-prompt-value)
13202 (widget-key-sequence-value-to-external, sexp)
13203 (widget-sexp-value-to-internal, character, vector, cons)
13204 (widget-choice-prompt-value, widget-boolean-prompt-value)
13205 (widget-color--choose-action): Mark unused parameters.
13206 (widget-item-match-inline, widget-choice-match-inline)
13207 (widget-checklist-match, widget-checklist-match-inline)
13208 (widget-group-match): Rename parameter VALUES to VALS.
13209 (widget-field-value-set): Remove unused variable `size'.
13210 (widget-color-action): Remove unused variables `value' and `start'.
13212 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13213 variable `dir'. Doc fix.
13214 (windmove-find-other-window): Don't pass it.
13216 * window.el (count-windows): Mark unused parameter.
13217 (bw-adjust-window): Remove unused variable `err'.
13219 * woman.el (woman-file-name): Remove unused variable `default'.
13220 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13221 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13222 (global-font-lock-mode): Declare.
13223 (woman-decode-region): Mark unused parameter.
13224 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13226 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13227 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13228 (x-dnd-handle-moz-url): Remove unused variable `title'.
13229 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13231 * xml.el (xml-parse-tag, xml-parse-attlist):
13232 Remove unused variable `pos'.
13234 2011-04-19 Glenn Morris <rgm@gnu.org>
13236 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13237 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13238 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13239 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13240 * calendar/cal-html.el (cal-html-insert-minical):
13241 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13242 (calendar-mark-date-pattern):
13243 Prefix "unused" locals.
13245 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13246 optional argument `style'.
13248 * calendar/appt.el (appt-make-list):
13249 * calendar/cal-china.el (calendar-chinese-date-string):
13250 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13251 (diary-hebrew-yahrzeit):
13252 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13253 * calendar/calendar.el (calendar-generate-window):
13254 * calendar/time-date.el (time-to-days):
13255 Remove unused local variables.
13257 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13259 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13260 glyphless-char-display table.
13261 (tabulated-list-glyphless-char-display): New var.
13263 2011-04-18 Sam Steingold <sds@gnu.org>
13265 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13266 to acknowledgments.
13268 2011-04-17 Glenn Morris <rgm@gnu.org>
13270 * calendar/diary-lib.el (diary-sexp-entry):
13271 * calendar/holidays.el (holiday-sexp):
13272 Set debug-on-error rather than the removed stack-trace-on-error.
13274 2011-04-16 Glenn Morris <rgm@gnu.org>
13276 * progmodes/f90.el: Use lexical-binding.
13277 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13279 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13281 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13282 (mail-mode): Setup mailalias completion here instead.
13283 * mail/mailalias.el: Use lexical-binding.
13284 (pattern, mailalias-done): Declare dynamic.
13285 (mail-completion-at-point-function): New function, from mail-complete.
13286 (mail-complete): Use it.
13287 (mail-completion-expand): New function.
13288 (mail-get-names): Use it.
13289 (mail-directory, mail-directory-process, mail-directory-stream):
13290 Don't use `pattern' for lexically bound arg.
13292 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13294 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13295 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13296 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13298 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13299 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13300 (byte-interactive-p): Define them again, for use when inlining
13303 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13305 * loadup.el: Use `string-to-number', not `string-to-int'.
13307 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13309 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13310 gud-gdb-complete-command.
13311 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13312 (gud-gdb-completion-at-point): New function.
13313 (gud-gdb-completions): Remove.
13315 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13317 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13318 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13319 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13320 whether `executable-find' is bound.
13322 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13324 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13326 * minibuffer.el (completion-in-region-mode-predicate)
13327 (completion-in-region-mode--predicate): New vars.
13328 (completion-in-region, completion-in-region--postch)
13329 (completion-in-region-mode): Use them.
13330 (completion--capf-wrapper): Also return the hook function.
13331 (completion-at-point, completion-help-at-point):
13332 Adjust and provide a predicate.
13334 Preserve arg names for advice of subr and lexical functions (bug#8457).
13335 * help-fns.el (help-function-arglist): Consolidate the subr and
13336 new-byte-code cases. Add argument `preserve-names' to extract names
13337 from the docstring when needed.
13338 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13339 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13340 (ad-arglist): Use help-function-arglist's new arg.
13341 (ad-definition-type): Use cond.
13343 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13345 * autorevert.el (auto-revert-handler):
13346 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13347 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13348 Don't quote lambda.
13350 * image-mode.el (image-transform-set-scale):
13351 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13353 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13355 * net/network-stream.el (network-stream-open-starttls): Only do
13356 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13357 Upgrades via gnutls-cli are too slow to be done opportunistically.
13359 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13361 * dframe.el (dframe-current-frame): Remove spurious quote.
13363 2011-04-12 Glenn Morris <rgm@gnu.org>
13365 * calendar/cal-tex.el (cal-tex-end-document):
13366 Try to automatically use latin1 input if needed.
13368 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13369 Don't try to cons a mark onto an empty element.
13371 2011-04-11 Leo Liu <sdl.web@gmail.com>
13373 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13375 (ido-kill-buffer-at-head): Support killing virtual buffers.
13377 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13379 * minibuffer.el (completion-show-inline-help): New var.
13380 (completion--do-completion, minibuffer-complete)
13381 (minibuffer-force-complete, minibuffer-complete-word):
13382 Inhibit minibuffer messages if completion-show-inline-help is nil.
13384 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13385 to avoid interference from inline help (Bug#5849).
13387 2011-04-10 Leo Liu <sdl.web@gmail.com>
13389 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13392 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13394 * image-mode.el (image-toggle-display-image): Signal an error if
13396 (image-transform-mode, image-transform-resize)
13397 (image-transform-set-rotation): Doc fix.
13398 (image-transform-set-resize): Delete.
13399 (image-transform-set-scale, image-transform-fit-to-height)
13400 (image-transform-fit-to-width): Handle image-toggle-display-image
13401 and image-transform-resize directly.
13403 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13405 * doc-view.el (doc-view-fit-width-to-window)
13406 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13407 New functions for fitting the shown image to the Emacs window size.
13408 (doc-view-mode-map): Add bindings for the new functions.
13410 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13412 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13413 Fix typo in docstring.
13415 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13417 * files.el (file-size-human-readable): Produce one digit after
13418 decimal, like "ls -lh" does.
13420 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13421 the file size representation.
13423 * simple.el (list-processes): If async subprocesses are not
13424 available, error out with a clear error message.
13426 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13428 * help.el (help-form-show): New function, to be called from C.
13429 Put help-form output in a buffer named differently than *Help*.
13431 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13433 * files.el (file-size-human-readable): New function.
13435 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13436 computing the representation inline. Don't require `cl'.
13438 2011-04-08 Glenn Morris <rgm@gnu.org>
13440 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13442 * net/browse-url.el (browse-url-firefox):
13443 Test system-type, not system-configuration.
13445 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13446 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13447 Use log-edit-empty-buffer-p. (Bug#7598)
13449 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13450 (rlogin-mode-map): Initialize in the defvar.
13451 (rlogin): Use ignore-errors.
13453 * replace.el (occur-mode-map): Some fixes for menu items.
13455 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13457 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13459 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13461 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13462 issuing unused warnings.
13464 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13467 * simple.el: Lisp reimplement of list-processes. Based on an
13468 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13469 (process-menu-mode): New major mode.
13470 (list-processes--refresh, list-processes):
13471 (process-menu-visit-buffer): New functions.
13473 * files.el (save-buffers-kill-emacs): Don't assume any return
13474 value of list-processes, which is undocumented anyway.
13476 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13478 * emacs-lisp/tabulated-list.el: New file.
13480 * emacs-lisp/package.el: Use Tabulated List mode.
13481 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13482 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13483 table format using Tabulated List mode variables.
13484 (package--push): New macro, replacing package-list-maybe-add.
13485 (package-menu--generate): Use package--push. Renamed from
13486 package--generate-package-list.
13487 (package-menu-refresh, list-packages): Use it.
13488 (package-menu--print-info): Rename from package-print-package.
13489 Return insertion data instead of inserting it directly.
13490 (package-menu-describe-package, package-menu-execute):
13491 Use tabulated-list-get-id.
13492 (package-menu-mark-delete, package-menu-mark-install)
13493 (package-menu-mark-unmark, package-menu-backup-unmark)
13494 (package-menu-mark-obsolete-for-deletion):
13495 Use tabulated-list-put-tag.
13496 (package--list-packages, package-menu-revert)
13497 (package-menu-get-package, package-menu-get-version)
13498 (package-menu-sort-by-column): Functions deleted.
13499 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13500 (package-menu--status-predicate, package-menu--version-predicate)
13501 (package-menu--name-predicate)
13502 (package-menu--description-predicate): Handle arguments in the
13503 Tabulated List format.
13504 (package-list-packages-no-fetch): Call list-packages.
13506 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13508 * files.el (after-find-file-from-revert-buffer): Remove variable.
13509 (after-find-file): Don't bind it.
13510 (revert-buffer-in-progress-p): New variable.
13511 (revert-buffer): Bind it.
13512 Pass nil for `after-find-file-from-revert-buffer'.
13514 * saveplace.el (save-place-find-file-hook): Use new variable
13515 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13517 2011-04-06 Glenn Morris <rgm@gnu.org>
13519 * Makefile.in (AUTOGEN_VCS): New variable.
13520 (autoloads): Use $AUTOGEN_VCS.
13522 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13523 * calendar/calendar.el (calendar-mode-map):
13524 Check for toolkit scroll bars. (Bug#8305)
13526 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13528 * minibuffer.el (completion-in-region--postch)
13529 (completion-in-region-mode): Remove unnecessary messages.
13531 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13533 * font-lock.el (font-lock-refresh-defaults):
13534 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13535 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13537 * info.el (Info-directory-list, Info-read-node-name-2)
13538 (Info-split-parameter-string): Doc fixes.
13539 (Info-virtual-nodes): Reflow docstring.
13540 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13541 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13542 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13543 Fix typos in docstrings.
13544 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13545 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13546 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13547 (Info-restore-desktop-buffer): Mark unused parameters.
13548 (Info-directory-find-file, Info-directory-find-node)
13549 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13550 (Info-virtual-index-find-node, Info-apropos-find-file)
13551 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13552 Mark unused parameters; fix typos in docstrings.
13553 (Info-virtual-index): Remove unused local variable `nodename'.
13555 2011-04-05 Deniz Dogan <deniz@dogan.se>
13557 * net/rcirc.el: Update my e-mail address.
13558 (rcirc-mode-map): Remove M-o binding.
13560 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13562 * startup.el (command-line): Save the cursor's theme-face
13563 directly, instead of using face-override-spec.
13565 * custom.el (load-theme): Minor optimization in assigning faces.
13567 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13569 * help-fns.el (describe-variable): Complete all variables having
13570 documentation, including keywords.
13571 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13573 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13575 Convert to lexical-binding.
13577 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13578 (bs--get-marked-string, bs--get-modified-string)
13579 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13580 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13581 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13583 * ehelp.el (electric-help-execute-extended)
13584 (electric-help-ctrl-x-prefix):
13585 * hexl.el (hexl-revert-buffer-function):
13586 * linum.el (linum-after-change, linum-after-scroll):
13587 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13589 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13591 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13598 * epg.el: Use lexical binding.
13600 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13602 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13604 * textmodes/flyspell.el (flyspell-word): Recognize default
13605 dictionary case for flyspell-mark-duplications-exceptions.
13606 Use regexp matching for languages.
13607 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13608 default dictionary (Bug#7926).
13610 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13612 * emacs-lisp/package.el (package--with-work-buffer):
13613 Recognize https URLs.
13615 * net/network-stream.el: Move from gnus/proto-stream.el.
13616 Change prefix to network-stream throughout.
13617 (open-protocol-stream): Merge into open-network-stream, leaving
13618 open-protocol-stream as an alias. Handle nil BUFFER args.
13620 * subr.el (open-network-stream): Move to net/network-stream.el.
13622 2011-04-02 Glenn Morris <rgm@gnu.org>
13624 * find-dired.el (find-exec-terminator): New option.
13625 (find-ls-option): Test for -ls support.
13626 (find-ls-subdir-switches): Test for -b in find-ls-option.
13627 (find-dired, find-grep-dired): Doc fixes.
13628 (find-dired): Use find-exec-terminator.
13630 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13631 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13632 (find-name-arg): Remove purecopy.
13634 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13635 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13636 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13637 accordingly. Don't add the null-device if not needed.
13639 * files.el (save-some-buffers): Doc fix.
13641 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13643 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13645 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13647 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13648 Use `dolist' rather than `mapcar'.
13650 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13652 Add lexical binding.
13654 * subr.el (apply-partially): Use new closures rather than CL.
13655 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13656 (dolist, dotimes): Use slightly different expansion for lexical code.
13657 (functionp): Move to C.
13658 (letrec): New macro.
13659 (with-wrapper-hook): Use it and apply-partially instead of CL.
13660 (eval-after-load): Preserve lexical-binding.
13661 (save-window-excursion, with-output-to-temp-buffer): Turn them
13664 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13666 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13668 (help-add-fundoc-usage): Don't add `Not documented'.
13669 (help-function-arglist): Handle closures, subroutines, and new
13670 byte-code-functions.
13671 (help-make-usage): Remove leading underscores.
13672 (describe-function-1): Handle closures.
13673 (describe-variable): Use special-variable-p for completion.
13675 * files.el (lexical-binding): Declare safe.
13677 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13678 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13679 (pcase): Add `let' pattern.
13680 Change memoization so it actually works.
13681 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13682 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13685 * emacs-lisp/macroexp.el: Use lexical binding.
13686 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13687 Don't convert ' to #' without checking that it's indeed quoting
13690 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13691 Use eval-sexp-add-defvars.
13692 (eval-sexp-add-defvars): New fun.
13694 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13696 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13698 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13699 than the internal `byte-compile-lambda'.
13700 (defmethod): Don't hide code under quotes.
13701 (eieio-defmethod): New `code' argument.
13703 * emacs-lisp/eieio-comp.el: Remove.
13705 * emacs-lisp/edebug.el (edebug-eval-defun)
13706 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13707 (edebug-toggle): Avoid `eval'.
13709 * emacs-lisp/disass.el (disassemble-internal): Handle new
13711 (disassemble-1): Handle new byte codes.
13713 * emacs-lisp/cl.el (pushnew): Silence warning.
13715 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13716 (cl-byte-compile-throw): Remove.
13717 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13719 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13722 * emacs-lisp/cconv.el: New file.
13724 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13725 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13726 (byte-compile-initial-macro-environment):
13727 Handle declare-function here.
13728 (byte-compile--lexical-environment): New var.
13729 (byte-stack-ref, byte-stack-set, byte-discardN)
13730 (byte-discardN-preserve-tos): New lap codes.
13731 (byte-interactive-p): Don't use any more.
13732 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13734 (byte-compile-lapcode): Use them and handle new lap codes.
13735 (byte-compile-obsolete): Remove.
13736 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13737 (byte-compile-arglist-warn): Check late def of inlinable funs.
13738 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13739 since they should have been expanded by now.
13740 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13741 (byte-compile-from-buffer): Remove unused second arg.
13742 (byte-compile-preprocess): New function.
13743 (byte-compile-toplevel-file-form): New function to distinguish
13744 file-form calls from outside from file-form calls from hunk-handlers.
13745 (byte-compile-file-form): Simplify.
13746 (byte-compile-file-form-defsubst): Remove.
13747 (byte-compile-file-form-defmumble): Simplify now that
13748 byte-compile-lambda always returns a byte-code-function.
13749 (byte-compile): Preprocess.
13750 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13751 Remove, not used any more.
13752 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13753 (byte-compile-make-args-desc): New funs.
13754 (byte-compile-lambda): Handle lexical functions. Always return
13755 a byte-code-function.
13756 (byte-compile-reserved-constants): New var, to make up room for
13757 closed-over variables.
13758 (byte-compile-constants-vector): Obey it.
13759 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13760 (byte-compile-macroexpand-declare-function): New function.
13761 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13762 byte-code-functions.
13763 (byte-compile-form): Check obsolescence here.
13764 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13765 (byte-compile-variable-ref): Remove.
13766 (byte-compile-dynamic-variable-op): New fun.
13767 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13768 (byte-compile-variable-set): New funs.
13769 (byte-compile-discard): Add 2 args.
13770 (byte-compile-stack-ref, byte-compile-stack-set)
13771 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13772 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13773 macroexpand-all instead.
13774 (byte-compile-quote-form): Remove.
13775 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13776 (byte-compile-bind, byte-compile-unbind): New funs.
13777 (byte-compile-let): Handle let* and lexical binding.
13778 (byte-compile-let*): Remove.
13779 (byte-compile-catch, byte-compile-unwind-protect)
13780 (byte-compile-track-mouse, byte-compile-condition-case):
13781 Handle a new :fun-body form, used for lexical scoping.
13782 (byte-compile-save-window-excursion)
13783 (byte-compile-with-output-to-temp-buffer): Remove.
13784 (byte-compile-defun): Simplify.
13785 (byte-compile-stack-adjustment): New fun.
13786 (byte-compile-out): Use it.
13787 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13789 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13792 * emacs-lisp/byte-opt.el: Use lexical binding.
13793 (byte-inline-lapcode): Remove (to bytecomp).
13794 (byte-compile-inline-expand): Pay attention to inlining to/from
13795 lexically bound code.
13796 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13798 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13799 any more and don't call compiler-macros.
13800 (byte-compile-splice-in-already-compiled-code): Remove.
13801 (byte-code): Don't inline any more.
13802 (disassemble-offset): Receive `bytes' as argument rather than via
13804 (byte-compile-tag-number): Declare before first use.
13805 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13806 `return' even if make-spliceable.
13807 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13808 obsolete interactive-p.
13809 (byte-optimize-lapcode): Optimize new lap-codes.
13810 Don't trip up on new form of `byte-constant' lap code.
13812 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13814 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13816 * custom.el (custom-initialize-default, custom-declare-variable):
13819 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13821 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13822 (COMPILE_FIRST): Add macroexp and cconv.
13823 * makefile.w32-in: Mirror changes in Makefile.in.
13825 * vc/cvs-status.el:
13829 * vc/smerge-mode.el:
13830 * textmodes/bibtex-style.el:
13831 * textmodes/css.el:
13839 * emacs-lisp/smie.el:
13842 * abbrev.el: Use lexical binding.
13844 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13846 * info.el (info-display-manual): New function.
13848 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13850 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13852 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13854 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13855 an entry for that server in rcirc-authinfo. (Bug#8385)
13857 2011-03-31 Glenn Morris <rgm@gnu.org>
13859 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13861 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13863 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13865 * progmodes/python.el (python-default-interpreter)
13866 (python-python-command-args, python-jython-command-args)
13867 (python-which-shell, python-which-args, python-which-bufname)
13868 (python-file-queue, python-comint-output-filter-function)
13869 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13870 variables and functions.
13872 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13874 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13875 (completion-in-region-mode): New minor mode.
13876 (completion-in-region): Use it.
13877 (completion-in-region--data, completion-in-region-mode-map): New vars.
13878 (completion-in-region--postch): New function.
13879 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13881 (completion--capf-wrapper): New function.
13882 (completion-at-point): Use it to track well-behavedness of
13884 (completion-help-at-point): New command.
13886 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13888 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13889 syntax class to search for whitespace on a single line
13890 (Message-ID: <4D938140.4030905@redhat.com>).
13892 2011-03-30 Leo Liu <sdl.web@gmail.com>
13894 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13896 (edit-abbrevs-map): Bind them here.
13897 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13899 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13901 * allout.el (allout-hide-by-annotation, allout-flag-region):
13902 Reduce possibility of overlay leakage by making them volatile.
13904 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13905 hash is not shared between buffers. Mode initialization is
13906 responsible for giving it a useful starting value.
13907 (allout-item-span): Reduce possibility of overlay leakage by
13908 making them volatile.
13909 (allout-widgets-count-buttons-in-region): Add diagnostic function
13910 for tracking down button overlay leaks.
13912 2011-03-29 Leo Liu <sdl.web@gmail.com>
13914 * ido.el (ido-read-internal): Use the default history var
13915 minibuffer-history if no HISTORY is specified.
13917 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13919 * net/imap.el (imap-shell-open, imap-process-connection-type):
13920 Use imap-process-connection-type for 'shell' streams as well as
13921 Kerberos, SSL, other subprocesses.
13923 2011-03-28 Leo Liu <sdl.web@gmail.com>
13925 * abbrev.el (abbrev-table-empty-p): New function.
13926 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13927 nonempty ones. (Bug#5937)
13929 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13931 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13933 2011-03-27 Leo Liu <sdl.web@gmail.com>
13935 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13936 for foreground and background colors.
13937 (ansi-color-make-color-map): Adapt.
13939 2011-03-25 Leo Liu <sdl.web@gmail.com>
13941 * midnight.el (midnight-time-float): Remove. Note it calculates
13942 the microsecond component incorrectly and seconds-to-time does the
13944 Remove redundant (require 'timer).
13946 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13947 (ido-completions): Remove unused arguments. (Bug#8329)
13949 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13951 * minibuffer.el (completion--flush-all-sorted-completions):
13952 Remove itself from hook.
13953 (completion-at-point): Let the functions perform the completion
13954 immediately and return nil or t.
13955 * comint.el (comint-dynamic-complete-functions): Now identical to
13956 completion-at-point-functions.
13957 (comint-dynamic-list-input-ring): Remove unused var `index'.
13958 (comint--match-partial-filename, comint--unquote&expand-filename):
13959 New funs, split from comint-match-partial-filename.
13960 (comint-dynamic-complete): Use completion-at-point.
13961 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13963 2011-03-24 Drew Adams <drew.adams@oracle.com>
13965 * thingatpt.el: Support `defun'.
13967 2011-03-23 Leo Liu <sdl.web@gmail.com>
13969 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13971 * help-mode.el (help-mode-finish): Tweak regexp.
13973 2011-03-23 Glenn Morris <rgm@gnu.org>
13975 * eshell/esh-opt.el (eshell-eval-using-options):
13976 Do not bind unused local variable `eshell-option-stub'.
13978 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13980 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13982 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13983 keymap variable in `with-no-warnings' to avoid a warning when the
13984 keymap has been already `defconst'ed.
13986 2011-03-22 Leo Liu <sdl.web@gmail.com>
13988 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13989 encode all chars in abbrevs; otherwise use emacs-mule or
13990 utf-8-emacs. (Bug#8308)
13992 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13994 * simple.el (backward-delete-char-untabify):
13995 Avoid warning about using `delete-backward-char'.
13997 * image.el (image-type-file-name-regexps): Make it variable.
13998 `imagemagick-register-types' modifies it, and the user may want
13999 to add new extensions for known image types.
14000 (imagemagick-register-types): Throw error if not using ImageMagick.
14002 2011-03-22 Leo Liu <sdl.web@gmail.com>
14004 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14005 located before rcirc-prompt-end-marker.
14006 (rcirc-complete): Error if point is not after rcirc prompt.
14007 Handle the case when table is nil.
14008 (rcirc-user-authenticated): Define to fix compiler warning.
14010 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14012 * custom.el (custom--inhibit-theme-enable): Make it affect only
14013 custom-theme-set-variables and custom-theme-set-faces.
14014 (provide-theme): Ignore custom--inhibit-theme-enable.
14015 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14016 (custom-enabling-themes): Delete variable.
14017 (enable-theme): Accept only loaded themes as arguments.
14018 Ignore the special custom-enabled-themes variable.
14019 (custom-enabled-themes): Forbid themes from setting this.
14020 Eliminate use of custom-enabling-themes.
14021 (custom-push-theme): Quote "changed" custom var entry.
14023 2011-03-21 Leo Liu <sdl.web@gmail.com>
14025 * ido.el (ido-read-internal): Add ido-selected to history instead
14028 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14030 * subr.el (deferred-action-list, deferred-action-function):
14033 2011-03-21 Leo Liu <sdl.web@gmail.com>
14035 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14036 change on 2011-02-13 (bug#8309).
14038 * minibuffer.el (read-file-name-function): Change default value.
14039 (read-file-name--defaults): Rename from read-file-name-defaults.
14040 (read-file-name-default): Rename from read-file-name.
14041 (read-file-name): Call read-file-name-function.
14043 2011-03-21 Glenn Morris <rgm@gnu.org>
14045 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14048 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14050 * cus-theme.el: Add missing provide statement.
14051 (customize-create-theme): Extract theme value correctly.
14052 (custom-theme-visit-theme): Autoload.
14053 (customize-create-theme): Prompt before inserting default faces.
14055 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14057 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14058 units and musical notes.
14060 2011-03-20 Leo Liu <sdl.web@gmail.com>
14062 * ido.el (ido-read-internal): Use completing-read-default.
14063 (ido-completing-read): Fix compatibility with completing-read.
14065 2011-03-20 Christian Ohler <ohler@gnu.org>
14067 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14068 (ert-delete-all-tests): Use `called-interactively-p' rather than
14070 (ert--make-xrefs-region): Respect END.
14072 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14074 * dired-aux.el (dired-create-directory): Signal an error if the
14075 directory already exists (Bug#8246).
14077 * facemenu.el (list-colors-display): Call list-faces-display
14078 inside with-help-window.
14079 (list-colors-print): Use display property to align the final
14080 column, instead of checking window-width.
14082 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14084 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14085 windows-nt systems.
14086 (emerge-protect-metachars): Quote correctly for ms-dos and
14087 windows-nt systems.
14089 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14091 * info.el (info-initialize): Replace all uses of `:' with
14092 path-separator for compatibility with non-Unix systems.
14093 Cache quoting of path-separator. (Bug#8258)
14095 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14097 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14098 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14099 (mouse-avoidance-mode): Fix typos in docstrings.
14101 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14103 * startup.el (package-subdirectory-regexp): Move from package.el.
14104 Omit \\` and \\', and let callers add them.
14106 * emacs-lisp/package.el (package-strip-version)
14107 (package-load-all-descriptors): Add \\` and \\' to
14108 package-subdirectory-regexp before using it.
14109 (package-untar-buffer): New arg DIR; ensure that file untars only
14110 into this expected directory. Remove superfluous delete-region.
14111 (package-unpack): Caller changed.
14112 (package-tar-file-info): Use package-subdirectory-regexp.
14114 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14116 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14117 diff-mode-shared-map (bug#8284).
14118 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14120 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14122 * calendar/time-date.el (format-seconds): Use assoc instead of
14123 assoc-string, since assoc-string doesn't exist in XEmacs.
14125 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14127 * custom.el (custom-known-themes): Reflow docstring.
14128 (custom-theme-load-path): Fix typo in docstring.
14129 (load-theme): Fix typo in error message.
14130 (custom-available-themes, custom-variable-theme-value):
14131 Use `let', not `let*'.
14133 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14135 * calc/README: Mention inclusion of musical notes.
14137 * calc/calc-units.el (calc-lu-quant): Rename from
14138 `calc-logunits-quantity'.
14139 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14140 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14141 (calc-db): Rename from `calc-dblevel'.
14142 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14143 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14144 (calc-np): Rename from `calc-nplevel'.
14145 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14146 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14147 (calc-lu-plus): Rename from `calc-logunits-add'.
14148 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14149 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14150 (calc-lu-minus): Rename from `calc-logunits-sub'.
14151 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14152 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14153 (calc-lu-times): Rename from `calc-logunits-mul'.
14154 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14155 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14156 (calc-lu-divide): Rename from `calc-logunits-div'.
14157 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14158 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14160 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14161 functions being autoloaded.
14163 * calc/calc.el (calc-lu-power-reference): Rename from
14164 `calc-logunits-power-reference'.
14165 (calc-lu-field-reference): Rename from
14166 `calc-logunits-field-reference'.
14168 * calc/calc-help.el (calc-l-prefix-help):
14169 Mention musical note functions.
14171 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14173 * minibuffer.el (completion-all-sorted-completions):
14174 Use :completion-cycle-penalty text property if present.
14176 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14178 * allout.el (allout-yank-processing): Adjust for new rebulleting
14179 regime so bullet being yanked is used without prompting the user
14182 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14184 * startup.el (command-line): Warn the user that _emacs is deprecated.
14186 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14188 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14189 (delphi-verbose, delphi-comment-face, delphi-string-face)
14190 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14191 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14192 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14193 (delphi-new-comment-line, delphi-font-lock-defaults)
14194 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14195 Fix typos in docstrings.
14197 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14199 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14200 Invert the roles of character and string values for INSTEAD, so a
14201 string is used for the more common case of a defaulting prompt.
14203 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14205 * progmodes/ruby-mode.el (ruby-backward-sexp):
14206 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14207 * play/gamegrid.el (gamegrid-make-face):
14208 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14209 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14210 * notifications.el (notifications-notify):
14211 * net/xesam.el (xesam-search-engines):
14212 * net/quickurl.el (quickurl-list-insert):
14213 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14215 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14217 * startup.el (command-line): Update package subdirectory regexp.
14219 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14221 * allout.el (allout-abbreviate-flattened-numbering)
14222 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14224 * subr.el (read-char-choice): Only show the cursor after the prompt,
14225 not after the answer.
14227 2011-03-15 Kevin Ryde <user42@zip.com.au>
14229 * help-fns.el (variable-at-point): Skip leading quotes, if any
14232 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14234 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14237 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14239 * shell.el (shell): When called interactively, offer to change the
14240 shell file name on remote hosts.
14242 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14244 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14245 integration for LDAP parameters. The host, base, user or binddn,
14246 and secret tokens can be specified in a netrc file, for instance.
14247 This is optional because an `auth-source' parameter must be
14248 specified in the search attributes.
14250 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14252 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14254 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14256 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14257 into declaration. Remove redundant and harmful binding.
14259 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14261 * files.el (file-ownership-preserved-p): Pass `integer' as an
14262 explicit 2nd argument to `file-attributes'. If the file's owner
14263 is the Administrators group on Windows, and the current user is
14264 Administrator, consider that a match.
14266 * server.el (server-ensure-safe-dir): Consider server directory
14267 safe on MS-Windows if its owner is the Administrators group while
14268 the current Emacs user is Administrator. Use `=' to compare
14269 numerical UIDs, since they could be integers or floats.
14271 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14273 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14275 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14277 Sync with Tramp 2.2.1.
14279 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14281 * net/trampver.el: Update release number.
14283 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14285 * progmodes/compile.el (compilation--previous-directory): Fix up
14286 various nil/dead-marker mismatches (bug#8014).
14287 (compilation-directory-properties, compilation-error-properties):
14288 Don't call it at a position past the one we're about to change.
14290 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14291 Disable obsolescence warnings in the file that declares it.
14293 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14295 * allout-widgets.el (allout-widgets-tally):
14296 Initialize allout-widgets-tally as a hash table rather than nil to
14297 prevent mode-line redisplay warnings. Also, clarify the module
14298 description and fix a comment typo.
14300 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14302 * help-fns.el (describe-variable): Don't complete keywords.
14303 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14305 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14307 * emacs-lisp/package.el (package-version-join): Impose a standard
14308 string representation for pre/alpha/beta version lists.
14309 (package-unpack-single): Standardize the directory name by passing
14310 it through package-version-join.
14311 (package-strip-rcs-id): Accept any version string that does not
14312 signal an error in version-to-list.
14314 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14316 * simple.el (delete-trailing-whitespace): Return nil for the
14317 benefit of `write-file-functions'.
14319 2011-03-10 Glenn Morris <rgm@gnu.org>
14321 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14323 * vc/vc-git.el (vc-git-program): New option.
14324 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14325 (vc-git--call): Use it.
14327 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14329 * cus-edit.el (Custom-newline): If no button at point, look
14330 for a subgroup button at start-of-line. (Bug#2298)
14332 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14334 2011-03-10 Julien Danjou <julien@danjou.info>
14336 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14337 `cursor-type' is nil.
14339 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14341 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14343 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14345 * allout.el: Change so yank of distinctive-bullet items
14346 preserves the existing header prefix, rebulleting it if necessary,
14347 rather than replacing it. This is necessary for proper operation
14348 of cooperative addons like allout-widgets.
14349 (allout-make-topic-prefix, allout-rebullet-heading):
14350 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14351 value as alternate bullet to be used, instead of prompting the user
14352 for a bullet character.
14354 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14357 Do not use `tramp-file-name-port', because this returns also
14358 `tramp-default-port'.
14360 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14362 * net/rcirc.el (rcirc-handler-001): Remove useless
14363 with-rcirc-process-buffer.
14364 (rcirc-check-auth-status): Swap arguments to string-match.
14366 2011-03-09 Glenn Morris <rgm@gnu.org>
14368 * shell.el (shell-mode):
14369 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14371 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14372 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14374 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14376 * emacs-lisp/package.el (package-refresh-contents)
14377 (package-menu-execute): Use condition-case-no-debug.
14379 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14381 * simple.el (shell-command-to-string): Use `process-file'.
14383 * emacs-lisp/package.el (package-tar-file-info): Handle also
14386 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14387 Use `equal' for upload base check.
14389 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14391 * textmodes/texinfo.el (texinfo-environments):
14392 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14394 2011-03-08 Glenn Morris <rgm@gnu.org>
14396 * cus-start.el (cursor-in-non-selected-windows):
14397 Fix :set quoting oddness. (Bug#8192)
14399 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14400 in some setf expressions. (Bug#2159)
14402 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14404 * custom.el (custom-available-themes): Return themes in
14405 alphabetical order.
14407 See ChangeLog.15 for earlier changes.
14409 ;; Local Variables:
14413 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14415 This file is part of GNU Emacs.
14417 GNU Emacs is free software: you can redistribute it and/or modify
14418 it under the terms of the GNU General Public License as published by
14419 the Free Software Foundation, either version 3 of the License, or
14420 (at your option) any later version.
14422 GNU Emacs is distributed in the hope that it will be useful,
14423 but WITHOUT ANY WARRANTY; without even the implied warranty of
14424 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14425 GNU General Public License for more details.
14427 You should have received a copy of the GNU General Public License
14428 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.