In quit-window always restore window height when it's saved in
[emacs.git] / lisp / ChangeLog
blob482bb7ec489d16ebeb192aaae0a486797374652c
1 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
3         * window.el (quit-window): Always restore window height when
4         it's saved in quit-restore parameter.
6 2012-07-06  Glenn Morris  <rgm@gnu.org>
8         * simple.el (kill-whole-line): Doc tweak.
10 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
12         * files.el (file-relative-name): Compare file names
13         case-insensitively if on MS-Windows or MS-DOS, or if
14         read-file-name-completion-ignore-case is non-nil.  Don't use
15         case-fold-search for this purpose.  (Bug#11827)
17 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
19         * calendar/cal-dst.el (calendar-current-time-zone): Return
20         calendar-current-time-zone-cache if non-nil.
22 2012-07-06  Glenn Morris  <rgm@gnu.org>
24         * Makefile.in (cvs-update): Remove old alias.
26 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
28         Sync with Tramp 2.2.6-pre.
30         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
31         compatible declaration.
33         * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect
34         `list-load-path-shadows' call.
36         * net/tramp-compat.el (top): Require packages, which aren't
37         autoloaded anymore for XEmacs.  Protect call of
38         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
39         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
40         it hurts at least for SXEmacs.
41         (tramp-compat-temporary-file-directory): In XEmacs, there is no
42         standard-value for `temporary-file-directory'.
44         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
45         Redirect stderr to /dev/null.
46         (tramp-sh-handle-write-region): uid and gid can be floats.
47         Reported by Russell Sim <russell.sim@gmail.com>.
48         (tramp-sh-handle-vc-registered): Hide errors.
49         (tramp-vc-file-name-handler): Use dummy results for `process-file'
50         and `start-file-process'.
51         (tramp-maybe-open-connection): Check also whether `non-essential'
52         is bound.
54 2012-07-04  Chong Yidong  <cyd@gnu.org>
56         * xml.el (xml--parse-buffer): Use xml-syntax-table.
57         (xml-parse-tag): Likewise, and avoid changing entity tables.
58         (xml-syntax-table): Define from scratch, making sure not to give
59         x2000 and other Unicode spaces whitespace syntax, since those are
60         not spaces in XML.
61         (xml-parse-fragment): Delete unused function.
62         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
63         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
64         (xml-entity-ref, xml-pe-reference-re)
65         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
66         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
67         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
68         (xml-entity-value-re): Use syntax references in regexps where
69         possible; no need to define inside a let-binding.
70         (xml-parse-dtd): Use xml-pe-reference-re.
71         (xml-entity-or-char-ref-re): New defconst.
72         (xml-parse-string, xml-substitute-special): Use it.
74 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
76         * files.el (locate-dominating-file): Allow `name' to be a predicate.
77         (find-file--read-only): New function.
78         (find-file-read-only, find-file-read-only-other-window)
79         (find-file-read-only-other-frame): Use it.
80         (insert-file-contents-literally): Don't `fset'.
81         (get-free-disk-space): Use locate-dominating-file.
83         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
84         function is already compiled.
86         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
88 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
90         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
91         files on the same host.
93 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
95         * help-fns.el (describe-function-1): Only call
96         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
98 2012-07-03  Chong Yidong  <cyd@gnu.org>
100         * xml.el: Protect parser against XML bombs.
101         (xml-entity-expansion-limit): New variable.
102         (xml-parse-string, xml-substitute-special): Use it.
103         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
105 2012-07-03  Glenn Morris  <rgm@gnu.org>
107         * progmodes/bug-reference.el (bug-reference-bug-regexp):
108         Allow linking to specific messages in debbugs reports (eg 123#5).
110 2012-07-02  Chong Yidong  <cyd@gnu.org>
112         * xml.el: Fix entity and character reference expansion, allowing
113         them to expand into markup as per XML spec.
114         (xml-default-ns): New variable.
115         (xml-entity-alist): Use XML spec definitions for lt and amp.
116         (xml-parse-region): Make first two arguments optional.
117         Discard text properties.
118         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
119         All callers changed.
120         (xml-parse-tag): Call xml-parse-tag-1.  For backward
121         compatibility, this function should not modify buffer contents.
122         (xml-parse-tag-1): Fix opening-tag regexp.
123         (xml-parse-string): Rewrite, handling entity and character
124         references properly.
125         (xml--entity-replacement-text): Signal an error if a parameter
126         entity is undefined.
128 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
130         * comint.el (comint-output-filter): Filter out repeated prompts.
132         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
133         and file-name-absolute-p.
134         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
135         internal calls.
137 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
139         Spelling fixes.
140         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
141         Rename from byte-compile--refiy-function.  All uses changed.
143 2012-07-01  Chong Yidong  <cyd@gnu.org>
145         * xml.el (xml--parse-buffer): New function.  Move most of
146         xml-parse-region here.
147         (xml-parse-region): Copy region into a temporary buffer, since
148         parameter entity substitution requires changing buffer contents.
149         Use xml--parse-buffer.
150         (xml-parse-file): Use xml--parse-buffer.
151         (xml-parse-dtd): Make parameter entity substitution work right.
152         Use proper regexps for ELEMENT declarations (Bug#7172).
154 2012-06-30  Glenn Morris  <rgm@gnu.org>
156         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
158         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
159         Remove outdated and unnecessary dbus declarations.
161 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
163         * emacs-lisp/timer.el (timer-until): Subtract results of
164         float-time, instead of taking float-time of the result of
165         time-subtract, since float-time signals an error for negative time
166         arguments.
168 2012-06-30  Chong Yidong  <cyd@gnu.org>
170         * xml.el (xml-*-re): Convert defvars into defconsts, and
171         eval-and-compile them so eval-and-compile works on derivatives.
172         (xml--entity-replacement-text): Use eval-and-comple.
174 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
176         * vc/vc-git.el (vc-git-registered): Use cache property
177         `git-registered'.
178         (vc-git-mode-line-string): Call `vc-working-revision' instead of
179         `vc-git-working-revision' in order to benefit from the cache.
180         (vc-git-root): Use cache property `git-root'.
182 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
184         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
185         removed (likely outside Emacs).
187 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
189         * emacs-lisp/cl-lib.el: Require macroexp.
191 2012-06-30  Chong Yidong  <cyd@gnu.org>
193         * xml.el: Implement XML parameter entities.
194         (xml-parameter-entity-alist): New variable.
195         (xml-parse-region, xml-parse-fragment): Preserve previous values
196         of xml-entity-alist and xml-parameter-entity-alist, so that
197         repeated calls on different documents do not change them.
198         (xml-parse-tag): Fix doctype regexp.
199         (xml--entity-replacement-text): New function.
200         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
201         properly requires url retrieval which is unimplemented.
202         (xml-escape-string): Doc fix.
204 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
206         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
208 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
210         * fringe.el (fringe-mode): Doc fix.
212 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
214         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
215         is non-nil.
216         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
217         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
219 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
221         * calendar/cal-dst.el (calendar-current-time-zone):
222         Return calendar-current-time-zone-cache if non-nil.
224 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
226         * progmodes/which-func.el (which-func-format):
227         Add mouse-face.  (Bug#11698)
229 2012-06-29  Leo Liu  <sdl.web@gmail.com>
231         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
233 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
235         * minibuffer.el (minibuffer-confirm-exit-commands):
236         Add completion-at-point (bug#11725).
238 2012-06-29  Glenn Morris  <rgm@gnu.org>
240         * progmodes/f90.el (f90-font-lock-keywords-2):
241         Add some preprocessor elements.  (Bug#10499)
243 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
245         * progmodes/cperl-mode.el (cperl-update-syntaxification):
246         Use syntax-propertize (bug#11739).
248 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
250         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
252 2012-06-28  Julien Danjou  <julien@danjou.info>
254         * term.el (term-handle-colors-array): Use a set of new faces to
255         color the terminal.  Also uses :inverse-video property.
256         (term-default-fg-color): Set to nil by default, deprecate in favor
257         of `term-face'.
258         (term-default-bg-color): Set to nil by default, deprecate in favor
259         of `term-face'.
260         (term-current-face): Use `term-face' by default.
261         (term-bold-attribute): Variable deleted.
263 2012-06-28  Glenn Morris  <rgm@gnu.org>
265         * simple.el (completion-list-mode-finish):
266         Don't use toggle-read-only.  (Since completion-list-mode has
267         a special mode-class, it wasn't doing anything extra anyway.)
269 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
271         Make inlining of other-mode interpreted functions work (bug#11799).
272         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
273         (byte-compile): Use it to fix compilation of lexical-binding closures.
274         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
275         function, if needed.
277 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
279         * help-mode.el (help-make-xrefs): Don't just withstand
280         cyclic-variable-indirection but any error in documentation-property.
282         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
283         memory use.
284         * bindings.el (bindings--define-key): New function.
285         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
286         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
287         * bindings.el: Use it to purecopy define-key bindings.
289         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
291         * emacs-lisp/cl.el (flet): Mark obsolete.
292         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
293         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
294         * progmodes/js.el (js-c-fill-paragraph):
295         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
296         (ebrowse-switch-member-buffer-to-derived-class):
297         * play/5x5.el (5x5-solver): Use cl-flet.
299         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
300         (cl--symbol-function): New macro.
301         (cl--letf, cl--letf*): Use it.
303         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
304         Strip "toggle-" if any.
306 2012-06-27  Glenn Morris  <rgm@gnu.org>
308         * info.el (Info-default-directory-list): Move here from paths.el.
309         * paths.el: Remove file, which is now empty.
310         * loadup.el: No longer load "paths".
312         * custom.el (custom-initialize-delay): Doc fix.
314         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
315         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
316         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
317         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
318         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
319         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
320         * eshell/eshell.el (eshell-defgroup): Remove alias.
322 2012-06-27  Chong Yidong  <cyd@gnu.org>
324         * help.el (help-enable-auto-load): New variable.
326         * help-fns.el (help-fns--autoloaded-p): New function.
327         (describe-function-1): Refer to a function as "autoloaded" if it
328         was autoloaded at any time in the past.  Perform autoloading if
329         help-enable-auto-load is non-nil.
331 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
333         * makefile.w32-in (compile, compile-always): Depend on
334         update-subdirs, not on subdirs.el.  Otherwise, several different
335         sub-targets of 'bootstrap' running in parallel could
336         simultaneously write to subdirs.el, producing a garbled file.
338 2012-06-26  Sam Steingold  <sds@gnu.org>
340         * files.el (file-name-base): New convenience function.
341         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
342         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
343         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
344         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
345         * textmodes/ispell.el, textmodes/reftex-ref.el:
346         * textmodes/tex-mode.el: Use it.
347         Did not touch cedet and org because they are maintained elsewhere.
349 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
351         * calendar/calendar.el (calendar-exit): Don't try to delete or
352         iconify last frame.  See:
353         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
355 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
357         * server.el (server-process-filter): Remember dir in the
358         process's `server-client-directory' properties.
360 2012-06-24  Chong Yidong  <cyd@gnu.org>
362         * xml.el (xml-parse-tag): Correctly handle comment embedded in
363         non-tag text.
365 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
367         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
369 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
371         * help-fns.el (describe-variable): Don't croak when doc is not found.
372         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
373         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
374         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
375         * emacs-lisp/smie.el (smie-next-sexp): CSE.
376         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
377         ((lambda ..) ..).
378         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
380 2012-06-23  Chong Yidong  <cyd@gnu.org>
382         * info.el (Info-mouse-follow-link): Accept symbol values of
383         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
384         (Info-fontify-node): Use Info-link-keymap for all navigation
385         buttons, with link-args property to perform the desired action.
386         (Info-link-keymap): Doc fix.
387         (Info-next-link-keymap, Info-prev-link-keymap)
388         (Info-up-link-keymap): Delete now-unused keymaps.
390 2012-06-23  Chong Yidong  <cyd@gnu.org>
392         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
394         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
395         system abbrevs.
397         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
399 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
401         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
402         (bug#11719).
404         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
405         the requote function doesn't work properly (bug#11714).
407 2012-06-23  Glenn Morris  <rgm@gnu.org>
409         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
411 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
413         Further GV/CL cleanups.
414         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
415         gv-expander.
416         (gv--defun-declaration): New function.
417         (defun-declarations-alist): Use it.
418         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
419         (gv-place): Autoload.
420         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
421         original definition of dotimes and dolist.
422         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
423         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
424         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
425         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
426         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
427         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
428         to the function's definition.
429         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
430         * window.el:
431         * files.el:
432         * faces.el:
433         * env.el: Don't use CL.
435 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
437         Support higher-resolution time stamps (Bug#9000).
439         * calendar/time-date.el (with-decoded-time-value): New arg
440         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
441         (encode-time-value): New optional arg PICO.  New type 3.
442         (time-to-seconds) [!float-time]: Support the new picoseconds
443         component if it's used.
444         (seconds-to-time, time-subtract, time-add):
445         Support ps-resolution time stamps as well.
447         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
448         (timerp): Timer vectors now have length 9, not 8.
449         (timer--time): Support new-style (4-part) time stamps.
450         (timer-next-integral-multiple-of-time): Time stamps now have
451         picosecond resolution, so take a bit more care about rounding.
452         (timer-relative-time, timer-inc-time): New optional arg psecs.
453         (timer-set-time-with-usecs): Set psecs to 0.
454         (timer--activate): Check psecs component, too.
456         * proced.el (proced-time-lessp): Support ps-resolution stamps.
458 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
460         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
461         Move the non-essential binding to the post/pre-command-hook where it is
462         more obviously correct.
464         * subr.el (read-passwd): Don't use a history at all.
465         * savehist.el (savehist-save): Remove password saved accidentally
466         because of the above bug.
468 2012-06-22  Bastien Guerry  <bzg@gnu.org>
470         * files.el (toggle-read-only): Display a message telling whether
471         the buffer is read-only or not (bug#11726).
473 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
475         * emacs-lisp/gv.el: New file.
476         * subr.el (push, pop): Extend to generalized variables.
477         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
478         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
479         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
480         gv-define-simple-setter, and gv-define-expander.
481         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
482         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
483         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
484         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
485         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
486         gv-letplace.
487         (cl-defstruct): Don't define setf-method any more.
488         * emacs-lisp/cl.el (flet): Don't autoload.
489         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
490         (define-setf-expander, defsetf, define-modify-macro)
491         (cl-struct-setf-expander): Move from cl-lib.el.
492         * emacs-lisp/syntax.el:
493         * emacs-lisp/ewoc.el:
494         * emacs-lisp/smie.el:
495         * emacs-lisp/cconv.el:
496         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
497         (timer--time): Use gv-define-simple-setter.
498         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
499         to avoid coding-system problems in subr.el.  Adjust all users.
500         (macroexp--maxsize, macroexp-small-p): New functions.
501         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
502         * scroll-bar.el (scroll-bar-mode):
503         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
504         (normal-erase-is-backspace-mode): Don't use the `eq' place.
505         * winner.el (winner-configuration, winner-make-point-alist)
506         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
507         * files.el (locate-file-completion-table): Avoid list*.
509 2012-06-22  Chong Yidong  <cyd@gnu.org>
511         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
512         (dired-create-files): Doc fix (Bug#11329).
513         (dired-do-copy): Doc fix (Bug#11334).
514         (dired-mark-read-string): Doc fix (Bug#11553).
516         * dired.el (dired-recursive-copies, dired-recursive-deletes):
517         Doc fix (Bug#11326).
518         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
519         (dired-dwim-target): Doc fix.
521         * wdired.el (wdired-mode): Doc fix.
523 2012-06-22  Glenn Morris  <rgm@gnu.org>
525         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
526         (pcmpl-rpm-cache-stamp-file): New constant.
527         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
528         (pcmpl-rpm-packages): Optionally cache list of packages.
530         * pcmpl-rpm.el (pcmpl-rpm): New group.
531         (pcmpl-rpm-query-options): New option.
532         (pcmpl-rpm-packages): No need to inline it.
533         Use pcmpl-rpm-query-options.
535         * calendar/calendar.el (calendar-in-read-only-buffer):
536         Avoid some needless mode changes.
538 2012-06-21  Chong Yidong  <cyd@gnu.org>
540         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
541         (desktop-path): Remove . from the default value (Bug#10977).
542         (desktop-read): Use user-emacs-directory if desktop-path is nil.
544 2012-06-20  Chong Yidong  <cyd@gnu.org>
546         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
548 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
550         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
551         (bug#11201).
553 2012-06-20  Chong Yidong  <cyd@gnu.org>
555         * term.el (term-window-width): Handle the case of a missing right
556         fringe (Bug#8837).
557         (term-check-size): Use window-text-height (Bug#5445).
558         (term-mode): Use define-derived-mode.  Minor cleanups.
559         Set font-lock-defaults (Bug#7692).
560         (term-move-columns, term-insert-char, term-emulate-terminal)
561         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
563 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
565         * net/ange-ftp.el (ange-ftp-get-passwd):
566         Bind `enable-recursive-minibuffers'.
567         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
569 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
571         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
573 2012-06-19  Glenn Morris  <rgm@gnu.org>
575         * progmodes/python.el (python-mode): Derive from prog-mode.
577 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
579         * emulation/edt.el (edt-default-menu-bar-update-buffers)
580         (edt-user-menu-bar-update-buffers): New functions.
581         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
583 2012-06-19  Chong Yidong  <cyd@gnu.org>
585         * subr.el (with-selected-window): Preserve the selected window's
586         terminal's top-frame (Bug#4702).
588         * window.el (save-selected-window): Likewise.
590 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
592         * progmodes/python.el (python-rx-constituents): Move backquote.
593         (python-skeleton-define, python-define-auxiliary-skeleton):
594         Use `declare'.
596 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
598         * minibuffer.el (read-file-name-default): Revert the patch from
599         2012-06-17.
601 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
603         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
604         (pcase--u1, pcase--q1): Don't use apply-partially.
606 2012-06-18  Glenn Morris  <rgm@gnu.org>
608         * progmodes/python.el (python-proc, python-buffer)
609         (python-send-receive, python-send-string): Fix obsolete versions.
611 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
613         * window.el (special-display-p): Completely remove stringp
614         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
616 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
618         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
620         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
622         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
623         * net/tramp-sh.el (tramp-maybe-open-connection):
624         Throw if `non-essential' is non-nil.
626 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
628         * window.el (special-display-p): Signal an error if BUFFER-NAME
629         is not a string (Bug#11713).
631 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
633         * progmodes/python.el (python-info-beginning-of-backslash):
634         Rename from python-info-beginning-of-backlash, as a spelling fix.
636 2012-06-17  Chong Yidong  <cyd@gnu.org>
638         * term.el (term-emulate-terminal): If term-check-size is called,
639         move point to the process mark without resetting point (Bug#4635).
641 2012-06-17  Glenn Morris  <rgm@gnu.org>
643         * international/mule-cmds.el (mule-menu-keymap)
644         (set-language-environment, set-locale-environment): Doc tweaks.
646 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
648         * cus-face.el (custom-face-attributes): Add wave-style underline
649         attribute.
650         * faces.el (set-face-attribute): Update docstring to describe
651         wave-style underline attribute.
653 2012-06-16  Chong Yidong  <cyd@gnu.org>
655         * term/xterm.el (terminal-init-xterm): Discard input before
656         querying background mode (Bug#10959).
658 2012-06-16  Stefan Merten  <smerten@oekonux.de>
660         * textmodes/rst.el: Added and corrected some comments.
661         (rst-re-alist-def): Improve symbol syntax.
662         (rst-mode-syntax-table): Correct syntax entries.
663         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
664         (rst-official-version, rst-official-cvs-rev): Update version
665         information.
667 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
669         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
670         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
672 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
674         * progmodes/python.el: New python.el merge.
675         (python-guess-indent): Obsolete var.
676         (python-indent-guess-indent-offset): New defcustom.
677         (python-indent): Obsolete var.
678         (python-indent-offset): New defcustom.
679         (python-python-command, python-jython-command): Delete var.
680         (python-shell-interpreter): New defcustom.
681         (python-pdbtrack-do-tracking-p): Delete var.
682         (python-pdbtrack-activate): New defcustom.
683         (python-use-skeletons): Obsolete var.
684         (python-skeleton-autoinsert): New defcustom.
685         (inferior-python-filter-regexp, python-continuation-offset)
686         (python-honour-comment-indentation, python-indent-string-contents)
687         (python-jython-packages, python-mode-hook)
688         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
689         (python-shell-prompt-alist)
690         (python-source-modes): Delete defcustoms.
691         (python-check-buffer-name, python-eldoc-setup-code)
692         (python-eldoc-string-code, python-ffap-setup-code)
693         (python-ffap-string-code, python-fill-comment-function)
694         (python-fill-decorator-function, python-fill-paren-function)
695         (python-fill-string-function, python-imenu-include-defun-type)
696         (python-imenu-make-tree, python-imenu-subtree-root-label)
697         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
698         (python-shell-compilation-regexp-alist)
699         (python-shell-completion-module-string-code)
700         (python-shell-completion-pdb-string-code)
701         (python-shell-completion-setup-code)
702         (python-shell-completion-string-code)
703         (python-shell-enable-font-lock, python-shell-exec-path)
704         (python-shell-extra-pythonpaths)
705         (python-shell-internal-buffer-name, python-shell-interpreter-args)
706         (python-shell-process-environment)
707         (python-shell-prompt-block-regexp)
708         (python-shell-prompt-output-regexp)
709         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
710         (python-shell-send-setup-max-wait, python-shell-setup-codes)
711         (python-shell-virtualenv-path): New defcustoms.
712         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
713         (inferior-python-mode-syntax-table, python--prompt-regexp)
714         (python-buffer, python-command python-python-command)
715         (python-default-template, python-imports, python-indent-index)
716         (python-indent-list, python-indent-list-length)
717         (python-mode-running, python-pdbtrack-is-tracking-p)
718         (python-preoutput-continuation, python-preoutput-leftover)
719         (python-preoutput-result, python-preoutput-skip-next-prompt)
720         (python-prev-dir/file, python-recursing)
721         (python-saved-check-command, python-version-checked)
722         (python-which-func-length-limit)
723         (view-return-to-alist): Delete vars.
724         (python-check-custom-command, python-dotty-syntax-table)
725         (python-imenu-index-alist, python-indent-current-level)
726         (python-indent-dedenters, python-indent-levels)
727         (python-nav-beginning-of-defun-regexp)
728         (python-nav-list-defun-positions-cache)
729         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
730         (python-shell-internal-buffer)
731         (python-skeleton-available): New vars.
732         (def-python-skeleton): Delete macro.
733         (python-skeleton-define): New macro.
734         (python-define-auxiliary-skeleton, python-rx): New macros.
735         (python-insert-class): Delete command.
736         (python-skeleton-class): New command.
737         (python-insert-def): Delete command.
738         (python-skeleton-def): New command.
739         (python-insert-for): Delete command.
740         (python-skeleton-for): New command.
741         (python-insert-if): Delete command.
742         (python-skeleton-if): New command.
743         (python-insert-try/except, python-insert-try/finally): Delete commands.
744         (python-skeleton-try): New command.
745         (python-insert-while): Delete command.
746         (python-skeleton-while): New command.
747         (python-backspace): Delete command.
748         (python-indent-dedent-line-backspace): New command.
749         (python-electric-colon): Delete command.
750         (python-indent-electric-colon): New command.
751         (python-guess-indent): Delete command.
752         (python-indent-guess-indent-offset): New command.
753         (python-shift-left): Delete command.
754         (python-indent-shift-left): New command.
755         (python-shift-right): Delete command.
756         (python-indent-shift-right): New command.
757         (python-find-function): Delete command.
758         (python-nav-jump-to-defun): New command.
759         (python-next-statement): Delete command.
760         (python-nav-forward-sentence): New command.
761         (python-previous-statement): Delete command.
762         (python-nav-backward-sentence): New command.
763         (python-fill-paragraph): Delete command.
764         (python-fill-paragraph-function): New command.
765         (python-send-buffer): Delete command.
766         (python-shell-send-buffer): New command.
767         (python-send-defun): Delete command.
768         (python-shell-send-defun): New command.
769         (python-send-region, python-send-region-and-go): Delete commands.
770         (python-shell-send-region)
771         (python-shell-switch-to-shell): New commands.
772         (python-send-string): Delete command.
773         (python-shell-send-string): New command.
774         (python-switch-to-python): Delete command.
775         (python-shell-switch-to-shell): New command.
776         (python-describe-symbol): Delete command.
777         (python-eldoc-at-point): New command.
778         (python--set-prompt-regexp, python-args-to-list)
779         (python-after-info-look, python-check-version)
780         (python-check-comint-prompt, python-find-imports)
781         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
782         (python-unload-function, python-expand-template)
783         (python-maybe-jython, python-preoutput-filter)
784         (python-pdbtrack-get-source-buffer)
785         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
786         (python-pdbtrack-toggle-stack-tracking)
787         (python-pdbtrack-track-stack-file, python-initial-text)
788         (python-first-word, python-comment-line-p, python-send-command)
789         (python-setup-brm, python-sentinel, python-set-proc)
790         (python-skip-out, python-input-filter, python-outdent-p)
791         (python-outline-level, python-backslash-continuation-line-p)
792         (python-end-of-block, python-end-of-statement, python-mark-block)
793         (python-beginning-of-block, python-beginning-of-statement)
794         (python-blank-line-p, python-beginning-of-string)
795         (python-open-block-statement-p): Delete functions.
796         (python-indent-line, python-indent-line-1): Delete functions.
797         (python-indent-line): New function.
798         (python-indentation-levels): Delete function.
799         (python-indent-calculate-levels): New function.
800         (python-proc): Delete function.
801         (python-shell-get-process): New function.
802         (python-send-receive): Delete function.
803         (python-shell-send-string-no-output): New function.
804         (python-module-path): Delete function.
805         (python-ffap-module-path): New function.
806         (python-completion-at-point)
807         (python-symbol-completions): Delete functions.
808         (python-completion-complete-at-point): New function.
809         (python-load-file): Delete function.
810         (python-shell-send-file): New function.
811         (python-calculate-indentation): Delete function.
812         (python-indent-calculate-indentation): New function.
813         (python-skip-comments/blanks): Delete function.
814         (python-util-forward-comment): New function.
815         (python-continuation-line-p): Delete function.
816         (python-info-continuation-line-p): New function.
817         (python-which-func, python-current-defun): Delete function.
818         (python-info-current-defun): New function.
819         (python-beginning-of-defun): Delete function.
820         (python-nav-beginning-of-defun): New function.
821         (python-close-block-statement-p)
822         (python-block-end-p): Delete function.
823         (python-info-closing-block): New function.
824         (python-comint-output-filter-function)
825         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
826         (python-fill-comment, python-fill-decorator, python-fill-paren)
827         (python-fill-string, python-imenu-make-element-tree)
828         (python-imenu-make-tree, python-imenu-tree-assoc)
829         (python-indent-context, python-indent-dedent-line)
830         (python-indent-line-function)
831         (python-indent-post-self-insert-function)
832         (python-indent-toggle-levels)
833         (python-info-assignment-continuation-line-p)
834         (python-info-beginning-of-backlash)
835         (python-info-block-continuation-line-p)
836         (python-info-closing-block-message)
837         (python-info-line-ends-backslash-p)
838         (python-info-looking-at-beginning-of-defun)
839         (python-info-ppss-context, python-info-ppss-context-type)
840         (python-nav-list-defun-positions, python-nav-read-defun)
841         (python-nav-sentence-end, python-nav-sentence-start)
842         (python-pdbtrack-comint-output-filter-function)
843         (python-pdbtrack-set-tracked-buffer)
844         (python-shell-calculate-exec-path)
845         (python-shell-calculate-process-environment)
846         (python-shell-completion--do-completion-at-point)
847         (python-shell-completion--get-completions)
848         (python-shell-completion-complete-at-point)
849         (python-shell-completion-complete-or-indent)
850         (python-shell-get-or-create-process)
851         (python-shell-get-process-name)
852         (python-shell-internal-get-or-create-process)
853         (python-shell-internal-get-process-name)
854         (python-shell-internal-send-string, python-shell-make-comint)
855         (python-shell-parse-command, python-shell-send-setup-code)
856         (python-skeleton-add-menu-items)
857         (python-util-clone-local-variables, python-util-position)
858         (run-python-internal, python-indentation-levels)
859         (python-nav-beginning-of-defun)
860         (python-completion-complete-at-point): New functions.
861         (run-python): Change arguments.  New API requirements.
863 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
865         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
866         (bug#11649).
868         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
869         (macroexp--expand-all): Use it.
871         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
872         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
873         Use `cl-function' instead.
875 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
877         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
878         Suggested by Stefan Monnier while discussing bug#11657.
880 2012-06-14  Sam Steingold  <sds@gnu.org>
882         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
884 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
886         * play/doctor.el (doctor-doc): Remove parameter and use
887         doctor-sent instead of sent.
888         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
890 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
892         * files.el: Require cl-lib.
893         (file-name-non-special): Replace case -> cl-case.
895         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
897         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
898         mapping from #' to function*.
900 2012-06-13  Chong Yidong  <cyd@gnu.org>
902         * mouse.el (mouse-drag-track): Do not set the mark if the user
903         releases the mouse without selecting anything (Bug#11588).
905 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
907         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
908         as well (bug#11646).
910         * loadup.el: Count byte-code functions as well.
912         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
913         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
915         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
916         (bug#11649).  Add cl-defun and cl-defmacro.
918 2012-06-13  Drew Adams  <drew.adams@oracle.com>
920         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
921         Fix last change.
923 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
925         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
926         Otherwise, it blocks in batch mode.
928 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
930         * help-mode.el (bookmark-make-record-default): Declare.
932 2012-06-13  Chong Yidong  <cyd@gnu.org>
934         * emacs-lisp/package.el (list-packages): Compute a list of
935         packages that are newly-available since the last list-packages
936         invocation.
937         (package-menu--new-package-list): New var.
938         (package-menu--generate, package-menu--print-info)
939         (package-menu--status-predicate, package-menu-mark-install):
940         Handle new status label "new".
942 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
944         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
945         conversion to backquotes.
947 2012-06-12  Chong Yidong  <cyd@gnu.org>
949         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
950         Rename from gud-inhibit-global-bindings.
952         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
954         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
955         hook from nxml-glyph-set-hook.
957         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
958         declaration.
960         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
962         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
963         Convert to defcustom.
965 2012-06-12  Drew Adams  <drew.adams@oracle.com>
967         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
968         New functions.
969         (help-mode): Use them.
971 2012-06-11  Glenn Morris  <rgm@gnu.org>
973         * progmodes/fortran.el (fortran-font-lock-keywords-3):
974         Use preprocessor face for directives.
975         (fortran-directive-re): Doc fix.
977 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
979         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
980         conversion to backquotes (bug#11652).
982         Fix compiler-expansion of CL's cXXr functions (bug#11673).
983         * emacs-lisp/cl-lib.el (cl--defalias): New function.
984         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
985         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
986         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
987         (cl-ninth, cl-tenth): Mark them as inlinable.
988         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
989         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
990         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
991         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
992         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
993         (cl-list*, cl-adjoin): Don't put an autoload manually.
994         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
995         (cl--compiler-macro-list*): Add autoload cookie.
996         (cl--compiler-macro-cXXr): New function.
998         * help-fns.el (help-fns--compiler-macro): New function extracted from
999         describe-function-1; follow aliases and use `compiler-macro' property.
1000         (describe-function-1): Use it.
1002 2012-06-11  Chong Yidong  <cyd@gnu.org>
1004         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1005         is uninstalled, if imagemagick is installed.
1007 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1009         * emacs-lisp/cl-lib.el: Use lexical-binding.
1010         (cl-map-extents, cl-maclisp-member): Remove.
1011         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1012         (cl--set-substring, cl--block-wrapper, cl--block-throw)
1013         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1014         * emacs-lisp/cl-extra.el: Use lexical-binding.
1015         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1016         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1017         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1018         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1019         * emacs-lisp/cl-seq.el: Use lexical-binding.
1020         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1021         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1022         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1023         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1024         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1025         CL's internals.
1027 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
1029         Sync with Tramp 2.2.6-pre.
1031         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1032         `print-length' and `print-level' to nil, in order to avoid
1033         truncation.  Reported by Christopher Schmidt
1034         <christopher@ristopher.com>.
1036         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1038         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1039         New defmacro.
1040         (tramp-compat-copy-directory): Add optional argument
1041         COPY-CONTENTS.  It is not handled yet.
1043         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1044         (tramp-ftp-file-name-p): Simplify.
1046         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1047         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1048         connection vector.
1050         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1051         (tramp-methods): Do not use `tramp-password-end-of-line'.
1052         (tramp-completion-function-alist-putty): Handle UNIX case.
1053         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1054         (tramp-do-file-attributes-with-stat)
1055         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1056         gid as real numbers.  They could run out of integer range on cygwin.
1057         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1058         (tramp-sh-handle-expand-file-name): Handle hops.
1059         (tramp-open-connection-setup-interactive-shell):
1060         Use `tramp-cleanup'.  Move check for busyboxes ...
1061         (tramp-find-shell): ... here.  Simplify implementation.
1062         Set "remote-shell" property also for alternative shells.
1063         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1064         If failing, a regular file would be written otherwise.
1065         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1066         (tramp-find-inline-encoding): Cache the coding commands in the
1067         process cache.  Apply test command on the remote side, if defined.
1068         (tramp-find-inline-compress): Cache the compress commands in the
1069         process cache.
1070         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1071         when requested.  Handle hops.
1072         (tramp-current-connection): New defvar.
1073         (tramp-maybe-open-connection): Use `tramp-cleanup'.
1074         Throw `suppress', if there was a failed connection shortly before.
1075         Handle user interrupt.  (Bug#10187)
1076         (tramp-get-inline-compress, tramp-get-inline-coding):
1077         Read connection properties from the process cache.
1079         * net/tramp-smb.el (tramp-smb-server-version)
1080         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1081         New defconsts.
1082         (tramp-smb-prompt): Extend for powershell prompt.
1083         (tramp-smb-file-name-handler-alist): Add handlers for
1084         `process-file', `shell-command' and `start-file-process'.
1085         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1086         (tramp-smb-winexe-shell-command-switch): New defcustoms.
1087         (tramp-smb-file-name-p): Simplify.
1088         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1089         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1090         (tramp-smb-shell-quote-argument): New defuns.
1091         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1092         Implement using "tar".  By this, time-stamps are preserved.
1093         (tramp-smb-handle-copy-file): Handle also the case of directories.
1094         (tramp-smb-do-file-attributes-with-stat)
1095         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1096         Use `tramp-get-connection-buffer').
1097         (tramp-smb-handle-rename-file): Use "rename", when source and
1098         target are on the same share.
1099         (tramp-smb-maybe-open-connection): Handle wrong passwords.
1100         Use `tramp-smb-server-version'.
1101         (tramp-smb-wait-for-output): Remove prompt.
1103         * net/tramp.el (top): Require 'cl.
1104         (tramp-methods, tramp-rsh-end-of-line):
1105         Remove `tramp-password-end-of-line' from docstring.
1106         (tramp-save-ad-hoc-proxies): New defcustom.
1107         (tramp-completion-function-alist): Adapt docstring.
1108         (tramp-default-password-end-of-line): Remove defcustom.
1109         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
1110         (tramp-user-regexp, tramp-file-name-regexp-unified)
1111         (tramp-file-name-regexp-url): Extend regexp by hop separator.
1112         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1113         (tramp-remote-file-name-spec-regexp): New defconst.
1114         (tramp-file-name-structure): Extend structure for hops.
1115         (tramp-get-method-parameter): Move up.
1116         (tramp-file-name-p, tramp-dissect-file-name)
1117         (with-parsed-tramp-file-name): Handle hops.
1118         (tramp-file-name-hop): New defun.
1119         (tramp-make-tramp-file-name): New optional arg HOP.
1120         (tramp-message-show-progress-reporter-message): New defvar.
1121         (tramp-with-progress-reporter): Use it.  We cannot use
1122         `tramp-message-show-message' here, because this suppresses also
1123         error buffers.
1124         (tramp-error-with-buffer): Suppress buffer view, if
1125         `tramp-message-show-message' is nil.
1126         Use `tramp-get-connection-buffer'.
1127         (tramp-cleanup): New defun.
1128         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1129         (tramp-file-name-handler): If `debug-on-error' is set, propagate
1130         an error unchanged.
1131         (tramp-completion-handle-file-name-all-completions): Handle hops.
1132         Fix an error when called from ido.
1133         (tramp-completion-dissect-file-name): Use better local variable
1134         name.  Add hop to the vector.
1135         (tramp-handle-insert-file-contents): Use progress-reporter for the
1136         whole scenario.
1137         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1138         to `t'.
1139         (tramp-check-for-regexp): Simplify search.
1140         (tramp-enter-password): Remove it.  Move implementation ...
1141         (tramp-action-password): ... here.
1142         (tramp-mode-string-to-int, tramp-local-host-p)
1143         (tramp-make-tramp-temp-file, tramp-read-passwd)
1144         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1145         Set tramp-autoload cookie.
1147         * net/trampver.el: Update release number.
1149 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1150             Michael Albinus  <michael.albinus@gmx.de>
1152         * net/tramp.el (tramp-set-completion-function): Fix docstring.
1153         (tramp-parse-group, tramp-parse-file)
1154         (tramp-parse-shostkeys-sknownhosts): New defuns.
1155         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1156         (tramp-parse-shosts-group, tramp-parse-sconfig)
1157         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1158         (tramp-parse-sknownhosts, tramp-parse-hosts)
1159         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1160         Use them.
1161         (tramp-parse-passwd-group, tramp-parse-netrc-group)
1162         (tramp-parse-putty-group): Don't narrow.
1163         (tramp-parse-putty): Make a loop.
1164         (tramp-file-name-handler): Catch the `suppress' signal.
1166 2012-06-11  Chong Yidong  <cyd@gnu.org>
1168         * image.el (imagemagick-register-types): Put the ImageMagick entry
1169         at the end of image-type-file-name-regexps.
1171 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
1173         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1174         (pcase, pcase-let*, pcase-dolist): Use them.
1176 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1178         * emacs-lisp/pcase.el (pcase--let*): New function.
1179         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
1180         (pcase--expand): Use macroexp-let².
1182 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1184         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1185         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1186         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1187         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1188         * emacs-lisp/derived.el: Use pcase instead of `cl'.
1189         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1191 2012-06-10  Glenn Morris  <rgm@gnu.org>
1193         * mail/rmail.el (rmail-yank-current-message): Leave point at
1194         correct position.  (Bug#11660)
1196 2012-06-10  Chong Yidong  <cyd@gnu.org>
1198         * allout-widgets.el: Fix code header.
1200 2012-06-10  Chong Yidong  <cyd@gnu.org>
1202         * cus-edit.el (customize-changed-options-previous-release):
1203         Bump to 24.1.
1205 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
1207         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1209 2012-06-09  Chong Yidong  <cyd@gnu.org>
1211         * ebuff-menu.el (electric-buffer-list): Preserve header line.
1213 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
1215         * window.el (special-display-popup-frame): Don't use
1216         window--display-buffer (Bug#11651).
1218 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
1220         Fix parallel builds: make sure loaddefs.el is not being written
1221         while Lisp files are compiled.
1222         (compile): Don't depend on 'mh-autoloads'.
1223         (compile-CMD, compile-SH): Depend on 'autoloads'.
1224         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1226         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
1228 2012-06-09  Chong Yidong  <cyd@gnu.org>
1230         * face-remap.el (face-remap-add-relative, face-remap-set-base)
1231         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1232         Doc fixes (Bug#11225).
1234 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1236         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1237         a function if there's a clear indication that it has a compiler-macro.
1238         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1239         (macro-declarations-alist): Add arglist to declaration functions.
1240         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1241         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1242         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1243         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1244         Also add autoload to find the compiler macro.
1245         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1246         (cl--compiler-macro-member, cl--compiler-macro-assoc)
1247         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1248         (cl--compiler-macro-get): New functions, replacing calls to
1249         cl-define-compiler-macro.
1250         (cl-typep) [compiler-macro]: Use macroexp-let².
1252 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
1254         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1255         string properly, fixes Bug#11473.
1257 2012-06-08  Chong Yidong  <cyd@gnu.org>
1259         * faces.el (set-face-attribute): Doc fix.
1260         (modify-face): Don't use :bold and :italic.
1261         (error, warning, success): Tweak definitions.
1263         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1264         (custom-modified, custom-set, custom-changed, custom-themed)
1265         (custom-saved, custom-button, custom-button-mouse)
1266         (custom-button-pressed, custom-state, custom-comment-tag)
1267         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1268         (custom-group-subtitle): Use new-style face specs.
1269         (custom-invalid-face, custom-rogue-face, custom-modified-face)
1270         (custom-set-face, custom-changed-face, custom-saved-face)
1271         (custom-button-face, custom-button-pressed-face)
1272         (custom-documentation-face, custom-state-face)
1273         (custom-comment-face, custom-comment-tag-face)
1274         (custom-variable-tag-face, custom-variable-button-face)
1275         (custom-face-tag-face, custom-group-tag-face-1)
1276         (custom-group-tag-face): Remove obsolete face alias.
1278         * epa.el (epa-validity-high, epa-validity-medium)
1279         (epa-validity-low, epa-mark, epa-field-name, epa-string)
1280         (epa-field-name, epa-field-body):
1281         * font-lock.el (font-lock-comment-face, font-lock-string-face)
1282         (font-lock-keyword-face, font-lock-builtin-face)
1283         (font-lock-function-name-face, font-lock-variable-name-face)
1284         (font-lock-type-face, font-lock-constant-face):
1285         * ido.el (ido-first-match, ido-only-match, ido-subdir)
1286         (ido-virtual, ido-indicator, ido-incomplete-regexp):
1287         * speedbar.el (speedbar-button-face, speedbar-file-face)
1288         (speedbar-directory-face, speedbar-tag-face)
1289         (speedbar-selected-face, speedbar-highlight-face)
1290         (speedbar-separator-face):
1291         * whitespace.el (whitespace-newline, whitespace-space)
1292         (whitespace-hspace, whitespace-tab, whitespace-trailing)
1293         (whitespace-line, whitespace-space-before-tab)
1294         (whitespace-space-after-tab, whitespace-indentation)
1295         (whitespace-empty):
1296         * emulation/cua-base.el (cua-global-mark):
1297         * eshell/em-prompt.el (eshell-prompt):
1298         * net/newst-plainview.el (newsticker-new-item-face)
1299         (newsticker-old-item-face, newsticker-immortal-item-face)
1300         (newsticker-obsolete-item-face, newsticker-date-face)
1301         (newsticker-statistics-face, newsticker-default-face):
1302         * net/newst-reader.el (newsticker-feed-face)
1303         (newsticker-extra-face, newsticker-enclosure-face):
1304         * net/newst-treeview.el (newsticker-treeview-face)
1305         (newsticker-treeview-new-face, newsticker-treeview-old-face)
1306         (newsticker-treeview-immortal-face)
1307         (newsticker-treeview-obsolete-face)
1308         (newsticker-treeview-selection-face):
1309         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1310         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1311         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1312         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1313         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1314         (nxml-outline-active-indicator, nxml-outline-ellipsis):
1315         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1316         (mpuz-text):
1317         * progmodes/vera-mode.el (vera-font-lock-number)
1318         (vera-font-lock-function, vera-font-lock-interface):
1319         * textmodes/table.el (table-cell): Use new-style face specs, and
1320         don't use the old :bold and :italic attributes.
1322         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1323         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1324         (ebrowse-member-class, ebrowse-progress): Likewise.
1325         (ebrowse-tree-mark-face, ebrowse-root-class-face)
1326         (ebrowse-file-name-face, ebrowse-default-face)
1327         (ebrowse-member-attribute-face, ebrowse-member-class-face)
1328         (ebrowse-progress-face): Remove obsolete faces.
1330         * progmodes/flymake.el (flymake-errline, flymake-warnline):
1331         Inherit from error and warning faces respectively.
1333         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1334         Likewise.
1335         (flyspell-incorrect-face, flyspell-duplicate-face):
1336         Remove obsolete aliases.
1338 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
1340         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1341         Avoid infloop.
1343 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1345         * startup.el (argv, argi): Make lexically scoped.
1346         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1347         * emacs-lisp/cl-macs.el: Use lexical-binding.
1348         Rename cl-bind-* to cl--bind-*.
1349         * files.el: Don't require `cl' since it doesn't use it.
1350         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1352 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
1354         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1355         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1356         instead of calling external sort utility.
1357         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1359 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
1361         * descr-text.el (describe-char): Mention how to insert the
1362         character, if the current input method doesn't support it.
1363         See the discussion in this thread for the details:
1364         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1366 2012-06-08  Sam Steingold  <sds@gnu.org>
1368         * bindings.el (global-map): Bind XF86Forward to next-buffer and
1369         XF86Back to previous-buffer.
1370         (minibuffer-local-map): Bind them to next-history-element and
1371         previous-history-element respectively.
1372         * help-mode.el (help-mode-map): Bind them to help-go-forward and
1373         help-go-back respectively.
1374         * info.el (Info-mode-map): Bind them to Info-history-forward and
1375         Info-history-back respectively.
1376         These are the keys next to Up on the ThinkPad keyboard.
1378 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1380         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1381         * emacs-lisp/cl-macs.el: Provide itself.
1382         (cl--labels-convert-cache): New var.
1383         (cl--labels-convert): New function.
1384         (cl-flet, cl-labels): New implementation with new semantics, relying on
1385         lexical-binding.
1386         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1387         (cl-closure-vars, cl--function-convert-cache)
1388         (cl--function-convert): Move from cl-macs.el.
1389         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1390         rename by removing the "cl-" prefix.
1391         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1393 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1395         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1396         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1397         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1398         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1399         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1400         (cl-hash-table-count): Add old compatibility aliases.
1402         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1403         Use macroexpand-all-environment instead.
1404         (cl--old-macroexpand): New var.
1405         (cl--sm-macroexpand): New function.
1406         (cl-symbol-macrolet): Use it during macro expansion.
1407         (cl--function-convert-cache): New var.
1408         (cl--function-convert): New function, extracted from
1409         cl-macroexpand-all.
1410         (cl-lexical-let): Use it.
1412         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1413         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1414         (cl-member): Remove old alias.
1416         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1417         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1418         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1419         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1420         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1421         (cl-macroexpand-cmacs): Remove var.
1422         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1423         Use macroexpand-all instead.
1425 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1427         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1428         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1429         (macroexp-copyable-p): New functions and macros.
1430         * emacs-lisp/edebug.el (edebug-unwrap):
1431         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1432         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1433         (pcase--let*): Remove.
1434         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1435         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
1436         macroexp-const-p instead.
1437         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1439         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1440         instead of "cl-" for internal definitions.  Use macroexp-const-p.
1441         (cl-old-bc-file-form): Remove var.
1442         (cl-const-exprs-p): Remove fun.
1443         (cl-labels, cl-macrolet): Use backquote.
1444         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
1445         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1446         (cl-define-setf-expander): Rename from cl-define-setf-method.
1447         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1449         * international/mule-cmds.el: Don't require CL.
1450         (view-hello-file): Don't use `letf'.
1452 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * tmm.el (tmm-prompt): Use string-prefix-p.
1455         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1456         (tmm-add-prompt): Use minibuffer-completion-help.
1457         (tmm-delete-map): Remove.
1459         * subr.el (kbd): Make it its own function.
1461 2012-06-07  Stefan Merten  <smerten@oekonux.de>
1463         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1464         Silence compiler warnings.  Fix versions.
1465         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1466         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1467         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1468         (rst-package-emacs-version-alist): Correct Emacs version to
1469         represent major merge with upstream.
1470         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1472 2012-06-06  Glenn Morris  <rgm@gnu.org>
1474         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1475         Only print environment variables if set.
1477 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1479         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1480         (macroexp--cons): Rename from maybe-cons.
1481         (macroexp--accumulate): Rename from macroexp-accumulate.
1482         (macroexp--all-forms): Rename from macroexpand-all-forms.
1483         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1484         (macroexp--expand-all): Rename from macroexpand-all-1.
1486 2012-06-06  Sam Steingold  <sds@gnu.org>
1488         * calendar/calendar.el (calendar-in-read-only-buffer):
1489         Call `special-mode' to enable the standard read-only keybindings.
1491 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1493         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1494         with "loading" messages (bug#11635).
1496 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
1498         * files.el (enable-remote-dir-locals): New option.
1499         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
1501         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1502         Ensure, that the temp directory is local.
1504         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1505         `temporary-file-directory'.
1507         * progmodes/python.el (python-send-region): Ensure, that the
1508         temporary file is created also in the remote case.
1510 2012-06-06  Glenn Morris  <rgm@gnu.org>
1512         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1513         (vc-rcs-update-changelog): Use it.
1515         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1517         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1518         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1519         (vc-sccs-diff): Replace use of the external vcdiff script.
1521 2012-06-05  Glenn Morris  <rgm@gnu.org>
1523         * ledit.el: Move to obsolete/.
1525 2012-06-05  Sam Steingold  <sds@gnu.org>
1527         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1528         patch (Bug#11140).
1530 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1532         * emacs-list/cust-print.el: Move to obsolete.
1534         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1535         compiler-macro expansion.
1537         Add native compiler-macro support.
1538         * emacs-lisp/macroexp.el (macroexpand-all-1):
1539         Support compiler-macros directly.  Properly follow aliases and apply
1540         the compiler macros more thoroughly.
1541         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1542         macroexpand now properly follows aliases.
1543         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1544         (cl-compiler-macroexpand): Use new prop.
1545         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1547         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1549 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
1551         * window.el (get-lru-window, get-mru-window, get-largest-window):
1552         New argument NOT-SELECTED to avoid picking the selected window.
1553         (window--display-buffer-1, window--display-buffer-2): Replace by
1554         new function window--display-buffer
1555         (display-buffer-same-window, display-buffer-reuse-window)
1556         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1557         Use window--display-buffer.
1558         (display-buffer-use-some-window): Remove temporary dedication
1559         hack by calling get-lru-window and get-largest-window with
1560         NOT-SELECTED argument non-nil.  Call window--display-buffer.
1562 2012-06-05  Glenn Morris  <rgm@gnu.org>
1564         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1565         Replace external vcdiff script.
1567 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1569         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1571 2012-06-04  Chong Yidong  <cyd@gnu.org>
1573         * image.el (imagemagick-types-inhibit): Revert last change.
1574         Add INFO and M.
1575         (imagemagick-enabled-types): Remove CIN and EPS*.
1577 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1579         * emacs-lisp/cl-lib.el: Rename from cl.el.
1580         * emacs-lisp/cl.el: New compatibility file.
1581         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1582         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1583         to obey the "cl-" prefix.
1584         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1586 2012-06-03  Glenn Morris  <rgm@gnu.org>
1588         * emacs-lisp/authors.el (authors-aliases): Addition.
1590         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1591         Fix :version.
1593 2012-06-03  Stefan Merten  <smerten@oekonux.de>
1595         * textmodes/rst.el: Add comments.
1596         (rst-transition, rst-adornment): New faces.
1597         (rst-adornment-faces-alist): Make default safe to reevaluate.
1598         Fixes
1599         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1600         Improve customization tags.
1601         (rst-define-level-faces): Clarify meaning.
1603 2012-06-03  Chong Yidong  <cyd@gnu.org>
1605         * progmodes/compile.el (compilation-mode-line-fail)
1606         (compilation-mode-line-run, compilation-mode-line-exit):
1607         New faces.
1608         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1610 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
1612         * progmodes/which-func.el (which-func-update-ediff-windows):
1613         New function.  Use it in ediff-select-hook (Bug#11478).
1615 2012-06-03  Chong Yidong  <cyd@gnu.org>
1617         * bindings.el: Remove explicit help text from format-mode-line.
1618         It is now supplied by mode-line-default-help-echo.
1619         (mode-line-front-space, mode-line-end-spaces)
1620         (mode-line-misc-info): New variables.
1621         (mode-line-modes, mode-line-position): Move the default value to
1622         the variable definition.
1623         (mode-line-default-help-echo): New defcustom.
1624         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1625         (mode-line-modified-help-echo): New functions.
1626         (mode-line-mule-info, mode-line-modified): Use them.
1627         (mode-line-eol-desc, propertized-buffer-identification):
1628         Consistency fixes for help text.
1629         (mode-line-coding-system-map): Allow using mouse-3 to invoke
1630         set-buffer-file-coding-system (Bug#289).
1631         (mode-line-mule-info-help-echo): Update help text.
1633 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * simple.el (execute-extended-command): Set real-this-command
1636         (bug#11506).
1638 2012-06-02  Chong Yidong  <cyd@gnu.org>
1640         Remove incorrect uses of "modeline" in comments, docstrings, and
1641         function/variable names (Bug#10329).
1643         * cus-edit.el (mode-line):
1644         * dframe.el (dframe-mouse-hscroll):
1645         * emacs-lisp/re-builder.el:
1646         * emacs-lisp/easy-mmode.el (define-minor-mode):
1647         * frame.el (set-frame-name):
1648         * help.el (lookup-minor-mode-from-indicator):
1649         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1650         * progmodes/cc-cmds.el (c-toggle-auto-newline)
1651         (c-toggle-hungry-state):
1652         * progmodes/antlr-mode.el (antlr-language-alist):
1653         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1654         * progmodes/vhdl-mode.el (vhdl-mode):
1655         * progmodes/which-func.el (which-func, which-func-cleanup-function):
1656         * term/ns-win.el (ns-face-at-pos):
1657         * term/sup-mouse.el (sup-mouse-report):
1658         * textmodes/flyspell.el (flyspell-mode-line-string):
1659         * textmodes/ispell.el (ispell-highlight-face):
1660         * textmodes/reftex-global.el:
1661         * vc/vc-arch.el (vc-arch-mode-line-string):
1662         * vc/vc-cvs.el (vc-cvs-mode-line-string):
1663         * vc/vc-git.el (vc-git-mode-line-string):
1664         * vc/vc-hooks.el (vc-display-status)
1665         (vc-default-mode-line-string):
1666         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1668         * ansi-color.el (ansi-color-faces-vector): Change default faces.
1670         * dired.el (dired-sort-set-mode-line): Rename from
1671         dired-sort-set-modeline.  All callers changed.
1673         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1674         eshell-status-in-modeline.
1676         * foldout.el (foldout-mode-line-string): Rename from
1677         foldout-modeline-string.  All callers changed.
1678         (foldout-update-mode-line): Rename from foldout-update-modeline.
1680         * subr.el (redraw-modeline): Make into obsolete alias.
1682         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1683         timeclock-modeline-display.  Make old name an alias.
1684         (timeclock-update-mode-line): Likewise.  All callers changed.
1685         (timeclock-mode-line-display): No need to check before using
1686         add-hook.
1687         (timeclock-relative, timeclock-day-over-hook)
1688         (timeclock-use-elapsed, timeclock-mode-string)
1689         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1691         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1692         crisp-mode-modeline-string.
1694         * play/solitaire.el (solitaire-build-mode-line): Rename from
1695         solitaire-build-modeline.  All callers changed.
1697         * play/zone.el (zone-hiding-mode-line): Rename from
1698         zone-hiding-modeline.  All callers changed.
1699         (zone): Remove unusued `modeline-hidden-level' property.
1701         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1702         xscheme-modeline-initialize.  All callers changed.
1704         * strokes.el (strokes-lighter): Rename from
1705         strokes-modeline-string.
1707         * textmodes/sgml-mode.el (html-face-tag-alist)
1708         (html-tag-face-alist): Use mode-line face instead of obsolete
1709         alias modeline.
1711 2012-06-02  Stefan Merten  <smerten@oekonux.de>
1713         * textmodes/rst.el: Always require `cl'.
1714         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1716 2012-06-02  Chong Yidong  <cyd@gnu.org>
1718         * image.el (imagemagick-enabled-types): Rename from
1719         imagemagick-types-enable.  Add many more types.
1720         (imagemagick-types-inhibit): Change default to nil.
1721         (imagemagick-filter-types): Caller changed.
1723 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1725         * emacs-lisp/cl-macs.el: Use backquotes.
1726         (cl-transform-function-property): Use eval-and-compile rather than
1727         abusing `require'.
1728         (defstruct): Use declare-function instead of with-no-warnings.
1730         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1731         (byte-compile-output-docform): Re-add the print-circle bindings.
1732         (byte-compile-fix-header): Use #$ just because it's shorter.
1733         (byte-compile-output-file-form): Remove defun/defmacro.
1735 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
1737         * simple.el (choose-completion): Remove now obsolete binding for
1738         owindow.
1740 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
1742         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1743         in order to avoid "Stack overflow in regexp matcher".
1745 2012-05-31  Glenn Morris  <rgm@gnu.org>
1747         * image.el: For clarity, call imagemagick-register-types at
1748         top-level, rather than relying on a custom :initialize.
1749         (imagemagick-types-enable): New option.  (Bug#11557)
1750         (imagemagick-filter-types): New function.  (Bug#7406)
1751         (imagemagick-register-types): Use imagemagick-filter-types.
1752         If disabling support, remove elements altogether rather
1753         than using an impossible regexp.
1754         (imagemagick-types-inhibit): Give it the default init function.
1756 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1759         Handle arbitrary file name lengths (Bug#11585).
1761 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
1763         * desktop.el (desktop-read): Clear previous and next buffers for
1764         all windows and bury *Messages* buffer (bug#11556).
1766 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1768         Add `declare' for `defun'.  Align `defmacro's with it.
1769         * emacs-lisp/easy-mmode.el (define-minor-mode)
1770         (define-globalized-minor-mode): Don't autoload the var definitions.
1771         * emacs-lisp/byte-run.el: Use lexical-binding.
1772         (defun-declarations-alist, macro-declarations-alist): New vars.
1773         (defmacro, defun): Use them.
1774         (make-obsolete, define-obsolete-function-alias)
1775         (make-obsolete-variable, define-obsolete-variable-alias):
1776         Use `declare'.
1777         (macro-declaration-function): Mark obsolete.
1778         * emacs-lisp/autoload.el: Use lexical-binding.
1779         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
1781 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1783         * textmodes/ispell.el (ispell-with-no-warnings):
1784         Define as a macro.
1785         (ispell-kill-ispell, ispell-change-dictionary):
1786         Use `called-interactively-p' for Emacs instead of obsolete
1787         `interactive-p'.
1789 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1791         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1792         (macro-declaration-function): Move var from C code.
1793         (macro-declaration-function): Define function with defalias.
1794         * emacs-lisp/macroexp.el (macroexpand-all-1):
1795         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1796         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1797         defun/defmacro any more.
1798         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1799         Provide fallback for unknown arglist.
1800         (byte-compile-arglist-warn): Change calling convention.
1801         (byte-compile-output-file-form): Move print-vars binding.
1802         (byte-compile-output-docform): Simplify accordingly.
1803         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1804         (byte-compile-defmacro-declaration): Remove.
1805         (byte-compile-file-form-defmumble): Generalize to defalias.
1806         (byte-compile-output-as-comment): Return byte-positions.
1807         Simplify callers accordingly.
1808         (byte-compile-lambda): Use `assert'.
1809         (byte-compile-defun, byte-compile-defmacro): Remove.
1810         (byte-compile-file-form-defalias):
1811         Use byte-compile-file-form-defmumble.
1812         (byte-compile-defalias-warn): Remove.
1814 2012-05-29  Stefan Merten  <smerten@oekonux.de>
1816         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1817         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
1819         (rst-mode-abbrev-table): Merge definition.
1820         (rst-mode): Make sure `font-lock-defaults' is buffer local.
1821         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1823 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
1825         * calendar/icalendar.el
1826         (icalendar-export-region): Export UID properly.
1828 2012-05-29  Leo Liu  <sdl.web@gmail.com>
1829         * calendar/icalendar.el (icalendar-import-format):
1830         Add `icalendar-import-format-uid' (Bug#11525).
1831         (icalendar-import-format-uid): New.
1832         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1833         Export UID.
1835 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1838         different alternative patterns.
1839         (pcase-codegen): Be more careful to preserve identity.
1840         (pcase--u1): Don't forget to mark vars as used.
1842         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1843         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1844         (byte-compile-from-buffer): ...rather than here.
1846         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1847         functions from byte-compile-function-environment.
1849 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
1851         * window.el (window-deletable-p): Avoid deleting the root window
1852         of a frame with an active minibuffer.
1854 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
1856         * simple.el (choose-completion): Use quit-window (Bug#11567).
1858 2012-05-29  Chong Yidong  <cyd@gnu.org>
1860         * whitespace.el (whitespace-cleanup): Fix usage of
1861         whitespace-empty-at-bob-regexp (Bug#11492).
1863 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1865         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1866         revert (Bug#11488).
1868 2012-05-29  Juri Linkov  <juri@jurta.org>
1870         * isearch.el (isearch-mode-map): Bind `M-s _' to
1871         `isearch-toggle-symbol'.  Bind `M-s c' to
1872         `isearch-toggle-case-fold'.
1873         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1874         (isearch-forward): Add `M-s _' to the docstring.
1875         (isearch-forward-symbol, isearch-toggle-case-fold)
1876         (isearch-symbol-regexp): New functions.  (Bug#11381)
1878 2012-05-29  Juri Linkov  <juri@jurta.org>
1880         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
1881         (isearch-occur, isearch-search-and-update): If `isearch-word' is
1882         a function, call it to get the regexp.
1883         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1884         property `isearch-message-prefix' instead of the string "word ".
1885         (isearch-search-fun-default): For the case of `isearch-word',
1886         return a lambda that calls re-search-forward/re-search-backward
1887         with a regexp returned by `word-search-regexp' or by the function
1888         in `isearch-word'.
1890 2012-05-29  Juri Linkov  <juri@jurta.org>
1892         * isearch.el (isearch-search-fun-default): New function.
1893         (isearch-search-fun): Move default part to the new function
1894         `isearch-search-fun-default'.
1895         (isearch-search-fun-function): Set the default value to
1896         `isearch-search-fun-default'.  (Bug#11381)
1898         * comint.el (comint-history-isearch-end):
1899         Use `isearch-search-fun-default'.
1900         (comint-history-isearch-search): Use `isearch-search-fun-default'
1901         and remove spacial case for `isearch-word'.
1902         (comint-history-isearch-wrap): Remove spacial case for
1903         `isearch-word'.
1905         * hexl.el (hexl-isearch-search-function):
1906         Use `isearch-search-fun-default'.
1908         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1909         Use `word-search-regexp' for `isearch-word'.
1911         * misearch.el (multi-isearch-search-fun):
1912         Use `isearch-search-fun-default'.
1914         * simple.el (minibuffer-history-isearch-search):
1915         Use `isearch-search-fun-default' and remove spacial case for
1916         `isearch-word'.
1917         (minibuffer-history-isearch-wrap): Remove spacial case for
1918         `isearch-word'.
1920         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1921         Remove spacial case for `isearch-word'.
1922         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1924 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1926         Decrease XEmacs incompatibilities.
1927         * textmodes/flyspell.el (flyspell-check-pre-word-p):
1928         Use `string-match'.
1929         (flyspell-delete-region-overlays): Use alternative definition for
1930         XEmacs.
1931         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1932         (flyspell-word): Use `process-kill-without-query' if XEmacs.
1933         (flyspell-mode-on): Use `interactive-p' if XEmacs.
1934         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1935         `define-obsolete-face-alias' under XEmacs, but old method.
1937         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1938         `with-no-warnings' definition or Emacs alias.
1939         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1940         (ispell-word): Do not use `region-p' if XEmacs.
1942 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1944         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1945         Check for `ispell-dictionary-base-alist' instead of full
1946         `ispell-dictionary-alist'.
1947         (ispell-init-process): Show spellchecker when starting new Ispell
1948         process.
1950 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1952         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1953         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1955 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
1957         * version.el (motif-version-string, gtk-version-string)
1958         (ns-version-string): Declare.
1960 2012-05-27  Juri Linkov  <juri@jurta.org>
1962         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1963         after the `eval-defun-1' specialcaseing
1964         like in `edebug-eval-defun' (bug#10181).
1966         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1967         like in `eval-defun-1'.
1969 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1971         * mail/sendmail.el (mail-yank-region):
1972         Recognize rmail-yank-current-message in addition to insert-buffer.
1973         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1974         a *mail* buffer created through rmail-start-mail with sendmail as
1975         mail-user-agent.
1977 2012-05-27  Chong Yidong  <cyd@gnu.org>
1979         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1980         Default to 256 (Bug#11267).
1982         * help.el (describe-mode): Doc fix.
1984 2012-05-26  Glenn Morris  <rgm@gnu.org>
1986         * w32-fns.el (w32-init-info): Remove.
1987         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1989         * info.el (info-initialize): For self-contained NS builds, put the
1990         included info/ directory at the front.  (Bug#2791)
1992         * paths.el (Info-default-directory-list): Make it a defcustom,
1993         mainly so that we can use custom-initialize-delay.
1995 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1997         * subr.el (buffer-has-markers-at): Mark obsolete.
1999         * subr.el (lambda): Use declare.
2001         * emacs-lisp/lisp-mode.el (lambda):
2002         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2004 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2006         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
2008 2012-05-26  Glenn Morris  <rgm@gnu.org>
2010         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2012 2012-05-25  Glenn Morris  <rgm@gnu.org>
2014         * paths.el: Remove no-byte-compile.
2015         * loadup.el: No need to load paths.el uncompiled.
2017         * image.el (imagemagick-types-inhibit): Doc fix.
2019         * version.el: Remove no-byte-compile and associated formatting.
2020         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
2021         is ancient code from when there was an "inc-vers.el".
2023 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2025         * progmodes/gdb-mi.el: Minor style changes.
2026         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2027         Turn into minor modes.
2028         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2029         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2030         (gdb-shell): Remove unneeded let-binding.
2031         (gdb-get-many-fields): Eliminate O(n²) behavior.
2033 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
2035         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2036         platforms that don't link in fontset.c.
2038 2012-05-25  Juri Linkov  <juri@jurta.org>
2040         Use the same diff color scheme as in modern VCSes (bug#10181).
2042         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2043         to avoid confusion with `diff-added' that now uses green colors.
2044         (diff-removed): Use shades of red.
2045         (diff-added): Use shades of green.
2046         (diff-changed): Leave just the yellow color.
2047         (diff-use-changed-face): New variable.
2048         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2049         how to highlight context diff changes.
2050         (diff-refine-change): Use shades of yellow.
2051         (diff-refine-removed): New face that uses shades of red.
2052         (diff-refine-added): New face that uses shades of green.
2053         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2054         `diff-refine-removed' in the call to `smerge-refine-subst'
2055         depending on the value of `diff-use-changed-face'.
2057         * vc/smerge-mode.el (smerge-mine): Use shades of red.
2058         (smerge-other): Use shades of green.
2059         (smerge-base): Use shades of yellow.
2060         (smerge-refined-change): Empty face.
2061         (smerge-refined-removed): New face that uses shades of red.
2062         (smerge-refined-added): New face that uses shades of green.
2063         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
2064         args `props-r' and `props-a', and use them.  Doc fix.
2065         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2066         on its value use different faces `smerge-refined-change',
2067         `smerge-refined-removed', `smerge-refined-added' in the call to
2068         `smerge-refine-subst'.
2070         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2071         Add face condition `min-colors 88' with shades of red.
2072         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2073         `min-colors 88' with shades of green.
2074         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2075         `min-colors 88' with shades of yellow.
2077 2012-05-24  Glenn Morris  <rgm@gnu.org>
2079         * paths.el (prune-directory-list, remote-shell-program): Move to...
2080         * files.el (prune-directory-list, remote-shell-program): ...here.
2081         For the latter, delay initialization, prefer ssh, just search PATH.
2083         * paths.el (term-file-prefix): Move to faces.el (the only user).
2084         * faces.el (term-file-prefix): Move here, make it a defcustom.
2086         * paths.el (news-directory, news-path, news-inews-program):
2087         Move to gnus/nnspool.el.
2089         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2091         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2092         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2093         Make the latter a defcustom, with a delayed initialization.
2095         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2096         These were deleted from Gnus itself late 2010.
2098 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
2100         * progmodes/which-func.el (which-func-ff-hook):
2101         Check against user-error, not error.
2103         * emacs-lisp/edebug.el (top): Do not load or set up loading of
2104         cl-specs.el, which no longer exists.
2106 2012-05-22  Glenn Morris  <rgm@gnu.org>
2108         * info.el (info-emacs-bug): New command.
2109         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2110         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2112 2012-05-21  Glenn Morris  <rgm@gnu.org>
2114         * makefile.w32-in (update-subdirs-SH):
2115         * Makefile.in (update-subdirs): Update for moved update-subdirs.
2117 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2121         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2122         Simplify Maven regexp, and make sure the file can't start with a space
2123         (bug#11517).
2125 2012-05-21  Glenn Morris  <rgm@gnu.org>
2127         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2128         Scrap superfluous subshells.
2130 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2132         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2133         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2135 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
2137         * calc/calc.el (calc-ensure-consistent-units): New variable.
2139         * calc/calc-units.el (math-consistent-units-p)
2140         (math-check-unit-consistency): New functions.
2141         (calc-quick-units, calc-convert-units):
2142         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2143         is non-nil.
2144         (calc-extract-units): Fix typo.
2146 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2148         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2150         * textmodes/flyspell.el: Commenting style, plus code simplifications.
2151         (flyspell-default-deplacement-commands): Don't spell check after
2152         repeated window/frame switches (e.g. triggered by mouse-movement).
2153         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2154         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2155         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2156         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2157         Remove unused vars.
2158         (flyspell-get-casechars, flyspell-get-not-casechars):
2159         Simplify; Don't bother removing a ] just to add it back.
2160         * textmodes/ispell.el (ispell-program-name): Use executable-find.
2162 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2164         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2165         New functions.
2166         (math-function-table): Add support for more C functions.
2168 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2170         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2171         (flyspell-debug-signal-word-checked): Protect delay handling for
2172         otherchars against empty otherchars.
2174 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2176         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2177         their respective macro declarations.
2178         * skeleton.el (define-skeleton):
2179         * progmodes/compile.el (define-compilation-mode):
2180         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2181         (define-ibuffer-filter):
2182         * emacs-lisp/generic.el (define-generic-mode):
2183         * emacs-lisp/easy-mmode.el (define-minor-mode)
2184         (define-globalized-minor-mode):
2185         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2186         * emacs-lisp/byte-run.el (defsubst):
2187         * custom.el (deftheme): Add doc-string metadata.
2189 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2191         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2193 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2195         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2197         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2198         * emacs-lisp/cl-macs.el: Idem.
2199         * emacs-lisp/cl-specs.el: Remove.
2201 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2203         Minor renaming of internal CL functions and variables.
2204         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2205         (cl--position): Rename from cl-position.
2206         (cl--delete-duplicates): Rename from cl-delete-duplicates.
2207         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2208         (cl--random-state): Rename from *random-state*.
2210 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2212         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2213         parens around the arg list (bug#11499).
2215 2012-05-17  Juri Linkov  <juri@jurta.org>
2217         * isearch.el (word-search-regexp, word-search-backward)
2218         (word-search-forward, word-search-backward-lax)
2219         (word-search-forward-lax): Move functions from search.c
2220         (bug#10145, bug#11381).
2222 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2224         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2225         (flyspell-debug-signal-word-checked): Delay for otherchars as for
2226         normal word components.
2228 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2230         * minibuffer.el (completion--sifn-requote): Fix last change.
2231         (minibuffer-local-must-match-filename-map):
2232         Move define-obsolete-variable-alias before its var.
2234 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2236         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2238         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2239         behavior.
2240         (completion--string-equal-p): New function.
2241         (completion--twq-all): Use it to get better assertion failure data.
2243         Only handle ".." and '..' quoting in shell-mode (bug#11466).
2244         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2245         (shell--requote-argument): New functions.
2246         (shell-completion-vars): Use them.
2247         (shell--parse-pcomplete-arguments): Rename from
2248         shell-parse-pcomplete-arguments.
2249         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
2250         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2251         Obey comint-file-name-quote-list.
2253         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2254         (smie-indent-keyword): Use it.
2256 2012-05-14  Stefan Merten  <smerten@oekonux.de>
2258         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2260 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2262         * net/rlogin.el (rlogin-mode-map): Fix last change.
2264 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
2266         * mail/smtpmail.el (smtpmail-send-command): Send the command and
2267         the following \r\n using a single `process-send-string', since the
2268         Lotus SMTP server refuses to accept any commands if they are sent
2269         with two `process-send-string's (Bug#11444).
2271 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2273         * shell.el (shell-parse-pcomplete-arguments):
2274         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2276 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2278         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2279         (image-transform-scale, image-transform-right-angle-fudge): New vars.
2280         (image-transform-width, image-transform-fit-width): New functions.
2281         (image-transform-properties): Use them.
2282         (image-transform-check-size): New function.
2283         (image-toggle-display-image): Use it (for testing).
2284         (image-transform-set-rotation): Reduce angle mod 360.
2285         Delete obsolete comment.
2287 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2289         * image-mode.el: Fix scaling (bug#11399).
2290         (image-transform-resize): Doc fix.
2291         (image-transform-properties): Default scale is 1 and height should
2292         be an integer.
2294 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
2296         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2297         than hard-coding `car', to fix misbehavior when moving forward.
2299 2012-05-13  Chong Yidong  <cyd@gnu.org>
2301         * emacs-lisp/tabulated-list.el (tabulated-list-format)
2302         (tabulated-list-entries, tabulated-list-padding)
2303         (tabulated-list-sort-key): Make permanent-local.
2305         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2306         (electric-buffer-list): Put electric buffer menu
2307         command descriptions in this docstring, instead of the docstring
2308         of electric-buffer-menu-mode.  Code cleanups.
2309         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
2310         Electric-buffer-menu-mode.
2311         (electric-buffer-update-highlight): Minor code cleanup.
2313 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
2315         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2316         (Bug#11447)
2318 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2320         Move define-obsolete-variable-alias before the var's definition.
2321         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2322         * tooltip.el (tooltip-hook):
2323         * textmodes/reftex-toc.el (reftex-toc-map):
2324         * textmodes/reftex-sel.el (reftex-select-label-map)
2325         (reftex-select-bib-map):
2326         * textmodes/reftex-index.el (reftex-index-map)
2327         (reftex-index-phrases-map):
2328         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2329         * progmodes/meta-mode.el (meta-mode-map):
2330         * novice.el (disabled-command-hook):
2331         * loadhist.el (unload-hook-features-list):
2332         * frame.el (blink-cursor):
2333         * files.el (find-file-not-found-hooks, write-file-hooks)
2334         (write-contents-hooks):
2335         * emulation/tpu-edt.el (GOLD-map):
2336         * emacs-lock.el (emacs-lock-from-exiting):
2337         * emacs-lisp/generic.el (generic-font-lock-defaults):
2338         * emacs-lisp/chart.el (chart-map):
2339         * dos-fns.el (register-name-alist):
2340         * dired-x.el (dired-omit-files-p):
2341         * desktop.el (desktop-enable):
2342         * cus-edit.el (custom-mode-hook):
2343         * buff-menu.el (buffer-menu-mode-hook):
2344         * bookmark.el (bookmark-read-annotation-text-func)
2345         (bookmark-exit-hooks):
2346         * allout.el (allout-mode-deactivate-hook)
2347         (allout-exposure-change-hook, allout-structure-added-hook)
2348         (allout-structure-deleted-hook, allout-structure-shifted-hook):
2349         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2350         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2351         comes before the corresponding variable's definition.
2353 2012-05-12  Chong Yidong  <cyd@gnu.org>
2355         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2356         (Buffer-menu-mouse-select): Restore function (Bug#11459).
2357         (Buffer-menu-mode-map): Bind it.
2358         (Buffer-menu--pretty-name): Add a mouse-face property.
2360 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2362         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
2363         (prolog-upper-case-string, prolog-lower-case-string)
2364         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2365         (prolog-use-smie, prolog-smie-grammar): New vars.
2366         (prolog-smie-forward-token, prolog-smie-backward-token)
2367         (prolog-smie-rules): New funs.
2368         (prolog-comment-indent): Remove.
2369         (prolog-mode-variables): Use default comment indentation instead.
2370         Setup SMIE.
2371         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2372         (prolog-mode): Don't call them any more.
2373         (prolog-electric-colon, prolog-electric-dash)
2374         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2376         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2378         * minibuffer.el (completion--twq-all): Again, allow case differences.
2380         * term.el: Move keymap initialization code to be more idiomatic.
2381         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2382         (term-terminal-menu): Move initialization into declaration.
2383         (term-escape-char): Let the user set it in her .emacs.
2385         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2386         Provide SMIE-based indentation (not enabled by default yet).
2387         (sh-mode-map): Don't bind electric keys.
2388         Use electric-pair-mode instead of skeleton-pair.
2389         (sh-assignment-regexp): Fit within 80 columns.
2390         (sh-indent-supported): Specify actual shell name instead of boolean.
2391         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2392         (sh-maybe-here-document): Use it.  Make obsolete.
2393         (sh-electric-here-document-mode) New minor mode.
2394         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
2395         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2396         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2397         (sh-smie-rc-grammar, sh-use-smie): New vars.
2398         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2399         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2400         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2401         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2402         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2403         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2404         (sh-set-shell): Use smie-setup if requested.
2406         * term.el (term-set-escape-char): Properly set term-escape-char.
2407         See http://stackoverflow.com/questions/10524656.
2409 2012-05-10  Chong Yidong  <cyd@gnu.org>
2411         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2412         Use url-generic-parse-url, and handle host names and Windows
2413         filenames properly.
2414         (ffap-url-unwrap-remote): Use url-generic-parse-url.
2415         (ffap-url-unwrap-remote): Accept list values, specifying a list of
2416         URL schemes to work on.
2417         (ffap--toggle-read-only): New function.
2418         (ffap-read-only, ffap-read-only-other-window)
2419         (ffap-read-only-other-frame): Use it.
2420         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2421         necessary for ffap-url-unwrap-remote.
2423 2012-05-10  Dave Abrahams  <dave@boostpro.com>
2425         * cus-start.el (create-lockfiles): Add it.
2427 2012-05-09  Chong Yidong  <cyd@gnu.org>
2429         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2430         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2432 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2434         * shell.el (shell-completion-vars): Fix last change (bug#11348).
2436 2012-05-09  Chong Yidong  <cyd@gnu.org>
2438         * ansi-color.el (ansi-color-process-output): Check for validity of
2439         comint-last-output-start before using it.  This avoids a bad
2440         interaction with gdb-mi's input/output buffer.
2442 2012-05-09  Glenn Morris  <rgm@gnu.org>
2444         * files.el (dir-locals-read-from-file):
2445         Mention dir-locals in any error message.
2447 2012-05-09  Chong Yidong  <cyd@gnu.org>
2449         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2450         package (Bug#11410).
2452         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2453         variables into description.
2455 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2457         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2458         shell-delimiter-argument-list (bug#11348).
2459         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2461 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
2463         * textmodes/rst.el: Silence byte-compiler warnings.
2464         (rst-re-alist, rst-reset-section-caches): Move around.
2465         (rst-re): Use `characterp', not `char-valid-p'.
2466         (font-lock-beg, font-lock-end): Declare.
2468         * progmodes/idlw-shell.el (specs): Remove reference to deleted
2469         variable `idlwave-shell-activate-alt-keybindings' and simplify.
2471         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2473 2012-05-08  Glenn Morris  <rgm@gnu.org>
2475         * files.el (auto-mode-alist): Treat ".make" like ".mk".
2477 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2479         * vc/log-edit.el: Add GNU coding standards highlighting.
2480         (log-edit-font-lock-gnu-style)
2481         (log-edit-font-lock-gnu-keywords): New vars.
2482         (log-edit-font-lock-keywords): New fun.
2483         (log-edit-mode): Don't fold case in font-lock.
2484         (log-edit-font-lock-keywords): Do not assume case-folding.
2486         * imenu.el: Misc cleanup.  Make docstrings out of comments.
2487         Use lexical-binding.
2488         (imenu--index-alist, imenu--last-menubar-index-alist)
2489         (imenu-menubar-modified-tick): Use defvar-local.
2490         (imenu--split-menu): Remove unused var.
2491         (imenu--cleanup-seen): Declare as global.
2492         (imenu--cleanup): Use dolist.
2494         * subr.el (defvar-local): Add debug spec and doc-string position.
2496 2012-05-08  Glenn Morris  <rgm@gnu.org>
2498         * lisp/language/burmese.el, language/cham.el, language/czech.el:
2499         * language/english.el, language/georgian.el, language/greek.el:
2500         * language/japanese.el, language/khmer.el, language/korean.el:
2501         * language/lao.el, language/misc-lang.el, language/romanian.el:
2502         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2503         * language/thai.el, language/utf-8-lang.el:
2504         Remove no-byte-compile setting.
2506         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
2508 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2510         * progmodes/make-mode.el (makefile-browse):
2511         Remove unnecessary interactive.  (Bug#11324)
2513 2012-05-07  Glenn Morris  <rgm@gnu.org>
2515         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2517         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2519 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2521         * loadup.el: Preload newcomment.el.
2522         * newcomment.el: Move autoload-only code to toplevel.
2524         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2525         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2526         Handle new :right-align column property.
2527         (tabulated-list-print-col): Idem, plus use `display' text-property to
2528         try and preserve alignment for variable pitch fonts.
2530 2012-05-07  Chong Yidong  <cyd@gnu.org>
2532         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2533         (tabulated-list-use-header-line): New var.
2534         (tabulated-list-init-header): Use it.
2535         (tabulated-list-print-fake-header): New function.
2536         (tabulated-list-print): Use it.
2537         (tabulated-list-sort-button-map): Add non-header-line commands.
2538         (tabulated-list-init-header): Add column name property to basic
2539         labels as well.
2540         (tabulated-list-col-sort): Handle non-header-line button case.
2541         (tabulated-list--sort-by-column-name): Fix a corner case.
2543         * buff-menu.el (list-buffers--refresh):
2544         Handle Buffer-menu-use-header-line.
2546 2012-05-06  Chong Yidong  <cyd@gnu.org>
2548         * buff-menu.el: Convert to Tabulated List mode.
2549         (Buffer-menu-buffer+size-width): Make obsolete.
2550         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2551         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2552         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
2553         documentation into docstring of buffer-menu.
2554         (Buffer-menu-toggle-files-only): Add an informative message.
2555         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2556         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2557         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2558         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2559         (Buffer-menu-execute, Buffer-menu-select)
2560         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2561         (Buffer-menu-bury): Use Tabulated List machinery.
2562         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2563         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2564         Delete.
2565         (list-buffers--refresh): New function.
2566         (list-buffers-noselect): Use it.
2567         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2568         (Buffer-menu--pretty-file-name): New helper functions.
2570         * loadup.el: Preload tabulated-list.
2572         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2573         tabulated-list-sort-column.
2574         (tabulated-list-init-header): Add the initial aligning space even
2575         if tabulated-list-padding is zero.
2577 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
2579         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2580         whose cdr is not a cons cell correctly (bug#11038).
2582 2012-05-06  Chong Yidong  <cyd@gnu.org>
2584         * emacs-lisp/tabulated-list.el (tabulated-list-format):
2585         Accept additional plist in column descriptors.
2586         (tabulated-list-init-header): Obey it.
2587         (tabulated-list-get-entry): New function.
2588         (tabulated-list-put-tag): Use it.  Use string-width instead of
2589         length.
2590         (tabulated-list--column-number): New function.
2591         (tabulated-list-print): Use it.
2592         (tabulated-list-print-col): New function.
2593         Set `tabulated-list-column-name' property on each column's text.
2594         (tabulated-list-print-entry): Use it.
2595         (tabulated-list-delete-entry, tabulated-list-set-col):
2596         New functions.
2597         (tabulated-list-sort-column): New command (Bug#11337).
2599         * buff-menu.el (list-buffers): Move C-x C-b binding from
2600         buff-menu.el to bindings.el.
2602         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2603         :advertised-binding feature.
2605 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
2607         * progmodes/compile.el (compilation-internal-error-properties):
2608         Calculate start position correctly when end-col is set but
2609         end-line is not (Bug#11382).
2611 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
2613         * man.el (Man-unindent): Use text-property-default-nonsticky to
2614         prevent untabify from inheriting face properties (Bug#11408).
2616 2012-05-05  Stefan Merten  <smerten@oekonux.de>
2618         * textmodes/rst.el: Major merge with upstream development up to
2619         Docutils SVN r7399 / rst.el V1.2.1.
2621         Clarify maintainership and authors.
2623         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2624         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2625         (rst-official-version, rst-official-cvs-rev, rst-version)
2626         (rst-package-emacs-version-alist): New functions and variables
2627         for version information.
2629         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2630         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2631         (rst-mode-syntax-table, rst-mode): New and corrected functions
2632         and variables representing reStructuredText features.
2634         (rst-re): New function for reStructuredText regexes.  Use in
2635         many places.
2637         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2638         (rst-mode-map): Rebind keys.
2640         (rst-mode-lazy, rst-font-lock-keywords)
2641         (rst-font-lock-extend-region)
2642         (rst-font-lock-extend-region-internal)
2643         (rst-font-lock-extend-region-extend)
2644         (rst-font-lock-find-unindented-line-limit)
2645         (rst-font-lock-find-unindented-line-match)
2646         (rst-adornment-level, rst-font-lock-adornment-level)
2647         (rst-font-lock-adornment-match)
2648         (rst-font-lock-handle-adornment-pre-match-form)
2649         (rst-font-lock-handle-adornment-matcher): Major revision of
2650         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
2652         (rst-preferred-adornments, rst-adjust-hook)
2653         (rst-new-adornment-down, rst-preferred-bullets)
2654         (rst-preferred-bullets, rst-indent, rst-indent-width)
2655         (rst-indent-field, rst-indent-literal-normal)
2656         (rst-indent-literal-minimized, rst-indent-comment): Change,
2657         extend and improve customization.
2659         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2660         (rst-normalize-cursor-position, rst-get-decoration)
2661         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2662         (rst-rstrip, rst-toc-insert-find-delete-contents)
2663         (rst-shift-fill-region, rst-compute-bullet-tabs)
2664         (rst-debug-print-tabs, rst-debug-mark-found)
2665         (rst-shift-region-guts, rst-shift-region-right)
2666         (rst-shift-region-left, rst-use-char-classes)
2667         (rst-font-lock-keywords-function)
2668         (rst-font-lock-indentation-point)
2669         (rst-font-lock-find-unindented-line-begin)
2670         (rst-font-lock-find-unindented-line-end)
2671         (rst-font-lock-find-unindented-line)
2672         (rst-font-lock-adornment-point, rst-font-lock-level)
2673         (rst-adornment-level-alist): Remove functions and variables.
2675         (rst-compare-adornments, rst-get-adornment-match)
2676         (rst-suggest-new-adornment, rst-get-adornments-around)
2677         (rst-adornment-complete-p, rst-get-next-adornment)
2678         (rst-adjust-adornment, rst-display-adornments-hierarchy)
2679         (rst-straighten-adornments): Standardize function names to
2680         use "adornment" instead of "decoration".  Correct callers.
2681         Similar standardizing in many places.
2683         (rst-update-section, rst-adjust, rst-promote-region)
2684         (rst-enumerate-region, rst-bullet-list-region)
2685         (rst-repeat-last-character): Correct use of `interactive'.
2687         (rst-classify-adornment, rst-find-all-adornments)
2688         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2689         (rst-find-leftmost-column, rst-repeat-last-character):
2690         Refactor functions.
2692         (rst-find-title-line, rst-reset-section-caches)
2693         (rst-get-adornments-around, rst-adjust-adornment-work)
2694         (rst-arabic-to-roman, rst-roman-to-arabic)
2695         (rst-insert-list-pos, rst-insert-list-new-item)
2696         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2697         New functions.
2699         (rst-all-sections, rst-section-hierarchy)
2700         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2701         New variables.
2703         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2704         configuration instead of only buffer.  Change where necessary.
2706         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2707         (rst-shift-region, rst-adaptive-fill): New functions for
2708         indentation and filling.
2710         (rst-comment-line-break, rst-comment-indent)
2711         (rst-comment-insert-comment, rst-comment-region)
2712         (rst-uncomment-region): New functions for handling comments.
2714         (rst-compile): Quote shell arguments.
2716         (rst-compile-pdf-preview, rst-compile-slides-preview):
2717         Delete temporary files after use.
2719 2012-05-05  Glenn Morris  <rgm@gnu.org>
2721         * calendar/cal-html.el: Optionally include holidays in the output.
2722         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2723         (cal-html-holidays): New option.
2724         (cal-html-css-default): Add holiday entry.
2725         (holiday-in-range): Autoload it.
2726         (cal-html-htmlify-entry): Add optional class argument.
2727         (cal-html-htmlify-list): Add optional holidays argument.
2728         (cal-html-insert-agenda-days): Include holidays in the output.
2729         (cal-html-one-month): Maybe include holidays.
2731         * calendar/holidays.el (holiday-in-range):
2732         Move here from cal-tex-list-holidays.
2733         * calendar/cal-tex.el (cal-tex-list-holidays):
2734         Make it an obsolete alias for holiday-in-range.  Update all callers.
2736 2012-05-05  Chong Yidong  <cyd@gnu.org>
2738         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2739         Nextstep.
2741 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
2743         * files.el (file-auto-mode-skip): New var.
2744         (set-auto-mode-1): Use it.
2746 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * repeat.el: Use lexical-binding.
2749         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2750         (repeat-undo-count): Remove.
2751         (repeat):
2752         * progmodes/octave-mod.el (octave-abbrev-start):
2753         * progmodes/f90.el (f90-abbrev-start):
2754         * face-remap.el (text-scale-adjust):
2755         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2757         * emacs-lisp/pcase.el (pcase--let*): New function.
2758         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2759         a bit more.
2760         (pcase--split-pred): Be more clever about ruling out overlap between
2761         a predicate and some constant pattern.
2762         (pcase--q1): Use `null' instead of (eq foo nil).
2764         * subr.el (setq-local, defvar-local): New macros.
2765         (kbd): Redefine as an alias.
2766         (with-selected-window): Leave unrelated frames alone.
2767         (set-temporary-overlay-map): New function.
2769 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2771         * subr.el (user-error): New function.
2772         * window.el (switch-to-buffer):
2773         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2774         (smerge-match-conflict):
2775         * simple.el (previous-matching-history-element)
2776         (next-matching-history-element, goto-history-element, undo-more)
2777         (undo-start):
2778         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2779         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2780         (next-file, tags-loop-scan, list-tags, complete-tag):
2781         * progmodes/compile.el (compilation-loop):
2782         * mouse.el (mouse-minibuffer-check):
2783         * man.el (Man-bgproc-sentinel, Man-goto-page):
2784         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2785         (Info-history-forward, Info-follow-reference, Info-menu)
2786         (Info-extract-menu-item, Info-extract-menu-counting)
2787         (Info-forward-node, Info-backward-node, Info-next-menu-item)
2788         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2789         (Info-next-reference, Info-prev-reference, Info-index)
2790         (Info-index-next, Info-follow-nearest-node)
2791         (Info-copy-current-node-name):
2792         * imenu.el (imenu--make-index-alist)
2793         (imenu-default-create-index-function, imenu-add-to-menubar):
2794         * files.el (basic-save-buffer, recover-file):
2795         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2796         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2797         (checkdoc-message-text, checkdoc-defun):
2798         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2799         * cus-edit.el (customize-changed-options, customize-rogue)
2800         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2801         (custom-variable-mark-to-reset-standard)
2802         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2803         (custom-file):
2804         * completion.el (check-completion-length):
2805         * comint.el (comint-search-arg)
2806         (comint-previous-matching-input-string-position)
2807         (comint-previous-matching-input)
2808         (comint-replace-by-expanded-history-before-point, comint-send-input)
2809         (comint-copy-old-input, comint-backward-matching-input)
2810         (comint-goto-process-mark, comint-set-process-mark):
2811         * calendar/calendar.el (calendar-cursor-to-date): Use it.
2812         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2814 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2816         * dabbrev.el (dabbrev--ignore-case-p): New function.
2817         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2818         Use it.
2820         * files.el (automount-dir-prefix): Mark as obsolete.
2822 2012-05-04  Glenn Morris  <rgm@gnu.org>
2824         * patcomp.el, play/bruce.el: Move to obsolete/.
2826 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
2828         Fix minor Y10k bugs.
2829         * arc-mode.el (archive-unixdate):
2830         * autoinsert.el (auto-insert-alist):
2831         * calc/calc-forms.el (math-this-year):
2832         * emacs-lisp/copyright.el (copyright-current-year)
2833         (copyright-update-year, copyright):
2834         * tar-mode.el (tar-clip-time-string):
2835         * time.el (display-time-update):
2836         Don't assume years have 4 digits.
2838 2012-05-04  Chong Yidong  <cyd@gnu.org>
2840         * dos-w32.el (file-name-buffer-file-type-alist)
2841         (direct-print-region-use-command-dot-com):
2842         * ffap.el (ffap-menu-regexp):
2843         * find-file.el (ff-special-constructs):
2844         * follow.el (follow-debug):
2845         * forms.el (forms--debug):
2846         * iswitchb.el (iswitchb-all-frames):
2847         * ido.el (ido-all-frames):
2848         * emacs-lisp/timer.el (timer-max-repeats):
2849         * mail/feedmail.el (feedmail-mail-send-hook)
2850         (feedmail-mail-send-hook-queued):
2851         * mail/footnote.el (footnote-signature-separator):
2852         * mail/mailabbrev.el (mail-alias-separator-string)
2853         (mail-abbrev-mode-regexp):
2854         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2855         * progmodes/idlwave.el (idlwave-libinfo-file)
2856         (idlwave-default-completion-case-is-down)
2857         (idlwave-library-routines): Convert defvars to defcustoms.
2859         * mail/rmail.el (rmail-decode-mime-charset):
2860         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2861         (idlwave-shell-fix-inserted-breaks)
2862         (idlwave-shell-activate-alt-keybindings)
2863         (idlwave-shell-use-breakpoint-glyph):
2864         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2866 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2868         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2870 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
2872         * progmodes/verilog-mode.el (font-lock-keywords):
2873         Fix mis-highligting auto.  Reported by Craig Barner.
2874         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2875         defines from global name space. Reported by Dan Dever.
2876         (verilog-auto-reset, verilog-auto-reset-widths)
2877         (verilog-auto-tieoff): Support using unbased numbers for
2878         AUTORESET and AUTOTIEOFF.
2879         (verilog-submit-bug-report): Update variable list.
2880         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2881         parenthesis from not matching. Reported by Michael Rytting.
2882         (verilog-auto-template-lint): Fix hash error when linting modules
2883         with no used templates.
2884         (verilog-warn, verilog-warn-error)
2885         (verilog-warn-fatal): When non-interactive report multiple
2886         warnings before exiting.  Suggested by Brad Dobbie.
2887         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2888         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2889         to report unused template errors.  Reported by Brad Dobbie.
2890         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2891         nets, bug438. Reported by Vns Blore.
2892         (verilog-auto-inout-module, verilog-auto-reg)
2893         (verilog-read-decls, verilog-read-sub-decls-sig)
2894         (verilog-signals-edit-wire-reg, verilog-signals-with):
2895         Fix passing of Verilog data types in ANSI input/output ports
2896         such as "output logic" into the AUTOs. Special case "wire" and
2897         "reg" for backwards compatibility presuming Verilog 2001.
2898         (verilog-auto-ascii-enum): Add "auto enum" as alias.
2899         (verilog-preprocess): Fix replication of preprocess output.
2900         Reported by Brad Dobbie.
2901         (verilog-auto-inst-interfaced-ports):
2902         Create verilog-auto-inst-interfaced-ports, bug429.
2903         Reported by Julian Gorfajn.
2904         (verilog-after-save-font-hook)
2905         (verilog-before-save-font-hook): New variable.
2906         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2907         (verilog-save-font-mods): Wrap disabling fontification, reported
2908         by David Rogoff.
2909         (verilog-do-indent, verilog-pretty-declarations-auto)
2910         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2911         Reported by Pierre-David Pfister.
2912         (verilog-set-auto-endcomments): Fix endtask auto comments outside
2913         of class declarations, bug292.  Reported by Kevin Heilman.
2914         (verilog-read-decls): Fix 'parameter type' not appearing in
2915         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
2916         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2917         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2918         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2919         Reported by David Kravitz.
2921 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
2923         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2924         assignment with tests in ifs and for loops.
2925         (verilog-extended-complete-re, verilog-complete-reg): Change so
2926         that DPI inport functions don't look like fuction declarations.
2927         (verilog-pretty-expr): Don't line up assignment
2928         operations to the test and increment in if and for loops
2929         (verilog-extended-complete-re, verilog-complete-reg): Change so
2930         that DPI inport functions don't look like fuction declarations
2932 2012-05-03  Kenichi Handa  <handa@m17n.org>
2934         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2935         decoding, and show a warning message without signaling an error
2936         (Bug#11282).
2938 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2940         * emacs-lisp/bytecomp.el
2941         (byte-compile-file-form-custom-declare-variable): Compile all elements,
2942         since cconv.el might have introduced :fun-body, internal-make-closure,
2943         and friends for bytecomp to handle (bug#11391).
2944         * custom.el (defcustom): Avoid ((λ ..) ..).
2946 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2948         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2950 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
2952         * notifications.el (dbus-debug):
2953         * term/linux.el (gpm-mouse-enable):
2954         * term/screen.el (xterm-register-default-colors): Declare.
2956 2012-05-02  Chong Yidong  <cyd@gnu.org>
2958         * cus-start.el (gc-cons-percentage, exec-suffixes)
2959         (dos-display-scancodes, dos-hyper-key, dos-super-key)
2960         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2961         (make-cursor-line-fully-visible, void-text-area-pointer)
2962         (font-list-limit): Add customization data.
2964         * allout.el (allout-exposure-change-functions)
2965         (allout-structure-added-functions)
2966         (allout-structure-deleted-functions)
2967         (allout-structure-shifted-functions): Rename abnormal hooks from
2968         *-hook, and convert to defcustoms.
2969         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2970         Convert to defcustoms.
2971         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2973         * allout-widgets.el: Hook callers changed.
2975 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
2977         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2978         the yanked message in preference to the default value of
2979         buffer-file-coding-system.
2981 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
2983         * window.el (display-buffer--action-function-custom-type):
2984         Fix entry.
2986 2012-05-02  Alan Mackenzie  <acm@muc.de>
2988         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2990 2012-05-01  Glenn Morris  <rgm@gnu.org>
2992         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2994         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
2996         * cus-edit.el (custom-variable-documentation): Simplify with format.
2998 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2999             Stefan Monnier  <monnier@iro.umontreal.ca>
3001         * simple.el (suggest-key-bindings, execute-extended-command):
3002         Move from keyboard.c.
3004 2012-05-01  Chong Yidong  <cyd@gnu.org>
3006         * follow.el: Eliminate advice.
3007         (set-process-filter, process-filter, sit-for): Advice deleted.
3008         (follow-mode-off-hook): Obsolete hook removed.
3009         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3010         Vars deleted.
3011         (follow-auto): Use a :set function.
3012         (follow-mode): Rewritten.  Don't advise process filters.
3013         (follow-switch-to-current-buffer-all, follow-scroll-up)
3014         (follow-scroll-down): Assume follow-mode is bound.
3015         (follow-comint-scroll-to-bottom)
3016         (follow-align-compilation-windows): New functions.
3017         (follow--window-sorter): New function.
3018         (follow-all-followers): Use it to explicitly sort windows by their
3019         positions; don't make assumptions about next-window order.
3020         (follow-windows-start-end, follow-delete-other-windows-and-split)
3021         (follow-calc-win-start): Doc fix.
3022         (follow-windows-aligned-p, follow-select-if-visible): Don't call
3023         vertical-motion unnecessarily.
3024         (follow-adjust-window): New function.
3025         (follow-post-command-hook): Use it.
3026         (follow-call-set-process-filter, follow-call-process-filter)
3027         (follow-intercept-process-output, follow-tidy-process-filter-alist)
3028         (follow-stop-intercept-process-output, follow-generic-filter):
3029         Functions deleted.
3030         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3031         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3032         New functions, replacing advice on scroll-bar-* commands.
3033         (follow-mwheel-scroll): New function (Bug#4112).
3035         * comint.el (comint-adjust-point): New function.
3036         (comint-postoutput-scroll-to-bottom): Use it.
3037         Call follow-comint-scroll-to-bottom for Follow mode buffers.
3039 2012-05-01  Glenn Morris  <rgm@gnu.org>
3041         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3042         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3043         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3044         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3045         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3046         Remove no-byte-compile setting.
3048 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3050         * minibuffer.el (completion-table-with-quoting): Fix compatibility
3051         all-completions code to not return a number in the last cdr.
3053 2012-04-30  Leo Liu  <sdl.web@gmail.com>
3055         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3056         read-only error.
3058 2012-04-29  Chong Yidong  <cyd@gnu.org>
3060         * follow.el (follow-calc-win-end): Rewrite to handle partial
3061         screen lines correctly (Bug#8390).
3062         (follow-avoid-tail-recenter): Minor cleanup.
3064 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3066         Avoid the obsolete `assoc' package.
3067         * speedbar.el (speedbar-refresh): Avoid adelete.
3068         (speedbar-file-lists): Simplify and avoid aput.
3069         * man.el (Man--sections, Man--refpages): New vars, replacing
3070         Man-sections-alist and Man-refpages-alist.
3071         (Man-build-section-alist, Man-build-references-alist):
3072         Use them; avoid aput.
3073         (Man--last-section, Man--last-refpage): New vars.
3074         (Man-follow-manual-reference): Use them.
3075         Use the `default' arg of completing-read.
3076         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
3078 2012-04-27  Chong Yidong  <cyd@gnu.org>
3080         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3082         * startup.el (x-apply-session-resources): New function.
3084         * term/ns-win.el (ns-initialize-window-system):
3085         * term/w32-win.el (w32-initialize-window-system):
3086         * term/x-win.el (x-initialize-window-system): Use it to properly
3087         set menu-bar-mode and other vars from X resources, even if the
3088         initial frame is not a window-system frame (Bug#2299).
3090         * subr.el (read-key): Avoid running filter function when setting
3091         up temporary tool bar entries (Bug#9922).
3093 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
3095         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3096         (Bug#11344)
3098 2012-04-27  Chong Yidong  <cyd@gnu.org>
3100         * select.el (xselect--encode-string): New function, split from
3101         xselect-convert-to-string.
3102         (xselect-convert-to-string): Use it.
3103         (xselect-convert-to-filename, xselect-convert-to-os)
3104         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3105         returned strings are properly encoded (Bug#11315).
3107 2012-04-27  Chong Yidong  <cyd@gnu.org>
3109         * simple.el (delete-active-region): Move to killing custom group.
3111 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
3113         * progmodes/which-func.el (which-func-current): Quote %
3114         characters for mode-line processing.
3116 2012-04-27  Chong Yidong  <cyd@gnu.org>
3118         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3119         reaching eob (Bug#11286).
3121 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
3123         * progmodes/gdb-mi.el (gdb-control-level): New variable.
3124         (gdb): Make it buffer-local and init to zero.
3125         (gdb-control-commands-regexp): New variable.
3126         (gdb-send): Don't wrap in "-interpreter-exec console" if
3127         gdb-control-level is positive.  Increment gdb-control-level
3128         whenever the command matches gdb-control-commands-regexp, and
3129         decrement it each time the command is "end".  (Bug#11279)
3131 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
3133         * window.el (adjust-window-trailing-edge, enlarge-window)
3134         (shrink-window, window-resize):
3135         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3136         windows (Bug#11276).
3138 2012-04-27  Chong Yidong  <cyd@gnu.org>
3140         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3141         fix "missing prefix" warning.  All callers changed.
3143 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3145         * emacs-lisp/assoc.el: Move to obsolete/.
3147 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3149         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3151         * term/ns-win.el (ns-define-service):
3152         * progmodes/pascal.el (pascal-goto-defun):
3153         * progmodes/js.el (js--read-tab):
3154         * progmodes/etags.el (tags-lazy-completion-table):
3155         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3156         * emacs-lisp/ewoc.el (ewoc--wrap):
3157         * emacs-lisp/assoc.el (aput, adelete, amake):
3158         * doc-view.el (doc-view-convert-current-doc):
3159         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3161 2012-04-26  Chong Yidong  <cyd@gnu.org>
3163         * image.el (image-type-from-buffer): Only return supported image
3164         type (Bug#9045).
3166         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3167         value, for symmetry with diff-end-of-hunk.
3168         (diff-split-hunk, diff-find-source-location)
3169         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3170         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3171         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3172         compute the relevant hunk or file properly (Bug#6005).
3173         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3175 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3177         * vc/vc-mtn.el:
3178         * vc/vc-hg.el:
3179         * vc/vc-git.el:
3180         * vc/vc-dir.el:
3181         * vc/vc-cvs.el:
3182         * vc/vc-bzr.el:
3183         * vc/vc-arch.el:
3184         * vc/vc.el: Replace lexical-let by lexical-binding.
3185         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3186         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3187         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3189 2012-04-26  Chong Yidong  <cyd@gnu.org>
3191         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3192         (diff-mode-shared-map): Bind it to / and [remap undo].
3194         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3195         (ediff-window-setup-function): Use it as the default, to set up
3196         windows based on whether the current frame is graphical (Bug#2138).
3197         (ediff-choose-window-setup-function-automatically): Make obsolete.
3199         * vc/ediff-init.el: Always define ediff-pixel-width/height.
3201 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3203         * ffap.el: Remove old code for obsolete package.
3204         (ffap-complete-as-file-p): Remove.
3206         Use completion-table-with-quoting for comint and pcomplete.
3207         * comint.el (comint--unquote&requote-argument)
3208         (comint--unquote-argument, comint--requote-argument): New functions.
3209         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3210         (comint-quote-filename): Use regexp-opt-charset.
3211         (comint--common-suffix, comint--common-quoted-suffix)
3212         (comint--table-subvert): Remove.
3213         (comint-unquote-function, comint-requote-function): New vars.
3214         (comint--complete-file-name-data): Use them with
3215         completion-table-with-quoting.
3216         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3217         * pcomplete.el (pcomplete-arg-quote-list)
3218         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3219         (pcomplete-unquote-argument-function): Default to non-nil.
3220         (pcomplete-unquote-argument): Simplify.
3221         (pcomplete--common-quoted-suffix): Remove.
3222         (pcomplete-requote-argument-function): New var.
3223         (pcomplete--common-suffix): New function.
3224         (pcomplete-completions-at-point): Use completion-table-with-quoting
3225         and completion-table-subvert.
3227         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3228         (minibuffer--double-dollars): Preserve properties.
3229         (completion--sifn-requote): New function.
3230         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3232         * minibuffer.el: Add support for completion of quoted/escaped data.
3233         (completion-table-with-quoting, completion-table-subvert): New funs.
3234         (completion--twq-try, completion--twq-all): New functions.
3235         (completion--nth-completion): New function.
3236         (completion-try-completion, completion-all-completions): Use it.
3238 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3240         * progmodes/python.el (python-pdbtrack-get-source-buffer):
3241         Use compilation-message if available to find real filename.
3243 2012-04-25  Chong Yidong  <cyd@gnu.org>
3245         * vc/diff-mode.el (diff-setup-whitespace): New function.
3246         (diff-mode): Use it.
3248         * vc/diff.el (diff-sentinel):
3249         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3250         Whitespace mode variables based on diff style (Bug#8612).
3252 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3254         * progmodes/python.el (python-send-region): Add suffix .py to the
3255         temp file.
3257         * files.el (auto-mode-alist): Use javascript-mode instead.
3259 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
3261         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
3263         * soap-client.el (soap-resolve-references-for-sequence-type)
3264         (soap-resolve-references-for-array-type): Hack to prevent self
3265         references, see Bug#9.
3266         (soap-parse-envelope): Report the contents of the 'detail' node
3267         when receiving a fault reply.
3268         (soap-parse-envelope): Report the contents of the entire 'detail' node.
3270         * soap-inspect.el (soap-sample-value-for-simple-type)
3271         (soap-inspect-simple-type): New function.
3273         * soap-client.el (soap-simple-type): New struct.
3274         (soap-default-xsd-types, soap-default-soapenc-types)
3275         (soap-decode-basic-type, soap-encode-basic-type):
3276         support unsignedInt and double basic types.
3277         (soap-resolve-references-for-simple-type)
3278         (soap-parse-simple-type, soap-encode-simple-type): New function.
3279         (soap-parse-schema): Parse xsd:simpleType declarations.
3281         * soap-client.el (soap-default-xsd-types)
3282         (soap-default-soapenc-types): Add integer, byte and anyURI types.
3283         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3284         the local name of "soapenc:Array".
3285         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3286         decoding integer, byte and anyURI xsd types.
3288 2012-04-25  Chong Yidong  <cyd@gnu.org>
3290         * cus-edit.el (custom-buffer-create-internal): Update header text.
3292 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
3294         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3295         settings on 'system-type', not on 'window-system'.  On MS-Windows,
3296         set interactive-mode on in GDB.
3298 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3300         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3301         (ruby-syntax-propertize-regexp): Remove.
3302         (ruby-syntax-propertize-function): Split regexp into chunks.
3303         Match following code directly.
3305 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
3307         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3308         (ruby-syntax-propertize-regexp): New function.
3309         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3310         by a special keyword.
3312         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3313         (ruby-syntax-general-delimiters-goto-beg)
3314         (ruby-syntax-propertize-general-delimiters): New functions.
3315         (ruby-syntax-propertize-function): Use them to handle GDL.
3316         (ruby-font-lock-keywords): Move old handling of GDL...
3317         (ruby-font-lock-syntactic-keywords): .. to here.
3318         (ruby-calculate-indent): Adjust indentation for GDL.
3320 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
3322         * notifications.el (top): Remove unneeded declarations.
3323         (notifications-specification-version): Change to "1.2".
3324         (notifications-interface, notifications-notify-method)
3325         (notifications-close-notification-method): Fix docstring.
3326         (notifications-get-capabilities-method): New defconst.
3327         (notifications-notify): Add :action-items, :resident and
3328         :transient hints.  Change "image_data" to "image-data" and
3329         "image_path" to "image-path".
3330         (notifications-get-capabilities): New defun.
3332 2012-04-24  Leo Liu  <sdl.web@gmail.com>
3334         * progmodes/python.el: Move hideshow setup to the end.
3336 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
3338         * window.el (handle-select-window): Clear echo area since this is
3339         no more done by read_char (Bug#11304).
3341 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3343         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3344         and `/ M' to filter-derived-mode.
3345         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3346         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3347         (ibuffer-mark-by-mode): Use default rather than initial-input.
3348         (ibuffer-filter-by-derived-mode): Autoload and require-match.
3350 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
3352         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3353         (ibuffer-filter-by-derived-mode): New filter.
3354         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3356 2012-04-23  Andreas Politz  <politza@fh-trier.de>
3358         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3360 2012-04-23  Chong Yidong  <cyd@gnu.org>
3362         * cus-edit.el (customize-apropos, customize-apropos-options):
3363         Disable matching of non-option variables (Bug#11176).
3364         (customize-option, customize-option-other-window)
3365         (customize-changed-options): Doc fix.
3366         (customize-apropos-options, customize-apropos-faces)
3367         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3369         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3370         Fix word list splitting (Bug#11132).
3371         (apropos-symbol, apropos-keybinding, apropos-label)
3372         (apropos-property, apropos-function-button)
3373         (apropos-variable-button, apropos-misc-button): New faces.
3374         (apropos-symbol-face, apropos-keybinding-face)
3375         (apropos-label-face, apropos-property-face, apropos-match-face):
3376         Variables removed (Bug#8396).
3377         (apropos-library-button, apropos-format-plist, apropos-print)
3378         (apropos-print-doc, apropos-describe-plist): Callers changed.
3380 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
3382         * net/xesam.el (xesam-mode-map): Use let-bound map in
3383         initialization.  (Bug#11292)
3385 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3387         Preserve ispell session localwords when switching back to
3388         original buffer.
3390         * ispell.el (ispell-buffer-session-localwords): New buffer-local
3391         variable to hold buffer session localwords.
3392         (ispell-kill-ispell): add option 'clear to delete session
3393         localwords.
3394         (ispell-command-loop, ispell-change-dictionary)
3395         (ispell-buffer-local-words): Preserve session localwords when
3396         needed.
3398         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3399         Preserve session localwords when needed.
3401 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3403         * ispell.el (ispell-insert-word) Remove unneeded function using
3404         obsolete `translation-table-for-input'.
3405         (ispell-word, ispell-process-line, ispell-complete-word):
3406         Use plain `insert' instead of removed `ispell-insert-word'.
3408 2012-04-22  Chong Yidong  <cyd@gnu.org>
3410         * cus-edit.el (custom-variable-menu)
3411         (custom-variable-reset-saved, custom-face-menu)
3412         (custom-face-reset-saved): If there is no saved value, make the
3413         "reset-saved" operation bring back the default (Bug#9509).
3414         (custom-face-state): Properly detect themed faces.
3416         * faces.el (face-spec-set): Stop supporting deprecated form of
3417         third arg.
3419 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
3421         Move functions from C to Lisp.  Make non-blocking method calls
3422         the default.  Implement further D-Bus standard interfaces.
3424         * net/dbus.el (dbus-message-internal): Declare function.
3425         Remove unneeded function declarations.
3426         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3427         (dbus-message-type-method-return, dbus-message-type-error)
3428         (dbus-message-type-signal): Declare variables.  Remove local
3429         definitions.
3430         (dbus-interface-dbus, dbus-interface-peer)
3431         (dbus-interface-introspectable, dbus-interface-properties)
3432         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3433         Adapt docstring.
3434         (dbus-interface-objectmanager): New defconst.
3435         (dbus-call-method, dbus-call-method-asynchronously)
3436         (dbus-send-signal, dbus-method-return-internal)
3437         (dbus-method-error-internal, dbus-register-service)
3438         (dbus-register-signal, dbus-register-method): New defuns, moved
3439         from dbusbind.c
3440         (dbus-call-method-handler, dbus-setenv)
3441         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3442         New defuns.
3443         (dbus-call-method-non-blocking): Make it an obsolete function.
3444         (dbus-unregister-object, dbus-unregister-service)
3445         (dbus-handle-event, dbus-register-property)
3446         (dbus-property-handler): Obey the new structure of
3447         `bus-registered-objects'.
3448         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
3449         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3450         Use `dbus-call-method'.
3452 2012-04-22  Chong Yidong  <cyd@gnu.org>
3454         * cus-edit.el (custom-commands, custom-reset-menu)
3455         (Custom-reset-standard): Tweak labels.
3456         (custom-reset-button-menu): Change default to t.
3457         (custom-buffer-create-internal): For the custom-reset-button-menu
3458         case, put the revert button first.
3459         (custom-group-subtitle): New face.
3460         (custom-group-value-create): Align docstring to a specific column.
3462         * wid-edit.el (widget-documentation-link-add): Don't handle
3463         indentation in this function.
3464         (widget-documentation-string-indent-to): New function.
3465         (widget-documentation-string-value-create): Use it.
3467         * autorevert.el (auto-revert):
3468         * epg-config.el (epg):
3469         * ibuffer.el (ibuffer):
3470         * mpc.el (mpc):
3471         * ses.el (ses):
3472         * eshell/eshell.el (eshell):
3473         * net/ange-ftp.el (ange-ftp):
3474         * progmodes/ebnf2ps.el (postscript):
3475         * progmodes/flymake.el (flymake):
3476         * progmodes/prolog.el (prolog):
3477         * progmodes/verilog-mode.el (verilog-mode):
3478         * progmodes/which-func.el (which-func):
3479         * term/xterm.el (xterm):
3480         * textmodes/picture.el (picture):
3481         * textmodes/tildify.el (tildify):
3482         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3483         customization buffers.
3485 2012-04-22  Alan Mackenzie  <acm@muc.de>
3487         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3488         Adding a ) can hide the resulting (..) from searches.  Fix it.
3489         Bound the backward search to the position of the existing (.
3491 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
3493         * progmodes/verilog-mode.el (verilog-mode): Check whether
3494         which-func-modes is t before adding verilog-mode.
3495         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3497 2012-04-21  Leo Liu  <sdl.web@gmail.com>
3499         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3501 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
3503         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3504         filling of the last column of a table (Bug#5635).
3505         (woman-find-next-control-line): New arg, specifying an additional
3506         regexp component for the control line.
3507         (woman2-roff-buffer): Use it.
3508         (woman-break-table): New function.
3509         (woman2-TS): Use it.
3511 2012-04-21  Chong Yidong  <cyd@gnu.org>
3513         * woman.el (woman-set-buffer-display-table, woman-decode-region)
3514         (woman-horizontal-escapes, woman-negative-vertical-space)
3515         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3516         (WoMan-warn-ignored): Use ?\s instead of ?\ .
3518 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3520         * minibuffer.el (completion-file-name-table): Complete user names.
3522 2012-04-20  Leo Liu  <sdl.web@gmail.com>
3524         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3525         and pcase-let*.
3527 2012-04-20  Chong Yidong  <cyd@gnu.org>
3529         * server.el (server-execute): Respect initial-buffer-choice if it
3530         is a string and there are no files to open (Bug#2825).
3531         (server-create-window-system-frame, server-create-tty-frame):
3532         Don't switch buffers here.
3533         (server-process-filter): Only try to open a window system frame if
3534         compiled with graphical support (Bug#8314).
3536 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
3538         * battery.el (battery-echo-area-format): Display remaining time
3539         for sysfs backend too (Bug#11269).
3540         (battery-linux-sysfs): Fix conditional for the charge.
3542 2012-04-20  Chong Yidong  <cyd@gnu.org>
3544         * progmodes/gdb-mi.el (gdb): Revert previous change.
3545         (gdb-inferior-io--init-proc): New function.
3546         (gdb-init-1): Use it.
3547         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3548         responsible for allocating a new pty and hooking it to gdb when
3549         the old pty gets an EIO due to process exit.
3550         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
3551         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3552         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3554 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3556         * window.el (window-min-size, window-sizable, window-min-delta)
3557         (window-max-delta, window--resizable, window-resizable)
3558         (window-total-size, window-full-height-p, window-full-width-p)
3559         (window-in-direction, window--resize-mini-window, window-resize)
3560         (window--resize-child-windows-normal)
3561         (window--resize-child-windows, window--resize-siblings)
3562         (window--resize-this-window, adjust-window-trailing-edge)
3563         (enlarge-window, shrink-window): Doc fixes.
3565 2012-04-20  Chong Yidong  <cyd@gnu.org>
3567         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3568         New function to call delete-process on the gdb-inferior buffer's pty.
3569         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3570         pty process (Bug#11273).
3571         (gdb-update): New arg to suppress talking to the gdb process.
3572         (gdb-done-or-error): Use it.
3573         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3574         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3575         sentinel not being called.
3577         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3579         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3581 2012-04-20  Glenn Morris  <rgm@gnu.org>
3583         * net/network-stream.el (open-network-stream): Doc fix.
3585 2012-04-20  Chong Yidong  <cyd@gnu.org>
3587         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3589 2012-04-20  Alan Mackenzie  <acm@muc.de>
3591         Ensure searching for keywords is case sensitive.
3593         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3594         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3595         (c-defun-name, c-mark-function, c-cpp-define-name)
3596         (c-comment-indent, c-scan-conditionals, c-indent-defun)
3597         (c-context-line-break): Bind case-fold-search to nil.
3599         * progmodes/cc-mode.el (c-font-lock-fontify-region):
3600         Bind case-fold-search to nil.
3602 2012-04-20  Chong Yidong  <cyd@gnu.org>
3604         * mail/sendmail.el (mail-bury): Call return action with the right
3605         Rmail buffer (Bug#11242).
3607         * server.el (server-process-filter): Handle corner case where both
3608         tty and nowait options are present (Bug#11102).
3610 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3612         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3613         (top level): Put into the executable the ident-style '$Id:' tag on
3614         windows-nt as well.
3616 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3618         * electric.el (electric-indent-post-self-insert-function): Check that
3619         electric-indent-mode is enabled in current buffer.
3621 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3623         * imenu.el (imenu-progress-message): Restore; it is "used" in
3624         erc/erc-imenu.el and net/snmp-mode.el.
3626 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3628         * avoid.el (mouse-avoidance-mode): Mark unused arg.
3629         (mouse-avoidance-nudge-mouse): Remove unused binding.
3631         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3633         * descr-text.el (describe-char):
3634         * progmodes/python.el (python-describe-symbol):
3635         Don't call `toggle-read-only', set `buffer-read-only'.
3637         * imenu.el (imenu-default-goto-function): Mark unused args.
3638         (imenu-progress-message): Remove obsolete macro; all callers changed.
3640         * subr.el (keymap-canonicalize): Remove unused binding.
3641         (read-passwd): Mark unused arg.
3643         * tutorial.el (tutorial--display-changes): Remove unused binding.
3644         (tutorial--save-tutorial-to): Remove unused variable.
3646         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3647         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3648         (package-generate-autoloads, package-menu--generate)
3649         (package-menu--find-upgrades): Remove unused bindings.
3651         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3652         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
3653         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3654         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3655         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3656         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3657         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3658         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3659         (cua-delete-char-rectangle): Mark unused args.
3660         (cua-align-rectangle): Remove unused binding.
3662         * mail/rmail.el (compilation--message->loc)
3663         (epa--find-coding-system-for-mime-charset): Declare.
3665         * net/dbus.el (dbus-register-service): Declare.
3666         (dbus-name-owner-changed-handler): Remove unused binding.
3668         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3669         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3670         (nxml-scan-backward-within): Mark unused arg.
3671         (nxml-dynamic-markup-word): Remove unused binding.
3673         * mouse.el (mouse-menu-major-mode-map):
3674         * emacs-lisp/authors.el (authors-scan-change-log)
3675         (authors-add-to-author-list):
3676         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3677         * emacs-lisp/smie.el (smie-auto-fill):
3678         * mail/sendmail.el (mail-bury):
3679         * mail/unrmail.el (unrmail):
3680         * net/tls.el (open-tls-stream):
3681         * textmodes/picture.el (picture-mouse-set-point):
3682         Remove unused bindings.
3684 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
3686         * net/tramp.el (tramp-action-password): Let-bind
3687         `enable-recursive-minibuffers' to t.
3689 2012-04-18  Sam Steingold  <sds@gnu.org>
3691         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3692         instead of 'string to accommodate values like [f11].
3693         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3694         * progmodes/gdb-mi.el: Likewise.
3696 2012-04-18  Leo Liu  <sdl.web@gmail.com>
3698         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3699         current buffer.
3700         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3701         LOCAL is nil.
3703 2012-04-18  Chong Yidong  <cyd@gnu.org>
3705         * simple.el (line-move): Use forward-line if in batch mode
3706         (Bug#11053).
3708 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
3710         * files.el (after-find-file): Do not try to add a final newline if
3711         the buffer is read-only (Bug#11156).
3713 2012-04-17  Richard Stallman  <rms@gnu.org>
3715         * mail/rmail.el (rmail-start-mail):
3716         Pass (rmail-mail-return...) for the return-action.
3717         Pass (rmail-yank-current-message...) for the yank-action.
3718         (rmail-yank-current-message): New function.
3719         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3720         (rmail-reply): Likewise.
3721         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3723         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3724         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
3725         buffer, not newbuf.
3727 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
3729         * server.el (server-ensure-safe-dir): Simplify.
3731 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3733         * emacs-lisp/smie.el: Provide smarter auto-filling.
3734         (smie-auto-fill): New function.
3735         (smie-setup): Use it.
3737         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3739 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
3741         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3742         (comment-indent): Use it.
3744 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3746         * ses.el: The overall change is to add cell renaming, that is
3747         setting fancy names for cell symbols other than name matching
3748         "\\`[A-Z]+[0-9]+\\'" regexp .
3749         (ses-localvars): Add ses--renamed-cell-symb-list.
3750         (ses-create-cell-variable): New defun.
3751         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3752         (ses-relocate-formula): Relocate formulas only for cells the
3753         symbols of which are not renamed, i.e. symbols whose names do not
3754         match regexp "\\`[A-Z]+[0-9]+\\'".
3755         (ses-relocate-all): Relocate values only for cells the symbols of
3756         which are not renamed.
3757         (ses-load): Create cells variables as the (ses-cell ...) are read,
3758         in order to check row col consistency with cell symbol name only
3759         for cells that are not renamed.
3760         (ses-replace-name-in-formula): New defun.
3761         (ses-rename-cell): New defun.
3763 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
3765         * progmodes/perl-mode.el (perl-indent-parens-as-block):
3766         New option (bug#11118).
3767         (perl-calculate-indent): Respect it.
3769 2012-04-17  Glenn Morris  <rgm@gnu.org>
3771         * dired-aux.el (dired-mark-read-string): Doc fix.
3773 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
3775         * dired-aux.el (dired-mark-read-string): Offer optional completion.
3776         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
3778 2012-04-17  Glenn Morris  <rgm@gnu.org>
3780         * mouse.el (mouse-drag-track):
3781         * speedbar.el (speedbar-frame-mode):
3782         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3784 2012-04-16  Leo Liu  <sdl.web@gmail.com>
3786         * progmodes/python.el: Trivial cleanup.
3788 2012-04-16  Glenn Morris  <rgm@gnu.org>
3790         * vc/vc.el (vc-string-prefix-p):
3791         * vc/pcvs-util.el (cvs-string-prefix-p):
3792         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3793         * mpc.el (mpc-string-prefix-p):
3794         Make all of these into obsolete aliases for string-prefix-p.
3795         Update callers.
3796         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3798         * textmodes/two-column.el: Move custom options to the start.
3799         (frame-width): Remove compat definition.
3800         (2C-associate-buffer, 2C-dissociate):
3801         Use with-current-buffer rather than save-excursion.
3802         (2C-dissociate): Force a mode-line update.
3803         (2C-autoscroll): Use ignore-errors.
3805         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3806         Autoload trivia.
3808         * emacs-lisp/cl-extra.el (*random-state*):
3809         Remove unnecessary declaration.
3811         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3813         * play/cookie1.el (cookie-snarf):
3814         Give an explicit error if input file cannot be read.
3816         * play/yow.el (yow-file): Use expand-file-name rather than concat.
3818         * progmodes/perl-mode.el (c-macro-expand):
3819         Remove unnecessary autoload (it is in loaddefs.el).
3821         * textmodes/picture.el (picture-desired-column)
3822         (picture-update-desired-column): Convert comments to doc-strings.
3823         (picture-substitute): Remove function.
3824         (picture-mode-map): Initialize in the defvar.
3826         * woman.el: Remove eval-after-load for tar-mode.
3827         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3828         (woman-tar-extract-file): Autoload it.
3830         * frame.el (automatic-hscrolling): Make this alias obsolete.
3832 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3834         * ispell.el (ispell-set-spellchecker-params): Post-process
3835         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3836         (ispell-dictionary-base-alist): Revert to original XEmacs
3837         friendly version for default.  [:alpha:] will be added in
3838         `ispell-set-spellchecker-params' if needed
3840 2012-04-16  Chong Yidong  <cyd@gnu.org>
3842         * image.el (imagemagick--extension-regexp): New variable.
3843         (imagemagick-register-types): Use it.
3844         (imagemagick-types-inhibit): Add :set function.  Allow new value
3845         of t to inhibit all types.
3847         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3848         so we can preload it.
3850         * loadup.el (fboundp): Preload regexp-opt, needed by
3851         imagemagick-register-types.
3853 2012-04-15  Chong Yidong  <cyd@gnu.org>
3855         * frame.el (scrolling): Remove nearly unused customization group.
3857         * scroll-all.el (scroll-all-mode): Move to windows group.
3859 2012-04-15  Chong Yidong  <cyd@gnu.org>
3861         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3863 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3865         Avoid the use of ((lambda ...) ...) in lexical-binding code.
3866         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3868 2012-04-15  Glenn Morris  <rgm@gnu.org>
3870         * simple.el (process-file-side-effects): Doc fix.
3872 2012-04-15  Glenn Morris  <rgm@gnu.org>
3874         * international/mule-cmds.el (set-language-environment): Doc fix.
3876 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3878         * server.el (server-auth-key, server-generate-key): Doc fixes.
3879         (server-get-auth-key): Doc fix.  Use `string-match-p'.
3880         (server-start): Reflow docstring.
3882 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
3884         * server.el (server-generate-key): `called-interactively-p'
3885         requires a parameter.
3887 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
3889         * server.el (server-auth-key): New variable.
3890         (server-generate-key, server-get-auth-key): New function.
3891         (server-start): Use the new variable and functions to allow
3892         setting a permanent server key (bug#9423).
3894 2012-04-14  Leo Liu  <sdl.web@gmail.com>
3896         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3898 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3900         Spelling fixes.
3901         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3902         Emacs uses American spelling.
3904 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3906         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3907         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
3908         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3909         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
3911 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3913         * progmodes/which-func.el (which-func-modes): Change default.
3915 2012-04-14  Kim F. Storm  <storm@cua.dk>
3917         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3918         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3920 2012-04-14  Chong Yidong  <cyd@gnu.org>
3922         * custom.el (custom-theme-set-variables): Doc fix.
3924 2012-04-14  Glenn Morris  <rgm@gnu.org>
3926         * international/mule.el (set-auto-coding-for-load): Doc fix.
3928 2012-04-14  Alan Mackenzie  <acm@muc.de>
3930         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3931         imenu work again for Objective C Mode.  Correct the *-index values,
3932         these having been disturbed by a previous change in 2011-08.
3934         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3935         Correct two search limits.
3937 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3939         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3941 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
3943         * international/characters.el: Fix sorting.
3945 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3947         * international/characters.el: Add more missing Latin case pairs.
3949 2012-04-14  Glenn Morris  <rgm@gnu.org>
3951         * files.el (dir-locals-set-class-variables): Doc fix.
3953 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3955         * international/characters.el: Add set-case-syntax-pair call for
3956         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3957         counterpart.  (Bug#11209)
3959         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
3961 2012-04-14  Glenn Morris  <rgm@gnu.org>
3963         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3965 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3967         * textmodes/ispell.el (ispell-dictionary-base-alist):
3968         Add data for Hebrew.
3970 2012-04-14  Chong Yidong  <cyd@gnu.org>
3972         * net/rcirc.el (rcirc-cmd-quit):
3973         Revert 2012-03-18 change (Bug#11192).
3975 2012-04-14  Glenn Morris  <rgm@gnu.org>
3977         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3979 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3981         * minibuffer.el (completion-in-region-mode-map):
3982         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
3984 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
3986         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3988 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
3990         * minibuffer.el (minibuffer-local-filename-syntax): New variable
3991         to allow `C-M-f' and `C-M-b' to move to the nearest path
3992         separator (bug#9511).
3994 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
3996         * avoid.el: Require cl when compiling.  And also move the
3997         `provide' to the end.
3999 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4001         * avoid.el (mouse-avoidance-banish-position): New variable.
4002         (mouse-avoidance-banish-destination): Use it (bug#10165).
4004 2012-04-13  Leo Liu  <sdl.web@gmail.com>
4006         * progmodes/which-func.el (which-func-modes): Add objc-mode.
4008 2012-04-13  Ken Brown  <kbrown@cornell.edu>
4010         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4011         this is no longer needed now that cygstart understands file:// URLs.
4012         (browse-url-filename-alist): For the same reason, don't modify
4013         file:// URLs on Cygwin.
4015 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4017         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4018         the region on shift if the binding is already shifted (bug#11221).
4020 2012-04-12  Glenn Morris  <rgm@gnu.org>
4022         * mail/mailpost.el: Move to obsolete/.
4024 2012-04-12  Drew Adams  <drew.adams@oracle.com>
4026         * imenu.el (imenu--generic-function): Ignore invisible definitions
4027         (bug#10123).
4029 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
4031         * hexl.el (hexl-bits): New variable.
4032         (hexl-options): Mention the variable in the doc string.
4033         (hexl-rulerise, hexl-line-displen): New functions.
4034         (hexl-mode): Mention the new variable.
4035         (hexl-mode, hexl-current-address, hexl-current-address):
4036         Use the displen.
4037         (hexl-ascii-start-column): New function.
4038         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4039         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4041 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4043         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4044         '("-i" ENCODING), in 2 separate command-line arguments, to specify
4045         the encoding, as expected by hunspell.
4047 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4049         * battery.el (battery--linux-sysfs-regexp): New const.
4050         (battery-status-function): Use it.  Remove yeeloong special case.
4051         (battery-yeeloong-sysfs): Remove.
4052         (battery-echo-area-format): Remove yeeloong special case.
4054 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4056         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4057         Reported by Noah Friedman.
4059         * subr.el (read-passwd): Use read-string.
4061 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4063         * vcursor.el (vcursor-move): Increase the priority of the overlay
4064         (bug#9663).
4066 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4068         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4069         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4071 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
4073         * textmodes/artist.el (artist-mode): Convert artist-mode to use
4074         define-minor-mode (bug#10760).
4076 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
4078         * progmodes/grep.el (rgrep): Tweak the find command line so
4079         that directories matching `grep-find-ignored-files' won't be
4080         pruned (bug#10351).
4082 2012-04-11  Chong Yidong  <cyd@gnu.org>
4084         * startup.el (command-line): Remove support for long-obsolete
4085         variable font-lock-face-attributes.
4087 2012-04-11  Glenn Morris  <rgm@gnu.org>
4089         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4091 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4093         * window.el (window--state-get-1): Obey window-point-insertion-type.
4095 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
4097         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4098         to previous function when point is on the first character of a
4099         function.  Take care of that in `narrow-to-defun' (bug#6157).
4101 2012-04-11  Glenn Morris  <rgm@gnu.org>
4103         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4104         not just file-errors.
4106         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4107         (vc-bzr-sha1): Use internal sha1.
4109 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4113 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
4115         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4116         that start in the middle of the line (bug#10496).
4118 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
4120         * battery.el (battery-linux-proc-acpi): Only one battery is
4121         discharged at a time, but that seems to confuse battery.el when
4122         computing `rate-type' for the battery not being discharged
4123         (bug#10332).
4125 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4127         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4129         * international/quail.el: Use dolist and simplify.
4130         (quail-define-package, quail-update-keyboard-layout)
4131         (quail-define-rules): Use dolist.
4132         (quail-insert-kbd-layout, quail-get-translation): CSE.
4134         * tmm.el: Use dolist, remove left over hook.
4135         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4136         Use dolist.
4137         (calendar-load-hook): Don't mess with it.
4139         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4140         Use derived-mode-p.  Run the diff asynchronously.
4142 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4144         * obsolete/mouse-sel.el: Add an Obsolete-since header.
4146 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
4148         * misc.el: Display absolute path of loaded DLLs (bug#10424).
4149         (list-dynamic-libraries--loaded): New function.
4150         (list-dynamic-libraries--refresh): Use it.
4152 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
4154         * progmodes/python.el (python-fill-paragraph):
4155         Make python-fill-region in a multiline string work when font-lock is
4156         disabled (bug#7018).
4158 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
4160         * language/european.el (cp775): Add oem/legacy (en)coding on
4161         DOS/MS Windows for the Baltic languages.  There are still plenty
4162         of texts written in this encoding/codepage (bug#6519).
4164 2012-04-10  Glenn Morris  <rgm@gnu.org>
4166         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4167         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4169 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
4171         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4172         next-line "n" and previous-line "p" in order to make recentf more
4173         consistent with ibuffer, dired or org-mode (bug#9387).
4175 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4177         * image.el (put-image): Return the overlay created instead of the
4178         optional input string (bug#7834).  Note that this may break code
4179         that is (for some reason or other) depending on `put-image'
4180         returning the string.
4182         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4184         * simple.el (zap-to-char): Allow zapping using input methods
4185         (bug#1580).
4187         * textmodes/fill.el (fill-region): Leave point and mark where they
4188         were before filling (bug#5399).
4190 2012-04-09  Glenn Morris  <rgm@gnu.org>
4192         * version.el (emacs-bzr-get-version):
4193         Handle lightweight checkouts of local branches.
4195 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
4197         * international/characters.el: Recover lost case pairs.  (Bug#11209)
4199 2012-04-09  Chong Yidong  <cyd@gnu.org>
4201         * custom.el (custom-variable-p): Return nil for non-symbol
4202         arguments instead of signaling an error.
4203         (user-variable-p): Obsolete alias for custom-variable-p.
4205         * apropos.el (apropos-variable):
4206         * files-x.el (read-file-local-variable):
4207         * simple.el (set-variable):
4208         * woman.el (woman-mini-help):
4209         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4211 2012-04-09  Glenn Morris  <rgm@gnu.org>
4213         * startup.el (normal-top-level): Don't look for leim-list.el
4214         in places where it will not be found.  (Bug#910)
4216         * international/mule-cmds.el (set-default-coding-systems):
4217         * files.el (normal-mode):
4218         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
4219         This function was removed with ucs-tables.el in 2008.
4221 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
4223         * textmodes/ispell.el (ispell-check-version): For hunspell, set
4224         ispell-encoding8-command to "-i", without a trailing space.
4225         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4226         separate command-line arguments, to specify the encoding, since
4227         that's how hunspell expects it.
4229 2012-04-08  Glenn Morris  <rgm@gnu.org>
4231         * loadup.el: Load bindings before cus-start.
4232         This reduces somewhat the number of "rogue" settings in emacs -Q.
4234 2012-04-07  Glenn Morris  <rgm@gnu.org>
4236         * version.el (emacs-bzr-get-version): New function.
4237         (emacs-bzr-version): New variable.
4238         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
4239         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4241 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4243         * international/uni-bidi.el, international/uni-category.el:
4244         * international/uni-combining.el, international/uni-decimal.el:
4245         * international/uni-decomposition.el, international/uni-digit.el:
4246         * international/uni-lowercase.el, international/uni-mirrored.el:
4247         * international/uni-name.el, international/uni-numeric.el:
4248         * international/uni-titlecase.el, international/uni-uppercase.el:
4249         Update for Unicode 6.1.
4251 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4253         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4255 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4257         * window.el (shrink-window): Mention the `window-min-height'
4258         variable in the doc string.
4260 2012-04-05  Bastien Guerry  <bzg@altern.org>
4262         * color.el (color-lighten-name): Fix typo.
4264 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4266         * server.el (server--on-display-p): New function.
4267         (server--on-display-p): Use it.
4269 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
4271         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4272         (bug#11145).
4274 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4276         * comint.el (comint--common-quoted-suffix): Check string boundary
4277         before comparing (bug#11158).
4278         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4280 2012-04-04  Chong Yidong  <cyd@gnu.org>
4282         * minibuffer.el (completion-extra-properties): Doc fix.
4284         * subr.el (delayed-warnings-hook): Doc fix.
4286 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
4288         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4289         selection (Bug#11159).
4290         (epa-insert-keys): Inform that the default public key will be
4291         exported if no key is selected.
4293 2012-04-04  Richard Stallman  <rms@gnu.org>
4295         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4297 2012-04-03  Chong Yidong  <cyd@gnu.org>
4299         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4300         mail-insert-file, not its obsolete alias mail-attach-file.
4302 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
4304         * notifications.el (notifications-notify): Fix docstring.
4306 2012-04-02  Glenn Morris  <rgm@gnu.org>
4308         * emacs-lisp/authors.el (authors-aliases): Another addition.
4310 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
4312         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4313         `tramp-compat-call-process' instead of `tramp-local-call-process'.
4314         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4316 2012-04-01  Chong Yidong  <cyd@gnu.org>
4318         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4319         Handle root directory properly.
4320         (copy-directory): Caller changed.
4322         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4323         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4325 2012-03-31  Glenn Morris  <rgm@gnu.org>
4327         * term/xterm.el (xterm-extra-capabilities): Doc fix.
4329         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
4331         * calendar/calendar.el (calendar-window-list)
4332         (calendar-hide-window): Restore.  (Bug#11140)
4333         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4335         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4337 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4339         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4340         Check if file is a symlink (Bug#10489).
4342         * files.el (copy-directory): Likewise.
4344 2012-03-30  Chong Yidong  <cyd@gnu.org>
4346         * image.el (imagemagick-types-inhibit)
4347         (imagemagick-register-types): Doc fix.
4349 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4351         * ispell.el (ispell-get-extended-character-mode):
4352         Disable extended-char-mode for hunspell.  hunspell does not support it
4353         and treats ~word as ordinary words in pipe mode.
4355 2012-03-30  Glenn Morris  <rgm@gnu.org>
4357         * tutorial.el (help-with-tutorial): Ensure local variables don't
4358         happen to make the buffer read-only.  (Bug#11127)
4360 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4362         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4363         (perl-calculate-indent): Return `noindent' in strings.
4365 2012-03-28  Sam Steingold  <sds@gnu.org>
4367         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4368         instead of the broken adhockery which does not prevent calendar
4369         buffers from being displayed at random after exit.
4370         (calendar-window-list, calendar-hide-window): Remove the broken
4371         adhockery.
4373 2012-03-28  Glenn Morris  <rgm@gnu.org>
4375         * replace.el (query-replace-map): Doc fix.
4377 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
4379         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4380         contents.  (Bug#11109)
4382 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4384         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4385         (bug#11077).
4386         (avl-tree--check, avl-tree--check-node): New funs.
4388 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
4390         * window.el (switch-to-visible-buffer): New option.
4391         (switch-to-prev-buffer, switch-to-next-buffer):
4392         Observe switch-to-visible-buffer.  Make sure that checking for a window
4393         showing a buffer already is done on the same frame.
4395 2012-03-27  Glenn Morris  <rgm@gnu.org>
4397         * startup.el (mail-host-address): Doc fix.
4399 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4401         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4402         than 197 variables.
4404 2012-03-26  Ami Fischman  <ami@fischman.org>
4406         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4408 2012-03-26  Glenn Morris  <rgm@gnu.org>
4410         * files.el (save-buffers-kill-emacs): Doc fix.
4412         * startup.el (normal-top-level, command-line, command-line-1):
4413         Give them doc strings.
4415 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
4417         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4418         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4420 2012-03-25  Chong Yidong  <cyd@gnu.org>
4422         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4423         theme if it was previously enabled before (Bug#11031).
4425         * cus-theme.el (custom-theme-write-faces): Retrieve current face
4426         spec with custom-face-get-current-spec if its :shown-value is not
4427         determined yet (Bug#9337).
4428         (customize-create-theme, custom-theme-revert): Doc fixes.
4430         * button.el (button-at): Minor addition to docstring.
4432 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
4434         * vc/vc.el (vc-merge): Fix a prompt.
4436 2012-03-24  Chong Yidong  <cyd@gnu.org>
4438         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4439         point (Bug#9623).
4441         * button.el (button-at): Minor addition to docstring.
4443 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4445         * newcomment.el (comment-choose-indent): No space after BOL.
4447 2012-03-22  Sam Steingold  <sds@gnu.org>
4449         * window.el (switch-to-prev-buffer): Revert last patch because the
4450         bug turned out to be an advertised feature (Elisp manual 28.14).
4452 2012-03-22  Glenn Morris  <rgm@gnu.org>
4454         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
4455         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4457 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4459         * net/network-stream.el (network-stream-open-starttls): Make error
4460         message under Windows be less misleading.
4462 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
4464         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4465         understands (bug#9942).
4467 2012-03-22  Chong Yidong  <cyd@gnu.org>
4469         * simple.el (end-of-visible-line): Handle return value of
4470         next-single-property-change properly (Bug#9371).
4472 2012-03-22  Kenichi Handa  <handa@m17n.org>
4474         * international/quail.el (quail-insert-kbd-layout): Fix previous
4475         change.  To avoid unwanted bidi reordering, use
4476         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4478 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4480         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4481         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4482         (ruby-beginning-of-indent): Be more careful with the difference
4483         between word-boundary and symbol boundary.
4484         (ruby-mode-syntax-table): Make : a symbol constituent.
4486 2012-03-21  Andreas Politz  <politza@fh-trier.de>
4488         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4490 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4492         * progmodes/etags.el (tags-completion-at-point-function):
4493         Improve last fix.
4495         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4497 2012-03-21  Sam Steingold  <sds@gnu.org>
4499         * progmodes/etags.el (tags-completion-at-point-function):
4500         Avoid the error when point is inside the pattern.
4502 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
4504         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4505         line (Bug#10855).
4507 2012-03-21  Drew Adams  <drew.adams@oracle.com>
4509         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4511 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
4513         * ido.el (ido-set-current-directory, ido-read-internal)
4514         (ido-choose-completion-string, ido-completion-help): Handle nil
4515         value of ido-completion-buffer (Bug#11008).
4517 2012-03-21  Sam Steingold  <sds@gnu.org>
4519         * window.el (switch-to-prev-buffer): Do not switch to a visible
4520         window previous buffer, just like with the frame previous buffers.
4522 2012-03-21  Chong Yidong  <cyd@gnu.org>
4524         * faces.el (make-face, make-empty-face, copy-face):
4525         * face-remap.el (face-remap-add-relative, face-remap-set-base):
4526         Doc fixes.
4528 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4530         * wid-edit.el (widget-complete-field): Remove (bug#11051).
4531         (widget-complete): Remove broken use of it.
4533 2012-03-20  Chong Yidong  <cyd@gnu.org>
4535         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4536         Use string-width and truncate-string-width to handle arbitrary
4537         characters.
4539 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
4541         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4542         to draw rectangles, not squares.  (Regression introduced by revno
4543         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4545 2012-03-18  Chong Yidong  <cyd@gnu.org>
4547         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4548         it is not yet defined (for temacs).
4550 2012-03-18  Leo Liu  <sdl.web@gmail.com>
4552         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4554 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4556         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4557         (ispell-choices-win-default-height, ispell-silently-savep)
4558         (ispell-dictionary-alist, ispell-encoding8-command)
4559         (ispell-check-version, ispell-aspell-find-dictionary)
4560         (ispell-valid-dictionary-list, ispell-words-keyword)
4561         (ispell-get-word, ispell-internal-change-dictionary)
4562         (ispell-region, ispell-skip-region-list)
4563         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4564         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4565         (ispell-message-text-end, ispell-message)
4566         (ispell-buffer-local-parsing): Doc fix.
4568 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
4570         * htmlfontify.el: Add support for code block fontification for ODT
4571         export (Bug #9914).
4572         (hfy-optimisations): Define new option
4573         `body-text-only'
4574         (hfy-fontify-buffer): Honor above setting.
4575         (hfy-begin-span, hfy-end-span): New routines factored out form
4576         `hfy-fontify-buffer'.
4577         (hfy-begin-span-handler, hfy-end-span-handler): New variables
4578         that permit insertion of custom tags.
4579         (hfy-fontify-buffer): Use above handlers.
4580         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4581         (hfy-face-to-css): Re-defined to be a variable.
4582         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
4583         over multiple runs.  This is made possible by having the caller let
4584         bind a special variable `hfy-user-sheet-assoc'.
4585         (htmlfontify-string): New defun.
4586         (hfy-compile-face-map): Make sure that the last char in the
4587         buffer is correctly fontified.
4588         (hfy-face-resolve-face): Whitespace only change.
4590 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4592         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4593         message more clear.
4595 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4597         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4599 2012-03-16  Alan Mackenzie  <acm@muc.de>
4601         Further optimise the handling of large macros.
4603         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4604         limit to a call of `c-literal-limits'.
4605         (c-determine-+ve-limit): New function.
4606         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4607         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4608         In CASE 5B, restrict a search limit to 500.
4609         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4611         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4612         Restrict macro bounds to +-500 from after-change's BEG END.
4614 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4616         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4618 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
4620         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4621         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
4623 2012-03-16  Glenn Morris  <rgm@gnu.org>
4625         * view.el (view-buffer, view-buffer-other-window)
4626         (view-buffer-other-frame): Doc fixes re special mode-class.
4628         * subr.el (eval-after-load): If named feature is provided not from
4629         a file, run after-load forms.  (Bug#10946)
4631         * calendar/calendar.el (calendar-insert-at-column):
4632         Handle non-unit-width characters a bit better.  (Bug#10978)
4634 2012-03-15  Chong Yidong  <cyd@gnu.org>
4636         * emacs-lisp/ring.el (ring-extend): New function.
4637         (ring-insert+extend): Extend the ring correctly (Bug#11019).
4639         * comint.el (comint-read-input-ring)
4640         (comint-add-to-input-history): Grow comint-input-ring lazily.
4642 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4644         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4645         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4647         * imenu.el: Fix multiple inheritance breakage (bug#9199).
4648         (imenu-add-to-menubar): Don't add a redundant index.
4649         (imenu-update-menubar): Handle a dynamically composed keymap.
4651 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
4653         * mail/sendmail.el (mail-encode-header):
4654         Bind rfc2047-encode-encoded-words to nil.
4656 2012-03-13  Glenn Morris  <rgm@gnu.org>
4658         * calendar/calendar.el (calendar-string-spread):
4659         Handle non-unit-width characters a bit better.  (Bug#10978)
4661 2012-03-13  Leo Liu  <sdl.web@gmail.com>
4663         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4664         directory and file as argument (Bug#10822).
4666 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4668         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4669         For dynamically generated code, follow $PC.
4670         (gdb-disassembly-handler-custom): Handle no function name case.
4672 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
4674         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4675         * emulation/ws-mode.el (ws-query-replace):
4676         * sort.el (sort-regexp-fields):
4677         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
4679 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4681         * dabbrev.el: Fix cycle completion order (bug#10963).
4682         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4683         (dabbrev-completion): Don't use an obarray; provide
4684         a cycle-sort-function.
4686 2012-03-12  Leo Liu  <sdl.web@gmail.com>
4688         * simple.el (kill-new): Use equal-including-properties for comparison.
4689         (kill-do-not-save-duplicates): Doc fix.
4691 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4693         * dabbrev.el: Fix cycle completion (bug#10963).
4694         Use lexical binding and wrap to 80 columns.
4695         (dabbrev-completion): Delay computing the list of completions.
4697 2012-03-12  Kenichi Handa  <handa@m17n.org>
4699         * international/quail.el (quail-insert-kbd-layout): Surround each
4700         row by LRO and PDF instead of inserting many LRMs.  Pad the left
4701         and right of each non-spacing marks.  Insert invisible space
4702         between lower and upper characters to prevent composition.
4704 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4706         * minibuffer.el (minibuffer-complete): Don't get confused when the
4707         function is run twice via different commands (bug#10958).
4708         (complete-with-action): Fix docstring.
4710 2012-03-12  Chong Yidong  <cyd@gnu.org>
4712         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4713         (nxml-completion-at-point-function): New function.
4714         (nxml-mode): Use it.
4715         (nxml-bind-meta-tab-to-complete-flag): Default to t.
4717         * emacs-lisp/package.el (package-unpack, package-unpack-single):
4718         Load generated autoloads file before byte compiling (Bug#10970).
4719         (package--make-autoloads-and-compile): New helper fun.
4721 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4723         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4725 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
4727         * autorevert.el (auto-revert-handler): Ensure, that
4728         file-readable-p is applied only for local files or in
4729         auto-revert-tail-mode.
4731 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
4733         * server.el (server-eval-at): Handle non-tcp connections.
4734         Decode result string.
4736         * server.el (server-msg-size): New constant.
4737         (server-reply-print): New function.
4738         (server-eval-and-print): Use it.
4739         (server-eval-at): Use server-quote-arg and server-unquote-arg.
4740         Handle -print-nonl.
4742 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
4744         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4745         (Bug#10987).
4747 2012-03-11  Chong Yidong  <cyd@gnu.org>
4749         * simple.el (goto-line): Doc fix (Bug#9938).
4751         * subr.el (save-window-excursion): Doc fix (Bug#9979).
4753         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4754         when finished (Bug#10963).
4756 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
4758         * window.el (split-window-below): Fix bug in case where
4759         split-window-keep-point is nil (Bug#10971).
4761 2012-03-11  Juri Linkov  <juri@jurta.org>
4763         * replace.el (replace-highlight): Set isearch-word to nil
4764         unconditionally.  (Bug#10887)
4766 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
4768         * net/mairix.el (mairix-replace-invalid-chars): Rename from
4769         mairix-replace-illegal-chars; all callers changed.  Don't remove
4770         ^, ~, and = characters: they are meaningful in mairix search specs.
4771         (mairix-widget-create-query): Add usage information about mairix
4772         search forms: negating words, searching for substrings, etc.
4774 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
4776         * international/fontset.el (font-encoding-alist): Add an entry for
4777         ksx1001 (Bug#5667).
4779 2012-03-10  Richard Stallman  <rms@gnu.org>
4781         * mail/sendmail.el (mail-encode-header):
4782         Set rfc2047-encode-encoded-words.
4784         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4786         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4787         view buffer means not swapped.
4788         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4789         (rmail-write-region-annotate): Error if real text has disappeared.
4791         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4793 2012-03-10  Chong Yidong  <cyd@gnu.org>
4795         * emulation/cua-rect.el (cua--init-rectangles):
4796         * emulation/cua-base.el (cua--init-keymaps):
4797         Add delete-forward-char to remappings (Bug#9666).
4799 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
4801         * speedbar.el (speedbar-unhighlight-one-tag-line):
4802         Avoid unhighlighting due to frame switching (Bug#10275).
4804 2012-03-10  Chong Yidong  <cyd@gnu.org>
4806         * minibuffer.el (completion-in-region, completion-help-at-point):
4807         Give the completion field overlay a high priority (Bug#6830).
4809         * dired.el (dired-goto-file): Recognize absolute file name
4810         listings (Bug#7126).
4811         (dired-goto-file-1): New helper function.
4812         (dired-toggle-read-only): Inhibit warnings.
4814 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
4816         * net/dbus.el (dbus-property-handler): Return empty array if
4817         there are no properties.
4819 2012-03-09  Leo Liu  <sdl.web@gmail.com>
4821         * savehist.el (savehist-printable): Stricter check for string
4822         value (Bug#10937).
4824 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
4826         * mail/smtpmail.el (smtpmail-send-it):
4827         Bind coding-system-for-write to *-unix, so that FCC files are kept in
4828         valid mbox format.
4830 2012-03-09  Glenn Morris  <rgm@gnu.org>
4832         * files.el (dir-locals-find-file):
4833         Don't check result is regular, readable.
4834         (dir-locals-read-from-file): Demote errors.
4836 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
4838         * international/quail.el (quail-insert-kbd-layout):
4839         Insert invisible LRM characters before each character in a keyboard
4840         layout cell, to prevent their reordering by bidi display engine.
4841         For details, see the discussion in
4842         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4844 2012-03-08  Alan Mackenzie  <acm@muc.de>
4846         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4847         the starting position; make it extend the marked region when
4848         invoked repeatedly - all under appropriate circumstances.
4849         Fixes bugs #5525, #10906.
4851 2012-03-08  Glenn Morris  <rgm@gnu.org>
4853         * files.el (locate-dominating-file, dir-locals-find-file):
4854         Undo 2012-03-06 change.
4856 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
4858         * international/quail.el (quail-help):
4859         Force bidi-paragraph-direction be left-to-right.  See discussion in
4860         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4861         for the reason.
4863 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
4865         Avoid superfluous registering of signals.  (Bug#10807)
4867         * notifications.el (notifications-on-action-object)
4868         (notifications-on-close-object): New defvars.
4869         (notifications-on-action-signal, notifications-on-closed-signal):
4870         Unregister the signal if not needed any longer.
4871         (notifications-notify): Register `notifications-action-signal' or
4872         `notifications-closed-signal', if :on-action or :on-close has been
4873         passed as argument.
4875 2012-03-07  Chong Yidong  <cyd@gnu.org>
4877         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4878         non-X platforms.
4880 2012-03-06  Glenn Morris  <rgm@gnu.org>
4882         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4883         (x-disown-selection-internal, x-get-selection-internal):
4884         Doc fix (add arglist signatures).  (Bug#10783)
4886 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4888         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4889         Handle breakpoints with no "type".
4891 2012-03-06  Glenn Morris  <rgm@gnu.org>
4893         * files.el (locate-dominating-file): Add optional predicate argument.
4894         (dir-locals-find-file): Make use of above change.
4896 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
4898         * info.el (Info-insert-dir): Also try "dir.gz".
4900 2012-03-06  Glenn Morris  <rgm@gnu.org>
4902         * files.el (dir-locals-find-file):
4903         Ignore non-readable or non-regular files.  (Bug#10928)
4905         * files.el (locate-dominating-file): Doc fix.
4907 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
4909         * calendar/calendar.el (calendar-set-mode-line):
4910         `getenv' returns a string.  (Bug#10951)
4912 2012-03-05  Leo Liu  <sdl.web@gmail.com>
4914         * simple.el (backward-delete-char-untabify): Constrain point to
4915         field (Bug#10939).
4917         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4919 2012-03-05  Chong Yidong  <cyd@gnu.org>
4921         * simple.el (count-words): If called from Lisp, return the word
4922         count, for symmetry with `count-lines'.  Arglist changed.
4923         (count-words--message): Args changed.  Consolidate counting code
4924         from count-words and count-words-region.
4925         (count-words-region): Caller changed.
4926         (count-lines-region): Make it an obsolete alias.
4928 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
4930         * saveplace.el (save-place-to-alist)
4931         (save-place-ignore-files-regexp): Allow value nil to disable this
4932         feature.
4934 2012-03-04  Chong Yidong  <cyd@gnu.org>
4936         * faces.el (face-spec-reset-face): For the default face, reset the
4937         attributes to default values (Bug#10748).
4939 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4941         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4942         previous patch: Check `message-send-mail-function', and not the
4943         default function (bug#10897).
4945 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
4947         * notifications.el (notifications-on-action-signal)
4948         (notifications-on-closed-signal): Check for unique service name of
4949         incoming event.  Fix error in removing entry.
4950         (top): Register for signals with wildcard service name.
4951         (notifications-notify): Use daemon unique service name for map entries.
4953 2012-03-04  Chong Yidong  <cyd@gnu.org>
4955         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4957 2012-03-04  Glenn Morris  <rgm@gnu.org>
4959         * abbrev.el (copy-abbrev-table, abbrev-table-p)
4960         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4961         (expand-abbrev, define-abbrev-table): Doc fixes.
4963 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4965         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4966         `message-default-send-mail-function' and not `send-mail-function'
4967         when doing the prompting for `sendmail-query-once' before sending
4968         in Message buffers (bug#10897).
4970         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4971         This is inconsistent with all the other stream functions, which leave
4972         the setting up to the higher levels (if so wanted) (bug#10931).
4974 2012-03-02  Alan Mackenzie  <acm@muc.de>
4976         Depessimize the handling of very large macros.
4978         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4979         (c-macro-cache-syntactic): New variables to implement a one
4980         element macro cache.
4981         (c-invalidate-macro-cache): New function.
4982         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4983         Adapt to use the new cache.
4984         (c-state-safe-place): Use better the cache of safe positions.
4985         (c-state-semi-nonlit-pos-cache)
4986         (c-state-semi-nonlit-pos-cache-limit):
4987         New variables for...
4988         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
4989         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4990         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4991         Use c-state-semi-safe-place.
4993         * progmodes/cc-langs.el (c-get-state-before-change-functions):
4994         Add c-invalidate-macro-cache to the C, C++, Obj entries.
4996 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
4998         * jka-compr.el (jka-compr-call-process):
4999         Apply `file-accessible-directory-p' only when the default directory is
5000         not remote.
5002 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
5004         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
5005         access of FILE2, if FILE1 does not exist.
5007         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5008         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5010         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5011         Add "PAGER=" to `process-environment'.
5013 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
5015         * progmodes/sql.el: Bug fix
5016         (sql-get-login-ext): Save login values in globals.
5017         (sql-get-login): Use new version of `sql-get-login-ext'.
5018         (sql-interactive-mode): Set global `sql-connection' to nil.
5019         (sql-connect): Set global values for connection.
5020         (sql-product-interactive): Save global values as buffer local.
5022 2012-02-29  Leo Liu  <sdl.web@gmail.com>
5024         * abbrev.el (define-abbrevs): Reset sys to nil.
5026 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5028         * files.el (file-equal-p): Rename from `files-equal-p'.
5029         Return nil when one or both files don't exist.
5030         (file-subdir-of-p): Now only top directory must exists,
5031         return nil if it doesn't.
5032         (copy-directory): No need to test with `file-subdir-of-p' after
5033         creating dir.
5034         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5035         to `file-equal-p'.
5037 2012-02-28  Glenn Morris  <rgm@gnu.org>
5039         * shell.el (shell-mode):
5040         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5041         * play/landmark.el (landmark-font-lock-face-O):
5042         * play/handwrite.el (handwrite):
5043         * play/gomoku.el (gomoku-O):
5044         * net/browse-url.el (browse-url-browser-display):
5045         * international/mule.el (define-charset):
5046         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5047         * filesets.el (filesets-find-file-delay):
5048         * eshell/em-xtra.el (eshell-xtra):
5049         * eshell/em-unix.el (eshell-grep):
5050         * emulation/viper.el (viper-mode):
5051         * emacs-lisp/regexp-opt.el (regexp-opt-group):
5052         * emacs-lisp/easymenu.el (easy-menu-define):
5053         * calendar/timeclock.el (timeclock-use-display-time):
5054         * bs.el (bs-mode):
5055         * bookmark.el (bookmark-save-flag):
5056         Doc fix (standardize possessive apostrophe usage).
5058 2012-02-27  Chong Yidong  <cyd@gnu.org>
5060         * emulation/viper-cmd.el (viper-intercept-ESC-key):
5061         Fix key-binding lookup for ESC key (Bug#9146).
5063         * font-lock.el (font-lock-specified-p): Rename from
5064         font-lock-spec-present.  Callers changed.
5066 2012-02-27  Daniel Hackney  <dan@haxney.org>
5068         * emacs-lisp/package.el (package-compute-transaction):
5069         Handle holding a package version to t in package-load-list.
5071 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
5073         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5074         (tramp-get-inode, tramp-get-device): Use cached values.
5076 2012-02-26  Alan Mackenzie  <acm@muc.de>
5078         Check there is a font-lock specification before doing initial
5079         fontification.
5081         * font-core.el (font-lock-mode): Move the conditional from
5082         :after-hook to font-lock-initial-fontify.
5083         (font-lock-default-function): Move the check for a specification
5084         to font-lock-spec-present.
5086         * font-lock.el (font-lock-initial-fontify): Call ...
5087         (font-lock-spec-present): New function.
5089 2012-02-26  Jim Blandy  <jimb@red-bean.com>
5091         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5092         (gdb-send): Apply it to the operand of the '-interpreter-exec
5093         console' command, so that we can pass arguments with (say) quotes
5094         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
5096 2012-02-26  Chong Yidong  <cyd@gnu.org>
5098         * help-fns.el (describe-function-1): Clarify description of
5099         remapping (Bug#10844).
5101         * files.el (files-equal-p): Doc fix.
5102         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
5103         and quit the loop once a mismatch is found.
5105 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
5107         * bs.el (bs--show-with-configuration): Don't throw an error
5108         if the window cannot be split; otherwise, subsequent calls to
5109         bs-show fail, restoring a stale window config.  (Bug#10882)
5111 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
5113         * term/ns-win.el (global-map): Bind ns-drag-file to
5114         ns-find-file (Bug#5855, Bug#10050).
5116 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
5118         * calendar/parse-time.el (parse-time-string): Allow extractor to
5119         return nil.
5121 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
5123         * net/tramp.el (tramp-file-name-for-operation):
5124         Add `files-equal-p' and `file-subdir-of-p'.
5126         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5127         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5128         Add COPY-CONTENTS argument.
5130 2012-02-25  Chong Yidong  <cyd@gnu.org>
5132         Add custom groups for VC backends, for consistency with vc-bzr.
5134         * vc/vc-arch.el (vc-arch):
5135         * vc/vc-cvs.el (vc-cvs):
5136         * vc/vc-git.el (vc-git):
5137         * vc/vc-hg.el (vc-hg):
5138         * vc/vc-mtn.el (vc-mtn):
5139         * vc/vc-rcs.el (vc-rcs):
5140         * vc/vc-sccs.el (vc-sccs):
5141         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5142         All relevant defcustoms reassigned.
5144 2012-02-25  Chong Yidong  <cyd@gnu.org>
5146         * newcomment.el (comment-styles): Add autoload (Bug#10868).
5148         * term/x-win.el (x-initialize-window-system): Reduce default for
5149         x-selection-timeout to 5 seconds (Bug#8869).
5151 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5153         * files.el (files-equal-p, file-subdir-of-p): New functions.
5154         (copy-directory): Error when trying to copy a directory on itself.
5155         Add missing copy-contents arg to tramp handler.
5156         * dired-aux.el (dired-copy-file-recursive): Same.
5157         (dired-create-files): Modify destination when source is equal to
5158         dest when copying files.
5159         Return also when dest is a subdir of source.  (Bug#10489)
5161 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
5163         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5164         (Bug#10874)
5166 2012-02-23  Alan Mackenzie  <acm@muc.de>
5168         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5169         parameter "after-hook:" to allow the expansion to run code after
5170         the execution of the mode hooks.
5172         * font-lock.el (font-lock-initial-fontify): New function extracted
5173         from font-lock-mode-internal.
5175         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5176         :after-hook.
5178 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5180         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5181         (completion--cache-all-sorted-completions): New function.
5182         (completion-all-sorted-completions): Use it.
5183         (completion--do-completion, minibuffer-force-complete):
5184         Use it to re-instate the flush hook.
5186         * icomplete.el (icomplete-completions): Replace last fix with a better
5187         one (bug#10850).
5189 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
5191         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5192         when it might call us back infinitely (bug#10797).
5194 2012-02-23  Glenn Morris  <rgm@gnu.org>
5196         * minibuffer.el (completion-category-overrides): Doc fix.
5198 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5200         * minibuffer.el (completion-table-with-context): Fix inf-loop.
5201         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5203 2012-02-23  Glenn Morris  <rgm@gnu.org>
5205         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5206         (authors-obsolete-files-regexps, authors-ignored-files)
5207         (authors-ambiguous-files, authors-renamed-files-alist):
5208         Add more entries.
5210 2012-02-23  Juri Linkov  <juri@jurta.org>
5212         * isearch.el (isearch-occur): Sync interactive spec with occur's
5213         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
5215         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5217 2012-02-22  Juri Linkov  <juri@jurta.org>
5219         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5220         (ucs-insert): Doc fix.  Check for hex digits in the string.
5221         Don't display `nil' in the error message.  (Bug#10857)
5223 2012-02-22  Alan Mackenzie  <acm@muc.de>
5225         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5227 2012-02-22  Glenn Morris  <rgm@gnu.org>
5229         * ffap.el (ffap-c-path):
5230         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
5232 2012-02-22  Chong Yidong  <cyd@gnu.org>
5234         * custom.el (load-theme): Doc fix.
5236 2012-02-22  Glenn Morris  <rgm@gnu.org>
5238         * dired-x.el (dired-guess-shell-alist-default):
5239         Remove escape sequences from nroff output.  (Bug#172)
5241 2012-02-21  Glenn Morris  <rgm@gnu.org>
5243         * vc/emerge.el (emerge-defvar-local):
5244         Set `permanent-local' property rather than unused `preserved'.
5246         * textmodes/picture.el (picture-delete-char): New alias.
5247         (picture-mode-map): Use it.  (Bug#10860)
5248         (picture-mode): Doc fix.
5250 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
5252         * newcomment.el (uncomment-region-default): Remove unused binding.
5254 2012-02-21  Glenn Morris  <rgm@gnu.org>
5256         * textmodes/picture.el (picture-motion, picture-motion-reverse)
5257         (picture-self-insert, picture-tab-chars): Doc fix.
5258         (picture-mode-map): Fix C-a, C-e.
5260 2012-02-20  Glenn Morris  <rgm@gnu.org>
5262         * emacs-lisp/authors.el (authors-aliases): Add another entry.
5264 2012-02-20  Leo Liu  <sdl.web@gmail.com>
5266         * icomplete.el (icomplete-completions): Check FROM arg before
5267         passing to substring (Bug#10850).
5269 2012-02-19  Chong Yidong  <cyd@gnu.org>
5271         * comint.el: Require ansi-color.
5272         (comint-output-filter-functions): Add ansi-color-process-output.
5274         * ansi-color.el: Don't set comint-output-filter-functions; it is
5275         now in the initial value defined in comint.el.
5276         (ansi-color-apply-face-function): New variable.
5277         (ansi-color-apply-on-region): Use it.
5278         (ansi-color-apply-overlay-face): New function.
5280         * shell.el (shell): No need to require ansi-color.
5281         (shell-mode): Use ansi-color-apply-face-function to highlight
5282         color escapes using font-lock-face property (Bug#10835).
5284 2012-02-19  Chong Yidong  <cyd@gnu.org>
5286         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5287         mode-line formats (Bug#10839).
5289 2012-02-18  Glenn Morris  <rgm@gnu.org>
5291         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5293         * mail/undigest.el (unforward-rmail-message): Doc fix.
5295         * saveplace.el (save-place-ignore-files-regexp): Add :version.
5297 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
5299         * international/characters.el (script-list): Sync with the latest
5300         Unicode Character Database.
5302 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
5304         * international/titdic-cnv.el: Remove duplicate coding tag.
5305         * language/cham.el: Likewise.
5306         * language/tai-viet.el: Likewise.
5308 2012-02-18  Glenn Morris  <rgm@gnu.org>
5310         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5311         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5312         (calendar-bahai-all-holidays-flag, calendar-other-dates):
5313         * calendar/diary-lib.el (diary-abbreviated-year-flag):
5314         * calendar/holidays.el (holiday-bahai-holidays)
5315         (calendar-holidays, list-holidays):
5316         Use utf-8 Bahá'í in doc-strings, menus, etc.
5318 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
5320         * saveplace.el (save-place-ignore-files-regexp): New variable
5321         allowing for excluding files from saving their location of point.
5322         The default value matches the temporary commit message editing
5323         files from Git, SVN, Bazaar, and Mercurial.
5324         (save-place-to-alist): Use it.
5326 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
5327             Stefan Monnier  <monnier@iro.umontreal.ca>
5329         * newcomment.el (uncomment-region-default): Don't leave extra space
5330         when an arg is provided (bug#8150).
5332 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
5334         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5336 2012-02-17  Glenn Morris  <rgm@gnu.org>
5338         * net/socks.el: Require network-stream.  (Bug#10599)
5340 2012-02-17  Kenichi Handa  <handa@m17n.org>
5342         * international/charprop.el:
5343         * international/uni-name.el:
5344         * international/uni-old-name.el:
5345         * international/uni-comment.el: Regenerate.
5347 2012-02-16  Glenn Morris  <rgm@gnu.org>
5349         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5350         Interactively in calendar buffer, give an error if not on a date.
5352 2012-02-15  Glenn Morris  <rgm@gnu.org>
5354         * shell.el (shell-delimiter-argument-list):
5355         Revert 2011-02-17 change.  (Bug#8027)
5357 2012-02-15  Chong Yidong  <cyd@gnu.org>
5359         * minibuffer.el (completion-at-point-functions): Doc fix.
5361         * custom.el (defcustom): Doc fix; note use of defvar.
5363 2012-02-15  Glenn Morris  <rgm@gnu.org>
5365         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5366         Doc fixes.
5368 2012-02-14  Glenn Morris  <rgm@gnu.org>
5370         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5372 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
5374         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5375         way the ports list is computed.
5376         (smtpmail-query-smtp-server): Prompt the user for a port number if
5377         we can't connect to any of the standard ports (bug#10810).
5379 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
5381         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5383 2012-02-13  Glenn Morris  <rgm@gnu.org>
5385         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
5387 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
5389         * net/gnutls.el (gnutls-trustfiles): New variable.
5390         (gnutls-negotiate): Use it.
5392 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
5394         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5395         does its stuff if Gnus is running.
5397 2012-02-13  Alan Mackenzie  <acm@muc.de>
5399         Fix a loop in c-set-fl-decl-start.
5401         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5402         c-backward-syntactic-ws actually moves backwards.
5404 2012-02-13  Leo Liu  <sdl.web@gmail.com>
5406         * net/rcirc.el (rcirc-markup-attributes): Move point to the
5407         beginning so that all \C-o chars are removed.
5409 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
5411         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5413 2012-02-12  Alan Mackenzie  <acm@muc.de>
5415         Fix infinite loop with long macros.
5416         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5418 2012-02-12  Chong Yidong  <cyd@gnu.org>
5420         * window.el (display-buffer): Doc fix (Bug#10785).
5422 2012-02-12  Glenn Morris  <rgm@gnu.org>
5424         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5425         (x-disown-selection-internal, x-get-selection-internal):
5426         Sync docs with the xselect.c versions.
5428         * allout-widgets.el: Add missing license notice.
5430 2012-02-11  Glenn Morris  <rgm@gnu.org>
5432         * select.el (x-get-selection-internal, x-own-selection-internal)
5433         (x-disown-selection-internal):
5434         * x-dnd.el (x-get-selection-internal): Update declarations.
5436         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5438         * window.el (window-sides-slots):
5439         * tool-bar.el (tool-bar-position):
5440         * term/xterm.el (xterm-extra-capabilities):
5441         * ses.el (ses-self-reference-early-detection):
5442         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5443         (verilog-auto-wire-type)
5444         (verilog-auto-delete-trailing-whitespace)
5445         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5446         (verilog-auto-tieoff-declaration):
5447         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5448         (sql-oracle-statement-starters, sql-oracle-scan-on):
5449         * progmodes/prolog.el (prolog-align-comments-flag)
5450         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5451         (prolog-left-indent-regexp, prolog-paren-indent-p)
5452         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5453         (prolog-types, prolog-mode-specificators)
5454         (prolog-determinism-specificators, prolog-directives)
5455         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5456         (prolog-electric-dot-flag)
5457         (prolog-electric-dot-full-predicate-template)
5458         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5459         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5460         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5461         (prolog-program-switches, prolog-prompt-regexp)
5462         (prolog-debug-on-string, prolog-debug-off-string)
5463         (prolog-trace-on-string, prolog-trace-off-string)
5464         (prolog-zip-on-string, prolog-zip-off-string)
5465         (prolog-use-standard-consult-compile-method-flag)
5466         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5467         (prolog-imenu-max-lines, prolog-info-predicate-index)
5468         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5469         (prolog-char-quote-workaround):
5470         * progmodes/cc-vars.el (c-defun-tactic):
5471         * net/tramp.el (tramp-encoding-command-interactive)
5472         (tramp-local-end-of-line):
5473         * net/soap-client.el (soap-client):
5474         * net/netrc.el (netrc-file):
5475         * net/gnutls.el (gnutls):
5476         * minibuffer.el (completion-category-overrides)
5477         (completion-cycle-threshold)
5478         (completion-pcm-complete-word-inserts-delimiters):
5479         * man.el (Man-name-local-regexp):
5480         * mail/feedmail.el (feedmail-display-full-frame):
5481         * international/characters.el (glyphless-char-display-control):
5482         * eshell/em-ls.el (eshell-ls-date-format):
5483         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5484         (lisp-lambda-list-keyword-parameter-indentation)
5485         (lisp-lambda-list-keyword-parameter-alignment):
5486         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5487         * dired-x.el (dired-omit-verbose):
5488         * cus-theme.el (custom-theme-allow-multiple-selections):
5489         * calc/calc.el (calc-highlight-selections-with-faces)
5490         (calc-lu-field-reference, calc-lu-power-reference)
5491         (calc-note-threshold):
5492         * battery.el (battery-mode-line-limit):
5493         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5494         (archive-7z-update):
5495         * allout.el (allout-prefixed-keybindings)
5496         (allout-unprefixed-keybindings)
5497         (allout-inhibit-auto-fill-on-headline)
5498         (allout-flattened-numbering-abbreviation):
5499         * allout-widgets.el (allout-widgets-auto-activation)
5500         (allout-widgets-icons-dark-subdir)
5501         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5502         (allout-widgets-theme-dark-background)
5503         (allout-widgets-theme-light-background)
5504         (allout-widgets-item-image-properties-emacs)
5505         (allout-widgets-item-image-properties-xemacs)
5506         (allout-widgets-run-unit-tests-on-load)
5507         (allout-widgets-time-decoration-activity)
5508         (allout-widgets-hook-error-post-time)
5509         (allout-widgets-track-decoration):
5510         Add missing :version tags to new defcustoms and defgroups.
5512         * progmodes/sql.el (sql-ansi-statement-starters)
5513         (sql-oracle-statement-starters): Add custom type.
5515         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5516         (prolog-system-version): Give it a type.
5518 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
5520         * term/pc-win.el (x-select-text, x-selection-owner-p)
5521         (x-own-selection-internal, x-disown-selection-internal)
5522         (x-get-selection-internal): Sync doc strings and argument lists
5523         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
5525 2012-02-11  Leo Liu  <sdl.web@gmail.com>
5527         * progmodes/python.el (python-end-of-statement): Fix infinite
5528         loop.  (Bug#10788)
5530 2012-02-10  Glenn Morris  <rgm@gnu.org>
5532         * international/mule-cmds.el (unify-8859-on-encoding-mode)
5533         (unify-8859-on-decoding-mode): Properly mark as obsolete.
5535 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5537         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5538         about SMTP before checking the From header.
5540         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5541         into own function for reuse by emacsbug.el.
5543 2012-02-10  Leo Liu  <sdl.web@gmail.com>
5545         * subr.el (condition-case-unless-debug): Rename from
5546         condition-case-no-debug.  All callers changed.
5547         (with-demoted-errors): Fix caller.
5549         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5550         * nxml/rng-valid.el (rng-do-some-validation):
5551         * emacs-lisp/package.el (package-refresh-contents)
5552         (package-menu-execute):
5553         * desktop.el (desktop-create-buffer):
5554         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5556 2012-02-10  Glenn Morris  <rgm@gnu.org>
5558         * textmodes/bibtex.el:
5559         Add missing :version tags for new/changed defcustoms.
5561         * files.el (remote-file-name-inhibit-cache): Doc fixes.
5563 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
5565         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5566         (smtpmail-via-smtp): Use it, or fall back on the From address.
5567         (smtpmail-send-it): Ditto.
5569 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5571         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5572         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
5573         (byte-compile-tmp-var): New const.
5574         (byte-compile-defvar): Use it to minimize .elc size.
5575         Just use `defvar' rather than simulate it (bug#10761).
5577 2012-02-09  Glenn Morris  <rgm@gnu.org>
5579         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
5581         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5582         Add :version tags.
5584         * progmodes/compile.el (compilation-error-screen-columns)
5585         (compilation-first-column, compilation-filter-start): Doc fixes.
5587         * vc/log-view.el (log-view-toggle-entry-display):
5588         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5590         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5591         (report-emacs-bug-can-use-xdg-email):
5592         (report-emacs-bug-insert-to-mailer): Doc fixes.
5593         (report-emacs-bug): Message fix.
5595         * net/browse-url.el (browse-url-can-use-xdg-open)
5596         (browse-url-xdg-open): Doc fixes.
5598         * electric.el (electric-indent-mode, electric-pair-mode)
5599         (electric-layout-rules, electric-layout-mode): Doc fixes.
5600         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5602 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
5604         * server.el (server-unselect-display): Don't inadvertently kill
5605         the current buffer.  (Bug#10729)
5607 2012-02-08  Glenn Morris  <rgm@gnu.org>
5609         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5610         (sql-list-table): Doc fixes.
5612         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5613         Comment out (does nothing).
5615         * completion.el (dynamic-completion-mode):
5616         * dirtrack.el (dirtrack-debug-mode):
5617         * electric.el (electric-layout-mode):
5618         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5619         * face-remap.el (text-scale-mode, buffer-face-mode):
5620         * iimage.el (iimage-mode):
5621         * image-mode.el (image-transform-mode):
5622         * minibuffer.el (completion-in-region-mode):
5623         * scroll-lock.el (scroll-lock-mode):
5624         * simple.el (next-error-follow-minor-mode):
5625         * tar-mode.el (tar-subfile-mode):
5626         * tooltip.el (tooltip-mode):
5627         * vcursor.el (vcursor-use-vcursor-map):
5628         * wid-browse.el (widget-minor-mode):
5629         * emulation/tpu-edt.el (tpu-edt-mode):
5630         * emulation/tpu-extras.el (tpu-cursor-free-mode):
5631         * international/iso-ascii.el (iso-ascii-mode):
5632         * language/thai-util.el (thai-word-mode):
5633         * mail/supercite.el (sc-minor-mode):
5634         * net/goto-addr.el (goto-address-mode):
5635         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5636         * progmodes/cwarn.el (cwarn-mode):
5637         * progmodes/flymake.el (flymake-mode):
5638         * progmodes/glasses.el (glasses-mode):
5639         * progmodes/hideshow.el (hs-minor-mode):
5640         * progmodes/pascal.el (pascal-outline-mode):
5641         * textmodes/enriched.el (enriched-mode):
5642         * vc/smerge-mode.el (smerge-mode):
5643         Doc fixes (minor mode argument).
5645 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
5647         * ls-lisp.el (ls-lisp-sanitize): New function.
5648         (ls-lisp-insert-directory): Use it to fix or remove any elements
5649         in file-alist with missing attributes.  (Bug#4673)
5651 2012-02-07  Alan Mackenzie  <acm@muc.de>
5653         Fix spurious recognition of c-in-knr-argdecl.
5655         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5656         putative K&R region.
5658 2012-02-07  Alan Mackenzie  <acm@muc.de>
5660         * progmodes/cc-engine.el (c-forward-objc-directive):
5661         Prevent looping in "#pragma mark @implementation".
5663 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
5665         * notifications.el (notifications-on-closed-signal): Make `reason'
5666         optional.  (Bug#10744)
5668 2012-02-07  Glenn Morris  <rgm@gnu.org>
5670         * emacs-lisp/easy-mmode.el (define-minor-mode):
5671         Doc fixes for the macro and the mode it defines.
5673         * image.el (imagemagick-types-inhibit): Doc fix.
5675         * cus-start.el (imagemagick-render-type): Add it.
5677 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
5679         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5680         Set the default at load time, too, so that `font-lock-fontify-buffer'
5681         can be called without setting up the entire mode first.  This fixes
5682         a bug in `mm-inline-text' with C MIME parts.
5684 2012-02-06  Chong Yidong  <cyd@gnu.org>
5686         * simple.el (list-processes--refresh): Delete exited processes
5687         (Bug#8094).
5689         * comint.el (comint-next-prompt): next-single-char-property-change
5690         and prev-single-char-property-change never return nil (Bug#8657).
5692         * custom.el (defcustom): Doc fix (Bug#9711).
5694 2012-02-05  Chong Yidong  <cyd@gnu.org>
5696         * cus-edit.el (custom-variable-reset-backup): Quote the value
5697         before storing it in the customized-value property (Bug#6712).
5698         (custom-display): Add a customization type tag.
5699         (custom-buffer-create-internal): Improve tooltip message.
5701         * wid-edit.el (widget-field-value-get): New optional arg to
5702         suppress trailing whitespace truncation.
5703         (character): Use it (Bug#2689).
5705 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
5707         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5708         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5710 2012-02-05  Chong Yidong  <cyd@gnu.org>
5712         * cus-edit.el (custom-variable-value-create): For mismatched
5713         types, show the current value (Bug#7600).
5715         * custom.el (defcustom): Doc fix.
5717 2012-02-05  Glenn Morris  <rgm@gnu.org>
5719         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5721 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
5723         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5724         (pp-buffer): Use `ignore-errors', `looking-at-p'.
5725         (pp-last-sexp): Use `looking-at-p'.
5727 2012-02-04  Glenn Morris  <rgm@gnu.org>
5729         * files.el (revert-buffer):
5730         Doc fix (mention revert-buffer-in-progress-p).
5732         * emacs-lisp/ert-x.el (ert-simulate-command):
5733         Check deferred-action-list (which is obsolete) is bound.
5735         * subr.el (with-wrapper-hook): Doc fixes.
5737         * simple.el (filter-buffer-substring-functions)
5738         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5740 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
5742         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5743         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
5745 2012-02-04  Leo Liu  <sdl.web@gmail.com>
5747         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5749 2012-02-04  Glenn Morris  <rgm@gnu.org>
5751         * image.el (image-extension-data): Add obsolete alias.
5753         * isearch.el (isearch-update): Doc fix.
5755         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5757         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5759 2012-02-03  Glenn Morris  <rgm@gnu.org>
5761         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
5762         (image-animate-timeout): Doc fix.
5764         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5766 2012-02-02  Glenn Morris  <rgm@gnu.org>
5768         * server.el (server-auth-dir): Doc fix.
5769         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
5771         * subr.el (run-mode-hooks): Doc fix.
5773 2012-02-02  Juri Linkov  <juri@jurta.org>
5775         * image-mode.el (image-toggle-display-image): Remove tautological
5776         `major-mode' from the `derived-mode-p' test.
5778 2012-02-02  Kenichi Handa  <handa@m17n.org>
5780         * composite.el (compose-region): Cancel previous change.
5782 2012-02-02  Kenichi Handa  <handa@m17n.org>
5784         * composite.el (compose-region, compose-string): Signal error for
5785         a null string component (Bug#6988).
5787 2012-02-01  Chong Yidong  <cyd@gnu.org>
5789         * view.el (view-buffer-other-window, view-buffer-other-frame):
5790         Handle special modes like view-buffer (Bug#10650).
5791         (view-buffer): Simplify.
5793         * frame.el (set-frame-font): Tweak meaning of third argument.
5795         * dynamic-setting.el (font-setting-change-default-font):
5796         Use set-frame-font (Bug#9982).
5798 2012-02-01  Glenn Morris  <rgm@gnu.org>
5800         * progmodes/compile.el (compilation-internal-error-properties):
5801         Respect compilation-first-column in the "*compilation*" buffer.
5803         * emacs-lisp/easy-mmode.el (define-minor-mode):
5804         Relax :variable's test for a named function.
5806 2012-01-31  Alan Mackenzie  <acm@muc.de>
5808         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5809         off by one error.
5811 2012-01-31  Chong Yidong  <cyd@gnu.org>
5813         * frame.el (set-frame-font): New arg ALL-FRAMES.
5815         * menu-bar.el (menu-set-font): Use set-frame-font.
5817         * faces.el (face-spec-reset-face): Don't apply unspecified
5818         attribute values to the default face.
5820 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
5822         * progmodes/cwarn.el (cwarn): Remove dead link.
5823         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5824         Remove * from defcustom docstrings.
5825         (turn-on-cwarn-mode): Make obsolete.
5826         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5827         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5829 2012-01-31  Glenn Morris  <rgm@gnu.org>
5831         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5832         Fix :variable handling of mode a symbol not equal to modefun.
5833         Allow named functions to be used as the cdr of :variable.
5835 2012-01-30  Glenn Morris  <rgm@gnu.org>
5837         * emacs-lisp/authors.el (authors-fixed-entries):
5838         Remove reference to deleted file rnewspost.el.
5840 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
5842         * window.el (window-with-parameter): Remove unused variable `windows'.
5843         (window--side-check): Remove unused variable `code'.
5844         (window--resize-siblings): Remove unused variable `first'.
5845         (adjust-window-trailing-edge): Remove unused variable `failed'.
5846         (window-deletable-p, window--delete): Remove unused variable `buffer'.
5847         Use `let', not `let*'.
5848         (balance-windows-2): Remove unused variable `found'.
5849         (window--state-put-2): Remove unused variable `splits'.
5850         (window-state-put): Remove unused variable `selected'.
5851         (same-window-p): Use `string-match-p'.
5852         (display-buffer-assq-regexp): Remove unused variable `value'.
5853         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5854         Mark argument ALIST as ignored.
5855         (pop-to-buffer): Remove unused variable `old-window'.
5857 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
5859         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5860         and .lzma compressed files.
5862 2012-01-29  Chong Yidong  <cyd@gnu.org>
5864         * frame.el (window-system-default-frame-alist): Doc fix.
5866         * dynamic-setting.el (font-setting-change-default-font): Don't
5867         change the default face if SET-FONT argument is non-nil (Bug#9982).
5869 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
5871         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5873 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
5875         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5876         breakpoints in files outside current directory (Bug#6098).
5878 2012-01-29  Chong Yidong  <cyd@gnu.org>
5880         * progmodes/python.el: Require ansi-color at top-level.
5882         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5883         Define and use in Emacs Lisp mode (Bug#9360).
5884         (lisp-mode-abbrev-table): Add doc.
5885         (lisp-mode-variables): Don't set local-abbrev-table.
5886         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5888 2012-01-28  Roland Winkler  <winkler@gnu.org>
5890         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5892 2012-01-28  Roland Winkler  <winkler@gnu.org>
5894         * textmodes/bibtex.el (bibtex-entry-alist): New function.
5895         (bibtex-set-dialect): Use it.  Either set global values of
5896         dialect-dependent variables or bind these variables buffer-locally
5897         (Bug#10254).
5898         (bibtex-mode): Call bibtex-set-dialect via
5899         hack-local-variables-hook.
5900         (bibtex-dialect): Update docstring.
5901         Add safe-local-variable predicate.
5902         (bibtex-entry-alist, bibtex-field-alist): Initialize via
5903         bibtex-set-dialect.
5904         (bibtex-mode-map): Define menu for each dialect.
5905         (bibtex-entry): Fix docstring.
5907 2012-01-28  Chong Yidong  <cyd@gnu.org>
5909         * eshell/esh-arg.el (eshell-quote-argument): New function.
5911         * eshell/esh-ext.el (eshell-invoke-batch-file):
5912         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5913         first arg to eshell-parse-command (Bug#10523).
5915 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5917         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5918         `default-directory' is non-nil.
5920 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5922         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5923         line that displays system-configuration-options.  (Bug#9924)
5925 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5927         * descr-text.el (describe-char): Show information about POS, in
5928         addition to information about the character at POS.  Improve and
5929         update the doc string.  Change "code point" to "code point in
5930         charset", to avoid confusion with the character's Unicode code
5931         point shown above that.  (Bug#10129)
5933 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5935         * descr-text.el (describe-char): Show the raw character, not only
5936         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
5937         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5938         for the reasons.
5940 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
5942         * emacs-lisp/package.el (package-install):
5943         Run package-refresh-contents if there is no archive yet (Bug#9798).
5945 2012-01-28  Chong Yidong  <cyd@gnu.org>
5947         * emacs-lisp/package.el (package-maybe-load-descriptor):
5948         New function, split from package-maybe-load-descriptor.
5949         (package-maybe-load-descriptor): Use it.
5950         (package-download-transaction): Fully load required packages
5951         inside the loop, so that `require' calls work (Bug#10593).
5952         (package-install): No need to call package-initialize now.
5954 2012-01-28  Chong Yidong  <cyd@gnu.org>
5956         * simple.el (deactivate-mark): Doc fix (Bug#8614).
5958         * tooltip.el (tooltip-mode): Doc fix.
5959         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5961         * frame.el (set-cursor-color): Doc fix (Bug#352).
5963         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5964         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5966         * cus-edit.el (custom-buffer-create-internal): Fix search button
5967         action (Bug#10542).
5968         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5970 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
5972         * dired.el (dired-mark-files-regexp):
5973         Include any subdirectory components.  (Bug#10445)
5975 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5977         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5978         Handle [host]:port syntax.  (Bug#10533)
5980 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
5982         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5984 2012-01-26  Glenn Morris  <rgm@gnu.org>
5986         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5987         * term.el (term-raw-escape-map): Use Control-X-prefix.
5988         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
5990 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
5992         * window.el (window-state-get, window--state-get-1): Don't deal
5993         with fixed-sizeness of windows.  Simplify code.
5995 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
5997         * window.el (window--state-get-1, window--state-put-2):
5998         Don't save and restore the mark.
6000 2012-01-25  Chong Yidong  <cyd@gnu.org>
6002         * custom.el (custom-variable-p): Doc fix.
6004 2012-01-25  Glenn Morris  <rgm@gnu.org>
6006         * dired.el (dired-goto-file): Handle some of the more common
6007         characters that `ls -b' escapes.  (Bug#10596)
6009         * progmodes/compile.el (compilation-next-error-function):
6010         Respect compilation-first-column in the "*compilation*" buffer.
6011         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
6013         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
6015 2012-01-24  Glenn Morris  <rgm@gnu.org>
6017         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
6019 2012-01-24  Julien Danjou  <julien@danjou.info>
6021         * color.el (color-rgb-to-hsl): Fix value computing.
6022         (color-hue-to-rgb): New function.
6023         (color-hsl-to-rgb): New function.
6024         (color-clamp, color-saturate-hsl, color-saturate-name)
6025         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6026         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6028 2012-01-24  Glenn Morris  <rgm@gnu.org>
6030         * vc/vc-rcs.el (vc-rcs-create-tag):
6031         * vc/vc-sccs.el (vc-sccs-create-tag):
6032         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
6034 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
6036         * eshell/esh-util.el (eshell-read-hosts-file):
6037         Skip comment lines.  (Bug#10549)
6039         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
6041 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
6043         * subr.el (display-delayed-warnings): Doc fix.
6044         (collapse-delayed-warnings): New function to collapse identical
6045         adjacent warnings.
6046         (delayed-warnings-hook): Add it.
6048 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
6050         * net/tramp.el (tramp-action-login): Set connection property "login-as".
6052         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6053         (tramp-default-user-alist): Don't add "pscp".
6054         (tramp-do-copy-or-rename-file-out-of-band): Use connection
6055         property "login-as", if set.  (Bug#10530)
6057 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
6059         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6060         "plink1" and "psftp".  (Bug#10530)
6062 2012-01-21  Kenichi Handa  <handa@m17n.org>
6064         * international/mule-cmds.el (prefer-coding-system): Show a
6065         warning message if the default value of file-name-coding-system
6066         was not changed.
6068 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6070         * windmove.el (windmove-reference-loc):
6071         Fix windmove-reference-loc miscalculation.
6073 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
6075         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6076         default unit.
6078 2012-01-21  Glenn Morris  <rgm@gnu.org>
6080         * international/mule.el (auto-coding-alist): Add .tbz.
6082         * files.el (local-enable-local-variables): Doc fix.
6083         (inhibit-local-variables-regexps): Rename from
6084         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
6085         Doc fix.  Add some extensions from auto-coding-alist.
6086         (inhibit-local-variables-suffixes):
6087         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
6088         (inhibit-local-variables-p):
6089         New function, extracted from set-auto-mode-1.
6090         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
6091         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
6092         (hack-local-variables): Doc fix.  Make the mode-only case
6093         respect enable-local-variables and friends.
6094         Respect inhibit-local-variables-regexps for file-locals, but
6095         not for directory-locals.
6096         (set-visited-file-name):
6097         Take account of inhibit-local-variables-regexps.
6098         Whether it applies may change as the file name is changed.
6099         * jka-cmpr-hook.el (jka-compr-install):
6100         * jka-compr.el (jka-compr-uninstall):
6101         Update for inhibit-first-line-modes-suffixes name change.
6103 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
6105         * help-macro.el (make-help-screen): Temporarily restore original
6106         binding for minor-mode-map-alist (Bug#10454).
6108 2012-01-19  Julien Danjou  <julien@danjou.info>
6110         * color.el (color-name-to-rgb): Use the white color to find the max
6111         color component value and return correctly computed values.
6112         (color-name-to-rgb): Add missing float conversion for max value.
6114 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
6116         * window.el (window--state-get-1, window-state-get): Do not use
6117         special state value for window-persistent-parameters.
6118         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
6119         (window--state-put-2): Reset all window parameters to nil before
6120         assigning values of persistent parameters.
6122 2012-01-18  Alan Mackenzie  <acm@muc.de>
6124         Eliminate sluggishness and hangs in fontification of "semicolon
6125         deserts".
6127         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6128         Change value 10000 -> 3000.
6129         (c-state-safe-place): Reformulate so it doesn't stack up an
6130         infinite number of wrong entries in c-state-nonlit-pos-cache.
6131         (c-determine-limit-get-base, c-determine-limit): New functions to
6132         determine backward search limits disregarding literals.
6133         (c-find-decl-spots): Amend commenting.
6134         (c-cheap-inside-bracelist-p): New function which detects "={".
6136         * progmodes/cc-fonts.el
6137         (c-make-font-lock-BO-decl-search-function): Give a limit to a
6138         backward search.
6139         (c-font-lock-declarations): Fix an occurrence of point being
6140         undefined.  Check additionally for point being in a bracelist or
6141         near a macro invocation without a semicolon so as to avoid a
6142         fruitless time consuming search for a declarator.  Give a more
6143         precise search limit for declarators using the new
6144         c-determine-limit.
6146 2012-01-18  Glenn Morris  <rgm@gnu.org>
6148         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6149         (set-auto-mode): Doc fixes.
6151 2012-01-17  Glenn Morris  <rgm@gnu.org>
6153         * isearch.el (search-nonincremental-instead): Fix doc typo.
6155         * dired.el (dired-insert-directory): Handle newlines in directory name.
6156         (dired-build-subdir-alist): Unescape newlines in directory name.
6158 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
6160         * net/tramp.el (tramp-local-end-of-line): New defcustom.
6161         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6162         (tramp-action-terminal): Use it.  (Bug#10530)
6164 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6166         * minibuffer.el (completion--replace): Strip properties (bug#10062).
6168 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
6170         * window.el (window-state-ignored-parameters): Remove variable.
6171         (window--state-get-1): Rename argument MARKERS to IGNORE.
6172         Handle persistent window parameters.  Make copy of clone-of
6173         parameter only if requested.  (Bug#10348)
6174         (window--state-put-2): Install a window parameter only if it has
6175         a non-nil value or an existing parameter shall be overwritten.
6177 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
6179         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6181 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
6183         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6184         don't pass the (nil) value of `upnode' to string-match.
6186 2012-01-14  Chong Yidong  <cyd@gnu.org>
6188         * startup.el (command-line): Fix X resource class for cursorColor.
6189         Fix values recognized by the cursorBlink resource.
6191 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
6193         * epg.el (epg--make-temp-file): Avoid permission race condition
6194         when running on old Emacs versions (bug#10403).
6196 2012-01-14  Glenn Morris  <rgm@gnu.org>
6198         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6200 2012-01-13  Alan Mackenzie  <acm@muc.de>
6202         Fix filling for when filladapt mode is enabled.
6204         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6205         c-mask-paragraph, pass in `fill-paragraph' rather than
6206         `fill-region-as-paragraph'.  (This is a reversion of a previous
6207         change.)
6208         * progmodes/cc-mode.el (c-basic-common-init):
6209         Make fill-paragraph-handle-comment buffer local and set it to nil.
6211 2012-01-13  Glenn Morris  <rgm@gnu.org>
6213         * dired.el (dired-switches-escape-p): New function.
6214         (dired-insert-directory): Use dired-switches-escape-p.
6215         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
6217         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
6219 2012-01-12  Glenn Morris  <rgm@gnu.org>
6221         * mail/sendmail.el (mail-mode): Update paragraph-separate for
6222         changes in adaptive-fill-regexp.  (Bug#10276)
6224 2012-01-11  Alan Mackenzie  <acm@muc.de>
6226         Fix Emacs bug #10463 - put `widen's around the critical spots.
6228         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6229         widen around each invocation of c-state-pp-to-literal.  Remove an
6230         unused let variable.
6232 2012-01-11  Glenn Morris  <rgm@gnu.org>
6234         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
6235         Doc fix.
6237 2012-01-10  Chong Yidong  <cyd@gnu.org>
6239         * net/network-stream.el (network-stream-open-starttls):
6240         Avoid emitting a confusing error message when the server gives a bad
6241         response to the capability command.
6243 2012-01-10  Glenn Morris  <rgm@gnu.org>
6245         * mail/unrmail.el (unrmail): Tweak previous change.
6247 2012-01-09  Chong Yidong  <cyd@gnu.org>
6249         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6251 2012-01-08  Alan Mackenzie  <acm@muc.de>
6253         Optimise font locking in long enum definitions.
6255         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6256         arm to a cond form to handle enums.
6257         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6258         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6260 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6262         * files.el (move-file-to-trash): Preserve default file modes on error.
6263         (Bug#10401)
6265 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6267         * faces.el (set-face-attribute): Clarify the meaning of the nil
6268         frame (bug#10294).
6270         * subr.el (with-selected-frame): Mention that the selected frame
6271         is restored (bug#9980).
6273         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6274         (bug#9759).
6276         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6277         (password-read): Don't autoload unused function.
6279 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
6281         * progmodes/which-func.el (which-func-mode): Turn into a
6282         non-interactive function and mark as obsolete (bug#10428).
6284 2012-01-06  Chong Yidong  <cyd@gnu.org>
6286         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6287         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6288         functions, along with 1 and -1.
6290 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
6292         * time.el (display-time-load-average)
6293         (display-time-default-load-average): Doc fixes.  See the thread
6294         starting at
6295         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6296         for the details.
6298 2012-01-06  Glenn Morris  <rgm@gnu.org>
6300         * mail/unrmail.el (unrmail): Give an explicit error if the input file
6301         has no messages.  (Bug#10377)
6303         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6304         than Info-edit.  (Bug#10385)
6306         * time.el (display-time-load-average, display-time-next-load-average):
6307         Doc fixes.
6309         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6310         local setting of buffer-read-only to the input buffer.  (Bug#10419)
6312         * calendar/calendar.el (calendar-mode):
6313         Locally set scroll-margin to 0.  (Bug#10379)
6315 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
6317         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
6319 2012-01-05  Glenn Morris  <rgm@gnu.org>
6321         * eshell/em-unix.el (diff-no-select): Autoload it.
6322         (eshell/diff): Use diff-no-select.  (Bug#10420)
6324 2012-01-05  Chong Yidong  <cyd@gnu.org>
6326         * shell.el (shell-dynamic-complete-functions): Revert last change.
6327         (shell-command-completion-function): New function.
6328         (shell-completion-vars): Use it to implement
6329         shell-completion-execonly (Bug#10417).
6331         * custom.el (enable-theme): Don't set custom-safe-themes.
6333         * cus-theme.el (custom-theme-merge-theme):
6334         Ignore custom-enabled-themes and custom-safe-themes.
6336 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
6338         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6339         first prompt in `sql-interacive-mode'.
6340         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6341         keywords.
6342         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6343         (sql-product-interactive): Bug fix: Set `sql-buffer' in
6344         context of original buffer.  Invoke `sql-login-hook'.
6346 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
6348         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6349         letters in cite-prefix.
6351 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6353         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6355 2012-01-03  Chong Yidong  <cyd@gnu.org>
6357         * shell.el (shell-dynamic-complete-functions):
6358         Put pcomplete-completions-at-point, so as to try
6359         comint-filename-completion first (Bug#10417).
6361 2012-01-02  Richard Stallman  <rms@gnu.org>
6363         * battery.el (battery-status-function):
6364         Detect when to use battery-yeeloong-sysfs.
6365         (battery-echo-area-format): Add string for Yeeloong.
6366         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6367         (battery-yeeloong-sysfs): New function.
6369 2012-01-02  Chong Yidong  <cyd@gnu.org>
6371         * dirtrack.el (dirtrack-list): Eliminate unused third element.
6372         (dirtrack): Merge code for handling relative filenames in prompt
6373         from shell-dir-cookie-watcher.
6374         (dirtrack-debug-message): New arg to avoid excess format calls.
6376         * shell.el (shell-dir-cookie-re): Variable deleted.
6377         (shell-dir-cookie-watcher): Function deleted.
6378         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6379         with dirtrack-mode.
6381 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
6383         * term/w32-win.el (dynamic-library-alist) <gnutls>:
6384         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6385         libgnutls-26.dll.
6387 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
6389         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6391 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
6393         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6394         headers of non-MIME messages, when rmail-enable-mime is non-nil.
6396 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
6398         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6399         also for alternative shells.
6400         (tramp-open-connection-setup-interactive-shell): Check, whether
6401         the shell is a busybox.
6402         (tramp-send-command): Don't suppress multiple prompts for
6403         busyboxes, it hurts.
6405 2011-12-28  Chong Yidong  <cyd@gnu.org>
6407         * progmodes/gdb-mi.el (gdb-get-source-file-list)
6408         (gdb-get-source-file): Move mode line update to
6409         gdb-get-source-file (Bug#10087).
6411 2011-12-25  Chong Yidong  <cyd@gnu.org>
6413         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6414         gud-gdb-marker-filter without taking it as an argument.
6415         (gud-gdb-run-command-fetch-lines): Caller changed.
6416         (gud-gdb-completion-function): New variable.
6417         (gud-gdb-completion-at-point): Use it.
6418         (gud-gdb-completions-1): Split from gud-gdb-completions.
6420         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6421         function as separate arguments.
6422         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6423         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6424         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6425         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6426         (gdb-stopped, def-gdb-auto-update-trigger)
6427         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6428         (gdb-get-changed-registers, gdb-get-main-selected-frame):
6429         Callers changed.
6430         (gud-gdbmi-completions): New function.
6431         (gdb): Use it for generating the completion table.
6433 2011-12-24  Alan Mackenzie  <acm@muc.de>
6435         Introduce a mechanism to widen the region used in context font
6436         locking.  Use this to protect declarations from losing their contexts.
6438         * progmodes/cc-langs.el (c-before-font-lock-functions):
6439         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6440         (c-before-context-fontification-functions): New defvar, a list of
6441         functions to be run just before context (etc.) font locking.
6443         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6444         New, functionality extracted from
6445         c-neutralize-syntax-in-and-mark-CPP.
6446         (c-in-after-change-fontification): New variable.
6447         (c-after-change): Set c-in-after-change-fontification.
6448         (c-set-fl-decl-start): Rejig its interface, so it can be called
6449         from both after-change and context fontifying.
6450         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6451         New functions.
6452         (c-standard-font-lock-fontify-region-function): New variable.
6453         (c-font-lock-fontify-region): New function.
6455 2011-12-24  Juri Linkov  <juri@jurta.org>
6457         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6458         (Bug#10348)
6460 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
6462         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6463         existence of source file.  (Bug#10325)
6465 2011-12-23  Alan Mackenzie  <acm@muc.de>
6467         Fix unstable fontification inside templates.
6469         * progmodes/cc-langs.el (c-before-font-lock-functions):
6470         Newly created from the singular version.  The (c c++ objc) entry now
6471         additionally has c-set-fl-decl-start.  The other languages (apart
6472         from AWK) have that as a single entry.
6474         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6475         The functionality for "local" declarations has been extracted to
6476         c-set-fl-decl-start.
6478         * progmodes/cc-mode.el (c-common-init, c-after-change):
6479         Changes due to pluralisation of c-before-font-lock-functions.
6480         (c-set-fl-decl-start): New function, extracted from
6481         c-font-lock-enclosing-decls and enhanced.
6483 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
6485         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6487 2011-12-22  Juri Linkov  <juri@jurta.org>
6489         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
6491 2011-12-22  Chong Yidong  <cyd@gnu.org>
6493         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6495 2011-12-21  Drew Adams  <drew.adams@oracle.com>
6497         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
6499 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6501         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6503 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
6505         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
6506         highlighting and support.  Fix up comments for capitalization.
6507         (cfengine-mode-debug): New var.
6508         (cfengine3-mode): Change the modeline indicator to "CFE3".
6509         (cfengine3-font-lock-keywords): Improve defun highlighting.
6510         (cfengine2-actions): Rename from `cfengine-actions'.
6511         (cfengine2-font-lock-keywords): Rename from
6512         `cfengine-font-lock-keywords'.
6513         (cfengine2-imenu-expression): Rename from
6514         `cfengine-imenu-expression'.
6515         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6516         (cfengine2-beginning-of-defun): Rename from
6517         `cfengine-beginning-of-defun'.
6518         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6519         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6520         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
6521         modeline indicator to "CFE2".
6522         (cfengine-mode): Defalias to `cfengine-auto-mode'.
6523         (cfengine-mode-abbrevs): Mark obsolete.
6525 2011-12-21  Chong Yidong  <cyd@gnu.org>
6527         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6528         filename argument.
6530 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
6532         * window.el (window-normalize-buffer-to-display): Remove.
6533         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6535 2011-12-19  Chong Yidong  <cyd@gnu.org>
6537         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6538         Don't signal an error in a predicate function; return non-nil.
6539         (vc-dir-mark-file): Move the error here.
6540         (vc-dir-mark-unmark): If acting on the region, keep going if one
6541         of the entries cannot be marked/unmarked.
6542         (vc-dir-mark-all-files): If current entry is a directory, mark
6543         only child files, as documented.
6545 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6547         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6548         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6549         addition.
6551 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
6553         * term/ns-win.el (ns-get-selection-internal)
6554         (ns-store-selection-internal): Declare.
6555         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6556         Declare as obsolete.
6557         (ns-get-pasteboard, ns-paste-secondary):
6558         Use ns-get-selection-internal.
6559         (ns-set-pasteboard,  ns-copy-including-secondary):
6560         Use ns-store-selection-internal.
6562 2011-12-17  Chong Yidong  <cyd@gnu.org>
6564         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6565         (vc-deduce-fileset): Doc fix.
6567 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
6569         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6571 2011-12-13  Sam Steingold  <sds@gnu.org>
6573         * man.el (Man-getpage-in-background): When running under a
6574         window-system, ignore $MANWIDTH and $COLUMNS.
6576 2011-12-15  Kenichi Handa  <handa@m17n.org>
6578         * language/ethio-util.el: Change coding tag to utf-8-emacs.
6579         (setup-ethiopic-environment-internal): Comment out key-binding for
6580         ethio-toggle-punctuation.
6582 2011-12-13  Alan Mackenzie  <acm@muc.de>
6584         Add the switch statement to AWK Mode.
6586         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6587         "default" to the keywords regexp.
6589         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6590         expression as the rest.
6591         (c-nonlabel-token-key): Allow string literals for AWK.
6592         Refactor for the other modes.
6594         Large brace-block initialisation makes CC Mode slow: Fix.
6595         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6596         routines.  Limit backward searching in c-font-lock-enclosing.decl.
6598         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6599         pp-state and literal type in addition to the limits.
6600         (c-state-safe-place): New defun, extracted from c-state-literal-at.
6601         (c-state-literal-at): Use the above new defun.
6602         (c-slow-in-literal, c-fast-in-literal): Remove.
6603         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6605         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6606         being in a literal.  Add a limit for backward searching.
6608         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6609         c-slow-in-literal.
6611 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6615 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
6617         * window.el (delete-other-windows): Use correct frame in call to
6618         window-with-parameter.
6620 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
6622         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6623         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6624         (makefile-gmake-statements, makefile-makepp-statements):
6625         Use it and add new makepp keywords.
6626         (makefile-makepp-font-lock-keywords): Add new patterns.
6627         (makefile-match-function-end): Match new [...] and [[...]].
6629 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
6631         * ses.el (ses-call-printer-return, ses-cell-property-get)
6632         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6633         (ses-create-cell-variable, ses-reset-header-string)
6634         (ses-cell-set-formula, ses-repair-cell-reference-all)
6635         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6636         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6637         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6638         (ses-aset-with-undo, ses-load, ses-truncate-cell)
6639         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6640         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6641         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6642         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6643         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6644         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6645         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6646         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6648 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6650         * ses.el: The overall change is to add cell renaming, that is
6651         setting fancy names for cell symbols other than name matching
6652         "\\`[A-Z]+[0-9]+\\'" regexp .
6653         (ses-create-cell-variable): New defun.
6654         (ses-relocate-formula): Relocate formulas only for cells the
6655         symbols of which are not renamed, i.e. symbols whose names do not
6656         match regexp "\\`[A-Z]+[0-9]+\\'".
6657         (ses-relocate-all): Relocate values only for cells the symbols of
6658         which are not renamed.
6659         (ses-load): Create cells variables as the (ses-cell ...) are read,
6660         in order to check row col consistency with cell symbol name only
6661         for cells that are not renamed.
6662         (ses-replace-name-in-formula): New defun.
6663         (ses-rename-cell): New defun.
6665 2011-12-11  Chong Yidong  <cyd@gnu.org>
6667         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6668         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6670 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
6672         * window.el (other-window): Fix docstring.
6674 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6676         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6677         `from' or `to' address before taking its substring.
6678         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6679         encoded name is chopped in the middle of the encoded string, and
6680         thus displayed encoded.
6682 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
6684         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6686 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6688         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
6689         to use texinfo-update-node and commands that call it if the
6690         Texinfo file uses @node lines without next/prev/up pointers.
6691         Correct outdated description about texinfo-master-menu.
6692         (texinfo-all-menus-update, texinfo-master-menu)
6693         (texinfo-update-node, texinfo-every-node-update)
6694         (texinfo-multiple-files-update): Doc fix.  Warn against updating
6695         all the @node lines.
6696         (texinfo-master-menu): Only call texinfo-update-node if the prefix
6697         argument is numeric.  Explain better in the doc string what the
6698         function really does.
6699         (texinfo-insert-master-menu-list): Improve the error message
6700         displayed if there's no menu in the Top node.
6701         (Bug#2975)  See also this thread:
6702         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6704 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
6706         * speedbar.el (speedbar-supported-extension-expressions):
6707         Add .adb and .ads, commonly used for Ada source code (bug#10256).
6709 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
6711         * printing.el (pr-mode-alist):
6712         * simple.el (filter-buffer-substring-functions)
6713         (completion-list-insert-choice-function):
6714         * window.el (window-with-parameter, window-atom-root)
6715         (window-sides-slots, window-size-fixed, window-min-delta)
6716         (window-max-delta, window--resize-mini-window)
6717         (window--resize-child-windows-normal, window-tree)
6718         (delete-other-windows, quit-window, split-window)
6719         (display-buffer-record-window, special-display-buffer-names)
6720         (special-display-regexps, special-display-popup-frame)
6721         (same-window-p, split-window-sensibly)
6722         (display-buffer-overriding-action, display-buffer-alist)
6723         (display-buffer-base-action, display-buffer, switch-to-buffer)
6724         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6725         (fit-window-to-buffer, recenter-positions)
6726         (mouse-autoselect-window-state, mouse-autoselect-window-select):
6727         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6728         and remove unneeded backslashes in docstrings.
6730 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6732         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6734         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6735         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6736         end in ".mk".
6737         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6738         when reading the makefile (bug#10116).
6740 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6742         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6743         (bug#10116).
6745 2011-12-06  Glenn Morris  <rgm@gnu.org>
6747         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6749 2011-12-06  Chong Yidong  <cyd@gnu.org>
6751         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6753 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
6755         * textmodes/table.el (table-shorten-cell): Fix typo.
6757 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
6759         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6761 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
6763         * descr-text.el (describe-char): Fix display of strong
6764         right-to-left characters and directional embeddings and overrides.
6766         * simple.el (what-cursor-position): Fix display of codepoints of
6767         strong right-to-left characters.
6769 2011-12-05  Chong Yidong  <cyd@gnu.org>
6771         * faces.el (read-color): Doc fix.
6773 2011-12-05  Glenn Morris  <rgm@gnu.org>
6775         * align.el (align--set-marker): Add doc-string.
6776         Don't try to move something that is not a marker.  (Bug#10216)
6778 2011-12-04  Glenn Morris  <rgm@gnu.org>
6780         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6781         overly zealous deletion of trailing whitespace.
6783 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
6785         * server.el (server-delete-client): On Windows, do not try to delete
6786         the only terminal.
6787         (server-process-filter): On Windows, treat requests for a tty frame as
6788         if they were for a GUI frame if the running server is in GUI mode.
6790 2011-12-03  Glenn Morris  <rgm@gnu.org>
6792         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
6794 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6796         * electric.el: Streamline electric-indent's hook.
6797         (electric-indent-chars): Revert to simple list.
6798         (electric-indent-functions): New var.
6799         (electric-indent-post-self-insert-function): Use it.
6801         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6802         there's no inferior buffer (bug#10196).
6803         (prolog-consult-compile): Don't use toggle-read-only.
6805 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
6807         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6808         interrupt.  (Bug#10187)
6810 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6812         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6813         (bug#9160).
6815         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6816         (bug#10191).
6818 2011-12-02  Juri Linkov  <juri@jurta.org>
6820         * info.el (Info-search): Display "end of manual" when Isearch
6821         reaches the end of single-file Info manual.  (Bug#9918)
6823 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
6825         * isearch.el (isearch-message-prefix): Run the input method part
6826         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
6828 2011-12-02  Juri Linkov  <juri@jurta.org>
6830         * isearch.el (isearch-occur): Use `word-search-regexp' for
6831         `isearch-word'.
6832         (isearch-search-and-update): Add condition for `isearch-word' and
6833         call `word-search-regexp'.  (Bug#10145)
6835 2011-12-01  Glenn Morris  <rgm@gnu.org>
6837         * eshell/em-hist.el (eshell-hist-initialize):
6838         Handle eshell-history-size nil and HISTSIZE set or unset.
6839         (eshell-history-file-name, eshell-history-size): Fix custom type.
6841 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6843         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6845 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
6847         * progmodes/verilog-mode.el (verilog-pretty-expr):
6848         Rework verilog-pretty-expr to handle new assignment operators in system
6849         verilog, such as += *= and the like.
6850         (verilog-assignment-operator-re): Regular expression to find the
6851         assigment operator in a verilog assignment.
6852         (verilog-assignment-operation-re): Regular expression to find an
6853         assignment statement for pretty-expr.
6854         (verilog-in-attribute-p): Query returns true if point is in an
6855         attribute context; used to skip these for expression line up from
6856         pretty-expr.
6857         (verilog-in-parameter-p): Query returns true if point is in an
6858         parameter definition context; used to skip these for expression
6859         line up from pretty-expr.
6860         (verilog-in-parenthesis-p): Query returns true if point is in a
6861         parenthetical expression, specifically ( ) but not [ ] or { };
6862         used by pretty-expr.
6863         (verilog-just-one-space): If there is no space, don't add one.
6864         (verilog-get-lineup-indent-2): Specifically skip just attribute
6865         contexts for expression lineup, rather than skipping all
6866         parenthetical expressions.
6867         (verilog-calculate-indent): Fix comment, and fix indent.
6868         (verilog-do-indent): Indent declarations in lists (suggested by
6869         Joachim Lechner).
6870         (verilog-mode-abbrev-table): Populate abbrev mode with the various
6871         skeleton items.
6872         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6873         by Alain Mellan).
6875 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
6877         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6878         parameters with embedded comments.  Reported by Ray Stevens.
6879         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6880         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6881         Reported by Tim Holt.
6882         (verilog-auto): Fix AUTOing a upper module then AUTOing module
6883         instantiated by upper module causing wrong expansion until AUTOed a
6884         second time.  Reported by K C Buckenmaier.
6885         (verilog-diff-auto): Fix showing .* as a difference when
6886         `verilog-auto-star-save' off.  Reported by Dan Dever.
6887         (verilog-auto-reset, verilog-read-always-signals)
6888         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6889         temporary signals in reset list if
6890         verilog-auto-reset-blocking-in-non is nil, and match assignment
6891         style to each signal's assignment type, bug381.
6892         Reported by Thomas Esposito.
6893         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6894         (verilog-uvm-statement-re): Support UVM indentation and
6895         highlighting, with old OVM keywords only.
6896         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6897         Support AUTOTIEOFF creating non-wire data types.
6898         Suggested by Jonathan Greenlaw.
6899         (verilog-auto-insert-lisp, verilog-delete-to-paren)
6900         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6901         (verilog-inject-sense, verilog-read-inst-pins)
6902         (verilog-read-sub-decls, verilog-read-sub-decls-line):
6903         Fix mismatching parenthesis inside commented out code when deleting
6904         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
6905         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6906         non-numeric vector width.  Reported by Alex Reed.
6907         (verilog-auto-ascii-enum): Add "onehot" option to work around not
6908         detecting signals with parameter widths.  Reported by Alex Reed.
6909         (verilog-auto-delete-trailing-whitespace):
6910         With `verilog-auto-delete-trailing-whitespace' remove trailing
6911         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
6912         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6913         Fix verilog-scan-cache corruption when running user AUTO expansion
6914         hooks that call indentation routines.
6915         (verilog-simplify-range-expression): Fix typo ignoring lower case
6916         identifiers.
6917         (verilog-delete-auto): Fix delete-autos to also remove user created
6918         automatics, as long as they start with AUTO.
6919         (verilog-batch-diff-auto, verilog-diff-auto)
6920         (verilog-diff-function): Add `verilog-diff-auto' and bind to
6921         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
6922         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6923         (verilog-in-paren-quick, verilog-re-search-backward-quick)
6924         (verilog-re-search-forward-quick, verilog-syntax-ppss):
6925         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6926         is disabled and its cache will get corrupt, causing AUTOS not to
6927         expand.  Instead use only -quick functions.
6928         (verilog-scan-region): Fix scanning over escaped quotes.
6929         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6930         (verilog-re-search-backward-quick)
6931         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6932         related functions now ignore strings, to fix misparsing of strings
6933         with magic comments embedded in them.
6934         (verilog-read-auto-template):
6935         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6936         Reported by Brad Dobbie.
6937         (verilog-read-auto-template):
6938         Fix 'verilog-auto-inst-template-numbers' with comments.
6939         Reported by Brad Dobbie.
6940         (verilog-auto-inst, verilog-auto-inst-param)
6941         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6942         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
6943         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6944         debugging templates without merge conflicts, bug357.
6945         Reported by Brad Dobbie.
6946         (verilog-read-auto-template):
6947         Fix verilog-auto-inst-template-numbers with multiple templates.
6948         Reported by Brad Dobbie.
6949         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6950         abbrevs so user won't be asked to save.
6951         (verilog-read-auto-lisp-present): Fix to start at beginning of
6952         buffer in case called outside of verilog-auto.
6953         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6954         to "X-2".  Reported by Matthew Myers.
6955         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6956         all inputs from module templates.  Reported by Leith Johnson.
6957         (verilog-module-inside-filename-p): Fix locating programs as with
6958         modules.
6959         (verilog-auto-inst-port): Fix vl-width expressions when using
6960         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
6961         (verilog-decls-get-regs, verilog-decls-get-signals,
6962         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6963         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6964         verilog-read-decls): Combine reg and wire structures into one var
6965         structure to represent SystemVerilog concepts.
6966         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6967         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6968         (verilog-auto-wire-type, verilog-insert-definition):
6969         Add verilog-auto-wire-type and AUTOLOGIC to support using
6970         SystemVerilog "logic" keyword instead of "wire"/"reg".
6971         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6972         to declares outputs that also have assignments (presumably in an
6973         ifdef or generate if so there's not a driver conflict).
6974         Reported by Matthew Myers.
6975         (verilog-auto-declare-nettype, verilog-insert-definition):
6976         Add verilog-auto-declare-nettype to fix declarations using
6977         `default_nettype none.  Reported by Julian Gorfajn.
6978         (verilog-read-always-signals-recurse, verilog-read-decls)
6979         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6980         malformed end statement, bug325.  Reported by Joshua Wise and
6981         Andrew Drake.
6982         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6983         (verilog-inst-comment-re): Fix not deleting Interfaced comment
6984         when expanding .* in interfaces, bug320.
6985         Reported by Pierre-David Pfister.
6986         (verilog-read-module-name): Fix import statements between module
6987         name and open parenthesis, bug317.
6988         Reported by Pierre-David Pfister.
6989         (verilog-simplify-range-expression): Fix simplification of
6990         multiplications inside AUTOWIRE connections, bug303.
6991         (verilog-auto-inst-port): Support parameter expansion in
6992         multidimensional arrays.
6993         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6994         after "assert property".  Reported by Julian Gorfajn.
6995         (verilog-simplify-range-expression): Fix "couldn't merge" errors
6996         with multiplication, bug303.
6997         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6998         Reported by Jan Frode Lonnum.
7000 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
7002         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7003         (hfy-shell-file-name, hfy-shell):
7004         * international/fontset.el (x-decompose-font-name): Fix typos.
7006 2011-11-29  Ken Brown  <kbrown@cornell.edu>
7008         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7009         (gdb-version): Remove defvar.
7010         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7011         (gdb-gud-context-command, gdb-non-stop-handler)
7012         (gdb-current-context-command, gdb-stopped): Use it.
7013         (gdb-init-1): Enable pretty printing here.
7014         (gdb-non-stop-handler): Don't enable pretty-printing here.
7015         Check to see if the target supports non-stop mode; if not, turn off
7016         non-stop mode.  Use the following.
7017         (gdb-check-target-async): New defun.
7018         (gud-watch, gdb-stopped): Fix whitespace.
7019         (gdb-get-source-file): Don't try to display the source file if
7020         `gdb-main-file' is nil.
7022 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7024         * align.el: Try to generate fewer markers (bug#10047).
7025         (align--set-marker): New macro.
7026         (align-region): Use it.
7028 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7030         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7032 2011-11-29  Chong Yidong  <cyd@gnu.org>
7034         * indent.el (indent-for-tab-command, indent-according-to-mode):
7035         Doc fix.
7036         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
7038 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
7040         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7041         aware of remote file names.  (Bug#10124)
7043 2011-11-29  Chong Yidong  <cyd@gnu.org>
7045         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7047 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7049         * files.el (find-file): Don't use force-same-window (bug#10144).
7050         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7051         use pop-to-buffer if the selected window can't be used.
7052         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7054 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
7056         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7057         special-mode-map.
7059 2011-11-28  Chong Yidong  <cyd@gnu.org>
7061         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7063 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
7065         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7066           gdb-get-source-file-list on gdb-create-source-file-list.
7068 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
7070         * whitespace.el (whitespace-newline): Use a different foreground
7071         color for 16-color light-background displays.
7073 2011-11-24  Chong Yidong  <cyd@gnu.org>
7075         * window.el (display-buffer--special-action): Doc fix.
7077 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
7079         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7080         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7081         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7082         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7083         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7084         (avl-tree-stack-first):
7085         * emacs-lisp/cconv.el (cconv--analyse-use):
7086         * net/gnutls.el (gnutls-negotiate): Fix typos.
7088 2011-11-24  Glenn Morris  <rgm@gnu.org>
7090         * lpr.el (lpr-windows-system, lpr-lp-system):
7091         * mail/binhex.el (binhex-begin-line):
7092         * progmodes/grep.el (grep-history, grep-find-history):
7093         * textmodes/flyspell.el:
7094         * vc/pcvs-defs.el (cvs-global-menu):
7095         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7096         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7097         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7099         * net/tls.el: Fix case of "GnuTLS".
7101         * paths.el (rmail-file-name): Format doc-string for make-docfile.
7103         * version.el (emacs-build-system): Give it a doc-string.
7105 2011-11-24  Juri Linkov  <juri@jurta.org>
7107         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7109 2011-11-24  Glenn Morris  <rgm@gnu.org>
7111         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7112         if called on a non-mime message just toggle the headers.  (Bug#8006)
7114 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
7116         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7117         (allout-lead-with-comment-string, allout-structure-deleted-hook)
7118         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7119         (allout-rebullet-heading, allout-open-sibtopic)
7120         (allout-toggle-current-subtree-encryption)
7121         (allout-toggle-subtree-encryption, allout-encrypt-string)
7122         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7123         (allout-distinctive-bullets-string, allout-auto-activation):
7124         * window.el (window-normalize-buffer-to-display):
7125         * progmodes/verilog-mode.el (verilog-batch-indent):
7126         * textmodes/bibtex.el (bibtex-field-braces-opt)
7127         (bibtex-field-strings-opt):
7128         * vc/cvs-status.el (cvs-tree-merge):
7129         Fix typos.
7131 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
7133         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7134         `non-essential' to t, in order to avoid remote connections.
7136 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
7138         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7139         On MS-DOS and MS-Windows, compare with loaddefs.el
7140         case-insensitively.
7142 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7144         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
7146 2011-11-23  Glenn Morris  <rgm@gnu.org>
7148         * paths.el (rmail-file-name): Reformat the doc-string so that it
7149         is picked up.
7151         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7152         (rmail-auto-file): Ignore case in the "special" field names,
7153         as mail-fetch-field does for all others.
7155         * mail/rmail.el (rmail-forward):
7156         * mail/rmailkwd.el (rmail-set-label):
7157         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7158         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
7160         * mail/rmail.el (rmail-current-message): Doc fix.
7162         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
7164 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7166         * server.el (server-eval-and-print): Allow C-g (bug#6585).
7168 2011-11-22  Glenn Morris  <rgm@gnu.org>
7170         * mail/rmailmm.el (test-rmail-mime-handler)
7171         (test-rmail-mime-bulk-handler)
7172         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7174 2011-11-21  Juri Linkov  <juri@jurta.org>
7176         * calc/calc.el (calc-read-key-sequence):
7177         Let-bind `input-method-function' to nil.  (Bug#10018)
7179 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7181         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7182         Tell the caller that the next line needs recomputation, even
7183         though it doesn't start a sexp (bug#10094).
7185 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7187         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7189 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7191         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7192         Use force-same-window.
7194 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7196         * descr-text.el (describe-char-unicode-data):
7197         * json.el (json-string-escape):
7198         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7199         (Footnote-unicode, Footnote-style-p):
7200         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7202 2011-11-20  Chong Yidong  <cyd@gnu.org>
7204         * window.el (replace-buffer-in-windows): Restore interactive spec.
7206 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7208         * electric.el (electric-indent-mode): Fix last change (too optimistic).
7210         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7211         (byte-compile-global-not-obsolete-vars): New var.
7212         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7213         Use it.
7214         (byte-compile-warn-obsolete): Align text with the one in *Help*.
7216 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7218         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7219         * progmodes/pascal.el (electric-pascal-equal):
7220         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7221         * xml.el (xml-substitute-special): Fix typos.
7223 2011-11-20  Glenn Morris  <rgm@gnu.org>
7225         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7226         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7227         Doc fixes.
7228         (rmail-decode-mime-charset): Mark as obsolete.
7230         * mail/rmailsum.el (rmail-message-regexp-p-1):
7231         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7232         Before using mime functions, check they are set.  (Bug#10077)
7234 2011-11-19  Juri Linkov  <juri@jurta.org>
7236         * info.el (Info-finder-find-node): Use `package--builtins' instead
7237         of `package-alist'.  Use node names formed by the pattern "Keyword "
7238         and the keyword name.
7240 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7242         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7244 2011-11-19  Juri Linkov  <juri@jurta.org>
7246         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7247         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
7248         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7249         `old-history', `old-history-forward'.  Add let-binding
7250         `window-selected'.  Remove calls to `kill-buffer',
7251         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
7252         before calling `Info-find-node', so `Info-find-node-2' will reread
7253         the Info file.  Restore window positions only when `window-selected'
7254         is non-nil.
7256 2011-11-19  Juri Linkov  <juri@jurta.org>
7258         * isearch.el (isearch-lazy-highlight-new-loop):
7259         Remove condition `(not isearch-error)'.  (Bug#9918)
7261         * misearch.el (multi-isearch-search-fun): Add condition
7262         `(not bound)' to ignore lazy-highlighting search.
7263         Add the search-failed message "end of multi" when the end of
7264         multi-sequence is reached.  Uncapitalize the search-failed
7265         message "Repeat for next buffer".
7267         * info.el (Info-search): Add the search-failed message
7268         "end of the manual" when the end of the manual is reached
7269         in Isearch mode.
7271 2011-11-19  Juri Linkov  <juri@jurta.org>
7273         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7274         Use non-destructive `remove' instead of `delete' because
7275         `Info-history-list' stored to `Info-isearch-initial-history-list' in
7276         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7278 2011-11-19  Juri Linkov  <juri@jurta.org>
7280         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7281         to nil instead of binding `search-ring' and `regexp-search-ring'.
7282         (Bug#9185)
7284 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7286         * simple.el (line-move): Force movement by logical lines for any
7287         hscrolled window, not only when auto-hscroll-mode is on.
7288         (line-move-visual): Update doc string to that effect.  (Bug#10076)
7290 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7292         * language/european.el (macintosh): Define as alias for mac-roman.
7294 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7296         * mail/rmailmm.el (rmail-mime-display-header)
7297         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7298         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7299         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7300         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7301         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7302         of a raw aref.
7303         (rmail-mime-entity-segment): To get past the tagline, move forward
7304         2 more lines, to account for the 2 empty lines that precede and
7305         follow the line with the buttons.
7306         (rmail-mime-update-tagline): Move one more line, to get past the
7307         empty line that follows the buttons in the tagline.  (Bug#9520)
7309 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
7311         * window.el (window-max-delta-1, window-min-delta-1)
7312         (window-min-size-1, window-state-get-1, window-state-put-1)
7313         (window-state-put-2): Use "window--" prefix.
7315 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * emacs-lisp/smie.el: Improve warnings and conflict detection.
7318         (smie-warning-count): New var.
7319         (smie-set-prec2tab): Use it.
7320         (smie-bnf->prec2): Improve warnings.  Add docstring.
7321         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7322         (smie-bnf--set-class): New function.
7323         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
7324         corner case.
7326         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7327         (compilation-error-properties, compilation-move-to-column):
7328         Handle compilation-first-column while in the target buffer.
7330         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7331         Don't hardcode point-min==1.
7333         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7334         (eshell-rewrite-for-command): Remove workaround.
7335         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7336         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7337         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7339         * files-x.el (modify-file-local-variable): Obey commenting conventions.
7341 2011-11-17  Glenn Morris  <rgm@gnu.org>
7343         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7344         Ignore buffer-local generated-autoload-file if it is the same
7345         as the global value.  (Bug#10049)
7347 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
7349         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7350         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7351         (reftex-toc-previous-heading, reftex-toc-max-level)
7352         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7353         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7354         (reftex-toc-do-promote, reftex-toc-promote-prepare)
7355         (reftex-toc-promote-action, reftex-toc-extract-section-number)
7356         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7357         (reftex-toc-rename-label, reftex-toc-visit-location)
7358         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7359         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7360         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7361         leaving "*toc*" only for references to the buffer.
7363 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
7365         * window.el (window-resize, delete-window, split-window):
7366         Replace window-splits by window-combination-resize.
7367         * cus-start.el (window-splits): Replace by window-combination-resize.
7369 2011-11-17  Glenn Morris  <rgm@gnu.org>
7371         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7372         Make bash entry derive from sh entry, not shell entry.
7374 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
7376         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7377         local file name.
7379 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7381         * menu-bar.el (menu-bar-file-menu):
7382         * printing.el (pr-ps-utility):
7383         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7384         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7385         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7386         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7387         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7388         (icalendar--convert-cyclic-to-ical)
7389         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7390         (icalendar--convert-ical-to-diary)
7391         (icalendar--convert-recurring-to-diary)
7392         (icalendar--convert-non-recurring-all-day-to-diary)
7393         (icalendar-import-format-sample):
7394         * progmodes/idlw-shell.el (idlwave-shell-mode):
7395         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7396         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7397         (vhdl-ps-print-init): Fix typos.
7399 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
7401         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7402         FSF and collapse date sequence, obscure author/maintainer email address
7403         better, remove extra version line, track relocation of author's webpage.
7405         * progmodes/python.el (python-pdbtrack-input-prompt)
7406         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7407         regular python pdb prompts.  Adjustments shamelessly taken exactly as
7408         suggested in EmacsWiki page (tiny change):
7409         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7411 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7413         * expand.el (expand-pos, expand-index, expand-point):
7414         Remove redundant info from docstring.
7415         (expand-add-abbrevs): Doc fix.
7416         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7417         (expand-sample-perl-mode-expand-list): Fix typos.
7419         * net/dbus.el (dbus-event-member-name):
7420         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7421         * term/pc-win.el (msdos-create-frame-with-faces):
7422         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7424 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
7426         * window.el (split-window, window-state-get-1)
7427         (window-state-put-1, window-state-put-2): Rename occurrences of
7428         window-nest to window-combination-limit.
7429         * cus-start.el (window-nest): Rename to window-combination-limit.
7431 2011-11-16  Chong Yidong  <cyd@gnu.org>
7433         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7434         regexp (Bug#10033).
7436 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7438         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7439         `completing-read' will remove *Completions* and will preserve
7440         current-buffer for us.
7441         (tmm-add-prompt): Users of *Completions* will always (re)set its
7442         major mode.
7443         (tmm-old-comp-map): Remove.
7445 2011-11-16  Glenn Morris  <rgm@gnu.org>
7447         * mail/rmailedit.el: Require rmailmm when compiling.
7448         (rmail-old-mime-state): New declaration.
7449         (rmail-edit-current-message): If editing a mime message,
7450         edit the "raw" message from the mbox buffer.
7451         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
7453 2011-11-15  Glenn Morris  <rgm@gnu.org>
7455         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7456         which wasn't being used.  Add optional arg to force given state.
7457         (rmail-mime): Add optional arg to force given state.
7459 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7461         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7462         * frame.el (display-mm-dimensions-alist):
7463         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7464         (outline-move-subtree-down):
7465         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7466         (newsticker--treeview-do-get-node):
7467         * net/quickurl.el (quickurl-list-buffer-name):
7468         * progmodes/dcl-mode.el (dcl-mode):
7469         * progmodes/gdb-mi.el (gdb-mapcar*):
7470         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7472 2011-11-15  Glenn Morris  <rgm@gnu.org>
7474         * mail/rmail.el (rmail-file-coding-system): It's only ever used
7475         in a boolean sense, so just make it a boolean, and fix the doc.
7476         (rmail-show-mime-function, rmail-mime-feature)
7477         (rmail-require-mime-maybe): Doc fixes.
7478         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7480         * mail/rmailmm.el (rmail-show-mime): Doc fix.
7482 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7484         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7485         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7486         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7487         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7489 2011-11-15  Glenn Morris  <rgm@gnu.org>
7491         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7492         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7493         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7494         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7495         (rmail-mime, rmail-show-mime): Doc fixes.
7497         * term/ns-win.el (mode-line-frame-identification):
7498         Leave it alone.  (Bug#10051)
7500         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
7502         * mail/rmailout.el (rmail-output-to-rmail-buffer):
7503         Handle empty buffers.  (Bug#9978)
7505 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
7507         * international/mule.el (define-charset):
7508         * mail/rmailmm.el (rmail-mime-find-header-encoding):
7509         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7510         * progmodes/verilog-mode.el (verilog-backward-token):
7511         * textmodes/ispell.el (lookup-words):
7512         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7514 2011-11-14  Glenn Morris  <rgm@gnu.org>
7516         * progmodes/executable.el
7517         (executable-make-buffer-file-executable-if-script-p):
7518         Handle file-modes returning nil.
7520         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7521         message - not necessary, and causes problems.  (Bug#9831)
7523         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7525         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7527         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7528         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
7529         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7531 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
7533         * window.el (window-resize, delete-window): Use window-splits
7534         variable instead of function.
7535         (window-state-get-1, window-state-put-2, window-state-put):
7536         Don't deal with windows' splits status.
7538 2011-11-12  Glenn Morris  <rgm@gnu.org>
7540         * apropos.el (apropos-do-all, apropos-library, apropos-value)
7541         (apropos-documentation): Doc fixes.
7543 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
7545         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7546         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7548 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7550         * electric.el (electric-indent-post-self-insert-function): Make it
7551         possible for a char to only indent in some circumstances.
7552         (electric-indent-mode): Simplify.
7554 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
7556         * window.el (windows-with-parameter): Remove unused function.
7557         (windows-at-side): Rename to window-at-side-list.
7558         (window-check, window-atom-check, window-atom-check-1)
7559         (window-side-check, window-size-ignore, window-size-fixed-1)
7560         (window-in-direction-2): Prefix with "window--".
7561         (window-tree-1): Rename to window--subtree, fix doc-string.
7563 2011-11-11  Glenn Morris  <rgm@gnu.org>
7565         * subr.el (eval-after-load): If FILE is already loaded,
7566         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
7568 2011-11-10  Glenn Morris  <rgm@gnu.org>
7570         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7571         Call svn via vc-svn-command rather than vc-do-command.
7572         (vc-svn-command): Add --non-interactive.  (Bug#9993)
7573         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7575         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7576         Add toggle-read-only.  (Bug#7292)
7577         * files.el (toggle-read-only): Mention that it should only
7578         be used interactively.  (Bug#10006)
7580 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7582         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7583         Adjust regexp for OCaml warnings.
7585         * electric.el (electric-pair-post-self-insert-function): Let user
7586         turn it off buffer-locally (bug#9932).
7588         * progmodes/python.el (python-beginning-of-statement):
7589         Rewrite (bug#2703).
7591         * progmodes/compile.el: Better handle TABs (bug#9749).
7592         (compilation-internal-error-properties)
7593         (compilation-next-error-function): Obey the target buffer's
7594         compilation-error-screen-columns.
7596 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
7598         * progmodes/meta-mode.el: Remove obsolete comments.
7599         (meta-right-comment-regexp, meta-ignore-comment-regexp):
7600         Fix typos in docstrings.
7602 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
7604         * window.el (window-size-fixed-p): Rewrite doc-string.
7605         (window-resizable-p): Rename to window--resizable-p.  Update callers.
7606         (window--resizable): New function.  Make all callers of
7607         window-resizable call window--resizable instead.
7608         (window-resizable): Rewrite in terms of window--resizable.
7610 2011-11-08  Glenn Morris  <rgm@gnu.org>
7612         * progmodes/delphi.el (delphi-mode-syntax-table):
7613         Let define-derived-mode define a proper syntax table.  (Bug#9994)
7615 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7617         * window.el: Stay away from defsubst.
7618         (window-list-no-nils): Remove.
7619         (window-state-get-1, window-state-get): Use backquote instead.
7621 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7623         * emacs-lisp/find-func.el (find-function-read):
7624         Fix incorrect use of default argument in `completing-read'.
7626 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
7628         * window.el (display-buffer-function, special-display-function):
7629         Mention display-buffer-record-window but do not mention
7630         help-setup parameter in doc-strings.
7631         (window-min-delta): Fix doc-string typo.
7633 2011-11-08  Chong Yidong  <cyd@gnu.org>
7635         * window.el (window-total-height, window-total-width): Doc fix.
7636         (window-body-size): Move from C.
7637         (window-body-height, window-body-width): Move to C.
7639 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7641         * window.el: Make special-display like display-buffer-alist (bug#9532).
7642         (display-buffer--special-action): New function, morphed
7643         from display-buffer--special.
7644         (display-buffer): Use it to handle special-display-buffers at higher
7645         priority (just after display-buffer-alist).
7646         (display-buffer-fallback-action, display-buffer--other-frame-action)
7647         (pop-to-buffer-same-window): Remove display-buffer--special.
7649 2011-11-07  Glenn Morris  <rgm@gnu.org>
7651         * calendar/cal-menu.el (cal-menu-set-date-title):
7652         Do nothing if not in a calendar.  (Bug#9976)
7654 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7656         * files.el (find-file): Always use selected-window.
7658 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
7660         * window.el (window-combinations): Make WINDOW argument
7661         mandatory.  Rewrite doc-string.
7662         (walk-window-subtree, window-atom-check, window-min-delta)
7663         (window-max-delta, window--resize-this-window)
7664         (window--resize-root-window-vertically, window-tree)
7665         (balance-windows, window-state-put): Rewrite doc-strings as to
7666         not mention the term "subwindow".
7667         (window--resize-subwindows-skip-p): Rename to
7668         window--resize-child-windows-skip-p.
7669         (window--resize-subwindows-normal): Rename to
7670         window--resize-child-windows-normal.
7671         (window--resize-subwindows): Rename to
7672         window--resize-child-windows.
7673         (window-or-subwindow-p): Rename to window--in-subtree-p.
7675 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7677         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7678         Ensure that mbox format messages end in two newlines (Bug#9974).
7680 2011-11-06  Chong Yidong  <cyd@gnu.org>
7682         * window.el (window-combination-p): Function deleted; its
7683         side-effect is not used in any existing code.
7684         (window-combinations, window-combined-p): Call window-*-child
7685         directly.
7687 2011-11-05  Chong Yidong  <cyd@gnu.org>
7689         * window.el (window-valid-p): Rename from window-any-p.
7690         (window-size-ignore, window-state-get): Callers changed.
7691         (window-normalize-window): Rename from window-normalize-any-window.
7692         New arg LIVE-ONLY, replacing window-normalize-live-window.
7693         (window-normalize-live-window): Delete.
7694         (window-combination-p, window-combined-p, window-combinations)
7695         (walk-window-subtree, window-atom-root, window-min-size)
7696         (window-sizable, window-sizable-p, window-size-fixed-p)
7697         (window-min-delta, window-max-delta, window-resizable)
7698         (window-resizable-p, window-full-height-p, window-full-width-p)
7699         (window-current-scroll-bars, window-point-1, set-window-point-1)
7700         (window-at-side-p, window-in-direction, window-resize)
7701         (adjust-window-trailing-edge, maximize-window, minimize-window)
7702         (window-deletable-p, delete-window, delete-other-windows)
7703         (record-window-buffer, unrecord-window-buffer)
7704         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7705         (quit-window, split-window, window-state-put)
7706         (set-window-text-height, fit-window-to-buffer)
7707         (shrink-window-if-larger-than-buffer): Callers changed.
7709 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
7711         * mail/rmail.el (rmail-simplified-subject): Decode subject with
7712         rfc2047-decode-string.
7713         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7714         warnings.
7716         * window.el (window-body-height, window-body-width): Mention in
7717         the doc string that the return values are in frame's canonical
7718         units.  (Bug#9949)
7720 2011-11-03  Alan Mackenzie  <acm@muc.de>
7722         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7723         change in cc-engine.el.
7725 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7727         * window.el (switch-to-buffer): Use `force-same-window' interactively.
7729 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
7731         * window.el (quit-window): Call unrecord-window-buffer after
7732         showing another buffer in the window.  (Bug#9937)
7733         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7735 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
7737         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7738         Accept status with more than 9 shelves.  (Bug#9935)
7739         Reported by Colin D Bennett <colin@gibibit.com>.
7741 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
7743         * help.el (with-help-window): Don't reference
7744         temp-buffer-show-specifiers in doc-string.
7746 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7748         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7749         menu-item.
7751 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7753         * whitespace.el: New version 13.2.2.
7754         (whitespace-newline-mode): Disable properly.  Reported by Sarah
7755         <EmacsWiki>.
7757 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
7759         * net/newst-treeview.el: Remove "Time-stamp".
7760         (newsticker--group-manage-orphan-feeds): Do not call
7761         newsticker--treeview-tree-update.
7762         (newsticker-treeview-update, newsticker-treeview):
7763         Call newsticker--treeview-tree-update if necessary.
7765 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
7767         * window.el (window-iso-combination-p, window-iso-combined-p)
7768         (window-iso-combinations): Remove "iso-" infix.
7769         Suggested by Chong Yidong.
7770         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7771         (window-max-delta-1, window-resize, window--resize-siblings)
7772         (window--resize-this-window, adjust-window-trailing-edge)
7773         (split-window, balance-windows-1)
7774         (shrink-window-if-larger-than-buffer):
7775         * calendar/calendar.el (calendar-generate-window):
7776         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7778 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7780         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7781         in place (bug#9907).
7782         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7783         (eshell-rewrite-if-command, eshell-rewrite-for-command)
7784         (eshell-structure-basic-command, eshell-rewrite-while-command)
7785         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7786         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7787         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7788         (eshell-do-pipelines-synchronously, eshell-eval-command):
7789         Use backquotes and prefer setq to set.
7790         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7791         (eshell-macrop): Use functionp.
7792         (eshell-do-eval): Handle multiple expressions in `while' body.
7794 2011-10-30  Chong Yidong  <cyd@gnu.org>
7796         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7797         instead of set-mark (Bug#9810).
7799 2011-10-30  Chong Yidong  <cyd@gnu.org>
7801         * window.el (split-window-below, split-window-right): Rename from
7802         split-window-above-each-other and split-window-side-by-side
7803         respectively.  All callers changed.
7804         (split-window-sensibly, split-window-sensibly): Use them.
7805         (split-window-keep-point): Doc fix.
7807         * isearch.el: Add isearch-scroll property to split-window-below
7808         and split-window-right.
7810         * follow.el (follow-mode):
7811         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7812         * progmodes/ada-xref.el (ada-gdb-application):
7813         * emulation/vip.el (vip-buffer-in-two-windows):
7814         * image-dired.el (image-dired-dired-with-window-configuration):
7815         * dired-x.el (dired-do-find-marked-files):
7816         * dired.el (dired-pop-to-buffer):
7817         * bs.el (bs--show-with-configuration):
7818         * vc/emerge.el (emerge-setup-windows):
7819         * textmodes/two-column.el (2C-two-columns):
7820         * textmodes/reftex-toc.el (reftex-toc):
7821         * progmodes/gdb-mi.el (gdb-setup-windows):
7822         * progmodes/fortran.el (fortran-window-create):
7823         * net/newst-treeview.el (newsticker--treeview-window-init):
7824         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7825         * emulation/tpu-edt.el (tpu-gold-map):
7826         * emulation/crisp.el (crisp-mode-map):
7827         * calendar/calendar.el (calendar-basic-setup): Callers changed.
7829 2011-10-29  Chong Yidong  <cyd@gnu.org>
7831         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7833         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7835         * textmodes/flyspell.el (flyspell-word): Fix char offset for
7836         forged Ispell output (Bug#7904).
7838         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7840 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7842         * doc-view.el: Avoid ugly errors about not finding nil.
7843         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7844         (doc-view-dvipdf-program, doc-view-unoconv-program)
7845         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7846         Avoid nil or absolute file name as default value.
7847         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7849 2011-10-28  Alan Mackenzie  <acm@muc.de>
7851         * progmodes/cc-defs.el (c-version): -> 5.32.2.
7853 2011-10-28  Alan Mackenzie  <acm@muc.de>
7855         Amend the handling of c-beginning/end-of-defun in nested declaration
7856         scopes.
7858         * progmodes/cc-vars.el (c-defun-tactic): Move here from
7859         cc-langs.el.  Change it to a defcustom.
7861         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7862         cc-vars.el.
7864         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7865         Prevent "class foo : bar" being spuriously recognized as a label.
7867         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7868         Add parameter `inclusive' (to include enclosing braces in the region).
7869         (c-widen-to-enclosing-decl-scope): New function.
7870         (c-while-widening-to-decl-block): New macro.
7871         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7872         outward for defun boundaries, and correspondingly change symbol
7873         `respect-enclosure' to `go-outward'.
7874         (c-declaration-limits): Change algorithm to report only the "innermost"
7875         defun's boundaries.
7877 2011-10-28  Deniz Dogan  <deniz@dogan.se>
7879         * net/rcirc.el (rcirc-mode): Use hard newlines.
7881 2011-10-28  Alan Mackenzie  <acm@muc.de>
7883         Amend to indent and fontify macros "which include their own semicolon"
7884         correctly, using the "virtual semicolon" mechanism.
7886         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7888         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7889         Recode to scan one line at a time rather than having \n and \r
7890         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7891         (c-forward-label): Amend for virtual semicolons.
7892         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7894         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7895         of the new C macros.
7897         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7898         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7899         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7900         (c-opt-cpp-macro-define): Make into a full language variable.
7901         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7902         AWK Mode (including \n, \r) removed, no longer needed.
7904         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7905         Invoke c-make-macro-with-semi-re.
7907         * progmodes/cc-vars.el (c-macro-with-semi-re):
7908         (c-macro-names-with-semicolon): New variables.
7909         (c-make-macro-with-semi-re): New function.
7911 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7913         * vc/log-edit.el: Fill empty field rather than adding new one.
7914         (log-edit-add-field): New function.
7915         (log-edit-insert-changelog): Use it.
7917 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7919         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7921 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7923         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7924         (gdb--check-interpreter): New function.
7925         (gdb): Use it.
7927 2011-10-27  Glenn Morris  <rgm@gnu.org>
7929         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7930         (least-positive-float, least-negative-float)
7931         (least-positive-normalized-float, least-negative-normalized-float)
7932         (float-epsilon, float-negative-epsilon):
7933         Remove unnecessary declarations.
7935         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7936         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7937         (least-positive-float, least-negative-float)
7938         (least-positive-normalized-float, least-negative-normalized-float)
7939         (float-epsilon, float-negative-epsilon): Add doc-strings,
7940         based on those in cl.texi.
7942         * files.el (set-visited-file-name): If the major-mode changed,
7943         reload the local variables.  (Bug#9796)
7945 2011-10-27  Chong Yidong  <cyd@gnu.org>
7947         * subr.el (change-major-mode-after-body-hook): New hook.
7948         (run-mode-hooks): Run it.
7950         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7951         Use change-major-mode-before-body-hook.
7953         * simple.el (fundamental-mode):
7954         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7955         change introducing fundamental-mode-hook.
7957 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
7959         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7961 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
7963         * ido.el (ido-file-name-all-completions-1): Do not require
7964         tramp.el explicitly.  (Bug#7583)
7966 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7968         * progmodes/octave-mod.el:
7969         * progmodes/octave-inf.el: Update maintainer.
7971 2011-10-26  Chong Yidong  <cyd@gnu.org>
7973         * subr.el (with-wrapper-hook): Rewrite doc.
7975 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
7977         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7978         filenames "/method:foo:".  (Bug#9793)
7980 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7982         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7983         (bug#9865).
7985 2011-10-24  Glenn Morris  <rgm@gnu.org>
7987         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
7989 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
7991         * notifications.el: Add the requirement of a running D-Bus session
7992         bus to the Commentary.
7994 2011-10-24  Juri Linkov  <juri@jurta.org>
7996         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7997         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7998         (Bug#9364)
8000 2011-10-24  Juri Linkov  <juri@jurta.org>
8002         * info.el (Info-following-node-name-re): Add newline to the list
8003         of allowed characters for leading space.  (Bug#9824)
8005 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8007         * progmodes/octave-inf.el (inferior-octave-mode-map):
8008         Fix C-c C-h binding.
8009         * progmodes/octave-mod.el (octave-help): Remove.
8011 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
8013         Sync with Tramp 2.2.3.
8015         * net/tramp-cache.el (top): Pacify byte-compiler using
8016         `init-file-user' and `site-run-file'.
8018         * net/trampver.el: Update release number.
8020 2011-10-23  Chong Yidong  <cyd@gnu.org>
8022         * files.el (toggle-read-only): Remove obsolete comment about
8023         version control.
8025         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8026         for toggle-read-only.  Note that this hasn't called vc-next-action
8027         since 2008-05-02, though it wasn't documented at the time.
8029         * vc/ediff-init.el (ediff-toggle-read-only-function):
8030         Use toggle-read-only.
8032 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
8034         Fix bug #9560, sporadic wrong indentation; improve instrumentation
8035         of c-parse-state.
8037         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8038         correct faulty logical expression.
8039         (c-parse-state-state, c-record-parse-state-state):
8040         (c-replay-parse-state-state): New defvar/defuns.
8041         (c-debug-parse-state): Use new functions.
8043 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
8045         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8046         last fix.  Use window-in-direction correctly.
8048 2011-10-21  Chong Yidong  <cyd@gnu.org>
8050         * progmodes/idlwave.el (idlwave-mode):
8051         * progmodes/vera-mode.el (vera-mode): No need to set
8052         require-final-newline; that's done in prog-mode.
8053         Suggested by Stefan Monnier.
8055 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
8057         * mouse.el (mouse-drag-window-above)
8058         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8059         (mouse-drag-mode-line-1, mouse-drag-header-line)
8060         (mouse-drag-vertical-line-rightward-window): Remove.
8061         (mouse-drag-line): New function.
8062         (mouse-drag-mode-line, mouse-drag-header-line)
8063         (mouse-drag-vertical-line): Call mouse-drag-line.
8064         * window.el (window-at-side-p, windows-at-side): New functions.
8066 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
8068         * tar-mode.el (tar-grind-file-mode):
8069         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
8071 2011-10-21  Chong Yidong  <cyd@gnu.org>
8073         * progmodes/idlwave.el (idlwave-mode):
8074         * progmodes/vera-mode.el (vera-mode):
8075         Use mode-require-final-newline.
8077 2011-10-20  Glenn Morris  <rgm@gnu.org>
8079         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
8081 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
8083         * emulation/cua-base.el (cua-set-mark): Fix case of string.
8085 2011-10-20  Chong Yidong  <cyd@gnu.org>
8087         * emulation/cua-base.el (cua-mode):
8088         * mail/footnote.el (footnote-mode):
8089         * mail/mailabbrev.el (mail-abbrevs-mode):
8090         * net/xesam.el (xesam-minor-mode):
8091         * progmodes/bug-reference.el (bug-reference-mode):
8092         * progmodes/cap-words.el (capitalized-words-mode):
8093         * progmodes/compile.el (compilation-minor-mode)
8094         (compilation-shell-minor-mode):
8095         * progmodes/gud.el (gud-tooltip-mode):
8096         * progmodes/hideif.el (hide-ifdef-mode):
8097         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8098         * progmodes/subword.el (subword-mode):
8099         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8100         * progmodes/which-func.el (which-function-mode):
8101         * term/tvi970.el (tvi970-set-keypad-mode):
8102         * term/vt100.el (vt100-wide-mode):
8103         * textmodes/flyspell.el (flyspell-mode):
8104         * textmodes/ispell.el (ispell-minor-mode):
8105         * textmodes/nroff-mode.el (nroff-electric-mode):
8106         * textmodes/paragraphs.el (use-hard-newlines):
8107         * textmodes/refill.el (refill-mode):
8108         * textmodes/reftex.el (reftex-mode):
8109         * textmodes/rst.el (rst-minor-mode):
8110         * textmodes/sgml-mode.el (html-autoview-mode)
8111         (sgml-electric-tag-pair-mode):
8112         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8113         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8114         * emulation/crisp.el (crisp-mode):
8115         * emacs-lisp/eldoc.el (eldoc-mode):
8116         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8117         minor mode behavior.
8119 2011-10-19  Juri Linkov  <juri@jurta.org>
8121         * descr-text.el (describe-char): Add #x2010 and #x2011 to
8122         the list of hard-coded chars with escape-glyph face.
8124 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8126         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8128 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
8130         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8131         running process.
8133 2011-10-19  Glenn Morris  <rgm@gnu.org>
8135         * vc/vc-bzr.el (vc-bzr-after-dir-status):
8136         Ignore ignored files.  (Bug#9726)
8138 2011-10-19  Chong Yidong  <cyd@gnu.org>
8140         Doc fix for minor modes, stating that an omitted argument enables
8141         the mode unconditionally when called from Lisp.
8143         * abbrev.el (abbrev-mode):
8144         * allout.el (allout-mode):
8145         * autoinsert.el (auto-insert-mode):
8146         * autoarg.el (autoarg-mode, autoarg-kp-mode):
8147         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8148         (global-auto-revert-mode):
8149         * battery.el (display-battery-mode):
8150         * composite.el (global-auto-composition-mode)
8151         (auto-composition-mode):
8152         * delsel.el (delete-selection-mode):
8153         * desktop.el (desktop-save-mode):
8154         * dired-x.el (dired-omit-mode):
8155         * dirtrack.el (dirtrack-mode):
8156         * doc-view.el (doc-view-minor-mode):
8157         * double.el (double-mode):
8158         * electric.el (electric-indent-mode, electric-pair-mode):
8159         * emacs-lock.el (emacs-lock-mode):
8160         * epa-hook.el (auto-encryption-mode):
8161         * follow.el (follow-mode):
8162         * font-core.el (font-lock-mode):
8163         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8164         * help.el (temp-buffer-resize-mode):
8165         * hilit-chg.el (highlight-changes-mode)
8166         (highlight-changes-visible-mode):
8167         * hi-lock.el (hi-lock-mode):
8168         * hl-line.el (hl-line-mode, global-hl-line-mode):
8169         * icomplete.el (icomplete-mode):
8170         * ido.el (ido-everywhere):
8171         * image-file.el (auto-image-file-mode):
8172         * image-mode.el (image-minor-mode):
8173         * iswitchb.el (iswitchb-mode):
8174         * jka-cmpr-hook.el (auto-compression-mode):
8175         * linum.el (linum-mode):
8176         * longlines.el (longlines-mode):
8177         * master.el (master-mode):
8178         * mb-depth.el (minibuffer-depth-indicate-mode):
8179         * menu-bar.el (menu-bar-mode):
8180         * minibuf-eldef.el (minibuffer-electric-default-mode):
8181         * mouse-sel.el (mouse-sel-mode):
8182         * msb.el (msb-mode):
8183         * mwheel.el (mouse-wheel-mode):
8184         * outline.el (outline-minor-mode):
8185         * paren.el (show-paren-mode):
8186         * recentf.el (recentf-mode):
8187         * reveal.el (reveal-mode, global-reveal-mode):
8188         * rfn-eshadow.el (file-name-shadow-mode):
8189         * ruler-mode.el (ruler-mode):
8190         * savehist.el (savehist-mode):
8191         * scroll-all.el (scroll-all-mode):
8192         * scroll-bar.el (scroll-bar-mode):
8193         * server.el (server-mode):
8194         * shell.el (shell-dirtrack-mode):
8195         * simple.el (auto-fill-mode, transient-mark-mode)
8196         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8197         (line-number-mode, column-number-mode, size-indication-mode)
8198         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8199         * strokes.el (strokes-mode):
8200         * time.el (display-time-mode):
8201         * t-mouse.el (gpm-mouse-mode):
8202         * tool-bar.el (tool-bar-mode):
8203         * tooltip.el (tooltip-mode):
8204         * type-break.el (type-break-mode-line-message-mode)
8205         (type-break-query-mode):
8206         * view.el (view-mode):
8207         * whitespace.el (whitespace-mode, whitespace-newline-mode)
8208         (global-whitespace-mode, global-whitespace-newline-mode):
8209         * xt-mouse.el (xterm-mouse-mode): Doc fix.
8211         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8212         Fix autogenerated docstring.
8214 2011-10-19  Juri Linkov  <juri@jurta.org>
8216         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8217         by checking environment variables "DESKTOP_SESSION" and
8218         "XDG_CURRENT_DESKTOP".  (Bug#9779)
8220 2011-10-19  Juri Linkov  <juri@jurta.org>
8222         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8223         (browse-url-chromium-program, browse-url-chromium-arguments):
8224         New defcustoms.
8225         (browse-url-default-browser): Check for `browse-url-chromium' and
8226         call `browse-url-chromium-program'.
8227         (browse-url-chromium): New command.  (Bug#9779)
8229 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
8231         * facemenu.el (list-colors-duplicates): On Windows, detect more
8232         duplicates by assuming that only colors matching "^System" are
8233         special "system colors".  (Bug#9722)
8235 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8237         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8238         to distinguish the author from the committer.
8240 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
8242         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8244 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
8246         * international/mule.el (sgml-html-meta-auto-coding-function):
8247         Add support for detecting encoding in HTML5 specified only as
8248         <meta charset="UTF-8">.  Implementation just makes http-equiv and
8249         content-type parts from HTML4 encoding string optional.  (Bug#9716)
8251 2011-10-18  Glenn Morris  <rgm@gnu.org>
8253         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
8255 2011-10-18  Chong Yidong  <cyd@gnu.org>
8257         * faces.el (cursor): Doc fix.
8259 2011-10-17  Chong Yidong  <cyd@gnu.org>
8261         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8263 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
8265         * dirtrack.el (dirtrack): Support shell buffers with path
8266         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
8268 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
8270         * json.el: Bump version to 1.3 and note change in History.
8271         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8273 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8275         * comint.el (comint-insert-input, comint-send-input)
8276         (comint-get-old-input-default, comint-backward-matching-input)
8277         (comint-next-prompt): Use nil instead of `input' for field property of
8278         past user input (bug#114).
8280         * minibuffer.el (completion--replace): Inherit surrounding properties
8281         (bug#114).
8282         (minibuffer-complete-and-exit): Use it.
8284         * comint.el (comint--table-subvert): Quote the all-completions output
8285         (bug#9160).
8287 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
8289         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8291         * menu-bar.el (menu-bar-file-menu): Add entry for making new
8292         window on right of selected.  (Bug#9350) Reword other window
8293         entries and separate them from frame entries.
8295 2011-10-15  Glenn Morris  <rgm@gnu.org>
8297         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8298         Doc fixes.
8300 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
8302         * net/network-stream.el (network-stream-open-starttls):
8303         Improve detection of failure due to lack of TLS support.
8305         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8306         putting the input text in front and in bold.
8308 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8310         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8312         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8313         empty buffer.
8315         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8316         unread-command-events rather than pushing yet-another event.
8318 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
8320         * mail/sendmail.el (sendmail-query-once): Improve the wording of
8321         the explanation of the possible choices.  Make the options passed
8322         to completing-read shorter.
8324 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8326         * textmodes/flyspell.el (flyspell-large-region): Make sure
8327         extended character mode is used if defined (Bug#1339).
8329 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
8331         * simple.el (what-cursor-position): Fix the display of the
8332         character info for LRE, LRO, RLE, and RLO characters by appending
8333         an invisible PDF.
8335 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8337         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8338         even in case of error; add debug spec; simplify data flow.
8339         (with-timeout-handler): Remove.
8341 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
8343         Fix Bug#6019, Bug#9315.
8345         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8346         complete `buffer-file-name', the local file name part could look
8347         remotely (for example on VMS).
8349         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8350         `tramp-run-real-handler'.
8351         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8352         already quoted by '"'.
8354         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8355         Let `file-name-handler-alist' be nil, the local file name part
8356         could look remotely (for example on VMS).
8358 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8360         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8361         from here...
8362         (flyspell-post-command-hook): ...to here.
8364 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8366         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8367         if not needed.
8368         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
8369         using completion.  Protect against "slow" callers.
8370         Remove the "message hack".
8372 2011-10-11  Juri Linkov  <juri@jurta.org>
8374         * isearch.el (isearch-lazy-highlight-word): New variable.
8375         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8376         Use it.  (Bug#9727)
8378 2011-10-11  Glenn Morris  <rgm@gnu.org>
8380         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8381         like f90-previous-statement does.
8383 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8385         * eshell/eshell.el (eshell-command): History should be saved
8386         only in interactive use, to avoid error.
8388 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8390         * minibuffer.el (completion-file-name-table): Fix last change,
8391         i.e. ignore normal errors but not the other ones.
8393 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
8395         * window.el (special-display-buffer-names)
8396         (special-display-regexps): Remove some remnants of earlier
8397         changes from doc-strings.
8398         (quit-windows-on): New function.
8400         * vc/vc.el (vc-revert, vc-rollback):
8401         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8402         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
8403         (Bug#6183) (Bug#7074) (Bug#7447)
8405 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
8407         * window.el (frame-auto-hide-function): Add version tag.
8408         (Bug#9699)
8410 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
8412         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8413         condition.
8415 2011-10-09  Leo Liu  <sdl.web@gmail.com>
8417         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8418         (Bug#9701)
8420 2011-10-08  Glenn Morris  <rgm@gnu.org>
8422         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8423         before the first code statement zero indent.  (Bug#9690)
8425 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
8427         * simple.el (count-words-region): Always count in the region.
8428         Report the number of lines and characters too.
8429         (count-words): New command, which counts in the buffer if the
8430         region is inactive, as count-words-region used to.
8431         (count-words--message): New function.  Handle plurals.
8432         (count-lines-region): Make it an alias for count-words-region.
8434         * bindings.el (esc-map): Replace count-lines-region with
8435         count-words-region.
8437 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
8439         * window.el (window--delete): Delete dedicated frame
8440         unconditionally when argument KILL is non-nil.  (Bug#9699)
8441         (switch-to-buffer): Fix doc-string typo.
8443 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8445         * eshell/eshell.el (eshell-command): Avoid using hooks.
8447 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
8449         * bindings.el ([M-left],[M-right]): Bind to left-word and
8450         right-word respectively.
8452 2011-10-07  Glenn Morris  <rgm@gnu.org>
8454         * cus-start.el (debug-on-quit): Fix custom type.
8456 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8458         * subr.el (define-key-after): Clarify that the function is not
8459         useful for non-menu keymaps.
8461         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8463 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8465         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8466         in current minibuffer (Fix bug with recursive minibuffers).
8468 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
8470         * progmodes/gdb-mi.el (gdb): Doc fix.
8472 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
8474         * window.el (frame-auto-hide-function): New option replacing
8475         frame-auto-delete.  Suggested by Stefan Monnier.
8476         (window--delete): Call frame-auto-hide-function instead of
8477         investigating frame-auto-delete.
8478         (window-point-1, set-window-point-1): New functions.
8479         (window-in-direction, record-window-buffer, window-state-get-1)
8480         (display-buffer-record-window): Use window-point-1 instead of
8481         window-point.
8482         (set-window-buffer-start-and-point): Use set-window-point-1.
8484 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8486         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8488 2011-10-05  Glenn Morris  <rgm@gnu.org>
8490         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8491         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
8493 2011-10-05  Leo Liu  <sdl.web@gmail.com>
8495         * subr.el (read-char-choice): Fix argument to buffer-live-p which
8496         works with buffer object.
8498 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8500         * mpc.el (mpc-tool-bar-map): Add labels.
8502 2011-10-04  Glenn Morris  <rgm@gnu.org>
8504         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8506 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
8508         * window.el (window--delete): New function.
8509         (frame-auto-delete): Resuscitate option.
8510         (bury-buffer, replace-buffer-in-windows)
8511         (quit-window): Rewrite using window--delete.
8512         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8513         Pass display-buffer-mark-dedicated to window--display-buffer-2
8514         (Bug#9639).
8516 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8518         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8519         returns a list (bug#9554).  Add remote file name completion.
8520         * comint.el (comint--table-subvert): Curry and get quote&unquote
8521         functions as arguments.
8522         (comint--complete-file-name-data): Adjust call accordingly.
8523         * pcomplete.el (pcomplete--table-subvert): Remove.
8524         (pcomplete-completions-at-point): Use comint--table-subvert instead.
8526         * minibuffer.el (completion-table-case-fold): Use currying.
8527         (completion--styles-type, completion--cycling-threshold-type):
8528         New constants.
8529         (completion-styles, completion-category-overrides)
8530         (completion-cycle-threshold): Use them.
8531         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8532         completion-table-case-fold.
8534 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
8536         * minibuffer.el (completion-category-overrides): Fix type of styles
8537         and add more user friendly tags (bug#9660).
8539 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8541         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8542         (mule-input-method-string): New widget.
8543         (default-input-method, language-info-custom-alist): Use it.
8545 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8547         * pcomplete.el: Require comint.
8548         (pcomplete--common-suffix): Remove.
8549         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8550         (pcomplete--table-subvert): Sync with comint--table-subvert.
8551         (pcomplete--entries): Use comint-completion-file-name-table.
8552         * comint.el (comint-unquote-filename): Simplify.
8553         (comint-completion-file-name-table): New function (bug#9616).
8554         (comint--complete-file-name-data): Use it.
8556         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8557         (pcmpl-gnu-tar-buffer): Remove.
8558         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8559         around.  Make sure pcomplete-suffix-list is only changed temporarily.
8560         Don't look inside the tar's file if it's too large.
8562 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
8564         * cus-edit.el (custom-mode-map):
8565         * epa.el (epa-key-list-mode-map):
8566         * man.el (Man-mode-map):
8567         * startup.el (splash-screen-keymap):
8568         * simple.el (special-mode-map): Use scroll-up-command and
8569         scroll-down-command.
8571         * progmodes/idlw-help.el (idlwave-help-mode-map):
8572         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8573         * net/newst-plainview.el (newsticker-mode-map):
8574         * emulation/ws-mode.el (wordstar-mode-map):
8575         * emulation/vi.el (vi-com-map):
8576         * calc/calc-graph.el (calc-graph-show-dumb):
8577         * term/sun.el (terminal-init-sun):
8578         * term/ns-win.el (global-map):
8579         * progmodes/grep.el (grep-mode-map):
8580         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8581         * mail/rmail.el (rmail-mode-map):
8582         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8584         * custom.el (custom-safe-themes, load-theme): Treat value of t for
8585         custom-safe-themes as special.
8587 2011-10-01  Julien Danjou  <julien@danjou.info>
8589         * notifications.el (notifications-notify): Fix docstring.
8591 2011-10-01  Per Starbäck  <per@starback.se>
8593         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
8595 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
8597         * startup.el (command-line-1): Fix last fix by inserting
8598         initial-scratch-message into *scratch* before displaying it.
8599         (Bug#9605) and (Bug#9636)
8601 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
8603         * simple.el (line-move): If auto-hscroll-mode is disabled and the
8604         window is hscrolled, move by logical lines.  (Bug#9607)
8605         (line-move-visual): Update the doc string to the above effect.
8607 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
8609         * window.el (display-buffer-record-window): When WINDOW is the
8610         selected window use `point' instead of `window-point'.  (Bug#9626)
8612         * startup.el (command-line-1): Use insert-before-markers when
8613         inserting initial-scratch-message.  (Bug#9605)
8615         * help.el (help-window): Remove variable.
8617 2011-09-29  Glenn Morris  <rgm@gnu.org>
8619         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8621 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
8623         * descr-text.el (describe-char-categories): Accept category
8624         descriptions more than one line long.
8626 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8628         * simple.el (delete-trailing-whitespace): Fix last change.
8630         * progmodes/perl-mode.el (perl-syntax-propertize-function):
8631         Don't confuse "y => 3" as the beginning of a `y' operation.
8633         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8634         object has more than 4 slots (bug#9613).
8636 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
8638         * subr.el (with-output-to-temp-buffer):
8639         * net/quickurl.el (quickurl, quickurl-browse-url):
8640         Fix typos in docstrings.
8642 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
8644         * minibuffer.el (completion-styles)
8645         (completion-category-overrides): Cross reference each other in doc
8646         strings.
8648 2011-09-27  Glenn Morris  <rgm@gnu.org>
8650         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8651         to split-string.  (Bug#9606)
8653 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8655         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8656         (bug#9615).
8658 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
8660         * emacs-lisp/package.el (list-packages): Fix echo area message.
8662 2011-09-27  Leo Liu  <sdl.web@gmail.com>
8664         * ido.el (ido-read-internal): Accept cons cell HIST arg.
8666 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
8668         * net/dbus.el (dbus-unregister-object): Don't release services for
8669         registered signals.  (Bug#9581)
8671 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
8673         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8674         function that picks between cfengine 2 and 3 support
8675         automatically.  Update docs accordingly.
8677 2011-09-22  Kenichi Handa  <handa@m17n.org>
8679         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8680         ZERO.
8681         (indian-itrans-v5-table-for-tamil): New variable.
8682         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8684 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
8686         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8687         that's true if the current command involved collapsing of text.
8688         It's reset to false at the beginning of the next command.
8689         (allout-post-command-business): Move the cursor to the beginning
8690         of entry if the cursor is hidden and collapsing activity just
8691         happened.
8693 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
8695         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8696         tracking (Bug#9541).
8698 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
8700         * net/newst-reader.el (newsticker-html-renderer)
8701         (newsticker-show-news): Automatically load html rendering package
8702         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
8703         because w3m-fill-column is let-bound" and the error "Symbol's value
8704         as variable is void: w3m-fill-column".
8706 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
8708         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8709         Release services only if they are defined.  (Bug#9581)
8711 2011-09-23  Richard Stallman  <rms@gnu.org>
8713         * textmodes/paragraphs.el (forward-sentence): For backwards case,
8714         distinguish start of paragraph from start of its text.
8716         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8718         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8719         (rmail-generate-viewer-buffer): Put that hook on view buffer.
8720         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8722 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
8724         * international/mule-diag.el (mule-diag): Insert a newline after
8725         each fontset description.
8727 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8729         * simple.el (delete-trailing-whitespace):
8730         Document last change; simplify.
8732 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
8734         * simple.el (delete-trailing-whitespace): Also delete
8735         extra newlines at the end of the buffer.
8737         * textmodes/picture.el: Make motion commands obey shift-select-mode.
8738         (picture-newline): Use forward-line so as to ignore fields.
8740 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8742         * subr.el (with-wrapper-hook): Fix edebug spec.
8744 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8746         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8747         (bug#4538).
8749 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
8751         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8752         Fix nasty bug using wrong cached values.
8754 2011-09-23  Alan Mackenzie  <acm@muc.de>
8756         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8758 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
8760         * window.el (pop-to-buffer): Ensure right window is selected if we
8761         chose another frame.
8763 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
8765         * simple.el (what-cursor-position): Use get-char-property-change
8766         and next-single-char-property-change, to be able to show display
8767         properties that come from overlays as well as text properties.
8769 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
8771         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8773         * cmuscheme.el (run-scheme, switch-to-scheme):
8774         * cus-edit.el (customize-group, custom-buffer-create)
8775         (customize-browse):
8776         * info.el (info):
8777         * shell.el (shell):
8778         * mail/sendmail.el (mail):
8779         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8781 2011-09-22  Richard Stallman  <rms@gnu.org>
8783         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8784         move back only to line beg, don't move back over blank lines.
8786 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
8788         * files.el (copy-directory): Set directory attributes only in case
8789         they could be retrieved from the source directory.  (Bug#9565)
8791 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
8793         * progmodes/hideshow.el (hs-looking-at-block-start-p)
8794         (hs-find-block-beginning, hs-hide-level-recursive):
8795         Ignore strings as well as comments.  (Bug#9502)
8797 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
8799         * progmodes/sql.el (sql-comint-postgres):
8800         Convert port number to a string.  (Bug#9566)
8802 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
8804         * window.el (quit-window): Undedicate window when switching to
8805         previous buffer.  Reported by Thierry Volpiatto
8806         <thierry.volpiatto@gmail.com>.
8807         (special-display-popup-frame): When popping up a new frame reset
8808         its previous buffers to nil.  Simplify code.
8810 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
8812         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8813         and process filter, as done also in `shell-command'.
8815 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
8817         * window.el (set-window-buffer-start-and-point):
8818         Call set-window-start with NOFORCE argument t.
8819         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8820         (quit-window): Reword doc-string.  Handle new format of
8821         quit-restore parameter.  Don't delete window if it has a
8822         previous buffer we can show instead of the present one.
8823         (display-buffer-record-window): Rewrite using a new format for
8824         the quit-restore window parameter
8825         (special-display-popup-frame, display-buffer-same-window)
8826         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8827         (display-buffer-pop-up-window, display-buffer-use-some-window):
8828         Adapt symbol passed to display-buffer-record-window.
8829         * help.el (help-window-setup): Handle new format of quit-restore
8830         parameter.
8832 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8834         * faces.el (face-list): Fix docstring (bug#9564).
8836         * window.el (display-buffer--action-function-custom-type):
8837         Don't include internal functions in the Custom interface.
8839 2011-09-20  Juri Linkov  <juri@jurta.org>
8841         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8842         (Info-forward-node, Info-backward-node, Info-next-preorder)
8843         (Info-last-preorder): Use it.  (Bug#9528)
8845 2011-09-20  Juri Linkov  <juri@jurta.org>
8847         * info.el (Info-last-preorder): Visit last menu item only when
8848         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8850 2011-09-20  Julien Danjou  <julien@danjou.info>
8852         * password-cache.el (password-cache-remove): Remove entries even if the
8853         value is nil, so that password with a nil value (negative caching) is
8854         possible to invalidate.
8856 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
8858         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8859         all whitespace around breakpoint.  (Bug#9553)
8860         (f90-find-breakpoint): Only break at whitespace inside a comment.
8862 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8864         * minibuffer.el (completion-file-name-table): Keep track of errors.
8865         (completion-table-with-predicate): Handle the case where pred1 is nil.
8866         * pcomplete.el (pcomplete-completions-at-point): Simplify.
8868 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8870         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8871         (debugger-return-value): Signal an error if the debugging context does
8872         not await any return value.
8874         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8875         * image-mode.el (image-toggle-display-text)
8876         (image-toggle-display-image): Stay away from evil `intangible'.
8878 2011-09-19  Leo Liu  <sdl.web@gmail.com>
8880         * replace.el (occur-revert-arguments): Make it permanent-local.
8881         (occur-mode): Don't call font-lock-defontify.
8883 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
8885         * net/ldap.el (ldap-search-internal): Don't push empty search
8886         result (Bug#9508).
8888 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8890         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8892 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
8894         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8895         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8897 2011-09-18  Juri Linkov  <juri@jurta.org>
8899         * buff-menu.el (Buffer-menu-mode-map):
8900         * dired.el (dired-mode-map):
8901         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8902         (lisp-interaction-mode-map):
8903         * emacs-lisp/package.el (package-menu-mode-map):
8904         * epa.el (epa-key-list-mode-map):
8905         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8906         (menu-bar-options-menu):
8907         * outline.el (outline-mode-menu-bar-map):
8908         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8909         * vc/vc-dir.el (vc-dir-menu-map):
8910         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8911         Capitalize non-function content words in menu item strings.
8913         * dired.el (dired-mode-map): Add menu item for
8914         `image-dired-dired-toggle-marked-thumbs'.
8916 2011-09-18  Juri Linkov  <juri@jurta.org>
8918         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8919         to `isearch-case-fold-search' and restore its original value
8920         after the `isearch-mode' call.
8922 2011-09-18  Juri Linkov  <juri@jurta.org>
8924         * progmodes/grep.el (grep-process-setup): Don't check code for 1
8925         because `zgrep' returns 1 for successful matches (bug#9226).
8927 2011-09-18  Juri Linkov  <juri@jurta.org>
8929         * info.el (Info-extract-menu-node-name): Check the second match
8930         for empty string (second test-case of bug#9528).
8931         (Info-last-preorder): Let-bind `Info-history' to nil to not add
8932         intermediate nodes to the history (first test-case of bug#9528).
8934 2011-09-18  Juri Linkov  <juri@jurta.org>
8936         * info.el (Info-mode-syntax-table): New variable.
8937         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8939 2011-09-18  Juri Linkov  <juri@jurta.org>
8941         * info.el (Info-file-supports-index-cookies):
8942         Increment line-beginning-position's arg from 3 to 4 because makeinfo
8943         outputs one more line for long file names (bug#4142).
8945 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8947         * newcomment.el (comment-normalize-vars): If prompting for
8948         comment-start, set comment-start-skip too (Bug#8424).
8950 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
8952         * icomplete.el: Fix previous fix of Bug#5849.
8953         (icomplete-mode): Don't set completion-show-inline-help.
8954         (icomplete-minibuffer-setup): Set completion-show-inline-help
8955         locally during icompletion.
8957 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8959         * woman.el (woman2-process-escapes): Don't delete unrecognized
8960         escapes (Bug#7843).
8962         * files.el (inhibit-first-line-modes-regexps): Add image files.
8963         (hack-local-variables-prop-line): Return nil for malformed
8964         prop-lines (Bug#9044).
8966 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
8968         * net/tramp.el (top): Don't require 'shell.
8969         (tramp-methods): Fix docstring.
8970         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8971         Return complete remote file name.  Handle "smb" case.
8972         Use `tramp-tmpdir', if defined for the respective method.
8973         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8975         * net/tramp-compat.el (top): Require 'shell.
8977         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8978         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8979         `tramp-current-host'.
8980         (tramp-get-remote-tmpdir): Remove.
8982         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8983         `tramp-tmpdir' entries.
8984         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8985         (tramp-smb-handle-file-attributes): Ignore errors.
8986         (tramp-smb-wait-for-output): Check also for process end.
8988 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8990         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8991         when sending QUIT (bug#9312).
8993 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
8995         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8996         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8997         occur-mode-display-occurrence.
8998         (occur-edit-mode): Add usage message.
8999         (occur-cease-edit): New command.
9000         (occur-after-change-function): Use text properties to find the
9001         position of the prefix text.
9002         (occur-engine): Set stickiness of prefix text properties.
9004 2011-09-17  Glenn Morris  <rgm@gnu.org>
9006         * progmodes/etags.el (complete-tag):
9007         Fix call to completion-in-region.  (Bug#9526)
9009 2011-09-17  Juri Linkov  <juri@jurta.org>
9011         * textmodes/ispell.el (ispell-word): Add to the error message
9012         the word, ispell program name and current dictionary (bug#9121).
9013         (ispell-tex-arg-end): Capitalize "error" in the error message.
9015 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
9017         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9018         check.  (Bug#4251)
9020 2011-09-17  Juri Linkov  <juri@jurta.org>
9022         * window.el (window-safe-min-height, window-safe-min-width):
9023         Fix typos (followup to bug#9522).
9025 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
9027         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9029 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
9031         * simple.el (line-move): If goal-column is set, move by logical
9032         lines, not by display lines.  (Bug#971)
9033         (next-line, previous-line, goal-column, line-move-visual): Doc fix
9034         to reflect the above change.
9036 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9038         * image.el (imagemagick-register-types): Use regexp-opt.
9040 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
9042         * window.el (display-buffer-base-action): Rename from
9043         display-buffer-default-action.  Make default value empty.
9044         (display-buffer-overriding-action): Convert to defvar.
9045         (display-buffer-fallback-action): New var.
9047 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
9049         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9050         declaration.
9051         (package--add-to-archive-contents): If there is a duplicate entry
9052         with an older version, remove it.
9053         (package-menu-mark-delete, package-menu-mark-install)
9054         (package-menu-mark-unmark): Make unused args optional.
9055         (package-menu-mark-obsolete-for-deletion):
9056         Use package-menu-get-status instead of a regexp search.
9057         (package-menu-get-status): Use tabulated-list-entry.
9058         (package-menu-mark-upgrades): New command.
9059         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
9060         (package-menu-execute): Do installation before deletion.
9061         (package-menu-refresh, package-menu-execute): Use derived-mode-p
9062         instead of checking major-mode.
9063         (package-menu--find-upgrades): New function.
9065 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9067         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9068         passwords in the log buffer.
9069         (smtpmail-process-filter): Update the process marker so that the
9070         "broken by peer" status message is inserted in the right place.
9072 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9074         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9075         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9076         bibtex-completion-at-point-function.
9077         (bibtex-completion-at-point-function): Use them.
9079         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9081         * mpc.el (mpc-constraints-tag-lookup): New function.
9082         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9083         also to browser "album|playlist".
9085 2011-09-14  Juri Linkov  <juri@jurta.org>
9087         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
9088         (isearch-edit-string): Use length of `isearch-string' when
9089         `isearch-fail-pos' returns nil.
9090         (isearch-message): Remove duplicate code and call
9091         `isearch-fail-pos' with arg `t'.
9093 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
9095         * replace.el (occur-mode-goto-occurrence): Don't force using other
9096         window (Bug#9499).
9098         * dired-aux.el (dired-do-chmod): Don't provide initial input.
9100 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
9102         * window.el (display-buffer-window): Remove.
9103         (display-buffer-record-window): Use help-setup window parameter
9104         instead of variable display-buffer-window.
9105         (display-buffer-function, special-display-buffer-names)
9106         (special-display-function): Mention help-setup parameter instead
9107         of display-buffer-window in doc-string.
9108         * help.el (help-window-setup): New argument help-window.
9109         Use help-window-setup parameter instead of display-buffer-window.
9110         Reword some messages.
9111         (with-help-window): Pass window used for displaying the buffer
9112         to help-window-setup.  Don't set display-buffer-window.
9114 2011-09-13  Glenn Morris  <rgm@gnu.org>
9116         * emacs-lisp/debug.el (debugger-make-xrefs):
9117         Preserve point.  (Bug#9462)
9119 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
9121         * window.el (window-deletable-p): Use next-frame.
9123 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
9125         * window.el (window-auto-delete): Remove.
9126         (window-deletable-p): Remove argument FORCE.  Don't deal with
9127         dedication and previous buffers.
9128         (switch-to-prev-buffer): Don't delete window.
9129         (delete-windows-on): Delete a window's frame if and only if the
9130         window is dedicated.
9131         (replace-buffer-in-windows): Delete buffer's window or frame if
9132         and only if window is dedicated.
9133         (quit-window): Handle quit-restore as before last change.
9134         (bury-buffer): Delete window only if window-deletable-p returns t.
9136 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
9138         * window.el (window-deletable-p): Never delete the last frame on a
9139         given terminal.
9141 2011-09-13  Glenn Morris  <rgm@gnu.org>
9143         * help.el (describe-key-briefly): Copy previous standard-output change.
9145 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
9147         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
9149 2011-09-13  Glenn Morris  <rgm@gnu.org>
9151         * emacs-lisp/lisp-mode.el (lisp-indent-function):
9152         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9154 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
9156         * dired-aux.el (dired-mark-read-string): Don't return default
9157         value on empty input (Bug#9361).
9158         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9159         Omit initial minibuffer contents.
9160         (dired-do-chmod): Signal an error on empty input.
9161         (dired-mark-read-string): Don't return default on empty input.
9163         * files.el (file-modes-symbolic-to-number): Doc fix.
9165 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9167         * international/mule-cmds.el (ucs-completions): Remove.
9168         (read-char-by-name): Use complete-with-action instead; add metadata.
9170 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9172         * window.el (display-buffer--action-function-custom-type)
9173         (display-buffer--action-custom-type): New vars.
9174         (display-buffer-alist, display-buffer-default-action)
9175         (display-buffer-overriding-action): Add defcustom types.
9177         * frame.el (delete-other-frames): Doc fix (Bug#276).
9179 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9181         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9183 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9185         Change modes that used same-window-* vars to use switch-to-buffer.
9187         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9188         Use switch-to-buffer.
9190         * cus-edit.el (customize-group, custom-buffer-create)
9191         (customize-browse, custom-buffer-create-other-window):
9192         Use switch-to-buffer or switch-to-buffer-other-window.
9194         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9195         (Info-prev, Info-up, Info-speedbar-goto-node)
9196         (info-display-manual): Use switch-to-buffer.
9197         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9199         * mail/sendmail.el (mail): Use switch-to-buffer.
9200         (mail-recover): Use switch-to-buffer-other-window.
9202         * cmuscheme.el (run-scheme, switch-to-scheme):
9203         * ielm.el (ielm):
9204         * shell.el (shell):
9205         * net/rlogin.el (rlogin):
9206         * net/telnet.el (telnet, rsh):
9207         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9209 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9211         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9213 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9215         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9216         so don't mention it (bug#9301).
9217         (dired-sort-toggle-or-edit): Clarify string further.
9219         * faces.el (face-spec-set-match-display): Make `(type graphic)'
9220         match `x', `w32' and `ns', like the manual says (bug#9029).
9222         * subr.el (eval-after-load): Doc string clarification (bug#9125).
9223         (process-kill-buffer-query-function): Mention the buffer name in
9224         the query.
9226         * image-mode.el (image-next-line): The line parameter is mandatory
9227         (bug#9258).
9229         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9230         which can be useful (bug#9301).
9232         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9234         * subr.el (match-string): Mention that the current buffer should
9235         be the same as the search was done in (bug#9282).
9237         * facemenu.el: Disable the remove-* commands if the mark isn't
9238         active (bug#9162).
9240 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9242         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9243         of display-buffer.
9244         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9246         * replace.el (occur-mode-goto-occurrence)
9247         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9248         and display-buffer.
9250         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9251         display-buffer.
9253         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9254         special-display and same-window variables.
9255         (mail-other-window): Use switch-to-buffer-other-window.
9256         (mail-other-frame): USe switch-to-buffer-other-frame.
9258         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9259         Use display-buffer-other-frame.
9260         (gdb-display-gdb-buffer): Use pop-to-buffer.
9262         * progmodes/gud.el (gud-goto-info): Use info-other-window.
9264         * progmodes/python.el: Don't set same-window-buffer-names.
9266         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9268         * window.el (display-buffer-alist): Add *Python*.
9270 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9272         * window.el (display-buffer-alist): Add entry for buffers
9273         previously handled same-window-*.
9274         (display-buffer-alist, display-buffer-default-action)
9275         (display-buffer-overriding-action): Mark as risky.
9276         (display-buffer-alist): Document action function changes.
9277         (display-buffer--same-window-action)
9278         (display-buffer--other-frame-action): New variables.
9279         (switch-to-buffer, display-buffer-other-frame): Use them.
9280         (display-buffer): Rename reuse-frame entry to reusable-frames.
9281         (display-buffer-reuse-selected-window): Function deleted.
9282         (display-buffer-reuse-window): Handle reusable-frames alist entry.
9283         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9284         (display-buffer-special): New function.
9285         (display-buffer--maybe-pop-up-frame-or-window): Rename from
9286         display-buffer-reuse-or-pop-window.  Split off special-display
9287         part into display-buffer-special.
9288         (display-buffer-use-some-window): Don't perform any special
9289         pop-up-frames handling.
9290         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9291         (display-buffer--maybe-same-window): Rename from
9292         display-buffer-maybe-same-window.
9294         * info.el: Don't set same-window-regexps.
9295         (info-setup): New function.
9296         (info-other-window, info): Call it.
9298         * cus-edit.el: Don't set same-window-regexps.
9299         (customize-group): New argument.
9300         (customize-group-other-window): Use it.
9301         (customize-face, customize-face-other-window): Likewise.
9302         (custom-buffer-create-other-window): Use pop-to-buffer directly.
9304         * net/rlogin.el:
9305         * net/telnet.el:
9306         * progmodes/gud.el: Don't set same-window-regexps.
9308         * cmuscheme.el:
9309         * ielm.el:
9310         * shell.el:
9311         * mail/sendmail.el:
9312         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9314 2011-09-10  Juri Linkov  <juri@jurta.org>
9316         * isearch.el (isearch-edit-string): Remove obsolete mention of
9317         `C-w' (`isearch-yank-word-or-char') from docstring.
9318         (isearch-query-replace): Fix typo in docstring (bug#9466).
9320 2011-09-10  Juri Linkov  <juri@jurta.org>
9322         * paren.el (show-paren-function): Don't show escaped parens.
9323         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
9325 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
9327         * mail/sendmail.el (mml-to-mime, mml-attach-file)
9328         (mm-default-file-encoding): Remove autoload forms, they are
9329         replaced with autoload cookies in mml.el and mm-encode.el.
9330         (mail-add-attachment): New command.
9331         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9332         (mail-mode): Mention mail-insert-file and mail-add-attachment in
9333         the doc string.
9334         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9336 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
9338         * simple.el (count-words-region): Use buffer if there's no region
9339         (bug#9429).
9341 2011-09-09  Juri Linkov  <juri@jurta.org>
9343         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9344         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9345         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
9347 2011-09-09  Alan Mackenzie  <acm@muc.de>
9349         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9350         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
9352 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
9354         Fix for Savannah bug#9392.
9355         * simple.el (mail-encode-mml): New defvar.
9357         * mail/rmail.el (mail-encode-mml): Add a defvar.
9358         (rmail-enable-mime-composing): Default to t.
9359         (rmail-forward): Use MIME method of forwarding only if both
9360         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9361         Set mail-encode-mml non-nil if the MIME method was used.
9363         * mail/sendmail.el (mml-to-mime): Add autoload form.
9364         (mail-encode-mml): Add a defvar.
9365         (mail-mode): Make mail-encode-mml buffer-local and initialize it
9366         to nil.
9367         (mail-send): If mail-encode-mml is non-nil, run the outgoing
9368         message through mml-to-mime, and reset mail-encode-mml to nil.
9370 2011-09-09  Glenn Morris  <rgm@gnu.org>
9372         * woman.el (woman-if-body): When processing an .el block,
9373         do not delete the next .el block as well.  (Bug#9447)
9374         (woman-special-characters): Add oq, cq, and hy characters.
9376 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9378         * window.el (window-deletable-p): Make sure window is live before
9379         invoking window-prev-buffers.
9381 2011-09-08  Leo Liu  <sdl.web@gmail.com>
9383         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
9385 2011-09-08  Juri Linkov  <juri@jurta.org>
9387         * progmodes/compile.el (compilation-environment): Make it
9388         a defcustom (bug#8340).
9390 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9392         * window.el (frame-auto-delete): Rename to window-auto-delete.
9393         Make it control auto-deletion of windows and/or frames.
9394         (window-deletable-p): New argument FORCE.  Rewrite conditions
9395         for deleting window/frame.  (Bug#9419)
9396         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9397         Rewrite handling of case when window/frame can be deleted.
9398         (delete-windows-on): Call window-deletable-p with new FORCE
9399         argument t.  (Bug#9456)
9401 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
9403         * help-mode.el (help-mode): Restore autoload.
9405 2011-09-07  Juri Linkov  <juri@jurta.org>
9407         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9408         `compilation-environment'.  Set buffer-local
9409         `compilation-environment' to `thisenv' later after (funcall mode).
9410         (Bug#8340)
9412         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
9413         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9414         instead of replacing its value.  (Bug#8340)
9416 2011-09-07  Juri Linkov  <juri@jurta.org>
9418         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9419         based on text properties put by `grep-filter' instead of matching
9420         escape sequences.
9421         (grep-mode): Set buffer-local `compilation-error-screen-columns'
9422         to the value of `grep-error-screen-columns' (bug#9438).
9424 2011-09-07  Juri Linkov  <juri@jurta.org>
9426         * simple.el (next-error-highlight, next-error-highlight-no-select):
9427         Doc fix (bug#9432).
9429 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
9431         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9432         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
9434 2011-09-07  Leo Liu  <sdl.web@gmail.com>
9436         * net/rcirc.el (rcirc-mode): Conditionally initialize
9437         rcirc-input-ring.
9439 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9441         * emacs-lisp/find-func.el (find-function-C-source): Only set
9442         find-function-C-source-directory after checking that we found a source
9443         file there (bug#9440).
9445 2011-09-06  Alan Mackenzie  <acm@muc.de>
9447         * isearch.el (isearch-other-meta-char): Wherever a key list is
9448         unread, "unread" the prefix arg, too.  This fixes bug #8901.
9450 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9452         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9454 2011-09-05  Juri Linkov  <juri@jurta.org>
9456         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9458 2011-09-05  Juri Linkov  <juri@jurta.org>
9460         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9461         keeping point where processing of grep matches begins, and
9462         continue to delete remaining escape sequences from the same point.
9463         (grep-filter): Make leading zero optional in "0?1;31m" because
9464         git-grep emits "\033[1;31m" escape sequences unlike expected
9465         "\033[01;31m" as GNU Grep does (bug#9408).
9466         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9468 2011-09-05  Juri Linkov  <juri@jurta.org>
9470         * subr.el (y-or-n-p): Capitalize "yes".
9472 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
9474         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
9475         `tramp-cache-unload-hook' where appropriate.
9476         (tramp-methods): Rename `tramp-remote-sh' to
9477         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
9478         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9480         * net/tramp-sh.el (top): Don't require 'shell.
9481         (tramp-methods): Add `tramp-remote-shell' and
9482         `tramp-remote-shell-args' entries.
9483         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9484         (tramp-sh-handle-shell-command): Remove.
9485         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9486         Use `tramp-remote-shell'.
9488 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
9490         * mail/sendmail.el (sendmail-query-once-function): Delete.
9491         (sendmail-query-once): Save directly to send-mail-function.
9492         Update message-send-mail-function too.
9494         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9496 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9498         * progmodes/python.el (python-mode-map): Use correct function to
9499         start python interpreter from menu-bar (as reported by Geert
9500         Kloosterman).
9501         (inferior-python-mode-map): Fix typo.
9502         (python-shell-map): Remove.
9504 2011-09-03  Deniz Dogan  <deniz@dogan.se>
9506         * net/rcirc.el (rcirc-print): Simplify code for
9507         rcirc-scroll-show-maximum-output.  There is no need to walk
9508         through all windows to find the right one.
9510 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9512         * help.el (help-return-method): Doc fix.
9514 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
9516         * window.el (window-deletable-p): Don't return a non-nil value
9517         when there's a buffer that was shown in the window before.
9518         (Bug#9419)
9519         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9520         Set window's previous buffers to nil.
9522 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
9524         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9525         newline before and after the tag line, so it doesn't interfere
9526         with determining the paragraph direction of bidirectional text.
9528 2011-09-03  Leo Liu  <sdl.web@gmail.com>
9530         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
9532 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9534         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9535         (pop-to-buffer): Change interactive spec.  Pass second argument
9536         directly to display-buffer.
9537         (display-buffer): Fix interactive spec.  Use functionp to
9538         distinguish between a function and a list of functions.
9540         * abbrev.el (edit-abbrevs):
9541         * arc-mode.el (archive-extract):
9542         * autoinsert.el (auto-insert):
9543         * bookmark.el (bookmark-bmenu-list):
9544         * files.el (find-file):
9545         * view.el (view-buffer):
9546         * progmodes/compile.el (compilation-goto-locus):
9547         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9549 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9551         * window.el (display-buffer-alist): Doc fix.
9552         (display-buffer): Add docstring.  Don't treat
9553         display-buffer-default specially.
9554         (display-buffer-reuse-selected-window)
9555         (display-buffer-same-window, display-buffer-maybe-same-window)
9556         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9557         (display-buffer-pop-up-window)
9558         (display-buffer-reuse-or-pop-window)
9559         (display-buffer-use-some-window): New functions.
9560         (display-buffer-default-action): Use them.
9561         (display-buffer-default): Delete.
9562         (pop-to-buffer-1): Fix choice of actions.
9564 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9566         * minibuffer.el (completion--insert-strings): Don't get confused by
9567         completion entries that end with an LF char.
9569 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
9571         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9573 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
9575         * window.el (display-buffer): Restore interactive spec.
9576         (display-buffer-same-window, display-buffer-other-window):
9577         New functions.
9578         (pop-to-buffer-1): New function.  Use the above.
9579         (pop-to-buffer, pop-to-buffer-same-window): Use it.
9580         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9582         * view.el (view-buffer-other-window, view-buffer-other-frame):
9583         Just use pop-to-buffer.
9585 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9587         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
9589 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
9591         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
9593 2011-08-31  Richard Stallman  <rms@gnu.org>
9595         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9596         of the separation of rmail-view-buffer from rmail-buffer.
9597         If you say no to "replace original", the decrypt is in the
9598         view buffer.  If you say yes, the decrypt goes into the
9599         rmail buffer also.
9601 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
9603         * window.el (display-buffer-window): Rewrite doc-string.
9604         (display-buffer-record-window): New function.
9605         (display-buffer-macro-specifiers)
9606         (display-buffer-even-window-sizes, display-buffer-set-height)
9607         (display-buffer-set-width, display-buffer-in-window)
9608         (display-buffer-reuse-window, display-buffer-split-specifiers)
9609         (display-buffer-side-specifiers, display-buffer-split-window-1)
9610         (display-buffer-split-window, display-buffer-split-atom-window)
9611         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9612         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9613         (display-buffer-other-window-means-other-frame)
9614         (display-buffer-normalize-special)
9615         (display-buffer-normalize-default)
9616         (display-buffer-normalize-argument)
9617         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9618         (display-buffer-normalize-specifiers, display-buffer-frame)
9619         (display-buffer-same-window, display-buffer-same-frame)
9620         (display-buffer-other-window)
9621         (display-buffer-same-frame-other-window)
9622         (display-buffer-other-frame, pop-to-buffer-same-window)
9623         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9624         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9625         (switch-to-buffer-same-frame)
9626         (switch-to-buffer-other-window-same-frame)
9627         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9628         (display-buffer-alist-set-1, display-buffer-alist-set-2)
9629         (display-buffer-alist-set): Remove.
9630         (display-buffer-function, special-display-buffer-names)
9631         (special-display-regexps, special-display-function):
9632         In doc-string refer to display-buffer-window and quit-restore
9633         parameter.
9634         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9635         (special-display-frame-alist, special-display-popup-frame)
9636         (same-window-buffer-names, same-window-regexps, same-window-p)
9637         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9638         (split-window-preferred-function, split-height-threshold)
9639         (split-width-threshold, window-splittable-p)
9640         (split-window-sensibly, window--try-to-split-window)
9641         (window--frame-usable-p, even-window-heights)
9642         (window--even-window-heights, window--display-buffer-1)
9643         (window--display-buffer-2, display-buffer-other-frame):
9644         Restore old Emacs 23 code, order and doc-strings where applicable.
9645         (display-buffer-default, display-buffer-assq-regexp): New functions.
9646         (display-buffer-alist): Rewrite doc-string.
9647         (display-buffer-default-action)
9648         (display-buffer-overriding-action): New variables.
9649         (display-buffer, switch-to-buffer): Rewrite.
9650         (pop-to-buffer): Restore Emacs 23 behavior but use
9651         window-normalize-buffer-to-display.
9652         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9653         Restore Emacs 23 behavior but use
9654         window-normalize-buffer-to-switch-to.
9655         (pop-to-buffer-same-window): Rewrite.
9656         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9657         Rewrite using Emacs 23 options.
9659 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
9661         * net/tramp.el (tramp-root-regexp): Remove.
9662         (tramp-completion-file-name-regexp-unified)
9663         (tramp-completion-file-name-regexp-separate)
9664         (tramp-completion-file-name-regexp-url): Don't use leading volume
9665         letter on win32 systems.  (Bug#5303, Bug#9311)
9666         (tramp-drop-volume-letter): Simplify definition.
9667         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9669 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9671         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9672         (bug#9356).
9674 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
9676         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9678 2011-08-29  Juri Linkov  <juri@jurta.org>
9680         * isearch.el (isearch-done): Don't display message "Mark saved"
9681         when arg `edit' is non-nil to prevent its flicker in the echo area.
9683 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9685         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9686         obsolete packages for deletion.
9688 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
9690         * help-mode.el (help-mode-map): Add special-mode-map to parent.
9691         (help-mode): Derive help-mode from special-mode.  Don't invoke
9692         view-mode from help-mode.
9693         (help-xref-override-view-map): Remove.
9694         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9695         view-mode is not used anymore.
9697 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9699         * server.el (server-port): Doc fix.
9701         * cus-theme.el (custom-theme-choose-mode): Inherit from
9702         special-mode (Bug#9124).
9703         (custom-theme-choose-mode-map): Add special-mode to parent.
9705 2011-08-28  Alan Mackenzie  <acm@muc.de>
9707         * progmodes/cc-fonts.el
9708         (c-make-font-lock-BO-decl-search-function): New function.
9709         (c-basic-matchers-after - "Fontify the clauses after various
9710         keywords"): Extract the three keyword lists for the 3 erroneous
9711         constructs from the list of four, and use the new function above
9712         in place of an old one.
9714 2011-08-28  Deniz Dogan  <deniz@dogan.se>
9716         * net/rcirc.el (rcirc-insert-prev-input)
9717         (rcirc-insert-next-input): Remove unused argument.
9719 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9721         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9723 2011-08-27  Alan Mackenzie  <acm@muc.de>
9725         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9726         handle function pointer parameters properly.
9728 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
9730         * window.el (display-buffer-reuse-window): Fix case where
9731         selected window was reused with non-nil OTHER-WINDOW argument.
9732         (Bug#9381)
9734 2011-08-27  Deniz Dogan  <deniz@dogan.se>
9736         * net/rcirc.el (rcirc-check-auth-status): Adding support for
9737         oftc's NickServ messages.
9739 2011-08-27  Glenn Morris  <rgm@gnu.org>
9741         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
9743 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
9745         * emacs-lisp/package.el (package-install): Call package-initialize
9746         if called interactively.
9748 2011-08-26  Leo Liu  <sdl.web@gmail.com>
9750         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
9752 2011-08-25  Juri Linkov  <juri@jurta.org>
9754         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9755         `search-whitespace-regexp' (bug#9364).
9757 2011-08-25  Juri Linkov  <juri@jurta.org>
9759         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9760         `regexp-search-ring' to their global values to protect from
9761         updating by `read-from-minibuffer' (bug#9185).
9763 2011-08-25  Juri Linkov  <juri@jurta.org>
9765         * textmodes/ispell.el (ispell-command-loop): Add newline
9766         at the end of the "Use option `i'..." line.
9768 2011-08-25  Juri Linkov  <juri@jurta.org>
9770         * battery.el (display-battery-mode): If `battery-status-function'
9771         or `battery-mode-line-format' is nil, display the message and set
9772         `display-battery-mode' to nil (bug#9363).
9774 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
9776         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9777         bidi-string-mark-left-to-right; they are unnecessary now.
9779 2011-08-25  Deniz Dogan  <deniz@dogan.se>
9781         * net/quickurl.el: Documentation typo fixes.
9783 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
9785         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9787 2011-08-25  Glenn Morris  <rgm@gnu.org>
9789         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9791         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9792         (smtpmail-via-smtp): Handle nil response from smtp.
9794 2011-08-24  Juri Linkov  <juri@jurta.org>
9796         * proced.el (proced-marked): Inherit from `error' instead of
9797         `font-lock-warning-face'.
9799         * ibuffer.el (ibuffer-marked-face): Change default face from
9800         `font-lock-warning-face' to `warning'.
9801         (ibuffer-deletion-face): Change default face from
9802         `font-lock-type-face' to `error'.
9804         * battery.el (battery-update): Use the face `error' instead of
9805         `font-lock-warning-face' (bug#6117).
9807 2011-08-24  Juri Linkov  <juri@jurta.org>
9809         * faces.el (success): Change face color from "Green3" to
9810         "ForestGreen" on light background (bug#9353).
9812 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
9814         * window.el (quit-window): Rename from quit-restore-window.
9815         Use same arglist as old quit-window.
9816         (frame-auto-delete): Doc fix.
9818         * view.el (view-mode-exit): Use quit-window.
9820 2011-08-24  Juri Linkov  <juri@jurta.org>
9822         * isearch.el (isearch-ring-adjust1): Start visiting previous
9823         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9824         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9825         for empty search string (when the last search string is reused
9826         automatically) to adjust the isearch ring to the last element and
9827         prepare the correct index for further M-p commands (bug#9185).
9829 2011-08-24  Kenichi Handa  <handa@m17n.org>
9831         * international/ucs-normalize.el: If decomposition property of
9832         CHAR is the default one (i.e. a list of CHAR itself), treat it as
9833         nil.
9834         (nfd, nfkd): Likewise.
9836 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9838         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9839         from process filters aren't reliably transmitted to the surrounding
9840         accept-process-output.
9841         (mpc-proc-check): New function.
9842         (mpc-proc-sync): Use it (bug#8293)
9844 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9846         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9847         Add compatibility functions (bug#9313).
9849 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
9851         * cus-start.el (all): Add entry for bidi-paragraph-direction.
9853         * international/uni-bidi.el: Regenerate.
9855 2011-08-23  Kenichi Handa  <handa@m17n.org>
9857         * international/charprop.el:
9858         * international/uni-bidi.el:
9859         * international/uni-category.el:
9860         * international/uni-combining.el:
9861         * international/uni-comment.el:
9862         * international/uni-decimal.el:
9863         * international/uni-decomposition.el:
9864         * international/uni-digit.el:
9865         * international/uni-lowercase.el:
9866         * international/uni-mirrored.el:
9867         * international/uni-name.el:
9868         * international/uni-numeric.el:
9869         * international/uni-old-name.el:
9870         * international/uni-titlecase.el:
9871         * international/uni-uppercase.el: Regenerate.
9873 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
9875         * help.el (help-window-setup): Fix message displayed when other
9876         window is reused.  (Bug#9341)
9878 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9880         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9881         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9883         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9884         Mark obsolete.
9885         * shell.el (shell-parse-pcomplete-arguments): New function.
9886         (shell-completion-vars): Use it instead (bug#9160).
9888 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9890         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9891         strings and comments (bug#9333).
9893         * emacs-lisp/debug.el (debug-arglist): New function.
9894         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
9895         (debug-on-entry-1): Handle interpreted closures (bug#9120).
9897 2011-08-22  Juri Linkov  <juri@jurta.org>
9899         * progmodes/compile.el (compilation-mode-font-lock-keywords):
9900         Revert regexp that highlights output switches to its old
9901         pre-2010-10-28 value and remove one `?' from it (bug#9319).
9903         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9904         to check for empty output (bug#9226).
9906 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
9908         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9909         symbol-constituent as the default, as that stops font-lock from
9910         working properly (Bug#8843).
9912 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9914         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9915         `coding-system-for-*' around the process open call to avoid
9916         auth-source side effects.
9917         (smtpmail-try-auth-methods): Expand the secret password.
9918         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9919         probe hangs.
9921 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9923         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9925         * emacs-lisp/find-func.el (find-function-noselect): New arg
9926         lisp-only.
9928         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9929         signal an error for built-in functions (Bug#6664).
9931 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9933         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9934         (smtpmail-try-auth-methods): Use it.
9936 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9938         * font-lock.el (font-lock-fontify-region)
9939         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9940         (font-lock-default-unfontify-buffer)
9941         (font-lock-default-fontify-region)
9942         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9944         * progmodes/compile.el (compilation-error-properties):
9945         Fix confusion between file struct and message struct (Bug#9319).
9946         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9947         `ant' regexp.
9949         * net/browse-url.el (browse-url-firefox): Don't call
9950         browse-url-firefox-sentinel unless using -remote (Bug#9328).
9952 2011-08-20  Glenn Morris  <rgm@gnu.org>
9954         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9956         * tutorial.el (tutorial--default-keys): Update some default bindings.
9958         * files.el (hack-local-variables): Fully ignore case for "mode:".
9960 2011-08-20  Alan Mackenzie  <acm@muc.de>
9962         Resolve invalid use of a regexp in regexp-opt.
9964         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9965         detection for a java annotation.
9967         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9968         detection for a java annotation.
9970         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9971         handling for java.
9972         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9974 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
9976         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9977         (Bug#9274).
9979 2011-08-20  Alan Mackenzie  <acm@muc.de>
9981         Fontify CPP expressions correctly when starting in the middle of
9982         such a construct.  Mainly for when jit-lock etc. starts a chunk
9983         here.
9985         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9986         variable.
9987         (c-make-font-lock-search-form): New function, extracted from
9988         c-make-font-lock-search-function.
9989         (c-make-font-lock-search-function): Use the above function.
9990         (c-make-font-lock-context-search-function): New function.
9991         (c-cpp-matchers): Enhance the preprocessor expression case with
9992         the above function
9993         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9994         which takes an expression.
9996         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9998 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
10000         * window.el (display-buffer-reuse-window)
10001         (display-buffer-pop-up-window): Don't reuse or split a side
10002         window.
10004 2011-08-19  Glenn Morris  <rgm@gnu.org>
10006         * files.el (hack-local-variables-prop-line, hack-local-variables):
10007         Downcase "Mode:".  (Bug#9331)
10009 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
10011         * international/characters.el: Add L and R categories.
10013         * subr.el (bidi-string-mark-left-to-right): Rename from
10014         string-mark-left-to-right.  Use category search.
10016         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10018 2011-08-18  Juri Linkov  <juri@jurta.org>
10020         * faces.el (error, warning, success): New faces with definitions
10021         copied from old default values of `font-lock-warning-face',
10022         `compilation-warning', `compilation-info' (bug#6117).
10024         * font-lock.el (font-lock-warning-face): Inherit from `error'.
10026         * progmodes/compile.el (compilation-error): Inherit from `error'.
10027         (compilation-warning): Inherit from `warning'.
10028         (compilation-info): Inherit from `success'.
10030         * dired.el (dired-marked): Inherit from `warning'.
10031         (dired-flagged): Inherit from `error'.
10033 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10035         * mail/smtpmail.el (auth-source): Require to avoid problems with
10036         binding variables (bug#9298).  Also clean up some unused
10037         autoloads.
10039         * net/network-stream.el (network-stream-open-starttls):
10040         Support using starttls.el without using gnutls-cli.
10042 2011-08-17  Juri Linkov  <juri@jurta.org>
10044         * progmodes/grep.el (rgrep): Handle the case when
10045         `grep-find-command' is a cons cell (bug#9278).
10047 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
10049         * window.el (display-buffer-pop-up-frame): Run frame creation
10050         function with BUFFER current (as special-display-popup-frame
10051         does).  Reported by Drew Adams.
10053 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
10055         * epa-mail.el: Simplify GnuPG group expansion using
10056         epg-expand-group.
10057         (epa-mail-group-alist, epa-mail-group-modtime)
10058         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10059         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10060         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10061         Remove.
10063 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
10065         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10067 2011-08-16  Alan Mackenzie  <acm@muc.de>
10069         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10070         Correct, to avoid the inside of macros.
10072 2011-08-16  Richard Stallman  <rms@gnu.org>
10074         * epa-mail.el: Handle GnuPG group definitions.
10075         (epa-mail-group-alist, epa-mail-group-modtime)
10076         (epa-mail-gnupg-conf-file): New variables.
10077         (epa-mail-parse-groups, epa-mail-sync-groups)
10078         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10079         (epa-mail-expand-recipients): New functions.
10080         (epa-mail-encrypt): Call epa-mail-expand-recipients.
10082         * mail/rmail.el (rmail-epa-decrypt): New command.
10084         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10085         Don't bind buffer-read-only, just inhibit-read-only.
10086         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10087         (epa-decrypt-armor-in-region): Make error message clearer.
10089 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10091         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10092         and "a2b" to "ab" for `prefix'.
10094 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
10096         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10097         filter groups.
10098         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
10099         Fourquet (Bug#8804).
10101 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
10103         * startup.el (argi): Declare as global variable (bug#9275).
10105 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
10107         * subr.el (string-mark-left-to-right): Search the entire string
10108         for RTL script, not just the terminating character.  Doc fix.
10110 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10112         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10113         New function.
10114         (js--regexp-literal, js-syntax-propertize-function): Remove.
10115         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10116         (js-mode-map): Don't rebind electric keys.
10117         (js-insert-and-indent): Remove.
10118         (js-mode): Setup electric-layout and electric-indent instead.
10120         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10122 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
10124         * epa.el (epa-progress-callback-function): Fix the logic of
10125         displaying progress.
10126         * epa-file.el (epa-file-insert-file-contents): Make progress
10127         display more user-friendly.
10128         (epa-file-write-region): Ditto.
10130 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
10132         * subr.el (string-mark-left-to-right): New function.
10134         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10135         Use string-mark-left-to-right.
10136         (list-buffers-noselect): Caller changed.
10138         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10139         Use string-mark-left-to-right.
10140         (tabulated-list-print): Recenter after moving point.
10142 2011-08-10  Juri Linkov  <juri@jurta.org>
10144         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10145         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10146         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10148 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
10150         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10151         (Bug#7554).
10153 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10155         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10156         character.  (Bug#6594)
10158 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
10160         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10161         (image-dired--with-db-file): New macro.
10162         (image-dired-write-tags, image-dired-remove-tag)
10163         (image-dired-create-gallery-lists, image-dired-write-comments)
10164         (image-dired-get-comment, image-dired-mark-tagged-files)
10165         (image-dired-list-tags, image-dired-gallery-generate): Use it.
10166         (image-dired-gallery-generate): Use insert-file-contents.
10168         * time.el (display-time-world-list, display-time-world-display):
10169         * time-stamp.el (time-stamp-string):
10170         * vc/add-log.el (add-change-log-entry): Use setenv instead of
10171         set-time-zone-rule (Bug#7337).
10173 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
10175         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10176         (epg-error-to-string, epg-errors-to-string): New function.
10177         (epg-wait-for-completion): Reverse errors list.
10178         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10179         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10180         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10181         (epg-sign-keys, epg-generate-key-from-file)
10182         (epg-generate-key-from-string): Format errors by using
10183         epg-errors-to-string (bug#9255).
10184         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10186 2011-08-07  Juri Linkov  <juri@jurta.org>
10188         * faces.el (list-faces-display): Remove extra angle bracket
10189         from `help-mode-map'.
10191         * info.el (Info-history-toc-nodes): Doc fix.
10193         * longlines.el (longlines-mode): Doc fix.
10195 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10197         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10198         of statements and in a few more cases (bug#9183).
10200         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10201         New functions.
10202         (cl-transform-lambda): Use them (bug#9239).
10204 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
10206         * window.el (display-buffer-same-window)
10207         (display-buffer-same-frame, display-buffer-other-window)
10208         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10209         (pop-to-buffer-other-window)
10210         (pop-to-buffer-same-frame-other-window)
10211         (pop-to-buffer-other-frame): Make them defuns.
10212         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10214 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10216         * subr.el (make-composed-keymap): Move from C.  Change calling
10217         convention, and improve docstring to bring attention to a subtle point.
10218         * minibuffer.el (completing-read-default): Adjust accordingly.
10220 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
10222         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10223         (tramp-open-shell): Use `tramp-shell-quote-argument'.
10225         * net/trampver.el: Update release number.
10227 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10229         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10230         "in" (bug#9190).
10232 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10234         * mail/sendmail.el (sendmail-query-once): Restore the current
10235         buffer after querying (bug#9074).
10237         * dired.el (dired-flagged): Use different faces for marked and
10238         flagged files (bug#6117).
10240         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10241         (bug#4433).
10243         * ido.el (ido-mode): Switch off the message if called
10244         non-interactively.
10246         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10247         before 587, since it appears that that's more likely to work for
10248         more people.
10250         * cus-edit.el (custom-file): When running under emacs -q, always
10251         refuse to save the customizations, even if the .emacs file doesn't
10252         exist.
10254         * info.el: Remove the `Info-beginning-of-buffer' function
10255         (bug#8325).
10257         * net/network-stream.el (network-stream-open-starttls):
10258         Use `starttls-available-p' to see whether starttls.el can be used.
10260 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
10262         * window.el (display-buffer-in-window): Don't set dedicated status
10263         of window here (Bug#9215).
10264         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10265         (display-buffer-pop-up-side-window)
10266         (display-buffer-in-side-window): Set dedicated status of window here.
10268 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10270         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10271         before binding generated-autoload-file.
10273 2011-08-01  Deniz Dogan  <deniz@dogan.se>
10275         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10277 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
10279         Sync with Tramp 2.2.2.
10281         * net/trampver.el: Update release number.
10283 2011-07-30  Juri Linkov  <juri@jurta.org>
10285         * dired-aux.el (dired-touch-initial): Remove function.
10286         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10287         current time, and `default' to the last modification time of the
10288         current marked file (bug#6887).
10290 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
10292         * simple.el (goto-line): Use string-to-number to provide a
10293         numeric argument to read-number (bug#9163).
10295 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
10297         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10298         connection process, it could be nil.
10300 2011-07-27  Leo Liu  <sdl.web@gmail.com>
10302         Simplify url handling in rcirc-mode.
10304         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10305         (rcirc-browse-url-at-mouse): Remove.
10306         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10308 2011-07-26  Alan Mackenzie  <acm@muc.de>
10310         Fontify bitfield declarations properly.
10312         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10313         (c-symbol-chars): Now exported as a lang variable.
10314         (c-not-primitive-type-keywords): New lang variable.
10316         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10317         QT keyword "more" to prevent "more slots: ...." being spuriously
10318         parsed as a bitfield declaration.
10320         * progmodes/cc-engine.el (c-beginning-of-statement-1):
10321         Refactor and enhance to handle bitfield declarations.
10322         (c-punctuation-in): New function.
10323         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10324         declarations properly.
10326 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
10328         * calendar/icalendar.el (icalendar--all-events): Take care of
10329         multiple vcalendars in a single file.
10330         (icalendar--convert-float-to-ical): Checkdoc fixes.
10332 2011-07-25  Deniz Dogan  <deniz@dogan.se>
10334         * image.el (insert-image): Clarifying docstring.
10336 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
10338         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10339         `tramp-send-command-and-check' if there is no error.
10340         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10342 2011-07-22  Alan Mackenzie  <acm@muc.de>
10344         Prevent cc-langs.elc being loaded at run time.
10346         * progmodes/cc-mode.el: Remove two autoload forms which loaded
10347         cc-langs.
10349         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10350         "(require 'cc-langs)".  Quote a form so it will evaluate at
10351         (cc-mode's) compilation time.
10353 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
10355         * net/tramp.el (tramp-file-name-handler): Avoid recursive
10356         loading.  (Bug#9114)
10358 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
10360         * window.el (display-buffer-pop-up-window)
10361         (display-buffer-pop-up-side-window)
10362         (display-buffer-in-side-window): Call display-buffer-set-height
10363         and display-buffer-set-width after setting the new window's
10364         buffer so `fit-window-to-buffer' and friends work on the right buffer.
10366 2011-07-20  Sam Steingold  <sds@gnu.org>
10368         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10369         (etags-tags-included-tables): Call `convert-standard-filename' on
10370         the file names contained in TAGS so that windows Emacs can handle
10371         TAGS files created by cygwin ctags.
10373 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10375         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10376         which apparently didn't work.
10378 2011-07-19  Roland Winkler  <winkler@gnu.org>
10380         * proced.el (proced-send-signal): For *Marked Processes* buffer
10381         put point at beginning of buffer.
10383 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
10385         * proced.el (proced-format): Make header lines align with the text
10386         (bug#1779).
10388 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10390         * view.el (view-buffer): Allow running in `special' modes if we're
10391         visiting a file (bug#8615).
10393 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
10395         * window.el (display-buffer-alist-of-strings-p)
10396         (display-buffer-alist-set-1, display-buffer-alist-set-2):
10397         New functions.
10398         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10399         more accurately.
10401 2011-07-18  Alan Mackenzie  <acm@muc.de>
10403         Fontify declarators properly when, e.g., a jit-lock chunk begins
10404         inside a declaration.
10406         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10408         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10409         New function.
10410         (c-complex-decl-matchers): Insert reference to
10411         c-font-lock-enclosing-decls.
10413         * progmodes/cc-engine.el (c-backward-single-comment):
10414         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10415         to nil around calls to (forward-comment -1).
10417 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10419         * image.el (put-image): Doc typo fix.
10421         * progmodes/etags.el (tags-search): Doc typo fix.
10423         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10424         password if we get errors 550 to 554.
10426 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10428         * net/gnutls.el (gnutls-log-level): Remove.
10430         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10431         indentation character (bug#6380).
10433         * files.el (buffer-offer-save): Made permanently local (bug#6241).
10435         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10436         to clarify what the problem is (bug#4291).
10438         * simple.el (current-kill): Clarify what
10439         `interprogram-paste-function' does (bug#7500).
10440         (auto-fill-mode): Document `auto-fill-function' in relation to
10441         `auto-fill-mode' (bug#2470).
10443 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
10445         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10446         method if slot is read-only (bug#9035).
10448 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
10450         * frame.el (select-frame-set-input-focus): New argument NORECORD.
10451         * window.el (pop-to-buffer): Select window used even if it was
10452         selected before, see discussion of (Bug#8615), (Bug#6954).
10453         Pass argument NORECORD on to select-frame-set-input-focus.
10455 2011-07-15  Glenn Morris  <rgm@gnu.org>
10457         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
10458         Respect help-form.
10460 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
10462         * net/gnutls.el (gnutls-min-prime-bits): New variable.
10463         (gnutls-negotiate): Use it.
10465 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10467         * net/gnutls.el (gnutls-negotiate):
10468         Upcase `gnutls-algorithm-priority'.
10470 2011-07-15  Glenn Morris  <rgm@gnu.org>
10472         * jka-compr.el (jka-compr-verbose): Move from here...
10473         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
10474         Add missing :version tag.
10475         * info.el: No need to require jka-compr when compiling.
10477 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10479         * net/gnutls.el (gnutls-algorithm-priority): New variable.
10480         (gnutls-negotiate): Use it.
10482         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10484         * info.el (Info-beginning-of-buffer): New command.
10485         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10486         announcing `b' as the key (bug#8325).
10487         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10489         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10491         * international/mule-cmds.el
10492         (describe-specified-language-support): Make the error message
10493         clearer (bug#8905).
10495         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10497         * isearch.el (isearch-barrier): Add a doc string, since it's
10498         mentioned in a function doc string (bug#8678).
10500 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
10502         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10503         buffer argument (Bug#9083) and self-identifying label argument.
10505 2011-07-15  Glenn Morris  <rgm@gnu.org>
10507         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
10509 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10511         * man.el (Man-fontify-manpage): Fix message when formatting the
10512         man page (bug#7929).
10514 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10516         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10517         argument LRM; if non-nil, append an invisible LRM character to the
10518         buffer name.
10519         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10520         last argument non-nil, when formatting buffer names.
10521         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10522         paragraph direction.
10524 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10526         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10527         the man page name (bug#7929).
10529         * image.el (put-image): Mention the `put-image' overlay property
10530         (bug#7834).
10532         * scroll-bar.el (set-scroll-bar-mode): Mention that
10533         `scroll-bar-mode' lists the values (bug#7772).
10535         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10536         command (bug#7729).
10538         * rect.el (apply-on-rectangle): Return the point after the last
10539         operation.
10540         (string-rectangle): Go to the point after the last operation
10541         (bug#7522).
10543         * printing.el (pr-toggle-region): Clarify the documentation
10544         slightly (bug#7493).
10546         * time.el (display-time-update):
10547         Allow `display-time-mail-function' to return nil (bug#7158).
10548         Fix suggested by Detlev Zundel.
10550         * vc/diff.el (diff): Clarify the order the file names are read
10551         (bug#7111).
10553         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10554         the doc string (bug#7015).
10556         * font-lock.el (font-lock-maximum-decoration): Mention what
10557         numeric levels mean (bug#6935).
10559         * startup.el (initial-buffer-choice): Don't mention the `none'
10560         selection, which is against policy.
10562 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
10564         * window.el (display-buffer-normalize-special):
10565         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10567 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10569         * subr.el (version<, version<=, version=): Mention "-CVS" and
10570         "-12345" alpha version numbers.
10572 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10574         * bindings.el: Add advertised binding for set-mark-command
10575         (Bug#5772).
10577 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10579         * bindings.el (mode-line-other-buffer):
10580         * bookmark.el (bookmark-bmenu-2-window):
10581         * bs.el (bs-cycle-next, bs-cycle-previous):
10582         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10583         switch-to-buffer.
10585         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10586         Delete.
10588 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
10590         * follow.el (follow-debug-message, follow-redisplay):
10591         * jka-cmpr-hook.el (with-auto-compression-mode):
10592         Fix typos in docstrings.
10594 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10596         * subr.el (with-silent-modifications): Clarify somewhat what the
10597         macro inhibits (bug#6525).
10599         * simple.el (eval-expression): Note what it does if called
10600         interactively (bug#6495).
10602 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10604         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10605         Use pop-to-buffer buffer-or-name if it is nil.
10607         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10608         Remove switch-to-buffer.
10610 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10612         * files.el (make-directory): Clarify that an error will be raised
10613         if there's an error (bug#6397).
10615         * startup.el (initial-buffer-choice): Add `none' as a choice
10616         (bug#6234).
10618         * subr.el (add-hook): Clarify section about buffer-local hooks
10619         (bug#6218).
10621         * dired.el (dired-flagged): Clarify doc string (bug#6117).
10623 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10625         * tabify.el (untabify): Preserve the current column so that point
10626         doesn't move (bug#6032).
10628 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10630         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10631         Rewrite to avoid awkward possessive "s" (bug#5986).
10633 2011-07-13  Glenn Morris  <rgm@gnu.org>
10635         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
10636         (dired-insert-directory): Give a message the first time
10637         if ls is found not to support --dired.
10639 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10641         * simple.el (toggle-truncate-lines): Clarify what is toggled
10642         (bug#5580).  Text by Drew Adams.
10644 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10646         * simple.el (blink-matching-open): Make the error message from the
10647         last change less verbose.
10649 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
10651         * font-lock.el (font-lock-comment-face): Use the high contrast
10652         "yellow" color for font-lock-comment-face on low color terminals
10653         using a dark background color (bug#4221).
10655 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10657         * dired.el (dired-insert-set-properties): Make the doc string
10658         reflect what it does now (bug#5325).
10660         * simple.el (blink-matching-open): Say that we were unable to find
10661         the match within the limit, if we're limited (bug#5122).
10663         * international/mule-cmds.el (prefer-coding-system): Add an
10664         example (bug#4869).
10666         * progmodes/etags.el (tags-search): Document `file-list-form'
10667         (bug#4731).
10669 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
10671         * net/browse-url.el (browse-url-default-browser)
10672         (browse-url-browser-function): Make the default browser choice a
10673         bit more logical (bug#4300).  Also clean up the doc string.
10675 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10677         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10678         binary endings (bug#4440).
10680 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10682         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10683         which can be pretty annoying (bug#8971).
10685         * jka-compr.el (jka-compr-verbose): New variable, and use
10686         throughout (bug#8971).
10688         * info.el (Info-find-file): Fall back on the installation
10689         directory if we can't find the info node anywhere else.
10691 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
10693         * vc/vc.el (vc-revert-file):
10694         Don't set file time-stamp in the past.  (Bug#5181)
10696 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10698         * files.el (after-find-file): Give a better error message when
10699         trying to find a symlink that points to a file that doesn't exist
10700         (bug#4398).
10702         * progmodes/cc-vars.el: Remove (probably) misleading comment
10703         (bug#4396).
10705 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
10707         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10709 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10711         * mouse-sel.el: Hack restoring functionality, while keeping
10712         compatibility with 2010-07-03 changes to mouse selection.
10713         (mouse-sel-primary-overlay): New var.
10714         (mouse-sel-selection-alist): Use it.
10715         (mouse-sel-mode): Doc fix; remove points that are default features
10716         of mouse.el.
10718 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
10720         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10721         Fix previous fix (bug#2490).
10723 2011-07-12  Roland Winkler  <winkler@gnu.org>
10725         * textmodes/bibtex.el (bibtex-initialize):
10726         Use pop-to-buffer-same-window.
10727         (bibtex-search-entries): Fix interactive call.
10729 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10731         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10732         Fontise bytecomp Error lines more correctly (bug#2490).
10733         Fix suggested by Johan BockgÃ¥rd.
10735         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10737         * dired-x.el (dired-guess-default): Use `delete-dups'.
10739 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10741         * dired.el (dired-mark-prompt):
10742         * dired-aux.el (dired-read-shell-command): Doc fix.
10744 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10746         * mail/sendmail.el (sendmail-query-once):
10747         Use `customize-save-variable' unconditionally, now that it works under
10748         emacs -Q.
10750         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10752         * cus-edit.el (custom-file): Take an optional no-error variable.
10753         (customize-save-variable): Set the variable, and give a warning if
10754         running under "emacs -q".
10756 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
10758         * loadhist.el (unload-feature-special-hooks):
10759         Add `auto-coding-functions', `fill-nobreak-predicate' and
10760         `find-directory-functions' (bug#5327).
10762 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10764         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10766         * cus-edit.el (custom-guess-name-alist): -alist variables should
10767         use the `alist' type (bug#3120).  Suggested by Drew Adams.
10769         * printing.el: Add documentation to all the `pr-toggle-' commands.
10771 2011-07-11  Leo Liu  <sdl.web@gmail.com>
10773         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10774         backends where it makes sense (bug#2623).
10776 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10778         * dired-x.el (dired-guess-default): Remove duplicate shell command
10779         entries (bug#2028).
10780         (dired-guess-default): Fix grammar in doc string (bug#2028).
10781         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10783         * subr.el (remove-duplicates): New conveniency function.
10785 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10787         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10788         (bug#1526).
10790 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
10792         * window.el (display-buffer-normalize-default): Don't invert
10793         meaning of even-window-heights.  Reported by Eli Zaretskii
10794         <eliz@gnu.org>.
10796 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
10798         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10800 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
10802         * window.el (display-buffer): Fix arguments to
10803         display-buffer-reuse-window in last change.
10805         * faces.el (link): Use a less saturated blue on light backgrounds.
10807         * startup.el (fancy-startup-text, fancy-about-text)
10808         (fancy-startup-tail): Use font-lock faces, for background safety.
10810 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
10812         * emulation/viper-cmd.el (viper-change-state-to-vi):
10813         Limit triggering of abbrev expansion (Bug#9038).
10815 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
10817         * window.el (display-buffer-default-specifiers): Remove.
10818         (display-buffer-macro-specifiers): Remove default specifiers.
10819         (display-buffer-alist): Default to nil.
10820         (display-buffer-reuse-window): New optional argument other-window.
10821         (display-buffer-pop-up-window): Allow splitting internal
10822         windows.  Check whether a live window was created.
10823         (display-buffer-other-window-means-other-frame)
10824         (display-buffer-normalize-arguments): Rename to
10825         display-buffer-normalize-argument and rewrite.  Set the
10826         other-window specifier.
10827         (display-buffer-normalize-special): New function.
10828         (display-buffer-normalize-options): Rename to
10829         display-buffer-normalize-default and rewrite.
10830         (display-buffer-normalize-options-inhibit): Remove.
10831         (display-buffer-normalize-specifiers): Rewrite.
10832         (display-buffer): Process other-window specifier and call
10833         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
10834         more faithfully.
10835         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10836         (display-buffer-alist-set): Don't handle 'unset default values.
10837         (display-buffer-in-window, display-buffer-alist-set):
10838         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
10839         <tassilo@member.fsf.org>.
10841 2011-07-09  Leo Liu  <sdl.web@gmail.com>
10843         * register.el (insert-register): Restore accidental change on
10844         2011-06-26.  (Bug#9028)
10846 2011-07-09  Glenn Morris  <rgm@gnu.org>
10848         * subr.el (remq): Handle the empty list.  (Bug#9024)
10850 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
10852         * mail/sendmail.el (send-mail-function): No longer delay custom
10853         initialization.
10854         * custom.el (custom-initialize-delay): Doc fix.
10856 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10858         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10860 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
10862         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10863         human-friendly prompt.
10865 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10867         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10868         provided by a particular plugin.
10870 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10872         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10873         save customizations (with "emacs -Q"), just set the variable
10874         instead of erroring out.
10876         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10878 2011-07-08  Juri Linkov  <juri@jurta.org>
10880         * arc-mode.el (archive-zip-expunge, archive-zip-update)
10881         (archive-zip-update-case): Use 7z if found by `executable-find'.
10882         The order of searching the available programs is the same as in
10883         `archive-zip-extract' (bug#8968).
10885 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10887         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10888         (menu-bar-options-menu): Tweak descriptions.
10890 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10892         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10893         menu items into verb phrases (bug#1421).  Also refill to fit under
10894         80 columns.
10896 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10898         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10899         (Info-read-node-name): Doc fix (Bug#1084).
10901         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10902         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10903         (end-of-sexp, beginning-of-sexp)
10904         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10905         (forward-symbol, forward-same-syntax, word-at-point)
10906         (sentence-at-point): Doc fix (Bug#1144).
10908 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10910         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10911         should cover it (bug#1281).
10913         * cus-edit.el (custom-show): Mark as obsolete.
10915         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10916         negotiation fails, then possibly try again with a non-encrypted
10917         connection (bug#9017).
10919         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10920         be used.
10922 2011-07-07  Richard Stallman  <rms@gnu.org>
10924         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10925         property, and handle its changed format.
10926         Look for the correct line number.
10927         Use file's line contents (but not past first =) to find
10928         correct line in message.
10930 2011-07-07  Kenichi Handa  <handa@m17n.org>
10932         * international/characters.el (build-unicode-category-table):
10933         Delete it.
10934         (unicode-category-table): Set it by unicode-property-table-internal.
10936         * international/mule-cmds.el (char-code-property-alist): Move to
10937         to src/chartab.c.
10938         (get-char-code-property): Call unicode-property-table-internal to
10939         load a file.  Call get-unicode-property-internal where necessary.
10940         (put-char-code-property): Call unicode-property-table-internal to
10941         load a file.  Call put-unicode-property-internal where necessary.
10942         put-unicode-property-internal where necessary.
10943         (char-code-property-description):
10944         Call unicode-property-table-internal to load a file.
10946         * international/charprop.el:
10947         * international/uni-bidi.el:
10948         * international/uni-category.el:
10949         * international/uni-combining.el:
10950         * international/uni-comment.el:
10951         * international/uni-decimal.el:
10952         * international/uni-decomposition.el:
10953         * international/uni-digit.el:
10954         * international/uni-lowercase.el:
10955         * international/uni-mirrored.el:
10956         * international/uni-name.el:
10957         * international/uni-numeric.el:
10958         * international/uni-old-name.el:
10959         * international/uni-titlecase.el:
10960         * international/uni-uppercase.el: Regenerate.
10962         * loadup.el: Load international/charprop.el before
10963         international/characters.
10965 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10967         * window.el (next-buffer, previous-buffer): Signal an error if
10968         called from a minibuffer window.
10970         * bindings.el: Revert 2011-07-04 change.
10972 2011-07-06  Richard Stallman  <rms@gnu.org>
10974         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10975         (rmail-mime-insert-bulk, rmail-mime-insert-text):
10976         Treat markers like ints.
10977         (rmail-mime-entity): Doc fix.
10979 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10981         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10982         defcustom again for backwards compatibility.
10984         * simple.el (shell-command-on-region): Fill.
10986         * dired-aux.el (dired-kill-line): Add a doc string.
10988         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10989         to "\\sw\\|\\s_" (bug#358).
10991         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10992         (dired-unmark-backward): Ditto.
10993         (dired-flag-backup-files): Ditto.
10995         * dired-x.el (dired-mark-sexp): Ditto.
10997 2011-07-06  Richard Stallman  <rms@gnu.org>
10999         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11000         (rmail-mime-entity): New arg TRUNCATED.
11001         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11002         New functions.
11003         (rmail-mime-save): Warn if entity is truncated.
11004         (rmail-mime-toggle-hidden): Likewise, for showing.
11005         (rmail-mime-process-multipart): Record when an entity is truncated.
11007         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11008         if ENTITY is a string.
11010 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11012         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11013         of faces when `M-C-x'-ing their definitions (bug#8378).
11014         Also clean up the code slightly.
11016         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11017         because that makes the colors go away.
11019         * mail/sendmail.el (send-mail-function): Change the default to
11020         `sendmail-query-once'.
11021         (sendmail-query-once): Add an autoload cookie.
11023         * net/network-stream.el (network-stream-open-starttls): Try using
11024         a plain connection even if the server offered STARTTLS, and we
11025         kinda wanted to use it, if Emacs doesn't have any STARTTLS
11026         capability.  This should make smtpmail.el work in slightly more
11027         configurations.
11029 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
11031         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11032         New defun.
11033         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11035 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
11037         * progmodes/sql.el: Version 3.0
11038         (sql-product-alist): Add product :completion-object,
11039         :completion-column, and :statement attributes.
11040         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11041         (sql-mode-syntax-table): Mark all punctuation.
11042         (sql-font-lock-keywords-builder): Temporarily remove fallback on
11043         ansi keywords.
11044         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11045         (sql-mode-oracle-font-lock-keywords): Improve.
11046         (sql-oracle-show-reserved-words): New function for development.
11047         (sql-product-font-lock): Simplify for source code buffers.
11048         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11049         New functions.
11050         (sql-highlight-product): Set product specific syntax table.
11051         (sql-mode-map): Add statement movement functions.
11052         (sql-ansi-statement-starters, sql-oracle-statement-starters):
11053         New variable.
11054         (sql-statement-regexp, sql-beginning-of-statement)
11055         (sql-end-of-statement, sql-signum): New functions.
11056         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11057         (sql-show-sqli-buffer): Bug fix.
11058         (sql-interactive-mode): Store connection data as buffer local.
11059         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
11060         with sql-interactive-mode.
11061         (sql-save-connection): Save buffer local settings.
11062         (sql-connection-menu-filter): Change menu entry name.
11063         (sql-product-interactive): Bug fix.
11064         (sql-preoutput-hold): New variable.
11065         (sql-interactive-remove-continuation-prompt): Bug fixes.
11066         (sql-debug-redirect): New variable.
11067         (sql-str-literal): New function.
11068         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11069         Redesign.
11070         (sql-oracle-save-settings, sql-oracle-restore-settings)
11071         (sql-oracle-list-all, sql-oracle-list-table): New functions.
11072         (sql-completion-object, sql-completion-column)
11073         (sql-completion-sqlbuf): New variables.
11074         (sql-build-completions-1, sql-build-completions)
11075         (sql-try-completion): New functions.
11076         (sql-read-table-name): Use them.
11077         (sql-contains-names): New buffer local variable.
11078         (sql-list-all, sql-list-table): Use it.
11079         (sql-oracle-completion-types): New variable.
11080         (sql-oracle-completion-object, sql-sqlite-completion-object)
11081         (sql-postgres-completion-object): New functions.
11083 2011-07-06  Glenn Morris  <rgm@gnu.org>
11085         * window.el (pop-to-buffer): Doc fix.
11087 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
11089         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11091 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
11093         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11095         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11097 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
11099         * button.el (button): Inherit from link face.  Suggested by Dan
11100         Nicolaescu.
11102 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11104         * progmodes/gdb-mi.el: Fit in 80 columns.
11105         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11106         switch-to-buffer.
11108         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11109         if imenu is simply not configured (bug#8941).
11111 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
11113         * allout.el (allout-post-undo-hook): New allout outline-change
11114         event hook to signal undo activity.
11115         (allout-post-command-business): Run allout-post-undo-hook if an
11116         undo just occurred.
11117         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11118         * allout-widgets.el (allout-widgets-after-undo-function):
11119         Ensure the integrity of the current item's decoration after it has been
11120         in the vicinity of an undo.
11121         (allout-widgets-mode): Include allout-widgets-after-undo-function
11122         on the new allout-post-undo-hook.
11124 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11126         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11127         Let define-derived-mode define it.
11128         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11129         cycles of abbrev-table inheritance (bug#8998).
11131 2011-07-05  Roland Winkler  <winkler@gnu.org>
11133         * textmodes/bibtex.el: Add support for biblatex.
11134         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11135         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11136         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11137         (bibtex-entry-alist, bibtex-field-alist): New variables.
11138         (bibtex-entry-field-alist): Obsolete alias for
11139         bibtex-BibTeX-entry-alist.
11140         (bibtex-entry-alist, bibtex-field-alist): New widgets.
11141         (bibtex-set-dialect): New command.
11142         (bibtex-entry-type, bibtex-entry-head)
11143         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11144         Bind via bibtex-set-dialect.
11145         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11146         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11147         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11148         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11149         Define via bibtex-set-dialect.
11150         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11151         Obey bibtex-no-opt-remove-re.
11152         (bibtex-vec-push, bibtex-vec-incr): New functions.
11153         (bibtex-format-entry, bibtex-field-list)
11154         (bibtex-print-help-message, bibtex-validate)
11155         (bibtex-search-entries): Use new format of bibtex-entry-alist.
11157 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11159         * progmodes/compile.el (compilation-goto-locus):
11160         * net/tramp-cmds.el (tramp-append-tramp-buffers):
11161         * bs.el (bs-cycle-next, bs-cycle-previous):
11162         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11163         * bindings.el (mode-line-other-buffer):
11164         * autoinsert.el (auto-insert):
11165         * arc-mode.el (archive-extract):
11166         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11168 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11170         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11171         Fix check of `emacs-lock-unlockable-modes'.
11172         Coerce true values of `emacs-lock--try-unlocking' to t.
11174 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11176         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11177         * emacs-lock.el: New file.
11179 2011-07-05  Julien Danjou  <julien@danjou.info>
11181         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11182         than `boundp' to check if face is set.
11184 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11186         * register.el (registerv-make):
11187         * window.el (window-min-height): Fix typos in docstrings.
11189 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
11191         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11192         Update doc string.
11194 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11196         * server.el (server-execute): Catch quit and call
11197         `server-return-error' to pass the error back to emacsclient and
11198         close the connection (bug#8942).
11200 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
11202         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11203         insecure exception for current topic.  Also note that auto-saves
11204         are handled differently.
11206         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11207         State variables for tracking auto-save inhibition situation.
11209         (allout-write-contents-hook-handler): Rename from
11210         'allout-write-file-hook-handler', and describe how it depends on
11211         write-contents-functions sensitivity to non-nil value to prevent
11212         file write.
11214         (allout-auto-save-hook-handler): Remove.  auto-save does not check
11215         this in individual buffers, only in the starting buffer, so this
11216         is not the right way for us to inhibit auto-save in a buffer
11217         according to its condition.
11219         (allout-mode): Use new allout-write-contents-hook-handler, and
11220         only with write-contents-functions.  Remove auto-save provisions -
11221         they're implemented elsewhere.
11223         (allout-before-change-handler): If undo is in progress, note that
11224         for attention of allout-post-command-business.
11226         (allout-post-command-business): If the command we're following was
11227         an undo, check for change in the status of encrypted items and
11228         adjust auto-save inhibitions accordingly.
11230         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11231         according to whether there are or aren't any plain-text topics
11232         pending encryption.
11234         (allout-inhibit-auto-save-info-for-decryption):
11235         Adjust buffer-saved-size and some allout state to inhibit auto-saves
11236         if there are plain-text topics pending encryption.
11238         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11239         buffer-saved-size and some allout state to not inhibit auto-saves
11240         if there are no longer any plain-text topics pending encryption.
11242         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11243         No longer provide for exemption of the current topic.
11245 2011-07-04  Juri Linkov  <juri@jurta.org>
11247         Add 7z operations to delete and save changed members (bug#8968).
11248         * arc-mode.el (archive-7z-expunge, archive-7z-update):
11249         New defcustoms.
11250         (archive-7z-write-file-member): New function.
11251         (archive-7z-summarize): Fix the number of dashes in the
11252         listing output.
11254 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11256         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11257         (bug#8958).
11259 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
11261         * bindings.el: Ignore next-buffer and previous-buffer in
11262         minibuffer-local-map.
11264         * font-lock.el (font-lock-builtin-face): Change light background
11265         color to dark slate blue (Bug#6693).
11267 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
11269         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11271 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11273         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11274         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11275         Add switch-to-buffer.
11277 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11279         * isearch.el (isearch-search-fun-function): Clarify further the
11280         meaning of the function returned.
11282 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
11284         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11286         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11287         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11288         Use it.
11289         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
11290         `tramp-default-remote-path' does not exist.
11291         (tramp-send-command-and-read): New optional argument NOERROR.
11292         (tramp-open-connection-setup-interactive-shell)
11293         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11294         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11295         (tramp-process-sentinel): Flush also process' connection property.
11296         (tramp-sh-handle-start-file-process): Do not set process
11297         sentinel.  It is done now ...
11298         (tramp-maybe-open-connection): ... here.  (Bug#8929)
11300 2011-07-04  MON KEY  <monkey@sandpframing.com>
11302         * play/animate.el (animate-string): Doc fixes and allow changing
11303         the buffer name (bug#5417).
11305 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11307         * play/animate.el (animation-buffer-name): Rename from *animate*.
11309 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
11311         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11312         This is simpler and helps future-proof the code.
11313         (timer-until): Use time-subtract and float-time.
11314         (timer--time-less-p): Use time-less-p.
11316 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11318         * type-break.el (timep): Use the value of `float-time' to avoid a
11319         byte-compiler warning.
11321         * server.el (server-eval-and-print): Return any result, even nil.
11323 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
11325         * type-break.el: Accept time formats that the builtins accept.
11326         (timep, type-break-time-difference): Accept any format that
11327         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11328         This is simpler and helps future-proof the code.
11329         (type-break-time-difference): Round rather than ignoring
11330         subseconds components.
11332 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11334         * info.el (Info-apropos-matches): Make non-interactive, since it
11335         doesn't seem to do anything useful as a command (bug#8829).
11337 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
11339         * frame.el (frame-background-mode, frame-set-background-mode):
11340         Move from faces.el.
11341         (frame-default-terminal-background): New function.
11343         * custom.el (custom-push-theme): Don't record faces in `changed'
11344         theme; this doesn't work correctly for per-frame face settings.
11345         (disable-theme): Use face-set-after-frame-default to reset faces.
11346         (custom--frame-color-default): New function.
11348 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11350         * dired.el (dired-flagging-regexp): Remove unused variable
11351         (bug#8769).
11353 2011-03-29  Kevin Ryde  <user42@zip.com.au>
11355         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11356         `perl-Test2' extend to match possible "fail #N" rep count
11357         (bug#8377).
11359 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11361         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11362         `smtpmail-via-smtp' now returns the error instead of nil.
11364         * isearch.el (isearch-search-fun-function): Clarify the doc string
11365         (bug#8101).
11367 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
11369         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11370         unnecessary spaces (bug#8987).
11372 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11374         * net/network-stream.el (open-network-stream): Use the
11375         :end-of-capability command thoughout.
11377 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
11379         * net/network-stream.el (open-network-stream): Add the
11380         :end-of-capability command parameter, used by pop3.el.
11382 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11384         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11386         * fringe.el (fringe-query-style): Remove redundant text " (type ?
11387         for list)" (bug#6475).
11389         * files.el (file-expand-wildcards): Ignore non-readable
11390         sub-directories while trying to find matches instead of signaling
11391         an error (bug#6297).
11393         * man.el (Man-reference-regexp): Allow matching possible
11394         word-wrapped references (bug#6289).
11396         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11397         for consistency with the other vc buffers (bug#6197).
11398         (vc-checkin): Ditto.
11400         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11402         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11404 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11406         * custom.el (defcustom): Clarify that :set is only used in the
11407         Customize user interface (bug#6089).
11409         * progmodes/flymake.el (flymake-mode): If the buffer isn't
11410         associated with a file, refuse to run instead of erroring out
11411         (bug#6084).
11413         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11414         the doc string, since it appears that using `fill-column' always
11415         controls the width (bug#7845).
11417         * simple.el (shell-command-on-region): Say where the error output
11418         went if `shell-command-default-error-buffer' is set (bug#6857).
11420 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
11422         * allout.el (allout-yank-processing): Adjust cursor position for
11423         backwards-deleted space.
11425         (allout-rebullet-heading): Register changes with
11426         allout-exposure-changed-hook, so the modified topic is properly
11427         decorated.
11429 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11431         * minibuffer.el (completion-in-region): Document PREDICATE
11432         (bug#7136).
11434         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11435         of keyword/argument pairs (bug#6904).
11437         * replace.el (multi-occur):
11438         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11440 2011-07-02  Drew Adams  <drew.adams@oracle.com>
11442         * dired.el (dired-mark-if): Make the message about whether it's
11443         marking or unmarking clearer (bug#8523).
11445 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11447         * disp-table.el (display-table-print-array): New function.
11448         (describe-display-table): Use it to print the vectors more pretty
11449         (Bug#8859).
11451 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
11453         * window.el (window-state-get-1): Don't assign clone numbers.
11454         Add clone-of item to list of window parameters.
11455         (window-state-put-2): Don't process clone numbers.
11456         (display-buffer-alist): Fix doc-string.
11458 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11460         * subr.el (remq): Don't allocate if it's not needed.
11461         (keymap--menu-item-binding, keymap--menu-item-with-binding)
11462         (keymap--merge-bindings): New functions.
11463         (keymap-canonicalize): Use them to refine the canonicalization.
11464         * minibuffer.el (minibuffer-local-completion-map)
11465         (minibuffer-local-must-match-map): Move initialization from C.
11466         (minibuffer-local-filename-completion-map): Move initialization from C;
11467         don't inherit from anything here.
11468         (minibuffer-local-filename-must-match-map): Make obsolete.
11469         (completing-read-default): Use make-composed-keymap to combine
11470         minibuffer-local-filename-completion-map with either
11471         minibuffer-local-must-match-map or
11472         minibuffer-local-filename-completion-map.
11474 2011-07-01  Glenn Morris  <rgm@gnu.org>
11476         * type-break.el (type-break-time-sum): Use dolist.
11478         * textmodes/flyspell.el (flyspell-word-search-backward):
11479         Replace CL function.
11481 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11483         * mouse.el (mouse--strip-first-event): New function.
11484         (function-key-map): Use it to map fringe clicks to normal clicks
11485         by default.
11487         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11488         (vc-bzr-revision-completion-table): Add support for annotate and date.
11490         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11491         inherit from parent.
11493 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11495         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11496         (dired-show-file-type): Doc fixup (bug#8818).
11498         * dired.el (dired-mode): Fix up the doc string as suggested by
11499         Drew Adams (bug#8817).
11501         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11502         cookie, since the manual says that it should be possible to add
11503         this function to `find-file-hook' (bug#8709).
11505 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11507         * progmodes/cfengine.el: Moved all cfengine3.el functionality
11508         here.  Noted Ted Zlatanov as the maintainer.
11509         (cfengine-common-settings, cfengine-common-syntax): New functions
11510         to set up common things between `cfengine-mode' and
11511         `cfengine3-mode'.
11512         (cfengine3-mode): New mode.
11513         (cfengine3-defuns cfengine3-defuns-regex
11514         (cfengine3-class-selector-regex cfengine3-category-regex)
11515         (cfengine3-vartypes cfengine3-font-lock-keywords)
11516         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11517         (cfengine3-indent-line): Add from cfengine3.el.
11519 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
11521         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11523         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11525 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
11527         * window.el (same-window-buffer-names, same-window-regexps)
11528         (same-window-p, special-display-frame-alist)
11529         (special-display-popup-frame, special-display-function)
11530         (special-display-buffer-names, special-display-regexps)
11531         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11532         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11533         (split-window-preferred-function, split-height-threshold)
11534         (split-width-threshold, even-window-heights)
11535         (display-buffer-mark-dedicated, window-splittable-p)
11536         (split-window-sensibly, window-safely-shrinkable-p):
11537         Un-obsolete.
11538         (display-buffer): Don't spread args with function specifier
11539         because special-display-popup-frame won't like it.
11541 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
11543         Time-stamp simplifications and fixes.
11544         These improve accuracy slightly, and future-proof the code
11545         against some potential changes to current-time format.
11547         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11548         by using time-since and float-time.
11550         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11551         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
11552         + NNN microseconds".
11554         * type-break.el (type-break-time-sum): Rewrite using time-add.
11556         * play/hanoi.el (hanoi-current-time-float): Remove.
11557         All uses replaced by float-time.
11559         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11560         This yields a more-accurate answer.
11561         (rng-time-to-float): Remove; no longer needed.
11563         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11565         * calendar/timeclock.el (timeclock-seconds-to-time):
11566         Defalias to seconds-to-time, since they're the same thing.
11568         * emacs-lisp/elp.el (elp-elapsed-time):
11569         * emacs-lisp/benchmark.el (benchmark-elapse):
11570         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11572 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11574         * window.el (bury-buffer): Don't iconify the only frame.
11575         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11576         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
11578 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
11580         * eshell/em-smart.el (eshell-smart-display-navigate-list):
11581         Add mouse-yank-primary.
11583 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11585         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11587 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11589         * emacs-lisp/find-func.el (find-library--load-name): New fun.
11590         (find-library-name): Use it to find relative load names when provided
11591         absolute file name (bug#8803).
11593 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11595         * textmodes/flyspell.el (flyspell-word): Consider words that
11596         differ only in case as potential doublons (bug#5687).
11598         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11599         Remove two rather uninteresting debugging-like messages to make
11600         debbugs.el more silent.
11602         * comint.el (comint-password-prompt-regexp): Accept "Response" as
11603         a password-like phrase.
11605 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
11607         * progmodes/cc-guess.el: New file.
11609         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11611         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11612         derived from `c-basic-common-init'.
11614         * progmodes/cc-mode.el (top-level): Require cc-guess.
11615         (c-basic-common-init): Use `cc-choose-style-for-mode'.
11617 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
11619         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11621 2011-06-30  Alan Mackenzie  <acm@muc.de>
11623         * progmodes/cc-engine.el (c-guess-continued-construct):
11624         Correct the handling of template-args-cont, particularly for when font
11625         lock is disabled.  Name this case as "CASE G".
11627 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
11629         * allout.el (allout-yank-processing): Fix injection of extra space
11630         between bullet and non-whitespace character in first topic when
11631         pasting, ensuring that the actual spacing in the pasted topic
11632         following the bullet char is preserved.  This extra space was
11633         causing pasted encrypted topics to get a decrypted status even
11634         when the content was actually still encrypted.  Now the decryption
11635         status from before the paste is preserved.
11637         (allout-flag-region): Set all allout overlays so they evaporate
11638         when reduced to zero length (evanescent), to prevent overlay
11639         leakage.
11641 2011-06-30  Glenn Morris  <rgm@gnu.org>
11643         * w32-fns.el (w32-charset-info-alist): Declare.
11645         * find-dired.el (find-grep-options): Simplify.
11647         * term/ns-win.el (ns-set-resource): Declare.
11649         * ses.el (row, col): Declare dynamic variables honestly.
11651         * textmodes/reftex-parse.el (index-tags): Declare.
11653 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
11655         * cus-edit.el (customize-push-and-save): New function.
11657         * files.el (hack-local-variables-confirm): Use it.
11659         * custom.el (load-theme): New arg NO-CONFIRM.
11660         Use customize-push-and-save (Bug#8720).
11661         (custom-enabled-themes): Doc fix.
11663         * cus-theme.el (customize-create-theme)
11664         (custom-theme-merge-theme): Callers to load-theme changed.
11666 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11668         * thingatpt.el (thing-at-point-short-url-regexp): Require that
11669         short URLs have at least one dot in them (bug #7614).
11671         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11672         nil, because using a pty is apparently too slow (bug #895).
11674 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11676         * mail/sendmail.el (sendmail-query-once): New function.
11677         (sendmail-query-once-function): New variable.
11679 2011-06-29  Glenn Morris  <rgm@gnu.org>
11681         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11683         * ses.el (top-level): Require cl when compiling.
11684         (ses-set-localvars): Fix error statement.
11685         Call it at compile time to silence a storm of warnings.
11687 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
11689         * window.el (normalize-live-buffer): Rename to
11690         window-normalize-buffer.
11691         (normalize-live-frame): Rename to window-normalize-frame.
11692         (normalize-any-window): Rename to window-normalize-any-window.
11693         (normalize-live-window): Rename to window-normalize-live-window.
11694         (make-window-atom): Rename to window-make-atom.
11695         (window-resize-reset): Rename to window--resize-reset.
11696         (window-resize-reset-1): Rename to window--resize-reset-1.
11697         (resize-mini-window): Rename to window--resize-mini-window.
11698         (resize-subwindows-skip-p): Rename to
11699         window--resize-subwindows-skip-p.
11700         (resize-subwindows-normal): Rename to
11701         window--resize-subwindows-normal.
11702         (resize-subwindows): Rename to window--resize-subwindows.
11703         (resize-other-windows): Rename to window--resize-siblings.
11704         (resize-this-window): Rename to window--resize-this-window.
11705         (resize-root-window): Rename to window--resize-root-window.
11706         (resize-root-window-vertically): Rename to
11707         window--resize-root-window-vertically.
11708         (normalize-buffer-to-display): Rename to
11709         window-normalize-buffer-to-display.
11710         (normalize-buffer-to-switch-to): Rename to
11711         window-normalize-buffer-to-switch-to.
11712         Correspondingly update all callers of the functions listed
11713         above.
11714         (display-buffer-alist, display-buffer-normalize-arguments)
11715         (display-buffer-normalize-options, display-buffer)
11716         (display-buffer-alist-set): Use "function" instead of
11717         "fun-with-args".
11719 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
11721         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11722         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
11723         debbugs.gnu.org.  Mention acknowledgment email.
11725 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11727         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11728         buffer multibyteness, since it shouldn't matter.
11730 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
11732         * window.el (display-buffer-in-side-window): Handle dedicated
11733         windows as in display-buffer-reuse-window.
11734         (display-buffer-normalize-alist): Use value of override
11735         specifier.
11736         (display-buffer-normalize-specifiers): Use value of
11737         other-window-means-other-frame specifier.
11738         (display-buffer-alist): Rewrite some texts in widgets.
11739         (display-buffer): Spread arguments when calling function
11740         specified by fun-with-args.
11742 2011-06-28  Deniz Dogan  <deniz@dogan.se>
11744         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11745         Unnest `let'.
11747         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11748         selectors (Bug#5732).
11749         (css-proprietary-nmstart-re): Use `regexp-opt'.
11751 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
11753         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11754         (eshell-ls-date-format): New defcustom.
11755         (eshell-ls-file): Use it.
11757 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11759         * help-fns.el (describe-variable): Fix message for terminal-local vars.
11761 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
11763         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11764         (ange-ftp-make-tmp-name): New arg.
11765         (ange-ftp-file-local-copy): Use it.
11767 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
11769         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11770         no-conversion (Bug#8870).
11772 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
11774         * window.el (window-right, window-left, window-child)
11775         (window-child-count, window-last-child)
11776         (window-iso-combination-p, walk-window-tree-1)
11777         (window-atom-check-1, window-tree-1, delete-window)
11778         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11779         new naming conventions - window-vchild, window-hchild,
11780         window-next and window-prev are now called window-top-child,
11781         window-left-child, window-next-sibling and window-prev-sibling
11782         respectively.
11783         (resize-window-reset): Rename to window-resize-reset.
11784         (resize-window-reset-1): Rename to window-resize-reset-1.
11785         (resize-window): Rename to window-resize.
11786         (window-min-height, window-min-width)
11787         (resize-mini-window, resize-this-window, resize-root-window)
11788         (resize-root-window-vertically, adjust-window-trailing-edge)
11789         (enlarge-window, shrink-window, maximize-window)
11790         (minimize-window, delete-window, quit-restore-window)
11791         (split-window, balance-windows, balance-windows-area-adjust)
11792         (balance-windows-area, window-state-put-2)
11793         (display-buffer-even-window-sizes, display-buffer-set-height)
11794         (display-buffer-set-width, set-window-text-height)
11795         (fit-window-to-buffer): Rename all "resize-window" prefixed
11796         calls to use the "window-resize" prefix convention.
11797         (display-buffer-alist): Fix symbol for label specifier.
11798         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11799         corresponding specifier.
11800         Reported by Juanma Barranquero <lekktu@gmail.com>.
11802 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11804         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11805         convention.
11806         (ses-call-printer): Does not pass an empty string to formatter when the
11807         cell is empty to keep from barking printer Calc math-format-value.
11809 2011-06-27  Richard Stallman  <rms@gnu.org>
11811         * battery.el (battery-mode-line-limit): New variable.
11812         (battery-update): Handle it.
11814         * mail/rmailmm.el (rmail-mime-process-multipart):
11815         Handle truncated messages.
11817 2011-06-27  Glenn Morris  <rgm@gnu.org>
11819         * progmodes/flymake.el (flymake-err-line-patterns):
11820         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
11822 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11824         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11825         (ses--clean-!, ses--clean-_): New functions.
11826         (ses-range): Add configurability of readout order, and conversion
11827         to Calc vector.
11829         * ses.el (ses-repair-cell-reference-all): New function.
11830         (ses-cell-symbol): Set macro as safe, so that it can be used in
11831         formulas.
11833         * ses.el: Update cycle detection algorithm.
11834         (ses-localvars): Add ses--Dijkstra-attempt-nb and
11835         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11836         (ses-set-localvars): New function.
11837         (ses-make-cell): Add property-list as a cell element.
11838         (ses-cell-property-get-fun, ses-cell-property-get)
11839         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11840         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11841         New functions.
11842         (ses-cell-property-set, ses-cell-property-pop)
11843         (ses-cell-property-get-handle): New macro.
11844         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11845         New aliases, used for code readability.
11846         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11847         cycle detection.
11848         (ses-self-reference-early-detection): New defcustom.
11849         (ses-formula-references): Robustify against self-referring cells.
11850         (ses-mode): Use ses-set-localvars.
11851         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11852         before lauching the update processing.
11853         (ses-initialize-Dijkstra-attempt): New function.
11854         (ses-recalculate-cell): Update for cycle detection based on
11855         Dijkstra algorithm.
11857         * ses.el: Fix commenting and indenting convention.
11859 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11861         * bs.el (bs-cycle-next): Complete last change.
11863 2011-06-27  Drew Adams  <drew.adams@oracle.com>
11865         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11867 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11869         * net/network-stream.el (network-stream-open-starttls):
11870         Don't re-get capabilities unless we've reestablished connection.
11871         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11873         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11874         to binary to possibly avoid line encoding issues on Windows (among
11875         other things).
11877 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11879         * net/network-stream.el (open-network-stream): Return an :error
11880         saying what the problem was, if possible.
11882         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11883         server.
11885         * net/network-stream.el (network-stream-open-starttls): If we
11886         wanted to use STARTTLS, and the server offered it, but we weren't
11887         able to because we had no STARTTLS support, then close the connection.
11888         (open-network-stream): Return an :error element, if present.
11890 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11892         * hl-line.el (hl-line-sticky-flag): Doc fix.
11893         (global-hl-line-sticky-flag): New option (Bug#8323).
11894         (global-hl-line-highlight): Obey it.
11896         * vc/vc.el (vc-revert-show-diff): Default to t.
11898 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
11900         * allout-widgets.el (allout-widgets-post-command-business):
11901         Stop decorating intermediate isearch matches.  They're not being
11902         undecorated when an isearch is continued past, and isearch
11903         automatically collapses them.  This leads to "widget leaks", where
11904         decorated items accumulate in collapsed areas.  Lines with lots of
11905         hidden widgets can slow down cursor travel, substantially.
11906         Too much complicated machinery would be needed to ensure undecoration,
11907         so we're doing without this nicety.
11909         (allout-widgets-tally-string): Don't try to do a hash-table-count
11910         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
11911         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11912         *Messages* when allout-widgets-maintain-tally is t.
11914 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
11916         * window.el (display-buffer-normalize-argument): Rename to
11917         display-buffer-normalize-arguments.  Handle special meaning of
11918         LABEL argument.  Respect special-display-function when popping up
11919         a new frame.  Fix code searching for a window showing the buffer
11920         on another frame.
11921         (display-buffer-normalize-specifiers):
11922         Call display-buffer-normalize-arguments.
11923         (display-buffer-in-window): Don't undedicate the window if its
11924         buffer remains the same.
11925         Reported by Drew Adams <drew.adams@oracle.com>.
11926         (display-buffer-alist): Add choice for same-window macro
11927         specfier.
11928         (display-buffer): Mention special meaning of LABEL argument in
11929         doc-string.  Fix quoting.  Don't pop up a new frame even as
11930         fallback.
11932 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
11934         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11935         avoid deleting the current window in some cases (bug#8911).
11937 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
11939         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11940         (Bug#8934)
11942 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11944         * net/network-stream.el (network-stream-open-starttls):
11945         Use built-in TLS support if `gnutls-available-p' is true.
11946         (network-stream-open-tls): Ditto.
11948 2011-06-26  Leo Liu  <sdl.web@gmail.com>
11950         * register.el (registerv): New struct.
11951         (registerv-make): New function.
11952         (jump-to-register, describe-register-1, insert-register):
11953         Support the jump-func, print-func and insert-func slot of a registerv
11954         struct.  (Bug#8415)
11956 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11958         * vc/vc.el (vc-revert-show-diff): New defcustom.
11959         (vc-diff-internal): New arg specifying diff buffer.
11960         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
11961         reuse an existing *vc-diff* buffer (Bug#8927).
11963         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11965 2011-06-26  Glenn Morris  <rgm@gnu.org>
11967         * progmodes/f90.el (f90-critical-indent): New option.
11968         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11969         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11970         (f90-mode): Doc fix.
11971         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11972         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11973         (f90-beginning-of-block, f90-next-block, f90-indent-region)
11974         (f90-match-end): Handle block, critical.
11976 2011-06-25  Glenn Morris  <rgm@gnu.org>
11978         * calendar/diary-lib.el (diary-included-files): Doc fix.
11979         (diary-include-files): New function, extracted from
11980         diary-include-other-diary-files and diary-mark-included-diary-files.
11981         (diary-include-other-diary-files, diary-mark-included-diary-files):
11982         Just call diary-include-files.
11983         (diary-mark-entries): Reset diary-included-files on first call.
11985         * calendar/diary-lib.el (diary-mark-entries)
11986         (diary-mark-included-diary-files):
11987         Visit included diary-files in temp buffers.
11989         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11990         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11991         (f90-start-block-re, f90-imenu-generic-expression)
11992         (f90-looking-at-program-block-start, f90-no-block-limit):
11993         Add support for submodules.
11995         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11996         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11998 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
12000         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12001         buffer-file-type before setting its value, to avoid disastrous
12002         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
12004 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
12006         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12008         * ses.el (ses-unload-function):
12009         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12011         * proced.el (proced-unload-function):
12012         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12014 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
12016         * server.el (server-create-window-system-frame): Add parameters arg.
12017         (server-process-filter): Doc fix.  Handle frame-parameters.
12019 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
12021         Fix bug#8730, bug#8781.
12023         * loadhist.el (unload--set-major-mode): New function.
12024         (unload-feature): Use it.
12026         * progmodes/python.el (python-after-info-look): Add autoload cookie.
12027         (python-unload-function): New function.
12029 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12031         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12033 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
12035         * net/browse-url.el (browse-url-firefox-program): Add icecat to
12036         the candidates list.
12038 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
12040         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12042 2011-06-23  Richard Stallman  <rms@gnu.org>
12044         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12045         (rmail-variables): Set next-error-move-function.
12046         (rmail-what-message): Take argument POS.
12047         (rmail-next-error-move): New function.
12049 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12051         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12052         messages for adjacent non-terminals.
12054 2011-06-23  Richard Stallman  <rms@gnu.org>
12056         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12057         (rmail-show-message-1): Preserve buffer modified flag.
12058         (rmail-start-mail): Don't specify use of rmail-mail-return;
12059         that's done by mail-bury now.
12060         (rmail-mail-return): Handle arg NEWBUF.
12062 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
12064         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12065         SIZE is a number.
12067 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
12069         * window.el (get-lru-window, get-mru-window)
12070         (get-largest-window): Never return a minibuffer window.
12071         (display-buffer-pop-up-window): Fix a bug that could lead to
12072         reusing the minibuffer window.
12073         (display-buffer): Pass original specifier argument to
12074         display-buffer-function instead of the normalized one.
12075         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12077 2011-06-22  Leo Liu  <sdl.web@gmail.com>
12079         * minibuffer.el (completing-read-function)
12080         (completing-read-default): Move from minibuf.c
12082 2011-06-22  Richard Stallman  <rms@gnu.org>
12084         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12085         to Rmail even if not started by a special Rmail command.
12087         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12088         Copy the buffer currently showing just one message.
12090 2011-06-22  Roland Winkler  <winkler@gnu.org>
12092         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12093         (bibtex-clean-entry): First delete the old key so that a
12094         customized algorithm for generating the new key does not get
12095         confused by the old key.
12096         (bibtex-url): Obey regexp of first step.
12097         (bibtex-search-entries): Do not use add-to-list with local
12098         list-var.
12100 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12102         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12103         stored a user name, then query for the password first, instead of
12104         waiting for SMTP to give an error message and the trying again.
12106 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
12108         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12109         BUFFER in call-process.
12111 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12113         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12114         QUIT twice.
12115         (smtpmail-try-auth-methods): Require user name and password from
12116         auth-source.
12118 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
12120         * window.el (display-buffer-default-specifiers)
12121         (display-buffer-alist): Remove entries for pop-up-frame-alist.
12122         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12123         (split-window): Normalize SIDE argument (Bug#8916).
12125         * frame.el (pop-up-frame-alist, pop-up-frame-function)
12126         (special-display-frame-alist, special-display-popup-frame):
12127         Remove duplicate declarations.  These are now in window.el.
12129 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12131         * mail/smtpmail.el (smtpmail-via-smtp):
12132         Set :use-starttls-if-possible so that we always use STARTTLS if the
12133         server supports it.  SMTP servers that support STARTTLS commonly
12134         require it.
12136         * net/network-stream.el (network-stream-open-starttls): Support
12137         upgrading to STARTTLS always, even if we don't have built-in support.
12138         (open-network-stream): Add the :always-query-capabilities keyword.
12140         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12141         upgrades with `open-network-stream', and rely solely on
12142         auth-source for all credentials.  Big changes throughout the file,
12143         but in particular:
12144         (smtpmail-auth-credentials): Remove.
12145         (smtpmail-starttls-credentials): Remove.
12146         (smtpmail-via-smtp): Check for servers saying they want AUTH after
12147         MAIL FROM, too.
12149         * net/network-stream.el (network-stream-open-starttls):
12150         Provide support for client certificates both for external and built-in
12151         STARTTLS.
12152         (auth-source): Require.
12153         (open-network-stream): Document the :client-certificate keyword.
12154         (network-stream-certificate): Change cert-cert to cert and
12155         cert-key to key.
12157 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
12159         * net/tramp-cache.el (top): Don't load the persistency file when
12160         "emacs -Q" has been called.
12162 2011-06-21  Tim Harper  <timcharper@gmail.com>
12164         * term/ns-win.el (ns-initialize-window-system):
12165         Set application-specific `ApplePressAndHoldEnabled' system
12166         resource to NO as it is not yet supported by the NS port.
12168 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
12170         * misc.el (list-dynamic-libraries--refresh): Compute header here...
12171         (list-dynamic-libraries): ...not here.
12173 2011-06-21  Leo Liu  <sdl.web@gmail.com>
12175         * subr.el (sha1): Implement sha1 using secure-hash.
12177 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
12179         * window.el (display-buffer-alist): In default value do not
12180         enforce searching a window on any but the selected frame.
12181         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12182         (display-buffer-select-window): Remove function.
12183         (display-buffer-in-window): When a window on another frame gets
12184         reused, do not select it any more but just raise its frame if
12185         necessary (Bug#8851) and (Bug#8856).
12186         (display-buffer-normalize-options): Handle pop-up-frames related
12187         options more faithfully.
12188         (pop-to-buffer): Don't rely on `display-buffer' selecting the
12189         window if it is on another frame.
12190         (display-buffer-alist, display-buffer-default-specifiers):
12191         Don't make new frame unsplittable by default.
12192         (display-buffer-normalize-argument): Fix doc-string typo and use
12193         'same-frame-other-window instead of 'other-window when associating
12194         with display-buffer-macro-specifiers.
12196 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
12198         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12199         New functions.
12200         (5x5-mode-map, 5x5-mode-menu): Bind them.
12201         (5x5-draw-grid): Tweak the solver's rendering.
12203 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12205         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12206         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12208 2011-06-21  Drew Adams  <drew.adams@oracle.com>
12210         * menu-bar.el: Use function variable instead of switch-to-buffer.
12211         (menu-bar-select-buffer-function): New variable.
12212         (menu-bar-update-buffers): Use it (bug#8876).
12214 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12216         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12217         variable's status.
12219 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
12221         * x-dnd.el (x-dnd-version-from-flags)
12222         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12223         and long as number (Bug#8899).
12224         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12226 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12228         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12229         (completion-try-completion, completion-all-completions): Compute the
12230         metadata argument if it's missing; make it optional (bug#8795).
12232         * wid-edit.el: Use lex-bind and move towards completion-at-point.
12233         (widget-complete): Use new :completion-function property.
12234         (widget-completions-at-point): New function.
12235         (default): Use :completion-function instead of :complete.
12236         (widget-default-completions): Rename from widget-default-complete;
12237         Rewrite.
12238         (widget-string-complete, widget-file-complete, widget-color-complete):
12239         Remove functions.
12240         (file, symbol, function, variable, coding-system, color):
12241         * international/mule-cmds.el (default-input-method, charset)
12242         (language-info-custom-alist):
12243         * cus-edit.el (face): Use new property :completions.
12245         * progmodes/pascal.el (pascal-completions-at-point): New function.
12246         (pascal-mode): Use it.
12247         (pascal-mode-map): Use completion-at-point.
12248         (pascal-toggle-completions): Make obsolete.
12249         (pascal-complete-word, pascal-show-completions):
12250         * progmodes/octave-mod.el (octave-complete-symbol):
12251         Redefine as obsolete alias.
12252         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12253         Signal absence of completion info for old Octave,
12254         (inferior-octave-complete): Redefine as obsolete alias.
12255         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12256         (meta-completions-at-point): Rename from meta-complete-symbol and
12257         adapt it for use on completion-at-point-functions.
12258         (meta-common-mode): Use it.
12259         (meta-looking-at-backward, meta-match-buffer): Remove.
12260         (meta-complete-symbol): Redefine as obsolete alias.
12261         (meta-common-mode-map): Use completion-at-point.
12262         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12263         (makefile-mode-map): Use completion-at-point.
12264         (makefile-completions-at-point): Rename from makefile-complete and
12265         adapt it for use on completion-at-point-functions.
12266         (makefile-mode): Use it.
12267         (makefile-complete): Redefine as obsolete alias.
12269 2011-06-20  Deniz Dogan  <deniz@dogan.se>
12271         * net/rcirc.el: Delete trailing whitespaces once and for all.
12273 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
12275         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12277 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
12279         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12281         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12283 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
12285         * window.el (display-buffer-other-window-means-other-frame):
12286         Call display-buffer-normalize-alist.
12287         (display-buffer-normalize-specifiers-1): Rename to
12288         display-buffer-normalize-argument.  New argument other-frame.
12289         Rewrite.
12290         (display-buffer-normalize-specifiers-2): Rename to
12291         display-buffer-normalize-options.
12292         (display-buffer-normalize-alist-1): New function.
12293         (display-buffer-normalize-specifiers-3): Rename to
12294         display-buffer-normalize-alist.
12295         Call display-buffer-normalize-alist-1.
12296         (display-buffer-normalize-options-inhibit): New variable.
12297         (display-buffer-normalize-specifiers): Rewrite calling
12298         display-buffer-normalize-alist,
12299         display-buffer-normalize-argument, and
12300         display-buffer-normalize-options.  Don't call the latter if
12301         display-buffer-normalize-options-inhibit is non-nil.
12302         (frame-auto-delete): New option.
12303         (window-deletable-p): Use frame-auto-delete.
12304         (window-list-no-nils, window-state-ignored-parameters)
12305         (window-state-get-1, window-state-get, window-state-put-list)
12306         (window-state-put-1, window-state-put-2, window-state-put):
12307         New functions.
12308         (display-buffer-normalize-options): Move special-display-p group
12309         after pop-up-frame group (Bug#8851) and (Bug#8856).
12311 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
12313         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12314         groups (Bug#8776).
12315         (rx-submatch-n): New function.
12316         (rx): Document it.
12318         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12319         (Bug#8768).
12321         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12323         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12325         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12326         anytime existing face settings are present (Bug#8889).
12328         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12329         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12330         Remove unused argument.
12332 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
12334         * window.el (display-buffer-default-specifiers):
12335         Remove pop-up-frame.  Add pop-up-window-min-height,
12336         pop-up-window-min-width, and another reuse-window specifier
12337         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
12338         (display-buffer-normalize-specifiers-2):
12339         Handle split-height-threshold and split-width-threshold also when
12340         pop-up-windows is unset.  Add a reuse-window specifier for the
12341         case popping up a new window fails.
12342         (special-display-popup-frame): Remove double quoting.
12343         (display-buffer-normalize-specifiers-1): Fix thinko.
12345 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12347         * shell.el (shell-completion-vars): Set pcomplete-termination-string
12348         according to comint-completion-addsuffix.
12350         * pcomplete.el: Convert to lexical binding and fix bug#8819.
12351         (pcomplete-suffix-list): Mark as obsolete.
12352         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12353         pcomplete-seen in the closure.
12354         (pcomplete-comint-setup): Setup completion-at-point as well.
12355         (pcomplete--entries): New function.
12356         (pcomplete--env-regexp): New var.
12357         (pcomplete-entries): Rewrite to work with partial-completion and
12358         without relying on pcomplete-suffix-list.
12359         (pcomplete-pare-list): Remove, unused.
12361 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12363         * window.el (display-buffer-alist): Set pop-up-window-min-height
12364         and pop-up-window-min-width in default value.  Reported by
12365         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
12366         other-window-means-other-frame.
12367         (display-buffer-macro-specifiers): Comment out entry for
12368         other-window specifier.
12369         (display-buffer-other-window-means-other-frame): New function.
12370         (display-buffer-normalize-specifiers-1): New arguments
12371         buffer-name and label.  Treat other-window case specially.
12372         (display-buffer-normalize-specifiers-2): Treat other-window case
12373         specially.
12374         (display-buffer-normalize-specifiers-3): New function.
12375         (display-buffer-normalize-specifiers):
12376         Call display-buffer-normalize-specifiers-3.
12378 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12380         * window.el (same-window-p): Fix two typos introduced when
12381         adding with-no-warnings.
12382         (display-buffer-normalize-specifiers-1): Don't check
12383         pop-up-frames for 'unset initialization.
12384         (display-buffer-normalize-specifiers-2): Major rewrite using
12385         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12386         (pop-up-frames, display-buffer-reuse-frames)
12387         (display-buffer-mark-dedicated): Don't initialize to 'unset.
12388         Suggested by David Engster <deng@randomsample.de>.
12389         (even-window-heights): Initialize to 'unset.
12390         (display-buffer-alist-set): Handle new 'unset initializations.
12391         (display-buffer-macro-specifiers): Don't pop up a new frame in the
12392         other window case.
12394 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
12396         * window.el (display-buffer-normalize-specifiers-1):
12397         Respect current value of pop-up-frames for most reasonable values of
12398         second argument of display-buffer (Bug#8865).
12399         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12400         (switch-to-buffer-other-window-same-frame)
12401         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
12402         Adams (Bug#8875).
12403         (display-buffer): Don't check noninteractive when calling
12404         display-buffer-pop-up-frame.
12405         (display-buffer-pop-up-frame): Never pop up a frame in
12406         noninteractive mode (Bug#8857).
12407         (enlarge-window, shrink-window): Don't report an error when the
12408         window can't be resized as requested (Bug#8862).
12410 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12412         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12414         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12416         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12418 2011-06-15  Alan Mackenzie  <acm@muc.de>
12420         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12421         for declarators, disable knr checking to speed up for normal files.
12422         2: Refactor, replacing a sequence of nested if forms by a cond form.
12424 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12426         * net/network-stream.el (open-network-stream): Add the keyword
12427         :always-query-capabilities for the case where you want to force a
12428         `plain' network connection, but the protocol still requires the
12429         capabilitiy command (i.e., SMTP and EHLO).
12431         * subr.el (process-live-p): Rename from `process-alive-p' for
12432         consistency with other `-live-p' functions.
12434 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12436         * window.el (same-window-buffer-names, same-window-regexps)
12437         (special-display-frame-alist, special-display-popup-frame)
12438         (special-display-function, special-display-buffer-names)
12439         (special-display-regexps, pop-up-frame-alist)
12440         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12441         (pop-up-windows, split-window-preferred-function)
12442         (split-height-threshold, split-width-threshold, even-window-heights)
12443         (display-buffer-mark-dedicated): Don't encourage the use of
12444         display-buffer-alist from Elisp code.
12446 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
12448         * progmodes/python.el (python-mode): Derive from prog-mode.
12449         * progmodes/ps-mode.el (ps-mode):
12450         * progmodes/mixal-mode.el (mixal-mode):
12451         * progmodes/cfengine.el (cfengine-mode):
12452         * progmodes/ld-script.el (ld-script-mode): Likewise.
12454 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
12456         * window.el (display-buffer-alist): Trim default value to avoid
12457         popping up a new frame (Bug#8857) or reusing an arbitrary window
12458         on another frame.
12459         (display-buffer): Do not fall back on popping up a new frame in
12460         batch mode (Bug#8857).
12462 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
12464         * cus-theme.el (describe-theme-1): Use custom-theme-p.
12465         (custom-theme-summary): New function.
12466         (customize-themes): Use it.
12468 2011-06-13  Glenn Morris  <rgm@gnu.org>
12470         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12472 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
12474         * help.el (help-window): Remove variable.
12475         (help-window-point-marker, temp-buffer-max-height)
12476         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12477         (help-print-return-message): Don't set help-window.
12478         (resize-temp-buffer-window): Rewrite cod eand doc-string.
12479         (help-window-setup-finish): Remove.
12480         (help-window-display-message, help-window-setup)
12481         (with-help-window): Major rewrite based on new
12482         display-buffer-window variable.
12484         * help-mode.el (help-mode-finish): Remove help-window related
12485         code.
12487         * view.el (view-exits-all-viewing-windows): Remove reference to
12488         view-return-to-alist in doc-string.
12489         (view-return-to-alist): Make obsolete.
12490         (view-buffer): Call pop-to-buffer-same-window and remove
12491         undo-window code.
12492         (view-buffer-other-window): Call pop-to-buffer-other-window and
12493         simplify code.  Ignore second argument.
12494         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12495         simplify code.  Ignore second argument.
12496         (view-return-to-alist-update): Make obsolete.
12497         (view-mode-enter): Rename second argument to QUIT-RESTORE.
12498         Rewrite using quit-restore window parameters.
12499         (view-mode-exit): Rename second argument to EXIT-ONLY.
12500         Rewrite using quit-restore-window.
12501         (View-exit, View-exit-and-edit, View-leave, View-quit)
12502         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12503         appropriate arguments.
12504         (view-end-message): Use quit-restore window parameter.
12506         * window.el (display-buffer-function): Rewrite doc-string.
12507         (display-buffer-window, display-buffer-alist): New variables.
12508         (display-buffer-split-specifiers)
12509         (display-buffer-side-specifiers)
12510         (display-buffer-macro-specifiers): New constants.
12511         (display-buffer-even-window-sizes, display-buffer-set-height)
12512         (display-buffer-set-width, display-buffer-select-window)
12513         (display-buffer-in-window, display-buffer-reuse-window)
12514         (display-buffer-split-window-1, display-buffer-split-window)
12515         (display-buffer-split-atom-window, display-buffer-pop-up-window)
12516         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12517         (display-buffer-in-side-window, normalize-buffer-to-display)
12518         (display-buffer-normalize-specifiers-1)
12519         (display-buffer-normalize-specifiers-2)
12520         (display-buffer-normalize-specifiers, display-buffer-frame):
12521         New functions.
12522         (display-buffer): Major rewrite.
12523         (display-buffer-other-window, display-buffer-other-frame)
12524         (pop-to-buffer, switch-to-buffer-other-window)
12525         (switch-to-buffer-other-frame): Rewrite.
12526         (display-buffer-same-window, display-buffer-same-frame)
12527         (display-buffer-same-frame-other-window)
12528         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12529         (pop-to-buffer-other-window)
12530         (pop-to-buffer-same-frame-other-window)
12531         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12532         (switch-to-buffer-other-window-same-frame): New functions.
12533         (same-window-p, special-display-p): Rewrite disabling warnings.
12534         Make obsolete.
12535         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12536         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12537         Make obsolete
12538         (same-window-buffer-names, same-window-regexps)
12539         (special-display-frame-alist, special-display-popup-frame)
12540         (special-display-function, special-display-buffer-names)
12541         (special-display-regexps, pop-up-frame-alist)
12542         (pop-up-frame-function, split-window-preferred-function)
12543         (split-height-threshold, split-width-threshold)
12544         (even-window-heights): Make obsolete.
12546 2011-06-12  Glenn Morris  <rgm@gnu.org>
12548         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
12549         Misc simplifications.
12551 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
12553         * window.el (window-safely-shrinkable-p): Restore function which
12554         was inadvertently removed in change from 2011-06-11.  Declare as
12555         obsolete.
12557         * calendar/calendar.el (calendar-generate-window):
12558         Use window-iso-combined-p instead of combination of one-window-p and
12559         window-safely-shrinkable-p.
12561 2011-06-12  Glenn Morris  <rgm@gnu.org>
12563         * progmodes/fortran.el (fortran-mode-syntax-table):
12564         * progmodes/f90.el (f90-mode-syntax-table):
12565         Set % to punctuation.  (Bug#8820)
12566         (f90-find-tag-default): Remove, no longer needed.
12568 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
12570         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12572 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
12574         * image.el (image-animated-p): Return animation delay in seconds.
12575         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12576         (image-animate-timeout): Remove DELAY argument.  Don't assume
12577         every subimage has the same delay; get it from image-animated-p.
12578         (image-animate): Caller changed.
12580 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
12582         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12583         to ignored backtrace functions.
12585 2011-06-11  Glenn Morris  <rgm@gnu.org>
12587         * calendar/appt.el (appt-disp-window-function): Doc fix.
12588         (appt-check): Handle overlapping appointments.  (Bug#8337)
12590 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
12592         * window.el (window-tree-1, window-tree): New functions, moving
12593         the latter to window.el.
12594         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12595         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12596         (bw-refresh-edges): Remove.
12597         (balance-windows-1, balance-windows-2): New functions.
12598         (balance-windows): Rewrite in terms of window tree functions,
12599         balance-windows-1 and balance-windows-2.
12600         (bw-adjust-window): Remove.
12601         (balance-windows-area-adjust): New function with functionality of
12602         bw-adjust-window but using resize-window.
12603         (set-window-text-height): Rewrite doc-string.
12604         Use normalize-live-window and resize-window.
12605         (enlarge-window-horizontally, shrink-window-horizontally):
12606         Rename argument to DELTA.
12607         (window-buffer-height): New function.
12608         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12609         Rewrite using new window resize routines.
12610         (kill-buffer-and-window, mouse-autoselect-window-select):
12611         Use ignore-errors instead of condition-case.
12612         (quit-window): Call delete-frame instead of delete-windows-on
12613         for the only buffer on frame.
12615 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12617         * loadup.el (top-level): Load window before files for the sake
12618         of replace-buffer-in-windows.
12620         * files.el (read-buffer-to-switch)
12621         (switch-to-buffer-other-window)
12622         (switch-to-buffer-other-frame, display-buffer-other-frame):
12623         Move to window.el.
12625         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12626         (previous-buffer): Move to window.el.
12628         * bindings.el (unbury-buffer): Move to window.el.
12630         * window.el (delete-other-windows-vertically): Move after
12631         definition of delete-other-windows.
12632         (other-window, delete-windows-on, replace-buffer-in-windows):
12633         Move here from window.c.
12634         (record-window-buffer, unrecord-window-buffer)
12635         (set-window-buffer-start-and-point, switch-to-prev-buffer)
12636         (switch-to-next-buffer): New functions.
12637         (get-next-valid-buffer, last-buffer, next-buffer): Move here
12638         from simple.el.  Call switch-to-next-buffer.
12639         (previous-buffer): Move here from simple.el.
12640         Call switch-to-prev-buffer.
12641         (bury-buffer): Move here from buffer.c.  Switch to previous
12642         buffer when window cannot be deleted.
12643         (unbury-buffer): Move here from bindings.el.
12644         (ctl-x-map): Move binding for other-window from window.c to
12645         here.
12646         (read-buffer-to-switch, switch-to-buffer-other-window)
12647         (switch-to-buffer-other-frame): Move here from files.el.
12648         (normalize-buffer-to-switch-to): New functions.
12649         (switch-to-buffer): Move here from buffer.c.
12650         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12652 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12654         * window.el (window-min-height, window-min-width): Move here
12655         from window.c.  Add defcustoms and rewrite doc-strings.
12656         (resize-mini-window, resize-window): New functions.
12657         (adjust-window-trailing-edge, enlarge-window, shrink-window):
12658         Move here from window.c.
12659         (maximize-window, minimize-window): New functions.
12660         (delete-window, delete-other-windows, split-window): Move here
12661         from window.c.
12662         (window-split-min-size): New function.
12663         (split-window-keep-point): Mention split-window-above-each-other
12664         instead of split-window-vertically.
12665         (split-window-above-each-other, split-window-vertically):
12666         Rename split-window-vertically to split-window-above-each-other
12667         and provide defalias for old definition.
12668         (split-window-side-by-side, split-window-horizontally):
12669         Rename split-window-horizontally to split-window-side-by-side
12670         and provide defalias for the old definition.
12671         (ctl-x-map): Move bindings for delete-window,
12672         delete-other-windows and enlarge-window here from window.c.
12673         Replace bindings for split-window-vertically and
12674         split-window-horizontally by bindings for
12675         split-window-above-each-other and split-window-side-by-side.
12677         * cus-start.el (all): Remove entries for window-min-height and
12678         window-min-width.  Add entries for window-splits and
12679         window-nest.
12681 2011-06-09  Glenn Morris  <rgm@gnu.org>
12683         * calendar/appt.el (appt-mode-line): New function.
12684         (appt-check, appt-disp-window): Use it.
12686         * files.el (hack-one-local-variable-eval-safep):
12687         Allow minor-modes with explicit +/-1 arguments.
12689 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
12691         * term/xterm.el (xterm): Add defgroup.
12692         (xterm-extra-capabilities): Add defcustom to supply known xterm
12693         capabilities, skip querying them, or query them (default).
12694         (terminal-init-xterm): Use it.
12695         (terminal-init-xterm-modify-other-keys): New function to set up
12696         modifyOtherKeys support to simplify `terminal-init-xterm'.
12698 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
12700         * window.el (resize-window-reset, resize-window-reset-1)
12701         (resize-subwindows-skip-p, resize-subwindows-normal)
12702         (resize-subwindows, resize-other-windows, resize-this-window)
12703         (resize-root-window, resize-root-window-vertically)
12704         (window-deletable-p, window-or-subwindow-p)
12705         (frame-root-window-p): New functions.
12707 2011-06-09  Glenn Morris  <rgm@gnu.org>
12709         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12710         (ange-ftp-get-files): Use it.
12712 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
12714         * mail/sendmail.el (mail-recover-1, mail-recover):
12715         * files.el (recover-file, recover-session):
12716         Handle dired-listing-switches not being just a single short option.
12718 2011-06-09  Glenn Morris  <rgm@gnu.org>
12720         * calendar/appt.el (appt-display-message, appt-disp-window):
12721         Handle lists of appointments.
12723 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12725         * window.el (one-window-p): Move down in code.
12726         Rewrite doc-string.
12727         (window-current-scroll-bars): Rewrite doc-string.
12728         Normalize live window argument.
12729         (walk-windows, get-window-with-predicate, count-windows):
12730         Rewrite doc-string.  Use window-list-1.
12731         (window-in-direction-2, window-in-direction, get-mru-window):
12732         New functions.
12734 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
12736         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12737         Doc fix (Bug#8713).
12739 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
12741         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12743 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
12745         * loadhist.el (unload-feature-special-hooks):
12746         Add `comint-output-filter-functions'.
12748 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
12750         * calendar/appt.el (appt-check): Move some initializations into the let.
12752 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12754         * window.el (window-height): Defalias to window-total-height.
12755         (window-width): Defalias to window-body-width.
12757 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
12759         * image-mode.el (image-toggle-animation): New command.
12760         (image-mode-map): Bind it to RET.
12761         (image-mode): Update message.
12762         (image-toggle-display-image): Avoid a spurious cache flush.
12763         (image-transform-rotation): Doc fix.
12764         (image-transform-properties): Return quickly in the normal case.
12765         (image-animate-loop): Rename from image-animate-max-time.
12767         * image.el (image-animate-max-time): Move to image-mode.el.
12768         (create-animated-image): Remove unnecessary function.
12769         (image-animate): Rename from image-animate-start.  New arg.
12770         (image-animate-stop): Remove; just use image-animate-timer.
12771         (image-animate-timer): Use car-safe.
12772         (image-animate-timeout): Rename argument.
12774 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
12776         * window.el (get-lru-window, get-largest-window): Move here from
12777         window.c.  Rename first argument to ALL-FRAMES.
12778         Rephrase doc-strings.
12779         (get-buffer-window-list): Rewrite using window-list-1.
12780         Rephrase doc-string.
12781         (window-safe-min-height, window-safe-min-width): New constants.
12782         (window-size-ignore, window-min-size, window-min-size-1)
12783         (window-sizable, window-sizable-p, window-size-fixed-1)
12784         (window-size-fixed-p, window-min-delta-1, window-min-delta)
12785         (window-max-delta-1, window-max-delta, window-resizable)
12786         (window-resizable-p, window-total-height, window-total-width)
12787         (window-body-width): New functions.
12788         (window-full-height-p, window-full-width-p): Rewrite using
12789         window-total-size.
12790         (window-body-height): Rewrite using window-body-size.
12792 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
12794         * window.el (window-right, window-left, window-child)
12795         (window-child-count, window-last-child, window-any-p)
12796         (normalize-live-buffer, normalize-live-frame)
12797         (normalize-any-window, normalize-live-window)
12798         (window-iso-combination-p, window-iso-combined-p)
12799         (window-iso-combinations)
12800         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12801         (windows-with-parameter, window-with-parameter)
12802         (window-atom-root, make-window-atom, window-atom-check-1)
12803         (window-atom-check, window-side-check, window-check):
12804         New functions.
12805         (ignore-window-parameters, window-sides, window-sides-vertical)
12806         (window-sides-slots): New variables.
12807         (window-size-fixed): Move down in code.  Minor doc-string fix.
12809 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
12811         * comint.el (comint-dynamic-complete-as-filename)
12812         (comint-dynamic-complete-filename): Correctly call
12813         completion-in-region.
12815 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12817         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12818         in last change.
12820 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12822         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12823         (rcirc): Use it to prompt for encryption.
12825 2011-06-05  Roland Winkler  <winkler@gnu.org>
12827         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12828         (bibtex-search-entries): New command bound to C-c C-a.
12829         (bibtex-display-entries): New function.
12831 2011-06-05  Roland Winkler  <winkler@gnu.org>
12833         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12834         (bibtex-insert-kill): After yanking insert newline if necessary.
12835         (bibtex-initialize): Call bibtex-string-files-init only once.
12836         (bibtex-mode): Do not call easy-menu-add.
12837         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12838         (bibtex-yank): Set arg properly if nil.
12840 2011-06-05  Roland Winkler  <winkler@gnu.org>
12842         * textmodes/bibtex.el (bibtex-search-entry-globally):
12843         New variable.
12844         (bibtex-search-entry): Use it.
12846 2011-06-05  Roland Winkler  <winkler@gnu.org>
12848         * textmodes/bibtex.el (bibtex-entry-format): New option
12849         sort-fields.
12850         (bibtex-format-entry, bibtex-reformat): Honor this option.
12851         (bibtex-parse-entry): Return fields in proper order.
12853 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
12855         * doc-view.el (doc-view-remove-if): Move computation of result out
12856         of `dolist' to silence misleading lexical-binding warning.
12858 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
12860         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12861         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12863 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12865         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12866         "SunOS 5.10".
12868 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12870         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12871         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12872         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12873         (tramp-parse-putty):
12874         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12875         (tramp-completion-function-alist-ssh)
12876         (tramp-completion-function-alist-telnet)
12877         (tramp-completion-function-alist-su)
12878         (tramp-completion-function-alist-putty): Set `tramp-autoload'
12879         cookie.
12881         * net/tramp-ftp.el:
12882         * net/tramp-sh.el:
12883         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12884         load "tramp.el" `tramp-set-completion-function'.
12886 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12888         * shell.el: Require and use pcomplete.
12889         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12890         (shell-completion-vars): Set pcomplete-default-completion-function.
12892 2011-06-04  Deniz Dogan  <deniz@dogan.se>
12894         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12895         `memq' (Bug#8799).
12897 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12899         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12901 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
12903         * bs.el (bs--mark-unmark, bs--nth-wrapper):
12904         * mpc.el (mpc-select-extend, mpc-songpointer-context):
12905         * vc/log-view.el (log-view-beginning-of-defun):
12906         * vc/smerge-mode.el (smerge-apply-resolution-patch)
12907         (smerge-refine-forward, smerge-refine-chopup-region):
12908         Silence warning for unused `dotimes' counter variables.
12910 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12912         * net/tramp.el (tramp-with-progress-reporter): Rename from
12913         with-progress-reporter.  Use `declare'.
12914         * net/tramp-smb.el:
12915         * net/tramp-sh.el:
12916         * net/tramp-gvfs.el: Update all uses.
12918 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
12920         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12921         buffer isn't killed before making it current.
12923 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12925         Silence various byte-compiler warnings.
12926         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12927         `access-type' and new obsolescence format.
12928         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12929         new format.
12930         (byte-compile-check-variable): New `access-type' argument.
12931         Only warn if the access-type is obsolete.
12932         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12933         (byte-compile-variable-set): Adjust callers.
12934         * help-fns.el (describe-variable): Adjust to new obsolescence format.
12935         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12936         setting it as obsolete.
12937         * simple.el (minibuffer-completing-symbol):
12938         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12939         access as obsolete.
12940         * minibuffer.el (minibuffer-completing-file-name): Don't make it
12941         obsolete yet.
12942         * international/quail.el (quail-mouse-choose-completion): Remove unused
12943         code referring to obsolete var.
12944         (quail-choose-completion-string): Remove.
12945         * server.el (server-clients-with, server-kill-buffer-query-function)
12946         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12947         * proced.el (proced-send-signal):
12948         * emacs-lisp/lisp.el (lisp-complete-symbol):
12949         Replace completion-annotate-function with completion-extra-properties.
12951 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12953         * simple.el (goto-line): Use read-number.
12954         (overriding-map-is-bound): Remove.
12955         (saved-overriding-map): Change default.
12956         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12957         Take the map as argument.
12958         (universal-argument, negative-argument, digit-argument): Use it.
12959         (restore-overriding-map): Adjust.
12960         (do-auto-fill): Use fill-forward-paragraph.
12961         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12963         * minibuffer.el (minibuffer-inactive-mode-map): New var.
12964         (minibuffer-inactive-mode): New major mode.
12965         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12966         the *Messages* buffer" hack.
12967         (mouse-popup-menubar): Don't burp if the event is a normal key.
12969         Miscellaneous tweaks.
12970         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12971         lexical scoping as in subr.el's dolist and dotimes.
12972         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12973         Silence compiler warning.
12974         * thingatpt.el (forward-whitespace): Trivial coding style fix.
12975         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12976         * international/ccl.el (ccl-compile): Trivial simplification.
12977         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12978         * emacs-lisp/testcover.el (testcover-end): Remove spurious
12979         `printflag' argument.
12980         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12981         Purecopy the whole obsolescence data.
12983 2011-06-01  Leo Liu  <sdl.web@gmail.com>
12985         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12986         improve doc-string as suggested by Marco Pessotto
12987         <melmothx@gmail.com>.
12988         (rcirc-print): Fix last change.
12990 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12992         * minibuffer.el (complete-with-action): Return nil for the metadata and
12993         boundaries of non-functional tables.
12994         (completion-table-dynamic): Return nil for the metadata.
12995         (completion-table-with-terminator): Add default case, using
12996         complete-with-action.
12997         (completion--metadata): New function.
12998         (completion-all-sorted-completions, minibuffer-completion-help): Use it
12999         to try and avoid pathological performance problems.
13000         (completion--embedded-envvar-table): Return `category' metadata.
13002 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13004         * subr.el (process-alive-p): New tiny convenience function.
13006 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13008         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13009         content but also its previous major mode.
13011 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
13013         * emacs-lisp/debug.el (debug): Restore the previous content of the
13014         *Backtrace* buffer when we exit with C-M-c.
13016 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13018         * minibuffer.el: Add metadata method to completion tables.
13019         (completion-category-overrides): New defcustom.
13020         (completion-metadata, completion--field-metadata)
13021         (completion-metadata-get, completion--styles)
13022         (completion--cycle-threshold): New functions.
13023         (completion-try-completion, completion-all-completions):
13024         Add `metadata' argument to choose completion-styles.
13025         (completion--do-completion): Use metadata to choose cycling.
13026         (completion-all-sorted-completions): Use metadata for sorting.
13027         Remove :completion-cycle-penalty which is not needed any more.
13028         (completion--try-word-completion): Add `metadata' argument.
13029         (minibuffer-completion-help): Check metadata for annotation function
13030         and sorting.
13031         (completion-file-name-table): Return `category' metadata.
13032         (minibuffer-completing-file-name): Make obsolete.
13033         * simple.el (minibuffer-completing-symbol): Make obsolete.
13034         * icomplete.el (icomplete-completions): Pass new `metadata' param to
13035         completion-try-completion.
13037 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13039         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13041 2011-05-30  Leo Liu  <sdl.web@gmail.com>
13043         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13044         (rcirc-print): Decode all incoming messages (bug#8744).
13045         (rcirc-decode-coding-system): Allow value nil for automatic coding
13046         system detection.
13048 2011-06-01  Glenn Morris  <rgm@gnu.org>
13050         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13052 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13054         * image.el (image-animate-max-time): Allow nil and t values.
13055         Default to nil.
13056         (create-animated-image): Doc fix.
13057         (image-animate-start): Remove second arg; just use
13058         image-animate-max-time.
13059         (image-animate-timeout): Doc fix.  Args changed.
13061         * image-mode.el (image-toggle-display-image): Ensure that the
13062         image spec passed to the animate timer is the same object as in
13063         the buffer's display property (Bug#6981).
13064         (image-transform-properties): Doc fix.
13066         * image.el (image-animate-max-time): Default to nil.
13068 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
13070         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13071         entire buffer list (Bug#8184).
13073 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13075         * image.el (imagemagick-types-inhibit)
13076         (imagemagick-register-types): Doc fix.
13078 2011-05-29  Deniz Dogan  <deniz@dogan.se>
13080         * net/rcirc.el (rcirc): Use the user's stored encryption method by
13081         default.
13083 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13085         * select.el: Don't perform clipboard-manager saving in hooks;
13086         leave the hooks empty.
13088 2011-05-28  Leo Liu  <sdl.web@gmail.com>
13090         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13091         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
13092         (occur-edit-mode): New major mode (Bug#8463).
13093         (occur-after-change-function): New function.
13094         (occur-engine): Give Occur tags a read-only property.
13096 2011-05-28  Kevin Ryde  <user42@zip.com.au>
13098         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13100 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13102         * bindings.el (help-echo): Make the initial non-indicator dash
13103         empty on graphical terminals (Bug#7295).
13105         * files.el (auto-mode-alist): Move config rule after the
13106         in-stripping one (Bug#8547).
13108         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13110         * startup.el (normal-splash-screen): Remove gratuitous mode-line
13111         setting (Bug#8740).
13113 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
13115         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13116         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13117         (Bug#8539).
13119 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13121         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13123 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
13125         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13126         (hs-hide-block-at-point, hs-find-block-beginning)
13127         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13128         (Bug#8279).
13130 2011-05-28  Glenn Morris  <rgm@gnu.org>
13132         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
13134 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13136         * help-fns.el (describe-function-1): If the function is a derived
13137         major mode, print the parent mode.
13139         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13140         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13142 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13144         * minibuffer.el (completion--capf-wrapper): Check applicability before
13145         returning non-nil for non-exclusive completion data.
13146         * progmodes/etags.el (tags-completion-at-point-function):
13147         * info-look.el (info-lookup-completions-at-point): Mark as
13148         non-exclusive.
13149         (info-complete): Adjust accordingly.
13151         * info-look.el: Convert to lexical-binding and completion-at-point.
13152         (info-lookup-completions-at-point): New function.
13153         (info-complete): Use it and completion-in-region.
13155 2011-05-28  Drew Adams  <drew.adams@oracle.com>
13157         * isearch.el: Let M-e start with point at the first mismatched char.
13158         (isearch-fail-pos): New function.
13159         (isearch-edit-string): Use it.
13161 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13163         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13165 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
13167         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
13168         traversal functions for avl-trees.
13169         (avl-tree--stack): New struct.
13170         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13171         (avl-tree-enter): Add optional `updatefun' arg.
13172         (avl-tree--do-enter): Add optional `updatefun' arg.
13173         Change return value.
13174         (avl-tree-delete): Add optional `test' and `nilflag' args.
13175         (avl-tree--do-delete): Add `test' and `nilflag' args.
13176         Change return value.
13177         (avl-tree-member): Add optional `nilflag'
13178         (avl-tree-member-p): New function.
13179         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13180         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13181         (avl-tree-stack-empty-p): New functions.
13183         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13184         avl-tree--del-balance1 and make it work both ways.
13185         (avl-tree--del-balance2): Remove.
13186         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13187         make it work both ways.
13188         (avl-tree--enter-balance2): Remove.
13189         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13190         New macros.
13191         (avl-tree--mapc, avl-tree-map): Add direction argument.
13193 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
13195         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13197 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
13199         * select.el: Support clipboard managers with built-in function
13200         x-clipboard-manager-save, via delete-frame-functions and
13201         kill-emacs-hook.
13202         (xselect-convert-to-targets): Add MULTIPLE target to list.
13203         (xselect-convert-to-save-targets): New function.
13205 2011-05-27  Kenichi Handa  <handa@m17n.org>
13207         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13208         let-binding rfc2047-encode-encoded-words to nil.
13210 2011-05-27  Glenn Morris  <rgm@gnu.org>
13212         * mail/emacsbug.el: Don't require url-util.
13214         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
13216         * files.el (set-auto-mode):
13217         Also respect mode: entries at the end of the file.  (Bug#8586)
13219 2011-05-26  Glenn Morris  <rgm@gnu.org>
13221         * files.el (hack-local-variables-prop-line, hack-local-variables):
13222         Downcase mode names, as seems to be traditional.
13223         (hack-local-variables, hack-local-variables-apply): Doc fixes.
13225         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13226         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
13228 2011-05-25  Julien Danjou  <julien@danjou.info>
13230         * textmodes/rst.el (rst-define-level-faces): Do not define face
13231         symbol if it is already defined.
13233 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13235         * play/5x5.el (5x5-new-game, 5x5-randomize):
13236         Reset 5x5-solver-output to nil when a new grid is cast.
13237         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13238         these debugging traces, as defmacro breaks the compiled code.
13240 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13242         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13244 2011-05-24  Leo Liu  <sdl.web@gmail.com>
13246         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13247         (vc-bzr-sha1): Adapt.
13249         * sha1.el: Remove.  Function `sha1' is now builtin.
13251         * bindings.el: Provide sha1 feature.
13253 2011-05-24  Kenichi Handa  <handa@m17n.org>
13255         * mail/sendmail.el: Require `rfc2047'.
13256         (mail-insert-from-field): Do not perform RFC2047 encoding.
13257         (mail-encode-header): New function.
13258         (sendmail-send-it): Set buffer-file-coding-system of the work
13259         buffer to the return value of select-message-coding-system.
13260         Call mail-encode-header.
13262         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13264 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
13266         * mail/supercite.el (sc-default-cite-frame):
13267         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13269 2011-05-24  Glenn Morris  <rgm@gnu.org>
13271         * progmodes/python.el (brm-menu): Declare.
13273         * emulation/viper.el (viper-set-hooks): Declare.
13275         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13276         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13277         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13278         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13279         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13280         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13282 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13284         Add an :exit-function for completion-at-point.
13286         * minibuffer.el (completion--done): New fun.
13287         (completion--do-completion): Use it.  New arg `expect-exact'.
13288         (minibuffer-complete, minibuffer-complete-word): Don't output message,
13289         since completion--do-completion does it for us now.
13290         (minibuffer-force-complete): Use completion--done and
13291         completion--replace.  Handle sole-completion case with more care.
13292         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13293         (completion-extra-properties): New var.
13294         (completion-annotate-function): Make obsolete.
13295         (minibuffer-completion-help): Adjust accordingly.
13296         Use completion-list-insert-choice-function.
13297         (completion-at-point, completion-help-at-point):
13298         Bind completion-extra-properties.
13299         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13300         * simple.el (completion-list-insert-choice-function): New var.
13301         (completion-setup-function): Preserve it.
13302         (choose-completion): Pay attention to it, shuffle the code a bit.
13303         (choose-completion-string): New arg `insert-function'.
13305         * textmodes/bibtex.el: Convert to lexical binding.
13306         (bibtex-mode-map): Use completion-at-point.
13307         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13308         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13309         (bibtex-complete): Define as obsolete alias.
13310         (bibtex-complete-internal): Remove.
13311         (bibtex-format-entry): Remove unused sub-group in regexp.
13312         * shell.el (shell--command-completion-data)
13313         (shell-environment-variable-completion):
13314         * pcomplete.el (pcomplete-completions-at-point):
13315         * comint.el (comint--complete-file-name-data): Use :exit-function
13316         instead of completion-table-with-terminator so it also works for
13317         choose-completion.
13319 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13321         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13323         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13324         (bug#8710).
13326         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13328 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
13330         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13331         customization variable and implement: If non-nil, auto-fill will
13332         be inhibited while on topic's header line.
13334 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13336         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13337         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
13338         always have a solution in grid size = 5 cases.
13339         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13340         (5x5-solver-output, 5x5-log-buffer): New vars.
13341         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13342         Make these variables buffer local to achieve 5x5 multi-session-ness.
13343         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13344         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13345         (5x5-solve-suggest): New funs.
13346         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13347         randomize a grid so that we ensure that there is always a solution.
13348         (5x5-make-random-grid): Allow other movement than flipping.
13350 2011-05-23  Kevin Ryde  <user42@zip.com.au>
13352         * emacs-lisp/advice.el (ad-read-advised-function):
13353         Use `function-called-at-point' as the default, if it has
13354         advice and passes PREDICATE.
13356 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13358         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13359         byte-compile-lambda if it's actually a lambda.
13361         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13362         Fix function quoting.  Use backquote better.
13364 2011-05-22  Yuanle Song  <sylecn@gmail.com>
13366         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13367         matching (Bug#8516).
13369 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
13371         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13372         different face (Bug#8178).
13374 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
13376         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13377         defface (Bug#8144).
13379 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13381         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13382         funcall as well (bug#8712).  Warn when performing those conversions.
13383         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13385         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13387 2011-05-22  Glenn Morris  <rgm@gnu.org>
13389         * files.el (hack-local-variables-prop-line): Small simplifications.
13390         (hack-local-variables, hack-local-variables-prop-line):
13391         If MODE-ONLY, return the mode, rather than just `t'.
13393 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13395         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13397 2011-05-21  Glenn Morris  <rgm@gnu.org>
13399         * files.el (hack-local-variables-prop-line, hack-local-variables):
13400         If only interested in the mode, don't bother doing the other stuff.
13402         * image-mode.el (image-after-revert-hook):
13403         Redraw all frames on which the image is visible.  (Bug#8567)
13405         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
13407         * wid-edit.el (widget-checklist-match-inline):
13408         Fix 2011-04-19 change.  (Bug#8649)
13410 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13412         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13413         Also allow singlespace after single-letter capitals followed by a dot.
13415         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13416         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13418 2011-05-20  Nix  <nix@esperi.org.uk>
13420         * files.el (basic-save-buffer-2):
13421         Fix handling of break-hardlink-on-save with non-existent files.
13423 2011-05-19  Deniz Dogan  <deniz@dogan.se>
13425         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13426         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13428 2011-05-19  Glenn Morris  <rgm@gnu.org>
13430         * progmodes/f90.el (f90-type-def-re):
13431         Handle "type, bind(c)".  (Bug#8691)
13433         * emacs-lisp/autoload.el (batch-update-autoloads):
13434         Set autoload-excludes by parsing loadup.el rather than Makefiles.
13436 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
13438         * net/tramp.el (tramp-process-actions): Set "first-password-request"
13439         property for the correct connection in case of multihops.
13441 2011-05-18  Glenn Morris  <rgm@gnu.org>
13443         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13444         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13446         Rationalize calendar handling of day and month abbrev-arrays.
13447         * calendar/calendar.el (calendar-customized-p): New function.
13448         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13449         (calendar-day-name-array, calendar-month-name-array): Doc fix.
13450         Add :set function.
13451         (calendar-abbrev-length, calendar-day-abbrev-array)
13452         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13453         (calendar-day-abbrev-array, calendar-month-abbrev-array):
13454         Elements may no longer be nil.
13455         (calendar-day-name, calendar-month-name):
13456         Update for changed nature of abbrev arrays.
13457         * calendar/diary-lib.el (diary-name-pattern):
13458         Update for changed nature of abbrev arrays.
13459         (diary-mark-entries-1): Update calendar-make-alist calls.
13460         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13461         * calendar/cal-html.el (cal-html-day-abbrev-array):
13462         Simply inherit from calendar-day-abbrev-array.
13464 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13466         * progmodes/grep.el (grep-mode): Disable default
13467         compilation-directory-matcher setting (bug#8684).
13469 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
13471         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13472         instead of "head" and "tail".  There were problems with SunOS 5.9,
13473         and it performs better.
13475 2011-05-17  Glenn Morris  <rgm@gnu.org>
13477         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13479         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13480         Replace obsolete function.
13482         * shell.el (pcomplete-parse-arguments-function): Declare.
13484         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13485         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13486         (appt-check): Doc fixes.
13487         (appt-disp-window-function, appt-delete-window-function):
13488         Remove needless special case in custom :type.
13489         (appt-display-count): Default to 0, not nil.
13490         (appt-check): Reset appt-display-count to 0, not nil.
13492 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
13494         * progmodes/python.el (python-font-lock-keywords):
13495         Add the Python 3.X keyword "nonlocal" (bug#8639).
13497 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13499         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13501 2011-05-16  Kevin Ryde  <user42@zip.com.au>
13503         * info-look.el (makefile-automake-mode): New setups, looking in
13504         automake manual, then makefile-mode.
13505         (makefile-mode): Remove automake manual, have it just in
13506         makefile-automake-mode since there's various things different or
13507         not relevant to plain make.
13508         (makefile-mode): Remove "other-modes" non-existent automake-mode,
13509         believe a hypothetical automake-mode would go to makefile-mode,
13510         not the other way around.
13512 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
13514         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13515         hunk-end tags (Bug#8672).
13517         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13518         vc-annotate-show-diff-revision-at-line (Bug#8671).
13520 2011-05-14  Glenn Morris  <rgm@gnu.org>
13522         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13523         in the middle of an existing one with multiple authors.  (Bug#8645)
13524         (change-log-font-lock-keywords): Also handle multiple author lines
13525         with leading tabs.  (Bug#8644)
13527         * calendar/appt.el (appt-check): Rename some local variables.
13528         Some simplification/reordering.
13530         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13531         (feedmail-sendmail-f-doesnt-sell-me-out)
13532         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13533         (feedmail-debug-sit-for, feedmail-queue-express-hook)
13534         (feedmail-queue-runner-message-sender): Set :version.
13535         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13536         (bbdb-dwim-net-address, vm-mail): Declare.
13537         (feedmail-binmail-gnulinuxish-template):
13538         Rename from feedmail-binmail-linuxish-template.
13539         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13540         Use insert-buffer-substring.
13542 2011-05-14  Bill Carpenter  <bill@carpenter.org>
13544         * mail/feedmail.el (feedmail-patch-level): Increase.
13545         (feedmail-debug): New custom group.
13546         (feedmail-confirm-outgoing-timeout)
13547         (feedmail-sendmail-f-doesnt-sell-me-out)
13548         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13549         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13550         (feedmail-sender-line, feedmail-from-line)
13551         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13552         (feedmail-spray-this-address)
13553         (feedmail-spray-address-fiddle-plex-list)
13554         (feedmail-queue-use-send-time-for-date)
13555         (feedmail-queue-use-send-time-for-message-id)
13556         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13557         (feedmail-buffer-eating-function):
13558         Doc fixes.
13559         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13560         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13561         (feedmail-message-action-scroll-down): New functions.
13562         (feedmail-queue-directory, feedmail-queue-draft-directory):
13563         Use expand-file-name.
13564         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13565         Remove C-v help entry.
13566         (feedmail-queue-buffer-file-name): New variable.
13567         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13568         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13569         (feedmail-message-action-send-strong, feedmail-message-action-edit)
13570         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13571         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13572         (feedmail-message-action-toggle-spray)
13573         (feedmail-run-the-queue-no-prompts)
13574         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13575         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13576         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13577         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13578         (feedmail-envelope-deducer, feedmail-fiddle-from)
13579         (feedmail-fiddle-sender, feedmail-default-date-generator)
13580         (feedmail-fiddle-date, feedmail-fiddle-message-id)
13581         (feedmail-fiddle-spray-address)
13582         (feedmail-fiddle-list-of-spray-fiddle-plexes)
13583         (feedmail-fiddle-list-of-fiddle-plexes)
13584         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13585         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13586         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13587         Change default.  Doc fix.
13588         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13589         (feedmail-binmail-linuxish-template): New constant.
13590         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
13591         Respect feedmail-sendmail-f-doesnt-sell-me-out.
13592         (feedmail-send-it): Add debug call.
13593         Use feedmail-queue-buffer-file-name, and
13594         feedmail-send-it-immediately-wrapper.
13595         (feedmail-message-action-send): Add debug call.
13596         Use feedmail-send-it-immediately-wrapper.
13597         (feedmail-queue-express-to-queue): Add debug call.
13598         Run feedmail-queue-express-hook.
13599         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
13600         (feedmail-message-action-help-blat):
13601         Rename from feedmail-queue-send-edit-prompt-help-first.
13602         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
13603         Check line-endings.  Handle errors better.
13604         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13605         Doc fix.  Add debug call.
13606         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
13607         Use feedmail-queue-send-edit-prompt-inner.
13608         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13609         (feedmail-queue-send-edit-prompt-inner): New function, extracted
13610         from feedmail-queue-send-edit-prompt.
13611         (feedmail-queue-send-edit-prompt-help)
13612         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13613         (feedmail-tidy-up-slug): Add debug call.
13614         Respect feedmail-queue-slug-suspect-regexp.
13615         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13616         (feedmail-dump-message-to-queue): Add debug call.
13617         Expand queue-directory.
13618         (feedmail-dump-message-to-queue): Change message slightly.
13619         Use feedmail-say-chatter.
13620         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
13621         (feedmail-send-it-immediately-wrapper): New function.
13622         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
13623         Insert empty string rather than newline.  Handle full-frame case.
13624         Use catch/throw.  Use feedmail-say-chatter.
13625         (feedmail-fiddle-from): Try mail-host-address.
13626         (feedmail-default-message-id-generator): Doc fix.
13627         Bind system-time-locale.  Handle missing end.
13628         (feedmail-fiddle-x-mailer): Add debug call.
13629         Handle feedmail-x-mailer-line being nil.
13630         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13631         Add debug call.  Use buffer-substring-no-properties.
13632         (feedmail-say-debug, feedmail-say-chatter): New functions.
13633         (feedmail-find-eoh): Give an explicit error.
13635 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
13637         * net/newst-treeview.el (newsticker-treeview-face): Change default
13638         family from helvetica to sans.
13639         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13640         etc/images/newsticker.
13642         * net/newst-reader.el (newsticker-feed-face): Change default
13643         family from helvetica to sans.
13645         * net/newst-plainview.el (newsticker-new-item-face)
13646         (newsticker-old-item-face, newsticker-immortal-item-face)
13647         (newsticker-obsolete-item-face, newsticker-date-face)
13648         (newsticker-statistics-face): Change default family from
13649         helvetica to sans.
13650         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13651         etc/images/newsticker.
13653         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13654         (newsticker--process-auto-mark-filter-match): Tell user about
13655         auto-marking.
13657 2011-05-13  Didier Verna  <didier@xemacs.org>
13659         Common Lisp indentation improvements on defmethod and lambda-lists.
13660         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13661         TODO entries.
13662         (lisp-lambda-list-keyword-parameter-indentation)
13663         (lisp-lambda-list-keyword-parameter-alignment)
13664         (lisp-lambda-list-keyword-alignment): New customizable user options.
13665         (lisp-indent-defun-method): Improve docstring.
13666         (extended-loop-p): Fix comment.
13667         (lisp-indent-lambda-list-keywords-regexp): New variable.
13668         (lisp-indent-lambda-list): New function.
13669         (lisp-indent-259): Use it.
13670         (lisp-indent-defmethod): Support for more than one
13671         method qualifier and properly indent methods lambda-lists.
13672         (defgeneric): Provide a missing common-lisp-indent-function property.
13674 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13676         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13677         bounds for the empty string (bug#8667).
13679 2011-05-13  Glenn Morris  <rgm@gnu.org>
13681         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13683         * mail/sendmail.el (sendmail-program): Try executable-find first.
13684         (sendmail-send-it): `sendmail-program' cannot be unbound.
13686         * calendar/appt.el (appt-make-list): Simplify.
13687         (appt-time-msg-list): Doc fix.
13688         (appt-check): Change mode-line message at the time of the appointment.
13690 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13692         * progmodes/ld-script.el (ld-script-keywords)
13693         (ld-script-builtins): Update keywords list.
13695 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13697         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13699         * shell.el (shell-completion-vars): New function.
13700         (shell-mode):
13701         * simple.el (read-shell-command): Use it.
13702         (blink-matching-open): No need for " [...]" in minibuffer-message.
13704 2011-05-12  Glenn Morris  <rgm@gnu.org>
13706         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13707         (appt-check): Simplify.
13709 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
13711         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13712         literal "/dev/null".
13714 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13716         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13717         Fix typo.
13719 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
13721         * progmodes/which-func.el (which-function):
13722         Use add-log-current-defun instead of add-log-current-defun-function,
13723         which might not be defined (Bug#8260).
13725 2011-05-12  Glenn Morris  <rgm@gnu.org>
13727         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13728         Let byte-compile-initial-macro-environment always take precedence.
13730 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13732         * net/rcirc.el: Add support for SSL/TLS connections.
13733         (rcirc-server-alist): New field `encryption'.
13734         (rcirc): Check `encryption' settings.
13735         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
13736         Merge make-local-variable into `set'.
13737         (rcirc--connection-open-p): New function.
13738         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13739         the process is not a network process (e.g. running gnutls-cli).
13740         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13741         Make rcirc-(en|de)code-coding-system local here.
13742         (rcirc-mode): Merge make-local-variable into `set'.
13743         (rcirc-parent-buffer): Make permanent buffer-local.
13744         (rcirc-multiline-minor-mode): Don't do it here.
13745         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13746         there's no server buffer.
13748 2011-05-11  Glenn Morris  <rgm@gnu.org>
13750         * newcomment.el (comment-kill): Prefix "unused" local.
13752         * term/w32console.el (get-screen-color): Declare.
13754         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13755         Handle symbol elements of byte-compile-initial-macro-environment.
13757 2011-05-10  Leo Liu  <sdl.web@gmail.com>
13759         * bookmark.el (bookmark-bmenu-mode-map):
13760         Bind bookmark-bmenu-search to `/'.
13762         * mail/footnote.el: Convert to utf-8 encoding.
13763         (footnote-unicode-string, footnote-unicode-regexp): New variable.
13764         (Footnote-unicode): New function.
13765         (footnote-style-alist): Add unicode style to the list.
13766         (footnote-style): Doc fix.
13768 2011-05-10  Jim Meyering  <meyering@redhat.com>
13770         Fix doubled-word typos.
13771         * international/quail.el (quail-insert-kbd-layout): and and -> and
13772         * kermit.el: and and -> and
13773         * net/ldap.el (ldap-search-internal): to to -> to
13774         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13775         * progmodes/js.el (js-mode): and and -> and
13776         * textmodes/artist.el (artist-move-to-xy): at at -> at
13777         (artist-draw-region-trim-line-endings): if if -> if
13778         And Safetyc -> Safety.
13779         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13781 2011-05-10  Glenn Morris  <rgm@gnu.org>
13782             Stefan Monnier  <monnier@iro.umontreal.ca>
13784         * files.el (hack-one-local-variable-eval-safep):
13785         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
13787 2011-05-10  Glenn Morris  <rgm@gnu.org>
13789         * calendar/diary-lib.el (diary-list-entries-hook)
13790         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13791         (diary-nongregorian-marking-hook, diary-list-entries)
13792         (diary-include-other-diary-files, diary-mark-entries)
13793         (diary-mark-included-diary-files): Doc fixes.
13795 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13797         * misc.el: Require tabulated-list.el during compilation.
13799 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13801         * progmodes/compile.el (compilation-start):
13802         Run compilation-filter-hook for the async case too.
13803         (compilation-filter-hook): Doc fix.
13805 2011-05-09  Deniz Dogan  <deniz@dogan.se>
13807         * wdired.el: Remove outdated installation comment.  Fix usage
13808         comment.
13810 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13812         * misc.el: Implement new command `list-dynamic-libraries'.
13813         (list-dynamic-libraries--loaded-only-p): New variable.
13814         (list-dynamic-libraries--refresh): New function.
13815         (list-dynamic-libraries): New command.
13817 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13819         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13820         Fix the ant regexp to handle end-line and end-column info from jikes.
13821         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
13822         higher priority to avoid clobbering by gnu.
13824 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13826         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13827         if the face has existing theme settings (Bug#8454).
13829 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
13831         * progmodes/perl-mode.el (perl-imenu-generic-expression):
13832         Only match variables declared via `my' or `our' (Bug#8261).
13834         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13835         special file names `.' and `..' (Bug#8259).
13837 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13839         * progmodes/grep.el (grep-mode-font-lock-keywords):
13840         Remove buffer-changing entries.
13841         (grep-filter): New function.
13842         (grep-mode): Add it to compilation-filter-hook.
13844         * progmodes/compile.el (compilation-filter-hook)
13845         (compilation-filter-start): New defvars.
13846         (compilation-filter): Call compilation-filter-hook prior to
13847         updating the process mark.
13849 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13851         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13853 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
13855         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13856         mailclient-send-it even if window-system is nil.  (Bug#8595)
13858         * term/w32console.el (terminal-init-w32console):
13859         Call get-screen-color and use its output to set the frame
13860         background-mode.  (Bug#8597)
13862 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13864         Make bytecomp.el understand that defmethod defines funs (bug#8631).
13865         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13866         New functions.
13867         (defgeneric, eieio--defmethod): Use them.
13868         (eieio-defgeneric): Remove.
13869         (defmethod): Call defgeneric in a way visible to the byte-compiler.
13871 2011-05-07  Glenn Morris  <rgm@gnu.org>
13873         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13874         Use let rather than let*.
13875         (timeclock-find-discrep): Remove unused local.
13877         * calendar/diary-lib.el (diary-comment-start): Doc fix.
13879         * calendar/appt.el (appt-time-msg-list): Doc fix.
13881 2011-05-06  Noah Friedman  <friedman@splode.com>
13883         * apropos.el (apropos-print-doc): Only use
13884         emacs-lisp-docstring-fill-column when it is bound to an integer,
13885         per that variable's documentation.
13887 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13889         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13890         and warnings are not silently discarded (e.g. use -d instead of -P).
13892 2011-05-06  Glenn Morris  <rgm@gnu.org>
13894         * calendar/appt.el (appt-message-warning-time): Doc fix.
13895         (appt-warning-time-regexp): New option.
13896         (appt-make-list): Respect appt-message-warning-time.
13898         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13899         New options.
13900         (diary-add-to-list): Strip comments from the displayed string.
13901         (diary-mode): Set comment-start and comment-end.
13903         * vc/diff-mode.el (smerge-refine-subst): Declare.
13904         (diff-refine-hunk): Don't require smerge-mode when compiling.
13906 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
13908         * simple.el (list-processes): Return nil as the docstring says.
13910 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13912         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13913         to "".
13914         (ange-ftp-write-region, ange-ftp-insert-file-contents)
13915         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13916         determining of binary transfer.  (Bug#7383)
13918 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13920         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13921         Fix port computation bug.  (Bug#8618)
13923 2011-05-05  Glenn Morris  <rgm@gnu.org>
13925         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13927         * simple.el (shell-dynamic-complete-functions)
13928         (comint-dynamic-complete-functions): Declare.
13930         * net/network-stream.el (gnutls-negotiate):
13931         * simple.el (tabulated-list-print): Fix declarations.
13933         * progmodes/gud.el (syntax-symbol, syntax-point):
13934         Remove unnecessary and incorrect declarations.
13936         * emacs-lisp/check-declare.el (check-declare-scan):
13937         Handle byte-compile-initial-macro-environment in bytecomp.el
13939 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13941         Fix earlier half-done eieio-defmethod change (bug#8338).
13942         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13943         Streamline and change calling convention.
13944         (defmethod): Adjust accordingly and simplify.
13945         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13946         new eieio--defmethod.
13947         (slot-boundp): Minor CSE simplification.
13949 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
13951         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13952         (glasses-make-readable): Use glasses-separate-capital-groups.
13954 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
13956         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13957         (warning-series): Doc fix.
13958         (display-warning): Don't try to create the buffer if we just found it.
13960 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
13962         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13963         (autoload-find-generated-file): New function.
13964         (generate-file-autoloads): Bind generated-autoload-file to
13965         buffer-file-name.
13966         (update-file-autoloads, update-directory-autoloads):
13967         Use autoload-find-generated-file.  If called interactively, prompt for
13968         output file (Bug#7989).
13969         (batch-update-autoloads): Doc fix.
13971 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
13973         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13975 2011-05-04  Glenn Morris  <rgm@gnu.org>
13977         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13978         function, so it follows changes in calendar-date-style.
13979         (diary-fancy-date-matcher): New function.
13980         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13981         (diary-fancy-font-lock-fontify-region-function):
13982         Use diary-fancy-date-pattern as a function.
13984         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13985         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
13987 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
13989         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13990         instead of positional arguments.  Allow :keylist and :crlfiles
13991         arguments.
13992         (open-gnutls-stream): Call it.
13994         * net/network-stream.el (network-stream-open-starttls): Adjust to
13995         call `gnutls-negotiate' with :process and :hostname arguments.
13997 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13999         * minibuffer.el (completion--message): New function.
14000         (completion--do-completion, minibuffer-complete)
14001         (minibuffer-force-complete, minibuffer-complete-word): Use it.
14002         (completion--do-completion): Don't ignore completion-auto-help when in
14003         icomplete-mode.
14005         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14006         internal encoding (e.g. tibetan zero is not whitespace).
14007         (global-whitespace-mode): Prefer save-current-buffer.
14008         (whitespace-trailing-regexp): Remove useless save-match-data.
14009         (whitespace-empty-at-bob-regexp): Minor simplification.
14011 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
14013         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14015 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14017         * textmodes/ispell.el (ispell-add-per-file-word-list):
14018         Use `concat' to create string for insertion.
14020 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14022         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14023         Avoid open-line which runs post-self-insert-hook.
14024         (bibtex-fill-entry): Remove unused `end' var.
14026 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
14028         * textmodes/ispell.el (ispell-add-per-file-word-list):
14029         Protect against `nil' value of `comment-start' (Bug#8579).
14031 2011-05-03  Leo Liu  <sdl.web@gmail.com>
14033         * isearch.el (isearch-yank-pop): New command.
14034         (isearch-mode-map): Bind it to `M-y'.
14035         (isearch-forward): Mention it.
14037 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14039         * simple.el (minibuffer-complete-shell-command): Remove.
14040         (minibuffer-local-shell-command-map): Use completion-at-point.
14041         (read-shell-command): Setup completion vars here instead.
14042         (read-expression-map): Bind TAB to symbol completion.
14044         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14045         error directly rather via storing it into `results'.
14047 2011-05-02  Leo Liu  <sdl.web@gmail.com>
14049         * vc/diff.el: Fix description.
14051 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14053         * server.el (server-eval-at): New function.
14055 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14057         * net/network-stream.el (open-network-stream): Take a :nowait
14058         parameter and pass it on to `make-network-process'.
14059         (network-stream-open-plain): Ditto.
14061 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14063         * faces.el (face-spec-set-match-display): Don't match toolkit
14064         options on terminal frames.
14066 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14068         * progmodes/pascal.el: Use lexical binding.
14069         (pascal-mode-map): Remove author preferences.
14071         * pcomplete.el (pcomplete-std-complete): Don't abuse
14072         completion-at-point.
14074 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
14076         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14077         removing code that has been dead since 1991 or so.
14079         * startup.el (command-line): When warning about "_emacs", use a
14080         delayed warning to allow the user to filter it out.
14082 2011-04-28  Deniz Dogan  <deniz@dogan.se>
14084         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14085         user has not joined.
14087 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14089         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14090         aren't any completions at point.
14092 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
14094         * subr.el (display-delayed-warnings): New function.
14095         (delayed-warnings-hook): New variable.
14097 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14099         * minibuffer.el (completion-at-point, completion-help-at-point):
14100         Don't presume that a given completion-at-point-function will always
14101         use the same calling convention.
14103         * pcomplete.el (pcomplete-completions-at-point):
14104         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
14105         pcomplete-seen is non-nil.
14106         (pcomplete-comint-setup): Also recognize the new comint/shell
14107         completion functions.
14108         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14109         pcomplete-seen is non-nil.
14111 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
14113         * calendar/icalendar.el (diary-lib): Add require statement.
14114         (icalendar--create-uid): Read out a uid from a text-property on
14115         the first character in the entry.  This allows for code to add its
14116         own uid to the entry.
14117         (icalendar--convert-float-to-ical): Add export of
14118         `diary-float'-entries save for those with the optional DAY
14119         argument.
14121 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
14123         * subr.el (shell-quote-argument): Use alternate escaping strategy
14124         when we spot a variable reference in a string.
14126 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
14128         * cus-start.el (all): Define customization for debug-on-event.
14130 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
14132         * subr.el (shell-quote-argument): Escape correctly under Windows.
14134 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14136         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14138 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
14140         * net/tramp.el (tramp-process-actions): Add POS argument.
14141         Delete region between POS and (pos).
14143         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14144         Use `nil' position in `tramp-process-actions' call.
14145         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14147         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14148         position in `tramp-process-actions' call.
14150         * net/trampver.el: Update release number.
14152 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14154         * custom.el (defcustom): Obey lexical-binding.
14156         Fix octave-inf completion problems reported by Alexander Klimov.
14157         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14158         Inherit from octave-mode-syntax-table.
14159         (inferior-octave-mode): Set info-lookup-mode.
14160         (inferior-octave-completion-at-point): New function.
14161         (inferior-octave-complete): Use it and completion-in-region.
14162         (inferior-octave-dynamic-complete-functions): Use it as well, and use
14163         comint-filename-completion.
14164         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14165         symbol elements which shouldn't be word elements.
14166         (octave-font-lock-keywords, octave-beginning-of-defun)
14167         (octave-function-header-regexp): Adjust regexps accordingly.
14168         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14170 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
14172         * net/gnutls.el (gnutls-errorp): Declare before first use.
14174 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
14176         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14177         verify-error, and verify-hostname-error parameters.  Check whether
14178         default trustfile exists before going to use it.  Add missing
14179         argument to gnutls-message-maybe call.  Return value.
14180         Reported by Claudio Bley <claudio.bley@gmail.com>.
14181         (open-gnutls-stream): Add usage example.
14183         * net/network-stream.el (network-stream-open-starttls): Give host
14184         parameter to `gnutls-negotiate'.
14185         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14186         * subr.el (shell-quote-argument): Escape correctly under Windows.
14188 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
14190         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14191         Use correct match group (bug#8438).
14193 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14195         * emacs-lisp/package.el (package-built-in-p): Fix typo.
14196         (package-menu--generate): New arg specifying packages to show.
14197         (package-menu-refresh, package-menu-execute, list-packages):
14198         Callers changed.
14199         (package-show-package-list): New function, replacing deleted
14200         package--list-packages (renamed because it is non-internal).
14202         * finder.el (finder-list-matches): Use package-show-package-list
14203         instead of deleted package--list-packages.
14205         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14206         Based on a previous implementation by Juanma Barranquero (Bug#8366).
14207         (vc-annotate-mode-map): Bind it to RET.
14209 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
14211         * progmodes/etags.el (next-file): Don't use set-buffer to change
14212         buffers (Bug#8478).
14214 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14216         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14218         * apropos.el (apropos-label-face): Avoid variable-pitch face.
14219         (apropos-accumulator): Doc fix.
14220         (apropos-function, apropos-macro, apropos-command)
14221         (apropos-variable, apropos-face, apropos-group, apropos-widget)
14222         (apropos-plist): Add face property.
14223         (apropos-symbols-internal): Fix indentation.
14224         (apropos-print): Simplify help, and recognize apropos-multi-type.
14225         (apropos-print-doc): Use button-type-get to extract the button's
14226         face property.  Fill docstring (Bug#8352).
14228 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
14230         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14232         * play/mpuz.el (mpuz-silent): Doc fix.
14233         (mpuz-mode-map): Use mapc.
14234         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14235         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14236         Fix typos in docstrings.
14238         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14239         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14241         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14243 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
14245         * minibuffer.el (completion--do-completion): Avoid the "Next char
14246         not unique" prompt if icomplete-mode is enabled (Bug#5849).
14248         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14249         mouse-2 into unread-command-events, it is interpreted correctly.
14251         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14252         (image-toggle-display): Doc fix.
14254 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
14256         * textmodes/page.el (what-page): Use line-number-at-pos to
14257         calculate line number (Bug#6825).
14259 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14261         * eshell/esh-mode.el (find-tag-interactive): Declare function.
14262         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14263         Pass argument NO-DEFAULT to `find-tag-interactive'.
14265 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14267         Lexical-binding cleanup.
14269         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14270         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14271         * progmodes/ada-prj.el (ada-prj-initialize-values)
14272         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14273         (ada-prj-show-value):
14274         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14275         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14276         (antlr-invalidate-context-cache, antlr-options-menu-filter)
14277         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14278         * progmodes/bug-reference.el (bug-reference-push-button):
14279         * progmodes/fortran.el (fortran-line-length):
14280         * progmodes/glasses.el (glasses-change):
14281         * progmodes/octave-mod.el (octave-fill-paragraph):
14282         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14283         (python-pdbtrack-grub-for-buffer, python-sentinel):
14284         * progmodes/sql.el (sql-save-connection):
14285         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14286         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14287         Mark unused parameters.
14289         * progmodes/compile.el (compilation--flush-directory-cache)
14290         (compilation--flush-parse, compile-internal): Mark unused parameters.
14291         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14292         (compilation-next-error-function): Remove unused variable `timestamp'.
14294         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14295         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14297         * progmodes/dcl-mode.el (dcl-end-of-command):
14298         Remove unused variable `start'.
14299         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14300         (dcl-option-value-basic, dcl-option-value-offset)
14301         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14302         Mark unused parameters.
14303         (dcl-save-local-variable): Remove unused variable `val'.
14304         (mode): Declare.
14306         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14307         Mark unused parameters.
14308         (delphi-ignore-changes): Move before first use.
14309         (delphi-charset-token-at): Remove unused variable `start'.
14310         (delphi-else-start): Remove unused variable `if-count'.
14311         (delphi-comment-block-start, delphi-comment-block-end):
14312         Remove unused variable `kind'.
14313         (delphi-indent-line): Remove unused variable `new-point'.
14315         * progmodes/ebrowse.el (ebrowse-files-list)
14316         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14317         Mark unused parameters.  Don't quote `lambda'.
14318         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14319         Don't quote `lambda'.
14320         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14321         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14322         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14323         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14324         Use `ignore-errors'.
14325         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14326         (ebrowse-view/find-file-and-search-pattern)
14327         (ebrowse-view/find-member-declaration/definition):
14328         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14329         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14330         Rename parameter PREFIX-ARG to PREFIX.
14331         (ebrowse-tags-read-name): Remove unused variables `start' and
14332         `member-info'.
14333         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14334         to `tags-file'.
14336         * progmodes/etags.el (local-find-tag-hook): Declare.
14337         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14338         Mark unused parameters.
14340         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14341         (executable-interpret): Mark unused parameter.
14343         * progmodes/flymake.el (flymake-process-sentinel)
14344         (flymake-after-change-function)
14345         (flymake-create-temp-with-folder-structure)
14346         (flymake-get-include-dirs-dot): Mark unused parameters.
14347         (flymake-safe-delete-directory): Remove unused variable `err'.
14349         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14350         (speedbar-timer-fn, speedbar-line-text)
14351         (speedbar-change-expand-button-char, speedbar-delete-subblock)
14352         (speedbar-center-buffer-smartly): Declare functions.
14353         (gdb-find-watch-expression): Remove unused variable `array'.
14354         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14355         (gdb-starting): Mark unused parameters.
14356         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14357         (gdb-table-string): Remove unused variable `res'.
14358         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14359         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14360         (gdb-display-buffer): Remove unused variable `cur-size'.
14362         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14363         allow lexical-binding compilation.
14364         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14365         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14366         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14367         Mark unused parameters.
14368         (gud-gdb-marker-filter): Remove unused variable `match'.
14369         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14370         lambda expressions and funcall them, instead of using `fset'.
14372         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14373         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14375         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14376         variable `header-beg'; use `let'.
14378         * progmodes/icon.el (indent-icon-exp): Remove unused variables
14379         `restart', `last-sexp' and `at-do'.
14381         * progmodes/js.el (js--debug): Mark unused parameter.
14382         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14383         (js--splice-into-items): Remove unused variable `item'.
14384         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14386         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14387         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14388         (makefile-complete): Remove unused variable `try'.
14389         (makefile-fill-paragraph, makefile-match-function-end):
14390         Mark unused parameters.
14392         * progmodes/octave-inf.el (inferior-octave-complete):
14393         Remove unused variable `proc'.
14394         (inferior-octave-output-digest): Mark unused parameter.
14396         * progmodes/perl-mode.el (perl-calculate-indent):
14397         Remove unused variable `err'.
14399         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14400         (prolog-indent-line): Mark unused parameters.
14401         (prolog-indent-line): Remove unused variable `beg'.
14403         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14404         (reporter-dont-compact-list): Declare.
14406         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14407         Remove unused variable `char'.
14408         (sh-debug): Mark unused parameter.
14409         (sh-get-indent-info): Remove unused variable `start'.
14410         (sh-calculate-indent): Remove unused variable `var'.
14412         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14413         (simula-electric-keyword): Remove unused variable `null'.
14414         (simula-search-backward, simula-search-forward): Remove unused
14415         variables `begin' and `end'.
14417         * progmodes/vera-mode.el (vera-guess-basic-syntax):
14418         Remove unused variable `pos'.
14419         (vera-electric-tab, vera-comment-uncomment-region):
14420         Mark unused parameters.
14421         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14423 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
14425         * emacs-lisp/package.el (package--builtins, package-alist)
14426         (package-load-descriptor, package-built-in-p, package-activate)
14427         (define-package, package-installed-p)
14428         (package-compute-transaction, package-buffer-info)
14429         (package--push): Doc fix.  Distinguish more clearly between
14430         version strings and version lists.
14432 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
14434         Lexical-binding cleanup.
14436         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14437         (5x5-make-mutate-best):
14438         * play/fortune.el (fortune-in-buffer):
14439         * play/gomoku.el (gomoku-init-display):
14440         * play/solitaire.el (solitaire, solitaire-do-check):
14441         * play/tetris.el (tetris-default-update-speed-function):
14442         Mark unused parameters.
14444         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14445         (bubbles--shift): Remove unused variable `char-org'.
14446         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
14447         (bubbles--show-images): Remove unused variable `char'.
14449         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14450         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14451         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14452         (decipher-analyze-buffer): Use ?\s.
14453         (decipher-make-checkpoint): Remove unused variable `mapping'.
14455         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14457         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14458         Remove unused variable `result'; use `let'.
14460         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14461         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14462         (gametree-children-shown-p, gametree-compute-reduced-score):
14463         Use `ignore-errors'.
14465         * play/handwrite.el (ps-lpr-switches): Declare.
14466         (handwrite): Remove unused variables `pmin' and `lastp'.
14468         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14470         * play/landmark.el (landmark-init-display)
14471         (landmark-update-naught-weights): Mark unused parameters.
14472         (landmark-y): Remove unused variable `noise'.  Simplify.
14473         (landmark-human-plays): Remove unused variable `score'.
14475         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14476         (mpuz-try-proposal): Remove unused variable `game'.
14478         * play/zone.el (life-patterns): Declare.
14480 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
14482         * vc/vc.el (ediff-vc-internal): Declare function.
14484 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14486         * shell.el: Use lexical-binding and std completion UI.
14487         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14488         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14489         comint-preoutput-filter-functions rather than on
14490         comint-output-filter-functions.
14491         (shell-command-completion, shell--command-completion-data)
14492         (shell-filename-completion, shell-environment-variable-completion)
14493         (shell-c-a-p-replace-by-expanded-directory): New functions.
14494         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14495         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14496         (shell-dynamic-complete-environment-variable): Use them.
14497         (shell-dynamic-complete-as-environment-variable)
14498         (shell-dynamic-complete-as-command): Remove.
14499         (shell-match-partial-variable): Match past point.
14500         * comint.el: Clean up use of completion-at-point-functions.
14501         (comint-completion-at-point): New function.
14502         (comint-mode): Use it completion-at-point-functions.
14503         (comint-dynamic-complete): Make it obsolete.
14504         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14505         (comint-c-a-p-replace-by-expanded-history): New function.
14506         (comint-dynamic-complete-functions)
14507         (comint-replace-by-expanded-history): Use it.
14508         * minibuffer.el (completion-table-with-terminator): Allow dynamic
14509         termination strings.  Try harder to avoid second try-completion.
14510         (completion-in-region-mode-map): Disable bindings that don't work yet.
14512         * comint.el: Use lexical-binding.  Require CL.
14513         (comint-dynamic-complete-functions): Use comint-filename-completion.
14514         (comint-completion-addsuffix): Tweak custom type.
14515         (comint-filename-completion, comint--common-suffix)
14516         (comint--common-quoted-suffix, comint--table-subvert)
14517         (comint--complete-file-name-data): New functions.
14518         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14519         (comint-dynamic-list-filename-completions): Use them.
14520         (comint-dynamic-simple-complete): Make obsolete.
14522         * minibuffer.el (completion-in-region-mode):
14523         Keep completion-in-region-mode--predicate global.
14524         (completion-in-region--postch):
14525         Assume completion-in-region-mode--predicate is not null.
14527         * progmodes/flymake.el (flymake-start-syntax-check-process):
14528         Obey `dir'.  Simplify.
14530         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14531         we're in VC after all.
14533 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
14535         * vc/vc.el (vc-diff-build-argument-list-internal)
14536         (vc-version-ediff, vc-ediff): New commands.
14537         (vc-version-diff): Use vc-diff-build-argument-list-internal.
14539 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14541         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14542         add sanity check.
14544         * obsolete/erc-hecomplete.el: Make obsolete.
14545         * obsolete/: Standardize obsolescence info in the header.
14547 2011-04-20  Glenn Morris  <rgm@gnu.org>
14549         * calendar/solar.el (solar-horizontal-coordinates):
14550         Use the longitude argument rather than `calendar-longitude'.
14551         (solar-date-next-longitude): Remove unused locals.
14553 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14555         * whitespace.el: New version 13.2.1.
14557 2011-04-20  felix  <EmacsWiki>  (tiny change)
14559         * whitespace.el (global-whitespace-mode): Keep highlight when
14560         switching between major modes on a file.
14562 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14564         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14565         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14566         multi-line comments as well.
14568 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
14570         Lexical-binding cleanup.
14572         * arc-mode.el (archive-mode-revert):
14573         * cmuscheme.el (scheme-interactively-start-process):
14574         * custom.el (custom-initialize-delay):
14575         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14576         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14577         * emacs-lock.el (emacs-lock-clear-sentinel):
14578         * ezimage.el (defezimage):
14579         * follow.el (follow-avoid-tail-recenter):
14580         * fringe.el (set-fringe-mode-1):
14581         * generic-x.el (bat-generic-mode-compile):
14582         * help-mode.el (help-info-variable, help-do-xref)
14583         (help-mode-revert-buffer):
14584         * help.el (view-emacs-todo):
14585         * iswitchb.el (iswitchb-completion-help):
14586         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14587         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14588         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14589         * locate.el (locate-update):
14590         * longlines.el (longlines-encode-region)
14591         (longlines-after-change-function):
14592         * outline.el (outline-isearch-open-invisible):
14593         * ps-def.el (declare-function, charset-dimension, char-width)
14594         (encode-char):
14595         * ps-mule.el (ps-mule-plot-string):
14596         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14597         (recentf-edit-list-select, recentf-edit-list-validate)
14598         (recentf-open-files-action):
14599         * rect.el (delete-whitespace-rectangle-line)
14600         (rectangle-number-line-callback):
14601         * register.el (window-configuration-to-register)
14602         (frame-configuration-to-register):
14603         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14604         * select.el (xselect-convert-to-string, xselect-convert-to-length)
14605         (xselect-convert-to-targets, xselect-convert-to-delete)
14606         (xselect-convert-to-filename, xselect-convert-to-charpos)
14607         (xselect-convert-to-lineno, xselect-convert-to-colno)
14608         (xselect-convert-to-os, xselect-convert-to-host)
14609         (xselect-convert-to-user, xselect-convert-to-class)
14610         (xselect-convert-to-name, xselect-convert-to-integer)
14611         (xselect-convert-to-atom, xselect-convert-to-identity):
14612         * subr.el (declare, ignore, process-kill-without-query)
14613         (text-clone-maintain):
14614         * terminal.el (te-get-char, te-tic-sentinel):
14615         * tool-bar.el (tool-bar-make-keymap):
14616         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14617         * type-break.el (type-break-mode, type-break-noninteractive-query):
14618         * view.el (View-back-to-mark):
14619         * wid-browse.el (widget-browse-action, widget-browse-widget)
14620         (widget-browse-widgets, widget-browse-sexp):
14621         * widget.el (define-widget-keywords):
14622         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14623         Mark unused parameters.
14625         * align.el (align-adjust-col-for-rule): Mark unused parameter.
14626         (align-areas): Remove unused variable `look'.
14627         (align-region): Remove unused variables `real-end' and `pos-list'.
14629         * apropos.el (apropos-score-doc): Remove unused variable `i'.
14631         * bindings.el (mode-line-modified, mode-line-remote):
14632         Mark unused parameters.
14633         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14635         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14636         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14638         * comint.el (comint-history-isearch-pop-state)
14639         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14640         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14641         (comint-substitute-in-file-name): Doc fix.
14643         * completion.el (cmpl-statistics-block): Mark unused parameter.
14644         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14645         (save-completions-to-file, load-completions-from-file):
14646         Remove unused local variable `e'.
14648         * composite.el (compose-chars): Remove unused variable `len'.
14649         (lgstring-insert-glyph): Remove unused variable `g'.
14650         (compose-glyph-string): Remove unused variables `ascent',
14651         `descent', `lbearing' and `rbearing'.
14652         (compose-glyph-string-relative): Remove unused variables
14653         `lbearing', `rbearing' and `wadjust'.
14654         (compose-gstring-for-graphic): Remove unused variables `header',
14655         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
14656         (compose-gstring-for-terminal): Remove unused variables `header'
14657         and `nchars'.  Use `let', not `let*'.
14659         * cus-edit.el (Custom-set, Custom-save, custom-reset)
14660         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14661         (Custom-buffer-done, custom-buffer-create-internal)
14662         (custom-browse-visibility-action, custom-browse-group-tag-action)
14663         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14664         (widget-magic-mouse-down-action, custom-toggle-parent)
14665         (custom-add-parent-links, custom-toggle-hide-variable)
14666         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14667         (custom-toggle-hide-face, face, hook, custom-group-link-action)
14668         (custom-face-menu-create, custom-variable-menu-create, get)
14669         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14670         (custom-reset-standard-save-and-update): Remove unused variable `value'.
14671         (customize-apropos): Remove unused variable `tests'.
14672         (custom-group-value-create): Remove unused variable `hidden-p'.
14673         (sort-fold-case): Declare.
14675         * cus-theme.el (custom-reset-standard-faces-list)
14676         (custom-reset-standard-variables-list): Declare.
14677         (customize-create-theme, custom-theme-revert, custom-theme-write)
14678         (custom-theme-choose-mode, customize-themes, custom-theme-save):
14679         Mark unused parameters.
14681         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14683         * delim-col.el (delimit-columns-max): Move defvar before first use.
14685         * descr-text.el (describe-char-categories): Don't quote `lambda'.
14686         (describe-char): Don't quote `lambda'.  Mark unused parameter.
14688         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14689         (auto-insert): Declare.
14690         (desktop-restore-file-buffer): Rename desktop-* parameters;
14691         mark unused ones.
14692         (desktop-create-buffer): Rename desktop-* parameters and bind them.
14693         (desktop-buffer): Rename desktop-* parameters.
14695         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14696         (dframe-reposition-frame-xemacs, dframe-help-echo)
14697         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14698         Mark unused parameters.
14700         * dired-aux.el (backup-extract-version-start, overwrite-query)
14701         (overwrite-backup-query, rename-regexp-query)
14702         (rename-non-directory-query): Declare.
14703         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14704         (dired-add-entry): Remove unused variable `orig-file-name'.
14705         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14706         Use parameter PRESERVE-TIME instead of accessing dynamic variable
14707         `dired-copy-preserve-time' directly.
14708         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14709         (dired-insert-subdir-newpos): Rename unused variable `pos'.
14711         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14712         (dired-virtual-revert, dired-make-relative-symlink):
14713         Mark unused parameters.
14714         (manual-program): Declare.
14715         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14716         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14717         wrapped in `with-no-warnings' to avoid replacing one warning by another.
14719         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14721         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14723         * echistory.el (electric-history-in-progress, Helper-return-blurb):
14724         Declare.
14726         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14728         * electric.el (Electric-command-loop): Rename parameter
14729         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14731         * expand.el (expand-in-literal): Remove unused variable `here'.
14733         * facemenu.el (facemenu-add-new-color):
14734         Remove unused variable `docstring'.
14736         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14737         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14738         (face-attr-construct): Mark unused parameter.  Doc fix.
14739         (read-color): Remove unused variable `hex-string'.
14741         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14742         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14743         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14744         (display-buffer-other-frame): Remove unused variable `old-window'.
14745         (kill-buffer-hook): Declare.
14746         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14747         Mark unused parameters.
14748         (after-find-file): Pass 1 to `auto-save-mode', not t.
14750         * files-x.el (auto-insert): Declare.
14751         (modify-file-local-variable-prop-line): Remove unused variable `val'.
14753         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14754         variable `buf'.  Mark unused parameter.
14755         (find-lisp-insert-directory): Mark unused parameter.
14757         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14758         (format-encode-region): Remove unused variables `cur-buf' and `result'.
14759         (format-common-tail): Remove, unused.
14760         (format-deannotate-region): Remove unused variable `loc'.
14761         (format-annotate-region): Remove unused variable `p'.
14762         (format-annotate-single-property-change): Remove unused variables
14763         `default' and `tail'.
14765         * forms.el (read-file-filter): Declare.
14766         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14768         * frame.el (frame-creation-function-alist): Mark unused parameter.
14769         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14771         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14772         Remove unused parameters.
14773         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14774         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14776         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14777         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14778         (hfy-prepare-tag-map): Mark unused parameters.
14779         (htmlfontify-buffer): Use `called-interactively-p'.
14781         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14782         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14783         (ibuffer-do-occur): Mark unused parameters.
14784         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14785         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14787         * ibuffer.el: Don't quote `lambda'.
14788         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14789         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14790         Mark unused parameters.
14792         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14793         (ido-completing-read): Mark unused parameters.
14794         (ido-copy-current-word): Mark unused parameters;
14795         remove unused variable `name'.
14796         (ido-sort-merged-list): Remove unused parameter `dirs'.
14798         * ielm.el (ielm-input-sender): Mark unused parameter.
14799         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14800         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14801         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14802         `ielm-string' as a dynamic variable accessible from the IELM prompt.
14803         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
14805         * image-dired.el (image-dired-display-thumbs): Remove unused
14806         variables `curr-file' and `count'.
14807         (image-dired-remove-tag): Remove unused variable `start'.
14808         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14809         variable `curr-file'
14810         (image-dired-rotate-original): Remove unused variable `temp-file'.
14811         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14812         Remove unused variable `file'.
14813         (image-dired-gallery-generate): Remove unused variable `curr'.
14814         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14816         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14818         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14820         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14822         * isearch.el (minibuffer-history-symbol): Declare.
14823         (isearch-edit-string): Remove unused variable `err'.
14824         (isearch-message-prefix, isearch-message-suffix):
14825         Mark unused parameters.
14827         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14829         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14831         * makesum.el (double-column): Remove unused variable `cnt'.
14833         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14834         (ido-ignore-item-temp-list): Declare.
14836         * mouse-drag.el (mouse-drag-throw): Remove unused variables
14837         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14838         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14839         (mouse-drag-drag): Remove unused variables `mouse-delta' and
14840         `mouse-col-delta'.
14842         * mouse-sel.el (mouse-extend-internal):
14843         Remove unused variable `orig-window-frame'.
14845         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14846         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14847         Move declarations before first use.
14848         (pcomplete-opt): Mark unused parameters; doc fix.
14850         * proced.el (proced-revert): Mark unused parameter.
14851         (proced-send-signal): Remove unused variable `err'.
14853         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14854         Rename parameter PREFIX-ARG to ARG.
14855         (ps-basic-plot-string, ps-basic-plot-whitespace):
14856         Mark unused parameters.
14858         * replace.el (replace-count): Define.
14859         (occur-revert-function): Mark unused parameters.
14860         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14861         (isearch-case-fold-search, isearch-string): Declare.
14862         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14863         bind `case-fold-search'.  Remove unused variables `beg' and `end',
14864         and simplify.
14865         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14866         COUNT and bind `replace-count'.
14867         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14868         to COUNT.
14870         * savehist.el (print-readably, print-string-length): Declare.
14872         * shadowfile.el (shadow-expand-cluster-in-file-name):
14873         Remove unused variable `cluster'.
14874         (shadow-copy-file): Remove unused variable `i'.
14875         (shadow-noquery, shadow-clusters, shadow-site-cluster)
14876         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14877         (shadow-define-literal-group, shadow-define-regexp-group)
14878         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14880         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14881         (shell): Use `called-interactively-p'.
14882         (shell-directory-tracker): Remove unused variable `chdir-failure'.
14884         * simple.el (compilation-context-lines, comint-file-name-quote-list)
14885         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14886         (delete-backward-char): Remove unused variable `ocol'.
14887         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14888         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14889         (event-apply-hyper-modifier, event-apply-shift-modifier)
14890         (event-apply-control-modifier, event-apply-meta-modifier):
14891         Mark unused parameters.
14892         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14893         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14895         * speedbar.el (speedbar-ignored-directory-expressions)
14896         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14897         (speedbar-find-file, speedbar-dir-follow)
14898         (speedbar-directory-buttons-follow, speedbar-tag-find)
14899         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14900         (speedbar-buffers-line-directory, speedbar-buffer-click):
14901         Mark unused parameters.
14902         (speedbar-tag-file): Remove unused variable `mode'.
14903         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14905         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14907         * talk.el (talk): Remove unused variable `display'.
14909         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14910         (tar-write-region-annotate): Mark unused parameter.
14912         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14913         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14914         Declare them, wrapped in `with-no-warnings' to avoid replacing one
14915         warning by another.
14917         * time-stamp.el (time-stamp-string-preprocess):
14918         Remove unused variable `require-padding'.
14920         * tree-widget.el (widget-glyph-enable): Declare.
14921         (tree-widget-action): Mark unused parameter.
14923         * w32-fns.el (x-get-selection): Mark unused parameter.
14924         (autoload-make-program, generated-autoload-file): Declare.
14926         * wdired.el (wdired-revert): Mark unused parameters.
14927         (wdired-xcase-word): Remove unused variable `err'.
14929         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14930         (whitespace-help-scroll): Remove unused variable `data-help'.
14932         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14933         (widget-image-insert, widget-after-change, default)
14934         (widget-default-format-handler, widget-default-notify)
14935         (widget-default-prompt-value, widget-info-link-action)
14936         (widget-url-link-action, widget-function-link-action)
14937         (widget-variable-link-action, widget-file-link-action)
14938         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14939         (widget-field-prompt-internal, widget-field-action, widget-field-match)
14940         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14941         (widget-insert-button-action, widget-delete-button-action, visibility)
14942         (widget-documentation-link-action, widget-documentation-string-action)
14943         (widget-const-prompt-value, widget-regexp-match, symbol)
14944         (widget-coding-system-prompt-value)
14945         (widget-key-sequence-value-to-external, sexp)
14946         (widget-sexp-value-to-internal, character, vector, cons)
14947         (widget-choice-prompt-value, widget-boolean-prompt-value)
14948         (widget-color--choose-action): Mark unused parameters.
14949         (widget-item-match-inline, widget-choice-match-inline)
14950         (widget-checklist-match, widget-checklist-match-inline)
14951         (widget-group-match): Rename parameter VALUES to VALS.
14952         (widget-field-value-set): Remove unused variable `size'.
14953         (widget-color-action): Remove unused variables `value' and `start'.
14955         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14956         variable `dir'.  Doc fix.
14957         (windmove-find-other-window): Don't pass it.
14959         * window.el (count-windows): Mark unused parameter.
14960         (bw-adjust-window): Remove unused variable `err'.
14962         * woman.el (woman-file-name): Remove unused variable `default'.
14963         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14964         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14965         (global-font-lock-mode): Declare.
14966         (woman-decode-region): Mark unused parameter.
14967         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14969         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14970         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14971         (x-dnd-handle-moz-url): Remove unused variable `title'.
14972         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14974         * xml.el (xml-parse-tag, xml-parse-attlist):
14975         Remove unused variable `pos'.
14977 2011-04-19  Glenn Morris  <rgm@gnu.org>
14979         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14980         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14981         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14982         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14983         * calendar/cal-html.el (cal-html-insert-minical):
14984         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14985         (calendar-mark-date-pattern):
14986         Prefix "unused" locals.
14988         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14989         optional argument `style'.
14991         * calendar/appt.el (appt-make-list):
14992         * calendar/cal-china.el (calendar-chinese-date-string):
14993         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14994         (diary-hebrew-yahrzeit):
14995         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14996         * calendar/calendar.el (calendar-generate-window):
14997         * calendar/time-date.el (time-to-days):
14998         Remove unused local variables.
15000 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
15002         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15003         glyphless-char-display table.
15004         (tabulated-list-glyphless-char-display): New var.
15006 2011-04-18  Sam Steingold  <sds@gnu.org>
15008         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15009         to acknowledgments.
15011 2011-04-17  Glenn Morris  <rgm@gnu.org>
15013         * calendar/diary-lib.el (diary-sexp-entry):
15014         * calendar/holidays.el (holiday-sexp):
15015         Set debug-on-error rather than the removed stack-trace-on-error.
15017 2011-04-16  Glenn Morris  <rgm@gnu.org>
15019         * progmodes/f90.el: Use lexical-binding.
15020         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15022 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15024         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15025         (mail-mode): Setup mailalias completion here instead.
15026         * mail/mailalias.el: Use lexical-binding.
15027         (pattern, mailalias-done): Declare dynamic.
15028         (mail-completion-at-point-function): New function, from mail-complete.
15029         (mail-complete): Use it.
15030         (mail-completion-expand): New function.
15031         (mail-get-names): Use it.
15032         (mail-directory, mail-directory-process, mail-directory-stream):
15033         Don't use `pattern' for lexically bound arg.
15035         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15037         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15038         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15039         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15041         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15042         (byte-save-window-excursion, byte-temp-output-buffer-setup)
15043         (byte-interactive-p): Define them again, for use when inlining
15044         old code.
15046 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
15048         * loadup.el: Use `string-to-number', not `string-to-int'.
15050 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15052         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15053         gud-gdb-complete-command.
15054         (gud-gdb-completions): New function, from gud-gdb-complete-command.
15055         (gud-gdb-completion-at-point): New function.
15056         (gud-gdb-completions): Remove.
15058 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
15060         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15061         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
15062         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15063         whether `executable-find' is bound.
15065         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15067 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15069         * minibuffer.el (completion-in-region-mode-predicate)
15070         (completion-in-region-mode--predicate): New vars.
15071         (completion-in-region, completion-in-region--postch)
15072         (completion-in-region-mode): Use them.
15073         (completion--capf-wrapper): Also return the hook function.
15074         (completion-at-point, completion-help-at-point):
15075         Adjust and provide a predicate.
15077         Preserve arg names for advice of subr and lexical functions (bug#8457).
15078         * help-fns.el (help-function-arglist): Consolidate the subr and
15079         new-byte-code cases.  Add argument `preserve-names' to extract names
15080         from the docstring when needed.
15081         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15082         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15083         (ad-arglist): Use help-function-arglist's new arg.
15084         (ad-definition-type): Use cond.
15086 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
15088         * autorevert.el (auto-revert-handler):
15089         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15090         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15091         Don't quote lambda.
15093         * image-mode.el (image-transform-set-scale):
15094         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15096 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15098         * net/network-stream.el (network-stream-open-starttls): Only do
15099         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15100         Upgrades via gnutls-cli are too slow to be done opportunistically.
15102 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
15104         * dframe.el (dframe-current-frame): Remove spurious quote.
15106 2011-04-12  Glenn Morris  <rgm@gnu.org>
15108         * calendar/cal-tex.el (cal-tex-end-document):
15109         Try to automatically use latin1 input if needed.
15111         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15112         Don't try to cons a mark onto an empty element.
15114 2011-04-11  Leo Liu  <sdl.web@gmail.com>
15116         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15117         buffers.
15118         (ido-kill-buffer-at-head): Support killing virtual buffers.
15120 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
15122         * minibuffer.el (completion-show-inline-help): New var.
15123         (completion--do-completion, minibuffer-complete)
15124         (minibuffer-force-complete, minibuffer-complete-word):
15125         Inhibit minibuffer messages if completion-show-inline-help is nil.
15127         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15128         to avoid interference from inline help (Bug#5849).
15130 2011-04-10  Leo Liu  <sdl.web@gmail.com>
15132         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15133         Fix typo.
15135 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
15137         * image-mode.el (image-toggle-display-image): Signal an error if
15138         not in Image mode.
15139         (image-transform-mode, image-transform-resize)
15140         (image-transform-set-rotation): Doc fix.
15141         (image-transform-set-resize): Delete.
15142         (image-transform-set-scale, image-transform-fit-to-height)
15143         (image-transform-fit-to-width): Handle image-toggle-display-image
15144         and image-transform-resize directly.
15146 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
15148         * doc-view.el (doc-view-fit-width-to-window)
15149         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15150         New functions for fitting the shown image to the Emacs window size.
15151         (doc-view-mode-map): Add bindings for the new functions.
15153 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
15155         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15156         Fix typo in docstring.
15158 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
15160         * files.el (file-size-human-readable): Produce one digit after
15161         decimal, like "ls -lh" does.
15163         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15164         the file size representation.
15166         * simple.el (list-processes): If async subprocesses are not
15167         available, error out with a clear error message.
15169 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
15171         * help.el (help-form-show): New function, to be called from C.
15172         Put help-form output in a buffer named differently than *Help*.
15174 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
15176         * files.el (file-size-human-readable): New function.
15178         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15179         computing the representation inline.  Don't require `cl'.
15181 2011-04-08  Glenn Morris  <rgm@gnu.org>
15183         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15185         * net/browse-url.el (browse-url-firefox):
15186         Test system-type, not system-configuration.
15188         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15189         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15190         Use log-edit-empty-buffer-p.  (Bug#7598)
15192         * net/rlogin.el (rlogin-process-connection-type): Simplify.
15193         (rlogin-mode-map): Initialize in the defvar.
15194         (rlogin): Use ignore-errors.
15196         * replace.el (occur-mode-map): Some fixes for menu items.
15198 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15200         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
15202 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15204         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15205         issuing unused warnings.
15207         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15208         macro directly.
15210         * simple.el: Lisp reimplement of list-processes.  Based on an
15211         earlier reimplementation by Leo Liu, but using tabulated-list.el.
15212         (process-menu-mode): New major mode.
15213         (list-processes--refresh, list-processes):
15214         (process-menu-visit-buffer): New functions.
15216         * files.el (save-buffers-kill-emacs): Don't assume any return
15217         value of list-processes, which is undocumented anyway.
15219 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15221         * emacs-lisp/tabulated-list.el: New file.
15223         * emacs-lisp/package.el: Use Tabulated List mode.
15224         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15225         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
15226         table format using Tabulated List mode variables.
15227         (package--push): New macro, replacing package-list-maybe-add.
15228         (package-menu--generate): Use package--push.  Renamed from
15229         package--generate-package-list.
15230         (package-menu-refresh, list-packages): Use it.
15231         (package-menu--print-info): Rename from package-print-package.
15232         Return insertion data instead of inserting it directly.
15233         (package-menu-describe-package, package-menu-execute):
15234         Use tabulated-list-get-id.
15235         (package-menu-mark-delete, package-menu-mark-install)
15236         (package-menu-mark-unmark, package-menu-backup-unmark)
15237         (package-menu-mark-obsolete-for-deletion):
15238         Use tabulated-list-put-tag.
15239         (package--list-packages, package-menu-revert)
15240         (package-menu-get-package, package-menu-get-version)
15241         (package-menu-sort-by-column): Functions deleted.
15242         (package-menu-package-list, package-menu-sort-key): Vars deleted.
15243         (package-menu--status-predicate, package-menu--version-predicate)
15244         (package-menu--name-predicate)
15245         (package-menu--description-predicate): Handle arguments in the
15246         Tabulated List format.
15247         (package-list-packages-no-fetch): Call list-packages.
15249 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
15251         * files.el (after-find-file-from-revert-buffer): Remove variable.
15252         (after-find-file): Don't bind it.
15253         (revert-buffer-in-progress-p): New variable.
15254         (revert-buffer): Bind it.
15255         Pass nil for `after-find-file-from-revert-buffer'.
15257         * saveplace.el (save-place-find-file-hook): Use new variable
15258         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15260 2011-04-06  Glenn Morris  <rgm@gnu.org>
15262         * Makefile.in (AUTOGEN_VCS): New variable.
15263         (autoloads): Use $AUTOGEN_VCS.
15265         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15266         * calendar/calendar.el (calendar-mode-map):
15267         Check for toolkit scroll bars.  (Bug#8305)
15269 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15271         * minibuffer.el (completion-in-region--postch)
15272         (completion-in-region-mode): Remove unnecessary messages.
15274 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
15276         * font-lock.el (font-lock-refresh-defaults):
15277         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15278         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15280         * info.el (Info-directory-list, Info-read-node-name-2)
15281         (Info-split-parameter-string): Doc fixes.
15282         (Info-virtual-nodes): Reflow docstring.
15283         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15284         (Info-apropos-toc-nodes, info-finder, Info-get-token)
15285         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15286         Fix typos in docstrings.
15287         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15288         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15289         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15290         (Info-restore-desktop-buffer): Mark unused parameters.
15291         (Info-directory-find-file, Info-directory-find-node)
15292         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15293         (Info-virtual-index-find-node, Info-apropos-find-file)
15294         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15295         Mark unused parameters; fix typos in docstrings.
15296         (Info-virtual-index): Remove unused local variable `nodename'.
15298 2011-04-05  Deniz Dogan  <deniz@dogan.se>
15300         * net/rcirc.el: Update my e-mail address.
15301         (rcirc-mode-map): Remove M-o binding.
15303 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15305         * startup.el (command-line): Save the cursor's theme-face
15306         directly, instead of using face-override-spec.
15308         * custom.el (load-theme): Minor optimization in assigning faces.
15310 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15312         * help-fns.el (describe-variable): Complete all variables having
15313         documentation, including keywords.
15314         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15316 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15318         Convert to lexical-binding.
15320         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15321         (bs--get-marked-string, bs--get-modified-string)
15322         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15323         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15324         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15326         * ehelp.el (electric-help-execute-extended)
15327         (electric-help-ctrl-x-prefix):
15328         * hexl.el (hexl-revert-buffer-function):
15329         * linum.el (linum-after-change, linum-after-scroll):
15330         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15332         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15334 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
15336         * epa-dired.el:
15337         * epa-mail.el:
15338         * epa-hook.el:
15339         * epa-file.el:
15340         * epa.el:
15341         * epg.el: Use lexical binding.
15343 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
15345         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15347         * textmodes/flyspell.el (flyspell-word): Recognize default
15348         dictionary case for flyspell-mark-duplications-exceptions.
15349         Use regexp matching for languages.
15350         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15351         default dictionary (Bug#7926).
15353 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
15355         * emacs-lisp/package.el (package--with-work-buffer):
15356         Recognize https URLs.
15358         * net/network-stream.el: Move from gnus/proto-stream.el.
15359         Change prefix to network-stream throughout.
15360         (open-protocol-stream): Merge into open-network-stream, leaving
15361         open-protocol-stream as an alias.  Handle nil BUFFER args.
15363         * subr.el (open-network-stream): Move to net/network-stream.el.
15365 2011-04-02  Glenn Morris  <rgm@gnu.org>
15367         * find-dired.el (find-exec-terminator): New option.
15368         (find-ls-option): Test for -ls support.
15369         (find-ls-subdir-switches): Test for -b in find-ls-option.
15370         (find-dired, find-grep-dired): Doc fixes.
15371         (find-dired): Use find-exec-terminator.
15373         * find-dired.el (find-ls-option, find-ls-subdir-switches)
15374         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15375         (find-name-arg): Remove purecopy.
15377         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15378         (grep-compute-defaults): Check for `-exec COMMAND +' support.
15379         Set grep-find-use-xargs, grep-find-command, and grep-find-template
15380         accordingly.  Don't add the null-device if not needed.
15382         * files.el (save-some-buffers): Doc fix.
15384 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
15386         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15388 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
15390         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15391         Use `dolist' rather than `mapcar'.
15393 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15395         Add lexical binding.
15397         * subr.el (apply-partially): Use new closures rather than CL.
15398         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15399         (dolist, dotimes): Use slightly different expansion for lexical code.
15400         (functionp): Move to C.
15401         (letrec): New macro.
15402         (with-wrapper-hook): Use it and apply-partially instead of CL.
15403         (eval-after-load): Preserve lexical-binding.
15404         (save-window-excursion, with-output-to-temp-buffer): Turn them
15405         into macros.
15407         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15409         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15410         than the arglist.
15411         (help-add-fundoc-usage): Don't add `Not documented'.
15412         (help-function-arglist): Handle closures, subroutines, and new
15413         byte-code-functions.
15414         (help-make-usage): Remove leading underscores.
15415         (describe-function-1): Handle closures.
15416         (describe-variable): Use special-variable-p for completion.
15418         * files.el (lexical-binding): Declare safe.
15420         * emacs-lisp/pcase.el: Don't use destructuring-bind.
15421         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
15422         (pcase): Add `let' pattern.
15423         Change memoization so it actually works.
15424         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15425         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15426         <let>: New case.
15428         * emacs-lisp/macroexp.el: Use lexical binding.
15429         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
15430         Don't convert ' to #' without checking that it's indeed quoting
15431         a lambda.
15433         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15434         Use eval-sexp-add-defvars.
15435         (eval-sexp-add-defvars): New fun.
15437         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15439         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15440         Don't autoload.
15441         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15442         than the internal `byte-compile-lambda'.
15443         (defmethod): Don't hide code under quotes.
15444         (eieio-defmethod): New `code' argument.
15446         * emacs-lisp/eieio-comp.el: Remove.
15448         * emacs-lisp/edebug.el (edebug-eval-defun)
15449         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15450         (edebug-toggle): Avoid `eval'.
15452         * emacs-lisp/disass.el (disassemble-internal): Handle new
15453         `closure' objects.
15454         (disassemble-1): Handle new byte codes.
15456         * emacs-lisp/cl.el (pushnew): Silence warning.
15458         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15459         (cl-byte-compile-throw): Remove.
15460         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15462         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15463         closures.
15465         * emacs-lisp/cconv.el: New file.
15467         * emacs-lisp/bytecomp.el: Use lexical binding instead of
15468         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
15469         (byte-compile-initial-macro-environment):
15470         Handle declare-function here.
15471         (byte-compile--lexical-environment): New var.
15472         (byte-stack-ref, byte-stack-set, byte-discardN)
15473         (byte-discardN-preserve-tos): New lap codes.
15474         (byte-interactive-p): Don't use any more.
15475         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15476         New macros.
15477         (byte-compile-lapcode): Use them and handle new lap codes.
15478         (byte-compile-obsolete): Remove.
15479         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15480         (byte-compile-arglist-warn): Check late def of inlinable funs.
15481         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15482         since they should have been expanded by now.
15483         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15484         (byte-compile-from-buffer): Remove unused second arg.
15485         (byte-compile-preprocess): New function.
15486         (byte-compile-toplevel-file-form): New function to distinguish
15487         file-form calls from outside from file-form calls from hunk-handlers.
15488         (byte-compile-file-form): Simplify.
15489         (byte-compile-file-form-defsubst): Remove.
15490         (byte-compile-file-form-defmumble): Simplify now that
15491         byte-compile-lambda always returns a byte-code-function.
15492         (byte-compile): Preprocess.
15493         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15494         Remove, not used any more.
15495         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15496         (byte-compile-make-args-desc): New funs.
15497         (byte-compile-lambda): Handle lexical functions.  Always return
15498         a byte-code-function.
15499         (byte-compile-reserved-constants): New var, to make up room for
15500         closed-over variables.
15501         (byte-compile-constants-vector): Obey it.
15502         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15503         (byte-compile-macroexpand-declare-function): New function.
15504         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15505         byte-code-functions.
15506         (byte-compile-form): Check obsolescence here.
15507         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15508         (byte-compile-variable-ref): Remove.
15509         (byte-compile-dynamic-variable-op): New fun.
15510         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15511         (byte-compile-variable-set): New funs.
15512         (byte-compile-discard): Add 2 args.
15513         (byte-compile-stack-ref, byte-compile-stack-set)
15514         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15515         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15516         macroexpand-all instead.
15517         (byte-compile-quote-form): Remove.
15518         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15519         (byte-compile-bind, byte-compile-unbind): New funs.
15520         (byte-compile-let): Handle let* and lexical binding.
15521         (byte-compile-let*): Remove.
15522         (byte-compile-catch, byte-compile-unwind-protect)
15523         (byte-compile-track-mouse, byte-compile-condition-case):
15524         Handle a new :fun-body form, used for lexical scoping.
15525         (byte-compile-save-window-excursion)
15526         (byte-compile-with-output-to-temp-buffer): Remove.
15527         (byte-compile-defun): Simplify.
15528         (byte-compile-stack-adjustment): New fun.
15529         (byte-compile-out): Use it.
15530         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15532         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15533         handler any more.
15535         * emacs-lisp/byte-opt.el: Use lexical binding.
15536         (byte-inline-lapcode): Remove (to bytecomp).
15537         (byte-compile-inline-expand): Pay attention to inlining to/from
15538         lexically bound code.
15539         (byte-compile-unfold-lambda): Don't handle byte-code-functions
15540         any more.
15541         (byte-optimize-form-code-walker): Don't handle save-window-excursion
15542         any more and don't call compiler-macros.
15543         (byte-compile-splice-in-already-compiled-code): Remove.
15544         (byte-code): Don't inline any more.
15545         (disassemble-offset): Receive `bytes' as argument rather than via
15546         dynamic scoping.
15547         (byte-compile-tag-number): Declare before first use.
15548         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15549         `return' even if make-spliceable.
15550         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15551         obsolete interactive-p.
15552         (byte-optimize-lapcode): Optimize new lap-codes.
15553         Don't trip up on new form of `byte-constant' lap code.
15555         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15557         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15559         * custom.el (custom-initialize-default, custom-declare-variable):
15560         Use `defvar'.
15562         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15563         New variables.
15564         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15565         (COMPILE_FIRST): Add macroexp and cconv.
15566         * makefile.w32-in: Mirror changes in Makefile.in.
15568         * vc/cvs-status.el:
15569         * vc/diff-mode.el:
15570         * vc/log-edit.el:
15571         * vc/log-view.el:
15572         * vc/smerge-mode.el:
15573         * textmodes/bibtex-style.el:
15574         * textmodes/css.el:
15575         * startup.el:
15576         * uniquify.el:
15577         * minibuffer.el:
15578         * newcomment.el:
15579         * reveal.el:
15580         * server.el:
15581         * mpc.el:
15582         * emacs-lisp/smie.el:
15583         * doc-view.el:
15584         * dired.el:
15585         * abbrev.el: Use lexical binding.
15587 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
15589         * info.el (info-display-manual): New function.
15591 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15593         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15595 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
15597         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15598         an entry for that server in rcirc-authinfo.  (Bug#8385)
15600 2011-03-31  Glenn Morris  <rgm@gnu.org>
15602         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15604         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15606 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
15608         * progmodes/python.el (python-default-interpreter)
15609         (python-python-command-args, python-jython-command-args)
15610         (python-which-shell, python-which-args, python-which-bufname)
15611         (python-file-queue, python-comint-output-filter-function)
15612         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15613         variables and functions.
15615 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15617         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15618         (completion-in-region-mode): New minor mode.
15619         (completion-in-region): Use it.
15620         (completion-in-region--data, completion-in-region-mode-map): New vars.
15621         (completion-in-region--postch): New function.
15622         (completion--capf-misbehave-funs, completion--capf-safe-funs):
15623         New vars.
15624         (completion--capf-wrapper): New function.
15625         (completion-at-point): Use it to track well-behavedness of
15626         hook functions.
15627         (completion-help-at-point): New command.
15629 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
15631         * vc/add-log.el (add-change-log-entry): Don't use whitespace
15632         syntax class to search for whitespace on a single line
15633         (Message-ID: <4D938140.4030905@redhat.com>).
15635 2011-03-30  Leo Liu  <sdl.web@gmail.com>
15637         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15638         New commands.
15639         (edit-abbrevs-map): Bind them here.
15640         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
15642 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
15644         * allout.el (allout-hide-by-annotation, allout-flag-region):
15645         Reduce possibility of overlay leakage by making them volatile.
15647         * allout-widgets.el (allout-widgets-tally): Define as nil so the
15648         hash is not shared between buffers.  Mode initialization is
15649         responsible for giving it a useful starting value.
15650         (allout-item-span): Reduce possibility of overlay leakage by
15651         making them volatile.
15652         (allout-widgets-count-buttons-in-region): Add diagnostic function
15653         for tracking down button overlay leaks.
15655 2011-03-29  Leo Liu  <sdl.web@gmail.com>
15657         * ido.el (ido-read-internal): Use the default history var
15658         minibuffer-history if no HISTORY is specified.
15660 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
15662         * net/imap.el (imap-shell-open, imap-process-connection-type):
15663         Use imap-process-connection-type for 'shell' streams as well as
15664         Kerberos, SSL, other subprocesses.
15666 2011-03-28  Leo Liu  <sdl.web@gmail.com>
15668         * abbrev.el (abbrev-table-empty-p): New function.
15669         (prepare-abbrev-list-buffer): Place empty abbrev tables after
15670         nonempty ones.  (Bug#5937)
15672 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
15674         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15676 2011-03-27  Leo Liu  <sdl.web@gmail.com>
15678         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15679         for foreground and background colors.
15680         (ansi-color-make-color-map): Adapt.
15682 2011-03-25  Leo Liu  <sdl.web@gmail.com>
15684         * midnight.el (midnight-time-float): Remove.  Note it calculates
15685         the microsecond component incorrectly and seconds-to-time does the
15686         same job.
15687         Remove redundant (require 'timer).
15689         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15690         (ido-completions): Remove unused arguments.  (Bug#8329)
15692 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15694         * minibuffer.el (completion--flush-all-sorted-completions):
15695         Remove itself from hook.
15696         (completion-at-point): Let the functions perform the completion
15697         immediately and return nil or t.
15698         * comint.el (comint-dynamic-complete-functions): Now identical to
15699         completion-at-point-functions.
15700         (comint-dynamic-list-input-ring): Remove unused var `index'.
15701         (comint--match-partial-filename, comint--unquote&expand-filename):
15702         New funs, split from comint-match-partial-filename.
15703         (comint-dynamic-complete): Use completion-at-point.
15704         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15706 2011-03-24  Drew Adams  <drew.adams@oracle.com>
15708         * thingatpt.el: Support `defun'.
15710 2011-03-23  Leo Liu  <sdl.web@gmail.com>
15712         * abbrevlist.el: Move to obsolete/abbrevlist.el.
15714         * help-mode.el (help-mode-finish): Tweak regexp.
15716 2011-03-23  Glenn Morris  <rgm@gnu.org>
15718         * eshell/esh-opt.el (eshell-eval-using-options):
15719         Do not bind unused local variable `eshell-option-stub'.
15721         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15723 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15725         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15726         keymap variable in `with-no-warnings' to avoid a warning when the
15727         keymap has been already `defconst'ed.
15729 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15731         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15732         encode all chars in abbrevs; otherwise use emacs-mule or
15733         utf-8-emacs.  (Bug#8308)
15735 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15737         * simple.el (backward-delete-char-untabify):
15738         Avoid warning about using `delete-backward-char'.
15740         * image.el (image-type-file-name-regexps): Make it variable.
15741         `imagemagick-register-types' modifies it, and the user may want
15742         to add new extensions for known image types.
15743         (imagemagick-register-types): Throw error if not using ImageMagick.
15745 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15747         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15748         located before rcirc-prompt-end-marker.
15749         (rcirc-complete): Error if point is not after rcirc prompt.
15750         Handle the case when table is nil.
15751         (rcirc-user-authenticated): Define to fix compiler warning.
15753 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
15755         * custom.el (custom--inhibit-theme-enable): Make it affect only
15756         custom-theme-set-variables and custom-theme-set-faces.
15757         (provide-theme): Ignore custom--inhibit-theme-enable.
15758         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15759         (custom-enabling-themes): Delete variable.
15760         (enable-theme): Accept only loaded themes as arguments.
15761         Ignore the special custom-enabled-themes variable.
15762         (custom-enabled-themes): Forbid themes from setting this.
15763         Eliminate use of custom-enabling-themes.
15764         (custom-push-theme): Quote "changed" custom var entry.
15766 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15768         * ido.el (ido-read-internal): Add ido-selected to history instead
15769         of user input.
15771 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15773         * subr.el (deferred-action-list, deferred-action-function):
15774         Mark obsolete.
15776 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15778         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15779         change on 2011-02-13 (bug#8309).
15781         * minibuffer.el (read-file-name-function): Change default value.
15782         (read-file-name--defaults): Rename from read-file-name-defaults.
15783         (read-file-name-default): Rename from read-file-name.
15784         (read-file-name): Call read-file-name-function.
15786 2011-03-21  Glenn Morris  <rgm@gnu.org>
15788         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15789         Doc fixes.
15791 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
15793         * cus-theme.el: Add missing provide statement.
15794         (customize-create-theme): Extract theme value correctly.
15795         (custom-theme-visit-theme): Autoload.
15796         (customize-create-theme): Prompt before inserting default faces.
15798 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
15800         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15801         units and musical notes.
15803 2011-03-20  Leo Liu  <sdl.web@gmail.com>
15805         * ido.el (ido-read-internal): Use completing-read-default.
15806         (ido-completing-read): Fix compatibility with completing-read.
15808 2011-03-20  Christian Ohler  <ohler@gnu.org>
15810         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15811         (ert-delete-all-tests): Use `called-interactively-p' rather than
15812         `interactive-p'.
15813         (ert--make-xrefs-region): Respect END.
15815 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15817         * dired-aux.el (dired-create-directory): Signal an error if the
15818         directory already exists (Bug#8246).
15820         * facemenu.el (list-colors-display): Call list-faces-display
15821         inside with-help-window.
15822         (list-colors-print): Use display property to align the final
15823         column, instead of checking window-width.
15825 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
15827         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15828         windows-nt systems.
15829         (emerge-protect-metachars): Quote correctly for ms-dos and
15830         windows-nt systems.
15832 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
15834         * info.el (info-initialize): Replace all uses of `:' with
15835         path-separator for compatibility with non-Unix systems.
15836         Cache quoting of path-separator.  (Bug#8258)
15838 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
15840         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15841         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15842         (mouse-avoidance-mode): Fix typos in docstrings.
15844 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15846         * startup.el (package-subdirectory-regexp): Move from package.el.
15847         Omit \\` and \\', and let callers add them.
15849         * emacs-lisp/package.el (package-strip-version)
15850         (package-load-all-descriptors): Add \\` and \\' to
15851         package-subdirectory-regexp before using it.
15852         (package-untar-buffer): New arg DIR; ensure that file untars only
15853         into this expected directory.  Remove superfluous delete-region.
15854         (package-unpack): Caller changed.
15855         (package-tar-file-info): Use package-subdirectory-regexp.
15857 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15859         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15860         diff-mode-shared-map (bug#8284).
15861         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15863 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15865         * calendar/time-date.el (format-seconds): Use assoc instead of
15866         assoc-string, since assoc-string doesn't exist in XEmacs.
15868 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
15870         * custom.el (custom-known-themes): Reflow docstring.
15871         (custom-theme-load-path): Fix typo in docstring.
15872         (load-theme): Fix typo in error message.
15873         (custom-available-themes, custom-variable-theme-value):
15874         Use `let', not `let*'.
15876 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
15878         * calc/README: Mention inclusion of musical notes.
15880         * calc/calc-units.el (calc-lu-quant): Rename from
15881         `calc-logunits-quantity'.
15882         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15883         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15884         (calc-db): Rename from `calc-dblevel'.
15885         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15886         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15887         (calc-np): Rename from `calc-nplevel'.
15888         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15889         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15890         (calc-lu-plus): Rename from `calc-logunits-add'.
15891         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15892         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15893         (calc-lu-minus): Rename from `calc-logunits-sub'.
15894         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15895         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15896         (calc-lu-times): Rename from `calc-logunits-mul'.
15897         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15898         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15899         (calc-lu-divide): Rename from `calc-logunits-div'.
15900         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15901         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15903         * calc/calc-ext.el (calc-init-extensions): Update the names of the
15904         functions being autoloaded.
15906         * calc/calc.el (calc-lu-power-reference): Rename from
15907         `calc-logunits-power-reference'.
15908         (calc-lu-field-reference): Rename from
15909         `calc-logunits-field-reference'.
15911         * calc/calc-help.el (calc-l-prefix-help):
15912         Mention musical note functions.
15914 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15916         * minibuffer.el (completion-all-sorted-completions):
15917         Use :completion-cycle-penalty text property if present.
15919 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
15921         * allout.el (allout-yank-processing): Adjust for new rebulleting
15922         regime so bullet being yanked is used without prompting the user
15923         for a choice.
15925 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15927         * startup.el (command-line): Warn the user that _emacs is deprecated.
15929 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15931         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15932         (delphi-verbose, delphi-comment-face, delphi-string-face)
15933         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15934         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15935         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15936         (delphi-new-comment-line, delphi-font-lock-defaults)
15937         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15938         Fix typos in docstrings.
15940 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
15942         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15943         Invert the roles of character and string values for INSTEAD, so a
15944         string is used for the more common case of a defaulting prompt.
15946 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15948         * progmodes/ruby-mode.el (ruby-backward-sexp):
15949         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15950         * play/gamegrid.el (gamegrid-make-face):
15951         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15952         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15953         * notifications.el (notifications-notify):
15954         * net/xesam.el (xesam-search-engines):
15955         * net/quickurl.el (quickurl-list-insert):
15956         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15958 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
15960         * startup.el (command-line): Update package subdirectory regexp.
15962 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15964         * allout.el (allout-abbreviate-flattened-numbering)
15965         (allout-mode-deactivate-hook): Fix up obsolescence "date".
15967         * subr.el (read-char-choice): Only show the cursor after the prompt,
15968         not after the answer.
15970 2011-03-15  Kevin Ryde  <user42@zip.com.au>
15972         * help-fns.el (variable-at-point): Skip leading quotes, if any
15973         (bug#8253).
15975 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15977         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15978         warning message.
15980 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
15982         * shell.el (shell): When called interactively, offer to change the
15983         shell file name on remote hosts.
15985 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
15987         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15988         integration for LDAP parameters.  The host, base, user or binddn,
15989         and secret tokens can be specified in a netrc file, for instance.
15990         This is optional because an `auth-source' parameter must be
15991         specified in the search attributes.
15993 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
15995         * help.el (describe-mode): Link to the mode's definition (bug#8185).
15997 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15999         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16000         into declaration.  Remove redundant and harmful binding.
16002 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
16004         * files.el (file-ownership-preserved-p): Pass `integer' as an
16005         explicit 2nd argument to `file-attributes'.  If the file's owner
16006         is the Administrators group on Windows, and the current user is
16007         Administrator, consider that a match.
16009         * server.el (server-ensure-safe-dir): Consider server directory
16010         safe on MS-Windows if its owner is the Administrators group while
16011         the current Emacs user is Administrator.  Use `=' to compare
16012         numerical UIDs, since they could be integers or floats.
16014 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
16016         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16018 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
16020         Sync with Tramp 2.2.1.
16022         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16024         * net/trampver.el: Update release number.
16026 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16028         * progmodes/compile.el (compilation--previous-directory): Fix up
16029         various nil/dead-marker mismatches (bug#8014).
16030         (compilation-directory-properties, compilation-error-properties):
16031         Don't call it at a position past the one we're about to change.
16033         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16034         Disable obsolescence warnings in the file that declares it.
16036 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
16038         * allout-widgets.el (allout-widgets-tally):
16039         Initialize allout-widgets-tally as a hash table rather than nil to
16040         prevent mode-line redisplay warnings.  Also, clarify the module
16041         description and fix a comment typo.
16043 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
16045         * help-fns.el (describe-variable): Don't complete keywords.
16046         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16048 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
16050         * emacs-lisp/package.el (package-version-join): Impose a standard
16051         string representation for pre/alpha/beta version lists.
16052         (package-unpack-single): Standardize the directory name by passing
16053         it through package-version-join.
16054         (package-strip-rcs-id): Accept any version string that does not
16055         signal an error in version-to-list.
16057 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
16059         * simple.el (delete-trailing-whitespace): Return nil for the
16060         benefit of `write-file-functions'.
16062 2011-03-10  Glenn Morris  <rgm@gnu.org>
16064         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16066         * vc/vc-git.el (vc-git-program): New option.
16067         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16068         (vc-git--call): Use it.
16070         * eshell/esh-util.el (eshell-condition-case): Doc fix.
16072         * cus-edit.el (Custom-newline): If no button at point, look
16073         for a subgroup button at start-of-line.  (Bug#2298)
16075         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16077 2011-03-10  Julien Danjou  <julien@danjou.info>
16079         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16080         `cursor-type' is nil.
16082 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
16084         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16086 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
16088         * allout.el: Change so yank of distinctive-bullet items
16089         preserves the existing header prefix, rebulleting it if necessary,
16090         rather than replacing it.  This is necessary for proper operation
16091         of cooperative addons like allout-widgets.
16092         (allout-make-topic-prefix, allout-rebullet-heading):
16093         Change SOLICIT arg to INSTEAD, and interpret additionally a string
16094         value as alternate bullet to be used, instead of prompting the user
16095         for a bullet character.
16097 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
16099         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16100         Do not use `tramp-file-name-port', because this returns also
16101         `tramp-default-port'.
16103 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
16105         * net/rcirc.el (rcirc-handler-001): Remove useless
16106         with-rcirc-process-buffer.
16107         (rcirc-check-auth-status): Swap arguments to string-match.
16109 2011-03-09  Glenn Morris  <rgm@gnu.org>
16111         * shell.el (shell-mode):
16112         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
16114         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16115         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
16117 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
16119         * emacs-lisp/package.el (package-refresh-contents)
16120         (package-menu-execute): Use condition-case-no-debug.
16122 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
16124         * simple.el (shell-command-to-string): Use `process-file'.
16126         * emacs-lisp/package.el (package-tar-file-info): Handle also
16127         remote files.
16129         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16130         Use `equal' for upload base check.
16132 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
16134         * textmodes/texinfo.el (texinfo-environments):
16135         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
16137 2011-03-08  Glenn Morris  <rgm@gnu.org>
16139         * cus-start.el (cursor-in-non-selected-windows):
16140         Fix :set quoting oddness.  (Bug#8192)
16142         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16143         in some setf expressions.  (Bug#2159)
16145 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
16147         * custom.el (custom-available-themes): Return themes in
16148         alphabetical order.
16150 See ChangeLog.15 for earlier changes.
16152 ;; Local Variables:
16153 ;; coding: utf-8
16154 ;; End:
16156   Copyright (C) 2011-2012  Free Software Foundation, Inc.
16158   This file is part of GNU Emacs.
16160   GNU Emacs is free software: you can redistribute it and/or modify
16161   it under the terms of the GNU General Public License as published by
16162   the Free Software Foundation, either version 3 of the License, or
16163   (at your option) any later version.
16165   GNU Emacs is distributed in the hope that it will be useful,
16166   but WITHOUT ANY WARRANTY; without even the implied warranty of
16167   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16168   GNU General Public License for more details.
16170   You should have received a copy of the GNU General Public License
16171   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.