Fix bug #2975 with insufficient docs of texinfo-master-menu.
[emacs.git] / lisp / ChangeLog
blob74fc51c5e6994328e401759d6fd43bb2a2771d3a
1 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
4         to use texinfo-update-node and commands that call it if the
5         Texinfo file uses @node lines without next/prev/up pointers.
6         Correct outdated description about texinfo-master-menu.
7         (texinfo-all-menus-update, texinfo-master-menu)
8         (texinfo-update-node, texinfo-every-node-update)
9         (texinfo-multiple-files-update): Doc fix.  Warn against updating
10         all the @node lines.
11         (texinfo-master-menu): Only call texinfo-update-node if the prefix
12         argument is numeric.  Explain better in the doc string what the
13         function really does.
14         (texinfo-insert-master-menu-list): Improve the error message
15         displayed if there's no menu in the Top node.
16         (Bug#2975)  See also this thread:
17         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
21         * speedbar.el (speedbar-supported-extension-expressions):
22         Add .adb and .ads, commonly used for Ada source code (bug#10256).
24 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
26         * printing.el (pr-mode-alist):
27         * simple.el (filter-buffer-substring-functions)
28         (completion-list-insert-choice-function):
29         * window.el (window-with-parameter, window-atom-root)
30         (window-sides-slots, window-size-fixed, window-min-delta)
31         (window-max-delta, window--resize-mini-window)
32         (window--resize-child-windows-normal, window-tree)
33         (delete-other-windows, quit-window, split-window)
34         (display-buffer-record-window, special-display-buffer-names)
35         (special-display-regexps, special-display-popup-frame)
36         (same-window-p, split-window-sensibly)
37         (display-buffer-overriding-action, display-buffer-alist)
38         (display-buffer-base-action, display-buffer, switch-to-buffer)
39         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
40         (fit-window-to-buffer, recenter-positions)
41         (mouse-autoselect-window-state, mouse-autoselect-window-select):
42         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
43         and remove unneeded backslashes in docstrings.
45 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
47         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
49         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
50         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
51         end in ".mk".
52         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
53         when reading the makefile (bug#10116).
55 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
57         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
58         (bug#10116).
60 2011-12-06  Glenn Morris  <rgm@gnu.org>
62         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
64 2011-12-06  Chong Yidong  <cyd@gnu.org>
66         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
68 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
70         * textmodes/table.el (table-shorten-cell): Fix typo.
72 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
74         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
76 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
78         * descr-text.el (describe-char): Fix display of strong
79         right-to-left characters and directional embeddings and overrides.
81         * simple.el (what-cursor-position): Fix display of codepoints of
82         strong right-to-left characters.
84 2011-12-05  Chong Yidong  <cyd@gnu.org>
86         * faces.el (read-color): Doc fix.
88 2011-12-05  Glenn Morris  <rgm@gnu.org>
90         * align.el (align--set-marker): Add doc-string.
91         Don't try to move something that is not a marker.  (Bug#10216)
93 2011-12-04  Glenn Morris  <rgm@gnu.org>
95         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
96         overly zealous deletion of trailing whitespace.
98 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
100         * server.el (server-delete-client): On Windows, do not try to delete
101         the only terminal.
102         (server-process-filter): On Windows, treat requests for a tty frame as
103         if they were for a GUI frame if the running server is in GUI mode.
105 2011-12-03  Glenn Morris  <rgm@gnu.org>
107         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
109 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
111         * electric.el: Streamline electric-indent's hook.
112         (electric-indent-chars): Revert to simple list.
113         (electric-indent-functions): New var.
114         (electric-indent-post-self-insert-function): Use it.
116         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
117         there's no inferior buffer (bug#10196).
118         (prolog-consult-compile): Don't use toggle-read-only.
120 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
122         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
123         interrupt.  (Bug#10187)
125 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
127         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
128         (bug#9160).
130         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
131         (bug#10191).
133 2011-12-02  Juri Linkov  <juri@jurta.org>
135         * info.el (Info-search): Display "end of manual" when Isearch
136         reaches the end of single-file Info manual.  (Bug#9918)
138 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
140         * isearch.el (isearch-message-prefix): Run the input method part
141         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
143 2011-12-02  Juri Linkov  <juri@jurta.org>
145         * isearch.el (isearch-occur): Use `word-search-regexp' for
146         `isearch-word'.
147         (isearch-search-and-update): Add condition for `isearch-word' and
148         call `word-search-regexp'.  (Bug#10145)
150 2011-12-01  Glenn Morris  <rgm@gnu.org>
152         * eshell/em-hist.el (eshell-hist-initialize):
153         Handle eshell-history-size nil and HISTSIZE set or unset.
154         (eshell-history-file-name, eshell-history-size): Fix custom type.
156 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
158         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
160 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
162         * progmodes/verilog-mode.el (verilog-pretty-expr):
163         Rework verilog-pretty-expr to handle new assignment operators in system
164         verilog, such as += *= and the like.
165         (verilog-assignment-operator-re): Regular expression to find the
166         assigment operator in a verilog assignment.
167         (verilog-assignment-operation-re): Regular expression to find an
168         assignment statement for pretty-expr.
169         (verilog-in-attribute-p): Query returns true if point is in an
170         attribute context; used to skip these for expression line up from
171         pretty-expr.
172         (verilog-in-parameter-p): Query returns true if point is in an
173         parameter definition context; used to skip these for expression
174         line up from pretty-expr.
175         (verilog-in-parenthesis-p): Query returns true if point is in a
176         parenthetical expression, specifically ( ) but not [ ] or { };
177         used by pretty-expr.
178         (verilog-just-one-space): If there is no space, don't add one.
179         (verilog-get-lineup-indent-2): Specifically skip just attribute
180         contexts for expression lineup, rather than skipping all
181         parenthetical expressions.
182         (verilog-calculate-indent): Fix comment, and fix indent.
183         (verilog-do-indent): Indent declarations in lists (suggested by
184         Joachim Lechner).
185         (verilog-mode-abbrev-table): Populate abbrev mode with the various
186         skeleton items.
187         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
188         by Alain Mellan).
190 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
192         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
193         parameters with embedded comments.  Reported by Ray Stevens.
194         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
195         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
196         Reported by Tim Holt.
197         (verilog-auto): Fix AUTOing a upper module then AUTOing module
198         instantiated by upper module causing wrong expansion until AUTOed a
199         second time.  Reported by K C Buckenmaier.
200         (verilog-diff-auto): Fix showing .* as a difference when
201         `verilog-auto-star-save' off.  Reported by Dan Dever.
202         (verilog-auto-reset, verilog-read-always-signals)
203         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
204         temporary signals in reset list if
205         verilog-auto-reset-blocking-in-non is nil, and match assignment
206         style to each signal's assignment type, bug381.
207         Reported by Thomas Esposito.
208         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
209         (verilog-uvm-statement-re): Support UVM indentation and
210         highlighting, with old OVM keywords only.
211         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
212         Support AUTOTIEOFF creating non-wire data types.  Suggested by Jonathan
213         Greenlaw.
214         (verilog-auto-insert-lisp, verilog-delete-to-paren)
215         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
216         (verilog-inject-sense, verilog-read-inst-pins)
217         (verilog-read-sub-decls, verilog-read-sub-decls-line):
218         Fix mismatching parenthesis inside commented out code when deleting
219         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
220         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
221         non-numeric vector width.  Reported by Alex Reed.
222         (verilog-auto-ascii-enum): Add "onehot" option to work around not
223         detecting signals with parameter widths.  Reported by Alex Reed.
224         (verilog-auto-delete-trailing-whitespace):
225         With `verilog-auto-delete-trailing-whitespace' remove trailing
226         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
227         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
228         Fix verilog-scan-cache corruption when running user AUTO expansion
229         hooks that call indentation routines.
230         (verilog-simplify-range-expression): Fix typo ignoring lower case
231         identifiers.
232         (verilog-delete-auto): Fix delete-autos to also remove user created
233         automatics, as long as they start with AUTO.
234         (verilog-batch-diff-auto, verilog-diff-auto)
235         (verilog-diff-function): Add `verilog-diff-auto' and bind to
236         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
237         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
238         (verilog-in-paren-quick, verilog-re-search-backward-quick)
239         (verilog-re-search-forward-quick, verilog-syntax-ppss):
240         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
241         is disabled and its cache will get corrupt, causing AUTOS not to
242         expand.  Instead use only -quick functions.
243         (verilog-scan-region): Fix scanning over escaped quotes.
244         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
245         (verilog-re-search-backward-quick)
246         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
247         related functions now ignore strings, to fix misparsing of strings
248         with magic comments embedded in them.
249         (verilog-read-auto-template):
250         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
251         Reported by Brad Dobbie.
252         (verilog-read-auto-template):
253         Fix 'verilog-auto-inst-template-numbers' with comments.
254         Reported by Brad Dobbie.
255         (verilog-auto-inst, verilog-auto-inst-param)
256         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
257         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
258         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
259         debugging templates without merge conflicts, bug357.
260         Reported by Brad Dobbie.
261         (verilog-read-auto-template):
262         Fix verilog-auto-inst-template-numbers with multiple templates.
263         Reported by Brad Dobbie.
264         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
265         abbrevs so user won't be asked to save.
266         (verilog-read-auto-lisp-present): Fix to start at beginning of
267         buffer in case called outside of verilog-auto.
268         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
269         to "X-2".  Reported by Matthew Myers.
270         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
271         all inputs from module templates.  Reported by Leith Johnson.
272         (verilog-module-inside-filename-p): Fix locating programs as with
273         modules.
274         (verilog-auto-inst-port): Fix vl-width expressions when using
275         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
276         (verilog-decls-get-regs, verilog-decls-get-signals,
277         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
278         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
279         verilog-read-decls): Combine reg and wire structures into one var
280         structure to represent SystemVerilog concepts.
281         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
282         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
283         (verilog-auto-wire-type, verilog-insert-definition):
284         Add verilog-auto-wire-type and AUTOLOGIC to support using
285         SystemVerilog "logic" keyword instead of "wire"/"reg".
286         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
287         to declares outputs that also have assignments (presumably in an
288         ifdef or generate if so there's not a driver conflict).
289         Reported by Matthew Myers.
290         (verilog-auto-declare-nettype, verilog-insert-definition):
291         Add verilog-auto-declare-nettype to fix declarations using
292         `default_nettype none.  Reported by Julian Gorfajn.
293         (verilog-read-always-signals-recurse, verilog-read-decls)
294         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
295         malformed end statement, bug325.  Reported by Joshua Wise and
296         Andrew Drake.
297         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
298         (verilog-inst-comment-re): Fix not deleting Interfaced comment
299         when expanding .* in interfaces, bug320.  Reported by Pierre-David
300         Pfister.
301         (verilog-read-module-name): Fix import statements between module
302         name and open parenthesis, bug317.  Reported by Pierre-David
303         Pfister.
304         (verilog-simplify-range-expression): Fix simplification of
305         multiplications inside AUTOWIRE connections, bug303.
306         (verilog-auto-inst-port): Support parameter expansion in
307         multidimensional arrays.
308         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
309         after "assert property".  Reported by Julian Gorfajn.
310         (verilog-simplify-range-expression): Fix "couldn't merge" errors
311         with multiplication, bug303.
312         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
313         Reported by Jan Frode Lonnum.
315 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
317         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
318         (hfy-shell-file-name, hfy-shell):
319         * international/fontset.el (x-decompose-font-name): Fix typos.
321 2011-11-29  Ken Brown  <kbrown@cornell.edu>
323         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
324         (gdb-version): Remove defvar.
325         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
326         (gdb-gud-context-command, gdb-non-stop-handler)
327         (gdb-current-context-command, gdb-stopped): Use it.
328         (gdb-init-1): Enable pretty printing here.
329         (gdb-non-stop-handler): Don't enable pretty-printing here.
330         Check to see if the target supports non-stop mode; if not, turn off
331         non-stop mode.  Use the following.
332         (gdb-check-target-async): New defun.
333         (gud-watch, gdb-stopped): Fix whitespace.
334         (gdb-get-source-file): Don't try to display the source file if
335         `gdb-main-file' is nil.
337 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
339         * align.el: Try to generate fewer markers (bug#10047).
340         (align--set-marker): New macro.
341         (align-region): Use it.
343 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
345         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
347 2011-11-29  Chong Yidong  <cyd@gnu.org>
349         * indent.el (indent-for-tab-command, indent-according-to-mode):
350         Doc fix.
351         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
353 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
355         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
356         aware of remote file names.  (Bug#10124)
358 2011-11-29  Chong Yidong  <cyd@gnu.org>
360         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
362 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
364         * files.el (find-file): Don't use force-same-window (bug#10144).
365         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
366         use pop-to-buffer if the selected window can't be used.
367         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
369 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
371         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
372         special-mode-map.
374 2011-11-28  Chong Yidong  <cyd@gnu.org>
376         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
378 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
380         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
381           gdb-get-source-file-list on gdb-create-source-file-list.
383 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
385         * whitespace.el (whitespace-newline): Use a different foreground
386         color for 16-color light-background displays.
388 2011-11-24  Chong Yidong  <cyd@gnu.org>
390         * window.el (display-buffer--special-action): Doc fix.
392 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
394         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
395         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
396         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
397         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
398         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
399         (avl-tree-stack-first):
400         * emacs-lisp/cconv.el (cconv--analyse-use):
401         * net/gnutls.el (gnutls-negotiate): Fix typos.
403 2011-11-24  Glenn Morris  <rgm@gnu.org>
405         * lpr.el (lpr-windows-system, lpr-lp-system):
406         * mail/binhex.el (binhex-begin-line):
407         * progmodes/grep.el (grep-history, grep-find-history):
408         * textmodes/flyspell.el:
409         * vc/pcvs-defs.el (cvs-global-menu):
410         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
411         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
412         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
414         * net/tls.el: Fix case of "GnuTLS".
416         * paths.el (rmail-file-name): Format doc-string for make-docfile.
418         * version.el (emacs-build-system): Give it a doc-string.
420 2011-11-24  Juri Linkov  <juri@jurta.org>
422         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
424 2011-11-24  Glenn Morris  <rgm@gnu.org>
426         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
427         if called on a non-mime message just toggle the headers.  (Bug#8006)
429 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
431         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
432         (allout-lead-with-comment-string, allout-structure-deleted-hook)
433         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
434         (allout-rebullet-heading, allout-open-sibtopic)
435         (allout-toggle-current-subtree-encryption)
436         (allout-toggle-subtree-encryption, allout-encrypt-string)
437         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
438         (allout-distinctive-bullets-string, allout-auto-activation):
439         * window.el (window-normalize-buffer-to-display):
440         * progmodes/verilog-mode.el (verilog-batch-indent):
441         * textmodes/bibtex.el (bibtex-field-braces-opt)
442         (bibtex-field-strings-opt):
443         * vc/cvs-status.el (cvs-tree-merge):
444         Fix typos.
446 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
448         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
449         `non-essential' to t, in order to avoid remote connections.
451 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
453         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
454         On MS-DOS and MS-Windows, compare with loaddefs.el
455         case-insensitively.
457 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
459         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
461 2011-11-23  Glenn Morris  <rgm@gnu.org>
463         * paths.el (rmail-file-name): Reformat the doc-string so that it
464         is picked up.
466         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
467         (rmail-auto-file): Ignore case in the "special" field names,
468         as mail-fetch-field does for all others.
470         * mail/rmail.el (rmail-forward):
471         * mail/rmailkwd.el (rmail-set-label):
472         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
473         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
475         * mail/rmail.el (rmail-current-message): Doc fix.
477         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
479 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
481         * server.el (server-eval-and-print): Allow C-g (bug#6585).
483 2011-11-22  Glenn Morris  <rgm@gnu.org>
485         * mail/rmailmm.el (test-rmail-mime-handler)
486         (test-rmail-mime-bulk-handler)
487         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
489 2011-11-21  Juri Linkov  <juri@jurta.org>
491         * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
492         to nil.  (Bug#10018)
494 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
496         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
497         Tell the caller that the next line needs recomputation, even
498         though it doesn't start a sexp (bug#10094).
500 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
502         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
504 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
506         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
507         Use force-same-window.
509 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
511         * descr-text.el (describe-char-unicode-data):
512         * json.el (json-string-escape):
513         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
514         (Footnote-unicode, Footnote-style-p):
515         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
517 2011-11-20  Chong Yidong  <cyd@gnu.org>
519         * window.el (replace-buffer-in-windows): Restore interactive spec.
521 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
523         * electric.el (electric-indent-mode): Fix last change (too optimistic).
525         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
526         (byte-compile-global-not-obsolete-vars): New var.
527         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
528         Use it.
529         (byte-compile-warn-obsolete): Align text with the one in *Help*.
531 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
533         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
534         * progmodes/pascal.el (electric-pascal-equal):
535         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
536         * xml.el (xml-substitute-special): Fix typos.
538 2011-11-20  Glenn Morris  <rgm@gnu.org>
540         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
541         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
542         Doc fixes.
543         (rmail-decode-mime-charset): Mark as obsolete.
545         * mail/rmailsum.el (rmail-message-regexp-p-1):
546         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
547         Before using mime functions, check they are set.  (Bug#10077)
549 2011-11-19  Juri Linkov  <juri@jurta.org>
551         * info.el (Info-finder-find-node): Use `package--builtins' instead
552         of `package-alist'.  Use node names formed by the pattern "Keyword "
553         and the keyword name.
555 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
557         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
558         bash.
560 2011-11-19  Juri Linkov  <juri@jurta.org>
562         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
563         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
564         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
565         `old-history', `old-history-forward'.  Add let-binding
566         `window-selected'.  Remove calls to `kill-buffer',
567         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
568         before calling `Info-find-node', so `Info-find-node-2' will reread
569         the Info file.  Restore window positions only when `window-selected'
570         is non-nil.
572 2011-11-19  Juri Linkov  <juri@jurta.org>
574         * isearch.el (isearch-lazy-highlight-new-loop):
575         Remove condition `(not isearch-error)'.  (Bug#9918)
577         * misearch.el (multi-isearch-search-fun): Add condition
578         `(not bound)' to ignore lazy-highlighting search.
579         Add the search-failed message "end of multi" when the end of
580         multi-sequence is reached.  Uncapitalize the search-failed
581         message "Repeat for next buffer".
583         * info.el (Info-search): Add the search-failed message
584         "end of the manual" when the end of the manual is reached
585         in Isearch mode.
587 2011-11-19  Juri Linkov  <juri@jurta.org>
589         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
590         Use non-destructive `remove' instead of `delete' because
591         `Info-history-list' stored to `Info-isearch-initial-history-list' in
592         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
594 2011-11-19  Juri Linkov  <juri@jurta.org>
596         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
597         to nil instead of binding `search-ring' and `regexp-search-ring'.
598         (Bug#9185)
600 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
602         * simple.el (line-move): Force movement by logical lines for any
603         hscrolled window, not only when auto-hscroll-mode is on.
604         (line-move-visual): Update doc string to that effect.  (Bug#10076)
606 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
608         * language/european.el (macintosh): Define as alias for mac-roman.
610 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
612         * mail/rmailmm.el (rmail-mime-display-header)
613         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
614         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
615         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
616         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
617         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
618         of a raw aref.
619         (rmail-mime-entity-segment): To get past the tagline, move forward
620         2 more lines, to account for the 2 empty lines that precede and
621         follow the line with the buttons.
622         (rmail-mime-update-tagline): Move one more line, to get past the
623         empty line that follows the buttons in the tagline.  (Bug#9520)
625 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
627         * window.el (window-max-delta-1, window-min-delta-1)
628         (window-min-size-1, window-state-get-1, window-state-put-1)
629         (window-state-put-2): Use "window--" prefix.
631 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
633         * emacs-lisp/smie.el: Improve warnings and conflict detection.
634         (smie-warning-count): New var.
635         (smie-set-prec2tab): Use it.
636         (smie-bnf->prec2): Improve warnings.  Add docstring.
637         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
638         (smie-bnf--set-class): New function.
639         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
640         corner case.
642         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
643         (compilation-error-properties, compilation-move-to-column):
644         Handle compilation-first-column while in the target buffer.
646         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
647         Don't hardcode point-min==1.
649         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
650         (eshell-rewrite-for-command): Remove workaround.
651         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
652         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
653         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
655         * files-x.el (modify-file-local-variable): Obey commenting conventions.
657 2011-11-17  Glenn Morris  <rgm@gnu.org>
659         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
660         Ignore buffer-local generated-autoload-file if it is the same
661         as the global value.  (Bug#10049)
663 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
665         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
666         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
667         (reftex-toc-previous-heading, reftex-toc-max-level)
668         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
669         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
670         (reftex-toc-do-promote, reftex-toc-promote-prepare)
671         (reftex-toc-promote-action, reftex-toc-extract-section-number)
672         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
673         (reftex-toc-rename-label, reftex-toc-visit-location)
674         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
675         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
676         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
677         leaving "*toc*" only for references to the buffer.
679 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
681         * window.el (window-resize, delete-window, split-window):
682         Replace window-splits by window-combination-resize.
683         * cus-start.el (window-splits): Replace by
684         window-combination-resize.
686 2011-11-17  Glenn Morris  <rgm@gnu.org>
688         * progmodes/sh-script.el (sh-font-lock-keywords-var):
689         Make bash entry derive from sh entry, not shell entry.
691 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
693         * net/tramp-cache.el (tramp-flush-file-property): Flush also
694         properties of linked files.  (Bug#9879)
696         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
697         local file name.
699 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
701         * menu-bar.el (menu-bar-file-menu):
702         * printing.el (pr-ps-utility):
703         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
704         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
705         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
706         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
707         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
708         (icalendar--convert-cyclic-to-ical)
709         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
710         (icalendar--convert-ical-to-diary)
711         (icalendar--convert-recurring-to-diary)
712         (icalendar--convert-non-recurring-all-day-to-diary)
713         (icalendar-import-format-sample):
714         * progmodes/idlw-shell.el (idlwave-shell-mode):
715         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
716         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
717         (vhdl-ps-print-init): Fix typos.
719 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
721         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
722         FSF and collapse date sequence, obscure author/maintainer email address
723         better, remove extra version line, track relocation of author's webpage.
725         * progmodes/python.el (python-pdbtrack-input-prompt)
726         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
727         regular python pdb prompts.  Adjustments shamelessly taken exactly as
728         suggested in EmacsWiki page (tiny change):
729         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
731 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
733         * expand.el (expand-pos, expand-index, expand-point):
734         Remove redundant info from docstring.
735         (expand-add-abbrevs): Doc fix.
736         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
737         (expand-sample-perl-mode-expand-list): Fix typos.
739         * net/dbus.el (dbus-event-member-name):
740         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
741         * term/pc-win.el (msdos-create-frame-with-faces):
742         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
744 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
746         * window.el (split-window, window-state-get-1)
747         (window-state-put-1, window-state-put-2): Rename occurrences of
748         window-nest to window-combination-limit.
749         * cus-start.el (window-nest): Rename to
750         window-combination-limit.
752 2011-11-16  Chong Yidong  <cyd@gnu.org>
754         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
755         regexp (Bug#10033).
757 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
759         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
760         `completing-read' will remove *Completions* and will preserve
761         current-buffer for us.
762         (tmm-add-prompt): Users of *Completions* will always (re)set its
763         major mode.
764         (tmm-old-comp-map): Remove.
766 2011-11-16  Glenn Morris  <rgm@gnu.org>
768         * mail/rmailedit.el: Require rmailmm when compiling.
769         (rmail-old-mime-state): New declaration.
770         (rmail-edit-current-message): If editing a mime message,
771         edit the "raw" message from the mbox buffer.
772         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
774 2011-11-15  Glenn Morris  <rgm@gnu.org>
776         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
777         which wasn't being used.  Add optional arg to force given state.
778         (rmail-mime): Add optional arg to force given state.
780 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
782         * allout.el (allout-encryption-plaintext-sanitization-regexps):
783         * frame.el (display-mm-dimensions-alist):
784         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
785         (outline-move-subtree-down):
786         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
787         (newsticker--treeview-do-get-node):
788         * net/quickurl.el (quickurl-list-buffer-name):
789         * progmodes/dcl-mode.el (dcl-mode):
790         * progmodes/gdb-mi.el (gdb-mapcar*):
791         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
793 2011-11-15  Glenn Morris  <rgm@gnu.org>
795         * mail/rmail.el (rmail-file-coding-system): It's only ever used
796         in a boolean sense, so just make it a boolean, and fix the doc.
797         (rmail-show-mime-function, rmail-mime-feature)
798         (rmail-require-mime-maybe): Doc fixes.
799         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
801         * mail/rmailmm.el (rmail-show-mime): Doc fix.
803 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
805         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
806         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
807         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
808         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
810 2011-11-15  Glenn Morris  <rgm@gnu.org>
812         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
813         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
814         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
815         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
816         (rmail-mime, rmail-show-mime): Doc fixes.
818         * term/ns-win.el (mode-line-frame-identification):
819         Leave it alone.  (Bug#10051)
821         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
823         * mail/rmailout.el (rmail-output-to-rmail-buffer):
824         Handle empty buffers.  (Bug#9978)
826 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
828         * international/mule.el (define-charset):
829         * mail/rmailmm.el (rmail-mime-find-header-encoding):
830         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
831         * progmodes/verilog-mode.el (verilog-backward-token):
832         * textmodes/ispell.el (lookup-words):
833         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
835 2011-11-14  Glenn Morris  <rgm@gnu.org>
837         * progmodes/executable.el
838         (executable-make-buffer-file-executable-if-script-p):
839         Handle file-modes returning nil.
841         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
842         message - not necessary, and causes problems.  (Bug#9831)
844         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
846         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
848         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
849         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
850         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
852 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
854         * window.el (window-resize, delete-window): Use window-splits
855         variable instead of function.
856         (window-state-get-1, window-state-put-2, window-state-put):
857         Don't deal with windows' splits status.
859 2011-11-12  Glenn Morris  <rgm@gnu.org>
861         * apropos.el (apropos-do-all, apropos-library, apropos-value)
862         (apropos-documentation): Doc fixes.
864 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
866         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
867         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
869 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
871         * electric.el (electric-indent-post-self-insert-function): Make it
872         possible for a char to only indent in some circumstances.
873         (electric-indent-mode): Simplify.
875 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
877         * window.el (windows-with-parameter): Remove unused function.
878         (windows-at-side): Rename to window-at-side-list.
879         (window-check, window-atom-check, window-atom-check-1)
880         (window-side-check, window-size-ignore, window-size-fixed-1)
881         (window-in-direction-2): Prefix with "window--".
882         (window-tree-1): Rename to window--subtree, fix doc-string.
884 2011-11-11  Glenn Morris  <rgm@gnu.org>
886         * subr.el (eval-after-load): If FILE is already loaded,
887         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
889 2011-11-10  Glenn Morris  <rgm@gnu.org>
891         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
892         Call svn via vc-svn-command rather than vc-do-command.
893         (vc-svn-command): Add --non-interactive.  (Bug#9993)
894         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
896         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
897         Add toggle-read-only.  (Bug#7292)
898         * files.el (toggle-read-only): Mention that it should only
899         be used interactively.  (Bug#10006)
901 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
903         * progmodes/compile.el (compilation-error-regexp-alist-alist):
904         Adjust regexp for OCaml warnings.
906         * electric.el (electric-pair-post-self-insert-function): Let user
907         turn it off buffer-locally (bug#9932).
909         * progmodes/python.el (python-beginning-of-statement):
910         Rewrite (bug#2703).
912         * progmodes/compile.el: Better handle TABs (bug#9749).
913         (compilation-internal-error-properties)
914         (compilation-next-error-function): Obey the target buffer's
915         compilation-error-screen-columns.
917 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
919         * progmodes/meta-mode.el: Remove obsolete comments.
920         (meta-right-comment-regexp, meta-ignore-comment-regexp):
921         Fix typos in docstrings.
923 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
925         * window.el (window-size-fixed-p): Rewrite doc-string.
926         (window-resizable-p): Rename to window--resizable-p.  Update callers.
927         (window--resizable): New function.  Make all callers of
928         window-resizable call window--resizable instead.
929         (window-resizable): Rewrite in terms of window--resizable.
931 2011-11-08  Glenn Morris  <rgm@gnu.org>
933         * progmodes/delphi.el (delphi-mode-syntax-table):
934         Let define-derived-mode define a proper syntax table.  (Bug#9994)
936 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
938         * window.el: Stay away from defsubst.
939         (window-list-no-nils): Remove.
940         (window-state-get-1, window-state-get): Use backquote instead.
942 2011-11-08  thierry  <thierry.volpiatto@gmail.com>
944         * emacs-lisp/find-func.el (find-function-read):
945         Fix incorrect use of default argument in `completing-read'.
947 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
949         * window.el (display-buffer-function, special-display-function):
950         Mention display-buffer-record-window but do not mention
951         help-setup parameter in doc-strings.
952         (window-min-delta): Fix doc-string typo.
954 2011-11-08  Chong Yidong  <cyd@gnu.org>
956         * window.el (window-total-height, window-total-width): Doc fix.
957         (window-body-size): Move from C.
958         (window-body-height, window-body-width): Move to C.
960 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
962         * window.el: Make special-display like display-buffer-alist (bug#9532).
963         (display-buffer--special-action): New function, morphed
964         from display-buffer--special.
965         (display-buffer): Use it to handle special-display-buffers at higher
966         priority (just after display-buffer-alist).
967         (display-buffer-fallback-action, display-buffer--other-frame-action)
968         (pop-to-buffer-same-window): Remove display-buffer--special.
970 2011-11-07  Glenn Morris  <rgm@gnu.org>
972         * calendar/cal-menu.el (cal-menu-set-date-title):
973         Do nothing if not in a calendar.  (Bug#9976)
975 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
977         * files.el (find-file): Always use selected-window.
979 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
981         * window.el (window-combinations): Make WINDOW argument
982         mandatory.  Rewrite doc-string.
983         (walk-window-subtree, window-atom-check, window-min-delta)
984         (window-max-delta, window--resize-this-window)
985         (window--resize-root-window-vertically, window-tree)
986         (balance-windows, window-state-put): Rewrite doc-strings as to
987         not mention the term "subwindow".
988         (window--resize-subwindows-skip-p): Rename to
989         window--resize-child-windows-skip-p.
990         (window--resize-subwindows-normal): Rename to
991         window--resize-child-windows-normal.
992         (window--resize-subwindows): Rename to
993         window--resize-child-windows.
994         (window-or-subwindow-p): Rename to window--in-subtree-p.
996 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
998         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
999         Ensure that mbox format messages end in two newlines (Bug#9974).
1001 2011-11-06  Chong Yidong  <cyd@gnu.org>
1003         * window.el (window-combination-p): Function deleted; its
1004         side-effect is not used in any existing code.
1005         (window-combinations, window-combined-p): Call window-*-child
1006         directly.
1008 2011-11-05  Chong Yidong  <cyd@gnu.org>
1010         * window.el (window-valid-p): Rename from window-any-p.
1011         (window-size-ignore, window-state-get): Callers changed.
1012         (window-normalize-window): Rename from window-normalize-any-window.
1013         New arg LIVE-ONLY, replacing window-normalize-live-window.
1014         (window-normalize-live-window): Delete.
1015         (window-combination-p, window-combined-p, window-combinations)
1016         (walk-window-subtree, window-atom-root, window-min-size)
1017         (window-sizable, window-sizable-p, window-size-fixed-p)
1018         (window-min-delta, window-max-delta, window-resizable)
1019         (window-resizable-p, window-full-height-p, window-full-width-p)
1020         (window-current-scroll-bars, window-point-1, set-window-point-1)
1021         (window-at-side-p, window-in-direction, window-resize)
1022         (adjust-window-trailing-edge, maximize-window, minimize-window)
1023         (window-deletable-p, delete-window, delete-other-windows)
1024         (record-window-buffer, unrecord-window-buffer)
1025         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1026         (quit-window, split-window, window-state-put)
1027         (set-window-text-height, fit-window-to-buffer)
1028         (shrink-window-if-larger-than-buffer): Callers changed.
1030 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1032         * mail/rmail.el (rmail-simplified-subject): Decode subject with
1033         rfc2047-decode-string.
1034         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1035         warnings.
1037         * window.el (window-body-height, window-body-width): Mention in
1038         the doc string that the return values are in frame's canonical
1039         units.  (Bug#9949)
1041 2011-11-03  Alan Mackenzie  <acm@muc.de>
1043         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1044         change in cc-engine.el.
1046 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1048         * window.el (switch-to-buffer): Use `force-same-window' interactively.
1050 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
1052         * window.el (quit-window): Call unrecord-window-buffer after
1053         showing another buffer in the window.  (Bug#9937)
1054         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1056 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
1058         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1059         Accept status with more than 9 shelves.  (Bug#9935)
1060         Reported by Colin D Bennett <colin@gibibit.com>.
1062 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
1064         * help.el (with-help-window): Don't reference
1065         temp-buffer-show-specifiers in doc-string.
1067 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1069         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1070         menu-item.
1072 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1074         * whitespace.el: New version 13.2.2.
1075         (whitespace-newline-mode): Disable properly.  Reported by Sarah
1076         <EmacsWiki>.
1078 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
1080         * net/newst-treeview.el: Remove "Time-stamp".
1081         (newsticker--group-manage-orphan-feeds): Do not call
1082         newsticker--treeview-tree-update.
1083         (newsticker-treeview-update, newsticker-treeview):
1084         Call newsticker--treeview-tree-update if necessary.
1086 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
1088         * window.el (window-iso-combination-p, window-iso-combined-p)
1089         (window-iso-combinations): Remove "iso-" infix.
1090         Suggested by Chong Yidong.
1091         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1092         (window-max-delta-1, window-resize, window--resize-siblings)
1093         (window--resize-this-window, adjust-window-trailing-edge)
1094         (split-window, balance-windows-1)
1095         (shrink-window-if-larger-than-buffer):
1096         * calendar/calendar.el (calendar-generate-window):
1097         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
1099 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1101         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1102         in place (bug#9907).
1103         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1104         (eshell-rewrite-if-command, eshell-rewrite-for-command)
1105         (eshell-structure-basic-command, eshell-rewrite-while-command)
1106         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1107         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1108         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1109         (eshell-do-pipelines-synchronously, eshell-eval-command):
1110         Use backquotes and prefer setq to set.
1111         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1112         (eshell-macrop): Use functionp.
1113         (eshell-do-eval): Handle multiple expressions in `while' body.
1115 2011-10-30  Chong Yidong  <cyd@gnu.org>
1117         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1118         instead of set-mark (Bug#9810).
1120 2011-10-30  Chong Yidong  <cyd@gnu.org>
1122         * window.el (split-window-below, split-window-right): Rename from
1123         split-window-above-each-other and split-window-side-by-side
1124         respectively.  All callers changed.
1125         (split-window-sensibly, split-window-sensibly): Use them.
1126         (split-window-keep-point): Doc fix.
1128         * isearch.el: Add isearch-scroll property to split-window-below
1129         and split-window-right.
1131         * follow.el (follow-mode):
1132         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1133         * progmodes/ada-xref.el (ada-gdb-application):
1134         * emulation/vip.el (vip-buffer-in-two-windows):
1135         * image-dired.el (image-dired-dired-with-window-configuration):
1136         * dired-x.el (dired-do-find-marked-files):
1137         * dired.el (dired-pop-to-buffer):
1138         * bs.el (bs--show-with-configuration):
1139         * vc/emerge.el (emerge-setup-windows):
1140         * textmodes/two-column.el (2C-two-columns):
1141         * textmodes/reftex-toc.el (reftex-toc):
1142         * progmodes/gdb-mi.el (gdb-setup-windows):
1143         * progmodes/fortran.el (fortran-window-create):
1144         * net/newst-treeview.el (newsticker--treeview-window-init):
1145         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1146         * emulation/tpu-edt.el (tpu-gold-map):
1147         * emulation/crisp.el (crisp-mode-map):
1148         * calendar/calendar.el (calendar-basic-setup): Callers changed.
1150 2011-10-29  Chong Yidong  <cyd@gnu.org>
1152         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1154         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1156         * textmodes/flyspell.el (flyspell-word): Fix char offset for
1157         forged Ispell output (Bug#7904).
1159         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1161 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1163         * doc-view.el: Avoid ugly errors about not finding nil.
1164         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1165         (doc-view-dvipdf-program, doc-view-unoconv-program)
1166         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1167         Avoid nil or absolute file name as default value.
1168         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1170 2011-10-28  Alan Mackenzie  <acm@muc.de>
1172         * progmodes/cc-defs.el (c-version): -> 5.32.2.
1174 2011-10-28  Alan Mackenzie  <acm@muc.de>
1176         Amend the handling of c-beginning/end-of-defun in nested declaration
1177         scopes.
1179         * progmodes/cc-vars.el (c-defun-tactic): Move here from
1180         cc-langs.el.  Change it to a defcustom.
1182         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1183         cc-vars.el.
1185         * progmodes/cc-engine.el (c-beginning-of-statement-1):
1186         Prevent "class foo : bar" being spuriously recognized as a label.
1188         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
1189         Add parameter `inclusive' (to include enclosing braces in the region).
1190         (c-widen-to-enclosing-decl-scope): New function.
1191         (c-while-widening-to-decl-block): New macro.
1192         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1193         outward for defun boundaries, and correspondingly change symbol
1194         `respect-enclosure' to `go-outward'.
1195         (c-declaration-limits): Change algorithm to report only the "innermost"
1196         defun's boundaries.
1198 2011-10-28  Deniz Dogan  <deniz@dogan.se>
1200         * net/rcirc.el (rcirc-mode): Use hard newlines.
1202 2011-10-28  Alan Mackenzie  <acm@muc.de>
1204         Amend to indent and fontify macros "which include their own semicolon"
1205         correctly, using the "virtual semicolon" mechanism.
1207         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
1209         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1210         Recode to scan one line at a time rather than having \n and \r
1211         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
1212         (c-forward-label): Amend for virtual semicolons.
1213         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
1215         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1216         of the new C macros.
1218         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
1219         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1220         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
1221         (c-opt-cpp-macro-define): Make into a full language variable.
1222         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1223         AWK Mode (including \n, \r) removed, no longer needed.
1225         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1226         Invoke c-make-macro-with-semi-re.
1228         * progmodes/cc-vars.el (c-macro-with-semi-re):
1229         (c-macro-names-with-semicolon): New variables.
1230         (c-make-macro-with-semi-re): New function.
1232 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1234         * vc/log-edit.el: Fill empty field rather than adding new one.
1235         (log-edit-add-field): New function.
1236         (log-edit-insert-changelog): Use it.
1238 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1240         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1242 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1244         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1245         (gdb--check-interpreter): New function.
1246         (gdb): Use it.
1248 2011-10-27  Glenn Morris  <rgm@gnu.org>
1250         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1251         (least-positive-float, least-negative-float)
1252         (least-positive-normalized-float, least-negative-normalized-float)
1253         (float-epsilon, float-negative-epsilon):
1254         Remove unnecessary declarations.
1256         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1257         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1258         (least-positive-float, least-negative-float)
1259         (least-positive-normalized-float, least-negative-normalized-float)
1260         (float-epsilon, float-negative-epsilon): Add doc-strings,
1261         based on those in cl.texi.
1263         * files.el (set-visited-file-name): If the major-mode changed,
1264         reload the local variables.  (Bug#9796)
1266 2011-10-27  Chong Yidong  <cyd@gnu.org>
1268         * subr.el (change-major-mode-after-body-hook): New hook.
1269         (run-mode-hooks): Run it.
1271         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1272         Use change-major-mode-before-body-hook.
1274         * simple.el (fundamental-mode):
1275         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1276         change introducing fundamental-mode-hook.
1278 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
1280         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
1282 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
1284         * ido.el (ido-file-name-all-completions-1): Do not require
1285         tramp.el explicitly.  (Bug#7583)
1287 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1289         * progmodes/octave-mod.el:
1290         * progmodes/octave-inf.el: Update maintainer.
1292 2011-10-26  Chong Yidong  <cyd@gnu.org>
1294         * subr.el (with-wrapper-hook): Rewrite doc.
1296 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
1298         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
1299         filenames "/method:foo:".  (Bug#9793)
1301 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1303         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1304         (bug#9865).
1306 2011-10-24  Glenn Morris  <rgm@gnu.org>
1308         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
1310 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
1312         * notifications.el: Add the requirement of a running D-Bus session
1313         bus to the Commentary.
1315 2011-10-24  Juri Linkov  <juri@jurta.org>
1317         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1318         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1319         (Bug#9364)
1321 2011-10-24  Juri Linkov  <juri@jurta.org>
1323         * info.el (Info-following-node-name-re): Add newline to the list
1324         of allowed characters for leading space.  (Bug#9824)
1326 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1328         * progmodes/octave-inf.el (inferior-octave-mode-map):
1329         Fix C-c C-h binding.
1330         * progmodes/octave-mod.el (octave-help): Remove.
1332 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
1334         Sync with Tramp 2.2.3.
1336         * net/tramp-cache.el (top): Pacify byte-compiler using
1337         `init-file-user' and `site-run-file'.
1339         * net/trampver.el: Update release number.
1341 2011-10-23  Chong Yidong  <cyd@gnu.org>
1343         * files.el (toggle-read-only): Remove obsolete comment about
1344         version control.
1346         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1347         for toggle-read-only.  Note that this hasn't called vc-next-action
1348         since 2008-05-02, though it wasn't documented at the time.
1350         * vc/ediff-init.el (ediff-toggle-read-only-function):
1351         Use toggle-read-only.
1353 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
1355         Fix bug #9560, sporadic wrong indentation; improve instrumentation
1356         of c-parse-state.
1358         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1359         correct faulty logical expression.
1360         (c-parse-state-state, c-record-parse-state-state):
1361         (c-replay-parse-state-state): New defvar/defuns.
1362         (c-debug-parse-state): Use new functions.
1364 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
1366         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
1367         last fix.  Use window-in-direction correctly.
1369 2011-10-21  Chong Yidong  <cyd@gnu.org>
1371         * progmodes/idlwave.el (idlwave-mode):
1372         * progmodes/vera-mode.el (vera-mode): No need to set
1373         require-final-newline; that's done in prog-mode.
1374         Suggested by Stefan Monnier.
1376 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
1378         * mouse.el (mouse-drag-window-above)
1379         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1380         (mouse-drag-mode-line-1, mouse-drag-header-line)
1381         (mouse-drag-vertical-line-rightward-window): Remove.
1382         (mouse-drag-line): New function.
1383         (mouse-drag-mode-line, mouse-drag-header-line)
1384         (mouse-drag-vertical-line): Call mouse-drag-line.
1385         * window.el (window-at-side-p, windows-at-side): New functions.
1387 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
1389         * tar-mode.el (tar-grind-file-mode):
1390         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
1392 2011-10-21  Chong Yidong  <cyd@gnu.org>
1394         * progmodes/idlwave.el (idlwave-mode):
1395         * progmodes/vera-mode.el (vera-mode):
1396         Use mode-require-final-newline.
1398 2011-10-20  Glenn Morris  <rgm@gnu.org>
1400         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
1402 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
1404         * emulation/cua-base.el (cua-set-mark): Fix case of string.
1406 2011-10-20  Chong Yidong  <cyd@gnu.org>
1408         * emulation/cua-base.el (cua-mode):
1409         * mail/footnote.el (footnote-mode):
1410         * mail/mailabbrev.el (mail-abbrevs-mode):
1411         * net/xesam.el (xesam-minor-mode):
1412         * progmodes/bug-reference.el (bug-reference-mode):
1413         * progmodes/cap-words.el (capitalized-words-mode):
1414         * progmodes/compile.el (compilation-minor-mode)
1415         (compilation-shell-minor-mode):
1416         * progmodes/gud.el (gud-tooltip-mode):
1417         * progmodes/hideif.el (hide-ifdef-mode):
1418         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1419         * progmodes/subword.el (subword-mode):
1420         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1421         * progmodes/which-func.el (which-function-mode):
1422         * term/tvi970.el (tvi970-set-keypad-mode):
1423         * term/vt100.el (vt100-wide-mode):
1424         * textmodes/flyspell.el (flyspell-mode):
1425         * textmodes/ispell.el (ispell-minor-mode):
1426         * textmodes/nroff-mode.el (nroff-electric-mode):
1427         * textmodes/paragraphs.el (use-hard-newlines):
1428         * textmodes/refill.el (refill-mode):
1429         * textmodes/reftex.el (reftex-mode):
1430         * textmodes/rst.el (rst-minor-mode):
1431         * textmodes/sgml-mode.el (html-autoview-mode)
1432         (sgml-electric-tag-pair-mode):
1433         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1434         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1435         * emulation/crisp.el (crisp-mode):
1436         * emacs-lisp/eldoc.el (eldoc-mode):
1437         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1438         minor mode behavior.
1440 2011-10-19  Juri Linkov  <juri@jurta.org>
1442         * descr-text.el (describe-char): Add #x2010 and #x2011 to
1443         the list of hard-coded chars with escape-glyph face.
1445 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1447         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1449 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
1451         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1452         running process.
1454 2011-10-19  Glenn Morris  <rgm@gnu.org>
1456         * vc/vc-bzr.el (vc-bzr-after-dir-status):
1457         Ignore ignored files.  (Bug#9726)
1459 2011-10-19  Chong Yidong  <cyd@gnu.org>
1461         Doc fix for minor modes, stating that an omitted argument enables
1462         the mode unconditionally when called from Lisp.
1464         * abbrev.el (abbrev-mode):
1465         * allout.el (allout-mode):
1466         * autoinsert.el (auto-insert-mode):
1467         * autoarg.el (autoarg-mode, autoarg-kp-mode):
1468         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1469         (global-auto-revert-mode):
1470         * battery.el (display-battery-mode):
1471         * composite.el (global-auto-composition-mode)
1472         (auto-composition-mode):
1473         * delsel.el (delete-selection-mode):
1474         * desktop.el (desktop-save-mode):
1475         * dired-x.el (dired-omit-mode):
1476         * dirtrack.el (dirtrack-mode):
1477         * doc-view.el (doc-view-minor-mode):
1478         * double.el (double-mode):
1479         * electric.el (electric-indent-mode, electric-pair-mode):
1480         * emacs-lock.el (emacs-lock-mode):
1481         * epa-hook.el (auto-encryption-mode):
1482         * follow.el (follow-mode):
1483         * font-core.el (font-lock-mode):
1484         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1485         * help.el (temp-buffer-resize-mode):
1486         * hilit-chg.el (highlight-changes-mode)
1487         (highlight-changes-visible-mode):
1488         * hi-lock.el (hi-lock-mode):
1489         * hl-line.el (hl-line-mode, global-hl-line-mode):
1490         * icomplete.el (icomplete-mode):
1491         * ido.el (ido-everywhere):
1492         * image-file.el (auto-image-file-mode):
1493         * image-mode.el (image-minor-mode):
1494         * iswitchb.el (iswitchb-mode):
1495         * jka-cmpr-hook.el (auto-compression-mode):
1496         * linum.el (linum-mode):
1497         * longlines.el (longlines-mode):
1498         * master.el (master-mode):
1499         * mb-depth.el (minibuffer-depth-indicate-mode):
1500         * menu-bar.el (menu-bar-mode):
1501         * minibuf-eldef.el (minibuffer-electric-default-mode):
1502         * mouse-sel.el (mouse-sel-mode):
1503         * msb.el (msb-mode):
1504         * mwheel.el (mouse-wheel-mode):
1505         * outline.el (outline-minor-mode):
1506         * paren.el (show-paren-mode):
1507         * recentf.el (recentf-mode):
1508         * reveal.el (reveal-mode, global-reveal-mode):
1509         * rfn-eshadow.el (file-name-shadow-mode):
1510         * ruler-mode.el (ruler-mode):
1511         * savehist.el (savehist-mode):
1512         * scroll-all.el (scroll-all-mode):
1513         * scroll-bar.el (scroll-bar-mode):
1514         * server.el (server-mode):
1515         * shell.el (shell-dirtrack-mode):
1516         * simple.el (auto-fill-mode, transient-mark-mode)
1517         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1518         (line-number-mode, column-number-mode, size-indication-mode)
1519         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1520         * strokes.el (strokes-mode):
1521         * time.el (display-time-mode):
1522         * t-mouse.el (gpm-mouse-mode):
1523         * tool-bar.el (tool-bar-mode):
1524         * tooltip.el (tooltip-mode):
1525         * type-break.el (type-break-mode-line-message-mode)
1526         (type-break-query-mode):
1527         * view.el (view-mode):
1528         * whitespace.el (whitespace-mode, whitespace-newline-mode)
1529         (global-whitespace-mode, global-whitespace-newline-mode):
1530         * xt-mouse.el (xterm-mouse-mode): Doc fix.
1532         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1533         Fix autogenerated docstring.
1535 2011-10-19  Juri Linkov  <juri@jurta.org>
1537         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1538         by checking environment variables "DESKTOP_SESSION" and
1539         "XDG_CURRENT_DESKTOP".  (Bug#9779)
1541 2011-10-19  Juri Linkov  <juri@jurta.org>
1543         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1544         (browse-url-chromium-program, browse-url-chromium-arguments):
1545         New defcustoms.
1546         (browse-url-default-browser): Check for `browse-url-chromium' and
1547         call `browse-url-chromium-program'.
1548         (browse-url-chromium): New command.  (Bug#9779)
1550 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
1552         * facemenu.el (list-colors-duplicates): On Windows, detect more
1553         duplicates by assuming that only colors matching "^System" are
1554         special "system colors".  (Bug#9722)
1556 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1558         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1559         to distinguish the author from the committer.
1561 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
1563         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1565 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
1567         * international/mule.el (sgml-html-meta-auto-coding-function):
1568         Add support for detecting encoding in HTML5 specified only as
1569         <meta charset="UTF-8">.  Implementation just makes http-equiv and
1570         content-type parts from HTML4 encoding string optional.  (Bug#9716)
1572 2011-10-18  Glenn Morris  <rgm@gnu.org>
1574         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
1576 2011-10-18  Chong Yidong  <cyd@gnu.org>
1578         * faces.el (cursor): Doc fix.
1580 2011-10-17  Chong Yidong  <cyd@gnu.org>
1582         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1584 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
1586         * dirtrack.el (dirtrack): Support shell buffers with path
1587         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
1589 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
1591         * json.el: Bump version to 1.3 and note change in History.
1592         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1594 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1596         * comint.el (comint-insert-input, comint-send-input)
1597         (comint-get-old-input-default, comint-backward-matching-input)
1598         (comint-next-prompt): Use nil instead of `input' for field property of
1599         past user input (bug#114).
1601         * minibuffer.el (completion--replace): Inherit surrounding properties
1602         (bug#114).
1603         (minibuffer-complete-and-exit): Use it.
1605         * comint.el (comint--table-subvert): Quote the all-completions output
1606         (bug#9160).
1608 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
1610         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
1612         * menu-bar.el (menu-bar-file-menu): Add entry for making new
1613         window on right of selected.  (Bug#9350) Reword other window
1614         entries and separate them from frame entries.
1616 2011-10-15  Glenn Morris  <rgm@gnu.org>
1618         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1619         Doc fixes.
1621 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
1623         * net/network-stream.el (network-stream-open-starttls):
1624         Improve detection of failure due to lack of TLS support.
1626         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1627         putting the input text in front and in bold.
1629 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1631         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1633         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1634         empty buffer.
1636         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1637         unread-command-events rather than pushing yet-another event.
1639 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
1641         * mail/sendmail.el (sendmail-query-once): Improve the wording of
1642         the explanation of the possible choices.  Make the options passed
1643         to completing-read shorter.
1645 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1647         * textmodes/flyspell.el (flyspell-large-region): Make sure
1648         extended character mode is used if defined (Bug#1339).
1650 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
1652         * simple.el (what-cursor-position): Fix the display of the
1653         character info for LRE, LRO, RLE, and RLO characters by appending
1654         an invisible PDF.
1656 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1659         even in case of error; add debug spec; simplify data flow.
1660         (with-timeout-handler): Remove.
1662 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
1664         Fix Bug#6019, Bug#9315.
1666         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1667         complete `buffer-file-name', the local file name part could look
1668         remotely (for example on VMS).
1670         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1671         `tramp-run-real-handler'.
1672         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1673         already quoted by '"'.
1675         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1676         Let `file-name-handler-alist' be nil, the local file name part
1677         could look remotely (for example on VMS).
1679 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1681         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1682         from here...
1683         (flyspell-post-command-hook): ...to here.
1685 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1687         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1688         if not needed.
1689         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
1690         using completion.  Protect against "slow" callers.
1691         Remove the "message hack".
1693 2011-10-11  Juri Linkov  <juri@jurta.org>
1695         * isearch.el (isearch-lazy-highlight-word): New variable.
1696         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1697         Use it.  (Bug#9727)
1699 2011-10-11  Glenn Morris  <rgm@gnu.org>
1701         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1702         like f90-previous-statement does.
1704 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1706         * eshell/eshell.el (eshell-command): History should be saved
1707         only in interactive use, to avoid error.
1709 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1711         * minibuffer.el (completion-file-name-table): Fix last change,
1712         i.e. ignore normal errors but not the other ones.
1714 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
1716         * window.el (special-display-buffer-names)
1717         (special-display-regexps): Remove some remnants of earlier
1718         changes from doc-strings.
1719         (quit-windows-on): New function.
1721         * vc/vc.el (vc-revert, vc-rollback):
1722         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1723         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
1724         (Bug#6183) (Bug#7074) (Bug#7447)
1726 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
1728         * window.el (frame-auto-hide-function): Add version tag.
1729         (Bug#9699)
1731 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
1733         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1734         condition.
1736 2011-10-09  Leo Liu  <sdl.web@gmail.com>
1738         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1739         (Bug#9701)
1741 2011-10-08  Glenn Morris  <rgm@gnu.org>
1743         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1744         before the first code statement zero indent.  (Bug#9690)
1746 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
1748         * simple.el (count-words-region): Always count in the region.
1749         Report the number of lines and characters too.
1750         (count-words): New command, which counts in the buffer if the
1751         region is inactive, as count-words-region used to.
1752         (count-words--message): New function.  Handle plurals.
1753         (count-lines-region): Make it an alias for count-words-region.
1755         * bindings.el (esc-map): Replace count-lines-region with
1756         count-words-region.
1758 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
1760         * window.el (window--delete): Delete dedicated frame
1761         unconditionally when argument KILL is non-nil.  (Bug#9699)
1762         (switch-to-buffer): Fix doc-string typo.
1764 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1766         * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1768 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
1770         * bindings.el ([M-left],[M-right]): Bind to left-word and
1771         right-word respectively.
1773 2011-10-07  Glenn Morris  <rgm@gnu.org>
1775         * cus-start.el (debug-on-quit): Fix custom type.
1777 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1779         * subr.el (define-key-after): Clarify that the function is not
1780         useful for non-menu keymaps.
1782         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1784 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1786         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
1787         in current minibuffer (Fix bug with recursive minibuffers).
1789 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
1791         * progmodes/gdb-mi.el (gdb): Doc fix.
1793 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
1795         * window.el (frame-auto-hide-function): New option replacing
1796         frame-auto-delete.  Suggested by Stefan Monnier.
1797         (window--delete): Call frame-auto-hide-function instead of
1798         investigating frame-auto-delete.
1799         (window-point-1, set-window-point-1): New functions.
1800         (window-in-direction, record-window-buffer, window-state-get-1)
1801         (display-buffer-record-window): Use window-point-1 instead of
1802         window-point.
1803         (set-window-buffer-start-and-point): Use set-window-point-1.
1805 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1807         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1809 2011-10-05  Glenn Morris  <rgm@gnu.org>
1811         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1812         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
1814 2011-10-05  Leo Liu  <sdl.web@gmail.com>
1816         * subr.el (read-char-choice): Fix argument to buffer-live-p which
1817         works with buffer object.
1819 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1821         * mpc.el (mpc-tool-bar-map): Add labels.
1823 2011-10-04  Glenn Morris  <rgm@gnu.org>
1825         * calendar/holidays.el (calendar-check-holidays): Doc fix.
1827 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
1829         * window.el (window--delete): New function.
1830         (frame-auto-delete): Resuscitate option.
1831         (bury-buffer, replace-buffer-in-windows)
1832         (quit-window): Rewrite using window--delete.
1833         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1834         Pass display-buffer-mark-dedicated to window--display-buffer-2
1835         (Bug#9639).
1837 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1839         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1840         returns a list (bug#9554).  Add remote file name completion.
1841         * comint.el (comint--table-subvert): Curry and get quote&unquote
1842         functions as arguments.
1843         (comint--complete-file-name-data): Adjust call accordingly.
1844         * pcomplete.el (pcomplete--table-subvert): Remove.
1845         (pcomplete-completions-at-point): Use comint--table-subvert instead.
1847         * minibuffer.el (completion-table-case-fold): Use currying.
1848         (completion--styles-type, completion--cycling-threshold-type):
1849         New constants.
1850         (completion-styles, completion-category-overrides)
1851         (completion-cycle-threshold): Use them.
1852         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1853         completion-table-case-fold.
1855 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
1857         * minibuffer.el (completion-category-overrides): Fix type of styles
1858         and add more user friendly tags (bug#9660).
1860 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1863         (mule-input-method-string): New widget.
1864         (default-input-method, language-info-custom-alist): Use it.
1866 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1868         * pcomplete.el: Require comint.
1869         (pcomplete--common-suffix): Remove.
1870         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1871         (pcomplete--table-subvert): Sync with comint--table-subvert.
1872         (pcomplete--entries): Use comint-completion-file-name-table.
1873         * comint.el (comint-unquote-filename): Simplify.
1874         (comint-completion-file-name-table): New function (bug#9616).
1875         (comint--complete-file-name-data): Use it.
1877         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1878         (pcmpl-gnu-tar-buffer): Remove.
1879         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1880         around.  Make sure pcomplete-suffix-list is only changed temporarily.
1881         Don't look inside the tar's file if it's too large.
1883 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
1885         * cus-edit.el (custom-mode-map):
1886         * epa.el (epa-key-list-mode-map):
1887         * man.el (Man-mode-map):
1888         * startup.el (splash-screen-keymap):
1889         * simple.el (special-mode-map): Use scroll-up-command and
1890         scroll-down-command.
1892         * progmodes/idlw-help.el (idlwave-help-mode-map):
1893         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1894         * net/newst-plainview.el (newsticker-mode-map):
1895         * emulation/ws-mode.el (wordstar-mode-map):
1896         * emulation/vi.el (vi-com-map):
1897         * calc/calc-graph.el (calc-graph-show-dumb):
1898         * term/sun.el (terminal-init-sun):
1899         * term/ns-win.el (global-map):
1900         * progmodes/grep.el (grep-mode-map):
1901         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1902         * mail/rmail.el (rmail-mode-map):
1903         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1905         * custom.el (custom-safe-themes, load-theme): Treat value of t for
1906         custom-safe-themes as special.
1908 2011-10-01  Julien Danjou  <julien@danjou.info>
1910         * notifications.el (notifications-notify): Fix docstring.
1912 2011-10-01  Per Starbäck  <per@starback.se>
1914         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
1916 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
1918         * startup.el (command-line-1): Fix last fix by inserting
1919         initial-scratch-message into *scratch* before displaying it.
1920         (Bug#9605) and (Bug#9636)
1922 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
1924         * simple.el (line-move): If auto-hscroll-mode is disabled and the
1925         window is hscrolled, move by logical lines.  (Bug#9607)
1926         (line-move-visual): Update the doc string to the above effect.
1928 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
1930         * window.el (display-buffer-record-window): When WINDOW is the
1931         selected window use `point' instead of `window-point'.  (Bug#9626)
1933         * startup.el (command-line-1): Use insert-before-markers when
1934         inserting initial-scratch-message.  (Bug#9605)
1936         * help.el (help-window): Remove variable.
1938 2011-09-29  Glenn Morris  <rgm@gnu.org>
1940         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1942 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
1944         * descr-text.el (describe-char-categories): Accept category
1945         descriptions more than one line long.
1947 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1949         * simple.el (delete-trailing-whitespace): Fix last change.
1951         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1952         Don't confuse "y => 3" as the beginning of a `y' operation.
1954         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1955         object has more than 4 slots (bug#9613).
1957 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
1959         * subr.el (with-output-to-temp-buffer):
1960         * net/quickurl.el (quickurl, quickurl-browse-url):
1961         Fix typos in docstrings.
1963 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
1965         * minibuffer.el (completion-styles)
1966         (completion-category-overrides): Cross reference each other in doc
1967         strings.
1969 2011-09-27  Glenn Morris  <rgm@gnu.org>
1971         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1972         to split-string.  (Bug#9606)
1974 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1976         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1977         (bug#9615).
1979 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
1981         * emacs-lisp/package.el (list-packages): Fix echo area message.
1983 2011-09-27  Leo Liu  <sdl.web@gmail.com>
1985         * ido.el (ido-read-internal): Accept cons cell HIST arg.
1987 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
1989         * net/dbus.el (dbus-unregister-object): Don't release services for
1990         registered signals.  (Bug#9581)
1992 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
1994         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1995         function that picks between cfengine 2 and 3 support
1996         automatically.  Update docs accordingly.
1998 2011-09-22  Kenichi Handa  <handa@m17n.org>
2000         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2001         ZERO.
2002         (indian-itrans-v5-table-for-tamil): New variable.
2003         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2005 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
2007         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2008         that's true if the current command involved collapsing of text.
2009         It's reset to false at the beginning of the next command.
2010         (allout-post-command-business): Move the cursor to the beginning
2011         of entry if the cursor is hidden and collapsing activity just
2012         happened.
2014 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
2016         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2017         tracking (Bug#9541).
2019 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
2021         * net/newst-reader.el (newsticker-html-renderer)
2022         (newsticker-show-news): Automatically
2023         load html rendering package if newsticker-html-renderer is set.
2024         Fixes "Warning: defvar ignored because w3m-fill-column is
2025         let-bound" and the error "Symbol's value as variable is void:
2026         w3m-fill-column".
2028 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
2030         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2031         Release services only if they are defined.  (Bug#9581)
2033 2011-09-23  Richard Stallman  <rms@gnu.org>
2035         * textmodes/paragraphs.el (forward-sentence): For backwards case,
2036         distinguish start of paragraph from start of its text.
2038         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2040         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2041         (rmail-generate-viewer-buffer): Put that hook on view buffer.
2042         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2044 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
2046         * international/mule-diag.el (mule-diag): Insert a newline after
2047         each fontset description.
2049 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2051         * simple.el (delete-trailing-whitespace):
2052         Document last change; simplify.
2054 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
2056         * simple.el (delete-trailing-whitespace): Also delete
2057         extra newlines at the end of the buffer.
2059         * textmodes/picture.el: Make motion commands obey shift-select-mode.
2060         (picture-newline): Use forward-line so as to ignore fields.
2062 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2064         * subr.el (with-wrapper-hook): Fix edebug spec.
2066 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2068         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2069         (bug#4538).
2071 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
2073         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2074         Fix nasty bug using wrong cached values.
2076 2011-09-23  Alan Mackenzie  <acm@muc.de>
2078         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2080 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
2082         * window.el (pop-to-buffer): Ensure right window is selected if we
2083         chose another frame.
2085 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
2087         * simple.el (what-cursor-position): Use get-char-property-change
2088         and next-single-char-property-change, to be able to show display
2089         properties that come from overlays as well as text properties.
2091 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
2093         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2095         * cmuscheme.el (run-scheme, switch-to-scheme):
2096         * cus-edit.el (customize-group, custom-buffer-create)
2097         (customize-browse):
2098         * info.el (info):
2099         * shell.el (shell):
2100         * mail/sendmail.el (mail):
2101         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2103 2011-09-22  Richard Stallman  <rms@gnu.org>
2105         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2106         move back only to line beg, don't move back over blank lines.
2108 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
2110         * files.el (copy-directory): Set directory attributes only in case
2111         they could be retrieved from the source directory.  (Bug#9565)
2113 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
2115         * progmodes/hideshow.el (hs-looking-at-block-start-p)
2116         (hs-find-block-beginning, hs-hide-level-recursive):
2117         Ignore strings as well as comments.  (Bug#9502)
2119 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
2121         * progmodes/sql.el (sql-comint-postgres):
2122         Convert port number to a string.  (Bug#9566)
2124 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
2126         * window.el (quit-window): Undedicate window when switching to
2127         previous buffer.  Reported by Thierry Volpiatto
2128         <thierry.volpiatto@gmail.com>.
2129         (special-display-popup-frame): When popping up a new frame reset
2130         its previous buffers to nil.  Simplify code.
2132 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
2134         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2135         and process filter, as done also in `shell-command'.
2137 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
2139         * window.el (set-window-buffer-start-and-point):
2140         Call set-window-start with NOFORCE argument t.  Suggested by Thierry
2141         Volpiatto <thierry.volpiatto@gmail.com>.
2142         (quit-window): Reword doc-string.  Handle new format of
2143         quit-restore parameter.  Don't delete window if it has a
2144         previous buffer we can show instead of the present one.
2145         (display-buffer-record-window): Rewrite using a new format for
2146         the quit-restore window parameter
2147         (special-display-popup-frame, display-buffer-same-window)
2148         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2149         (display-buffer-pop-up-window, display-buffer-use-some-window):
2150         Adapt symbol passed to display-buffer-record-window.
2151         * help.el (help-window-setup): Handle new format of quit-restore
2152         parameter.
2154 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2156         * faces.el (face-list): Fix docstring (bug#9564).
2158         * window.el (display-buffer--action-function-custom-type):
2159         Don't include internal functions in the Custom interface.
2161 2011-09-20  Juri Linkov  <juri@jurta.org>
2163         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2164         (Info-forward-node, Info-backward-node, Info-next-preorder)
2165         (Info-last-preorder): Use it.  (Bug#9528)
2167 2011-09-20  Juri Linkov  <juri@jurta.org>
2169         * info.el (Info-last-preorder): Visit last menu item only when
2170         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2172 2011-09-20  Julien Danjou  <julien@danjou.info>
2174         * password-cache.el (password-cache-remove): Remove entries even if the
2175         value is nil, so that password with a nil value (negative caching) is
2176         possible to invalidate.
2178 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
2180         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2181         all whitespace around breakpoint.  (Bug#9553)
2182         (f90-find-breakpoint): Only break at whitespace inside a comment.
2184 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2186         * minibuffer.el (completion-file-name-table): Keep track of errors.
2187         (completion-table-with-predicate): Handle the case where pred1 is nil.
2188         * pcomplete.el (pcomplete-completions-at-point): Simplify.
2190 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2192         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2193         (debugger-return-value): Signal an error if the debugging context does
2194         not await any return value.
2196         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2197         * image-mode.el (image-toggle-display-text)
2198         (image-toggle-display-image): Stay away from evil `intangible'.
2200 2011-09-19  Leo Liu  <sdl.web@gmail.com>
2202         * replace.el (occur-revert-arguments): Make it permanent-local.
2203         (occur-mode): Don't call font-lock-defontify.
2205 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
2207         * net/ldap.el (ldap-search-internal): Don't push empty search
2208         result (Bug#9508).
2210 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2212         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2214 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
2216         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2217         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2219 2011-09-18  Juri Linkov  <juri@jurta.org>
2221         * buff-menu.el (Buffer-menu-mode-map):
2222         * dired.el (dired-mode-map):
2223         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2224         (lisp-interaction-mode-map):
2225         * emacs-lisp/package.el (package-menu-mode-map):
2226         * epa.el (epa-key-list-mode-map):
2227         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2228         (menu-bar-options-menu):
2229         * outline.el (outline-mode-menu-bar-map):
2230         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2231         * vc/vc-dir.el (vc-dir-menu-map):
2232         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2233         Capitalize non-function content words in menu item strings.
2235         * dired.el (dired-mode-map): Add menu item for
2236         `image-dired-dired-toggle-marked-thumbs'.
2238 2011-09-18  Juri Linkov  <juri@jurta.org>
2240         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2241         to `isearch-case-fold-search' and restore its original value
2242         after the `isearch-mode' call.
2244 2011-09-18  Juri Linkov  <juri@jurta.org>
2246         * progmodes/grep.el (grep-process-setup): Don't check code for 1
2247         because `zgrep' returns 1 for successful matches (bug#9226).
2249 2011-09-18  Juri Linkov  <juri@jurta.org>
2251         * info.el (Info-extract-menu-node-name): Check the second match
2252         for empty string (second test-case of bug#9528).
2253         (Info-last-preorder): Let-bind `Info-history' to nil to not add
2254         intermediate nodes to the history (first test-case of bug#9528).
2256 2011-09-18  Juri Linkov  <juri@jurta.org>
2258         * info.el (Info-mode-syntax-table): New variable.
2259         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.  (Bug#3312)
2261 2011-09-18  Juri Linkov  <juri@jurta.org>
2263         * info.el (Info-file-supports-index-cookies): Increment
2264         line-beginning-position's arg from 3 to 4 because makeinfo outputs
2265         one more line for long file names (bug#4142).
2267 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
2269         * newcomment.el (comment-normalize-vars): If prompting for
2270         comment-start, set comment-start-skip too (Bug#8424).
2272 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
2274         * icomplete.el: Fix previous fix of Bug#5849.
2275         (icomplete-mode): Don't set completion-show-inline-help.
2276         (icomplete-minibuffer-setup): Set completion-show-inline-help
2277         locally during icompletion.
2279 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
2281         * woman.el (woman2-process-escapes): Don't delete unrecognized
2282         escapes (Bug#7843).
2284         * files.el (inhibit-first-line-modes-regexps): Add image files.
2285         (hack-local-variables-prop-line): Return nil for malformed
2286         prop-lines (Bug#9044).
2288 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
2290         * net/tramp.el (top): Don't require 'shell.
2291         (tramp-methods): Fix docstring.
2292         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
2293         Return complete remote file name.  Handle "smb" case.
2294         Use `tramp-tmpdir', if defined for the respective method.
2295         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2297         * net/tramp-compat.el (top): Require 'shell.
2299         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2300         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2301         `tramp-current-host'.
2302         (tramp-get-remote-tmpdir): Remove.
2304         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2305         `tramp-tmpdir' entries.
2306         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2307         (tramp-smb-handle-file-attributes): Ignore errors.
2308         (tramp-smb-wait-for-output): Check also for process end.
2310 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2312         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2313         when sending QUIT (bug#9312).
2315 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
2317         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2318         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2319         occur-mode-display-occurrence.
2320         (occur-edit-mode): Add usage message.
2321         (occur-cease-edit): New command.
2322         (occur-after-change-function): Use text properties to find the
2323         position of the prefix text.
2324         (occur-engine): Set stickiness of prefix text properties.
2326 2011-09-17  Glenn Morris  <rgm@gnu.org>
2328         * progmodes/etags.el (complete-tag):
2329         Fix call to completion-in-region.  (Bug#9526)
2331 2011-09-17  Juri Linkov  <juri@jurta.org>
2333         * textmodes/ispell.el (ispell-word): Add to the error message
2334         the word, ispell program name and current dictionary (bug#9121).
2335         (ispell-tex-arg-end): Capitalize "error" in the error message.
2337 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
2339         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2340         check.  (Bug#4251)
2342 2011-09-17  Juri Linkov  <juri@jurta.org>
2344         * window.el (window-safe-min-height, window-safe-min-width):
2345         Fix typos (followup to bug#9522).
2347 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
2349         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2351 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
2353         * simple.el (line-move): If goal-column is set, move by logical
2354         lines, not by display lines.  (Bug#971)
2355         (next-line, previous-line, goal-column, line-move-visual): Doc fix
2356         to reflect the above change.
2358 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2360         * image.el (imagemagick-register-types): Use regexp-opt.
2362 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
2364         * window.el (display-buffer-base-action): Rename from
2365         display-buffer-default-action.  Make default value empty.
2366         (display-buffer-overriding-action): Convert to defvar.
2367         (display-buffer-fallback-action): New var.
2369 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
2371         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2372         declaration.
2373         (package--add-to-archive-contents): If there is a duplicate entry
2374         with an older version, remove it.
2375         (package-menu-mark-delete, package-menu-mark-install)
2376         (package-menu-mark-unmark): Make unused args optional.
2377         (package-menu-mark-obsolete-for-deletion):
2378         Use package-menu-get-status instead of a regexp search.
2379         (package-menu-get-status): Use tabulated-list-entry.
2380         (package-menu-mark-upgrades): New command.
2381         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
2382         (package-menu-execute): Do installation before deletion.
2383         (package-menu-refresh, package-menu-execute): Use derived-mode-p
2384         instead of checking major-mode.
2385         (package-menu--find-upgrades): New function.
2387 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2389         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2390         passwords in the log buffer.
2391         (smtpmail-process-filter): Update the process marker so that the
2392         "broken by peer" status message is inserted in the right place.
2394 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2396         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2397         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2398         bibtex-completion-at-point-function.
2399         (bibtex-completion-at-point-function): Use them.
2401         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2403         * mpc.el (mpc-constraints-tag-lookup): New function.
2404         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2405         also to browser "album|playlist".
2407 2011-09-14  Juri Linkov  <juri@jurta.org>
2409         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
2410         (isearch-edit-string): Use length of `isearch-string' when
2411         `isearch-fail-pos' returns nil.
2412         (isearch-message): Remove duplicate code and call
2413         `isearch-fail-pos' with arg `t'.
2415 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
2417         * replace.el (occur-mode-goto-occurrence): Don't force using other
2418         window (Bug#9499).
2420         * dired-aux.el (dired-do-chmod): Don't provide initial input.
2422 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
2424         * window.el (display-buffer-window): Remove.
2425         (display-buffer-record-window): Use help-setup window parameter
2426         instead of variable display-buffer-window.
2427         (display-buffer-function, special-display-buffer-names)
2428         (special-display-function): Mention help-setup parameter instead
2429         of display-buffer-window in doc-string.
2430         * help.el (help-window-setup): New argument help-window.
2431         Use help-window-setup parameter instead of display-buffer-window.
2432         Reword some messages.
2433         (with-help-window): Pass window used for displaying the buffer
2434         to help-window-setup.  Don't set display-buffer-window.
2436 2011-09-13  Glenn Morris  <rgm@gnu.org>
2438         * emacs-lisp/debug.el (debugger-make-xrefs):
2439         Preserve point.  (Bug#9462)
2441 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
2443         * window.el (window-deletable-p): Use next-frame.
2445 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
2447         * window.el (window-auto-delete): Remove.
2448         (window-deletable-p): Remove argument FORCE.  Don't deal with
2449         dedication and previous buffers.
2450         (switch-to-prev-buffer): Don't delete window.
2451         (delete-windows-on): Delete a window's frame if and only if the
2452         window is dedicated.
2453         (replace-buffer-in-windows): Delete buffer's window or frame if
2454         and only if window is dedicated.
2455         (quit-window): Handle quit-restore as before last change.
2456         (bury-buffer): Delete window only if window-deletable-p returns t.
2458 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
2460         * window.el (window-deletable-p): Never delete the last frame on a
2461         given terminal.
2463 2011-09-13  Glenn Morris  <rgm@gnu.org>
2465         * help.el (describe-key-briefly): Copy previous standard-output change.
2467 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
2469         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
2471 2011-09-13  Glenn Morris  <rgm@gnu.org>
2473         * emacs-lisp/lisp-mode.el (lisp-indent-function):
2474         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2476 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
2478         * dired-aux.el (dired-mark-read-string): Don't return default
2479         value on empty input (Bug#9361).
2480         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2481         Omit initial minibuffer contents.
2482         (dired-do-chmod): Signal an error on empty input.
2483         (dired-mark-read-string): Don't return default on empty input.
2485         * files.el (file-modes-symbolic-to-number): Doc fix.
2487 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2489         * international/mule-cmds.el (ucs-completions): Remove.
2490         (read-char-by-name): Use complete-with-action instead; add metadata.
2492 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
2494         * window.el (display-buffer--action-function-custom-type)
2495         (display-buffer--action-custom-type): New vars.
2496         (display-buffer-alist, display-buffer-default-action)
2497         (display-buffer-overriding-action): Add defcustom types.
2499         * frame.el (delete-other-frames): Doc fix (Bug#276).
2501 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2503         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2505 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
2507         Change modes that used same-window-* vars to use switch-to-buffer.
2509         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2510         Use switch-to-buffer.
2512         * cus-edit.el (customize-group, custom-buffer-create)
2513         (customize-browse, custom-buffer-create-other-window):
2514         Use switch-to-buffer or switch-to-buffer-other-window.
2516         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2517         (Info-prev, Info-up, Info-speedbar-goto-node)
2518         (info-display-manual): Use switch-to-buffer.
2519         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2521         * mail/sendmail.el (mail): Use switch-to-buffer.
2522         (mail-recover): Use switch-to-buffer-other-window.
2524         * cmuscheme.el (run-scheme, switch-to-scheme):
2525         * ielm.el (ielm):
2526         * shell.el (shell):
2527         * net/rlogin.el (rlogin):
2528         * net/telnet.el (telnet, rsh):
2529         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2531 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
2533         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2535 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2537         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2538         so don't mention it (bug#9301).
2539         (dired-sort-toggle-or-edit): Clarify string further.
2541         * faces.el (face-spec-set-match-display): Make `(type graphic)'
2542         match `x', `w32' and `ns', like the manual says (bug#9029).
2544         * subr.el (eval-after-load): Doc string clarification (bug#9125).
2545         (process-kill-buffer-query-function): Mention the buffer name in
2546         the query.
2548         * image-mode.el (image-next-line): The line parameter is mandatory
2549         (bug#9258).
2551         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2552         which can be useful (bug#9301).
2554         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2556         * subr.el (match-string): Mention that the current buffer should
2557         be the same as the search was done in (bug#9282).
2559         * facemenu.el: Disable the remove-* commands if the mark isn't
2560         active (bug#9162).
2562 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
2564         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2565         of display-buffer.
2566         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2568         * replace.el (occur-mode-goto-occurrence)
2569         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2570         and display-buffer.
2572         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2573         display-buffer.
2575         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2576         special-display and same-window variables.
2577         (mail-other-window): Use switch-to-buffer-other-window.
2578         (mail-other-frame): USe switch-to-buffer-other-frame.
2580         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2581         Use display-buffer-other-frame.
2582         (gdb-display-gdb-buffer): Use pop-to-buffer.
2584         * progmodes/gud.el (gud-goto-info): Use info-other-window.
2586         * progmodes/python.el: Don't set same-window-buffer-names.
2588         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2590         * window.el (display-buffer-alist): Add *Python*.
2592 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
2594         * window.el (display-buffer-alist): Add entry for buffers
2595         previously handled same-window-*.
2596         (display-buffer-alist, display-buffer-default-action)
2597         (display-buffer-overriding-action): Mark as risky.
2598         (display-buffer-alist): Document action function changes.
2599         (display-buffer--same-window-action)
2600         (display-buffer--other-frame-action): New variables.
2601         (switch-to-buffer, display-buffer-other-frame): Use them.
2602         (display-buffer): Rename reuse-frame entry to reusable-frames.
2603         (display-buffer-reuse-selected-window): Function deleted.
2604         (display-buffer-reuse-window): Handle reusable-frames alist entry.
2605         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2606         (display-buffer-special): New function.
2607         (display-buffer--maybe-pop-up-frame-or-window): Rename from
2608         display-buffer-reuse-or-pop-window.  Split off special-display
2609         part into display-buffer-special.
2610         (display-buffer-use-some-window): Don't perform any special
2611         pop-up-frames handling.
2612         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
2613         (display-buffer--maybe-same-window): Rename from
2614         display-buffer-maybe-same-window.
2616         * info.el: Don't set same-window-regexps.
2617         (info-setup): New function.
2618         (info-other-window, info): Call it.
2620         * cus-edit.el: Don't set same-window-regexps.
2621         (customize-group): New argument.
2622         (customize-group-other-window): Use it.
2623         (customize-face, customize-face-other-window): Likewise.
2624         (custom-buffer-create-other-window): Use pop-to-buffer directly.
2626         * net/rlogin.el:
2627         * net/telnet.el:
2628         * progmodes/gud.el: Don't set same-window-regexps.
2630         * cmuscheme.el:
2631         * ielm.el:
2632         * shell.el:
2633         * mail/sendmail.el:
2634         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2636 2011-09-10  Juri Linkov  <juri@jurta.org>
2638         * isearch.el (isearch-edit-string): Remove obsolete mention of
2639         `C-w' (`isearch-yank-word-or-char') from docstring.
2640         (isearch-query-replace): Fix typo in docstring (bug#9466).
2642 2011-09-10  Juri Linkov  <juri@jurta.org>
2644         * paren.el (show-paren-function): Don't show escaped parens.
2645         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
2647 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
2649         * mail/sendmail.el (mml-to-mime, mml-attach-file)
2650         (mm-default-file-encoding): Remove autoload forms, they are
2651         replaced with autoload cookies in mml.el and mm-encode.el.
2652         (mail-add-attachment): New command.
2653         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2654         (mail-mode): Mention mail-insert-file and mail-add-attachment in
2655         the doc string.
2656         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2658 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
2660         * simple.el (count-words-region): Use buffer if there's no region
2661         (bug#9429).
2663 2011-09-09  Juri Linkov  <juri@jurta.org>
2665         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2666         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2667         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
2669 2011-09-09  Alan Mackenzie  <acm@muc.de>
2671         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2672         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
2674 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
2676         Fix for Savannah bug#9392.
2677         * simple.el (mail-encode-mml): New defvar.
2679         * mail/rmail.el (mail-encode-mml): Add a defvar.
2680         (rmail-enable-mime-composing): Default to t.
2681         (rmail-forward): Use MIME method of forwarding only if both
2682         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2683         Set mail-encode-mml non-nil if the MIME method was used.
2685         * mail/sendmail.el (mml-to-mime): Add autoload form.
2686         (mail-encode-mml): Add a defvar.
2687         (mail-mode): Make mail-encode-mml buffer-local and initialize it
2688         to nil.
2689         (mail-send): If mail-encode-mml is non-nil, run the outgoing
2690         message through mml-to-mime, and reset mail-encode-mml to nil.
2692 2011-09-09  Glenn Morris  <rgm@gnu.org>
2694         * woman.el (woman-if-body): When processing an .el block,
2695         do not delete the next .el block as well.  (Bug#9447)
2696         (woman-special-characters): Add oq, cq, and hy characters.
2698 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
2700         * window.el (window-deletable-p): Make sure window is live before
2701         invoking window-prev-buffers.
2703 2011-09-08  Leo Liu  <sdl.web@gmail.com>
2705         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
2707 2011-09-08  Juri Linkov  <juri@jurta.org>
2709         * progmodes/compile.el (compilation-environment): Make it
2710         a defcustom (bug#8340).
2712 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
2714         * window.el (frame-auto-delete): Rename to window-auto-delete.
2715         Make it control auto-deletion of windows and/or frames.
2716         (window-deletable-p): New argument FORCE.  Rewrite conditions
2717         for deleting window/frame.  (Bug#9419)
2718         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2719         Rewrite handling of case when window/frame can be deleted.
2720         (delete-windows-on): Call window-deletable-p with new FORCE
2721         argument t.  (Bug#9456)
2723 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
2725         * help-mode.el (help-mode): Restore autoload.
2727 2011-09-07  Juri Linkov  <juri@jurta.org>
2729         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2730         `compilation-environment'.  Set buffer-local
2731         `compilation-environment' to `thisenv' later after (funcall mode).
2732         (Bug#8340)
2734         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
2735         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2736         instead of replacing its value.  (Bug#8340)
2738 2011-09-07  Juri Linkov  <juri@jurta.org>
2740         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2741         based on text properties put by `grep-filter' instead of matching
2742         escape sequences.
2743         (grep-mode): Set buffer-local `compilation-error-screen-columns'
2744         to the value of `grep-error-screen-columns' (bug#9438).
2746 2011-09-07  Juri Linkov  <juri@jurta.org>
2748         * simple.el (next-error-highlight, next-error-highlight-no-select):
2749         Doc fix (bug#9432).
2751 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
2753         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2754         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
2756 2011-09-07  Leo Liu  <sdl.web@gmail.com>
2758         * net/rcirc.el (rcirc-mode): Conditionally initialize
2759         rcirc-input-ring.
2761 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2763         * emacs-lisp/find-func.el (find-function-C-source): Only set
2764         find-function-C-source-directory after checking that we found a source
2765         file there (bug#9440).
2767 2011-09-06  Alan Mackenzie  <acm@muc.de>
2769         * isearch.el (isearch-other-meta-char): Wherever a key list is
2770         unread, "unread" the prefix arg, too.  This fixes bug #8901.
2772 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
2774         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2776 2011-09-05  Juri Linkov  <juri@jurta.org>
2778         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2780 2011-09-05  Juri Linkov  <juri@jurta.org>
2782         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2783         keeping point where processing of grep matches begins, and
2784         continue to delete remaining escape sequences from the same point.
2785         (grep-filter): Make leading zero optional in "0?1;31m" because
2786         git-grep emits "\033[1;31m" escape sequences unlike expected
2787         "\033[01;31m" as GNU Grep does (bug#9408).
2788         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2790 2011-09-05  Juri Linkov  <juri@jurta.org>
2792         * subr.el (y-or-n-p): Capitalize "yes".
2794 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
2796         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
2797         `tramp-cache-unload-hook' where appropriate.
2798         (tramp-methods): Rename `tramp-remote-sh' to
2799         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
2800         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2802         * net/tramp-sh.el (top): Don't require 'shell.
2803         (tramp-methods): Add `tramp-remote-shell' and
2804         `tramp-remote-shell-args' entries.
2805         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2806         (tramp-sh-handle-shell-command): Remove.
2807         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2808         Use `tramp-remote-shell'.
2810 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
2812         * mail/sendmail.el (sendmail-query-once-function): Delete.
2813         (sendmail-query-once): Save directly to send-mail-function.
2814         Update message-send-mail-function too.
2816         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2818 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
2820         * progmodes/python.el (python-mode-map): Use correct function to
2821         start python interpreter from menu-bar (as reported by Geert
2822         Kloosterman).
2823         (inferior-python-mode-map): Fix typo.
2824         (python-shell-map): Remove.
2826 2011-09-03  Deniz Dogan  <deniz@dogan.se>
2828         * net/rcirc.el (rcirc-print): Simplify code for
2829         rcirc-scroll-show-maximum-output.  There is no need to walk
2830         through all windows to find the right one.
2832 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
2834         * help.el (help-return-method): Doc fix.
2836 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
2838         * window.el (window-deletable-p): Don't return a non-nil value
2839         when there's a buffer that was shown in the window before.
2840         (Bug#9419)
2841         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2842         Set window's previous buffers to nil.
2844 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
2846         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2847         newline before and after the tag line, so it doesn't interfere
2848         with determining the paragraph direction of bidirectional text.
2850 2011-09-03  Leo Liu  <sdl.web@gmail.com>
2852         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
2854 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
2856         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
2857         (pop-to-buffer): Change interactive spec.  Pass second argument
2858         directly to display-buffer.
2859         (display-buffer): Fix interactive spec.  Use functionp to
2860         distinguish between a function and a list of functions.
2862         * abbrev.el (edit-abbrevs):
2863         * arc-mode.el (archive-extract):
2864         * autoinsert.el (auto-insert):
2865         * bookmark.el (bookmark-bmenu-list):
2866         * files.el (find-file):
2867         * view.el (view-buffer):
2868         * progmodes/compile.el (compilation-goto-locus):
2869         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2871 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
2873         * window.el (display-buffer-alist): Doc fix.
2874         (display-buffer): Add docstring.  Don't treat
2875         display-buffer-default specially.
2876         (display-buffer-reuse-selected-window)
2877         (display-buffer-same-window, display-buffer-maybe-same-window)
2878         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2879         (display-buffer-pop-up-window)
2880         (display-buffer-reuse-or-pop-window)
2881         (display-buffer-use-some-window): New functions.
2882         (display-buffer-default-action): Use them.
2883         (display-buffer-default): Delete.
2884         (pop-to-buffer-1): Fix choice of actions.
2886 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2888         * minibuffer.el (completion--insert-strings): Don't get confused by
2889         completion entries that end with an LF char.
2891 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
2893         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2895 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
2897         * window.el (display-buffer): Restore interactive spec.
2898         (display-buffer-same-window, display-buffer-other-window):
2899         New functions.
2900         (pop-to-buffer-1): New function.  Use the above.
2901         (pop-to-buffer, pop-to-buffer-same-window): Use it.
2902         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
2904         * view.el (view-buffer-other-window, view-buffer-other-frame):
2905         Just use pop-to-buffer.
2907 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2909         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
2911 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
2913         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
2915 2011-08-31  Richard Stallman  <rms@gnu.org>
2917         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2918         of the separation of rmail-view-buffer from rmail-buffer.
2919         If you say no to "replace original", the decrypt is in the
2920         view buffer.  If you say yes, the decrypt goes into the
2921         rmail buffer also.
2923 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
2925         * window.el (display-buffer-window): Rewrite doc-string.
2926         (display-buffer-record-window): New function.
2927         (display-buffer-macro-specifiers)
2928         (display-buffer-even-window-sizes, display-buffer-set-height)
2929         (display-buffer-set-width, display-buffer-in-window)
2930         (display-buffer-reuse-window, display-buffer-split-specifiers)
2931         (display-buffer-side-specifiers, display-buffer-split-window-1)
2932         (display-buffer-split-window, display-buffer-split-atom-window)
2933         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2934         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2935         (display-buffer-other-window-means-other-frame)
2936         (display-buffer-normalize-special)
2937         (display-buffer-normalize-default)
2938         (display-buffer-normalize-argument)
2939         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2940         (display-buffer-normalize-specifiers, display-buffer-frame)
2941         (display-buffer-same-window, display-buffer-same-frame)
2942         (display-buffer-other-window)
2943         (display-buffer-same-frame-other-window)
2944         (display-buffer-other-frame, pop-to-buffer-same-window)
2945         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2946         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2947         (switch-to-buffer-same-frame)
2948         (switch-to-buffer-other-window-same-frame)
2949         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2950         (display-buffer-alist-set-1, display-buffer-alist-set-2)
2951         (display-buffer-alist-set): Remove.
2952         (display-buffer-function, special-display-buffer-names)
2953         (special-display-regexps, special-display-function):
2954         In doc-string refer to display-buffer-window and quit-restore
2955         parameter.
2956         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2957         (special-display-frame-alist, special-display-popup-frame)
2958         (same-window-buffer-names, same-window-regexps, same-window-p)
2959         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2960         (split-window-preferred-function, split-height-threshold)
2961         (split-width-threshold, window-splittable-p)
2962         (split-window-sensibly, window--try-to-split-window)
2963         (window--frame-usable-p, even-window-heights)
2964         (window--even-window-heights, window--display-buffer-1)
2965         (window--display-buffer-2, display-buffer-other-frame):
2966         Restore old Emacs 23 code, order and doc-strings where applicable.
2967         (display-buffer-default, display-buffer-assq-regexp): New functions.
2968         (display-buffer-alist): Rewrite doc-string.
2969         (display-buffer-default-action)
2970         (display-buffer-overriding-action): New variables.
2971         (display-buffer, switch-to-buffer): Rewrite.
2972         (pop-to-buffer): Restore Emacs 23 behavior but use
2973         window-normalize-buffer-to-display.
2974         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2975         Restore Emacs 23 behavior but use
2976         window-normalize-buffer-to-switch-to.
2977         (pop-to-buffer-same-window): Rewrite.
2978         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2979         Rewrite using Emacs 23 options.
2981 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
2983         * net/tramp.el (tramp-root-regexp): Remove.
2984         (tramp-completion-file-name-regexp-unified)
2985         (tramp-completion-file-name-regexp-separate)
2986         (tramp-completion-file-name-regexp-url): Don't use leading volume
2987         letter on win32 systems.  (Bug#5303, Bug#9311)
2988         (tramp-drop-volume-letter): Simplify definition.
2989         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2991 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2993         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2994         (bug#9356).
2996 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
2998         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
3000 2011-08-29  Juri Linkov  <juri@jurta.org>
3002         * isearch.el (isearch-done): Don't display message "Mark saved"
3003         when arg `edit' is non-nil to prevent its flicker in the echo area.
3005 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
3007         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3008         obsolete packages for deletion.
3010 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
3012         * help-mode.el (help-mode-map): Add special-mode-map to parent.
3013         (help-mode): Derive help-mode from special-mode.  Don't invoke
3014         view-mode from help-mode.
3015         (help-xref-override-view-map): Remove.
3016         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3017         view-mode is not used anymore.
3019 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
3021         * server.el (server-port): Doc fix.
3023         * cus-theme.el (custom-theme-choose-mode): Inherit from
3024         special-mode (Bug#9124).
3025         (custom-theme-choose-mode-map): Add special-mode to parent.
3027 2011-08-28  Alan Mackenzie  <acm@muc.de>
3029         * progmodes/cc-fonts.el
3030         (c-make-font-lock-BO-decl-search-function): New function.
3031         (c-basic-matchers-after - "Fontify the clauses after various
3032         keywords"): Extract the three keyword lists for the 3 erroneous
3033         constructs from the list of four, and use the new function above
3034         in place of an old one.
3036 2011-08-28  Deniz Dogan  <deniz@dogan.se>
3038         * net/rcirc.el (rcirc-insert-prev-input)
3039         (rcirc-insert-next-input): Remove unused argument.
3041 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3043         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3045 2011-08-27  Alan Mackenzie  <acm@muc.de>
3047         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3048         handle function pointer parameters properly.
3050 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
3052         * window.el (display-buffer-reuse-window): Fix case where
3053         selected window was reused with non-nil OTHER-WINDOW argument.
3054         (Bug#9381)
3056 2011-08-27  Deniz Dogan  <deniz@dogan.se>
3058         * net/rcirc.el (rcirc-check-auth-status): Adding support for
3059         oftc's NickServ messages.
3061 2011-08-27  Glenn Morris  <rgm@gnu.org>
3063         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
3065 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
3067         * emacs-lisp/package.el (package-install): Call package-initialize
3068         if called interactively.
3070 2011-08-26  Leo Liu  <sdl.web@gmail.com>
3072         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
3074 2011-08-25  Juri Linkov  <juri@jurta.org>
3076         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3077         `search-whitespace-regexp' (bug#9364).
3079 2011-08-25  Juri Linkov  <juri@jurta.org>
3081         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3082         `regexp-search-ring' to their global values to protect from
3083         updating by `read-from-minibuffer' (bug#9185).
3085 2011-08-25  Juri Linkov  <juri@jurta.org>
3087         * textmodes/ispell.el (ispell-command-loop): Add newline
3088         at the end of the "Use option `i'..." line.
3090 2011-08-25  Juri Linkov  <juri@jurta.org>
3092         * battery.el (display-battery-mode): If `battery-status-function'
3093         or `battery-mode-line-format' is nil, display the message and set
3094         `display-battery-mode' to nil (bug#9363).
3096 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
3098         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3099         bidi-string-mark-left-to-right; they are unnecessary now.
3101 2011-08-25  Deniz Dogan  <deniz@dogan.se>
3103         * net/quickurl.el: Documentation typo fixes.
3105 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
3107         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3109 2011-08-25  Glenn Morris  <rgm@gnu.org>
3111         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3113         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3114         (smtpmail-via-smtp): Handle nil response from smtp.
3116 2011-08-24  Juri Linkov  <juri@jurta.org>
3118         * proced.el (proced-marked): Inherit from `error' instead of
3119         `font-lock-warning-face'.
3121         * ibuffer.el (ibuffer-marked-face): Change default face from
3122         `font-lock-warning-face' to `warning'.
3123         (ibuffer-deletion-face): Change default face from
3124         `font-lock-type-face' to `error'.
3126         * battery.el (battery-update): Use the face `error' instead of
3127         `font-lock-warning-face' (bug#6117).
3129 2011-08-24  Juri Linkov  <juri@jurta.org>
3131         * faces.el (success): Change face color from "Green3" to
3132         "ForestGreen" on light background (bug#9353).
3134 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
3136         * window.el (quit-window): Rename from quit-restore-window.
3137         Use same arglist as old quit-window.
3138         (frame-auto-delete): Doc fix.
3140         * view.el (view-mode-exit): Use quit-window.
3142 2011-08-24  Juri Linkov  <juri@jurta.org>
3144         * isearch.el (isearch-ring-adjust1): Start visiting previous
3145         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3146         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3147         for empty search string (when the last search string is reused
3148         automatically) to adjust the isearch ring to the last element and
3149         prepare the correct index for further M-p commands (bug#9185).
3151 2011-08-24  Kenichi Handa  <handa@m17n.org>
3153         * international/ucs-normalize.el: If decomposition property of
3154         CHAR is the default one (i.e. a list of CHAR itself), treat it as
3155         nil.
3156         (nfd, nfkd): Likewise.
3158 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3160         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3161         from process filters aren't reliably transmitted to the surrounding
3162         accept-process-output.
3163         (mpc-proc-check): New function.
3164         (mpc-proc-sync): Use it (bug#8293)
3166 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3168         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3169         Add compatibility functions (bug#9313).
3171 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
3173         * cus-start.el (all): Add entry for bidi-paragraph-direction.
3175         * international/uni-bidi.el: Regenerated.
3177 2011-08-23  Kenichi Handa  <handa@m17n.org>
3179         * international/charprop.el:
3180         * international/uni-bidi.el:
3181         * international/uni-category.el:
3182         * international/uni-combining.el:
3183         * international/uni-comment.el:
3184         * international/uni-decimal.el:
3185         * international/uni-decomposition.el:
3186         * international/uni-digit.el:
3187         * international/uni-lowercase.el:
3188         * international/uni-mirrored.el:
3189         * international/uni-name.el:
3190         * international/uni-numeric.el:
3191         * international/uni-old-name.el:
3192         * international/uni-titlecase.el:
3193         * international/uni-uppercase.el: Regenerate.
3195 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
3197         * help.el (help-window-setup): Fix message displayed when other
3198         window is reused.  (Bug#9341)
3200 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3202         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3203         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3205         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3206         Mark obsolete.
3207         * shell.el (shell-parse-pcomplete-arguments): New function.
3208         (shell-completion-vars): Use it instead (bug#9160).
3210 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3212         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3213         strings and comments (bug#9333).
3215         * emacs-lisp/debug.el (debug-arglist): New function.
3216         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
3217         (debug-on-entry-1): Handle interpreted closures (bug#9120).
3219 2011-08-22  Juri Linkov  <juri@jurta.org>
3221         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3222         Revert regexp that highlights output switches to its old
3223         pre-2010-10-28 value and remove one `?' from it (bug#9319).
3225         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3226         to check for empty output (bug#9226).
3228 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
3230         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3231         symbol-constituent as the default, as that stops font-lock from
3232         working properly (Bug#8843).
3234 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3236         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3237         `coding-system-for-*' around the process open call to avoid
3238         auth-source side effects.
3239         (smtpmail-try-auth-methods): Expand the secret password.
3240         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3241         probe hangs.
3243 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
3245         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3247         * emacs-lisp/find-func.el (find-function-noselect): New arg
3248         lisp-only.
3250         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3251         signal an error for built-in functions (Bug#6664).
3253 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3255         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3256         (smtpmail-try-auth-methods): Use it.
3258 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
3260         * font-lock.el (font-lock-fontify-region)
3261         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3262         (font-lock-default-unfontify-buffer)
3263         (font-lock-default-fontify-region)
3264         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3266         * progmodes/compile.el (compilation-error-properties):
3267         Fix confusion between file struct and message struct (Bug#9319).
3268         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3269         `ant' regexp.
3271         * net/browse-url.el (browse-url-firefox): Don't call
3272         browse-url-firefox-sentinel unless using -remote (Bug#9328).
3274 2011-08-20  Glenn Morris  <rgm@gnu.org>
3276         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3278         * tutorial.el (tutorial--default-keys): Update some default bindings.
3280         * files.el (hack-local-variables): Fully ignore case for "mode:".
3282 2011-08-20  Alan Mackenzie  <acm@muc.de>
3284         Resolve invalid use of a regexp in regexp-opt.
3286         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3287         detection for a java annotation.
3289         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
3290         detection for a java annotation.
3292         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3293         handling for java.
3294         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3296 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
3298         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3299         (Bug#9274).
3301 2011-08-20  Alan Mackenzie  <acm@muc.de>
3303         Fontify CPP expressions correctly when starting in the middle of
3304         such a construct.  Mainly for when jit-lock etc. starts a chunk
3305         here.
3307         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
3308         variable.
3309         (c-make-font-lock-search-form): New function, extracted from
3310         c-make-font-lock-search-function.
3311         (c-make-font-lock-search-function): Use the above function.
3312         (c-make-font-lock-context-search-function): New function.
3313         (c-cpp-matchers): Enhance the preprocessor expression case with
3314         the above function
3315         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3316         which takes an expression.
3318         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3320 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
3322         * window.el (display-buffer-reuse-window)
3323         (display-buffer-pop-up-window): Don't reuse or split a side
3324         window.
3326 2011-08-19  Glenn Morris  <rgm@gnu.org>
3328         * files.el (hack-local-variables-prop-line, hack-local-variables):
3329         Downcase "Mode:".  (Bug#9331)
3331 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
3333         * international/characters.el: Add L and R categories.
3335         * subr.el (bidi-string-mark-left-to-right): Rename from
3336         string-mark-left-to-right.  Use category search.
3338         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3340 2011-08-18  Juri Linkov  <juri@jurta.org>
3342         * faces.el (error, warning, success): New faces with definitions
3343         copied from old default values of `font-lock-warning-face',
3344         `compilation-warning', `compilation-info' (bug#6117).
3346         * font-lock.el (font-lock-warning-face): Inherit from `error'.
3348         * progmodes/compile.el (compilation-error): Inherit from `error'.
3349         (compilation-warning): Inherit from `warning'.
3350         (compilation-info): Inherit from `success'.
3352         * dired.el (dired-marked): Inherit from `warning'.
3353         (dired-flagged): Inherit from `error'.
3355 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3357         * mail/smtpmail.el (auth-source): Require to avoid problems with
3358         binding variables (bug#9298).  Also clean up some unused
3359         autoloads.
3361         * net/network-stream.el (network-stream-open-starttls):
3362         Support using starttls.el without using gnutls-cli.
3364 2011-08-17  Juri Linkov  <juri@jurta.org>
3366         * progmodes/grep.el (rgrep): Handle the case when
3367         `grep-find-command' is a cons cell (bug#9278).
3369 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
3371         * window.el (display-buffer-pop-up-frame): Run frame creation
3372         function with BUFFER current (as special-display-popup-frame
3373         does).  Reported by Drew Adams.
3375 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
3377         * epa-mail.el: Simplify GnuPG group expansion using
3378         epg-expand-group.
3379         (epa-mail-group-alist, epa-mail-group-modtime)
3380         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3381         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3382         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3383         Remove.
3385 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
3387         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3389 2011-08-16  Alan Mackenzie  <acm@muc.de>
3391         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3392         Correct, to avoid the inside of macros.
3394 2011-08-16  Richard Stallman  <rms@gnu.org>
3396         * epa-mail.el: Handle GnuPG group definitions.
3397         (epa-mail-group-alist, epa-mail-group-modtime)
3398         (epa-mail-gnupg-conf-file): New variables.
3399         (epa-mail-parse-groups, epa-mail-sync-groups)
3400         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3401         (epa-mail-expand-recipients): New functions.
3402         (epa-mail-encrypt): Call epa-mail-expand-recipients.
3404         * mail/rmail.el (rmail-epa-decrypt): New command.
3406         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3407         Don't bind buffer-read-only, just inhibit-read-only.
3408         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3409         (epa-decrypt-armor-in-region): Make error message clearer.
3411 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3413         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3414         and "a2b" to "ab" for `prefix'.
3416 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
3418         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3419         filter groups.
3420         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
3421         Fourquet (Bug#8804).
3423 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
3425         * startup.el (argi): Declare as global variable (bug#9275).
3427 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
3429         * subr.el (string-mark-left-to-right): Search the entire string
3430         for RTL script, not just the terminating character.  Doc fix.
3432 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3434         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3435         New function.
3436         (js--regexp-literal, js-syntax-propertize-function): Remove.
3437         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3438         (js-mode-map): Don't rebind electric keys.
3439         (js-insert-and-indent): Remove.
3440         (js-mode): Setup electric-layout and electric-indent instead.
3442         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3444 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
3446         * epa.el (epa-progress-callback-function): Fix the logic of
3447         displaying progress.
3448         * epa-file.el (epa-file-insert-file-contents): Make progress
3449         display more user-friendly.
3450         (epa-file-write-region): Ditto.
3452 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
3454         * subr.el (string-mark-left-to-right): New function.
3456         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3457         Use string-mark-left-to-right.
3458         (list-buffers-noselect): Caller changed.
3460         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3461         Use string-mark-left-to-right.
3462         (tabulated-list-print): Recenter after moving point.
3464 2011-08-10  Juri Linkov  <juri@jurta.org>
3466         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3467         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3468         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3470 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
3472         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3473         (Bug#7554).
3475 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3477         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3478         character.  (Bug#6594)
3480 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
3482         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3483         (image-dired--with-db-file): New macro.
3484         (image-dired-write-tags, image-dired-remove-tag)
3485         (image-dired-create-gallery-lists, image-dired-write-comments)
3486         (image-dired-get-comment, image-dired-mark-tagged-files)
3487         (image-dired-list-tags, image-dired-gallery-generate): Use it.
3488         (image-dired-gallery-generate): Use insert-file-contents.
3490         * time.el (display-time-world-list, display-time-world-display):
3491         * time-stamp.el (time-stamp-string):
3492         * vc/add-log.el (add-change-log-entry): Use setenv instead of
3493         set-time-zone-rule (Bug#7337).
3495 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
3497         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3498         (epg-error-to-string, epg-errors-to-string): New function.
3499         (epg-wait-for-completion): Reverse errors list.
3500         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3501         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3502         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3503         (epg-sign-keys, epg-generate-key-from-file)
3504         (epg-generate-key-from-string): Format errors by using
3505         epg-errors-to-string (bug#9255).
3506         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3508 2011-08-07  Juri Linkov  <juri@jurta.org>
3510         * faces.el (list-faces-display): Remove extra angle bracket
3511         from `help-mode-map'.
3513         * info.el (Info-history-toc-nodes): Doc fix.
3515         * longlines.el (longlines-mode): Doc fix.
3517 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3519         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3520         of statements and in a few more cases (bug#9183).
3522         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3523         New functions.
3524         (cl-transform-lambda): Use them (bug#9239).
3526 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
3528         * window.el (display-buffer-same-window)
3529         (display-buffer-same-frame, display-buffer-other-window)
3530         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3531         (pop-to-buffer-other-window)
3532         (pop-to-buffer-same-frame-other-window)
3533         (pop-to-buffer-other-frame): Make them defuns.
3534         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3536 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3538         * subr.el (make-composed-keymap): Move from C.  Change calling
3539         convention, and improve docstring to bring attention to a subtle point.
3540         * minibuffer.el (completing-read-default): Adjust accordingly.
3542 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
3544         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3545         (tramp-open-shell): Use `tramp-shell-quote-argument'.
3547         * net/trampver.el: Update release number.
3549 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3552         "in" (bug#9190).
3554 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3556         * mail/sendmail.el (sendmail-query-once): Restore the current
3557         buffer after querying (bug#9074).
3559         * dired.el (dired-flagged): Use different faces for marked and
3560         flagged files (bug#6117).
3562         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3563         (bug#4433).
3565         * ido.el (ido-mode): Switch off the message if called
3566         non-interactively.
3568         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3569         before 587, since it appears that that's more likely to work for
3570         more people.
3572         * cus-edit.el (custom-file): When running under emacs -q, always
3573         refuse to save the customizations, even if the .emacs file doesn't
3574         exist.
3576         * info.el: Remove the `Info-beginning-of-buffer' function
3577         (bug#8325).
3579         * net/network-stream.el (network-stream-open-starttls):
3580         Use `starttls-available-p' to see whether starttls.el can be used.
3582 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
3584         * window.el (display-buffer-in-window): Don't set dedicated status
3585         of window here (Bug#9215).
3586         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3587         (display-buffer-pop-up-side-window)
3588         (display-buffer-in-side-window): Set dedicated status of window here.
3590 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3592         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3593         before binding generated-autoload-file.
3595 2011-08-01  Deniz Dogan  <deniz@dogan.se>
3597         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3599 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
3601         Sync with Tramp 2.2.2.
3603         * net/trampver.el: Update release number.
3605 2011-07-30  Juri Linkov  <juri@jurta.org>
3607         * dired-aux.el (dired-touch-initial): Remove function.
3608         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3609         current time, and `default' to the last modification time of the
3610         current marked file (bug#6887).
3612 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
3614         * simple.el (goto-line): Use string-to-number to provide a
3615         numeric argument to read-number (bug#9163).
3617 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
3619         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3620         connection process, it could be nil.
3622 2011-07-27  Leo Liu  <sdl.web@gmail.com>
3624         Simplify url handling in rcirc-mode.
3626         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3627         (rcirc-browse-url-at-mouse): Remove.
3628         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3630 2011-07-26  Alan Mackenzie  <acm@muc.de>
3632         Fontify bitfield declarations properly.
3634         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3635         (c-symbol-chars): Now exported as a lang variable.
3636         (c-not-primitive-type-keywords): New lang variable.
3638         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3639         QT keyword "more" to prevent "more slots: ...." being spuriously
3640         parsed as a bitfield declaration.
3642         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3643         Refactor and enhance to handle bitfield declarations.
3644         (c-punctuation-in): New function.
3645         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3646         declarations properly.
3648 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
3650         * calendar/icalendar.el (icalendar--all-events): Take care of
3651         multiple vcalendars in a single file.
3652         (icalendar--convert-float-to-ical): Checkdoc fixes.
3654 2011-07-25  Deniz Dogan  <deniz@dogan.se>
3656         * image.el (insert-image): Clarifying docstring.
3658 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
3660         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3661         `tramp-send-command-and-check' if there is no error.
3662         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3664 2011-07-22  Alan Mackenzie  <acm@muc.de>
3666         Prevent cc-langs.elc being loaded at run time.
3668         * progmodes/cc-mode.el: Remove two autoload forms which loaded
3669         cc-langs.
3671         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
3672         "(require 'cc-langs)".  Quote a form so it will evaluate at
3673         (cc-mode's) compilation time.
3675 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
3677         * net/tramp.el (tramp-file-name-handler): Avoid recursive
3678         loading.  (Bug#9114)
3680 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
3682         * window.el (display-buffer-pop-up-window)
3683         (display-buffer-pop-up-side-window)
3684         (display-buffer-in-side-window): Call display-buffer-set-height
3685         and display-buffer-set-width after setting the new window's
3686         buffer so `fit-window-to-buffer' and friends work on the right buffer.
3688 2011-07-20  Sam Steingold  <sds@gnu.org>
3690         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3691         (etags-tags-included-tables): Call `convert-standard-filename' on
3692         the file names contained in TAGS so that windows Emacs can handle
3693         TAGS files created by cygwin ctags.
3695 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3697         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3698         which apparently didn't work.
3700 2011-07-19  Roland Winkler  <winkler@gnu.org>
3702         * proced.el (proced-send-signal): For *Marked Processes* buffer
3703         put point at beginning of buffer.
3705 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
3707         * proced.el (proced-format): Make header lines align with the text
3708         (bug#1779).
3710 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3712         * view.el (view-buffer): Allow running in `special' modes if we're
3713         visiting a file (bug#8615).
3715 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
3717         * window.el (display-buffer-alist-of-strings-p)
3718         (display-buffer-alist-set-1, display-buffer-alist-set-2):
3719         New functions.
3720         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3721         more accurately.
3723 2011-07-18  Alan Mackenzie  <acm@muc.de>
3725         Fontify declarators properly when, e.g., a jit-lock chunk begins
3726         inside a declaration.
3728         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3730         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3731         New function.
3732         (c-complex-decl-matchers): Insert reference to
3733         c-font-lock-enclosing-decls.
3735         * progmodes/cc-engine.el (c-backward-single-comment):
3736         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3737         to nil around calls to (forward-comment -1).
3739 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3741         * image.el (put-image): Doc typo fix.
3743         * progmodes/etags.el (tags-search): Doc typo fix.
3745         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3746         password if we get errors 550 to 554.
3748 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3750         * net/gnutls.el (gnutls-log-level): Remove.
3752         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3753         indentation character (bug#6380).
3755         * files.el (buffer-offer-save): Made permanently local (bug#6241).
3757         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3758         to clarify what the problem is (bug#4291).
3760         * simple.el (current-kill): Clarify what
3761         `interprogram-paste-function' does (bug#7500).
3762         (auto-fill-mode): Document `auto-fill-function' in relation to
3763         `auto-fill-mode' (bug#2470).
3765 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
3767         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3768         method if slot is read-only (bug#9035).
3770 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
3772         * frame.el (select-frame-set-input-focus): New argument NORECORD.
3773         * window.el (pop-to-buffer): Select window used even if it was
3774         selected before, see discussion of (Bug#8615), (Bug#6954).
3775         Pass argument NORECORD on to select-frame-set-input-focus.
3777 2011-07-15  Glenn Morris  <rgm@gnu.org>
3779         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
3780         Respect help-form.
3782 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
3784         * net/gnutls.el (gnutls-min-prime-bits): New variable.
3785         (gnutls-negotiate): Use it.
3787 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3789         * net/gnutls.el (gnutls-negotiate):
3790         Upcase `gnutls-algorithm-priority'.
3792 2011-07-15  Glenn Morris  <rgm@gnu.org>
3794         * jka-compr.el (jka-compr-verbose): Move from here...
3795         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
3796         Add missing :version tag.
3797         * info.el: No need to require jka-compr when compiling.
3799 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3801         * net/gnutls.el (gnutls-algorithm-priority): New variable.
3802         (gnutls-negotiate): Use it.
3804         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3806         * info.el (Info-beginning-of-buffer): New command.
3807         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3808         announcing `b' as the key (bug#8325).
3809         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
3811         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3813         * international/mule-cmds.el
3814         (describe-specified-language-support): Make the error message
3815         clearer (bug#8905).
3817         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3819         * isearch.el (isearch-barrier): Add a doc string, since it's
3820         mentioned in a function doc string (bug#8678).
3822 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
3824         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3825         buffer argument (Bug#9083) and self-identifying label argument.
3827 2011-07-15  Glenn Morris  <rgm@gnu.org>
3829         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
3831 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3833         * man.el (Man-fontify-manpage): Fix message when formatting the
3834         man page (bug#7929).
3836 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
3838         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3839         argument LRM; if non-nil, append an invisible LRM character to the
3840         buffer name.
3841         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3842         last argument non-nil, when formatting buffer names.
3843         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3844         paragraph direction.
3846 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3848         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3849         the man page name (bug#7929).
3851         * image.el (put-image): Mention the `put-image' overlay property
3852         (bug#7834).
3854         * scroll-bar.el (set-scroll-bar-mode): Mention that
3855         `scroll-bar-mode' lists the values (bug#7772).
3857         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3858         command (bug#7729).
3860         * rect.el (apply-on-rectangle): Return the point after the last
3861         operation.
3862         (string-rectangle): Go to the point after the last operation
3863         (bug#7522).
3865         * printing.el (pr-toggle-region): Clarify the documentation
3866         slightly (bug#7493).
3868         * time.el (display-time-update):
3869         Allow `display-time-mail-function' to return nil (bug#7158).
3870         Fix suggested by Detlev Zundel.
3872         * vc/diff.el (diff): Clarify the order the file names are read
3873         (bug#7111).
3875         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3876         the doc string (bug#7015).
3878         * font-lock.el (font-lock-maximum-decoration): Mention what
3879         numeric levels mean (bug#6935).
3881         * startup.el (initial-buffer-choice): Don't mention the `none'
3882         selection, which is against policy.
3884 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
3886         * window.el (display-buffer-normalize-special):
3887         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
3889 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
3891         * subr.el (version<, version<=, version=): Mention "-CVS" and
3892         "-12345" alpha version numbers.
3894 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
3896         * bindings.el: Add advertised binding for set-mark-command
3897         (Bug#5772).
3899 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
3901         * bindings.el (mode-line-other-buffer):
3902         * bookmark.el (bookmark-bmenu-2-window):
3903         * bs.el (bs-cycle-next, bs-cycle-previous):
3904         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3905         switch-to-buffer.
3907         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3908         Delete.
3910 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
3912         * follow.el (follow-debug-message, follow-redisplay):
3913         * jka-cmpr-hook.el (with-auto-compression-mode):
3914         Fix typos in docstrings.
3916 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3918         * subr.el (with-silent-modifications): Clarify somewhat what the
3919         macro inhibits (bug#6525).
3921         * simple.el (eval-expression): Note what it does if called
3922         interactively (bug#6495).
3924 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
3926         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3927         Use pop-to-buffer buffer-or-name if it is nil.
3929         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3930         Remove switch-to-buffer.
3932 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3934         * files.el (make-directory): Clarify that an error will be raised
3935         if there's an error (bug#6397).
3937         * startup.el (initial-buffer-choice): Add `none' as a choice
3938         (bug#6234).
3940         * subr.el (add-hook): Clarify section about buffer-local hooks
3941         (bug#6218).
3943         * dired.el (dired-flagged): Clarify doc string (bug#6117).
3945 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
3947         * tabify.el (untabify): Preserve the current column so that point
3948         doesn't move (bug#6032).
3950 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3952         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3953         Rewrite to avoid awkward possessive "s" (bug#5986).
3955 2011-07-13  Glenn Morris  <rgm@gnu.org>
3957         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
3958         (dired-insert-directory): Give a message the first time
3959         if ls is found not to support --dired.
3961 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3963         * simple.el (toggle-truncate-lines): Clarify what is toggled
3964         (bug#5580).  Text by Drew Adams.
3966 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
3968         * simple.el (blink-matching-open): Make the error message from the
3969         last change less verbose.
3971 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
3973         * font-lock.el (font-lock-comment-face): Use the high contrast
3974         "yellow" color for font-lock-comment-face on low color terminals
3975         using a dark background color (bug#4221).
3977 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3979         * dired.el (dired-insert-set-properties): Make the doc string
3980         reflect what it does now (bug#5325).
3982         * simple.el (blink-matching-open): Say that we were unable to find
3983         the match within the limit, if we're limited (bug#5122).
3985         * international/mule-cmds.el (prefer-coding-system): Add an
3986         example (bug#4869).
3988         * progmodes/etags.el (tags-search): Document `file-list-form'
3989         (bug#4731).
3991 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
3993         * net/browse-url.el (browse-url-default-browser)
3994         (browse-url-browser-function): Make the default browser choice a
3995         bit more logical (bug#4300).  Also clean up the doc string.
3997 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
3999         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4000         binary endings (bug#4440).
4002 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4004         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4005         which can be pretty annoying (bug#8971).
4007         * jka-compr.el (jka-compr-verbose): New variable, and use
4008         throughout (bug#8971).
4010         * info.el (Info-find-file): Fall back on the installation
4011         directory if we can't find the info node anywhere else.
4013 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
4015         * vc/vc.el (vc-revert-file):
4016         Don't set file time-stamp in the past.  (Bug#5181)
4018 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4020         * files.el (after-find-file): Give a better error message when
4021         trying to find a symlink that points to a file that doesn't exist
4022         (bug#4398).
4024         * progmodes/cc-vars.el: Remove (probably) misleading comment
4025         (bug#4396).
4027 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
4029         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4031 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
4033         * mouse-sel.el: Hack restoring functionality, while keeping
4034         compatibility with 2010-07-03 changes to mouse selection.
4035         (mouse-sel-primary-overlay): New var.
4036         (mouse-sel-selection-alist): Use it.
4037         (mouse-sel-mode): Doc fix; remove points that are default features
4038         of mouse.el.
4040 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
4042         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4043         Fix previous fix (bug#2490).
4045 2011-07-12  Roland Winkler  <winkler@gnu.org>
4047         * textmodes/bibtex.el (bibtex-initialize):
4048         Use pop-to-buffer-same-window.
4049         (bibtex-search-entries): Fix interactive call.
4051 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4053         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4054         Fontise bytecomp Error lines more correctly (bug#2490).
4055         Fix suggested by Johan Bockgård.
4057         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4059         * dired-x.el (dired-guess-default): Use `delete-dups'.
4061 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
4063         * dired.el (dired-mark-prompt):
4064         * dired-aux.el (dired-read-shell-command): Doc fix.
4066 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4068         * mail/sendmail.el (sendmail-query-once):
4069         Use `customize-save-variable' unconditionally, now that it works under
4070         emacs -Q.
4072         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4074         * cus-edit.el (custom-file): Take an optional no-error variable.
4075         (customize-save-variable): Set the variable, and give a warning if
4076         running under "emacs -q".
4078 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
4080         * loadhist.el (unload-feature-special-hooks):
4081         Add `auto-coding-functions', `fill-nobreak-predicate' and
4082         `find-directory-functions' (bug#5327).
4084 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4086         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4088         * cus-edit.el (custom-guess-name-alist): -alist variables should
4089         use the `alist' type (bug#3120).  Suggested by Drew Adams.
4091         * printing.el: Add documentation to all the `pr-toggle-' commands.
4093 2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
4095         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4096         backends where it makes sense (bug#2623).
4098 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4100         * dired-x.el (dired-guess-default): Remove duplicate shell command
4101         entries (bug#2028).
4102         (dired-guess-default): Fix grammar in doc string (bug#2028).
4103         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
4105         * subr.el (remove-duplicates): New conveniency function.
4107 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4109         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4110         (bug#1526).
4112 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
4114         * window.el (display-buffer-normalize-default): Don't invert
4115         meaning of even-window-heights.  Reported by Eli Zaretskii
4116         <eliz@gnu.org>.
4118 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
4120         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4122 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
4124         * window.el (display-buffer): Fix arguments to
4125         display-buffer-reuse-window in last change.
4127         * faces.el (link): Use a less saturated blue on light backgrounds.
4129         * startup.el (fancy-startup-text, fancy-about-text)
4130         (fancy-startup-tail): Use font-lock faces, for background safety.
4132 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
4134         * emulation/viper-cmd.el (viper-change-state-to-vi):
4135         Limit triggering of abbrev expansion (Bug#9038).
4137 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
4139         * window.el (display-buffer-default-specifiers): Remove.
4140         (display-buffer-macro-specifiers): Remove default specifiers.
4141         (display-buffer-alist): Default to nil.
4142         (display-buffer-reuse-window): New optional argument other-window.
4143         (display-buffer-pop-up-window): Allow splitting internal
4144         windows.  Check whether a live window was created.
4145         (display-buffer-other-window-means-other-frame)
4146         (display-buffer-normalize-arguments): Rename to
4147         display-buffer-normalize-argument and rewrite.  Set the
4148         other-window specifier.
4149         (display-buffer-normalize-special): New function.
4150         (display-buffer-normalize-options): Rename to
4151         display-buffer-normalize-default and rewrite.
4152         (display-buffer-normalize-options-inhibit): Remove.
4153         (display-buffer-normalize-specifiers): Rewrite.
4154         (display-buffer): Process other-window specifier and call
4155         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
4156         more faithfully.
4157         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4158         (display-buffer-alist-set): Don't handle 'unset default values.
4159         (display-buffer-in-window, display-buffer-alist-set):
4160         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
4161         <tassilo@member.fsf.org>.
4163 2011-07-09  Leo Liu  <sdl.web@gmail.com>
4165         * register.el (insert-register): Restore accidental change on
4166         2011-06-26.  (Bug#9028)
4168 2011-07-09  Glenn Morris  <rgm@gnu.org>
4170         * subr.el (remq): Handle the empty list.  (Bug#9024)
4172 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
4174         * mail/sendmail.el (send-mail-function): No longer delay custom
4175         initialization.
4176         * custom.el (custom-initialize-delay): Doc fix.
4178 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4180         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4182 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
4184         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4185         human-friendly prompt.
4187 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4189         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4190         provided by a particular plugin.
4192 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4194         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4195         save customizations (with "emacs -Q"), just set the variable
4196         instead of erroring out.
4198         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4200 2011-07-08  Juri Linkov  <juri@jurta.org>
4202         * arc-mode.el (archive-zip-expunge, archive-zip-update)
4203         (archive-zip-update-case): Use 7z if found by `executable-find'.
4204         The order of searching the available programs is the same as in
4205         `archive-zip-extract' (bug#8968).
4207 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
4209         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4210         (menu-bar-options-menu): Tweak descriptions.
4212 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4214         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4215         menu items into verb phrases (bug#1421).  Also refill to fit under
4216         80 columns.
4218 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
4220         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4221         (Info-read-node-name): Doc fix (Bug#1084).
4223         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4224         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4225         (end-of-sexp, beginning-of-sexp)
4226         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4227         (forward-symbol, forward-same-syntax, word-at-point)
4228         (sentence-at-point): Doc fix (Bug#1144).
4230 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4232         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4233         should cover it (bug#1281).
4235         * cus-edit.el (custom-show): Mark as obsolete.
4237         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
4238         negotiation fails, then possibly try again with a non-encrypted
4239         connection (bug#9017).
4241         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4242         be used.
4244 2011-07-07  Richard Stallman  <rms@gnu.org>
4246         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4247         property, and handle its changed format.
4248         Look for the correct line number.
4249         Use file's line contents (but not past first =) to find
4250         correct line in message.
4252 2011-07-07  Kenichi Handa  <handa@m17n.org>
4254         * international/characters.el (build-unicode-category-table):
4255         Delete it.
4256         (unicode-category-table): Set it by unicode-property-table-internal.
4258         * international/mule-cmds.el (char-code-property-alist): Move to
4259         to src/chartab.c.
4260         (get-char-code-property): Call unicode-property-table-internal to
4261         load a file.  Call get-unicode-property-internal where necessary.
4262         (put-char-code-property): Call unicode-property-table-internal to
4263         load a file.  Call put-unicode-property-internal where necessary.
4264         put-unicode-property-internal where necessary.
4265         (char-code-property-description):
4266         Call unicode-property-table-internal to load a file.
4268         * international/charprop.el:
4269         * international/uni-bidi.el:
4270         * international/uni-category.el:
4271         * international/uni-combining.el:
4272         * international/uni-comment.el:
4273         * international/uni-decimal.el:
4274         * international/uni-decomposition.el:
4275         * international/uni-digit.el:
4276         * international/uni-lowercase.el:
4277         * international/uni-mirrored.el:
4278         * international/uni-name.el:
4279         * international/uni-numeric.el:
4280         * international/uni-old-name.el:
4281         * international/uni-titlecase.el:
4282         * international/uni-uppercase.el: Regenerate.
4284         * loadup.el: Load international/charprop.el before
4285         international/characters.
4287 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
4289         * window.el (next-buffer, previous-buffer): Signal an error if
4290         called from a minibuffer window.
4292         * bindings.el: Revert 2011-07-04 change.
4294 2011-07-06  Richard Stallman  <rms@gnu.org>
4296         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4297         (rmail-mime-insert-bulk, rmail-mime-insert-text):
4298         Treat markers like ints.
4299         (rmail-mime-entity): Doc fix.
4301 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4303         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4304         defcustom again for backwards compatibility.
4306         * simple.el (shell-command-on-region): Fill.
4308         * dired-aux.el (dired-kill-line): Add a doc string.
4310         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4311         to "\\sw\\|\\s_" (bug#358).
4313         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4314         (dired-unmark-backward): Ditto.
4315         (dired-flag-backup-files): Ditto.
4317         * dired-x.el (dired-mark-sexp): Ditto.
4319 2011-07-06  Richard Stallman  <rms@gnu.org>
4321         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4322         (rmail-mime-entity): New arg TRUNCATED.
4323         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4324         New functions.
4325         (rmail-mime-save): Warn if entity is truncated.
4326         (rmail-mime-toggle-hidden): Likewise, for showing.
4327         (rmail-mime-process-multipart): Record when an entity is truncated.
4329         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4330         if ENTITY is a string.
4332 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4334         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
4335         of faces when `M-C-x'-ing their definitions (bug#8378).
4336         Also clean up the code slightly.
4338         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
4339         because that makes the colors go away.
4341         * mail/sendmail.el (send-mail-function): Change the default to
4342         `sendmail-query-once'.
4343         (sendmail-query-once): Add an autoload cookie.
4345         * net/network-stream.el (network-stream-open-starttls): Try using
4346         a plain connection even if the server offered STARTTLS, and we
4347         kinda wanted to use it, if Emacs doesn't have any STARTTLS
4348         capability.  This should make smtpmail.el work in slightly more
4349         configurations.
4351 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
4353         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4354         New defun.
4355         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4357 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
4359         * progmodes/sql.el: Version 3.0
4360         (sql-product-alist): Add product :completion-object,
4361         :completion-column, and :statement attributes.
4362         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
4363         (sql-mode-syntax-table): Mark all punctuation.
4364         (sql-font-lock-keywords-builder): Temporarily remove fallback on
4365         ansi keywords.
4366         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
4367         (sql-mode-oracle-font-lock-keywords): Improve.
4368         (sql-oracle-show-reserved-words): New function for development.
4369         (sql-product-font-lock): Simplify for source code buffers.
4370         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4371         New functions.
4372         (sql-highlight-product): Set product specific syntax table.
4373         (sql-mode-map): Add statement movement functions.
4374         (sql-ansi-statement-starters, sql-oracle-statement-starters):
4375         New variable.
4376         (sql-statement-regexp, sql-beginning-of-statement)
4377         (sql-end-of-statement, sql-signum): New functions.
4378         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
4379         (sql-show-sqli-buffer): Bug fix.
4380         (sql-interactive-mode): Store connection data as buffer local.
4381         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
4382         with sql-interactive-mode.
4383         (sql-save-connection): Save buffer local settings.
4384         (sql-connection-menu-filter): Change menu entry name.
4385         (sql-product-interactive): Bug fix.
4386         (sql-preoutput-hold): New variable.
4387         (sql-interactive-remove-continuation-prompt): Bug fixes.
4388         (sql-debug-redirect): New variable.
4389         (sql-str-literal): New function.
4390         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
4391         Redesign.
4392         (sql-oracle-save-settings, sql-oracle-restore-settings)
4393         (sql-oracle-list-all, sql-oracle-list-table): New functions.
4394         (sql-completion-object, sql-completion-column)
4395         (sql-completion-sqlbuf): New variables.
4396         (sql-build-completions-1, sql-build-completions)
4397         (sql-try-completion): New functions.
4398         (sql-read-table-name): Use them.
4399         (sql-contains-names): New buffer local variable.
4400         (sql-list-all, sql-list-table): Use it.
4401         (sql-oracle-completion-types): New variable.
4402         (sql-oracle-completion-object, sql-sqlite-completion-object)
4403         (sql-postgres-completion-object): New functions.
4405 2011-07-06  Glenn Morris  <rgm@gnu.org>
4407         * window.el (pop-to-buffer): Doc fix.
4409 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
4411         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4413 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
4415         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4417         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
4419 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
4421         * button.el (button): Inherit from link face.  Suggested by Dan
4422         Nicolaescu.
4424 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4426         * progmodes/gdb-mi.el: Fit in 80 columns.
4427         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4428         switch-to-buffer.
4430         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4431         if imenu is simply not configured (bug#8941).
4433 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
4435         * allout.el (allout-post-undo-hook): New allout outline-change
4436         event hook to signal undo activity.
4437         (allout-post-command-business): Run allout-post-undo-hook if an
4438         undo just occurred.
4439         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4440         * allout-widgets.el (allout-widgets-after-undo-function):
4441         Ensure the integrity of the current item's decoration after it has been
4442         in the vicinity of an undo.
4443         (allout-widgets-mode): Include allout-widgets-after-undo-function
4444         on the new allout-post-undo-hook.
4446 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4448         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4449         Let define-derived-mode define it.
4450         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4451         cycles of abbrev-table inheritance (bug#8998).
4453 2011-07-05  Roland Winkler  <winkler@gnu.org>
4455         * textmodes/bibtex.el: Add support for biblatex.
4456         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4457         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4458         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4459         (bibtex-entry-alist, bibtex-field-alist): New variables.
4460         (bibtex-entry-field-alist): Obsolete alias for
4461         bibtex-BibTeX-entry-alist.
4462         (bibtex-entry-alist, bibtex-field-alist): New widgets.
4463         (bibtex-set-dialect): New command.
4464         (bibtex-entry-type, bibtex-entry-head)
4465         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4466         Bind via bibtex-set-dialect.
4467         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4468         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4469         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4470         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4471         Define via bibtex-set-dialect.
4472         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4473         Obey bibtex-no-opt-remove-re.
4474         (bibtex-vec-push, bibtex-vec-incr): New functions.
4475         (bibtex-format-entry, bibtex-field-list)
4476         (bibtex-print-help-message, bibtex-validate)
4477         (bibtex-search-entries): Use new format of bibtex-entry-alist.
4479 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4481         * progmodes/compile.el (compilation-goto-locus):
4482         * net/tramp-cmds.el (tramp-append-tramp-buffers):
4483         * bs.el (bs-cycle-next, bs-cycle-previous):
4484         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4485         * bindings.el (mode-line-other-buffer):
4486         * autoinsert.el (auto-insert):
4487         * arc-mode.el (archive-extract):
4488         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4490 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
4492         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4493         Fix check of `emacs-lock-unlockable-modes'.
4494         Coerce true values of `emacs-lock--try-unlocking' to t.
4496 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
4498         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4499         * emacs-lock.el: New file.
4501 2011-07-05  Julien Danjou  <julien@danjou.info>
4503         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4504         than `boundp' to check if face is set.
4506 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
4508         * register.el (registerv-make):
4509         * window.el (window-min-height): Fix typos in docstrings.
4511 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
4513         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4514         Update doc string.
4516 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
4518         * server.el (server-execute): Catch quit and call
4519         `server-return-error' to pass the error back to emacsclient and
4520         close the connection (bug#8942).
4522 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
4524         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4525         insecure exception for current topic.  Also note that auto-saves
4526         are handled differently.
4528         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4529         State variables for tracking auto-save inhibition situation.
4531         (allout-write-contents-hook-handler): Rename from
4532         'allout-write-file-hook-handler', and describe how it depends on
4533         write-contents-functions sensitivity to non-nil value to prevent
4534         file write.
4536         (allout-auto-save-hook-handler): Remove.  auto-save does not check
4537         this in individual buffers, only in the starting buffer, so this
4538         is not the right way for us to inhibit auto-save in a buffer
4539         according to its condition.
4541         (allout-mode): Use new allout-write-contents-hook-handler, and
4542         only with write-contents-functions.  Remove auto-save provisions -
4543         they're implemented elsewhere.
4545         (allout-before-change-handler): If undo is in progress, note that
4546         for attention of allout-post-command-business.
4548         (allout-post-command-business): If the command we're following was
4549         an undo, check for change in the status of encrypted items and
4550         adjust auto-save inhibitions accordingly.
4552         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4553         according to whether there are or aren't any plain-text topics
4554         pending encryption.
4556         (allout-inhibit-auto-save-info-for-decryption):
4557         Adjust buffer-saved-size and some allout state to inhibit auto-saves if
4558         there are plain-text topics pending encryption.
4560         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4561         buffer-saved-size and some allout state to not inhibit auto-saves
4562         if there are no longer any plain-text topics pending encryption.
4564         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4565         No longer provide for exemption of the current topic.
4567 2011-07-04  Juri Linkov  <juri@jurta.org>
4569         Add 7z operations to delete and save changed members (bug#8968).
4570         * arc-mode.el (archive-7z-expunge, archive-7z-update):
4571         New defcustoms.
4572         (archive-7z-write-file-member): New function.
4573         (archive-7z-summarize): Fix the number of dashes in the
4574         listing output.
4576 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4578         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4579         (bug#8958).
4581 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
4583         * bindings.el: Ignore next-buffer and previous-buffer in
4584         minibuffer-local-map.
4586         * font-lock.el (font-lock-builtin-face): Change light background
4587         color to dark slate blue (Bug#6693).
4589 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
4591         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4593 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4595         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4596         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4597         Add switch-to-buffer.
4599 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4601         * isearch.el (isearch-search-fun-function): Clarify further the
4602         meaning of the function returned.
4604 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
4606         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4608         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4609         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4610         Use it.
4611         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
4612         `tramp-default-remote-path' does not exist.
4613         (tramp-send-command-and-read): New optional argument NOERROR.
4614         (tramp-open-connection-setup-interactive-shell)
4615         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4616         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4617         (tramp-process-sentinel): Flush also process' connection property.
4618         (tramp-sh-handle-start-file-process): Do not set process
4619         sentinel.  It is done now ...
4620         (tramp-maybe-open-connection): ... here.  (Bug#8929)
4622 2011-07-04  MON KEY  <monkey@sandpframing.com>
4624         * play/animate.el (animate-string): Doc fixes and allow changing
4625         the buffer name (bug#5417).
4627 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4629         * play/animate.el (animation-buffer-name): Rename from *animate*.
4631 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
4633         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4634         This is simpler and helps future-proof the code.
4635         (timer-until): Use time-subtract and float-time.
4636         (timer--time-less-p): Use time-less-p.
4638 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
4640         * type-break.el (timep): Use the value of `float-time' to avoid a
4641         byte-compiler warning.
4643         * server.el (server-eval-and-print): Return any result, even nil.
4645 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
4647         * type-break.el: Accept time formats that the builtins accept.
4648         (timep, type-break-time-difference): Accept any format that
4649         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4650         This is simpler and helps future-proof the code.
4651         (type-break-time-difference): Round rather than ignoring
4652         subseconds components.
4654 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4656         * info.el (Info-apropos-matches): Make non-interactive, since it
4657         doesn't seem to do anything useful as a command (bug#8829).
4659 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
4661         * frame.el (frame-background-mode, frame-set-background-mode):
4662         Move from faces.el.
4663         (frame-default-terminal-background): New function.
4665         * custom.el (custom-push-theme): Don't record faces in `changed'
4666         theme; this doesn't work correctly for per-frame face settings.
4667         (disable-theme): Use face-set-after-frame-default to reset faces.
4668         (custom--frame-color-default): New function.
4670 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4672         * dired.el (dired-flagging-regexp): Remove unused variable
4673         (bug#8769).
4675 2011-03-29  Kevin Ryde  <user42@zip.com.au>
4677         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4678         `perl-Test2' extend to match possible "fail #N" rep count
4679         (bug#8377).
4681 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4683         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4684         `smtpmail-via-smtp' now returns the error instead of nil.
4686         * isearch.el (isearch-search-fun-function): Clarify the doc string
4687         (bug#8101).
4689 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
4691         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4692         unnecessary spaces (bug#8987).
4694 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4696         * net/network-stream.el (open-network-stream): Use the
4697         :end-of-capability command thoughout.
4699 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
4701         * net/network-stream.el (open-network-stream): Add the
4702         :end-of-capability command parameter, used by pop3.el.
4704 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4706         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4708         * fringe.el (fringe-query-style): Remove redundant text " (type ?
4709         for list)" (bug#6475).
4711         * files.el (file-expand-wildcards): Ignore non-readable
4712         sub-directories while trying to find matches instead of signaling
4713         an error (bug#6297).
4715         * man.el (Man-reference-regexp): Allow matching possible
4716         word-wrapped references (bug#6289).
4718         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4719         for consistency with the other vc buffers (bug#6197).
4720         (vc-checkin): Ditto.
4722         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4724         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4726 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4728         * custom.el (defcustom): Clarify that :set is only used in the
4729         Customize user interface (bug#6089).
4731         * progmodes/flymake.el (flymake-mode): If the buffer isn't
4732         associated with a file, refuse to run instead of erroring out
4733         (bug#6084).
4735         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4736         the doc string, since it appears that using `fill-column' always
4737         controls the width (bug#7845).
4739         * simple.el (shell-command-on-region): Say where the error output
4740         went if `shell-command-default-error-buffer' is set (bug#6857).
4742 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
4744         * allout.el (allout-yank-processing): Adjust cursor position for
4745         backwards-deleted space.
4747         (allout-rebullet-heading): Register changes with
4748         allout-exposure-changed-hook, so the modified topic is properly
4749         decorated.
4751 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4753         * minibuffer.el (completion-in-region): Document PREDICATE
4754         (bug#7136).
4756         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4757         of keyword/argument pairs (bug#6904).
4759         * replace.el (multi-occur):
4760         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
4762 2011-07-02  Drew Adams  <drew.adams@oracle.com>
4764         * dired.el (dired-mark-if): Make the message about whether it's
4765         marking or unmarking clearer (bug#8523).
4767 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4769         * disp-table.el (display-table-print-array): New function.
4770         (describe-display-table): Use it to print the vectors more pretty
4771         (Bug#8859).
4773 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
4775         * window.el (window-state-get-1): Don't assign clone numbers.
4776         Add clone-of item to list of window parameters.
4777         (window-state-put-2): Don't process clone numbers.
4778         (display-buffer-alist): Fix doc-string.
4780 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4782         * subr.el (remq): Don't allocate if it's not needed.
4783         (keymap--menu-item-binding, keymap--menu-item-with-binding)
4784         (keymap--merge-bindings): New functions.
4785         (keymap-canonicalize): Use them to refine the canonicalization.
4786         * minibuffer.el (minibuffer-local-completion-map)
4787         (minibuffer-local-must-match-map): Move initialization from C.
4788         (minibuffer-local-filename-completion-map): Move initialization from C;
4789         don't inherit from anything here.
4790         (minibuffer-local-filename-must-match-map): Make obsolete.
4791         (completing-read-default): Use make-composed-keymap to combine
4792         minibuffer-local-filename-completion-map with either
4793         minibuffer-local-must-match-map or
4794         minibuffer-local-filename-completion-map.
4796 2011-07-01  Glenn Morris  <rgm@gnu.org>
4798         * type-break.el (type-break-time-sum): Use dolist.
4800         * textmodes/flyspell.el (flyspell-word-search-backward):
4801         Replace CL function.
4803 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4805         * mouse.el (mouse--strip-first-event): New function.
4806         (function-key-map): Use it to map fringe clicks to normal clicks
4807         by default.
4809         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4810         (vc-bzr-revision-completion-table): Add support for annotate and date.
4812         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4813         inherit from parent.
4815 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4817         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
4818         (dired-show-file-type): Doc fixup (bug#8818).
4820         * dired.el (dired-mode): Fix up the doc string as suggested by
4821         Drew Adams (bug#8817).
4823         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4824         cookie, since the manual says that it should be possible to add
4825         this function to `find-file-hook' (bug#8709).
4827 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
4829         * progmodes/cfengine.el: Moved all cfengine3.el functionality
4830         here.  Noted Ted Zlatanov as the maintainer.
4831         (cfengine-common-settings, cfengine-common-syntax): New functions
4832         to set up common things between `cfengine-mode' and
4833         `cfengine3-mode'.
4834         (cfengine3-mode): New mode.
4835         (cfengine3-defuns cfengine3-defuns-regex
4836         (cfengine3-class-selector-regex cfengine3-category-regex)
4837         (cfengine3-vartypes cfengine3-font-lock-keywords)
4838         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
4839         (cfengine3-indent-line): Add from cfengine3.el.
4841 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
4843         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4845         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4847 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
4849         * window.el (same-window-buffer-names, same-window-regexps)
4850         (same-window-p, special-display-frame-alist)
4851         (special-display-popup-frame, special-display-function)
4852         (special-display-buffer-names, special-display-regexps)
4853         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4854         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4855         (split-window-preferred-function, split-height-threshold)
4856         (split-width-threshold, even-window-heights)
4857         (display-buffer-mark-dedicated, window-splittable-p)
4858         (split-window-sensibly, window-safely-shrinkable-p):
4859         Un-obsolete.
4860         (display-buffer): Don't spread args with function specifier
4861         because special-display-popup-frame won't like it.
4863 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
4865         Time-stamp simplifications and fixes.
4866         These improve accuracy slightly, and future-proof the code
4867         against some potential changes to current-time format.
4869         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4870         by using time-since and float-time.
4872         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4873         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
4874         + NNN microseconds".
4876         * type-break.el (type-break-time-sum): Rewrite using time-add.
4878         * play/hanoi.el (hanoi-current-time-float): Remove.
4879         All uses replaced by float-time.
4881         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4882         This yields a more-accurate answer.
4883         (rng-time-to-float): Remove; no longer needed.
4885         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4887         * calendar/timeclock.el (timeclock-seconds-to-time):
4888         Defalias to seconds-to-time, since they're the same thing.
4890         * emacs-lisp/elp.el (elp-elapsed-time):
4891         * emacs-lisp/benchmark.el (benchmark-elapse):
4892         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4894 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4896         * window.el (bury-buffer): Don't iconify the only frame.
4897         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4898         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
4900 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
4902         * eshell/em-smart.el (eshell-smart-display-navigate-list):
4903         Add mouse-yank-primary.
4905 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
4907         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4909 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4911         * emacs-lisp/find-func.el (find-library--load-name): New fun.
4912         (find-library-name): Use it to find relative load names when provided
4913         absolute file name (bug#8803).
4915 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4917         * textmodes/flyspell.el (flyspell-word): Consider words that
4918         differ only in case as potential doublons (bug#5687).
4920         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4921         Remove two rather uninteresting debugging-like messages to make
4922         debbugs.el more silent.
4924         * comint.el (comint-password-prompt-regexp): Accept "Response" as
4925         a password-like phrase.
4927 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
4929         * progmodes/cc-guess.el: New file.
4931         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
4933         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4934         derived from `c-basic-common-init'.
4936         * progmodes/cc-mode.el (top-level): Require cc-guess.
4937         (c-basic-common-init): Use `cc-choose-style-for-mode'.
4939 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
4941         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4943 2011-06-30  Alan Mackenzie  <acm@muc.de>
4945         * progmodes/cc-engine.el (c-guess-continued-construct):
4946         Correct the handling of template-args-cont, particularly for when font
4947         lock is disabled.  Name this case as "CASE G".
4949 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
4951         * allout.el (allout-yank-processing): Fix injection of extra space
4952         between bullet and non-whitespace character in first topic when
4953         pasting, ensuring that the actual spacing in the pasted topic
4954         following the bullet char is preserved.  This extra space was
4955         causing pasted encrypted topics to get a decrypted status even
4956         when the content was actually still encrypted.  Now the decryption
4957         status from before the paste is preserved.
4959         (allout-flag-region): Set all allout overlays so they evaporate
4960         when reduced to zero length (evanescent), to prevent overlay
4961         leakage.
4963 2011-06-30  Glenn Morris  <rgm@gnu.org>
4965         * w32-fns.el (w32-charset-info-alist): Declare.
4967         * find-dired.el (find-grep-options): Simplify.
4969         * term/ns-win.el (ns-set-resource): Declare.
4971         * ses.el (row, col): Declare dynamic variables honestly.
4973         * textmodes/reftex-parse.el (index-tags): Declare.
4975 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
4977         * cus-edit.el (customize-push-and-save): New function.
4979         * files.el (hack-local-variables-confirm): Use it.
4981         * custom.el (load-theme): New arg NO-CONFIRM.
4982         Use customize-push-and-save (Bug#8720).
4983         (custom-enabled-themes): Doc fix.
4985         * cus-theme.el (customize-create-theme)
4986         (custom-theme-merge-theme): Callers to load-theme changed.
4988 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4990         * thingatpt.el (thing-at-point-short-url-regexp): Require that
4991         short URLs have at least one dot in them (bug #7614).
4993         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4994         nil, because using a pty is apparently too slow (bug #895).
4996 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4998         * mail/sendmail.el (sendmail-query-once): New function.
4999         (sendmail-query-once-function): New variable.
5001 2011-06-29  Glenn Morris  <rgm@gnu.org>
5003         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5005         * ses.el (top-level): Require cl when compiling.
5006         (ses-set-localvars): Fix error statement.
5007         Call it at compile time to silence a storm of warnings.
5009 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
5011         * window.el (normalize-live-buffer): Rename to
5012         window-normalize-buffer.
5013         (normalize-live-frame): Rename to window-normalize-frame.
5014         (normalize-any-window): Rename to window-normalize-any-window.
5015         (normalize-live-window): Rename to window-normalize-live-window.
5016         (make-window-atom): Rename to window-make-atom.
5017         (window-resize-reset): Rename to window--resize-reset.
5018         (window-resize-reset-1): Rename to window--resize-reset-1.
5019         (resize-mini-window): Rename to window--resize-mini-window.
5020         (resize-subwindows-skip-p): Rename to
5021         window--resize-subwindows-skip-p.
5022         (resize-subwindows-normal): Rename to
5023         window--resize-subwindows-normal.
5024         (resize-subwindows): Rename to window--resize-subwindows.
5025         (resize-other-windows): Rename to window--resize-siblings.
5026         (resize-this-window): Rename to window--resize-this-window.
5027         (resize-root-window): Rename to window--resize-root-window.
5028         (resize-root-window-vertically): Rename to
5029         window--resize-root-window-vertically.
5030         (normalize-buffer-to-display): Rename to
5031         window-normalize-buffer-to-display.
5032         (normalize-buffer-to-switch-to): Rename to
5033         window-normalize-buffer-to-switch-to.
5034         Correspondingly update all callers of the functions listed
5035         above.
5036         (display-buffer-alist, display-buffer-normalize-arguments)
5037         (display-buffer-normalize-options, display-buffer)
5038         (display-buffer-alist-set): Use "function" instead of
5039         "fun-with-args".
5041 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
5043         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5044         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
5045         debbugs.gnu.org.  Mention acknowledgment email.
5047 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5049         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5050         buffer multibyteness, since it shouldn't matter.
5052 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
5054         * window.el (display-buffer-in-side-window): Handle dedicated
5055         windows as in display-buffer-reuse-window.
5056         (display-buffer-normalize-alist): Use value of override
5057         specifier.
5058         (display-buffer-normalize-specifiers): Use value of
5059         other-window-means-other-frame specifier.
5060         (display-buffer-alist): Rewrite some texts in widgets.
5061         (display-buffer): Spread arguments when calling function
5062         specified by fun-with-args.
5064 2011-06-28  Deniz Dogan  <deniz@dogan.se>
5066         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5067         Unnest `let'.
5069         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5070         selectors (Bug#5732).
5071         (css-proprietary-nmstart-re): Use `regexp-opt'.
5073 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
5075         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5076         (eshell-ls-date-format): New defcustom.
5077         (eshell-ls-file): Use it.
5079 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5081         * help-fns.el (describe-variable): Fix message for terminal-local vars.
5083 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
5085         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5086         (ange-ftp-make-tmp-name): New arg.
5087         (ange-ftp-file-local-copy): Use it.
5089 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
5091         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5092         no-conversion (Bug#8870).
5094 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
5096         * window.el (window-right, window-left, window-child)
5097         (window-child-count, window-last-child)
5098         (window-iso-combination-p, walk-window-tree-1)
5099         (window-atom-check-1, window-tree-1, delete-window)
5100         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5101         new naming conventions - window-vchild, window-hchild,
5102         window-next and window-prev are now called window-top-child,
5103         window-left-child, window-next-sibling and window-prev-sibling
5104         respectively.
5105         (resize-window-reset): Rename to window-resize-reset.
5106         (resize-window-reset-1): Rename to window-resize-reset-1.
5107         (resize-window): Rename to window-resize.
5108         (window-min-height, window-min-width)
5109         (resize-mini-window, resize-this-window, resize-root-window)
5110         (resize-root-window-vertically, adjust-window-trailing-edge)
5111         (enlarge-window, shrink-window, maximize-window)
5112         (minimize-window, delete-window, quit-restore-window)
5113         (split-window, balance-windows, balance-windows-area-adjust)
5114         (balance-windows-area, window-state-put-2)
5115         (display-buffer-even-window-sizes, display-buffer-set-height)
5116         (display-buffer-set-width, set-window-text-height)
5117         (fit-window-to-buffer): Rename all "resize-window" prefixed
5118         calls to use the "window-resize" prefix convention.
5119         (display-buffer-alist): Fix symbol for label specifier.
5120         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5121         corresponding specifier.
5122         Reported by Juanma Barranquero <lekktu@gmail.com>.
5124 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5126         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5127         convention.
5128         (ses-call-printer): Does not pass an empty string to formatter when the
5129         cell is empty to keep from barking printer Calc math-format-value.
5131 2011-06-27  Richard Stallman  <rms@gnu.org>
5133         * battery.el (battery-mode-line-limit): New variable.
5134         (battery-update): Handle it.
5136         * mail/rmailmm.el (rmail-mime-process-multipart):
5137         Handle truncated messages.
5139 2011-06-27  Glenn Morris  <rgm@gnu.org>
5141         * progmodes/flymake.el (flymake-err-line-patterns):
5142         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
5144 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5146         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
5147         (ses--clean-!, ses--clean-_): New functions.
5148         (ses-range): Add configurability of readout order, and conversion
5149         to Calc vector.
5151         * ses.el (ses-repair-cell-reference-all): New function.
5152         (ses-cell-symbol): Set macro as safe, so that it can be used in
5153         formulas.
5155         * ses.el: Update cycle detection algorithm.
5156         (ses-localvars): Add ses--Dijkstra-attempt-nb and
5157         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
5158         (ses-set-localvars): New function.
5159         (ses-make-cell): Add property-list as a cell element.
5160         (ses-cell-property-get-fun, ses-cell-property-get)
5161         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
5162         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5163         New functions.
5164         (ses-cell-property-set, ses-cell-property-pop)
5165         (ses-cell-property-get-handle): New macro.
5166         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5167         New aliases, used for code readability.
5168         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5169         cycle detection.
5170         (ses-self-reference-early-detection): New defcustom.
5171         (ses-formula-references): Robustify against self-refering cells.
5172         (ses-mode): Use ses-set-localvars.
5173         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5174         before lauching the update processing.
5175         (ses-initialize-Dijkstra-attempt): New function.
5176         (ses-recalculate-cell): Update for cycle detection based on
5177         Dijkstra algorithm.
5179         * ses.el: Fix commenting and indenting convention.
5181 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5183         * bs.el (bs-cycle-next): Complete last change.
5185 2011-06-27  Drew Adams  <drew.adams@oracle.com>
5187         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5189 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5191         * net/network-stream.el (network-stream-open-starttls):
5192         Don't re-get capabilities unless we've reestablished connection.
5193         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5195         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5196         to binary to possibly avoid line encoding issues on Windows (among
5197         other things).
5199 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5201         * net/network-stream.el (open-network-stream): Return an :error
5202         saying what the problem was, if possible.
5204         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5205         server.
5207         * net/network-stream.el (network-stream-open-starttls): If we
5208         wanted to use STARTTLS, and the server offered it, but we weren't
5209         able to because we had no STARTTLS support, then close the connection.
5210         (open-network-stream): Return an :error element, if present.
5212 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
5214         * hl-line.el (hl-line-sticky-flag): Doc fix.
5215         (global-hl-line-sticky-flag): New option (Bug#8323).
5216         (global-hl-line-highlight): Obey it.
5218         * vc/vc.el (vc-revert-show-diff): Default to t.
5220 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
5222         * allout-widgets.el (allout-widgets-post-command-business):
5223         Stop decorating intermediate isearch matches.  They're not being
5224         undecorated when an isearch is continued past, and isearch
5225         automatically collapses them.  This leads to "widget leaks", where
5226         decorated items accumulate in collapsed areas.  Lines with lots of
5227         hidden widgets can slow down cursor travel, substantially.
5228         Too much complicated machinery would be needed to ensure undecoration,
5229         so we're doing without this nicety.
5231         (allout-widgets-tally-string): Don't try to do a hash-table-count
5232         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
5233         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5234         *Messages* when allout-widgets-maintain-tally is t.
5236 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
5238         * window.el (display-buffer-normalize-argument): Rename to
5239         display-buffer-normalize-arguments.  Handle special meaning of
5240         LABEL argument.  Respect special-display-function when popping up
5241         a new frame.  Fix code searching for a window showing the buffer
5242         on another frame.
5243         (display-buffer-normalize-specifiers):
5244         Call display-buffer-normalize-arguments.
5245         (display-buffer-in-window): Don't undedicate the window if its
5246         buffer remains the same.
5247         Reported by Drew Adams <drew.adams@oracle.com>.
5248         (display-buffer-alist): Add choice for same-window macro
5249         specfier.
5250         (display-buffer): Mention special meaning of LABEL argument in
5251         doc-string.  Fix quoting.  Don't pop up a new frame even as
5252         fallback.
5254 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
5256         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5257         avoid deleting the current window in some cases (bug#8911).
5259 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
5261         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5262         (Bug#8934)
5264 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5266         * net/network-stream.el (network-stream-open-starttls):
5267         Use built-in TLS support if `gnutls-available-p' is true.
5268         (network-stream-open-tls): Ditto.
5270 2011-06-26  Leo Liu  <sdl.web@gmail.com>
5272         * register.el (registerv): New struct.
5273         (registerv-make): New function.
5274         (jump-to-register, describe-register-1, insert-register):
5275         Support the jump-func, print-func and insert-func slot of a registerv
5276         struct.  (Bug#8415)
5278 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
5280         * vc/vc.el (vc-revert-show-diff): New defcustom.
5281         (vc-diff-internal): New arg specifying diff buffer.
5282         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
5283         reuse an existing *vc-diff* buffer (Bug#8927).
5285         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5287 2011-06-26  Glenn Morris  <rgm@gnu.org>
5289         * progmodes/f90.el (f90-critical-indent): New option.
5290         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5291         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5292         (f90-mode): Doc fix.
5293         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5294         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5295         (f90-beginning-of-block, f90-next-block, f90-indent-region)
5296         (f90-match-end): Handle block, critical.
5298 2011-06-25  Glenn Morris  <rgm@gnu.org>
5300         * calendar/diary-lib.el (diary-included-files): Doc fix.
5301         (diary-include-files): New function, extracted from
5302         diary-include-other-diary-files and diary-mark-included-diary-files.
5303         (diary-include-other-diary-files, diary-mark-included-diary-files):
5304         Just call diary-include-files.
5305         (diary-mark-entries): Reset diary-included-files on first call.
5307         * calendar/diary-lib.el (diary-mark-entries)
5308         (diary-mark-included-diary-files):
5309         Visit included diary-files in temp buffers.
5311         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5312         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5313         (f90-start-block-re, f90-imenu-generic-expression)
5314         (f90-looking-at-program-block-start, f90-no-block-limit):
5315         Add support for submodules.
5317         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5318         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
5320 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
5322         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5323         buffer-file-type before setting its value, to avoid disastrous
5324         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
5326 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
5328         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5330         * ses.el (ses-unload-function):
5331         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5333         * proced.el (proced-unload-function):
5334         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5336 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
5338         * server.el (server-create-window-system-frame): Add parameters arg.
5339         (server-process-filter): Doc fix.  Handle frame-parameters.
5341 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
5343         Fix bug#8730, bug#8781.
5345         * loadhist.el (unload--set-major-mode): New function.
5346         (unload-feature): Use it.
5348         * progmodes/python.el (python-after-info-look): Add autoload cookie.
5349         (python-unload-function): New function.
5351 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5353         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5355 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
5357         * net/browse-url.el (browse-url-firefox-program): Add icecat to
5358         the candidates list.
5360 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
5362         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5364 2011-06-23  Richard Stallman  <rms@gnu.org>
5366         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5367         (rmail-variables): Set next-error-move-function.
5368         (rmail-what-message): Take argument POS.
5369         (rmail-next-error-move): New function.
5371 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5373         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5374         messages for adjacent non-terminals.
5376 2011-06-23  Richard Stallman  <rms@gnu.org>
5378         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
5379         (rmail-show-message-1): Preserve buffer modified flag.
5380         (rmail-start-mail): Don't specify use of rmail-mail-return;
5381         that's done by mail-bury now.
5382         (rmail-mail-return): Handle arg NEWBUF.
5384 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
5386         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5387         SIZE is a number.
5389 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
5391         * window.el (get-lru-window, get-mru-window)
5392         (get-largest-window): Never return a minibuffer window.
5393         (display-buffer-pop-up-window): Fix a bug that could lead to
5394         reusing the minibuffer window.
5395         (display-buffer): Pass original specifier argument to
5396         display-buffer-function instead of the normalized one.
5397         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5399 2011-06-22  Leo Liu  <sdl.web@gmail.com>
5401         * minibuffer.el (completing-read-function)
5402         (completing-read-default): Move from minibuf.c
5404 2011-06-22  Richard Stallman  <rms@gnu.org>
5406         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5407         to Rmail even if not started by a special Rmail command.
5409         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5410         Copy the buffer currently showing just one message.
5412 2011-06-22  Roland Winkler  <winkler@gnu.org>
5414         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5415         (bibtex-clean-entry): First delete the old key so that a
5416         customized algorithm for generating the new key does not get
5417         confused by the old key.
5418         (bibtex-url): Obey regexp of first step.
5419         (bibtex-search-entries): Do not use add-to-list with local
5420         list-var.
5422 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5424         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5425         stored a user name, then query for the password first, instead of
5426         waiting for SMTP to give an error message and the trying again.
5428 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
5430         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5431         BUFFER in call-process.
5433 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5435         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5436         QUIT twice.
5437         (smtpmail-try-auth-methods): Require user name and password from
5438         auth-source.
5440 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
5442         * window.el (display-buffer-default-specifiers)
5443         (display-buffer-alist): Remove entries for pop-up-frame-alist.
5444         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5445         (split-window): Normalize SIDE argument (Bug#8916).
5447         * frame.el (pop-up-frame-alist, pop-up-frame-function)
5448         (special-display-frame-alist, special-display-popup-frame):
5449         Remove duplicate declarations.  These are now in window.el.
5451 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5453         * mail/smtpmail.el (smtpmail-via-smtp):
5454         Set :use-starttls-if-possible so that we always use STARTTLS if the
5455         server supports it.  SMTP servers that support STARTTLS commonly
5456         require it.
5458         * net/network-stream.el (network-stream-open-starttls): Support
5459         upgrading to STARTTLS always, even if we don't have built-in support.
5460         (open-network-stream): Add the :always-query-capabilities keyword.
5462         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5463         upgrades with `open-network-stream', and rely solely on
5464         auth-source for all credentials.  Big changes throughout the file,
5465         but in particular:
5466         (smtpmail-auth-credentials): Remove.
5467         (smtpmail-starttls-credentials): Remove.
5468         (smtpmail-via-smtp): Check for servers saying they want AUTH after
5469         MAIL FROM, too.
5471         * net/network-stream.el (network-stream-open-starttls):
5472         Provide support for client certificates both for external and built-in
5473         STARTTLS.
5474         (auth-source): Require.
5475         (open-network-stream): Document the :client-certificate keyword.
5476         (network-stream-certificate): Change cert-cert to cert and
5477         cert-key to key.
5479 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
5481         * net/tramp-cache.el (top): Don't load the persistency file when
5482         "emacs -Q" has been called.
5484 2011-06-21  Tim Harper  <timcharper@gmail.com>
5486         * term/ns-win.el (ns-initialize-window-system):
5487         Set application-specific `ApplePressAndHoldEnabled' system
5488         resource to NO as it is not yet supported by the NS port.
5490 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
5492         * misc.el (list-dynamic-libraries--refresh): Compute header here...
5493         (list-dynamic-libraries): ...not here.
5495 2011-06-21  Leo Liu  <sdl.web@gmail.com>
5497         * subr.el (sha1): Implement sha1 using secure-hash.
5499 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
5501         * window.el (display-buffer-alist): In default value do not
5502         enforce searching a window on any but the selected frame.
5503         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5504         (display-buffer-select-window): Remove function.
5505         (display-buffer-in-window): When a window on another frame gets
5506         reused, do not select it any more but just raise its frame if
5507         necessary (Bug#8851) and (Bug#8856).
5508         (display-buffer-normalize-options): Handle pop-up-frames related
5509         options more faithfully.
5510         (pop-to-buffer): Don't rely on `display-buffer' selecting the
5511         window if it is on another frame.
5512         (display-buffer-alist, display-buffer-default-specifiers):
5513         Don't make new frame unsplittable by default.
5514         (display-buffer-normalize-argument): Fix doc-string typo and use
5515         'same-frame-other-window instead of 'other-window when associating
5516         with display-buffer-macro-specifiers.
5518 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
5520         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5521         New functions.
5522         (5x5-mode-map, 5x5-mode-menu): Bind them.
5523         (5x5-draw-grid): Tweak the solver's rendering.
5525 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5527         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5528         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5530 2011-06-21  Drew Adams  <drew.adams@oracle.com>
5532         * menu-bar.el: Use function variable instead of switch-to-buffer.
5533         (menu-bar-select-buffer-function): New variable.
5534         (menu-bar-update-buffers): Use it (bug#8876).
5536 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5538         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5539         variable's status.
5541 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
5543         * x-dnd.el (x-dnd-version-from-flags)
5544         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5545         and long as number (Bug#8899).
5546         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5548 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5550         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
5551         (completion-try-completion, completion-all-completions): Compute the
5552         metadata argument if it's missing; make it optional (bug#8795).
5554         * wid-edit.el: Use lex-bind and move towards completion-at-point.
5555         (widget-complete): Use new :completion-function property.
5556         (widget-completions-at-point): New function.
5557         (default): Use :completion-function instead of :complete.
5558         (widget-default-completions): Rename from widget-default-complete;
5559         Rewrite.
5560         (widget-string-complete, widget-file-complete, widget-color-complete):
5561         Remove functions.
5562         (file, symbol, function, variable, coding-system, color):
5563         * international/mule-cmds.el (default-input-method, charset)
5564         (language-info-custom-alist):
5565         * cus-edit.el (face): Use new property :completions.
5567         * progmodes/pascal.el (pascal-completions-at-point): New function.
5568         (pascal-mode): Use it.
5569         (pascal-mode-map): Use completion-at-point.
5570         (pascal-toggle-completions): Make obsolete.
5571         (pascal-complete-word, pascal-show-completions):
5572         * progmodes/octave-mod.el (octave-complete-symbol):
5573         Redefine as obsolete alias.
5574         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5575         Signal absence of completion info for old Octave,
5576         (inferior-octave-complete): Redefine as obsolete alias.
5577         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5578         (meta-completions-at-point): Rename from meta-complete-symbol and
5579         adapt it for use on completion-at-point-functions.
5580         (meta-common-mode): Use it.
5581         (meta-looking-at-backward, meta-match-buffer): Remove.
5582         (meta-complete-symbol): Redefine as obsolete alias.
5583         (meta-common-mode-map): Use completion-at-point.
5584         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5585         (makefile-mode-map): Use completion-at-point.
5586         (makefile-completions-at-point): Rename from makefile-complete and
5587         adapt it for use on completion-at-point-functions.
5588         (makefile-mode): Use it.
5589         (makefile-complete): Redefine as obsolete alias.
5591 2011-06-20  Deniz Dogan  <deniz@dogan.se>
5593         * net/rcirc.el: Delete trailing whitespaces once and for all.
5595 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
5597         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5599 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
5601         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5603         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5605 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
5607         * window.el (display-buffer-other-window-means-other-frame):
5608         Call display-buffer-normalize-alist.
5609         (display-buffer-normalize-specifiers-1): Rename to
5610         display-buffer-normalize-argument.  New argument other-frame.
5611         Rewrite.
5612         (display-buffer-normalize-specifiers-2): Rename to
5613         display-buffer-normalize-options.
5614         (display-buffer-normalize-alist-1): New function.
5615         (display-buffer-normalize-specifiers-3): Rename to
5616         display-buffer-normalize-alist.
5617         Call display-buffer-normalize-alist-1.
5618         (display-buffer-normalize-options-inhibit): New variable.
5619         (display-buffer-normalize-specifiers): Rewrite calling
5620         display-buffer-normalize-alist,
5621         display-buffer-normalize-argument, and
5622         display-buffer-normalize-options.  Don't call the latter if
5623         display-buffer-normalize-options-inhibit is non-nil.
5624         (frame-auto-delete): New option.
5625         (window-deletable-p): Use frame-auto-delete.
5626         (window-list-no-nils, window-state-ignored-parameters)
5627         (window-state-get-1, window-state-get, window-state-put-list)
5628         (window-state-put-1, window-state-put-2, window-state-put):
5629         New functions.
5630         (display-buffer-normalize-options): Move special-display-p group
5631         after pop-up-frame group (Bug#8851) and (Bug#8856).
5633 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
5635         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5636         groups (Bug#8776).
5637         (rx-submatch-n): New function.
5638         (rx): Document it.
5640         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5641         (Bug#8768).
5643         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5645         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5647         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5648         anytime existing face settings are present (Bug#8889).
5650         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5651         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5652         Remove unused argument.
5654 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
5656         * window.el (display-buffer-default-specifiers):
5657         Remove pop-up-frame.  Add pop-up-window-min-height,
5658         pop-up-window-min-width, and another reuse-window specifier
5659         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
5660         (display-buffer-normalize-specifiers-2):
5661         Handle split-height-threshold and split-width-threshold also when
5662         pop-up-windows is unset.  Add a reuse-window specifier for the
5663         case popping up a new window fails.
5664         (special-display-popup-frame): Remove double quoting.
5665         (display-buffer-normalize-specifiers-1): Fix thinko.
5667 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5669         * shell.el (shell-completion-vars): Set pcomplete-termination-string
5670         according to comint-completion-addsuffix.
5672         * pcomplete.el: Convert to lexical binding and fix bug#8819.
5673         (pcomplete-suffix-list): Mark as obsolete.
5674         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5675         pcomplete-seen in the closure.
5676         (pcomplete-comint-setup): Setup completion-at-point as well.
5677         (pcomplete--entries): New function.
5678         (pcomplete--env-regexp): New var.
5679         (pcomplete-entries): Rewrite to work with partial-completion and
5680         without relying on pcomplete-suffix-list.
5681         (pcomplete-pare-list): Remove, unused.
5683 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
5685         * window.el (display-buffer-alist): Set pop-up-window-min-height
5686         and pop-up-window-min-width in default value.  Reported by
5687         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
5688         other-window-means-other-frame.
5689         (display-buffer-macro-specifiers): Comment out entry for
5690         other-window specifier.
5691         (display-buffer-other-window-means-other-frame): New function.
5692         (display-buffer-normalize-specifiers-1): New arguments
5693         buffer-name and label.  Treat other-window case specially.
5694         (display-buffer-normalize-specifiers-2): Treat other-window case
5695         specially.
5696         (display-buffer-normalize-specifiers-3): New function.
5697         (display-buffer-normalize-specifiers):
5698         Call display-buffer-normalize-specifiers-3.
5700 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
5702         * window.el (same-window-p): Fix two typos introduced when
5703         adding with-no-warnings.
5704         (display-buffer-normalize-specifiers-1): Don't check
5705         pop-up-frames for 'unset initialization.
5706         (display-buffer-normalize-specifiers-2): Major rewrite using
5707         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5708         (pop-up-frames, display-buffer-reuse-frames)
5709         (display-buffer-mark-dedicated): Don't initialize to 'unset.
5710         Suggested by David Engster <deng@randomsample.de>.
5711         (even-window-heights): Initialize to 'unset.
5712         (display-buffer-alist-set): Handle new 'unset initializations.
5713         (display-buffer-macro-specifiers): Don't pop up a new frame in the
5714         other window case.
5716 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
5718         * window.el (display-buffer-normalize-specifiers-1):
5719         Respect current value of pop-up-frames for most reasonable values of
5720         second argument of display-buffer (Bug#8865).
5721         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5722         (switch-to-buffer-other-window-same-frame)
5723         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
5724         Adams (Bug#8875).
5725         (display-buffer): Don't check noninteractive when calling
5726         display-buffer-pop-up-frame.
5727         (display-buffer-pop-up-frame): Never pop up a frame in
5728         noninteractive mode (Bug#8857).
5729         (enlarge-window, shrink-window): Don't report an error when the
5730         window can't be resized as requested (Bug#8862).
5732 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5734         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5736         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5738         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5740 2011-06-15  Alan Mackenzie  <acm@muc.de>
5742         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5743         for declarators, disable knr checking to speed up for normal files.
5744         2: Refactor, replacing a sequence of nested if forms by a cond form.
5746 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5748         * net/network-stream.el (open-network-stream): Add the keyword
5749         :always-query-capabilities for the case where you want to force a
5750         `plain' network connection, but the protocol still requires the
5751         capabilitiy command (i.e., SMTP and EHLO).
5753         * subr.el (process-live-p): Rename from `process-alive-p' for
5754         consistency with other `-live-p' functions.
5756 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5758         * window.el (same-window-buffer-names, same-window-regexps)
5759         (special-display-frame-alist, special-display-popup-frame)
5760         (special-display-function, special-display-buffer-names)
5761         (special-display-regexps, pop-up-frame-alist)
5762         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5763         (pop-up-windows, split-window-preferred-function)
5764         (split-height-threshold, split-width-threshold, even-window-heights)
5765         (display-buffer-mark-dedicated): Don't encourage the use of
5766         display-buffer-alist from Elisp code.
5768 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
5770         * progmodes/python.el (python-mode): Derive from prog-mode.
5771         * progmodes/ps-mode.el (ps-mode):
5772         * progmodes/mixal-mode.el (mixal-mode):
5773         * progmodes/cfengine.el (cfengine-mode):
5774         * progmodes/ld-script.el (ld-script-mode): Likewise.
5776 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
5778         * window.el (display-buffer-alist): Trim default value to avoid
5779         popping up a new frame (Bug#8857) or reusing an arbitrary window
5780         on another frame.
5781         (display-buffer): Do not fall back on popping up a new frame in
5782         batch mode (Bug#8857).
5784 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
5786         * cus-theme.el (describe-theme-1): Use custom-theme-p.
5787         (custom-theme-summary): New function.
5788         (customize-themes): Use it.
5790 2011-06-13  Glenn Morris  <rgm@gnu.org>
5792         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5794 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
5796         * help.el (help-window): Remove variable.
5797         (help-window-point-marker, temp-buffer-max-height)
5798         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5799         (help-print-return-message): Don't set help-window.
5800         (resize-temp-buffer-window): Rewrite cod eand doc-string.
5801         (help-window-setup-finish): Remove.
5802         (help-window-display-message, help-window-setup)
5803         (with-help-window): Major rewrite based on new
5804         display-buffer-window variable.
5806         * help-mode.el (help-mode-finish): Remove help-window related
5807         code.
5809         * view.el (view-exits-all-viewing-windows): Remove reference to
5810         view-return-to-alist in doc-string.
5811         (view-return-to-alist): Make obsolete.
5812         (view-buffer): Call pop-to-buffer-same-window and remove
5813         undo-window code.
5814         (view-buffer-other-window): Call pop-to-buffer-other-window and
5815         simplify code.  Ignore second argument.
5816         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5817         simplify code.  Ignore second argument.
5818         (view-return-to-alist-update): Make obsolete.
5819         (view-mode-enter): Rename second argument to QUIT-RESTORE.
5820         Rewrite using quit-restore window parameters.
5821         (view-mode-exit): Rename second argument to EXIT-ONLY.
5822         Rewrite using quit-restore-window.
5823         (View-exit, View-exit-and-edit, View-leave, View-quit)
5824         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5825         appropriate arguments.
5826         (view-end-message): Use quit-restore window parameter.
5828         * window.el (display-buffer-function): Rewrite doc-string.
5829         (display-buffer-window, display-buffer-alist): New variables.
5830         (display-buffer-split-specifiers)
5831         (display-buffer-side-specifiers)
5832         (display-buffer-macro-specifiers): New constants.
5833         (display-buffer-even-window-sizes, display-buffer-set-height)
5834         (display-buffer-set-width, display-buffer-select-window)
5835         (display-buffer-in-window, display-buffer-reuse-window)
5836         (display-buffer-split-window-1, display-buffer-split-window)
5837         (display-buffer-split-atom-window, display-buffer-pop-up-window)
5838         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5839         (display-buffer-in-side-window, normalize-buffer-to-display)
5840         (display-buffer-normalize-specifiers-1)
5841         (display-buffer-normalize-specifiers-2)
5842         (display-buffer-normalize-specifiers, display-buffer-frame):
5843         New functions.
5844         (display-buffer): Major rewrite.
5845         (display-buffer-other-window, display-buffer-other-frame)
5846         (pop-to-buffer, switch-to-buffer-other-window)
5847         (switch-to-buffer-other-frame): Rewrite.
5848         (display-buffer-same-window, display-buffer-same-frame)
5849         (display-buffer-same-frame-other-window)
5850         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5851         (pop-to-buffer-other-window)
5852         (pop-to-buffer-same-frame-other-window)
5853         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5854         (switch-to-buffer-other-window-same-frame): New functions.
5855         (same-window-p, special-display-p): Rewrite disabling warnings.
5856         Make obsolete.
5857         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5858         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5859         Make obsolete
5860         (same-window-buffer-names, same-window-regexps)
5861         (special-display-frame-alist, special-display-popup-frame)
5862         (special-display-function, special-display-buffer-names)
5863         (special-display-regexps, pop-up-frame-alist)
5864         (pop-up-frame-function, split-window-preferred-function)
5865         (split-height-threshold, split-width-threshold)
5866         (even-window-heights): Make obsolete.
5868 2011-06-12  Glenn Morris  <rgm@gnu.org>
5870         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
5871         Misc simplifications.
5873 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
5875         * window.el (window-safely-shrinkable-p): Restore function which
5876         was inadvertently removed in change from 2011-06-11.  Declare as
5877         obsolete.
5879         * calendar/calendar.el (calendar-generate-window):
5880         Use window-iso-combined-p instead of combination of one-window-p and
5881         window-safely-shrinkable-p.
5883 2011-06-12  Glenn Morris  <rgm@gnu.org>
5885         * progmodes/fortran.el (fortran-mode-syntax-table):
5886         * progmodes/f90.el (f90-mode-syntax-table):
5887         Set % to punctuation.  (Bug#8820)
5888         (f90-find-tag-default): Remove, no longer needed.
5890 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
5892         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5894 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
5896         * image.el (image-animated-p): Return animation delay in seconds.
5897         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5898         (image-animate-timeout): Remove DELAY argument.  Don't assume
5899         every subimage has the same delay; get it from image-animated-p.
5900         (image-animate): Caller changed.
5902 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
5904         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5905         to ignored backtrace functions.
5907 2011-06-11  Glenn Morris  <rgm@gnu.org>
5909         * calendar/appt.el (appt-disp-window-function): Doc fix.
5910         (appt-check): Handle overlapping appointments.  (Bug#8337)
5912 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
5914         * window.el (window-tree-1, window-tree): New functions, moving
5915         the latter to window.el.
5916         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5917         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5918         (bw-refresh-edges): Remove.
5919         (balance-windows-1, balance-windows-2): New functions.
5920         (balance-windows): Rewrite in terms of window tree functions,
5921         balance-windows-1 and balance-windows-2.
5922         (bw-adjust-window): Remove.
5923         (balance-windows-area-adjust): New function with functionality of
5924         bw-adjust-window but using resize-window.
5925         (set-window-text-height): Rewrite doc-string.
5926         Use normalize-live-window and resize-window.
5927         (enlarge-window-horizontally, shrink-window-horizontally):
5928         Rename argument to DELTA.
5929         (window-buffer-height): New function.
5930         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5931         Rewrite using new window resize routines.
5932         (kill-buffer-and-window, mouse-autoselect-window-select):
5933         Use ignore-errors instead of condition-case.
5934         (quit-window): Call delete-frame instead of delete-windows-on
5935         for the only buffer on frame.
5937 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
5939         * loadup.el (top-level): Load window before files for the sake
5940         of replace-buffer-in-windows.
5942         * files.el (read-buffer-to-switch)
5943         (switch-to-buffer-other-window)
5944         (switch-to-buffer-other-frame, display-buffer-other-frame):
5945         Move to window.el.
5947         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5948         (previous-buffer): Move to window.el.
5950         * bindings.el (unbury-buffer): Move to window.el.
5952         * window.el (delete-other-windows-vertically): Move after
5953         definition of delete-other-windows.
5954         (other-window, delete-windows-on, replace-buffer-in-windows):
5955         Move here from window.c.
5956         (record-window-buffer, unrecord-window-buffer)
5957         (set-window-buffer-start-and-point, switch-to-prev-buffer)
5958         (switch-to-next-buffer): New functions.
5959         (get-next-valid-buffer, last-buffer, next-buffer): Move here
5960         from simple.el.  Call switch-to-next-buffer.
5961         (previous-buffer): Move here from simple.el.
5962         Call switch-to-prev-buffer.
5963         (bury-buffer): Move here from buffer.c.  Switch to previous
5964         buffer when window cannot be deleted.
5965         (unbury-buffer): Move here from bindings.el.
5966         (ctl-x-map): Move binding for other-window from window.c to
5967         here.
5968         (read-buffer-to-switch, switch-to-buffer-other-window)
5969         (switch-to-buffer-other-frame): Move here from files.el.
5970         (normalize-buffer-to-switch-to): New functions.
5971         (switch-to-buffer): Move here from buffer.c.
5972         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
5974 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
5976         * window.el (window-min-height, window-min-width): Move here
5977         from window.c.  Add defcustoms and rewrite doc-strings.
5978         (resize-mini-window, resize-window): New functions.
5979         (adjust-window-trailing-edge, enlarge-window, shrink-window):
5980         Move here from window.c.
5981         (maximize-window, minimize-window): New functions.
5982         (delete-window, delete-other-windows, split-window): Move here
5983         from window.c.
5984         (window-split-min-size): New function.
5985         (split-window-keep-point): Mention split-window-above-each-other
5986         instead of split-window-vertically.
5987         (split-window-above-each-other, split-window-vertically):
5988         Rename split-window-vertically to split-window-above-each-other and
5989         provide defalias for old definition.
5990         (split-window-side-by-side, split-window-horizontally): Rename
5991         split-window-horizontally to split-window-side-by-side and provide
5992         defalias for the old definition.
5993         (ctl-x-map): Move bindings for delete-window,
5994         delete-other-windows and enlarge-window here from window.c.
5995         Replace bindings for split-window-vertically and
5996         split-window-horizontally by bindings for
5997         split-window-above-each-other and split-window-side-by-side.
5999         * cus-start.el (all): Remove entries for window-min-height and
6000         window-min-width.  Add entries for window-splits and
6001         window-nest.
6003 2011-06-09  Glenn Morris  <rgm@gnu.org>
6005         * calendar/appt.el (appt-mode-line): New function.
6006         (appt-check, appt-disp-window): Use it.
6008         * files.el (hack-one-local-variable-eval-safep):
6009         Allow minor-modes with explicit +/-1 arguments.
6011 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
6013         * term/xterm.el (xterm): Add defgroup.
6014         (xterm-extra-capabilities): Add defcustom to supply known xterm
6015         capabilities, skip querying them, or query them (default).
6016         (terminal-init-xterm): Use it.
6017         (terminal-init-xterm-modify-other-keys): New function to set up
6018         modifyOtherKeys support to simplify `terminal-init-xterm'.
6020 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
6022         * window.el (resize-window-reset, resize-window-reset-1)
6023         (resize-subwindows-skip-p, resize-subwindows-normal)
6024         (resize-subwindows, resize-other-windows, resize-this-window)
6025         (resize-root-window, resize-root-window-vertically)
6026         (window-deletable-p, window-or-subwindow-p)
6027         (frame-root-window-p): New functions.
6029 2011-06-09  Glenn Morris  <rgm@gnu.org>
6031         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6032         (ange-ftp-get-files): Use it.
6034 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6036         * mail/sendmail.el (mail-recover-1, mail-recover):
6037         * files.el (recover-file, recover-session):
6038         Handle dired-listing-switches not being just a single short option.
6040 2011-06-09  Glenn Morris  <rgm@gnu.org>
6042         * calendar/appt.el (appt-display-message, appt-disp-window):
6043         Handle lists of appointments.
6045 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
6047         * window.el (one-window-p): Move down in code.
6048         Rewrite doc-string.
6049         (window-current-scroll-bars): Rewrite doc-string.
6050         Normalize live window argument.
6051         (walk-windows, get-window-with-predicate, count-windows):
6052         Rewrite doc-string.  Use window-list-1.
6053         (window-in-direction-2, window-in-direction, get-mru-window):
6054         New functions.
6056 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
6058         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6059         Doc fix (Bug#8713).
6061 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
6063         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6065 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
6067         * loadhist.el (unload-feature-special-hooks):
6068         Add `comint-output-filter-functions'.
6070 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
6072         * calendar/appt.el (appt-check): Move some initializations into the let.
6074 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
6076         * window.el (window-height): Defalias to window-total-height.
6077         (window-width): Defalias to window-body-width.
6079 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
6081         * image-mode.el (image-toggle-animation): New command.
6082         (image-mode-map): Bind it to RET.
6083         (image-mode): Update message.
6084         (image-toggle-display-image): Avoid a spurious cache flush.
6085         (image-transform-rotation): Doc fix.
6086         (image-transform-properties): Return quickly in the normal case.
6087         (image-animate-loop): Rename from image-animate-max-time.
6089         * image.el (image-animate-max-time): Move to image-mode.el.
6090         (create-animated-image): Remove unnecessary function.
6091         (image-animate): Rename from image-animate-start.  New arg.
6092         (image-animate-stop): Remove; just use image-animate-timer.
6093         (image-animate-timer): Use car-safe.
6094         (image-animate-timeout): Rename argument.
6096 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
6098         * window.el (get-lru-window, get-largest-window): Move here from
6099         window.c.  Rename first argument to ALL-FRAMES.
6100         Rephrase doc-strings.
6101         (get-buffer-window-list): Rewrite using window-list-1.
6102         Rephrase doc-string.
6103         (window-safe-min-height, window-safe-min-width): New constants.
6104         (window-size-ignore, window-min-size, window-min-size-1)
6105         (window-sizable, window-sizable-p, window-size-fixed-1)
6106         (window-size-fixed-p, window-min-delta-1, window-min-delta)
6107         (window-max-delta-1, window-max-delta, window-resizable)
6108         (window-resizable-p, window-total-height, window-total-width)
6109         (window-body-width): New functions.
6110         (window-full-height-p, window-full-width-p): Rewrite using
6111         window-total-size.
6112         (window-body-height): Rewrite using window-body-size.
6114 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
6116         * window.el (window-right, window-left, window-child)
6117         (window-child-count, window-last-child, window-any-p)
6118         (normalize-live-buffer, normalize-live-frame)
6119         (normalize-any-window, normalize-live-window)
6120         (window-iso-combination-p, window-iso-combined-p)
6121         (window-iso-combinations)
6122         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6123         (windows-with-parameter, window-with-parameter)
6124         (window-atom-root, make-window-atom, window-atom-check-1)
6125         (window-atom-check, window-side-check, window-check):
6126         New functions.
6127         (ignore-window-parameters, window-sides, window-sides-vertical)
6128         (window-sides-slots): New variables.
6129         (window-size-fixed): Move down in code.  Minor doc-string fix.
6131 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
6133         * comint.el (comint-dynamic-complete-as-filename)
6134         (comint-dynamic-complete-filename): Correctly call
6135         completion-in-region.
6137 2011-06-05  Deniz Dogan  <deniz@dogan.se>
6139         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6140         in last change.
6142 2011-06-05  Deniz Dogan  <deniz@dogan.se>
6144         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6145         (rcirc): Use it to prompt for encryption.
6147 2011-06-05  Roland Winkler  <winkler@gnu.org>
6149         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6150         (bibtex-search-entries): New command bound to C-c C-a.
6151         (bibtex-display-entries): New function.
6153 2011-06-05  Roland Winkler  <winkler@gnu.org>
6155         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6156         (bibtex-insert-kill): After yanking insert newline if necessary.
6157         (bibtex-initialize): Call bibtex-string-files-init only once.
6158         (bibtex-mode): Do not call easy-menu-add.
6159         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6160         (bibtex-yank): Set arg properly if nil.
6162 2011-06-05  Roland Winkler  <winkler@gnu.org>
6164         * textmodes/bibtex.el (bibtex-search-entry-globally):
6165         New variable.
6166         (bibtex-search-entry): Use it.
6168 2011-06-05  Roland Winkler  <winkler@gnu.org>
6170         * textmodes/bibtex.el (bibtex-entry-format): New option
6171         sort-fields.
6172         (bibtex-format-entry, bibtex-reformat): Honor this option.
6173         (bibtex-parse-entry): Return fields in proper order.
6175 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
6177         * doc-view.el (doc-view-remove-if): Move computation of result out
6178         of `dolist' to silence misleading lexical-binding warning.
6180 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
6182         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6183         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6185 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
6187         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6188         "SunOS 5.10".
6190 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
6192         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6193         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6194         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6195         (tramp-parse-putty):
6196         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6197         (tramp-completion-function-alist-ssh)
6198         (tramp-completion-function-alist-telnet)
6199         (tramp-completion-function-alist-su)
6200         (tramp-completion-function-alist-putty): Set `tramp-autoload'
6201         cookie.
6203         * net/tramp-ftp.el:
6204         * net/tramp-sh.el:
6205         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6206         load "tramp.el" `tramp-set-completion-function'.
6208 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6210         * shell.el: Require and use pcomplete.
6211         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6212         (shell-completion-vars): Set pcomplete-default-completion-function.
6214 2011-06-04  Deniz Dogan  <deniz@dogan.se>
6216         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6217         `memq' (Bug#8799).
6219 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6221         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6223 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
6225         * bs.el (bs--mark-unmark, bs--nth-wrapper):
6226         * mpc.el (mpc-select-extend, mpc-songpointer-context):
6227         * vc/log-view.el (log-view-beginning-of-defun):
6228         * vc/smerge-mode.el (smerge-apply-resolution-patch)
6229         (smerge-refine-forward, smerge-refine-chopup-region):
6230         Silence warning for unused `dotimes' counter variables.
6232 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         * net/tramp.el (tramp-with-progress-reporter): Rename from
6235         with-progress-reporter.  Use `declare'.
6236         * net/tramp-smb.el:
6237         * net/tramp-sh.el:
6238         * net/tramp-gvfs.el: Update all uses.
6240 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
6242         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6243         buffer isn't killed before making it current.
6245 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6247         Silence various byte-compiler warnings.
6248         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6249         `access-type' and new obsolescence format.
6250         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6251         new format.
6252         (byte-compile-check-variable): New `access-type' argument.
6253         Only warn if the access-type is obsolete.
6254         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6255         (byte-compile-variable-set): Adjust callers.
6256         * help-fns.el (describe-variable): Adjust to new obsolescence format.
6257         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6258         setting it as obsolete.
6259         * simple.el (minibuffer-completing-symbol):
6260         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6261         access as obsolete.
6262         * minibuffer.el (minibuffer-completing-file-name): Don't make it
6263         obsolete yet.
6264         * international/quail.el (quail-mouse-choose-completion): Remove unused
6265         code referring to obsolete var.
6266         (quail-choose-completion-string): Remove.
6267         * server.el (server-clients-with, server-kill-buffer-query-function)
6268         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6269         * proced.el (proced-send-signal):
6270         * emacs-lisp/lisp.el (lisp-complete-symbol):
6271         Replace completion-annotate-function with completion-extra-properties.
6273 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6275         * simple.el (goto-line): Use read-number.
6276         (overriding-map-is-bound): Remove.
6277         (saved-overriding-map): Change default.
6278         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6279         Take the map as argument.
6280         (universal-argument, negative-argument, digit-argument): Use it.
6281         (restore-overriding-map): Adjust.
6282         (do-auto-fill): Use fill-forward-paragraph.
6283         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6285         * minibuffer.el (minibuffer-inactive-mode-map): New var.
6286         (minibuffer-inactive-mode): New major mode.
6287         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6288         the *Messages* buffer" hack.
6289         (mouse-popup-menubar): Don't burp if the event is a normal key.
6291         Miscellaneous tweaks.
6292         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6293         lexical scoping as in subr.el's dolist and dotimes.
6294         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6295         Silence compiler warning.
6296         * thingatpt.el (forward-whitespace): Trivial coding style fix.
6297         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6298         * international/ccl.el (ccl-compile): Trivial simplification.
6299         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6300         * emacs-lisp/testcover.el (testcover-end): Remove spurious
6301         `printflag' argument.
6302         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6303         Purecopy the whole obsolescence data.
6305 2011-06-01  Leo Liu  <sdl.web@gmail.com>
6307         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6308         improve doc-string as suggested by Marco Pessotto
6309         <melmothx@gmail.com>.
6310         (rcirc-print): Fix last change.
6312 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6314         * minibuffer.el (complete-with-action): Return nil for the metadata and
6315         boundaries of non-functional tables.
6316         (completion-table-dynamic): Return nil for the metadata.
6317         (completion-table-with-terminator): Add default case, using
6318         complete-with-action.
6319         (completion--metadata): New function.
6320         (completion-all-sorted-completions, minibuffer-completion-help): Use it
6321         to try and avoid pathological performance problems.
6322         (completion--embedded-envvar-table): Return `category' metadata.
6324 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6326         * subr.el (process-alive-p): New tiny convenience function.
6328 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6330         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6331         content but also its previous major mode.
6333 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
6335         * emacs-lisp/debug.el (debug): Restore the previous content of the
6336         *Backtrace* buffer when we exit with C-M-c.
6338 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6340         * minibuffer.el: Add metadata method to completion tables.
6341         (completion-category-overrides): New defcustom.
6342         (completion-metadata, completion--field-metadata)
6343         (completion-metadata-get, completion--styles)
6344         (completion--cycle-threshold): New functions.
6345         (completion-try-completion, completion-all-completions):
6346         Add `metadata' argument to choose completion-styles.
6347         (completion--do-completion): Use metadata to choose cycling.
6348         (completion-all-sorted-completions): Use metadata for sorting.
6349         Remove :completion-cycle-penalty which is not needed any more.
6350         (completion--try-word-completion): Add `metadata' argument.
6351         (minibuffer-completion-help): Check metadata for annotation function
6352         and sorting.
6353         (completion-file-name-table): Return `category' metadata.
6354         (minibuffer-completing-file-name): Make obsolete.
6355         * simple.el (minibuffer-completing-symbol): Make obsolete.
6356         * icomplete.el (icomplete-completions): Pass new `metadata' param to
6357         completion-try-completion.
6359 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6363 2011-05-30  Leo Liu  <sdl.web@gmail.com>
6365         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
6366         (rcirc-print): Decode all incoming messages (bug#8744).
6367         (rcirc-decode-coding-system): Allow value nil for automatic coding
6368         system detection.
6370 2011-06-01  Glenn Morris  <rgm@gnu.org>
6372         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6374 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
6376         * image.el (image-animate-max-time): Allow nil and t values.
6377         Default to nil.
6378         (create-animated-image): Doc fix.
6379         (image-animate-start): Remove second arg; just use
6380         image-animate-max-time.
6381         (image-animate-timeout): Doc fix.  Args changed.
6383         * image-mode.el (image-toggle-display-image): Ensure that the
6384         image spec passed to the animate timer is the same object as in
6385         the buffer's display property (Bug#6981).
6386         (image-transform-properties): Doc fix.
6388         * image.el (image-animate-max-time): Default to nil.
6390 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
6392         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6393         entire buffer list (Bug#8184).
6395 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
6397         * image.el (imagemagick-types-inhibit)
6398         (imagemagick-register-types): Doc fix.
6400 2011-05-29  Deniz Dogan  <deniz@dogan.se>
6402         * net/rcirc.el (rcirc): Use the user's stored encryption method by
6403         default.
6405 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
6407         * select.el: Don't perform clipboard-manager saving in hooks;
6408         leave the hooks empty.
6410 2011-05-28  Leo Liu  <sdl.web@gmail.com>
6412         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6413         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
6414         (occur-edit-mode): New major mode (Bug#8463).
6415         (occur-after-change-function): New function.
6416         (occur-engine): Give Occur tags a read-only property.
6418 2011-05-28  Kevin Ryde  <user42@zip.com.au>
6420         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6422 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
6424         * bindings.el (help-echo): Make the initial non-indicator dash
6425         empty on graphical terminals (Bug#7295).
6427         * files.el (auto-mode-alist): Move config rule after the
6428         in-stripping one (Bug#8547).
6430         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6432         * startup.el (normal-splash-screen): Remove gratuitous mode-line
6433         setting (Bug#8740).
6435 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
6437         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6438         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6439         (Bug#8539).
6441 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
6443         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6445 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
6447         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6448         (hs-hide-block-at-point, hs-find-block-beginning)
6449         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6450         (Bug#8279).
6452 2011-05-28  Glenn Morris  <rgm@gnu.org>
6454         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
6456 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
6458         * help-fns.el (describe-function-1): If the function is a derived
6459         major mode, print the parent mode.
6461         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6462         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6464 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6466         * minibuffer.el (completion--capf-wrapper): Check applicability before
6467         returning non-nil for non-exclusive completion data.
6468         * progmodes/etags.el (tags-completion-at-point-function):
6469         * info-look.el (info-lookup-completions-at-point): Mark as
6470         non-exclusive.
6471         (info-complete): Adjust accordingly.
6473         * info-look.el: Convert to lexical-binding and completion-at-point.
6474         (info-lookup-completions-at-point): New function.
6475         (info-complete): Use it and completion-in-region.
6477 2011-05-28  Drew Adams  <drew.adams@oracle.com>
6479         * isearch.el: Let M-e start with point at the first mismatched char.
6480         (isearch-fail-pos): New function.
6481         (isearch-edit-string): Use it.
6483 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
6485         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6487 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
6489         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
6490         traversal functions for avl-trees.
6491         (avl-tree--stack): New struct.
6492         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6493         (avl-tree-enter): Add optional `updatefun' arg.
6494         (avl-tree--do-enter): Add optional `updatefun' arg.
6495         Change return value.
6496         (avl-tree-delete): Add optional `test' and `nilflag' args.
6497         (avl-tree--do-delete): Add `test' and `nilflag' args.
6498         Change return value.
6499         (avl-tree-member): Add optional `nilflag'
6500         (avl-tree-member-p): New function.
6501         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6502         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6503         (avl-tree-stack-empty-p): New functions.
6505 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
6507         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6508         avl-tree--del-balance1 and make it work both ways.
6509         (avl-tree--del-balance2): Remove.
6510         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6511         make it work both ways.
6512         (avl-tree--enter-balance2): Remove.
6513         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6514         New macros.
6515         (avl-tree--mapc, avl-tree-map): Add direction argument.
6517 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
6519         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6521 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
6523         * select.el: Support clipboard managers with built-in function
6524         x-clipboard-manager-save, via delete-frame-functions and
6525         kill-emacs-hook.
6526         (xselect-convert-to-targets): Add MULTIPLE target to list.
6527         (xselect-convert-to-save-targets): New function.
6529 2011-05-27  Kenichi Handa  <handa@m17n.org>
6531         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6532         let-binding rfc2047-encode-encoded-words to nil.
6534 2011-05-27  Glenn Morris  <rgm@gnu.org>
6536         * mail/emacsbug.el: Don't require url-util.
6538         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
6540         * files.el (set-auto-mode):
6541         Also respect mode: entries at the end of the file.  (Bug#8586)
6543 2011-05-26  Glenn Morris  <rgm@gnu.org>
6545         * files.el (hack-local-variables-prop-line, hack-local-variables):
6546         Downcase mode names, as seems to be traditional.
6547         (hack-local-variables, hack-local-variables-apply): Doc fixes.
6549         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6550         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
6552 2011-05-25  Julien Danjou  <julien@danjou.info>
6554         * textmodes/rst.el (rst-define-level-faces): Do not define face
6555         symbol if it is already defined.
6557 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6559         * play/5x5.el (5x5-new-game, 5x5-randomize):
6560         Reset 5x5-solver-output to nil when a new grid is cast.
6561         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6562         these debugging traces, as defmacro breaks the compiled code.
6564 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
6566         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6568 2011-05-24  Leo Liu  <sdl.web@gmail.com>
6570         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6571         (vc-bzr-sha1): Adapt.
6573         * sha1.el: Remove.  Function `sha1' is now builtin.
6575         * bindings.el: Provide sha1 feature.
6577 2011-05-24  Kenichi Handa  <handa@m17n.org>
6579         * mail/sendmail.el: Require `rfc2047'.
6580         (mail-insert-from-field): Do not perform RFC2047 encoding.
6581         (mail-encode-header): New function.
6582         (sendmail-send-it): Set buffer-file-coding-system of the work
6583         buffer to the return value of select-message-coding-system.
6584         Call mail-encode-header.
6586         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6588 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
6590         * mail/supercite.el (sc-default-cite-frame):
6591         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
6593 2011-05-24  Glenn Morris  <rgm@gnu.org>
6595         * progmodes/python.el (brm-menu): Declare.
6597         * emulation/viper.el (viper-set-hooks): Declare.
6599         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6600         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6601         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6602         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6603         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6604         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6606 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6608         Add an :exit-function for completion-at-point.
6610         * minibuffer.el (completion--done): New fun.
6611         (completion--do-completion): Use it.  New arg `expect-exact'.
6612         (minibuffer-complete, minibuffer-complete-word): Don't output message,
6613         since completion--do-completion does it for us now.
6614         (minibuffer-force-complete): Use completion--done and
6615         completion--replace.  Handle sole-completion case with more care.
6616         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6617         (completion-extra-properties): New var.
6618         (completion-annotate-function): Make obsolete.
6619         (minibuffer-completion-help): Adjust accordingly.
6620         Use completion-list-insert-choice-function.
6621         (completion-at-point, completion-help-at-point):
6622         Bind completion-extra-properties.
6623         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6624         * simple.el (completion-list-insert-choice-function): New var.
6625         (completion-setup-function): Preserve it.
6626         (choose-completion): Pay attention to it, shuffle the code a bit.
6627         (choose-completion-string): New arg `insert-function'.
6629         * textmodes/bibtex.el: Convert to lexical binding.
6630         (bibtex-mode-map): Use completion-at-point.
6631         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6632         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6633         (bibtex-complete): Define as obsolete alias.
6634         (bibtex-complete-internal): Remove.
6635         (bibtex-format-entry): Remove unused sub-group in regexp.
6636         * shell.el (shell--command-completion-data)
6637         (shell-environment-variable-completion):
6638         * pcomplete.el (pcomplete-completions-at-point):
6639         * comint.el (comint--complete-file-name-data): Use :exit-function
6640         instead of completion-table-with-terminator so it also works for
6641         choose-completion.
6643 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6645         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6647         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6648         (bug#8710).
6650         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6652 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
6654         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6655         customization variable and implement: If non-nil, auto-fill will
6656         be inhibited while on topic's header line.
6658 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6660         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
6661         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
6662         always have a solution in grid size = 5 cases.
6663         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6664         (5x5-solver-output, 5x5-log-buffer): New vars.
6665         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6666         Make these variables buffer local to achieve 5x5 multi-session-ness.
6667         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6668         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6669         (5x5-solve-suggest): New funs.
6670         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6671         randomize a grid so that we ensure that there is always a solution.
6672         (5x5-make-random-grid): Allow other movement than flipping.
6674 2011-05-23  Kevin Ryde  <user42@zip.com.au>
6676         * emacs-lisp/advice.el (ad-read-advised-function):
6677         Use `function-called-at-point' as the default default, if it has
6678         advice and passes PREDICATE.
6680 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6682         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6683         byte-compile-lambda if it's actually a lambda.
6685         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6686         Fix function quoting.  Use backquote better.
6688 2011-05-22  Yuanle Song  <sylecn@gmail.com>
6690         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6691         matching (Bug#8516).
6693 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
6695         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6696         different face (Bug#8178).
6698 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
6700         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6701         defface (Bug#8144).
6703 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6705         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6706         funcall as well (bug#8712).  Warn when performing those conversions.
6707         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6709         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6711 2011-05-22  Glenn Morris  <rgm@gnu.org>
6713         * files.el (hack-local-variables-prop-line): Small simplifications.
6714         (hack-local-variables, hack-local-variables-prop-line):
6715         If MODE-ONLY, return the mode, rather than just `t'.
6717 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6719         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6721 2011-05-21  Glenn Morris  <rgm@gnu.org>
6723         * files.el (hack-local-variables-prop-line, hack-local-variables):
6724         If only interested in the mode, don't bother doing the other stuff.
6726         * image-mode.el (image-after-revert-hook):
6727         Redraw all frames on which the image is visible.  (Bug#8567)
6729         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
6731         * wid-edit.el (widget-checklist-match-inline):
6732         Fix 2011-04-19 change.  (Bug#8649)
6734 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6736         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6737         Also allow singlespace after single-letter capitals followed by a dot.
6739         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6740         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6742 2011-05-20  Nix  <nix@esperi.org.uk>
6744         * files.el (basic-save-buffer-2):
6745         Fix handling of break-hardlink-on-save with non-existent files.
6747 2011-05-19  Deniz Dogan  <deniz@dogan.se>
6749         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
6750         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
6752 2011-05-19  Glenn Morris  <rgm@gnu.org>
6754         * progmodes/f90.el (f90-type-def-re):
6755         Handle "type, bind(c)".  (Bug#8691)
6757         * emacs-lisp/autoload.el (batch-update-autoloads):
6758         Set autoload-excludes by parsing loadup.el rather than Makefiles.
6760 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
6762         * net/tramp.el (tramp-process-actions): Set "first-password-request"
6763         property for the correct connection in case of multihops.
6765 2011-05-18  Glenn Morris  <rgm@gnu.org>
6767         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
6768         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6770         Rationalize calendar handling of day and month abbrev-arrays.
6771         * calendar/calendar.el (calendar-customized-p): New function.
6772         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6773         (calendar-day-name-array, calendar-month-name-array): Doc fix.
6774         Add :set function.
6775         (calendar-abbrev-length, calendar-day-abbrev-array)
6776         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6777         (calendar-day-abbrev-array, calendar-month-abbrev-array):
6778         Elements may no longer be nil.
6779         (calendar-day-name, calendar-month-name):
6780         Update for changed nature of abbrev arrays.
6781         * calendar/diary-lib.el (diary-name-pattern):
6782         Update for changed nature of abbrev arrays.
6783         (diary-mark-entries-1): Update calendar-make-alist calls.
6784         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6785         * calendar/cal-html.el (cal-html-day-abbrev-array):
6786         Simply inherit from calendar-day-abbrev-array.
6788 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6790         * progmodes/grep.el (grep-mode): Disable default
6791         compilation-directory-matcher setting (bug#8684).
6793 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
6795         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6796         instead of "head" and "tail".  There were problems with SunOS 5.9,
6797         and it performs better.
6799 2011-05-17  Glenn Morris  <rgm@gnu.org>
6801         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6803         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6804         Replace obsolete function.
6806         * shell.el (pcomplete-parse-arguments-function): Declare.
6808         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6809         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6810         (appt-check): Doc fixes.
6811         (appt-disp-window-function, appt-delete-window-function):
6812         Remove needless special case in custom :type.
6813         (appt-display-count): Default to 0, not nil.
6814         (appt-check): Reset appt-display-count to 0, not nil.
6816 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
6818         * progmodes/python.el (python-font-lock-keywords):
6819         Add the Python 3.X keyword "nonlocal" (bug#8639).
6821 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6823         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6825 2011-05-16  Kevin Ryde  <user42@zip.com.au>
6827         * info-look.el (makefile-automake-mode): New setups, looking in
6828         automake manual, then makefile-mode.
6829         (makefile-mode): Remove automake manual, have it just in
6830         makefile-automake-mode since there's various things different or
6831         not relevant to plain make.
6832         (makefile-mode): Remove "other-modes" non-existent automake-mode,
6833         believe a hypothetical automake-mode would go to makefile-mode,
6834         not the other way around.
6836 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
6838         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6839         hunk-end tags (Bug#8672).
6841         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6842         vc-annotate-show-diff-revision-at-line (Bug#8671).
6844 2011-05-14  Glenn Morris  <rgm@gnu.org>
6846         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6847         in the middle of an existing one with multiple authors.  (Bug#8645)
6848         (change-log-font-lock-keywords): Also handle multiple author lines
6849         with leading tabs.  (Bug#8644)
6851         * calendar/appt.el (appt-check): Rename some local variables.
6852         Some simplification/reordering.
6854         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6855         (feedmail-sendmail-f-doesnt-sell-me-out)
6856         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6857         (feedmail-debug-sit-for, feedmail-queue-express-hook)
6858         (feedmail-queue-runner-message-sender): Set :version.
6859         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6860         (bbdb-dwim-net-address, vm-mail): Declare.
6861         (feedmail-binmail-gnulinuxish-template):
6862         Rename from feedmail-binmail-linuxish-template.
6863         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6864         Use insert-buffer-substring.
6866 2011-05-14  Bill Carpenter  <bill@carpenter.org>
6868         * mail/feedmail.el (feedmail-patch-level): Increase.
6869         (feedmail-debug): New custom group.
6870         (feedmail-confirm-outgoing-timeout)
6871         (feedmail-sendmail-f-doesnt-sell-me-out)
6872         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6873         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6874         (feedmail-sender-line, feedmail-from-line)
6875         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
6876         (feedmail-spray-this-address)
6877         (feedmail-spray-address-fiddle-plex-list)
6878         (feedmail-queue-use-send-time-for-date)
6879         (feedmail-queue-use-send-time-for-message-id)
6880         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6881         (feedmail-buffer-eating-function):
6882         Doc fixes.
6883         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6884         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6885         (feedmail-message-action-scroll-down): New functions.
6886         (feedmail-queue-directory, feedmail-queue-draft-directory):
6887         Use expand-file-name.
6888         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6889         Remove C-v help entry.
6890         (feedmail-queue-buffer-file-name): New variable.
6891         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6892         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6893         (feedmail-message-action-send-strong, feedmail-message-action-edit)
6894         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6895         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6896         (feedmail-message-action-toggle-spray)
6897         (feedmail-run-the-queue-no-prompts)
6898         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6899         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6900         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6901         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6902         (feedmail-envelope-deducer, feedmail-fiddle-from)
6903         (feedmail-fiddle-sender, feedmail-default-date-generator)
6904         (feedmail-fiddle-date, feedmail-fiddle-message-id)
6905         (feedmail-fiddle-spray-address)
6906         (feedmail-fiddle-list-of-spray-fiddle-plexes)
6907         (feedmail-fiddle-list-of-fiddle-plexes)
6908         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6909         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6910         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6911         Change default.  Doc fix.
6912         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6913         (feedmail-binmail-linuxish-template): New constant.
6914         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
6915         Respect feedmail-sendmail-f-doesnt-sell-me-out.
6916         (feedmail-send-it): Add debug call.
6917         Use feedmail-queue-buffer-file-name, and
6918         feedmail-send-it-immediately-wrapper.
6919         (feedmail-message-action-send): Add debug call.
6920         Use feedmail-send-it-immediately-wrapper.
6921         (feedmail-queue-express-to-queue): Add debug call.
6922         Run feedmail-queue-express-hook.
6923         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
6924         (feedmail-message-action-help-blat):
6925         Rename from feedmail-queue-send-edit-prompt-help-first.
6926         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
6927         Check line-endings.  Handle errors better.
6928         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6929         Doc fix.  Add debug call.
6930         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
6931         Use feedmail-queue-send-edit-prompt-inner.
6932         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6933         (feedmail-queue-send-edit-prompt-inner): New function, extracted
6934         from feedmail-queue-send-edit-prompt.
6935         (feedmail-queue-send-edit-prompt-help)
6936         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6937         (feedmail-tidy-up-slug): Add debug call.
6938         Respect feedmail-queue-slug-suspect-regexp.
6939         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6940         (feedmail-dump-message-to-queue): Add debug call.
6941         Expand queue-directory.
6942         (feedmail-dump-message-to-queue): Change message slightly.
6943         Use feedmail-say-chatter.
6944         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
6945         (feedmail-send-it-immediately-wrapper): New function.
6946         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
6947         Insert empty string rather than newline.  Handle full-frame case.
6948         Use catch/throw.  Use feedmail-say-chatter.
6949         (feedmail-fiddle-from): Try mail-host-address.
6950         (feedmail-default-message-id-generator): Doc fix.
6951         Bind system-time-locale.  Handle missing end.
6952         (feedmail-fiddle-x-mailer): Add debug call.
6953         Handle feedmail-x-mailer-line being nil.
6954         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6955         Add debug call.  Use buffer-substring-no-properties.
6956         (feedmail-say-debug, feedmail-say-chatter): New functions.
6957         (feedmail-find-eoh): Give an explicit error.
6959 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
6961         * net/newst-treeview.el (newsticker-treeview-face): Change default
6962         family from helvetica to sans.
6963         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
6964         etc/images/newsticker.
6966         * net/newst-reader.el (newsticker-feed-face): Change default
6967         family from helvetica to sans.
6969         * net/newst-plainview.el (newsticker-new-item-face)
6970         (newsticker-old-item-face, newsticker-immortal-item-face)
6971         (newsticker-obsolete-item-face, newsticker-date-face)
6972         (newsticker-statistics-face): Change default family from
6973         helvetica to sans.
6974         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
6975         etc/images/newsticker.
6977         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6978         (newsticker--process-auto-mark-filter-match): : Tell user about
6979         auto-marking.
6981 2011-05-13  Didier Verna  <didier@xemacs.org>
6983         Common Lisp indentation improvements on defmethod and lambda-lists.
6984         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6985         TODO entries.
6986         (lisp-lambda-list-keyword-parameter-indentation)
6987         (lisp-lambda-list-keyword-parameter-alignment)
6988         (lisp-lambda-list-keyword-alignment): New customizable user options.
6989         (lisp-indent-defun-method): Improve docstring.
6990         (extended-loop-p): Fix comment.
6991         (lisp-indent-lambda-list-keywords-regexp): New variable.
6992         (lisp-indent-lambda-list): New function.
6993         (lisp-indent-259): Use it.
6994         (lisp-indent-defmethod): Support for more than one
6995         method qualifier and properly indent methods lambda-lists.
6996         (defgeneric): Provide a missing common-lisp-indent-function property.
6998 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7000         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7001         bounds for the empty string (bug#8667).
7003 2011-05-13  Glenn Morris  <rgm@gnu.org>
7005         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7007         * mail/sendmail.el (sendmail-program): Try executable-find first.
7008         (sendmail-send-it): `sendmail-program' cannot be unbound.
7010         * calendar/appt.el (appt-make-list): Simplify.
7011         (appt-time-msg-list): Doc fix.
7012         (appt-check): Change mode-line message at the time of the appointment.
7014 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
7016         * progmodes/ld-script.el (ld-script-keywords)
7017         (ld-script-builtins): Update keywords list.
7019 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7021         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7023         * shell.el (shell-completion-vars): New function.
7024         (shell-mode):
7025         * simple.el (read-shell-command): Use it.
7026         (blink-matching-open): No need for " [...]" in minibuffer-message.
7028 2011-05-12  Glenn Morris  <rgm@gnu.org>
7030         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7031         (appt-check): Simplify.
7033 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
7035         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
7036         literal "/dev/null".
7038 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7040         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7041         Fix typo.
7043 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
7045         * progmodes/which-func.el (which-function):
7046         Use add-log-current-defun instead of add-log-current-defun-function,
7047         which might not be defined (Bug#8260).
7049 2011-05-12  Glenn Morris  <rgm@gnu.org>
7051         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7052         Let byte-compile-initial-macro-environment always take precedence.
7054 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7056         * net/rcirc.el: Add support for SSL/TLS connections.
7057         (rcirc-server-alist): New field `encryption'.
7058         (rcirc): Check `encryption' settings.
7059         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
7060         Merge make-local-variable into `set'.
7061         (rcirc--connection-open-p): New function.
7062         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7063         the process is not a network process (e.g. running gnutls-cli).
7064         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7065         Make rcirc-(en|de)code-coding-system local here.
7066         (rcirc-mode): Merge make-local-variable into `set'.
7067         (rcirc-parent-buffer): Make permanent buffer-local.
7068         (rcirc-multiline-minor-mode): Don't do it here.
7069         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7070         there's no server buffer.
7072 2011-05-11  Glenn Morris  <rgm@gnu.org>
7074         * newcomment.el (comment-kill): Prefix "unused" local.
7076         * term/w32console.el (get-screen-color): Declare.
7078         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7079         Handle symbol elements of byte-compile-initial-macro-environment.
7081 2011-05-10  Leo Liu  <sdl.web@gmail.com>
7083         * bookmark.el (bookmark-bmenu-mode-map):
7084         Bind bookmark-bmenu-search to `/'.
7086         * mail/footnote.el: Convert to utf-8 encoding.
7087         (footnote-unicode-string, footnote-unicode-regexp): New variable.
7088         (Footnote-unicode): New function.
7089         (footnote-style-alist): Add unicode style to the list.
7090         (footnote-style): Doc fix.
7092 2011-05-10  Jim Meyering  <meyering@redhat.com>
7094         Fix doubled-word typos.
7095         * international/quail.el (quail-insert-kbd-layout): and and -> and
7096         * kermit.el: and and -> and
7097         * net/ldap.el (ldap-search-internal): to to -> to
7098         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7099         * progmodes/js.el (js-mode): and and -> and
7100         * textmodes/artist.el (artist-move-to-xy): at at -> at
7101         (artist-draw-region-trim-line-endings): if if -> if
7102         And Safetyc -> Safety.
7103         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7105 2011-05-10  Glenn Morris  <rgm@gnu.org>
7106             Stefan Monnier  <monnier@iro.umontreal.ca>
7108         * files.el (hack-one-local-variable-eval-safep):
7109         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
7111 2011-05-10  Glenn Morris  <rgm@gnu.org>
7113         * calendar/diary-lib.el (diary-list-entries-hook)
7114         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7115         (diary-nongregorian-marking-hook, diary-list-entries)
7116         (diary-include-other-diary-files, diary-mark-entries)
7117         (diary-mark-included-diary-files): Doc fixes.
7119 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
7121         * misc.el: Require tabulated-list.el during compilation.
7123 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
7125         * progmodes/compile.el (compilation-start):
7126         Run compilation-filter-hook for the async case too.
7127         (compilation-filter-hook): Doc fix.
7129 2011-05-09  Deniz Dogan  <deniz@dogan.se>
7131         * wdired.el: Remove outdated installation comment.  Fix usage
7132         comment.
7134 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
7136         * misc.el: Implement new command `list-dynamic-libraries'.
7137         (list-dynamic-libraries--loaded-only-p): New variable.
7138         (list-dynamic-libraries--refresh): New function.
7139         (list-dynamic-libraries): New command.
7141 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
7143         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7144         Fix the ant regexp to handle end-line and end-column info from jikes.
7145         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
7146         higher priority to avoid clobbering by gnu.
7148 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
7150         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7151         if the face has existing theme settings (Bug#8454).
7153 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
7155         * progmodes/perl-mode.el (perl-imenu-generic-expression):
7156         Only match variables declared via `my' or `our' (Bug#8261).
7158         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7159         special file names `.' and `..' (Bug#8259).
7161 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
7163         * progmodes/grep.el (grep-mode-font-lock-keywords):
7164         Remove buffer-changing entries.
7165         (grep-filter): New function.
7166         (grep-mode): Add it to compilation-filter-hook.
7168         * progmodes/compile.el (compilation-filter-hook)
7169         (compilation-filter-start): New defvars.
7170         (compilation-filter): Call compilation-filter-hook prior to
7171         updating the process mark.
7173 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7177 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
7179         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7180         mailclient-send-it even if window-system is nil.  (Bug#8595)
7182         * term/w32console.el (terminal-init-w32console):
7183         Call get-screen-color and use its output to set the frame
7184         background-mode.  (Bug#8597)
7186 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7188         Make bytecomp.el understand that defmethod defines funs (bug#8631).
7189         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7190         New functions.
7191         (defgeneric, eieio--defmethod): Use them.
7192         (eieio-defgeneric): Remove.
7193         (defmethod): Call defgeneric in a way visible to the byte-compiler.
7195 2011-05-07  Glenn Morris  <rgm@gnu.org>
7197         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7198         Use let rather than let*.
7199         (timeclock-find-discrep): Remove unused local.
7201         * calendar/diary-lib.el (diary-comment-start): Doc fix.
7203         * calendar/appt.el (appt-time-msg-list): Doc fix.
7205 2011-05-06  Noah Friedman  <friedman@splode.com>
7207         * apropos.el (apropos-print-doc): Only use
7208         emacs-lisp-docstring-fill-column when it is bound to an integer,
7209         per that variable's documentation.
7211 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7213         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
7214         and warnings are not silently discarded (e.g. use -d instead of -P).
7216 2011-05-06  Glenn Morris  <rgm@gnu.org>
7218         * calendar/appt.el (appt-message-warning-time): Doc fix.
7219         (appt-warning-time-regexp): New option.
7220         (appt-make-list): Respect appt-message-warning-time.
7222         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7223         New options.
7224         (diary-add-to-list): Strip comments from the displayed string.
7225         (diary-mode): Set comment-start and comment-end.
7227         * vc/diff-mode.el (smerge-refine-subst): Declare.
7228         (diff-refine-hunk): Don't require smerge-mode when compiling.
7230 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
7232         * simple.el (list-processes): Return nil as the docstring says.
7234 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
7236         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7237         to "".
7238         (ange-ftp-write-region, ange-ftp-insert-file-contents)
7239         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7240         determining of binary transfer.  (Bug#7383)
7242 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
7244         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7245         Fix port computation bug.  (Bug#8618)
7247 2011-05-05  Glenn Morris  <rgm@gnu.org>
7249         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7251         * simple.el (shell-dynamic-complete-functions)
7252         (comint-dynamic-complete-functions): Declare.
7254         * net/network-stream.el (gnutls-negotiate):
7255         * simple.el (tabulated-list-print): Fix declarations.
7257         * progmodes/gud.el (syntax-symbol, syntax-point):
7258         Remove unnecessary and incorrect declarations.
7260         * emacs-lisp/check-declare.el (check-declare-scan):
7261         Handle byte-compile-initial-macro-environment in bytecomp.el
7263 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7265         Fix earlier half-done eieio-defmethod change (bug#8338).
7266         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7267         Streamline and change calling convention.
7268         (defmethod): Adjust accordingly and simplify.
7269         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7270         new eieio--defmethod.
7271         (slot-boundp): Minor CSE simplification.
7273 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
7275         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7276         (glasses-make-readable): Use glasses-separate-capital-groups.
7278 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
7280         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7281         (warning-series): Doc fix.
7282         (display-warning): Don't try to create the buffer if we just found it.
7284 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
7286         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7287         (autoload-find-generated-file): New function.
7288         (generate-file-autoloads): Bind generated-autoload-file to
7289         buffer-file-name.
7290         (update-file-autoloads, update-directory-autoloads):
7291         Use autoload-find-generated-file.  If called interactively, prompt for
7292         output file (Bug#7989).
7293         (batch-update-autoloads): Doc fix.
7295 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
7297         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7299 2011-05-04  Glenn Morris  <rgm@gnu.org>
7301         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7302         function, so it follows changes in calendar-date-style.
7303         (diary-fancy-date-matcher): New function.
7304         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7305         (diary-fancy-font-lock-fontify-region-function):
7306         Use diary-fancy-date-pattern as a function.
7308         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7309         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
7311 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
7313         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7314         instead of positional arguments.  Allow :keylist and :crlfiles
7315         arguments.
7316         (open-gnutls-stream): Call it.
7318         * net/network-stream.el (network-stream-open-starttls): Adjust to
7319         call `gnutls-negotiate' with :process and :hostname arguments.
7321 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7323         * minibuffer.el (completion--message): New function.
7324         (completion--do-completion, minibuffer-complete)
7325         (minibuffer-force-complete, minibuffer-complete-word): Use it.
7326         (completion--do-completion): Don't ignore completion-auto-help when in
7327         icomplete-mode.
7329         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7330         internal encoding (e.g. tibetan zero is not whitespace).
7331         (global-whitespace-mode): Prefer save-current-buffer.
7332         (whitespace-trailing-regexp): Remove useless save-match-data.
7333         (whitespace-empty-at-bob-regexp): Minor simplification.
7335 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
7337         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7339 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7341         * textmodes/ispell.el (ispell-add-per-file-word-list):
7342         Use `concat' to create string for insertion.
7344 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7346         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7347         Avoid open-line which runs post-self-insert-hook.
7348         (bibtex-fill-entry): Remove unused `end' var.
7350 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
7352         * textmodes/ispell.el (ispell-add-per-file-word-list):
7353         Protect against `nil' value of `comment-start' (Bug#8579).
7355 2011-05-03  Leo Liu  <sdl.web@gmail.com>
7357         * isearch.el (isearch-yank-pop): New command.
7358         (isearch-mode-map): Bind it to `M-y'.
7359         (isearch-forward): Mention it.
7361 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7363         * simple.el (minibuffer-complete-shell-command): Remove.
7364         (minibuffer-local-shell-command-map): Use completion-at-point.
7365         (read-shell-command): Setup completion vars here instead.
7366         (read-expression-map): Bind TAB to symbol completion.
7368         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7369         error directly rather via storing it into `results'.
7371 2011-05-02  Leo Liu  <sdl.web@gmail.com>
7373         * vc/diff.el: Fix description.
7375 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7377         * server.el (server-eval-at): New function.
7379 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7381         * net/network-stream.el (open-network-stream): Take a :nowait
7382         parameter and pass it on to `make-network-process'.
7383         (network-stream-open-plain): Ditto.
7385 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7387         * faces.el (face-spec-set-match-display): Don't match toolkit
7388         options on terminal frames.
7390 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7392         * progmodes/pascal.el: Use lexical binding.
7393         (pascal-mode-map): Remove author preferences.
7395         * pcomplete.el (pcomplete-std-complete): Don't abuse
7396         completion-at-point.
7398 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
7400         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7401         removing code that has been dead since 1991 or so.
7403         * startup.el (command-line): When warning about "_emacs", use a
7404         delayed warning to allow the user to filter it out.
7406 2011-04-28  Deniz Dogan  <deniz@dogan.se>
7408         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7409         user has not joined.
7411 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7413         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7414         aren't any completions at point.
7416 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
7418         * subr.el (display-delayed-warnings): New function.
7419         (delayed-warnings-hook): New variable.
7421 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * minibuffer.el (completion-at-point, completion-help-at-point):
7424         Don't presume that a given completion-at-point-function will always
7425         use the same calling convention.
7427         * pcomplete.el (pcomplete-completions-at-point):
7428         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
7429         pcomplete-seen is non-nil.
7430         (pcomplete-comint-setup): Also recognize the new comint/shell
7431         completion functions.
7432         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7433         pcomplete-seen is non-nil.
7435 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
7437         * calendar/icalendar.el (diary-lib): Add require statement.
7438         (icalendar--create-uid): Read out a uid from a text-property on
7439         the first character in the entry.  This allows for code to add its
7440         own uid to the entry.
7441         (icalendar--convert-float-to-ical): Add export of
7442         `diary-float'-entries save for those with the optional DAY
7443         argument.
7445 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
7447         * subr.el (shell-quote-argument): Use alternate escaping strategy
7448         when we spot a variable reference in a string.
7450 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
7452         * cus-start.el (all): Define customization for debug-on-event.
7454 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
7456         * subr.el (shell-quote-argument): Escape correctly under Windows.
7458 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7460         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7462 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
7464         * net/tramp.el (tramp-process-actions): Add POS argument.
7465         Delete region between POS and (pos).
7467         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7468         Use `nil' position in `tramp-process-actions' call.
7469         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7471         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7472         position in `tramp-process-actions' call.
7474         * net/trampver.el: Update release number.
7476 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7478         * custom.el (defcustom): Obey lexical-binding.
7480         Fix octave-inf completion problems reported by Alexander Klimov.
7481         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7482         Inherit from octave-mode-syntax-table.
7483         (inferior-octave-mode): Set info-lookup-mode.
7484         (inferior-octave-completion-at-point): New function.
7485         (inferior-octave-complete): Use it and completion-in-region.
7486         (inferior-octave-dynamic-complete-functions): Use it as well, and use
7487         comint-filename-completion.
7488         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7489         symbol elements which shouldn't be word elements.
7490         (octave-font-lock-keywords, octave-beginning-of-defun)
7491         (octave-function-header-regexp): Adjust regexps accordingly.
7492         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7494 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
7496         * net/gnutls.el (gnutls-errorp): Declare before first use.
7498 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
7500         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7501         verify-error, and verify-hostname-error parameters.  Check whether
7502         default trustfile exists before going to use it.  Add missing
7503         argument to gnutls-message-maybe call.  Return return value.
7504         Reported by Claudio Bley <claudio.bley@gmail.com>.
7505         (open-gnutls-stream): Add usage example.
7507         * net/network-stream.el (network-stream-open-starttls): Give host
7508         parameter to `gnutls-negotiate'.
7509         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
7510         * subr.el (shell-quote-argument): Escape correctly under Windows.
7512 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
7514         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7515         Use correct match group (bug#8438).
7517 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
7519         * emacs-lisp/package.el (package-built-in-p): Fix typo.
7520         (package-menu--generate): New arg specifying packages to show.
7521         (package-menu-refresh, package-menu-execute, list-packages):
7522         Callers changed.
7523         (package-show-package-list): New function, replacing deleted
7524         package--list-packages (renamed because it is non-internal).
7526         * finder.el (finder-list-matches): Use package-show-package-list
7527         instead of deleted package--list-packages.
7529         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7530         Based on a previous implementation by Juanma Barranquero (Bug#8366).
7531         (vc-annotate-mode-map): Bind it to RET.
7533 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7535         * progmodes/etags.el (next-file): Don't use set-buffer to change
7536         buffers (Bug#8478).
7538 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
7540         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7542         * apropos.el (apropos-label-face): Avoid variable-pitch face.
7543         (apropos-accumulator): Doc fix.
7544         (apropos-function, apropos-macro, apropos-command)
7545         (apropos-variable, apropos-face, apropos-group, apropos-widget)
7546         (apropos-plist): Add face property.
7547         (apropos-symbols-internal): Fix indentation.
7548         (apropos-print): Simplify help, and recognize apropos-multi-type.
7549         (apropos-print-doc): Use button-type-get to extract the button's
7550         face property.  Fill docstring (Bug#8352).
7552 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
7554         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7556         * play/mpuz.el (mpuz-silent): Doc fix.
7557         (mpuz-mode-map): Use mapc.
7558         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7559         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7560         Fix typos in docstrings.
7562         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7563         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7565         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7567 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
7569         * minibuffer.el (completion--do-completion): Avoid the "Next char
7570         not unique" prompt if icomplete-mode is enabled (Bug#5849).
7572         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7573         mouse-2 into unread-command-events, it is interpreted correctly.
7575         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
7576         (image-toggle-display): Doc fix.
7578 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
7580         * textmodes/page.el (what-page): Use line-number-at-pos to
7581         calculate line number (Bug#6825).
7583 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
7585         * eshell/esh-mode.el (find-tag-interactive): Declare function.
7586         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7587         Pass argument NO-DEFAULT to `find-tag-interactive'.
7589 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
7591         Lexical-binding cleanup.
7593         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7594         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7595         * progmodes/ada-prj.el (ada-prj-initialize-values)
7596         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7597         (ada-prj-show-value):
7598         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7599         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7600         (antlr-invalidate-context-cache, antlr-options-menu-filter)
7601         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7602         * progmodes/bug-reference.el (bug-reference-push-button):
7603         * progmodes/fortran.el (fortran-line-length):
7604         * progmodes/glasses.el (glasses-change):
7605         * progmodes/octave-mod.el (octave-fill-paragraph):
7606         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7607         (python-pdbtrack-grub-for-buffer, python-sentinel):
7608         * progmodes/sql.el (sql-save-connection):
7609         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7610         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7611         Mark unused parameters.
7613         * progmodes/compile.el (compilation--flush-directory-cache)
7614         (compilation--flush-parse, compile-internal): Mark unused parameters.
7615         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7616         (compilation-next-error-function): Remove unused variable `timestamp'.
7618         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7619         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7621         * progmodes/dcl-mode.el (dcl-end-of-command):
7622         Remove unused variable `start'.
7623         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7624         (dcl-option-value-basic, dcl-option-value-offset)
7625         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7626         Mark unused parameters.
7627         (dcl-save-local-variable): Remove unused variable `val'.
7628         (mode): Declare.
7630         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7631         Mark unused parameters.
7632         (delphi-ignore-changes): Move before first use.
7633         (delphi-charset-token-at): Remove unused variable `start'.
7634         (delphi-else-start): Remove unused variable `if-count'.
7635         (delphi-comment-block-start, delphi-comment-block-end):
7636         Remove unused variable `kind'.
7637         (delphi-indent-line): Remove unused variable `new-point'.
7639         * progmodes/ebrowse.el (ebrowse-files-list)
7640         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7641         Mark unused parameters.  Don't quote `lambda'.
7642         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7643         Don't quote `lambda'.
7644         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7645         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7646         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7647         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7648         Use `ignore-errors'.
7649         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7650         (ebrowse-view/find-file-and-search-pattern)
7651         (ebrowse-view/find-member-declaration/definition):
7652         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7653         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7654         Rename parameter PREFIX-ARG to PREFIX.
7655         (ebrowse-tags-read-name): Remove unused variables `start' and
7656         `member-info'.
7657         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7658         to `tags-file'.
7660         * progmodes/etags.el (local-find-tag-hook): Declare.
7661         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7662         Mark unused parameters.
7664         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7665         (executable-interpret): Mark unused parameter.
7667         * progmodes/flymake.el (flymake-process-sentinel)
7668         (flymake-after-change-function)
7669         (flymake-create-temp-with-folder-structure)
7670         (flymake-get-include-dirs-dot): Mark unused parameters.
7671         (flymake-safe-delete-directory): Remove unused variable `err'.
7673         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7674         (speedbar-timer-fn, speedbar-line-text)
7675         (speedbar-change-expand-button-char, speedbar-delete-subblock)
7676         (speedbar-center-buffer-smartly): Declare functions.
7677         (gdb-find-watch-expression): Remove unused variable `array'.
7678         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7679         (gdb-starting): Mark unused parameters.
7680         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7681         (gdb-table-string): Remove unused variable `res'.
7682         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7683         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7684         (gdb-display-buffer): Remove unused variable `cur-size'.
7686         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7687         allow lexical-binding compilation.
7688         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7689         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7690         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7691         Mark unused parameters.
7692         (gud-gdb-marker-filter): Remove unused variable `match'.
7693         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7694         lambda expressions and funcall them, instead of using `fset'.
7696         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7697         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7699         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7700         variable `header-beg'; use `let'.
7702         * progmodes/icon.el (indent-icon-exp): Remove unused variables
7703         `restart', `last-sexp' and `at-do'.
7705         * progmodes/js.el (js--debug): Mark unused parameter.
7706         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7707         (js--splice-into-items): Remove unused variable `item'.
7708         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7710         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7711         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7712         (makefile-complete): Remove unused variable `try'.
7713         (makefile-fill-paragraph, makefile-match-function-end):
7714         Mark unused parameters.
7716         * progmodes/octave-inf.el (inferior-octave-complete):
7717         Remove unused variable `proc'.
7718         (inferior-octave-output-digest): Mark unused parameter.
7720         * progmodes/perl-mode.el (perl-calculate-indent):
7721         Remove unused variable `err'.
7723         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7724         (prolog-indent-line): Mark unused parameters.
7725         (prolog-indent-line): Remove unused variable `beg'.
7727         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7728         (reporter-dont-compact-list): Declare.
7730         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7731         Remove unused variable `char'.
7732         (sh-debug): Mark unused parameter.
7733         (sh-get-indent-info): Remove unused variable `start'.
7734         (sh-calculate-indent): Remove unused variable `var'.
7736         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7737         (simula-electric-keyword): Remove unused variable `null'.
7738         (simula-search-backward, simula-search-forward): Remove unused
7739         variables `begin' and `end'.
7741         * progmodes/vera-mode.el (vera-guess-basic-syntax):
7742         Remove unused variable `pos'.
7743         (vera-electric-tab, vera-comment-uncomment-region):
7744         Mark unused parameters.
7745         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7747 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
7749         * emacs-lisp/package.el (package--builtins, package-alist)
7750         (package-load-descriptor, package-built-in-p, package-activate)
7751         (define-package, package-installed-p)
7752         (package-compute-transaction, package-buffer-info)
7753         (package--push): Doc fix.  Distinguish more clearly between
7754         version strings and version lists.
7756 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
7758         Lexical-binding cleanup.
7760         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7761         (5x5-make-mutate-best):
7762         * play/fortune.el (fortune-in-buffer):
7763         * play/gomoku.el (gomoku-init-display):
7764         * play/solitaire.el (solitaire, solitaire-do-check):
7765         * play/tetris.el (tetris-default-update-speed-function):
7766         Mark unused parameters.
7768         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7769         (bubbles--shift): Remove unused variable `char-org'.
7770         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
7771         (bubbles--show-images): Remove unused variable `char'.
7773         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7774         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7775         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7776         (decipher-analyze-buffer): Use ?\s.
7777         (decipher-make-checkpoint): Remove unused variable `mapping'.
7779         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7781         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7782         Remove unused variable `result'; use `let'.
7784         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7785         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7786         (gametree-children-shown-p, gametree-compute-reduced-score):
7787         Use `ignore-errors'.
7789         * play/handwrite.el (ps-lpr-switches): Declare.
7790         (handwrite): Remove unused variables `pmin' and `lastp'.
7792         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7794         * play/landmark.el (landmark-init-display)
7795         (landmark-update-naught-weights): Mark unused parameters.
7796         (landmark-y): Remove unused variable `noise'.  Simplify.
7797         (landmark-human-plays): Remove unused variable `score'.
7799         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7800         (mpuz-try-proposal): Remove unused variable `game'.
7802         * play/zone.el (life-patterns): Declare.
7804 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
7806         * vc/vc.el (ediff-vc-internal): Declare function.
7808 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7810         * shell.el: Use lexical-binding and std completion UI.
7811         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7812         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7813         comint-preoutput-filter-functions rather than on
7814         comint-output-filter-functions.
7815         (shell-command-completion, shell--command-completion-data)
7816         (shell-filename-completion, shell-environment-variable-completion)
7817         (shell-c-a-p-replace-by-expanded-directory): New functions.
7818         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7819         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7820         (shell-dynamic-complete-environment-variable): Use them.
7821         (shell-dynamic-complete-as-environment-variable)
7822         (shell-dynamic-complete-as-command): Remove.
7823         (shell-match-partial-variable): Match past point.
7824         * comint.el: Clean up use of completion-at-point-functions.
7825         (comint-completion-at-point): New function.
7826         (comint-mode): Use it completion-at-point-functions.
7827         (comint-dynamic-complete): Make it obsolete.
7828         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7829         (comint-c-a-p-replace-by-expanded-history): New function.
7830         (comint-dynamic-complete-functions)
7831         (comint-replace-by-expanded-history): Use it.
7832         * minibuffer.el (completion-table-with-terminator): Allow dynamic
7833         termination strings.  Try harder to avoid second try-completion.
7834         (completion-in-region-mode-map): Disable bindings that don't work yet.
7836         * comint.el: Use lexical-binding.  Require CL.
7837         (comint-dynamic-complete-functions): Use comint-filename-completion.
7838         (comint-completion-addsuffix): Tweak custom type.
7839         (comint-filename-completion, comint--common-suffix)
7840         (comint--common-quoted-suffix, comint--table-subvert)
7841         (comint--complete-file-name-data): New functions.
7842         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7843         (comint-dynamic-list-filename-completions): Use them.
7844         (comint-dynamic-simple-complete): Make obsolete.
7846         * minibuffer.el (completion-in-region-mode):
7847         Keep completion-in-region-mode--predicate global.
7848         (completion-in-region--postch):
7849         Assume completion-in-region-mode--predicate is not null.
7851         * progmodes/flymake.el (flymake-start-syntax-check-process):
7852         Obey `dir'.  Simplify.
7854         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7855         we're in VC after all.
7857 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
7859         * vc/vc.el (vc-diff-build-argument-list-internal)
7860         (vc-version-ediff, vc-ediff): New commands.
7861         (vc-version-diff): Use vc-diff-build-argument-list-internal.
7863 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7865         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7866         add sanity check.
7868         * obsolete/erc-hecomplete.el: Make obsolete.
7869         * obsolete/: Standardize obsolescence info in the header.
7871 2011-04-20  Glenn Morris  <rgm@gnu.org>
7873         * calendar/solar.el (solar-horizontal-coordinates):
7874         Use the longitude argument rather than `calendar-longitude'.
7875         (solar-date-next-longitude): Remove unused locals.
7877 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7879         * whitespace.el: New version 13.2.1.
7881 2011-04-20  felix  <EmacsWiki>  (tiny change)
7883         * whitespace.el (global-whitespace-mode): Keep highlight when
7884         switching between major modes on a file.
7886 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7888         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7889         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7890         multi-line comments as well.
7892 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
7894         Lexical-binding cleanup.
7896         * arc-mode.el (archive-mode-revert):
7897         * cmuscheme.el (scheme-interactively-start-process):
7898         * custom.el (custom-initialize-delay):
7899         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7900         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7901         * emacs-lock.el (emacs-lock-clear-sentinel):
7902         * ezimage.el (defezimage):
7903         * follow.el (follow-avoid-tail-recenter):
7904         * fringe.el (set-fringe-mode-1):
7905         * generic-x.el (bat-generic-mode-compile):
7906         * help-mode.el (help-info-variable, help-do-xref)
7907         (help-mode-revert-buffer):
7908         * help.el (view-emacs-todo):
7909         * iswitchb.el (iswitchb-completion-help):
7910         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7911         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7912         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7913         * locate.el (locate-update):
7914         * longlines.el (longlines-encode-region)
7915         (longlines-after-change-function):
7916         * outline.el (outline-isearch-open-invisible):
7917         * ps-def.el (declare-function, charset-dimension, char-width)
7918         (encode-char):
7919         * ps-mule.el (ps-mule-plot-string):
7920         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7921         (recentf-edit-list-select, recentf-edit-list-validate)
7922         (recentf-open-files-action):
7923         * rect.el (delete-whitespace-rectangle-line)
7924         (rectangle-number-line-callback):
7925         * register.el (window-configuration-to-register)
7926         (frame-configuration-to-register):
7927         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7928         * select.el (xselect-convert-to-string, xselect-convert-to-length)
7929         (xselect-convert-to-targets, xselect-convert-to-delete)
7930         (xselect-convert-to-filename, xselect-convert-to-charpos)
7931         (xselect-convert-to-lineno, xselect-convert-to-colno)
7932         (xselect-convert-to-os, xselect-convert-to-host)
7933         (xselect-convert-to-user, xselect-convert-to-class)
7934         (xselect-convert-to-name, xselect-convert-to-integer)
7935         (xselect-convert-to-atom, xselect-convert-to-identity):
7936         * subr.el (declare, ignore, process-kill-without-query)
7937         (text-clone-maintain):
7938         * terminal.el (te-get-char, te-tic-sentinel):
7939         * tool-bar.el (tool-bar-make-keymap):
7940         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7941         * type-break.el (type-break-mode, type-break-noninteractive-query):
7942         * view.el (View-back-to-mark):
7943         * wid-browse.el (widget-browse-action, widget-browse-widget)
7944         (widget-browse-widgets, widget-browse-sexp):
7945         * widget.el (define-widget-keywords):
7946         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7947         Mark unused parameters.
7949         * align.el (align-adjust-col-for-rule): Mark unused parameter.
7950         (align-areas): Remove unused variable `look'.
7951         (align-region): Remove unused variables `real-end' and `pos-list'.
7953         * apropos.el (apropos-score-doc): Remove unused variable `i'.
7955         * bindings.el (mode-line-modified, mode-line-remote):
7956         Mark unused parameters.
7957         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7959         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7960         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7962         * comint.el (comint-history-isearch-pop-state)
7963         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7964         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7965         (comint-substitute-in-file-name): Doc fix.
7967         * completion.el (cmpl-statistics-block): Mark unused parameter.
7968         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7969         (save-completions-to-file, load-completions-from-file):
7970         Remove unused local variable `e'.
7972         * composite.el (compose-chars): Remove unused variable `len'.
7973         (lgstring-insert-glyph): Remove unused variable `g'.
7974         (compose-glyph-string): Remove unused variables `ascent',
7975         `descent', `lbearing' and `rbearing'.
7976         (compose-glyph-string-relative): Remove unused variables
7977         `lbearing', `rbearing' and `wadjust'.
7978         (compose-gstring-for-graphic): Remove unused variables `header',
7979         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
7980         (compose-gstring-for-terminal): Remove unused variables `header'
7981         and `nchars'.  Use `let', not `let*'.
7983         * cus-edit.el (Custom-set, Custom-save, custom-reset)
7984         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7985         (Custom-buffer-done, custom-buffer-create-internal)
7986         (custom-browse-visibility-action, custom-browse-group-tag-action)
7987         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7988         (widget-magic-mouse-down-action, custom-toggle-parent)
7989         (custom-add-parent-links, custom-toggle-hide-variable)
7990         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7991         (custom-toggle-hide-face, face, hook, custom-group-link-action)
7992         (custom-face-menu-create, custom-variable-menu-create, get)
7993         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7994         (custom-reset-standard-save-and-update): Remove unused variable `value'.
7995         (customize-apropos): Remove unused variable `tests'.
7996         (custom-group-value-create): Remove unused variable `hidden-p'.
7997         (sort-fold-case): Declare.
7999         * cus-theme.el (custom-reset-standard-faces-list)
8000         (custom-reset-standard-variables-list): Declare.
8001         (customize-create-theme, custom-theme-revert, custom-theme-write)
8002         (custom-theme-choose-mode, customize-themes, custom-theme-save):
8003         Mark unused parameters.
8005         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8007         * delim-col.el (delimit-columns-max): Move defvar before first use.
8009         * descr-text.el (describe-char-categories): Don't quote `lambda'.
8010         (describe-char): Don't quote `lambda'.  Mark unused parameter.
8012         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8013         (auto-insert): Declare.
8014         (desktop-restore-file-buffer): Rename desktop-* parameters;
8015         mark unused ones.
8016         (desktop-create-buffer): Rename desktop-* parameters and bind them.
8017         (desktop-buffer): Rename desktop-* parameters.
8019         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8020         (dframe-reposition-frame-xemacs, dframe-help-echo)
8021         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8022         Mark unused parameters.
8024         * dired-aux.el (backup-extract-version-start, overwrite-query)
8025         (overwrite-backup-query, rename-regexp-query)
8026         (rename-non-directory-query): Declare.
8027         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8028         (dired-add-entry): Remove unused variable `orig-file-name'.
8029         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8030         Use parameter PRESERVE-TIME instead of accessing dynamic variable
8031         `dired-copy-preserve-time' directly.
8032         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8033         (dired-insert-subdir-newpos): Rename unused variable `pos'.
8035         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8036         (dired-virtual-revert, dired-make-relative-symlink):
8037         Mark unused parameters.
8038         (manual-program): Declare.
8039         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8040         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8041         wrapped in `with-no-warnings' to avoid replacing one warning by another.
8043         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8045         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8047         * echistory.el (electric-history-in-progress, Helper-return-blurb):
8048         Declare.
8050         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8052         * electric.el (Electric-command-loop): Rename parameter
8053         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8055         * expand.el (expand-in-literal): Remove unused variable `here'.
8057         * facemenu.el (facemenu-add-new-color):
8058         Remove unused variable `docstring'.
8060         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8061         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8062         (face-attr-construct): Mark unused parameter.  Doc fix.
8063         (read-color): Remove unused variable `hex-string'.
8065         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8066         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8067         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8068         (display-buffer-other-frame): Remove unused variable `old-window'.
8069         (kill-buffer-hook): Declare.
8070         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8071         Mark unused parameters.
8072         (after-find-file): Pass 1 to `auto-save-mode', not t.
8074         * files-x.el (auto-insert): Declare.
8075         (modify-file-local-variable-prop-line): Remove unused variable `val'.
8077         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
8078         variable `buf'.  Mark unused parameter.
8079         (find-lisp-insert-directory): Mark unused parameter.
8081         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8082         (format-encode-region): Remove unused variables `cur-buf' and `result'.
8083         (format-common-tail): Remove, unused.
8084         (format-deannotate-region): Remove unused variable `loc'.
8085         (format-annotate-region): Remove unused variable `p'.
8086         (format-annotate-single-property-change): Remove unused variables
8087         `default' and `tail'.
8089         * forms.el (read-file-filter): Declare.
8090         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8092         * frame.el (frame-creation-function-alist): Mark unused parameter.
8093         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8095         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8096         Remove unused parameters.
8097         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8098         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8100         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8101         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8102         (hfy-prepare-tag-map): Mark unused parameters.
8103         (htmlfontify-buffer): Use `called-interactively-p'.
8105         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8106         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8107         (ibuffer-do-occur): Mark unused parameters.
8108         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8109         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8111         * ibuffer.el: Don't quote `lambda'.
8112         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8113         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8114         Mark unused parameters.
8116         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8117         (ido-completing-read): Mark unused parameters.
8118         (ido-copy-current-word): Mark unused parameters;
8119         remove unused variable `name'.
8120         (ido-sort-merged-list): Remove unused parameter `dirs'.
8122         * ielm.el (ielm-input-sender): Mark unused parameter.
8123         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8124         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8125         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8126         `ielm-string' as a dynamic variable accessible from the IELM prompt.
8127         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
8129         * image-dired.el (image-dired-display-thumbs): Remove unused
8130         variables `curr-file' and `count'.
8131         (image-dired-remove-tag): Remove unused variable `start'.
8132         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8133         variable `curr-file'
8134         (image-dired-rotate-original): Remove unused variable `temp-file'.
8135         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8136         Remove unused variable `file'.
8137         (image-dired-gallery-generate): Remove unused variable `curr'.
8138         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8140         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8142         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8144         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8146         * isearch.el (minibuffer-history-symbol): Declare.
8147         (isearch-edit-string): Remove unused variable `err'.
8148         (isearch-message-prefix, isearch-message-suffix):
8149         Mark unused parameters.
8151         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8153         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8155         * makesum.el (double-column): Remove unused variable `cnt'.
8157         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8158         (ido-ignore-item-temp-list): Declare.
8160         * mouse-drag.el (mouse-drag-throw): Remove unused variables
8161         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8162         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8163         (mouse-drag-drag): Remove unused variables `mouse-delta' and
8164         `mouse-col-delta'.
8166         * mouse-sel.el (mouse-extend-internal):
8167         Remove unused variable `orig-window-frame'.
8169         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8170         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8171         Move declarations before first use.
8172         (pcomplete-opt): Mark unused parameters; doc fix.
8174         * proced.el (proced-revert): Mark unused parameter.
8175         (proced-send-signal): Remove unused variable `err'.
8177         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8178         Rename parameter PREFIX-ARG to ARG.
8179         (ps-basic-plot-string, ps-basic-plot-whitespace):
8180         Mark unused parameters.
8182         * replace.el (replace-count): Define.
8183         (occur-revert-function): Mark unused parameters.
8184         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8185         (isearch-case-fold-search, isearch-string): Declare.
8186         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8187         bind `case-fold-search'.  Remove unused variables `beg' and `end',
8188         and simplify.
8189         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8190         COUNT and bind `replace-count'.
8191         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8192         to COUNT.
8194         * savehist.el (print-readably, print-string-length): Declare.
8196         * shadowfile.el (shadow-expand-cluster-in-file-name):
8197         Remove unused variable `cluster'.
8198         (shadow-copy-file): Remove unused variable `i'.
8199         (shadow-noquery, shadow-clusters, shadow-site-cluster)
8200         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8201         (shadow-define-literal-group, shadow-define-regexp-group)
8202         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8204         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8205         (shell): Use `called-interactively-p'.
8206         (shell-directory-tracker): Remove unused variable `chdir-failure'.
8208         * simple.el (compilation-context-lines, comint-file-name-quote-list)
8209         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8210         (delete-backward-char): Remove unused variable `ocol'.
8211         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8212         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8213         (event-apply-hyper-modifier, event-apply-shift-modifier)
8214         (event-apply-control-modifier, event-apply-meta-modifier):
8215         Mark unused parameters.
8216         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8217         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8219         * speedbar.el (speedbar-ignored-directory-expressions)
8220         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8221         (speedbar-find-file, speedbar-dir-follow)
8222         (speedbar-directory-buttons-follow, speedbar-tag-find)
8223         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8224         (speedbar-buffers-line-directory, speedbar-buffer-click):
8225         Mark unused parameters.
8226         (speedbar-tag-file): Remove unused variable `mode'.
8227         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8229         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8231         * talk.el (talk): Remove unused variable `display'.
8233         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8234         (tar-write-region-annotate): Mark unused parameter.
8236         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8237         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8238         Declare them, wrapped in `with-no-warnings' to avoid replacing one
8239         warning by another.
8241         * time-stamp.el (time-stamp-string-preprocess):
8242         Remove unused variable `require-padding'.
8244         * tree-widget.el (widget-glyph-enable): Declare.
8245         (tree-widget-action): Mark unused parameter.
8247         * w32-fns.el (x-get-selection): Mark unused parameter.
8248         (autoload-make-program, generated-autoload-file): Declare.
8250         * wdired.el (wdired-revert): Mark unused parameters.
8251         (wdired-xcase-word): Remove unused variable `err'.
8253         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8254         (whitespace-help-scroll): Remove unused variable `data-help'.
8256         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8257         (widget-image-insert, widget-after-change, default)
8258         (widget-default-format-handler, widget-default-notify)
8259         (widget-default-prompt-value, widget-info-link-action)
8260         (widget-url-link-action, widget-function-link-action)
8261         (widget-variable-link-action, widget-file-link-action)
8262         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8263         (widget-field-prompt-internal, widget-field-action, widget-field-match)
8264         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8265         (widget-insert-button-action, widget-delete-button-action, visibility)
8266         (widget-documentation-link-action, widget-documentation-string-action)
8267         (widget-const-prompt-value, widget-regexp-match, symbol)
8268         (widget-coding-system-prompt-value)
8269         (widget-key-sequence-value-to-external, sexp)
8270         (widget-sexp-value-to-internal, character, vector, cons)
8271         (widget-choice-prompt-value, widget-boolean-prompt-value)
8272         (widget-color--choose-action): Mark unused parameters.
8273         (widget-item-match-inline, widget-choice-match-inline)
8274         (widget-checklist-match, widget-checklist-match-inline)
8275         (widget-group-match): Rename parameter VALUES to VALS.
8276         (widget-field-value-set): Remove unused variable `size'.
8277         (widget-color-action): Remove unused variables `value' and `start'.
8279         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
8280         variable `dir'.  Doc fix.
8281         (windmove-find-other-window): Don't pass it.
8283         * window.el (count-windows): Mark unused parameter.
8284         (bw-adjust-window): Remove unused variable `err'.
8286         * woman.el (woman-file-name): Remove unused variable `default'.
8287         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8288         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8289         (global-font-lock-mode): Declare.
8290         (woman-decode-region): Mark unused parameter.
8291         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8293         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8294         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8295         (x-dnd-handle-moz-url): Remove unused variable `title'.
8296         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8298         * xml.el (xml-parse-tag, xml-parse-attlist):
8299         Remove unused variable `pos'.
8301 2011-04-19  Glenn Morris  <rgm@gnu.org>
8303         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8304         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8305         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8306         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8307         * calendar/cal-html.el (cal-html-insert-minical):
8308         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8309         (calendar-mark-date-pattern):
8310         Prefix "unused" locals.
8312         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8313         optional argument `style'.
8315         * calendar/appt.el (appt-make-list):
8316         * calendar/cal-china.el (calendar-chinese-date-string):
8317         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8318         (diary-hebrew-yahrzeit):
8319         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8320         * calendar/calendar.el (calendar-generate-window):
8321         * calendar/time-date.el (time-to-days):
8322         Remove unused local variables.
8324 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
8326         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8327         glyphless-char-display table.
8328         (tabulated-list-glyphless-char-display): New var.
8330 2011-04-18  Sam Steingold  <sds@gnu.org>
8332         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8333         to acknowledgments.
8335 2011-04-17  Glenn Morris  <rgm@gnu.org>
8337         * calendar/diary-lib.el (diary-sexp-entry):
8338         * calendar/holidays.el (holiday-sexp):
8339         Set debug-on-error rather than the removed stack-trace-on-error.
8341 2011-04-16  Glenn Morris  <rgm@gnu.org>
8343         * progmodes/f90.el: Use lexical-binding.
8344         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8346 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8348         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8349         (mail-mode): Setup mailalias completion here instead.
8350         * mail/mailalias.el: Use lexical-binding.
8351         (pattern, mailalias-done): Declare dynamic.
8352         (mail-completion-at-point-function): New function, from mail-complete.
8353         (mail-complete): Use it.
8354         (mail-completion-expand): New function.
8355         (mail-get-names): Use it.
8356         (mail-directory, mail-directory-process, mail-directory-stream):
8357         Don't use `pattern' for lexically bound arg.
8359         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8361         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8362         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8363         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8365         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8366         (byte-save-window-excursion, byte-temp-output-buffer-setup)
8367         (byte-interactive-p): Define them again, for use when inlining
8368         old code.
8370 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
8372         * loadup.el: Use `string-to-number', not `string-to-int'.
8374 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8376         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8377         gud-gdb-complete-command.
8378         (gud-gdb-completions): New function, from gud-gdb-complete-command.
8379         (gud-gdb-completion-at-point): New function.
8380         (gud-gdb-completions): Remove.
8382 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
8384         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8385         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
8386         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8387         whether `executable-find' is bound.
8389         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8391 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8393         * minibuffer.el (completion-in-region-mode-predicate)
8394         (completion-in-region-mode--predicate): New vars.
8395         (completion-in-region, completion-in-region--postch)
8396         (completion-in-region-mode): Use them.
8397         (completion--capf-wrapper): Also return the hook function.
8398         (completion-at-point, completion-help-at-point):
8399         Adjust and provide a predicate.
8401         Preserve arg names for advice of subr and lexical functions (bug#8457).
8402         * help-fns.el (help-function-arglist): Consolidate the subr and
8403         new-byte-code cases.  Add argument `preserve-names' to extract names
8404         from the docstring when needed.
8405         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8406         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8407         (ad-arglist): Use help-function-arglist's new arg.
8408         (ad-definition-type): Use cond.
8410 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
8412         * autorevert.el (auto-revert-handler):
8413         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8414         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8415         Don't quote lambda.
8417         * image-mode.el (image-transform-set-scale):
8418         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8420 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8422         * net/network-stream.el (network-stream-open-starttls): Only do
8423         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
8424         Upgrades via gnutls-cli are too slow to be done opportunistically.
8426 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
8428         * dframe.el (dframe-current-frame): Remove spurious quote.
8430 2011-04-12  Glenn Morris  <rgm@gnu.org>
8432         * calendar/cal-tex.el (cal-tex-end-document):
8433         Try to automatically use latin1 input if needed.
8435         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8436         Don't try to cons a mark onto an empty element.
8438 2011-04-11  Leo Liu  <sdl.web@gmail.com>
8440         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8441         buffers.
8442         (ido-kill-buffer-at-head): Support killing virtual buffers.
8444 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
8446         * minibuffer.el (completion-show-inline-help): New var.
8447         (completion--do-completion, minibuffer-complete)
8448         (minibuffer-force-complete, minibuffer-complete-word):
8449         Inhibit minibuffer messages if completion-show-inline-help is nil.
8451         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8452         to avoid interference from inline help (Bug#5849).
8454 2011-04-10  Leo Liu  <sdl.web@gmail.com>
8456         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8457         Fix typo.
8459 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
8461         * image-mode.el (image-toggle-display-image): Signal an error if
8462         not in Image mode.
8463         (image-transform-mode, image-transform-resize)
8464         (image-transform-set-rotation): Doc fix.
8465         (image-transform-set-resize): Delete.
8466         (image-transform-set-scale, image-transform-fit-to-height)
8467         (image-transform-fit-to-width): Handle image-toggle-display-image
8468         and image-transform-resize directly.
8470 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
8472         * doc-view.el (doc-view-fit-width-to-window)
8473         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8474         New functions for fitting the shown image to the Emacs window size.
8475         (doc-view-mode-map): Add bindings for the new functions.
8477 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
8479         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
8480         Fix typo in docstring.
8482 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
8484         * files.el (file-size-human-readable): Produce one digit after
8485         decimal, like "ls -lh" does.
8487         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8488         the file size representation.
8490         * simple.el (list-processes): If async subprocesses are not
8491         available, error out with a clear error message.
8493 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
8495         * help.el (help-form-show): New function, to be called from C.
8496         Put help-form output in a buffer named differently than *Help*.
8498 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
8500         * files.el (file-size-human-readable): New function.
8502         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8503         computing the representation inline.  Don't require `cl'.
8505 2011-04-08  Glenn Morris  <rgm@gnu.org>
8507         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8509         * net/browse-url.el (browse-url-firefox):
8510         Test system-type, not system-configuration.
8512         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8513         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8514         Use log-edit-empty-buffer-p.  (Bug#7598)
8516         * net/rlogin.el (rlogin-process-connection-type): Simplify.
8517         (rlogin-mode-map): Initialize in the defvar.
8518         (rlogin): Use ignore-errors.
8520         * replace.el (occur-mode-map): Some fixes for menu items.
8522 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8524         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
8526 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
8528         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8529         issuing unused warnings.
8531         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8532         macro directly.
8534         * simple.el: Lisp reimplement of list-processes.  Based on an
8535         earlier reimplementation by Leo Liu, but using tabulated-list.el.
8536         (process-menu-mode): New major mode.
8537         (list-processes--refresh, list-processes):
8538         (process-menu-visit-buffer): New functions.
8540         * files.el (save-buffers-kill-emacs): Don't assume any return
8541         value of list-processes, which is undocumented anyway.
8543 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
8545         * emacs-lisp/tabulated-list.el: New file.
8547         * emacs-lisp/package.el: Use Tabulated List mode.
8548         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8549         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
8550         table format using Tabulated List mode variables.
8551         (package--push): New macro, replacing package-list-maybe-add.
8552         (package-menu--generate): Use package--push.  Renamed from
8553         package--generate-package-list.
8554         (package-menu-refresh, list-packages): Use it.
8555         (package-menu--print-info): Rename from package-print-package.
8556         Return insertion data instead of inserting it directly.
8557         (package-menu-describe-package, package-menu-execute):
8558         Use tabulated-list-get-id.
8559         (package-menu-mark-delete, package-menu-mark-install)
8560         (package-menu-mark-unmark, package-menu-backup-unmark)
8561         (package-menu-mark-obsolete-for-deletion):
8562         Use tabulated-list-put-tag.
8563         (package--list-packages, package-menu-revert)
8564         (package-menu-get-package, package-menu-get-version)
8565         (package-menu-sort-by-column): Functions deleted.
8566         (package-menu-package-list, package-menu-sort-key): Vars deleted.
8567         (package-menu--status-predicate, package-menu--version-predicate)
8568         (package-menu--name-predicate)
8569         (package-menu--description-predicate): Handle arguments in the
8570         Tabulated List format.
8571         (package-list-packages-no-fetch): Call list-packages.
8573 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
8575         * files.el (after-find-file-from-revert-buffer): Remove variable.
8576         (after-find-file): Don't bind it.
8577         (revert-buffer-in-progress-p): New variable.
8578         (revert-buffer): Bind it.
8579         Pass nil for `after-find-file-from-revert-buffer'.
8581         * saveplace.el (save-place-find-file-hook): Use new variable
8582         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8584 2011-04-06  Glenn Morris  <rgm@gnu.org>
8586         * Makefile.in (AUTOGEN_VCS): New variable.
8587         (autoloads): Use $AUTOGEN_VCS.
8589         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8590         * calendar/calendar.el (calendar-mode-map):
8591         Check for toolkit scroll bars.  (Bug#8305)
8593 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
8595         * minibuffer.el (completion-in-region--postch)
8596         (completion-in-region-mode): Remove unnecessary messages.
8598 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
8600         * font-lock.el (font-lock-refresh-defaults):
8601         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8602         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8604         * info.el (Info-directory-list, Info-read-node-name-2)
8605         (Info-split-parameter-string): Doc fixes.
8606         (Info-virtual-nodes): Reflow docstring.
8607         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8608         (Info-apropos-toc-nodes, info-finder, Info-get-token)
8609         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8610         Fix typos in docstrings.
8611         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8612         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8613         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8614         (Info-restore-desktop-buffer): Mark unused parameters.
8615         (Info-directory-find-file, Info-directory-find-node)
8616         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8617         (Info-virtual-index-find-node, Info-apropos-find-file)
8618         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
8619         Mark unused parameters; fix typos in docstrings.
8620         (Info-virtual-index): Remove unused local variable `nodename'.
8622 2011-04-05  Deniz Dogan  <deniz@dogan.se>
8624         * net/rcirc.el: Update my e-mail address.
8625         (rcirc-mode-map): Remove M-o binding.
8627 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
8629         * startup.el (command-line): Save the cursor's theme-face
8630         directly, instead of using face-override-spec.
8632         * custom.el (load-theme): Minor optimization in assigning faces.
8634 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
8636         * help-fns.el (describe-variable): Complete all variables having
8637         documentation, including keywords.
8638         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8640 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
8642         Convert to lexical-binding.
8644         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8645         (bs--get-marked-string, bs--get-modified-string)
8646         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8647         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8648         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8650         * ehelp.el (electric-help-execute-extended)
8651         (electric-help-ctrl-x-prefix):
8652         * hexl.el (hexl-revert-buffer-function):
8653         * linum.el (linum-after-change, linum-after-scroll):
8654         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8656         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8658 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
8660         * epa-dired.el:
8661         * epa-mail.el:
8662         * epa-hook.el:
8663         * epa-file.el:
8664         * epa.el:
8665         * epg.el: Use lexical binding.
8667 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
8669         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8671         * textmodes/flyspell.el (flyspell-word): Recognize default
8672         dictionary case for flyspell-mark-duplications-exceptions.
8673         Use regexp matching for languages.
8674         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8675         default dictionary (Bug#7926).
8677 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
8679         * emacs-lisp/package.el (package--with-work-buffer):
8680         Recognize https URLs.
8682         * net/network-stream.el: Move from gnus/proto-stream.el.
8683         Change prefix to network-stream throughout.
8684         (open-protocol-stream): Merge into open-network-stream, leaving
8685         open-protocol-stream as an alias.  Handle nil BUFFER args.
8687         * subr.el (open-network-stream): Move to net/network-stream.el.
8689 2011-04-02  Glenn Morris  <rgm@gnu.org>
8691         * find-dired.el (find-exec-terminator): New option.
8692         (find-ls-option): Test for -ls support.
8693         (find-ls-subdir-switches): Test for -b in find-ls-option.
8694         (find-dired, find-grep-dired): Doc fixes.
8695         (find-dired): Use find-exec-terminator.
8697         * find-dired.el (find-ls-option, find-ls-subdir-switches)
8698         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8699         (find-name-arg): Remove purecopy.
8701         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8702         (grep-compute-defaults): Check for `-exec COMMAND +' support.
8703         Set grep-find-use-xargs, grep-find-command, and grep-find-template
8704         accordingly.  Don't add the null-device if not needed.
8706         * files.el (save-some-buffers): Doc fix.
8708 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
8710         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8712 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
8714         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8715         Use `dolist' rather than `mapcar'.
8717 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8719         Add lexical binding.
8721         * subr.el (apply-partially): Use new closures rather than CL.
8722         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8723         (dolist, dotimes): Use slightly different expansion for lexical code.
8724         (functionp): Move to C.
8725         (letrec): New macro.
8726         (with-wrapper-hook): Use it and apply-partially instead of CL.
8727         (eval-after-load): Preserve lexical-binding.
8728         (save-window-excursion, with-output-to-temp-buffer): Turn them
8729         into macros.
8731         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8733         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8734         than the arglist.
8735         (help-add-fundoc-usage): Don't add `Not documented'.
8736         (help-function-arglist): Handle closures, subroutines, and new
8737         byte-code-functions.
8738         (help-make-usage): Remove leading underscores.
8739         (describe-function-1): Handle closures.
8740         (describe-variable): Use special-variable-p for completion.
8742         * files.el (lexical-binding): Declare safe.
8744         * emacs-lisp/pcase.el: Don't use destructuring-bind.
8745         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
8746         (pcase): Add `let' pattern.
8747         Change memoization so it actually works.
8748         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8749         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8750         <let>: New case.
8752         * emacs-lisp/macroexp.el: Use lexical binding.
8753         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
8754         Don't convert ' to #' without checking that it's indeed quoting
8755         a lambda.
8757         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
8758         Use eval-sexp-add-defvars.
8759         (eval-sexp-add-defvars): New fun.
8761         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8763         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8764         Don't autoload.
8765         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8766         than the internal `byte-compile-lambda'.
8767         (defmethod): Don't hide code under quotes.
8768         (eieio-defmethod): New `code' argument.
8770         * emacs-lisp/eieio-comp.el: Remove.
8772         * emacs-lisp/edebug.el (edebug-eval-defun)
8773         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8774         (edebug-toggle): Avoid `eval'.
8776         * emacs-lisp/disass.el (disassemble-internal): Handle new
8777         `closure' objects.
8778         (disassemble-1): Handle new byte codes.
8780         * emacs-lisp/cl.el (pushnew): Silence warning.
8782         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8783         (cl-byte-compile-throw): Remove.
8784         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8786         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8787         closures.
8789         * emacs-lisp/cconv.el: New file.
8791         * emacs-lisp/bytecomp.el: Use lexical binding instead of
8792         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
8793         (byte-compile-initial-macro-environment):
8794         Handle declare-function here.
8795         (byte-compile--lexical-environment): New var.
8796         (byte-stack-ref, byte-stack-set, byte-discardN)
8797         (byte-discardN-preserve-tos): New lap codes.
8798         (byte-interactive-p): Don't use any more.
8799         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8800         New macros.
8801         (byte-compile-lapcode): Use them and handle new lap codes.
8802         (byte-compile-obsolete): Remove.
8803         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8804         (byte-compile-arglist-warn): Check late def of inlinable funs.
8805         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8806         since they should have been expanded by now.
8807         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8808         (byte-compile-from-buffer): Remove unused second arg.
8809         (byte-compile-preprocess): New function.
8810         (byte-compile-toplevel-file-form): New function to distinguish
8811         file-form calls from outside from file-form calls from hunk-handlers.
8812         (byte-compile-file-form): Simplify.
8813         (byte-compile-file-form-defsubst): Remove.
8814         (byte-compile-file-form-defmumble): Simplify now that
8815         byte-compile-lambda always returns a byte-code-function.
8816         (byte-compile): Preprocess.
8817         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8818         Remove, not used any more.
8819         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8820         (byte-compile-make-args-desc): New funs.
8821         (byte-compile-lambda): Handle lexical functions.  Always return
8822         a byte-code-function.
8823         (byte-compile-reserved-constants): New var, to make up room for
8824         closed-over variables.
8825         (byte-compile-constants-vector): Obey it.
8826         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8827         (byte-compile-macroexpand-declare-function): New function.
8828         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8829         byte-code-functions.
8830         (byte-compile-form): Check obsolescence here.
8831         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8832         (byte-compile-variable-ref): Remove.
8833         (byte-compile-dynamic-variable-op): New fun.
8834         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8835         (byte-compile-variable-set): New funs.
8836         (byte-compile-discard): Add 2 args.
8837         (byte-compile-stack-ref, byte-compile-stack-set)
8838         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8839         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8840         macroexpand-all instead.
8841         (byte-compile-quote-form): Remove.
8842         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8843         (byte-compile-bind, byte-compile-unbind): New funs.
8844         (byte-compile-let): Handle let* and lexical binding.
8845         (byte-compile-let*): Remove.
8846         (byte-compile-catch, byte-compile-unwind-protect)
8847         (byte-compile-track-mouse, byte-compile-condition-case):
8848         Handle a new :fun-body form, used for lexical scoping.
8849         (byte-compile-save-window-excursion)
8850         (byte-compile-with-output-to-temp-buffer): Remove.
8851         (byte-compile-defun): Simplify.
8852         (byte-compile-stack-adjustment): New fun.
8853         (byte-compile-out): Use it.
8854         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8856         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8857         handler any more.
8859         * emacs-lisp/byte-opt.el: Use lexical binding.
8860         (byte-inline-lapcode): Remove (to bytecomp).
8861         (byte-compile-inline-expand): Pay attention to inlining to/from
8862         lexically bound code.
8863         (byte-compile-unfold-lambda): Don't handle byte-code-functions
8864         any more.
8865         (byte-optimize-form-code-walker): Don't handle save-window-excursion
8866         any more and don't call compiler-macros.
8867         (byte-compile-splice-in-already-compiled-code): Remove.
8868         (byte-code): Don't inline any more.
8869         (disassemble-offset): Receive `bytes' as argument rather than via
8870         dynamic scoping.
8871         (byte-compile-tag-number): Declare before first use.
8872         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8873         `return' even if make-spliceable.
8874         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8875         obsolete interactive-p.
8876         (byte-optimize-lapcode): Optimize new lap-codes.
8877         Don't trip up on new form of `byte-constant' lap code.
8879         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8881         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8883         * custom.el (custom-initialize-default, custom-declare-variable):
8884         Use `defvar'.
8886         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8887         New variables.
8888         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8889         (COMPILE_FIRST): Add macroexp and cconv.
8890         * makefile.w32-in: Mirror changes in Makefile.in.
8892         * vc/cvs-status.el:
8893         * vc/diff-mode.el:
8894         * vc/log-edit.el:
8895         * vc/log-view.el:
8896         * vc/smerge-mode.el:
8897         * textmodes/bibtex-style.el:
8898         * textmodes/css.el:
8899         * startup.el:
8900         * uniquify.el:
8901         * minibuffer.el:
8902         * newcomment.el:
8903         * reveal.el:
8904         * server.el:
8905         * mpc.el:
8906         * emacs-lisp/smie.el:
8907         * doc-view.el:
8908         * dired.el:
8909         * abbrev.el: Use lexical binding.
8911 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
8913         * info.el (info-display-manual): New function.
8915 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8917         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8919 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
8921         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
8922         an entry for that server in rcirc-authinfo.  (Bug#8385)
8924 2011-03-31  Glenn Morris  <rgm@gnu.org>
8926         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8928         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8930 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
8932         * progmodes/python.el (python-default-interpreter)
8933         (python-python-command-args, python-jython-command-args)
8934         (python-which-shell, python-which-args, python-which-bufname)
8935         (python-file-queue, python-comint-output-filter-function)
8936         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8937         variables and functions.
8939 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8941         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8942         (completion-in-region-mode): New minor mode.
8943         (completion-in-region): Use it.
8944         (completion-in-region--data, completion-in-region-mode-map): New vars.
8945         (completion-in-region--postch): New function.
8946         (completion--capf-misbehave-funs, completion--capf-safe-funs):
8947         New vars.
8948         (completion--capf-wrapper): New function.
8949         (completion-at-point): Use it to track well-behavedness of
8950         hook functions.
8951         (completion-help-at-point): New command.
8953 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
8955         * vc/add-log.el (add-change-log-entry): Don't use whitespace
8956         syntax class to search for whitespace on a single line
8957         (Message-ID: <4D938140.4030905@redhat.com>).
8959 2011-03-30  Leo Liu  <sdl.web@gmail.com>
8961         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8962         New commands.
8963         (edit-abbrevs-map): Bind them here.
8964         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
8966 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
8968         * allout.el (allout-hide-by-annotation, allout-flag-region):
8969         Reduce possibility of overlay leakage by making them volatile.
8971         * allout-widgets.el (allout-widgets-tally): Define as nil so the
8972         hash is not shared between buffers.  Mode initialization is
8973         responsible for giving it a useful starting value.
8974         (allout-item-span): Reduce possibility of overlay leakage by
8975         making them volatile.
8976         (allout-widgets-count-buttons-in-region): Add diagnostic function
8977         for tracking down button overlay leaks.
8979 2011-03-29  Leo Liu  <sdl.web@gmail.com>
8981         * ido.el (ido-read-internal): Use the default history var
8982         minibuffer-history if no HISTORY is specified.
8984 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
8986         * net/imap.el (imap-shell-open, imap-process-connection-type):
8987         Use imap-process-connection-type for 'shell' streams as well as
8988         Kerberos, SSL, other subprocesses.
8990 2011-03-28  Leo Liu  <sdl.web@gmail.com>
8992         * abbrev.el (abbrev-table-empty-p): New function.
8993         (prepare-abbrev-list-buffer): Place empty abbrev tables after
8994         nonempty ones.  (Bug#5937)
8996 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
8998         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9000 2011-03-27  Leo Liu  <sdl.web@gmail.com>
9002         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9003         for foreground and background colors.
9004         (ansi-color-make-color-map): Adapt.
9006 2011-03-25  Leo Liu  <sdl.web@gmail.com>
9008         * midnight.el (midnight-time-float): Remove.  Note it calculates
9009         the microsecond component incorrectly and seconds-to-time does the
9010         same job.
9011         Remove redundant (require 'timer).
9013         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9014         (ido-completions): Remove unused arguments.  (Bug#8329)
9016 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9018         * minibuffer.el (completion--flush-all-sorted-completions):
9019         Remove itself from hook.
9020         (completion-at-point): Let the functions perform the completion
9021         immediately and return nil or t.
9022         * comint.el (comint-dynamic-complete-functions): Now identical to
9023         completion-at-point-functions.
9024         (comint-dynamic-list-input-ring): Remove unused var `index'.
9025         (comint--match-partial-filename, comint--unquote&expand-filename):
9026         New funs, split from comint-match-partial-filename.
9027         (comint-dynamic-complete): Use completion-at-point.
9028         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9030 2011-03-24  Drew Adams  <drew.adams@oracle.com>
9032         * thingatpt.el: Support `defun'.
9034 2011-03-23  Leo Liu  <sdl.web@gmail.com>
9036         * abbrevlist.el: Move to obsolete/abbrevlist.el.
9038         * help-mode.el (help-mode-finish): Tweak regexp.
9040 2011-03-23  Glenn Morris  <rgm@gnu.org>
9042         * eshell/esh-opt.el (eshell-eval-using-options):
9043         Do not bind unused local variable `eshell-option-stub'.
9045         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9047 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
9049         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9050         keymap variable in `with-no-warnings' to avoid a warning when the
9051         keymap has been already `defconst'ed.
9053 2011-03-22  Leo Liu  <sdl.web@gmail.com>
9055         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9056         encode all chars in abbrevs; otherwise use emacs-mule or
9057         utf-8-emacs.  (Bug#8308)
9059 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
9061         * simple.el (backward-delete-char-untabify):
9062         Avoid warning about using `delete-backward-char'.
9064         * image.el (image-type-file-name-regexps): Make it variable.
9065         `imagemagick-register-types' modifies it, and the user may want
9066         to add new extensions for known image types.
9067         (imagemagick-register-types): Throw error if not using ImageMagick.
9069 2011-03-22  Leo Liu  <sdl.web@gmail.com>
9071         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9072         located before rcirc-prompt-end-marker.
9073         (rcirc-complete): Error if point is not after rcirc prompt.
9074         Handle the case when table is nil.
9075         (rcirc-user-authenticated): Define to fix compiler warning.
9077 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
9079         * custom.el (custom--inhibit-theme-enable): Make it affect only
9080         custom-theme-set-variables and custom-theme-set-faces.
9081         (provide-theme): Ignore custom--inhibit-theme-enable.
9082         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9083         (custom-enabling-themes): Delete variable.
9084         (enable-theme): Accept only loaded themes as arguments.
9085         Ignore the special custom-enabled-themes variable.
9086         (custom-enabled-themes): Forbid themes from setting this.
9087         Eliminate use of custom-enabling-themes.
9088         (custom-push-theme): Quote "changed" custom var entry.
9090 2011-03-21  Leo Liu  <sdl.web@gmail.com>
9092         * ido.el (ido-read-internal): Add ido-selected to history instead
9093         of user input.
9095 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9097         * subr.el (deferred-action-list, deferred-action-function):
9098         Mark obsolete.
9100 2011-03-21  Leo Liu  <sdl.web@gmail.com>
9102         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9103         change on 2011-02-13 (bug#8309).
9105         * minibuffer.el (read-file-name-function): Change default value.
9106         (read-file-name--defaults): Rename from read-file-name-defaults.
9107         (read-file-name-default): Rename from read-file-name.
9108         (read-file-name): Call read-file-name-function.
9110 2011-03-21  Glenn Morris  <rgm@gnu.org>
9112         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9113         Doc fixes.
9115 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
9117         * cus-theme.el: Add missing provide statement.
9118         (customize-create-theme): Extract theme value correctly.
9119         (custom-theme-visit-theme): Autoload.
9120         (customize-create-theme): Prompt before inserting default faces.
9122 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
9124         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9125         units and musical notes.
9127 2011-03-20  Leo  <sdl.web@gmail.com>
9129         * ido.el (ido-read-internal): Use completing-read-default.
9130         (ido-completing-read): Fix compatibility with completing-read.
9132 2011-03-20  Christian Ohler  <ohler@gnu.org>
9134         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9135         (ert-delete-all-tests): Use `called-interactively-p' rather than
9136         `interactive-p'.
9137         (ert--make-xrefs-region): Respect END.
9139 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
9141         * dired-aux.el (dired-create-directory): Signal an error if the
9142         directory already exists (Bug#8246).
9144         * facemenu.el (list-colors-display): Call list-faces-display
9145         inside with-help-window.
9146         (list-colors-print): Use display property to align the final
9147         column, instead of checking window-width.
9149 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
9151         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
9152         windows-nt systems.
9153         (emerge-protect-metachars): Quote correctly for ms-dos and
9154         windows-nt systems.
9156 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
9158         * info.el (info-initialize): Replace all uses of `:' with
9159         path-separator for compatibility with non-Unix systems.
9160         Cache quoting of path-separator.  (Bug#8258)
9162 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
9164         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9165         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9166         (mouse-avoidance-mode): Fix typos in docstrings.
9168 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
9170         * startup.el (package-subdirectory-regexp): Move from package.el.
9171         Omit \\` and \\', and let callers add them.
9173         * emacs-lisp/package.el (package-strip-version)
9174         (package-load-all-descriptors): Add \\` and \\' to
9175         package-subdirectory-regexp before using it.
9176         (package-untar-buffer): New arg DIR; ensure that file untars only
9177         into this expected directory.  Remove superfluous delete-region.
9178         (package-unpack): Caller changed.
9179         (package-tar-file-info): Use package-subdirectory-regexp.
9181 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9183         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9184         diff-mode-shared-map (bug#8284).
9185         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
9187 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9189         * calendar/time-date.el (format-seconds): Use assoc instead of
9190         assoc-string, since assoc-string doesn't exist in XEmacs.
9192 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
9194         * custom.el (custom-known-themes): Reflow docstring.
9195         (custom-theme-load-path): Fix typo in docstring.
9196         (load-theme): Fix typo in error message.
9197         (custom-available-themes, custom-variable-theme-value):
9198         Use `let', not `let*'.
9200 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
9202         * calc/README: Mention inclusion of musical notes.
9204         * calc/calc-units.el (calc-lu-quant): Rename from
9205         `calc-logunits-quantity'.
9206         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9207         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9208         (calc-db): Rename from `calc-dblevel'.
9209         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9210         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9211         (calc-np): Rename from `calc-nplevel'.
9212         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9213         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9214         (calc-lu-plus): Rename from `calc-logunits-add'.
9215         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9216         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9217         (calc-lu-minus): Rename from `calc-logunits-sub'.
9218         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9219         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9220         (calc-lu-times): Rename from `calc-logunits-mul'.
9221         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9222         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9223         (calc-lu-divide): Rename from `calc-logunits-div'.
9224         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9225         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9227         * calc/calc-ext.el (calc-init-extensions): Update the names of the
9228         functions being autoloaded.
9230         * calc/calc.el (calc-lu-power-reference): Rename from
9231         `calc-logunits-power-reference'.
9232         (calc-lu-field-reference): Rename from
9233         `calc-logunits-field-reference'.
9235         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9237 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9239         * minibuffer.el (completion-all-sorted-completions):
9240         Use :completion-cycle-penalty text property if present.
9242 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
9244         * allout.el (allout-yank-processing): Adjust for new rebulleting
9245         regime so bullet being yanked is used without prompting the user
9246         for a choice.
9248 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
9250         * startup.el (command-line): Warn the user that _emacs is deprecated.
9252 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
9254         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9255         (delphi-verbose, delphi-comment-face, delphi-string-face)
9256         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9257         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9258         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9259         (delphi-new-comment-line, delphi-font-lock-defaults)
9260         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9261         Fix typos in docstrings.
9263 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
9265         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
9266         Invert the roles of character and string values for INSTEAD, so a
9267         string is used for the more common case of a defaulting prompt.
9269 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9271         * progmodes/ruby-mode.el (ruby-backward-sexp):
9272         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9273         * play/gamegrid.el (gamegrid-make-face):
9274         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9275         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9276         * notifications.el (notifications-notify):
9277         * net/xesam.el (xesam-search-engines):
9278         * net/quickurl.el (quickurl-list-insert):
9279         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9281 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
9283         * startup.el (command-line): Update package subdirectory regexp.
9285 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9287         * allout.el (allout-abbreviate-flattened-numbering)
9288         (allout-mode-deactivate-hook): Fix up obsolescence "date".
9290         * subr.el (read-char-choice): Only show the cursor after the prompt,
9291         not after the answer.
9293 2011-03-15  Kevin Ryde  <user42@zip.com.au>
9295         * help-fns.el (variable-at-point): Skip leading quotes, if any
9296         (bug#8253).
9298 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9300         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9301         warning message.
9303 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
9305         * shell.el (shell): When called interactively, offer to change the
9306         shell file name on remote hosts.
9308 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
9310         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9311         integration for LDAP parameters.  The host, base, user or binddn,
9312         and secret tokens can be specified in a netrc file, for instance.
9313         This is optional because an `auth-source' parameter must be
9314         specified in the search attributes.
9316 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
9318         * help.el (describe-mode): Link to the mode's definition (bug#8185).
9320 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9322         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9323         into declaration.  Remove redundant and harmful binding.
9325 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
9327         * files.el (file-ownership-preserved-p): Pass `integer' as an
9328         explicit 2nd argument to `file-attributes'.  If the file's owner
9329         is the Administrators group on Windows, and the current user is
9330         Administrator, consider that a match.
9332         * server.el (server-ensure-safe-dir): Consider server directory
9333         safe on MS-Windows if its owner is the Administrators group while
9334         the current Emacs user is Administrator.  Use `=' to compare
9335         numerical UIDs, since they could be integers or floats.
9337 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
9339         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9341 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
9343         Sync with Tramp 2.2.1.
9345         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9347         * net/trampver.el: Update release number.
9349 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9351         * progmodes/compile.el (compilation--previous-directory): Fix up
9352         various nil/dead-marker mismatches (bug#8014).
9353         (compilation-directory-properties, compilation-error-properties):
9354         Don't call it at a position past the one we're about to change.
9356         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9357         Disable obsolescence warnings in the file that declares it.
9359 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
9361         * allout-widgets.el (allout-widgets-tally):
9362         Initialize allout-widgets-tally as a hash table rather than nil to
9363         prevent mode-line redisplay warnings.  Also, clarify the module
9364         description and fix a comment typo.
9366 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
9368         * help-fns.el (describe-variable): Don't complete keywords.
9369         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9371 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
9373         * emacs-lisp/package.el (package-version-join): Impose a standard
9374         string representation for pre/alpha/beta version lists.
9375         (package-unpack-single): Standardize the directory name by passing
9376         it through package-version-join.
9377         (package-strip-rcs-id): Accept any version string that does not
9378         signal an error in version-to-list.
9380 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
9382         * simple.el (delete-trailing-whitespace): Return nil for the
9383         benefit of `write-file-functions'.
9385 2011-03-10  Glenn Morris  <rgm@gnu.org>
9387         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9389         * vc/vc-git.el (vc-git-program): New option.
9390         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9391         (vc-git--call): Use it.
9393         * eshell/esh-util.el (eshell-condition-case): Doc fix.
9395         * cus-edit.el (Custom-newline): If no button at point, look
9396         for a subgroup button at start-of-line.  (Bug#2298)
9398         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9400 2011-03-10  Julien Danjou  <julien@danjou.info>
9402         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9403         `cursor-type' is nil.
9405 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
9407         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9409 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
9411         * allout.el Summary: Change so yank of distinctive-bullet items
9412         preserves the existing header prefix, rebulleting it if necessary,
9413         rather than replacing it.  This is necessary for proper operation
9414         of cooperative addons like allout-widgets.
9415         (allout-make-topic-prefix, allout-rebullet-heading): Change
9416         SOLICIT arg to INSTEAD, and interpret additionally a string value
9417         as alternate bullet to be used, instead of prompting the user for
9418         a bullet character.
9420 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
9422         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9423         Do not use `tramp-file-name-port', because this returns also
9424         `tramp-default-port'.
9426 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9428         * net/rcirc.el (rcirc-handler-001): Remove useless
9429         with-rcirc-process-buffer.
9430         (rcirc-check-auth-status): Swap arguments to string-match.
9432 2011-03-09  Glenn Morris  <rgm@gnu.org>
9434         * shell.el (shell-mode):
9435         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
9437         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9438         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
9440 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
9442         * emacs-lisp/package.el (package-refresh-contents)
9443         (package-menu-execute): Use condition-case-no-debug.
9445 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
9447         * simple.el (shell-command-to-string): Use `process-file'.
9449         * emacs-lisp/package.el (package-tar-file-info): Handle also
9450         remote files.
9452         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9453         Use `equal' for upload base check.
9455 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
9457         * textmodes/texinfo.el (texinfo-environments):
9458         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
9460 2011-03-08  Glenn Morris  <rgm@gnu.org>
9462         * cus-start.el (cursor-in-non-selected-windows):
9463         Fix :set quoting oddness.  (Bug#8192)
9465         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9466         in some setf expressions.  (Bug#2159)
9468 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
9470         * custom.el (custom-available-themes): Return themes in
9471         alphabetical order.
9473 See ChangeLog.15 for earlier changes.
9475 ;; Local Variables:
9476 ;; coding: utf-8
9477 ;; End:
9479   Copyright (C) 2011  Free Software Foundation, Inc.
9481   This file is part of GNU Emacs.
9483   GNU Emacs is free software: you can redistribute it and/or modify
9484   it under the terms of the GNU General Public License as published by
9485   the Free Software Foundation, either version 3 of the License, or
9486   (at your option) any later version.
9488   GNU Emacs is distributed in the hope that it will be useful,
9489   but WITHOUT ANY WARRANTY; without even the implied warranty of
9490   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9491   GNU General Public License for more details.
9493   You should have received a copy of the GNU General Public License
9494   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.