* lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
[emacs.git] / lisp / ChangeLog
blob9fe6fd4f1f988ab9c00bf5bfc17d784da686bd48
1 2013-02-19  Glenn Morris  <rgm@gnu.org>
3         * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
4         loaded while outline-regexp is let bound.  (Bug#9584)
6 2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>
8         * progmodes/python.el (python-info-current-defun): Fix failed
9         defun name retrieval because of unwanted match-data cluttering.
11 2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>
13         * progmodes/python.el (python-indent-context): Fix
14         python-info-line-ends-backslash-p call.
15         (python-info-line-ends-backslash-p)
16         (python-info-beginning-of-backslash): Respect line-number
17         argument.
18         (python-info-current-line-comment-p): Fix behavior when not at
19         beginning-of-line.
20         (python-util-position): Remove function.
21         (python-util-goto-line): New function.
23 2013-02-18  Michael Albinus  <michael.albinus@gmx.de>
25         * eshell/em-unix.el (eshell/su): Require tramp.
26         (eshell/sudo): Require tramp.  Remove now unnecessary check.
28         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
29         `tramp-current-connection' in order to avoid an error when several
30         commands are invoked in a short time in eshell and friends.
32 2013-02-16  Didier Verna  <didier@didierverna.net>
34         * net/network-stream.el (network-stream-open-starttls):
35         Check that response to the starttls-command is non-nil.  (Bug#13706)
37 2013-02-14  Glenn Morris  <rgm@gnu.org>
39         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
41 2013-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
43         * net/goto-addr.el (goto-address-fontify): Add start and end args.
44         (goto-address-fontify-region): Use them instead of narrowing, so
45         syntax-ppss has access to the whole buffer.
47 2013-02-14  Fabián Ezequiel Gallina  <fgallina@cuca>
49         * progmodes/python.el: Explain how to restore "cc-mode"-like
50         forward-sexp movement in header documentation (Bug#13642).
51         (python-nav--forward-sexp): Behave like emacs-lisp-mode in
52         comments and strings (GH bug 114).
54 2013-02-13  Fabián Ezequiel Gallina  <fgallina@cuca>
56         * progmodes/python.el (python-info-current-defun): Fix current
57         defun detection (Bug#13618).
59 2013-02-13  Chong Yidong  <cyd@gnu.org>
61         * xml.el (xml-parse-string): Fix typo in handling of bad character
62         references.
64 2013-02-10  Michael Albinus  <michael.albinus@gmx.de>
66         * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
67         if DIR exists and PARENTS is non-nil.
69 2013-02-09  Chong Yidong  <cyd@gnu.org>
71         * mail/emacsbug.el (report-emacs-bug): Change binding of
72         report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
74 2013-02-02  Alan Mackenzie  <acm@muc.de>
76         Fix bug in the state cache mechanism.  Remove 'BOD "strategy".  Refactor.
77         * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
78         (c-parse-state-get-strategy): Don't return 'BOD any more.
79         (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE
80         instead of narrowing.  Widen to top of buffer before searching
81         backwards for a brace pair.
82         (c-state-push-any-brace-pair): Add HERE parameter to function
83         call.
84         (c-append-to-state-cache): Extra parameter HERE in place of
85         narrowing.  Narrow to parameter HERE, in place of being called
86         narrowed.
87         (c-remove-stale-state-cache): Extra parameter HERE in place of
88         narrowing.  Check there's an open brace in the cache before
89         searching for its match.
90         (c-invalidate-state-cache-1): Add HERE parameter to function call.
91         (c-parse-state-1): Don't narrow here for 'forward strategy,
92         instead passing extra parameter HERE to several functions.  Remove
93         'BOD strategy.
95 2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
97         * mouse.el (mouse-drag-track): Always deactivate the mark before
98         running the final event's command since that command is in charge of
99         activating the mark if needed (bug#13523).
101 2013-02-01  Juri Linkov  <juri@jurta.org>
103         * replace.el (perform-replace): Move let-bindings of isearch-*
104         variables deeper to the loop that searches for the next match.
105         Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
106         Use `isearch-search-fun-default' instead of `isearch-search-fun'.
107         (Bug#13579)
109         * isearch.el (isearch-search-fun-default): Check for null
110         first element of isearch-cmds as a precaution when it's used
111         with inactive isearch.
113 2013-02-01  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
115         * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
116         error when buffer in question is narrowed so position 1 is out of
117         visible part.
119 2013-01-31  Glenn Morris  <rgm@gnu.org>
121         * textmodes/remember.el (remember-clipboard): Doc fix.
123 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
125         * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
126         properties (bug#13179).
128 2013-01-30  Glenn Morris  <rgm@gnu.org>
130         * mouse.el (mouse-drag-line): Avoid pushing same event onto
131         unread-command-events twice in some cases.  This tries to implement
132         the 2012-07-26 changes in a different way.  (Bug#13560)
134 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
136         * progmodes/python.el
137         (python-pdbtrack-comint-output-filter-function): Enhancements on
138         stacktrace detection.  (thanks @gnovak)
140 2013-01-30  Glenn Morris  <rgm@gnu.org>
142         * imenu.el (imenu-default-create-index-function):
143         Put back a version of the infinite loop test removed 2013-01-23.
145 2013-01-28  Fabián Ezequiel Gallina  <fgallina@cuca>
147         * progmodes/python.el (python-shell-parse-command):
148         Find python-shell-interpreter with modified environment.
150 2013-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
152         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
154 2013-01-24  Fabián Ezequiel Gallina  <fgallina@cuca>
156         * progmodes/python.el: Enhancements to header documentation about
157         skeletons.  (Bug#5716)
159 2013-01-23  Fabián Ezequiel Gallina  <fgallina@cuca>
161         * imenu.el (imenu-default-create-index-function): Remove useless
162         infinite loop check.  (Bug#13438)
164 2013-01-23  Alan Mackenzie  <acm@muc.de>
166         Fix a bug in the state cache mechanism.  Refactor this a bit.
168         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
169         `cache-pos' element from the return value.
170         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
171         buffer to enable proper searching from beyond HERE.  Amend the
172         test for detecting the sought brace pair.  Amend the value written
173         to the "brace desert cache" when the brace isn't found.
174         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
175         and several other variables analogously.
176         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
177         parameter to a locally calculated variable.
178         (c-parse-state-1): Change the calling conventions to the two
179         defuns involving `cache-pos'.
181 2013-01-23  Chong Yidong  <cyd@gnu.org>
183         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
185 2013-01-18  Leo Liu  <sdl.web@gmail.com>
187         * dired.el (dired-get-marked-files): Prune erroneous values due to
188         last change.  (Bug#13152)
190 2013-01-17  Glenn Morris  <rgm@gnu.org>
192         * progmodes/etags.el (tags-table-check-computed-list):
193         Preserve point in tags buffer.  (Bug#13412)
195 2013-01-16  Glenn Morris  <rgm@gnu.org>
197         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
199         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
200         Revert 2012-12-29 change.  Ref:
201         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
203 2013-01-10  Fabián Ezequiel Gallina  <fgallina@cuca>
205         * progmodes/python.el (python-nav-end-of-statement):
206         Fix cornercase when handling multiline strings.
208 2013-01-10  Glenn Morris  <rgm@gnu.org>
210         * emacs-lisp/authors.el (authors-ignored-files)
211         (authors-valid-file-names, authors-renamed-files-alist):
212         Add some more entries.
214 2013-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
216         * image-mode.el (image-mode-winprops): Don't throw away the fallback
217         `t' pseudo-window entry.
219 2013-01-09  Alan Mackenzie  <acm@muc.de>
221         Fix bugs in the c-parse-state mechanism.  Reuse some markers
222         instead of continually generating new ones.
224         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
225         (c-state-old-cpp-end-marker): New variables.
226         (c-append-lower-brace-pair-to-state-cache): Start a backward
227         search for "}" definitively outside CPP constructs.
228         (c-remove-stale-state-cache): Inform the caller of a need to
229         search back for a brace pair in certain circumstances.
230         (c-state-maybe-marker): New macro.
231         (c-parse-state): Reuse markers when appropriate.
233 2013-01-09  Glenn Morris  <rgm@gnu.org>
235         * simple.el (execute-extended-command): Doc fix.
236         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
238 2013-01-09  Chong Yidong  <cyd@gnu.org>
240         * faces.el (read-face-name): Doc fix.
242 2013-01-09  Glenn Morris  <rgm@gnu.org>
244         * emacs-lisp/trace.el (trace-function, trace-function-background):
245         Doc fix.
247 2013-01-09  Juri Linkov  <juri@jurta.org>
249         * international/mule-cmds.el (read-char-by-name): Move let-binding
250         of completion-ignore-case around completing-read to fix regression
251         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
252         `string-match-p' using the nil value of `case-fold-search' and
253         `completion-ignore-case' in `completion-pcm--all-completions'.
254         (Bug#12615).
256 2013-01-07  Glenn Morris  <rgm@gnu.org>
258         * progmodes/compile.el (compilation-parse-errors):
259         Fix typo.  (Bug#13369)
261 2013-01-07  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
263         * comint.el (comint-send-input): Check size of buffer before
264         waiting for process output, in case already accepted.  (Bug#13290)
266 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
268         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
269         non-negative integers.  Otherwise, the default values are used.
270         (tramp-convert-file-attributes): Convert uid and gid to integers.
272 2013-01-03  Glenn Morris  <rgm@gnu.org>
274         * term.el (term-handle-colors-array): Ensure face attributes
275         are fully specified, not nil.  (Bug#13337)
277         * term.el (term-default-fg-color, term-default-bg-color):
278         Fix custom type.
280         * progmodes/etags.el (tags-compression-info-list): Doc fix.
281         (tag-find-file-of-tag-noselect): Check auto-compression-mode
282         rather than 'jka-compr being loaded.  (Bug#13338)
284         * subr.el (eval-after-load): Don't purecopy the form, so that it
285         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
287         * emacs-lisp/byte-run.el (defun): Place cl declarations
288         after any interactive spec.  (Bug#13265)
290 2012-12-31  Andreas Schwab  <schwab@linux-m68k.org>
292         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
293         defun.  Don't check for DECL if DOCSTRING isn't a string.
294         (defun): Likewise.
296 2012-12-31  Glenn Morris  <rgm@gnu.org>
298         * eshell/em-cmpl.el (eshell-pcomplete):
299         More thoroughly imitate pcomplete.  (Bug#13293)
301         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
302         Return nil for empty path elements.  (Bug#13296)
304 2012-12-31  Fabián Ezequiel Gallina  <fgallina@cuca>
306         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
307         order to improve efficiency (Based on Daniel Colascione's
308         <dancol@dancol.org> patch).  (Bug#13182)
310 2012-12-31  Glenn Morris  <rgm@gnu.org>
312         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
314 2012-12-31  Fabián Ezequiel Gallina  <fgallina@cuca>
316         * progmodes/python.el: Support other commands triggering
317         python-indent-line so indentation cycling continues to work.
318         (python-indent-trigger-commands): New defcustom.
319         (python-indent-line): Use it.
321 2012-12-31  Fabián Ezequiel Gallina  <fgallina@cuca>
323         * progmodes/python.el (python-shell-send-region): Add blank lines
324         for non sent code so backtraces remain correct.
326 2012-12-31  Andreas Schwab  <schwab@linux-m68k.org>
328         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
329         neither DOCSTRING nor DECL was given.  (Bug#13316)
331 2012-12-30  Glenn Morris  <rgm@gnu.org>
333         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
334         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
335         (rmail-summary-displayed, rmail-summary): Declare.
336         (mairix-rmail-display): Just require rmail.
338 2012-12-29  Chong Yidong  <cyd@gnu.org>
340         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
341         check for the tarball contents.
343 2012-12-29  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
345         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
346         tarfile content listings (Bug#13136).
348 2012-12-29  Mark Lillibridge  <mark.lillibridge@hp.com>
350         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
351         Insert the undecoded text of the message being forwarded.  (Bug#9521)
353 2012-12-28  Michael Albinus  <michael.albinus@gmx.de>
355         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
356         integers, if they are real numbers.  (Bug#13282)
358 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
360         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
361         "module" and "def" to have indentation before them.
362         Regression from 109911 (see the new test).
364 2012-12-24  Dmitry Gutov  <dgutov@yandex.ru>
366         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
368 2012-12-23  Alan Mackenzie  <acm@muc.de>
370         Speed up fontification where there's large brace blocks.
371         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
372         to a call of c-beginning-of-decl-1.
374 2012-12-21  Chong Yidong  <cyd@gnu.org>
376         * sort.el (sort-subr): Doc fix (Bug#13056).
378 2012-12-20  Bastien Guerry  <bzg@gnu.org>
380         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
382 2012-12-11  Alan Mackenzie  <acm@muc.de>
384         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
385         * progmodes/cc-engine.el (c-backward-comments): Add code to work
386         around `forward-comment' not recognizing ^M as whitespace.
388 2012-12-11  Fabián Ezequiel Gallina  <fgallina@cuca>
390         * progmodes/python.el (python-skeleton-class)
391         (python-skeleton-def): Do not add space after defun name.
393 2012-12-09  Chong Yidong  <cyd@gnu.org>
395         * simple.el (set-mark-default-inactive): Mark as obsolete, for
396         removal after 24.3.
398 2012-12-08  Dani Moncayo <dmoncayo@gmail.com>
400         * simple.el (just-one-space): Doc fix.
402 2012-12-07  Eli Zaretskii  <eliz@gnu.org>
404         * textmodes/texinfo.el (texinfo-enable-quote-envs):
405         Add "smallexample".
407 2012-12-07  Le Wang  <l26wang@gmail.com>
409         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
410         narrowed buffer (bug#12361).
412 2012-12-07  Michael Heerdegen  <michael_heerdegen@web.de>
414         * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
415         Virtually backported from trunk.
417 2012-12-07  Juanma Barranquero  <lekktu@gmail.com>
419         * vc/vc-hooks.el (vc-state): Doc fix.
421 2012-12-06  Glenn Morris  <rgm@gnu.org>
423         * mail/rmail.el (rmail-maybe-display-summary):
424         Preserve buffer, in case select-window changes it.  (Bug#13066)
426 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
428         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
429         cl-load-hook where they belong.
431 2012-12-06  Chong Yidong  <cyd@gnu.org>
433         * ffap.el (ffap-replace-file-component): Fix typo.
435 2012-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
437         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
438         fix open-paren-like token test (bug#12785).
440 2012-12-04  Glenn Morris  <rgm@gnu.org>
442         * mail/rmailsum.el (rmail-new-summary): Tweak for
443         rmail-maybe-display-summary changing buffer.  (Bug#13066)
445 2012-12-03  Juri Linkov  <juri@jurta.org>
447         * info.el (Info-fontify-node): Don't hide the last newline.
448         (Bug#12272)
450 2012-12-01  Leo Liu  <sdl.web@gmail.com>
452         * files.el (dir-locals-read-from-file): Check file non-empty
453         before reading.  (Bug#13038)
455 2012-11-28  Glenn Morris  <rgm@gnu.org>
457         * jka-cmpr-hook.el (jka-compr-get-compression-info):
458         Remove any version extension before checking filename.  (Bug#13006)
459         (jka-compr-compression-info-list): Belated :version bump.
461 2012-11-28  Chong Yidong  <cyd@gnu.org>
463         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
465         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
466         (buffer-menu): Doc fix (Bug#12294).
468 2012-11-27  Roland Winkler  <winkler@gnu.org>
470         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
471         of diary-show-all-entries in the diary buffer (Bug#12994).
473 2012-11-27  Michael Albinus  <michael.albinus@gmx.de>
475         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
476         "<STDIN>".  This is binary safe.
478 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
480         * textmodes/table.el (table-insert): Don't use `symbol-name' on
481         lexically scoped variables (bug#13005).
483 2012-11-26  Glenn Morris  <rgm@gnu.org>
485         * vc/vc-hooks.el (vc-mistrust-permissions):
486         Default to t, to avoid data-loss.  (Bug#11490)
488 2012-11-26  Fabián Ezequiel Gallina  <fgallina@cuca>
490         * progmodes/python.el (python-indent-guess-indent-offset):
491         If indentation is guessed make python-indent-offset buffer-local.
493         Fix Imenu regression.
494         * progmodes/python.el (python-nav-beginning-of-defun):
495         Fix forward movement when statement(s) separates point from defun.
496         (python-imenu-prev-index-position): New function.
498 2012-11-26  Eli Zaretskii  <eliz@gnu.org>
500         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
502         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
503         Don't set buffer-file-type.  Return nil.  (Bug#12989)
505 2012-11-26  Glenn Morris  <rgm@gnu.org>
507         * hippie-exp.el (hippie-expand-try-functions-list):
508         Re-autoload it.  (Bug#12982)
510 2012-11-25  Eli Zaretskii  <eliz@gnu.org>
512         * descr-text.el (describe-char-padded-string):
513         Call internal-char-font only on GUI frames.  (Bug#11964)
515 2012-11-24  Andreas Schwab  <schwab@linux-m68k.org>
517         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
518         and obsoletion message.
520 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
522         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
523         the constructs to keep outside of the `cl-block' (bug#12977).
525 2012-11-24  Chong Yidong  <cyd@gnu.org>
527         * mouse.el (mouse-drag-line): Even if the line is not draggable,
528         keep reading until we get the up-event anyway, in order to process
529         the up-event for mouse-1-click-follows-link (Bug#12971).
531 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
533         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
534         lexical-binding (bug#12938).
536 2012-11-23  Wolfgang Jenkner  <wjenkner@inode.at>
538         * image-mode.el (image-transform-check-size): Use assertions only
539         for images of type imagemagick.
541         Otherwise no error, image-transform-fit-to-{width,height} is
542         silently ignored, as before.  Doc fix.
544 2012-11-23  Chong Yidong  <cyd@gnu.org>
546         * faces.el (color-defined-p): Doc fix (Bug#12853).
548 2012-11-23  Juri Linkov  <juri@jurta.org>
550         * dired.el (dired-mark): Add optional arg `interactive'.
551         Check for `use-region-p' if `interactive' is non-nil.
552         (dired-unmark, dired-flag-file-deletion): Add optional arg
553         `interactive'.  Call `dired-mark' with the arg `interactive'.
554         (Bug#10624)
556 2012-11-23  Juri Linkov  <juri@jurta.org>
558         * wdired.el: Revert 2012-10-17 change partly and replace it with
559         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
560         (wdired-finish-edit): Add marks for new file names to
561         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
562         after `revert-buffer'.
563         (wdired-do-renames): Remove calls to `dired-remove-file',
564         `dired-add-file', `dired-add-entry'.  (Bug#11795)
566 2012-11-21  Alan Mackenzie  <acm@muc.de>
568         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
570         Fix bugs in the state cache.  Enhance a debugging mechanism.
571         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
572         "brace at column zero" strategy for C++.
573         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
574         (c-parse-state-point): New variable.
575         (c-record-parse-state-state): Record old parse state with
576         `copy-tree'.  Record previous value of point.
577         (c-debug-parse-state-double-cons): New debugging function.
578         (c-debug-parse-state): Call the above new function.
579         (c-toggle-parse-state-debug): Output a confirmatory message.
581         * progmodes/cc-mode.el (c-before-change, c-after-change):
582         Call c-invalidate-state-cache from `c-before-change' instead of
583         `c-after-change'.
585 2012-11-20  Daniel Colascione  <dancol@dancol.org>
587         * term/w32-win.el (cygwin-convert-path-from-windows):
588         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
589         This change is a backport from trunk.
591 2012-11-20  Eli Zaretskii  <eliz@gnu.org>
593         * simple.el (line-move): Don't call line-move-partial if
594         scroll-conservatively is in effect.  (Bug#12927)
596 2012-11-20  Michael Albinus  <michael.albinus@gmx.de>
598         * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
599         order to distinguish from trunk.
601 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
603         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
604         non-symbols for compiler macros (yet).
606         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
607         Fallback on completion-at-point rather than
608         pcomplete-expand-and-complete, and only if pcomplete actually failed.
609         (eshell-cmpl-initialize): Setup completion-at-point.
611         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
613         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
615 2012-11-19  Michael Albinus  <michael.albinus@gmx.de>
617         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
618         are remote, check out-of-band property for both.
620 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
622         * window.el (switch-to-buffer): Re-add the warning that was lost in the
623         code rewrite.
625 2012-11-18  Paul Eggert  <eggert@cs.ucla.edu>
627         More minor time fixes.
628         * calendar/time-date.el: Commentary fix.
629         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
630         too much other code depends on (0 0) time stamps.
631         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
632         Add a couple of FIXME comments.
634         Minor cleanup for times as lists of four integers.
635         * files.el (dir-locals-directory-cache):
636         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
637         Doc fixes.
638         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
639         * ps-bdf.el (bdf-file-newer-than-time):
640         Process four-integers time stamps, not two.  Doc fixes.
642 2012-11-18  Glenn Morris  <rgm@gnu.org>
644         * image.el (insert-image, insert-sliced-image): Doc fix.
646 2012-11-17  Chong Yidong  <cyd@gnu.org>
648         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
649         (Bug#12810).
651 2012-11-17  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
653         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
654         response when the target file is in a subdirectory (Bug#12757).
656 2012-11-17  Chong Yidong  <cyd@gnu.org>
658         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
660 2012-11-17  Glenn Morris  <rgm@gnu.org>
662         * woman.el (woman-non-underline-faces):
663         * emacs-lisp/cl-lib.el (face-underline-p):
664         Use set-face-underline rather than the alias set-face-underline-p.
666         * window.el (with-temp-buffer-window): Doc fix.
667         * subr.el (with-output-to-temp-buffer):
668         Add doc xref to with-temp-buffer-window.
670 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
672         * emacs-lisp/cl-lib.el: Set more meaningful version number.
674 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
676         * window.el (enlarge-window, shrink-window): Don't mention return
677         value in doc-string (Bug#12896).
678         (window--display-buffer): Don't resize frames - it won't work
679         with all window managers and defeat pop-up-frame-alist.
680         (display-buffer-alist): In doc-string explain that CONDITION can
681         be a function and which arguments are passed to it (Bug#12854).
682         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
683         expressions (Bug#12854).
684         (display-buffer): Pass ACTION argument to
685         display-buffer-assq-regexp.
687 2012-11-16  Glenn Morris  <rgm@gnu.org>
689         * window.el (fit-frame-to-buffer-bottom-margin)
690         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
692         * faces.el (face-underline-p): Use face-attribute-specified-or.
694 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
696         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
698 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
700         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
702 2012-11-15  Glenn Morris  <rgm@gnu.org>
704         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
705         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
707         * faces.el (face-underline-p): Doc fix.  Handle :underline being
708         things other than `t' (a string, a list).
709         (face-inverse-video-p): Doc fix.
710         (set-face-underline): Rename it back from set-face-underline-p.
711         Doc fix.  Allow interactive input of values other than t.
712         (read-face-attribute): Apply formatting to :underline,
713         since like :box and :stipple it can take list values.
715         * term.el (ansi-term): Don't let C-x escape-char binding
716         clobber the more standard C-c binding.  (Bug#12842)
718 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
720         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
721         (bug#12879).
723 2012-11-14  Glenn Morris  <rgm@gnu.org>
725         * subr.el (set-temporary-overlay-map): Doc fix.
727 2012-11-13  Martin Rudalics  <rudalics@gmx.at>
729         * window.el (record-window-buffer)
730         (display-buffer-record-window): When copying the markers to
731         window-point preserve window-point-insertion-type. (Bug#12588)
733 2012-11-13  Glenn Morris  <rgm@gnu.org>
735         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
736         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
737         Use new names for hooks rather than obsolete aliases.
739 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
741         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
743 2012-11-12  Wolfgang Jenkner  <wjenkner@inode.at>
745         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
746         39 and 49.  This fixes bug#12792.  Also, treat unimplemented
747         parameters as 0, thereby restoring the behavior of revisions prior
748         to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
750 2012-11-12  Fabián Ezequiel Gallina  <fgallina@cuca>
752         Fix end-of-defun misbehavior.
753         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
754         python-beginning-of-defun-function.  Handle nested defuns
755         correctly.
756         (python-nav-end-of-defun): Rename from
757         python-end-of-defun-function.  Ensure forward movement.
758         (python-info-current-defun): Reimplement to work as intended
759         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
760         parent defuns as soon as possible.
762 2012-11-12  Glenn Morris  <rgm@gnu.org>
764         * progmodes/flymake.el (flymake-error-bitmap)
765         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
766         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
768 2012-11-12  Dmitry Gutov  <dgutov@yandex.ru>
770         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
771         backward, always stop at indentation.  Reverts the change from
772         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
774 2012-11-11  Glenn Morris  <rgm@gnu.org>
776         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
777         Add ibuffer-filter-by-derived-mode.
779         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
780         the same name shadowing each other.
782         * window.el (with-temp-buffer-window): Doc tweak.
784         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
786         * help.el (temp-buffer-max-height):
787         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
788         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
790 2012-11-10  Leo Liu  <sdl.web@gmail.com>
792         * ido.el (ido-set-matches-1): Fix split-string args to avoid
793         performance issue.  (Bug#12796)
795 2012-11-10  Glenn Morris  <rgm@gnu.org>
797         * term.el (term-default-fg-color, term-default-bg-color):
798         Make obsolete, rather than just saying "deprecated" in the doc.
800         * term.el (term): Rename from `term-face'.
801         (term-current-face, ansi-term-color-vector)
802         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
803         Update all users.
805 2012-11-09  Jan Djärv  <jan.h.d@swipnet.se>
807         * server.el (server-create-window-system-frame): Improve comment.
809 2012-11-08  Jan Djärv  <jan.h.d@swipnet.se>
811         * server.el (server-create-window-system-frame): Handle Nextstep
812         specially (Bug#12780).
814 2012-11-08  Glenn Morris  <rgm@gnu.org>
816         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
817         Unautoload, and make obsolete.  (Bug#7449)
819 2012-11-08  Chong Yidong  <cyd@gnu.org>
821         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
822         rename from diff-remove-trailing-whitespace (Bug#12831).
824 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
826         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
827         miscompilation of trace.el.
829 2012-11-08  Glenn Morris  <rgm@gnu.org>
831         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
833 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
835         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
836         (bug#12812).
838 2012-11-07  Chong Yidong  <cyd@gnu.org>
840         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
841         a defcustom with an appropriate :set function.
842         (minibuffer-default--in-prompt-regexps): New function.
844 2012-11-07  Glenn Morris  <rgm@gnu.org>
846         * emacs-lisp/cl.el (define-setf-expander, defsetf)
847         (define-modify-macro): Doc fixes.
849         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
850         (gv-define-simple-setter): Update doc of `fix-return'.
852 2012-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
854         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
855         twice when `fix-return' is set (bug#12813).
857         * emacs-lisp/cl.el (defsetf): Pass the third arg to
858         gv-define-simple-setter (bug#12812).
860 2012-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
862         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
863         (bug#12756).
865 2012-11-06  Glenn Morris  <rgm@gnu.org>
867         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
869 2012-11-05  Glenn Morris  <rgm@gnu.org>
871         * emacs-lisp/cl-extra.el (cl-prettyexpand):
872         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
873         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
874         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
876         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
878 2012-11-03  Glenn Morris  <rgm@gnu.org>
880         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
881         Rename handler properties back from cl-- to cl-.  (Bug#12788)
883         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
885 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
887         * term/pc-win.el: Don't load term/internal from here.
889         * loadup.el: Load term/internal from here.
891 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
893         * progmodes/python.el (inferior-python-mode): Fix hang in
894         jit-lock (Bug#12645).
896 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
898         * window.el (switch-to-visible-buffer)
899         (switch-to-buffer-preserve-window-point): Fix doc-strings.
901 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
903         * play/gomoku.el (gomoku-display-statistics): Update mode line
904         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
906 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
908         * window.el (quit-restore-window): If the window has been
909         created on an existing frame and ended up as the sole window on
910         that frame, do not delete it (Bug#12764).
912 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
914         * progmodes/sh-script.el (sh--inside-noncommand-expression):
915         Rename from sh--inside-arithmetic-expression, handle more cases
916         (bug#11263).
918         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
919         (sh-font-lock-open-heredoc): Use it (bug#12770).
921 2012-10-30  Glenn Morris  <rgm@gnu.org>
923         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
925         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
927 2012-10-29  Chong Yidong  <cyd@gnu.org>
929         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
930         function key is stored in a keyboard macro (Bug#4894).
932         * thingatpt.el (number-at-point): Apply a thing-at-point property.
934 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
936         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
937         header comments".
938         (diff-unified->context, diff-context->unified)
939         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
941         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
943         * files.el (find-alternate-file): Only ask one question (bug#12487).
945 2012-10-29  Chong Yidong  <cyd@gnu.org>
947         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
948         Suggested by Dan Nicolaescu (Bug#6326).
950         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
952         * startup.el (fancy-about-screen): Don't message (Bug#12680).
954         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
956         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
958         * face-remap.el (face-remap-add-relative): Handle the case where a
959         face-remapping-alist entry is a cons cell (Bug#12762).
961 2012-10-29  Kevin Ryde  <user42@zip.com.au>
963         * woman.el (woman-parse-numeric-value): Handle picas correctly
964         (Bug#12639).
966 2012-10-29  Glenn Morris  <rgm@gnu.org>
968         * emacs-lisp/cl.el (defsetf): Doc fix.
970 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
973         syntax to the matching opener, if any (bug#12547).
974         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
975         matching open as a "case-(".
976         (sh-smie-rc-grammar): Add a corresponding rule for it.
978 2012-10-28  Daniel Hackney  <dan@haxney.org>
980         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
981         "PKGNAME-autoloads.el" in case we created it.
983 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
985         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
986         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
987         (completion--twq-all): Disable too-strict assertions.
989         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
991 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
993         * profiler.el (profiler-report-make-entry-part): Fix help-echo
994         text to match the real keybindings.
996 2012-10-27  Juri Linkov  <juri@jurta.org>
998         * wdired.el (wdired-keep-marker-rename): New defcustom.
999         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1000         (Bug#11795)
1002         * dired.el (dired-keep-marker-rename): Add reference to
1003         `wdired-keep-marker-rename' in the docstring.
1004         Add default character value ?R to display initially in
1005         Customization UI instead of ?@.
1007 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
1009         * window.el (display-buffer): In doc-string describe
1010         window-height and window-width alist entries.
1012         * time.el (display-time-world): Restore fit-window-to-buffer
1013         behavior.
1015 2012-10-27  Chong Yidong  <cyd@gnu.org>
1017         * subr.el (insert-buffer-substring-as-yank): Doc fix.
1019 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
1021         * minibuffer.el (completion-category-overrides): New completion
1022         category `bookmark' (bug#11131).
1024 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1026         * emacs-lisp/advice.el (ad-assemble-advised-definition):
1027         Silence bogus compiler warnings for ad-do-it.
1029         * bookmark.el (bookmark-completing-read): Set the completion category
1030         to `bookmark' (bug#11131).
1032 2012-10-26  Bastien  <bzg@altern.org>
1033             Stefan Monnier  <monnier@iro.umontreal.ca>
1035         * face-remap.el: Use lexical-binding.
1036         (text-scale-adjust): Improve docstring.  Use itself for the temporary
1037         overlay-map bindings, so as to repeat the "Use..." message each time.
1039 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1041         * emacs-lisp/macroexp.el (macroexp--expand-all):
1042         Obey byte-compile-warning-enabled-p (bug#12486).
1044         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1045         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1047 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
1049         * mouse.el (mouse-drag-line): Move last form into preceding when
1050         clause (Bug#12731).
1052         * help.el (resize-temp-buffer-window): Fix doc-string.
1054 2012-10-25  David Engster  <deng@randomsample.de>
1056         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1057         Remove.  This feature is already integrated in imenu.
1059         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1060         always loaded.  Require `speedbar' unconditionally.
1062 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1064         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1066         * minibuffer.el (minibuffer-force-complete): Fix thinko.
1068         * net/ldap.el (ldap-search-internal): The official ldif format starts
1069         with a "version: 1" header (bug#12724).
1071         * emacs-lisp/package.el (package-installed-p): Warn if not ready
1072         (bug#12721).
1074 2012-10-25  Glenn Morris  <rgm@gnu.org>
1076         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1078 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * minibuffer.el (minibuffer-force-complete): Use one more marker
1081         for the temporary-overlay-map command (bug#12619).
1083 2012-10-24  Chong Yidong  <cyd@gnu.org>
1085         * time.el (display-time-world-mode): Derive from special-mode.
1086         (display-time-world): Use display-buffer (Bug#12708).
1087         (display-time-world-mode-map): Variable deleted.
1088         (display-time-world-display): Wrap the final delete-char inside
1089         inhibit-read-only.
1091 2012-10-24  Chong Yidong  <cyd@gnu.org>
1093         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1094         Doc fix.
1096         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1098 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1100         * minibuffer.el (completion--all-sorted-completions-location): New var.
1101         (completion--cache-all-sorted-completions)
1102         (completion--flush-all-sorted-completions): Use it.
1103         (completion-in-region, completion-in-region--postch)
1104         (completion-at-point, completion-help-at-point): Use markers in
1105         completion-in-region--data (bug#12619).
1107 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1109         * progmodes/compile.el (compilation-start): Try to handle common
1110         quoting of `cd' argument (bug#12640).
1112         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1113         (bug#12671).
1115 2012-10-23  Glenn Morris  <rgm@gnu.org>
1117         * progmodes/gud.el (gud-menu-map):
1118         Check gdb-active-process is bound.  (Bug#12358)
1120 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1122         * repeat.el (repeat): Set real-this-command (bug#12232).
1124         * htmlfontify.el (hfy-post-html-hook):
1125         * filesets.el (filesets-cache-fill-content-hook):
1126         * arc-mode.el (archive-extract-hook):
1127         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1128         * net/rcirc.el (rcirc-sentinel-functions)
1129         (rcirc-receive-message-functions, rcirc-activity-functions)
1130         (rcirc-print-functions):
1131         * net/dbus.el (dbus-event-error-functions):
1132         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1133         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1134         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1135         * term/sun.el (sun-raw-prefix-hooks):
1136         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1138 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
1140         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1141         Set `tramp-chunksize' to 1.  This improves the performance.
1142         (tramp-smb-wait-for-output): Add timeout to
1143         `tramp-accept-process-output' calls.
1145 2012-10-23  Chong Yidong  <cyd@gnu.org>
1147         * faces.el (font-list-limit): Define as an obsolete variable.
1149         * startup.el (command-line):
1150         * cus-start.el: Don't refer to font-list-limit.
1152         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1154 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1156         * subr.el (internal-temp-output-buffer-show): Rename from
1157         temp-output-buffer-show, since previously compiled files expect this name.
1159 2012-10-23  Glenn Morris  <rgm@gnu.org>
1161         * image.el (image-type-from-file-name): If multiple types match,
1162         return the first one that is supported.  (Bug#9045)
1164 2012-10-22  Glenn Morris  <rgm@gnu.org>
1166         * image.el (imagemagick-enabled-types): Doc fix.
1168 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
1170         * progmodes/which-func.el (which-func-current): The hash-table may have
1171         an explicit nil (bug#12338).
1173 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1175         * electric.el (electric-pair-delete-selection-self-insert-function):
1176         Rename to electric-pair-will-use-region, return a boolean.
1177         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
1179         * delsel.el (delete-selection-helper): Use a function instead of a hook.
1180         (delete-selection-pre-hook): Use use-region-p.
1181         (delete-selection-self-insert-function): Remove.
1182         (self-insert-command): Obey self-insert-uses-region-functions.
1183         (self-insert-iso): Revert to previous setting, since we don't actually
1184         know what that command does.
1185         (delete-selection-self-insert-hooks): Remove.
1187 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
1189         * delsel.el (delete-selection-helper): New function, extracted from
1190         delete-selection-pre-hook.
1191         (delete-selection-pre-hook): Use it.
1192         (delete-selection-self-insert-function): New function.
1193         (delete-selection-self-insert-hooks): New hook.
1194         (self-insert-command, self-insert-iso): Use it.
1195         * electric.el (electric-pair-syntax): New function, extracted from
1196         electric-pair-post-self-insert-function.
1197         (electric-pair-post-self-insert-function): Use it.
1198         (electric-pair-delete-selection-self-insert-function): New function.
1199         (electric-pair-mode): Require delsel and setup
1200         delete-selection-self-insert-hooks (bug#11520).
1202 2012-10-20  Chong Yidong  <cyd@gnu.org>
1204         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1205         no changes to show (Bug#12586).
1207         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1208         list explicitly (Bug#12571).
1210 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
1212         * progmodes/flymake.el (flymake-create-temp-inplace):
1213         Use file-truename.
1215 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
1217         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
1219 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
1221         * calc/calc-units.el (math-extract-units): Properly extract powers
1222         of units.
1224 2012-10-20  Daniel Colascione  <dancol@dancol.org>
1226         * frame.el (make-frame): Set x-display-name as we used to in order
1227         to unbreak creating an X11 frame from an Emacs daemon started
1228         without a display.
1230 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1232         * minibuffer.el (minibuffer-force-complete): Make the next completion use
1233         the same completion-field (bug@12221).
1235 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
1237         * emacs-lisp/debug.el (debug): Record height of debugger window
1238         also when debugger will be back (Bug#8789).
1240 2012-10-18  Chong Yidong  <cyd@gnu.org>
1242         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1243         Convert to defcustom.
1244         (gdb-get-source-file): Don't bind pop-up-windows.
1246         * progmodes/gud.el (gud-display-line): Don't specially re-use
1247         other frames for the gdb-mi case (Bug#12648).
1249 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1251         * emacs-lisp/advice.el: Clean up commentary a bit.
1252         (ad-do-advised-functions, ad-with-originals): Use `declare'.
1253         (byte-code-function-p): Never redefine.
1255         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1257 2012-10-18  Glenn Morris  <rgm@gnu.org>
1259         * dired.el (dired-sort-toggle): Some ls implementations only allow
1260         a single option string.  (Bug#12666)
1262         * minibuffer.el (completion-cycle-threshold): Doc fix.
1264 2012-10-17  Kenichi Handa  <handa@gnu.org>
1266         * international/mule.el (set-keyboard-coding-system):
1267         Recover input meta mode when the new coding system doesn not use 8-bit.
1268         Supply TERMINAL arg to set-input-meta-mode.
1270 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
1272         * wdired.el (wdired-old-marks): New variable.
1273         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1274         (wdired-do-renames): Move point with renamed file and don't lose
1275         mark status (Bug#11795).
1277 2012-10-16  Juri Linkov  <juri@jurta.org>
1279         * replace.el (query-replace-help): Mention multi-buffer replacement
1280         keys in the Help message.  (Bug#12655)
1282 2012-10-15  Chong Yidong  <cyd@gnu.org>
1284         * emacs-lisp/byte-run.el (defsubst): Doc fix.
1286 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
1288         * window.el (display-buffer): Doc fix.
1290         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1291         Adjust the msft regexp to the output of Studio 2010, and move msft
1292         before edg-1.  See the discussion on emacs-devel,
1293         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1294         for the details.
1296 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1298         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1299         (oset): Move uses of object-class-fast macro after its definition.
1301         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1303 2012-10-13  Chong Yidong  <cyd@gnu.org>
1305         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1306         enabled, re-enable it (Bug#11963).
1308 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
1310         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1311         non-nil, restore window configuration (Bug#12623).
1313 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1315         * help-fns.el (describe-variable, describe-function-1):
1316         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1318         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1320 2012-10-12  Glenn Morris  <rgm@gnu.org>
1322         * mail/rmailsum.el (rmail-header-summary):
1323         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
1325 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
1327         * progmodes/python.el (python-mode-map):
1328         Replace subtitute-key-definition with proper command remapping.
1329         (python-nav--up-list): Fix behavior for blocks on the same level.
1331 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1333         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1335         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1336         changes to the format of load-history.
1338         * international/mule-cmds.el (read-char-by-name): Move let-binding of
1339         completion-ignore-case in case that var is buffer-local (bug#12615).
1341 2012-10-11  Kenichi Handa  <handa@gnu.org>
1343         * international/eucjp-ms.el: Re-generated.
1345 2012-10-10  Kenichi Handa  <handa@gnu.org>
1347         * select.el (xselect--encode-string): If a coding is specified for
1348         selection, and that is compatible with COMPOUND_TEXT, use it.
1350 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
1352         * window.el (switch-to-buffer-preserve-window-point): New option.
1353         (switch-to-buffer):
1354         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1356 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1358         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1359         Don't document nil as a useful value (bug#12583).
1361 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
1363         * net/tramp.el (tramp-debug-message):
1364         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1365         (with-tramp-progress-reporter): Rename from
1366         `tramp-with-progress-reporter'.
1367         (with-tramp-file-property, with-tramp-connection-property):
1368         Move from tramp-cache.el, rename from `with-file-property' and
1369         `with-connection-property', respectively.
1371         * net/tramp-cache.el: Remove `with-file-property' and
1372         `with-connection-property'.
1374         * net/tramp.el:
1375         * net/tramp-gvfs.el:
1376         * net/tramp-sh.el:
1377         * net/tramp-smb.el: Adapt callees.
1379         * net/trampver.el: Update release number.
1381 2012-10-09  Glenn Morris  <rgm@gnu.org>
1383         * w32-fns.el (set-message-beep):
1384         * term/w32-win.el (set-message-beep): Update declarations.
1386 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1388         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1389         (mode-line-widen, mode-line-input-method-map)
1390         (mode-line-coding-system-map, mode-line-remote)
1391         (mode-line-unbury-buffer, mode-line-bury-buffer)
1392         (mode-line-next-buffer, mode-line-previous-buffer):
1393         Replace save-selected-window+select-window => with-selected-window.
1395         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1396         * progmodes/cc-vars.el (bq-process): Remove, unused.
1398         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1400 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1402         Implemented `backward-up-list'-like navigation.
1403         * progmodes/python.el (python-nav-up-list)
1404         (python-nav-backward-up-list): New functions.
1405         (python-mode-map): Define substitute key for backward-up-list to
1406         python-nav-backward-up-list.
1408 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1410         * progmodes/python.el (python-fill-paragraph): Rename from
1411         python-fill-paragraph-function.  Fixed fill-paragraph for
1412         decorators (Bug#12605).
1414 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1416         * progmodes/python.el (python-shell-output-filter): Handle extra
1417         carriage return in OSX (Bug#12409).
1419 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1421         Fix shell handling of unbalanced quotes and parens in output.
1422         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1423         (python-syntax-propertize-function): Use it.
1424         (python-shell-output-syntax-table): New var.
1425         (inferior-python-mode): Prevent unbalanced parens/quotes from
1426         previous output mess with current input context.
1428 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
1430         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1431         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1433 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
1435         * ffap.el (ffap-replace-file-component): Support Tramp file name
1436         syntax, not only ange-ftp's one.
1438 2012-10-08  Glenn Morris  <rgm@gnu.org>
1440         * cus-start.el (message-log-max): Set :version.
1442         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1444 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
1446         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1447         the minibuffer window (Bug#10851).
1449 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1451         Enhancements on forward-sexp movement.
1452         * progmodes/python.el (python-nav-beginning-of-statement)
1453         (python-nav-end-of-statement): Return point-marker.
1454         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1455         (python-info-current-symbol)
1456         (python-info-statement-starts-block-p): Rename from
1457         python-info-beginning-of-block-p.
1458         (python-info-statement-ends-block-p): Rename from
1459         python-info-end-of-block-p.
1460         (python-info-beginning-of-statement-p)
1461         (python-info-end-of-statement-p)
1462         (python-info-beginning-of-block-p, python-info-end-of-block-p):
1463         New functions.
1465 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1467         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1468         frame-selected-windows.
1470 2012-10-08  Daniel Colascione  <dancol@dancol.org>
1472         * battery.el (battery-status-function): Check for
1473         w32-battery-status itself, not system-time windows-nt.
1475         * frame.el: Require cl-lib.
1476         (display-format-alist): New variable mapping frame types to
1477         functions that initialize them.
1478         (window-system-for-display): New function: interprets
1479         display-format-alist.
1480         (make-frame-on-display): Remove existing display-selection logic
1481         and just forward to make-frame, which will now DTRT.
1482         (make-frame): Restructure to use window-system-for-display to
1483         figure out how to create a frame on a given display.
1484         (display-mouse-p): Look for frame-type w32, not a particular
1485         system-type.
1487         * loadup.el: Load w32 lisp code when we have the w32 feature.
1489         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1490         system-type windows-nt.
1492         * server.el (server-create-window-system-frame): Look for window
1493         type.
1494         (server-proces-filter): Only force a window system when windows-nt
1495         _and_ w32.  Explain why.
1497         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1498         of window systems we configure for the mode.
1500         * startup.el (command-line): Mark window system is initialized
1501         after we've done it.
1503         * common-win.el (x-select-text): Look for w32, not windows-nt.
1505         * ns-win.el: Require cl-lib.  Add ourselves to
1506         display-format-alist.
1507         (ns-initialize-window-system): Assert we're not initialized twice.
1509         * w32-win.el: Enable lexical binding; require cl-lib; add
1510         ourselves to display-format-alist.
1511         (w32-handle-dropped-file): Convert incoming dropped files from
1512         Windows paths to Cygwin ones before passing them on to the rest of
1513         Emacs.
1514         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
1515         (w32-initialize-window-system): Assert we're not initialized twice.
1517         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1518         (x-initialize-window-system): Assert we're not initialized twice.
1520         * w32-common-fns.el: New File.
1521         (w32-version, w32-using-nt, w32-get-clipboard-data)
1522         (w32-set-clipboard-data, x-set-selection, x-get-selection)
1523         (w32-charset-info-alist, x-last-selected, text)
1524         (x-get-selection-value, x-selection-value): Move here.
1526         * w32-fns.el: Require w32-common-fns.
1527         (w32-version, w32-using-nt, w32-get-clipboard-data)
1528         (w32-set-clipboard-data, x-set-selection, x-get-selection)
1529         (w32-charset-info-alist, x-last-selected, text)
1530         (x-get-selection-value, x-selection-value): Move to
1531         w32-common-fns.
1533         * w32-vars.el:
1534         (w32-allow-system-shell, w32-system-shells): Define only in
1535         non-cygwin case.
1537 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1539         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1540         (read-passwd): Remove a few more potential sources of leaks.
1542 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
1544         * progmodes/python.el (inferior-python-mode)
1545         (python-shell-make-comint): Fix initialization of local
1546         variables copied from parent buffer.
1548 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
1550         * term/ns-win.el (ns-read-file-name): Update declaration to match
1551         nsfns.m.
1552         (ns-respond-to-change-font): Change fontsize separatly so we are sure
1553         it is set when font is acted upon.
1555 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
1557         Enhancements to indentation.
1558         * progmodes/python.el (python-indent-context): Give priority to
1559         inside-string context.  Make comments indentation markers.
1560         (python-indent-region): Do not mess with strings, unless it's the
1561         enclosing set of quotes.
1563 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1565         * window.el (internal--before-save-selected-window)
1566         (internal--after-save-selected-window): New functions extracted from
1567         save-selected-window.  Make sure we return the `alist' we construct.
1568         (save-selected-window): Use them.
1570         * textmodes/tex-mode.el (tex-recenter-output-buffer):
1571         Use with-selected-window.
1573         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1574         forms that define macros (bug#12593).
1576 2012-10-07  Kenichi Handa  <handa@gnu.org>
1578         * international/mule-conf.el (compound-text-with-extensions):
1579         Add :mime-charset property as x-ctext.
1581 2012-10-07  Stefan Merten  <smerten@oekonux.de>
1583         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1584         (rst-indent-literal-normal, rst-indent-literal-minimized)
1585         (rst-indent-comment): Correct :version tag.
1586         (rst-official-cvs-rev): Correct version string.
1588 2012-10-07  Glenn Morris  <rgm@gnu.org>
1590         * mail/rmailmm.el (rmail-mime-process-multipart):
1591         Do not confuse a multipart message with an epilogue
1592         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
1594 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
1596         Fix shell output retrieval and comint-prompt-regexp init.
1597         * progmodes/python.el (inferior-python-mode):
1598         (python-shell-make-comint): Fix initialization of
1599         comint-prompt-regexp from copied file local variables.
1600         (python-shell-fetched-lines): Remove var.
1601         (python-shell-output-filter-in-progress): Rename from
1602         python-shell-fetch-lines-in-progress.
1603         (python-shell-output-filter-buffer): Rename from
1604         python-shell-fetch-lines-string.
1605         (python-shell-fetch-lines-filter): Delete function.
1606         (python-shell-output-filter): New function.
1607         (python-shell-send-string-no-output): Use them.
1609 2012-10-07  Glenn Morris  <rgm@gnu.org>
1611         * hi-lock.el (hi-lock-process-phrase):
1612         Try to make it less fragile.  (Bug#7161)
1614         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1616 2012-10-06  Glenn Morris  <rgm@gnu.org>
1618         * ehelp.el (electric-help-mode): Use help-mode rather than
1619         non-existent mode `help'.
1620         (electric-help-map): Use button-buffer-map.  (Bug#10917)
1622         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1623         (reftex-create-bibtex-footer): Fix custom types.
1625         * progmodes/sh-script.el (sh-indent-after-continuation):
1626         Add explicit :group.
1628         * textmodes/rst.el (rst-preferred-decorations)
1629         (rst-shift-basic-offset): Clarify obsolescence versions.
1631         * profiler.el (profiler): Add missing group :version tag.
1632         * avoid.el (mouse-avoidance-banish-position):
1633         * proced.el (proced-renice-command):
1634         * calc/calc.el (calc-ensure-consistent-units):
1635         * calendar/icalendar.el (icalendar-import-format-uid):
1636         * net/tramp.el (tramp-save-ad-hoc-proxies):
1637         * progmodes/bug-reference.el (bug-reference-bug-regexp):
1638         * progmodes/flymake.el (flymake-error-bitmap)
1639         (flymake-warning-bitmap, flymake-fringe-indicator-position):
1640         * progmodes/sh-script.el (sh-indent-after-continuation):
1641         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1642         (verilog-before-save-font-hook, verilog-after-save-font-hook):
1643         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1644         (vhdl-array-index-record-field-in-sensitivity-list)
1645         (vhdl-indent-comment-like-next-code-line):
1646         * textmodes/reftex-vars.el (reftex-ref-style-alist)
1647         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1648         (reftex-cite-key-separator, reftex-create-bibtex-header)
1649         (reftex-create-bibtex-footer):
1650         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1651         (rst-indent-literal-normal, rst-indent-literal-minimized)
1652         (rst-indent-comment): Add missing custom :version tags.
1654         * calendar/timeclock.el (timeclock-modeline-display):
1655         Add missing obsolete alias for renamed user option.
1657         * strokes.el (strokes-modeline-string):
1658         * emulation/crisp.el (crisp-mode-modeline-string):
1659         * eshell/esh-mode.el (eshell-status-in-modeline):
1660         Aliases to defcustoms must come before the defcustom.
1662         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1663         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1664         (cal-tex-cursor-week-monday): Doc fixes.
1665         (cal-tex-cursor-week2-summary): Doc fix.
1666         Rename from cal-tex-cursor-week-at-a-glance.
1668         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1669         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
1671         * calendar/calendar.el (calendar-mode-map):
1672         Add cal-tex-cursor-week2-summary.
1674 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1676         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1678         * subr.el (read-passwd-map): New var.
1679         (read-passwd): Use `read-string' again.
1680         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1682 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
1684         * register.el (append-to-register, prepend-to-register):
1685         Deactivate mark, as does `copy-to-register' (bug#12389).
1687 2012-10-06  Chong Yidong  <cyd@gnu.org>
1689         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1691 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
1693         * international/characters.el: Fix simple mistake ((car chars) ->
1694         elt), delete duplicated code.
1696 2012-10-06  Glenn Morris  <rgm@gnu.org>
1698         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
1700 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
1702         * color.el (color-hsl-to-rgb): Fix incorrect results for
1703         small and large hue values.  (Bug#12559)
1705 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
1707         Enhancements to docstring formatting when filling paragraphs.
1708         * progmodes/python.el (python-fill-docstring-style): Rename from
1709         python-fill-string-style.  Added new style.
1710         (python-fill-string): Use new style.  Better checks for
1711         docstrings.
1713 2012-10-05  Glenn Morris  <rgm@gnu.org>
1715         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1717         * color.el (color-name-to-rgb, color-rgb-to-hex)
1718         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1719         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1720         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1721         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1723         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
1725 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
1727         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1728         to get the correct size across symlinks.
1730         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1732 2012-10-04  Juri Linkov  <juri@jurta.org>
1734         * replace.el (query-replace-interactive): Declare obsolete.
1735         (query-replace-read-from): Add the last incremental search string
1736         to the list of default values accessible via M-n.
1737         (map-query-replace-regexp): Use `read-regexp'.
1738         (query-replace, query-replace-regexp, query-replace-regexp-eval)
1739         (map-query-replace-regexp, replace-string, replace-regexp):
1740         Fix docstrings to replace mentions of `query-replace-interactive'
1741         with alternatives.  (Bug#12526)
1743 2012-10-04  Juri Linkov  <juri@jurta.org>
1745         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
1746         (dired-pop-to-buffer): Declare obsolete.
1747         (dired-mark-pop-up): Doc fix.
1749 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
1751         Allow user to set docstring style for fill-paragraph.
1752         * progmodes/python.el
1753         (python-fill-comment-function, python-fill-string-function)
1754         (python-fill-decorator-function, python-fill-paren-function):
1755         Remove :safe for defcustoms.
1756         (python-fill-string-style): New defcustom
1757         (python-fill-paragraph-function): Enhance context detection.
1758         (python-fill-string): Honor python-fill-string-style settings.
1760 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
1762         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1763         after setting its buffer (Bug#10805).
1765 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
1767         Fix cornercase for string syntax.
1768         * progmodes/python.el (python-syntax-propertize-function):
1769         Simplify and enhance the regexp for unescaped quotes.  Now it also
1770         matches quotes in weird situations like the single quote in
1771         "something\"'".
1772         (python-syntax-stringify): Simplify num-quotes detecting code.
1774 2012-10-03  Glenn Morris  <rgm@gnu.org>
1776         * help-macro.el (three-step-help):
1777         Revert 2012-09-29 change.  (Bug#12567)
1779 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
1781         * menu-bar.el (kill-this-buffer): Don't do anything when
1782         `menu-frame' is not alive or visible (Bug#8184).
1784         * emacs-lisp/debug.el (debug): When quitting the debugger window
1785         restore current buffer (Bug#12502).
1787 2012-10-02  Chong Yidong  <cyd@gnu.org>
1789         * progmodes/hideif.el (hif-lookup, hif-defined):
1790         Handle semantic-c-takeover-hideif.
1792 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
1794         Change sampling interval units from ms to ns.
1795         * profiler.el (profiler-sampling-interval): Change units
1796         from ms to ns, multiplying the default by 1000000 so that
1797         it remains 1 ms.
1798         (profiler-report-cpu-line-format): Give enough room for
1799         the maximum counters on 64-bit hosts.
1800         (profiler-report-render-calltree-1): Call them "CPU samples",
1801         not "Time (ms)", since they are not milliseconds now (and
1802         never really were).
1804 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
1806         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1807         Fix querying BBDB for entries without a last name (Bug#11580).
1809 2012-10-02  Chong Yidong  <cyd@gnu.org>
1811         * emacs-lisp/eieio.el: Restore Version header.
1813 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1815         * vc/diff-mode.el (diff--auto-refine-data): New var.
1816         (diff-hunk): Use it to delay refinement.
1817         (diff-mode): Remove overlays when we turn off font-lock.
1819         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1820         (table-initialize-table-fixed-width-mode)
1821         (table-set-table-fixed-width-mode): Remove functions.
1822         (table-command-list): Move initialization into declaration.
1823         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1824         (table-with-cache-buffer): Use `declare'.
1825         (table-span-cell): Simplify via CSE.
1826         (table-fixed-width-mode): Use define-minor-mode.
1827         (table-call-interactively, table-funcall, table-apply): Remove.
1828         (table-function): New function, to replace them.
1830         * bookmark.el (bookmark-search-pattern): Remove var.
1831         (bookmark-read-search-input): Remove function.
1832         (bookmark-bmenu-search): Reimplement using a minibuffer.
1834         * faces.el (modeline): Remove obsolete face name.
1836         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1837         and give a non-nil default value.
1838         (add-change-log-entry): Simplify accordingly.
1840 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
1842         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1843         (vc-git-log-edit-toggle-amend): New function.
1844         (vc-git-log-edit-toggle-signoff): New function.
1845         (vc-git-log-edit-mode): New major mode.
1846         (vc-git-log-edit-mode-map): Keymap for it.
1847         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1849         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1850         header names.
1851         (log-edit-toggle-header): New function.
1852         (log-edit-extract-headers): Accept function values in HEADERS alist.
1854 2012-10-01  David Engster  <deng@randomsample.de>
1856         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1857         from symbol property and change message to be more consistent with
1858         Emacs proper.
1859         (eieio-describe-generic): Add filename for each implementation.
1860         Fix indices for generic and normal methods.
1861         (eieio-method-def, eieio-class-def): New buttons.
1862         (eieio-help-find-method-definition)
1863         (eieio-help-find-class-definition): New functions.
1864         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1865         class, constructor and method definitions.
1867         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1868         information in symbol property.
1869         (scoped-class): Remove.
1870         (eieio-slot-name-index, call-next-method): Check if it is bound.
1872 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
1874         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1875         (eieio-custom-mode): New major mode.
1876         (eieio-customize-object): Use it.
1878 2012-10-01  Eric Ludlam  <zappo@gnu.org>
1880         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1881         specifying the expected class, and whether subclassing is allowed.
1882         (eieio-persistent-convert-list-to-object):
1883         (eieio-persistent-validate/fix-slot-value)
1884         (eieio-persistent-slot-type-is-class-p): New functions.
1885         (eieio-named::slot-missing): Doc fix.
1887         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1888         Stop using unused publd variable.
1890         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1891         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1892         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1893         (eieio-speedbar-handle-click): Do not specify a class for the
1894         method.  Fixes method invocation order problems with EDE.
1896 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1898         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1899         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1901 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
1903         * bookmark.el (bookmark-version-control): Give tags in the
1904         :type choices (Bug#12309), and improve doc string.
1905         (bookmark-write-file): Bind `print-circle' to `t' to allow
1906         circular custom bookmark types.  (Bug#12503)
1908 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
1910         Revert the FOLLOW-SYMLINKS change for file-attributes.
1911         * files.el (remote-file-name-inhibit-cache, after-find-file):
1912         * time.el (display-time-file-nonempty-p): Undo last change.
1914         * profiler.el (profiler-sampling-interval): Change default back to 1.
1915         See Stefan Monnier in
1916         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1918 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
1920         Shell output catching a la gud-gdb.
1921         * progmodes/python.el (python-shell-fetch-lines-in-progress)
1922         (python-shell-fetch-lines-string, python-shell-fetched-lines):
1923         New Vars.
1924         (python-shell-fetch-lines-filter): New function.
1925         (python-shell-send-string-no-output): Use them.
1927 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
1929         * profiler.el (profiler-sampling-interval): Rename from
1930         profiler-sample-interval.
1931         (profiler-sampling-interval): Default to 10.
1932         (profiler-find-profile): New command (was profiler-find-log).
1933         (profiler-find-profile-other-window): New command.
1934         (profiler-find-profile-other-frame): New command.
1935         (profiler-profile): Introduce API-level data structure.
1937 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
1939         file-attributes has a new optional arg FOLLOW-SYMLINKS.
1940         * files.el (remote-file-name-inhibit-cache):
1941         * time.el (display-time-file-nonempty-p): Use it.
1942         * files.el (after-find-file): Don't chase links before calling
1943         file-exists-p, as file-exists-p already does the right thing.
1945 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
1947         Merge from standalone RefTeX repository.
1949         The following ChangeLog entries are shortened versions of the
1950         original ones with file paths adapted.  A not so strongly edited
1951         version of the original ChangeLog can be found in the commit log.
1953         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1954         (reftex-arg-cite): Use `reftex-cite-key-separator'.
1955         Correctly handle new value type returned by `reftex-citation'.
1957         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1958         that entries with whitespace at various places are found.
1959         Doc fix. Include entries that are cross-referenced from cited entries.
1960         Include @String definitions in the resulting bib file.  Add header
1961         and footer defined in `reftex-create-bibtex-header' and
1962         `reftex-create-bibtex-footer'.
1963         (reftex-do-citation): Make it possible again to insert
1964         non-existent entries.  Save match data when asking for optional
1965         arguments. Return all keys, not just the first one.
1966         (reftex-all-used-citation-keys): Fix regexp to correctly extract
1967         all citations in the same line.
1968         (reftex-parse-bibtex-entry): Accept additional optional argument
1969         `raw' and keep quotes or braces if it is non-nil.  Match fields
1970         containing hyphens besides word constituents.
1971         (reftex-get-string-refs): New function.
1972         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1973         and ask if it should be reread in case it did.
1974         (reftex-pop-to-bibtex-entry)
1975         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1976         entries with spaces or tabs in front of arguments.
1977         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1978         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1979         Match entries containing numbers and symbol constituents.
1980         (reftex-do-citation, reftex-figure-out-cite-format):
1981         Use `reftex-cite-key-separator'.
1983         * textmodes/reftex-dcr.el: Move provide statement to end of file.
1984         (reftex-mouse-view-crossref): Explain why point is set.
1986         * textmodes/reftex-global.el: Whitespace changes.
1988         * textmodes/reftex-index.el: Move provide statement to end of
1989         file.
1990         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1991         (reftex-index-visit-phrases-buffer): Set marker when visiting
1992         buffer.  This allows for returning from the phrases file to the
1993         file one was just editing instead of the file where the last
1994         phrases was added from.
1995         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
1996         punctuation syntax as it usually is not used as string quote in
1997         TeX-related modes and may occur unmatched.  The change also
1998         prevents fontification of quoted content.
1999         (reftex-index-phrases-mode): Use it.
2001         * textmodes/reftex-parse.el (reftex-parse-from-file):
2002         Move backward one char if a `\' was matched after a section macro.
2003         (reftex-parse-from-file): Use beginning of match instead of end as
2004         bound.
2006         * textmodes/reftex-ref.el: Adapt creation of
2007         `reftex-<package>-<macro>' functions to new structure of
2008         `reftex-ref-style-alist'.
2009         (reftex-reference): Use `reftex-ref-style-list' function.
2010         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
2011         reference macro if `reftex-ref-macro-prompt' is non-nil.
2012         (reftex-reference): Pass refstyle to `reftex-format-special'.
2013         Determine reference macro by looking at
2014         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2015         Use only one special format function.
2016         (reftex-varioref-vref, reftex-fancyref-fref)
2017         (reftex-fancyref-Fref): Remove definitions.  The functions are now
2018         generated from `reftex-ref-style-alist'.
2019         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2020         Remove.
2021         (reftex-format-special): New function.
2023         * textmodes/reftex-sel.el
2024         (reftex-select-cycle-ref-style-internal): Adapt to new structure
2025         of `reftex-ref-style-alist'. Remove code for testing macro type.
2026         (reftex-select-toggle-varioref)
2027         (reftex-select-toggle-fancyref): Remove.
2028         (reftex-select-cycle-ref-style-internal)
2029         (reftex-select-cycle-ref-style-forward)
2030         (reftex-select-cycle-ref-style-backward): New functions.
2031         (reftex-select-label-map): Use `v' and `V' for general cycling
2032         through reference styles.  Add `p' for switching between number
2033         and page reference types.
2035         * textmodes/reftex-toc.el (reftex-re-enlarge):
2036         Call `enlarge-window' only if there is something to do because in Emacs
2037         the horizontal version throws an error even if the parameter is 0.
2039         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2040         (reftex-plug-into-AUCTeX): Doc fix.
2041         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2042         string.  Adapt to new name.
2043         (reftex-ref-style-alist): Change structure so that it is not
2044         possible to use multiple different package names within a style.
2045         Remove the symbols for symbols for macro type distinction.
2046         Add characters for macro selection.
2047         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2048         (reftex-create-bibtex-footer): New variables.
2049         (reftex-format-ref-function): Mention third argument of special
2050         format function.
2051         (reftex-ref-style-alist, reftex-ref-style-default-list):
2052         New variables.
2053         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2054         to new implementation.  Mark as obsolete.  Add compatibility code
2055         for honoring the variable values in case they are set.
2056         (reftex-cite-format-builtin, reftex-bibliography-commands):
2057         Add support for ConTeXt.
2058         (reftex-format-ref-function, reftex-format-cite-function):
2059         Fix custom type.
2060         (reftex-cite-key-separator): New variable.
2062         * textmodes/reftex.el (reftex-syntax-table-for-bib)
2063         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2064         `reftex-syntax-table' because parens have to retain their paren
2065         syntax in order for parsing of BibTeX entries like @book(...) to
2066         work.
2067         (reftex-in-comment): Do not error out if `comment-start-skip' is
2068         not set.  Deal correctly with escaped comment characters.
2069         (reftex-tie-multifile-symbols): Add doc string.
2070         Initialize `reftex-ref-style-list'.
2071         (reftex-untie-multifile-symbols): Add doc string.
2072         (reftex-add-index-macros): Doc fix.
2073         (reftex-ref-style-activate, reftex-ref-style-toggle)
2074         (reftex-ref-style-list): New functions.
2075         (reftex-mode-menu): Use them.  Adapt to new structure of
2076         `reftex-ref-style-alist'.
2077         (reftex-select-with-char): Kill the RefTeX Select buffer when
2078         done.
2079         (reftex-remove-if): New function.
2080         (reftex-erase-all-selection-and-index-buffers)
2081         (reftex-mode-menu): Reference styles are now computed from
2082         `reftex-ref-style-alist'.  Fix typo.
2083         (reftex-report-bug): New function.
2084         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2085         algorithms with O(n log n).  Introduce optional argument SORT (not
2086         yet used).
2088 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
2090         Enhancements for triple-quote string syntax.
2091         * progmodes/python.el (python-syntax-propertize-function):
2092         Match both quote cases in one regexp.
2093         (python-syntax-stringify): Handle matches properly.
2095 2012-09-30  Juri Linkov  <juri@jurta.org>
2097         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2098         to nil around the call to `insert' to prevent
2099         directory time modification by lock_file.  (Bug#2295)
2100         * tar-mode.el (tar-summarize-buffer): Idem.
2102 2012-09-30  Juri Linkov  <juri@jurta.org>
2104         * facemenu.el (list-colors-sort): Add option "Luminance".
2105         (list-colors-sort-key): Implement it.
2107         * vc/diff-mode.el (diff-refine-removed):
2108         * vc/ediff-init.el (ediff-fine-diff-A):
2109         * vc/smerge-mode.el (smerge-refined-removed):
2110         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
2112 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
2114         * term/ns-win.el (x-file-dialog): New function.
2116 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
2118         * ido.el (ido-max-directory-size): Default to nil; the current
2119         default is small for POSIX systems, and impractical on Windows 7
2120         now that lstat returns directory sizes for NTFS.
2122 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
2124         In buffer display functions handle window-height/window-width
2125         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
2126         * window.el (window--display-buffer): New argument ALIST.
2127         Obey window-height and window-width alist entries.
2128         (window--try-to-split-window): New argument ALIST.
2129         Bind window-combination-limit to t when the window's size shall be
2130         changed and window-combination-limit equals `window-size'.
2131         (display-buffer-in-atom-window)
2132         (display-buffer-in-major-side-window)
2133         (display-buffer-in-side-window, display-buffer-same-window)
2134         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2135         (display-buffer-pop-up-window, display-buffer-below-selected)
2136         (display-buffer-at-bottom, display-buffer-in-previous-window)
2137         (display-buffer-use-some-window): Adjust all callers of
2138         window--display-buffer and window--try-to-split-window.
2139         (fit-frame-to-buffer): New option.
2140         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2141         is non-nil.
2142         (display-buffer-in-major-side-window): Evaluate window-height /
2143         window-width alist entries.
2145         * help.el (temp-buffer-resize-frames)
2146         (temp-buffer-resize-regexps): Remove options.
2147         (temp-buffer-resize-mode): Adjust doc-string.
2148         (resize-temp-buffer-window): Don't consult
2149         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
2150         temp-buffer-resize-frames.
2152         * dired.el (dired-mark-pop-up):
2153         Call display-buffer-below-selected with a fit-window-to-buffer alist
2154         entry.
2156 2012-09-30  Chong Yidong  <cyd@gnu.org>
2158         * server.el (server-host): Document the security implications.
2159         (server-auth-key): Doc fix.
2161         * startup.el (initial-buffer-choice): Doc fix.
2163         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2165         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2166         restriction change.
2168         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2170         * help-fns.el (help-fns--obsolete): Fix last change.
2172 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2174         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2175         (minor-mode-map-alist): Remove redundant code.
2177         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2178         visited in a buffer.
2179         (cvs-insert-visited-file): New function.
2180         (find-file-hook): Use it.
2182         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2184         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2185         chose face.
2186         (log-edit-empty-buffer-p): Don't require a space after a header.
2188         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2190         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2192         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2193         a proper minor-mode.
2195         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2197 2012-09-29  Glenn Morris  <rgm@gnu.org>
2199         * winner.el (winner-mode): Remove variable (let define-minor-mode
2200         handle it).
2201         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2202         Doc fixes.
2203         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2204         (winner-mode): Use define-minor-mode.
2206         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2207         the full definition in loaddefs, rather than duplicating it.
2209         * help-macro.el (three-step-help): No need to autoload defcustom.
2211         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2212         (inferior-lisp-program, inferior-lisp-load-command)
2213         (inferior-lisp-prompt, inferior-lisp-mode-hook):
2214         No need to autoload defcustoms.
2216         * hippie-exp.el (hippie-expand-try-functions-list)
2217         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2218         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2219         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2220         (hippie-expand-only-buffers): No need to autoload defcustoms.
2221         * progmodes/vhdl-mode.el (vhdl-line-expand):
2222         Explicitly load hippie-exp, so it does not get autoloaded
2223         while hippie-expand-try-functions-list is let-bound.
2225 2012-09-28  Glenn Morris  <rgm@gnu.org>
2227         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2229         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2230         Only "cl.el" counts as cl these days.
2232 2012-09-28  Juri Linkov  <juri@jurta.org>
2234         Display archive errors in the echo area instead of inserting
2235         to the file buffer.
2237         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2238         to STDERR-TEST that can be a regexp matching a successful output.
2239         Create a temporary file and redirect stderr to it.  Search for
2240         STDERR-TEST in the stderr output and display it in the echo area
2241         if no match is found.
2242         (archive-extract-by-file): New function like
2243         `archive-extract-by-stdout' but extracting archives to files
2244         and looking for successful matches in stdout.  Function body is
2245         mostly copied from `archive-rar-extract'.
2246         (archive-rar-extract): Use `archive-extract-by-file'.
2247         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
2249 2012-09-28  Leo Liu  <sdl.web@gmail.com>
2251         * pcomplete.el (pcomplete-show-completions):
2252         Use minibuffer-message to make pcomplete usable in minibuffer.
2254         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2256 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2258         * type-break.el: Use lexical-binding.
2259         (type-break-mode): Use define-minor-mode.
2261         * emacs-lisp/pcase.el (pcase--mark-used): New.
2262         (pcase--u1): Use it (bug#12512).
2264         * custom.el (load-theme): Set buffer-file-name so the load is recorded
2265         in load-history with the right file name.
2267 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
2269         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2270         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2271         (doc-view-get-bounding-box): Make bounding box slicing work for
2272         ODF and DVI documents.
2274 2012-09-28  Glenn Morris  <rgm@gnu.org>
2276         * type-break.el (type-break-mode, type-break-interval)
2277         (type-break-good-rest-interval, type-break-keystroke-threshold):
2278         No need to autoload.
2279         (type-break-good-rest-interval, type-break-keystroke-threshold):
2280         Add :set-after.
2282 2012-09-28  Chong Yidong  <cyd@gnu.org>
2284         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2285         Add :version tag.
2287 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2289         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2291 2012-09-27  Glenn Morris  <rgm@gnu.org>
2293         * faces.el (x-display-name): Declare (for without-x builds).
2295         * linum.el (linum-format): Don't autoload it.  Improve :type.
2297         * progmodes/tcl.el: Don't require outline when compiling.
2298         (outline-regexp, outline-level): Declare.
2299         * textmodes/sgml-mode.el: Don't require outline when compiling.
2300         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2302         * term.el (term-ansi-reset):
2303         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
2305         * vc/vc.el (vc-next-action): Only gripe about committing read-only
2306         files for RCS and SCCS.  (Bug#9781)
2308 2012-09-27  Chong Yidong  <cyd@gnu.org>
2310         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2311         change; value should be t.
2313 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2315         * image-mode.el: Use lexical-binding.
2316         (image-mode-winprops): Use t to stand for the window of
2317         a buffer that's not displayed.
2318         * doc-view.el (doc-view-new-window-function): Handle the new
2319         t in winprops.
2320         (doc-view-enlarge): Make it a real nop if the size is not changed.
2321         (doc-view-display): Handle the case where the buffer is not (yet?)
2322         displayed in any window.
2323         (doc-view-saved-settings): New var.
2324         (doc-view-mode): Use it.
2325         (doc-view-fallback-mode): Set it.
2327         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2328         Set lexical-binding.
2329         (minibuffer-eldef-shorten-default): New var.
2330         (minibuffer-default-in-prompt-regexps): Use it for new default.
2331         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2333 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
2335         * international/uni-bidi.el:
2336         * international/uni-category.el:
2337         * international/uni-name.el:
2338         * international/uni-numeric.el: Regenerate.
2340 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
2341             Stefan Monnier  <monnier@iro.umontreal.ca>
2343         * profiler.el: New file.
2345 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2347         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2348         (testcover-reinstrument): Simplify with CSE.
2350 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
2352         * window.el (temp-buffer-window-setup): Fix typo in docstring.
2354 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
2356         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2357         (verilog-auto-input, verilog-auto-insert-lisp)
2358         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2359         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2360         (verilog-auto-unused, verilog-auto-wire)
2361         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2362         newline.  Reported by Andrew Jones.
2363         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2364         Reported by Brad Dobbie.
2365         (verilog-batch-delete-trailing-whitespace):
2366         Create verilog-batch-delete-trailing-whitespace.
2367         Reported by Brad Dobbie.
2368         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2369         parameters from another module.  Reported by Dan Katz.
2370         (verilog-auto, verilog-auto-assign-modport)
2371         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2372         AUTOINOUTMODPORT for UVM interface module shell generation.
2373         Reported by Brad Dobbie.
2374         (verilog-auto-inst-interfaced-ports): Make default nil, as more
2375         standard behavior.
2376         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2377         Reported by Matt Martin.
2379 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
2381         * window.el (window--resize-child-windows): When resizing child
2382         windows proportionally, process them in reverse order to
2383         preserve the "when splitting a window the new one gets the odd
2384         line" behavior.
2385         (window--resize-root-window-vertically): When resizing the
2386         minibuffer window try to affect only windows at the bottom of the
2387         frame.  (Bug#12419)
2389 2012-09-25  Chong Yidong  <cyd@gnu.org>
2391         * subr.el (declare): Doc fix.
2393         * help-fns.el (help-fns--obsolete): Handle macros properly.
2395 2012-09-25  Chong Yidong  <cyd@gnu.org>
2397         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2398         this function obsolete.
2400         * calendar/cal-x.el (calendar-two-frame-setup)
2401         (calendar-only-one-frame-setup, calendar-one-frame-setup):
2402         * calendar/calendar.el (american-calendar, european-calendar)
2403         (calendar-for-loop):
2404         * comint.el (comint-dynamic-simple-complete)
2405         (comint-dynamic-complete-as-filename, comint-unquote-filename):
2406         * desktop.el (desktop-load-default):
2407         * dired-x.el (dired-omit-here-always)
2408         (dired-hack-local-variables, dired-default-directory):
2409         * emacs-lisp/derived.el (derived-mode-class):
2410         * emacs-lisp/timer.el (timer-set-time-with-usecs):
2411         * emacs-lock.el (toggle-emacs-lock):
2412         * epa.el (epa-display-verify-result):
2413         * epg.el (epg-sign-keys, epg-start-sign-keys)
2414         (epg-passphrase-callback-function):
2415         * eshell/esh-util.el (eshell-for):
2416         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2417         (eshell-add-to-window-buffer-names):
2418         * files.el (locate-file-completion):
2419         * imenu.el (imenu-example--create-c-index)
2420         (imenu-example--create-lisp-index)
2421         (imenu-example--lisp-extract-index-name)
2422         (imenu-example--name-and-position):
2423         * international/mule-cmds.el (princ-list):
2424         * international/mule-diag.el (decode-codepage-char):
2425         * international/mule-util.el (detect-coding-with-priority):
2426         * iswitchb.el (iswitchb-read-buffer):
2427         * mail/mailalias.el (mail-complete):
2428         * mail/sendmail.el (mail-sent-via):
2429         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2430         (mouse-major-mode-menu):
2431         * password-cache.el (password-read-and-add):
2432         * pcomplete.el (pcomplete-parse-comint-arguments):
2433         * progmodes/sh-script.el (sh-maybe-here-document):
2434         * replace.el (query-replace-regexp-eval):
2435         * savehist.el (savehist-load):
2436         * simple.el (choose-completion-delete-max-match):
2437         * term.el (term-dynamic-simple-complete):
2438         * vc/ediff-init.el (ediff-check-version):
2439         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2440         * vc/vc.el (vc-diff-switches-list):
2441         * view.el (view-return-to-alist-update): Likewise.
2443         * subr.el (eval-next-after-load, makehash, insert-string)
2444         (assoc-ignore-representation, assoc-ignore-case): Use declare to
2445         mark obsolete.
2446         (mode-line-inverse-video): Variable deleted.
2448         * international/mule-util.el (string-to-sequence): Remove.
2450         * calendar/calendar.el (calendar-version):
2451         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2452         (icalendar-convert-diary-to-ical):
2453         * cus-edit.el (custom-mode):
2454         * ansi-color.el (ansi-color-unfontify-region):
2455         * international/latin1-disp.el (latin1-char-displayable-p):
2456         * progmodes/cwarn.el (turn-on-cwarn-mode):
2457         * progmodes/which-func.el (which-func-update-1):
2458         Use define-obsolete-function-alias.
2460         * net/newst-backend.el (newsticker-cache-filename):
2461         * net/newst-treeview.el (newsticker-groups-filename):
2462         Fix incorrect obsolescence declaration.
2464         * allout.el (allout-passphrase-hint-string): Likewise.
2465         (allout-init): Use a declare form to mark obsolete.
2467         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2468         this applies to functions.
2470         * iswitchb.el (iswitchb-read-buffer): Move code of
2471         iswitchb-define-mode-map here, and delete that obsolete function.
2473         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2474         font-lock-reference-face.
2476 2012-09-25  Glenn Morris  <rgm@gnu.org>
2478         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2479         Doc fixes.
2481         * eshell/em-term.el (eshell-term-name):
2482         Default to term-term-name.  (Bug#12485)
2484 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
2486         * progmodes/python.el (python-shell-send-buffer): Better handling
2487         of "if __name__ == '__main__':" conditionals when sending the buffer.
2489 2012-09-24  Glenn Morris  <rgm@gnu.org>
2491         * eshell/esh-cmd.el (eshell-find-alias-function):
2492         Tighten up file-name regexp.  (Bug#12499)
2494 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
2496         Enhancements for triple-quote string syntax.
2497         * progmodes/python.el (python-quote-syntax): Remove.
2498         (python-syntax-propertize-function): New value.
2499         (python-syntax-count-quotes, python-syntax-stringify):
2500         New functions.
2502 2012-09-24  Chong Yidong  <cyd@gnu.org>
2504         * mail/supercite.el (sc-version): Remove obsolete function.
2505         (sc-describe): Don't mark as obsolete, since it is bound.
2506         (sc-submit-bug-report): Remove.
2508         * vc/log-edit.el (cvs-changelog-full-paragraphs)
2509         (cvs-commit-buffer-require-final-newline): Remove.
2510         (log-edit-require-final-newline)
2511         (log-edit-changelog-full-paragraphs): Default to t.
2513         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2514         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2515         * vc/vc.el (vc-checkout-carefully): Likewise.
2517         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2518         (emerge-version): Remove.
2520         * progmodes/compile.el (compile-internal): Remove.
2521         (compilation-parse-errors-function): Fix typo.
2523         * international/mule.el (set-char-table-default): Remove.
2524         (set-coding-priority, make-coding-system, generic-char-p)
2525         (charset-list, charset-bytes, charset-id): Use declare to mark
2526         functions as obsolete.
2528         * vc/pcvs-defs.el (cvs-buffer-name-alist)
2529         (cvs-invert-ignore-marks): Remove references to obsolete vars.
2530         * vc/vc-hooks.el (vc-default-registered): Don't use
2531         vc-master-templates.
2533         * font-lock.el (font-lock-reference-face):
2534         Use define-obsolete-variable-alias.
2536         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2537         * calendar/calendar.el (calendar-font-lock-keywords):
2538         * calendar/diary-lib.el (diary-font-lock-keywords)
2539         (diary-fancy-font-lock-keywords):
2540         * textmodes/reftex-sel.el (reftex-insert-docstruct):
2541         * textmodes/reftex-index.el (reftex-insert-index):
2542         * textmodes/reftex-cite.el (reftex-format-bib-entry):
2543         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2544         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2545         * progmodes/prolog.el (prolog-font-lock-keywords):
2546         * progmodes/idlwave.el (idlwave-idl-keywords):
2547         * progmodes/ada-mode.el (ada-font-lock-keywords):
2548         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2550 2012-09-24  Glenn Morris  <rgm@gnu.org>
2552         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2554 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
2556         * progmodes/python.el (python-indent-line): More consistent cursor
2557         movement behavior.
2559 2012-09-23  Stefan Merten  <smerten@oekonux.de>
2561         * textmodes/rst.el: Fix compiler warning.
2563 2012-09-23  Roland Winkler  <winkler@gnu.org>
2565         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2566         Transcribe also LaTeX hyphenation.
2567         (bibtex-reformat): Bug fix. Do not quote twice the elements of
2568         bibtex-reformat-previous-options.
2570 2012-09-23  Roland Winkler  <winkler@gnu.org>
2572         * proced.el (proced-renice-command): New variable.
2573         (proced-marked-processes): New function.
2574         (proced-with-processes-buffer): New macro.
2575         (proced-send-signal): Use them.
2576         (proced-renice): New command bound to r.
2578 2012-09-23  Roland Winkler  <winkler@gnu.org>
2580         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2581         ibuffer-saved-filter-groups has one element, shortcut the call of
2582         completing-read.  (Bug#12331)
2584 2012-09-23  Chong Yidong  <cyd@gnu.org>
2586         * bindings.el (mode-line-toggle-read-only):
2587         * bs.el (bs-toggle-readonly):
2588         * buff-menu.el (Buffer-menu-toggle-read-only):
2589         * dired.el (dired-toggle-read-only):
2590         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2592 2012-09-23  Chong Yidong  <cyd@gnu.org>
2594         * image.el (image-type-available-p): Adapt to init-image-library
2595         argument changes.
2597 2012-09-22  Juri Linkov  <juri@jurta.org>
2599         * dired.el (dired-mode-map): Add [remap read-only-mode] for
2600         `dired-toggle-read-only'.  (Bug#12462)
2602 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
2604         * subr.el (temp-output-buffer-show): New function.
2605         (with-output-to-temp-buffer): Call temp-output-buffer-show
2606         instead of internal-temp-output-buffer-show.
2608 2012-09-22  Chong Yidong  <cyd@gnu.org>
2610         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2611         (Bug#12462).
2613         * repeat.el (repeat): Doc fix (Bug#12348).
2615         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2616         (Bug#10909).
2618         * simple.el (shell-command-on-region): Doc fix.
2619         (read-only-mode): Doc fix.
2621 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
2623         * emacs-lisp/timer.el (run-with-idle-timer)
2624         (timer-activate-when-idle): Warn against reinvoking an idle timer
2625         from within its own timer action.  (Bug#12447)
2627 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
2629         * cus-start.el (window-combination-limit): Add new optional
2630         values.
2631         * window.el (temp-buffer-window-show)
2632         (window--try-to-split-window): Handle new values of
2633         window-combination-limit (Bug#1806).
2634         (split-window): Test window-combination-limit for t instead of
2635         non-nil.
2636         (display-buffer-at-bottom): New buffer display action function.
2637         * help.el (temp-buffer-resize-regexps): New option.
2638         (temp-buffer-resize-mode): Rewrite doc-string.
2639         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2640         Don't resize reused window.  Suggested by Glenn Morris.
2642 2012-09-22  Stefan Merten  <smerten@oekonux.de>
2644         * textmodes/rst.el: Revamp section title faces.
2645         (rst-official-version)
2646         (rst-package-emacs-version-alist): Sync with official version
2647         V1.4.0.
2648         (rst-faces-defaults, rst-set-level-default)
2649         (rst-level-face-max, rst-level-face-base-color)
2650         (rst-level-face-base-light, rst-level-face-format-light)
2651         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2652         (rst-adornment-faces-alist): Match new setup.
2653         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2654         (rst-level-5, rst-level-6): New faces.
2656 2012-09-22  Chong Yidong  <cyd@gnu.org>
2658         * simple.el (undo): Handle indirect buffers (Bug#8207).
2660 2012-09-21  Leo Liu  <sdl.web@gmail.com>
2662         IDO: Disable match re-ordering for buffer switching.
2663         * ido.el (ido-buffer-disable-smart-matches): New variable.
2664         (ido-set-matches-1): Use it.  (Bug#2042)
2666 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
2668         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2669         Fix 2011-05-17 change.  (Bug#12418)
2671 2012-09-21  Leo Liu  <sdl.web@gmail.com>
2673         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2675 2012-09-21  Glenn Morris  <rgm@gnu.org>
2677         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2678         Be more robust about locating simple.el.
2680 2012-09-21  Glenn Morris  <rgm@gnu.org>
2682         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2684 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
2686         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
2688 2012-09-20  Juri Linkov  <juri@jurta.org>
2690         * replace.el (query-replace-read-from): Use `read-regexp' instead
2691         of `read-from-minibuffer' when `regexp-flag' is non-nil.
2692         (occur-read-primary-args): Use `read-regexp' instead of
2693         `read-string'.
2694         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2695         `read-from-minibuffer'.
2696         * isearch.el (isearch-occur): Use `read-regexp' instead of
2697         `read-string'.
2698         * dired.el (dired-read-regexp): Use `read-regexp' instead of
2699         `read-from-minibuffer'.
2700         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2701         of `read-string'.  (Bug#7567)
2703         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2704         and allow accepting a list of strings prepended to a list of
2705         standard default values.  Doc fix.  (Bug#12321)
2707         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
2709         * replace.el (read-regexp): Don't add ": " when PROMPT already
2710         ends with a colon and space.  (Bug#12321)
2712 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
2714         * doc-view.el (doc-view-display): Better fix for the cl-assertion
2715         error.
2717 2012-09-20  Stefan Merten  <smerten@oekonux.de>
2719         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2720         Fixes feature request bug#11711.
2721         (rst-mode): Create `imenu-create-index-function'.
2722         (rst-get-stripped-line): Delete after refactoring.
2723         (rst-section-tree, rst-section-tree-rec)
2724         (rst-section-tree-point): Refactor and document properly.
2725         (rst-imenu-find-adornments-for-position)
2726         (rst-imenu-convert-cell, rst-imenu-create-index):
2727         New function.
2729 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2731         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2732         (macroexp--expand-all): Use it.
2733         (macroexp--funcall-and-return): Remove by folding it into its sole
2734         caller (macroexp--warn-and-return).
2735         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2736         Use macroexp--obsolete-warning.
2738         * calc/calc.el: Fix last change by removing the whole chunk, since it
2739         was only needed back when Calc was not bundled.
2741 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
2743         * emacs-lisp/debug.el (debug): Restore assignment to
2744         debugger-old-buffer removed on 2012-09-08.
2746 2012-09-20  Juri Linkov  <juri@jurta.org>
2748         * dired-aux.el (dired-diff): Remove (require 'diff) since
2749         `diff-latest-backup-file' is now autoloaded.
2751 2012-09-20  Chong Yidong  <cyd@gnu.org>
2753         * vc/diff.el (diff-latest-backup-file): Autoload.
2755 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2757         * calc/calc.el: Remove redundant autoload shape check.
2758         (sel-mode): Don't defvar.
2759         (calc-get-stack-element): Add `sel-mode' arg instead.
2760         (calc-top, calc-top-list): Pass it this additional argument.
2761         * calc/calc-store.el (calc-store-map):
2762         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2763         (calc-map-equation, calc-outer-product, calc-inner-product):
2764         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2766         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2768 2012-09-19  Juri Linkov  <juri@jurta.org>
2770         * dired-aux.el (dired-diff): Add (require 'diff) because
2771         `diff-latest-backup-file' is not autoloaded.
2772         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2773         of `dired-get-filename' to t to not report error when there is
2774         no default file on the current line.
2776 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2778         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2779         macroexp--eval-if-compile.
2780         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2781         (macroexp--expand-all): Use them (bug#12371).
2783         * doc-view.el (doc-view-guess-paper-size)
2784         (doc-view-scale-bounding-box): Fix unbound `caddr'.
2786 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
2788         New feature: set optimal slice from BoundingBox information.
2789         * doc-view.el (doc-view-mode-map): Add keybinding.
2790         (doc-view-menu): Add menu entry.
2791         (doc-view-set-slice): Adapt docstring.
2792         (doc-view-get-bounding-box, doc-view-guess-paper-size)
2793         (doc-view-scale-bounding-box)
2794         (doc-view-set-slice-from-bounding-box): New functions.
2795         (doc-view-paper-sizes): New defvar.
2797 2012-09-19  Glenn Morris  <rgm@gnu.org>
2799         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2800         (byte-compile-log-warning): Autoload.  (Bug#12371)
2802         * calendar/calendar.el (calendar-american-month-header)
2803         (calendar-european-month-header, calendar-iso-month-header)
2804         (calendar-month-header): New options.
2805         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
2806         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
2808 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
2810         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2812 2012-09-18  Juri Linkov  <juri@jurta.org>
2814         * dired-aux.el (dired-diff): Restore original functionality of
2815         getting the default value, but keep new feature of using the
2816         latest existing backup file (`diff-latest-backup-file').
2818 2012-09-18  Juri Linkov  <juri@jurta.org>
2820         * dired.el (dired-mark): If the region is active in Transient Mark
2821         mode, mark all files in the active region.  Doc fix.
2822         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2823         Doc fix.  (Bug#10624)
2825 2012-09-18  Juri Linkov  <juri@jurta.org>
2827         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2828         attributes for M-n are pulled from the file at point.
2829         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2830         Suggested by Drew Adams.  (Bug#10624)
2832 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
2834         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2835         whitespace after "end".
2836         (ruby-do-end-to-brace): Collapse block to one line if it fits
2837         within fill-column.
2839 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
2841         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2842         value.
2843         (debug): Don't remove debugger window when debugger is expected
2844         to be back.
2846 2012-09-18  Chong Yidong  <cyd@gnu.org>
2848         * custom.el (defface): Doc fix.
2850         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2852 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
2854         * progmodes/compile.el (compilation-start): Use compilation-always-kill
2855         to initialize query-on-exit; then test that instead (bug#12288).
2857 2012-09-17  Stefan Merten  <smerten@oekonux.de>
2859         * textmodes/rst.el: Add support for `testcover'.
2860         (rst-defcustom-testcover, rst-testcover-add-compose)
2861         (rst-testcover-add-1value): New functions.
2862         (rst-portable-mark-active-p): Replace by `use-region-p'.
2863         (rst-update-section, rst-classify-adornment)
2864         (rst-find-title-line): Mark `1value' forms.
2865         (rst-classify-adornment): Remove superfluous form.
2866         (rst-update-section, rst-get-adornments-around)
2867         (rst-adornment-complete-p, rst-get-next-adornment)
2868         (rst-adjust, rst-promote-region)
2869         (rst-display-adornments-hierarchy, rst-straighten-adornments)
2870         (rst-find-pfx-in-region, rst-section-tree-rec)
2871         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2872         (rst-toc-node, rst-toc, rst-forward-section)
2873         (rst-iterate-leftmost-paragraphs)
2874         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2875         (rst-bullet-list-region)
2876         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2877         (rst-compile-find-conf, rst-compile)
2878         (rst-repeat-last-character): Fix style.
2880 2012-09-17  Chong Yidong  <cyd@gnu.org>
2882         * comint.el (comint--complete-file-name-data): Don't add a space
2883         if the status is `sole'; that adds a gratuitous space in the
2884         completion-cycling case (Bug#12092).
2886         * pcomplete.el (pcomplete-completions-at-point): Likewise.
2888 2012-09-17  Richard Stallman  <rms@gnu.org>
2890         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2891         only in the mime-shown mode, not in raw mode.
2892         (rmail-mime): Toggle off mime by displaying the message without
2893         mime processing.  (Bug#12305)
2895         * mail/rmail.el (rmail-retry-failure):
2896         Turn off mime processing first.  (Bug#12037)
2898         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2900 2012-09-17  Chong Yidong  <cyd@gnu.org>
2902         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2903         (shell-dynamic-complete-functions): Convert to defcustom.
2904         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2906         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2907         * comint.el (comint-prompt-read-only):
2908         * custom.el (defcustom):
2909         * hi-lock.el (hi-lock-mode):
2910         * ibuffer.el (ibuffer-formats):
2911         * ielm.el (ielm-prompt-read-only):
2912         * novice.el (disable-command):
2913         * saveplace.el (toggle-save-place):
2914         * speedbar.el (speedbar-supported-extension-expressions):
2915         * startup.el (auto-save-list-file-prefix, init-file-user)
2916         (after-init-hook, inhibit-startup-echo-area-message):
2917         * strokes.el (strokes-help):
2918         * time-stamp.el (time-stamp):
2919         * calendar/calendar.el (calendar, diary-file):
2920         * calendar/diary-lib.el (diary-mail-entries, diary)
2921         (diary-list-entries-hook):
2922         * calendar/holidays.el (holidays, calendar-holidays):
2923         * calendar/lunar.el (lunar-phases):
2924         * calendar/solar.el (sunrise-sunset):
2925         * emulation/edt.el (edt-load-keys):
2926         * emulation/viper.el (viper-mode):
2927         * eshell/em-alias.el (eshell-command-aliases-list):
2928         * eshell/esh-util.el (eshell-convert-numeric-arguments):
2929         * international/ogonek.el (ogonek-information):
2930         * net/tramp-cmds.el (tramp-bug):
2931         * net/quickurl.el (quickurl-reread-hook-postfix):
2932         * play/decipher.el (decipher-font-lock-keywords):
2933         * progmodes/cc-styles.el (c-set-style):
2934         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2935         * progmodes/inf-lisp.el (inferior-lisp-prompt):
2936         * progmodes/octave-mod.el (octave-mode):
2937         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2938         * progmodes/verilog-mode.el (verilog-read-defines):
2939         * textmodes/two-column.el (2C-mode): Likewise.
2941 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
2943         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2944         that holds many addresses.
2946 2012-09-16  Chong Yidong  <cyd@gnu.org>
2948         * align.el (align-areas): Call the indication function with
2949         positions instead of markers for arguments (Bug#12343).
2951         * files.el (parse-colon-path): Use split-string (Bug#12351).
2953         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2954         (display-buffer-function): Mark as obsolete.
2956         * progmodes/compile.el (compilation-parse-errors): Accept list
2957         values similar to font-lock-keywords (Bug#12136).
2958         Suggested by Oleksandr Manzyuk.
2959         (compilation-error-regexp-alist): Doc fix.
2961 2012-09-15  Glenn Morris  <rgm@gnu.org>
2963         * version.el (emacs-bzr-version-bzr): New function.
2964         (emacs-bzr-get-version): Add optional EXTERNAL argument.
2966         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2967         checkouts, check the parent dirstate matches the branch.
2968         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
2969         empty string.
2971         * version.el (emacs-bzr-version): Doc fix.
2972         (emacs-bzr-version-dirstate): New function.
2973         (emacs-bzr-get-version): For lightweight checkouts, if the parent
2974         is local try and check that it matches the branch.  If not, just
2975         use dirstate information.  (Bug#12441)
2977 2012-09-14  Juri Linkov  <juri@jurta.org>
2979         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2980         (Bug#12399)
2982 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2984         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2986         * emacs-lisp/edebug.el: Miscellaneous cleanup.
2987         Remove obsolete byte-compiler hack that tried to silence some warnings.
2988         (edebug-submit-bug-report): Remove.
2989         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2990         Remove aliases, use the un-prefixed name instead.
2991         (edebug-pop-to-buffer): Consider other frames.
2992         (edebug-original-read):: Make it more obvious that it's always defined.
2993         (edebug--make-form-data-entry, edebug--form-data-name)
2994         (edebug--form-data-begin, edebug--form-data-end): Rename from the
2995         single-dashed name, and implement with cl-defstruct.
2996         (edebug-set-form-data-entry): Use the standard accessors.
2997         (edebug-make-top-form-data-entry): Use push.
2998         (edebug-no-match): Drop useless `funcall'.
2999         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3000         to functions.
3001         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3002         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3003         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3004         (easy-menu-define, with-custom-print): Remove redundant specs.
3005         (edebug-outside-overriding-local-map)
3006         (edebug-outside-overriding-terminal-local-map): Remove, unused.
3007         (edebug--display): Bind unread-command-events directly to nil rather
3008         than binding it to unread-command-events and later setting it to nil.
3009         (edebug--display): Kill edebug-eval-buffer here...
3010         (edebug--recursive-edit): ...rather than here.
3011         Bind standard-output and standard-input.
3012         (edebug-eval): Check cl-macroexpand-all is fboundp.
3013         (edebug-temp-display-freq-count): Fix last change.
3015         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3016         * subr.el (noreturn, 1value): Add `debug' spec.
3017         * emacs-lisp/advice.el: Require cl-lib.
3018         (ad-copy-tree): Remove, use copy-tree instead.
3019         (ad-dolist): Remove use dolist or cl-dolist instead.
3020         (ad-do-return): Remove, use cl-return instead.
3021         (defadvice): Add `debug' spec.
3023 2012-09-13  Juri Linkov  <juri@jurta.org>
3025         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3026         (Bug#12399)
3028 2012-09-13  Glenn Morris  <rgm@gnu.org>
3030         * calc/calc.el (math-compose-expr):
3031         * calc/calc-ext.el (math-compose-expr):
3032         * progmodes/cc-defs.el (cl-macroexpand-all):
3033         * progmodes/cc-langs.el (delete-duplicates, mapcan)
3034         (cl-macroexpand-all): Update declarations.
3036         * vc/vc.el: No need to require ediff.
3037         (ediff-load-version-control): Declare.
3038         (ediff-vc-internal): Fix declaration.
3039         (vc-version-ediff): Require ediff.
3041 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3043         Use a more backwards-compatible timer format (Bug#12430).
3044         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3045         being right after USECS, as that better supports old code that
3046         inadvisedly looked directly at the timer vector.
3048 2012-09-13  Kenichi Handa  <handa@gnu.org>
3050         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3051         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3052         `coding-priority' property of these language environment.
3054 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3056         Fix glitches caused by addition of psec to timers (Bug#12430).
3057         * image.el (image-animate-timer):
3058         * time.el (display-time-world-timer):
3059         Use timer--function and timer--args rather than raw access to
3060         timer vector.
3062 2012-09-13  Glenn Morris  <rgm@gnu.org>
3064         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3065         If not compiling a file, try using load-file-name.
3067 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3070         Fix last change.
3071         (edebug-update-eval-list): Use `push'.
3073         * emacs-lisp/edebug.el: Use lexical-binding.
3074         Remove the "edebug-" prefix from non-dynamically-scoped variables.
3075         Mark unused args with underscore.
3076         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3077         (edebug-form-data): Use defvar-local.
3078         (edebug-make-before-and-after-form, edebug-make-after-form):
3079         Use backquote.
3080         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3081         Not dynamically scoped any more.
3082         (edebug--enter-trace): Add arguments `function' and `args'.
3083         Rename from edebug-enter-trace.
3084         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
3085         (edebug--update-coverage): Add `after-index' and `value' args.
3086         Rename from edebug-update-coverage.
3087         (edebug-slow-after): Call it accordingly.
3088         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
3089         edebug-recursive-edit.
3090         (edebug--display): Call it accordingly.  Add args `value',
3091         `offset-index', and `arg-mode'.  Rename from edebug-display.
3092         (edebug-debugger, edebug): Call it accordingly.
3093         (edebug-eval-display-list): Use dolist.
3095 2012-09-12  Juri Linkov  <juri@jurta.org>
3097         * info.el (Info-search): Don't check for isearch-mode and
3098         isearch-regexp before let-binding search-spaces-regexp to
3099         Info-search-whitespace-regexp.
3100         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3101         search-whitespace-regexp if isearch-lax-whitespace or
3102         isearch-regexp-lax-whitespace is non-nil.
3103         (Info-mode): Don't set local variable search-whitespace-regexp.
3104         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3106 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3108         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3109         (debugger-env-macro): Remove support for unread-command-char.
3111         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3112         the temporary map re-appearing on emulation-mode-map-alists.
3114         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3115         since 22.1.
3117         * ehelp.el (with-electric-help): Accept functions in
3118         electric-help-form-to-execute.
3119         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3120         And replace unread-command-char -> unread-command-events.
3122 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
3124         Sync with Tramp 2.2.6.
3126         * net/tramp.el (tramp-accept-process-output): Don't use
3127         JUST-THIS-ONE in the XEmacs case.
3129         * net/trampver.el: Update release number.
3131 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
3133         * emacs-lisp/debug.el (debugger-previous-window-height):
3134         New variable.
3135         (debug): When debugger-jumping-flag is non-nil try to restore
3136         height of debugger window.  (Bug#8789)
3138 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3140         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3141         overriding-local-map and pre/post-command-hook here.
3142         (edebug-recursive-edit): Do it here instead (bug#12345).
3143         (edebug-outside-unread-command-char): Remove all uses of
3144         unread-command-char.
3146         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3147         inhibit-debugger is bound instead.
3149 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3151         * subr.el (set-temporary-overlay-map): Add a docstring.
3152         (Bug#12346)
3154 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3156         * minibuffer.el (completion-table-subvert): Fix docstring.
3157         (Bug#12347)
3159 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3161         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
3163 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
3165         * progmodes/sql.el: Version 3.1
3166         (sql-db2-escape-newlines): New variable.
3167         (sql-escape-newlines-filter): Use it.
3169 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
3171         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3173 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
3175         * vc/diff-mode.el (diff-mode-menu):
3176         Bind diff-remove-trailing-whitespace.
3178 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3180         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3181         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3182         (emacs-lisp-byte-code-mode): New functions.
3183         (eval-sexp-add-defvars): Don't skip defvars in column >0.
3184         (eval-defun-2): Remove bogus interactive spec.
3185         (lisp-indent-line): Remove redundant whole-exp code, now done in
3186         indent-according-to-mode.
3187         (save-match-data): Remove redundant indent data.
3189         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3190         Use `declare'.
3192 2012-09-09  Juri Linkov  <juri@jurta.org>
3194         * replace.el (replace-regexp-lax-whitespace): New defcustom.
3195         (replace-lax-whitespace, query-replace-regexp)
3196         (query-replace-regexp-eval, replace-regexp): Doc fix.
3197         (perform-replace, replace-highlight): Let-bind
3198         isearch-lax-whitespace to replace-lax-whitespace and
3199         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3201         * isearch.el (isearch-query-replace): Let-bind
3202         replace-lax-whitespace to isearch-lax-whitespace and
3203         replace-regexp-lax-whitespace to
3204         isearch-regexp-lax-whitespace.  (Bug#10885)
3206 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3208         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3210 2012-09-09  Alan Mackenzie  <acm@muc.de>
3212         * progmodes/cc-engine.el (c-state-cache-init):
3213         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3214         (c-record-parse-state-state):
3215         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3217 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
3219         * register.el (register-separator): Rename from
3220         separator-register.  All uses changed.  Doc fix.
3221         (register): Fix version.
3223 2012-09-09  Chong Yidong  <cyd@gnu.org>
3225         * replace.el (query-replace-map): Bind four new symbols for
3226         requesting window scrolling.
3228         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3229         query-replace-map (Bug#8948).
3231         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3233         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3234         since they are now in query-replace-map.
3236         * window.el (scroll-other-window-down): Make the arg optional.
3238 2012-09-09  Chong Yidong  <cyd@gnu.org>
3240         * files.el (hack-local-variables-confirm): Use quit-window to kill
3241         the *Local Variables* buffer.
3243 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3245         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3246         not just expect to be at its beginning.  Adjust callees.
3247         Succeed when do-end block has no space before the pipe character.
3248         (ruby-brace-to-do-end): When the original block is one-liner,
3249         convert to multiline.  Reindent the result.
3251 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
3253         * register.el (register): New group.
3254         (separator-register): New user option.
3255         (increment-register): Route it to `append-to-register', if
3256         register contains text.  Implication is that `C-x r +' can now be
3257         used for appending to a text register (bug#12217).
3258         (append-to-register, prepend-to-register): Add separator based on
3259         `separator-register'.
3261 2012-09-08  Alan Mackenzie  <acm@muc.de>
3263         AWK Mode: make auto-newline work when there's "==" in the pattern.
3264         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3265         correctly.
3266         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3267         Test more rigorously for "=" token.
3269 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3271         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3272         Only fail when reached LIMIT.
3274 2012-09-08  Chong Yidong  <cyd@gnu.org>
3276         * dired.el (dired-mode-map): Don't bind M-=.
3278         * dired-aux.el (dired-diff): Use backup file as default.
3280 2012-09-08  Drew Adams  <drew.adams@oracle.com>
3282         * subr.el (add-to-history): Fix delete usage (Bug#12314).
3284 2012-09-08  Chong Yidong  <cyd@gnu.org>
3286         * subr.el (syntax-after, syntax-class): Doc fix.
3288 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
3290         * window.el (display-buffer-in-previous-window): New buffer
3291         display action function.
3293         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3294         (debugger-previous-window): New variable.
3295         (debug): Rewrite using display-buffer-in-previous-window,
3296         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
3298 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3300         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
3302 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
3304         * progmodes/python.el (python-shell-send-string):
3305         When default-directory is remote, create temp file on remote
3306         filesystem.
3307         (python-shell-send-file): When file is remote, pass local view of
3308         file paths to remote Python interpreter.  (Bug#12340)
3310 2012-09-07  Chong Yidong  <cyd@gnu.org>
3312         * window.el (switch-to-buffer): Doc fix (Bug#12181).
3314         * files.el (after-find-file): Don't fail on a read-only buffer if
3315         require-final-newline is `visit' or `visit-save' (Bug#11156).
3317         * subr.el (read-char-choice): Allow quitting via ESC ESC.
3319         * userlock.el (ask-user-about-supersession-threat):
3320         Use read-char-choice (Bug#12093).
3322 2012-09-07  Chong Yidong  <cyd@gnu.org>
3324         * subr.el (buffer-narrowed-p): New function.
3326         * ses.el (ses-widen):
3327         * simple.el (count-words--buffer-message):
3328         * net/browse-url.el (browse-url-of-buffer): Use it.
3330         * simple.el (count-words-region): Don't signal an error if there
3331         is a non-nil prefix arg and the mark is not set.
3333         * help.el (describe-key-briefly): Allow the message to be seen
3334         when invoked from the minibuffer (Bug#7014).
3336 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
3338         * progmodes/ruby-mode.el (ruby-end-of-defun)
3339         (ruby-beginning-of-defun): Simplify, allow indentation before
3340         block beginning and end keywords.
3341         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3342         (ruby-end-of-defun): Expect that the point is at the beginning of
3343         the defun.
3345 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3347         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3348         (bug#12367).
3349         (cl--make-usage-args): Strip _ from argument names.
3351 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3353         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3354         obsolete alias speedbar-key-map.
3355         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3356         (vhdl-index-menu-init): Don't use obsolete variable
3357         font-lock-maximum-size.
3359 2012-09-06  Chong Yidong  <cyd@gnu.org>
3361         * frame.el (window-system-version): Mark as obsolete.
3363         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3364         of obsolete variable speedbar-key-map.
3366 2012-09-06  Juri Linkov  <juri@jurta.org>
3368         * replace.el (replace-lax-whitespace): New defcustom.
3369         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3370         (replace-string, replace-regexp): Mention it in docstrings.
3371         (perform-replace, replace-highlight): Let-bind
3372         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3373         to the values of replace-lax-whitespace and regexp-flag.
3374         Don't let-bind search-whitespace-regexp.  (Bug#10885)
3376         * isearch.el (isearch-query-replace): Let-bind
3377         replace-lax-whitespace instead of let-binding
3378         replace-search-function and replace-re-search-function.
3379         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3380         and isearch-regexp-lax-whitespace to lazy-highlight variables.
3381         (isearch-toggle-symbol): Set isearch-regexp to nil
3382         in isearch-word mode (like in isearch-toggle-word).
3384 2012-09-06  Juri Linkov  <juri@jurta.org>
3386         * replace.el (replace-search-function)
3387         (replace-re-search-function): Set default values to nil.
3388         (perform-replace): Let-bind isearch-related variables based on
3389         replace-related values, call `isearch-search-fun' and let-bind
3390         the result to `search-function'.  Remove code that sets
3391         `search-function' and `search-string' separately for
3392         `delimited-flag'.
3393         (replace-highlight): Add new argument `delimited-flag' and
3394         rename other arguments to the names used in `perform-replace'.
3395         Let-bind `isearch-word' to the argument `delimited-flag'.
3396         (Bug#10885, bug#10887)
3398 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
3400         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3401         ruby-beginning-of-indent, simplify, allow all keywords to have
3402         indentation before them.
3403         (ruby-beginning-of-indent): Adjust for above.  Search until the
3404         found point is not inside a string or comment.
3405         (ruby-font-lock-keywords): Allow symbols to start with "@"
3406         character, give them higher priority than variables.
3407         (ruby-syntax-propertize-function)
3408         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3409         matchers.  Expression expansions are not comments when inside a
3410         string, and there comment syntax status is irrelevant.
3411         (ruby-match-expression-expansion): New function.  Check that
3412         expression expansion is inside a string, and it's not escaped.
3413         (ruby-font-lock-keywords): Use it.
3415 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
3417         * help.el (temp-buffer-max-height): New default value.
3418         (temp-buffer-resize-frames): New option.
3419         (resize-temp-buffer-window): Optionally resize frame.
3421         * window.el (fit-frame-to-buffer-bottom-margin): New option.
3422         (fit-frame-to-buffer): New function.
3424 2012-09-05  Glenn Morris  <rgm@gnu.org>
3426         * emulation/cua-rect.el (cua--init-rectangles):
3427         * textmodes/picture.el (picture-mode-map):
3428         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3429         like forward-char and backward-char.  (Bug#12317)
3431 2012-09-05  Leo Liu  <sdl.web@gmail.com>
3433         * progmodes/flymake.el (flymake-warning-re): New variable.
3434         (flymake-parse-line): Use it.
3436 2012-09-05  Glenn Morris  <rgm@gnu.org>
3438         * calendar/holidays.el (holiday-christian-holidays):
3439         Rename an entry.  (Bug#12289)
3441 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3443         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3444         (bug#12222).
3446 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3448         * loadup.el: Load macroexp.  Remove hack.
3449         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3450         (macroexp--expand-all): Use it to get better warnings.
3451         (macroexp--backtrace, macroexp--trim-backtrace-frame)
3452         (internal-macroexpand-for-load): New functions.
3453         (macroexp--pending-eager-loads): New var.
3454         (emacs-startup-hook): New hack to replace one in loadup.el.
3455         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3456         (cl--compiler-macro-cXXr): Move to top, before they can be used.
3457         (cl-psetf): Simplify.
3458         (cl-defstruct): Add indent rule.
3460 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
3462         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3463         over `user-mail-address' for the SMTP MAIL FROM envelope.
3464         (smtpmail-via-smtp): Ditto.
3466 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
3468         * progmodes/ruby-mode.el: Clean up keybindings.
3469         (ruby-mode-map): Don't bind ruby-electric-brace,
3470         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3471         backward-kill-word, reindent-then-newline-and-indent.
3472         (ruby-mark-defun): Remove.
3473         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
3474         (ruby-mode): Set local beginning-of-defun-function and
3475         end-of-defun-function values.
3477 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
3479         * window.el (temp-buffer-window-setup-hook)
3480         (temp-buffer-window-show-hook): New hooks.
3481         (temp-buffer-window-setup, temp-buffer-window-show)
3482         (with-temp-buffer-window): New functions.
3483         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3484         (special-display-popup-frame): Make sure the window used shows BUFFER.
3486         * help.el (temp-buffer-resize-mode): Fix doc-string.
3487         (resize-temp-buffer-window): New optional argument WINDOW.
3489         * files.el (recover-file, save-buffers-kill-emacs):
3490         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3492 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
3494         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3495         remote definition of `default-directory', ensure we can connect.
3497 2012-09-02  Juri Linkov  <juri@jurta.org>
3499         Toggle whitespace matching mode with M-s SPC.
3500         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3502         * isearch.el (search-whitespace-regexp): Doc fix.
3503         Remove cons cell customization.
3504         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3505         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3506         New variables.
3507         (isearch-forward, isearch-forward-regexp): Doc fix.
3508         (isearch-toggle-lax-whitespace): New command.
3509         (search-forward-lax-whitespace, search-backward-lax-whitespace)
3510         (re-search-forward-lax-whitespace)
3511         (re-search-backward-lax-whitespace): New functions.
3512         (isearch-whitespace-regexp): Remove function.
3513         (isearch-query-replace): Let-bind replace-search-function and
3514         replace-re-search-function.
3515         (isearch-occur): Let-bind search-spaces-regexp according to the
3516         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3517         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3518         condition for C-q SPC.
3519         (isearch-search-fun-default): Use new functions mentioned above.
3520         (isearch-search-forward, isearch-search-backward): Remove functions.
3521         (isearch-search): Don't let-bind search-spaces-regexp.
3522         (isearch-lazy-highlight-space-regexp): Remove variable.
3523         (isearch-lazy-highlight-lax-whitespace)
3524         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3525         (isearch-lazy-highlight-new-loop): Use them.
3526         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3528 2012-09-02  Chong Yidong  <cyd@gnu.org>
3530         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3532 2012-09-02  Glenn Morris  <rgm@gnu.org>
3534         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
3536 2012-09-01  Glenn Morris  <rgm@gnu.org>
3538         * term.el: Tidy up menu definitions.
3539         (term-mode-map): Use easymenu for In/Out, Complete menus.
3540         (term-pager-break-map): Initialize in the defvar.
3541         (term-terminal-menu, term-signals-menu): Define with easymenu.
3542         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
3543         (term-pager-menu): New, extracted from term-process-pager.
3544         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3545         (term-update-mode-line): Propertize line/char and page items.
3546         (term-process-pager): Move keymap initialization elsewhere.
3548 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
3550         * window.el (switch-to-prev-buffer): Handle additional values of
3551         BURY-OR-KILL argument.  Don't switch in minibuffer window.
3552         (switch-to-next-buffer): Don't switch in minibuffer window.
3553         (quit-restore-window): New function based on quit-window.
3554         Handle additional values of former KILL argument.
3555         (quit-window): Call quit-restore-window with appropriate
3556         interpretation of KILL argument.
3557         (display-buffer-below-selected): New buffer display action
3558         function.
3560 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3562         * minibuffer.el (completion-at-point-functions): Complete docstring
3563         (bug#12254).
3565 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
3567         Better seed support for (random).
3568         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3569         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3570         * play/mpuz.el, play/tetris.el, play/zone.el:
3571         * calc/calc-comb.el (math-init-random-base):
3572         * play/blackbox.el (bb-init-board):
3573         * play/life.el (life):
3574         * server.el (server-use-tcp):
3575         * type-break.el (type-break):
3576         Remove unnecessary call to (random t).
3577         * net/sasl.el (sasl-unique-id-function):
3578         Change (random t) to (random), now that the latter is more random.
3579         * play/life.el (life-initialized): Remove no-longer-needed var.
3581 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
3583         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3584         Consider frame's buffer predicate when choosing the buffer.
3585         (Bug#12081)
3587 2012-08-30  Richard Stallman  <rms@gnu.org>
3589         * simple.el (special-mode-map): Delete binding for `z'.
3591 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
3593         * progmodes/compile.el (compilation-always-kill): Doc fix.
3595 2012-08-30  Chong Yidong  <cyd@gnu.org>
3597         * window.el (display-buffer-reuse-frames): Make the obsolescence
3598         message more informative.
3600 2012-08-30  Glenn Morris  <rgm@gnu.org>
3602         * paren.el (show-paren-delay):
3603         Add a :set function.  Doc fix.  (Bug#12297)
3605 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
3607         * progmodes/compile.el (compilation-always-kill): New var.
3608         (compilation-start): Use it.
3610 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3612         * simple.el (read-only-mode): Move from files.el for bootstrapping.
3613         * files.el (read-only-mode): Move to simple.el.
3615         * files.el (read-only-mode): New minor mode.
3616         (toggle-read-only): Use it and mark obsolete.
3617         (find-file--read-only):
3618         * vc/vc.el (vc-next-action, vc-checkout):
3619         * vc/vc-cvs.el (vc-cvs-checkout):
3620         * obsolete/vc-mcvs.el (vc-mcvs-update):
3621         * ffap.el (ffap--toggle-read-only): Update callers.
3623 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
3625         * eshell/esh-ext.el (eshell-external-command): Do not examine
3626         remote shell scripts.
3627         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3629         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3630         "/usr/local/sbin".
3632 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3636 2012-08-28  Leo Liu  <sdl.web@gmail.com>
3638         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3639         completion-at-point.  (Bug#12220)
3641         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3643         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3645 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3647         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3648         be buffer-local; add delete-trailing-whitespace (bug#12259).
3650 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
3652         * progmodes/hideif.el (hif-compress-define-list):
3653         Fix typo.  (Bug#11951)
3655 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
3657         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3658         buffer local setting.
3660         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3661         rcirc-encode-coding-system.
3663 2012-08-28  Leo Liu  <sdl.web@gmail.com>
3665         * net/rcirc.el (rcirc-split-message): New function.
3666         (rcirc-send-message): Use it.  (Bug#12051)
3668 2012-08-28  Juri Linkov  <juri@jurta.org>
3670         * info.el (Info-fontify-node): Hide empty lines at the end of
3671         the node.  (Bug#12272)
3673 2012-08-27  Drew Adams  <drew.adams@oracle.com>
3675         * dired.el (dired-pop-to-buffer): Make window start at beginning
3676         of buffer (Bug#12281).
3678 2012-08-26  Chong Yidong  <cyd@gnu.org>
3680         * window.el (special-display-regexps, special-display-frame-alist)
3681         (special-display-buffer-names, special-display-function)
3682         (display-buffer-reuse-frames): Mark as obsolete.
3684         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3686         * help.el (help-print-return-message): Don't treat
3687         display-buffer-reuse-frames specially.
3689 2012-08-26  Chong Yidong  <cyd@gnu.org>
3691         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3692         New variable, replacing gdb-frame-parameters.
3693         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3694         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3695         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3696         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3697         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
3698         the functions directly with gdb-display-buffer-other-frame-action.
3699         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3700         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3701         (gdb-display-stack-buffer, gdb-display-locals-buffer)
3702         (gdb-display-registers-buffer): Define directly.
3703         (def-gdb-display-buffer): Macro deleted.
3704         (gdb-display-buffer): Remove second and third args, callers don't
3705         use them.  Defer to the default display-buffer behavior, apart
3706         from making windows dedicated.
3707         (gdb-setup-windows): Don't call display-buffer unnecessarily.
3709         * progmodes/gud.el (gud-display-line): Just use display-buffer.
3711         * window.el (display-buffer-pop-up-frame): Handle a
3712         pop-up-frame-parameters alist entry.
3713         (display-buffer): Document it.
3715 2012-08-26  Chong Yidong  <cyd@gnu.org>
3717         * isearch.el (search-whitespace-regexp): Make string and nil
3718         values apply to both ordinary and regexp search.  Allow a cons
3719         cell value to distinguish between the two.
3720         (isearch-whitespace-regexp, isearch-search-forward)
3721         (isearch-search-backward): New functions.
3722         (isearch-occur, isearch-search-fun-default, isearch-search)
3723         (isearch-lazy-highlight-new-loop): Use them.
3724         (isearch-forward, isearch-forward-regexp): Doc fix.
3726 2012-08-26  Chong Yidong  <cyd@gnu.org>
3728         * faces.el (help-argument-name): Always inherit from italic
3729         (Bug#12213).
3731 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
3733         * window.el (window--even-window-heights): Even heights when
3734         WINDOW and the selected window form a vertical combination.
3735         (display-buffer-use-some-window): Provide that window used gets
3736         sized back by quit-window.  (Bug#11880) and (Bug#12091)
3738 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
3740         Fix file time stamp problem with bzr and CVS (Bug#12001).
3741         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3742         in the file's time stamp, since the version control system loses
3743         that information.
3745 2012-08-22  Juri Linkov  <juri@jurta.org>
3747         * info.el (Info-fontify-node): Hide the suffix of the
3748         Info file name in the header line.  (Bug#12187)
3750 2012-08-22  Glenn Morris  <rgm@gnu.org>
3752         * calendar/cal-tex.el (cal-tex-weekly-common):
3753         Restore leading blank page.
3755 2012-08-22  Le Wang  <l26wang@gmail.com>
3757         * misc.el (forward-to-word, backward-to-word): Activate or extend
3758         the region under `shift-select-mode'.  (Bug#12231)
3760 2012-08-22  Bastien Guerry  <bzg@gnu.org>
3762         * progmodes/executable.el (executable-prefix): Set to "#!" instead
3763         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
3764         gives details on why the space is never needed.
3766 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
3768         * window.el (walk-window-tree, window-with-parameter):
3769         New optional argument MINIBUF to control whether these functions
3770         should run on the minibuffer window.
3771         (window-at-side-list): Don't operate on minibuffer window.
3772         (window-in-direction): Simplify and rewrite doc-string.
3773         (window--size-ignore): Rename to window--size-ignore-p.
3774         Update callers.
3775         (display-buffer-in-atom-window, window--major-non-side-window)
3776         (window--major-side-window, display-buffer-in-major-side-window)
3777         (delete-side-window, display-buffer-in-side-window):
3778         New functions.
3779         (window--side-check, window-deletable-p, delete-window)
3780         (delete-other-windows, split-window): Handle side windows and
3781         atomic windows appropriately.
3782         (window--display-buffer): Call display-buffer-record-window also
3783         when the window buffer did not change.
3785 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
3787         * help-fns.el (help-fns--key-bindings):
3788         Abbreviate non-symbol remap targets.  (Bug#12174)
3790 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
3792         * dired.el (dired-mark-remembered): Don't clobber point.
3793         (Bug#11795)
3795 2012-08-22  Glenn Morris  <rgm@gnu.org>
3797         * progmodes/bug-reference.el (bug-reference): New custom group.
3798         (bug-reference-bug-regexp): Make it a defcustom.
3800 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
3802         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3803         (js-paren-indent-offset, js-square-indent-offset)
3804         (js-curly-indent-offset): Add :safe (Bug#12257).
3806 2012-08-22  Edward O'Connor  <hober0@gmail.com>
3808         * json.el (json-key-format): Add error properties.
3809         (json-encode-key): New function.
3810         (json-encode-hash-table, json-encode-alist, json-encode-plist):
3811         Use json-encode-key.
3813 2012-08-22  Glenn Morris  <rgm@gnu.org>
3815         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3816         (cal-tex-leftday, cal-tex-rightday): Remove functions.
3817         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3818         Update for above change.
3820 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
3822         * cus-face.el (custom-face-attributes): Fix customize type for the
3823         :underline attribute.  (Bug#11805)
3825 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
3827         * window.el (window-point-1, set-window-point-1): Remove.
3828         (window-in-direction, record-window-buffer)
3829         (set-window-buffer-start-and-point, split-window-below)
3830         (window--state-get-1, display-buffer-record-window):
3831         Replace calls to window-point-1 and set-window-point-1 by calls to
3832         window-point and set-window-point respectively.
3834 2012-08-21  Glenn Morris  <rgm@gnu.org>
3836         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3837         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3838         Use it.
3840         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3841         (cal-tex-shortday): New function.
3842         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3843         (cal-tex-cursor-filofax-daily): Use the above.
3845         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3846         New functions.
3847         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3848         (cal-tex-cursor-filofax-week): Use them.
3850         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3851         New constants.
3852         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3853         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3855         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3856         (cal-tex-end-document): Don't rely on buffer name.
3858         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3859         Use cal-tex-vspace.
3860         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3861         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3862         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3863         Use cal-tex-arg.
3865         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3866         (cal-tex-cursor-week, cal-tex-cursor-week2)
3867         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3868         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3869         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3870         (cal-tex-insert-preamble, cal-tex-b-document)
3871         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3872         Improve cal-tex-cmd usage.
3874         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3875         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3876         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3877         (cal-tex-weekly-paper): New function.
3878         (cal-tex-cursor-week, cal-tex-cursor-week2)
3879         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3880         (cal-tex-cursor-day): Use it.
3882         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3883         (cal-tex-cursor-filofax-week): Remove leading blank page.
3885         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3886         Add autoload cookie.  For now at least, don't use color, since
3887         no other cal-tex function does.
3889         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3890         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3891         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3893 2012-08-21  Juri Linkov  <juri@jurta.org>
3895         * info.el (Info-file-attributes): New variable.
3896         (info-insert-file-contents): Add file attributes to
3897         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
3898         `Info-toc-nodes' when previous modtime of the Info file is less
3899         than new modtime.
3900         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3901         of info.el.  (Bug#12230)
3903 2012-08-20  Glenn Morris  <rgm@gnu.org>
3905         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3906         * calendar/holidays.el (calendar-holiday-list):
3907         Report errors with display-warning rather than beep'n'sleep.
3909 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
3911         * net/tramp.el (tramp-accept-process-output): Accept only output
3912         from PROC.  Otherwise, process filters and sentinels might be
3913         confused.  (Bug#12145)
3915 2012-08-20  Chong Yidong  <cyd@gnu.org>
3917         * descr-text.el (describe-text-properties-1): Use overlays-in to
3918         report on empty overlays (Bug#3322).
3920 2012-08-20  Glenn Morris  <rgm@gnu.org>
3922         * mail/rmailout.el (rmail-output-read-file-name):
3923         Trap and report errors in rmail-output-file-alist elements.
3925         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3926         since most non-font-lock faces are not also variables).
3928 2012-08-20  Edward Reingold  <reingold@iit.edu>
3930         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3931         New function.  (Bug12160)
3933 2012-08-19  Glenn Morris  <rgm@gnu.org>
3935         * mail/rmailout.el (rmail-output-read-file-name):
3936         Fix previous change (when the alist is nil or does not match).
3938 2012-08-19  Chong Yidong  <cyd@gnu.org>
3940         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3941         (Bug#12228).
3943 2012-08-18  Chong Yidong  <cyd@gnu.org>
3945         * simple.el (yank-handled-properties): New defcustom.
3946         (yank-excluded-properties): Add font-lock-face and category.
3947         (yank): Doc fix.
3949         * subr.el (remove-yank-excluded-properties):
3950         Obey yank-handled-properties.  The special handling of font-lock-face
3951         and category is now done this way, instead of being hard-coded.
3952         (insert-for-yank-1): Remove font-lock-face handling.
3953         (yank-handle-font-lock-face-property)
3954         (yank-handle-category-property): New function.
3956 2012-08-17  Glenn Morris  <rgm@gnu.org>
3958         * mail/rmailout.el (rmail-output-read-file-name):
3959         Check rmail-output-file-alist against the full message body
3960         in the correct rmail buffer.  (Bug#12214)
3962 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
3964         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3965         Eliminate superfluous prompt.  (Bug#12203)
3967 2012-08-17  Chong Yidong  <cyd@gnu.org>
3969         * mouse.el (mouse-appearance-menu): If x-select-font returns a
3970         font spec, set the font directly (Bug#3228).
3972 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
3974         * window.el (delete-window): Fix last fix.
3976 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
3978         * window.el (window-valid-p): Move to window.c.
3979         (window-child, window-child-count, window-last-child)
3980         (window-normalize-window, window-combined-p)
3981         (window-combinations, window-atom-root, window-min-size)
3982         (window-sizable, window-sizable-p, window-size-fixed-p)
3983         (window-min-delta, window-max-delta, window--resizable)
3984         (window--resizable-p, window-resizable, window-total-size)
3985         (window-full-height-p, window-full-width-p, window-body-size)
3986         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3987         (minimize-window, window-deletable-p, delete-window)
3988         (delete-other-windows, set-window-buffer-start-and-point)
3989         (next-buffer, previous-buffer, split-window, balance-windows-2)
3990         (set-window-text-height, window-buffer-height)
3991         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3992         (truncated-partial-width-window-p): Minor code adjustments.
3993         In doc-strings state whether the argument window has to denote a
3994         live, valid or any window.
3996 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
3998         * progmodes/subword.el (subword-forward-function)
3999         (subword-backward-function, subword-forward-regexp)
4000         (subword-backward-regexp): New variables.
4001         (subword-forward, subword-forward-internal, subword-backward-internal):
4002         Use new variables, eg so that different "word" definitions
4003         can be easily used.  (Bug#11411)
4005 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4007         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4008         for composite selectors.
4009         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4010         operation just because we can't find a previous revision.
4012 2012-08-15  Chong Yidong  <cyd@gnu.org>
4014         * frame.el (set-frame-font): Accept font objects.
4016 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4018         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4020 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
4022         * man.el (Man-overstrike-face, Man-underline-face)
4023         (Man-reverse-face): Remove variables.
4024         (Man-overstrike, Man-underline, Man-reverse): New faces.
4025         (Man-fontify-manpage): Use them instead of the variables.
4026         (Man-cleanup-manpage): Comment change.
4027         (Man-ansi-color-map): New variable.
4028         (Man-fontify-manpage): Use it.
4029         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4031         Implement ANSI SGR parameters 22-27 (bug#12146).
4032         * ansi-color.el (ansi-colors): Doc fix.
4033         (ansi-color-context, ansi-color-context-region): Doc fix.
4034         (ansi-color--find-face): New function.
4035         (ansi-color-apply, ansi-color-apply-on-region): Use it.
4036         Rename the local variable `face' to `codes' since it is now a list of
4037         ansi codes.  Doc fix.
4038         (ansi-color-get-face): Remove.
4039         (ansi-color-parse-sequence): New function, derived from
4040         ansi-color-get-face.
4041         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
4042         codes 22-27.
4044 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4046         * subr.el (read-passwd): Allow use from a minibuffer.
4048 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
4050         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4051         inside comments and strings as identifiers.
4053         * progmodes/gud.el (gud-tooltip-print-command): Quote the
4054         expression to evaluate.  This allows to evaluate expressions with
4055         embedded whitespace.
4056         (gud-tooltip-tips): Add a blank before the newline in the
4057         message-box text, for the benefit of message-box emulation on
4058         MS-Windows.
4060         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4061         messages from GDB, pop them up in a tooltip to give feedback to
4062         user.
4063         (gdb-tooltip-print-1): Quote the expression to evaluate.
4064         This allows to evaluate expressions with embedded whitespace.
4065         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4066         if the TTY name is nil or empty (which happens when communicating
4067         with the inferior via pipes, e.g. on MS-Windows).
4068         (gdb-internals): If GDB sends a "&\n" empty debugging message,
4069         don't send that to the GUD buffer.
4071 2012-08-14  Glenn Morris  <rgm@gnu.org>
4073         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4074         Optimize away setq-default with no args, as for setq.  (Bug#12195)
4076 2012-08-14  Chong Yidong  <cyd@gnu.org>
4078         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4080         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4081         (Bug#12085).
4083 2012-08-14  Glenn Morris  <rgm@gnu.org>
4085         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4087 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
4089         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4090         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4091         Use cached shell name.
4093 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
4095         * progmodes/python.el (python-shell-send-string):
4096         (python-shell-send-setup-code): Do not use `format' with `message'.
4098 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
4100         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4101         (ruby-percent-literal-beg-re): New constant.
4102         (ruby-syntax-general-delimiters-goto-beg): Rename to
4103         `ruby-syntax-enclosing-percent-literal', improve literal type check.
4104         (ruby-syntax-propertize-general-delimiters): Rename to
4105         `ruby-syntax-propertize-percent-literal', it's a shorter and more
4106         popular term.  Adjust comments everywhere.
4107         (ruby-syntax-propertize-percent-literal): Only propertize when not
4108         inside a simple string or comment.  When the literal is unclosed,
4109         leave the text after it unpropertized.
4110         (ruby-syntax-methods-before-regexp): New constant.
4111         (ruby-syntax-propertize-function): Use it to recognize regexps.
4112         Don't look at the text after regexp, just use the whitelist.
4114 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
4116         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4117         non-nil always load the compiled file if it exists.  (Bug#12197)
4119 2012-08-14  Chong Yidong  <cyd@gnu.org>
4121         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4122         (hi-lock-set-pattern): When deciding whether to use font lock or
4123         overlays, look at font-lock-mode instead of font-lock-fontified
4124         (Bug#12168).
4125         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4126         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4128 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
4130         * subr.el (internal--after-with-selected-window): Fix typo
4131         (Bug#12193).
4133 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
4135         Use `completion-table-dynamic' for completion functions.
4136         * progmodes/python.el
4137         (python-shell-completion--do-completion-at-point)
4138         (python-shell-completion--get-completions):
4139         Remove functions.
4140         (python-shell-completion-complete-at-point): New function.
4141         (python-completion-complete-at-point): Use it.
4143 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
4145         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4146         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4148 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4150         * subr.el (function-get): Refine `autoload' arg so it can also
4151         autoload functions for gv.el (bug#12191).
4152         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4153         autoloads macros.
4155         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4156         Prefer pcase-let over destructuring-bind.
4157         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4158         Also, remove whitespace as we go, rather than after accumulating the
4159         various places.
4161         * subr.el (internal--before-with-selected-window)
4162         (internal--after-with-selected-window): Fix typo seleted->selected.
4163         (with-selected-window): Adjust callers.
4164         Reported by Dmitry Gutov <dgutov@yandex.ru>.
4166 2012-08-13  Bastien Guerry  <bzg@gnu.org>
4168         * window.el (special-display-popup-frame): Minor docstring
4169         enhancement.  (Bug#12172)
4171 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
4173         * tar-mode.el (tar-header-data-end): Only ignore size for files of
4174         type 1-6.
4175         (tar-header-block-summarize, tar-get-descriptor): Handle pax
4176         extended headers.
4178         * files.el (hack-local-variables-filter): Remove useless eval.
4180 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
4182         * subr.el (with-selected-window): Fix last change.
4184 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4186         * subr.el (internal--before-with-seleted-window)
4187         (internal--after-with-seleted-window): New functions.
4188         (with-selected-window): Use them, to replace dependency on
4189         tty-top-frame.
4191 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4193         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4194         binding for `newline'.
4195         (ruby-move-to-block): When moving backward, stop at block opening,
4196         not indentation.
4197         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4198         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4199         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4200         `ruby-toggle-block'.
4202 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4204         * ibuffer.el (ibuffer-do-toggle-read-only):
4205         * dired.el (dired-toggle-read-only):
4206         * buff-menu.el (Buffer-menu-toggle-read-only):
4207         * bindings.el (mode-line-toggle-read-only):
4208         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4210 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
4212         * descr-text.el (describe-char): Put the overlays over the
4213         "displayed as" character.
4215 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
4217         * calc/calc-units.el (math-default-units-table): Give an
4218         initial value.
4219         (math-put-default-units): Add options to put composite units and
4220         unit systems in the default units table.
4221         (calc-convert-units): Send composite units to
4222         `math-put-default-units' when appropriate.
4224 2012-08-11  Glenn Morris  <rgm@gnu.org>
4226         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4228         * tutorial.el (help-with-tutorial):
4229         * emacs-lisp/copyright.el (copyright-update-directory):
4230         * emacs-lisp/autoload.el (autoload-find-generated-file)
4231         (autoload-find-file): Disable local eval: (for insurance).
4233         * files.el (hack-local-variables-filter): If an eval: form is not
4234         known to be safe, and enable-local-variables is :safe, then ignore
4235         the form totally, as is done for non-eval forms.  (Bug#12155)
4236         This is CVE-2012-3479.
4238 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4240         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4241         (rx-form): Simplify.
4243 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
4245         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4246         ?, _, and : are symbol constituents, ! is not (but kinda should be).
4247         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4248         (ruby-syntax-propertize-function): Adjust for changes in
4249         `ruby-syntax-propertize-heredoc'.
4251 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
4253         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4254         binding (use `M-;' instead).
4255         (ruby-singleton-class-p): New function.
4256         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4258 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4260         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4262 2012-08-10  Chong Yidong  <cyd@gnu.org>
4264         * progmodes/python.el (python-shell-get-process-name): Don't mess
4265         with same-window-buffer-names.
4267         * eshell/eshell.el (eshell-add-to-window-buffer-names)
4268         (eshell-remove-from-window-buffer-names): Make obsolete.
4269         (eshell-buffer-name, eshell-unload-hook): Don't use them.
4270         (eshell): Just use pop-to-buffer-same-window instead.
4272 2012-08-10  Chong Yidong  <cyd@gnu.org>
4274         * bindings.el: Bind M-= back to count-words-region.
4276         * simple.el (count-words-region): Accept a prefix arg for acting
4277         on the entire buffer.
4278         (count-words--buffer-message): New helper function.
4280 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4282         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4283         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4284         (event-start, event-end): Use posn-at-point to return a more
4285         informative posn.
4286         (posnp): New function.
4287         * mouse.el (popup-menu-normalize-position): Use it.
4289 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
4291         * mouse.el (popup-menu-normalize-position): New function.
4292         (popup-menu): Use `popup-menu-normalize-position' to normalize
4293         the form for POSITION argument.
4295         * term/x-win.el (x-menu-bar-open):
4296         Use the value returend from (posn-at-point) as position
4297         passed to `popup-menu'.
4299 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
4301         * calc/calccomp.el (math-compose-expr): Add extra argument
4302         indicating that parentheses should be put around products in
4303         denominators.  Give multiplication precedence over division during
4304         composition.
4306 2012-08-09  Chong Yidong  <cyd@gnu.org>
4308         * man.el (Man-switches, Man-sed-command, Man-awk-command)
4309         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4310         (Man-untabify-command, manual-program): Convert to defcustom
4311         (Bug#10429).
4313         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4315         * descr-text.el (describe-char): Don't insert extra newlines
4316         (Bug#10127).
4318         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4319         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4321         * align.el (align-region): Delete temporary markers (Bug#10047).
4322         Plus some code cleanups.
4324 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4326         * progmodes/python.el (python-pdbtrack-tracked-buffer)
4327         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4328         (python-shell-internal-last-output): Use make-local-variable
4329         instead of make-variable-buffer-local.
4331 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4333         * progmodes/python.el: Enhancements to forward-sexp.
4334         (python-nav-forward-sexp): Rename from
4335         python-nav-forward-sexp-function.
4336         (python-nav--forward-sexp, python-nav--backward-sexp):
4337         New functions.
4339 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
4341         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4342         modes and simplification modes.
4344 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4346         * delsel.el (delete-selection-pre-hook): Don't propagate the
4347         file-supersession signals (bug#12161).
4349 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4351         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4352         (cl-map-extents): Add compatibility aliases (bug#12135).
4354 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
4356         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4357         tests by `ignore-error'.
4358         (tramp-find-shell): Open also a new shell, when cache is already
4359         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
4361 2012-08-08  Juri Linkov  <juri@jurta.org>
4363         * bookmark.el: Add `defaults' property to the bookmark record.
4364         (bookmark-current-buffer): Doc fix.
4365         (bookmark-make-record): Add `defaults' property with default values
4366         to the bookmark record.
4367         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4368         with `bookmark-insert-current-bookmark'.
4369         (bookmark-set): Get `defaults' property from the bookmark record
4370         and use it in `read-from-minibuffer'.
4371         (bookmark-insert-current-bookmark): Remove function.
4373         * info.el (Info-bookmark-make-record): Add `defaults' property
4374         with values of canonical Info node name, the current Info file
4375         name and the current Info node name.  (Bug#12107)
4377 2012-08-08  Juri Linkov  <juri@jurta.org>
4379         * files.el (basic-save-buffer): Use `buffer-name' as the default
4380         of `read-file-name' when buffer is not visiting a file (bug#12128).
4382 2012-08-08  Juri Linkov  <juri@jurta.org>
4384         * info.el (Info-isearch-search): Doc fix.
4385         (Info-search): Change search-failed message from "initial node" to
4386         "end of node" (bug#12078).
4387         (Info-isearch-search): Change `isearch-string-state' to
4388         `isearch--state-string'.
4390 2012-08-08  Glenn Morris  <rgm@gnu.org>
4392         * language/persian.el: Remove file.
4393         * language/misc-lang.el: Move unique part of persian.el here.
4394         * loadup.el: Remove language/persian.
4396 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
4398         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4400 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4402         * progmodes/python.el: Fix defsubst warning.
4403         (python-syntax-context) Rename from python-info-ppss-context.
4404         (python-syntax-context-type): Rename from
4405         python-info-ppss-context-type.
4406         (python-syntax-comment-or-string-p): Rename from
4407         python-info-ppss-comment-or-string-p.
4409 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4411         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4413 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
4415         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4416         a defcustom that is quoted with backquote.
4418         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4419         Fix handling of interactive spec when the body uses return.
4420         (math-do-arg-check, math-define-function-body): Use backquote forms.
4421         * calc/calc-ext.el (math-defcache): Likewise.
4422         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4423         * allout.el (allout-new-exposure): Likewise.
4424         * calc/calcalg2.el (math-tracing-integral): Likewise.
4425         * info.el (Info-last-menu-item): Likewise.
4426         * emulation/vip.el (vip-loop): Likewise.
4427         * textmodes/artist.el (artist-funcall): Likewise.
4428         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4429         Construct menu-item directly.
4431         * progmodes/autoconf.el (font-lock-syntactic-keywords):
4432         Don't declare.
4434 2012-08-07  Chong Yidong  <cyd@gnu.org>
4436         * simple.el (deactivate-mark): Preserve text properties when
4437         saving the primary selection (Bug#8384).
4439 2012-08-07  Kevin Ryde  <user42@zip.com.au>
4441         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4442         (woman-parse-numeric-value): On a bad .IP line, issue a warning
4443         and continue processing (Bug#12110).
4445 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4447         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4448         syntax-propertize-function (bug#10095).
4450 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4452         * help-fns.el (help-fns--key-bindings, help-fns--signature)
4453         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4454         describe-function-1.
4455         (describe-function-1): Use them.  Move compiler macro after sig.
4456         (help-fns--compiler-macro): Use function-get.  Assume we're already in
4457         standard-output.  Adjust layout to new call order.
4459         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4460         re-binding a symbol that has a symbol-macro (bug#12119).
4462 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
4464         * language/persian.el: New file.  (Bug#11812)
4465         * loadup.el: Add language/persian.el.
4467 2012-08-06  Chong Yidong  <cyd@gnu.org>
4469         * window.el (window--maybe-raise-frame): New function.
4470         (window--display-buffer): Split off from here.
4471         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4472         (display-buffer-pop-up-window, display-buffer-use-some-window):
4473         Obey an inhibit-switch-frame action alist entry.
4474         (display-buffer): Update doc.
4476         * replace.el (occur-after-change-function): Avoid losing focus by
4477         using the inhibit-switch-frame display parameter (Bug#12139).
4479 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
4481         Make internal shell process buffer names start with space.
4482         * progmodes/python.el (python-shell-make-comint): Add optional
4483         argument INTERNAL.
4484         (run-python-internal): Use it.
4485         (python-shell-internal-get-or-create-process): Check for new
4486         internal buffer names.
4488 2012-08-06  Glenn Morris  <rgm@gnu.org>
4490         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4491         Do less getting and setting of environment variables.
4493 2012-08-05  Chong Yidong  <cyd@gnu.org>
4495         * proced.el (proced): Add substitution string to docstring to
4496         trigger autoloading of the proced library on C-h f (Bug#1768).
4498         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4499         Don't show defvars which have no second argument (Bug#8638).
4501         * imenu.el (imenu-generic-expression): Move documentation here
4502         from imenu--generic-function.
4503         (imenu--generic-function): Refer to imenu-generic-expression.
4505 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
4507         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4508         indentation declaration.
4509         (viper-loop): Add indentation declaration (Bug#7025).
4511 2012-08-05  Chong Yidong  <cyd@gnu.org>
4513         * help-fns.el (describe-variable): Add hyperlink for
4514         directory-local variables files.  Improve buffer-local and
4515         permanent-local reporting; suggested by MON KEY (Bug#6644).
4517         * help-mode.el (help-dir-local-var-def): New button type.
4519         * files.el (kill-buffer-hook): Provide a defvar.
4521 2012-08-05  Glenn Morris  <rgm@gnu.org>
4523         * eshell/esh-ext.el (eshell/addpath):
4524         Also update eshell-path-env.  (Bug#12013)
4526 2012-08-05  Chong Yidong  <cyd@gnu.org>
4528         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4530         * fringe.el (fringe-styles): Add docstring.
4531         (fringe--check-mode): New function.
4532         (set-fringe-mode, set-fringe-style): Use it.
4533         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4535         * files.el (set-auto-mode): Fix invalid setq call.
4537 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4539         * isearch.el: Misc simplification; use defstruct.
4540         (isearch-mode-map): Dense maps now work like sparse ones.
4541         (isearch--state): New defstruct.
4542         (isearch-string-state, isearch-message-state, isearch-point-state)
4543         (isearch-success-state, isearch-forward-state)
4544         (isearch-other-end-state, isearch-word-state, isearch-error-state)
4545         (isearch-wrapped-state, isearch-barrier-state)
4546         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4547         replaced by defstruct's accessors.
4548         (isearch--set-state): Rename from isearch-top-state and change
4549         calling convention.
4550         (isearch-push-state): Use new isearch--get-state.
4551         (isearch-toggle-word): Disable regexp when enabling word.
4552         (isearch-message-prefix): Remove unused arg _c-q-hack.
4553         (isearch-message-suffix): Remove unused arg _ellipsis.
4555 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
4557         * simple.el (list-processes--refresh): For a server use :host or
4558         :local as the address.
4559         (list-processes): Doc fix.
4561 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
4563         * lisp/mpc.el: Support password in host argument.
4564         (mpc--proc-connect): Parse and use new password element.
4565         Set mpc-proc variable instead of returning process.
4566         (mpc-proc): Adjust accordingly.
4568 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
4570         * whitespace.el (whitespace-display-mappings): Use Unicode
4571         codepoints, instead of emacs-mule codepoints.  See
4572         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4573         for the details.
4575         * files.el (file-truename): Don't skip symlink-chasing part on
4576         windows-nt.  Incorporate the resolution of 8+3 short aliases on
4577         Windows into the loop that recursively chases symlinks.
4578         Compare directory and its parent case-insensitively on MS-Windows and
4579         MS-DOS.
4581 2012-08-03  Chong Yidong  <cyd@gnu.org>
4583         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4585         * sort.el (sort-regexp-fields): Doc fix.
4587 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
4589         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4590         labels regex position point at the expected place.
4592 2012-08-03  MON KEY  <monkey@sandpframing.com>
4594         * net/imap.el (imap-interactive-login, imap-authenticate)
4595         (imap-mailbox-lsub, imap-mailbox-list)
4596         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4597         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4598         (imap-parse-response): Doc fix.
4600 2012-08-03  João Távora  <joaotavora@gmail.com>
4602         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4603         if sexp scanning does not move point (Bug#5734).
4605 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
4607         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4608         Add listings, minted, and ctable packages.
4609         (reftex-label-alist-builtin): Move listings, minted, and ctable
4610         entries before LaTeX.
4611         (reftex-label-alist): Docfix.
4613 2012-08-02  Bastien Guerry  <bzg@gnu.org>
4615         * replace.el (occur): Fix docstring (bug#12122).
4617 2012-08-02  Glenn Morris  <rgm@gnu.org>
4619         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4621 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
4623         Obsolete alias inactivate-current-input-method-function (Bug#10150).
4624         * international/mule-cmds.el: Create
4625         inactivate-current-input-method-function as an obsolete alias for
4626         deactivate-current-input-method-function.  See Katsumi Yamaoka in
4627         <http://bugs.gnu.org/10150#46>.
4629 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
4631         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4632         of nested `if's.
4634 2012-08-01  Glenn Morris  <rgm@gnu.org>
4636         * progmodes/autoconf.el (autoconf-definition-regexp):
4637         Add AH_TEMPLATE, adjust submatch numbering.
4638         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4639         (autoconf-current-defun-function): Update for above change.
4640         (autoconf-current-defun-function): First skip to end of current word.
4642 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
4644         * calendar/cal-html.el (cal-html-insert-agenda-days):
4645         Fix typo.  (Bug#12018)
4647 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
4649         Shell processes: enhancements to startup and CEDET compatibility.
4650         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4651         (python-shell-make-comint): accept-process-output at startup.
4652         (run-python-internal): Set inferior-python-mode-hook to nil.
4653         (python-shell-internal-get-or-create-process): call sit-for.
4654         (python-preoutput-result): Add obsolete alias.
4655         (python-shell-internal-send-string): Use it.
4656         (python-shell-send-setup-code): Remove call to
4657         accept-process-output.
4659 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
4661         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4662         (Bug#12108)
4664 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
4666         * calc-mode.el (calc-basic-simplification-mode): Rename from
4667         `calc-limited-simplification-mode'.
4668         (calc-alg-simplification-mode): New function.
4669         (calc-set-simplify-mode): Adjust message.
4671         * calc.el (calc-set-mode-line): Adjust mode line display for
4672         basic simplification mode.
4674         * calc-help.el (calc-m-prefix-help): Update help message.
4676         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4677         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4679 2012-07-31  Bastien Guerry  <bzg@gnu.org>
4681         * man.el (man): Fix comment.  (bug#12101)
4683 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
4685         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4686         Don't return a non-nil value when no suitable buffer was found.
4688 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
4690         * progmodes/python.el (run-python-internal): Disable font lock for
4691         internal shells.
4693 2012-07-30  Stefan Merten  <smerten@oekonux.de>
4695         * textmodes/rst.el: Silence `checkdoc-ispell'.
4696         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4697         (rst-official-version, rst-official-cvs-rev)
4698         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4699         (rst-mode-map): New key binding.
4701 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
4703         Update .PHONY listings in makefiles.
4704         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4705         autoloads, update-subdirs, updates, bzr-update, update-authors,
4706         compile-onefile, compile-calc, backup-compiled-files,
4707         compile-after-backup, compile-one-process, mh-autoloads,
4708         bootstrap-clean, distclean, maintainer-clean.
4710 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
4712         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4713         (calc-set-mode-line): Don't display "AlgSimp ".
4715         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4716         (calc-lim-simplify-mode): New function.
4717         (calc-set-simplify-mode): Default to 'alg.
4718         (calc-default-simplify-mode): Make algebraic simplifications
4719         the default.
4721         * calc/calc-ext.el (calc-init-extensions): Remove binding for
4722         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
4724         * calc/calc-help.el (calc-m-prefix-help): Change messages to
4725         indicate new simplification modes.
4727         * calc/README: Mention new default simplification mode.
4729         * calc/calc.el (math-normalize-error): New variable.
4730         (math-normalize): Set `math-normalize-error' to t
4731         when there's an error.
4733         * calc/calc-alg.el (math-simplify): Don't simplify when
4734         `math-normalize' returns an error.
4736 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
4738         * international/mule-cmds.el (set-locale-environment): Revert last
4739         change, since display-graphic-p returns nil when this function is
4740         called during startup.  Instead...
4742         * term/w32console.el (terminal-init-w32console): ...setup the
4743         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
4745 2012-07-29  Juri Linkov  <juri@jurta.org>
4747         * simple.el (goto-line): Don't display default line number in the
4748         prompt because it should be displayed by `read-number' (bug#9952).
4749         Add the current line number to the defaults of `goto-line' to
4750         allow its easier modification by users with `M-n' (bug#9201).
4752         * subr.el (read-number): Support multiple default values like in
4753         other minibuffer reading functions.  Replace `read' with
4754         `string-to-number' for consistency with `number-to-string'.
4756 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
4758         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4759         * emulation/viper-init.el (viper-deactivate-input-method-action):
4760         Rename from viper-inactivate-input-method-action.
4761         (viper-deactivate-input-method):
4762         Rename from viper-inactivate-input-method.
4763         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4764         * international/mule-cmds.el (deactivate-input-method):
4765         Rename from inactivate-input-method.
4766         Also run input-method-deactivate-hook.
4767         (deactivate-current-input-method-function):
4768         Rename from inactivate-current-input-method-function.
4769         (input-method-deactivate-hook): New hook.
4770         (input-method-inactivate-hook): Mark obsolete.
4771         (inactivate-input-method): Mark obsolete.
4773         * international/quail.el (quail-activate):
4774         Also run quail-deactivate-hook.
4775         (quail-deactivate): Rename from quail-inactivate.
4776         * international/robin.el (robin-activate):
4777         Also run robin-deactivate-hook.
4778         (robin-deactivate): Rename from robin-inactivate.
4780 2012-07-29  Chong Yidong  <cyd@gnu.org>
4782         * simple.el (indicate-copied-region): New function.
4783         (kill-ring-save): Split off from here.
4785         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4786         (kill-rectangle): Set deactivate-mark to t on read-only error.
4788         * register.el (copy-to-register, copy-rectangle-to-register):
4789         Deactivate the mark, and use indicate-copied-region (Bug#10056).
4790         (append-to-register, prepend-to-register): Call indicate-copied-region.
4792 2012-07-29  Juri Linkov  <juri@jurta.org>
4794         * simple.el (async-shell-command-buffer): New defcustom.
4795         (shell-command): Use it.  (Bug#4719)
4797 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
4799         * international/mule-cmds.el (set-locale-environment): In a
4800         console session on MS-Windows, set up keyboard and terminal
4801         encoding from the OEM codepage, not the ANSI codepage.
4802         (Bug#12055)
4804 2012-07-28  Chong Yidong  <cyd@gnu.org>
4806         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4807         gdb-get-location.
4809 2012-07-28  Leo Liu  <sdl.web@gmail.com>
4811         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4812         the alist (bug#12029).
4814 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
4816         * makefile.w32-in (custom-deps, finder-data, updates, compile)
4817         (compile-always, compile-first)
4818         ($(lisp)/calendar/cal-loaddefs.el)
4819         ($(lisp)/calendar/diary-loaddefs.el)
4820         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4821         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4822         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4823         instead of on update-subdirs.
4824         (bootstrap-clean): Delete $(lisp)/subdirs.el.
4826 2012-07-28  Chong Yidong  <cyd@gnu.org>
4828         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4829         directory if vc-deduce-backend returns nil (Bug#7350).
4831         * simple.el (delete-trailing-lines): New option.
4832         (delete-trailing-whitespace): Obey it (Bug#11879).
4834 2012-07-28  David Engster  <deng@randomsample.de>
4836         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4837         Explanation of new 'symbol-qnames feature in doc-strings.
4838         (xml-maybe-do-ns): Return expanded names as plain symbols if
4839         'symbol-qnames was provided in XML-NS argument (Bug#11916).
4840         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4842 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
4844         Consistent completion in inferior python with emacs -nw.
4845         * progmodes/python.el (inferior-python-mode): replace "<tab>"
4846         binding in inferior-python-mode-map with "\t".
4847         (python-shell-completion-complete-at-point)
4848         (python-completion-complete-at-point): Remove interactive spec.
4850 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
4852         * calc/calccomp.el (math-compose-expr): Undo previous change.
4854 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
4856         * progmodes/python.el (python-mode-map): Add keybinding for
4857         run-python.
4858         (python-shell-make-comint): Fix pop-to-buffer call.
4859         (run-python): Autoload.  New arg SHOW.
4860         (python-shell-get-or-create-process): Do not pop python process
4861         buffer.
4863 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
4865         * notifications.el (notifications-on-action-signal)
4866         (notifications-on-closed-signal): Use also the bus address for the map.
4867         (notifications-notify, notifications-close-notification)
4868         (notifications-get-capabilities): Add optional argument BUS.
4870 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
4872         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4873         Add support for the lstlisting and minted environments, and for the
4874         ctable macro.
4875         * textmodes/reftex.el (reftex-compile-variables): Also recognize
4876         labels written in keyvals syntax.
4878 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
4880         * calc/calccomp.el (math-compose-expr): Use parentheses when
4881         there is a product in the denominator of a fraction.
4883 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
4885         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4886         ($(lisp)/calendar/diary-loaddefs.el)
4887         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4888         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4889         Fixes failures in parallel bootstrap because subdirs.el is being
4890         rewritten while the autoload files are built at the same time,
4891         which needs to load subdirs.el.
4893 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
4895         * mouse.el (popup-menu): Fix doc-string and re-indent code.
4896         (mouse-drag-line): Don't exit tracking when a switch-frame or
4897         switch-window event occurs (Bug#12006).
4899 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4901         * mouse.el (popup-menu): Fix last change.
4903 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4905         Autoload from Lisp with more care.  Follow aliases when looking for
4906         function properties.
4907         * subr.el (autoloadp): New function.
4908         (symbol-file): Use it.
4909         (function-get): New function.
4910         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4911         autoload-do-load.
4912         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4913         (lisp-indent-function):
4914         * emacs-lisp/gv.el (gv-get):
4915         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4916         * emacs-lisp/byte-opt.el (byte-optimize-form):
4917         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4918         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4919         Use function-get.
4920         * emacs-lisp/cl.el: Don't propagate function properties any more.
4922         * speedbar.el (speedbar-add-localized-speedbar-support):
4923         * emacs-lisp/disass.el (disassemble-internal):
4924         * desktop.el (desktop-load-file):
4925         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4926         (describe-function-1):
4927         * emacs-lisp/find-func.el (find-function-noselect):
4928         * emacs-lisp/elp.el (elp-instrument-function):
4929         * emacs-lisp/advice.el (ad-has-proper-definition):
4930         * apropos.el (apropos-safe-documentation, apropos-macrop):
4931         * emacs-lisp/debug.el (debug-on-entry):
4932         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4933         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4934         * calc/calc.el (name): Use autoloadp & autoload-do-load.
4936 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
4938         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4939         function, not an obsolete variable (Bug#12046).
4941 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
4943         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
4945 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
4947         * emacs-lisp/pp.el (pp-display-expression): Select old selected
4948         window only if it is still live (Bug#12034).
4950 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
4952         * subr.el (redirect-frame-focus): Add advertised calling
4953         convention (Bug#12030).
4955 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
4957         Prefer typical American spelling for "acknowledgment".
4958         * vc/add-log.el (change-log-acknowledgment): Rename from
4959         change-log-acknowledgement, with an alias for the old name.
4961 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
4963         * calc-alg.el (math-simplify-divide): Don't cross multiply
4964         in an equation when the lhs is a variable.
4966 2012-07-24  Julien Danjou  <julien@danjou.info>
4968         * net/netrc.el (netrc-find-service-number, netrc-store-data):
4969         Remove, unused.
4971 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
4973         * startup.el (command-line): Don't display an empty user name in
4974         the error message about non-existent home directory, when
4975         init-file-user was set to an empty string.  See
4976         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4977         for the details and context.
4979 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4981         * ses.el (ses-cell-formula-aset): New macro.
4982         (ses-cell-references-aset): New macro.
4983         (ses-cell-p): New function.
4984         (ses-rename-cell): Do no longer rely on complex operations like
4985         ses-cell-set-formula or ses-set-cell to change the cell and handle
4986         the undo at the same time, but rather use lower level new macros
4987         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4988         the undo directly.  Refresh the mode line.
4990 2012-07-21  Leo Liu  <sdl.web@gmail.com>
4992         * progmodes/cc-cmds.el (c-defun-name):
4993         Use match-string-no-properties instead for consistency.
4995 2012-07-20  Leo Liu  <sdl.web@gmail.com>
4997         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4998         (Bug#7879)
5000         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5002 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5004         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5005         * progmodes/bug-reference.el, misearch.el: Provide themselves
5006         (bug#11915).
5008         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5009         of narrowed buffer (bug#11966).
5011 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5013         * ses.el (ses-rename-cell): Set new name also in reference list of
5014         cells of which the renamed cell depends.
5016 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
5018         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5019         to check whether menu-bar is shown or not.  If not shown,
5020         show the menu-bar as a popup menu instead of using tmm.
5021         * mouse.el (popup-menu): Accept `point' as `position' argument.
5023 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
5025         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5026         up inside string symbol literal (bug#11923).
5028 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
5030         * startup.el (fancy-startup-text): Read the whole tutorial, not
5031         just its first 256 bytes.  Prevents gibberish in display of the
5032         tutorial title.
5034 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
5036         Drop idle buffer compaction due to an absence of the
5037         proved efficiency.
5038         * compact.el: Remove.
5040 2012-07-19  Sam Steingold  <sds@gnu.org>
5042         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5043         vc-bzr-pull & vc-bzr-merge-branch.
5044         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5045         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5046         for consistency with compilation-error-regexp-alist.
5047         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5048         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5049         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5050         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5052 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5054         * emacs-lisp/chart.el: Use lexical-binding.
5055         (chart-emacs-storage): Don't hardcode the list of entries.
5057 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5059         Next round of tweaks caused by Fgarbage_collect changes.
5060         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5062 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5064         Compact buffers when idle.
5065         * compact.el: New file.
5067 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5069         * subr.el (eventp): Presume that if it looks vaguely like an event,
5070         it's an event (bug#10190).
5072 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
5074         Enhancements to ppss related code (thanks Stefan).
5075         * progmodes/python.el (python-indent-context)
5076         (python-indent-calculate-indentation, python-indent-dedent-line)
5077         (python-indent-electric-colon, python-nav-forward-block)
5078         (python-mode-abbrev-table)
5079         (python-info-assignment-continuation-line-p): Simplify checks
5080         for ppss context.
5081         (python-info-continuation-line-p): Cleanup.
5082         (python-info-ppss-context): Do not catch 'quote.
5083         (python-info-ppss-context-type)
5084         (python-info-ppss-comment-or-string-p): Simplify.
5086 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
5088         * progmodes/python.el: Enhancements to eldoc support.
5089         (python-info-current-symbol): New function.
5090         (python-eldoc-at-point): Use python-info-current-symbol.
5091         (python-info-current-defun): Fix cornercase on first defun scan.
5092         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5093         and signal error when no inferior python process is available.
5095 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
5097         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5098         assume it's always t.
5099         (vc-git-registered): Remove caching, the function is only called
5100         once.
5101         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5103 2012-07-18  Chong Yidong  <cyd@gnu.org>
5105         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5107         * simple.el (count-words): Report on narrowing (Bug#9959).
5109         * bindings.el: Bind M-= to count-words.
5111         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5113 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
5115         * progmodes/sh-script.el (sh-imenu-generic-expression):
5116         Capture a function with `function' keyword and without parentheses
5117         like "function FOO" (bug#11856).
5119 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
5121         * window.el (split-window-sensibly): Make WINDOW argument
5122         optional.
5124 2012-07-18  Chong Yidong  <cyd@gnu.org>
5126         * subr.el (keyboard-translate): Doc fix (Bug#7261).
5128         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5129         and make C-x 8 RET exit isearch (Bug#11439).
5131         * international/iso-transl.el: Move isearch-mode-map key
5132         definitions to isearch.el.
5134 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5136         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5137         (eieio-defclass): Use gv-define-setter when possible.
5139 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
5141         Reflect recent changes in Fgarbage_collect.
5142         * emacs-lisp/chart.el (chart-emacs-storage): Change to
5143         reflect new format of data returned by Fgarbage_collect.
5145 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5147         New utility functions + python-info-ppss-context fix (Bug#11910).
5148         * progmodes/python.el (python-info-beginning-of-block-statement-p)
5149         (python-info-ppss-comment-or-string-p): New functions.
5150         (python-info-ppss-context): Small fix for string check.
5152 2012-07-17  Juri Linkov  <juri@jurta.org>
5154         * dired-aux.el (dired-do-async-shell-command): Doc fix.
5155         (dired-do-async-shell-command): Don't add `*' at the end of the
5156         command (Bug#11815).
5157         (dired-do-shell-command): Doc fix.
5158         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5159         Join the individual commands using either "&" or ";" as the
5160         separator depending on the values of these trailing characters.
5161         At the end re-add the trailing "&".  (Bug#10598)
5163         * simple.el (async-shell-command): Sync the interactive spec with
5164         `shell-command'.  Doc fix.
5165         (shell-command): Doc fix.
5167 2012-07-17  Juri Linkov  <juri@jurta.org>
5169         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
5171 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5173         Final renames and doc fixes for movement commands (bug#11899).
5174         * progmodes/python.el (python-nav-beginning-of-statement):
5175         Rename from python-nav-statement-start.
5176         (python-nav-end-of-statement): Rename from
5177         python-nav-statement-end.
5178         (python-nav-beginning-of-block): Rename from
5179         python-nav-block-start.
5180         (python-nav-end-of-block): Rename from python-nav-block-end.
5182 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5184         * progmodes/python.el (python-shell-send-string-no-output):
5185         Allow accept-process-output to quit, keeping shell process ready for
5186         future interactions (Bug#11868).
5188 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5192         * emacs-lisp/elint.el (elint-find-args-in-code):
5193         Use help-function-arglist, so as to handle lexical byte-code.
5195         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5196         change (bug#11826).
5198 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5200         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5201         Avoid spuriously marking the buffer as modified because of c-is-sws.
5203         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5204         as not-a-comment (bug#11946).
5206         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5207         for uninterned vars.
5209         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5210         Use read-event since we don't really want to read chars but bytes.
5212         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5213         $$..$$ but also $..$ using regexps (bug#11953).
5214         Use tex-verbatim for \url and \path.
5215         (tex-font-lock-keywords): Define as defconst like the others.
5216         (tex-common-initialization): Don't use font-lock-syntax-table any more.
5218 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
5220         * international/mule-cmds.el (ucs-insert): Make it an obsolete
5221         alias for insert-char.
5223 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
5225         * progmodes/python.el: Simplified imenu implementation.
5226         (python-nav-jump-to-defun): Remove command.
5227         (python-mode-map): Use `imenu' instead.
5228         (python-nav-list-defun-positions-cache)
5229         (python-imenu-include-defun-type, python-imenu-make-tree)
5230         (python-imenu-subtree-root-label, python-imenu-index-alist):
5231         Remove vars.
5232         (python-nav-list-defun-positions, python-nav-read-defun)
5233         (python-imenu-tree-assoc, python-imenu-make-element-tree)
5234         (python-imenu-make-tree, python-imenu-create-index):
5235         Remove functions.
5236         (python-mode): Update to interact with imenu by setting
5237         `imenu-extract-index-name-function' only.
5239 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
5241         * progmodes/python.el: Enhancements to navigation commands.
5242         (python-nav-backward-sentence)
5243         (python-nav-forward-sentence): Remove.
5244         (python-nav-backward-statement, python-nav-forward-statement)
5245         (python-nav-statement-start, python-nav-statement-end)
5246         (python-nav-backward-block, python-nav-forward-block)
5247         (python-nav-block-start, python-nav-block-end)
5248         (python-nav-forward-sexp-function)
5249         (python-info-current-line-comment-p)
5250         (python-info-current-line-empty-p): New functions.
5251         (python-indent-context): Use `python-nav-statement-start'.
5253 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
5255         * eshell/em-ls.el (eshell/ls): Use `apply'.
5257         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5258         multi-hops, instead of Tramp internals.
5260         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5262         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5263         when F1 and F2 are located on different hosts.
5265 2012-07-14  Chong Yidong  <cyd@gnu.org>
5267         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5268         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5269         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5270         (xterm-mouse--read-event-sequence-1000)
5271         (xterm-mouse--read-event-sequence-1006): New functions.  For old
5272         mouse protocol, handle M-mouse-X events correctly.
5273         (xterm-mouse-event): New arg specifying mouse protocol.
5274         (turn-on-xterm-mouse-tracking-on-terminal)
5275         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5276         sequence to toggle extended coordinates on newer XTerms.
5277         This appears to be harmless on terminals which do not support this.
5279 2012-07-14  Leo Liu  <sdl.web@gmail.com>
5281         Add fringe bitmap indicators for flymake.  (Bug#11253)
5282         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5283         (flymake-make-overlay): New arg BITMAP.
5284         (flymake-error-bitmap, flymake-warning-bitmap)
5285         (flymake-fringe-indicator-position): New user variables.
5287         * fringe.el: New bitmap exclamation-mark.
5289 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5291         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5292         also (Bug#7879).
5294 2012-07-14  Chong Yidong  <cyd@gnu.org>
5296         * electric.el (electric-pair-post-self-insert-function): Fix pair
5297         insertion in empty-region case (Bug#11520).
5299 2012-07-14  Chong Yidong  <cyd@gnu.org>
5301         * bindings.el: Consolidate ctl-x-r-map bindings.
5302         Bind copy-rectangle-as-kill to C-x r w.
5304         * rect.el, register.el: Move bindings to bindings.el.
5306 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
5308         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5310 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5312         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
5314 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
5316         * bindings.el (top): Use `mapc' instead of `mapcar'.
5318         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5320 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
5322         * progmodes/sql.el (sql-comint): Suppress the check for program on
5323         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
5324         (Bug#11908)
5326 2012-07-13  Chong Yidong  <cyd@gnu.org>
5328         * bindings.el: Assign a non-nil permanent-local property to
5329         per-buffer variables which lack a default value (Bug#11930).
5331         * help-fns.el (describe-variable): In the "automatically becomes
5332         local" notice, take note of permanent-local variables.
5334 2012-07-13  Chong Yidong  <cyd@gnu.org>
5336         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
5337         to allow printing the message when called from Lisp.
5339         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5340         Remove toggle-read-only.
5342         * bs.el (bs-toggle-readonly):
5343         * buff-menu.el (Buffer-menu-toggle-read-only):
5344         Remove with-no-warnings around toggle-read-only.
5346         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5347         Remove with-no-warnings around toggle-read-only.
5348         (ffap-read-only, ffap-read-only-other-window)
5349         (ffap-read-only-other-frame): Callers changed.
5351         * help-mode.el: Don't require view package.
5352         (help-mode-finish): Set buffer-read-only instead of calling
5353         toggle-read-only.
5355         * bindings.el (mode-line-toggle-read-only):
5356         * dired.el (dired-toggle-read-only):
5357         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5358         with non-nil second arg.
5360         * emacs-lisp/eieio-custom.el (eieio-customize-object):
5361         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5362         directly.
5364 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
5366         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5367         not incf.
5369 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5371         More CL cleanups and reduction of use of cl.el.
5372         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5373         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5374         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5375         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5376         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5377         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5378         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5379         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5380         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5381         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5382         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5383         * eshell/em-cmpl.el, eshell/em-banner.el:
5384         * calendar/parse-time.el: Use cl-lib.
5385         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5386         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5387         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5388         * term/ns-win.el, term.el, shell.el, ps-samp.el:
5389         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5390         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5391         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5392         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5393         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5394         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5395         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5396         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5397         `lambda' rather than with `quote'.
5398         (eshell-do-opt): Adjust accordingly.
5399         (eshell-process-option): Simplify.
5400         * eshell/esh-var.el:
5401         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5402         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5403         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5404         to `pcase--dontcare'.
5405         * emacs-lisp/cl.el (labels): Mark obsolete.
5406         (cl--letf, letf): Move to cl-lib.
5407         (cl--letf*, letf*): Remove.
5408         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5409         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5410         (cl-progv): Rewrite.
5411         (cl--letf, cl-letf): Move from cl.el.
5412         (cl-letf*): New macro.
5413         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5415 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
5417         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5419 2012-07-11  Chong Yidong  <cyd@gnu.org>
5421         * vc/log-edit.el (log-edit-vc-backend): New variable.
5422         (log-edit): Doc fix.
5424         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
5425         argument of log-edit to set up all local variables.
5426         (vc-start-logentry): New optional arg specifying VC backend.
5428         * vc/vc.el (vc-checkin): Use it.
5429         (vc-deduce-fileset): Handle Log Edit buffers.
5430         (vc-diff): Make first argument optional too.
5432         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5434 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
5436         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5437         command, just in case.  The function is not needed anymore.
5438         (eshell-external-command): Do not call `eshell-remote-command'.
5440 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5442         Reduce use of (require 'cl).
5443         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5444         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5445         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5446         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5447         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5448         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5449         * battery.el, avoid.el, abbrev.el: Use cl-lib.
5450         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5451         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5452         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5453         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5454         * calculator.el, autorevert.el, apropos.el: Don't require CL.
5455         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5456         (byte-compile-unfold-bcf, byte-compile-check-variable):
5457         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5458         (byte-compile-nilconstp):
5459         * emacs-lisp/autoload.el (make-autoload): Use pcase.
5460         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5462         * emacs-lisp/gv.el (cond): Make it a valid place.
5463         (if): Simplify slightly.
5465         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5466         (pcase--self-quoting-p): New function.
5467         (pcase--u1): Use it.
5469 2012-07-10  Glenn Morris  <rgm@gnu.org>
5471         * emacs-lisp/authors.el (authors-fixed-entries):
5472         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5474 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
5476         Rename configure.in to configure.ac (Bug#11603).
5477         * emacs-lisp/authors.el (authors-canonical-file-name):
5478         * progmodes/autoconf.el (autoconf-mode):
5479         Prefer configure.ac to configure.in.
5481 2012-07-08  Chong Yidong  <cyd@gnu.org>
5483         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5484         Implement the mouse-1-click-follows-link handling properly.
5486         * info.el (Info-link-keymap): Use follow-link mechanism for
5487         header-line links (Bug#374).
5489         * simple.el (deactivate-mark): Do not set the primary selection
5490         if another program has acquired it (Bug#11772).
5492 2012-07-07  Kevin Ryde  <user42@zip.com.au>
5494         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5495         (woman-decode-region): Replace escaped-escapes without destroying
5496         bold or underline (Bug#11552).
5497         (woman2-process-escapes): Handle nofill regions (Bug#11591).
5499 2012-07-07  Chong Yidong  <cyd@gnu.org>
5501         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5502         (interprogram-cut-function, interprogram-paste-function):
5503         Mention that we typically mean the clipboard.
5505 2012-07-06  Glenn Morris  <rgm@gnu.org>
5507         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
5509         * files.el (toggle-read-only): Restrict message to interactive use.
5511 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
5513         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5515         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5517 2012-07-06  Glenn Morris  <rgm@gnu.org>
5519         * Makefile.in (compile-one-process): Rename from "recompile".
5521         * Makefile.in (bzr-update): "compile" is the same as "recompile
5522         autoloads", but parallelizable, so use that instead.
5524 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
5526         * window.el (quit-window): Always restore window height when
5527         it's saved in quit-restore parameter (Bug#11810).
5529 2012-07-06  Glenn Morris  <rgm@gnu.org>
5531         * simple.el (kill-whole-line): Doc tweak.
5533 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
5535         * files.el (file-relative-name): Compare file names
5536         case-insensitively if on MS-Windows or MS-DOS, or if
5537         read-file-name-completion-ignore-case is non-nil.  Don't use
5538         case-fold-search for this purpose.  (Bug#11827)
5540 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
5542         * calendar/cal-dst.el (calendar-current-time-zone):
5543         Return calendar-current-time-zone-cache if non-nil.
5545 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
5546 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
5548         * calendar/cal-dst.el (calendar-current-time-zone):
5549         Return calendar-current-time-zone-cache if non-nil.
5551 2012-07-06  Glenn Morris  <rgm@gnu.org>
5553         * Makefile.in (cvs-update): Remove old alias.
5555 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
5557         Sync with Tramp 2.2.6-pre.
5559         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5560         compatible declaration.
5562         * net/tramp-cmds.el (tramp-append-tramp-buffers):
5563         Protect `list-load-path-shadows' call.
5565         * net/tramp-compat.el (top): Require packages, which aren't
5566         autoloaded anymore for XEmacs.  Protect call of
5567         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5568         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
5569         it hurts at least for SXEmacs.
5570         (tramp-compat-temporary-file-directory): In XEmacs, there is no
5571         standard-value for `temporary-file-directory'.
5573         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5574         Redirect stderr to /dev/null.
5575         (tramp-sh-handle-write-region): uid and gid can be floats.
5576         Reported by Russell Sim <russell.sim@gmail.com>.
5577         (tramp-sh-handle-vc-registered): Hide errors.
5578         (tramp-vc-file-name-handler): Use dummy results for `process-file'
5579         and `start-file-process'.
5580         (tramp-maybe-open-connection): Check also whether `non-essential'
5581         is bound.
5583 2012-07-04  Chong Yidong  <cyd@gnu.org>
5585         * xml.el (xml--parse-buffer): Use xml-syntax-table.
5586         (xml-parse-tag): Likewise, and avoid changing entity tables.
5587         (xml-syntax-table): Define from scratch, making sure not to give
5588         x2000 and other Unicode spaces whitespace syntax, since those are
5589         not spaces in XML.
5590         (xml-parse-fragment): Delete unused function.
5591         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5592         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5593         (xml-entity-ref, xml-pe-reference-re)
5594         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5595         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5596         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5597         (xml-entity-value-re): Use syntax references in regexps where
5598         possible; no need to define inside a let-binding.
5599         (xml-parse-dtd): Use xml-pe-reference-re.
5600         (xml-entity-or-char-ref-re): New defconst.
5601         (xml-parse-string, xml-substitute-special): Use it.
5603 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5605         * files.el (locate-dominating-file): Allow `name' to be a predicate.
5606         (find-file--read-only): New function.
5607         (find-file-read-only, find-file-read-only-other-window)
5608         (find-file-read-only-other-frame): Use it.
5609         (insert-file-contents-literally): Don't `fset'.
5610         (get-free-disk-space): Use locate-dominating-file.
5612         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5613         function is already compiled.
5615         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
5617 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
5619         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5620         files on the same host.
5622 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
5624         * help-fns.el (describe-function-1): Only call
5625         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
5627 2012-07-03  Chong Yidong  <cyd@gnu.org>
5629         * xml.el: Protect parser against XML bombs.
5630         (xml-entity-expansion-limit): New variable.
5631         (xml-parse-string, xml-substitute-special): Use it.
5632         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5634 2012-07-03  Glenn Morris  <rgm@gnu.org>
5636         * progmodes/bug-reference.el (bug-reference-bug-regexp):
5637         Allow linking to specific messages in debbugs reports (eg 123#5).
5639 2012-07-02  Chong Yidong  <cyd@gnu.org>
5641         * xml.el: Fix entity and character reference expansion, allowing
5642         them to expand into markup as per XML spec.
5643         (xml-default-ns): New variable.
5644         (xml-entity-alist): Use XML spec definitions for lt and amp.
5645         (xml-parse-region): Make first two arguments optional.
5646         Discard text properties.
5647         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5648         All callers changed.
5649         (xml-parse-tag): Call xml-parse-tag-1.  For backward
5650         compatibility, this function should not modify buffer contents.
5651         (xml-parse-tag-1): Fix opening-tag regexp.
5652         (xml-parse-string): Rewrite, handling entity and character
5653         references properly.
5654         (xml--entity-replacement-text): Signal an error if a parameter
5655         entity is undefined.
5657 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5659         * comint.el (comint-output-filter): Filter out repeated prompts.
5661         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5662         and file-name-absolute-p.
5663         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5664         internal calls.
5666 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
5668         Spelling fixes.
5669         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5670         Rename from byte-compile--refiy-function.  All uses changed.
5672 2012-07-01  Chong Yidong  <cyd@gnu.org>
5674         * xml.el (xml--parse-buffer): New function.  Move most of
5675         xml-parse-region here.
5676         (xml-parse-region): Copy region into a temporary buffer, since
5677         parameter entity substitution requires changing buffer contents.
5678         Use xml--parse-buffer.
5679         (xml-parse-file): Use xml--parse-buffer.
5680         (xml-parse-dtd): Make parameter entity substitution work right.
5681         Use proper regexps for ELEMENT declarations (Bug#7172).
5683 2012-06-30  Glenn Morris  <rgm@gnu.org>
5685         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5687         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5688         Remove outdated and unnecessary dbus declarations.
5690 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
5692         * emacs-lisp/timer.el (timer-until): Subtract results of
5693         float-time, instead of taking float-time of the result of
5694         time-subtract, since float-time signals an error for negative time
5695         arguments.
5697 2012-06-30  Chong Yidong  <cyd@gnu.org>
5699         * xml.el (xml-*-re): Convert defvars into defconsts, and
5700         eval-and-compile them so eval-and-compile works on derivatives.
5701         (xml--entity-replacement-text): Use eval-and-comple.
5703 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
5705         * vc/vc-git.el (vc-git-registered): Use cache property
5706         `git-registered'.
5707         (vc-git-mode-line-string): Call `vc-working-revision' instead of
5708         `vc-git-working-revision' in order to benefit from the cache.
5709         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
5711 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
5713         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5714         removed (likely outside Emacs).  (Bug#11757)
5716 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5718         * emacs-lisp/cl-lib.el: Require macroexp.
5720 2012-06-30  Chong Yidong  <cyd@gnu.org>
5722         * xml.el: Implement XML parameter entities.
5723         (xml-parameter-entity-alist): New variable.
5724         (xml-parse-region, xml-parse-fragment): Preserve previous values
5725         of xml-entity-alist and xml-parameter-entity-alist, so that
5726         repeated calls on different documents do not change them.
5727         (xml-parse-tag): Fix doctype regexp.
5728         (xml--entity-replacement-text): New function.
5729         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
5730         properly requires url retrieval which is unimplemented.
5731         (xml-escape-string): Doc fix.
5733 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5735         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5737 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
5739         * fringe.el (fringe-mode): Doc fix.
5741 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
5743         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5744         is non-nil.
5745         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5746         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
5748 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
5750         * calendar/cal-dst.el (calendar-current-time-zone):
5751         Return calendar-current-time-zone-cache if non-nil.
5753 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
5755         * progmodes/which-func.el (which-func-format):
5756         Add mouse-face.  (Bug#11698)
5758 2012-06-29  Leo Liu  <sdl.web@gmail.com>
5760         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5762 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * minibuffer.el (minibuffer-confirm-exit-commands):
5765         Add completion-at-point (bug#11725).
5767 2012-06-29  Glenn Morris  <rgm@gnu.org>
5769         * progmodes/f90.el (f90-font-lock-keywords-2):
5770         Add some preprocessor elements.  (Bug#10499)
5772 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5774         * progmodes/cperl-mode.el (cperl-update-syntaxification):
5775         Use syntax-propertize (bug#11739).
5777 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
5779         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5781 2012-06-28  Julien Danjou  <julien@danjou.info>
5783         * term.el (term-handle-colors-array): Use a set of new faces to
5784         color the terminal.  Also uses :inverse-video property.
5785         (term-default-fg-color): Set to nil by default, deprecate in favor
5786         of `term-face'.
5787         (term-default-bg-color): Set to nil by default, deprecate in favor
5788         of `term-face'.
5789         (term-current-face): Use `term-face' by default.
5790         (term-bold-attribute): Variable deleted.
5792 2012-06-28  Glenn Morris  <rgm@gnu.org>
5794         * simple.el (completion-list-mode-finish):
5795         Don't use toggle-read-only.  (Since completion-list-mode has
5796         a special mode-class, it wasn't doing anything extra anyway.)
5798 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5800         Make inlining of other-mode interpreted functions work (bug#11799).
5801         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5802         (byte-compile): Use it to fix compilation of lexical-binding closures.
5803         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5804         function, if needed.
5806 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5808         * help-mode.el (help-make-xrefs): Don't just withstand
5809         cyclic-variable-indirection but any error in documentation-property.
5811         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5812         memory use.
5813         * bindings.el (bindings--define-key): New function.
5814         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5815         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5816         * bindings.el: Use it to purecopy define-key bindings.
5818         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5820         * emacs-lisp/cl.el (flet): Mark obsolete.
5821         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5822         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5823         * progmodes/js.el (js-c-fill-paragraph):
5824         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5825         (ebrowse-switch-member-buffer-to-derived-class):
5826         * play/5x5.el (5x5-solver): Use cl-flet.
5828         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
5829         (cl--symbol-function): New macro.
5830         (cl--letf, cl--letf*): Use it.
5832         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5833         Strip "toggle-" if any.
5835 2012-06-27  Glenn Morris  <rgm@gnu.org>
5837         * info.el (Info-default-directory-list): Move here from paths.el.
5838         * paths.el: Remove file, which is now empty.
5839         * loadup.el: No longer load "paths".
5841         * custom.el (custom-initialize-delay): Doc fix.
5843         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5844         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5845         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5846         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5847         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5848         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5849         * eshell/eshell.el (eshell-defgroup): Remove alias.
5851 2012-06-27  Chong Yidong  <cyd@gnu.org>
5853         * help.el (help-enable-auto-load): New variable.
5855         * help-fns.el (help-fns--autoloaded-p): New function.
5856         (describe-function-1): Refer to a function as "autoloaded" if it
5857         was autoloaded at any time in the past.  Perform autoloading if
5858         help-enable-auto-load is non-nil.
5860 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
5862         * makefile.w32-in (compile, compile-always): Depend on
5863         update-subdirs, not on subdirs.el.  Otherwise, several different
5864         sub-targets of 'bootstrap' running in parallel could
5865         simultaneously write to subdirs.el, producing a garbled file.
5867 2012-06-26  Sam Steingold  <sds@gnu.org>
5869         * files.el (file-name-base): New convenience function.
5870         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5871         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5872         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5873         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5874         * textmodes/ispell.el, textmodes/reftex-ref.el:
5875         * textmodes/tex-mode.el: Use it.
5876         Did not touch cedet and org because they are maintained elsewhere.
5878 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
5880         * calendar/calendar.el (calendar-exit): Don't try to delete or
5881         iconify last frame.  See:
5882         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5884 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
5886         * server.el (server-process-filter): Remember dir in the
5887         process's `server-client-directory' properties.
5889 2012-06-24  Chong Yidong  <cyd@gnu.org>
5891         * xml.el (xml-parse-tag): Correctly handle comment embedded in
5892         non-tag text.
5894 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
5896         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5898 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5900         * help-fns.el (describe-variable): Don't croak when doc is not found.
5901         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5902         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5903         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5904         * emacs-lisp/smie.el (smie-next-sexp): CSE.
5905         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5906         ((lambda ..) ..).
5907         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5909 2012-06-23  Chong Yidong  <cyd@gnu.org>
5911         * info.el (Info-mouse-follow-link): Accept symbol values of
5912         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
5913         (Info-fontify-node): Use Info-link-keymap for all navigation
5914         buttons, with link-args property to perform the desired action.
5915         (Info-link-keymap): Doc fix.
5916         (Info-next-link-keymap, Info-prev-link-keymap)
5917         (Info-up-link-keymap): Delete now-unused keymaps.
5919 2012-06-23  Chong Yidong  <cyd@gnu.org>
5921         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5923         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5924         system abbrevs.
5926         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5928 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5930         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5931         (bug#11719).
5933         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5934         the requote function doesn't work properly (bug#11714).
5936 2012-06-23  Glenn Morris  <rgm@gnu.org>
5938         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5940 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5942         Further GV/CL cleanups.
5943         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5944         gv-expander.
5945         (gv--defun-declaration): New function.
5946         (defun-declarations-alist): Use it.
5947         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5948         (gv-place): Autoload.
5949         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5950         original definition of dotimes and dolist.
5951         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5952         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5953         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5954         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5955         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5956         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5957         to the function's definition.
5958         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5959         * window.el:
5960         * files.el:
5961         * faces.el:
5962         * env.el: Don't use CL.
5964 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
5966         Support higher-resolution time stamps (Bug#9000).
5968         * calendar/time-date.el (with-decoded-time-value): New arg
5969         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
5970         (encode-time-value): New optional arg PICO.  New type 3.
5971         (time-to-seconds) [!float-time]: Support the new picoseconds
5972         component if it's used.
5973         (seconds-to-time, time-subtract, time-add):
5974         Support ps-resolution time stamps as well.
5976         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
5977         (timerp): Timer vectors now have length 9, not 8.
5978         (timer--time): Support new-style (4-part) time stamps.
5979         (timer-next-integral-multiple-of-time): Time stamps now have
5980         picosecond resolution, so take a bit more care about rounding.
5981         (timer-relative-time, timer-inc-time): New optional arg psecs.
5982         (timer-set-time-with-usecs): Set psecs to 0.
5983         (timer--activate): Check psecs component, too.
5985         * proced.el (proced-time-lessp): Support ps-resolution stamps.
5987 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5989         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5990         Move the non-essential binding to the post/pre-command-hook where it is
5991         more obviously correct.
5993         * subr.el (read-passwd): Don't use a history at all.
5994         * savehist.el (savehist-save): Remove password saved accidentally
5995         because of the above bug.
5997 2012-06-22  Bastien Guerry  <bzg@gnu.org>
5999         * files.el (toggle-read-only): Display a message telling whether
6000         the buffer is read-only or not (bug#11726).
6002 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6004         * emacs-lisp/gv.el: New file.
6005         * subr.el (push, pop): Extend to generalized variables.
6006         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6007         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6008         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
6009         gv-define-simple-setter, and gv-define-expander.
6010         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
6011         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6012         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6013         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6014         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6015         gv-letplace.
6016         (cl-defstruct): Don't define setf-method any more.
6017         * emacs-lisp/cl.el (flet): Don't autoload.
6018         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6019         (define-setf-expander, defsetf, define-modify-macro)
6020         (cl-struct-setf-expander): Move from cl-lib.el.
6021         * emacs-lisp/syntax.el:
6022         * emacs-lisp/ewoc.el:
6023         * emacs-lisp/smie.el:
6024         * emacs-lisp/cconv.el:
6025         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6026         (timer--time): Use gv-define-simple-setter.
6027         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6028         to avoid coding-system problems in subr.el.  Adjust all users.
6029         (macroexp--maxsize, macroexp-small-p): New functions.
6030         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6031         * scroll-bar.el (scroll-bar-mode):
6032         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6033         (normal-erase-is-backspace-mode): Don't use the `eq' place.
6034         * winner.el (winner-configuration, winner-make-point-alist)
6035         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6036         * files.el (locate-file-completion-table): Avoid list*.
6038 2012-06-22  Chong Yidong  <cyd@gnu.org>
6040         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6041         (dired-create-files): Doc fix (Bug#11329).
6042         (dired-do-copy): Doc fix (Bug#11334).
6043         (dired-mark-read-string): Doc fix (Bug#11553).
6045         * dired.el (dired-recursive-copies, dired-recursive-deletes):
6046         Doc fix (Bug#11326).
6047         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
6048         (dired-dwim-target): Doc fix.
6050         * wdired.el (wdired-mode): Doc fix.
6052 2012-06-22  Glenn Morris  <rgm@gnu.org>
6054         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6055         (pcmpl-rpm-cache-stamp-file): New constant.
6056         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6057         (pcmpl-rpm-packages): Optionally cache list of packages.
6059         * pcmpl-rpm.el (pcmpl-rpm): New group.
6060         (pcmpl-rpm-query-options): New option.
6061         (pcmpl-rpm-packages): No need to inline it.
6062         Use pcmpl-rpm-query-options.
6064         * calendar/calendar.el (calendar-in-read-only-buffer):
6065         Avoid some needless mode changes.
6067 2012-06-21  Chong Yidong  <cyd@gnu.org>
6069         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6070         (desktop-path): Remove . from the default value (Bug#10977).
6071         (desktop-read): Use user-emacs-directory if desktop-path is nil.
6073 2012-06-20  Chong Yidong  <cyd@gnu.org>
6075         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6077 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
6079         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6080         (bug#11201).
6082 2012-06-20  Chong Yidong  <cyd@gnu.org>
6084         * term.el (term-window-width): Handle the case of a missing right
6085         fringe (Bug#8837).
6086         (term-check-size): Use window-text-height (Bug#5445).
6087         (term-mode): Use define-derived-mode.  Minor cleanups.
6088         Set font-lock-defaults (Bug#7692).
6089         (term-move-columns, term-insert-char, term-emulate-terminal)
6090         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6092 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
6094         * net/ange-ftp.el (ange-ftp-get-passwd):
6095         Bind `enable-recursive-minibuffers'.
6096         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6098 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
6100         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6102 2012-06-19  Glenn Morris  <rgm@gnu.org>
6104         * progmodes/python.el (python-mode): Derive from prog-mode.
6106 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
6108         * emulation/edt.el (edt-default-menu-bar-update-buffers)
6109         (edt-user-menu-bar-update-buffers): New functions.
6110         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6112 2012-06-19  Chong Yidong  <cyd@gnu.org>
6114         * subr.el (with-selected-window): Preserve the selected window's
6115         terminal's top-frame (Bug#4702).
6117         * window.el (save-selected-window): Likewise.
6119 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6121         * progmodes/python.el (python-rx-constituents): Move backquote.
6122         (python-skeleton-define, python-define-auxiliary-skeleton):
6123         Use `declare'.
6125 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
6127         * minibuffer.el (read-file-name-default): Revert the patch from
6128         2012-06-17.
6130 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6132         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6133         (pcase--u1, pcase--q1): Don't use apply-partially.
6135 2012-06-18  Glenn Morris  <rgm@gnu.org>
6137         * progmodes/python.el (python-proc, python-buffer)
6138         (python-send-receive, python-send-string): Fix obsolete versions.
6140 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
6142         * window.el (special-display-p): Completely remove stringp
6143         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6145 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
6147         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6149         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6151         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6152         * net/tramp-sh.el (tramp-maybe-open-connection):
6153         Throw if `non-essential' is non-nil.
6155 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
6157         * window.el (special-display-p): Signal an error if BUFFER-NAME
6158         is not a string (Bug#11713).
6160 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
6162         * progmodes/python.el (python-info-beginning-of-backslash):
6163         Rename from python-info-beginning-of-backlash, as a spelling fix.
6165 2012-06-17  Chong Yidong  <cyd@gnu.org>
6167         * term.el (term-emulate-terminal): If term-check-size is called,
6168         move point to the process mark without resetting point (Bug#4635).
6170 2012-06-17  Glenn Morris  <rgm@gnu.org>
6172         * international/mule-cmds.el (mule-menu-keymap)
6173         (set-language-environment, set-locale-environment): Doc tweaks.
6175 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
6177         * cus-face.el (custom-face-attributes): Add wave-style underline
6178         attribute.
6179         * faces.el (set-face-attribute): Update docstring to describe
6180         wave-style underline attribute.
6182 2012-06-16  Chong Yidong  <cyd@gnu.org>
6184         * term/xterm.el (terminal-init-xterm): Discard input before
6185         querying background mode (Bug#10959).
6187 2012-06-16  Stefan Merten  <smerten@oekonux.de>
6189         * textmodes/rst.el: Added and corrected some comments.
6190         (rst-re-alist-def): Improve symbol syntax.
6191         (rst-mode-syntax-table): Correct syntax entries.
6192         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6193         (rst-official-version, rst-official-cvs-rev): Update version
6194         information.
6196 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
6198         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6199         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6201 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
6203         * progmodes/python.el: New python.el merge.
6204         (python-guess-indent): Obsolete var.
6205         (python-indent-guess-indent-offset): New defcustom.
6206         (python-indent): Obsolete var.
6207         (python-indent-offset): New defcustom.
6208         (python-python-command, python-jython-command): Delete var.
6209         (python-shell-interpreter): New defcustom.
6210         (python-pdbtrack-do-tracking-p): Delete var.
6211         (python-pdbtrack-activate): New defcustom.
6212         (python-use-skeletons): Obsolete var.
6213         (python-skeleton-autoinsert): New defcustom.
6214         (inferior-python-filter-regexp, python-continuation-offset)
6215         (python-honour-comment-indentation, python-indent-string-contents)
6216         (python-jython-packages, python-mode-hook)
6217         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6218         (python-shell-prompt-alist)
6219         (python-source-modes): Delete defcustoms.
6220         (python-check-buffer-name, python-eldoc-setup-code)
6221         (python-eldoc-string-code, python-ffap-setup-code)
6222         (python-ffap-string-code, python-fill-comment-function)
6223         (python-fill-decorator-function, python-fill-paren-function)
6224         (python-fill-string-function, python-imenu-include-defun-type)
6225         (python-imenu-make-tree, python-imenu-subtree-root-label)
6226         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6227         (python-shell-compilation-regexp-alist)
6228         (python-shell-completion-module-string-code)
6229         (python-shell-completion-pdb-string-code)
6230         (python-shell-completion-setup-code)
6231         (python-shell-completion-string-code)
6232         (python-shell-enable-font-lock, python-shell-exec-path)
6233         (python-shell-extra-pythonpaths)
6234         (python-shell-internal-buffer-name, python-shell-interpreter-args)
6235         (python-shell-process-environment)
6236         (python-shell-prompt-block-regexp)
6237         (python-shell-prompt-output-regexp)
6238         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6239         (python-shell-send-setup-max-wait, python-shell-setup-codes)
6240         (python-shell-virtualenv-path): New defcustoms.
6241         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6242         (inferior-python-mode-syntax-table, python--prompt-regexp)
6243         (python-buffer, python-command python-python-command)
6244         (python-default-template, python-imports, python-indent-index)
6245         (python-indent-list, python-indent-list-length)
6246         (python-mode-running, python-pdbtrack-is-tracking-p)
6247         (python-preoutput-continuation, python-preoutput-leftover)
6248         (python-preoutput-result, python-preoutput-skip-next-prompt)
6249         (python-prev-dir/file, python-recursing)
6250         (python-saved-check-command, python-version-checked)
6251         (python-which-func-length-limit)
6252         (view-return-to-alist): Delete vars.
6253         (python-check-custom-command, python-dotty-syntax-table)
6254         (python-imenu-index-alist, python-indent-current-level)
6255         (python-indent-dedenters, python-indent-levels)
6256         (python-nav-beginning-of-defun-regexp)
6257         (python-nav-list-defun-positions-cache)
6258         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6259         (python-shell-internal-buffer)
6260         (python-skeleton-available): New vars.
6261         (def-python-skeleton): Delete macro.
6262         (python-skeleton-define): New macro.
6263         (python-define-auxiliary-skeleton, python-rx): New macros.
6264         (python-insert-class): Delete command.
6265         (python-skeleton-class): New command.
6266         (python-insert-def): Delete command.
6267         (python-skeleton-def): New command.
6268         (python-insert-for): Delete command.
6269         (python-skeleton-for): New command.
6270         (python-insert-if): Delete command.
6271         (python-skeleton-if): New command.
6272         (python-insert-try/except, python-insert-try/finally): Delete commands.
6273         (python-skeleton-try): New command.
6274         (python-insert-while): Delete command.
6275         (python-skeleton-while): New command.
6276         (python-backspace): Delete command.
6277         (python-indent-dedent-line-backspace): New command.
6278         (python-electric-colon): Delete command.
6279         (python-indent-electric-colon): New command.
6280         (python-guess-indent): Delete command.
6281         (python-indent-guess-indent-offset): New command.
6282         (python-shift-left): Delete command.
6283         (python-indent-shift-left): New command.
6284         (python-shift-right): Delete command.
6285         (python-indent-shift-right): New command.
6286         (python-find-function): Delete command.
6287         (python-nav-jump-to-defun): New command.
6288         (python-next-statement): Delete command.
6289         (python-nav-forward-sentence): New command.
6290         (python-previous-statement): Delete command.
6291         (python-nav-backward-sentence): New command.
6292         (python-fill-paragraph): Delete command.
6293         (python-fill-paragraph-function): New command.
6294         (python-send-buffer): Delete command.
6295         (python-shell-send-buffer): New command.
6296         (python-send-defun): Delete command.
6297         (python-shell-send-defun): New command.
6298         (python-send-region, python-send-region-and-go): Delete commands.
6299         (python-shell-send-region)
6300         (python-shell-switch-to-shell): New commands.
6301         (python-send-string): Delete command.
6302         (python-shell-send-string): New command.
6303         (python-switch-to-python): Delete command.
6304         (python-shell-switch-to-shell): New command.
6305         (python-describe-symbol): Delete command.
6306         (python-eldoc-at-point): New command.
6307         (python--set-prompt-regexp, python-args-to-list)
6308         (python-after-info-look, python-check-version)
6309         (python-check-comint-prompt, python-find-imports)
6310         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6311         (python-unload-function, python-expand-template)
6312         (python-maybe-jython, python-preoutput-filter)
6313         (python-pdbtrack-get-source-buffer)
6314         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6315         (python-pdbtrack-toggle-stack-tracking)
6316         (python-pdbtrack-track-stack-file, python-initial-text)
6317         (python-first-word, python-comment-line-p, python-send-command)
6318         (python-setup-brm, python-sentinel, python-set-proc)
6319         (python-skip-out, python-input-filter, python-outdent-p)
6320         (python-outline-level, python-backslash-continuation-line-p)
6321         (python-end-of-block, python-end-of-statement, python-mark-block)
6322         (python-beginning-of-block, python-beginning-of-statement)
6323         (python-blank-line-p, python-beginning-of-string)
6324         (python-open-block-statement-p): Delete functions.
6325         (python-indent-line, python-indent-line-1): Delete functions.
6326         (python-indent-line): New function.
6327         (python-indentation-levels): Delete function.
6328         (python-indent-calculate-levels): New function.
6329         (python-proc): Delete function.
6330         (python-shell-get-process): New function.
6331         (python-send-receive): Delete function.
6332         (python-shell-send-string-no-output): New function.
6333         (python-module-path): Delete function.
6334         (python-ffap-module-path): New function.
6335         (python-completion-at-point)
6336         (python-symbol-completions): Delete functions.
6337         (python-completion-complete-at-point): New function.
6338         (python-load-file): Delete function.
6339         (python-shell-send-file): New function.
6340         (python-calculate-indentation): Delete function.
6341         (python-indent-calculate-indentation): New function.
6342         (python-skip-comments/blanks): Delete function.
6343         (python-util-forward-comment): New function.
6344         (python-continuation-line-p): Delete function.
6345         (python-info-continuation-line-p): New function.
6346         (python-which-func, python-current-defun): Delete function.
6347         (python-info-current-defun): New function.
6348         (python-beginning-of-defun): Delete function.
6349         (python-nav-beginning-of-defun): New function.
6350         (python-close-block-statement-p)
6351         (python-block-end-p): Delete function.
6352         (python-info-closing-block): New function.
6353         (python-comint-output-filter-function)
6354         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6355         (python-fill-comment, python-fill-decorator, python-fill-paren)
6356         (python-fill-string, python-imenu-make-element-tree)
6357         (python-imenu-make-tree, python-imenu-tree-assoc)
6358         (python-indent-context, python-indent-dedent-line)
6359         (python-indent-line-function)
6360         (python-indent-post-self-insert-function)
6361         (python-indent-toggle-levels)
6362         (python-info-assignment-continuation-line-p)
6363         (python-info-beginning-of-backlash)
6364         (python-info-block-continuation-line-p)
6365         (python-info-closing-block-message)
6366         (python-info-line-ends-backslash-p)
6367         (python-info-looking-at-beginning-of-defun)
6368         (python-info-ppss-context, python-info-ppss-context-type)
6369         (python-nav-list-defun-positions, python-nav-read-defun)
6370         (python-nav-sentence-end, python-nav-sentence-start)
6371         (python-pdbtrack-comint-output-filter-function)
6372         (python-pdbtrack-set-tracked-buffer)
6373         (python-shell-calculate-exec-path)
6374         (python-shell-calculate-process-environment)
6375         (python-shell-completion--do-completion-at-point)
6376         (python-shell-completion--get-completions)
6377         (python-shell-completion-complete-at-point)
6378         (python-shell-completion-complete-or-indent)
6379         (python-shell-get-or-create-process)
6380         (python-shell-get-process-name)
6381         (python-shell-internal-get-or-create-process)
6382         (python-shell-internal-get-process-name)
6383         (python-shell-internal-send-string, python-shell-make-comint)
6384         (python-shell-parse-command, python-shell-send-setup-code)
6385         (python-skeleton-add-menu-items)
6386         (python-util-clone-local-variables, python-util-position)
6387         (run-python-internal, python-indentation-levels)
6388         (python-nav-beginning-of-defun)
6389         (python-completion-complete-at-point): New functions.
6390         (run-python): Change arguments.  New API requirements.
6392 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6394         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6395         (bug#11649).
6397         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6398         (macroexp--expand-all): Use it.
6400         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6401         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6402         Use `cl-function' instead.
6404 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
6406         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6407         Suggested by Stefan Monnier while discussing bug#11657.
6409 2012-06-14  Sam Steingold  <sds@gnu.org>
6411         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6413 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6415         * play/doctor.el (doctor-doc): Remove parameter and use
6416         doctor-sent instead of sent.
6417         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
6419 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6421         * files.el: Require cl-lib.
6422         (file-name-non-special): Replace case -> cl-case.
6424         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6426         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6427         mapping from #' to function*.
6429 2012-06-13  Chong Yidong  <cyd@gnu.org>
6431         * mouse.el (mouse-drag-track): Do not set the mark if the user
6432         releases the mouse without selecting anything (Bug#11588).
6434 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6436         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6437         as well (bug#11646).
6439         * loadup.el: Count byte-code functions as well.
6441         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6442         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6444         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6445         (bug#11649).  Add cl-defun and cl-defmacro.
6447 2012-06-13  Drew Adams  <drew.adams@oracle.com>
6449         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6450         Fix last change.
6452 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
6454         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6455         Otherwise, it blocks in batch mode.
6457 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
6459         * help-mode.el (bookmark-make-record-default): Declare.
6461 2012-06-13  Chong Yidong  <cyd@gnu.org>
6463         * emacs-lisp/package.el (list-packages): Compute a list of
6464         packages that are newly-available since the last list-packages
6465         invocation.
6466         (package-menu--new-package-list): New var.
6467         (package-menu--generate, package-menu--print-info)
6468         (package-menu--status-predicate, package-menu-mark-install):
6469         Handle new status label "new".
6471 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6473         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6474         conversion to backquotes.
6476 2012-06-12  Chong Yidong  <cyd@gnu.org>
6478         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6479         Rename from gud-inhibit-global-bindings.
6481         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6483         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6484         hook from nxml-glyph-set-hook.
6486         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6487         declaration.
6489         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6491         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6492         Convert to defcustom.
6494 2012-06-12  Drew Adams  <drew.adams@oracle.com>
6496         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6497         New functions.
6498         (help-mode): Use them.
6500 2012-06-11  Glenn Morris  <rgm@gnu.org>
6502         * progmodes/fortran.el (fortran-font-lock-keywords-3):
6503         Use preprocessor face for directives.
6504         (fortran-directive-re): Doc fix.
6506 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6508         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6509         conversion to backquotes (bug#11652).
6511         Fix compiler-expansion of CL's cXXr functions (bug#11673).
6512         * emacs-lisp/cl-lib.el (cl--defalias): New function.
6513         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6514         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6515         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6516         (cl-ninth, cl-tenth): Mark them as inlinable.
6517         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6518         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6519         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6520         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6521         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6522         (cl-list*, cl-adjoin): Don't put an autoload manually.
6523         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6524         (cl--compiler-macro-list*): Add autoload cookie.
6525         (cl--compiler-macro-cXXr): New function.
6527         * help-fns.el (help-fns--compiler-macro): New function extracted from
6528         describe-function-1; follow aliases and use `compiler-macro' property.
6529         (describe-function-1): Use it.
6531 2012-06-11  Chong Yidong  <cyd@gnu.org>
6533         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6534         is uninstalled, if imagemagick is installed.
6536 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6538         * emacs-lisp/cl-lib.el: Use lexical-binding.
6539         (cl-map-extents, cl-maclisp-member): Remove.
6540         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6541         (cl--set-substring, cl--block-wrapper, cl--block-throw)
6542         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6543         * emacs-lisp/cl-extra.el: Use lexical-binding.
6544         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6545         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6546         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6547         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6548         * emacs-lisp/cl-seq.el: Use lexical-binding.
6549         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6550         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6551         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6552         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6553         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6554         CL's internals.
6556 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
6558         Sync with Tramp 2.2.6-pre.
6560         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6561         `print-length' and `print-level' to nil, in order to avoid
6562         truncation.  Reported by Christopher Schmidt
6563         <christopher@ristopher.com>.
6565         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6567         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6568         New defmacro.
6569         (tramp-compat-copy-directory): Add optional argument
6570         COPY-CONTENTS.  It is not handled yet.
6572         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6573         (tramp-ftp-file-name-p): Simplify.
6575         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6576         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6577         connection vector.
6579         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6580         (tramp-methods): Do not use `tramp-password-end-of-line'.
6581         (tramp-completion-function-alist-putty): Handle UNIX case.
6582         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6583         (tramp-do-file-attributes-with-stat)
6584         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6585         gid as real numbers.  They could run out of integer range on cygwin.
6586         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6587         (tramp-sh-handle-expand-file-name): Handle hops.
6588         (tramp-open-connection-setup-interactive-shell):
6589         Use `tramp-cleanup'.  Move check for busyboxes ...
6590         (tramp-find-shell): ... here.  Simplify implementation.
6591         Set "remote-shell" property also for alternative shells.
6592         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6593         If failing, a regular file would be written otherwise.
6594         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6595         (tramp-find-inline-encoding): Cache the coding commands in the
6596         process cache.  Apply test command on the remote side, if defined.
6597         (tramp-find-inline-compress): Cache the compress commands in the
6598         process cache.
6599         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6600         when requested.  Handle hops.
6601         (tramp-current-connection): New defvar.
6602         (tramp-maybe-open-connection): Use `tramp-cleanup'.
6603         Throw `suppress', if there was a failed connection shortly before.
6604         Handle user interrupt.  (Bug#10187)
6605         (tramp-get-inline-compress, tramp-get-inline-coding):
6606         Read connection properties from the process cache.
6608         * net/tramp-smb.el (tramp-smb-server-version)
6609         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6610         New defconsts.
6611         (tramp-smb-prompt): Extend for powershell prompt.
6612         (tramp-smb-file-name-handler-alist): Add handlers for
6613         `process-file', `shell-command' and `start-file-process'.
6614         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6615         (tramp-smb-winexe-shell-command-switch): New defcustoms.
6616         (tramp-smb-file-name-p): Simplify.
6617         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6618         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6619         (tramp-smb-shell-quote-argument): New defuns.
6620         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6621         Implement using "tar".  By this, time-stamps are preserved.
6622         (tramp-smb-handle-copy-file): Handle also the case of directories.
6623         (tramp-smb-do-file-attributes-with-stat)
6624         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6625         Use `tramp-get-connection-buffer').
6626         (tramp-smb-handle-rename-file): Use "rename", when source and
6627         target are on the same share.
6628         (tramp-smb-maybe-open-connection): Handle wrong passwords.
6629         Use `tramp-smb-server-version'.
6630         (tramp-smb-wait-for-output): Remove prompt.
6632         * net/tramp.el (top): Require 'cl.
6633         (tramp-methods, tramp-rsh-end-of-line):
6634         Remove `tramp-password-end-of-line' from docstring.
6635         (tramp-save-ad-hoc-proxies): New defcustom.
6636         (tramp-completion-function-alist): Adapt docstring.
6637         (tramp-default-password-end-of-line): Remove defcustom.
6638         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
6639         (tramp-user-regexp, tramp-file-name-regexp-unified)
6640         (tramp-file-name-regexp-url): Extend regexp by hop separator.
6641         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6642         (tramp-remote-file-name-spec-regexp): New defconst.
6643         (tramp-file-name-structure): Extend structure for hops.
6644         (tramp-get-method-parameter): Move up.
6645         (tramp-file-name-p, tramp-dissect-file-name)
6646         (with-parsed-tramp-file-name): Handle hops.
6647         (tramp-file-name-hop): New defun.
6648         (tramp-make-tramp-file-name): New optional arg HOP.
6649         (tramp-message-show-progress-reporter-message): New defvar.
6650         (tramp-with-progress-reporter): Use it.  We cannot use
6651         `tramp-message-show-message' here, because this suppresses also
6652         error buffers.
6653         (tramp-error-with-buffer): Suppress buffer view, if
6654         `tramp-message-show-message' is nil.
6655         Use `tramp-get-connection-buffer'.
6656         (tramp-cleanup): New defun.
6657         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6658         (tramp-file-name-handler): If `debug-on-error' is set, propagate
6659         an error unchanged.
6660         (tramp-completion-handle-file-name-all-completions): Handle hops.
6661         Fix an error when called from ido.
6662         (tramp-completion-dissect-file-name): Use better local variable
6663         name.  Add hop to the vector.
6664         (tramp-handle-insert-file-contents): Use progress-reporter for the
6665         whole scenario.
6666         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6667         to `t'.
6668         (tramp-check-for-regexp): Simplify search.
6669         (tramp-enter-password): Remove it.  Move implementation ...
6670         (tramp-action-password): ... here.
6671         (tramp-mode-string-to-int, tramp-local-host-p)
6672         (tramp-make-tramp-temp-file, tramp-read-passwd)
6673         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6674         Set tramp-autoload cookie.
6676         * net/trampver.el: Update release number.
6678 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6679             Michael Albinus  <michael.albinus@gmx.de>
6681         * net/tramp.el (tramp-set-completion-function): Fix docstring.
6682         (tramp-parse-group, tramp-parse-file)
6683         (tramp-parse-shostkeys-sknownhosts): New defuns.
6684         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6685         (tramp-parse-shosts-group, tramp-parse-sconfig)
6686         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6687         (tramp-parse-sknownhosts, tramp-parse-hosts)
6688         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6689         Use them.
6690         (tramp-parse-passwd-group, tramp-parse-netrc-group)
6691         (tramp-parse-putty-group): Don't narrow.
6692         (tramp-parse-putty): Make a loop.
6693         (tramp-file-name-handler): Catch the `suppress' signal.
6695 2012-06-11  Chong Yidong  <cyd@gnu.org>
6697         * image.el (imagemagick-register-types): Put the ImageMagick entry
6698         at the end of image-type-file-name-regexps.
6700 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
6702         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6703         (pcase, pcase-let*, pcase-dolist): Use them.
6705 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6707         * emacs-lisp/pcase.el (pcase--let*): New function.
6708         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
6709         (pcase--expand): Use macroexp-let².
6711 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6714         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6715         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6716         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6717         * emacs-lisp/derived.el: Use pcase instead of `cl'.
6718         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6720 2012-06-10  Glenn Morris  <rgm@gnu.org>
6722         * mail/rmail.el (rmail-yank-current-message): Leave point at
6723         correct position.  (Bug#11660)
6725 2012-06-10  Chong Yidong  <cyd@gnu.org>
6727         * allout-widgets.el: Fix code header.
6729 2012-06-10  Chong Yidong  <cyd@gnu.org>
6731         * cus-edit.el (customize-changed-options-previous-release):
6732         Bump to 24.1.
6734 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
6736         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6738 2012-06-09  Chong Yidong  <cyd@gnu.org>
6740         * ebuff-menu.el (electric-buffer-list): Preserve header line.
6742 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
6744         * window.el (special-display-popup-frame): Don't use
6745         window--display-buffer (Bug#11651).
6747 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
6749         Fix parallel builds: make sure loaddefs.el is not being written
6750         while Lisp files are compiled.
6751         (compile): Don't depend on 'mh-autoloads'.
6752         (compile-CMD, compile-SH): Depend on 'autoloads'.
6753         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6755         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
6757 2012-06-09  Chong Yidong  <cyd@gnu.org>
6759         * face-remap.el (face-remap-add-relative, face-remap-set-base)
6760         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6761         Doc fixes (Bug#11225).
6763 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6765         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6766         a function if there's a clear indication that it has a compiler-macro.
6767         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6768         (macro-declarations-alist): Add arglist to declaration functions.
6769         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6770         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6771         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6772         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6773         Also add autoload to find the compiler macro.
6774         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6775         (cl--compiler-macro-member, cl--compiler-macro-assoc)
6776         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6777         (cl--compiler-macro-get): New functions, replacing calls to
6778         cl-define-compiler-macro.
6779         (cl-typep) [compiler-macro]: Use macroexp-let².
6781 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
6783         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6784         string properly, fixes Bug#11473.
6786 2012-06-08  Chong Yidong  <cyd@gnu.org>
6788         * faces.el (set-face-attribute): Doc fix.
6789         (modify-face): Don't use :bold and :italic.
6790         (error, warning, success): Tweak definitions.
6792         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6793         (custom-modified, custom-set, custom-changed, custom-themed)
6794         (custom-saved, custom-button, custom-button-mouse)
6795         (custom-button-pressed, custom-state, custom-comment-tag)
6796         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6797         (custom-group-subtitle): Use new-style face specs.
6798         (custom-invalid-face, custom-rogue-face, custom-modified-face)
6799         (custom-set-face, custom-changed-face, custom-saved-face)
6800         (custom-button-face, custom-button-pressed-face)
6801         (custom-documentation-face, custom-state-face)
6802         (custom-comment-face, custom-comment-tag-face)
6803         (custom-variable-tag-face, custom-variable-button-face)
6804         (custom-face-tag-face, custom-group-tag-face-1)
6805         (custom-group-tag-face): Remove obsolete face alias.
6807         * epa.el (epa-validity-high, epa-validity-medium)
6808         (epa-validity-low, epa-mark, epa-field-name, epa-string)
6809         (epa-field-name, epa-field-body):
6810         * font-lock.el (font-lock-comment-face, font-lock-string-face)
6811         (font-lock-keyword-face, font-lock-builtin-face)
6812         (font-lock-function-name-face, font-lock-variable-name-face)
6813         (font-lock-type-face, font-lock-constant-face):
6814         * ido.el (ido-first-match, ido-only-match, ido-subdir)
6815         (ido-virtual, ido-indicator, ido-incomplete-regexp):
6816         * speedbar.el (speedbar-button-face, speedbar-file-face)
6817         (speedbar-directory-face, speedbar-tag-face)
6818         (speedbar-selected-face, speedbar-highlight-face)
6819         (speedbar-separator-face):
6820         * whitespace.el (whitespace-newline, whitespace-space)
6821         (whitespace-hspace, whitespace-tab, whitespace-trailing)
6822         (whitespace-line, whitespace-space-before-tab)
6823         (whitespace-space-after-tab, whitespace-indentation)
6824         (whitespace-empty):
6825         * emulation/cua-base.el (cua-global-mark):
6826         * eshell/em-prompt.el (eshell-prompt):
6827         * net/newst-plainview.el (newsticker-new-item-face)
6828         (newsticker-old-item-face, newsticker-immortal-item-face)
6829         (newsticker-obsolete-item-face, newsticker-date-face)
6830         (newsticker-statistics-face, newsticker-default-face):
6831         * net/newst-reader.el (newsticker-feed-face)
6832         (newsticker-extra-face, newsticker-enclosure-face):
6833         * net/newst-treeview.el (newsticker-treeview-face)
6834         (newsticker-treeview-new-face, newsticker-treeview-old-face)
6835         (newsticker-treeview-immortal-face)
6836         (newsticker-treeview-obsolete-face)
6837         (newsticker-treeview-selection-face):
6838         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6839         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6840         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6841         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6842         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6843         (nxml-outline-active-indicator, nxml-outline-ellipsis):
6844         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6845         (mpuz-text):
6846         * progmodes/vera-mode.el (vera-font-lock-number)
6847         (vera-font-lock-function, vera-font-lock-interface):
6848         * textmodes/table.el (table-cell): Use new-style face specs, and
6849         don't use the old :bold and :italic attributes.
6851         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6852         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6853         (ebrowse-member-class, ebrowse-progress): Likewise.
6854         (ebrowse-tree-mark-face, ebrowse-root-class-face)
6855         (ebrowse-file-name-face, ebrowse-default-face)
6856         (ebrowse-member-attribute-face, ebrowse-member-class-face)
6857         (ebrowse-progress-face): Remove obsolete faces.
6859         * progmodes/flymake.el (flymake-errline, flymake-warnline):
6860         Inherit from error and warning faces respectively.
6862         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6863         Likewise.
6864         (flyspell-incorrect-face, flyspell-duplicate-face):
6865         Remove obsolete aliases.
6867 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
6869         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6870         Avoid infloop.
6872 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6874         * startup.el (argv, argi): Make lexically scoped.
6875         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6876         * emacs-lisp/cl-macs.el: Use lexical-binding.
6877         Rename cl-bind-* to cl--bind-*.
6878         * files.el: Don't require `cl' since it doesn't use it.
6879         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6881 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
6883         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6884         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6885         instead of calling external sort utility.
6886         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6888 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
6890         * descr-text.el (describe-char): Mention how to insert the
6891         character, if the current input method doesn't support it.
6892         See the discussion in this thread for the details:
6893         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6895 2012-06-08  Sam Steingold  <sds@gnu.org>
6897         * bindings.el (global-map): Bind XF86Forward to next-buffer and
6898         XF86Back to previous-buffer.
6899         (minibuffer-local-map): Bind them to next-history-element and
6900         previous-history-element respectively.
6901         * help-mode.el (help-mode-map): Bind them to help-go-forward and
6902         help-go-back respectively.
6903         * info.el (Info-mode-map): Bind them to Info-history-forward and
6904         Info-history-back respectively.
6905         These are the keys next to Up on the ThinkPad keyboard.
6907 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6909         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6910         * emacs-lisp/cl-macs.el: Provide itself.
6911         (cl--labels-convert-cache): New var.
6912         (cl--labels-convert): New function.
6913         (cl-flet, cl-labels): New implementation with new semantics, relying on
6914         lexical-binding.
6915         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6916         (cl-closure-vars, cl--function-convert-cache)
6917         (cl--function-convert): Move from cl-macs.el.
6918         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6919         rename by removing the "cl-" prefix.
6920         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6922 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6924         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6925         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6926         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6927         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6928         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6929         (cl-hash-table-count): Add old compatibility aliases.
6931         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6932         Use macroexpand-all-environment instead.
6933         (cl--old-macroexpand): New var.
6934         (cl--sm-macroexpand): New function.
6935         (cl-symbol-macrolet): Use it during macro expansion.
6936         (cl--function-convert-cache): New var.
6937         (cl--function-convert): New function, extracted from
6938         cl-macroexpand-all.
6939         (cl-lexical-let): Use it.
6941         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6942         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6943         (cl-member): Remove old alias.
6945         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6946         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6947         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6948         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6949         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6950         (cl-macroexpand-cmacs): Remove var.
6951         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6952         Use macroexpand-all instead.
6954 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6956         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6957         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6958         (macroexp-copyable-p): New functions and macros.
6959         * emacs-lisp/edebug.el (edebug-unwrap):
6960         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6961         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6962         (pcase--let*): Remove.
6963         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6964         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
6965         macroexp-const-p instead.
6966         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6968         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6969         instead of "cl-" for internal definitions.  Use macroexp-const-p.
6970         (cl-old-bc-file-form): Remove var.
6971         (cl-const-exprs-p): Remove fun.
6972         (cl-labels, cl-macrolet): Use backquote.
6973         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
6974         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6975         (cl-define-setf-expander): Rename from cl-define-setf-method.
6976         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6978         * international/mule-cmds.el: Don't require CL.
6979         (view-hello-file): Don't use `letf'.
6981 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6983         * tmm.el (tmm-prompt): Use string-prefix-p.
6984         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6985         (tmm-add-prompt): Use minibuffer-completion-help.
6986         (tmm-delete-map): Remove.
6988         * subr.el (kbd): Make it its own function.
6990 2012-06-07  Stefan Merten  <smerten@oekonux.de>
6992         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6993         Silence compiler warnings.  Fix versions.
6994         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6995         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6996         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6997         (rst-package-emacs-version-alist): Correct Emacs version to
6998         represent major merge with upstream.
6999         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7001 2012-06-06  Glenn Morris  <rgm@gnu.org>
7003         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7004         Only print environment variables if set.
7006 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7008         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7009         (macroexp--cons): Rename from maybe-cons.
7010         (macroexp--accumulate): Rename from macroexp-accumulate.
7011         (macroexp--all-forms): Rename from macroexpand-all-forms.
7012         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7013         (macroexp--expand-all): Rename from macroexpand-all-1.
7015 2012-06-06  Sam Steingold  <sds@gnu.org>
7017         * calendar/calendar.el (calendar-in-read-only-buffer):
7018         Call `special-mode' to enable the standard read-only keybindings.
7020 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7022         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7023         with "loading" messages (bug#11635).
7025 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
7027         * files.el (enable-remote-dir-locals): New option.
7028         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
7030         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7031         Ensure, that the temp directory is local.
7033         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7034         `temporary-file-directory'.
7036         * progmodes/python.el (python-send-region): Ensure, that the
7037         temporary file is created also in the remote case.
7039 2012-06-06  Glenn Morris  <rgm@gnu.org>
7041         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7042         (vc-rcs-update-changelog): Use it.
7044         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7046         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7047         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7048         (vc-sccs-diff): Replace use of the external vcdiff script.
7050 2012-06-05  Glenn Morris  <rgm@gnu.org>
7052         * ledit.el: Move to obsolete/.
7054 2012-06-05  Sam Steingold  <sds@gnu.org>
7056         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7057         patch (Bug#11140).
7059 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7061         * emacs-lisp/cust-print.el: Move to obsolete.
7063         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7064         compiler-macro expansion.
7066         Add native compiler-macro support.
7067         * emacs-lisp/macroexp.el (macroexpand-all-1):
7068         Support compiler-macros directly.  Properly follow aliases and apply
7069         the compiler macros more thoroughly.
7070         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7071         macroexpand now properly follows aliases.
7072         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7073         (cl-compiler-macroexpand): Use new prop.
7074         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7076         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7078 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
7080         * window.el (get-lru-window, get-mru-window, get-largest-window):
7081         New argument NOT-SELECTED to avoid picking the selected window.
7082         (window--display-buffer-1, window--display-buffer-2): Replace by
7083         new function window--display-buffer
7084         (display-buffer-same-window, display-buffer-reuse-window)
7085         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7086         Use window--display-buffer.
7087         (display-buffer-use-some-window): Remove temporary dedication
7088         hack by calling get-lru-window and get-largest-window with
7089         NOT-SELECTED argument non-nil.  Call window--display-buffer.
7091 2012-06-05  Glenn Morris  <rgm@gnu.org>
7093         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7094         Replace external vcdiff script.
7096 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7098         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7100 2012-06-04  Chong Yidong  <cyd@gnu.org>
7102         * image.el (imagemagick-types-inhibit): Revert last change.
7103         Add INFO and M.
7104         (imagemagick-enabled-types): Remove CIN and EPS*.
7106 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7108         * emacs-lisp/cl-lib.el: Rename from cl.el.
7109         * emacs-lisp/cl.el: New compatibility file.
7110         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7111         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7112         to obey the "cl-" prefix.
7113         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7115 2012-06-03  Glenn Morris  <rgm@gnu.org>
7117         * emacs-lisp/authors.el (authors-aliases): Addition.
7119         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7120         Fix :version.
7122 2012-06-03  Stefan Merten  <smerten@oekonux.de>
7124         * textmodes/rst.el: Add comments.
7125         (rst-transition, rst-adornment): New faces.
7126         (rst-adornment-faces-alist): Make default safe to reevaluate.
7127         Fixes
7128         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7129         Improve customization tags.
7130         (rst-define-level-faces): Clarify meaning.
7132 2012-06-03  Chong Yidong  <cyd@gnu.org>
7134         * progmodes/compile.el (compilation-mode-line-fail)
7135         (compilation-mode-line-run, compilation-mode-line-exit):
7136         New faces.
7137         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7139 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
7141         * progmodes/which-func.el (which-func-update-ediff-windows):
7142         New function.  Use it in ediff-select-hook (Bug#11478).
7144 2012-06-03  Chong Yidong  <cyd@gnu.org>
7146         * bindings.el: Remove explicit help text from format-mode-line.
7147         It is now supplied by mode-line-default-help-echo.
7148         (mode-line-front-space, mode-line-end-spaces)
7149         (mode-line-misc-info): New variables.
7150         (mode-line-modes, mode-line-position): Move the default value to
7151         the variable definition.
7152         (mode-line-default-help-echo): New defcustom.
7153         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7154         (mode-line-modified-help-echo): New functions.
7155         (mode-line-mule-info, mode-line-modified): Use them.
7156         (mode-line-eol-desc, propertized-buffer-identification):
7157         Consistency fixes for help text.
7158         (mode-line-coding-system-map): Allow using mouse-3 to invoke
7159         set-buffer-file-coding-system (Bug#289).
7160         (mode-line-mule-info-help-echo): Update help text.
7162 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7164         * simple.el (execute-extended-command): Set real-this-command
7165         (bug#11506).
7167 2012-06-02  Chong Yidong  <cyd@gnu.org>
7169         Remove incorrect uses of "modeline" in comments, docstrings, and
7170         function/variable names (Bug#10329).
7172         * cus-edit.el (mode-line):
7173         * dframe.el (dframe-mouse-hscroll):
7174         * emacs-lisp/re-builder.el:
7175         * emacs-lisp/easy-mmode.el (define-minor-mode):
7176         * frame.el (set-frame-name):
7177         * help.el (lookup-minor-mode-from-indicator):
7178         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7179         * progmodes/cc-cmds.el (c-toggle-auto-newline)
7180         (c-toggle-hungry-state):
7181         * progmodes/antlr-mode.el (antlr-language-alist):
7182         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7183         * progmodes/vhdl-mode.el (vhdl-mode):
7184         * progmodes/which-func.el (which-func, which-func-cleanup-function):
7185         * term/ns-win.el (ns-face-at-pos):
7186         * term/sup-mouse.el (sup-mouse-report):
7187         * textmodes/flyspell.el (flyspell-mode-line-string):
7188         * textmodes/ispell.el (ispell-highlight-face):
7189         * textmodes/reftex-global.el:
7190         * vc/vc-arch.el (vc-arch-mode-line-string):
7191         * vc/vc-cvs.el (vc-cvs-mode-line-string):
7192         * vc/vc-git.el (vc-git-mode-line-string):
7193         * vc/vc-hooks.el (vc-display-status)
7194         (vc-default-mode-line-string):
7195         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7197         * ansi-color.el (ansi-color-faces-vector): Change default faces.
7199         * dired.el (dired-sort-set-mode-line): Rename from
7200         dired-sort-set-modeline.  All callers changed.
7202         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7203         eshell-status-in-modeline.
7205         * foldout.el (foldout-mode-line-string): Rename from
7206         foldout-modeline-string.  All callers changed.
7207         (foldout-update-mode-line): Rename from foldout-update-modeline.
7209         * subr.el (redraw-modeline): Make into obsolete alias.
7211         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7212         timeclock-modeline-display.  Make old name an alias.
7213         (timeclock-update-mode-line): Likewise.  All callers changed.
7214         (timeclock-mode-line-display): No need to check before using
7215         add-hook.
7216         (timeclock-relative, timeclock-day-over-hook)
7217         (timeclock-use-elapsed, timeclock-mode-string)
7218         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7220         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7221         crisp-mode-modeline-string.
7223         * play/solitaire.el (solitaire-build-mode-line): Rename from
7224         solitaire-build-modeline.  All callers changed.
7226         * play/zone.el (zone-hiding-mode-line): Rename from
7227         zone-hiding-modeline.  All callers changed.
7228         (zone): Remove unusued `modeline-hidden-level' property.
7230         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7231         xscheme-modeline-initialize.  All callers changed.
7233         * strokes.el (strokes-lighter): Rename from
7234         strokes-modeline-string.
7236         * textmodes/sgml-mode.el (html-face-tag-alist)
7237         (html-tag-face-alist): Use mode-line face instead of obsolete
7238         alias modeline.
7240 2012-06-02  Stefan Merten  <smerten@oekonux.de>
7242         * textmodes/rst.el: Always require `cl'.
7243         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7245 2012-06-02  Chong Yidong  <cyd@gnu.org>
7247         * image.el (imagemagick-enabled-types): Rename from
7248         imagemagick-types-enable.  Add many more types.
7249         (imagemagick-types-inhibit): Change default to nil.
7250         (imagemagick-filter-types): Caller changed.
7252 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7254         * emacs-lisp/cl-macs.el: Use backquotes.
7255         (cl-transform-function-property): Use eval-and-compile rather than
7256         abusing `require'.
7257         (defstruct): Use declare-function instead of with-no-warnings.
7259         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7260         (byte-compile-output-docform): Re-add the print-circle bindings.
7261         (byte-compile-fix-header): Use #$ just because it's shorter.
7262         (byte-compile-output-file-form): Remove defun/defmacro.
7264 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
7266         * simple.el (choose-completion): Remove now obsolete binding for
7267         owindow.
7269 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
7271         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7272         in order to avoid "Stack overflow in regexp matcher".
7274 2012-05-31  Glenn Morris  <rgm@gnu.org>
7276         * image.el: For clarity, call imagemagick-register-types at
7277         top-level, rather than relying on a custom :initialize.
7278         (imagemagick-types-enable): New option.  (Bug#11557)
7279         (imagemagick-filter-types): New function.  (Bug#7406)
7280         (imagemagick-register-types): Use imagemagick-filter-types.
7281         If disabling support, remove elements altogether rather
7282         than using an impossible regexp.
7283         (imagemagick-types-inhibit): Give it the default init function.
7285 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7287         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7288         Handle arbitrary file name lengths (Bug#11585).
7290 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
7292         * desktop.el (desktop-read): Clear previous and next buffers for
7293         all windows and bury *Messages* buffer (bug#11556).
7295 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7297         Add `declare' for `defun'.  Align `defmacro's with it.
7298         * emacs-lisp/easy-mmode.el (define-minor-mode)
7299         (define-globalized-minor-mode): Don't autoload the var definitions.
7300         * emacs-lisp/byte-run.el: Use lexical-binding.
7301         (defun-declarations-alist, macro-declarations-alist): New vars.
7302         (defmacro, defun): Use them.
7303         (make-obsolete, define-obsolete-function-alias)
7304         (make-obsolete-variable, define-obsolete-variable-alias):
7305         Use `declare'.
7306         (macro-declaration-function): Mark obsolete.
7307         * emacs-lisp/autoload.el: Use lexical-binding.
7308         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
7310 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7312         * textmodes/ispell.el (ispell-with-no-warnings):
7313         Define as a macro.
7314         (ispell-kill-ispell, ispell-change-dictionary):
7315         Use `called-interactively-p' for Emacs instead of obsolete
7316         `interactive-p'.
7318 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7320         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7321         (macro-declaration-function): Move var from C code.
7322         (macro-declaration-function): Define function with defalias.
7323         * emacs-lisp/macroexp.el (macroexpand-all-1):
7324         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7325         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7326         defun/defmacro any more.
7327         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7328         Provide fallback for unknown arglist.
7329         (byte-compile-arglist-warn): Change calling convention.
7330         (byte-compile-output-file-form): Move print-vars binding.
7331         (byte-compile-output-docform): Simplify accordingly.
7332         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7333         (byte-compile-defmacro-declaration): Remove.
7334         (byte-compile-file-form-defmumble): Generalize to defalias.
7335         (byte-compile-output-as-comment): Return byte-positions.
7336         Simplify callers accordingly.
7337         (byte-compile-lambda): Use `assert'.
7338         (byte-compile-defun, byte-compile-defmacro): Remove.
7339         (byte-compile-file-form-defalias):
7340         Use byte-compile-file-form-defmumble.
7341         (byte-compile-defalias-warn): Remove.
7343 2012-05-29  Stefan Merten  <smerten@oekonux.de>
7345         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7346         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
7348         (rst-mode-abbrev-table): Merge definition.
7349         (rst-mode): Make sure `font-lock-defaults' is buffer local.
7350         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7352 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
7354         * calendar/icalendar.el
7355         (icalendar-export-region): Export UID properly.
7357 2012-05-29  Leo Liu  <sdl.web@gmail.com>
7358         * calendar/icalendar.el (icalendar-import-format):
7359         Add `icalendar-import-format-uid' (Bug#11525).
7360         (icalendar-import-format-uid): New.
7361         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7362         Export UID.
7364 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7366         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7367         different alternative patterns.
7368         (pcase-codegen): Be more careful to preserve identity.
7369         (pcase--u1): Don't forget to mark vars as used.
7371         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7372         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7373         (byte-compile-from-buffer): ...rather than here.
7375         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7376         functions from byte-compile-function-environment.
7378 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
7380         * window.el (window-deletable-p): Avoid deleting the root window
7381         of a frame with an active minibuffer.
7383 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
7385         * simple.el (choose-completion): Use quit-window (Bug#11567).
7387 2012-05-29  Chong Yidong  <cyd@gnu.org>
7389         * whitespace.el (whitespace-cleanup): Fix usage of
7390         whitespace-empty-at-bob-regexp (Bug#11492).
7392 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7394         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7395         revert (Bug#11488).
7397 2012-05-29  Juri Linkov  <juri@jurta.org>
7399         * isearch.el (isearch-mode-map): Bind `M-s _' to
7400         `isearch-toggle-symbol'.  Bind `M-s c' to
7401         `isearch-toggle-case-fold'.
7402         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7403         (isearch-forward): Add `M-s _' to the docstring.
7404         (isearch-forward-symbol, isearch-toggle-case-fold)
7405         (isearch-symbol-regexp): New functions.  (Bug#11381)
7407 2012-05-29  Juri Linkov  <juri@jurta.org>
7409         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
7410         (isearch-occur, isearch-search-and-update): If `isearch-word' is
7411         a function, call it to get the regexp.
7412         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7413         property `isearch-message-prefix' instead of the string "word ".
7414         (isearch-search-fun-default): For the case of `isearch-word',
7415         return a lambda that calls re-search-forward/re-search-backward
7416         with a regexp returned by `word-search-regexp' or by the function
7417         in `isearch-word'.
7419 2012-05-29  Juri Linkov  <juri@jurta.org>
7421         * isearch.el (isearch-search-fun-default): New function.
7422         (isearch-search-fun): Move default part to the new function
7423         `isearch-search-fun-default'.
7424         (isearch-search-fun-function): Set the default value to
7425         `isearch-search-fun-default'.  (Bug#11381)
7427         * comint.el (comint-history-isearch-end):
7428         Use `isearch-search-fun-default'.
7429         (comint-history-isearch-search): Use `isearch-search-fun-default'
7430         and remove spacial case for `isearch-word'.
7431         (comint-history-isearch-wrap): Remove spacial case for
7432         `isearch-word'.
7434         * hexl.el (hexl-isearch-search-function):
7435         Use `isearch-search-fun-default'.
7437         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7438         Use `word-search-regexp' for `isearch-word'.
7440         * misearch.el (multi-isearch-search-fun):
7441         Use `isearch-search-fun-default'.
7443         * simple.el (minibuffer-history-isearch-search):
7444         Use `isearch-search-fun-default' and remove spacial case for
7445         `isearch-word'.
7446         (minibuffer-history-isearch-wrap): Remove spacial case for
7447         `isearch-word'.
7449         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7450         Remove spacial case for `isearch-word'.
7451         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7453 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7455         Decrease XEmacs incompatibilities.
7456         * textmodes/flyspell.el (flyspell-check-pre-word-p):
7457         Use `string-match'.
7458         (flyspell-delete-region-overlays): Use alternative definition for
7459         XEmacs.
7460         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7461         (flyspell-word): Use `process-kill-without-query' if XEmacs.
7462         (flyspell-mode-on): Use `interactive-p' if XEmacs.
7463         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7464         `define-obsolete-face-alias' under XEmacs, but old method.
7466         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7467         `with-no-warnings' definition or Emacs alias.
7468         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7469         (ispell-word): Do not use `region-p' if XEmacs.
7471 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7473         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7474         Check for `ispell-dictionary-base-alist' instead of full
7475         `ispell-dictionary-alist'.
7476         (ispell-init-process): Show spellchecker when starting new Ispell
7477         process.
7479 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7481         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7482         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7484 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
7486         * version.el (motif-version-string, gtk-version-string)
7487         (ns-version-string): Declare.
7489 2012-05-27  Juri Linkov  <juri@jurta.org>
7491         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7492         after the `eval-defun-1' specialcaseing
7493         like in `edebug-eval-defun' (bug#10181).
7495         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7496         like in `eval-defun-1'.
7498 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
7500         * mail/sendmail.el (mail-yank-region):
7501         Recognize rmail-yank-current-message in addition to insert-buffer.
7502         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7503         a *mail* buffer created through rmail-start-mail with sendmail as
7504         mail-user-agent.
7506 2012-05-27  Chong Yidong  <cyd@gnu.org>
7508         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7509         Default to 256 (Bug#11267).
7511         * help.el (describe-mode): Doc fix.
7513 2012-05-26  Glenn Morris  <rgm@gnu.org>
7515         * w32-fns.el (w32-init-info): Remove.
7516         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7518         * info.el (info-initialize): For self-contained NS builds, put the
7519         included info/ directory at the front.  (Bug#2791)
7521         * paths.el (Info-default-directory-list): Make it a defcustom,
7522         mainly so that we can use custom-initialize-delay.
7524 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7526         * subr.el (buffer-has-markers-at): Mark obsolete.
7528         * subr.el (lambda): Use declare.
7530         * emacs-lisp/lisp-mode.el (lambda):
7531         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7533 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7535         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
7537 2012-05-26  Glenn Morris  <rgm@gnu.org>
7539         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7541 2012-05-25  Glenn Morris  <rgm@gnu.org>
7543         * paths.el: Remove no-byte-compile.
7544         * loadup.el: No need to load paths.el uncompiled.
7546         * image.el (imagemagick-types-inhibit): Doc fix.
7548         * version.el: Remove no-byte-compile and associated formatting.
7549         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
7550         is ancient code from when there was an "inc-vers.el".
7552 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7554         * progmodes/gdb-mi.el: Minor style changes.
7555         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7556         Turn into minor modes.
7557         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7558         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7559         (gdb-shell): Remove unneeded let-binding.
7560         (gdb-get-many-fields): Eliminate O(n²) behavior.
7562 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
7564         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7565         platforms that don't link in fontset.c.
7567 2012-05-25  Juri Linkov  <juri@jurta.org>
7569         Use the same diff color scheme as in modern VCSes (bug#10181).
7571         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7572         to avoid confusion with `diff-added' that now uses green colors.
7573         (diff-removed): Use shades of red.
7574         (diff-added): Use shades of green.
7575         (diff-changed): Leave just the yellow color.
7576         (diff-use-changed-face): New variable.
7577         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7578         how to highlight context diff changes.
7579         (diff-refine-change): Use shades of yellow.
7580         (diff-refine-removed): New face that uses shades of red.
7581         (diff-refine-added): New face that uses shades of green.
7582         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7583         `diff-refine-removed' in the call to `smerge-refine-subst'
7584         depending on the value of `diff-use-changed-face'.
7586         * vc/smerge-mode.el (smerge-mine): Use shades of red.
7587         (smerge-other): Use shades of green.
7588         (smerge-base): Use shades of yellow.
7589         (smerge-refined-change): Empty face.
7590         (smerge-refined-removed): New face that uses shades of red.
7591         (smerge-refined-added): New face that uses shades of green.
7592         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
7593         args `props-r' and `props-a', and use them.  Doc fix.
7594         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7595         on its value use different faces `smerge-refined-change',
7596         `smerge-refined-removed', `smerge-refined-added' in the call to
7597         `smerge-refine-subst'.
7599         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7600         Add face condition `min-colors 88' with shades of red.
7601         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7602         `min-colors 88' with shades of green.
7603         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7604         `min-colors 88' with shades of yellow.
7606 2012-05-24  Glenn Morris  <rgm@gnu.org>
7608         * paths.el (prune-directory-list, remote-shell-program): Move to...
7609         * files.el (prune-directory-list, remote-shell-program): ...here.
7610         For the latter, delay initialization, prefer ssh, just search PATH.
7612         * paths.el (term-file-prefix): Move to faces.el (the only user).
7613         * faces.el (term-file-prefix): Move here, make it a defcustom.
7615         * paths.el (news-directory, news-path, news-inews-program):
7616         Move to gnus/nnspool.el.
7618         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7620         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7621         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7622         Make the latter a defcustom, with a delayed initialization.
7624         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7625         These were deleted from Gnus itself late 2010.
7627 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
7629         * progmodes/which-func.el (which-func-ff-hook):
7630         Check against user-error, not error.
7632         * emacs-lisp/edebug.el (top): Do not load or set up loading of
7633         cl-specs.el, which no longer exists.
7635 2012-05-22  Glenn Morris  <rgm@gnu.org>
7637         * info.el (info-emacs-bug): New command.
7638         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7639         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7641 2012-05-21  Glenn Morris  <rgm@gnu.org>
7643         * makefile.w32-in (update-subdirs-SH):
7644         * Makefile.in (update-subdirs): Update for moved update-subdirs.
7646 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7648         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7650         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7651         Simplify Maven regexp, and make sure the file can't start with a space
7652         (bug#11517).
7654 2012-05-21  Glenn Morris  <rgm@gnu.org>
7656         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7657         Scrap superfluous subshells.
7659 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7661         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7662         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7664 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
7666         * calc/calc.el (calc-ensure-consistent-units): New variable.
7668         * calc/calc-units.el (math-consistent-units-p)
7669         (math-check-unit-consistency): New functions.
7670         (calc-quick-units, calc-convert-units):
7671         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7672         is non-nil.
7673         (calc-extract-units): Fix typo.
7675 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7677         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7679         * textmodes/flyspell.el: Commenting style, plus code simplifications.
7680         (flyspell-default-deplacement-commands): Don't spell check after
7681         repeated window/frame switches (e.g. triggered by mouse-movement).
7682         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7683         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7684         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7685         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7686         Remove unused vars.
7687         (flyspell-get-casechars, flyspell-get-not-casechars):
7688         Simplify; Don't bother removing a ] just to add it back.
7689         * textmodes/ispell.el (ispell-program-name): Use executable-find.
7691 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7693         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7694         New functions.
7695         (math-function-table): Add support for more C functions.
7697 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7699         * textmodes/flyspell.el (flyspell-check-pre-word-p)
7700         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7701         Protect delay handling for otherchars against empty otherchars.
7703 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7705         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7706         their respective macro declarations.
7707         * skeleton.el (define-skeleton):
7708         * progmodes/compile.el (define-compilation-mode):
7709         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7710         (define-ibuffer-filter):
7711         * emacs-lisp/generic.el (define-generic-mode):
7712         * emacs-lisp/easy-mmode.el (define-minor-mode)
7713         (define-globalized-minor-mode):
7714         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7715         * emacs-lisp/byte-run.el (defsubst):
7716         * custom.el (deftheme): Add doc-string metadata.
7718 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7720         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7722 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7724         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7726         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7727         * emacs-lisp/cl-macs.el: Idem.
7728         * emacs-lisp/cl-specs.el: Remove.
7730 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7732         Minor renaming of internal CL functions and variables.
7733         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7734         (cl--position): Rename from cl-position.
7735         (cl--delete-duplicates): Rename from cl-delete-duplicates.
7736         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7737         (cl--random-state): Rename from *random-state*.
7739 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7741         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7742         parens around the arg list (bug#11499).
7744 2012-05-17  Juri Linkov  <juri@jurta.org>
7746         * isearch.el (word-search-regexp, word-search-backward)
7747         (word-search-forward, word-search-backward-lax)
7748         (word-search-forward-lax): Move functions from search.c
7749         (bug#10145, bug#11381).
7751 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7753         * textmodes/flyspell.el (flyspell-check-pre-word-p)
7754         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7755         Delay for otherchars as for normal word components.
7757 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7759         * minibuffer.el (completion--sifn-requote): Fix last change.
7760         (minibuffer-local-must-match-filename-map):
7761         Move define-obsolete-variable-alias before its var.
7763 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7765         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7767         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7768         behavior.
7769         (completion--string-equal-p): New function.
7770         (completion--twq-all): Use it to get better assertion failure data.
7772         Only handle ".." and '..' quoting in shell-mode (bug#11466).
7773         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7774         (shell--requote-argument): New functions.
7775         (shell-completion-vars): Use them.
7776         (shell--parse-pcomplete-arguments): Rename from
7777         shell-parse-pcomplete-arguments.
7778         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
7779         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7780         Obey comint-file-name-quote-list.
7782         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7783         (smie-indent-keyword): Use it.
7785 2012-05-14  Stefan Merten  <smerten@oekonux.de>
7787         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7789 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7791         * net/rlogin.el (rlogin-mode-map): Fix last change.
7793 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
7795         * mail/smtpmail.el (smtpmail-send-command): Send the command and
7796         the following \r\n using a single `process-send-string', since the
7797         Lotus SMTP server refuses to accept any commands if they are sent
7798         with two `process-send-string's (Bug#11444).
7800 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7802         * shell.el (shell-parse-pcomplete-arguments):
7803         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7805 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
7807         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7808         (image-transform-scale, image-transform-right-angle-fudge): New vars.
7809         (image-transform-width, image-transform-fit-width): New functions.
7810         (image-transform-properties): Use them.
7811         (image-transform-check-size): New function.
7812         (image-toggle-display-image): Use it (for testing).
7813         (image-transform-set-rotation): Reduce angle mod 360.
7814         Delete obsolete comment.
7816 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
7818         * image-mode.el: Fix scaling (bug#11399).
7819         (image-transform-resize): Doc fix.
7820         (image-transform-properties): Default scale is 1 and height should
7821         be an integer.
7823 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
7825         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7826         than hard-coding `car', to fix misbehavior when moving forward.
7828 2012-05-13  Chong Yidong  <cyd@gnu.org>
7830         * emacs-lisp/tabulated-list.el (tabulated-list-format)
7831         (tabulated-list-entries, tabulated-list-padding)
7832         (tabulated-list-sort-key): Make permanent-local.
7834         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7835         (electric-buffer-list): Put electric buffer menu
7836         command descriptions in this docstring, instead of the docstring
7837         of electric-buffer-menu-mode.  Code cleanups.
7838         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
7839         Electric-buffer-menu-mode.
7840         (electric-buffer-update-highlight): Minor code cleanup.
7842 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
7844         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7845         (Bug#11447)
7847 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         Move define-obsolete-variable-alias before the var's definition.
7850         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7851         * tooltip.el (tooltip-hook):
7852         * textmodes/reftex-toc.el (reftex-toc-map):
7853         * textmodes/reftex-sel.el (reftex-select-label-map)
7854         (reftex-select-bib-map):
7855         * textmodes/reftex-index.el (reftex-index-map)
7856         (reftex-index-phrases-map):
7857         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7858         * progmodes/meta-mode.el (meta-mode-map):
7859         * novice.el (disabled-command-hook):
7860         * loadhist.el (unload-hook-features-list):
7861         * frame.el (blink-cursor):
7862         * files.el (find-file-not-found-hooks, write-file-hooks)
7863         (write-contents-hooks):
7864         * emulation/tpu-edt.el (GOLD-map):
7865         * emacs-lock.el (emacs-lock-from-exiting):
7866         * emacs-lisp/generic.el (generic-font-lock-defaults):
7867         * emacs-lisp/chart.el (chart-map):
7868         * dos-fns.el (register-name-alist):
7869         * dired-x.el (dired-omit-files-p):
7870         * desktop.el (desktop-enable):
7871         * cus-edit.el (custom-mode-hook):
7872         * buff-menu.el (buffer-menu-mode-hook):
7873         * bookmark.el (bookmark-read-annotation-text-func)
7874         (bookmark-exit-hooks):
7875         * allout.el (allout-mode-deactivate-hook)
7876         (allout-exposure-change-hook, allout-structure-added-hook)
7877         (allout-structure-deleted-hook, allout-structure-shifted-hook):
7878         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7879         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7880         comes before the corresponding variable's definition.
7882 2012-05-12  Chong Yidong  <cyd@gnu.org>
7884         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7885         (Buffer-menu-mouse-select): Restore function (Bug#11459).
7886         (Buffer-menu-mode-map): Bind it.
7887         (Buffer-menu--pretty-name): Add a mouse-face property.
7889 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7891         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
7892         (prolog-upper-case-string, prolog-lower-case-string)
7893         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7894         (prolog-use-smie, prolog-smie-grammar): New vars.
7895         (prolog-smie-forward-token, prolog-smie-backward-token)
7896         (prolog-smie-rules): New funs.
7897         (prolog-comment-indent): Remove.
7898         (prolog-mode-variables): Use default comment indentation instead.
7899         Setup SMIE.
7900         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7901         (prolog-mode): Don't call them any more.
7902         (prolog-electric-colon, prolog-electric-dash)
7903         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7905         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7907         * minibuffer.el (completion--twq-all): Again, allow case differences.
7909         * term.el: Move keymap initialization code to be more idiomatic.
7910         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7911         (term-terminal-menu): Move initialization into declaration.
7912         (term-escape-char): Let the user set it in her .emacs.
7914         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7915         Provide SMIE-based indentation (not enabled by default yet).
7916         (sh-mode-map): Don't bind electric keys.
7917         Use electric-pair-mode instead of skeleton-pair.
7918         (sh-assignment-regexp): Fit within 80 columns.
7919         (sh-indent-supported): Specify actual shell name instead of boolean.
7920         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7921         (sh-maybe-here-document): Use it.  Make obsolete.
7922         (sh-electric-here-document-mode) New minor mode.
7923         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
7924         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7925         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7926         (sh-smie-rc-grammar, sh-use-smie): New vars.
7927         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7928         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7929         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7930         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7931         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7932         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7933         (sh-set-shell): Use smie-setup if requested.
7935         * term.el (term-set-escape-char): Properly set term-escape-char.
7936         See http://stackoverflow.com/questions/10524656.
7938 2012-05-10  Chong Yidong  <cyd@gnu.org>
7940         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7941         Use url-generic-parse-url, and handle host names and Windows
7942         filenames properly.
7943         (ffap-url-unwrap-remote): Use url-generic-parse-url.
7944         (ffap-url-unwrap-remote): Accept list values, specifying a list of
7945         URL schemes to work on.
7946         (ffap--toggle-read-only): New function.
7947         (ffap-read-only, ffap-read-only-other-window)
7948         (ffap-read-only-other-frame): Use it.
7949         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7950         necessary for ffap-url-unwrap-remote.
7952 2012-05-10  Dave Abrahams  <dave@boostpro.com>
7954         * cus-start.el (create-lockfiles): Add it.
7956 2012-05-09  Chong Yidong  <cyd@gnu.org>
7958         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7959         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7961 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7963         * shell.el (shell-completion-vars): Fix last change (bug#11348).
7965 2012-05-09  Chong Yidong  <cyd@gnu.org>
7967         * ansi-color.el (ansi-color-process-output): Check for validity of
7968         comint-last-output-start before using it.  This avoids a bad
7969         interaction with gdb-mi's input/output buffer.
7971 2012-05-09  Glenn Morris  <rgm@gnu.org>
7973         * files.el (dir-locals-read-from-file):
7974         Mention dir-locals in any error message.
7976 2012-05-09  Chong Yidong  <cyd@gnu.org>
7978         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7979         package (Bug#11410).
7981         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7982         variables into description.
7984 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7986         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7987         shell-delimiter-argument-list (bug#11348).
7988         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7990 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
7992         * textmodes/rst.el: Silence byte-compiler warnings.
7993         (rst-re-alist, rst-reset-section-caches): Move around.
7994         (rst-re): Use `characterp', not `char-valid-p'.
7995         (font-lock-beg, font-lock-end): Declare.
7997         * progmodes/idlw-shell.el (specs): Remove reference to deleted
7998         variable `idlwave-shell-activate-alt-keybindings' and simplify.
8000         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8002 2012-05-08  Glenn Morris  <rgm@gnu.org>
8004         * files.el (auto-mode-alist): Treat ".make" like ".mk".
8006 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8008         * vc/log-edit.el: Add GNU coding standards highlighting.
8009         (log-edit-font-lock-gnu-style)
8010         (log-edit-font-lock-gnu-keywords): New vars.
8011         (log-edit-font-lock-keywords): New fun.
8012         (log-edit-mode): Don't fold case in font-lock.
8013         (log-edit-font-lock-keywords): Do not assume case-folding.
8015         * imenu.el: Misc cleanup.  Make docstrings out of comments.
8016         Use lexical-binding.
8017         (imenu--index-alist, imenu--last-menubar-index-alist)
8018         (imenu-menubar-modified-tick): Use defvar-local.
8019         (imenu--split-menu): Remove unused var.
8020         (imenu--cleanup-seen): Declare as global.
8021         (imenu--cleanup): Use dolist.
8023         * subr.el (defvar-local): Add debug spec and doc-string position.
8025 2012-05-08  Glenn Morris  <rgm@gnu.org>
8027         * language/burmese.el, language/cham.el, language/czech.el:
8028         * language/english.el, language/georgian.el, language/greek.el:
8029         * language/japanese.el, language/khmer.el, language/korean.el:
8030         * language/lao.el, language/misc-lang.el, language/romanian.el:
8031         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8032         * language/thai.el, language/utf-8-lang.el:
8033         Remove no-byte-compile setting.
8035         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
8037 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8039         * progmodes/make-mode.el (makefile-browse):
8040         Remove unnecessary interactive.  (Bug#11324)
8042 2012-05-07  Glenn Morris  <rgm@gnu.org>
8044         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8046         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8048 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8050         * loadup.el: Preload newcomment.el.
8051         * newcomment.el: Move autoload-only code to toplevel.
8053         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8054         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8055         Handle new :right-align column property.
8056         (tabulated-list-print-col): Idem, plus use `display' text-property to
8057         try and preserve alignment for variable pitch fonts.
8059 2012-05-07  Chong Yidong  <cyd@gnu.org>
8061         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8062         (tabulated-list-use-header-line): New var.
8063         (tabulated-list-init-header): Use it.
8064         (tabulated-list-print-fake-header): New function.
8065         (tabulated-list-print): Use it.
8066         (tabulated-list-sort-button-map): Add non-header-line commands.
8067         (tabulated-list-init-header): Add column name property to basic
8068         labels as well.
8069         (tabulated-list-col-sort): Handle non-header-line button case.
8070         (tabulated-list--sort-by-column-name): Fix a corner case.
8072         * buff-menu.el (list-buffers--refresh):
8073         Handle Buffer-menu-use-header-line.
8075 2012-05-06  Chong Yidong  <cyd@gnu.org>
8077         * buff-menu.el: Convert to Tabulated List mode.
8078         (Buffer-menu-buffer+size-width): Make obsolete.
8079         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8080         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8081         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
8082         documentation into docstring of buffer-menu.
8083         (Buffer-menu-toggle-files-only): Add an informative message.
8084         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8085         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8086         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8087         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8088         (Buffer-menu-execute, Buffer-menu-select)
8089         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8090         (Buffer-menu-bury): Use Tabulated List machinery.
8091         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8092         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8093         Delete.
8094         (list-buffers--refresh): New function.
8095         (list-buffers-noselect): Use it.
8096         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8097         (Buffer-menu--pretty-file-name): New helper functions.
8099         * loadup.el: Preload tabulated-list.
8101         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8102         tabulated-list-sort-column.
8103         (tabulated-list-init-header): Add the initial aligning space even
8104         if tabulated-list-padding is zero.
8106 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
8108         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8109         whose cdr is not a cons cell correctly (bug#11038).
8111 2012-05-06  Chong Yidong  <cyd@gnu.org>
8113         * emacs-lisp/tabulated-list.el (tabulated-list-format):
8114         Accept additional plist in column descriptors.
8115         (tabulated-list-init-header): Obey it.
8116         (tabulated-list-get-entry): New function.
8117         (tabulated-list-put-tag): Use it.  Use string-width instead of
8118         length.
8119         (tabulated-list--column-number): New function.
8120         (tabulated-list-print): Use it.
8121         (tabulated-list-print-col): New function.
8122         Set `tabulated-list-column-name' property on each column's text.
8123         (tabulated-list-print-entry): Use it.
8124         (tabulated-list-delete-entry, tabulated-list-set-col):
8125         New functions.
8126         (tabulated-list-sort-column): New command (Bug#11337).
8128         * buff-menu.el (list-buffers): Move C-x C-b binding from
8129         buff-menu.el to bindings.el.
8131         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8132         :advertised-binding feature.
8134 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
8136         * progmodes/compile.el (compilation-internal-error-properties):
8137         Calculate start position correctly when end-col is set but
8138         end-line is not (Bug#11382).
8140 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
8142         * man.el (Man-unindent): Use text-property-default-nonsticky to
8143         prevent untabify from inheriting face properties (Bug#11408).
8145 2012-05-05  Stefan Merten  <smerten@oekonux.de>
8147         * textmodes/rst.el: Major merge with upstream development up to
8148         Docutils SVN r7399 / rst.el V1.2.1.
8150         Clarify maintainership and authors.
8152         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8153         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8154         (rst-official-version, rst-official-cvs-rev, rst-version)
8155         (rst-package-emacs-version-alist): New functions and variables
8156         for version information.
8158         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8159         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8160         (rst-mode-syntax-table, rst-mode): New and corrected functions
8161         and variables representing reStructuredText features.
8163         (rst-re): New function for reStructuredText regexes.  Use in
8164         many places.
8166         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8167         (rst-mode-map): Rebind keys.
8169         (rst-mode-lazy, rst-font-lock-keywords)
8170         (rst-font-lock-extend-region)
8171         (rst-font-lock-extend-region-internal)
8172         (rst-font-lock-extend-region-extend)
8173         (rst-font-lock-find-unindented-line-limit)
8174         (rst-font-lock-find-unindented-line-match)
8175         (rst-adornment-level, rst-font-lock-adornment-level)
8176         (rst-font-lock-adornment-match)
8177         (rst-font-lock-handle-adornment-pre-match-form)
8178         (rst-font-lock-handle-adornment-matcher): Major revision of
8179         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
8181         (rst-preferred-adornments, rst-adjust-hook)
8182         (rst-new-adornment-down, rst-preferred-bullets)
8183         (rst-preferred-bullets, rst-indent, rst-indent-width)
8184         (rst-indent-field, rst-indent-literal-normal)
8185         (rst-indent-literal-minimized, rst-indent-comment): Change,
8186         extend and improve customization.
8188         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8189         (rst-normalize-cursor-position, rst-get-decoration)
8190         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8191         (rst-rstrip, rst-toc-insert-find-delete-contents)
8192         (rst-shift-fill-region, rst-compute-bullet-tabs)
8193         (rst-debug-print-tabs, rst-debug-mark-found)
8194         (rst-shift-region-guts, rst-shift-region-right)
8195         (rst-shift-region-left, rst-use-char-classes)
8196         (rst-font-lock-keywords-function)
8197         (rst-font-lock-indentation-point)
8198         (rst-font-lock-find-unindented-line-begin)
8199         (rst-font-lock-find-unindented-line-end)
8200         (rst-font-lock-find-unindented-line)
8201         (rst-font-lock-adornment-point, rst-font-lock-level)
8202         (rst-adornment-level-alist): Remove functions and variables.
8204         (rst-compare-adornments, rst-get-adornment-match)
8205         (rst-suggest-new-adornment, rst-get-adornments-around)
8206         (rst-adornment-complete-p, rst-get-next-adornment)
8207         (rst-adjust-adornment, rst-display-adornments-hierarchy)
8208         (rst-straighten-adornments): Standardize function names to
8209         use "adornment" instead of "decoration".  Correct callers.
8210         Similar standardizing in many places.
8212         (rst-update-section, rst-adjust, rst-promote-region)
8213         (rst-enumerate-region, rst-bullet-list-region)
8214         (rst-repeat-last-character): Correct use of `interactive'.
8216         (rst-classify-adornment, rst-find-all-adornments)
8217         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8218         (rst-find-leftmost-column, rst-repeat-last-character):
8219         Refactor functions.
8221         (rst-find-title-line, rst-reset-section-caches)
8222         (rst-get-adornments-around, rst-adjust-adornment-work)
8223         (rst-arabic-to-roman, rst-roman-to-arabic)
8224         (rst-insert-list-pos, rst-insert-list-new-item)
8225         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8226         New functions.
8228         (rst-all-sections, rst-section-hierarchy)
8229         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8230         New variables.
8232         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8233         configuration instead of only buffer.  Change where necessary.
8235         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8236         (rst-shift-region, rst-adaptive-fill): New functions for
8237         indentation and filling.
8239         (rst-comment-line-break, rst-comment-indent)
8240         (rst-comment-insert-comment, rst-comment-region)
8241         (rst-uncomment-region): New functions for handling comments.
8243         (rst-compile): Quote shell arguments.
8245         (rst-compile-pdf-preview, rst-compile-slides-preview):
8246         Delete temporary files after use.
8248 2012-05-05  Glenn Morris  <rgm@gnu.org>
8250         * calendar/cal-html.el: Optionally include holidays in the output.
8251         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8252         (cal-html-holidays): New option.
8253         (cal-html-css-default): Add holiday entry.
8254         (holiday-in-range): Autoload it.
8255         (cal-html-htmlify-entry): Add optional class argument.
8256         (cal-html-htmlify-list): Add optional holidays argument.
8257         (cal-html-insert-agenda-days): Include holidays in the output.
8258         (cal-html-one-month): Maybe include holidays.
8260         * calendar/holidays.el (holiday-in-range):
8261         Move here from cal-tex-list-holidays.
8262         * calendar/cal-tex.el (cal-tex-list-holidays):
8263         Make it an obsolete alias for holiday-in-range.  Update all callers.
8265 2012-05-05  Chong Yidong  <cyd@gnu.org>
8267         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8268         Nextstep.
8270 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
8272         * files.el (file-auto-mode-skip): New var.
8273         (set-auto-mode-1): Use it.
8275 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8277         * repeat.el: Use lexical-binding.
8278         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8279         (repeat-undo-count): Remove.
8280         (repeat):
8281         * progmodes/octave-mod.el (octave-abbrev-start):
8282         * progmodes/f90.el (f90-abbrev-start):
8283         * face-remap.el (text-scale-adjust):
8284         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8286         * emacs-lisp/pcase.el (pcase--let*): New function.
8287         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8288         a bit more.
8289         (pcase--split-pred): Be more clever about ruling out overlap between
8290         a predicate and some constant pattern.
8291         (pcase--q1): Use `null' instead of (eq foo nil).
8293         * subr.el (setq-local, defvar-local): New macros.
8294         (kbd): Redefine as an alias.
8295         (with-selected-window): Leave unrelated frames alone.
8296         (set-temporary-overlay-map): New function.
8298 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8300         * subr.el (user-error): New function.
8301         * window.el (switch-to-buffer):
8302         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8303         (smerge-match-conflict):
8304         * simple.el (previous-matching-history-element)
8305         (next-matching-history-element, goto-history-element, undo-more)
8306         (undo-start):
8307         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8308         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8309         (next-file, tags-loop-scan, list-tags, complete-tag):
8310         * progmodes/compile.el (compilation-loop):
8311         * mouse.el (mouse-minibuffer-check):
8312         * man.el (Man-bgproc-sentinel, Man-goto-page):
8313         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8314         (Info-history-forward, Info-follow-reference, Info-menu)
8315         (Info-extract-menu-item, Info-extract-menu-counting)
8316         (Info-forward-node, Info-backward-node, Info-next-menu-item)
8317         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8318         (Info-next-reference, Info-prev-reference, Info-index)
8319         (Info-index-next, Info-follow-nearest-node)
8320         (Info-copy-current-node-name):
8321         * imenu.el (imenu--make-index-alist)
8322         (imenu-default-create-index-function, imenu-add-to-menubar):
8323         * files.el (basic-save-buffer, recover-file):
8324         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8325         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8326         (checkdoc-message-text, checkdoc-defun):
8327         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8328         * cus-edit.el (customize-changed-options, customize-rogue)
8329         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8330         (custom-variable-mark-to-reset-standard)
8331         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8332         (custom-file):
8333         * completion.el (check-completion-length):
8334         * comint.el (comint-search-arg)
8335         (comint-previous-matching-input-string-position)
8336         (comint-previous-matching-input)
8337         (comint-replace-by-expanded-history-before-point, comint-send-input)
8338         (comint-copy-old-input, comint-backward-matching-input)
8339         (comint-goto-process-mark, comint-set-process-mark):
8340         * calendar/calendar.el (calendar-cursor-to-date): Use it.
8341         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8343 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8345         * dabbrev.el (dabbrev--ignore-case-p): New function.
8346         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8347         Use it.
8349         * files.el (automount-dir-prefix): Mark as obsolete.
8351 2012-05-04  Glenn Morris  <rgm@gnu.org>
8353         * patcomp.el, play/bruce.el: Move to obsolete/.
8355 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
8357         Fix minor Y10k bugs.
8358         * arc-mode.el (archive-unixdate):
8359         * autoinsert.el (auto-insert-alist):
8360         * calc/calc-forms.el (math-this-year):
8361         * emacs-lisp/copyright.el (copyright-current-year)
8362         (copyright-update-year, copyright):
8363         * tar-mode.el (tar-clip-time-string):
8364         * time.el (display-time-update):
8365         Don't assume years have 4 digits.
8367 2012-05-04  Chong Yidong  <cyd@gnu.org>
8369         * dos-w32.el (file-name-buffer-file-type-alist)
8370         (direct-print-region-use-command-dot-com):
8371         * ffap.el (ffap-menu-regexp):
8372         * find-file.el (ff-special-constructs):
8373         * follow.el (follow-debug):
8374         * forms.el (forms--debug):
8375         * iswitchb.el (iswitchb-all-frames):
8376         * ido.el (ido-all-frames):
8377         * emacs-lisp/timer.el (timer-max-repeats):
8378         * mail/feedmail.el (feedmail-mail-send-hook)
8379         (feedmail-mail-send-hook-queued):
8380         * mail/footnote.el (footnote-signature-separator):
8381         * mail/mailabbrev.el (mail-alias-separator-string)
8382         (mail-abbrev-mode-regexp):
8383         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8384         * progmodes/idlwave.el (idlwave-libinfo-file)
8385         (idlwave-default-completion-case-is-down)
8386         (idlwave-library-routines): Convert defvars to defcustoms.
8388         * mail/rmail.el (rmail-decode-mime-charset):
8389         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8390         (idlwave-shell-fix-inserted-breaks)
8391         (idlwave-shell-activate-alt-keybindings)
8392         (idlwave-shell-use-breakpoint-glyph):
8393         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8395 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8397         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8399 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
8401         * progmodes/verilog-mode.el (font-lock-keywords):
8402         Fix mis-highligting auto.  Reported by Craig Barner.
8403         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8404         defines from global name space.  Reported by Dan Dever.
8405         (verilog-auto-reset, verilog-auto-reset-widths)
8406         (verilog-auto-tieoff): Support using unbased numbers for
8407         AUTORESET and AUTOTIEOFF.
8408         (verilog-submit-bug-report): Update variable list.
8409         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8410         parenthesis from not matching.  Reported by Michael Rytting.
8411         (verilog-auto-template-lint): Fix hash error when linting modules
8412         with no used templates.
8413         (verilog-warn, verilog-warn-error)
8414         (verilog-warn-fatal): When non-interactive report multiple
8415         warnings before exiting.  Suggested by Brad Dobbie.
8416         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8417         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8418         to report unused template errors.  Reported by Brad Dobbie.
8419         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8420         nets, bug438.  Reported by Vns Blore.
8421         (verilog-auto-inout-module, verilog-auto-reg)
8422         (verilog-read-decls, verilog-read-sub-decls-sig)
8423         (verilog-signals-edit-wire-reg, verilog-signals-with):
8424         Fix passing of Verilog data types in ANSI input/output ports
8425         such as "output logic" into the AUTOs.  Special case "wire" and
8426         "reg" for backwards compatibility presuming Verilog 2001.
8427         (verilog-auto-ascii-enum): Add "auto enum" as alias.
8428         (verilog-preprocess): Fix replication of preprocess output.
8429         Reported by Brad Dobbie.
8430         (verilog-auto-inst-interfaced-ports):
8431         Create verilog-auto-inst-interfaced-ports, bug429.
8432         Reported by Julian Gorfajn.
8433         (verilog-after-save-font-hook)
8434         (verilog-before-save-font-hook): New variable.
8435         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8436         (verilog-save-font-mods): Wrap disabling fontification, reported
8437         by David Rogoff.
8438         (verilog-do-indent, verilog-pretty-declarations-auto)
8439         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8440         Reported by Pierre-David Pfister.
8441         (verilog-set-auto-endcomments): Fix endtask auto comments outside
8442         of class declarations, bug292.  Reported by Kevin Heilman.
8443         (verilog-read-decls): Fix 'parameter type' not appearing in
8444         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
8445         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8446         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
8447         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8448         Reported by David Kravitz.
8450 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
8452         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8453         assignment with tests in ifs and for loops.
8454         (verilog-extended-complete-re, verilog-complete-reg): Change so
8455         that DPI inport functions don't look like fuction declarations.
8456         (verilog-pretty-expr): Don't line up assignment
8457         operations to the test and increment in if and for loops
8458         (verilog-extended-complete-re, verilog-complete-reg): Change so
8459         that DPI inport functions don't look like fuction declarations.
8461 2012-05-03  Kenichi Handa  <handa@m17n.org>
8463         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8464         decoding, and show a warning message without signaling an error
8465         (Bug#11282).
8467 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8469         * emacs-lisp/bytecomp.el
8470         (byte-compile-file-form-custom-declare-variable): Compile all elements,
8471         since cconv.el might have introduced :fun-body, internal-make-closure,
8472         and friends for bytecomp to handle (bug#11391).
8473         * custom.el (defcustom): Avoid ((λ ..) ..).
8475 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8477         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8479 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
8481         * notifications.el (dbus-debug):
8482         * term/linux.el (gpm-mouse-enable):
8483         * term/screen.el (xterm-register-default-colors): Declare.
8485 2012-05-02  Chong Yidong  <cyd@gnu.org>
8487         * cus-start.el (gc-cons-percentage, exec-suffixes)
8488         (dos-display-scancodes, dos-hyper-key, dos-super-key)
8489         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8490         (make-cursor-line-fully-visible, void-text-area-pointer)
8491         (font-list-limit): Add customization data.
8493         * allout.el (allout-exposure-change-functions)
8494         (allout-structure-added-functions)
8495         (allout-structure-deleted-functions)
8496         (allout-structure-shifted-functions): Rename abnormal hooks from
8497         *-hook, and convert to defcustoms.
8498         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8499         Convert to defcustoms.
8500         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8502         * allout-widgets.el: Hook callers changed.
8504 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
8506         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8507         the yanked message in preference to the default value of
8508         buffer-file-coding-system.
8510 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
8512         * window.el (display-buffer--action-function-custom-type):
8513         Fix entry.
8515 2012-05-02  Alan Mackenzie  <acm@muc.de>
8517         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8519 2012-05-01  Glenn Morris  <rgm@gnu.org>
8521         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8523         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
8525         * cus-edit.el (custom-variable-documentation): Simplify with format.
8527 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8528             Stefan Monnier  <monnier@iro.umontreal.ca>
8530         * simple.el (suggest-key-bindings, execute-extended-command):
8531         Move from keyboard.c.
8533 2012-05-01  Chong Yidong  <cyd@gnu.org>
8535         * follow.el: Eliminate advice.
8536         (set-process-filter, process-filter, sit-for): Advice deleted.
8537         (follow-mode-off-hook): Obsolete hook removed.
8538         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8539         Vars deleted.
8540         (follow-auto): Use a :set function.
8541         (follow-mode): Rewritten.  Don't advise process filters.
8542         (follow-switch-to-current-buffer-all, follow-scroll-up)
8543         (follow-scroll-down): Assume follow-mode is bound.
8544         (follow-comint-scroll-to-bottom)
8545         (follow-align-compilation-windows): New functions.
8546         (follow--window-sorter): New function.
8547         (follow-all-followers): Use it to explicitly sort windows by their
8548         positions; don't make assumptions about next-window order.
8549         (follow-windows-start-end, follow-delete-other-windows-and-split)
8550         (follow-calc-win-start): Doc fix.
8551         (follow-windows-aligned-p, follow-select-if-visible): Don't call
8552         vertical-motion unnecessarily.
8553         (follow-adjust-window): New function.
8554         (follow-post-command-hook): Use it.
8555         (follow-call-set-process-filter, follow-call-process-filter)
8556         (follow-intercept-process-output, follow-tidy-process-filter-alist)
8557         (follow-stop-intercept-process-output, follow-generic-filter):
8558         Functions deleted.
8559         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8560         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8561         New functions, replacing advice on scroll-bar-* commands.
8562         (follow-mwheel-scroll): New function (Bug#4112).
8564         * comint.el (comint-adjust-point): New function.
8565         (comint-postoutput-scroll-to-bottom): Use it.
8566         Call follow-comint-scroll-to-bottom for Follow mode buffers.
8568 2012-05-01  Glenn Morris  <rgm@gnu.org>
8570         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8571         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8572         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8573         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8574         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8575         Remove no-byte-compile setting.
8577 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8579         * minibuffer.el (completion-table-with-quoting): Fix compatibility
8580         all-completions code to not return a number in the last cdr.
8582 2012-04-30  Leo Liu  <sdl.web@gmail.com>
8584         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8585         read-only error.
8587 2012-04-29  Chong Yidong  <cyd@gnu.org>
8589         * follow.el (follow-calc-win-end): Rewrite to handle partial
8590         screen lines correctly (Bug#8390).
8591         (follow-avoid-tail-recenter): Minor cleanup.
8593 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8595         Avoid the obsolete `assoc' package.
8596         * speedbar.el (speedbar-refresh): Avoid adelete.
8597         (speedbar-file-lists): Simplify and avoid aput.
8598         * man.el (Man--sections, Man--refpages): New vars, replacing
8599         Man-sections-alist and Man-refpages-alist.
8600         (Man-build-section-alist, Man-build-references-alist):
8601         Use them; avoid aput.
8602         (Man--last-section, Man--last-refpage): New vars.
8603         (Man-follow-manual-reference): Use them.
8604         Use the `default' arg of completing-read.
8605         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
8607 2012-04-27  Chong Yidong  <cyd@gnu.org>
8609         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8611         * startup.el (x-apply-session-resources): New function.
8613         * term/ns-win.el (ns-initialize-window-system):
8614         * term/w32-win.el (w32-initialize-window-system):
8615         * term/x-win.el (x-initialize-window-system): Use it to properly
8616         set menu-bar-mode and other vars from X resources, even if the
8617         initial frame is not a window-system frame (Bug#2299).
8619         * subr.el (read-key): Avoid running filter function when setting
8620         up temporary tool bar entries (Bug#9922).
8622 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
8624         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8625         (Bug#11344)
8627 2012-04-27  Chong Yidong  <cyd@gnu.org>
8629         * select.el (xselect--encode-string): New function, split from
8630         xselect-convert-to-string.
8631         (xselect-convert-to-string): Use it.
8632         (xselect-convert-to-filename, xselect-convert-to-os)
8633         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8634         returned strings are properly encoded (Bug#11315).
8636 2012-04-27  Chong Yidong  <cyd@gnu.org>
8638         * simple.el (delete-active-region): Move to killing custom group.
8640 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
8642         * progmodes/which-func.el (which-func-current): Quote %
8643         characters for mode-line processing.
8645 2012-04-27  Chong Yidong  <cyd@gnu.org>
8647         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8648         reaching eob (Bug#11286).
8650 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
8652         * progmodes/gdb-mi.el (gdb-control-level): New variable.
8653         (gdb): Make it buffer-local and init to zero.
8654         (gdb-control-commands-regexp): New variable.
8655         (gdb-send): Don't wrap in "-interpreter-exec console" if
8656         gdb-control-level is positive.  Increment gdb-control-level
8657         whenever the command matches gdb-control-commands-regexp, and
8658         decrement it each time the command is "end".  (Bug#11279)
8660 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
8662         * window.el (adjust-window-trailing-edge, enlarge-window)
8663         (shrink-window, window-resize):
8664         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8665         windows (Bug#11276).
8667 2012-04-27  Chong Yidong  <cyd@gnu.org>
8669         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8670         fix "missing prefix" warning.  All callers changed.
8672 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8674         * emacs-lisp/assoc.el: Move to obsolete/.
8676 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8678         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8680         * term/ns-win.el (ns-define-service):
8681         * progmodes/pascal.el (pascal-goto-defun):
8682         * progmodes/js.el (js--read-tab):
8683         * progmodes/etags.el (tags-lazy-completion-table):
8684         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8685         * emacs-lisp/ewoc.el (ewoc--wrap):
8686         * emacs-lisp/assoc.el (aput, adelete, amake):
8687         * doc-view.el (doc-view-convert-current-doc):
8688         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8690 2012-04-26  Chong Yidong  <cyd@gnu.org>
8692         * image.el (image-type-from-buffer): Only return supported image
8693         type (Bug#9045).
8695         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8696         value, for symmetry with diff-end-of-hunk.
8697         (diff-split-hunk, diff-find-source-location)
8698         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8699         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8700         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8701         compute the relevant hunk or file properly (Bug#6005).
8702         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8704 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8706         * vc/vc-mtn.el:
8707         * vc/vc-hg.el:
8708         * vc/vc-git.el:
8709         * vc/vc-dir.el:
8710         * vc/vc-cvs.el:
8711         * vc/vc-bzr.el:
8712         * vc/vc-arch.el:
8713         * vc/vc.el: Replace lexical-let by lexical-binding.
8714         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8715         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8716         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8718 2012-04-26  Chong Yidong  <cyd@gnu.org>
8720         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8721         (diff-mode-shared-map): Bind it to / and [remap undo].
8723         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8724         (ediff-window-setup-function): Use it as the default, to set up
8725         windows based on whether the current frame is graphical (Bug#2138).
8726         (ediff-choose-window-setup-function-automatically): Make obsolete.
8728         * vc/ediff-init.el: Always define ediff-pixel-width/height.
8730 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8732         * ffap.el: Remove old code for obsolete package.
8733         (ffap-complete-as-file-p): Remove.
8735         Use completion-table-with-quoting for comint and pcomplete.
8736         * comint.el (comint--unquote&requote-argument)
8737         (comint--unquote-argument, comint--requote-argument): New functions.
8738         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8739         (comint-quote-filename): Use regexp-opt-charset.
8740         (comint--common-suffix, comint--common-quoted-suffix)
8741         (comint--table-subvert): Remove.
8742         (comint-unquote-function, comint-requote-function): New vars.
8743         (comint--complete-file-name-data): Use them with
8744         completion-table-with-quoting.
8745         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8746         * pcomplete.el (pcomplete-arg-quote-list)
8747         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8748         (pcomplete-unquote-argument-function): Default to non-nil.
8749         (pcomplete-unquote-argument): Simplify.
8750         (pcomplete--common-quoted-suffix): Remove.
8751         (pcomplete-requote-argument-function): New var.
8752         (pcomplete--common-suffix): New function.
8753         (pcomplete-completions-at-point): Use completion-table-with-quoting
8754         and completion-table-subvert.
8756         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8757         (minibuffer--double-dollars): Preserve properties.
8758         (completion--sifn-requote): New function.
8759         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8761         * minibuffer.el: Add support for completion of quoted/escaped data.
8762         (completion-table-with-quoting, completion-table-subvert): New funs.
8763         (completion--twq-try, completion--twq-all): New functions.
8764         (completion--nth-completion): New function.
8765         (completion-try-completion, completion-all-completions): Use it.
8767 2012-04-25  Leo Liu  <sdl.web@gmail.com>
8769         * progmodes/python.el (python-pdbtrack-get-source-buffer):
8770         Use compilation-message if available to find real filename.
8772 2012-04-25  Chong Yidong  <cyd@gnu.org>
8774         * vc/diff-mode.el (diff-setup-whitespace): New function.
8775         (diff-mode): Use it.
8777         * vc/diff.el (diff-sentinel):
8778         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8779         Whitespace mode variables based on diff style (Bug#8612).
8781 2012-04-25  Leo Liu  <sdl.web@gmail.com>
8783         * progmodes/python.el (python-send-region): Add suffix .py to the
8784         temp file.
8786         * files.el (auto-mode-alist): Use javascript-mode instead.
8788 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
8790         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
8792         * net/soap-client.el (soap-resolve-references-for-sequence-type)
8793         (soap-resolve-references-for-array-type): Hack to prevent self
8794         references, see Bug#9.
8795         (soap-parse-envelope): Report the contents of the 'detail' node
8796         when receiving a fault reply.
8797         (soap-parse-envelope): Report the contents of the entire 'detail' node.
8799         * net/soap-inspect.el (soap-sample-value-for-simple-type)
8800         (soap-inspect-simple-type): New function.
8802         * net/soap-client.el (soap-simple-type): New struct.
8803         (soap-default-xsd-types, soap-default-soapenc-types)
8804         (soap-decode-basic-type, soap-encode-basic-type):
8805         support unsignedInt and double basic types.
8806         (soap-resolve-references-for-simple-type)
8807         (soap-parse-simple-type, soap-encode-simple-type): New function.
8808         (soap-parse-schema): Parse xsd:simpleType declarations.
8810         * net/soap-client.el (soap-default-xsd-types)
8811         (soap-default-soapenc-types): Add integer, byte and anyURI types.
8812         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8813         the local name of "soapenc:Array".
8814         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8815         decoding integer, byte and anyURI xsd types.
8817 2012-04-25  Chong Yidong  <cyd@gnu.org>
8819         * cus-edit.el (custom-buffer-create-internal): Update header text.
8821 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
8823         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8824         settings on 'system-type', not on 'window-system'.  On MS-Windows,
8825         set interactive-mode on in GDB.
8827 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8829         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8830         (ruby-syntax-propertize-regexp): Remove.
8831         (ruby-syntax-propertize-function): Split regexp into chunks.
8832         Match following code directly.
8834 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
8836         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8837         (ruby-syntax-propertize-regexp): New function.
8838         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8839         by a special keyword.
8841         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8842         (ruby-syntax-general-delimiters-goto-beg)
8843         (ruby-syntax-propertize-general-delimiters): New functions.
8844         (ruby-syntax-propertize-function): Use them to handle GDL.
8845         (ruby-font-lock-keywords): Move old handling of GDL...
8846         (ruby-font-lock-syntactic-keywords): .. to here.
8847         (ruby-calculate-indent): Adjust indentation for GDL.
8849 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
8851         * notifications.el (top): Remove unneeded declarations.
8852         (notifications-specification-version): Change to "1.2".
8853         (notifications-interface, notifications-notify-method)
8854         (notifications-close-notification-method): Fix docstring.
8855         (notifications-get-capabilities-method): New defconst.
8856         (notifications-notify): Add :action-items, :resident and
8857         :transient hints.  Change "image_data" to "image-data" and
8858         "image_path" to "image-path".
8859         (notifications-get-capabilities): New defun.
8861 2012-04-24  Leo Liu  <sdl.web@gmail.com>
8863         * progmodes/python.el: Move hideshow setup to the end.
8865 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
8867         * window.el (handle-select-window): Clear echo area since this is
8868         no more done by read_char (Bug#11304).
8870 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8872         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8873         and `/ M' to filter-derived-mode.
8874         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8875         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8876         (ibuffer-mark-by-mode): Use default rather than initial-input.
8877         (ibuffer-filter-by-derived-mode): Autoload and require-match.
8879 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
8881         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8882         (ibuffer-filter-by-derived-mode): New filter.
8883         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8885 2012-04-23  Andreas Politz  <politza@fh-trier.de>
8887         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8889 2012-04-23  Chong Yidong  <cyd@gnu.org>
8891         * cus-edit.el (customize-apropos, customize-apropos-options):
8892         Disable matching of non-option variables (Bug#11176).
8893         (customize-option, customize-option-other-window)
8894         (customize-changed-options): Doc fix.
8895         (customize-apropos-options, customize-apropos-faces)
8896         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8898         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8899         Fix word list splitting (Bug#11132).
8900         (apropos-symbol, apropos-keybinding, apropos-label)
8901         (apropos-property, apropos-function-button)
8902         (apropos-variable-button, apropos-misc-button): New faces.
8903         (apropos-symbol-face, apropos-keybinding-face)
8904         (apropos-label-face, apropos-property-face, apropos-match-face):
8905         Variables removed (Bug#8396).
8906         (apropos-library-button, apropos-format-plist, apropos-print)
8907         (apropos-print-doc, apropos-describe-plist): Callers changed.
8909 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
8911         * net/xesam.el (xesam-mode-map): Use let-bound map in
8912         initialization.  (Bug#11292)
8914 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8916         Preserve ispell session localwords when switching back to
8917         original buffer.
8919         * textmodes/ispell.el (ispell-buffer-session-localwords):
8920         New buffer-local variable to hold buffer session localwords.
8921         (ispell-kill-ispell): Add option 'clear to delete session
8922         localwords.
8923         (ispell-command-loop, ispell-change-dictionary)
8924         (ispell-buffer-local-words): Preserve session localwords when
8925         needed.
8927         * textmodes/flyspell.el (flyspell-process-localwords)
8928         (flyspell-do-correct): Preserve session localwords when needed.
8930 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8932         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8933         using obsolete `translation-table-for-input'.
8934         (ispell-word, ispell-process-line, ispell-complete-word):
8935         Use plain `insert' instead of removed `ispell-insert-word'.
8937 2012-04-22  Chong Yidong  <cyd@gnu.org>
8939         * cus-edit.el (custom-variable-menu)
8940         (custom-variable-reset-saved, custom-face-menu)
8941         (custom-face-reset-saved): If there is no saved value, make the
8942         "reset-saved" operation bring back the default (Bug#9509).
8943         (custom-face-state): Properly detect themed faces.
8945         * faces.el (face-spec-set): Stop supporting deprecated form of
8946         third arg.
8948 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
8950         Move functions from C to Lisp.  Make non-blocking method calls
8951         the default.  Implement further D-Bus standard interfaces.
8953         * net/dbus.el (dbus-message-internal): Declare function.
8954         Remove unneeded function declarations.
8955         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8956         (dbus-message-type-method-return, dbus-message-type-error)
8957         (dbus-message-type-signal): Declare variables.  Remove local
8958         definitions.
8959         (dbus-interface-dbus, dbus-interface-peer)
8960         (dbus-interface-introspectable, dbus-interface-properties)
8961         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8962         Adapt docstring.
8963         (dbus-interface-objectmanager): New defconst.
8964         (dbus-call-method, dbus-call-method-asynchronously)
8965         (dbus-send-signal, dbus-method-return-internal)
8966         (dbus-method-error-internal, dbus-register-service)
8967         (dbus-register-signal, dbus-register-method): New defuns, moved
8968         from dbusbind.c
8969         (dbus-call-method-handler, dbus-setenv)
8970         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8971         New defuns.
8972         (dbus-call-method-non-blocking): Make it an obsolete function.
8973         (dbus-unregister-object, dbus-unregister-service)
8974         (dbus-handle-event, dbus-register-property)
8975         (dbus-property-handler): Obey the new structure of
8976         `bus-registered-objects'.
8977         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
8978         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8979         Use `dbus-call-method'.
8981 2012-04-22  Chong Yidong  <cyd@gnu.org>
8983         * cus-edit.el (custom-commands, custom-reset-menu)
8984         (Custom-reset-standard): Tweak labels.
8985         (custom-reset-button-menu): Change default to t.
8986         (custom-buffer-create-internal): For the custom-reset-button-menu
8987         case, put the revert button first.
8988         (custom-group-subtitle): New face.
8989         (custom-group-value-create): Align docstring to a specific column.
8991         * wid-edit.el (widget-documentation-link-add): Don't handle
8992         indentation in this function.
8993         (widget-documentation-string-indent-to): New function.
8994         (widget-documentation-string-value-create): Use it.
8996         * autorevert.el (auto-revert):
8997         * epg-config.el (epg):
8998         * ibuffer.el (ibuffer):
8999         * mpc.el (mpc):
9000         * ses.el (ses):
9001         * eshell/eshell.el (eshell):
9002         * net/ange-ftp.el (ange-ftp):
9003         * progmodes/ebnf2ps.el (postscript):
9004         * progmodes/flymake.el (flymake):
9005         * progmodes/prolog.el (prolog):
9006         * progmodes/verilog-mode.el (verilog-mode):
9007         * progmodes/which-func.el (which-func):
9008         * term/xterm.el (xterm):
9009         * textmodes/picture.el (picture):
9010         * textmodes/tildify.el (tildify):
9011         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9012         customization buffers.
9014 2012-04-22  Alan Mackenzie  <acm@muc.de>
9016         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9017         Adding a ) can hide the resulting (..) from searches.  Fix it.
9018         Bound the backward search to the position of the existing (.
9020 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
9022         * progmodes/verilog-mode.el (verilog-mode): Check whether
9023         which-func-modes is t before adding verilog-mode.
9024         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9026 2012-04-21  Leo Liu  <sdl.web@gmail.com>
9028         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9030 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
9032         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9033         filling of the last column of a table (Bug#5635).
9034         (woman-find-next-control-line): New arg, specifying an additional
9035         regexp component for the control line.
9036         (woman2-roff-buffer): Use it.
9037         (woman-break-table): New function.
9038         (woman2-TS): Use it.
9040 2012-04-21  Chong Yidong  <cyd@gnu.org>
9042         * woman.el (woman-set-buffer-display-table, woman-decode-region)
9043         (woman-horizontal-escapes, woman-negative-vertical-space)
9044         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9045         (WoMan-warn-ignored): Use ?\s instead of ?\ .
9047 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9049         * minibuffer.el (completion-file-name-table): Complete user names.
9051 2012-04-20  Leo Liu  <sdl.web@gmail.com>
9053         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9054         and pcase-let*.
9056 2012-04-20  Chong Yidong  <cyd@gnu.org>
9058         * server.el (server-execute): Respect initial-buffer-choice if it
9059         is a string and there are no files to open (Bug#2825).
9060         (server-create-window-system-frame, server-create-tty-frame):
9061         Don't switch buffers here.
9062         (server-process-filter): Only try to open a window system frame if
9063         compiled with graphical support (Bug#8314).
9065 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
9067         * battery.el (battery-echo-area-format): Display remaining time
9068         for sysfs backend too (Bug#11269).
9069         (battery-linux-sysfs): Fix conditional for the charge.
9071 2012-04-20  Chong Yidong  <cyd@gnu.org>
9073         * progmodes/gdb-mi.el (gdb): Revert previous change.
9074         (gdb-inferior-io--init-proc): New function.
9075         (gdb-init-1): Use it.
9076         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9077         responsible for allocating a new pty and hooking it to gdb when
9078         the old pty gets an EIO due to process exit.
9079         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
9080         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9081         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9083 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9085         * window.el (window-min-size, window-sizable, window-min-delta)
9086         (window-max-delta, window--resizable, window-resizable)
9087         (window-total-size, window-full-height-p, window-full-width-p)
9088         (window-in-direction, window--resize-mini-window, window-resize)
9089         (window--resize-child-windows-normal)
9090         (window--resize-child-windows, window--resize-siblings)
9091         (window--resize-this-window, adjust-window-trailing-edge)
9092         (enlarge-window, shrink-window): Doc fixes.
9094 2012-04-20  Chong Yidong  <cyd@gnu.org>
9096         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9097         New function to call delete-process on the gdb-inferior buffer's pty.
9098         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9099         pty process (Bug#11273).
9100         (gdb-update): New arg to suppress talking to the gdb process.
9101         (gdb-done-or-error): Use it.
9102         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9103         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9104         sentinel not being called.
9106         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9108         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9110 2012-04-20  Glenn Morris  <rgm@gnu.org>
9112         * net/network-stream.el (open-network-stream): Doc fix.
9114 2012-04-20  Chong Yidong  <cyd@gnu.org>
9116         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9118 2012-04-20  Alan Mackenzie  <acm@muc.de>
9120         Ensure searching for keywords is case sensitive.
9122         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9123         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9124         (c-defun-name, c-mark-function, c-cpp-define-name)
9125         (c-comment-indent, c-scan-conditionals, c-indent-defun)
9126         (c-context-line-break): Bind case-fold-search to nil.
9128         * progmodes/cc-mode.el (c-font-lock-fontify-region):
9129         Bind case-fold-search to nil.
9131 2012-04-20  Chong Yidong  <cyd@gnu.org>
9133         * mail/sendmail.el (mail-bury): Call return action with the right
9134         Rmail buffer (Bug#11242).
9136         * server.el (server-process-filter): Handle corner case where both
9137         tty and nowait options are present (Bug#11102).
9139 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9141         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9142         (top level): Put into the executable the ident-style '$Id:' tag on
9143         windows-nt as well.
9145 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9147         * electric.el (electric-indent-post-self-insert-function): Check that
9148         electric-indent-mode is enabled in current buffer.
9150 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9152         * imenu.el (imenu-progress-message): Restore; it is "used" in
9153         erc/erc-imenu.el and net/snmp-mode.el.
9155 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9157         * avoid.el (mouse-avoidance-mode): Mark unused arg.
9158         (mouse-avoidance-nudge-mouse): Remove unused binding.
9160         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9162         * descr-text.el (describe-char):
9163         * progmodes/python.el (python-describe-symbol):
9164         Don't call `toggle-read-only', set `buffer-read-only'.
9166         * imenu.el (imenu-default-goto-function): Mark unused args.
9167         (imenu-progress-message): Remove obsolete macro; all callers changed.
9169         * subr.el (keymap-canonicalize): Remove unused binding.
9170         (read-passwd): Mark unused arg.
9172         * tutorial.el (tutorial--display-changes): Remove unused binding.
9173         (tutorial--save-tutorial-to): Remove unused variable.
9175         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9176         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9177         (package-generate-autoloads, package-menu--generate)
9178         (package-menu--find-upgrades): Remove unused bindings.
9180         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9181         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
9182         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9183         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9184         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9185         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9186         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9187         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9188         (cua-delete-char-rectangle): Mark unused args.
9189         (cua-align-rectangle): Remove unused binding.
9191         * mail/rmail.el (compilation--message->loc)
9192         (epa--find-coding-system-for-mime-charset): Declare.
9194         * net/dbus.el (dbus-register-service): Declare.
9195         (dbus-name-owner-changed-handler): Remove unused binding.
9197         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9198         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9199         (nxml-scan-backward-within): Mark unused arg.
9200         (nxml-dynamic-markup-word): Remove unused binding.
9202         * mouse.el (mouse-menu-major-mode-map):
9203         * emacs-lisp/authors.el (authors-scan-change-log)
9204         (authors-add-to-author-list):
9205         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9206         * emacs-lisp/smie.el (smie-auto-fill):
9207         * mail/sendmail.el (mail-bury):
9208         * mail/unrmail.el (unrmail):
9209         * net/tls.el (open-tls-stream):
9210         * textmodes/picture.el (picture-mouse-set-point):
9211         Remove unused bindings.
9213 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
9215         * net/tramp.el (tramp-action-password): Let-bind
9216         `enable-recursive-minibuffers' to t.
9218 2012-04-18  Sam Steingold  <sds@gnu.org>
9220         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9221         instead of 'string to accommodate values like [f11].
9222         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9223         * progmodes/gdb-mi.el: Likewise.
9225 2012-04-18  Leo Liu  <sdl.web@gmail.com>
9227         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9228         current buffer.
9229         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9230         LOCAL is nil.
9232 2012-04-18  Chong Yidong  <cyd@gnu.org>
9234         * simple.el (line-move): Use forward-line if in batch mode
9235         (Bug#11053).
9237 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
9239         * files.el (after-find-file): Do not try to add a final newline if
9240         the buffer is read-only (Bug#11156).
9242 2012-04-17  Richard Stallman  <rms@gnu.org>
9244         * mail/rmail.el (rmail-start-mail):
9245         Pass (rmail-mail-return...) for the return-action.
9246         Pass (rmail-yank-current-message...) for the yank-action.
9247         (rmail-yank-current-message): New function.
9248         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9249         (rmail-reply): Likewise.
9250         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9252         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9253         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
9254         buffer, not newbuf.
9256 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
9258         * server.el (server-ensure-safe-dir): Simplify.
9260 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9262         * emacs-lisp/smie.el: Provide smarter auto-filling.
9263         (smie-auto-fill): New function.
9264         (smie-setup): Use it.
9266         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9268 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
9270         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9271         (comment-indent): Use it.
9273 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9275         * ses.el: The overall change is to add cell renaming, that is
9276         setting fancy names for cell symbols other than name matching
9277         "\\`[A-Z]+[0-9]+\\'" regexp .
9278         (ses-localvars): Add ses--renamed-cell-symb-list.
9279         (ses-create-cell-variable): New defun.
9280         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9281         (ses-relocate-formula): Relocate formulas only for cells the
9282         symbols of which are not renamed, i.e. symbols whose names do not
9283         match regexp "\\`[A-Z]+[0-9]+\\'".
9284         (ses-relocate-all): Relocate values only for cells the symbols of
9285         which are not renamed.
9286         (ses-load): Create cells variables as the (ses-cell ...) are read,
9287         in order to check row col consistency with cell symbol name only
9288         for cells that are not renamed.
9289         (ses-replace-name-in-formula): New defun.
9290         (ses-rename-cell): New defun.
9292 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
9294         * progmodes/perl-mode.el (perl-indent-parens-as-block):
9295         New option (bug#11118).
9296         (perl-calculate-indent): Respect it.
9298 2012-04-17  Glenn Morris  <rgm@gnu.org>
9300         * dired-aux.el (dired-mark-read-string): Doc fix.
9302 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
9304         * dired-aux.el (dired-mark-read-string): Offer optional completion.
9305         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
9307 2012-04-17  Glenn Morris  <rgm@gnu.org>
9309         * mouse.el (mouse-drag-track):
9310         * speedbar.el (speedbar-frame-mode):
9311         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9313 2012-04-16  Leo Liu  <sdl.web@gmail.com>
9315         * progmodes/python.el: Trivial cleanup.
9317 2012-04-16  Glenn Morris  <rgm@gnu.org>
9319         * vc/vc.el (vc-string-prefix-p):
9320         * vc/pcvs-util.el (cvs-string-prefix-p):
9321         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9322         * mpc.el (mpc-string-prefix-p):
9323         Make all of these into obsolete aliases for string-prefix-p.
9324         Update callers.
9325         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9327         * textmodes/two-column.el: Move custom options to the start.
9328         (frame-width): Remove compat definition.
9329         (2C-associate-buffer, 2C-dissociate):
9330         Use with-current-buffer rather than save-excursion.
9331         (2C-dissociate): Force a mode-line update.
9332         (2C-autoscroll): Use ignore-errors.
9334         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9335         Autoload trivia.
9337         * emacs-lisp/cl-extra.el (*random-state*):
9338         Remove unnecessary declaration.
9340         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9342         * play/cookie1.el (cookie-snarf):
9343         Give an explicit error if input file cannot be read.
9345         * play/yow.el (yow-file): Use expand-file-name rather than concat.
9347         * progmodes/perl-mode.el (c-macro-expand):
9348         Remove unnecessary autoload (it is in loaddefs.el).
9350         * textmodes/picture.el (picture-desired-column)
9351         (picture-update-desired-column): Convert comments to doc-strings.
9352         (picture-substitute): Remove function.
9353         (picture-mode-map): Initialize in the defvar.
9355         * woman.el: Remove eval-after-load for tar-mode.
9356         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9357         (woman-tar-extract-file): Autoload it.
9359         * frame.el (automatic-hscrolling): Make this alias obsolete.
9361 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9363         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9364         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9365         (ispell-dictionary-base-alist): Revert to original XEmacs
9366         friendly version for default.  [:alpha:] will be added in
9367         `ispell-set-spellchecker-params' if needed.
9369 2012-04-16  Chong Yidong  <cyd@gnu.org>
9371         * image.el (imagemagick--file-regexp): New variable.
9372         (imagemagick-register-types): Use it.
9373         (imagemagick-types-inhibit): Add :set function.  Allow new value
9374         of t to inhibit all types.
9376         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9377         so we can preload it.
9379         * loadup.el (fboundp): Preload regexp-opt, needed by
9380         imagemagick-register-types.
9382 2012-04-15  Chong Yidong  <cyd@gnu.org>
9384         * frame.el (scrolling): Remove nearly unused customization group.
9386         * scroll-all.el (scroll-all-mode): Move to windows group.
9388 2012-04-15  Chong Yidong  <cyd@gnu.org>
9390         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9392 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9394         Avoid the use of ((lambda ...) ...) in lexical-binding code.
9395         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9397 2012-04-15  Glenn Morris  <rgm@gnu.org>
9399         * simple.el (process-file-side-effects): Doc fix.
9401 2012-04-15  Glenn Morris  <rgm@gnu.org>
9403         * international/mule-cmds.el (set-language-environment): Doc fix.
9405 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
9407         * server.el (server-auth-key, server-generate-key): Doc fixes.
9408         (server-get-auth-key): Doc fix.  Use `string-match-p'.
9409         (server-start): Reflow docstring.
9411 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
9413         * server.el (server-generate-key): `called-interactively-p'
9414         requires a parameter.
9416 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
9418         * server.el (server-auth-key): New variable.
9419         (server-generate-key, server-get-auth-key): New function.
9420         (server-start): Use the new variable and functions to allow
9421         setting a permanent server key (bug#9423).
9423 2012-04-14  Leo Liu  <sdl.web@gmail.com>
9425         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9427 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
9429         Spelling fixes.
9430         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9431         Emacs uses American spelling.
9433 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
9435         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9436         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
9437         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9438         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
9440 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9442         * progmodes/which-func.el (which-func-modes): Change default.
9444 2012-04-14  Kim F. Storm  <storm@cua.dk>
9446         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9447         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9449 2012-04-14  Chong Yidong  <cyd@gnu.org>
9451         * custom.el (custom-theme-set-variables): Doc fix.
9453 2012-04-14  Glenn Morris  <rgm@gnu.org>
9455         * international/mule.el (set-auto-coding-for-load): Doc fix.
9457 2012-04-14  Alan Mackenzie  <acm@muc.de>
9459         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9460         imenu work again for Objective C Mode.  Correct the *-index values,
9461         these having been disturbed by a previous change in 2011-08.
9463         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9464         Correct two search limits.
9466 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9468         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9470 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
9472         * international/characters.el: Fix sorting.
9474 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9476         * international/characters.el: Add more missing Latin case pairs.
9478 2012-04-14  Glenn Morris  <rgm@gnu.org>
9480         * files.el (dir-locals-set-class-variables): Doc fix.
9482 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9484         * international/characters.el: Add set-case-syntax-pair call for
9485         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9486         counterpart.  (Bug#11209)
9488         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
9490 2012-04-14  Glenn Morris  <rgm@gnu.org>
9492         * calendar/holidays.el (calendar-check-holidays): Doc fix.
9494 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9496         * textmodes/ispell.el (ispell-dictionary-base-alist):
9497         Add data for Hebrew.
9499 2012-04-14  Chong Yidong  <cyd@gnu.org>
9501         * net/rcirc.el (rcirc-cmd-quit):
9502         Revert 2012-03-18 change (Bug#11192).
9504 2012-04-14  Glenn Morris  <rgm@gnu.org>
9506         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9508 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9510         * minibuffer.el (completion-in-region-mode-map):
9511         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
9513 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
9515         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9517 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
9519         * minibuffer.el (minibuffer-local-filename-syntax): New variable
9520         to allow `C-M-f' and `C-M-b' to move to the nearest path
9521         separator (bug#9511).
9523 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
9525         * avoid.el: Require cl when compiling.  And also move the
9526         `provide' to the end.
9528 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9530         * avoid.el (mouse-avoidance-banish-position): New variable.
9531         (mouse-avoidance-banish-destination): Use it (bug#10165).
9533 2012-04-13  Leo Liu  <sdl.web@gmail.com>
9535         * progmodes/which-func.el (which-func-modes): Add objc-mode.
9537 2012-04-13  Ken Brown  <kbrown@cornell.edu>
9539         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9540         this is no longer needed now that cygstart understands file:// URLs.
9541         (browse-url-filename-alist): For the same reason, don't modify
9542         file:// URLs on Cygwin.
9544 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9546         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9547         the region on shift if the binding is already shifted (bug#11221).
9549 2012-04-12  Glenn Morris  <rgm@gnu.org>
9551         * mail/mailpost.el: Move to obsolete/.
9553 2012-04-12  Drew Adams  <drew.adams@oracle.com>
9555         * imenu.el (imenu--generic-function): Ignore invisible definitions
9556         (bug#10123).
9558 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
9560         * hexl.el (hexl-bits): New variable.
9561         (hexl-options): Mention the variable in the doc string.
9562         (hexl-rulerise, hexl-line-displen): New functions.
9563         (hexl-mode): Mention the new variable.
9564         (hexl-mode, hexl-current-address, hexl-current-address):
9565         Use the displen.
9566         (hexl-ascii-start-column): New function.
9567         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9568         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9570 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9572         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9573         '("-i" ENCODING), in 2 separate command-line arguments, to specify
9574         the encoding, as expected by hunspell.
9576 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9578         * battery.el (battery--linux-sysfs-regexp): New const.
9579         (battery-status-function): Use it.  Remove yeeloong special case.
9580         (battery-yeeloong-sysfs): Remove.
9581         (battery-echo-area-format): Remove yeeloong special case.
9583 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9585         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9586         Reported by Noah Friedman.
9588         * subr.el (read-passwd): Use read-string.
9590 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9592         * vcursor.el (vcursor-move): Increase the priority of the overlay
9593         (bug#9663).
9595 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9597         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9598         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9600 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
9602         * textmodes/artist.el (artist-mode): Convert artist-mode to use
9603         define-minor-mode (bug#10760).
9605 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
9607         * progmodes/grep.el (rgrep): Tweak the find command line so
9608         that directories matching `grep-find-ignored-files' won't be
9609         pruned (bug#10351).
9611 2012-04-11  Chong Yidong  <cyd@gnu.org>
9613         * startup.el (command-line): Remove support for long-obsolete
9614         variable font-lock-face-attributes.
9616 2012-04-11  Glenn Morris  <rgm@gnu.org>
9618         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9620 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9622         * window.el (window--state-get-1): Obey window-point-insertion-type.
9624 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
9626         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9627         to previous function when point is on the first character of a
9628         function.  Take care of that in `narrow-to-defun' (bug#6157).
9630 2012-04-11  Glenn Morris  <rgm@gnu.org>
9632         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9633         not just file-errors.
9635         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9636         (vc-bzr-sha1): Use internal sha1.
9638 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9640         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9642 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
9644         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9645         that start in the middle of the line (bug#10496).
9647 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
9649         * battery.el (battery-linux-proc-acpi): Only one battery is
9650         discharged at a time, but that seems to confuse battery.el when
9651         computing `rate-type' for the battery not being discharged
9652         (bug#10332).
9654 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9656         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9658         * international/quail.el: Use dolist and simplify.
9659         (quail-define-package, quail-update-keyboard-layout)
9660         (quail-define-rules): Use dolist.
9661         (quail-insert-kbd-layout, quail-get-translation): CSE.
9663         * tmm.el: Use dolist, remove left over hook.
9664         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9665         Use dolist.
9666         (calendar-load-hook): Don't mess with it.
9668         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9669         Use derived-mode-p.  Run the diff asynchronously.
9671 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9673         * obsolete/mouse-sel.el: Add an Obsolete-since header.
9675 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
9677         * misc.el: Display absolute path of loaded DLLs (bug#10424).
9678         (list-dynamic-libraries--loaded): New function.
9679         (list-dynamic-libraries--refresh): Use it.
9681 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
9683         * progmodes/python.el (python-fill-paragraph):
9684         Make python-fill-region in a multiline string work when font-lock is
9685         disabled (bug#7018).
9687 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
9689         * language/european.el (cp775): Add oem/legacy (en)coding on
9690         DOS/MS Windows for the Baltic languages.  There are still plenty
9691         of texts written in this encoding/codepage (bug#6519).
9693 2012-04-10  Glenn Morris  <rgm@gnu.org>
9695         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9696         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9698 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
9700         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9701         next-line "n" and previous-line "p" in order to make recentf more
9702         consistent with ibuffer, dired or org-mode (bug#9387).
9704 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9706         * image.el (put-image): Return the overlay created instead of the
9707         optional input string (bug#7834).  Note that this may break code
9708         that is (for some reason or other) depending on `put-image'
9709         returning the string.
9711         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9713         * simple.el (zap-to-char): Allow zapping using input methods
9714         (bug#1580).
9716         * textmodes/fill.el (fill-region): Leave point and mark where they
9717         were before filling (bug#5399).
9719 2012-04-09  Glenn Morris  <rgm@gnu.org>
9721         * version.el (emacs-bzr-get-version):
9722         Handle lightweight checkouts of local branches.
9724 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
9726         * international/characters.el: Recover lost case pairs.  (Bug#11209)
9728 2012-04-09  Chong Yidong  <cyd@gnu.org>
9730         * custom.el (custom-variable-p): Return nil for non-symbol
9731         arguments instead of signaling an error.
9732         (user-variable-p): Obsolete alias for custom-variable-p.
9734         * apropos.el (apropos-variable):
9735         * files-x.el (read-file-local-variable):
9736         * simple.el (set-variable):
9737         * woman.el (woman-mini-help):
9738         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9740 2012-04-09  Glenn Morris  <rgm@gnu.org>
9742         * startup.el (normal-top-level): Don't look for leim-list.el
9743         in places where it will not be found.  (Bug#910)
9745         * international/mule-cmds.el (set-default-coding-systems):
9746         * files.el (normal-mode):
9747         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
9748         This function was removed with ucs-tables.el in 2008.
9750 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
9752         * textmodes/ispell.el (ispell-check-version): For hunspell, set
9753         ispell-encoding8-command to "-i", without a trailing space.
9754         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9755         separate command-line arguments, to specify the encoding, since
9756         that's how hunspell expects it.
9758 2012-04-08  Glenn Morris  <rgm@gnu.org>
9760         * loadup.el: Load bindings before cus-start.
9761         This reduces somewhat the number of "rogue" settings in emacs -Q.
9763 2012-04-07  Glenn Morris  <rgm@gnu.org>
9765         * version.el (emacs-bzr-get-version): New function.
9766         (emacs-bzr-version): New variable.
9767         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
9768         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9770 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
9772         * international/uni-bidi.el, international/uni-category.el:
9773         * international/uni-combining.el, international/uni-decimal.el:
9774         * international/uni-decomposition.el, international/uni-digit.el:
9775         * international/uni-lowercase.el, international/uni-mirrored.el:
9776         * international/uni-name.el, international/uni-numeric.el:
9777         * international/uni-titlecase.el, international/uni-uppercase.el:
9778         Update for Unicode 6.1.
9780 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
9782         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9784 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9786         * window.el (shrink-window): Mention the `window-min-height'
9787         variable in the doc string.
9789 2012-04-05  Bastien Guerry  <bzg@altern.org>
9791         * color.el (color-lighten-name): Fix typo.
9793 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9795         * server.el (server--on-display-p): New function.
9796         (server--on-display-p): Use it.
9798 2012-04-04  Gábor Vida  <vidagabor@gmail.com>  (tiny change)
9800         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9801         (bug#11145).
9803 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9805         * comint.el (comint--common-quoted-suffix): Check string boundary
9806         before comparing (bug#11158).
9807         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9809 2012-04-04  Chong Yidong  <cyd@gnu.org>
9811         * minibuffer.el (completion-extra-properties): Doc fix.
9813         * subr.el (delayed-warnings-hook): Doc fix.
9815 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
9817         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9818         selection (Bug#11159).
9819         (epa-insert-keys): Inform that the default public key will be
9820         exported if no key is selected.
9822 2012-04-04  Richard Stallman  <rms@gnu.org>
9824         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9826 2012-04-03  Chong Yidong  <cyd@gnu.org>
9828         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9829         mail-insert-file, not its obsolete alias mail-attach-file.
9831 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
9833         * notifications.el (notifications-notify): Fix docstring.
9835 2012-04-02  Glenn Morris  <rgm@gnu.org>
9837         * emacs-lisp/authors.el (authors-aliases): Another addition.
9839 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
9841         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9842         `tramp-compat-call-process' instead of `tramp-local-call-process'.
9843         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9845 2012-04-01  Chong Yidong  <cyd@gnu.org>
9847         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9848         Handle root directory properly.
9849         (copy-directory): Caller changed.
9851         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9852         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9854 2012-03-31  Glenn Morris  <rgm@gnu.org>
9856         * term/xterm.el (xterm-extra-capabilities): Doc fix.
9858         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
9860         * calendar/calendar.el (calendar-window-list)
9861         (calendar-hide-window): Restore.  (Bug#11140)
9862         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9864         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9866 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9868         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9869         Check if file is a symlink (Bug#10489).
9871         * files.el (copy-directory): Likewise.
9873 2012-03-30  Chong Yidong  <cyd@gnu.org>
9875         * image.el (imagemagick-types-inhibit)
9876         (imagemagick-register-types): Doc fix.
9878 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9880         * textmodes/ispell.el (ispell-get-extended-character-mode):
9881         Disable extended-char-mode for hunspell.  hunspell does not support it
9882         and treats ~word as ordinary words in pipe mode.
9884 2012-03-30  Glenn Morris  <rgm@gnu.org>
9886         * tutorial.el (help-with-tutorial): Ensure local variables don't
9887         happen to make the buffer read-only.  (Bug#11127)
9889 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9891         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9892         (perl-calculate-indent): Return `noindent' in strings.
9894 2012-03-28  Sam Steingold  <sds@gnu.org>
9896         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9897         instead of the broken adhockery which does not prevent calendar
9898         buffers from being displayed at random after exit.
9899         (calendar-window-list, calendar-hide-window): Remove the broken
9900         adhockery.
9902 2012-03-28  Glenn Morris  <rgm@gnu.org>
9904         * replace.el (query-replace-map): Doc fix.
9906 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9908         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9909         contents.  (Bug#11109)
9911 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9913         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9914         (bug#11077).
9915         (avl-tree--check, avl-tree--check-node): New funs.
9917 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
9919         * window.el (switch-to-visible-buffer): New option.
9920         (switch-to-prev-buffer, switch-to-next-buffer):
9921         Observe switch-to-visible-buffer.  Make sure that checking for a window
9922         showing a buffer already is done on the same frame.
9924 2012-03-27  Glenn Morris  <rgm@gnu.org>
9926         * startup.el (mail-host-address): Doc fix.
9928 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9930         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9931         than 197 variables.
9933 2012-03-26  Ami Fischman  <ami@fischman.org>
9935         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9937 2012-03-26  Glenn Morris  <rgm@gnu.org>
9939         * files.el (save-buffers-kill-emacs): Doc fix.
9941         * startup.el (normal-top-level, command-line, command-line-1):
9942         Give them doc strings.
9944 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
9946         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9947         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9949 2012-03-25  Chong Yidong  <cyd@gnu.org>
9951         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9952         theme if it was previously enabled before (Bug#11031).
9954         * cus-theme.el (custom-theme-write-faces): Retrieve current face
9955         spec with custom-face-get-current-spec if its :shown-value is not
9956         determined yet (Bug#9337).
9957         (customize-create-theme, custom-theme-revert): Doc fixes.
9959         * button.el (button-at): Minor addition to docstring.
9961 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
9963         * vc/vc.el (vc-merge): Fix a prompt.
9965 2012-03-24  Chong Yidong  <cyd@gnu.org>
9967         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9968         point (Bug#9623).
9970         * button.el (button-at): Minor addition to docstring.
9972 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9974         * newcomment.el (comment-choose-indent): No space after BOL.
9976 2012-03-22  Sam Steingold  <sds@gnu.org>
9978         * window.el (switch-to-prev-buffer): Revert last patch because the
9979         bug turned out to be an advertised feature (Elisp manual 28.14).
9981 2012-03-22  Glenn Morris  <rgm@gnu.org>
9983         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
9984         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9986 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9988         * net/network-stream.el (network-stream-open-starttls): Make error
9989         message under Windows be less misleading.
9991 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
9993         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9994         understands (bug#9942).
9996 2012-03-22  Chong Yidong  <cyd@gnu.org>
9998         * simple.el (end-of-visible-line): Handle return value of
9999         next-single-property-change properly (Bug#9371).
10001 2012-03-22  Kenichi Handa  <handa@m17n.org>
10003         * international/quail.el (quail-insert-kbd-layout): Fix previous
10004         change.  To avoid unwanted bidi reordering, use
10005         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10007 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
10009         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10010         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10011         (ruby-beginning-of-indent): Be more careful with the difference
10012         between word-boundary and symbol boundary.
10013         (ruby-mode-syntax-table): Make : a symbol constituent.
10015 2012-03-21  Andreas Politz  <politza@fh-trier.de>
10017         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10019 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10021         * progmodes/etags.el (tags-completion-at-point-function):
10022         Improve last fix.
10024         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10026 2012-03-21  Sam Steingold  <sds@gnu.org>
10028         * progmodes/etags.el (tags-completion-at-point-function):
10029         Avoid the error when point is inside the pattern.
10031 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
10033         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10034         line (Bug#10855).
10036 2012-03-21  Drew Adams  <drew.adams@oracle.com>
10038         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10040 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
10042         * ido.el (ido-set-current-directory, ido-read-internal)
10043         (ido-choose-completion-string, ido-completion-help): Handle nil
10044         value of ido-completion-buffer (Bug#11008).
10046 2012-03-21  Sam Steingold  <sds@gnu.org>
10048         * window.el (switch-to-prev-buffer): Do not switch to a visible
10049         window previous buffer, just like with the frame previous buffers.
10051 2012-03-21  Chong Yidong  <cyd@gnu.org>
10053         * faces.el (make-face, make-empty-face, copy-face):
10054         * face-remap.el (face-remap-add-relative, face-remap-set-base):
10055         Doc fixes.
10057 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10059         * wid-edit.el (widget-complete-field): Remove (bug#11051).
10060         (widget-complete): Remove broken use of it.
10062 2012-03-20  Chong Yidong  <cyd@gnu.org>
10064         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10065         Use string-width and truncate-string-width to handle arbitrary
10066         characters.
10068 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
10070         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10071         to draw rectangles, not squares.  (Regression introduced by revno
10072         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10074 2012-03-18  Chong Yidong  <cyd@gnu.org>
10076         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10077         it is not yet defined (for temacs).
10079 2012-03-18  Leo Liu  <sdl.web@gmail.com>
10081         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10082         prefix.
10084 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10086         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10087         (ispell-choices-win-default-height, ispell-silently-savep)
10088         (ispell-dictionary-alist, ispell-encoding8-command)
10089         (ispell-check-version, ispell-aspell-find-dictionary)
10090         (ispell-valid-dictionary-list, ispell-words-keyword)
10091         (ispell-get-word, ispell-internal-change-dictionary)
10092         (ispell-region, ispell-skip-region-list)
10093         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10094         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10095         (ispell-message-text-end, ispell-message)
10096         (ispell-buffer-local-parsing): Doc fix.
10098 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
10100         * htmlfontify.el: Add support for code block fontification for ODT
10101         export (Bug #9914).
10102         (hfy-optimisations): Define new option
10103         `body-text-only'
10104         (hfy-fontify-buffer): Honor above setting.
10105         (hfy-begin-span, hfy-end-span): New routines factored out form
10106         `hfy-fontify-buffer'.
10107         (hfy-begin-span-handler, hfy-end-span-handler): New variables
10108         that permit insertion of custom tags.
10109         (hfy-fontify-buffer): Use above handlers.
10110         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10111         (hfy-face-to-css): Re-defined to be a variable.
10112         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
10113         over multiple runs.  This is made possible by having the caller let
10114         bind a special variable `hfy-user-sheet-assoc'.
10115         (htmlfontify-string): New defun.
10116         (hfy-compile-face-map): Make sure that the last char in the
10117         buffer is correctly fontified.
10118         (hfy-face-resolve-face): Whitespace only change.
10120 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10122         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10123         message more clear.
10125 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10127         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10129 2012-03-16  Alan Mackenzie  <acm@muc.de>
10131         Further optimise the handling of large macros.
10133         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10134         limit to a call of `c-literal-limits'.
10135         (c-determine-+ve-limit): New function.
10136         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10137         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10138         In CASE 5B, restrict a search limit to 500.
10139         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10141         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10142         Restrict macro bounds to +-500 from after-change's BEG END.
10144 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10146         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10148 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
10150         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10151         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
10153 2012-03-16  Glenn Morris  <rgm@gnu.org>
10155         * view.el (view-buffer, view-buffer-other-window)
10156         (view-buffer-other-frame): Doc fixes re special mode-class.
10158         * subr.el (eval-after-load): If named feature is provided not from
10159         a file, run after-load forms.  (Bug#10946)
10161         * calendar/calendar.el (calendar-insert-at-column):
10162         Handle non-unit-width characters a bit better.  (Bug#10978)
10164 2012-03-15  Chong Yidong  <cyd@gnu.org>
10166         * emacs-lisp/ring.el (ring-extend): New function.
10167         (ring-insert+extend): Extend the ring correctly (Bug#11019).
10169         * comint.el (comint-read-input-ring)
10170         (comint-add-to-input-history): Grow comint-input-ring lazily.
10172 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10174         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10175         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10177         * imenu.el: Fix multiple inheritance breakage (bug#9199).
10178         (imenu-add-to-menubar): Don't add a redundant index.
10179         (imenu-update-menubar): Handle a dynamically composed keymap.
10181 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
10183         * mail/sendmail.el (mail-encode-header):
10184         Bind rfc2047-encode-encoded-words to nil.
10186 2012-03-13  Glenn Morris  <rgm@gnu.org>
10188         * calendar/calendar.el (calendar-string-spread):
10189         Handle non-unit-width characters a bit better.  (Bug#10978)
10191 2012-03-13  Leo Liu  <sdl.web@gmail.com>
10193         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10194         directory and file as argument (Bug#10822).
10196 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10198         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10199         For dynamically generated code, follow $PC.
10200         (gdb-disassembly-handler-custom): Handle no function name case.
10202 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
10204         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10205         * emulation/ws-mode.el (ws-query-replace):
10206         * sort.el (sort-regexp-fields):
10207         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
10209 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10211         * dabbrev.el: Fix cycle completion order (bug#10963).
10212         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10213         (dabbrev-completion): Don't use an obarray; provide
10214         a cycle-sort-function.
10216 2012-03-12  Leo Liu  <sdl.web@gmail.com>
10218         * simple.el (kill-new): Use equal-including-properties for comparison.
10219         (kill-do-not-save-duplicates): Doc fix.
10221 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10223         * dabbrev.el: Fix cycle completion (bug#10963).
10224         Use lexical binding and wrap to 80 columns.
10225         (dabbrev-completion): Delay computing the list of completions.
10227 2012-03-12  Kenichi Handa  <handa@m17n.org>
10229         * international/quail.el (quail-insert-kbd-layout): Surround each
10230         row by LRO and PDF instead of inserting many LRMs.  Pad the left
10231         and right of each non-spacing marks.  Insert invisible space
10232         between lower and upper characters to prevent composition.
10234 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10236         * minibuffer.el (minibuffer-complete): Don't get confused when the
10237         function is run twice via different commands (bug#10958).
10238         (complete-with-action): Fix docstring.
10240 2012-03-12  Chong Yidong  <cyd@gnu.org>
10242         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10243         (nxml-completion-at-point-function): New function.
10244         (nxml-mode): Use it.
10245         (nxml-bind-meta-tab-to-complete-flag): Default to t.
10247         * emacs-lisp/package.el (package-unpack, package-unpack-single):
10248         Load generated autoloads file before byte compiling (Bug#10970).
10249         (package--make-autoloads-and-compile): New helper fun.
10251 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
10253         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10255 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
10257         * autorevert.el (auto-revert-handler): Ensure, that
10258         file-readable-p is applied only for local files or in
10259         auto-revert-tail-mode.
10261 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
10263         * server.el (server-eval-at): Handle non-tcp connections.
10264         Decode result string.
10266         * server.el (server-msg-size): New constant.
10267         (server-reply-print): New function.
10268         (server-eval-and-print): Use it.
10269         (server-eval-at): Use server-quote-arg and server-unquote-arg.
10270         Handle -print-nonl.
10272 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
10274         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10275         (Bug#10987).
10277 2012-03-11  Chong Yidong  <cyd@gnu.org>
10279         * simple.el (goto-line): Doc fix (Bug#9938).
10281         * subr.el (save-window-excursion): Doc fix (Bug#9979).
10283         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10284         when finished (Bug#10963).
10286 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
10288         * window.el (split-window-below): Fix bug in case where
10289         split-window-keep-point is nil (Bug#10971).
10291 2012-03-11  Juri Linkov  <juri@jurta.org>
10293         * replace.el (replace-highlight): Set isearch-word to nil
10294         unconditionally.  (Bug#10887)
10296 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
10298         * net/mairix.el (mairix-replace-invalid-chars): Rename from
10299         mairix-replace-illegal-chars; all callers changed.  Don't remove
10300         ^, ~, and = characters: they are meaningful in mairix search specs.
10301         (mairix-widget-create-query): Add usage information about mairix
10302         search forms: negating words, searching for substrings, etc.
10304 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
10306         * international/fontset.el (font-encoding-alist): Add an entry for
10307         ksx1001 (Bug#5667).
10309 2012-03-10  Richard Stallman  <rms@gnu.org>
10311         * mail/sendmail.el (mail-encode-header):
10312         Set rfc2047-encode-encoded-words.
10314         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10316         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10317         view buffer means not swapped.
10318         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10319         (rmail-write-region-annotate): Error if real text has disappeared.
10321         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10323 2012-03-10  Chong Yidong  <cyd@gnu.org>
10325         * emulation/cua-rect.el (cua--init-rectangles):
10326         * emulation/cua-base.el (cua--init-keymaps):
10327         Add delete-forward-char to remappings (Bug#9666).
10329 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
10331         * speedbar.el (speedbar-unhighlight-one-tag-line):
10332         Avoid unhighlighting due to frame switching (Bug#10275).
10334 2012-03-10  Chong Yidong  <cyd@gnu.org>
10336         * minibuffer.el (completion-in-region, completion-help-at-point):
10337         Give the completion field overlay a high priority (Bug#6830).
10339         * dired.el (dired-goto-file): Recognize absolute file name
10340         listings (Bug#7126).
10341         (dired-goto-file-1): New helper function.
10342         (dired-toggle-read-only): Inhibit warnings.
10344 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
10346         * net/dbus.el (dbus-property-handler): Return empty array if
10347         there are no properties.
10349 2012-03-09  Leo Liu  <sdl.web@gmail.com>
10351         * savehist.el (savehist-printable): Stricter check for string
10352         value (Bug#10937).
10354 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
10356         * mail/smtpmail.el (smtpmail-send-it):
10357         Bind coding-system-for-write to *-unix, so that FCC files are kept in
10358         valid mbox format.
10360 2012-03-09  Glenn Morris  <rgm@gnu.org>
10362         * files.el (dir-locals-find-file):
10363         Don't check result is regular, readable.
10364         (dir-locals-read-from-file): Demote errors.
10366 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
10368         * international/quail.el (quail-insert-kbd-layout):
10369         Insert invisible LRM characters before each character in a keyboard
10370         layout cell, to prevent their reordering by bidi display engine.
10371         For details, see the discussion in
10372         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10374 2012-03-08  Alan Mackenzie  <acm@muc.de>
10376         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10377         the starting position; make it extend the marked region when
10378         invoked repeatedly - all under appropriate circumstances.
10379         Fixes bugs #5525, #10906.
10381 2012-03-08  Glenn Morris  <rgm@gnu.org>
10383         * files.el (locate-dominating-file, dir-locals-find-file):
10384         Undo 2012-03-06 change.
10386 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
10388         * international/quail.el (quail-help):
10389         Force bidi-paragraph-direction be left-to-right.  See discussion in
10390         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10391         for the reason.
10393 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
10395         Avoid superfluous registering of signals.  (Bug#10807)
10397         * notifications.el (notifications-on-action-object)
10398         (notifications-on-close-object): New defvars.
10399         (notifications-on-action-signal, notifications-on-closed-signal):
10400         Unregister the signal if not needed any longer.
10401         (notifications-notify): Register `notifications-action-signal' or
10402         `notifications-closed-signal', if :on-action or :on-close has been
10403         passed as argument.
10405 2012-03-07  Chong Yidong  <cyd@gnu.org>
10407         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10408         non-X platforms.
10410 2012-03-06  Glenn Morris  <rgm@gnu.org>
10412         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10413         (x-disown-selection-internal, x-get-selection-internal):
10414         Doc fix (add arglist signatures).  (Bug#10783)
10416 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10418         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10419         Handle breakpoints with no "type".
10421 2012-03-06  Glenn Morris  <rgm@gnu.org>
10423         * files.el (locate-dominating-file): Add optional predicate argument.
10424         (dir-locals-find-file): Make use of above change.
10426 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
10428         * info.el (Info-insert-dir): Also try "dir.gz".
10430 2012-03-06  Glenn Morris  <rgm@gnu.org>
10432         * files.el (dir-locals-find-file):
10433         Ignore non-readable or non-regular files.  (Bug#10928)
10435         * files.el (locate-dominating-file): Doc fix.
10437 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
10439         * calendar/calendar.el (calendar-set-mode-line):
10440         `getenv' returns a string.  (Bug#10951)
10442 2012-03-05  Leo Liu  <sdl.web@gmail.com>
10444         * simple.el (backward-delete-char-untabify): Constrain point to
10445         field (Bug#10939).
10447         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10449 2012-03-05  Chong Yidong  <cyd@gnu.org>
10451         * simple.el (count-words): If called from Lisp, return the word
10452         count, for symmetry with `count-lines'.  Arglist changed.
10453         (count-words--message): Args changed.  Consolidate counting code
10454         from count-words and count-words-region.
10455         (count-words-region): Caller changed.
10456         (count-lines-region): Make it an obsolete alias.
10458 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
10460         * saveplace.el (save-place-to-alist)
10461         (save-place-ignore-files-regexp): Allow value nil to disable this
10462         feature.
10464 2012-03-04  Chong Yidong  <cyd@gnu.org>
10466         * faces.el (face-spec-reset-face): For the default face, reset the
10467         attributes to default values (Bug#10748).
10469 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10471         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10472         previous patch: Check `message-send-mail-function', and not the
10473         default function (bug#10897).
10475 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
10477         * notifications.el (notifications-on-action-signal)
10478         (notifications-on-closed-signal): Check for unique service name of
10479         incoming event.  Fix error in removing entry.
10480         (top): Register for signals with wildcard service name.
10481         (notifications-notify): Use daemon unique service name for map entries.
10483 2012-03-04  Chong Yidong  <cyd@gnu.org>
10485         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10487 2012-03-04  Glenn Morris  <rgm@gnu.org>
10489         * abbrev.el (copy-abbrev-table, abbrev-table-p)
10490         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10491         (expand-abbrev, define-abbrev-table): Doc fixes.
10493 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10495         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10496         `message-default-send-mail-function' and not `send-mail-function'
10497         when doing the prompting for `sendmail-query-once' before sending
10498         in Message buffers (bug#10897).
10500         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10501         This is inconsistent with all the other stream functions, which leave
10502         the setting up to the higher levels (if so wanted) (bug#10931).
10504 2012-03-02  Alan Mackenzie  <acm@muc.de>
10506         Depessimize the handling of very large macros.
10508         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10509         (c-macro-cache-syntactic): New variables to implement a one
10510         element macro cache.
10511         (c-invalidate-macro-cache): New function.
10512         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10513         Adapt to use the new cache.
10514         (c-state-safe-place): Use better the cache of safe positions.
10515         (c-state-semi-nonlit-pos-cache)
10516         (c-state-semi-nonlit-pos-cache-limit):
10517         New variables for...
10518         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
10519         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10520         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10521         Use c-state-semi-safe-place.
10523         * progmodes/cc-langs.el (c-get-state-before-change-functions):
10524         Add c-invalidate-macro-cache to the C, C++, Obj entries.
10526 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
10528         * jka-compr.el (jka-compr-call-process):
10529         Apply `file-accessible-directory-p' only when the default directory is
10530         not remote.
10532 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
10534         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
10535         access of FILE2, if FILE1 does not exist.
10537         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10538         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10540         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10541         Add "PAGER=" to `process-environment'.
10543 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
10545         * progmodes/sql.el: Bug fix
10546         (sql-get-login-ext): Save login values in globals.
10547         (sql-get-login): Use new version of `sql-get-login-ext'.
10548         (sql-interactive-mode): Set global `sql-connection' to nil.
10549         (sql-connect): Set global values for connection.
10550         (sql-product-interactive): Save global values as buffer local.
10552 2012-02-29  Leo Liu  <sdl.web@gmail.com>
10554         * abbrev.el (define-abbrevs): Reset sys to nil.
10556 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10558         * files.el (file-equal-p): Rename from `files-equal-p'.
10559         Return nil when one or both files don't exist.
10560         (file-subdir-of-p): Now only top directory must exists,
10561         return nil if it doesn't.
10562         (copy-directory): No need to test with `file-subdir-of-p' after
10563         creating dir.
10564         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10565         to `file-equal-p'.
10567 2012-02-28  Glenn Morris  <rgm@gnu.org>
10569         * shell.el (shell-mode):
10570         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10571         * play/landmark.el (landmark-font-lock-face-O):
10572         * play/handwrite.el (handwrite):
10573         * play/gomoku.el (gomoku-O):
10574         * net/browse-url.el (browse-url-browser-display):
10575         * international/mule.el (define-charset):
10576         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10577         * filesets.el (filesets-find-file-delay):
10578         * eshell/em-xtra.el (eshell-xtra):
10579         * eshell/em-unix.el (eshell-grep):
10580         * emulation/viper.el (viper-mode):
10581         * emacs-lisp/regexp-opt.el (regexp-opt-group):
10582         * emacs-lisp/easymenu.el (easy-menu-define):
10583         * calendar/timeclock.el (timeclock-use-display-time):
10584         * bs.el (bs-mode):
10585         * bookmark.el (bookmark-save-flag):
10586         Doc fix (standardize possessive apostrophe usage).
10588 2012-02-27  Chong Yidong  <cyd@gnu.org>
10590         * emulation/viper-cmd.el (viper-intercept-ESC-key):
10591         Fix key-binding lookup for ESC key (Bug#9146).
10593         * font-lock.el (font-lock-specified-p): Rename from
10594         font-lock-spec-present.  Callers changed.
10596 2012-02-27  Daniel Hackney  <dan@haxney.org>
10598         * emacs-lisp/package.el (package-compute-transaction):
10599         Handle holding a package version to t in package-load-list.
10601 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
10603         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10604         (tramp-get-inode, tramp-get-device): Use cached values.
10606 2012-02-26  Alan Mackenzie  <acm@muc.de>
10608         Check there is a font-lock specification before doing initial
10609         fontification.
10611         * font-core.el (font-lock-mode): Move the conditional from
10612         :after-hook to font-lock-initial-fontify.
10613         (font-lock-default-function): Move the check for a specification
10614         to font-lock-spec-present.
10616         * font-lock.el (font-lock-initial-fontify): Call ...
10617         (font-lock-spec-present): New function.
10619 2012-02-26  Jim Blandy  <jimb@red-bean.com>
10621         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10622         (gdb-send): Apply it to the operand of the '-interpreter-exec
10623         console' command, so that we can pass arguments with (say) quotes
10624         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
10626 2012-02-26  Chong Yidong  <cyd@gnu.org>
10628         * help-fns.el (describe-function-1): Clarify description of
10629         remapping (Bug#10844).
10631         * files.el (files-equal-p): Doc fix.
10632         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
10633         and quit the loop once a mismatch is found.
10635 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
10637         * bs.el (bs--show-with-configuration): Don't throw an error
10638         if the window cannot be split; otherwise, subsequent calls to
10639         bs-show fail, restoring a stale window config.  (Bug#10882)
10641 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
10643         * term/ns-win.el (global-map): Bind ns-drag-file to
10644         ns-find-file (Bug#5855, Bug#10050).
10646 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
10648         * calendar/parse-time.el (parse-time-string): Allow extractor to
10649         return nil.
10651 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
10653         * net/tramp.el (tramp-file-name-for-operation):
10654         Add `files-equal-p' and `file-subdir-of-p'.
10656         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10657         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10658         Add COPY-CONTENTS argument.
10660 2012-02-25  Chong Yidong  <cyd@gnu.org>
10662         Add custom groups for VC backends, for consistency with vc-bzr.
10664         * vc/vc-arch.el (vc-arch):
10665         * vc/vc-cvs.el (vc-cvs):
10666         * vc/vc-git.el (vc-git):
10667         * vc/vc-hg.el (vc-hg):
10668         * vc/vc-mtn.el (vc-mtn):
10669         * vc/vc-rcs.el (vc-rcs):
10670         * vc/vc-sccs.el (vc-sccs):
10671         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10672         All relevant defcustoms reassigned.
10674 2012-02-25  Chong Yidong  <cyd@gnu.org>
10676         * newcomment.el (comment-styles): Add autoload (Bug#10868).
10678         * term/x-win.el (x-initialize-window-system): Reduce default for
10679         x-selection-timeout to 5 seconds (Bug#8869).
10681 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10683         * files.el (files-equal-p, file-subdir-of-p): New functions.
10684         (copy-directory): Error when trying to copy a directory on itself.
10685         Add missing copy-contents arg to tramp handler.
10686         * dired-aux.el (dired-copy-file-recursive): Same.
10687         (dired-create-files): Modify destination when source is equal to
10688         dest when copying files.
10689         Return also when dest is a subdir of source.  (Bug#10489)
10691 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
10693         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10694         (Bug#10874)
10696 2012-02-23  Alan Mackenzie  <acm@muc.de>
10698         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10699         parameter "after-hook:" to allow the expansion to run code after
10700         the execution of the mode hooks.
10702         * font-lock.el (font-lock-initial-fontify): New function extracted
10703         from font-lock-mode-internal.
10705         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10706         :after-hook.
10708 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10711         (completion--cache-all-sorted-completions): New function.
10712         (completion-all-sorted-completions): Use it.
10713         (completion--do-completion, minibuffer-force-complete):
10714         Use it to re-instate the flush hook.
10716         * icomplete.el (icomplete-completions): Replace last fix with a better
10717         one (bug#10850).
10719 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
10721         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10722         when it might call us back infinitely (bug#10797).
10724 2012-02-23  Glenn Morris  <rgm@gnu.org>
10726         * minibuffer.el (completion-category-overrides): Doc fix.
10728 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10730         * minibuffer.el (completion-table-with-context): Fix inf-loop.
10731         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10733 2012-02-23  Glenn Morris  <rgm@gnu.org>
10735         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10736         (authors-obsolete-files-regexps, authors-ignored-files)
10737         (authors-ambiguous-files, authors-renamed-files-alist):
10738         Add more entries.
10740 2012-02-23  Juri Linkov  <juri@jurta.org>
10742         * isearch.el (isearch-occur): Sync interactive spec with occur's
10743         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
10745         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10747 2012-02-22  Juri Linkov  <juri@jurta.org>
10749         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10750         (ucs-insert): Doc fix.  Check for hex digits in the string.
10751         Don't display `nil' in the error message.  (Bug#10857)
10753 2012-02-22  Alan Mackenzie  <acm@muc.de>
10755         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10757 2012-02-22  Glenn Morris  <rgm@gnu.org>
10759         * ffap.el (ffap-c-path):
10760         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
10762 2012-02-22  Chong Yidong  <cyd@gnu.org>
10764         * custom.el (load-theme): Doc fix.
10766 2012-02-22  Glenn Morris  <rgm@gnu.org>
10768         * dired-x.el (dired-guess-shell-alist-default):
10769         Remove escape sequences from nroff output.  (Bug#172)
10771 2012-02-21  Glenn Morris  <rgm@gnu.org>
10773         * vc/emerge.el (emerge-defvar-local):
10774         Set `permanent-local' property rather than unused `preserved'.
10776         * textmodes/picture.el (picture-delete-char): New alias.
10777         (picture-mode-map): Use it.  (Bug#10860)
10778         (picture-mode): Doc fix.
10780 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
10782         * newcomment.el (uncomment-region-default): Remove unused binding.
10784 2012-02-21  Glenn Morris  <rgm@gnu.org>
10786         * textmodes/picture.el (picture-motion, picture-motion-reverse)
10787         (picture-self-insert, picture-tab-chars): Doc fix.
10788         (picture-mode-map): Fix C-a, C-e.
10790 2012-02-20  Glenn Morris  <rgm@gnu.org>
10792         * emacs-lisp/authors.el (authors-aliases): Add another entry.
10794 2012-02-20  Leo Liu  <sdl.web@gmail.com>
10796         * icomplete.el (icomplete-completions): Check FROM arg before
10797         passing to substring (Bug#10850).
10799 2012-02-19  Chong Yidong  <cyd@gnu.org>
10801         * comint.el: Require ansi-color.
10802         (comint-output-filter-functions): Add ansi-color-process-output.
10804         * ansi-color.el: Don't set comint-output-filter-functions; it is
10805         now in the initial value defined in comint.el.
10806         (ansi-color-apply-face-function): New variable.
10807         (ansi-color-apply-on-region): Use it.
10808         (ansi-color-apply-overlay-face): New function.
10810         * shell.el (shell): No need to require ansi-color.
10811         (shell-mode): Use ansi-color-apply-face-function to highlight
10812         color escapes using font-lock-face property (Bug#10835).
10814 2012-02-19  Chong Yidong  <cyd@gnu.org>
10816         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10817         mode-line formats (Bug#10839).
10819 2012-02-18  Glenn Morris  <rgm@gnu.org>
10821         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10823         * mail/undigest.el (unforward-rmail-message): Doc fix.
10825         * saveplace.el (save-place-ignore-files-regexp): Add :version.
10827 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
10829         * international/characters.el (script-list): Sync with the latest
10830         Unicode Character Database.
10832 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
10834         * international/titdic-cnv.el: Remove duplicate coding tag.
10835         * language/cham.el: Likewise.
10836         * language/tai-viet.el: Likewise.
10838 2012-02-18  Glenn Morris  <rgm@gnu.org>
10840         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10841         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10842         (calendar-bahai-all-holidays-flag, calendar-other-dates):
10843         * calendar/diary-lib.el (diary-abbreviated-year-flag):
10844         * calendar/holidays.el (holiday-bahai-holidays)
10845         (calendar-holidays, list-holidays):
10846         Use utf-8 Bahá'í in doc-strings, menus, etc.
10848 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
10850         * saveplace.el (save-place-ignore-files-regexp): New variable
10851         allowing for excluding files from saving their location of point.
10852         The default value matches the temporary commit message editing
10853         files from Git, SVN, Bazaar, and Mercurial.
10854         (save-place-to-alist): Use it.
10856 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
10857             Stefan Monnier  <monnier@iro.umontreal.ca>
10859         * newcomment.el (uncomment-region-default): Don't leave extra space
10860         when an arg is provided (bug#8150).
10862 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
10864         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10866 2012-02-17  Glenn Morris  <rgm@gnu.org>
10868         * net/socks.el: Require network-stream.  (Bug#10599)
10870 2012-02-17  Kenichi Handa  <handa@m17n.org>
10872         * international/charprop.el:
10873         * international/uni-name.el:
10874         * international/uni-old-name.el:
10875         * international/uni-comment.el: Regenerate.
10877 2012-02-16  Glenn Morris  <rgm@gnu.org>
10879         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10880         Interactively in calendar buffer, give an error if not on a date.
10882 2012-02-15  Glenn Morris  <rgm@gnu.org>
10884         * shell.el (shell-delimiter-argument-list):
10885         Revert 2011-02-17 change.  (Bug#8027)
10887 2012-02-15  Chong Yidong  <cyd@gnu.org>
10889         * minibuffer.el (completion-at-point-functions): Doc fix.
10891         * custom.el (defcustom): Doc fix; note use of defvar.
10893 2012-02-15  Glenn Morris  <rgm@gnu.org>
10895         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10896         Doc fixes.
10898 2012-02-14  Glenn Morris  <rgm@gnu.org>
10900         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10902 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
10904         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10905         way the ports list is computed.
10906         (smtpmail-query-smtp-server): Prompt the user for a port number if
10907         we can't connect to any of the standard ports (bug#10810).
10909 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
10911         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10913 2012-02-13  Glenn Morris  <rgm@gnu.org>
10915         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
10917 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
10919         * net/gnutls.el (gnutls-trustfiles): New variable.
10920         (gnutls-negotiate): Use it.
10922 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
10924         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10925         does its stuff if Gnus is running.
10927 2012-02-13  Alan Mackenzie  <acm@muc.de>
10929         Fix a loop in c-set-fl-decl-start.
10931         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10932         c-backward-syntactic-ws actually moves backwards.
10934 2012-02-13  Leo Liu  <sdl.web@gmail.com>
10936         * net/rcirc.el (rcirc-markup-attributes): Move point to the
10937         beginning so that all \C-o chars are removed.
10939 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
10941         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10943 2012-02-12  Alan Mackenzie  <acm@muc.de>
10945         Fix infinite loop with long macros.
10946         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10948 2012-02-12  Chong Yidong  <cyd@gnu.org>
10950         * window.el (display-buffer): Doc fix (Bug#10785).
10952 2012-02-12  Glenn Morris  <rgm@gnu.org>
10954         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10955         (x-disown-selection-internal, x-get-selection-internal):
10956         Sync docs with the xselect.c versions.
10958         * allout-widgets.el: Add missing license notice.
10960 2012-02-11  Glenn Morris  <rgm@gnu.org>
10962         * select.el (x-get-selection-internal, x-own-selection-internal)
10963         (x-disown-selection-internal):
10964         * x-dnd.el (x-get-selection-internal): Update declarations.
10966         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10968         * window.el (window-sides-slots):
10969         * tool-bar.el (tool-bar-position):
10970         * term/xterm.el (xterm-extra-capabilities):
10971         * ses.el (ses-self-reference-early-detection):
10972         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10973         (verilog-auto-wire-type)
10974         (verilog-auto-delete-trailing-whitespace)
10975         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10976         (verilog-auto-tieoff-declaration):
10977         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10978         (sql-oracle-statement-starters, sql-oracle-scan-on):
10979         * progmodes/prolog.el (prolog-align-comments-flag)
10980         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10981         (prolog-left-indent-regexp, prolog-paren-indent-p)
10982         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10983         (prolog-types, prolog-mode-specificators)
10984         (prolog-determinism-specificators, prolog-directives)
10985         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10986         (prolog-electric-dot-flag)
10987         (prolog-electric-dot-full-predicate-template)
10988         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10989         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10990         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10991         (prolog-program-switches, prolog-prompt-regexp)
10992         (prolog-debug-on-string, prolog-debug-off-string)
10993         (prolog-trace-on-string, prolog-trace-off-string)
10994         (prolog-zip-on-string, prolog-zip-off-string)
10995         (prolog-use-standard-consult-compile-method-flag)
10996         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10997         (prolog-imenu-max-lines, prolog-info-predicate-index)
10998         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10999         (prolog-char-quote-workaround):
11000         * progmodes/cc-vars.el (c-defun-tactic):
11001         * net/tramp.el (tramp-encoding-command-interactive)
11002         (tramp-local-end-of-line):
11003         * net/soap-client.el (soap-client):
11004         * net/netrc.el (netrc-file):
11005         * net/gnutls.el (gnutls):
11006         * minibuffer.el (completion-category-overrides)
11007         (completion-cycle-threshold)
11008         (completion-pcm-complete-word-inserts-delimiters):
11009         * man.el (Man-name-local-regexp):
11010         * mail/feedmail.el (feedmail-display-full-frame):
11011         * international/characters.el (glyphless-char-display-control):
11012         * eshell/em-ls.el (eshell-ls-date-format):
11013         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11014         (lisp-lambda-list-keyword-parameter-indentation)
11015         (lisp-lambda-list-keyword-parameter-alignment):
11016         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11017         * dired-x.el (dired-omit-verbose):
11018         * cus-theme.el (custom-theme-allow-multiple-selections):
11019         * calc/calc.el (calc-highlight-selections-with-faces)
11020         (calc-lu-field-reference, calc-lu-power-reference)
11021         (calc-note-threshold):
11022         * battery.el (battery-mode-line-limit):
11023         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11024         (archive-7z-update):
11025         * allout.el (allout-prefixed-keybindings)
11026         (allout-unprefixed-keybindings)
11027         (allout-inhibit-auto-fill-on-headline)
11028         (allout-flattened-numbering-abbreviation):
11029         * allout-widgets.el (allout-widgets-auto-activation)
11030         (allout-widgets-icons-dark-subdir)
11031         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11032         (allout-widgets-theme-dark-background)
11033         (allout-widgets-theme-light-background)
11034         (allout-widgets-item-image-properties-emacs)
11035         (allout-widgets-item-image-properties-xemacs)
11036         (allout-widgets-run-unit-tests-on-load)
11037         (allout-widgets-time-decoration-activity)
11038         (allout-widgets-hook-error-post-time)
11039         (allout-widgets-track-decoration):
11040         Add missing :version tags to new defcustoms and defgroups.
11042         * progmodes/sql.el (sql-ansi-statement-starters)
11043         (sql-oracle-statement-starters): Add custom type.
11045         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11046         (prolog-system-version): Give it a type.
11048 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
11050         * term/pc-win.el (x-select-text, x-selection-owner-p)
11051         (x-own-selection-internal, x-disown-selection-internal)
11052         (x-get-selection-internal): Sync doc strings and argument lists
11053         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
11055 2012-02-11  Leo Liu  <sdl.web@gmail.com>
11057         * progmodes/python.el (python-end-of-statement): Fix infinite
11058         loop.  (Bug#10788)
11060 2012-02-10  Glenn Morris  <rgm@gnu.org>
11062         * international/mule-cmds.el (unify-8859-on-encoding-mode)
11063         (unify-8859-on-decoding-mode): Properly mark as obsolete.
11065 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
11067         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11068         about SMTP before checking the From header.
11070         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11071         into own function for reuse by emacsbug.el.
11073 2012-02-10  Leo Liu  <sdl.web@gmail.com>
11075         * subr.el (condition-case-unless-debug): Rename from
11076         condition-case-no-debug.  All callers changed.
11077         (with-demoted-errors): Fix caller.
11079         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11080         * nxml/rng-valid.el (rng-do-some-validation):
11081         * emacs-lisp/package.el (package-refresh-contents)
11082         (package-menu-execute):
11083         * desktop.el (desktop-create-buffer):
11084         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11086 2012-02-10  Glenn Morris  <rgm@gnu.org>
11088         * textmodes/bibtex.el:
11089         Add missing :version tags for new/changed defcustoms.
11091         * files.el (remote-file-name-inhibit-cache): Doc fixes.
11093 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
11095         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11096         (smtpmail-via-smtp): Use it, or fall back on the From address.
11097         (smtpmail-send-it): Ditto.
11099 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11101         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11102         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
11103         (byte-compile-tmp-var): New const.
11104         (byte-compile-defvar): Use it to minimize .elc size.
11105         Just use `defvar' rather than simulate it (bug#10761).
11107 2012-02-09  Glenn Morris  <rgm@gnu.org>
11109         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
11111         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11112         Add :version tags.
11114         * progmodes/compile.el (compilation-error-screen-columns)
11115         (compilation-first-column, compilation-filter-start): Doc fixes.
11117         * vc/log-view.el (log-view-toggle-entry-display):
11118         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11120         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11121         (report-emacs-bug-can-use-xdg-email):
11122         (report-emacs-bug-insert-to-mailer): Doc fixes.
11123         (report-emacs-bug): Message fix.
11125         * net/browse-url.el (browse-url-can-use-xdg-open)
11126         (browse-url-xdg-open): Doc fixes.
11128         * electric.el (electric-indent-mode, electric-pair-mode)
11129         (electric-layout-rules, electric-layout-mode): Doc fixes.
11130         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11132 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
11134         * server.el (server-unselect-display): Don't inadvertently kill
11135         the current buffer.  (Bug#10729)
11137 2012-02-08  Glenn Morris  <rgm@gnu.org>
11139         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11140         (sql-list-table): Doc fixes.
11142         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11143         Comment out (does nothing).
11145         * completion.el (dynamic-completion-mode):
11146         * dirtrack.el (dirtrack-debug-mode):
11147         * electric.el (electric-layout-mode):
11148         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11149         * face-remap.el (text-scale-mode, buffer-face-mode):
11150         * iimage.el (iimage-mode):
11151         * image-mode.el (image-transform-mode):
11152         * minibuffer.el (completion-in-region-mode):
11153         * scroll-lock.el (scroll-lock-mode):
11154         * simple.el (next-error-follow-minor-mode):
11155         * tar-mode.el (tar-subfile-mode):
11156         * tooltip.el (tooltip-mode):
11157         * vcursor.el (vcursor-use-vcursor-map):
11158         * wid-browse.el (widget-minor-mode):
11159         * emulation/tpu-edt.el (tpu-edt-mode):
11160         * emulation/tpu-extras.el (tpu-cursor-free-mode):
11161         * international/iso-ascii.el (iso-ascii-mode):
11162         * language/thai-util.el (thai-word-mode):
11163         * mail/supercite.el (sc-minor-mode):
11164         * net/goto-addr.el (goto-address-mode):
11165         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11166         * progmodes/cwarn.el (cwarn-mode):
11167         * progmodes/flymake.el (flymake-mode):
11168         * progmodes/glasses.el (glasses-mode):
11169         * progmodes/hideshow.el (hs-minor-mode):
11170         * progmodes/pascal.el (pascal-outline-mode):
11171         * textmodes/enriched.el (enriched-mode):
11172         * vc/smerge-mode.el (smerge-mode):
11173         Doc fixes (minor mode argument).
11175 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
11177         * ls-lisp.el (ls-lisp-sanitize): New function.
11178         (ls-lisp-insert-directory): Use it to fix or remove any elements
11179         in file-alist with missing attributes.  (Bug#4673)
11181 2012-02-07  Alan Mackenzie  <acm@muc.de>
11183         Fix spurious recognition of c-in-knr-argdecl.
11185         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11186         putative K&R region.
11188 2012-02-07  Alan Mackenzie  <acm@muc.de>
11190         * progmodes/cc-engine.el (c-forward-objc-directive):
11191         Prevent looping in "#pragma mark @implementation".
11193 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
11195         * notifications.el (notifications-on-closed-signal): Make `reason'
11196         optional.  (Bug#10744)
11198 2012-02-07  Glenn Morris  <rgm@gnu.org>
11200         * emacs-lisp/easy-mmode.el (define-minor-mode):
11201         Doc fixes for the macro and the mode it defines.
11203         * image.el (imagemagick-types-inhibit): Doc fix.
11205         * cus-start.el (imagemagick-render-type): Add it.
11207 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
11209         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11210         Set the default at load time, too, so that `font-lock-fontify-buffer'
11211         can be called without setting up the entire mode first.  This fixes
11212         a bug in `mm-inline-text' with C MIME parts.
11214 2012-02-06  Chong Yidong  <cyd@gnu.org>
11216         * simple.el (list-processes--refresh): Delete exited processes
11217         (Bug#8094).
11219         * comint.el (comint-next-prompt): next-single-char-property-change
11220         and prev-single-char-property-change never return nil (Bug#8657).
11222         * custom.el (defcustom): Doc fix (Bug#9711).
11224 2012-02-05  Chong Yidong  <cyd@gnu.org>
11226         * cus-edit.el (custom-variable-reset-backup): Quote the value
11227         before storing it in the customized-value property (Bug#6712).
11228         (custom-display): Add a customization type tag.
11229         (custom-buffer-create-internal): Improve tooltip message.
11231         * wid-edit.el (widget-field-value-get): New optional arg to
11232         suppress trailing whitespace truncation.
11233         (character): Use it (Bug#2689).
11235 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
11237         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11238         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11240 2012-02-05  Chong Yidong  <cyd@gnu.org>
11242         * cus-edit.el (custom-variable-value-create): For mismatched
11243         types, show the current value (Bug#7600).
11245         * custom.el (defcustom): Doc fix.
11247 2012-02-05  Glenn Morris  <rgm@gnu.org>
11249         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11251 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
11253         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11254         (pp-buffer): Use `ignore-errors', `looking-at-p'.
11255         (pp-last-sexp): Use `looking-at-p'.
11257 2012-02-04  Glenn Morris  <rgm@gnu.org>
11259         * files.el (revert-buffer):
11260         Doc fix (mention revert-buffer-in-progress-p).
11262         * emacs-lisp/ert-x.el (ert-simulate-command):
11263         Check deferred-action-list (which is obsolete) is bound.
11265         * subr.el (with-wrapper-hook): Doc fixes.
11267         * simple.el (filter-buffer-substring-functions)
11268         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11270 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
11272         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11273         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
11275 2012-02-04  Leo Liu  <sdl.web@gmail.com>
11277         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11279 2012-02-04  Glenn Morris  <rgm@gnu.org>
11281         * image.el (image-extension-data): Add obsolete alias.
11283         * isearch.el (isearch-update): Doc fix.
11285         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11287         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11289 2012-02-03  Glenn Morris  <rgm@gnu.org>
11291         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
11292         (image-animate-timeout): Doc fix.
11294         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11296 2012-02-02  Glenn Morris  <rgm@gnu.org>
11298         * server.el (server-auth-dir): Doc fix.
11299         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
11301         * subr.el (run-mode-hooks): Doc fix.
11303 2012-02-02  Juri Linkov  <juri@jurta.org>
11305         * image-mode.el (image-toggle-display-image): Remove tautological
11306         `major-mode' from the `derived-mode-p' test.
11308 2012-02-02  Kenichi Handa  <handa@m17n.org>
11310         * composite.el (compose-region): Cancel previous change.
11312 2012-02-02  Kenichi Handa  <handa@m17n.org>
11314         * composite.el (compose-region, compose-string): Signal error for
11315         a null string component (Bug#6988).
11317 2012-02-01  Chong Yidong  <cyd@gnu.org>
11319         * view.el (view-buffer-other-window, view-buffer-other-frame):
11320         Handle special modes like view-buffer (Bug#10650).
11321         (view-buffer): Simplify.
11323         * frame.el (set-frame-font): Tweak meaning of third argument.
11325         * dynamic-setting.el (font-setting-change-default-font):
11326         Use set-frame-font (Bug#9982).
11328 2012-02-01  Glenn Morris  <rgm@gnu.org>
11330         * progmodes/compile.el (compilation-internal-error-properties):
11331         Respect compilation-first-column in the "*compilation*" buffer.
11333         * emacs-lisp/easy-mmode.el (define-minor-mode):
11334         Relax :variable's test for a named function.
11336 2012-01-31  Alan Mackenzie  <acm@muc.de>
11338         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11339         off by one error.
11341 2012-01-31  Chong Yidong  <cyd@gnu.org>
11343         * frame.el (set-frame-font): New arg ALL-FRAMES.
11345         * menu-bar.el (menu-set-font): Use set-frame-font.
11347         * faces.el (face-spec-reset-face): Don't apply unspecified
11348         attribute values to the default face.
11350 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
11352         * progmodes/cwarn.el (cwarn): Remove dead link.
11353         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11354         Remove * from defcustom docstrings.
11355         (turn-on-cwarn-mode): Make obsolete.
11356         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11357         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11359 2012-01-31  Glenn Morris  <rgm@gnu.org>
11361         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11362         Fix :variable handling of mode a symbol not equal to modefun.
11363         Allow named functions to be used as the cdr of :variable.
11365 2012-01-30  Glenn Morris  <rgm@gnu.org>
11367         * emacs-lisp/authors.el (authors-fixed-entries):
11368         Remove reference to deleted file rnewspost.el.
11370 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
11372         * window.el (window-with-parameter): Remove unused variable `windows'.
11373         (window--side-check): Remove unused variable `code'.
11374         (window--resize-siblings): Remove unused variable `first'.
11375         (adjust-window-trailing-edge): Remove unused variable `failed'.
11376         (window-deletable-p, window--delete): Remove unused variable `buffer'.
11377         Use `let', not `let*'.
11378         (balance-windows-2): Remove unused variable `found'.
11379         (window--state-put-2): Remove unused variable `splits'.
11380         (window-state-put): Remove unused variable `selected'.
11381         (same-window-p): Use `string-match-p'.
11382         (display-buffer-assq-regexp): Remove unused variable `value'.
11383         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11384         Mark argument ALIST as ignored.
11385         (pop-to-buffer): Remove unused variable `old-window'.
11387 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
11389         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11390         and .lzma compressed files.
11392 2012-01-29  Chong Yidong  <cyd@gnu.org>
11394         * frame.el (window-system-default-frame-alist): Doc fix.
11396         * dynamic-setting.el (font-setting-change-default-font): Don't
11397         change the default face if SET-FONT argument is non-nil (Bug#9982).
11399 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
11401         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11403 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
11405         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11406         breakpoints in files outside current directory (Bug#6098).
11408 2012-01-29  Chong Yidong  <cyd@gnu.org>
11410         * progmodes/python.el: Require ansi-color at top-level.
11412         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11413         Define and use in Emacs Lisp mode (Bug#9360).
11414         (lisp-mode-abbrev-table): Add doc.
11415         (lisp-mode-variables): Don't set local-abbrev-table.
11416         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11418 2012-01-28  Roland Winkler  <winkler@gnu.org>
11420         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11422 2012-01-28  Roland Winkler  <winkler@gnu.org>
11424         * textmodes/bibtex.el (bibtex-entry-alist): New function.
11425         (bibtex-set-dialect): Use it.  Either set global values of
11426         dialect-dependent variables or bind these variables buffer-locally
11427         (Bug#10254).
11428         (bibtex-mode): Call bibtex-set-dialect via
11429         hack-local-variables-hook.
11430         (bibtex-dialect): Update docstring.
11431         Add safe-local-variable predicate.
11432         (bibtex-entry-alist, bibtex-field-alist): Initialize via
11433         bibtex-set-dialect.
11434         (bibtex-mode-map): Define menu for each dialect.
11435         (bibtex-entry): Fix docstring.
11437 2012-01-28  Chong Yidong  <cyd@gnu.org>
11439         * eshell/esh-arg.el (eshell-quote-argument): New function.
11441         * eshell/esh-ext.el (eshell-invoke-batch-file):
11442         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11443         first arg to eshell-parse-command (Bug#10523).
11445 2012-01-28  Drew Adams  <drew.adams@oracle.com>
11447         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11448         `default-directory' is non-nil.
11450 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
11452         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11453         line that displays system-configuration-options.  (Bug#9924)
11455 2012-01-28  Drew Adams  <drew.adams@oracle.com>
11457         * descr-text.el (describe-char): Show information about POS, in
11458         addition to information about the character at POS.  Improve and
11459         update the doc string.  Change "code point" to "code point in
11460         charset", to avoid confusion with the character's Unicode code
11461         point shown above that.  (Bug#10129)
11463 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
11465         * descr-text.el (describe-char): Show the raw character, not only
11466         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
11467         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11468         for the reasons.
11470 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
11472         * emacs-lisp/package.el (package-install):
11473         Run package-refresh-contents if there is no archive yet (Bug#9798).
11475 2012-01-28  Chong Yidong  <cyd@gnu.org>
11477         * emacs-lisp/package.el (package-maybe-load-descriptor):
11478         New function, split from package-maybe-load-descriptor.
11479         (package-maybe-load-descriptor): Use it.
11480         (package-download-transaction): Fully load required packages
11481         inside the loop, so that `require' calls work (Bug#10593).
11482         (package-install): No need to call package-initialize now.
11484 2012-01-28  Chong Yidong  <cyd@gnu.org>
11486         * simple.el (deactivate-mark): Doc fix (Bug#8614).
11488         * tooltip.el (tooltip-mode): Doc fix.
11489         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11491         * frame.el (set-cursor-color): Doc fix (Bug#352).
11493         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11494         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11496         * cus-edit.el (custom-buffer-create-internal): Fix search button
11497         action (Bug#10542).
11498         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11500 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
11502         * dired.el (dired-mark-files-regexp):
11503         Include any subdirectory components.  (Bug#10445)
11505 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
11507         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11508         Handle [host]:port syntax.  (Bug#10533)
11510 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
11512         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11514 2012-01-26  Glenn Morris  <rgm@gnu.org>
11516         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11517         * term.el (term-raw-escape-map): Use Control-X-prefix.
11518         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
11520 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
11522         * window.el (window-state-get, window--state-get-1): Don't deal
11523         with fixed-sizeness of windows.  Simplify code.
11525 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
11527         * window.el (window--state-get-1, window--state-put-2):
11528         Don't save and restore the mark.
11530 2012-01-25  Chong Yidong  <cyd@gnu.org>
11532         * custom.el (custom-variable-p): Doc fix.
11534 2012-01-25  Glenn Morris  <rgm@gnu.org>
11536         * dired.el (dired-goto-file): Handle some of the more common
11537         characters that `ls -b' escapes.  (Bug#10596)
11539         * progmodes/compile.el (compilation-next-error-function):
11540         Respect compilation-first-column in the "*compilation*" buffer.
11541         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
11543         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
11545 2012-01-24  Glenn Morris  <rgm@gnu.org>
11547         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
11549 2012-01-24  Julien Danjou  <julien@danjou.info>
11551         * color.el (color-rgb-to-hsl): Fix value computing.
11552         (color-hue-to-rgb): New function.
11553         (color-hsl-to-rgb): New function.
11554         (color-clamp, color-saturate-hsl, color-saturate-name)
11555         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11556         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11558 2012-01-24  Glenn Morris  <rgm@gnu.org>
11560         * vc/vc-rcs.el (vc-rcs-create-tag):
11561         * vc/vc-sccs.el (vc-sccs-create-tag):
11562         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
11564 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
11566         * eshell/esh-util.el (eshell-read-hosts-file):
11567         Skip comment lines.  (Bug#10549)
11569         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
11571 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
11573         * subr.el (display-delayed-warnings): Doc fix.
11574         (collapse-delayed-warnings): New function to collapse identical
11575         adjacent warnings.
11576         (delayed-warnings-hook): Add it.
11578 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
11580         * net/tramp.el (tramp-action-login): Set connection property "login-as".
11582         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11583         (tramp-default-user-alist): Don't add "pscp".
11584         (tramp-do-copy-or-rename-file-out-of-band): Use connection
11585         property "login-as", if set.  (Bug#10530)
11587 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
11589         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11590         "plink1" and "psftp".  (Bug#10530)
11592 2012-01-21  Kenichi Handa  <handa@m17n.org>
11594         * international/mule-cmds.el (prefer-coding-system): Show a
11595         warning message if the default value of file-name-coding-system
11596         was not changed.
11598 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
11600         * windmove.el (windmove-reference-loc):
11601         Fix windmove-reference-loc miscalculation.
11603 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
11605         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11606         default unit.
11608 2012-01-21  Glenn Morris  <rgm@gnu.org>
11610         * international/mule.el (auto-coding-alist): Add .tbz.
11612         * files.el (local-enable-local-variables): Doc fix.
11613         (inhibit-local-variables-regexps): Rename from
11614         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
11615         Doc fix.  Add some extensions from auto-coding-alist.
11616         (inhibit-local-variables-suffixes):
11617         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
11618         (inhibit-local-variables-p):
11619         New function, extracted from set-auto-mode-1.
11620         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
11621         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
11622         (hack-local-variables): Doc fix.  Make the mode-only case
11623         respect enable-local-variables and friends.
11624         Respect inhibit-local-variables-regexps for file-locals, but
11625         not for directory-locals.
11626         (set-visited-file-name):
11627         Take account of inhibit-local-variables-regexps.
11628         Whether it applies may change as the file name is changed.
11629         * jka-cmpr-hook.el (jka-compr-install):
11630         * jka-compr.el (jka-compr-uninstall):
11631         Update for inhibit-first-line-modes-suffixes name change.
11633 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
11635         * help-macro.el (make-help-screen): Temporarily restore original
11636         binding for minor-mode-map-alist (Bug#10454).
11638 2012-01-19  Julien Danjou  <julien@danjou.info>
11640         * color.el (color-name-to-rgb): Use the white color to find the max
11641         color component value and return correctly computed values.
11642         (color-name-to-rgb): Add missing float conversion for max value.
11644 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
11646         * window.el (window--state-get-1, window-state-get): Do not use
11647         special state value for window-persistent-parameters.
11648         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
11649         (window--state-put-2): Reset all window parameters to nil before
11650         assigning values of persistent parameters.
11652 2012-01-18  Alan Mackenzie  <acm@muc.de>
11654         Eliminate sluggishness and hangs in fontification of "semicolon
11655         deserts".
11657         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11658         Change value 10000 -> 3000.
11659         (c-state-safe-place): Reformulate so it doesn't stack up an
11660         infinite number of wrong entries in c-state-nonlit-pos-cache.
11661         (c-determine-limit-get-base, c-determine-limit): New functions to
11662         determine backward search limits disregarding literals.
11663         (c-find-decl-spots): Amend commenting.
11664         (c-cheap-inside-bracelist-p): New function which detects "={".
11666         * progmodes/cc-fonts.el
11667         (c-make-font-lock-BO-decl-search-function): Give a limit to a
11668         backward search.
11669         (c-font-lock-declarations): Fix an occurrence of point being
11670         undefined.  Check additionally for point being in a bracelist or
11671         near a macro invocation without a semicolon so as to avoid a
11672         fruitless time consuming search for a declarator.  Give a more
11673         precise search limit for declarators using the new
11674         c-determine-limit.
11676 2012-01-18  Glenn Morris  <rgm@gnu.org>
11678         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11679         (set-auto-mode): Doc fixes.
11681 2012-01-17  Glenn Morris  <rgm@gnu.org>
11683         * isearch.el (search-nonincremental-instead): Fix doc typo.
11685         * dired.el (dired-insert-directory): Handle newlines in directory name.
11686         (dired-build-subdir-alist): Unescape newlines in directory name.
11688 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
11690         * net/tramp.el (tramp-local-end-of-line): New defcustom.
11691         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11692         (tramp-action-terminal): Use it.  (Bug#10530)
11694 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11696         * minibuffer.el (completion--replace): Strip properties (bug#10062).
11698 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
11700         * window.el (window-state-ignored-parameters): Remove variable.
11701         (window--state-get-1): Rename argument MARKERS to IGNORE.
11702         Handle persistent window parameters.  Make copy of clone-of
11703         parameter only if requested.  (Bug#10348)
11704         (window--state-put-2): Install a window parameter only if it has
11705         a non-nil value or an existing parameter shall be overwritten.
11707 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
11709         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11711 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
11713         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11714         don't pass the (nil) value of `upnode' to string-match.
11716 2012-01-14  Chong Yidong  <cyd@gnu.org>
11718         * startup.el (command-line): Fix X resource class for cursorColor.
11719         Fix values recognized by the cursorBlink resource.
11721 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
11723         * epg.el (epg--make-temp-file): Avoid permission race condition
11724         when running on old Emacs versions (bug#10403).
11726 2012-01-14  Glenn Morris  <rgm@gnu.org>
11728         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11730 2012-01-13  Alan Mackenzie  <acm@muc.de>
11732         Fix filling for when filladapt mode is enabled.
11734         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11735         c-mask-paragraph, pass in `fill-paragraph' rather than
11736         `fill-region-as-paragraph'.  (This is a reversion of a previous
11737         change.)
11738         * progmodes/cc-mode.el (c-basic-common-init):
11739         Make fill-paragraph-handle-comment buffer local and set it to nil.
11741 2012-01-13  Glenn Morris  <rgm@gnu.org>
11743         * dired.el (dired-switches-escape-p): New function.
11744         (dired-insert-directory): Use dired-switches-escape-p.
11745         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
11747         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
11749 2012-01-12  Glenn Morris  <rgm@gnu.org>
11751         * mail/sendmail.el (mail-mode): Update paragraph-separate for
11752         changes in adaptive-fill-regexp.  (Bug#10276)
11754 2012-01-11  Alan Mackenzie  <acm@muc.de>
11756         Fix Emacs bug #10463 - put `widen's around the critical spots.
11758         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11759         widen around each invocation of c-state-pp-to-literal.  Remove an
11760         unused let variable.
11762 2012-01-11  Glenn Morris  <rgm@gnu.org>
11764         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
11765         Doc fix.
11767 2012-01-10  Chong Yidong  <cyd@gnu.org>
11769         * net/network-stream.el (network-stream-open-starttls):
11770         Avoid emitting a confusing error message when the server gives a bad
11771         response to the capability command.
11773 2012-01-10  Glenn Morris  <rgm@gnu.org>
11775         * mail/unrmail.el (unrmail): Tweak previous change.
11777 2012-01-09  Chong Yidong  <cyd@gnu.org>
11779         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11781 2012-01-08  Alan Mackenzie  <acm@muc.de>
11783         Optimise font locking in long enum definitions.
11785         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11786         arm to a cond form to handle enums.
11787         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11788         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11790 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11792         * files.el (move-file-to-trash): Preserve default file modes on error.
11793         (Bug#10401)
11795 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11797         * faces.el (set-face-attribute): Clarify the meaning of the nil
11798         frame (bug#10294).
11800         * subr.el (with-selected-frame): Mention that the selected frame
11801         is restored (bug#9980).
11803         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11804         (bug#9759).
11806         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11807         (password-read): Don't autoload unused function.
11809 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
11811         * progmodes/which-func.el (which-func-mode): Turn into a
11812         non-interactive function and mark as obsolete (bug#10428).
11814 2012-01-06  Chong Yidong  <cyd@gnu.org>
11816         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11817         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11818         functions, along with 1 and -1.
11820 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
11822         * time.el (display-time-load-average)
11823         (display-time-default-load-average): Doc fixes.  See the thread
11824         starting at
11825         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11826         for the details.
11828 2012-01-06  Glenn Morris  <rgm@gnu.org>
11830         * mail/unrmail.el (unrmail): Give an explicit error if the input file
11831         has no messages.  (Bug#10377)
11833         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11834         than Info-edit.  (Bug#10385)
11836         * time.el (display-time-load-average, display-time-next-load-average):
11837         Doc fixes.
11839         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11840         local setting of buffer-read-only to the input buffer.  (Bug#10419)
11842         * calendar/calendar.el (calendar-mode):
11843         Locally set scroll-margin to 0.  (Bug#10379)
11845 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
11847         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
11849 2012-01-05  Glenn Morris  <rgm@gnu.org>
11851         * eshell/em-unix.el (diff-no-select): Autoload it.
11852         (eshell/diff): Use diff-no-select.  (Bug#10420)
11854 2012-01-05  Chong Yidong  <cyd@gnu.org>
11856         * shell.el (shell-dynamic-complete-functions): Revert last change.
11857         (shell-command-completion-function): New function.
11858         (shell-completion-vars): Use it to implement
11859         shell-completion-execonly (Bug#10417).
11861         * custom.el (enable-theme): Don't set custom-safe-themes.
11863         * cus-theme.el (custom-theme-merge-theme):
11864         Ignore custom-enabled-themes and custom-safe-themes.
11866 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
11868         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11869         first prompt in `sql-interacive-mode'.
11870         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11871         keywords.
11872         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11873         (sql-product-interactive): Bug fix: Set `sql-buffer' in
11874         context of original buffer.  Invoke `sql-login-hook'.
11876 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
11878         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11879         letters in cite-prefix.
11881 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11883         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11885 2012-01-03  Chong Yidong  <cyd@gnu.org>
11887         * shell.el (shell-dynamic-complete-functions):
11888         Put pcomplete-completions-at-point, so as to try
11889         comint-filename-completion first (Bug#10417).
11891 2012-01-02  Richard Stallman  <rms@gnu.org>
11893         * battery.el (battery-status-function):
11894         Detect when to use battery-yeeloong-sysfs.
11895         (battery-echo-area-format): Add string for Yeeloong.
11896         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11897         (battery-yeeloong-sysfs): New function.
11899 2012-01-02  Chong Yidong  <cyd@gnu.org>
11901         * dirtrack.el (dirtrack-list): Eliminate unused third element.
11902         (dirtrack): Merge code for handling relative filenames in prompt
11903         from shell-dir-cookie-watcher.
11904         (dirtrack-debug-message): New arg to avoid excess format calls.
11906         * shell.el (shell-dir-cookie-re): Variable deleted.
11907         (shell-dir-cookie-watcher): Function deleted.
11908         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11909         with dirtrack-mode.
11911 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
11913         * term/w32-win.el (dynamic-library-alist) <gnutls>:
11914         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11915         libgnutls-26.dll.
11917 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
11919         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11921 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
11923         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11924         headers of non-MIME messages, when rmail-enable-mime is non-nil.
11926 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
11928         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11929         also for alternative shells.
11930         (tramp-open-connection-setup-interactive-shell): Check, whether
11931         the shell is a busybox.
11932         (tramp-send-command): Don't suppress multiple prompts for
11933         busyboxes, it hurts.
11935 2011-12-28  Chong Yidong  <cyd@gnu.org>
11937         * progmodes/gdb-mi.el (gdb-get-source-file-list)
11938         (gdb-get-source-file): Move mode line update to
11939         gdb-get-source-file (Bug#10087).
11941 2011-12-25  Chong Yidong  <cyd@gnu.org>
11943         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11944         gud-gdb-marker-filter without taking it as an argument.
11945         (gud-gdb-run-command-fetch-lines): Caller changed.
11946         (gud-gdb-completion-function): New variable.
11947         (gud-gdb-completion-at-point): Use it.
11948         (gud-gdb-completions-1): Split from gud-gdb-completions.
11950         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11951         function as separate arguments.
11952         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11953         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11954         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11955         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11956         (gdb-stopped, def-gdb-auto-update-trigger)
11957         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11958         (gdb-get-changed-registers, gdb-get-main-selected-frame):
11959         Callers changed.
11960         (gud-gdbmi-completions): New function.
11961         (gdb): Use it for generating the completion table.
11963 2011-12-24  Alan Mackenzie  <acm@muc.de>
11965         Introduce a mechanism to widen the region used in context font
11966         locking.  Use this to protect declarations from losing their contexts.
11968         * progmodes/cc-langs.el (c-before-font-lock-functions):
11969         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11970         (c-before-context-fontification-functions): New defvar, a list of
11971         functions to be run just before context (etc.) font locking.
11973         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11974         New, functionality extracted from
11975         c-neutralize-syntax-in-and-mark-CPP.
11976         (c-in-after-change-fontification): New variable.
11977         (c-after-change): Set c-in-after-change-fontification.
11978         (c-set-fl-decl-start): Rejig its interface, so it can be called
11979         from both after-change and context fontifying.
11980         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11981         New functions.
11982         (c-standard-font-lock-fontify-region-function): New variable.
11983         (c-font-lock-fontify-region): New function.
11985 2011-12-24  Juri Linkov  <juri@jurta.org>
11987         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11988         (Bug#10348)
11990 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
11992         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11993         existence of source file.  (Bug#10325)
11995 2011-12-23  Alan Mackenzie  <acm@muc.de>
11997         Fix unstable fontification inside templates.
11999         * progmodes/cc-langs.el (c-before-font-lock-functions):
12000         Newly created from the singular version.  The (c c++ objc) entry now
12001         additionally has c-set-fl-decl-start.  The other languages (apart
12002         from AWK) have that as a single entry.
12004         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12005         The functionality for "local" declarations has been extracted to
12006         c-set-fl-decl-start.
12008         * progmodes/cc-mode.el (c-common-init, c-after-change):
12009         Changes due to pluralisation of c-before-font-lock-functions.
12010         (c-set-fl-decl-start): New function, extracted from
12011         c-font-lock-enclosing-decls and enhanced.
12013 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
12015         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12017 2011-12-22  Juri Linkov  <juri@jurta.org>
12019         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
12021 2011-12-22  Chong Yidong  <cyd@gnu.org>
12023         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12025 2011-12-21  Drew Adams  <drew.adams@oracle.com>
12027         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
12029 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
12031         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12033 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
12035         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
12036         highlighting and support.  Fix up comments for capitalization.
12037         (cfengine-mode-debug): New var.
12038         (cfengine3-mode): Change the modeline indicator to "CFE3".
12039         (cfengine3-font-lock-keywords): Improve defun highlighting.
12040         (cfengine2-actions): Rename from `cfengine-actions'.
12041         (cfengine2-font-lock-keywords): Rename from
12042         `cfengine-font-lock-keywords'.
12043         (cfengine2-imenu-expression): Rename from
12044         `cfengine-imenu-expression'.
12045         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12046         (cfengine2-beginning-of-defun): Rename from
12047         `cfengine-beginning-of-defun'.
12048         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12049         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12050         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
12051         modeline indicator to "CFE2".
12052         (cfengine-mode): Defalias to `cfengine-auto-mode'.
12053         (cfengine-mode-abbrevs): Mark obsolete.
12055 2011-12-21  Chong Yidong  <cyd@gnu.org>
12057         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12058         filename argument.
12060 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
12062         * window.el (window-normalize-buffer-to-display): Remove.
12063         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12065 2011-12-19  Chong Yidong  <cyd@gnu.org>
12067         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12068         Don't signal an error in a predicate function; return non-nil.
12069         (vc-dir-mark-file): Move the error here.
12070         (vc-dir-mark-unmark): If acting on the region, keep going if one
12071         of the entries cannot be marked/unmarked.
12072         (vc-dir-mark-all-files): If current entry is a directory, mark
12073         only child files, as documented.
12075 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12077         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12078         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12079         addition.
12081 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
12083         * term/ns-win.el (ns-get-selection-internal)
12084         (ns-store-selection-internal): Declare.
12085         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12086         Declare as obsolete.
12087         (ns-get-pasteboard, ns-paste-secondary):
12088         Use ns-get-selection-internal.
12089         (ns-set-pasteboard, ns-copy-including-secondary):
12090         Use ns-store-selection-internal.
12092 2011-12-17  Chong Yidong  <cyd@gnu.org>
12094         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12095         (vc-deduce-fileset): Doc fix.
12097 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
12099         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12101 2011-12-13  Sam Steingold  <sds@gnu.org>
12103         * man.el (Man-getpage-in-background): When running under a
12104         window-system, ignore $MANWIDTH and $COLUMNS.
12106 2011-12-15  Kenichi Handa  <handa@m17n.org>
12108         * language/ethio-util.el: Change coding tag to utf-8-emacs.
12109         (setup-ethiopic-environment-internal): Comment out key-binding for
12110         ethio-toggle-punctuation.
12112 2011-12-13  Alan Mackenzie  <acm@muc.de>
12114         Add the switch statement to AWK Mode.
12116         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12117         "default" to the keywords regexp.
12119         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12120         expression as the rest.
12121         (c-nonlabel-token-key): Allow string literals for AWK.
12122         Refactor for the other modes.
12124         Large brace-block initialisation makes CC Mode slow: Fix.
12125         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12126         routines.  Limit backward searching in c-font-lock-enclosing.decl.
12128         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12129         pp-state and literal type in addition to the limits.
12130         (c-state-safe-place): New defun, extracted from c-state-literal-at.
12131         (c-state-literal-at): Use the above new defun.
12132         (c-slow-in-literal, c-fast-in-literal): Remove.
12133         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12135         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12136         being in a literal.  Add a limit for backward searching.
12138         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12139         c-slow-in-literal.
12141 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12143         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12145 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
12147         * window.el (delete-other-windows): Use correct frame in call to
12148         window-with-parameter.
12150 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
12152         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12153         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12154         (makefile-gmake-statements, makefile-makepp-statements):
12155         Use it and add new makepp keywords.
12156         (makefile-makepp-font-lock-keywords): Add new patterns.
12157         (makefile-match-function-end): Match new [...] and [[...]].
12159 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
12161         * ses.el (ses-call-printer-return, ses-cell-property-get)
12162         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12163         (ses-create-cell-variable, ses-reset-header-string)
12164         (ses-cell-set-formula, ses-repair-cell-reference-all)
12165         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12166         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12167         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12168         (ses-aset-with-undo, ses-load, ses-truncate-cell)
12169         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12170         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12171         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12172         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12173         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12174         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12175         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12176         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12178 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12180         * ses.el: The overall change is to add cell renaming, that is
12181         setting fancy names for cell symbols other than name matching
12182         "\\`[A-Z]+[0-9]+\\'" regexp .
12183         (ses-create-cell-variable): New defun.
12184         (ses-relocate-formula): Relocate formulas only for cells the
12185         symbols of which are not renamed, i.e. symbols whose names do not
12186         match regexp "\\`[A-Z]+[0-9]+\\'".
12187         (ses-relocate-all): Relocate values only for cells the symbols of
12188         which are not renamed.
12189         (ses-load): Create cells variables as the (ses-cell ...) are read,
12190         in order to check row col consistency with cell symbol name only
12191         for cells that are not renamed.
12192         (ses-replace-name-in-formula): New defun.
12193         (ses-rename-cell): New defun.
12195 2011-12-11  Chong Yidong  <cyd@gnu.org>
12197         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12198         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12200 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
12202         * window.el (other-window): Fix docstring.
12204 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12206         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12207         `from' or `to' address before taking its substring.
12208         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12209         encoded name is chopped in the middle of the encoded string, and
12210         thus displayed encoded.
12212 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
12214         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12216 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12218         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
12219         to use texinfo-update-node and commands that call it if the
12220         Texinfo file uses @node lines without next/prev/up pointers.
12221         Correct outdated description about texinfo-master-menu.
12222         (texinfo-all-menus-update, texinfo-master-menu)
12223         (texinfo-update-node, texinfo-every-node-update)
12224         (texinfo-multiple-files-update): Doc fix.  Warn against updating
12225         all the @node lines.
12226         (texinfo-master-menu): Only call texinfo-update-node if the prefix
12227         argument is numeric.  Explain better in the doc string what the
12228         function really does.
12229         (texinfo-insert-master-menu-list): Improve the error message
12230         displayed if there's no menu in the Top node.
12231         (Bug#2975)  See also this thread:
12232         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12234 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
12236         * speedbar.el (speedbar-supported-extension-expressions):
12237         Add .adb and .ads, commonly used for Ada source code (bug#10256).
12239 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
12241         * printing.el (pr-mode-alist):
12242         * simple.el (filter-buffer-substring-functions)
12243         (completion-list-insert-choice-function):
12244         * window.el (window-with-parameter, window-atom-root)
12245         (window-sides-slots, window-size-fixed, window-min-delta)
12246         (window-max-delta, window--resize-mini-window)
12247         (window--resize-child-windows-normal, window-tree)
12248         (delete-other-windows, quit-window, split-window)
12249         (display-buffer-record-window, special-display-buffer-names)
12250         (special-display-regexps, special-display-popup-frame)
12251         (same-window-p, split-window-sensibly)
12252         (display-buffer-overriding-action, display-buffer-alist)
12253         (display-buffer-base-action, display-buffer, switch-to-buffer)
12254         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12255         (fit-window-to-buffer, recenter-positions)
12256         (mouse-autoselect-window-state, mouse-autoselect-window-select):
12257         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12258         and remove unneeded backslashes in docstrings.
12260 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12262         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12264         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12265         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12266         end in ".mk".
12267         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12268         when reading the makefile (bug#10116).
12270 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12272         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12273         (bug#10116).
12275 2011-12-06  Glenn Morris  <rgm@gnu.org>
12277         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12279 2011-12-06  Chong Yidong  <cyd@gnu.org>
12281         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12283 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
12285         * textmodes/table.el (table-shorten-cell): Fix typo.
12287 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
12289         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12291 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
12293         * descr-text.el (describe-char): Fix display of strong
12294         right-to-left characters and directional embeddings and overrides.
12296         * simple.el (what-cursor-position): Fix display of codepoints of
12297         strong right-to-left characters.
12299 2011-12-05  Chong Yidong  <cyd@gnu.org>
12301         * faces.el (read-color): Doc fix.
12303 2011-12-05  Glenn Morris  <rgm@gnu.org>
12305         * align.el (align--set-marker): Add doc-string.
12306         Don't try to move something that is not a marker.  (Bug#10216)
12308 2011-12-04  Glenn Morris  <rgm@gnu.org>
12310         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12311         overly zealous deletion of trailing whitespace.
12313 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
12315         * server.el (server-delete-client): On Windows, do not try to delete
12316         the only terminal.
12317         (server-process-filter): On Windows, treat requests for a tty frame as
12318         if they were for a GUI frame if the running server is in GUI mode.
12320 2011-12-03  Glenn Morris  <rgm@gnu.org>
12322         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
12324 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12326         * electric.el: Streamline electric-indent's hook.
12327         (electric-indent-chars): Revert to simple list.
12328         (electric-indent-functions): New var.
12329         (electric-indent-post-self-insert-function): Use it.
12331         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12332         there's no inferior buffer (bug#10196).
12333         (prolog-consult-compile): Don't use toggle-read-only.
12335 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
12337         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12338         interrupt.  (Bug#10187)
12340 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12342         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12343         (bug#9160).
12345         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12346         (bug#10191).
12348 2011-12-02  Juri Linkov  <juri@jurta.org>
12350         * info.el (Info-search): Display "end of manual" when Isearch
12351         reaches the end of single-file Info manual.  (Bug#9918)
12353 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
12355         * isearch.el (isearch-message-prefix): Run the input method part
12356         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
12358 2011-12-02  Juri Linkov  <juri@jurta.org>
12360         * isearch.el (isearch-occur): Use `word-search-regexp' for
12361         `isearch-word'.
12362         (isearch-search-and-update): Add condition for `isearch-word' and
12363         call `word-search-regexp'.  (Bug#10145)
12365 2011-12-01  Glenn Morris  <rgm@gnu.org>
12367         * eshell/em-hist.el (eshell-hist-initialize):
12368         Handle eshell-history-size nil and HISTSIZE set or unset.
12369         (eshell-history-file-name, eshell-history-size): Fix custom type.
12371 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12373         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12375 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
12377         * progmodes/verilog-mode.el (verilog-pretty-expr):
12378         Rework verilog-pretty-expr to handle new assignment operators in system
12379         verilog, such as += *= and the like.
12380         (verilog-assignment-operator-re): Regular expression to find the
12381         assigment operator in a verilog assignment.
12382         (verilog-assignment-operation-re): Regular expression to find an
12383         assignment statement for pretty-expr.
12384         (verilog-in-attribute-p): Query returns true if point is in an
12385         attribute context; used to skip these for expression line up from
12386         pretty-expr.
12387         (verilog-in-parameter-p): Query returns true if point is in an
12388         parameter definition context; used to skip these for expression
12389         line up from pretty-expr.
12390         (verilog-in-parenthesis-p): Query returns true if point is in a
12391         parenthetical expression, specifically ( ) but not [ ] or { };
12392         used by pretty-expr.
12393         (verilog-just-one-space): If there is no space, don't add one.
12394         (verilog-get-lineup-indent-2): Specifically skip just attribute
12395         contexts for expression lineup, rather than skipping all
12396         parenthetical expressions.
12397         (verilog-calculate-indent): Fix comment, and fix indent.
12398         (verilog-do-indent): Indent declarations in lists (suggested by
12399         Joachim Lechner).
12400         (verilog-mode-abbrev-table): Populate abbrev mode with the various
12401         skeleton items.
12402         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12403         by Alain Mellan).
12405 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
12407         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12408         parameters with embedded comments.  Reported by Ray Stevens.
12409         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12410         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12411         Reported by Tim Holt.
12412         (verilog-auto): Fix AUTOing a upper module then AUTOing module
12413         instantiated by upper module causing wrong expansion until AUTOed a
12414         second time.  Reported by K C Buckenmaier.
12415         (verilog-diff-auto): Fix showing .* as a difference when
12416         `verilog-auto-star-save' off.  Reported by Dan Dever.
12417         (verilog-auto-reset, verilog-read-always-signals)
12418         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12419         temporary signals in reset list if
12420         verilog-auto-reset-blocking-in-non is nil, and match assignment
12421         style to each signal's assignment type, bug381.
12422         Reported by Thomas Esposito.
12423         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12424         (verilog-uvm-statement-re): Support UVM indentation and
12425         highlighting, with old OVM keywords only.
12426         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12427         Support AUTOTIEOFF creating non-wire data types.
12428         Suggested by Jonathan Greenlaw.
12429         (verilog-auto-insert-lisp, verilog-delete-to-paren)
12430         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12431         (verilog-inject-sense, verilog-read-inst-pins)
12432         (verilog-read-sub-decls, verilog-read-sub-decls-line):
12433         Fix mismatching parenthesis inside commented out code when deleting
12434         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
12435         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12436         non-numeric vector width.  Reported by Alex Reed.
12437         (verilog-auto-ascii-enum): Add "onehot" option to work around not
12438         detecting signals with parameter widths.  Reported by Alex Reed.
12439         (verilog-auto-delete-trailing-whitespace):
12440         With `verilog-auto-delete-trailing-whitespace' remove trailing
12441         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
12442         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12443         Fix verilog-scan-cache corruption when running user AUTO expansion
12444         hooks that call indentation routines.
12445         (verilog-simplify-range-expression): Fix typo ignoring lower case
12446         identifiers.
12447         (verilog-delete-auto): Fix delete-autos to also remove user created
12448         automatics, as long as they start with AUTO.
12449         (verilog-batch-diff-auto, verilog-diff-auto)
12450         (verilog-diff-function): Add `verilog-diff-auto' and bind to
12451         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
12452         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12453         (verilog-in-paren-quick, verilog-re-search-backward-quick)
12454         (verilog-re-search-forward-quick, verilog-syntax-ppss):
12455         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12456         is disabled and its cache will get corrupt, causing AUTOS not to
12457         expand.  Instead use only -quick functions.
12458         (verilog-scan-region): Fix scanning over escaped quotes.
12459         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12460         (verilog-re-search-backward-quick)
12461         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12462         related functions now ignore strings, to fix misparsing of strings
12463         with magic comments embedded in them.
12464         (verilog-read-auto-template):
12465         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12466         Reported by Brad Dobbie.
12467         (verilog-read-auto-template):
12468         Fix 'verilog-auto-inst-template-numbers' with comments.
12469         Reported by Brad Dobbie.
12470         (verilog-auto-inst, verilog-auto-inst-param)
12471         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12472         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
12473         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12474         debugging templates without merge conflicts, bug357.
12475         Reported by Brad Dobbie.
12476         (verilog-read-auto-template):
12477         Fix verilog-auto-inst-template-numbers with multiple templates.
12478         Reported by Brad Dobbie.
12479         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12480         abbrevs so user won't be asked to save.
12481         (verilog-read-auto-lisp-present): Fix to start at beginning of
12482         buffer in case called outside of verilog-auto.
12483         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12484         to "X-2".  Reported by Matthew Myers.
12485         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12486         all inputs from module templates.  Reported by Leith Johnson.
12487         (verilog-module-inside-filename-p): Fix locating programs as with
12488         modules.
12489         (verilog-auto-inst-port): Fix vl-width expressions when using
12490         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
12491         (verilog-decls-get-regs, verilog-decls-get-signals,
12492         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12493         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12494         verilog-read-decls): Combine reg and wire structures into one var
12495         structure to represent SystemVerilog concepts.
12496         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12497         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12498         (verilog-auto-wire-type, verilog-insert-definition):
12499         Add verilog-auto-wire-type and AUTOLOGIC to support using
12500         SystemVerilog "logic" keyword instead of "wire"/"reg".
12501         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12502         to declares outputs that also have assignments (presumably in an
12503         ifdef or generate if so there's not a driver conflict).
12504         Reported by Matthew Myers.
12505         (verilog-auto-declare-nettype, verilog-insert-definition):
12506         Add verilog-auto-declare-nettype to fix declarations using
12507         `default_nettype none.  Reported by Julian Gorfajn.
12508         (verilog-read-always-signals-recurse, verilog-read-decls)
12509         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12510         malformed end statement, bug325.  Reported by Joshua Wise and
12511         Andrew Drake.
12512         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12513         (verilog-inst-comment-re): Fix not deleting Interfaced comment
12514         when expanding .* in interfaces, bug320.
12515         Reported by Pierre-David Pfister.
12516         (verilog-read-module-name): Fix import statements between module
12517         name and open parenthesis, bug317.
12518         Reported by Pierre-David Pfister.
12519         (verilog-simplify-range-expression): Fix simplification of
12520         multiplications inside AUTOWIRE connections, bug303.
12521         (verilog-auto-inst-port): Support parameter expansion in
12522         multidimensional arrays.
12523         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12524         after "assert property".  Reported by Julian Gorfajn.
12525         (verilog-simplify-range-expression): Fix "couldn't merge" errors
12526         with multiplication, bug303.
12527         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12528         Reported by Jan Frode Lonnum.
12530 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
12532         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12533         (hfy-shell-file-name, hfy-shell):
12534         * international/fontset.el (x-decompose-font-name): Fix typos.
12536 2011-11-29  Ken Brown  <kbrown@cornell.edu>
12538         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12539         (gdb-version): Remove defvar.
12540         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12541         (gdb-gud-context-command, gdb-non-stop-handler)
12542         (gdb-current-context-command, gdb-stopped): Use it.
12543         (gdb-init-1): Enable pretty printing here.
12544         (gdb-non-stop-handler): Don't enable pretty-printing here.
12545         Check to see if the target supports non-stop mode; if not, turn off
12546         non-stop mode.  Use the following.
12547         (gdb-check-target-async): New defun.
12548         (gud-watch, gdb-stopped): Fix whitespace.
12549         (gdb-get-source-file): Don't try to display the source file if
12550         `gdb-main-file' is nil.
12552 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12554         * align.el: Try to generate fewer markers (bug#10047).
12555         (align--set-marker): New macro.
12556         (align-region): Use it.
12558 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12560         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12562 2011-11-29  Chong Yidong  <cyd@gnu.org>
12564         * indent.el (indent-for-tab-command, indent-according-to-mode):
12565         Doc fix.
12566         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
12568 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
12570         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12571         aware of remote file names.  (Bug#10124)
12573 2011-11-29  Chong Yidong  <cyd@gnu.org>
12575         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12577 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12579         * files.el (find-file): Don't use force-same-window (bug#10144).
12580         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12581         use pop-to-buffer if the selected window can't be used.
12582         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12584 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
12586         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12587         special-mode-map.
12589 2011-11-28  Chong Yidong  <cyd@gnu.org>
12591         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12593 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
12595         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12596           gdb-get-source-file-list on gdb-create-source-file-list.
12598 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
12600         * whitespace.el (whitespace-newline): Use a different foreground
12601         color for 16-color light-background displays.
12603 2011-11-24  Chong Yidong  <cyd@gnu.org>
12605         * window.el (display-buffer--special-action): Doc fix.
12607 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
12609         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12610         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12611         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12612         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12613         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12614         (avl-tree-stack-first):
12615         * emacs-lisp/cconv.el (cconv--analyse-use):
12616         * net/gnutls.el (gnutls-negotiate): Fix typos.
12618 2011-11-24  Glenn Morris  <rgm@gnu.org>
12620         * lpr.el (lpr-windows-system, lpr-lp-system):
12621         * mail/binhex.el (binhex-begin-line):
12622         * progmodes/grep.el (grep-history, grep-find-history):
12623         * textmodes/flyspell.el:
12624         * vc/pcvs-defs.el (cvs-global-menu):
12625         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12626         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12627         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12629         * net/tls.el: Fix case of "GnuTLS".
12631         * paths.el (rmail-file-name): Format doc-string for make-docfile.
12633         * version.el (emacs-build-system): Give it a doc-string.
12635 2011-11-24  Juri Linkov  <juri@jurta.org>
12637         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12639 2011-11-24  Glenn Morris  <rgm@gnu.org>
12641         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12642         if called on a non-mime message just toggle the headers.  (Bug#8006)
12644 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
12646         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12647         (allout-lead-with-comment-string, allout-structure-deleted-hook)
12648         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12649         (allout-rebullet-heading, allout-open-sibtopic)
12650         (allout-toggle-current-subtree-encryption)
12651         (allout-toggle-subtree-encryption, allout-encrypt-string)
12652         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12653         (allout-distinctive-bullets-string, allout-auto-activation):
12654         * window.el (window-normalize-buffer-to-display):
12655         * progmodes/verilog-mode.el (verilog-batch-indent):
12656         * textmodes/bibtex.el (bibtex-field-braces-opt)
12657         (bibtex-field-strings-opt):
12658         * vc/cvs-status.el (cvs-tree-merge):
12659         Fix typos.
12661 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
12663         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12664         `non-essential' to t, in order to avoid remote connections.
12666 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
12668         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12669         On MS-DOS and MS-Windows, compare with loaddefs.el
12670         case-insensitively.
12672 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
12674         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
12676 2011-11-23  Glenn Morris  <rgm@gnu.org>
12678         * paths.el (rmail-file-name): Reformat the doc-string so that it
12679         is picked up.
12681         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12682         (rmail-auto-file): Ignore case in the "special" field names,
12683         as mail-fetch-field does for all others.
12685         * mail/rmail.el (rmail-forward):
12686         * mail/rmailkwd.el (rmail-set-label):
12687         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12688         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
12690         * mail/rmail.el (rmail-current-message): Doc fix.
12692         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
12694 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * server.el (server-eval-and-print): Allow C-g (bug#6585).
12698 2011-11-22  Glenn Morris  <rgm@gnu.org>
12700         * mail/rmailmm.el (test-rmail-mime-handler)
12701         (test-rmail-mime-bulk-handler)
12702         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12704 2011-11-21  Juri Linkov  <juri@jurta.org>
12706         * calc/calc.el (calc-read-key-sequence):
12707         Let-bind `input-method-function' to nil.  (Bug#10018)
12709 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12711         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12712         Tell the caller that the next line needs recomputation, even
12713         though it doesn't start a sexp (bug#10094).
12715 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12717         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12719 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12721         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12722         Use force-same-window.
12724 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
12726         * descr-text.el (describe-char-unicode-data):
12727         * json.el (json-string-escape):
12728         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12729         (Footnote-unicode, Footnote-style-p):
12730         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12732 2011-11-20  Chong Yidong  <cyd@gnu.org>
12734         * window.el (replace-buffer-in-windows): Restore interactive spec.
12736 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12738         * electric.el (electric-indent-mode): Fix last change (too optimistic).
12740         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12741         (byte-compile-global-not-obsolete-vars): New var.
12742         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12743         Use it.
12744         (byte-compile-warn-obsolete): Align text with the one in *Help*.
12746 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
12748         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12749         * progmodes/pascal.el (electric-pascal-equal):
12750         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12751         * xml.el (xml-substitute-special): Fix typos.
12753 2011-11-20  Glenn Morris  <rgm@gnu.org>
12755         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12756         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12757         Doc fixes.
12758         (rmail-decode-mime-charset): Mark as obsolete.
12760         * mail/rmailsum.el (rmail-message-regexp-p-1):
12761         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12762         Before using mime functions, check they are set.  (Bug#10077)
12764 2011-11-19  Juri Linkov  <juri@jurta.org>
12766         * info.el (Info-finder-find-node): Use `package--builtins' instead
12767         of `package-alist'.  Use node names formed by the pattern "Keyword "
12768         and the keyword name.
12770 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
12772         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12774 2011-11-19  Juri Linkov  <juri@jurta.org>
12776         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12777         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
12778         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12779         `old-history', `old-history-forward'.  Add let-binding
12780         `window-selected'.  Remove calls to `kill-buffer',
12781         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
12782         before calling `Info-find-node', so `Info-find-node-2' will reread
12783         the Info file.  Restore window positions only when `window-selected'
12784         is non-nil.
12786 2011-11-19  Juri Linkov  <juri@jurta.org>
12788         * isearch.el (isearch-lazy-highlight-new-loop):
12789         Remove condition `(not isearch-error)'.  (Bug#9918)
12791         * misearch.el (multi-isearch-search-fun): Add condition
12792         `(not bound)' to ignore lazy-highlighting search.
12793         Add the search-failed message "end of multi" when the end of
12794         multi-sequence is reached.  Uncapitalize the search-failed
12795         message "Repeat for next buffer".
12797         * info.el (Info-search): Add the search-failed message
12798         "end of the manual" when the end of the manual is reached
12799         in Isearch mode.
12801 2011-11-19  Juri Linkov  <juri@jurta.org>
12803         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12804         Use non-destructive `remove' instead of `delete' because
12805         `Info-history-list' stored to `Info-isearch-initial-history-list' in
12806         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12808 2011-11-19  Juri Linkov  <juri@jurta.org>
12810         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12811         to nil instead of binding `search-ring' and `regexp-search-ring'.
12812         (Bug#9185)
12814 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
12816         * simple.el (line-move): Force movement by logical lines for any
12817         hscrolled window, not only when auto-hscroll-mode is on.
12818         (line-move-visual): Update doc string to that effect.  (Bug#10076)
12820 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
12822         * language/european.el (macintosh): Define as alias for mac-roman.
12824 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
12826         * mail/rmailmm.el (rmail-mime-display-header)
12827         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12828         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12829         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12830         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12831         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12832         of a raw aref.
12833         (rmail-mime-entity-segment): To get past the tagline, move forward
12834         2 more lines, to account for the 2 empty lines that precede and
12835         follow the line with the buttons.
12836         (rmail-mime-update-tagline): Move one more line, to get past the
12837         empty line that follows the buttons in the tagline.  (Bug#9520)
12839 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
12841         * window.el (window-max-delta-1, window-min-delta-1)
12842         (window-min-size-1, window-state-get-1, window-state-put-1)
12843         (window-state-put-2): Use "window--" prefix.
12845 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12847         * emacs-lisp/smie.el: Improve warnings and conflict detection.
12848         (smie-warning-count): New var.
12849         (smie-set-prec2tab): Use it.
12850         (smie-bnf->prec2): Improve warnings.  Add docstring.
12851         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12852         (smie-bnf--set-class): New function.
12853         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
12854         corner case.
12856         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12857         (compilation-error-properties, compilation-move-to-column):
12858         Handle compilation-first-column while in the target buffer.
12860         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12861         Don't hardcode point-min==1.
12863         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12864         (eshell-rewrite-for-command): Remove workaround.
12865         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12866         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12867         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12869         * files-x.el (modify-file-local-variable): Obey commenting conventions.
12871 2011-11-17  Glenn Morris  <rgm@gnu.org>
12873         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12874         Ignore buffer-local generated-autoload-file if it is the same
12875         as the global value.  (Bug#10049)
12877 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
12879         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12880         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12881         (reftex-toc-previous-heading, reftex-toc-max-level)
12882         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12883         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12884         (reftex-toc-do-promote, reftex-toc-promote-prepare)
12885         (reftex-toc-promote-action, reftex-toc-extract-section-number)
12886         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12887         (reftex-toc-rename-label, reftex-toc-visit-location)
12888         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12889         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12890         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12891         leaving "*toc*" only for references to the buffer.
12893 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
12895         * window.el (window-resize, delete-window, split-window):
12896         Replace window-splits by window-combination-resize.
12897         * cus-start.el (window-splits): Replace by window-combination-resize.
12899 2011-11-17  Glenn Morris  <rgm@gnu.org>
12901         * progmodes/sh-script.el (sh-font-lock-keywords-var):
12902         Make bash entry derive from sh entry, not shell entry.
12904 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
12906         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12907         local file name.
12909 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
12911         * menu-bar.el (menu-bar-file-menu):
12912         * printing.el (pr-ps-utility):
12913         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12914         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12915         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12916         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12917         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12918         (icalendar--convert-cyclic-to-ical)
12919         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12920         (icalendar--convert-ical-to-diary)
12921         (icalendar--convert-recurring-to-diary)
12922         (icalendar--convert-non-recurring-all-day-to-diary)
12923         (icalendar-import-format-sample):
12924         * progmodes/idlw-shell.el (idlwave-shell-mode):
12925         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12926         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12927         (vhdl-ps-print-init): Fix typos.
12929 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
12931         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12932         FSF and collapse date sequence, obscure author/maintainer email address
12933         better, remove extra version line, track relocation of author's webpage.
12935         * progmodes/python.el (python-pdbtrack-input-prompt)
12936         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12937         regular python pdb prompts.  Adjustments shamelessly taken exactly as
12938         suggested in EmacsWiki page (tiny change):
12939         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12941 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
12943         * expand.el (expand-pos, expand-index, expand-point):
12944         Remove redundant info from docstring.
12945         (expand-add-abbrevs): Doc fix.
12946         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12947         (expand-sample-perl-mode-expand-list): Fix typos.
12949         * net/dbus.el (dbus-event-member-name):
12950         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12951         * term/pc-win.el (msdos-create-frame-with-faces):
12952         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12954 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
12956         * window.el (split-window, window-state-get-1)
12957         (window-state-put-1, window-state-put-2): Rename occurrences of
12958         window-nest to window-combination-limit.
12959         * cus-start.el (window-nest): Rename to window-combination-limit.
12961 2011-11-16  Chong Yidong  <cyd@gnu.org>
12963         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12964         regexp (Bug#10033).
12966 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12968         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12969         `completing-read' will remove *Completions* and will preserve
12970         current-buffer for us.
12971         (tmm-add-prompt): Users of *Completions* will always (re)set its
12972         major mode.
12973         (tmm-old-comp-map): Remove.
12975 2011-11-16  Glenn Morris  <rgm@gnu.org>
12977         * mail/rmailedit.el: Require rmailmm when compiling.
12978         (rmail-old-mime-state): New declaration.
12979         (rmail-edit-current-message): If editing a mime message,
12980         edit the "raw" message from the mbox buffer.
12981         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
12983 2011-11-15  Glenn Morris  <rgm@gnu.org>
12985         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12986         which wasn't being used.  Add optional arg to force given state.
12987         (rmail-mime): Add optional arg to force given state.
12989 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
12991         * allout.el (allout-encryption-plaintext-sanitization-regexps):
12992         * frame.el (display-mm-dimensions-alist):
12993         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12994         (outline-move-subtree-down):
12995         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12996         (newsticker--treeview-do-get-node):
12997         * net/quickurl.el (quickurl-list-buffer-name):
12998         * progmodes/dcl-mode.el (dcl-mode):
12999         * progmodes/gdb-mi.el (gdb-mapcar*):
13000         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13002 2011-11-15  Glenn Morris  <rgm@gnu.org>
13004         * mail/rmail.el (rmail-file-coding-system): It's only ever used
13005         in a boolean sense, so just make it a boolean, and fix the doc.
13006         (rmail-show-mime-function, rmail-mime-feature)
13007         (rmail-require-mime-maybe): Doc fixes.
13008         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13010         * mail/rmailmm.el (rmail-show-mime): Doc fix.
13012 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13014         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13015         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13016         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13017         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13019 2011-11-15  Glenn Morris  <rgm@gnu.org>
13021         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13022         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13023         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13024         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13025         (rmail-mime, rmail-show-mime): Doc fixes.
13027         * term/ns-win.el (mode-line-frame-identification):
13028         Leave it alone.  (Bug#10051)
13030         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
13032         * mail/rmailout.el (rmail-output-to-rmail-buffer):
13033         Handle empty buffers.  (Bug#9978)
13035 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
13037         * international/mule.el (define-charset):
13038         * mail/rmailmm.el (rmail-mime-find-header-encoding):
13039         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13040         * progmodes/verilog-mode.el (verilog-backward-token):
13041         * textmodes/ispell.el (lookup-words):
13042         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13044 2011-11-14  Glenn Morris  <rgm@gnu.org>
13046         * progmodes/executable.el
13047         (executable-make-buffer-file-executable-if-script-p):
13048         Handle file-modes returning nil.
13050         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13051         message - not necessary, and causes problems.  (Bug#9831)
13053         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13055         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13057         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13058         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
13059         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13061 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
13063         * window.el (window-resize, delete-window): Use window-splits
13064         variable instead of function.
13065         (window-state-get-1, window-state-put-2, window-state-put):
13066         Don't deal with windows' splits status.
13068 2011-11-12  Glenn Morris  <rgm@gnu.org>
13070         * apropos.el (apropos-do-all, apropos-library, apropos-value)
13071         (apropos-documentation): Doc fixes.
13073 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
13075         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13076         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13078 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13080         * electric.el (electric-indent-post-self-insert-function): Make it
13081         possible for a char to only indent in some circumstances.
13082         (electric-indent-mode): Simplify.
13084 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
13086         * window.el (windows-with-parameter): Remove unused function.
13087         (windows-at-side): Rename to window-at-side-list.
13088         (window-check, window-atom-check, window-atom-check-1)
13089         (window-side-check, window-size-ignore, window-size-fixed-1)
13090         (window-in-direction-2): Prefix with "window--".
13091         (window-tree-1): Rename to window--subtree, fix doc-string.
13093 2011-11-11  Glenn Morris  <rgm@gnu.org>
13095         * subr.el (eval-after-load): If FILE is already loaded,
13096         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
13098 2011-11-10  Glenn Morris  <rgm@gnu.org>
13100         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13101         Call svn via vc-svn-command rather than vc-do-command.
13102         (vc-svn-command): Add --non-interactive.  (Bug#9993)
13103         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13105         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13106         Add toggle-read-only.  (Bug#7292)
13107         * files.el (toggle-read-only): Mention that it should only
13108         be used interactively.  (Bug#10006)
13110 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13112         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13113         Adjust regexp for OCaml warnings.
13115         * electric.el (electric-pair-post-self-insert-function): Let user
13116         turn it off buffer-locally (bug#9932).
13118         * progmodes/python.el (python-beginning-of-statement):
13119         Rewrite (bug#2703).
13121         * progmodes/compile.el: Better handle TABs (bug#9749).
13122         (compilation-internal-error-properties)
13123         (compilation-next-error-function): Obey the target buffer's
13124         compilation-error-screen-columns.
13126 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
13128         * progmodes/meta-mode.el: Remove obsolete comments.
13129         (meta-right-comment-regexp, meta-ignore-comment-regexp):
13130         Fix typos in docstrings.
13132 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
13134         * window.el (window-size-fixed-p): Rewrite doc-string.
13135         (window-resizable-p): Rename to window--resizable-p.  Update callers.
13136         (window--resizable): New function.  Make all callers of
13137         window-resizable call window--resizable instead.
13138         (window-resizable): Rewrite in terms of window--resizable.
13140 2011-11-08  Glenn Morris  <rgm@gnu.org>
13142         * progmodes/delphi.el (delphi-mode-syntax-table):
13143         Let define-derived-mode define a proper syntax table.  (Bug#9994)
13145 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13147         * window.el: Stay away from defsubst.
13148         (window-list-no-nils): Remove.
13149         (window-state-get-1, window-state-get): Use backquote instead.
13151 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13153         * emacs-lisp/find-func.el (find-function-read):
13154         Fix incorrect use of default argument in `completing-read'.
13156 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
13158         * window.el (display-buffer-function, special-display-function):
13159         Mention display-buffer-record-window but do not mention
13160         help-setup parameter in doc-strings.
13161         (window-min-delta): Fix doc-string typo.
13163 2011-11-08  Chong Yidong  <cyd@gnu.org>
13165         * window.el (window-total-height, window-total-width): Doc fix.
13166         (window-body-size): Move from C.
13167         (window-body-height, window-body-width): Move to C.
13169 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13171         * window.el: Make special-display like display-buffer-alist (bug#9532).
13172         (display-buffer--special-action): New function, morphed
13173         from display-buffer--special.
13174         (display-buffer): Use it to handle special-display-buffers at higher
13175         priority (just after display-buffer-alist).
13176         (display-buffer-fallback-action, display-buffer--other-frame-action)
13177         (pop-to-buffer-same-window): Remove display-buffer--special.
13179 2011-11-07  Glenn Morris  <rgm@gnu.org>
13181         * calendar/cal-menu.el (cal-menu-set-date-title):
13182         Do nothing if not in a calendar.  (Bug#9976)
13184 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13186         * files.el (find-file): Always use selected-window.
13188 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
13190         * window.el (window-combinations): Make WINDOW argument
13191         mandatory.  Rewrite doc-string.
13192         (walk-window-subtree, window-atom-check, window-min-delta)
13193         (window-max-delta, window--resize-this-window)
13194         (window--resize-root-window-vertically, window-tree)
13195         (balance-windows, window-state-put): Rewrite doc-strings as to
13196         not mention the term "subwindow".
13197         (window--resize-subwindows-skip-p): Rename to
13198         window--resize-child-windows-skip-p.
13199         (window--resize-subwindows-normal): Rename to
13200         window--resize-child-windows-normal.
13201         (window--resize-subwindows): Rename to
13202         window--resize-child-windows.
13203         (window-or-subwindow-p): Rename to window--in-subtree-p.
13205 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13207         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13208         Ensure that mbox format messages end in two newlines (Bug#9974).
13210 2011-11-06  Chong Yidong  <cyd@gnu.org>
13212         * window.el (window-combination-p): Function deleted; its
13213         side-effect is not used in any existing code.
13214         (window-combinations, window-combined-p): Call window-*-child
13215         directly.
13217 2011-11-05  Chong Yidong  <cyd@gnu.org>
13219         * window.el (window-valid-p): Rename from window-any-p.
13220         (window-size-ignore, window-state-get): Callers changed.
13221         (window-normalize-window): Rename from window-normalize-any-window.
13222         New arg LIVE-ONLY, replacing window-normalize-live-window.
13223         (window-normalize-live-window): Delete.
13224         (window-combination-p, window-combined-p, window-combinations)
13225         (walk-window-subtree, window-atom-root, window-min-size)
13226         (window-sizable, window-sizable-p, window-size-fixed-p)
13227         (window-min-delta, window-max-delta, window-resizable)
13228         (window-resizable-p, window-full-height-p, window-full-width-p)
13229         (window-current-scroll-bars, window-point-1, set-window-point-1)
13230         (window-at-side-p, window-in-direction, window-resize)
13231         (adjust-window-trailing-edge, maximize-window, minimize-window)
13232         (window-deletable-p, delete-window, delete-other-windows)
13233         (record-window-buffer, unrecord-window-buffer)
13234         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13235         (quit-window, split-window, window-state-put)
13236         (set-window-text-height, fit-window-to-buffer)
13237         (shrink-window-if-larger-than-buffer): Callers changed.
13239 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
13241         * mail/rmail.el (rmail-simplified-subject): Decode subject with
13242         rfc2047-decode-string.
13243         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13244         warnings.
13246         * window.el (window-body-height, window-body-width): Mention in
13247         the doc string that the return values are in frame's canonical
13248         units.  (Bug#9949)
13250 2011-11-03  Alan Mackenzie  <acm@muc.de>
13252         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13253         change in cc-engine.el.
13255 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13257         * window.el (switch-to-buffer): Use `force-same-window' interactively.
13259 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
13261         * window.el (quit-window): Call unrecord-window-buffer after
13262         showing another buffer in the window.  (Bug#9937)
13263         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13265 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
13267         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13268         Accept status with more than 9 shelves.  (Bug#9935)
13269         Reported by Colin D Bennett <colin@gibibit.com>.
13271 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
13273         * help.el (with-help-window): Don't reference
13274         temp-buffer-show-specifiers in doc-string.
13276 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13278         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13279         menu-item.
13281 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13283         * whitespace.el: New version 13.2.2.
13284         (whitespace-newline-mode): Disable properly.  Reported by Sarah
13285         <EmacsWiki>.
13287 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
13289         * net/newst-treeview.el: Remove "Time-stamp".
13290         (newsticker--group-manage-orphan-feeds): Do not call
13291         newsticker--treeview-tree-update.
13292         (newsticker-treeview-update, newsticker-treeview):
13293         Call newsticker--treeview-tree-update if necessary.
13295 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
13297         * window.el (window-iso-combination-p, window-iso-combined-p)
13298         (window-iso-combinations): Remove "iso-" infix.
13299         Suggested by Chong Yidong.
13300         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13301         (window-max-delta-1, window-resize, window--resize-siblings)
13302         (window--resize-this-window, adjust-window-trailing-edge)
13303         (split-window, balance-windows-1)
13304         (shrink-window-if-larger-than-buffer):
13305         * calendar/calendar.el (calendar-generate-window):
13306         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13308 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13310         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13311         in place (bug#9907).
13312         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13313         (eshell-rewrite-if-command, eshell-rewrite-for-command)
13314         (eshell-structure-basic-command, eshell-rewrite-while-command)
13315         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13316         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13317         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13318         (eshell-do-pipelines-synchronously, eshell-eval-command):
13319         Use backquotes and prefer setq to set.
13320         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13321         (eshell-macrop): Use functionp.
13322         (eshell-do-eval): Handle multiple expressions in `while' body.
13324 2011-10-30  Chong Yidong  <cyd@gnu.org>
13326         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13327         instead of set-mark (Bug#9810).
13329 2011-10-30  Chong Yidong  <cyd@gnu.org>
13331         * window.el (split-window-below, split-window-right): Rename from
13332         split-window-above-each-other and split-window-side-by-side
13333         respectively.  All callers changed.
13334         (split-window-sensibly, split-window-sensibly): Use them.
13335         (split-window-keep-point): Doc fix.
13337         * isearch.el: Add isearch-scroll property to split-window-below
13338         and split-window-right.
13340         * follow.el (follow-mode):
13341         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13342         * progmodes/ada-xref.el (ada-gdb-application):
13343         * emulation/vip.el (vip-buffer-in-two-windows):
13344         * image-dired.el (image-dired-dired-with-window-configuration):
13345         * dired-x.el (dired-do-find-marked-files):
13346         * dired.el (dired-pop-to-buffer):
13347         * bs.el (bs--show-with-configuration):
13348         * vc/emerge.el (emerge-setup-windows):
13349         * textmodes/two-column.el (2C-two-columns):
13350         * textmodes/reftex-toc.el (reftex-toc):
13351         * progmodes/gdb-mi.el (gdb-setup-windows):
13352         * progmodes/fortran.el (fortran-window-create):
13353         * net/newst-treeview.el (newsticker--treeview-window-init):
13354         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13355         * emulation/tpu-edt.el (tpu-gold-map):
13356         * emulation/crisp.el (crisp-mode-map):
13357         * calendar/calendar.el (calendar-basic-setup): Callers changed.
13359 2011-10-29  Chong Yidong  <cyd@gnu.org>
13361         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13363         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13365         * textmodes/flyspell.el (flyspell-word): Fix char offset for
13366         forged Ispell output (Bug#7904).
13368         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13370 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13372         * doc-view.el: Avoid ugly errors about not finding nil.
13373         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13374         (doc-view-dvipdf-program, doc-view-unoconv-program)
13375         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13376         Avoid nil or absolute file name as default value.
13377         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13379 2011-10-28  Alan Mackenzie  <acm@muc.de>
13381         * progmodes/cc-defs.el (c-version): -> 5.32.2.
13383 2011-10-28  Alan Mackenzie  <acm@muc.de>
13385         Amend the handling of c-beginning/end-of-defun in nested declaration
13386         scopes.
13388         * progmodes/cc-vars.el (c-defun-tactic): Move here from
13389         cc-langs.el.  Change it to a defcustom.
13391         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13392         cc-vars.el.
13394         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13395         Prevent "class foo : bar" being spuriously recognized as a label.
13397         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13398         Add parameter `inclusive' (to include enclosing braces in the region).
13399         (c-widen-to-enclosing-decl-scope): New function.
13400         (c-while-widening-to-decl-block): New macro.
13401         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13402         outward for defun boundaries, and correspondingly change symbol
13403         `respect-enclosure' to `go-outward'.
13404         (c-declaration-limits): Change algorithm to report only the "innermost"
13405         defun's boundaries.
13407 2011-10-28  Deniz Dogan  <deniz@dogan.se>
13409         * net/rcirc.el (rcirc-mode): Use hard newlines.
13411 2011-10-28  Alan Mackenzie  <acm@muc.de>
13413         Amend to indent and fontify macros "which include their own semicolon"
13414         correctly, using the "virtual semicolon" mechanism.
13416         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13418         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13419         Recode to scan one line at a time rather than having \n and \r
13420         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13421         (c-forward-label): Amend for virtual semicolons.
13422         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13424         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13425         of the new C macros.
13427         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13428         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13429         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13430         (c-opt-cpp-macro-define): Make into a full language variable.
13431         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13432         AWK Mode (including \n, \r) removed, no longer needed.
13434         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13435         Invoke c-make-macro-with-semi-re.
13437         * progmodes/cc-vars.el (c-macro-with-semi-re):
13438         (c-macro-names-with-semicolon): New variables.
13439         (c-make-macro-with-semi-re): New function.
13441 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13443         * vc/log-edit.el: Fill empty field rather than adding new one.
13444         (log-edit-add-field): New function.
13445         (log-edit-insert-changelog): Use it.
13447 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13449         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13451 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13453         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13454         (gdb--check-interpreter): New function.
13455         (gdb): Use it.
13457 2011-10-27  Glenn Morris  <rgm@gnu.org>
13459         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13460         (least-positive-float, least-negative-float)
13461         (least-positive-normalized-float, least-negative-normalized-float)
13462         (float-epsilon, float-negative-epsilon):
13463         Remove unnecessary declarations.
13465         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13466         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13467         (least-positive-float, least-negative-float)
13468         (least-positive-normalized-float, least-negative-normalized-float)
13469         (float-epsilon, float-negative-epsilon): Add doc-strings,
13470         based on those in cl.texi.
13472         * files.el (set-visited-file-name): If the major-mode changed,
13473         reload the local variables.  (Bug#9796)
13475 2011-10-27  Chong Yidong  <cyd@gnu.org>
13477         * subr.el (change-major-mode-after-body-hook): New hook.
13478         (run-mode-hooks): Run it.
13480         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13481         Use change-major-mode-before-body-hook.
13483         * simple.el (fundamental-mode):
13484         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13485         change introducing fundamental-mode-hook.
13487 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
13489         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13491 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
13493         * ido.el (ido-file-name-all-completions-1): Do not require
13494         tramp.el explicitly.  (Bug#7583)
13496 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13498         * progmodes/octave-mod.el:
13499         * progmodes/octave-inf.el: Update maintainer.
13501 2011-10-26  Chong Yidong  <cyd@gnu.org>
13503         * subr.el (with-wrapper-hook): Rewrite doc.
13505 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
13507         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13508         filenames "/method:foo:".  (Bug#9793)
13510 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13512         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13513         (bug#9865).
13515 2011-10-24  Glenn Morris  <rgm@gnu.org>
13517         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
13519 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
13521         * notifications.el: Add the requirement of a running D-Bus session
13522         bus to the Commentary.
13524 2011-10-24  Juri Linkov  <juri@jurta.org>
13526         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13527         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13528         (Bug#9364)
13530 2011-10-24  Juri Linkov  <juri@jurta.org>
13532         * info.el (Info-following-node-name-re): Add newline to the list
13533         of allowed characters for leading space.  (Bug#9824)
13535 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13537         * progmodes/octave-inf.el (inferior-octave-mode-map):
13538         Fix C-c C-h binding.
13539         * progmodes/octave-mod.el (octave-help): Remove.
13541 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
13543         Sync with Tramp 2.2.3.
13545         * net/tramp-cache.el (top): Pacify byte-compiler using
13546         `init-file-user' and `site-run-file'.
13548         * net/trampver.el: Update release number.
13550 2011-10-23  Chong Yidong  <cyd@gnu.org>
13552         * files.el (toggle-read-only): Remove obsolete comment about
13553         version control.
13555         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13556         for toggle-read-only.  Note that this hasn't called vc-next-action
13557         since 2008-05-02, though it wasn't documented at the time.
13559         * vc/ediff-init.el (ediff-toggle-read-only-function):
13560         Use toggle-read-only.
13562 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
13564         Fix bug #9560, sporadic wrong indentation; improve instrumentation
13565         of c-parse-state.
13567         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13568         correct faulty logical expression.
13569         (c-parse-state-state, c-record-parse-state-state):
13570         (c-replay-parse-state-state): New defvar/defuns.
13571         (c-debug-parse-state): Use new functions.
13573 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
13575         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13576         last fix.  Use window-in-direction correctly.
13578 2011-10-21  Chong Yidong  <cyd@gnu.org>
13580         * progmodes/idlwave.el (idlwave-mode):
13581         * progmodes/vera-mode.el (vera-mode): No need to set
13582         require-final-newline; that's done in prog-mode.
13583         Suggested by Stefan Monnier.
13585 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
13587         * mouse.el (mouse-drag-window-above)
13588         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13589         (mouse-drag-mode-line-1, mouse-drag-header-line)
13590         (mouse-drag-vertical-line-rightward-window): Remove.
13591         (mouse-drag-line): New function.
13592         (mouse-drag-mode-line, mouse-drag-header-line)
13593         (mouse-drag-vertical-line): Call mouse-drag-line.
13594         * window.el (window-at-side-p, windows-at-side): New functions.
13596 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
13598         * tar-mode.el (tar-grind-file-mode):
13599         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
13601 2011-10-21  Chong Yidong  <cyd@gnu.org>
13603         * progmodes/idlwave.el (idlwave-mode):
13604         * progmodes/vera-mode.el (vera-mode):
13605         Use mode-require-final-newline.
13607 2011-10-20  Glenn Morris  <rgm@gnu.org>
13609         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
13611 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
13613         * emulation/cua-base.el (cua-set-mark): Fix case of string.
13615 2011-10-20  Chong Yidong  <cyd@gnu.org>
13617         * emulation/cua-base.el (cua-mode):
13618         * mail/footnote.el (footnote-mode):
13619         * mail/mailabbrev.el (mail-abbrevs-mode):
13620         * net/xesam.el (xesam-minor-mode):
13621         * progmodes/bug-reference.el (bug-reference-mode):
13622         * progmodes/cap-words.el (capitalized-words-mode):
13623         * progmodes/compile.el (compilation-minor-mode)
13624         (compilation-shell-minor-mode):
13625         * progmodes/gud.el (gud-tooltip-mode):
13626         * progmodes/hideif.el (hide-ifdef-mode):
13627         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13628         * progmodes/subword.el (subword-mode):
13629         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13630         * progmodes/which-func.el (which-function-mode):
13631         * term/tvi970.el (tvi970-set-keypad-mode):
13632         * term/vt100.el (vt100-wide-mode):
13633         * textmodes/flyspell.el (flyspell-mode):
13634         * textmodes/ispell.el (ispell-minor-mode):
13635         * textmodes/nroff-mode.el (nroff-electric-mode):
13636         * textmodes/paragraphs.el (use-hard-newlines):
13637         * textmodes/refill.el (refill-mode):
13638         * textmodes/reftex.el (reftex-mode):
13639         * textmodes/rst.el (rst-minor-mode):
13640         * textmodes/sgml-mode.el (html-autoview-mode)
13641         (sgml-electric-tag-pair-mode):
13642         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13643         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13644         * emulation/crisp.el (crisp-mode):
13645         * emacs-lisp/eldoc.el (eldoc-mode):
13646         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13647         minor mode behavior.
13649 2011-10-19  Juri Linkov  <juri@jurta.org>
13651         * descr-text.el (describe-char): Add #x2010 and #x2011 to
13652         the list of hard-coded chars with escape-glyph face.
13654 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13656         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13658 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
13660         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13661         running process.
13663 2011-10-19  Glenn Morris  <rgm@gnu.org>
13665         * vc/vc-bzr.el (vc-bzr-after-dir-status):
13666         Ignore ignored files.  (Bug#9726)
13668 2011-10-19  Chong Yidong  <cyd@gnu.org>
13670         Doc fix for minor modes, stating that an omitted argument enables
13671         the mode unconditionally when called from Lisp.
13673         * abbrev.el (abbrev-mode):
13674         * allout.el (allout-mode):
13675         * autoinsert.el (auto-insert-mode):
13676         * autoarg.el (autoarg-mode, autoarg-kp-mode):
13677         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13678         (global-auto-revert-mode):
13679         * battery.el (display-battery-mode):
13680         * composite.el (global-auto-composition-mode)
13681         (auto-composition-mode):
13682         * delsel.el (delete-selection-mode):
13683         * desktop.el (desktop-save-mode):
13684         * dired-x.el (dired-omit-mode):
13685         * dirtrack.el (dirtrack-mode):
13686         * doc-view.el (doc-view-minor-mode):
13687         * double.el (double-mode):
13688         * electric.el (electric-indent-mode, electric-pair-mode):
13689         * emacs-lock.el (emacs-lock-mode):
13690         * epa-hook.el (auto-encryption-mode):
13691         * follow.el (follow-mode):
13692         * font-core.el (font-lock-mode):
13693         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13694         * help.el (temp-buffer-resize-mode):
13695         * hilit-chg.el (highlight-changes-mode)
13696         (highlight-changes-visible-mode):
13697         * hi-lock.el (hi-lock-mode):
13698         * hl-line.el (hl-line-mode, global-hl-line-mode):
13699         * icomplete.el (icomplete-mode):
13700         * ido.el (ido-everywhere):
13701         * image-file.el (auto-image-file-mode):
13702         * image-mode.el (image-minor-mode):
13703         * iswitchb.el (iswitchb-mode):
13704         * jka-cmpr-hook.el (auto-compression-mode):
13705         * linum.el (linum-mode):
13706         * longlines.el (longlines-mode):
13707         * master.el (master-mode):
13708         * mb-depth.el (minibuffer-depth-indicate-mode):
13709         * menu-bar.el (menu-bar-mode):
13710         * minibuf-eldef.el (minibuffer-electric-default-mode):
13711         * mouse-sel.el (mouse-sel-mode):
13712         * msb.el (msb-mode):
13713         * mwheel.el (mouse-wheel-mode):
13714         * outline.el (outline-minor-mode):
13715         * paren.el (show-paren-mode):
13716         * recentf.el (recentf-mode):
13717         * reveal.el (reveal-mode, global-reveal-mode):
13718         * rfn-eshadow.el (file-name-shadow-mode):
13719         * ruler-mode.el (ruler-mode):
13720         * savehist.el (savehist-mode):
13721         * scroll-all.el (scroll-all-mode):
13722         * scroll-bar.el (scroll-bar-mode):
13723         * server.el (server-mode):
13724         * shell.el (shell-dirtrack-mode):
13725         * simple.el (auto-fill-mode, transient-mark-mode)
13726         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13727         (line-number-mode, column-number-mode, size-indication-mode)
13728         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13729         * strokes.el (strokes-mode):
13730         * time.el (display-time-mode):
13731         * t-mouse.el (gpm-mouse-mode):
13732         * tool-bar.el (tool-bar-mode):
13733         * tooltip.el (tooltip-mode):
13734         * type-break.el (type-break-mode-line-message-mode)
13735         (type-break-query-mode):
13736         * view.el (view-mode):
13737         * whitespace.el (whitespace-mode, whitespace-newline-mode)
13738         (global-whitespace-mode, global-whitespace-newline-mode):
13739         * xt-mouse.el (xterm-mouse-mode): Doc fix.
13741         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13742         Fix autogenerated docstring.
13744 2011-10-19  Juri Linkov  <juri@jurta.org>
13746         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13747         by checking environment variables "DESKTOP_SESSION" and
13748         "XDG_CURRENT_DESKTOP".  (Bug#9779)
13750 2011-10-19  Juri Linkov  <juri@jurta.org>
13752         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13753         (browse-url-chromium-program, browse-url-chromium-arguments):
13754         New defcustoms.
13755         (browse-url-default-browser): Check for `browse-url-chromium' and
13756         call `browse-url-chromium-program'.
13757         (browse-url-chromium): New command.  (Bug#9779)
13759 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
13761         * facemenu.el (list-colors-duplicates): On Windows, detect more
13762         duplicates by assuming that only colors matching "^System" are
13763         special "system colors".  (Bug#9722)
13765 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13767         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13768         to distinguish the author from the committer.
13770 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
13772         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13774 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
13776         * international/mule.el (sgml-html-meta-auto-coding-function):
13777         Add support for detecting encoding in HTML5 specified only as
13778         <meta charset="UTF-8">.  Implementation just makes http-equiv and
13779         content-type parts from HTML4 encoding string optional.  (Bug#9716)
13781 2011-10-18  Glenn Morris  <rgm@gnu.org>
13783         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
13785 2011-10-18  Chong Yidong  <cyd@gnu.org>
13787         * faces.el (cursor): Doc fix.
13789 2011-10-17  Chong Yidong  <cyd@gnu.org>
13791         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13793 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
13795         * dirtrack.el (dirtrack): Support shell buffers with path
13796         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
13798 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
13800         * json.el: Bump version to 1.3 and note change in History.
13801         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13803 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13805         * comint.el (comint-insert-input, comint-send-input)
13806         (comint-get-old-input-default, comint-backward-matching-input)
13807         (comint-next-prompt): Use nil instead of `input' for field property of
13808         past user input (bug#114).
13810         * minibuffer.el (completion--replace): Inherit surrounding properties
13811         (bug#114).
13812         (minibuffer-complete-and-exit): Use it.
13814         * comint.el (comint--table-subvert): Quote the all-completions output
13815         (bug#9160).
13817 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
13819         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13821         * menu-bar.el (menu-bar-file-menu): Add entry for making new
13822         window on right of selected.  (Bug#9350) Reword other window
13823         entries and separate them from frame entries.
13825 2011-10-15  Glenn Morris  <rgm@gnu.org>
13827         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13828         Doc fixes.
13830 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
13832         * net/network-stream.el (network-stream-open-starttls):
13833         Improve detection of failure due to lack of TLS support.
13835         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13836         putting the input text in front and in bold.
13838 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13840         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13842         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13843         empty buffer.
13845         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13846         unread-command-events rather than pushing yet-another event.
13848 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
13850         * mail/sendmail.el (sendmail-query-once): Improve the wording of
13851         the explanation of the possible choices.  Make the options passed
13852         to completing-read shorter.
13854 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13856         * textmodes/flyspell.el (flyspell-large-region): Make sure
13857         extended character mode is used if defined (Bug#1339).
13859 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
13861         * simple.el (what-cursor-position): Fix the display of the
13862         character info for LRE, LRO, RLE, and RLO characters by appending
13863         an invisible PDF.
13865 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13867         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13868         even in case of error; add debug spec; simplify data flow.
13869         (with-timeout-handler): Remove.
13871 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
13873         Fix Bug#6019, Bug#9315.
13875         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13876         complete `buffer-file-name', the local file name part could look
13877         remotely (for example on VMS).
13879         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13880         `tramp-run-real-handler'.
13881         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13882         already quoted by '"'.
13884         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13885         Let `file-name-handler-alist' be nil, the local file name part
13886         could look remotely (for example on VMS).
13888 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13890         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13891         from here...
13892         (flyspell-post-command-hook): ...to here.
13894 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13896         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13897         if not needed.
13898         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
13899         using completion.  Protect against "slow" callers.
13900         Remove the "message hack".
13902 2011-10-11  Juri Linkov  <juri@jurta.org>
13904         * isearch.el (isearch-lazy-highlight-word): New variable.
13905         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13906         Use it.  (Bug#9727)
13908 2011-10-11  Glenn Morris  <rgm@gnu.org>
13910         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13911         like f90-previous-statement does.
13913 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13915         * eshell/eshell.el (eshell-command): History should be saved
13916         only in interactive use, to avoid error.
13918 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13920         * minibuffer.el (completion-file-name-table): Fix last change,
13921         i.e. ignore normal errors but not the other ones.
13923 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
13925         * window.el (special-display-buffer-names)
13926         (special-display-regexps): Remove some remnants of earlier
13927         changes from doc-strings.
13928         (quit-windows-on): New function.
13930         * vc/vc.el (vc-revert, vc-rollback):
13931         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13932         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
13933         (Bug#6183) (Bug#7074) (Bug#7447)
13935 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
13937         * window.el (frame-auto-hide-function): Add version tag.
13938         (Bug#9699)
13940 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
13942         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13943         condition.
13945 2011-10-09  Leo Liu  <sdl.web@gmail.com>
13947         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13948         (Bug#9701)
13950 2011-10-08  Glenn Morris  <rgm@gnu.org>
13952         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13953         before the first code statement zero indent.  (Bug#9690)
13955 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
13957         * simple.el (count-words-region): Always count in the region.
13958         Report the number of lines and characters too.
13959         (count-words): New command, which counts in the buffer if the
13960         region is inactive, as count-words-region used to.
13961         (count-words--message): New function.  Handle plurals.
13962         (count-lines-region): Make it an alias for count-words-region.
13964         * bindings.el (esc-map): Replace count-lines-region with
13965         count-words-region.
13967 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
13969         * window.el (window--delete): Delete dedicated frame
13970         unconditionally when argument KILL is non-nil.  (Bug#9699)
13971         (switch-to-buffer): Fix doc-string typo.
13973 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13975         * eshell/eshell.el (eshell-command): Avoid using hooks.
13977 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
13979         * bindings.el ([M-left],[M-right]): Bind to left-word and
13980         right-word respectively.
13982 2011-10-07  Glenn Morris  <rgm@gnu.org>
13984         * cus-start.el (debug-on-quit): Fix custom type.
13986 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13988         * subr.el (define-key-after): Clarify that the function is not
13989         useful for non-menu keymaps.
13991         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13993 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13995         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13996         in current minibuffer (Fix bug with recursive minibuffers).
13998 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
14000         * progmodes/gdb-mi.el (gdb): Doc fix.
14002 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
14004         * window.el (frame-auto-hide-function): New option replacing
14005         frame-auto-delete.  Suggested by Stefan Monnier.
14006         (window--delete): Call frame-auto-hide-function instead of
14007         investigating frame-auto-delete.
14008         (window-point-1, set-window-point-1): New functions.
14009         (window-in-direction, record-window-buffer, window-state-get-1)
14010         (display-buffer-record-window): Use window-point-1 instead of
14011         window-point.
14012         (set-window-buffer-start-and-point): Use set-window-point-1.
14014 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14016         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14018 2011-10-05  Glenn Morris  <rgm@gnu.org>
14020         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14021         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
14023 2011-10-05  Leo Liu  <sdl.web@gmail.com>
14025         * subr.el (read-char-choice): Fix argument to buffer-live-p which
14026         works with buffer object.
14028 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14030         * mpc.el (mpc-tool-bar-map): Add labels.
14032 2011-10-04  Glenn Morris  <rgm@gnu.org>
14034         * calendar/holidays.el (calendar-check-holidays): Doc fix.
14036 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
14038         * window.el (window--delete): New function.
14039         (frame-auto-delete): Resuscitate option.
14040         (bury-buffer, replace-buffer-in-windows)
14041         (quit-window): Rewrite using window--delete.
14042         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14043         Pass display-buffer-mark-dedicated to window--display-buffer-2
14044         (Bug#9639).
14046 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14048         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14049         returns a list (bug#9554).  Add remote file name completion.
14050         * comint.el (comint--table-subvert): Curry and get quote&unquote
14051         functions as arguments.
14052         (comint--complete-file-name-data): Adjust call accordingly.
14053         * pcomplete.el (pcomplete--table-subvert): Remove.
14054         (pcomplete-completions-at-point): Use comint--table-subvert instead.
14056         * minibuffer.el (completion-table-case-fold): Use currying.
14057         (completion--styles-type, completion--cycling-threshold-type):
14058         New constants.
14059         (completion-styles, completion-category-overrides)
14060         (completion-cycle-threshold): Use them.
14061         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14062         completion-table-case-fold.
14064 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
14066         * minibuffer.el (completion-category-overrides): Fix type of styles
14067         and add more user friendly tags (bug#9660).
14069 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14071         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14072         (mule-input-method-string): New widget.
14073         (default-input-method, language-info-custom-alist): Use it.
14075 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14077         * pcomplete.el: Require comint.
14078         (pcomplete--common-suffix): Remove.
14079         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14080         (pcomplete--table-subvert): Sync with comint--table-subvert.
14081         (pcomplete--entries): Use comint-completion-file-name-table.
14082         * comint.el (comint-unquote-filename): Simplify.
14083         (comint-completion-file-name-table): New function (bug#9616).
14084         (comint--complete-file-name-data): Use it.
14086         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14087         (pcmpl-gnu-tar-buffer): Remove.
14088         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14089         around.  Make sure pcomplete-suffix-list is only changed temporarily.
14090         Don't look inside the tar's file if it's too large.
14092 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
14094         * cus-edit.el (custom-mode-map):
14095         * epa.el (epa-key-list-mode-map):
14096         * man.el (Man-mode-map):
14097         * startup.el (splash-screen-keymap):
14098         * simple.el (special-mode-map): Use scroll-up-command and
14099         scroll-down-command.
14101         * progmodes/idlw-help.el (idlwave-help-mode-map):
14102         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14103         * net/newst-plainview.el (newsticker-mode-map):
14104         * emulation/ws-mode.el (wordstar-mode-map):
14105         * emulation/vi.el (vi-com-map):
14106         * calc/calc-graph.el (calc-graph-show-dumb):
14107         * term/sun.el (terminal-init-sun):
14108         * term/ns-win.el (global-map):
14109         * progmodes/grep.el (grep-mode-map):
14110         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14111         * mail/rmail.el (rmail-mode-map):
14112         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14114         * custom.el (custom-safe-themes, load-theme): Treat value of t for
14115         custom-safe-themes as special.
14117 2011-10-01  Julien Danjou  <julien@danjou.info>
14119         * notifications.el (notifications-notify): Fix docstring.
14121 2011-10-01  Per Starbäck  <per@starback.se>
14123         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
14125 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
14127         * startup.el (command-line-1): Fix last fix by inserting
14128         initial-scratch-message into *scratch* before displaying it.
14129         (Bug#9605) and (Bug#9636)
14131 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
14133         * simple.el (line-move): If auto-hscroll-mode is disabled and the
14134         window is hscrolled, move by logical lines.  (Bug#9607)
14135         (line-move-visual): Update the doc string to the above effect.
14137 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
14139         * window.el (display-buffer-record-window): When WINDOW is the
14140         selected window use `point' instead of `window-point'.  (Bug#9626)
14142         * startup.el (command-line-1): Use insert-before-markers when
14143         inserting initial-scratch-message.  (Bug#9605)
14145         * help.el (help-window): Remove variable.
14147 2011-09-29  Glenn Morris  <rgm@gnu.org>
14149         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14151 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
14153         * descr-text.el (describe-char-categories): Accept category
14154         descriptions more than one line long.
14156 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14158         * simple.el (delete-trailing-whitespace): Fix last change.
14160         * progmodes/perl-mode.el (perl-syntax-propertize-function):
14161         Don't confuse "y => 3" as the beginning of a `y' operation.
14163         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14164         object has more than 4 slots (bug#9613).
14166 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
14168         * subr.el (with-output-to-temp-buffer):
14169         * net/quickurl.el (quickurl, quickurl-browse-url):
14170         Fix typos in docstrings.
14172 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14174         * minibuffer.el (completion-styles)
14175         (completion-category-overrides): Cross reference each other in doc
14176         strings.
14178 2011-09-27  Glenn Morris  <rgm@gnu.org>
14180         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14181         to split-string.  (Bug#9606)
14183 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14185         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14186         (bug#9615).
14188 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
14190         * emacs-lisp/package.el (list-packages): Fix echo area message.
14192 2011-09-27  Leo Liu  <sdl.web@gmail.com>
14194         * ido.el (ido-read-internal): Accept cons cell HIST arg.
14196 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
14198         * net/dbus.el (dbus-unregister-object): Don't release services for
14199         registered signals.  (Bug#9581)
14201 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
14203         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14204         function that picks between cfengine 2 and 3 support
14205         automatically.  Update docs accordingly.
14207 2011-09-22  Kenichi Handa  <handa@m17n.org>
14209         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14210         ZERO.
14211         (indian-itrans-v5-table-for-tamil): New variable.
14212         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14214 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
14216         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14217         that's true if the current command involved collapsing of text.
14218         It's reset to false at the beginning of the next command.
14219         (allout-post-command-business): Move the cursor to the beginning
14220         of entry if the cursor is hidden and collapsing activity just
14221         happened.
14223 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
14225         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14226         tracking (Bug#9541).
14228 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
14230         * net/newst-reader.el (newsticker-html-renderer)
14231         (newsticker-show-news): Automatically load html rendering package
14232         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
14233         because w3m-fill-column is let-bound" and the error "Symbol's value
14234         as variable is void: w3m-fill-column".
14236 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
14238         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14239         Release services only if they are defined.  (Bug#9581)
14241 2011-09-23  Richard Stallman  <rms@gnu.org>
14243         * textmodes/paragraphs.el (forward-sentence): For backwards case,
14244         distinguish start of paragraph from start of its text.
14246         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14248         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14249         (rmail-generate-viewer-buffer): Put that hook on view buffer.
14250         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14252 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
14254         * international/mule-diag.el (mule-diag): Insert a newline after
14255         each fontset description.
14257 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14259         * simple.el (delete-trailing-whitespace):
14260         Document last change; simplify.
14262 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
14264         * simple.el (delete-trailing-whitespace): Also delete
14265         extra newlines at the end of the buffer.
14267         * textmodes/picture.el: Make motion commands obey shift-select-mode.
14268         (picture-newline): Use forward-line so as to ignore fields.
14270 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14272         * subr.el (with-wrapper-hook): Fix edebug spec.
14274 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14276         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14277         (bug#4538).
14279 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
14281         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14282         Fix nasty bug using wrong cached values.
14284 2011-09-23  Alan Mackenzie  <acm@muc.de>
14286         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14288 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
14290         * window.el (pop-to-buffer): Ensure right window is selected if we
14291         chose another frame.
14293 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
14295         * simple.el (what-cursor-position): Use get-char-property-change
14296         and next-single-char-property-change, to be able to show display
14297         properties that come from overlays as well as text properties.
14299 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
14301         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14303         * cmuscheme.el (run-scheme, switch-to-scheme):
14304         * cus-edit.el (customize-group, custom-buffer-create)
14305         (customize-browse):
14306         * info.el (info):
14307         * shell.el (shell):
14308         * mail/sendmail.el (mail):
14309         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14311 2011-09-22  Richard Stallman  <rms@gnu.org>
14313         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14314         move back only to line beg, don't move back over blank lines.
14316 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
14318         * files.el (copy-directory): Set directory attributes only in case
14319         they could be retrieved from the source directory.  (Bug#9565)
14321 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
14323         * progmodes/hideshow.el (hs-looking-at-block-start-p)
14324         (hs-find-block-beginning, hs-hide-level-recursive):
14325         Ignore strings as well as comments.  (Bug#9502)
14327 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
14329         * progmodes/sql.el (sql-comint-postgres):
14330         Convert port number to a string.  (Bug#9566)
14332 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
14334         * window.el (quit-window): Undedicate window when switching to
14335         previous buffer.  Reported by Thierry Volpiatto
14336         <thierry.volpiatto@gmail.com>.
14337         (special-display-popup-frame): When popping up a new frame reset
14338         its previous buffers to nil.  Simplify code.
14340 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
14342         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14343         and process filter, as done also in `shell-command'.
14345 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
14347         * window.el (set-window-buffer-start-and-point):
14348         Call set-window-start with NOFORCE argument t.
14349         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14350         (quit-window): Reword doc-string.  Handle new format of
14351         quit-restore parameter.  Don't delete window if it has a
14352         previous buffer we can show instead of the present one.
14353         (display-buffer-record-window): Rewrite using a new format for
14354         the quit-restore window parameter
14355         (special-display-popup-frame, display-buffer-same-window)
14356         (display-buffer-reuse-window, display-buffer-pop-up-frame)
14357         (display-buffer-pop-up-window, display-buffer-use-some-window):
14358         Adapt symbol passed to display-buffer-record-window.
14359         * help.el (help-window-setup): Handle new format of quit-restore
14360         parameter.
14362 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14364         * faces.el (face-list): Fix docstring (bug#9564).
14366         * window.el (display-buffer--action-function-custom-type):
14367         Don't include internal functions in the Custom interface.
14369 2011-09-20  Juri Linkov  <juri@jurta.org>
14371         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14372         (Info-forward-node, Info-backward-node, Info-next-preorder)
14373         (Info-last-preorder): Use it.  (Bug#9528)
14375 2011-09-20  Juri Linkov  <juri@jurta.org>
14377         * info.el (Info-last-preorder): Visit last menu item only when
14378         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14380 2011-09-20  Julien Danjou  <julien@danjou.info>
14382         * password-cache.el (password-cache-remove): Remove entries even if the
14383         value is nil, so that password with a nil value (negative caching) is
14384         possible to invalidate.
14386 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
14388         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14389         all whitespace around breakpoint.  (Bug#9553)
14390         (f90-find-breakpoint): Only break at whitespace inside a comment.
14392 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14394         * minibuffer.el (completion-file-name-table): Keep track of errors.
14395         (completion-table-with-predicate): Handle the case where pred1 is nil.
14396         * pcomplete.el (pcomplete-completions-at-point): Simplify.
14398 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14400         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14401         (debugger-return-value): Signal an error if the debugging context does
14402         not await any return value.
14404         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14405         * image-mode.el (image-toggle-display-text)
14406         (image-toggle-display-image): Stay away from evil `intangible'.
14408 2011-09-19  Leo Liu  <sdl.web@gmail.com>
14410         * replace.el (occur-revert-arguments): Make it permanent-local.
14411         (occur-mode): Don't call font-lock-defontify.
14413 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
14415         * net/ldap.el (ldap-search-internal): Don't push empty search
14416         result (Bug#9508).
14418 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14420         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14422 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
14424         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14425         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14427 2011-09-18  Juri Linkov  <juri@jurta.org>
14429         * buff-menu.el (Buffer-menu-mode-map):
14430         * dired.el (dired-mode-map):
14431         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14432         (lisp-interaction-mode-map):
14433         * emacs-lisp/package.el (package-menu-mode-map):
14434         * epa.el (epa-key-list-mode-map):
14435         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14436         (menu-bar-options-menu):
14437         * outline.el (outline-mode-menu-bar-map):
14438         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14439         * vc/vc-dir.el (vc-dir-menu-map):
14440         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14441         Capitalize non-function content words in menu item strings.
14443         * dired.el (dired-mode-map): Add menu item for
14444         `image-dired-dired-toggle-marked-thumbs'.
14446 2011-09-18  Juri Linkov  <juri@jurta.org>
14448         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14449         to `isearch-case-fold-search' and restore its original value
14450         after the `isearch-mode' call.
14452 2011-09-18  Juri Linkov  <juri@jurta.org>
14454         * progmodes/grep.el (grep-process-setup): Don't check code for 1
14455         because `zgrep' returns 1 for successful matches (bug#9226).
14457 2011-09-18  Juri Linkov  <juri@jurta.org>
14459         * info.el (Info-extract-menu-node-name): Check the second match
14460         for empty string (second test-case of bug#9528).
14461         (Info-last-preorder): Let-bind `Info-history' to nil to not add
14462         intermediate nodes to the history (first test-case of bug#9528).
14464 2011-09-18  Juri Linkov  <juri@jurta.org>
14466         * info.el (Info-mode-syntax-table): New variable.
14467         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14469 2011-09-18  Juri Linkov  <juri@jurta.org>
14471         * info.el (Info-file-supports-index-cookies):
14472         Increment line-beginning-position's arg from 3 to 4 because makeinfo
14473         outputs one more line for long file names (bug#4142).
14475 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
14477         * newcomment.el (comment-normalize-vars): If prompting for
14478         comment-start, set comment-start-skip too (Bug#8424).
14480 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
14482         * icomplete.el: Fix previous fix of Bug#5849.
14483         (icomplete-mode): Don't set completion-show-inline-help.
14484         (icomplete-minibuffer-setup): Set completion-show-inline-help
14485         locally during icompletion.
14487 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
14489         * woman.el (woman2-process-escapes): Don't delete unrecognized
14490         escapes (Bug#7843).
14492         * files.el (inhibit-first-line-modes-regexps): Add image files.
14493         (hack-local-variables-prop-line): Return nil for malformed
14494         prop-lines (Bug#9044).
14496 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
14498         * net/tramp.el (top): Don't require 'shell.
14499         (tramp-methods): Fix docstring.
14500         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14501         Return complete remote file name.  Handle "smb" case.
14502         Use `tramp-tmpdir', if defined for the respective method.
14503         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14505         * net/tramp-compat.el (top): Require 'shell.
14507         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14508         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14509         `tramp-current-host'.
14510         (tramp-get-remote-tmpdir): Remove.
14512         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14513         `tramp-tmpdir' entries.
14514         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14515         (tramp-smb-handle-file-attributes): Ignore errors.
14516         (tramp-smb-wait-for-output): Check also for process end.
14518 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14520         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14521         when sending QUIT (bug#9312).
14523 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
14525         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14526         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14527         occur-mode-display-occurrence.
14528         (occur-edit-mode): Add usage message.
14529         (occur-cease-edit): New command.
14530         (occur-after-change-function): Use text properties to find the
14531         position of the prefix text.
14532         (occur-engine): Set stickiness of prefix text properties.
14534 2011-09-17  Glenn Morris  <rgm@gnu.org>
14536         * progmodes/etags.el (complete-tag):
14537         Fix call to completion-in-region.  (Bug#9526)
14539 2011-09-17  Juri Linkov  <juri@jurta.org>
14541         * textmodes/ispell.el (ispell-word): Add to the error message
14542         the word, ispell program name and current dictionary (bug#9121).
14543         (ispell-tex-arg-end): Capitalize "error" in the error message.
14545 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
14547         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14548         check.  (Bug#4251)
14550 2011-09-17  Juri Linkov  <juri@jurta.org>
14552         * window.el (window-safe-min-height, window-safe-min-width):
14553         Fix typos (followup to bug#9522).
14555 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
14557         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14559 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
14561         * simple.el (line-move): If goal-column is set, move by logical
14562         lines, not by display lines.  (Bug#971)
14563         (next-line, previous-line, goal-column, line-move-visual): Doc fix
14564         to reflect the above change.
14566 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14568         * image.el (imagemagick-register-types): Use regexp-opt.
14570 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
14572         * window.el (display-buffer-base-action): Rename from
14573         display-buffer-default-action.  Make default value empty.
14574         (display-buffer-overriding-action): Convert to defvar.
14575         (display-buffer-fallback-action): New var.
14577 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
14579         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14580         declaration.
14581         (package--add-to-archive-contents): If there is a duplicate entry
14582         with an older version, remove it.
14583         (package-menu-mark-delete, package-menu-mark-install)
14584         (package-menu-mark-unmark): Make unused args optional.
14585         (package-menu-mark-obsolete-for-deletion):
14586         Use package-menu-get-status instead of a regexp search.
14587         (package-menu-get-status): Use tabulated-list-entry.
14588         (package-menu-mark-upgrades): New command.
14589         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
14590         (package-menu-execute): Do installation before deletion.
14591         (package-menu-refresh, package-menu-execute): Use derived-mode-p
14592         instead of checking major-mode.
14593         (package-menu--find-upgrades): New function.
14595 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14597         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14598         passwords in the log buffer.
14599         (smtpmail-process-filter): Update the process marker so that the
14600         "broken by peer" status message is inserted in the right place.
14602 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14604         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14605         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14606         bibtex-completion-at-point-function.
14607         (bibtex-completion-at-point-function): Use them.
14609         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14611         * mpc.el (mpc-constraints-tag-lookup): New function.
14612         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14613         also to browser "album|playlist".
14615 2011-09-14  Juri Linkov  <juri@jurta.org>
14617         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
14618         (isearch-edit-string): Use length of `isearch-string' when
14619         `isearch-fail-pos' returns nil.
14620         (isearch-message): Remove duplicate code and call
14621         `isearch-fail-pos' with arg `t'.
14623 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
14625         * replace.el (occur-mode-goto-occurrence): Don't force using other
14626         window (Bug#9499).
14628         * dired-aux.el (dired-do-chmod): Don't provide initial input.
14630 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
14632         * window.el (display-buffer-window): Remove.
14633         (display-buffer-record-window): Use help-setup window parameter
14634         instead of variable display-buffer-window.
14635         (display-buffer-function, special-display-buffer-names)
14636         (special-display-function): Mention help-setup parameter instead
14637         of display-buffer-window in doc-string.
14638         * help.el (help-window-setup): New argument help-window.
14639         Use help-window-setup parameter instead of display-buffer-window.
14640         Reword some messages.
14641         (with-help-window): Pass window used for displaying the buffer
14642         to help-window-setup.  Don't set display-buffer-window.
14644 2011-09-13  Glenn Morris  <rgm@gnu.org>
14646         * emacs-lisp/debug.el (debugger-make-xrefs):
14647         Preserve point.  (Bug#9462)
14649 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
14651         * window.el (window-deletable-p): Use next-frame.
14653 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
14655         * window.el (window-auto-delete): Remove.
14656         (window-deletable-p): Remove argument FORCE.  Don't deal with
14657         dedication and previous buffers.
14658         (switch-to-prev-buffer): Don't delete window.
14659         (delete-windows-on): Delete a window's frame if and only if the
14660         window is dedicated.
14661         (replace-buffer-in-windows): Delete buffer's window or frame if
14662         and only if window is dedicated.
14663         (quit-window): Handle quit-restore as before last change.
14664         (bury-buffer): Delete window only if window-deletable-p returns t.
14666 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
14668         * window.el (window-deletable-p): Never delete the last frame on a
14669         given terminal.
14671 2011-09-13  Glenn Morris  <rgm@gnu.org>
14673         * help.el (describe-key-briefly): Copy previous standard-output change.
14675 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
14677         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
14679 2011-09-13  Glenn Morris  <rgm@gnu.org>
14681         * emacs-lisp/lisp-mode.el (lisp-indent-function):
14682         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14684 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
14686         * dired-aux.el (dired-mark-read-string): Don't return default
14687         value on empty input (Bug#9361).
14688         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14689         Omit initial minibuffer contents.
14690         (dired-do-chmod): Signal an error on empty input.
14691         (dired-mark-read-string): Don't return default on empty input.
14693         * files.el (file-modes-symbolic-to-number): Doc fix.
14695 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14697         * international/mule-cmds.el (ucs-completions): Remove.
14698         (read-char-by-name): Use complete-with-action instead; add metadata.
14700 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
14702         * window.el (display-buffer--action-function-custom-type)
14703         (display-buffer--action-custom-type): New vars.
14704         (display-buffer-alist, display-buffer-default-action)
14705         (display-buffer-overriding-action): Add defcustom types.
14707         * frame.el (delete-other-frames): Doc fix (Bug#276).
14709 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14711         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14713 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
14715         Change modes that used same-window-* vars to use switch-to-buffer.
14717         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14718         Use switch-to-buffer.
14720         * cus-edit.el (customize-group, custom-buffer-create)
14721         (customize-browse, custom-buffer-create-other-window):
14722         Use switch-to-buffer or switch-to-buffer-other-window.
14724         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14725         (Info-prev, Info-up, Info-speedbar-goto-node)
14726         (info-display-manual): Use switch-to-buffer.
14727         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14729         * mail/sendmail.el (mail): Use switch-to-buffer.
14730         (mail-recover): Use switch-to-buffer-other-window.
14732         * cmuscheme.el (run-scheme, switch-to-scheme):
14733         * ielm.el (ielm):
14734         * shell.el (shell):
14735         * net/rlogin.el (rlogin):
14736         * net/telnet.el (telnet, rsh):
14737         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14739 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
14741         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14743 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14745         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14746         so don't mention it (bug#9301).
14747         (dired-sort-toggle-or-edit): Clarify string further.
14749         * faces.el (face-spec-set-match-display): Make `(type graphic)'
14750         match `x', `w32' and `ns', like the manual says (bug#9029).
14752         * subr.el (eval-after-load): Doc string clarification (bug#9125).
14753         (process-kill-buffer-query-function): Mention the buffer name in
14754         the query.
14756         * image-mode.el (image-next-line): The line parameter is mandatory
14757         (bug#9258).
14759         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14760         which can be useful (bug#9301).
14762         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14764         * subr.el (match-string): Mention that the current buffer should
14765         be the same as the search was done in (bug#9282).
14767         * facemenu.el: Disable the remove-* commands if the mark isn't
14768         active (bug#9162).
14770 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
14772         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14773         of display-buffer.
14774         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14776         * replace.el (occur-mode-goto-occurrence)
14777         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14778         and display-buffer.
14780         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14781         display-buffer.
14783         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14784         special-display and same-window variables.
14785         (mail-other-window): Use switch-to-buffer-other-window.
14786         (mail-other-frame): USe switch-to-buffer-other-frame.
14788         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14789         Use display-buffer-other-frame.
14790         (gdb-display-gdb-buffer): Use pop-to-buffer.
14792         * progmodes/gud.el (gud-goto-info): Use info-other-window.
14794         * progmodes/python.el: Don't set same-window-buffer-names.
14796         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14798         * window.el (display-buffer-alist): Add *Python*.
14800 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
14802         * window.el (display-buffer-alist): Add entry for buffers
14803         previously handled same-window-*.
14804         (display-buffer-alist, display-buffer-default-action)
14805         (display-buffer-overriding-action): Mark as risky.
14806         (display-buffer-alist): Document action function changes.
14807         (display-buffer--same-window-action)
14808         (display-buffer--other-frame-action): New variables.
14809         (switch-to-buffer, display-buffer-other-frame): Use them.
14810         (display-buffer): Rename reuse-frame entry to reusable-frames.
14811         (display-buffer-reuse-selected-window): Function deleted.
14812         (display-buffer-reuse-window): Handle reusable-frames alist entry.
14813         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14814         (display-buffer-special): New function.
14815         (display-buffer--maybe-pop-up-frame-or-window): Rename from
14816         display-buffer-reuse-or-pop-window.  Split off special-display
14817         part into display-buffer-special.
14818         (display-buffer-use-some-window): Don't perform any special
14819         pop-up-frames handling.
14820         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14821         (display-buffer--maybe-same-window): Rename from
14822         display-buffer-maybe-same-window.
14824         * info.el: Don't set same-window-regexps.
14825         (info-setup): New function.
14826         (info-other-window, info): Call it.
14828         * cus-edit.el: Don't set same-window-regexps.
14829         (customize-group): New argument.
14830         (customize-group-other-window): Use it.
14831         (customize-face, customize-face-other-window): Likewise.
14832         (custom-buffer-create-other-window): Use pop-to-buffer directly.
14834         * net/rlogin.el:
14835         * net/telnet.el:
14836         * progmodes/gud.el: Don't set same-window-regexps.
14838         * cmuscheme.el:
14839         * ielm.el:
14840         * shell.el:
14841         * mail/sendmail.el:
14842         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14844 2011-09-10  Juri Linkov  <juri@jurta.org>
14846         * isearch.el (isearch-edit-string): Remove obsolete mention of
14847         `C-w' (`isearch-yank-word-or-char') from docstring.
14848         (isearch-query-replace): Fix typo in docstring (bug#9466).
14850 2011-09-10  Juri Linkov  <juri@jurta.org>
14852         * paren.el (show-paren-function): Don't show escaped parens.
14853         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
14855 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
14857         * mail/sendmail.el (mml-to-mime, mml-attach-file)
14858         (mm-default-file-encoding): Remove autoload forms, they are
14859         replaced with autoload cookies in mml.el and mm-encode.el.
14860         (mail-add-attachment): New command.
14861         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14862         (mail-mode): Mention mail-insert-file and mail-add-attachment in
14863         the doc string.
14864         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14866 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
14868         * simple.el (count-words-region): Use buffer if there's no region
14869         (bug#9429).
14871 2011-09-09  Juri Linkov  <juri@jurta.org>
14873         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14874         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14875         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
14877 2011-09-09  Alan Mackenzie  <acm@muc.de>
14879         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14880         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
14882 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
14884         Fix for Savannah bug#9392.
14885         * simple.el (mail-encode-mml): New defvar.
14887         * mail/rmail.el (mail-encode-mml): Add a defvar.
14888         (rmail-enable-mime-composing): Default to t.
14889         (rmail-forward): Use MIME method of forwarding only if both
14890         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14891         Set mail-encode-mml non-nil if the MIME method was used.
14893         * mail/sendmail.el (mml-to-mime): Add autoload form.
14894         (mail-encode-mml): Add a defvar.
14895         (mail-mode): Make mail-encode-mml buffer-local and initialize it
14896         to nil.
14897         (mail-send): If mail-encode-mml is non-nil, run the outgoing
14898         message through mml-to-mime, and reset mail-encode-mml to nil.
14900 2011-09-09  Glenn Morris  <rgm@gnu.org>
14902         * woman.el (woman-if-body): When processing an .el block,
14903         do not delete the next .el block as well.  (Bug#9447)
14904         (woman-special-characters): Add oq, cq, and hy characters.
14906 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
14908         * window.el (window-deletable-p): Make sure window is live before
14909         invoking window-prev-buffers.
14911 2011-09-08  Leo Liu  <sdl.web@gmail.com>
14913         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
14915 2011-09-08  Juri Linkov  <juri@jurta.org>
14917         * progmodes/compile.el (compilation-environment): Make it
14918         a defcustom (bug#8340).
14920 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
14922         * window.el (frame-auto-delete): Rename to window-auto-delete.
14923         Make it control auto-deletion of windows and/or frames.
14924         (window-deletable-p): New argument FORCE.  Rewrite conditions
14925         for deleting window/frame.  (Bug#9419)
14926         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14927         Rewrite handling of case when window/frame can be deleted.
14928         (delete-windows-on): Call window-deletable-p with new FORCE
14929         argument t.  (Bug#9456)
14931 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
14933         * help-mode.el (help-mode): Restore autoload.
14935 2011-09-07  Juri Linkov  <juri@jurta.org>
14937         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14938         `compilation-environment'.  Set buffer-local
14939         `compilation-environment' to `thisenv' later after (funcall mode).
14940         (Bug#8340)
14942         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
14943         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14944         instead of replacing its value.  (Bug#8340)
14946 2011-09-07  Juri Linkov  <juri@jurta.org>
14948         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14949         based on text properties put by `grep-filter' instead of matching
14950         escape sequences.
14951         (grep-mode): Set buffer-local `compilation-error-screen-columns'
14952         to the value of `grep-error-screen-columns' (bug#9438).
14954 2011-09-07  Juri Linkov  <juri@jurta.org>
14956         * simple.el (next-error-highlight, next-error-highlight-no-select):
14957         Doc fix (bug#9432).
14959 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
14961         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14962         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
14964 2011-09-07  Leo Liu  <sdl.web@gmail.com>
14966         * net/rcirc.el (rcirc-mode): Conditionally initialize
14967         rcirc-input-ring.
14969 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14971         * emacs-lisp/find-func.el (find-function-C-source): Only set
14972         find-function-C-source-directory after checking that we found a source
14973         file there (bug#9440).
14975 2011-09-06  Alan Mackenzie  <acm@muc.de>
14977         * isearch.el (isearch-other-meta-char): Wherever a key list is
14978         unread, "unread" the prefix arg, too.  This fixes bug #8901.
14980 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
14982         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14984 2011-09-05  Juri Linkov  <juri@jurta.org>
14986         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14988 2011-09-05  Juri Linkov  <juri@jurta.org>
14990         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14991         keeping point where processing of grep matches begins, and
14992         continue to delete remaining escape sequences from the same point.
14993         (grep-filter): Make leading zero optional in "0?1;31m" because
14994         git-grep emits "\033[1;31m" escape sequences unlike expected
14995         "\033[01;31m" as GNU Grep does (bug#9408).
14996         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14998 2011-09-05  Juri Linkov  <juri@jurta.org>
15000         * subr.el (y-or-n-p): Capitalize "yes".
15002 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
15004         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
15005         `tramp-cache-unload-hook' where appropriate.
15006         (tramp-methods): Rename `tramp-remote-sh' to
15007         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
15008         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15010         * net/tramp-sh.el (top): Don't require 'shell.
15011         (tramp-methods): Add `tramp-remote-shell' and
15012         `tramp-remote-shell-args' entries.
15013         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15014         (tramp-sh-handle-shell-command): Remove.
15015         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15016         Use `tramp-remote-shell'.
15018 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
15020         * mail/sendmail.el (sendmail-query-once-function): Delete.
15021         (sendmail-query-once): Save directly to send-mail-function.
15022         Update message-send-mail-function too.
15024         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15026 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15028         * progmodes/python.el (python-mode-map): Use correct function to
15029         start python interpreter from menu-bar (as reported by Geert
15030         Kloosterman).
15031         (inferior-python-mode-map): Fix typo.
15032         (python-shell-map): Remove.
15034 2011-09-03  Deniz Dogan  <deniz@dogan.se>
15036         * net/rcirc.el (rcirc-print): Simplify code for
15037         rcirc-scroll-show-maximum-output.  There is no need to walk
15038         through all windows to find the right one.
15040 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15042         * help.el (help-return-method): Doc fix.
15044 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
15046         * window.el (window-deletable-p): Don't return a non-nil value
15047         when there's a buffer that was shown in the window before.
15048         (Bug#9419)
15049         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15050         Set window's previous buffers to nil.
15052 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
15054         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15055         newline before and after the tag line, so it doesn't interfere
15056         with determining the paragraph direction of bidirectional text.
15058 2011-09-03  Leo Liu  <sdl.web@gmail.com>
15060         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
15062 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15064         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15065         (pop-to-buffer): Change interactive spec.  Pass second argument
15066         directly to display-buffer.
15067         (display-buffer): Fix interactive spec.  Use functionp to
15068         distinguish between a function and a list of functions.
15070         * abbrev.el (edit-abbrevs):
15071         * arc-mode.el (archive-extract):
15072         * autoinsert.el (auto-insert):
15073         * bookmark.el (bookmark-bmenu-list):
15074         * files.el (find-file):
15075         * view.el (view-buffer):
15076         * progmodes/compile.el (compilation-goto-locus):
15077         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15079 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15081         * window.el (display-buffer-alist): Doc fix.
15082         (display-buffer): Add docstring.  Don't treat
15083         display-buffer-default specially.
15084         (display-buffer-reuse-selected-window)
15085         (display-buffer-same-window, display-buffer-maybe-same-window)
15086         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15087         (display-buffer-pop-up-window)
15088         (display-buffer-reuse-or-pop-window)
15089         (display-buffer-use-some-window): New functions.
15090         (display-buffer-default-action): Use them.
15091         (display-buffer-default): Delete.
15092         (pop-to-buffer-1): Fix choice of actions.
15094 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15096         * minibuffer.el (completion--insert-strings): Don't get confused by
15097         completion entries that end with an LF char.
15099 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
15101         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15103 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
15105         * window.el (display-buffer): Restore interactive spec.
15106         (display-buffer-same-window, display-buffer-other-window):
15107         New functions.
15108         (pop-to-buffer-1): New function.  Use the above.
15109         (pop-to-buffer, pop-to-buffer-same-window): Use it.
15110         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15112         * view.el (view-buffer-other-window, view-buffer-other-frame):
15113         Just use pop-to-buffer.
15115 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15117         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
15119 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
15121         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
15123 2011-08-31  Richard Stallman  <rms@gnu.org>
15125         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15126         of the separation of rmail-view-buffer from rmail-buffer.
15127         If you say no to "replace original", the decrypt is in the
15128         view buffer.  If you say yes, the decrypt goes into the
15129         rmail buffer also.
15131 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
15133         * window.el (display-buffer-window): Rewrite doc-string.
15134         (display-buffer-record-window): New function.
15135         (display-buffer-macro-specifiers)
15136         (display-buffer-even-window-sizes, display-buffer-set-height)
15137         (display-buffer-set-width, display-buffer-in-window)
15138         (display-buffer-reuse-window, display-buffer-split-specifiers)
15139         (display-buffer-side-specifiers, display-buffer-split-window-1)
15140         (display-buffer-split-window, display-buffer-split-atom-window)
15141         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15142         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15143         (display-buffer-other-window-means-other-frame)
15144         (display-buffer-normalize-special)
15145         (display-buffer-normalize-default)
15146         (display-buffer-normalize-argument)
15147         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15148         (display-buffer-normalize-specifiers, display-buffer-frame)
15149         (display-buffer-same-window, display-buffer-same-frame)
15150         (display-buffer-other-window)
15151         (display-buffer-same-frame-other-window)
15152         (display-buffer-other-frame, pop-to-buffer-same-window)
15153         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15154         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15155         (switch-to-buffer-same-frame)
15156         (switch-to-buffer-other-window-same-frame)
15157         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15158         (display-buffer-alist-set-1, display-buffer-alist-set-2)
15159         (display-buffer-alist-set): Remove.
15160         (display-buffer-function, special-display-buffer-names)
15161         (special-display-regexps, special-display-function):
15162         In doc-string refer to display-buffer-window and quit-restore
15163         parameter.
15164         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15165         (special-display-frame-alist, special-display-popup-frame)
15166         (same-window-buffer-names, same-window-regexps, same-window-p)
15167         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15168         (split-window-preferred-function, split-height-threshold)
15169         (split-width-threshold, window-splittable-p)
15170         (split-window-sensibly, window--try-to-split-window)
15171         (window--frame-usable-p, even-window-heights)
15172         (window--even-window-heights, window--display-buffer-1)
15173         (window--display-buffer-2, display-buffer-other-frame):
15174         Restore old Emacs 23 code, order and doc-strings where applicable.
15175         (display-buffer-default, display-buffer-assq-regexp): New functions.
15176         (display-buffer-alist): Rewrite doc-string.
15177         (display-buffer-default-action)
15178         (display-buffer-overriding-action): New variables.
15179         (display-buffer, switch-to-buffer): Rewrite.
15180         (pop-to-buffer): Restore Emacs 23 behavior but use
15181         window-normalize-buffer-to-display.
15182         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15183         Restore Emacs 23 behavior but use
15184         window-normalize-buffer-to-switch-to.
15185         (pop-to-buffer-same-window): Rewrite.
15186         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15187         Rewrite using Emacs 23 options.
15189 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
15191         * net/tramp.el (tramp-root-regexp): Remove.
15192         (tramp-completion-file-name-regexp-unified)
15193         (tramp-completion-file-name-regexp-separate)
15194         (tramp-completion-file-name-regexp-url): Don't use leading volume
15195         letter on w32 systems.  (Bug#5303, Bug#9311)
15196         (tramp-drop-volume-letter): Simplify definition.
15197         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15199 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15201         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15202         (bug#9356).
15204 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
15206         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15208 2011-08-29  Juri Linkov  <juri@jurta.org>
15210         * isearch.el (isearch-done): Don't display message "Mark saved"
15211         when arg `edit' is non-nil to prevent its flicker in the echo area.
15213 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15215         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15216         obsolete packages for deletion.
15218 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
15220         * help-mode.el (help-mode-map): Add special-mode-map to parent.
15221         (help-mode): Derive help-mode from special-mode.  Don't invoke
15222         view-mode from help-mode.
15223         (help-xref-override-view-map): Remove.
15224         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15225         view-mode is not used anymore.
15227 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15229         * server.el (server-port): Doc fix.
15231         * cus-theme.el (custom-theme-choose-mode): Inherit from
15232         special-mode (Bug#9124).
15233         (custom-theme-choose-mode-map): Add special-mode to parent.
15235 2011-08-28  Alan Mackenzie  <acm@muc.de>
15237         * progmodes/cc-fonts.el
15238         (c-make-font-lock-BO-decl-search-function): New function.
15239         (c-basic-matchers-after - "Fontify the clauses after various
15240         keywords"): Extract the three keyword lists for the 3 erroneous
15241         constructs from the list of four, and use the new function above
15242         in place of an old one.
15244 2011-08-28  Deniz Dogan  <deniz@dogan.se>
15246         * net/rcirc.el (rcirc-insert-prev-input)
15247         (rcirc-insert-next-input): Remove unused argument.
15249 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15251         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15253 2011-08-27  Alan Mackenzie  <acm@muc.de>
15255         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15256         handle function pointer parameters properly.
15258 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
15260         * window.el (display-buffer-reuse-window): Fix case where
15261         selected window was reused with non-nil OTHER-WINDOW argument.
15262         (Bug#9381)
15264 2011-08-27  Deniz Dogan  <deniz@dogan.se>
15266         * net/rcirc.el (rcirc-check-auth-status): Adding support for
15267         oftc's NickServ messages.
15269 2011-08-27  Glenn Morris  <rgm@gnu.org>
15271         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
15273 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
15275         * emacs-lisp/package.el (package-install): Call package-initialize
15276         if called interactively.
15278 2011-08-26  Leo Liu  <sdl.web@gmail.com>
15280         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
15282 2011-08-25  Juri Linkov  <juri@jurta.org>
15284         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15285         `search-whitespace-regexp' (bug#9364).
15287 2011-08-25  Juri Linkov  <juri@jurta.org>
15289         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15290         `regexp-search-ring' to their global values to protect from
15291         updating by `read-from-minibuffer' (bug#9185).
15293 2011-08-25  Juri Linkov  <juri@jurta.org>
15295         * textmodes/ispell.el (ispell-command-loop): Add newline
15296         at the end of the "Use option `i'..." line.
15298 2011-08-25  Juri Linkov  <juri@jurta.org>
15300         * battery.el (display-battery-mode): If `battery-status-function'
15301         or `battery-mode-line-format' is nil, display the message and set
15302         `display-battery-mode' to nil (bug#9363).
15304 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
15306         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15307         bidi-string-mark-left-to-right; they are unnecessary now.
15309 2011-08-25  Deniz Dogan  <deniz@dogan.se>
15311         * net/quickurl.el: Documentation typo fixes.
15313 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
15315         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15317 2011-08-25  Glenn Morris  <rgm@gnu.org>
15319         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15321         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15322         (smtpmail-via-smtp): Handle nil response from smtp.
15324 2011-08-24  Juri Linkov  <juri@jurta.org>
15326         * proced.el (proced-marked): Inherit from `error' instead of
15327         `font-lock-warning-face'.
15329         * ibuffer.el (ibuffer-marked-face): Change default face from
15330         `font-lock-warning-face' to `warning'.
15331         (ibuffer-deletion-face): Change default face from
15332         `font-lock-type-face' to `error'.
15334         * battery.el (battery-update): Use the face `error' instead of
15335         `font-lock-warning-face' (bug#6117).
15337 2011-08-24  Juri Linkov  <juri@jurta.org>
15339         * faces.el (success): Change face color from "Green3" to
15340         "ForestGreen" on light background (bug#9353).
15342 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
15344         * window.el (quit-window): Rename from quit-restore-window.
15345         Use same arglist as old quit-window.
15346         (frame-auto-delete): Doc fix.
15348         * view.el (view-mode-exit): Use quit-window.
15350 2011-08-24  Juri Linkov  <juri@jurta.org>
15352         * isearch.el (isearch-ring-adjust1): Start visiting previous
15353         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15354         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15355         for empty search string (when the last search string is reused
15356         automatically) to adjust the isearch ring to the last element and
15357         prepare the correct index for further M-p commands (bug#9185).
15359 2011-08-24  Kenichi Handa  <handa@m17n.org>
15361         * international/ucs-normalize.el: If decomposition property of
15362         CHAR is the default one (i.e. a list of CHAR itself), treat it as
15363         nil.
15364         (nfd, nfkd): Likewise.
15366 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15368         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15369         from process filters aren't reliably transmitted to the surrounding
15370         accept-process-output.
15371         (mpc-proc-check): New function.
15372         (mpc-proc-sync): Use it (bug#8293)
15374 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15376         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15377         Add compatibility functions (bug#9313).
15379 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
15381         * cus-start.el (all): Add entry for bidi-paragraph-direction.
15383         * international/uni-bidi.el: Regenerate.
15385 2011-08-23  Kenichi Handa  <handa@m17n.org>
15387         * international/charprop.el:
15388         * international/uni-bidi.el:
15389         * international/uni-category.el:
15390         * international/uni-combining.el:
15391         * international/uni-comment.el:
15392         * international/uni-decimal.el:
15393         * international/uni-decomposition.el:
15394         * international/uni-digit.el:
15395         * international/uni-lowercase.el:
15396         * international/uni-mirrored.el:
15397         * international/uni-name.el:
15398         * international/uni-numeric.el:
15399         * international/uni-old-name.el:
15400         * international/uni-titlecase.el:
15401         * international/uni-uppercase.el: Regenerate.
15403 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
15405         * help.el (help-window-setup): Fix message displayed when other
15406         window is reused.  (Bug#9341)
15408 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15410         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15411         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15413         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15414         Mark obsolete.
15415         * shell.el (shell-parse-pcomplete-arguments): New function.
15416         (shell-completion-vars): Use it instead (bug#9160).
15418 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15420         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15421         strings and comments (bug#9333).
15423         * emacs-lisp/debug.el (debug-arglist): New function.
15424         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
15425         (debug-on-entry-1): Handle interpreted closures (bug#9120).
15427 2011-08-22  Juri Linkov  <juri@jurta.org>
15429         * progmodes/compile.el (compilation-mode-font-lock-keywords):
15430         Revert regexp that highlights output switches to its old
15431         pre-2010-10-28 value and remove one `?' from it (bug#9319).
15433         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15434         to check for empty output (bug#9226).
15436 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
15438         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15439         symbol-constituent as the default, as that stops font-lock from
15440         working properly (Bug#8843).
15442 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15444         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15445         `coding-system-for-*' around the process open call to avoid
15446         auth-source side effects.
15447         (smtpmail-try-auth-methods): Expand the secret password.
15448         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15449         probe hangs.
15451 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
15453         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15455         * emacs-lisp/find-func.el (find-function-noselect): New arg
15456         lisp-only.
15458         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15459         signal an error for built-in functions (Bug#6664).
15461 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15463         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15464         (smtpmail-try-auth-methods): Use it.
15466 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
15468         * font-lock.el (font-lock-fontify-region)
15469         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15470         (font-lock-default-unfontify-buffer)
15471         (font-lock-default-fontify-region)
15472         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15474         * progmodes/compile.el (compilation-error-properties):
15475         Fix confusion between file struct and message struct (Bug#9319).
15476         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15477         `ant' regexp.
15479         * net/browse-url.el (browse-url-firefox): Don't call
15480         browse-url-firefox-sentinel unless using -remote (Bug#9328).
15482 2011-08-20  Glenn Morris  <rgm@gnu.org>
15484         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15486         * tutorial.el (tutorial--default-keys): Update some default bindings.
15488         * files.el (hack-local-variables): Fully ignore case for "mode:".
15490 2011-08-20  Alan Mackenzie  <acm@muc.de>
15492         Resolve invalid use of a regexp in regexp-opt.
15494         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15495         detection for a java annotation.
15497         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15498         detection for a java annotation.
15500         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15501         handling for java.
15502         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15504 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
15506         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15507         (Bug#9274).
15509 2011-08-20  Alan Mackenzie  <acm@muc.de>
15511         Fontify CPP expressions correctly when starting in the middle of
15512         such a construct.  Mainly for when jit-lock etc. starts a chunk
15513         here.
15515         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15516         variable.
15517         (c-make-font-lock-search-form): New function, extracted from
15518         c-make-font-lock-search-function.
15519         (c-make-font-lock-search-function): Use the above function.
15520         (c-make-font-lock-context-search-function): New function.
15521         (c-cpp-matchers): Enhance the preprocessor expression case with
15522         the above function
15523         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15524         which takes an expression.
15526         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15528 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
15530         * window.el (display-buffer-reuse-window)
15531         (display-buffer-pop-up-window): Don't reuse or split a side
15532         window.
15534 2011-08-19  Glenn Morris  <rgm@gnu.org>
15536         * files.el (hack-local-variables-prop-line, hack-local-variables):
15537         Downcase "Mode:".  (Bug#9331)
15539 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
15541         * international/characters.el: Add L and R categories.
15543         * subr.el (bidi-string-mark-left-to-right): Rename from
15544         string-mark-left-to-right.  Use category search.
15546         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15548 2011-08-18  Juri Linkov  <juri@jurta.org>
15550         * faces.el (error, warning, success): New faces with definitions
15551         copied from old default values of `font-lock-warning-face',
15552         `compilation-warning', `compilation-info' (bug#6117).
15554         * font-lock.el (font-lock-warning-face): Inherit from `error'.
15556         * progmodes/compile.el (compilation-error): Inherit from `error'.
15557         (compilation-warning): Inherit from `warning'.
15558         (compilation-info): Inherit from `success'.
15560         * dired.el (dired-marked): Inherit from `warning'.
15561         (dired-flagged): Inherit from `error'.
15563 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15565         * mail/smtpmail.el (auth-source): Require to avoid problems with
15566         binding variables (bug#9298).  Also clean up some unused
15567         autoloads.
15569         * net/network-stream.el (network-stream-open-starttls):
15570         Support using starttls.el without using gnutls-cli.
15572 2011-08-17  Juri Linkov  <juri@jurta.org>
15574         * progmodes/grep.el (rgrep): Handle the case when
15575         `grep-find-command' is a cons cell (bug#9278).
15577 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
15579         * window.el (display-buffer-pop-up-frame): Run frame creation
15580         function with BUFFER current (as special-display-popup-frame
15581         does).  Reported by Drew Adams.
15583 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
15585         * epa-mail.el: Simplify GnuPG group expansion using
15586         epg-expand-group.
15587         (epa-mail-group-alist, epa-mail-group-modtime)
15588         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15589         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15590         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15591         Remove.
15593 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
15595         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15597 2011-08-16  Alan Mackenzie  <acm@muc.de>
15599         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15600         Correct, to avoid the inside of macros.
15602 2011-08-16  Richard Stallman  <rms@gnu.org>
15604         * epa-mail.el: Handle GnuPG group definitions.
15605         (epa-mail-group-alist, epa-mail-group-modtime)
15606         (epa-mail-gnupg-conf-file): New variables.
15607         (epa-mail-parse-groups, epa-mail-sync-groups)
15608         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15609         (epa-mail-expand-recipients): New functions.
15610         (epa-mail-encrypt): Call epa-mail-expand-recipients.
15612         * mail/rmail.el (rmail-epa-decrypt): New command.
15614         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15615         Don't bind buffer-read-only, just inhibit-read-only.
15616         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15617         (epa-decrypt-armor-in-region): Make error message clearer.
15619 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15621         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15622         and "a2b" to "ab" for `prefix'.
15624 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
15626         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15627         filter groups.
15628         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
15629         Fourquet (Bug#8804).
15631 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
15633         * startup.el (argi): Declare as global variable (bug#9275).
15635 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
15637         * subr.el (string-mark-left-to-right): Search the entire string
15638         for RTL script, not just the terminating character.  Doc fix.
15640 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15642         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15643         New function.
15644         (js--regexp-literal, js-syntax-propertize-function): Remove.
15645         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15646         (js-mode-map): Don't rebind electric keys.
15647         (js-insert-and-indent): Remove.
15648         (js-mode): Setup electric-layout and electric-indent instead.
15650         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15652 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
15654         * epa.el (epa-progress-callback-function): Fix the logic of
15655         displaying progress.
15656         * epa-file.el (epa-file-insert-file-contents): Make progress
15657         display more user-friendly.
15658         (epa-file-write-region): Ditto.
15660 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
15662         * subr.el (string-mark-left-to-right): New function.
15664         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15665         Use string-mark-left-to-right.
15666         (list-buffers-noselect): Caller changed.
15668         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15669         Use string-mark-left-to-right.
15670         (tabulated-list-print): Recenter after moving point.
15672 2011-08-10  Juri Linkov  <juri@jurta.org>
15674         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15675         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15676         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15678 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
15680         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15681         (Bug#7554).
15683 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15685         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15686         character.  (Bug#6594)
15688 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
15690         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15691         (image-dired--with-db-file): New macro.
15692         (image-dired-write-tags, image-dired-remove-tag)
15693         (image-dired-create-gallery-lists, image-dired-write-comments)
15694         (image-dired-get-comment, image-dired-mark-tagged-files)
15695         (image-dired-list-tags, image-dired-gallery-generate): Use it.
15696         (image-dired-gallery-generate): Use insert-file-contents.
15698         * time.el (display-time-world-list, display-time-world-display):
15699         * time-stamp.el (time-stamp-string):
15700         * vc/add-log.el (add-change-log-entry): Use setenv instead of
15701         set-time-zone-rule (Bug#7337).
15703 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
15705         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15706         (epg-error-to-string, epg-errors-to-string): New function.
15707         (epg-wait-for-completion): Reverse errors list.
15708         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15709         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15710         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15711         (epg-sign-keys, epg-generate-key-from-file)
15712         (epg-generate-key-from-string): Format errors by using
15713         epg-errors-to-string (bug#9255).
15714         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15716 2011-08-07  Juri Linkov  <juri@jurta.org>
15718         * faces.el (list-faces-display): Remove extra angle bracket
15719         from `help-mode-map'.
15721         * info.el (Info-history-toc-nodes): Doc fix.
15723         * longlines.el (longlines-mode): Doc fix.
15725 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15727         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15728         of statements and in a few more cases (bug#9183).
15730         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15731         New functions.
15732         (cl-transform-lambda): Use them (bug#9239).
15734 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
15736         * window.el (display-buffer-same-window)
15737         (display-buffer-same-frame, display-buffer-other-window)
15738         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15739         (pop-to-buffer-other-window)
15740         (pop-to-buffer-same-frame-other-window)
15741         (pop-to-buffer-other-frame): Make them defuns.
15742         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15744 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15746         * subr.el (make-composed-keymap): Move from C.  Change calling
15747         convention, and improve docstring to bring attention to a subtle point.
15748         * minibuffer.el (completing-read-default): Adjust accordingly.
15750 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
15752         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15753         (tramp-open-shell): Use `tramp-shell-quote-argument'.
15755         * net/trampver.el: Update release number.
15757 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15759         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15760         "in" (bug#9190).
15762 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15764         * mail/sendmail.el (sendmail-query-once): Restore the current
15765         buffer after querying (bug#9074).
15767         * dired.el (dired-flagged): Use different faces for marked and
15768         flagged files (bug#6117).
15770         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15771         (bug#4433).
15773         * ido.el (ido-mode): Switch off the message if called
15774         non-interactively.
15776         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15777         before 587, since it appears that that's more likely to work for
15778         more people.
15780         * cus-edit.el (custom-file): When running under emacs -q, always
15781         refuse to save the customizations, even if the .emacs file doesn't
15782         exist.
15784         * info.el: Remove the `Info-beginning-of-buffer' function
15785         (bug#8325).
15787         * net/network-stream.el (network-stream-open-starttls):
15788         Use `starttls-available-p' to see whether starttls.el can be used.
15790 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
15792         * window.el (display-buffer-in-window): Don't set dedicated status
15793         of window here (Bug#9215).
15794         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15795         (display-buffer-pop-up-side-window)
15796         (display-buffer-in-side-window): Set dedicated status of window here.
15798 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15800         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15801         before binding generated-autoload-file.
15803 2011-08-01  Deniz Dogan  <deniz@dogan.se>
15805         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15807 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
15809         Sync with Tramp 2.2.2.
15811         * net/trampver.el: Update release number.
15813 2011-07-30  Juri Linkov  <juri@jurta.org>
15815         * dired-aux.el (dired-touch-initial): Remove function.
15816         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15817         current time, and `default' to the last modification time of the
15818         current marked file (bug#6887).
15820 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
15822         * simple.el (goto-line): Use string-to-number to provide a
15823         numeric argument to read-number (bug#9163).
15825 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
15827         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15828         connection process, it could be nil.
15830 2011-07-27  Leo Liu  <sdl.web@gmail.com>
15832         Simplify url handling in rcirc-mode.
15834         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15835         (rcirc-browse-url-at-mouse): Remove.
15836         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15838 2011-07-26  Alan Mackenzie  <acm@muc.de>
15840         Fontify bitfield declarations properly.
15842         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15843         (c-symbol-chars): Now exported as a lang variable.
15844         (c-not-primitive-type-keywords): New lang variable.
15846         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15847         QT keyword "more" to prevent "more slots: ...." being spuriously
15848         parsed as a bitfield declaration.
15850         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15851         Refactor and enhance to handle bitfield declarations.
15852         (c-punctuation-in): New function.
15853         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15854         declarations properly.
15856 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
15858         * calendar/icalendar.el (icalendar--all-events): Take care of
15859         multiple vcalendars in a single file.
15860         (icalendar--convert-float-to-ical): Checkdoc fixes.
15862 2011-07-25  Deniz Dogan  <deniz@dogan.se>
15864         * image.el (insert-image): Clarifying docstring.
15866 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
15868         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15869         `tramp-send-command-and-check' if there is no error.
15870         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15872 2011-07-22  Alan Mackenzie  <acm@muc.de>
15874         Prevent cc-langs.elc being loaded at run time.
15876         * progmodes/cc-mode.el: Remove two autoload forms which loaded
15877         cc-langs.
15879         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15880         "(require 'cc-langs)".  Quote a form so it will evaluate at
15881         (cc-mode's) compilation time.
15883 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
15885         * net/tramp.el (tramp-file-name-handler): Avoid recursive
15886         loading.  (Bug#9114)
15888 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
15890         * window.el (display-buffer-pop-up-window)
15891         (display-buffer-pop-up-side-window)
15892         (display-buffer-in-side-window): Call display-buffer-set-height
15893         and display-buffer-set-width after setting the new window's
15894         buffer so `fit-window-to-buffer' and friends work on the right buffer.
15896 2011-07-20  Sam Steingold  <sds@gnu.org>
15898         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15899         (etags-tags-included-tables): Call `convert-standard-filename' on
15900         the file names contained in TAGS so that windows Emacs can handle
15901         TAGS files created by cygwin ctags.
15903 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15905         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15906         which apparently didn't work.
15908 2011-07-19  Roland Winkler  <winkler@gnu.org>
15910         * proced.el (proced-send-signal): For *Marked Processes* buffer
15911         put point at beginning of buffer.
15913 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
15915         * proced.el (proced-format): Make header lines align with the text
15916         (bug#1779).
15918 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15920         * view.el (view-buffer): Allow running in `special' modes if we're
15921         visiting a file (bug#8615).
15923 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
15925         * window.el (display-buffer-alist-of-strings-p)
15926         (display-buffer-alist-set-1, display-buffer-alist-set-2):
15927         New functions.
15928         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15929         more accurately.
15931 2011-07-18  Alan Mackenzie  <acm@muc.de>
15933         Fontify declarators properly when, e.g., a jit-lock chunk begins
15934         inside a declaration.
15936         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15938         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15939         New function.
15940         (c-complex-decl-matchers): Insert reference to
15941         c-font-lock-enclosing-decls.
15943         * progmodes/cc-engine.el (c-backward-single-comment):
15944         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15945         to nil around calls to (forward-comment -1).
15947 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15949         * image.el (put-image): Doc typo fix.
15951         * progmodes/etags.el (tags-search): Doc typo fix.
15953         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15954         password if we get errors 550 to 554.
15956 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15958         * net/gnutls.el (gnutls-log-level): Remove.
15960         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15961         indentation character (bug#6380).
15963         * files.el (buffer-offer-save): Made permanently local (bug#6241).
15965         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15966         to clarify what the problem is (bug#4291).
15968         * simple.el (current-kill): Clarify what
15969         `interprogram-paste-function' does (bug#7500).
15970         (auto-fill-mode): Document `auto-fill-function' in relation to
15971         `auto-fill-mode' (bug#2470).
15973 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
15975         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15976         method if slot is read-only (bug#9035).
15978 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
15980         * frame.el (select-frame-set-input-focus): New argument NORECORD.
15981         * window.el (pop-to-buffer): Select window used even if it was
15982         selected before, see discussion of (Bug#8615), (Bug#6954).
15983         Pass argument NORECORD on to select-frame-set-input-focus.
15985 2011-07-15  Glenn Morris  <rgm@gnu.org>
15987         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
15988         Respect help-form.
15990 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
15992         * net/gnutls.el (gnutls-min-prime-bits): New variable.
15993         (gnutls-negotiate): Use it.
15995 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15997         * net/gnutls.el (gnutls-negotiate):
15998         Upcase `gnutls-algorithm-priority'.
16000 2011-07-15  Glenn Morris  <rgm@gnu.org>
16002         * jka-compr.el (jka-compr-verbose): Move from here...
16003         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
16004         Add missing :version tag.
16005         * info.el: No need to require jka-compr when compiling.
16007 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16009         * net/gnutls.el (gnutls-algorithm-priority): New variable.
16010         (gnutls-negotiate): Use it.
16012         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16014         * info.el (Info-beginning-of-buffer): New command.
16015         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16016         announcing `b' as the key (bug#8325).
16017         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16019         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16021         * international/mule-cmds.el
16022         (describe-specified-language-support): Make the error message
16023         clearer (bug#8905).
16025         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16027         * isearch.el (isearch-barrier): Add a doc string, since it's
16028         mentioned in a function doc string (bug#8678).
16030 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
16032         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16033         buffer argument (Bug#9083) and self-identifying label argument.
16035 2011-07-15  Glenn Morris  <rgm@gnu.org>
16037         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
16039 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16041         * man.el (Man-fontify-manpage): Fix message when formatting the
16042         man page (bug#7929).
16044 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16046         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16047         argument LRM; if non-nil, append an invisible LRM character to the
16048         buffer name.
16049         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16050         last argument non-nil, when formatting buffer names.
16051         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16052         paragraph direction.
16054 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16056         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16057         the man page name (bug#7929).
16059         * image.el (put-image): Mention the `put-image' overlay property
16060         (bug#7834).
16062         * scroll-bar.el (set-scroll-bar-mode): Mention that
16063         `scroll-bar-mode' lists the values (bug#7772).
16065         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16066         command (bug#7729).
16068         * rect.el (apply-on-rectangle): Return the point after the last
16069         operation.
16070         (string-rectangle): Go to the point after the last operation
16071         (bug#7522).
16073         * printing.el (pr-toggle-region): Clarify the documentation
16074         slightly (bug#7493).
16076         * time.el (display-time-update):
16077         Allow `display-time-mail-function' to return nil (bug#7158).
16078         Fix suggested by Detlev Zundel.
16080         * vc/diff.el (diff): Clarify the order the file names are read
16081         (bug#7111).
16083         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16084         the doc string (bug#7015).
16086         * font-lock.el (font-lock-maximum-decoration): Mention what
16087         numeric levels mean (bug#6935).
16089         * startup.el (initial-buffer-choice): Don't mention the `none'
16090         selection, which is against policy.
16092 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
16094         * window.el (display-buffer-normalize-special):
16095         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16097 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16099         * subr.el (version<, version<=, version=): Mention "-CVS" and
16100         "-12345" alpha version numbers.
16102 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16104         * bindings.el: Add advertised binding for set-mark-command
16105         (Bug#5772).
16107 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16109         * bindings.el (mode-line-other-buffer):
16110         * bookmark.el (bookmark-bmenu-2-window):
16111         * bs.el (bs-cycle-next, bs-cycle-previous):
16112         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16113         switch-to-buffer.
16115         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16116         Delete.
16118 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
16120         * follow.el (follow-debug-message, follow-redisplay):
16121         * jka-cmpr-hook.el (with-auto-compression-mode):
16122         Fix typos in docstrings.
16124 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16126         * subr.el (with-silent-modifications): Clarify somewhat what the
16127         macro inhibits (bug#6525).
16129         * simple.el (eval-expression): Note what it does if called
16130         interactively (bug#6495).
16132 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16134         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16135         Use pop-to-buffer buffer-or-name if it is nil.
16137         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16138         Remove switch-to-buffer.
16140 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16142         * files.el (make-directory): Clarify that an error will be raised
16143         if there's an error (bug#6397).
16145         * startup.el (initial-buffer-choice): Add `none' as a choice
16146         (bug#6234).
16148         * subr.el (add-hook): Clarify section about buffer-local hooks
16149         (bug#6218).
16151         * dired.el (dired-flagged): Clarify doc string (bug#6117).
16153 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16155         * tabify.el (untabify): Preserve the current column so that point
16156         doesn't move (bug#6032).
16158 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16160         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16161         Rewrite to avoid awkward possessive "s" (bug#5986).
16163 2011-07-13  Glenn Morris  <rgm@gnu.org>
16165         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
16166         (dired-insert-directory): Give a message the first time
16167         if ls is found not to support --dired.
16169 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16171         * simple.el (toggle-truncate-lines): Clarify what is toggled
16172         (bug#5580).  Text by Drew Adams.
16174 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16176         * simple.el (blink-matching-open): Make the error message from the
16177         last change less verbose.
16179 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
16181         * font-lock.el (font-lock-comment-face): Use the high contrast
16182         "yellow" color for font-lock-comment-face on low color terminals
16183         using a dark background color (bug#4221).
16185 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16187         * dired.el (dired-insert-set-properties): Make the doc string
16188         reflect what it does now (bug#5325).
16190         * simple.el (blink-matching-open): Say that we were unable to find
16191         the match within the limit, if we're limited (bug#5122).
16193         * international/mule-cmds.el (prefer-coding-system): Add an
16194         example (bug#4869).
16196         * progmodes/etags.el (tags-search): Document `file-list-form'
16197         (bug#4731).
16199 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
16201         * net/browse-url.el (browse-url-default-browser)
16202         (browse-url-browser-function): Make the default browser choice a
16203         bit more logical (bug#4300).  Also clean up the doc string.
16205 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16207         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16208         binary endings (bug#4440).
16210 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16212         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16213         which can be pretty annoying (bug#8971).
16215         * jka-compr.el (jka-compr-verbose): New variable, and use
16216         throughout (bug#8971).
16218         * info.el (Info-find-file): Fall back on the installation
16219         directory if we can't find the info node anywhere else.
16221 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
16223         * vc/vc.el (vc-revert-file):
16224         Don't set file time-stamp in the past.  (Bug#5181)
16226 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16228         * files.el (after-find-file): Give a better error message when
16229         trying to find a symlink that points to a file that doesn't exist
16230         (bug#4398).
16232         * progmodes/cc-vars.el: Remove (probably) misleading comment
16233         (bug#4396).
16235 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
16237         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16239 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16241         * mouse-sel.el: Hack restoring functionality, while keeping
16242         compatibility with 2010-07-03 changes to mouse selection.
16243         (mouse-sel-primary-overlay): New var.
16244         (mouse-sel-selection-alist): Use it.
16245         (mouse-sel-mode): Doc fix; remove points that are default features
16246         of mouse.el.
16248 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
16250         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16251         Fix previous fix (bug#2490).
16253 2011-07-12  Roland Winkler  <winkler@gnu.org>
16255         * textmodes/bibtex.el (bibtex-initialize):
16256         Use pop-to-buffer-same-window.
16257         (bibtex-search-entries): Fix interactive call.
16259 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16261         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16262         Fontise bytecomp Error lines more correctly (bug#2490).
16263         Fix suggested by Johan Bockgård.
16265         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16267         * dired-x.el (dired-guess-default): Use `delete-dups'.
16269 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16271         * dired.el (dired-mark-prompt):
16272         * dired-aux.el (dired-read-shell-command): Doc fix.
16274 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16276         * mail/sendmail.el (sendmail-query-once):
16277         Use `customize-save-variable' unconditionally, now that it works under
16278         emacs -Q.
16280         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16282         * cus-edit.el (custom-file): Take an optional no-error variable.
16283         (customize-save-variable): Set the variable, and give a warning if
16284         running under "emacs -q".
16286 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
16288         * loadhist.el (unload-feature-special-hooks):
16289         Add `auto-coding-functions', `fill-nobreak-predicate' and
16290         `find-directory-functions' (bug#5327).
16292 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16294         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16296         * cus-edit.el (custom-guess-name-alist): -alist variables should
16297         use the `alist' type (bug#3120).  Suggested by Drew Adams.
16299         * printing.el: Add documentation to all the `pr-toggle-' commands.
16301 2011-07-11  Leo Liu  <sdl.web@gmail.com>
16303         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16304         backends where it makes sense (bug#2623).
16306 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16308         * dired-x.el (dired-guess-default): Remove duplicate shell command
16309         entries (bug#2028).
16310         (dired-guess-default): Fix grammar in doc string (bug#2028).
16311         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16313         * subr.el (remove-duplicates): New conveniency function.
16315 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16317         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16318         (bug#1526).
16320 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
16322         * window.el (display-buffer-normalize-default): Don't invert
16323         meaning of even-window-heights.  Reported by Eli Zaretskii
16324         <eliz@gnu.org>.
16326 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
16328         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16330 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
16332         * window.el (display-buffer): Fix arguments to
16333         display-buffer-reuse-window in last change.
16335         * faces.el (link): Use a less saturated blue on light backgrounds.
16337         * startup.el (fancy-startup-text, fancy-about-text)
16338         (fancy-startup-tail): Use font-lock faces, for background safety.
16340 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
16342         * emulation/viper-cmd.el (viper-change-state-to-vi):
16343         Limit triggering of abbrev expansion (Bug#9038).
16345 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
16347         * window.el (display-buffer-default-specifiers): Remove.
16348         (display-buffer-macro-specifiers): Remove default specifiers.
16349         (display-buffer-alist): Default to nil.
16350         (display-buffer-reuse-window): New optional argument other-window.
16351         (display-buffer-pop-up-window): Allow splitting internal
16352         windows.  Check whether a live window was created.
16353         (display-buffer-other-window-means-other-frame)
16354         (display-buffer-normalize-arguments): Rename to
16355         display-buffer-normalize-argument and rewrite.  Set the
16356         other-window specifier.
16357         (display-buffer-normalize-special): New function.
16358         (display-buffer-normalize-options): Rename to
16359         display-buffer-normalize-default and rewrite.
16360         (display-buffer-normalize-options-inhibit): Remove.
16361         (display-buffer-normalize-specifiers): Rewrite.
16362         (display-buffer): Process other-window specifier and call
16363         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
16364         more faithfully.
16365         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16366         (display-buffer-alist-set): Don't handle 'unset default values.
16367         (display-buffer-in-window, display-buffer-alist-set):
16368         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
16369         <tassilo@member.fsf.org>.
16371 2011-07-09  Leo Liu  <sdl.web@gmail.com>
16373         * register.el (insert-register): Restore accidental change on
16374         2011-06-26.  (Bug#9028)
16376 2011-07-09  Glenn Morris  <rgm@gnu.org>
16378         * subr.el (remq): Handle the empty list.  (Bug#9024)
16380 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
16382         * mail/sendmail.el (send-mail-function): No longer delay custom
16383         initialization.
16384         * custom.el (custom-initialize-delay): Doc fix.
16386 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16388         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16390 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
16392         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16393         human-friendly prompt.
16395 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16397         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16398         provided by a particular plugin.
16400 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16402         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16403         save customizations (with "emacs -Q"), just set the variable
16404         instead of erroring out.
16406         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16408 2011-07-08  Juri Linkov  <juri@jurta.org>
16410         * arc-mode.el (archive-zip-expunge, archive-zip-update)
16411         (archive-zip-update-case): Use 7z if found by `executable-find'.
16412         The order of searching the available programs is the same as in
16413         `archive-zip-extract' (bug#8968).
16415 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16417         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16418         (menu-bar-options-menu): Tweak descriptions.
16420 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16422         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16423         menu items into verb phrases (bug#1421).  Also refill to fit under
16424         80 columns.
16426 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16428         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16429         (Info-read-node-name): Doc fix (Bug#1084).
16431         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16432         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16433         (end-of-sexp, beginning-of-sexp)
16434         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16435         (forward-symbol, forward-same-syntax, word-at-point)
16436         (sentence-at-point): Doc fix (Bug#1144).
16438 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16440         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16441         should cover it (bug#1281).
16443         * cus-edit.el (custom-show): Mark as obsolete.
16445         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16446         negotiation fails, then possibly try again with a non-encrypted
16447         connection (bug#9017).
16449         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16450         be used.
16452 2011-07-07  Richard Stallman  <rms@gnu.org>
16454         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16455         property, and handle its changed format.
16456         Look for the correct line number.
16457         Use file's line contents (but not past first =) to find
16458         correct line in message.
16460 2011-07-07  Kenichi Handa  <handa@m17n.org>
16462         * international/characters.el (build-unicode-category-table):
16463         Delete it.
16464         (unicode-category-table): Set it by unicode-property-table-internal.
16466         * international/mule-cmds.el (char-code-property-alist): Move to
16467         to src/chartab.c.
16468         (get-char-code-property): Call unicode-property-table-internal to
16469         load a file.  Call get-unicode-property-internal where necessary.
16470         (put-char-code-property): Call unicode-property-table-internal to
16471         load a file.  Call put-unicode-property-internal where necessary.
16472         put-unicode-property-internal where necessary.
16473         (char-code-property-description):
16474         Call unicode-property-table-internal to load a file.
16476         * international/charprop.el:
16477         * international/uni-bidi.el:
16478         * international/uni-category.el:
16479         * international/uni-combining.el:
16480         * international/uni-comment.el:
16481         * international/uni-decimal.el:
16482         * international/uni-decomposition.el:
16483         * international/uni-digit.el:
16484         * international/uni-lowercase.el:
16485         * international/uni-mirrored.el:
16486         * international/uni-name.el:
16487         * international/uni-numeric.el:
16488         * international/uni-old-name.el:
16489         * international/uni-titlecase.el:
16490         * international/uni-uppercase.el: Regenerate.
16492         * loadup.el: Load international/charprop.el before
16493         international/characters.
16495 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16497         * window.el (next-buffer, previous-buffer): Signal an error if
16498         called from a minibuffer window.
16500         * bindings.el: Revert 2011-07-04 change.
16502 2011-07-06  Richard Stallman  <rms@gnu.org>
16504         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16505         (rmail-mime-insert-bulk, rmail-mime-insert-text):
16506         Treat markers like ints.
16507         (rmail-mime-entity): Doc fix.
16509 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16511         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16512         defcustom again for backwards compatibility.
16514         * simple.el (shell-command-on-region): Fill.
16516         * dired-aux.el (dired-kill-line): Add a doc string.
16518         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16519         to "\\sw\\|\\s_" (bug#358).
16521         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16522         (dired-unmark-backward): Ditto.
16523         (dired-flag-backup-files): Ditto.
16525         * dired-x.el (dired-mark-sexp): Ditto.
16527 2011-07-06  Richard Stallman  <rms@gnu.org>
16529         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16530         (rmail-mime-entity): New arg TRUNCATED.
16531         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16532         New functions.
16533         (rmail-mime-save): Warn if entity is truncated.
16534         (rmail-mime-toggle-hidden): Likewise, for showing.
16535         (rmail-mime-process-multipart): Record when an entity is truncated.
16537         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16538         if ENTITY is a string.
16540 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16542         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16543         of faces when `M-C-x'-ing their definitions (bug#8378).
16544         Also clean up the code slightly.
16546         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16547         because that makes the colors go away.
16549         * mail/sendmail.el (send-mail-function): Change the default to
16550         `sendmail-query-once'.
16551         (sendmail-query-once): Add an autoload cookie.
16553         * net/network-stream.el (network-stream-open-starttls): Try using
16554         a plain connection even if the server offered STARTTLS, and we
16555         kinda wanted to use it, if Emacs doesn't have any STARTTLS
16556         capability.  This should make smtpmail.el work in slightly more
16557         configurations.
16559 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
16561         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16562         New defun.
16563         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16565 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
16567         * progmodes/sql.el: Version 3.0
16568         (sql-product-alist): Add product :completion-object,
16569         :completion-column, and :statement attributes.
16570         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16571         (sql-mode-syntax-table): Mark all punctuation.
16572         (sql-font-lock-keywords-builder): Temporarily remove fallback on
16573         ansi keywords.
16574         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16575         (sql-mode-oracle-font-lock-keywords): Improve.
16576         (sql-oracle-show-reserved-words): New function for development.
16577         (sql-product-font-lock): Simplify for source code buffers.
16578         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16579         New functions.
16580         (sql-highlight-product): Set product specific syntax table.
16581         (sql-mode-map): Add statement movement functions.
16582         (sql-ansi-statement-starters, sql-oracle-statement-starters):
16583         New variable.
16584         (sql-statement-regexp, sql-beginning-of-statement)
16585         (sql-end-of-statement, sql-signum): New functions.
16586         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16587         (sql-show-sqli-buffer): Bug fix.
16588         (sql-interactive-mode): Store connection data as buffer local.
16589         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
16590         with sql-interactive-mode.
16591         (sql-save-connection): Save buffer local settings.
16592         (sql-connection-menu-filter): Change menu entry name.
16593         (sql-product-interactive): Bug fix.
16594         (sql-preoutput-hold): New variable.
16595         (sql-interactive-remove-continuation-prompt): Bug fixes.
16596         (sql-debug-redirect): New variable.
16597         (sql-str-literal): New function.
16598         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16599         Redesign.
16600         (sql-oracle-save-settings, sql-oracle-restore-settings)
16601         (sql-oracle-list-all, sql-oracle-list-table): New functions.
16602         (sql-completion-object, sql-completion-column)
16603         (sql-completion-sqlbuf): New variables.
16604         (sql-build-completions-1, sql-build-completions)
16605         (sql-try-completion): New functions.
16606         (sql-read-table-name): Use them.
16607         (sql-contains-names): New buffer local variable.
16608         (sql-list-all, sql-list-table): Use it.
16609         (sql-oracle-completion-types): New variable.
16610         (sql-oracle-completion-object, sql-sqlite-completion-object)
16611         (sql-postgres-completion-object): New functions.
16613 2011-07-06  Glenn Morris  <rgm@gnu.org>
16615         * window.el (pop-to-buffer): Doc fix.
16617 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
16619         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16621 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
16623         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16625         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16627 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
16629         * button.el (button): Inherit from link face.  Suggested by Dan
16630         Nicolaescu.
16632 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16634         * progmodes/gdb-mi.el: Fit in 80 columns.
16635         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16636         switch-to-buffer.
16638         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16639         if imenu is simply not configured (bug#8941).
16641 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
16643         * allout.el (allout-post-undo-hook): New allout outline-change
16644         event hook to signal undo activity.
16645         (allout-post-command-business): Run allout-post-undo-hook if an
16646         undo just occurred.
16647         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16648         * allout-widgets.el (allout-widgets-after-undo-function):
16649         Ensure the integrity of the current item's decoration after it has been
16650         in the vicinity of an undo.
16651         (allout-widgets-mode): Include allout-widgets-after-undo-function
16652         on the new allout-post-undo-hook.
16654 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16656         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16657         Let define-derived-mode define it.
16658         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16659         cycles of abbrev-table inheritance (bug#8998).
16661 2011-07-05  Roland Winkler  <winkler@gnu.org>
16663         * textmodes/bibtex.el: Add support for biblatex.
16664         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16665         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16666         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16667         (bibtex-entry-alist, bibtex-field-alist): New variables.
16668         (bibtex-entry-field-alist): Obsolete alias for
16669         bibtex-BibTeX-entry-alist.
16670         (bibtex-entry-alist, bibtex-field-alist): New widgets.
16671         (bibtex-set-dialect): New command.
16672         (bibtex-entry-type, bibtex-entry-head)
16673         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16674         Bind via bibtex-set-dialect.
16675         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16676         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16677         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16678         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16679         Define via bibtex-set-dialect.
16680         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16681         Obey bibtex-no-opt-remove-re.
16682         (bibtex-vec-push, bibtex-vec-incr): New functions.
16683         (bibtex-format-entry, bibtex-field-list)
16684         (bibtex-print-help-message, bibtex-validate)
16685         (bibtex-search-entries): Use new format of bibtex-entry-alist.
16687 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16689         * progmodes/compile.el (compilation-goto-locus):
16690         * net/tramp-cmds.el (tramp-append-tramp-buffers):
16691         * bs.el (bs-cycle-next, bs-cycle-previous):
16692         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16693         * bindings.el (mode-line-other-buffer):
16694         * autoinsert.el (auto-insert):
16695         * arc-mode.el (archive-extract):
16696         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16698 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
16700         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16701         Fix check of `emacs-lock-unlockable-modes'.
16702         Coerce true values of `emacs-lock--try-unlocking' to t.
16704 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
16706         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16707         * emacs-lock.el: New file.
16709 2011-07-05  Julien Danjou  <julien@danjou.info>
16711         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16712         than `boundp' to check if face is set.
16714 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
16716         * register.el (registerv-make):
16717         * window.el (window-min-height): Fix typos in docstrings.
16719 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
16721         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16722         Update doc string.
16724 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
16726         * server.el (server-execute): Catch quit and call
16727         `server-return-error' to pass the error back to emacsclient and
16728         close the connection (bug#8942).
16730 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
16732         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16733         insecure exception for current topic.  Also note that auto-saves
16734         are handled differently.
16736         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16737         State variables for tracking auto-save inhibition situation.
16739         (allout-write-contents-hook-handler): Rename from
16740         'allout-write-file-hook-handler', and describe how it depends on
16741         write-contents-functions sensitivity to non-nil value to prevent
16742         file write.
16744         (allout-auto-save-hook-handler): Remove.  auto-save does not check
16745         this in individual buffers, only in the starting buffer, so this
16746         is not the right way for us to inhibit auto-save in a buffer
16747         according to its condition.
16749         (allout-mode): Use new allout-write-contents-hook-handler, and
16750         only with write-contents-functions.  Remove auto-save provisions -
16751         they're implemented elsewhere.
16753         (allout-before-change-handler): If undo is in progress, note that
16754         for attention of allout-post-command-business.
16756         (allout-post-command-business): If the command we're following was
16757         an undo, check for change in the status of encrypted items and
16758         adjust auto-save inhibitions accordingly.
16760         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16761         according to whether there are or aren't any plain-text topics
16762         pending encryption.
16764         (allout-inhibit-auto-save-info-for-decryption):
16765         Adjust buffer-saved-size and some allout state to inhibit auto-saves
16766         if there are plain-text topics pending encryption.
16768         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16769         buffer-saved-size and some allout state to not inhibit auto-saves
16770         if there are no longer any plain-text topics pending encryption.
16772         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16773         No longer provide for exemption of the current topic.
16775 2011-07-04  Juri Linkov  <juri@jurta.org>
16777         Add 7z operations to delete and save changed members (bug#8968).
16778         * arc-mode.el (archive-7z-expunge, archive-7z-update):
16779         New defcustoms.
16780         (archive-7z-write-file-member): New function.
16781         (archive-7z-summarize): Fix the number of dashes in the
16782         listing output.
16784 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16786         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16787         (bug#8958).
16789 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
16791         * bindings.el: Ignore next-buffer and previous-buffer in
16792         minibuffer-local-map.
16794         * font-lock.el (font-lock-builtin-face): Change light background
16795         color to dark slate blue (Bug#6693).
16797 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
16799         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16801 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16803         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16804         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16805         Add switch-to-buffer.
16807 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16809         * isearch.el (isearch-search-fun-function): Clarify further the
16810         meaning of the function returned.
16812 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
16814         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16816         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16817         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16818         Use it.
16819         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
16820         `tramp-default-remote-path' does not exist.
16821         (tramp-send-command-and-read): New optional argument NOERROR.
16822         (tramp-open-connection-setup-interactive-shell)
16823         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16824         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16825         (tramp-process-sentinel): Flush also process' connection property.
16826         (tramp-sh-handle-start-file-process): Do not set process
16827         sentinel.  It is done now ...
16828         (tramp-maybe-open-connection): ... here.  (Bug#8929)
16830 2011-07-04  MON KEY  <monkey@sandpframing.com>
16832         * play/animate.el (animate-string): Doc fixes and allow changing
16833         the buffer name (bug#5417).
16835 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16837         * play/animate.el (animation-buffer-name): Rename from *animate*.
16839 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
16841         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16842         This is simpler and helps future-proof the code.
16843         (timer-until): Use time-subtract and float-time.
16844         (timer--time-less-p): Use time-less-p.
16846 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
16848         * type-break.el (timep): Use the value of `float-time' to avoid a
16849         byte-compiler warning.
16851         * server.el (server-eval-and-print): Return any result, even nil.
16853 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
16855         * type-break.el: Accept time formats that the builtins accept.
16856         (timep, type-break-time-difference): Accept any format that
16857         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16858         This is simpler and helps future-proof the code.
16859         (type-break-time-difference): Round rather than ignoring
16860         subseconds components.
16862 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16864         * info.el (Info-apropos-matches): Make non-interactive, since it
16865         doesn't seem to do anything useful as a command (bug#8829).
16867 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
16869         * frame.el (frame-background-mode, frame-set-background-mode):
16870         Move from faces.el.
16871         (frame-default-terminal-background): New function.
16873         * custom.el (custom-push-theme): Don't record faces in `changed'
16874         theme; this doesn't work correctly for per-frame face settings.
16875         (disable-theme): Use face-set-after-frame-default to reset faces.
16876         (custom--frame-color-default): New function.
16878 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16880         * dired.el (dired-flagging-regexp): Remove unused variable
16881         (bug#8769).
16883 2011-03-29  Kevin Ryde  <user42@zip.com.au>
16885         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16886         `perl-Test2' extend to match possible "fail #N" rep count
16887         (bug#8377).
16889 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16891         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16892         `smtpmail-via-smtp' now returns the error instead of nil.
16894         * isearch.el (isearch-search-fun-function): Clarify the doc string
16895         (bug#8101).
16897 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
16899         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16900         unnecessary spaces (bug#8987).
16902 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16904         * net/network-stream.el (open-network-stream): Use the
16905         :end-of-capability command thoughout.
16907 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
16909         * net/network-stream.el (open-network-stream): Add the
16910         :end-of-capability command parameter, used by pop3.el.
16912 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16914         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16916         * fringe.el (fringe-query-style): Remove redundant text " (type ?
16917         for list)" (bug#6475).
16919         * files.el (file-expand-wildcards): Ignore non-readable
16920         sub-directories while trying to find matches instead of signaling
16921         an error (bug#6297).
16923         * man.el (Man-reference-regexp): Allow matching possible
16924         word-wrapped references (bug#6289).
16926         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16927         for consistency with the other vc buffers (bug#6197).
16928         (vc-checkin): Ditto.
16930         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16932         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16934 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16936         * custom.el (defcustom): Clarify that :set is only used in the
16937         Customize user interface (bug#6089).
16939         * progmodes/flymake.el (flymake-mode): If the buffer isn't
16940         associated with a file, refuse to run instead of erroring out
16941         (bug#6084).
16943         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16944         the doc string, since it appears that using `fill-column' always
16945         controls the width (bug#7845).
16947         * simple.el (shell-command-on-region): Say where the error output
16948         went if `shell-command-default-error-buffer' is set (bug#6857).
16950 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
16952         * allout.el (allout-yank-processing): Adjust cursor position for
16953         backwards-deleted space.
16955         (allout-rebullet-heading): Register changes with
16956         allout-exposure-changed-hook, so the modified topic is properly
16957         decorated.
16959 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16961         * minibuffer.el (completion-in-region): Document PREDICATE
16962         (bug#7136).
16964         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16965         of keyword/argument pairs (bug#6904).
16967         * replace.el (multi-occur):
16968         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16970 2011-07-02  Drew Adams  <drew.adams@oracle.com>
16972         * dired.el (dired-mark-if): Make the message about whether it's
16973         marking or unmarking clearer (bug#8523).
16975 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16977         * disp-table.el (display-table-print-array): New function.
16978         (describe-display-table): Use it to print the vectors more pretty
16979         (Bug#8859).
16981 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
16983         * window.el (window-state-get-1): Don't assign clone numbers.
16984         Add clone-of item to list of window parameters.
16985         (window-state-put-2): Don't process clone numbers.
16986         (display-buffer-alist): Fix doc-string.
16988 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16990         * subr.el (remq): Don't allocate if it's not needed.
16991         (keymap--menu-item-binding, keymap--menu-item-with-binding)
16992         (keymap--merge-bindings): New functions.
16993         (keymap-canonicalize): Use them to refine the canonicalization.
16994         * minibuffer.el (minibuffer-local-completion-map)
16995         (minibuffer-local-must-match-map): Move initialization from C.
16996         (minibuffer-local-filename-completion-map): Move initialization from C;
16997         don't inherit from anything here.
16998         (minibuffer-local-filename-must-match-map): Make obsolete.
16999         (completing-read-default): Use make-composed-keymap to combine
17000         minibuffer-local-filename-completion-map with either
17001         minibuffer-local-must-match-map or
17002         minibuffer-local-filename-completion-map.
17004 2011-07-01  Glenn Morris  <rgm@gnu.org>
17006         * type-break.el (type-break-time-sum): Use dolist.
17008         * textmodes/flyspell.el (flyspell-word-search-backward):
17009         Replace CL function.
17011 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17013         * mouse.el (mouse--strip-first-event): New function.
17014         (function-key-map): Use it to map fringe clicks to normal clicks
17015         by default.
17017         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17018         (vc-bzr-revision-completion-table): Add support for annotate and date.
17020         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17021         inherit from parent.
17023 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17025         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17026         (dired-show-file-type): Doc fixup (bug#8818).
17028         * dired.el (dired-mode): Fix up the doc string as suggested by
17029         Drew Adams (bug#8817).
17031         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17032         cookie, since the manual says that it should be possible to add
17033         this function to `find-file-hook' (bug#8709).
17035 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17037         * progmodes/cfengine.el: Moved all cfengine3.el functionality
17038         here.  Noted Ted Zlatanov as the maintainer.
17039         (cfengine-common-settings, cfengine-common-syntax): New functions
17040         to set up common things between `cfengine-mode' and
17041         `cfengine3-mode'.
17042         (cfengine3-mode): New mode.
17043         (cfengine3-defuns cfengine3-defuns-regex
17044         (cfengine3-class-selector-regex cfengine3-category-regex)
17045         (cfengine3-vartypes cfengine3-font-lock-keywords)
17046         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17047         (cfengine3-indent-line): Add from cfengine3.el.
17049 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
17051         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17053         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17055 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
17057         * window.el (same-window-buffer-names, same-window-regexps)
17058         (same-window-p, special-display-frame-alist)
17059         (special-display-popup-frame, special-display-function)
17060         (special-display-buffer-names, special-display-regexps)
17061         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17062         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17063         (split-window-preferred-function, split-height-threshold)
17064         (split-width-threshold, even-window-heights)
17065         (display-buffer-mark-dedicated, window-splittable-p)
17066         (split-window-sensibly, window-safely-shrinkable-p):
17067         Un-obsolete.
17068         (display-buffer): Don't spread args with function specifier
17069         because special-display-popup-frame won't like it.
17071 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
17073         Time-stamp simplifications and fixes.
17074         These improve accuracy slightly, and future-proof the code
17075         against some potential changes to current-time format.
17077         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17078         by using time-since and float-time.
17080         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17081         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
17082         + NNN microseconds".
17084         * type-break.el (type-break-time-sum): Rewrite using time-add.
17086         * play/hanoi.el (hanoi-current-time-float): Remove.
17087         All uses replaced by float-time.
17089         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17090         This yields a more-accurate answer.
17091         (rng-time-to-float): Remove; no longer needed.
17093         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17095         * calendar/timeclock.el (timeclock-seconds-to-time):
17096         Defalias to seconds-to-time, since they're the same thing.
17098         * emacs-lisp/elp.el (elp-elapsed-time):
17099         * emacs-lisp/benchmark.el (benchmark-elapse):
17100         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17102 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17104         * window.el (bury-buffer): Don't iconify the only frame.
17105         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17106         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
17108 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
17110         * eshell/em-smart.el (eshell-smart-display-navigate-list):
17111         Add mouse-yank-primary.
17113 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17115         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17117 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17119         * emacs-lisp/find-func.el (find-library--load-name): New fun.
17120         (find-library-name): Use it to find relative load names when provided
17121         absolute file name (bug#8803).
17123 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17125         * textmodes/flyspell.el (flyspell-word): Consider words that
17126         differ only in case as potential doublons (bug#5687).
17128         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17129         Remove two rather uninteresting debugging-like messages to make
17130         debbugs.el more silent.
17132         * comint.el (comint-password-prompt-regexp): Accept "Response" as
17133         a password-like phrase.
17135 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
17137         * progmodes/cc-guess.el: New file.
17139         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17141         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17142         derived from `c-basic-common-init'.
17144         * progmodes/cc-mode.el (top-level): Require cc-guess.
17145         (c-basic-common-init): Use `cc-choose-style-for-mode'.
17147 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
17149         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17151 2011-06-30  Alan Mackenzie  <acm@muc.de>
17153         * progmodes/cc-engine.el (c-guess-continued-construct):
17154         Correct the handling of template-args-cont, particularly for when font
17155         lock is disabled.  Name this case as "CASE G".
17157 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
17159         * allout.el (allout-yank-processing): Fix injection of extra space
17160         between bullet and non-whitespace character in first topic when
17161         pasting, ensuring that the actual spacing in the pasted topic
17162         following the bullet char is preserved.  This extra space was
17163         causing pasted encrypted topics to get a decrypted status even
17164         when the content was actually still encrypted.  Now the decryption
17165         status from before the paste is preserved.
17167         (allout-flag-region): Set all allout overlays so they evaporate
17168         when reduced to zero length (evanescent), to prevent overlay
17169         leakage.
17171 2011-06-30  Glenn Morris  <rgm@gnu.org>
17173         * w32-fns.el (w32-charset-info-alist): Declare.
17175         * find-dired.el (find-grep-options): Simplify.
17177         * term/ns-win.el (ns-set-resource): Declare.
17179         * ses.el (row, col): Declare dynamic variables honestly.
17181         * textmodes/reftex-parse.el (index-tags): Declare.
17183 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
17185         * cus-edit.el (customize-push-and-save): New function.
17187         * files.el (hack-local-variables-confirm): Use it.
17189         * custom.el (load-theme): New arg NO-CONFIRM.
17190         Use customize-push-and-save (Bug#8720).
17191         (custom-enabled-themes): Doc fix.
17193         * cus-theme.el (customize-create-theme)
17194         (custom-theme-merge-theme): Callers to load-theme changed.
17196 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17198         * thingatpt.el (thing-at-point-short-url-regexp): Require that
17199         short URLs have at least one dot in them (bug #7614).
17201         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17202         nil, because using a pty is apparently too slow (bug #895).
17204 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17206         * mail/sendmail.el (sendmail-query-once): New function.
17207         (sendmail-query-once-function): New variable.
17209 2011-06-29  Glenn Morris  <rgm@gnu.org>
17211         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17213         * ses.el (top-level): Require cl when compiling.
17214         (ses-set-localvars): Fix error statement.
17215         Call it at compile time to silence a storm of warnings.
17217 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
17219         * window.el (normalize-live-buffer): Rename to
17220         window-normalize-buffer.
17221         (normalize-live-frame): Rename to window-normalize-frame.
17222         (normalize-any-window): Rename to window-normalize-any-window.
17223         (normalize-live-window): Rename to window-normalize-live-window.
17224         (make-window-atom): Rename to window-make-atom.
17225         (window-resize-reset): Rename to window--resize-reset.
17226         (window-resize-reset-1): Rename to window--resize-reset-1.
17227         (resize-mini-window): Rename to window--resize-mini-window.
17228         (resize-subwindows-skip-p): Rename to
17229         window--resize-subwindows-skip-p.
17230         (resize-subwindows-normal): Rename to
17231         window--resize-subwindows-normal.
17232         (resize-subwindows): Rename to window--resize-subwindows.
17233         (resize-other-windows): Rename to window--resize-siblings.
17234         (resize-this-window): Rename to window--resize-this-window.
17235         (resize-root-window): Rename to window--resize-root-window.
17236         (resize-root-window-vertically): Rename to
17237         window--resize-root-window-vertically.
17238         (normalize-buffer-to-display): Rename to
17239         window-normalize-buffer-to-display.
17240         (normalize-buffer-to-switch-to): Rename to
17241         window-normalize-buffer-to-switch-to.
17242         Correspondingly update all callers of the functions listed
17243         above.
17244         (display-buffer-alist, display-buffer-normalize-arguments)
17245         (display-buffer-normalize-options, display-buffer)
17246         (display-buffer-alist-set): Use "function" instead of
17247         "fun-with-args".
17249 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
17251         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17252         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
17253         debbugs.gnu.org.  Mention acknowledgment email.
17255 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17257         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17258         buffer multibyteness, since it shouldn't matter.
17260 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
17262         * window.el (display-buffer-in-side-window): Handle dedicated
17263         windows as in display-buffer-reuse-window.
17264         (display-buffer-normalize-alist): Use value of override
17265         specifier.
17266         (display-buffer-normalize-specifiers): Use value of
17267         other-window-means-other-frame specifier.
17268         (display-buffer-alist): Rewrite some texts in widgets.
17269         (display-buffer): Spread arguments when calling function
17270         specified by fun-with-args.
17272 2011-06-28  Deniz Dogan  <deniz@dogan.se>
17274         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17275         Unnest `let'.
17277         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17278         selectors (Bug#5732).
17279         (css-proprietary-nmstart-re): Use `regexp-opt'.
17281 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
17283         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17284         (eshell-ls-date-format): New defcustom.
17285         (eshell-ls-file): Use it.
17287 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17289         * help-fns.el (describe-variable): Fix message for terminal-local vars.
17291 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
17293         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17294         (ange-ftp-make-tmp-name): New arg.
17295         (ange-ftp-file-local-copy): Use it.
17297 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
17299         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17300         no-conversion (Bug#8870).
17302 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
17304         * window.el (window-right, window-left, window-child)
17305         (window-child-count, window-last-child)
17306         (window-iso-combination-p, walk-window-tree-1)
17307         (window-atom-check-1, window-tree-1, delete-window)
17308         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17309         new naming conventions - window-vchild, window-hchild,
17310         window-next and window-prev are now called window-top-child,
17311         window-left-child, window-next-sibling and window-prev-sibling
17312         respectively.
17313         (resize-window-reset): Rename to window-resize-reset.
17314         (resize-window-reset-1): Rename to window-resize-reset-1.
17315         (resize-window): Rename to window-resize.
17316         (window-min-height, window-min-width)
17317         (resize-mini-window, resize-this-window, resize-root-window)
17318         (resize-root-window-vertically, adjust-window-trailing-edge)
17319         (enlarge-window, shrink-window, maximize-window)
17320         (minimize-window, delete-window, quit-restore-window)
17321         (split-window, balance-windows, balance-windows-area-adjust)
17322         (balance-windows-area, window-state-put-2)
17323         (display-buffer-even-window-sizes, display-buffer-set-height)
17324         (display-buffer-set-width, set-window-text-height)
17325         (fit-window-to-buffer): Rename all "resize-window" prefixed
17326         calls to use the "window-resize" prefix convention.
17327         (display-buffer-alist): Fix symbol for label specifier.
17328         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17329         corresponding specifier.
17330         Reported by Juanma Barranquero <lekktu@gmail.com>.
17332 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17334         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17335         convention.
17336         (ses-call-printer): Does not pass an empty string to formatter when the
17337         cell is empty to keep from barking printer Calc math-format-value.
17339 2011-06-27  Richard Stallman  <rms@gnu.org>
17341         * battery.el (battery-mode-line-limit): New variable.
17342         (battery-update): Handle it.
17344         * mail/rmailmm.el (rmail-mime-process-multipart):
17345         Handle truncated messages.
17347 2011-06-27  Glenn Morris  <rgm@gnu.org>
17349         * progmodes/flymake.el (flymake-err-line-patterns):
17350         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
17352 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17354         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17355         (ses--clean-!, ses--clean-_): New functions.
17356         (ses-range): Add configurability of readout order, and conversion
17357         to Calc vector.
17359         * ses.el (ses-repair-cell-reference-all): New function.
17360         (ses-cell-symbol): Set macro as safe, so that it can be used in
17361         formulas.
17363         * ses.el: Update cycle detection algorithm.
17364         (ses-localvars): Add ses--Dijkstra-attempt-nb and
17365         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17366         (ses-set-localvars): New function.
17367         (ses-make-cell): Add property-list as a cell element.
17368         (ses-cell-property-get-fun, ses-cell-property-get)
17369         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17370         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17371         New functions.
17372         (ses-cell-property-set, ses-cell-property-pop)
17373         (ses-cell-property-get-handle): New macro.
17374         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17375         New aliases, used for code readability.
17376         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17377         cycle detection.
17378         (ses-self-reference-early-detection): New defcustom.
17379         (ses-formula-references): Robustify against self-referring cells.
17380         (ses-mode): Use ses-set-localvars.
17381         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17382         before lauching the update processing.
17383         (ses-initialize-Dijkstra-attempt): New function.
17384         (ses-recalculate-cell): Update for cycle detection based on
17385         Dijkstra algorithm.
17387         * ses.el: Fix commenting and indenting convention.
17389 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17391         * bs.el (bs-cycle-next): Complete last change.
17393 2011-06-27  Drew Adams  <drew.adams@oracle.com>
17395         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17397 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17399         * net/network-stream.el (network-stream-open-starttls):
17400         Don't re-get capabilities unless we've reestablished connection.
17401         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17403         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17404         to binary to possibly avoid line encoding issues on Windows (among
17405         other things).
17407 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17409         * net/network-stream.el (open-network-stream): Return an :error
17410         saying what the problem was, if possible.
17412         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17413         server.
17415         * net/network-stream.el (network-stream-open-starttls): If we
17416         wanted to use STARTTLS, and the server offered it, but we weren't
17417         able to because we had no STARTTLS support, then close the connection.
17418         (open-network-stream): Return an :error element, if present.
17420 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
17422         * hl-line.el (hl-line-sticky-flag): Doc fix.
17423         (global-hl-line-sticky-flag): New option (Bug#8323).
17424         (global-hl-line-highlight): Obey it.
17426         * vc/vc.el (vc-revert-show-diff): Default to t.
17428 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
17430         * allout-widgets.el (allout-widgets-post-command-business):
17431         Stop decorating intermediate isearch matches.  They're not being
17432         undecorated when an isearch is continued past, and isearch
17433         automatically collapses them.  This leads to "widget leaks", where
17434         decorated items accumulate in collapsed areas.  Lines with lots of
17435         hidden widgets can slow down cursor travel, substantially.
17436         Too much complicated machinery would be needed to ensure undecoration,
17437         so we're doing without this nicety.
17439         (allout-widgets-tally-string): Don't try to do a hash-table-count
17440         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
17441         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17442         *Messages* when allout-widgets-maintain-tally is t.
17444 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
17446         * window.el (display-buffer-normalize-argument): Rename to
17447         display-buffer-normalize-arguments.  Handle special meaning of
17448         LABEL argument.  Respect special-display-function when popping up
17449         a new frame.  Fix code searching for a window showing the buffer
17450         on another frame.
17451         (display-buffer-normalize-specifiers):
17452         Call display-buffer-normalize-arguments.
17453         (display-buffer-in-window): Don't undedicate the window if its
17454         buffer remains the same.
17455         Reported by Drew Adams <drew.adams@oracle.com>.
17456         (display-buffer-alist): Add choice for same-window macro
17457         specfier.
17458         (display-buffer): Mention special meaning of LABEL argument in
17459         doc-string.  Fix quoting.  Don't pop up a new frame even as
17460         fallback.
17462 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
17464         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17465         avoid deleting the current window in some cases (bug#8911).
17467 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
17469         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17470         (Bug#8934)
17472 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17474         * net/network-stream.el (network-stream-open-starttls):
17475         Use built-in TLS support if `gnutls-available-p' is true.
17476         (network-stream-open-tls): Ditto.
17478 2011-06-26  Leo Liu  <sdl.web@gmail.com>
17480         * register.el (registerv): New struct.
17481         (registerv-make): New function.
17482         (jump-to-register, describe-register-1, insert-register):
17483         Support the jump-func, print-func and insert-func slot of a registerv
17484         struct.  (Bug#8415)
17486 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
17488         * vc/vc.el (vc-revert-show-diff): New defcustom.
17489         (vc-diff-internal): New arg specifying diff buffer.
17490         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
17491         reuse an existing *vc-diff* buffer (Bug#8927).
17493         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17495 2011-06-26  Glenn Morris  <rgm@gnu.org>
17497         * progmodes/f90.el (f90-critical-indent): New option.
17498         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17499         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17500         (f90-mode): Doc fix.
17501         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17502         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17503         (f90-beginning-of-block, f90-next-block, f90-indent-region)
17504         (f90-match-end): Handle block, critical.
17506 2011-06-25  Glenn Morris  <rgm@gnu.org>
17508         * calendar/diary-lib.el (diary-included-files): Doc fix.
17509         (diary-include-files): New function, extracted from
17510         diary-include-other-diary-files and diary-mark-included-diary-files.
17511         (diary-include-other-diary-files, diary-mark-included-diary-files):
17512         Just call diary-include-files.
17513         (diary-mark-entries): Reset diary-included-files on first call.
17515         * calendar/diary-lib.el (diary-mark-entries)
17516         (diary-mark-included-diary-files):
17517         Visit included diary-files in temp buffers.
17519         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17520         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17521         (f90-start-block-re, f90-imenu-generic-expression)
17522         (f90-looking-at-program-block-start, f90-no-block-limit):
17523         Add support for submodules.
17525         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17526         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17528 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
17530         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17531         buffer-file-type before setting its value, to avoid disastrous
17532         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
17534 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
17536         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17538         * ses.el (ses-unload-function):
17539         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17541         * proced.el (proced-unload-function):
17542         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17544 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
17546         * server.el (server-create-window-system-frame): Add parameters arg.
17547         (server-process-filter): Doc fix.  Handle frame-parameters.
17549 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
17551         Fix bug#8730, bug#8781.
17553         * loadhist.el (unload--set-major-mode): New function.
17554         (unload-feature): Use it.
17556         * progmodes/python.el (python-after-info-look): Add autoload cookie.
17557         (python-unload-function): New function.
17559 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17561         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17563 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
17565         * net/browse-url.el (browse-url-firefox-program): Add icecat to
17566         the candidates list.
17568 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
17570         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17572 2011-06-23  Richard Stallman  <rms@gnu.org>
17574         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17575         (rmail-variables): Set next-error-move-function.
17576         (rmail-what-message): Take argument POS.
17577         (rmail-next-error-move): New function.
17579 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17581         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17582         messages for adjacent non-terminals.
17584 2011-06-23  Richard Stallman  <rms@gnu.org>
17586         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17587         (rmail-show-message-1): Preserve buffer modified flag.
17588         (rmail-start-mail): Don't specify use of rmail-mail-return;
17589         that's done by mail-bury now.
17590         (rmail-mail-return): Handle arg NEWBUF.
17592 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
17594         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17595         SIZE is a number.
17597 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
17599         * window.el (get-lru-window, get-mru-window)
17600         (get-largest-window): Never return a minibuffer window.
17601         (display-buffer-pop-up-window): Fix a bug that could lead to
17602         reusing the minibuffer window.
17603         (display-buffer): Pass original specifier argument to
17604         display-buffer-function instead of the normalized one.
17605         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17607 2011-06-22  Leo Liu  <sdl.web@gmail.com>
17609         * minibuffer.el (completing-read-function)
17610         (completing-read-default): Move from minibuf.c.
17612 2011-06-22  Richard Stallman  <rms@gnu.org>
17614         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17615         to Rmail even if not started by a special Rmail command.
17617         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17618         Copy the buffer currently showing just one message.
17620 2011-06-22  Roland Winkler  <winkler@gnu.org>
17622         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17623         (bibtex-clean-entry): First delete the old key so that a
17624         customized algorithm for generating the new key does not get
17625         confused by the old key.
17626         (bibtex-url): Obey regexp of first step.
17627         (bibtex-search-entries): Do not use add-to-list with local
17628         list-var.
17630 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17632         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17633         stored a user name, then query for the password first, instead of
17634         waiting for SMTP to give an error message and the trying again.
17636 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
17638         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17639         BUFFER in call-process.
17641 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17643         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17644         QUIT twice.
17645         (smtpmail-try-auth-methods): Require user name and password from
17646         auth-source.
17648 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
17650         * window.el (display-buffer-default-specifiers)
17651         (display-buffer-alist): Remove entries for pop-up-frame-alist.
17652         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17653         (split-window): Normalize SIDE argument (Bug#8916).
17655         * frame.el (pop-up-frame-alist, pop-up-frame-function)
17656         (special-display-frame-alist, special-display-popup-frame):
17657         Remove duplicate declarations.  These are now in window.el.
17659 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17661         * mail/smtpmail.el (smtpmail-via-smtp):
17662         Set :use-starttls-if-possible so that we always use STARTTLS if the
17663         server supports it.  SMTP servers that support STARTTLS commonly
17664         require it.
17666         * net/network-stream.el (network-stream-open-starttls): Support
17667         upgrading to STARTTLS always, even if we don't have built-in support.
17668         (open-network-stream): Add the :always-query-capabilities keyword.
17670         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17671         upgrades with `open-network-stream', and rely solely on
17672         auth-source for all credentials.  Big changes throughout the file,
17673         but in particular:
17674         (smtpmail-auth-credentials): Remove.
17675         (smtpmail-starttls-credentials): Remove.
17676         (smtpmail-via-smtp): Check for servers saying they want AUTH after
17677         MAIL FROM, too.
17679         * net/network-stream.el (network-stream-open-starttls):
17680         Provide support for client certificates both for external and built-in
17681         STARTTLS.
17682         (auth-source): Require.
17683         (open-network-stream): Document the :client-certificate keyword.
17684         (network-stream-certificate): Change cert-cert to cert and
17685         cert-key to key.
17687 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
17689         * net/tramp-cache.el (top): Don't load the persistency file when
17690         "emacs -Q" has been called.
17692 2011-06-21  Tim Harper  <timcharper@gmail.com>
17694         * term/ns-win.el (ns-initialize-window-system):
17695         Set application-specific `ApplePressAndHoldEnabled' system
17696         resource to NO as it is not yet supported by the NS port.
17698 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
17700         * misc.el (list-dynamic-libraries--refresh): Compute header here...
17701         (list-dynamic-libraries): ...not here.
17703 2011-06-21  Leo Liu  <sdl.web@gmail.com>
17705         * subr.el (sha1): Implement sha1 using secure-hash.
17707 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
17709         * window.el (display-buffer-alist): In default value do not
17710         enforce searching a window on any but the selected frame.
17711         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17712         (display-buffer-select-window): Remove function.
17713         (display-buffer-in-window): When a window on another frame gets
17714         reused, do not select it any more but just raise its frame if
17715         necessary (Bug#8851) and (Bug#8856).
17716         (display-buffer-normalize-options): Handle pop-up-frames related
17717         options more faithfully.
17718         (pop-to-buffer): Don't rely on `display-buffer' selecting the
17719         window if it is on another frame.
17720         (display-buffer-alist, display-buffer-default-specifiers):
17721         Don't make new frame unsplittable by default.
17722         (display-buffer-normalize-argument): Fix doc-string typo and use
17723         'same-frame-other-window instead of 'other-window when associating
17724         with display-buffer-macro-specifiers.
17726 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
17728         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17729         New functions.
17730         (5x5-mode-map, 5x5-mode-menu): Bind them.
17731         (5x5-draw-grid): Tweak the solver's rendering.
17733 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17735         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17736         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17738 2011-06-21  Drew Adams  <drew.adams@oracle.com>
17740         * menu-bar.el: Use function variable instead of switch-to-buffer.
17741         (menu-bar-select-buffer-function): New variable.
17742         (menu-bar-update-buffers): Use it (bug#8876).
17744 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17746         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17747         variable's status.
17749 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
17751         * x-dnd.el (x-dnd-version-from-flags)
17752         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17753         and long as number (Bug#8899).
17754         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17756 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17758         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17759         (completion-try-completion, completion-all-completions): Compute the
17760         metadata argument if it's missing; make it optional (bug#8795).
17762         * wid-edit.el: Use lex-bind and move towards completion-at-point.
17763         (widget-complete): Use new :completion-function property.
17764         (widget-completions-at-point): New function.
17765         (default): Use :completion-function instead of :complete.
17766         (widget-default-completions): Rename from widget-default-complete;
17767         Rewrite.
17768         (widget-string-complete, widget-file-complete, widget-color-complete):
17769         Remove functions.
17770         (file, symbol, function, variable, coding-system, color):
17771         * international/mule-cmds.el (default-input-method, charset)
17772         (language-info-custom-alist):
17773         * cus-edit.el (face): Use new property :completions.
17775         * progmodes/pascal.el (pascal-completions-at-point): New function.
17776         (pascal-mode): Use it.
17777         (pascal-mode-map): Use completion-at-point.
17778         (pascal-toggle-completions): Make obsolete.
17779         (pascal-complete-word, pascal-show-completions):
17780         * progmodes/octave-mod.el (octave-complete-symbol):
17781         Redefine as obsolete alias.
17782         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17783         Signal absence of completion info for old Octave,
17784         (inferior-octave-complete): Redefine as obsolete alias.
17785         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17786         (meta-completions-at-point): Rename from meta-complete-symbol and
17787         adapt it for use on completion-at-point-functions.
17788         (meta-common-mode): Use it.
17789         (meta-looking-at-backward, meta-match-buffer): Remove.
17790         (meta-complete-symbol): Redefine as obsolete alias.
17791         (meta-common-mode-map): Use completion-at-point.
17792         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17793         (makefile-mode-map): Use completion-at-point.
17794         (makefile-completions-at-point): Rename from makefile-complete and
17795         adapt it for use on completion-at-point-functions.
17796         (makefile-mode): Use it.
17797         (makefile-complete): Redefine as obsolete alias.
17799 2011-06-20  Deniz Dogan  <deniz@dogan.se>
17801         * net/rcirc.el: Delete trailing whitespaces once and for all.
17803 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
17805         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17807 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
17809         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17811         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17813 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
17815         * window.el (display-buffer-other-window-means-other-frame):
17816         Call display-buffer-normalize-alist.
17817         (display-buffer-normalize-specifiers-1): Rename to
17818         display-buffer-normalize-argument.  New argument other-frame.
17819         Rewrite.
17820         (display-buffer-normalize-specifiers-2): Rename to
17821         display-buffer-normalize-options.
17822         (display-buffer-normalize-alist-1): New function.
17823         (display-buffer-normalize-specifiers-3): Rename to
17824         display-buffer-normalize-alist.
17825         Call display-buffer-normalize-alist-1.
17826         (display-buffer-normalize-options-inhibit): New variable.
17827         (display-buffer-normalize-specifiers): Rewrite calling
17828         display-buffer-normalize-alist,
17829         display-buffer-normalize-argument, and
17830         display-buffer-normalize-options.  Don't call the latter if
17831         display-buffer-normalize-options-inhibit is non-nil.
17832         (frame-auto-delete): New option.
17833         (window-deletable-p): Use frame-auto-delete.
17834         (window-list-no-nils, window-state-ignored-parameters)
17835         (window-state-get-1, window-state-get, window-state-put-list)
17836         (window-state-put-1, window-state-put-2, window-state-put):
17837         New functions.
17838         (display-buffer-normalize-options): Move special-display-p group
17839         after pop-up-frame group (Bug#8851) and (Bug#8856).
17841 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
17843         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17844         groups (Bug#8776).
17845         (rx-submatch-n): New function.
17846         (rx): Document it.
17848         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17849         (Bug#8768).
17851         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17853         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17855         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17856         anytime existing face settings are present (Bug#8889).
17858         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17859         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17860         Remove unused argument.
17862 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
17864         * window.el (display-buffer-default-specifiers):
17865         Remove pop-up-frame.  Add pop-up-window-min-height,
17866         pop-up-window-min-width, and another reuse-window specifier
17867         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
17868         (display-buffer-normalize-specifiers-2):
17869         Handle split-height-threshold and split-width-threshold also when
17870         pop-up-windows is unset.  Add a reuse-window specifier for the
17871         case popping up a new window fails.
17872         (special-display-popup-frame): Remove double quoting.
17873         (display-buffer-normalize-specifiers-1): Fix thinko.
17875 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17877         * shell.el (shell-completion-vars): Set pcomplete-termination-string
17878         according to comint-completion-addsuffix.
17880         * pcomplete.el: Convert to lexical binding and fix bug#8819.
17881         (pcomplete-suffix-list): Mark as obsolete.
17882         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17883         pcomplete-seen in the closure.
17884         (pcomplete-comint-setup): Setup completion-at-point as well.
17885         (pcomplete--entries): New function.
17886         (pcomplete--env-regexp): New var.
17887         (pcomplete-entries): Rewrite to work with partial-completion and
17888         without relying on pcomplete-suffix-list.
17889         (pcomplete-pare-list): Remove, unused.
17891 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
17893         * window.el (display-buffer-alist): Set pop-up-window-min-height
17894         and pop-up-window-min-width in default value.  Reported by
17895         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
17896         other-window-means-other-frame.
17897         (display-buffer-macro-specifiers): Comment out entry for
17898         other-window specifier.
17899         (display-buffer-other-window-means-other-frame): New function.
17900         (display-buffer-normalize-specifiers-1): New arguments
17901         buffer-name and label.  Treat other-window case specially.
17902         (display-buffer-normalize-specifiers-2): Treat other-window case
17903         specially.
17904         (display-buffer-normalize-specifiers-3): New function.
17905         (display-buffer-normalize-specifiers):
17906         Call display-buffer-normalize-specifiers-3.
17908 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
17910         * window.el (same-window-p): Fix two typos introduced when
17911         adding with-no-warnings.
17912         (display-buffer-normalize-specifiers-1): Don't check
17913         pop-up-frames for 'unset initialization.
17914         (display-buffer-normalize-specifiers-2): Major rewrite using
17915         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17916         (pop-up-frames, display-buffer-reuse-frames)
17917         (display-buffer-mark-dedicated): Don't initialize to 'unset.
17918         Suggested by David Engster <deng@randomsample.de>.
17919         (even-window-heights): Initialize to 'unset.
17920         (display-buffer-alist-set): Handle new 'unset initializations.
17921         (display-buffer-macro-specifiers): Don't pop up a new frame in the
17922         other window case.
17924 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
17926         * window.el (display-buffer-normalize-specifiers-1):
17927         Respect current value of pop-up-frames for most reasonable values of
17928         second argument of display-buffer (Bug#8865).
17929         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17930         (switch-to-buffer-other-window-same-frame)
17931         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
17932         Adams (Bug#8875).
17933         (display-buffer): Don't check noninteractive when calling
17934         display-buffer-pop-up-frame.
17935         (display-buffer-pop-up-frame): Never pop up a frame in
17936         noninteractive mode (Bug#8857).
17937         (enlarge-window, shrink-window): Don't report an error when the
17938         window can't be resized as requested (Bug#8862).
17940 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17942         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17944         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17946         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17948 2011-06-15  Alan Mackenzie  <acm@muc.de>
17950         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17951         for declarators, disable knr checking to speed up for normal files.
17952         2: Refactor, replacing a sequence of nested if forms by a cond form.
17954 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17956         * net/network-stream.el (open-network-stream): Add the keyword
17957         :always-query-capabilities for the case where you want to force a
17958         `plain' network connection, but the protocol still requires the
17959         capabilitiy command (i.e., SMTP and EHLO).
17961         * subr.el (process-live-p): Rename from `process-alive-p' for
17962         consistency with other `-live-p' functions.
17964 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17966         * window.el (same-window-buffer-names, same-window-regexps)
17967         (special-display-frame-alist, special-display-popup-frame)
17968         (special-display-function, special-display-buffer-names)
17969         (special-display-regexps, pop-up-frame-alist)
17970         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17971         (pop-up-windows, split-window-preferred-function)
17972         (split-height-threshold, split-width-threshold, even-window-heights)
17973         (display-buffer-mark-dedicated): Don't encourage the use of
17974         display-buffer-alist from Elisp code.
17976 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
17978         * progmodes/python.el (python-mode): Derive from prog-mode.
17979         * progmodes/ps-mode.el (ps-mode):
17980         * progmodes/mixal-mode.el (mixal-mode):
17981         * progmodes/cfengine.el (cfengine-mode):
17982         * progmodes/ld-script.el (ld-script-mode): Likewise.
17984 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
17986         * window.el (display-buffer-alist): Trim default value to avoid
17987         popping up a new frame (Bug#8857) or reusing an arbitrary window
17988         on another frame.
17989         (display-buffer): Do not fall back on popping up a new frame in
17990         batch mode (Bug#8857).
17992 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
17994         * cus-theme.el (describe-theme-1): Use custom-theme-p.
17995         (custom-theme-summary): New function.
17996         (customize-themes): Use it.
17998 2011-06-13  Glenn Morris  <rgm@gnu.org>
18000         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18002 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
18004         * help.el (help-window): Remove variable.
18005         (help-window-point-marker, temp-buffer-max-height)
18006         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18007         (help-print-return-message): Don't set help-window.
18008         (resize-temp-buffer-window): Rewrite cod eand doc-string.
18009         (help-window-setup-finish): Remove.
18010         (help-window-display-message, help-window-setup)
18011         (with-help-window): Major rewrite based on new
18012         display-buffer-window variable.
18014         * help-mode.el (help-mode-finish): Remove help-window related
18015         code.
18017         * view.el (view-exits-all-viewing-windows): Remove reference to
18018         view-return-to-alist in doc-string.
18019         (view-return-to-alist): Make obsolete.
18020         (view-buffer): Call pop-to-buffer-same-window and remove
18021         undo-window code.
18022         (view-buffer-other-window): Call pop-to-buffer-other-window and
18023         simplify code.  Ignore second argument.
18024         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18025         simplify code.  Ignore second argument.
18026         (view-return-to-alist-update): Make obsolete.
18027         (view-mode-enter): Rename second argument to QUIT-RESTORE.
18028         Rewrite using quit-restore window parameters.
18029         (view-mode-exit): Rename second argument to EXIT-ONLY.
18030         Rewrite using quit-restore-window.
18031         (View-exit, View-exit-and-edit, View-leave, View-quit)
18032         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18033         appropriate arguments.
18034         (view-end-message): Use quit-restore window parameter.
18036         * window.el (display-buffer-function): Rewrite doc-string.
18037         (display-buffer-window, display-buffer-alist): New variables.
18038         (display-buffer-split-specifiers)
18039         (display-buffer-side-specifiers)
18040         (display-buffer-macro-specifiers): New constants.
18041         (display-buffer-even-window-sizes, display-buffer-set-height)
18042         (display-buffer-set-width, display-buffer-select-window)
18043         (display-buffer-in-window, display-buffer-reuse-window)
18044         (display-buffer-split-window-1, display-buffer-split-window)
18045         (display-buffer-split-atom-window, display-buffer-pop-up-window)
18046         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18047         (display-buffer-in-side-window, normalize-buffer-to-display)
18048         (display-buffer-normalize-specifiers-1)
18049         (display-buffer-normalize-specifiers-2)
18050         (display-buffer-normalize-specifiers, display-buffer-frame):
18051         New functions.
18052         (display-buffer): Major rewrite.
18053         (display-buffer-other-window, display-buffer-other-frame)
18054         (pop-to-buffer, switch-to-buffer-other-window)
18055         (switch-to-buffer-other-frame): Rewrite.
18056         (display-buffer-same-window, display-buffer-same-frame)
18057         (display-buffer-same-frame-other-window)
18058         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18059         (pop-to-buffer-other-window)
18060         (pop-to-buffer-same-frame-other-window)
18061         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18062         (switch-to-buffer-other-window-same-frame): New functions.
18063         (same-window-p, special-display-p): Rewrite disabling warnings.
18064         Make obsolete.
18065         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18066         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18067         Make obsolete
18068         (same-window-buffer-names, same-window-regexps)
18069         (special-display-frame-alist, special-display-popup-frame)
18070         (special-display-function, special-display-buffer-names)
18071         (special-display-regexps, pop-up-frame-alist)
18072         (pop-up-frame-function, split-window-preferred-function)
18073         (split-height-threshold, split-width-threshold)
18074         (even-window-heights): Make obsolete.
18076 2011-06-12  Glenn Morris  <rgm@gnu.org>
18078         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
18079         Misc simplifications.
18081 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
18083         * window.el (window-safely-shrinkable-p): Restore function which
18084         was inadvertently removed in change from 2011-06-11.  Declare as
18085         obsolete.
18087         * calendar/calendar.el (calendar-generate-window):
18088         Use window-iso-combined-p instead of combination of one-window-p and
18089         window-safely-shrinkable-p.
18091 2011-06-12  Glenn Morris  <rgm@gnu.org>
18093         * progmodes/fortran.el (fortran-mode-syntax-table):
18094         * progmodes/f90.el (f90-mode-syntax-table):
18095         Set % to punctuation.  (Bug#8820)
18096         (f90-find-tag-default): Remove, no longer needed.
18098 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
18100         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18102 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
18104         * image.el (image-animated-p): Return animation delay in seconds.
18105         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18106         (image-animate-timeout): Remove DELAY argument.  Don't assume
18107         every subimage has the same delay; get it from image-animated-p.
18108         (image-animate): Caller changed.
18110 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
18112         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18113         to ignored backtrace functions.
18115 2011-06-11  Glenn Morris  <rgm@gnu.org>
18117         * calendar/appt.el (appt-disp-window-function): Doc fix.
18118         (appt-check): Handle overlapping appointments.  (Bug#8337)
18120 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
18122         * window.el (window-tree-1, window-tree): New functions, moving
18123         the latter to window.el.
18124         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18125         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18126         (bw-refresh-edges): Remove.
18127         (balance-windows-1, balance-windows-2): New functions.
18128         (balance-windows): Rewrite in terms of window tree functions,
18129         balance-windows-1 and balance-windows-2.
18130         (bw-adjust-window): Remove.
18131         (balance-windows-area-adjust): New function with functionality of
18132         bw-adjust-window but using resize-window.
18133         (set-window-text-height): Rewrite doc-string.
18134         Use normalize-live-window and resize-window.
18135         (enlarge-window-horizontally, shrink-window-horizontally):
18136         Rename argument to DELTA.
18137         (window-buffer-height): New function.
18138         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18139         Rewrite using new window resize routines.
18140         (kill-buffer-and-window, mouse-autoselect-window-select):
18141         Use ignore-errors instead of condition-case.
18142         (quit-window): Call delete-frame instead of delete-windows-on
18143         for the only buffer on frame.
18145 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18147         * loadup.el (top-level): Load window before files for the sake
18148         of replace-buffer-in-windows.
18150         * files.el (read-buffer-to-switch)
18151         (switch-to-buffer-other-window)
18152         (switch-to-buffer-other-frame, display-buffer-other-frame):
18153         Move to window.el.
18155         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18156         (previous-buffer): Move to window.el.
18158         * bindings.el (unbury-buffer): Move to window.el.
18160         * window.el (delete-other-windows-vertically): Move after
18161         definition of delete-other-windows.
18162         (other-window, delete-windows-on, replace-buffer-in-windows):
18163         Move here from window.c.
18164         (record-window-buffer, unrecord-window-buffer)
18165         (set-window-buffer-start-and-point, switch-to-prev-buffer)
18166         (switch-to-next-buffer): New functions.
18167         (get-next-valid-buffer, last-buffer, next-buffer): Move here
18168         from simple.el.  Call switch-to-next-buffer.
18169         (previous-buffer): Move here from simple.el.
18170         Call switch-to-prev-buffer.
18171         (bury-buffer): Move here from buffer.c.  Switch to previous
18172         buffer when window cannot be deleted.
18173         (unbury-buffer): Move here from bindings.el.
18174         (ctl-x-map): Move binding for other-window from window.c to
18175         here.
18176         (read-buffer-to-switch, switch-to-buffer-other-window)
18177         (switch-to-buffer-other-frame): Move here from files.el.
18178         (normalize-buffer-to-switch-to): New functions.
18179         (switch-to-buffer): Move here from buffer.c.
18180         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18182 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18184         * window.el (window-min-height, window-min-width): Move here
18185         from window.c.  Add defcustoms and rewrite doc-strings.
18186         (resize-mini-window, resize-window): New functions.
18187         (adjust-window-trailing-edge, enlarge-window, shrink-window):
18188         Move here from window.c.
18189         (maximize-window, minimize-window): New functions.
18190         (delete-window, delete-other-windows, split-window): Move here
18191         from window.c.
18192         (window-split-min-size): New function.
18193         (split-window-keep-point): Mention split-window-above-each-other
18194         instead of split-window-vertically.
18195         (split-window-above-each-other, split-window-vertically):
18196         Rename split-window-vertically to split-window-above-each-other
18197         and provide defalias for old definition.
18198         (split-window-side-by-side, split-window-horizontally):
18199         Rename split-window-horizontally to split-window-side-by-side
18200         and provide defalias for the old definition.
18201         (ctl-x-map): Move bindings for delete-window,
18202         delete-other-windows and enlarge-window here from window.c.
18203         Replace bindings for split-window-vertically and
18204         split-window-horizontally by bindings for
18205         split-window-above-each-other and split-window-side-by-side.
18207         * cus-start.el (all): Remove entries for window-min-height and
18208         window-min-width.  Add entries for window-splits and
18209         window-nest.
18211 2011-06-09  Glenn Morris  <rgm@gnu.org>
18213         * calendar/appt.el (appt-mode-line): New function.
18214         (appt-check, appt-disp-window): Use it.
18216         * files.el (hack-one-local-variable-eval-safep):
18217         Allow minor-modes with explicit +/-1 arguments.
18219 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
18221         * term/xterm.el (xterm): Add defgroup.
18222         (xterm-extra-capabilities): Add defcustom to supply known xterm
18223         capabilities, skip querying them, or query them (default).
18224         (terminal-init-xterm): Use it.
18225         (terminal-init-xterm-modify-other-keys): New function to set up
18226         modifyOtherKeys support to simplify `terminal-init-xterm'.
18228 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
18230         * window.el (resize-window-reset, resize-window-reset-1)
18231         (resize-subwindows-skip-p, resize-subwindows-normal)
18232         (resize-subwindows, resize-other-windows, resize-this-window)
18233         (resize-root-window, resize-root-window-vertically)
18234         (window-deletable-p, window-or-subwindow-p)
18235         (frame-root-window-p): New functions.
18237 2011-06-09  Glenn Morris  <rgm@gnu.org>
18239         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18240         (ange-ftp-get-files): Use it.
18242 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
18244         * mail/sendmail.el (mail-recover-1, mail-recover):
18245         * files.el (recover-file, recover-session):
18246         Handle dired-listing-switches not being just a single short option.
18248 2011-06-09  Glenn Morris  <rgm@gnu.org>
18250         * calendar/appt.el (appt-display-message, appt-disp-window):
18251         Handle lists of appointments.
18253 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18255         * window.el (one-window-p): Move down in code.
18256         Rewrite doc-string.
18257         (window-current-scroll-bars): Rewrite doc-string.
18258         Normalize live window argument.
18259         (walk-windows, get-window-with-predicate, count-windows):
18260         Rewrite doc-string.  Use window-list-1.
18261         (window-in-direction-2, window-in-direction, get-mru-window):
18262         New functions.
18264 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
18266         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18267         Doc fix (Bug#8713).
18269 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
18271         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18273 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
18275         * loadhist.el (unload-feature-special-hooks):
18276         Add `comint-output-filter-functions'.
18278 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
18280         * calendar/appt.el (appt-check): Move some initializations into the let.
18282 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18284         * window.el (window-height): Defalias to window-total-height.
18285         (window-width): Defalias to window-body-width.
18287 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
18289         * image-mode.el (image-toggle-animation): New command.
18290         (image-mode-map): Bind it to RET.
18291         (image-mode): Update message.
18292         (image-toggle-display-image): Avoid a spurious cache flush.
18293         (image-transform-rotation): Doc fix.
18294         (image-transform-properties): Return quickly in the normal case.
18295         (image-animate-loop): Rename from image-animate-max-time.
18297         * image.el (image-animate-max-time): Move to image-mode.el.
18298         (create-animated-image): Remove unnecessary function.
18299         (image-animate): Rename from image-animate-start.  New arg.
18300         (image-animate-stop): Remove; just use image-animate-timer.
18301         (image-animate-timer): Use car-safe.
18302         (image-animate-timeout): Rename argument.
18304 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
18306         * window.el (get-lru-window, get-largest-window): Move here from
18307         window.c.  Rename first argument to ALL-FRAMES.
18308         Rephrase doc-strings.
18309         (get-buffer-window-list): Rewrite using window-list-1.
18310         Rephrase doc-string.
18311         (window-safe-min-height, window-safe-min-width): New constants.
18312         (window-size-ignore, window-min-size, window-min-size-1)
18313         (window-sizable, window-sizable-p, window-size-fixed-1)
18314         (window-size-fixed-p, window-min-delta-1, window-min-delta)
18315         (window-max-delta-1, window-max-delta, window-resizable)
18316         (window-resizable-p, window-total-height, window-total-width)
18317         (window-body-width): New functions.
18318         (window-full-height-p, window-full-width-p): Rewrite using
18319         window-total-size.
18320         (window-body-height): Rewrite using window-body-size.
18322 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
18324         * window.el (window-right, window-left, window-child)
18325         (window-child-count, window-last-child, window-any-p)
18326         (normalize-live-buffer, normalize-live-frame)
18327         (normalize-any-window, normalize-live-window)
18328         (window-iso-combination-p, window-iso-combined-p)
18329         (window-iso-combinations)
18330         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18331         (windows-with-parameter, window-with-parameter)
18332         (window-atom-root, make-window-atom, window-atom-check-1)
18333         (window-atom-check, window-side-check, window-check):
18334         New functions.
18335         (ignore-window-parameters, window-sides, window-sides-vertical)
18336         (window-sides-slots): New variables.
18337         (window-size-fixed): Move down in code.  Minor doc-string fix.
18339 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
18341         * comint.el (comint-dynamic-complete-as-filename)
18342         (comint-dynamic-complete-filename): Correctly call
18343         completion-in-region.
18345 2011-06-05  Deniz Dogan  <deniz@dogan.se>
18347         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18348         in last change.
18350 2011-06-05  Deniz Dogan  <deniz@dogan.se>
18352         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18353         (rcirc): Use it to prompt for encryption.
18355 2011-06-05  Roland Winkler  <winkler@gnu.org>
18357         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18358         (bibtex-search-entries): New command bound to C-c C-a.
18359         (bibtex-display-entries): New function.
18361 2011-06-05  Roland Winkler  <winkler@gnu.org>
18363         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18364         (bibtex-insert-kill): After yanking insert newline if necessary.
18365         (bibtex-initialize): Call bibtex-string-files-init only once.
18366         (bibtex-mode): Do not call easy-menu-add.
18367         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18368         (bibtex-yank): Set arg properly if nil.
18370 2011-06-05  Roland Winkler  <winkler@gnu.org>
18372         * textmodes/bibtex.el (bibtex-search-entry-globally):
18373         New variable.
18374         (bibtex-search-entry): Use it.
18376 2011-06-05  Roland Winkler  <winkler@gnu.org>
18378         * textmodes/bibtex.el (bibtex-entry-format): New option
18379         sort-fields.
18380         (bibtex-format-entry, bibtex-reformat): Honor this option.
18381         (bibtex-parse-entry): Return fields in proper order.
18383 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
18385         * doc-view.el (doc-view-remove-if): Move computation of result out
18386         of `dolist' to silence misleading lexical-binding warning.
18388 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
18390         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18391         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18393 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
18395         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18396         "SunOS 5.10".
18398 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
18400         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18401         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18402         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18403         (tramp-parse-putty):
18404         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18405         (tramp-completion-function-alist-ssh)
18406         (tramp-completion-function-alist-telnet)
18407         (tramp-completion-function-alist-su)
18408         (tramp-completion-function-alist-putty): Set `tramp-autoload'
18409         cookie.
18411         * net/tramp-ftp.el:
18412         * net/tramp-sh.el:
18413         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18414         load "tramp.el" `tramp-set-completion-function'.
18416 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18418         * shell.el: Require and use pcomplete.
18419         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18420         (shell-completion-vars): Set pcomplete-default-completion-function.
18422 2011-06-04  Deniz Dogan  <deniz@dogan.se>
18424         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18425         `memq' (Bug#8799).
18427 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18429         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18431 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
18433         * bs.el (bs--mark-unmark, bs--nth-wrapper):
18434         * mpc.el (mpc-select-extend, mpc-songpointer-context):
18435         * vc/log-view.el (log-view-beginning-of-defun):
18436         * vc/smerge-mode.el (smerge-apply-resolution-patch)
18437         (smerge-refine-forward, smerge-refine-chopup-region):
18438         Silence warning for unused `dotimes' counter variables.
18440 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18442         * net/tramp.el (tramp-with-progress-reporter): Rename from
18443         with-progress-reporter.  Use `declare'.
18444         * net/tramp-smb.el:
18445         * net/tramp-sh.el:
18446         * net/tramp-gvfs.el: Update all uses.
18448 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
18450         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18451         buffer isn't killed before making it current.
18453 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18455         Silence various byte-compiler warnings.
18456         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18457         `access-type' and new obsolescence format.
18458         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18459         new format.
18460         (byte-compile-check-variable): New `access-type' argument.
18461         Only warn if the access-type is obsolete.
18462         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18463         (byte-compile-variable-set): Adjust callers.
18464         * help-fns.el (describe-variable): Adjust to new obsolescence format.
18465         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18466         setting it as obsolete.
18467         * simple.el (minibuffer-completing-symbol):
18468         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18469         access as obsolete.
18470         * minibuffer.el (minibuffer-completing-file-name): Don't make it
18471         obsolete yet.
18472         * international/quail.el (quail-mouse-choose-completion): Remove unused
18473         code referring to obsolete var.
18474         (quail-choose-completion-string): Remove.
18475         * server.el (server-clients-with, server-kill-buffer-query-function)
18476         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18477         * proced.el (proced-send-signal):
18478         * emacs-lisp/lisp.el (lisp-complete-symbol):
18479         Replace completion-annotate-function with completion-extra-properties.
18481 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18483         * simple.el (goto-line): Use read-number.
18484         (overriding-map-is-bound): Remove.
18485         (saved-overriding-map): Change default.
18486         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18487         Take the map as argument.
18488         (universal-argument, negative-argument, digit-argument): Use it.
18489         (restore-overriding-map): Adjust.
18490         (do-auto-fill): Use fill-forward-paragraph.
18491         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18493         * minibuffer.el (minibuffer-inactive-mode-map): New var.
18494         (minibuffer-inactive-mode): New major mode.
18495         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18496         the *Messages* buffer" hack.
18497         (mouse-popup-menubar): Don't burp if the event is a normal key.
18499         Miscellaneous tweaks.
18500         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18501         lexical scoping as in subr.el's dolist and dotimes.
18502         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18503         Silence compiler warning.
18504         * thingatpt.el (forward-whitespace): Trivial coding style fix.
18505         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18506         * international/ccl.el (ccl-compile): Trivial simplification.
18507         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18508         * emacs-lisp/testcover.el (testcover-end): Remove spurious
18509         `printflag' argument.
18510         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18511         Purecopy the whole obsolescence data.
18513 2011-06-01  Leo Liu  <sdl.web@gmail.com>
18515         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18516         improve doc-string as suggested by Marco Pessotto
18517         <melmothx@gmail.com>.
18518         (rcirc-print): Fix last change.
18520 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18522         * minibuffer.el (complete-with-action): Return nil for the metadata and
18523         boundaries of non-functional tables.
18524         (completion-table-dynamic): Return nil for the metadata.
18525         (completion-table-with-terminator): Add default case, using
18526         complete-with-action.
18527         (completion--metadata): New function.
18528         (completion-all-sorted-completions, minibuffer-completion-help): Use it
18529         to try and avoid pathological performance problems.
18530         (completion--embedded-envvar-table): Return `category' metadata.
18532 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18534         * subr.el (process-alive-p): New tiny convenience function.
18536 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18538         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18539         content but also its previous major mode.
18541 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
18543         * emacs-lisp/debug.el (debug): Restore the previous content of the
18544         *Backtrace* buffer when we exit with C-M-c.
18546 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18548         * minibuffer.el: Add metadata method to completion tables.
18549         (completion-category-overrides): New defcustom.
18550         (completion-metadata, completion--field-metadata)
18551         (completion-metadata-get, completion--styles)
18552         (completion--cycle-threshold): New functions.
18553         (completion-try-completion, completion-all-completions):
18554         Add `metadata' argument to choose completion-styles.
18555         (completion--do-completion): Use metadata to choose cycling.
18556         (completion-all-sorted-completions): Use metadata for sorting.
18557         Remove :completion-cycle-penalty which is not needed any more.
18558         (completion--try-word-completion): Add `metadata' argument.
18559         (minibuffer-completion-help): Check metadata for annotation function
18560         and sorting.
18561         (completion-file-name-table): Return `category' metadata.
18562         (minibuffer-completing-file-name): Make obsolete.
18563         * simple.el (minibuffer-completing-symbol): Make obsolete.
18564         * icomplete.el (icomplete-completions): Pass new `metadata' param to
18565         completion-try-completion.
18567 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18569         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18571 2011-05-30  Leo Liu  <sdl.web@gmail.com>
18573         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18574         (rcirc-print): Decode all incoming messages (bug#8744).
18575         (rcirc-decode-coding-system): Allow value nil for automatic coding
18576         system detection.
18578 2011-06-01  Glenn Morris  <rgm@gnu.org>
18580         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18582 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
18584         * image.el (image-animate-max-time): Allow nil and t values.
18585         Default to nil.
18586         (create-animated-image): Doc fix.
18587         (image-animate-start): Remove second arg; just use
18588         image-animate-max-time.
18589         (image-animate-timeout): Doc fix.  Args changed.
18591         * image-mode.el (image-toggle-display-image): Ensure that the
18592         image spec passed to the animate timer is the same object as in
18593         the buffer's display property (Bug#6981).
18594         (image-transform-properties): Doc fix.
18596         * image.el (image-animate-max-time): Default to nil.
18598 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
18600         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18601         entire buffer list (Bug#8184).
18603 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
18605         * image.el (imagemagick-types-inhibit)
18606         (imagemagick-register-types): Doc fix.
18608 2011-05-29  Deniz Dogan  <deniz@dogan.se>
18610         * net/rcirc.el (rcirc): Use the user's stored encryption method by
18611         default.
18613 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
18615         * select.el: Don't perform clipboard-manager saving in hooks;
18616         leave the hooks empty.
18618 2011-05-28  Leo Liu  <sdl.web@gmail.com>
18620         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18621         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
18622         (occur-edit-mode): New major mode (Bug#8463).
18623         (occur-after-change-function): New function.
18624         (occur-engine): Give Occur tags a read-only property.
18626 2011-05-28  Kevin Ryde  <user42@zip.com.au>
18628         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18630 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
18632         * bindings.el (help-echo): Make the initial non-indicator dash
18633         empty on graphical terminals (Bug#7295).
18635         * files.el (auto-mode-alist): Move config rule after the
18636         in-stripping one (Bug#8547).
18638         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18640         * startup.el (normal-splash-screen): Remove gratuitous mode-line
18641         setting (Bug#8740).
18643 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
18645         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18646         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18647         (Bug#8539).
18649 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
18651         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18653 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
18655         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18656         (hs-hide-block-at-point, hs-find-block-beginning)
18657         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18658         (Bug#8279).
18660 2011-05-28  Glenn Morris  <rgm@gnu.org>
18662         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
18664 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
18666         * help-fns.el (describe-function-1): If the function is a derived
18667         major mode, print the parent mode.
18669         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18670         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18672 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18674         * minibuffer.el (completion--capf-wrapper): Check applicability before
18675         returning non-nil for non-exclusive completion data.
18676         * progmodes/etags.el (tags-completion-at-point-function):
18677         * info-look.el (info-lookup-completions-at-point): Mark as
18678         non-exclusive.
18679         (info-complete): Adjust accordingly.
18681         * info-look.el: Convert to lexical-binding and completion-at-point.
18682         (info-lookup-completions-at-point): New function.
18683         (info-complete): Use it and completion-in-region.
18685 2011-05-28  Drew Adams  <drew.adams@oracle.com>
18687         * isearch.el: Let M-e start with point at the first mismatched char.
18688         (isearch-fail-pos): New function.
18689         (isearch-edit-string): Use it.
18691 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
18693         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18695 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
18697         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
18698         traversal functions for avl-trees.
18699         (avl-tree--stack): New struct.
18700         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18701         (avl-tree-enter): Add optional `updatefun' arg.
18702         (avl-tree--do-enter): Add optional `updatefun' arg.
18703         Change return value.
18704         (avl-tree-delete): Add optional `test' and `nilflag' args.
18705         (avl-tree--do-delete): Add `test' and `nilflag' args.
18706         Change return value.
18707         (avl-tree-member): Add optional `nilflag'
18708         (avl-tree-member-p): New function.
18709         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18710         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18711         (avl-tree-stack-empty-p): New functions.
18713         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18714         avl-tree--del-balance1 and make it work both ways.
18715         (avl-tree--del-balance2): Remove.
18716         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18717         make it work both ways.
18718         (avl-tree--enter-balance2): Remove.
18719         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18720         New macros.
18721         (avl-tree--mapc, avl-tree-map): Add direction argument.
18723 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
18725         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18727 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
18729         * select.el: Support clipboard managers with built-in function
18730         x-clipboard-manager-save, via delete-frame-functions and
18731         kill-emacs-hook.
18732         (xselect-convert-to-targets): Add MULTIPLE target to list.
18733         (xselect-convert-to-save-targets): New function.
18735 2011-05-27  Kenichi Handa  <handa@m17n.org>
18737         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18738         let-binding rfc2047-encode-encoded-words to nil.
18740 2011-05-27  Glenn Morris  <rgm@gnu.org>
18742         * mail/emacsbug.el: Don't require url-util.
18744         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
18746         * files.el (set-auto-mode):
18747         Also respect mode: entries at the end of the file.  (Bug#8586)
18749 2011-05-26  Glenn Morris  <rgm@gnu.org>
18751         * files.el (hack-local-variables-prop-line, hack-local-variables):
18752         Downcase mode names, as seems to be traditional.
18753         (hack-local-variables, hack-local-variables-apply): Doc fixes.
18755         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18756         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
18758 2011-05-25  Julien Danjou  <julien@danjou.info>
18760         * textmodes/rst.el (rst-define-level-faces): Do not define face
18761         symbol if it is already defined.
18763 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
18765         * play/5x5.el (5x5-new-game, 5x5-randomize):
18766         Reset 5x5-solver-output to nil when a new grid is cast.
18767         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18768         these debugging traces, as defmacro breaks the compiled code.
18770 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
18772         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18774 2011-05-24  Leo Liu  <sdl.web@gmail.com>
18776         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18777         (vc-bzr-sha1): Adapt.
18779         * sha1.el: Remove.  Function `sha1' is now builtin.
18781         * bindings.el: Provide sha1 feature.
18783 2011-05-24  Kenichi Handa  <handa@m17n.org>
18785         * mail/sendmail.el: Require `rfc2047'.
18786         (mail-insert-from-field): Do not perform RFC2047 encoding.
18787         (mail-encode-header): New function.
18788         (sendmail-send-it): Set buffer-file-coding-system of the work
18789         buffer to the return value of select-message-coding-system.
18790         Call mail-encode-header.
18792         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18794 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
18796         * mail/supercite.el (sc-default-cite-frame):
18797         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18799 2011-05-24  Glenn Morris  <rgm@gnu.org>
18801         * progmodes/python.el (brm-menu): Declare.
18803         * emulation/viper.el (viper-set-hooks): Declare.
18805         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18806         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18807         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18808         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18809         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18810         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18812 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18814         Add an :exit-function for completion-at-point.
18816         * minibuffer.el (completion--done): New fun.
18817         (completion--do-completion): Use it.  New arg `expect-exact'.
18818         (minibuffer-complete, minibuffer-complete-word): Don't output message,
18819         since completion--do-completion does it for us now.
18820         (minibuffer-force-complete): Use completion--done and
18821         completion--replace.  Handle sole-completion case with more care.
18822         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18823         (completion-extra-properties): New var.
18824         (completion-annotate-function): Make obsolete.
18825         (minibuffer-completion-help): Adjust accordingly.
18826         Use completion-list-insert-choice-function.
18827         (completion-at-point, completion-help-at-point):
18828         Bind completion-extra-properties.
18829         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18830         * simple.el (completion-list-insert-choice-function): New var.
18831         (completion-setup-function): Preserve it.
18832         (choose-completion): Pay attention to it, shuffle the code a bit.
18833         (choose-completion-string): New arg `insert-function'.
18835         * textmodes/bibtex.el: Convert to lexical binding.
18836         (bibtex-mode-map): Use completion-at-point.
18837         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18838         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18839         (bibtex-complete): Define as obsolete alias.
18840         (bibtex-complete-internal): Remove.
18841         (bibtex-format-entry): Remove unused sub-group in regexp.
18842         * shell.el (shell--command-completion-data)
18843         (shell-environment-variable-completion):
18844         * pcomplete.el (pcomplete-completions-at-point):
18845         * comint.el (comint--complete-file-name-data): Use :exit-function
18846         instead of completion-table-with-terminator so it also works for
18847         choose-completion.
18849 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18851         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18853         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18854         (bug#8710).
18856         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18858 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
18860         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18861         customization variable and implement: If non-nil, auto-fill will
18862         be inhibited while on topic's header line.
18864 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
18866         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18867         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
18868         always have a solution in grid size = 5 cases.
18869         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18870         (5x5-solver-output, 5x5-log-buffer): New vars.
18871         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18872         Make these variables buffer local to achieve 5x5 multi-session-ness.
18873         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18874         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18875         (5x5-solve-suggest): New funs.
18876         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18877         randomize a grid so that we ensure that there is always a solution.
18878         (5x5-make-random-grid): Allow other movement than flipping.
18880 2011-05-23  Kevin Ryde  <user42@zip.com.au>
18882         * emacs-lisp/advice.el (ad-read-advised-function):
18883         Use `function-called-at-point' as the default, if it has
18884         advice and passes PREDICATE.
18886 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18888         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18889         byte-compile-lambda if it's actually a lambda.
18891         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18892         Fix function quoting.  Use backquote better.
18894 2011-05-22  Yuanle Song  <sylecn@gmail.com>
18896         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18897         matching (Bug#8516).
18899 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
18901         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18902         different face (Bug#8178).
18904 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
18906         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18907         defface (Bug#8144).
18909 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18911         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18912         funcall as well (bug#8712).  Warn when performing those conversions.
18913         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18915         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18917 2011-05-22  Glenn Morris  <rgm@gnu.org>
18919         * files.el (hack-local-variables-prop-line): Small simplifications.
18920         (hack-local-variables, hack-local-variables-prop-line):
18921         If MODE-ONLY, return the mode, rather than just `t'.
18923 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18925         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18927 2011-05-21  Glenn Morris  <rgm@gnu.org>
18929         * files.el (hack-local-variables-prop-line, hack-local-variables):
18930         If only interested in the mode, don't bother doing the other stuff.
18932         * image-mode.el (image-after-revert-hook):
18933         Redraw all frames on which the image is visible.  (Bug#8567)
18935         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
18937         * wid-edit.el (widget-checklist-match-inline):
18938         Fix 2011-04-19 change.  (Bug#8649)
18940 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18942         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18943         Also allow singlespace after single-letter capitals followed by a dot.
18945         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18946         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18948 2011-05-20  Nix  <nix@esperi.org.uk>
18950         * files.el (basic-save-buffer-2):
18951         Fix handling of break-hardlink-on-save with non-existent files.
18953 2011-05-19  Deniz Dogan  <deniz@dogan.se>
18955         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18956         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18958 2011-05-19  Glenn Morris  <rgm@gnu.org>
18960         * progmodes/f90.el (f90-type-def-re):
18961         Handle "type, bind(c)".  (Bug#8691)
18963         * emacs-lisp/autoload.el (batch-update-autoloads):
18964         Set autoload-excludes by parsing loadup.el rather than Makefiles.
18966 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
18968         * net/tramp.el (tramp-process-actions): Set "first-password-request"
18969         property for the correct connection in case of multihops.
18971 2011-05-18  Glenn Morris  <rgm@gnu.org>
18973         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18974         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18976         Rationalize calendar handling of day and month abbrev-arrays.
18977         * calendar/calendar.el (calendar-customized-p): New function.
18978         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18979         (calendar-day-name-array, calendar-month-name-array): Doc fix.
18980         Add :set function.
18981         (calendar-abbrev-length, calendar-day-abbrev-array)
18982         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18983         (calendar-day-abbrev-array, calendar-month-abbrev-array):
18984         Elements may no longer be nil.
18985         (calendar-day-name, calendar-month-name):
18986         Update for changed nature of abbrev arrays.
18987         * calendar/diary-lib.el (diary-name-pattern):
18988         Update for changed nature of abbrev arrays.
18989         (diary-mark-entries-1): Update calendar-make-alist calls.
18990         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18991         * calendar/cal-html.el (cal-html-day-abbrev-array):
18992         Simply inherit from calendar-day-abbrev-array.
18994 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18996         * progmodes/grep.el (grep-mode): Disable default
18997         compilation-directory-matcher setting (bug#8684).
18999 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
19001         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19002         instead of "head" and "tail".  There were problems with SunOS 5.9,
19003         and it performs better.
19005 2011-05-17  Glenn Morris  <rgm@gnu.org>
19007         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19009         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19010         Replace obsolete function.
19012         * shell.el (pcomplete-parse-arguments-function): Declare.
19014         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19015         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19016         (appt-check): Doc fixes.
19017         (appt-disp-window-function, appt-delete-window-function):
19018         Remove needless special case in custom :type.
19019         (appt-display-count): Default to 0, not nil.
19020         (appt-check): Reset appt-display-count to 0, not nil.
19022 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
19024         * progmodes/python.el (python-font-lock-keywords):
19025         Add the Python 3.X keyword "nonlocal" (bug#8639).
19027 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19029         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19031 2011-05-16  Kevin Ryde  <user42@zip.com.au>
19033         * info-look.el (makefile-automake-mode): New setups, looking in
19034         automake manual, then makefile-mode.
19035         (makefile-mode): Remove automake manual, have it just in
19036         makefile-automake-mode since there's various things different or
19037         not relevant to plain make.
19038         (makefile-mode): Remove "other-modes" non-existent automake-mode,
19039         believe a hypothetical automake-mode would go to makefile-mode,
19040         not the other way around.
19042 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
19044         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19045         hunk-end tags (Bug#8672).
19047         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19048         vc-annotate-show-diff-revision-at-line (Bug#8671).
19050 2011-05-14  Glenn Morris  <rgm@gnu.org>
19052         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19053         in the middle of an existing one with multiple authors.  (Bug#8645)
19054         (change-log-font-lock-keywords): Also handle multiple author lines
19055         with leading tabs.  (Bug#8644)
19057         * calendar/appt.el (appt-check): Rename some local variables.
19058         Some simplification/reordering.
19060         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19061         (feedmail-sendmail-f-doesnt-sell-me-out)
19062         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19063         (feedmail-debug-sit-for, feedmail-queue-express-hook)
19064         (feedmail-queue-runner-message-sender): Set :version.
19065         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19066         (bbdb-dwim-net-address, vm-mail): Declare.
19067         (feedmail-binmail-gnulinuxish-template):
19068         Rename from feedmail-binmail-linuxish-template.
19069         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19070         Use insert-buffer-substring.
19072 2011-05-14  Bill Carpenter  <bill@carpenter.org>
19074         * mail/feedmail.el (feedmail-patch-level): Increase.
19075         (feedmail-debug): New custom group.
19076         (feedmail-confirm-outgoing-timeout)
19077         (feedmail-sendmail-f-doesnt-sell-me-out)
19078         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19079         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19080         (feedmail-sender-line, feedmail-from-line)
19081         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19082         (feedmail-spray-this-address)
19083         (feedmail-spray-address-fiddle-plex-list)
19084         (feedmail-queue-use-send-time-for-date)
19085         (feedmail-queue-use-send-time-for-message-id)
19086         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19087         (feedmail-buffer-eating-function):
19088         Doc fixes.
19089         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19090         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19091         (feedmail-message-action-scroll-down): New functions.
19092         (feedmail-queue-directory, feedmail-queue-draft-directory):
19093         Use expand-file-name.
19094         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19095         Remove C-v help entry.
19096         (feedmail-queue-buffer-file-name): New variable.
19097         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19098         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19099         (feedmail-message-action-send-strong, feedmail-message-action-edit)
19100         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19101         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19102         (feedmail-message-action-toggle-spray)
19103         (feedmail-run-the-queue-no-prompts)
19104         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19105         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19106         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19107         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19108         (feedmail-envelope-deducer, feedmail-fiddle-from)
19109         (feedmail-fiddle-sender, feedmail-default-date-generator)
19110         (feedmail-fiddle-date, feedmail-fiddle-message-id)
19111         (feedmail-fiddle-spray-address)
19112         (feedmail-fiddle-list-of-spray-fiddle-plexes)
19113         (feedmail-fiddle-list-of-fiddle-plexes)
19114         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19115         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19116         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19117         Change default.  Doc fix.
19118         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19119         (feedmail-binmail-linuxish-template): New constant.
19120         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
19121         Respect feedmail-sendmail-f-doesnt-sell-me-out.
19122         (feedmail-send-it): Add debug call.
19123         Use feedmail-queue-buffer-file-name, and
19124         feedmail-send-it-immediately-wrapper.
19125         (feedmail-message-action-send): Add debug call.
19126         Use feedmail-send-it-immediately-wrapper.
19127         (feedmail-queue-express-to-queue): Add debug call.
19128         Run feedmail-queue-express-hook.
19129         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
19130         (feedmail-message-action-help-blat):
19131         Rename from feedmail-queue-send-edit-prompt-help-first.
19132         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
19133         Check line-endings.  Handle errors better.
19134         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19135         Doc fix.  Add debug call.
19136         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
19137         Use feedmail-queue-send-edit-prompt-inner.
19138         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19139         (feedmail-queue-send-edit-prompt-inner): New function, extracted
19140         from feedmail-queue-send-edit-prompt.
19141         (feedmail-queue-send-edit-prompt-help)
19142         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19143         (feedmail-tidy-up-slug): Add debug call.
19144         Respect feedmail-queue-slug-suspect-regexp.
19145         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19146         (feedmail-dump-message-to-queue): Add debug call.
19147         Expand queue-directory.
19148         (feedmail-dump-message-to-queue): Change message slightly.
19149         Use feedmail-say-chatter.
19150         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
19151         (feedmail-send-it-immediately-wrapper): New function.
19152         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
19153         Insert empty string rather than newline.  Handle full-frame case.
19154         Use catch/throw.  Use feedmail-say-chatter.
19155         (feedmail-fiddle-from): Try mail-host-address.
19156         (feedmail-default-message-id-generator): Doc fix.
19157         Bind system-time-locale.  Handle missing end.
19158         (feedmail-fiddle-x-mailer): Add debug call.
19159         Handle feedmail-x-mailer-line being nil.
19160         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19161         Add debug call.  Use buffer-substring-no-properties.
19162         (feedmail-say-debug, feedmail-say-chatter): New functions.
19163         (feedmail-find-eoh): Give an explicit error.
19165 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
19167         * net/newst-treeview.el (newsticker-treeview-face): Change default
19168         family from helvetica to sans.
19169         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19170         etc/images/newsticker.
19172         * net/newst-reader.el (newsticker-feed-face): Change default
19173         family from helvetica to sans.
19175         * net/newst-plainview.el (newsticker-new-item-face)
19176         (newsticker-old-item-face, newsticker-immortal-item-face)
19177         (newsticker-obsolete-item-face, newsticker-date-face)
19178         (newsticker-statistics-face): Change default family from
19179         helvetica to sans.
19180         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19181         etc/images/newsticker.
19183         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19184         (newsticker--process-auto-mark-filter-match): Tell user about
19185         auto-marking.
19187 2011-05-13  Didier Verna  <didier@xemacs.org>
19189         Common Lisp indentation improvements on defmethod and lambda-lists.
19190         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19191         TODO entries.
19192         (lisp-lambda-list-keyword-parameter-indentation)
19193         (lisp-lambda-list-keyword-parameter-alignment)
19194         (lisp-lambda-list-keyword-alignment): New customizable user options.
19195         (lisp-indent-defun-method): Improve docstring.
19196         (extended-loop-p): Fix comment.
19197         (lisp-indent-lambda-list-keywords-regexp): New variable.
19198         (lisp-indent-lambda-list): New function.
19199         (lisp-indent-259): Use it.
19200         (lisp-indent-defmethod): Support for more than one
19201         method qualifier and properly indent methods lambda-lists.
19202         (defgeneric): Provide a missing common-lisp-indent-function property.
19204 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19206         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19207         bounds for the empty string (bug#8667).
19209 2011-05-13  Glenn Morris  <rgm@gnu.org>
19211         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19213         * mail/sendmail.el (sendmail-program): Try executable-find first.
19214         (sendmail-send-it): `sendmail-program' cannot be unbound.
19216         * calendar/appt.el (appt-make-list): Simplify.
19217         (appt-time-msg-list): Doc fix.
19218         (appt-check): Change mode-line message at the time of the appointment.
19220 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19222         * progmodes/ld-script.el (ld-script-keywords)
19223         (ld-script-builtins): Update keywords list.
19225 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19227         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19229         * shell.el (shell-completion-vars): New function.
19230         (shell-mode):
19231         * simple.el (read-shell-command): Use it.
19232         (blink-matching-open): No need for " [...]" in minibuffer-message.
19234 2011-05-12  Glenn Morris  <rgm@gnu.org>
19236         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19237         (appt-check): Simplify.
19239 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
19241         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19242         literal "/dev/null".
19244 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19246         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19247         Fix typo.
19249 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
19251         * progmodes/which-func.el (which-function):
19252         Use add-log-current-defun instead of add-log-current-defun-function,
19253         which might not be defined (Bug#8260).
19255 2011-05-12  Glenn Morris  <rgm@gnu.org>
19257         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19258         Let byte-compile-initial-macro-environment always take precedence.
19260 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19262         * net/rcirc.el: Add support for SSL/TLS connections.
19263         (rcirc-server-alist): New field `encryption'.
19264         (rcirc): Check `encryption' settings.
19265         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
19266         Merge make-local-variable into `set'.
19267         (rcirc--connection-open-p): New function.
19268         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19269         the process is not a network process (e.g. running gnutls-cli).
19270         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19271         Make rcirc-(en|de)code-coding-system local here.
19272         (rcirc-mode): Merge make-local-variable into `set'.
19273         (rcirc-parent-buffer): Make permanent buffer-local.
19274         (rcirc-multiline-minor-mode): Don't do it here.
19275         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19276         there's no server buffer.
19278 2011-05-11  Glenn Morris  <rgm@gnu.org>
19280         * newcomment.el (comment-kill): Prefix "unused" local.
19282         * term/w32console.el (get-screen-color): Declare.
19284         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19285         Handle symbol elements of byte-compile-initial-macro-environment.
19287 2011-05-10  Leo Liu  <sdl.web@gmail.com>
19289         * bookmark.el (bookmark-bmenu-mode-map):
19290         Bind bookmark-bmenu-search to `/'.
19292         * mail/footnote.el: Convert to utf-8 encoding.
19293         (footnote-unicode-string, footnote-unicode-regexp): New variable.
19294         (Footnote-unicode): New function.
19295         (footnote-style-alist): Add unicode style to the list.
19296         (footnote-style): Doc fix.
19298 2011-05-10  Jim Meyering  <meyering@redhat.com>
19300         Fix doubled-word typos.
19301         * international/quail.el (quail-insert-kbd-layout): and and -> and
19302         * kermit.el: and and -> and
19303         * net/ldap.el (ldap-search-internal): to to -> to
19304         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19305         * progmodes/js.el (js-mode): and and -> and
19306         * textmodes/artist.el (artist-move-to-xy): at at -> at
19307         (artist-draw-region-trim-line-endings): if if -> if
19308         And Safetyc -> Safety.
19309         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19311 2011-05-10  Glenn Morris  <rgm@gnu.org>
19312             Stefan Monnier  <monnier@iro.umontreal.ca>
19314         * files.el (hack-one-local-variable-eval-safep):
19315         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
19317 2011-05-10  Glenn Morris  <rgm@gnu.org>
19319         * calendar/diary-lib.el (diary-list-entries-hook)
19320         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19321         (diary-nongregorian-marking-hook, diary-list-entries)
19322         (diary-include-other-diary-files, diary-mark-entries)
19323         (diary-mark-included-diary-files): Doc fixes.
19325 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
19327         * misc.el: Require tabulated-list.el during compilation.
19329 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
19331         * progmodes/compile.el (compilation-start):
19332         Run compilation-filter-hook for the async case too.
19333         (compilation-filter-hook): Doc fix.
19335 2011-05-09  Deniz Dogan  <deniz@dogan.se>
19337         * wdired.el: Remove outdated installation comment.  Fix usage
19338         comment.
19340 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
19342         * misc.el: Implement new command `list-dynamic-libraries'.
19343         (list-dynamic-libraries--loaded-only-p): New variable.
19344         (list-dynamic-libraries--refresh): New function.
19345         (list-dynamic-libraries): New command.
19347 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
19349         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19350         Fix the ant regexp to handle end-line and end-column info from jikes.
19351         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
19352         higher priority to avoid clobbering by gnu.
19354 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
19356         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19357         if the face has existing theme settings (Bug#8454).
19359 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
19361         * progmodes/perl-mode.el (perl-imenu-generic-expression):
19362         Only match variables declared via `my' or `our' (Bug#8261).
19364         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19365         special file names `.' and `..' (Bug#8259).
19367 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
19369         * progmodes/grep.el (grep-mode-font-lock-keywords):
19370         Remove buffer-changing entries.
19371         (grep-filter): New function.
19372         (grep-mode): Add it to compilation-filter-hook.
19374         * progmodes/compile.el (compilation-filter-hook)
19375         (compilation-filter-start): New defvars.
19376         (compilation-filter): Call compilation-filter-hook prior to
19377         updating the process mark.
19379 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19381         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19383 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
19385         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19386         mailclient-send-it even if window-system is nil.  (Bug#8595)
19388         * term/w32console.el (terminal-init-w32console):
19389         Call get-screen-color and use its output to set the frame
19390         background-mode.  (Bug#8597)
19392 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19394         Make bytecomp.el understand that defmethod defines funs (bug#8631).
19395         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19396         New functions.
19397         (defgeneric, eieio--defmethod): Use them.
19398         (eieio-defgeneric): Remove.
19399         (defmethod): Call defgeneric in a way visible to the byte-compiler.
19401 2011-05-07  Glenn Morris  <rgm@gnu.org>
19403         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19404         Use let rather than let*.
19405         (timeclock-find-discrep): Remove unused local.
19407         * calendar/diary-lib.el (diary-comment-start): Doc fix.
19409         * calendar/appt.el (appt-time-msg-list): Doc fix.
19411 2011-05-06  Noah Friedman  <friedman@splode.com>
19413         * apropos.el (apropos-print-doc): Only use
19414         emacs-lisp-docstring-fill-column when it is bound to an integer,
19415         per that variable's documentation.
19417 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19419         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19420         and warnings are not silently discarded (e.g. use -d instead of -P).
19422 2011-05-06  Glenn Morris  <rgm@gnu.org>
19424         * calendar/appt.el (appt-message-warning-time): Doc fix.
19425         (appt-warning-time-regexp): New option.
19426         (appt-make-list): Respect appt-message-warning-time.
19428         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19429         New options.
19430         (diary-add-to-list): Strip comments from the displayed string.
19431         (diary-mode): Set comment-start and comment-end.
19433         * vc/diff-mode.el (smerge-refine-subst): Declare.
19434         (diff-refine-hunk): Don't require smerge-mode when compiling.
19436 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
19438         * simple.el (list-processes): Return nil as the docstring says.
19440 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
19442         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19443         to "".
19444         (ange-ftp-write-region, ange-ftp-insert-file-contents)
19445         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19446         determining of binary transfer.  (Bug#7383)
19448 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
19450         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19451         Fix port computation bug.  (Bug#8618)
19453 2011-05-05  Glenn Morris  <rgm@gnu.org>
19455         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19457         * simple.el (shell-dynamic-complete-functions)
19458         (comint-dynamic-complete-functions): Declare.
19460         * net/network-stream.el (gnutls-negotiate):
19461         * simple.el (tabulated-list-print): Fix declarations.
19463         * progmodes/gud.el (syntax-symbol, syntax-point):
19464         Remove unnecessary and incorrect declarations.
19466         * emacs-lisp/check-declare.el (check-declare-scan):
19467         Handle byte-compile-initial-macro-environment in bytecomp.el.
19469 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19471         Fix earlier half-done eieio-defmethod change (bug#8338).
19472         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19473         Streamline and change calling convention.
19474         (defmethod): Adjust accordingly and simplify.
19475         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19476         new eieio--defmethod.
19477         (slot-boundp): Minor CSE simplification.
19479 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
19481         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19482         (glasses-make-readable): Use glasses-separate-capital-groups.
19484 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
19486         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19487         (warning-series): Doc fix.
19488         (display-warning): Don't try to create the buffer if we just found it.
19490 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
19492         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19493         (autoload-find-generated-file): New function.
19494         (generate-file-autoloads): Bind generated-autoload-file to
19495         buffer-file-name.
19496         (update-file-autoloads, update-directory-autoloads):
19497         Use autoload-find-generated-file.  If called interactively, prompt for
19498         output file (Bug#7989).
19499         (batch-update-autoloads): Doc fix.
19501 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
19503         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19505 2011-05-04  Glenn Morris  <rgm@gnu.org>
19507         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19508         function, so it follows changes in calendar-date-style.
19509         (diary-fancy-date-matcher): New function.
19510         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19511         (diary-fancy-font-lock-fontify-region-function):
19512         Use diary-fancy-date-pattern as a function.
19514         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19515         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
19517 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
19519         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19520         instead of positional arguments.  Allow :keylist and :crlfiles
19521         arguments.
19522         (open-gnutls-stream): Call it.
19524         * net/network-stream.el (network-stream-open-starttls): Adjust to
19525         call `gnutls-negotiate' with :process and :hostname arguments.
19527 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19529         * minibuffer.el (completion--message): New function.
19530         (completion--do-completion, minibuffer-complete)
19531         (minibuffer-force-complete, minibuffer-complete-word): Use it.
19532         (completion--do-completion): Don't ignore completion-auto-help when in
19533         icomplete-mode.
19535         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19536         internal encoding (e.g. tibetan zero is not whitespace).
19537         (global-whitespace-mode): Prefer save-current-buffer.
19538         (whitespace-trailing-regexp): Remove useless save-match-data.
19539         (whitespace-empty-at-bob-regexp): Minor simplification.
19541 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
19543         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19545 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
19547         * textmodes/ispell.el (ispell-add-per-file-word-list):
19548         Use `concat' to create string for insertion.
19550 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19552         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19553         Avoid open-line which runs post-self-insert-hook.
19554         (bibtex-fill-entry): Remove unused `end' var.
19556 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
19558         * textmodes/ispell.el (ispell-add-per-file-word-list):
19559         Protect against `nil' value of `comment-start' (Bug#8579).
19561 2011-05-03  Leo Liu  <sdl.web@gmail.com>
19563         * isearch.el (isearch-yank-pop): New command.
19564         (isearch-mode-map): Bind it to `M-y'.
19565         (isearch-forward): Mention it.
19567 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19569         * simple.el (minibuffer-complete-shell-command): Remove.
19570         (minibuffer-local-shell-command-map): Use completion-at-point.
19571         (read-shell-command): Setup completion vars here instead.
19572         (read-expression-map): Bind TAB to symbol completion.
19574         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19575         error directly rather via storing it into `results'.
19577 2011-05-02  Leo Liu  <sdl.web@gmail.com>
19579         * vc/diff.el: Fix description.
19581 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19583         * server.el (server-eval-at): New function.
19585 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19587         * net/network-stream.el (open-network-stream): Take a :nowait
19588         parameter and pass it on to `make-network-process'.
19589         (network-stream-open-plain): Ditto.
19591 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19593         * faces.el (face-spec-set-match-display): Don't match toolkit
19594         options on terminal frames.
19596 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19598         * progmodes/pascal.el: Use lexical binding.
19599         (pascal-mode-map): Remove author preferences.
19601         * pcomplete.el (pcomplete-std-complete): Don't abuse
19602         completion-at-point.
19604 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
19606         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19607         removing code that has been dead since 1991 or so.
19609         * startup.el (command-line): When warning about "_emacs", use a
19610         delayed warning to allow the user to filter it out.
19612 2011-04-28  Deniz Dogan  <deniz@dogan.se>
19614         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19615         user has not joined.
19617 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19619         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19620         aren't any completions at point.
19622 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
19624         * subr.el (display-delayed-warnings): New function.
19625         (delayed-warnings-hook): New variable.
19627 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19629         * minibuffer.el (completion-at-point, completion-help-at-point):
19630         Don't presume that a given completion-at-point-function will always
19631         use the same calling convention.
19633         * pcomplete.el (pcomplete-completions-at-point):
19634         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
19635         pcomplete-seen is non-nil.
19636         (pcomplete-comint-setup): Also recognize the new comint/shell
19637         completion functions.
19638         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19639         pcomplete-seen is non-nil.
19641 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
19643         * calendar/icalendar.el (diary-lib): Add require statement.
19644         (icalendar--create-uid): Read out a uid from a text-property on
19645         the first character in the entry.  This allows for code to add its
19646         own uid to the entry.
19647         (icalendar--convert-float-to-ical): Add export of
19648         `diary-float'-entries save for those with the optional DAY
19649         argument.
19651 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
19653         * subr.el (shell-quote-argument): Use alternate escaping strategy
19654         when we spot a variable reference in a string.
19656 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
19658         * cus-start.el (all): Define customization for debug-on-event.
19660 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
19662         * subr.el (shell-quote-argument): Escape correctly under Windows.
19664 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19666         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19668 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
19670         * net/tramp.el (tramp-process-actions): Add POS argument.
19671         Delete region between POS and (pos).
19673         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19674         Use `nil' position in `tramp-process-actions' call.
19675         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19677         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19678         position in `tramp-process-actions' call.
19680         * net/trampver.el: Update release number.
19682 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19684         * custom.el (defcustom): Obey lexical-binding.
19686         Fix octave-inf completion problems reported by Alexander Klimov.
19687         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19688         Inherit from octave-mode-syntax-table.
19689         (inferior-octave-mode): Set info-lookup-mode.
19690         (inferior-octave-completion-at-point): New function.
19691         (inferior-octave-complete): Use it and completion-in-region.
19692         (inferior-octave-dynamic-complete-functions): Use it as well, and use
19693         comint-filename-completion.
19694         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19695         symbol elements which shouldn't be word elements.
19696         (octave-font-lock-keywords, octave-beginning-of-defun)
19697         (octave-function-header-regexp): Adjust regexps accordingly.
19698         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19700 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
19702         * net/gnutls.el (gnutls-errorp): Declare before first use.
19704 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
19706         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19707         verify-error, and verify-hostname-error parameters.  Check whether
19708         default trustfile exists before going to use it.  Add missing
19709         argument to gnutls-message-maybe call.  Return value.
19710         Reported by Claudio Bley <claudio.bley@gmail.com>.
19711         (open-gnutls-stream): Add usage example.
19713         * net/network-stream.el (network-stream-open-starttls): Give host
19714         parameter to `gnutls-negotiate'.
19715         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19716         * subr.el (shell-quote-argument): Escape correctly under Windows.
19718 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
19720         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19721         Use correct match group (bug#8438).
19723 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
19725         * emacs-lisp/package.el (package-built-in-p): Fix typo.
19726         (package-menu--generate): New arg specifying packages to show.
19727         (package-menu-refresh, package-menu-execute, list-packages):
19728         Callers changed.
19729         (package-show-package-list): New function, replacing deleted
19730         package--list-packages (renamed because it is non-internal).
19732         * finder.el (finder-list-matches): Use package-show-package-list
19733         instead of deleted package--list-packages.
19735         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19736         Based on a previous implementation by Juanma Barranquero (Bug#8366).
19737         (vc-annotate-mode-map): Bind it to RET.
19739 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
19741         * progmodes/etags.el (next-file): Don't use set-buffer to change
19742         buffers (Bug#8478).
19744 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
19746         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19748         * apropos.el (apropos-label-face): Avoid variable-pitch face.
19749         (apropos-accumulator): Doc fix.
19750         (apropos-function, apropos-macro, apropos-command)
19751         (apropos-variable, apropos-face, apropos-group, apropos-widget)
19752         (apropos-plist): Add face property.
19753         (apropos-symbols-internal): Fix indentation.
19754         (apropos-print): Simplify help, and recognize apropos-multi-type.
19755         (apropos-print-doc): Use button-type-get to extract the button's
19756         face property.  Fill docstring (Bug#8352).
19758 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
19760         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19762         * play/mpuz.el (mpuz-silent): Doc fix.
19763         (mpuz-mode-map): Use mapc.
19764         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19765         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19766         Fix typos in docstrings.
19768         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19769         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19771         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19773 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
19775         * minibuffer.el (completion--do-completion): Avoid the "Next char
19776         not unique" prompt if icomplete-mode is enabled (Bug#5849).
19778         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19779         mouse-2 into unread-command-events, it is interpreted correctly.
19781         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19782         (image-toggle-display): Doc fix.
19784 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
19786         * textmodes/page.el (what-page): Use line-number-at-pos to
19787         calculate line number (Bug#6825).
19789 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
19791         * eshell/esh-mode.el (find-tag-interactive): Declare function.
19792         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19793         Pass argument NO-DEFAULT to `find-tag-interactive'.
19795 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
19797         Lexical-binding cleanup.
19799         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19800         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19801         * progmodes/ada-prj.el (ada-prj-initialize-values)
19802         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19803         (ada-prj-show-value):
19804         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19805         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19806         (antlr-invalidate-context-cache, antlr-options-menu-filter)
19807         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19808         * progmodes/bug-reference.el (bug-reference-push-button):
19809         * progmodes/fortran.el (fortran-line-length):
19810         * progmodes/glasses.el (glasses-change):
19811         * progmodes/octave-mod.el (octave-fill-paragraph):
19812         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19813         (python-pdbtrack-grub-for-buffer, python-sentinel):
19814         * progmodes/sql.el (sql-save-connection):
19815         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19816         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19817         Mark unused parameters.
19819         * progmodes/compile.el (compilation--flush-directory-cache)
19820         (compilation--flush-parse, compile-internal): Mark unused parameters.
19821         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19822         (compilation-next-error-function): Remove unused variable `timestamp'.
19824         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19825         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19827         * progmodes/dcl-mode.el (dcl-end-of-command):
19828         Remove unused variable `start'.
19829         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19830         (dcl-option-value-basic, dcl-option-value-offset)
19831         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19832         Mark unused parameters.
19833         (dcl-save-local-variable): Remove unused variable `val'.
19834         (mode): Declare.
19836         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19837         Mark unused parameters.
19838         (delphi-ignore-changes): Move before first use.
19839         (delphi-charset-token-at): Remove unused variable `start'.
19840         (delphi-else-start): Remove unused variable `if-count'.
19841         (delphi-comment-block-start, delphi-comment-block-end):
19842         Remove unused variable `kind'.
19843         (delphi-indent-line): Remove unused variable `new-point'.
19845         * progmodes/ebrowse.el (ebrowse-files-list)
19846         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19847         Mark unused parameters.  Don't quote `lambda'.
19848         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19849         Don't quote `lambda'.
19850         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19851         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19852         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19853         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19854         Use `ignore-errors'.
19855         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19856         (ebrowse-view/find-file-and-search-pattern)
19857         (ebrowse-view/find-member-declaration/definition):
19858         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19859         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19860         Rename parameter PREFIX-ARG to PREFIX.
19861         (ebrowse-tags-read-name): Remove unused variables `start' and
19862         `member-info'.
19863         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19864         to `tags-file'.
19866         * progmodes/etags.el (local-find-tag-hook): Declare.
19867         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19868         Mark unused parameters.
19870         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19871         (executable-interpret): Mark unused parameter.
19873         * progmodes/flymake.el (flymake-process-sentinel)
19874         (flymake-after-change-function)
19875         (flymake-create-temp-with-folder-structure)
19876         (flymake-get-include-dirs-dot): Mark unused parameters.
19877         (flymake-safe-delete-directory): Remove unused variable `err'.
19879         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19880         (speedbar-timer-fn, speedbar-line-text)
19881         (speedbar-change-expand-button-char, speedbar-delete-subblock)
19882         (speedbar-center-buffer-smartly): Declare functions.
19883         (gdb-find-watch-expression): Remove unused variable `array'.
19884         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19885         (gdb-starting): Mark unused parameters.
19886         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19887         (gdb-table-string): Remove unused variable `res'.
19888         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19889         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19890         (gdb-display-buffer): Remove unused variable `cur-size'.
19892         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19893         allow lexical-binding compilation.
19894         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19895         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19896         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19897         Mark unused parameters.
19898         (gud-gdb-marker-filter): Remove unused variable `match'.
19899         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19900         lambda expressions and funcall them, instead of using `fset'.
19902         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19903         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19905         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19906         variable `header-beg'; use `let'.
19908         * progmodes/icon.el (indent-icon-exp): Remove unused variables
19909         `restart', `last-sexp' and `at-do'.
19911         * progmodes/js.el (js--debug): Mark unused parameter.
19912         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19913         (js--splice-into-items): Remove unused variable `item'.
19914         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19916         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19917         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19918         (makefile-complete): Remove unused variable `try'.
19919         (makefile-fill-paragraph, makefile-match-function-end):
19920         Mark unused parameters.
19922         * progmodes/octave-inf.el (inferior-octave-complete):
19923         Remove unused variable `proc'.
19924         (inferior-octave-output-digest): Mark unused parameter.
19926         * progmodes/perl-mode.el (perl-calculate-indent):
19927         Remove unused variable `err'.
19929         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19930         (prolog-indent-line): Mark unused parameters.
19931         (prolog-indent-line): Remove unused variable `beg'.
19933         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19934         (reporter-dont-compact-list): Declare.
19936         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19937         Remove unused variable `char'.
19938         (sh-debug): Mark unused parameter.
19939         (sh-get-indent-info): Remove unused variable `start'.
19940         (sh-calculate-indent): Remove unused variable `var'.
19942         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19943         (simula-electric-keyword): Remove unused variable `null'.
19944         (simula-search-backward, simula-search-forward): Remove unused
19945         variables `begin' and `end'.
19947         * progmodes/vera-mode.el (vera-guess-basic-syntax):
19948         Remove unused variable `pos'.
19949         (vera-electric-tab, vera-comment-uncomment-region):
19950         Mark unused parameters.
19951         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19953 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
19955         * emacs-lisp/package.el (package--builtins, package-alist)
19956         (package-load-descriptor, package-built-in-p, package-activate)
19957         (define-package, package-installed-p)
19958         (package-compute-transaction, package-buffer-info)
19959         (package--push): Doc fix.  Distinguish more clearly between
19960         version strings and version lists.
19962 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
19964         Lexical-binding cleanup.
19966         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19967         (5x5-make-mutate-best):
19968         * play/fortune.el (fortune-in-buffer):
19969         * play/gomoku.el (gomoku-init-display):
19970         * play/solitaire.el (solitaire, solitaire-do-check):
19971         * play/tetris.el (tetris-default-update-speed-function):
19972         Mark unused parameters.
19974         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19975         (bubbles--shift): Remove unused variable `char-org'.
19976         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
19977         (bubbles--show-images): Remove unused variable `char'.
19979         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19980         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19981         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19982         (decipher-analyze-buffer): Use ?\s.
19983         (decipher-make-checkpoint): Remove unused variable `mapping'.
19985         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19987         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19988         Remove unused variable `result'; use `let'.
19990         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19991         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19992         (gametree-children-shown-p, gametree-compute-reduced-score):
19993         Use `ignore-errors'.
19995         * play/handwrite.el (ps-lpr-switches): Declare.
19996         (handwrite): Remove unused variables `pmin' and `lastp'.
19998         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20000         * play/landmark.el (landmark-init-display)
20001         (landmark-update-naught-weights): Mark unused parameters.
20002         (landmark-y): Remove unused variable `noise'.  Simplify.
20003         (landmark-human-plays): Remove unused variable `score'.
20005         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20006         (mpuz-try-proposal): Remove unused variable `game'.
20008         * play/zone.el (life-patterns): Declare.
20010 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
20012         * vc/vc.el (ediff-vc-internal): Declare function.
20014 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20016         * shell.el: Use lexical-binding and std completion UI.
20017         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20018         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20019         comint-preoutput-filter-functions rather than on
20020         comint-output-filter-functions.
20021         (shell-command-completion, shell--command-completion-data)
20022         (shell-filename-completion, shell-environment-variable-completion)
20023         (shell-c-a-p-replace-by-expanded-directory): New functions.
20024         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20025         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20026         (shell-dynamic-complete-environment-variable): Use them.
20027         (shell-dynamic-complete-as-environment-variable)
20028         (shell-dynamic-complete-as-command): Remove.
20029         (shell-match-partial-variable): Match past point.
20030         * comint.el: Clean up use of completion-at-point-functions.
20031         (comint-completion-at-point): New function.
20032         (comint-mode): Use it completion-at-point-functions.
20033         (comint-dynamic-complete): Make it obsolete.
20034         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20035         (comint-c-a-p-replace-by-expanded-history): New function.
20036         (comint-dynamic-complete-functions)
20037         (comint-replace-by-expanded-history): Use it.
20038         * minibuffer.el (completion-table-with-terminator): Allow dynamic
20039         termination strings.  Try harder to avoid second try-completion.
20040         (completion-in-region-mode-map): Disable bindings that don't work yet.
20042         * comint.el: Use lexical-binding.  Require CL.
20043         (comint-dynamic-complete-functions): Use comint-filename-completion.
20044         (comint-completion-addsuffix): Tweak custom type.
20045         (comint-filename-completion, comint--common-suffix)
20046         (comint--common-quoted-suffix, comint--table-subvert)
20047         (comint--complete-file-name-data): New functions.
20048         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20049         (comint-dynamic-list-filename-completions): Use them.
20050         (comint-dynamic-simple-complete): Make obsolete.
20052         * minibuffer.el (completion-in-region-mode):
20053         Keep completion-in-region-mode--predicate global.
20054         (completion-in-region--postch):
20055         Assume completion-in-region-mode--predicate is not null.
20057         * progmodes/flymake.el (flymake-start-syntax-check-process):
20058         Obey `dir'.  Simplify.
20060         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20061         we're in VC after all.
20063 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
20065         * vc/vc.el (vc-diff-build-argument-list-internal)
20066         (vc-version-ediff, vc-ediff): New commands.
20067         (vc-version-diff): Use vc-diff-build-argument-list-internal.
20069 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20071         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20072         add sanity check.
20074         * obsolete/erc-hecomplete.el: Make obsolete.
20075         * obsolete/: Standardize obsolescence info in the header.
20077 2011-04-20  Glenn Morris  <rgm@gnu.org>
20079         * calendar/solar.el (solar-horizontal-coordinates):
20080         Use the longitude argument rather than `calendar-longitude'.
20081         (solar-date-next-longitude): Remove unused locals.
20083 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
20085         * whitespace.el: New version 13.2.1.
20087 2011-04-20  felix  <EmacsWiki>  (tiny change)
20089         * whitespace.el (global-whitespace-mode): Keep highlight when
20090         switching between major modes on a file.
20092 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20094         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20095         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20096         multi-line comments as well.
20098 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
20100         Lexical-binding cleanup.
20102         * arc-mode.el (archive-mode-revert):
20103         * cmuscheme.el (scheme-interactively-start-process):
20104         * custom.el (custom-initialize-delay):
20105         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20106         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20107         * emacs-lock.el (emacs-lock-clear-sentinel):
20108         * ezimage.el (defezimage):
20109         * follow.el (follow-avoid-tail-recenter):
20110         * fringe.el (set-fringe-mode-1):
20111         * generic-x.el (bat-generic-mode-compile):
20112         * help-mode.el (help-info-variable, help-do-xref)
20113         (help-mode-revert-buffer):
20114         * help.el (view-emacs-todo):
20115         * iswitchb.el (iswitchb-completion-help):
20116         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20117         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20118         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20119         * locate.el (locate-update):
20120         * longlines.el (longlines-encode-region)
20121         (longlines-after-change-function):
20122         * outline.el (outline-isearch-open-invisible):
20123         * ps-def.el (declare-function, charset-dimension, char-width)
20124         (encode-char):
20125         * ps-mule.el (ps-mule-plot-string):
20126         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20127         (recentf-edit-list-select, recentf-edit-list-validate)
20128         (recentf-open-files-action):
20129         * rect.el (delete-whitespace-rectangle-line)
20130         (rectangle-number-line-callback):
20131         * register.el (window-configuration-to-register)
20132         (frame-configuration-to-register):
20133         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20134         * select.el (xselect-convert-to-string, xselect-convert-to-length)
20135         (xselect-convert-to-targets, xselect-convert-to-delete)
20136         (xselect-convert-to-filename, xselect-convert-to-charpos)
20137         (xselect-convert-to-lineno, xselect-convert-to-colno)
20138         (xselect-convert-to-os, xselect-convert-to-host)
20139         (xselect-convert-to-user, xselect-convert-to-class)
20140         (xselect-convert-to-name, xselect-convert-to-integer)
20141         (xselect-convert-to-atom, xselect-convert-to-identity):
20142         * subr.el (declare, ignore, process-kill-without-query)
20143         (text-clone-maintain):
20144         * terminal.el (te-get-char, te-tic-sentinel):
20145         * tool-bar.el (tool-bar-make-keymap):
20146         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20147         * type-break.el (type-break-mode, type-break-noninteractive-query):
20148         * view.el (View-back-to-mark):
20149         * wid-browse.el (widget-browse-action, widget-browse-widget)
20150         (widget-browse-widgets, widget-browse-sexp):
20151         * widget.el (define-widget-keywords):
20152         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20153         Mark unused parameters.
20155         * align.el (align-adjust-col-for-rule): Mark unused parameter.
20156         (align-areas): Remove unused variable `look'.
20157         (align-region): Remove unused variables `real-end' and `pos-list'.
20159         * apropos.el (apropos-score-doc): Remove unused variable `i'.
20161         * bindings.el (mode-line-modified, mode-line-remote):
20162         Mark unused parameters.
20163         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20165         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20166         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20168         * comint.el (comint-history-isearch-pop-state)
20169         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20170         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20171         (comint-substitute-in-file-name): Doc fix.
20173         * completion.el (cmpl-statistics-block): Mark unused parameter.
20174         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20175         (save-completions-to-file, load-completions-from-file):
20176         Remove unused local variable `e'.
20178         * composite.el (compose-chars): Remove unused variable `len'.
20179         (lgstring-insert-glyph): Remove unused variable `g'.
20180         (compose-glyph-string): Remove unused variables `ascent',
20181         `descent', `lbearing' and `rbearing'.
20182         (compose-glyph-string-relative): Remove unused variables
20183         `lbearing', `rbearing' and `wadjust'.
20184         (compose-gstring-for-graphic): Remove unused variables `header',
20185         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
20186         (compose-gstring-for-terminal): Remove unused variables `header'
20187         and `nchars'.  Use `let', not `let*'.
20189         * cus-edit.el (Custom-set, Custom-save, custom-reset)
20190         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20191         (Custom-buffer-done, custom-buffer-create-internal)
20192         (custom-browse-visibility-action, custom-browse-group-tag-action)
20193         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20194         (widget-magic-mouse-down-action, custom-toggle-parent)
20195         (custom-add-parent-links, custom-toggle-hide-variable)
20196         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20197         (custom-toggle-hide-face, face, hook, custom-group-link-action)
20198         (custom-face-menu-create, custom-variable-menu-create, get)
20199         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20200         (custom-reset-standard-save-and-update): Remove unused variable `value'.
20201         (customize-apropos): Remove unused variable `tests'.
20202         (custom-group-value-create): Remove unused variable `hidden-p'.
20203         (sort-fold-case): Declare.
20205         * cus-theme.el (custom-reset-standard-faces-list)
20206         (custom-reset-standard-variables-list): Declare.
20207         (customize-create-theme, custom-theme-revert, custom-theme-write)
20208         (custom-theme-choose-mode, customize-themes, custom-theme-save):
20209         Mark unused parameters.
20211         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20213         * delim-col.el (delimit-columns-max): Move defvar before first use.
20215         * descr-text.el (describe-char-categories): Don't quote `lambda'.
20216         (describe-char): Don't quote `lambda'.  Mark unused parameter.
20218         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20219         (auto-insert): Declare.
20220         (desktop-restore-file-buffer): Rename desktop-* parameters;
20221         mark unused ones.
20222         (desktop-create-buffer): Rename desktop-* parameters and bind them.
20223         (desktop-buffer): Rename desktop-* parameters.
20225         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20226         (dframe-reposition-frame-xemacs, dframe-help-echo)
20227         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20228         Mark unused parameters.
20230         * dired-aux.el (backup-extract-version-start, overwrite-query)
20231         (overwrite-backup-query, rename-regexp-query)
20232         (rename-non-directory-query): Declare.
20233         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20234         (dired-add-entry): Remove unused variable `orig-file-name'.
20235         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20236         Use parameter PRESERVE-TIME instead of accessing dynamic variable
20237         `dired-copy-preserve-time' directly.
20238         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20239         (dired-insert-subdir-newpos): Rename unused variable `pos'.
20241         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20242         (dired-virtual-revert, dired-make-relative-symlink):
20243         Mark unused parameters.
20244         (manual-program): Declare.
20245         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20246         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20247         wrapped in `with-no-warnings' to avoid replacing one warning by another.
20249         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20251         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20253         * echistory.el (electric-history-in-progress, Helper-return-blurb):
20254         Declare.
20256         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20258         * electric.el (Electric-command-loop): Rename parameter
20259         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20261         * expand.el (expand-in-literal): Remove unused variable `here'.
20263         * facemenu.el (facemenu-add-new-color):
20264         Remove unused variable `docstring'.
20266         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20267         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20268         (face-attr-construct): Mark unused parameter.  Doc fix.
20269         (read-color): Remove unused variable `hex-string'.
20271         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20272         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20273         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20274         (display-buffer-other-frame): Remove unused variable `old-window'.
20275         (kill-buffer-hook): Declare.
20276         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20277         Mark unused parameters.
20278         (after-find-file): Pass 1 to `auto-save-mode', not t.
20280         * files-x.el (auto-insert): Declare.
20281         (modify-file-local-variable-prop-line): Remove unused variable `val'.
20283         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20284         variable `buf'.  Mark unused parameter.
20285         (find-lisp-insert-directory): Mark unused parameter.
20287         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20288         (format-encode-region): Remove unused variables `cur-buf' and `result'.
20289         (format-common-tail): Remove, unused.
20290         (format-deannotate-region): Remove unused variable `loc'.
20291         (format-annotate-region): Remove unused variable `p'.
20292         (format-annotate-single-property-change): Remove unused variables
20293         `default' and `tail'.
20295         * forms.el (read-file-filter): Declare.
20296         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20298         * frame.el (frame-creation-function-alist): Mark unused parameter.
20299         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20301         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20302         Remove unused parameters.
20303         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20304         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20306         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20307         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20308         (hfy-prepare-tag-map): Mark unused parameters.
20309         (htmlfontify-buffer): Use `called-interactively-p'.
20311         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20312         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20313         (ibuffer-do-occur): Mark unused parameters.
20314         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20315         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20317         * ibuffer.el: Don't quote `lambda'.
20318         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20319         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20320         Mark unused parameters.
20322         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20323         (ido-completing-read): Mark unused parameters.
20324         (ido-copy-current-word): Mark unused parameters;
20325         remove unused variable `name'.
20326         (ido-sort-merged-list): Remove unused parameter `dirs'.
20328         * ielm.el (ielm-input-sender): Mark unused parameter.
20329         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20330         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20331         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20332         `ielm-string' as a dynamic variable accessible from the IELM prompt.
20333         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
20335         * image-dired.el (image-dired-display-thumbs): Remove unused
20336         variables `curr-file' and `count'.
20337         (image-dired-remove-tag): Remove unused variable `start'.
20338         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20339         variable `curr-file'
20340         (image-dired-rotate-original): Remove unused variable `temp-file'.
20341         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20342         Remove unused variable `file'.
20343         (image-dired-gallery-generate): Remove unused variable `curr'.
20344         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20346         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20348         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20350         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20352         * isearch.el (minibuffer-history-symbol): Declare.
20353         (isearch-edit-string): Remove unused variable `err'.
20354         (isearch-message-prefix, isearch-message-suffix):
20355         Mark unused parameters.
20357         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20359         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20361         * makesum.el (double-column): Remove unused variable `cnt'.
20363         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20364         (ido-ignore-item-temp-list): Declare.
20366         * mouse-drag.el (mouse-drag-throw): Remove unused variables
20367         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20368         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20369         (mouse-drag-drag): Remove unused variables `mouse-delta' and
20370         `mouse-col-delta'.
20372         * mouse-sel.el (mouse-extend-internal):
20373         Remove unused variable `orig-window-frame'.
20375         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20376         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20377         Move declarations before first use.
20378         (pcomplete-opt): Mark unused parameters; doc fix.
20380         * proced.el (proced-revert): Mark unused parameter.
20381         (proced-send-signal): Remove unused variable `err'.
20383         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20384         Rename parameter PREFIX-ARG to ARG.
20385         (ps-basic-plot-string, ps-basic-plot-whitespace):
20386         Mark unused parameters.
20388         * replace.el (replace-count): Define.
20389         (occur-revert-function): Mark unused parameters.
20390         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20391         (isearch-case-fold-search, isearch-string): Declare.
20392         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20393         bind `case-fold-search'.  Remove unused variables `beg' and `end',
20394         and simplify.
20395         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20396         COUNT and bind `replace-count'.
20397         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20398         to COUNT.
20400         * savehist.el (print-readably, print-string-length): Declare.
20402         * shadowfile.el (shadow-expand-cluster-in-file-name):
20403         Remove unused variable `cluster'.
20404         (shadow-copy-file): Remove unused variable `i'.
20405         (shadow-noquery, shadow-clusters, shadow-site-cluster)
20406         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20407         (shadow-define-literal-group, shadow-define-regexp-group)
20408         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20410         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20411         (shell): Use `called-interactively-p'.
20412         (shell-directory-tracker): Remove unused variable `chdir-failure'.
20414         * simple.el (compilation-context-lines, comint-file-name-quote-list)
20415         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20416         (delete-backward-char): Remove unused variable `ocol'.
20417         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20418         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20419         (event-apply-hyper-modifier, event-apply-shift-modifier)
20420         (event-apply-control-modifier, event-apply-meta-modifier):
20421         Mark unused parameters.
20422         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20423         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20425         * speedbar.el (speedbar-ignored-directory-expressions)
20426         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20427         (speedbar-find-file, speedbar-dir-follow)
20428         (speedbar-directory-buttons-follow, speedbar-tag-find)
20429         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20430         (speedbar-buffers-line-directory, speedbar-buffer-click):
20431         Mark unused parameters.
20432         (speedbar-tag-file): Remove unused variable `mode'.
20433         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20435         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20437         * talk.el (talk): Remove unused variable `display'.
20439         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20440         (tar-write-region-annotate): Mark unused parameter.
20442         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20443         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20444         Declare them, wrapped in `with-no-warnings' to avoid replacing one
20445         warning by another.
20447         * time-stamp.el (time-stamp-string-preprocess):
20448         Remove unused variable `require-padding'.
20450         * tree-widget.el (widget-glyph-enable): Declare.
20451         (tree-widget-action): Mark unused parameter.
20453         * w32-fns.el (x-get-selection): Mark unused parameter.
20454         (autoload-make-program, generated-autoload-file): Declare.
20456         * wdired.el (wdired-revert): Mark unused parameters.
20457         (wdired-xcase-word): Remove unused variable `err'.
20459         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20460         (whitespace-help-scroll): Remove unused variable `data-help'.
20462         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20463         (widget-image-insert, widget-after-change, default)
20464         (widget-default-format-handler, widget-default-notify)
20465         (widget-default-prompt-value, widget-info-link-action)
20466         (widget-url-link-action, widget-function-link-action)
20467         (widget-variable-link-action, widget-file-link-action)
20468         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20469         (widget-field-prompt-internal, widget-field-action, widget-field-match)
20470         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20471         (widget-insert-button-action, widget-delete-button-action, visibility)
20472         (widget-documentation-link-action, widget-documentation-string-action)
20473         (widget-const-prompt-value, widget-regexp-match, symbol)
20474         (widget-coding-system-prompt-value)
20475         (widget-key-sequence-value-to-external, sexp)
20476         (widget-sexp-value-to-internal, character, vector, cons)
20477         (widget-choice-prompt-value, widget-boolean-prompt-value)
20478         (widget-color--choose-action): Mark unused parameters.
20479         (widget-item-match-inline, widget-choice-match-inline)
20480         (widget-checklist-match, widget-checklist-match-inline)
20481         (widget-group-match): Rename parameter VALUES to VALS.
20482         (widget-field-value-set): Remove unused variable `size'.
20483         (widget-color-action): Remove unused variables `value' and `start'.
20485         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20486         variable `dir'.  Doc fix.
20487         (windmove-find-other-window): Don't pass it.
20489         * window.el (count-windows): Mark unused parameter.
20490         (bw-adjust-window): Remove unused variable `err'.
20492         * woman.el (woman-file-name): Remove unused variable `default'.
20493         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20494         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20495         (global-font-lock-mode): Declare.
20496         (woman-decode-region): Mark unused parameter.
20497         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20499         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20500         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20501         (x-dnd-handle-moz-url): Remove unused variable `title'.
20502         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20504         * xml.el (xml-parse-tag, xml-parse-attlist):
20505         Remove unused variable `pos'.
20507 2011-04-19  Glenn Morris  <rgm@gnu.org>
20509         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20510         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20511         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20512         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20513         * calendar/cal-html.el (cal-html-insert-minical):
20514         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20515         (calendar-mark-date-pattern):
20516         Prefix "unused" locals.
20518         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20519         optional argument `style'.
20521         * calendar/appt.el (appt-make-list):
20522         * calendar/cal-china.el (calendar-chinese-date-string):
20523         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20524         (diary-hebrew-yahrzeit):
20525         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20526         * calendar/calendar.el (calendar-generate-window):
20527         * calendar/time-date.el (time-to-days):
20528         Remove unused local variables.
20530 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
20532         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20533         glyphless-char-display table.
20534         (tabulated-list-glyphless-char-display): New var.
20536 2011-04-18  Sam Steingold  <sds@gnu.org>
20538         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20539         to acknowledgments.
20541 2011-04-17  Glenn Morris  <rgm@gnu.org>
20543         * calendar/diary-lib.el (diary-sexp-entry):
20544         * calendar/holidays.el (holiday-sexp):
20545         Set debug-on-error rather than the removed stack-trace-on-error.
20547 2011-04-16  Glenn Morris  <rgm@gnu.org>
20549         * progmodes/f90.el: Use lexical-binding.
20550         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20552 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20554         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20555         (mail-mode): Setup mailalias completion here instead.
20556         * mail/mailalias.el: Use lexical-binding.
20557         (pattern, mailalias-done): Declare dynamic.
20558         (mail-completion-at-point-function): New function, from mail-complete.
20559         (mail-complete): Use it.
20560         (mail-completion-expand): New function.
20561         (mail-get-names): Use it.
20562         (mail-directory, mail-directory-process, mail-directory-stream):
20563         Don't use `pattern' for lexically bound arg.
20565         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20567         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20568         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20569         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20571         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20572         (byte-save-window-excursion, byte-temp-output-buffer-setup)
20573         (byte-interactive-p): Define them again, for use when inlining
20574         old code.
20576 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
20578         * loadup.el: Use `string-to-number', not `string-to-int'.
20580 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20582         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20583         gud-gdb-complete-command.
20584         (gud-gdb-completions): New function, from gud-gdb-complete-command.
20585         (gud-gdb-completion-at-point): New function.
20586         (gud-gdb-completions): Remove.
20588 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
20590         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20591         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
20592         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20593         whether `executable-find' is bound.
20595         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20597 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20599         * minibuffer.el (completion-in-region-mode-predicate)
20600         (completion-in-region-mode--predicate): New vars.
20601         (completion-in-region, completion-in-region--postch)
20602         (completion-in-region-mode): Use them.
20603         (completion--capf-wrapper): Also return the hook function.
20604         (completion-at-point, completion-help-at-point):
20605         Adjust and provide a predicate.
20607         Preserve arg names for advice of subr and lexical functions (bug#8457).
20608         * help-fns.el (help-function-arglist): Consolidate the subr and
20609         new-byte-code cases.  Add argument `preserve-names' to extract names
20610         from the docstring when needed.
20611         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20612         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20613         (ad-arglist): Use help-function-arglist's new arg.
20614         (ad-definition-type): Use cond.
20616 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
20618         * autorevert.el (auto-revert-handler):
20619         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20620         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20621         Don't quote lambda.
20623         * image-mode.el (image-transform-set-scale):
20624         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20626 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20628         * net/network-stream.el (network-stream-open-starttls): Only do
20629         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20630         Upgrades via gnutls-cli are too slow to be done opportunistically.
20632 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
20634         * dframe.el (dframe-current-frame): Remove spurious quote.
20636 2011-04-12  Glenn Morris  <rgm@gnu.org>
20638         * calendar/cal-tex.el (cal-tex-end-document):
20639         Try to automatically use latin1 input if needed.
20641         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20642         Don't try to cons a mark onto an empty element.
20644 2011-04-11  Leo Liu  <sdl.web@gmail.com>
20646         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20647         buffers.
20648         (ido-kill-buffer-at-head): Support killing virtual buffers.
20650 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
20652         * minibuffer.el (completion-show-inline-help): New var.
20653         (completion--do-completion, minibuffer-complete)
20654         (minibuffer-force-complete, minibuffer-complete-word):
20655         Inhibit minibuffer messages if completion-show-inline-help is nil.
20657         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20658         to avoid interference from inline help (Bug#5849).
20660 2011-04-10  Leo Liu  <sdl.web@gmail.com>
20662         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20663         Fix typo.
20665 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
20667         * image-mode.el (image-toggle-display-image): Signal an error if
20668         not in Image mode.
20669         (image-transform-mode, image-transform-resize)
20670         (image-transform-set-rotation): Doc fix.
20671         (image-transform-set-resize): Delete.
20672         (image-transform-set-scale, image-transform-fit-to-height)
20673         (image-transform-fit-to-width): Handle image-toggle-display-image
20674         and image-transform-resize directly.
20676 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
20678         * doc-view.el (doc-view-fit-width-to-window)
20679         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20680         New functions for fitting the shown image to the Emacs window size.
20681         (doc-view-mode-map): Add bindings for the new functions.
20683 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
20685         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20686         Fix typo in docstring.
20688 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
20690         * files.el (file-size-human-readable): Produce one digit after
20691         decimal, like "ls -lh" does.
20693         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20694         the file size representation.
20696         * simple.el (list-processes): If async subprocesses are not
20697         available, error out with a clear error message.
20699 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
20701         * help.el (help-form-show): New function, to be called from C.
20702         Put help-form output in a buffer named differently than *Help*.
20704 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
20706         * files.el (file-size-human-readable): New function.
20708         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20709         computing the representation inline.  Don't require `cl'.
20711 2011-04-08  Glenn Morris  <rgm@gnu.org>
20713         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20715         * net/browse-url.el (browse-url-firefox):
20716         Test system-type, not system-configuration.
20718         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20719         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20720         Use log-edit-empty-buffer-p.  (Bug#7598)
20722         * net/rlogin.el (rlogin-process-connection-type): Simplify.
20723         (rlogin-mode-map): Initialize in the defvar.
20724         (rlogin): Use ignore-errors.
20726         * replace.el (occur-mode-map): Some fixes for menu items.
20728 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
20730         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
20732 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
20734         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20735         issuing unused warnings.
20737         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20738         macro directly.
20740         * simple.el: Lisp reimplement of list-processes.  Based on an
20741         earlier reimplementation by Leo Liu, but using tabulated-list.el.
20742         (process-menu-mode): New major mode.
20743         (list-processes--refresh, list-processes):
20744         (process-menu-visit-buffer): New functions.
20746         * files.el (save-buffers-kill-emacs): Don't assume any return
20747         value of list-processes, which is undocumented anyway.
20749 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
20751         * emacs-lisp/tabulated-list.el: New file.
20753         * emacs-lisp/package.el: Use Tabulated List mode.
20754         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20755         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
20756         table format using Tabulated List mode variables.
20757         (package--push): New macro, replacing package-list-maybe-add.
20758         (package-menu--generate): Use package--push.  Renamed from
20759         package--generate-package-list.
20760         (package-menu-refresh, list-packages): Use it.
20761         (package-menu--print-info): Rename from package-print-package.
20762         Return insertion data instead of inserting it directly.
20763         (package-menu-describe-package, package-menu-execute):
20764         Use tabulated-list-get-id.
20765         (package-menu-mark-delete, package-menu-mark-install)
20766         (package-menu-mark-unmark, package-menu-backup-unmark)
20767         (package-menu-mark-obsolete-for-deletion):
20768         Use tabulated-list-put-tag.
20769         (package--list-packages, package-menu-revert)
20770         (package-menu-get-package, package-menu-get-version)
20771         (package-menu-sort-by-column): Functions deleted.
20772         (package-menu-package-list, package-menu-sort-key): Vars deleted.
20773         (package-menu--status-predicate, package-menu--version-predicate)
20774         (package-menu--name-predicate)
20775         (package-menu--description-predicate): Handle arguments in the
20776         Tabulated List format.
20777         (package-list-packages-no-fetch): Call list-packages.
20779 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
20781         * files.el (after-find-file-from-revert-buffer): Remove variable.
20782         (after-find-file): Don't bind it.
20783         (revert-buffer-in-progress-p): New variable.
20784         (revert-buffer): Bind it.
20785         Pass nil for `after-find-file-from-revert-buffer'.
20787         * saveplace.el (save-place-find-file-hook): Use new variable
20788         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20790 2011-04-06  Glenn Morris  <rgm@gnu.org>
20792         * Makefile.in (AUTOGEN_VCS): New variable.
20793         (autoloads): Use $AUTOGEN_VCS.
20795         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20796         * calendar/calendar.el (calendar-mode-map):
20797         Check for toolkit scroll bars.  (Bug#8305)
20799 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
20801         * minibuffer.el (completion-in-region--postch)
20802         (completion-in-region-mode): Remove unnecessary messages.
20804 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
20806         * font-lock.el (font-lock-refresh-defaults):
20807         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20808         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20810         * info.el (Info-directory-list, Info-read-node-name-2)
20811         (Info-split-parameter-string): Doc fixes.
20812         (Info-virtual-nodes): Reflow docstring.
20813         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20814         (Info-apropos-toc-nodes, info-finder, Info-get-token)
20815         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20816         Fix typos in docstrings.
20817         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20818         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20819         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20820         (Info-restore-desktop-buffer): Mark unused parameters.
20821         (Info-directory-find-file, Info-directory-find-node)
20822         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20823         (Info-virtual-index-find-node, Info-apropos-find-file)
20824         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20825         Mark unused parameters; fix typos in docstrings.
20826         (Info-virtual-index): Remove unused local variable `nodename'.
20828 2011-04-05  Deniz Dogan  <deniz@dogan.se>
20830         * net/rcirc.el: Update my e-mail address.
20831         (rcirc-mode-map): Remove M-o binding.
20833 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
20835         * startup.el (command-line): Save the cursor's theme-face
20836         directly, instead of using face-override-spec.
20838         * custom.el (load-theme): Minor optimization in assigning faces.
20840 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
20842         * help-fns.el (describe-variable): Complete all variables having
20843         documentation, including keywords.
20844         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20846 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
20848         Convert to lexical-binding.
20850         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20851         (bs--get-marked-string, bs--get-modified-string)
20852         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20853         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20854         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20856         * ehelp.el (electric-help-execute-extended)
20857         (electric-help-ctrl-x-prefix):
20858         * hexl.el (hexl-revert-buffer-function):
20859         * linum.el (linum-after-change, linum-after-scroll):
20860         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20862         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20864 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
20866         * epa-dired.el:
20867         * epa-mail.el:
20868         * epa-hook.el:
20869         * epa-file.el:
20870         * epa.el:
20871         * epg.el: Use lexical binding.
20873 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
20875         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20877         * textmodes/flyspell.el (flyspell-word): Recognize default
20878         dictionary case for flyspell-mark-duplications-exceptions.
20879         Use regexp matching for languages.
20880         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20881         default dictionary (Bug#7926).
20883 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
20885         * emacs-lisp/package.el (package--with-work-buffer):
20886         Recognize https URLs.
20888         * net/network-stream.el: Move from gnus/proto-stream.el.
20889         Change prefix to network-stream throughout.
20890         (open-protocol-stream): Merge into open-network-stream, leaving
20891         open-protocol-stream as an alias.  Handle nil BUFFER args.
20893         * subr.el (open-network-stream): Move to net/network-stream.el.
20895 2011-04-02  Glenn Morris  <rgm@gnu.org>
20897         * find-dired.el (find-exec-terminator): New option.
20898         (find-ls-option): Test for -ls support.
20899         (find-ls-subdir-switches): Test for -b in find-ls-option.
20900         (find-dired, find-grep-dired): Doc fixes.
20901         (find-dired): Use find-exec-terminator.
20903         * find-dired.el (find-ls-option, find-ls-subdir-switches)
20904         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20905         (find-name-arg): Remove purecopy.
20907         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20908         (grep-compute-defaults): Check for `-exec COMMAND +' support.
20909         Set grep-find-use-xargs, grep-find-command, and grep-find-template
20910         accordingly.  Don't add the null-device if not needed.
20912         * files.el (save-some-buffers): Doc fix.
20914 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
20916         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20918 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
20920         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20921         Use `dolist' rather than `mapcar'.
20923 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20925         Add lexical binding.
20927         * subr.el (apply-partially): Use new closures rather than CL.
20928         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20929         (dolist, dotimes): Use slightly different expansion for lexical code.
20930         (functionp): Move to C.
20931         (letrec): New macro.
20932         (with-wrapper-hook): Use it and apply-partially instead of CL.
20933         (eval-after-load): Preserve lexical-binding.
20934         (save-window-excursion, with-output-to-temp-buffer): Turn them
20935         into macros.
20937         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20939         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20940         than the arglist.
20941         (help-add-fundoc-usage): Don't add `Not documented'.
20942         (help-function-arglist): Handle closures, subroutines, and new
20943         byte-code-functions.
20944         (help-make-usage): Remove leading underscores.
20945         (describe-function-1): Handle closures.
20946         (describe-variable): Use special-variable-p for completion.
20948         * files.el (lexical-binding): Declare safe.
20950         * emacs-lisp/pcase.el: Don't use destructuring-bind.
20951         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
20952         (pcase): Add `let' pattern.
20953         Change memoization so it actually works.
20954         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20955         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20956         <let>: New case.
20958         * emacs-lisp/macroexp.el: Use lexical binding.
20959         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
20960         Don't convert ' to #' without checking that it's indeed quoting
20961         a lambda.
20963         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20964         Use eval-sexp-add-defvars.
20965         (eval-sexp-add-defvars): New fun.
20967         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20969         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20970         Don't autoload.
20971         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20972         than the internal `byte-compile-lambda'.
20973         (defmethod): Don't hide code under quotes.
20974         (eieio-defmethod): New `code' argument.
20976         * emacs-lisp/eieio-comp.el: Remove.
20978         * emacs-lisp/edebug.el (edebug-eval-defun)
20979         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20980         (edebug-toggle): Avoid `eval'.
20982         * emacs-lisp/disass.el (disassemble-internal): Handle new
20983         `closure' objects.
20984         (disassemble-1): Handle new byte codes.
20986         * emacs-lisp/cl.el (pushnew): Silence warning.
20988         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20989         (cl-byte-compile-throw): Remove.
20990         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20992         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20993         closures.
20995         * emacs-lisp/cconv.el: New file.
20997         * emacs-lisp/bytecomp.el: Use lexical binding instead of
20998         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
20999         (byte-compile-initial-macro-environment):
21000         Handle declare-function here.
21001         (byte-compile--lexical-environment): New var.
21002         (byte-stack-ref, byte-stack-set, byte-discardN)
21003         (byte-discardN-preserve-tos): New lap codes.
21004         (byte-interactive-p): Don't use any more.
21005         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21006         New macros.
21007         (byte-compile-lapcode): Use them and handle new lap codes.
21008         (byte-compile-obsolete): Remove.
21009         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21010         (byte-compile-arglist-warn): Check late def of inlinable funs.
21011         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21012         since they should have been expanded by now.
21013         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21014         (byte-compile-from-buffer): Remove unused second arg.
21015         (byte-compile-preprocess): New function.
21016         (byte-compile-toplevel-file-form): New function to distinguish
21017         file-form calls from outside from file-form calls from hunk-handlers.
21018         (byte-compile-file-form): Simplify.
21019         (byte-compile-file-form-defsubst): Remove.
21020         (byte-compile-file-form-defmumble): Simplify now that
21021         byte-compile-lambda always returns a byte-code-function.
21022         (byte-compile): Preprocess.
21023         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21024         Remove, not used any more.
21025         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21026         (byte-compile-make-args-desc): New funs.
21027         (byte-compile-lambda): Handle lexical functions.  Always return
21028         a byte-code-function.
21029         (byte-compile-reserved-constants): New var, to make up room for
21030         closed-over variables.
21031         (byte-compile-constants-vector): Obey it.
21032         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21033         (byte-compile-macroexpand-declare-function): New function.
21034         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21035         byte-code-functions.
21036         (byte-compile-form): Check obsolescence here.
21037         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21038         (byte-compile-variable-ref): Remove.
21039         (byte-compile-dynamic-variable-op): New fun.
21040         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21041         (byte-compile-variable-set): New funs.
21042         (byte-compile-discard): Add 2 args.
21043         (byte-compile-stack-ref, byte-compile-stack-set)
21044         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21045         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21046         macroexpand-all instead.
21047         (byte-compile-quote-form): Remove.
21048         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21049         (byte-compile-bind, byte-compile-unbind): New funs.
21050         (byte-compile-let): Handle let* and lexical binding.
21051         (byte-compile-let*): Remove.
21052         (byte-compile-catch, byte-compile-unwind-protect)
21053         (byte-compile-track-mouse, byte-compile-condition-case):
21054         Handle a new :fun-body form, used for lexical scoping.
21055         (byte-compile-save-window-excursion)
21056         (byte-compile-with-output-to-temp-buffer): Remove.
21057         (byte-compile-defun): Simplify.
21058         (byte-compile-stack-adjustment): New fun.
21059         (byte-compile-out): Use it.
21060         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21062         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21063         handler any more.
21065         * emacs-lisp/byte-opt.el: Use lexical binding.
21066         (byte-inline-lapcode): Remove (to bytecomp).
21067         (byte-compile-inline-expand): Pay attention to inlining to/from
21068         lexically bound code.
21069         (byte-compile-unfold-lambda): Don't handle byte-code-functions
21070         any more.
21071         (byte-optimize-form-code-walker): Don't handle save-window-excursion
21072         any more and don't call compiler-macros.
21073         (byte-compile-splice-in-already-compiled-code): Remove.
21074         (byte-code): Don't inline any more.
21075         (disassemble-offset): Receive `bytes' as argument rather than via
21076         dynamic scoping.
21077         (byte-compile-tag-number): Declare before first use.
21078         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21079         `return' even if make-spliceable.
21080         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21081         obsolete interactive-p.
21082         (byte-optimize-lapcode): Optimize new lap-codes.
21083         Don't trip up on new form of `byte-constant' lap code.
21085         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21087         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21089         * custom.el (custom-initialize-default, custom-declare-variable):
21090         Use `defvar'.
21092         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21093         New variables.
21094         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21095         (COMPILE_FIRST): Add macroexp and cconv.
21096         * makefile.w32-in: Mirror changes in Makefile.in.
21098         * vc/cvs-status.el:
21099         * vc/diff-mode.el:
21100         * vc/log-edit.el:
21101         * vc/log-view.el:
21102         * vc/smerge-mode.el:
21103         * textmodes/bibtex-style.el:
21104         * textmodes/css-mode.el:
21105         * startup.el:
21106         * uniquify.el:
21107         * minibuffer.el:
21108         * newcomment.el:
21109         * reveal.el:
21110         * server.el:
21111         * mpc.el:
21112         * emacs-lisp/smie.el:
21113         * doc-view.el:
21114         * dired.el:
21115         * abbrev.el: Use lexical binding.
21117 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
21119         * info.el (info-display-manual): New function.
21121 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21123         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21125 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
21127         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21128         an entry for that server in rcirc-authinfo.  (Bug#8385)
21130 2011-03-31  Glenn Morris  <rgm@gnu.org>
21132         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21134         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21136 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
21138         * progmodes/python.el (python-default-interpreter)
21139         (python-python-command-args, python-jython-command-args)
21140         (python-which-shell, python-which-args, python-which-bufname)
21141         (python-file-queue, python-comint-output-filter-function)
21142         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21143         variables and functions.
21145 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21147         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21148         (completion-in-region-mode): New minor mode.
21149         (completion-in-region): Use it.
21150         (completion-in-region--data, completion-in-region-mode-map): New vars.
21151         (completion-in-region--postch): New function.
21152         (completion--capf-misbehave-funs, completion--capf-safe-funs):
21153         New vars.
21154         (completion--capf-wrapper): New function.
21155         (completion-at-point): Use it to track well-behavedness of
21156         hook functions.
21157         (completion-help-at-point): New command.
21159 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
21161         * vc/add-log.el (add-change-log-entry): Don't use whitespace
21162         syntax class to search for whitespace on a single line
21163         (Message-ID: <4D938140.4030905@redhat.com>).
21165 2011-03-30  Leo Liu  <sdl.web@gmail.com>
21167         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21168         New commands.
21169         (edit-abbrevs-map): Bind them here.
21170         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
21172 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
21174         * allout.el (allout-hide-by-annotation, allout-flag-region):
21175         Reduce possibility of overlay leakage by making them volatile.
21177         * allout-widgets.el (allout-widgets-tally): Define as nil so the
21178         hash is not shared between buffers.  Mode initialization is
21179         responsible for giving it a useful starting value.
21180         (allout-item-span): Reduce possibility of overlay leakage by
21181         making them volatile.
21182         (allout-widgets-count-buttons-in-region): Add diagnostic function
21183         for tracking down button overlay leaks.
21185 2011-03-29  Leo Liu  <sdl.web@gmail.com>
21187         * ido.el (ido-read-internal): Use the default history var
21188         minibuffer-history if no HISTORY is specified.
21190 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
21192         * net/imap.el (imap-shell-open, imap-process-connection-type):
21193         Use imap-process-connection-type for 'shell' streams as well as
21194         Kerberos, SSL, other subprocesses.
21196 2011-03-28  Leo Liu  <sdl.web@gmail.com>
21198         * abbrev.el (abbrev-table-empty-p): New function.
21199         (prepare-abbrev-list-buffer): Place empty abbrev tables after
21200         nonempty ones.  (Bug#5937)
21202 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
21204         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21206 2011-03-27  Leo Liu  <sdl.web@gmail.com>
21208         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21209         for foreground and background colors.
21210         (ansi-color-make-color-map): Adapt.
21212 2011-03-25  Leo Liu  <sdl.web@gmail.com>
21214         * midnight.el (midnight-time-float): Remove.  Note it calculates
21215         the microsecond component incorrectly and seconds-to-time does the
21216         same job.
21217         Remove redundant (require 'timer).
21219         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21220         (ido-completions): Remove unused arguments.  (Bug#8329)
21222 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21224         * minibuffer.el (completion--flush-all-sorted-completions):
21225         Remove itself from hook.
21226         (completion-at-point): Let the functions perform the completion
21227         immediately and return nil or t.
21228         * comint.el (comint-dynamic-complete-functions): Now identical to
21229         completion-at-point-functions.
21230         (comint-dynamic-list-input-ring): Remove unused var `index'.
21231         (comint--match-partial-filename, comint--unquote&expand-filename):
21232         New funs, split from comint-match-partial-filename.
21233         (comint-dynamic-complete): Use completion-at-point.
21234         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21236 2011-03-24  Drew Adams  <drew.adams@oracle.com>
21238         * thingatpt.el: Support `defun'.
21240 2011-03-23  Leo Liu  <sdl.web@gmail.com>
21242         * abbrevlist.el: Move to obsolete/abbrevlist.el.
21244         * help-mode.el (help-mode-finish): Tweak regexp.
21246 2011-03-23  Glenn Morris  <rgm@gnu.org>
21248         * eshell/esh-opt.el (eshell-eval-using-options):
21249         Do not bind unused local variable `eshell-option-stub'.
21251         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21253 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21255         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21256         keymap variable in `with-no-warnings' to avoid a warning when the
21257         keymap has been already `defconst'ed.
21259 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21261         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21262         encode all chars in abbrevs; otherwise use emacs-mule or
21263         utf-8-emacs.  (Bug#8308)
21265 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21267         * simple.el (backward-delete-char-untabify):
21268         Avoid warning about using `delete-backward-char'.
21270         * image.el (image-type-file-name-regexps): Make it variable.
21271         `imagemagick-register-types' modifies it, and the user may want
21272         to add new extensions for known image types.
21273         (imagemagick-register-types): Throw error if not using ImageMagick.
21275 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21277         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21278         located before rcirc-prompt-end-marker.
21279         (rcirc-complete): Error if point is not after rcirc prompt.
21280         Handle the case when table is nil.
21281         (rcirc-user-authenticated): Define to fix compiler warning.
21283 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
21285         * custom.el (custom--inhibit-theme-enable): Make it affect only
21286         custom-theme-set-variables and custom-theme-set-faces.
21287         (provide-theme): Ignore custom--inhibit-theme-enable.
21288         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21289         (custom-enabling-themes): Delete variable.
21290         (enable-theme): Accept only loaded themes as arguments.
21291         Ignore the special custom-enabled-themes variable.
21292         (custom-enabled-themes): Forbid themes from setting this.
21293         Eliminate use of custom-enabling-themes.
21294         (custom-push-theme): Quote "changed" custom var entry.
21296 2011-03-21  Leo Liu  <sdl.web@gmail.com>
21298         * ido.el (ido-read-internal): Add ido-selected to history instead
21299         of user input.
21301 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21303         * subr.el (deferred-action-list, deferred-action-function):
21304         Mark obsolete.
21306 2011-03-21  Leo Liu  <sdl.web@gmail.com>
21308         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21309         change on 2011-02-13 (bug#8309).
21311         * minibuffer.el (read-file-name-function): Change default value.
21312         (read-file-name--defaults): Rename from read-file-name-defaults.
21313         (read-file-name-default): Rename from read-file-name.
21314         (read-file-name): Call read-file-name-function.
21316 2011-03-21  Glenn Morris  <rgm@gnu.org>
21318         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21319         Doc fixes.
21321 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
21323         * cus-theme.el: Add missing provide statement.
21324         (customize-create-theme): Extract theme value correctly.
21325         (custom-theme-visit-theme): Autoload.
21326         (customize-create-theme): Prompt before inserting default faces.
21328 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
21330         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21331         units and musical notes.
21333 2011-03-20  Leo Liu  <sdl.web@gmail.com>
21335         * ido.el (ido-read-internal): Use completing-read-default.
21336         (ido-completing-read): Fix compatibility with completing-read.
21338 2011-03-20  Christian Ohler  <ohler@gnu.org>
21340         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21341         (ert-delete-all-tests): Use `called-interactively-p' rather than
21342         `interactive-p'.
21343         (ert--make-xrefs-region): Respect END.
21345 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
21347         * dired-aux.el (dired-create-directory): Signal an error if the
21348         directory already exists (Bug#8246).
21350         * facemenu.el (list-colors-display): Call list-faces-display
21351         inside with-help-window.
21352         (list-colors-print): Use display property to align the final
21353         column, instead of checking window-width.
21355 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
21357         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21358         windows-nt systems.
21359         (emerge-protect-metachars): Quote correctly for ms-dos and
21360         windows-nt systems.
21362 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
21364         * info.el (info-initialize): Replace all uses of `:' with
21365         path-separator for compatibility with non-Unix systems.
21366         Cache quoting of path-separator.  (Bug#8258)
21368 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
21370         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21371         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21372         (mouse-avoidance-mode): Fix typos in docstrings.
21374 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
21376         * startup.el (package-subdirectory-regexp): Move from package.el.
21377         Omit \\` and \\', and let callers add them.
21379         * emacs-lisp/package.el (package-strip-version)
21380         (package-load-all-descriptors): Add \\` and \\' to
21381         package-subdirectory-regexp before using it.
21382         (package-untar-buffer): New arg DIR; ensure that file untars only
21383         into this expected directory.  Remove superfluous delete-region.
21384         (package-unpack): Caller changed.
21385         (package-tar-file-info): Use package-subdirectory-regexp.
21387 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21389         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21390         diff-mode-shared-map (bug#8284).
21391         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21393 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21395         * calendar/time-date.el (format-seconds): Use assoc instead of
21396         assoc-string, since assoc-string doesn't exist in XEmacs.
21398 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
21400         * custom.el (custom-known-themes): Reflow docstring.
21401         (custom-theme-load-path): Fix typo in docstring.
21402         (load-theme): Fix typo in error message.
21403         (custom-available-themes, custom-variable-theme-value):
21404         Use `let', not `let*'.
21406 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
21408         * calc/README: Mention inclusion of musical notes.
21410         * calc/calc-units.el (calc-lu-quant): Rename from
21411         `calc-logunits-quantity'.
21412         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21413         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21414         (calc-db): Rename from `calc-dblevel'.
21415         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21416         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21417         (calc-np): Rename from `calc-nplevel'.
21418         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21419         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21420         (calc-lu-plus): Rename from `calc-logunits-add'.
21421         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21422         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21423         (calc-lu-minus): Rename from `calc-logunits-sub'.
21424         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21425         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21426         (calc-lu-times): Rename from `calc-logunits-mul'.
21427         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21428         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21429         (calc-lu-divide): Rename from `calc-logunits-div'.
21430         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21431         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21433         * calc/calc-ext.el (calc-init-extensions): Update the names of the
21434         functions being autoloaded.
21436         * calc/calc.el (calc-lu-power-reference): Rename from
21437         `calc-logunits-power-reference'.
21438         (calc-lu-field-reference): Rename from
21439         `calc-logunits-field-reference'.
21441         * calc/calc-help.el (calc-l-prefix-help):
21442         Mention musical note functions.
21444 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21446         * minibuffer.el (completion-all-sorted-completions):
21447         Use :completion-cycle-penalty text property if present.
21449 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
21451         * allout.el (allout-yank-processing): Adjust for new rebulleting
21452         regime so bullet being yanked is used without prompting the user
21453         for a choice.
21455 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
21457         * startup.el (command-line): Warn the user that _emacs is deprecated.
21459 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
21461         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21462         (delphi-verbose, delphi-comment-face, delphi-string-face)
21463         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21464         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21465         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21466         (delphi-new-comment-line, delphi-font-lock-defaults)
21467         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21468         Fix typos in docstrings.
21470 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
21472         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21473         Invert the roles of character and string values for INSTEAD, so a
21474         string is used for the more common case of a defaulting prompt.
21476 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21478         * progmodes/ruby-mode.el (ruby-backward-sexp):
21479         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21480         * play/gamegrid.el (gamegrid-make-face):
21481         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21482         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21483         * notifications.el (notifications-notify):
21484         * net/xesam.el (xesam-search-engines):
21485         * net/quickurl.el (quickurl-list-insert):
21486         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21488 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
21490         * startup.el (command-line): Update package subdirectory regexp.
21492 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21494         * allout.el (allout-abbreviate-flattened-numbering)
21495         (allout-mode-deactivate-hook): Fix up obsolescence "date".
21497         * subr.el (read-char-choice): Only show the cursor after the prompt,
21498         not after the answer.
21500 2011-03-15  Kevin Ryde  <user42@zip.com.au>
21502         * help-fns.el (variable-at-point): Skip leading quotes, if any
21503         (bug#8253).
21505 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21507         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21508         warning message.
21510 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
21512         * shell.el (shell): When called interactively, offer to change the
21513         shell file name on remote hosts.
21515 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
21517         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21518         integration for LDAP parameters.  The host, base, user or binddn,
21519         and secret tokens can be specified in a netrc file, for instance.
21520         This is optional because an `auth-source' parameter must be
21521         specified in the search attributes.
21523 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
21525         * help.el (describe-mode): Link to the mode's definition (bug#8185).
21527 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21529         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21530         into declaration.  Remove redundant and harmful binding.
21532 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
21534         * files.el (file-ownership-preserved-p): Pass `integer' as an
21535         explicit 2nd argument to `file-attributes'.  If the file's owner
21536         is the Administrators group on Windows, and the current user is
21537         Administrator, consider that a match.
21539         * server.el (server-ensure-safe-dir): Consider server directory
21540         safe on MS-Windows if its owner is the Administrators group while
21541         the current Emacs user is Administrator.  Use `=' to compare
21542         numerical UIDs, since they could be integers or floats.
21544 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
21546         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21548 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
21550         Sync with Tramp 2.2.1.
21552         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21554         * net/trampver.el: Update release number.
21556 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21558         * progmodes/compile.el (compilation--previous-directory): Fix up
21559         various nil/dead-marker mismatches (bug#8014).
21560         (compilation-directory-properties, compilation-error-properties):
21561         Don't call it at a position past the one we're about to change.
21563         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21564         Disable obsolescence warnings in the file that declares it.
21566 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
21568         * allout-widgets.el (allout-widgets-tally):
21569         Initialize allout-widgets-tally as a hash table rather than nil to
21570         prevent mode-line redisplay warnings.  Also, clarify the module
21571         description and fix a comment typo.
21573 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
21575         * help-fns.el (describe-variable): Don't complete keywords.
21576         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21578 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
21580         * emacs-lisp/package.el (package-version-join): Impose a standard
21581         string representation for pre/alpha/beta version lists.
21582         (package-unpack-single): Standardize the directory name by passing
21583         it through package-version-join.
21584         (package-strip-rcs-id): Accept any version string that does not
21585         signal an error in version-to-list.
21587 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
21589         * simple.el (delete-trailing-whitespace): Return nil for the
21590         benefit of `write-file-functions'.
21592 2011-03-10  Glenn Morris  <rgm@gnu.org>
21594         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21596         * vc/vc-git.el (vc-git-program): New option.
21597         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21598         (vc-git--call): Use it.
21600         * eshell/esh-util.el (eshell-condition-case): Doc fix.
21602         * cus-edit.el (Custom-newline): If no button at point, look
21603         for a subgroup button at start-of-line.  (Bug#2298)
21605         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21607 2011-03-10  Julien Danjou  <julien@danjou.info>
21609         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21610         `cursor-type' is nil.
21612 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
21614         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21616 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
21618         * allout.el: Change so yank of distinctive-bullet items
21619         preserves the existing header prefix, rebulleting it if necessary,
21620         rather than replacing it.  This is necessary for proper operation
21621         of cooperative addons like allout-widgets.
21622         (allout-make-topic-prefix, allout-rebullet-heading):
21623         Change SOLICIT arg to INSTEAD, and interpret additionally a string
21624         value as alternate bullet to be used, instead of prompting the user
21625         for a bullet character.
21627 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
21629         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21630         Do not use `tramp-file-name-port', because this returns also
21631         `tramp-default-port'.
21633 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
21635         * net/rcirc.el (rcirc-handler-001): Remove useless
21636         with-rcirc-process-buffer.
21637         (rcirc-check-auth-status): Swap arguments to string-match.
21639 2011-03-09  Glenn Morris  <rgm@gnu.org>
21641         * shell.el (shell-mode):
21642         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
21644         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21645         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
21647 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
21649         * emacs-lisp/package.el (package-refresh-contents)
21650         (package-menu-execute): Use condition-case-no-debug.
21652 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
21654         * simple.el (shell-command-to-string): Use `process-file'.
21656         * emacs-lisp/package.el (package-tar-file-info): Handle also
21657         remote files.
21659         * emacs-lisp/package-x.el (package-upload-buffer-internal):
21660         Use `equal' for upload base check.
21662 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
21664         * textmodes/texinfo.el (texinfo-environments):
21665         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
21667 2011-03-08  Glenn Morris  <rgm@gnu.org>
21669         * cus-start.el (cursor-in-non-selected-windows):
21670         Fix :set quoting oddness.  (Bug#8192)
21672         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21673         in some setf expressions.  (Bug#2159)
21675 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
21677         * custom.el (custom-available-themes): Return themes in
21678         alphabetical order.
21680 See ChangeLog.15 for earlier changes.
21682 ;; Local Variables:
21683 ;; coding: utf-8
21684 ;; End:
21686   Copyright (C) 2011-2013 Free Software Foundation, Inc.
21688   This file is part of GNU Emacs.
21690   GNU Emacs is free software: you can redistribute it and/or modify
21691   it under the terms of the GNU General Public License as published by
21692   the Free Software Foundation, either version 3 of the License, or
21693   (at your option) any later version.
21695   GNU Emacs is distributed in the hope that it will be useful,
21696   but WITHOUT ANY WARRANTY; without even the implied warranty of
21697   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21698   GNU General Public License for more details.
21700   You should have received a copy of the GNU General Public License
21701   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.